Mercurial > hg > graal-jvmci-8
diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotRuntime.java @ 1434:72cfb36c6bb2
* enabled all jtt tests
* added proxy that counts jni calls
* honor hotspot stackshadowpages
* constant pool caching
* monitor enter/exit
* arithmetic stubs (frem, drem, ...)
* create stack values for debug info
* some doc
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Thu, 30 Sep 2010 17:19:48 -0700 |
parents | efba53f86c4f |
children | 9e5e83ca2259 |
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotRuntime.java Thu Sep 16 19:42:20 2010 -0700 +++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotRuntime.java Thu Sep 30 17:19:48 2010 -0700 @@ -38,20 +38,11 @@ private final HotSpotVMConfig config; - public static enum Entrypoints { - UNVERIFIED, VERIFIED - } - public HotSpotRuntime(HotSpotVMConfig config) { this.config = config; } @Override - public int basicObjectLockOffsetInBytes() { - return 0; - } - - @Override public int codeOffset() { return 0; } @@ -175,8 +166,13 @@ @Override public int sizeofBasicObjectLock() { - // TODO Auto-generated method stub - return 0; + // TODO shouldn't be hard coded + return 2 * 8; + } + + @Override + public int basicObjectLockOffsetInBytes() { + return 8; } @Override