diff --git a/src/hotspot/os/posix/malloctrace/mallocTracePosix.cpp b/src/hotspot/os/posix/malloctrace/mallocTracePosix.cpp index 7a3a08afa17..a3b8e3cdfe8 100644 --- a/src/hotspot/os/posix/malloctrace/mallocTracePosix.cpp +++ b/src/hotspot/os/posix/malloctrace/mallocTracePosix.cpp @@ -2522,6 +2522,7 @@ class MallocTraceEnablePeriodicTask : public PeriodicTask { void MallocTraceEnablePeriodicTask::task() { enable_from_flags(); enable_delayed_dump(); + disenroll(); } } // namespace mallocStatImpl diff --git a/src/hotspot/share/runtime/globals.hpp b/src/hotspot/share/runtime/globals.hpp index 7093e411dab..4780aa835fd 100644 --- a/src/hotspot/share/runtime/globals.hpp +++ b/src/hotspot/share/runtime/globals.hpp @@ -695,7 +695,7 @@ define_pd_global(uint64_t,MaxRAM, 1ULL*G); "malloc trace if enabled at startup.") \ range(1, 1000) \ \ - product(bool, MallocTraceUseBacktrace, true, \ + product(bool, MallocTraceUseBacktrace, PPC_ONLY(false) NOT_PPC(true), \ "If set we use the backtrace() call to sample the stacks of " \ "the malloc trace if enabled at startup. Note that while this " \ "creates better stack traces, it is also slower and not " \