Request for review (XS): 7108383: JSR 292: JRuby bench_define_method_methods.rb: assert(slow_jvms != NULL) failed: miss path must not
vladimir.kozlov at oracle.com
Wed Nov 9 07:15:58 PST 2011
Why not generate direct call as we do we for hot call?
Christian Thalinger wrote:
> 7108383: JSR 292: JRuby bench_define_method_methods.rb: assert(slow_jvms != NULL) failed: miss path must not
> 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.
More information about the hotspot-compiler-dev