review (S) for 7030715: JSR 292 JRuby test/test_super_call_site_caching.rb asserts with +DoEscapeAnalysis
Tom Rodriguez
tom.rodriguez at oracle.com
Thu Apr 21 13:47:57 PDT 2011
http://cr.openjdk.java.net/~never/7030715
7030715: JSR 292 JRuby test/test_super_call_site_caching.rb asserts with +DoEscapeAnalysis
Reviewed-by:
is_static shouldn't be called on unloaded ciMethods. Instead of just
adjusting the assert I decided to move the proper logic into ciMethod
and modify the regular arg_size routine to complain if it's called on
unloaded methods since it may return the wrong answer in that case.
Tested with failing test and with CTW to ensure that the new assert
doesn't trigger for other code.
More information about the hotspot-compiler-dev
mailing list