RFR (XS): 8010460: Interpreter on some platforms loads ConstMethod::_max_stack and misses extra stack slots for JSR 292
Roland Westrelin
roland.westrelin at oracle.com
Wed Apr 24 07:44:48 PDT 2013
The fix is actually not correct. I had a test failure in jprt because max_stack can be 0xffff and adding the extra entry overflows the _max_stack short in ConstMethod. Keeping the change as it is would require making _max_stack a int which would add 4 bytes to every ConstMethod (going from 8 x u2 fields to 7 x u2 fields + a int field).
Roland.
More information about the hotspot-compiler-dev
mailing list