Re: JavaMemoryModel: JSR133-related division of labor between javac and JVM

From: Bill Pugh (
Date: Thu Jul 15 2004 - 09:54:56 EDT

javac generally does a very literal translation of Java source code
into bytecode.
Assuming such a literal translation, javac doesn't have any real
with regards to JSR-133: all the obligations are on the JVM.

Of course, if you have a Java source to bytecode compiler that does
and optimizations, then the source code to bytecode compiler is
responsible for
following all of the semantics described by JSR-133.


On Jul 12, 2004, at 2:05 AM, Mehra, Pankaj wrote:

> Hi folks.
> I've been tracking this work for about a year and glad to see it come
> to
> fruition.
> Question: Is there a clear statement somewhere of how the
> responsibilities for implementing JSR133 are to be divided between the
> compiler and the VM?
> I appreciate your help.
> Pankaj Mehra
> HP
> -------------------------------
> JavaMemoryModel mailing list -

JavaMemoryModel mailing list -

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