src/hotspot/share/jvmci/jvmciCompiler.cpp
changeset 50858 2d3e99a72541
parent 49480 d7df2dd501ce
child 52934 8deeb7bba516
--- a/src/hotspot/share/jvmci/jvmciCompiler.cpp	Wed Jun 27 16:57:21 2018 -0700
+++ b/src/hotspot/share/jvmci/jvmciCompiler.cpp	Wed Jun 27 17:02:41 2018 -0700
@@ -215,8 +215,10 @@
     Handle ex(THREAD, exception);
     java_lang_Throwable::java_printStackTrace(ex, THREAD);
   } else {
-    // Allow error reporting thread to print the stack trace.
-    os::sleep(THREAD, 200, false);
+    // Allow error reporting thread to print the stack trace.  Windows
+    // doesn't allow uninterruptible wait for JavaThreads
+    const bool interruptible = true;
+    os::sleep(THREAD, 200, interruptible);
   }
 
   before_exit(THREAD);
@@ -228,13 +230,6 @@
   ShouldNotReachHere();
 }
 
-bool JVMCICompiler::is_trivial(Method* method) {
-  if (_bootstrapping) {
-    return false;
-  }
-  return JVMCIRuntime::treat_as_trivial(method);
-}
-
 // Print compilation timers and statistics
 void JVMCICompiler::print_timers() {
   print_compilation_timers();