Skip to content
Permalink
Browse files
8267845: Add @requires to avoid running G1 large pages test with wron…
…g page size

Reviewed-by: tschatzl, kbarrett
  • Loading branch information
kstefanj committed May 31, 2021
1 parent 4ade125 commit ce44cd6881bcbef81a840d7961a951ba586c0eae
Showing 2 changed files with 2 additions and 0 deletions.
@@ -30,6 +30,7 @@
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @requires vm.gc.G1
* @requires vm.opt.LargePageSizeInBytes == null
* @build sun.hotspot.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UseG1GC -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+IgnoreUnrecognizedVMOptions -XX:+UseLargePages gc.g1.TestLargePageUseForAuxMemory
@@ -30,6 +30,7 @@
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @requires vm.gc.G1
* @requires vm.opt.LargePageSizeInBytes == null
* @build sun.hotspot.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UseG1GC -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI

1 comment on commit ce44cd6

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on ce44cd6 May 31, 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.