Skip to content

Commit

Permalink
[GC] Avoid testing TestSoftMaxHeapSizeFlag.java while using other GCs
Browse files Browse the repository at this point in the history
Summary: add "@requires" to the jtreg heade

Test Plan: CI pipeline

Reviewed-by: sendaoYan, weixlu

Issue: #332
  • Loading branch information
Hao Tang committed Oct 11, 2023
1 parent f3ff21f commit ed89ff6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/hotspot/jtreg/gc/z/TestSoftMaxHeapSizeFlag.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

/*
* @test TestSoftMaxHeapSizeFlag
* @requires vm.gc.Z & !vm.graal.enabled
* @key gc
* @library /test/lib
* @modules java.base/jdk.internal.misc
Expand Down

0 comments on commit ed89ff6

Please sign in to comment.