8055236: Deadlock during NMT2 shutdown on Windows
Summary: Removed MemTracker::shutdown() call to avoid deadlock
Reviewed-by: minqi, ctornqvi
--- 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;