8055236: Deadlock during NMT2 shutdown on Windows
authorzgu
Wed, 20 Aug 2014 15:58:45 -0400
changeset 26290 ac1c808c4ab6
parent 26143 bb90f572f1a6
child 26291 158000a480bc
8055236: Deadlock during NMT2 shutdown on Windows Summary: Removed MemTracker::shutdown() call to avoid deadlock Reviewed-by: minqi, ctornqvi
hotspot/src/os/windows/vm/os_windows.cpp
--- a/hotspot/src/os/windows/vm/os_windows.cpp	Fri Aug 15 20:37:43 2014 +0000
+++ b/hotspot/src/os/windows/vm/os_windows.cpp	Wed Aug 20 15:58:45 2014 -0400
@@ -135,11 +135,6 @@
       if (ForceTimeHighResolution)
         timeEndPeriod(1L);
 
-      // Workaround for issue when a custom launcher doesn't call
-      // DestroyJavaVM and NMT is trying to track memory when free is
-      // called from a static destructor
-      MemTracker::shutdown();
-
       break;
     default:
       break;