mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8160898: assert while replaying ciReplay file created using TieredStopAtLevel=1
Use highest available tier if no compilation level is specified in replay file. Reviewed-by: zmajo
This commit is contained in:
parent
48d49a9522
commit
e990410b51
2 changed files with 2 additions and 2 deletions
|
@ -490,7 +490,8 @@ class CompileReplay : public StackObj {
|
|||
int comp_level = parse_int(comp_level_label);
|
||||
// old version w/o comp_level
|
||||
if (had_error() && (error_message() == comp_level_label)) {
|
||||
comp_level = CompLevel_full_optimization;
|
||||
// use highest available tier
|
||||
comp_level = TieredCompilation ? TieredStopAtLevel : CompLevel_highest_tier;
|
||||
}
|
||||
if (!is_valid_comp_level(comp_level)) {
|
||||
return;
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
## @summary testing of ciReplay with using generated by VM replay.txt w/o comp_level
|
||||
## @author igor.ignatyev@oracle.com
|
||||
## @requires vm.flightRecorder != true
|
||||
## @ignore 8157984
|
||||
## @run shell TestVM_no_comp_level.sh
|
||||
##
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue