Skip to content
Permalink
Browse files
8271323: [TESTBUG] serviceability/sa/ClhsdbCDSCore.java fails with -X…
…X:TieredStopAtLevel=1

Backport-of: 9bc52afa481c476ae9c379dff44ae8266777f616
  • Loading branch information
Ramkumar Sunderbabu authored and Sibabrata Sahoo committed Nov 24, 2021
1 parent 865d24c commit 79ede93c8bd87389e73dbb1b246788ca77c2ee7e
Showing 1 changed file with 2 additions and 2 deletions.
@@ -125,8 +125,8 @@ public static void main(String[] args) throws Exception {

List testJavaOpts = Arrays.asList(Utils.getTestJavaOpts());

if (testJavaOpts.contains("-Xcomp") && testJavaOpts.contains("-XX:TieredStopAtLevel=1")) {
// No MDOs are allocated in -XX:TieredStopAtLevel=1 + -Xcomp mode
if (testJavaOpts.contains("-XX:TieredStopAtLevel=1")) {
// No MDOs are allocated in -XX:TieredStopAtLevel=1
// The reason is methods being compiled aren't hot enough
// Let's not call printmdo in such scenario
cmds = List.of("printall", "jstack -v");

1 comment on commit 79ede93

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 79ede93 Nov 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.