<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - Fixing the Java Memory Model</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Mon, 20 May 2013 02:25:21 -0400</pubDate>


    <item>

        <title>Mutable Immutable Fields</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[&lt;doug&gt;...]]></description>
        

        <pubDate>Mon, 01 Mar 2004 16:40:03 -0500</pubDate>

        

        <jf:creationDate>Mon, 01 Mar 2004 16:40:03 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 01 Mar 2004 16:40:03 -0500</jf:modificationDate>
        <jf:date>Mar 1, 2004</jf:date>
        <jf:author>Gal Binyamini</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>double check</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[In a multi-processor machine, the use of a volatile in the new memory model is still going to be significantly faster than the use of a synchronized block.  The critical issue is that processors won't have to vie for the lock, which is a particularly...]]></description>
        

        <pubDate>Mon, 01 Mar 2004 13:19:28 -0500</pubDate>

        

        <jf:creationDate>Mon, 01 Mar 2004 13:19:28 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 01 Mar 2004 13:19:28 -0500</jf:modificationDate>
        <jf:date>Mar 1, 2004</jf:date>
        <jf:author>Doug Bateman</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>cache coherency</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[Doug: <i>It's natural that in some hardware architectures, a processor may choose to bring in a full page of memory into it's CPU cache rather than caching on an object by object basis. In an situation like this, it could be possible to cache stale data...]]></description>
        

        <pubDate>Mon, 01 Mar 2004 13:07:10 -0500</pubDate>

        

        <jf:creationDate>Mon, 01 Mar 2004 13:07:10 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 01 Mar 2004 13:07:10 -0500</jf:modificationDate>
        <jf:date>Mar 1, 2004</jf:date>
        <jf:author>Cameron Purdy</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>double check</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[<i>In the new JMM double-checked locking does work if you make &quot;x&quot; volatile. However, the rules of the new JMM effectively force the VM to flush it's cache when accessing a volatile field, so it becomes almost as expensive as using synchronized...]]></description>
        

        <pubDate>Mon, 01 Mar 2004 11:15:16 -0500</pubDate>

        

        <jf:creationDate>Mon, 01 Mar 2004 11:15:16 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 01 Mar 2004 11:15:16 -0500</jf:modificationDate>
        <jf:date>Mar 1, 2004</jf:date>
        <jf:author>Brian Miller</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Mutable Immutable Fields</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[&lt;Gal&gt;...]]></description>
        

        <pubDate>Mon, 01 Mar 2004 00:43:29 -0500</pubDate>

        

        <jf:creationDate>Mon, 01 Mar 2004 00:43:29 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 01 Mar 2004 00:43:29 -0500</jf:modificationDate>
        <jf:date>Mar 1, 2004</jf:date>
        <jf:author>Doug Bateman</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>monitorenter,   Fixing the Java Memory Model</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[<div class="jive-quote"><i>From the quick look I had at the new spec, it seems that the spec ensures the following: assuming the object is &quot;properly constructed&quot; in the sense that the constructor does not &quot;leak out&quot; references to the...]]></description>
        

        <pubDate>Sun, 29 Feb 2004 22:27:25 -0500</pubDate>

        

        <jf:creationDate>Sun, 29 Feb 2004 22:27:25 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 29 Feb 2004 22:27:25 -0500</jf:modificationDate>
        <jf:date>Feb 29, 2004</jf:date>
        <jf:author>Doug Bateman</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>double check</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[<div class="jive-quote">By double check I mean:</div>...]]></description>
        

        <pubDate>Sun, 29 Feb 2004 21:35:48 -0500</pubDate>

        

        <jf:creationDate>Sun, 29 Feb 2004 21:35:48 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 29 Feb 2004 21:35:48 -0500</jf:modificationDate>
        <jf:date>Feb 29, 2004</jf:date>
        <jf:author>Guglielmo Lichtner</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Mutable Immutable Fields</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[&lt;doug&gt;...]]></description>
        

        <pubDate>Sun, 29 Feb 2004 21:20:18 -0500</pubDate>

        

        <jf:creationDate>Sun, 29 Feb 2004 21:20:18 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 29 Feb 2004 21:20:18 -0500</jf:modificationDate>
        <jf:date>Feb 29, 2004</jf:date>
        <jf:author>Gal Binyamini</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>Fixing the Java Memory Model</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[<div class="jive-quote">This may be a dumb question, but...</div>...]]></description>
        

        <pubDate>Sun, 29 Feb 2004 19:21:55 -0500</pubDate>

        

        <jf:creationDate>Sun, 29 Feb 2004 19:21:55 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 29 Feb 2004 19:21:55 -0500</jf:modificationDate>
        <jf:date>Feb 29, 2004</jf:date>
        <jf:author>Doug Bateman</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Mutable Immutable Fields</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[The article points out that in the older Java Memory Models, other threads might see a &quot;half-constructed&quot; object under certain race conditions.  If I'm reading this right, the following code could also break?...]]></description>
        

        <pubDate>Sun, 29 Feb 2004 19:12:10 -0500</pubDate>

        

        <jf:creationDate>Sun, 29 Feb 2004 19:12:10 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 29 Feb 2004 19:12:10 -0500</jf:modificationDate>
        <jf:date>Feb 29, 2004</jf:date>
        <jf:author>Doug Bateman</jf:author>
        <jf:replyCount>4</jf:replyCount>
    </item>


    <item>

        <title>double check</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[No, double-checked locking does not work in either of the JMMs. In the new JMM double-checked locking does work if you make &quot;x&quot; volatile. However, the rules of the new JMM effectively force the VM to flush it's cache when accessing a volatile...]]></description>
        

        <pubDate>Sun, 29 Feb 2004 10:47:26 -0500</pubDate>

        

        <jf:creationDate>Sun, 29 Feb 2004 10:47:26 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 29 Feb 2004 10:47:26 -0500</jf:modificationDate>
        <jf:date>Feb 29, 2004</jf:date>
        <jf:author>Gal Binyamini</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>


    <item>

        <title>double check</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[Does anybody know if double check works with the JDK 1.4 JMM or JDK 1.5 JMM?...]]></description>
        

        <pubDate>Sun, 29 Feb 2004 00:36:29 -0500</pubDate>

        

        <jf:creationDate>Sun, 29 Feb 2004 00:36:29 -0500</jf:creationDate>
        <jf:modificationDate>Sun, 29 Feb 2004 00:36:29 -0500</jf:modificationDate>
        <jf:date>Feb 29, 2004</jf:date>
        <jf:author>Bill Burke</jf:author>
        <jf:replyCount>4</jf:replyCount>
    </item>


    <item>

        <title>Fixing the Java Memory Model</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[Hi Brian,...]]></description>
        

        <pubDate>Sat, 28 Feb 2004 11:06:40 -0500</pubDate>

        

        <jf:creationDate>Sat, 28 Feb 2004 11:06:40 -0500</jf:creationDate>
        <jf:modificationDate>Sat, 28 Feb 2004 11:06:40 -0500</jf:modificationDate>
        <jf:date>Feb 28, 2004</jf:date>
        <jf:author>Cristian Negoita</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>monitorenter,   Fixing the Java Memory Model</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[<i>From the quick look I had at the new spec, it seems that the spec ensures the following: assuming the object is &quot;properly constructed&quot; in the sense that the constructor does not &quot;leak out&quot; references to the instance being...]]></description>
        

        <pubDate>Fri, 27 Feb 2004 17:56:00 -0500</pubDate>

        

        <jf:creationDate>Fri, 27 Feb 2004 17:56:00 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 27 Feb 2004 17:56:00 -0500</jf:modificationDate>
        <jf:date>Feb 27, 2004</jf:date>
        <jf:author>Brian Miller</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Fixing the Java Memory Model</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=24199</link>

        

        
            <description><![CDATA[<div class="jive-quote">The thread's &quot;cache&quot; is just a logical indirection designed to allow VMs not to perform every memory action directly to the main memory.</div>...]]></description>
        

        <pubDate>Fri, 27 Feb 2004 15:31:57 -0500</pubDate>

        

        <jf:creationDate>Fri, 27 Feb 2004 15:31:57 -0500</jf:creationDate>
        <jf:modificationDate>Fri, 27 Feb 2004 15:31:57 -0500</jf:modificationDate>
        <jf:date>Feb 27, 2004</jf:date>
        <jf:author>Guglielmo Lichtner</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>



</channel>
</rss>

