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
Thu Mar 21 03:10:23 PDT 2013


http://cr.openjdk.java.net/~roland/8010460/webrev.00/

Method::max_stack() accounts for extra slots for JSR 292 extra arguments. Some platforms (sparc) load ConstMethod::max_stack_offset() directly and so doesn't take the extra slots into account. On sparc it's possible that the appendix argument to a call ends up in the space reserved for the register window. 

Roland.


More information about the hotspot-compiler-dev mailing list