> Please excuse me if my quesion is naive. Does new Java
> memory model require a store/load barrier between
> dynamically successive unlock and lock operations on
> different locks? According to JSR-133 Cookbook it does but
> I cannot figure out how this follows from the
> happens-before relationship defined in the memory model.
Although it is not clearly stated in the table in the cookbook, it is
meant to apply only to the same monitor lock.
David Holmes
-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel
This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:52 EDT