changeset 23796:39807bf3aa82

[JVMCI] bootstrap shouldn't terminate before the first compile completes
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 22 Nov 2016 09:01:23 -0800
parents 74469ca7d484
children 2e6402187643
files src/share/vm/jvmci/jvmciCompiler.cpp
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciCompiler.cpp	Tue Nov 22 12:15:30 2016 +0100
+++ b/src/share/vm/jvmci/jvmciCompiler.cpp	Tue Nov 22 09:01:23 2016 -0800
@@ -88,15 +88,13 @@
   }
 
   int qsize;
-  bool first_round = true;
   int z = 0;
   do {
     // Loop until there is something in the queue.
     do {
       os::sleep(THREAD, 100, true);
       qsize = CompileBroker::queue_size(CompLevel_full_optimization);
-    } while (!_bootstrap_compilation_request_handled && first_round && qsize == 0);
-    first_round = false;
+    } while (!_bootstrap_compilation_request_handled);
     if (PrintBootstrap) {
       while (z < (_methods_compiled / 100)) {
         ++z;