mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-08 17:38:38 +00:00
8266988: compiler/jvmci/compilerToVM/IsMatureTest.java fails with Unexpected isMature state for multiple times invoked method: expected false to equal true
Reviewed-by: kvn
This commit is contained in:
parent
286106dd2a
commit
7468bbcd64
@ -78,10 +78,13 @@ public class IsMatureTest {
|
||||
&& compLevel != CompilerWhiteBoxTest.COMP_LEVEL_SIMPLE) {
|
||||
Asserts.assertNE(methodData, 0L,
|
||||
"Multiple times invoked method should have method data");
|
||||
/* a method is not mature in Xcomp mode with tiered compilation disabled,
|
||||
see NonTieredCompPolicy::is_mature */
|
||||
Asserts.assertEQ(isMature, !(Platform.isComp() && !TIERED),
|
||||
"Unexpected isMature state for multiple times invoked method");
|
||||
// The method may or may not be mature if it's compiled with limited profile.
|
||||
if (compLevel != CompilerWhiteBoxTest.COMP_LEVEL_LIMITED_PROFILE) {
|
||||
/* a method is not mature in Xcomp mode with tiered compilation disabled,
|
||||
see NonTieredCompPolicy::is_mature */
|
||||
Asserts.assertEQ(isMature, !(Platform.isComp() && !TIERED),
|
||||
"Unexpected isMature state for multiple times invoked method");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user