hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/Method.java
changeset 13282 9872915dd78d
parent 12937 0032fb2caff6
child 13728 882756847a04
equal deleted inserted replaced
13102:7342fd50f8d7 13282:9872915dd78d
   125   public ConstMethod  getConstMethod()                { return (ConstMethod)  constMethod.getValue(this);       }
   125   public ConstMethod  getConstMethod()                { return (ConstMethod)  constMethod.getValue(this);       }
   126   public ConstantPool getConstants()                  {
   126   public ConstantPool getConstants()                  {
   127     return getConstMethod().getConstants();
   127     return getConstMethod().getConstants();
   128   }
   128   }
   129   public MethodData   getMethodData()                 { return (MethodData) methodData.getValue(this);          }
   129   public MethodData   getMethodData()                 { return (MethodData) methodData.getValue(this);          }
   130   public TypeArray    getExceptionTable()             { return getConstMethod().getExceptionTable();            }
       
   131   /** WARNING: this is in words, not useful in this system; use getObjectSize() instead */
   130   /** WARNING: this is in words, not useful in this system; use getObjectSize() instead */
   132   public long         getMethodSize()                 { return                methodSize.getValue(this);        }
   131   public long         getMethodSize()                 { return                methodSize.getValue(this);        }
   133   public long         getMaxStack()                   { return                maxStack.getValue(this);          }
   132   public long         getMaxStack()                   { return                maxStack.getValue(this);          }
   134   public long         getMaxLocals()                  { return                maxLocals.getValue(this);         }
   133   public long         getMaxLocals()                  { return                maxLocals.getValue(this);         }
   135   public long         getSizeOfParameters()           { return                sizeOfParameters.getValue(this);  }
   134   public long         getSizeOfParameters()           { return                sizeOfParameters.getValue(this);  }
   326     }
   325     }
   327 
   326 
   328     return null;
   327     return null;
   329   }
   328   }
   330 
   329 
       
   330   public boolean hasExceptionTable() {
       
   331     return getConstMethod().hasExceptionTable();
       
   332   }
       
   333 
       
   334   public ExceptionTableElement[] getExceptionTable() {
       
   335     return getConstMethod().getExceptionTable();
       
   336   }
       
   337 
   331   public boolean hasCheckedExceptions() {
   338   public boolean hasCheckedExceptions() {
   332     return getConstMethod().hasCheckedExceptions();
   339     return getConstMethod().hasCheckedExceptions();
   333   }
   340   }
   334 
   341 
   335   /** Should only be called if table is present */
   342   /** Should only be called if table is present */