< prev index next >

test/hotspot/jtreg/runtime/os/TestTrimNative.java

Print this page
@@ -24,20 +24,22 @@
   *
   */
  
  /*
   * @test id=trimNative
+  * @requires vm.flagless
   * @requires (os.family=="linux") & !vm.musl
   * @modules java.base/jdk.internal.misc
   * @library /test/lib
   * @build jdk.test.whitebox.WhiteBox
   * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
   * @run driver TestTrimNative trimNative
   */
  
  /*
   * @test id=trimNativeStrict
+  * @requires vm.flagless
   * @requires (os.family=="linux") & !vm.musl
   * @modules java.base/jdk.internal.misc
   * @library /test/lib
   * @build jdk.test.whitebox.WhiteBox
   * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox

@@ -45,10 +47,11 @@
   */
  
  /*
   * @test id=trimNativeHighInterval
   * @summary High interval trimming should not even kick in for short program runtimes
+  * @requires vm.flagless
   * @requires (os.family=="linux") & !vm.musl
   * @modules java.base/jdk.internal.misc
   * @library /test/lib
   * @build jdk.test.whitebox.WhiteBox
   * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox

@@ -56,10 +59,11 @@
   */
  
  /*
   * @test id=trimNativeLowInterval
   * @summary Very low (sub-second) interval, nothing should explode
+  * @requires vm.flagless
   * @requires (os.family=="linux") & !vm.musl
   * @modules java.base/jdk.internal.misc
   * @library /test/lib
   * @build jdk.test.whitebox.WhiteBox
   * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox

@@ -67,10 +71,11 @@
   */
  
  /*
   * @test id=trimNativeLowIntervalStrict
   * @summary Very low (sub-second) interval, nothing should explode (stricter test, manual mode)
+  * @requires vm.flagless
   * @requires (os.family=="linux") & !vm.musl
   * @modules java.base/jdk.internal.misc
   * @library /test/lib
   * @build jdk.test.whitebox.WhiteBox
   * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox

@@ -78,10 +83,11 @@
   */
  
  /*
   * @test id=testOffByDefault
   * @summary Test that trimming is disabled by default
+  * @requires vm.flagless
   * @requires (os.family=="linux") & !vm.musl
   * @modules java.base/jdk.internal.misc
   * @library /test/lib
   * @build jdk.test.whitebox.WhiteBox
   * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox

@@ -89,10 +95,11 @@
   */
  
  /*
   * @test id=testOffExplicit
   * @summary Test that trimming can be disabled explicitly
+  * @requires vm.flagless
   * @requires (os.family=="linux") & !vm.musl
   * @modules java.base/jdk.internal.misc
   * @library /test/lib
   * @build jdk.test.whitebox.WhiteBox
   * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox

@@ -100,10 +107,11 @@
   */
  
  /*
   * @test id=testOffOnNonCompliantPlatforms
   * @summary Test that trimming is correctly reported as unavailable if unavailable
+  * @requires vm.flagless
   * @requires (os.family!="linux") | vm.musl
   * @modules java.base/jdk.internal.misc
   * @library /test/lib
   * @build jdk.test.whitebox.WhiteBox
   * @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
< prev index next >