< prev index next >

src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/Klass.java

Print this page
*** 47,11 ***
    public static int LH_LOG2_ELEMENT_SIZE_SHIFT;
    public static int LH_ELEMENT_TYPE_SHIFT;
    public static int LH_HEADER_SIZE_SHIFT;
    public static int LH_ARRAY_TAG_SHIFT;
    public static int LH_ARRAY_TAG_TYPE_VALUE;
!   public static int LH_ARRAY_TAG_OBJ_VALUE;
  
    private static synchronized void initialize(TypeDataBase db) throws WrongTypeException {
      Type type    = db.lookupType("Klass");
      javaMirrorFieldOffset = type.getField("_java_mirror").getOffset();
      superField   = new MetadataField(type.getAddressField("_super"), 0);
--- 47,11 ---
    public static int LH_LOG2_ELEMENT_SIZE_SHIFT;
    public static int LH_ELEMENT_TYPE_SHIFT;
    public static int LH_HEADER_SIZE_SHIFT;
    public static int LH_ARRAY_TAG_SHIFT;
    public static int LH_ARRAY_TAG_TYPE_VALUE;
! 
  
    private static synchronized void initialize(TypeDataBase db) throws WrongTypeException {
      Type type    = db.lookupType("Klass");
      javaMirrorFieldOffset = type.getField("_java_mirror").getOffset();
      superField   = new MetadataField(type.getAddressField("_super"), 0);

*** 71,11 ***
      LH_LOG2_ELEMENT_SIZE_SHIFT = db.lookupIntConstant("Klass::_lh_log2_element_size_shift").intValue();
      LH_ELEMENT_TYPE_SHIFT      = db.lookupIntConstant("Klass::_lh_element_type_shift").intValue();
      LH_HEADER_SIZE_SHIFT       = db.lookupIntConstant("Klass::_lh_header_size_shift").intValue();
      LH_ARRAY_TAG_SHIFT         = db.lookupIntConstant("Klass::_lh_array_tag_shift").intValue();
      LH_ARRAY_TAG_TYPE_VALUE    = db.lookupIntConstant("Klass::_lh_array_tag_type_value").intValue();
-     LH_ARRAY_TAG_OBJ_VALUE     = db.lookupIntConstant("Klass::_lh_array_tag_obj_value").intValue();
    }
  
  
    public Klass(Address addr) {
      super(addr);
--- 71,10 ---
< prev index next >