hotspot/agent/src/share/classes/sun/jvm/hotspot/HotSpotTypeDataBase.java
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
   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;