RFR: 8135284: Remove Method::_method_size field (original) (raw)

Yumin Qi yumin.qi at oracle.com
Tue Oct 13 16:00:26 UTC 2015


Harold,

Thanks for the review!

On 10/13/2015 6:50 AM, harold seigel wrote:

Hi Yumin,

The fix looks good. Thanks, Harold On 10/12/2015 6:01 PM, Yumin Qi wrote: Please review the small changes for

bug: https://bugs.openjdk.java.net/browse/JDK-8135284 webrev: http://cr.openjdk.java.net/~minqi/8135284/webrev00/ Summary: After JDK-8135085 integration, Method increased 4 bytes for 32-bit platforms(no effect for 64 bit). This change removed methodsize from Method which saved 2 bytes for Method. Deleted methodsize related code in SA. The Method size is a constant in Method Type, if it is native method then TWO words added which is consistent with hotspot code. btyecodeOffset in Method.java is no longer useful, the offset is now in ConstMethod so removed too. Tests: JPRT, Runtime Quick test list, run SA on sun.jvm.hotspot.tools.ClassLoaderStats (instrumented Method output to get size). Thanks Yumin



More information about the hotspot-runtime-dev mailing list