1.1 --- a/test/compiler/whitebox/CompilerWhiteBoxTest.java Mon Jun 03 16:14:54 2019 +0100 1.2 +++ b/test/compiler/whitebox/CompilerWhiteBoxTest.java Wed Jun 05 03:07:31 2019 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -328,11 +328,11 @@ 1.11 return; 1.12 } 1.13 final Object obj = new Object(); 1.14 - for (int i = 0; i < 10 1.15 + for (int i = 0; i < 100 1.16 && WHITE_BOX.isMethodQueuedForCompilation(executable); ++i) { 1.17 synchronized (obj) { 1.18 try { 1.19 - obj.wait(1000); 1.20 + obj.wait(100); 1.21 } catch (InterruptedException e) { 1.22 Thread.currentThread().interrupt(); 1.23 }