Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
1418:55ac38887415 | 1419:7bf6a77b9c5a |
---|---|
51 * CRI runtime implementation for the HotSpot VM. | 51 * CRI runtime implementation for the HotSpot VM. |
52 * | 52 * |
53 */ | 53 */ |
54 public class HotSpotRuntime implements RiRuntime { | 54 public class HotSpotRuntime implements RiRuntime { |
55 | 55 |
56 private final HotSpotVMConfig config; | |
57 | |
58 public HotSpotRuntime(HotSpotVMConfig config) { | |
59 this.config = config; | |
60 } | |
61 | |
56 @Override | 62 @Override |
57 public int basicObjectLockOffsetInBytes() { | 63 public int basicObjectLockOffsetInBytes() { |
58 // TODO Auto-generated method stub | 64 // TODO Auto-generated method stub |
59 return 0; | 65 return 0; |
60 } | 66 } |
195 // TODO Auto-generated method stub | 201 // TODO Auto-generated method stub |
196 return 0; | 202 return 0; |
197 } | 203 } |
198 | 204 |
199 @Override | 205 @Override |
200 public int threadExceptionOffset() { | |
201 // TODO Auto-generated method stub | |
202 return 0; | |
203 } | |
204 | |
205 @Override | |
206 public RiField getRiField(Field javaField) { | 206 public RiField getRiField(Field javaField) { |
207 // TODO Auto-generated method stub | 207 // TODO Auto-generated method stub |
208 return null; | 208 return null; |
209 } | 209 } |
210 | 210 |