< prev index next >
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/MethodData.java
Print this page
*** 250,260 ****
return (int)size.getValue(getAddress());
}
}
int size() {
! return (int)Oop.alignObjectSize(VM.getVM().alignUp(sizeInBytes(), VM.getVM().getBytesPerWord())/VM.getVM().getBytesPerWord());
}
ParametersTypeData<Klass,Method> parametersTypeData() {
int di = (int)parametersTypeDataDi.getValue(getAddress());
if (di == -1) {
--- 250,260 ----
return (int)size.getValue(getAddress());
}
}
int size() {
! return (int)alignSize(VM.getVM().alignUp(sizeInBytes(), VM.getVM().getBytesPerWord())/VM.getVM().getBytesPerWord());
}
ParametersTypeData<Klass,Method> parametersTypeData() {
int di = (int)parametersTypeDataDi.getValue(getAddress());
if (di == -1) {
< prev index next >