RE: JavaMemoryModel: Major yuck! GET/PUTSTATIC prohibitsreordering

From: Paul Haahr (haahr@jivetech.com)
Date: Mon Nov 15 1999 - 11:05:12 EST


> If all methods must be executed at least once by the interpreter then
> all class loading and initialisation will be done via the interpreter.

Not all. You still need to deal with dynamic class intialization in
compiled code (or explicitly falling back to interpreted code) for,
e.g., arms of conditionals which were not taken during interpretation.

On the other hand, most dynamic compilation strategies are based on the
assumption that the code paths taken during the initial interpretation
passes represent the common cases.

--p
-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel



This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:23 EDT