8336753: Don't run serviceability/sa/ClhsdbDumpheap.java with -Xcomp

Reviewed-by: cjplummer, kvn, thartmann
This commit is contained in:
Daniel Lundén 2024-07-22 14:41:40 +00:00
parent c3226aaeb8
commit 0725eb1df2

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -40,6 +40,10 @@ import jtreg.SkippedException;
* @bug 8240989
* @summary Test clhsdb dumpheap command
* @requires vm.hasSA
* @requires vm.compMode != "Xcomp"
* @comment Running this test with -Xcomp is slow and therefore tends to cause
* timeouts. As there is no known direct benefit from running the test
* with -Xcomp, we disable such testing.
* @library /test/lib
* @run main/othervm/timeout=240 ClhsdbDumpheap
*/