< prev index next >

src/hotspot/share/runtime/serviceThread.cpp

Print this page
rev 55489 : Checkpoint latest preliminary review patches for full OpenJDK review; merge with 8222295.patch.
rev 55493 : imported patch dcubed.monitor_deflate_conc.v2.04
rev 55494 : imported patch dcubed.monitor_deflate_conc.v2.05

@@ -200,11 +200,16 @@
         }
       }
       if (count > 0) {
         log_debug(monitorinflation)("requesting async deflation of idle monitors for %d thread(s).", count);
       }
-      ObjectSynchronizer::set_is_async_deflation_requested(false);  // async deflation has been requested
+      // The ServiceThread's async deflation request has been processed.
+      ObjectSynchronizer::set_is_async_deflation_requested(false);
+
+      // The global in-use list was handled above, but the request won't
+      // be complete until the JavaThreads have handled their in-use
+      // lists. This is the nature of an async deflation request.
     }
   }
 }
 
 bool ServiceThread::is_service_thread(Thread* thread) {
< prev index next >