8055236: Deadlock during NMT2 shutdown on Windows

Removed MemTracker::shutdown() call to avoid deadlock

Reviewed-by: minqi, ctornqvi
This commit is contained in:
Zhengyu Gu 2014-08-20 15:58:45 -04:00
parent af8c2b9e6d
commit 181ebe98ef

View file

@ -135,11 +135,6 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved) {
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;