Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/HotSpotTypeDataBase.java @ 692:23276f80d930
6825642: nsk sajdi tests fail with NullPointerException
Reviewed-by: xlu, coleenp, kamg, swamyv
author | acorn |
---|---|
date | Thu, 02 Apr 2009 14:26:42 -0400 |
parents | f30ba3b36599 |
children | 81a249214991 |
comparison
equal
deleted
inserted
replaced
691:956304450e80 | 692:23276f80d930 |
---|---|
304 } | 304 } |
305 } | 305 } |
306 | 306 |
307 entryAddr = entryAddr.addOffsetTo(intConstantEntryArrayStride); | 307 entryAddr = entryAddr.addOffsetTo(intConstantEntryArrayStride); |
308 } while (nameAddr != null); | 308 } while (nameAddr != null); |
309 String symbol = "heapOopSize"; // global int constant and value is initialized at runtime. | |
310 addIntConstant(symbol, (int)lookupInProcess(symbol).getCIntegerAt(0, 4, false)); | |
309 } | 311 } |
310 | 312 |
311 private void readVMLongConstants() { | 313 private void readVMLongConstants() { |
312 // Get the variables we need in order to traverse the VMLongConstantEntry[] | 314 // Get the variables we need in order to traverse the VMLongConstantEntry[] |
313 long longConstantEntryNameOffset; | 315 long longConstantEntryNameOffset; |