Request for review (XS): 7108383: JSR 292: JRuby bench_define_method_methods.rb: assert(slow_jvms != NULL) failed: miss path must not
Christian Thalinger
christian.thalinger at oracle.com
Wed Nov 9 05:31:03 PST 2011
http://cr.openjdk.java.net/~twisti/7108383/
7108383: JSR 292: JRuby bench_define_method_methods.rb: assert(slow_jvms != NULL) failed: miss path must not
Reviewed-by:
The problem is that the code in
PredictedDynamicCallGenerator::generate assumes that the generation of
the slow path always succeeds. This might not be the case when we hit
the node limit while generating the slow path.
The suggested fix is to remove the assert and return on failed slow
path generations.
I also applied the fix to PredictedCallGenerator::generate because I
think it can also happen there.
src/share/vm/opto/callGenerator.cpp
More information about the hotspot-compiler-dev
mailing list