RFR (XS): 8010460: Interpreter on some platforms loads ConstMethod::_max_stack and misses extra stack slots for JSR 292
Volker Simonis
volker.simonis at gmail.com
Wed Apr 24 08:39:52 PDT 2013
What a pity :(
I havn't thoroughly reviewd this, but maybe you could make ConstMethod
'extra_stack_entries_for_indy' aware as well, to avoid the extra
bytes?
On Wed, Apr 24, 2013 at 4:44 PM, Roland Westrelin
<roland.westrelin at oracle.com> wrote:
> 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