hotspot/test/compiler/codecache/stress/CodeCacheStressRunner.java
changeset 28728 0b2795366c28
parent 28501 c9c359a66a15
child 30604 b8d532cb6420
equal deleted inserted replaced
28727:3e314e9c40f1 28728:0b2795366c28
    34     protected final void runTest() {
    34     protected final void runTest() {
    35         Helper.startInfiniteLoopThread(action);
    35         Helper.startInfiniteLoopThread(action);
    36         try {
    36         try {
    37             // adjust timeout and substract vm init and exit time
    37             // adjust timeout and substract vm init and exit time
    38             long timeout = Utils.adjustTimeout(Utils.DEFAULT_TEST_TIMEOUT);
    38             long timeout = Utils.adjustTimeout(Utils.DEFAULT_TEST_TIMEOUT);
    39             timeout *= 0.9;
    39             timeout *= 0.8;
    40             new TimeLimitedRunner(timeout, 2.0d, this::test).call();
    40             new TimeLimitedRunner(timeout, 2.0d, this::test).call();
    41         } catch (Exception e) {
    41         } catch (Exception e) {
    42             throw new Error("Exception occurred during test execution", e);
    42             throw new Error("Exception occurred during test execution", e);
    43         }
    43         }
    44     }
    44     }