RFR JDK-8159720 C2 failures should not prevent C1 from compiling a method
varming at gmail.com
Thu Jun 16 17:51:34 UTC 2016
Dear compiler list,
I ran into a few methods that C2 failed to compile due to their number of
arguments. To my surprise C2's failure caused the methods to be executed in
the interpreter; although they had previously been compiled with C1. It
turns out that a few C2 failures marks a method as not compilable on all
tiers. I went through all possible failures with this behavior and I don't
see reasons for preventing C1 from compiling a method after C2 failed.
Perhaps some of you know the reasons behind this. I wrote a small patch to
prevent C2 failures from marking a method as not compilable on all tiers
when tiered compilation is on.
I filed a bug: JDK-8159720
and created a webrev:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev