<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moqoo</author_name>
  <author_url>https://blog.hatena.ne.jp/moqoo/</author_url>
  <blog_title>ムードもりあげ楽団</blog_title>
  <blog_url>https://moqoo.hatenadiary.org/</blog_url>
  <categories>
    <anon>今日の記録</anon>
    <anon>コンピュータ</anon>
    <anon>Java並行処理</anon>
  </categories>
  <description>JVMの話。長かった『Java並行処理』もこれで終わり。長かったー！後半、明らかに手を抜いたなぁ。 ちょっと復習も必要なんだけど、取り敢えず十六章。 安全な遅延初期化のテクニック 良くあるダブルチェックロッキングアンチパターンは、最初に があるけど、variableが安全にコンストラクトされているとは限らないので使わない方が良いよね、って話。 遅延初期化にも色々方法があるけど・・・。まず、駄目な例。 // 素朴なパターン public static class UnsafeLazyInitialization { private static UnsafeLazyInitialization …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmoqoo.hatenadiary.org%2Fentry%2F20090411%2F1239459498&quot; title=&quot; 第十六章: Javaのメモリモデル - ムードもりあげ楽団&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-04-11 23:18:18</published>
  <title> 第十六章: Javaのメモリモデル</title>
  <type>rich</type>
  <url>https://moqoo.hatenadiary.org/entry/20090411/1239459498</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
