< prev index next >

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

Print this page

        

@@ -250,11 +250,11 @@
       return (int)size.getValue(getAddress());
     }
   }
 
   int size() {
-    return (int)Oop.alignObjectSize(VM.getVM().alignUp(sizeInBytes(), VM.getVM().getBytesPerWord())/VM.getVM().getBytesPerWord());
+    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 >