RFR(S): 8012322 : Tiered: CompilationPolicy::can_be_compiled(CompLevel_all) mistakenly return false
Igor Ignatyev
igor.ignatyev at oracle.com
Thu Apr 18 10:30:34 PDT 2013
Hi all,
Please review the patch.
Problem:
if method is 'not_compilable' in C1 or C2,
'CompilationPolicy::can_be_compiled' will return false for
'CompLevel_all' even it is compilable in another level
Fix:
1. added explicit comp_level to all calls of
CompilationPolicy::can_be_compiled
2. in CompilationPolicy::can_be_compiled()
- added assert for checking legality of comp_level
- changed logic for comp_level == CompLevel_all
Testing:
JPRT 'compiler/whitebox'
webrev: http://cr.openjdk.java.net/~iignatyev/8012322/webrev.00/
jbs: https://jbs.oracle.com/bugs/browse/JDK-8012322
--
Best regards,
Igor Ignatyev
More information about the hotspot-compiler-dev
mailing list