< prev index next >

test/hotspot/jtreg/compiler/codecache/stress/UnexpectedDeoptimizationAllTest.java

Print this page
rev 54936 : imported patch 8221734-v3
rev 54937 : imported patch 8221734-v4


  39  *                   compiler.codecache.stress.UnexpectedDeoptimizationAllTest
  40  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  41  *                   -XX:+WhiteBoxAPI -XX:-DeoptimizeRandom
  42  *                   -XX:CompileCommand=dontinline,compiler.codecache.stress.Helper$TestCase::method
  43  *                   -XX:+SegmentedCodeCache
  44  *                   compiler.codecache.stress.UnexpectedDeoptimizationAllTest
  45  */
  46 
  47 package compiler.codecache.stress;
  48 
  49 public class UnexpectedDeoptimizationAllTest implements Runnable {
  50 
  51     public static void main(String[] args) {
  52         new CodeCacheStressRunner(new UnexpectedDeoptimizationAllTest()).runTest();
  53     }
  54 
  55     @Override
  56     public void run() {
  57         Helper.WHITE_BOX.deoptimizeAll();
  58         try {
  59             Thread.currentThread().sleep(10);
  60         } catch (Exception e) {
  61         }
  62     }
  63 
  64 }


  39  *                   compiler.codecache.stress.UnexpectedDeoptimizationAllTest
  40  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
  41  *                   -XX:+WhiteBoxAPI -XX:-DeoptimizeRandom
  42  *                   -XX:CompileCommand=dontinline,compiler.codecache.stress.Helper$TestCase::method
  43  *                   -XX:+SegmentedCodeCache
  44  *                   compiler.codecache.stress.UnexpectedDeoptimizationAllTest
  45  */
  46 
  47 package compiler.codecache.stress;
  48 
  49 public class UnexpectedDeoptimizationAllTest implements Runnable {
  50 
  51     public static void main(String[] args) {
  52         new CodeCacheStressRunner(new UnexpectedDeoptimizationAllTest()).runTest();
  53     }
  54 
  55     @Override
  56     public void run() {
  57         Helper.WHITE_BOX.deoptimizeAll();
  58         try {
  59             Thread.sleep(10);
  60         } catch (Exception e) {
  61         }
  62     }
  63 
  64 }
< prev index next >