hotspot/agent/src/share/classes/sun/jvm/hotspot/compiler/ImmutableOopMapPair.java
equal
deleted
inserted
replaced
63 public int getOffset() { |
63 public int getOffset() { |
64 return (int) offsetField.getValue(address); |
64 return (int) offsetField.getValue(address); |
65 } |
65 } |
66 |
66 |
67 private static void initialize(TypeDataBase db) { |
67 private static void initialize(TypeDataBase db) { |
68 Type type = db.lookupType("ImmutableOopMapSet"); |
68 Type type = db.lookupType("ImmutableOopMapPair"); |
69 |
69 |
70 pcField = type.getCIntegerField("_pc_offset"); |
70 pcField = type.getCIntegerField("_pc_offset"); |
71 offsetField = type.getCIntegerField("_oopmap_offset"); |
71 offsetField = type.getCIntegerField("_oopmap_offset"); |
72 classSize = type.getSize(); |
72 classSize = type.getSize(); |
73 } |
73 } |