Skip to content

Commit 123237f

Browse files
committed
disable SA tests when using ZGC
1 parent e880663 commit 123237f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/hotspot/jtreg/resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2026, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -35,7 +35,9 @@
3535
* @test
3636
* @library /test/lib
3737
* @bug 8171084
38-
* @requires vm.hasSA & (vm.bits == "64" & os.maxMemory > 8g)
38+
* @requires vm.hasSA
39+
* @requires vm.gc != "Z"
40+
* @requires vm.bits == "64" & os.maxMemory > 8g
3941
* @modules java.base/jdk.internal.misc
4042
* jdk.hotspot.agent/sun.jvm.hotspot
4143
* jdk.hotspot.agent/sun.jvm.hotspot.utilities

0 commit comments

Comments
 (0)