Mercurial > hg > truffle
diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotRuntime.java @ 1419:7bf6a77b9c5a
implement recent safepoint & exceptionobject ci changes, HotSpotVMConfig
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Mon, 12 Jul 2010 15:05:17 -0700 |
parents | 2c41834aa270 |
children | 44efca8a02d6 |
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotRuntime.java Fri Jul 09 16:33:03 2010 -0700 +++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotRuntime.java Mon Jul 12 15:05:17 2010 -0700 @@ -53,6 +53,12 @@ */ public class HotSpotRuntime implements RiRuntime { + private final HotSpotVMConfig config; + + public HotSpotRuntime(HotSpotVMConfig config) { + this.config = config; + } + @Override public int basicObjectLockOffsetInBytes() { // TODO Auto-generated method stub @@ -197,12 +203,6 @@ } @Override - public int threadExceptionOffset() { - // TODO Auto-generated method stub - return 0; - } - - @Override public RiField getRiField(Field javaField) { // TODO Auto-generated method stub return null;