< prev index next >

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

Print this page

 85   private static CIntField accessFlags;
 86   private static CIntField vtableIndex;
 87 
 88   private static AddressField       code;
 89   /*
 90   private static AddressCField      fromCompiledCodeEntryPoint;
 91   private static AddressField       interpreterEntry;
 92   */
 93 
 94 
 95   // constant method names - <init>, <clinit>
 96   // Initialized lazily to avoid initialization ordering dependencies between ArrayKlass and String
 97   private static String objectInitializerName;
 98   private static String classInitializerName;
 99   private static String objectInitializerName() {
100     if (objectInitializerName == null) {
101       objectInitializerName = "<init>";
102     }
103     return objectInitializerName;
104   }

105   private static String classInitializerName() {
106     if (classInitializerName == null) {
107       classInitializerName = "<clinit>";
108     }
109     return classInitializerName;
110   }
111 
112 
113   // Accessors for declared fields
114   public ConstMethod  getConstMethod()                {
115     Address addr = constMethod.getValue(getAddress());
116     return VMObjectFactory.newObject(ConstMethod.class, addr);
117   }
118   public ConstantPool getConstants()                  {
119     return getConstMethod().getConstants();
120   }
121   public boolean      hasStackMapTable()              {
122     return getConstMethod().hasStackMapTable();
123   }
124   public U1Array      getStackMapData()               {

 85   private static CIntField accessFlags;
 86   private static CIntField vtableIndex;
 87 
 88   private static AddressField       code;
 89   /*
 90   private static AddressCField      fromCompiledCodeEntryPoint;
 91   private static AddressField       interpreterEntry;
 92   */
 93 
 94 
 95   // constant method names - <init>, <clinit>
 96   // Initialized lazily to avoid initialization ordering dependencies between ArrayKlass and String
 97   private static String objectInitializerName;
 98   private static String classInitializerName;
 99   private static String objectInitializerName() {
100     if (objectInitializerName == null) {
101       objectInitializerName = "<init>";
102     }
103     return objectInitializerName;
104   }
105 
106   private static String classInitializerName() {
107     if (classInitializerName == null) {
108       classInitializerName = "<clinit>";
109     }
110     return classInitializerName;
111   }
112 
113 
114   // Accessors for declared fields
115   public ConstMethod  getConstMethod()                {
116     Address addr = constMethod.getValue(getAddress());
117     return VMObjectFactory.newObject(ConstMethod.class, addr);
118   }
119   public ConstantPool getConstants()                  {
120     return getConstMethod().getConstants();
121   }
122   public boolean      hasStackMapTable()              {
123     return getConstMethod().hasStackMapTable();
124   }
125   public U1Array      getStackMapData()               {
< prev index next >