RFR (M): GRAAL-218: add CompileTheWorld functionality

Christian Thalinger christian.thalinger at oracle.com
Wed Apr 10 20:16:41 PDT 2013

On Apr 10, 2013, at 2:28 PM, Gilles Duboscq <gilwooden at gmail.com> wrote:

> Looks good, the huge method check is not applied to constructors, i suppose this is the same in normal CTW?

No.  The check happens for all methods (constructors and normal methods).  I will add that for the constructors too.

Actually I would like to move the CTW logic into it's own class (maybe CompileTheWorld?).  Where would I put such a class?

-- Chris

> On Wed, Apr 10, 2013 at 10:48 PM, Christian Thalinger <christian.thalinger at oracle.com> wrote:
> http://cr.openjdk.java.net/~twisti/GRAAL-218
> GRAAL-218: add CompileTheWorld functionality
> Reviewed-by:
> Add CompileTheWorld functionality to Graal. I decided to re-implement it in Java so that we can get rid of the C++ implementation at a later point. After all CTW should be part of the compiler.
> graal/com.oracle.graal.api.meta/src/com/oracle/graal/api/meta/ConstantPool.java
> graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConfig.java
> graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVM.java
> graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/CompilerToVMImpl.java
> graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java
> graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotConstantPool.java
> src/share/vm/graal/graalCompilerToVM.cpp

More information about the graal-dev mailing list