8219244: NMT: Change ThreadSafepointState's allocation type from mtInternal to mtThread
authorzgu
Wed, 20 Feb 2019 08:31:40 -0500
changeset 53847 74b616640b00
parent 53846 fe95464806a7
child 53848 8c6a3535b9cb
8219244: NMT: Change ThreadSafepointState's allocation type from mtInternal to mtThread Reviewed-by: coleenp, minqi
src/hotspot/share/runtime/safepoint.hpp
--- a/src/hotspot/share/runtime/safepoint.hpp	Wed Feb 20 14:30:33 2019 +0100
+++ b/src/hotspot/share/runtime/safepoint.hpp	Wed Feb 20 08:31:40 2019 -0500
@@ -197,7 +197,7 @@
   assert(!SafepointSynchronize::is_at_safepoint(), __VA_ARGS__)
 
 // State class for a thread suspended at a safepoint
-class ThreadSafepointState: public CHeapObj<mtInternal> {
+class ThreadSafepointState: public CHeapObj<mtThread> {
  private:
   // At polling page safepoint (NOT a poll return safepoint):
   volatile bool                   _at_poll_safepoint;