comparison agent/src/share/classes/sun/jvm/hotspot/HotSpotTypeDataBase.java @ 749:81a249214991

6829234: Refix 6822407 and 6812971 Summary: Fixes two SA issues 6822407 and 6812971 Reviewed-by: swamyv, acorn, kvn, coleenp
author poonam
date Mon, 04 May 2009 17:58:10 -0700
parents 23276f80d930
children bd02caa94611
comparison
equal deleted inserted replaced
744:af5d39ca39a3 749:81a249214991
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));
311 } 309 }
312 310
313 private void readVMLongConstants() { 311 private void readVMLongConstants() {
314 // Get the variables we need in order to traverse the VMLongConstantEntry[] 312 // Get the variables we need in order to traverse the VMLongConstantEntry[]
315 long longConstantEntryNameOffset; 313 long longConstantEntryNameOffset;