comparison agent/src/share/classes/sun/jvm/hotspot/HotSpotTypeDataBase.java @ 113:ba764ed4b6f2

6420645: Create a vm that uses compressed oops for up to 32gb heapsizes Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author coleenp
date Sun, 13 Apr 2008 17:43:42 -0400
parents a61af66fc99e
children d1605aabd0a1
comparison
equal deleted inserted replaced
110:a49a647afe9a 113:ba764ed4b6f2
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;