< prev index next >
src/hotspot/share/services/memTracker.cpp
Print this page
rev 50951 : imported patch static_initialization.patch
*** 66,79 ****
// Remove the environment variable to avoid leaking to child processes
os::unsetenv(buf);
}
- // Construct NativeCallStack::EMPTY_STACK. It may get constructed twice,
- // but it is benign, the results are the same.
- ::new ((void*)&NativeCallStack::EMPTY_STACK) NativeCallStack(0, false);
-
if (!MallocTracker::initialize(level) ||
!VirtualMemoryTracker::initialize(level)) {
level = NMT_off;
}
return level;
--- 66,75 ----
< prev index next >