8219244: NMT: Change ThreadSafepointState's allocation type from mtInternal to mtThread

Reviewed-by: coleenp, minqi
This commit is contained in:
Zhengyu Gu 2019-02-20 08:31:40 -05:00
parent eaab45a8b8
commit 50316d7164

View File

@ -197,7 +197,7 @@ public:
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;