1.1 --- a/src/share/vm/services/threadService.hpp Wed Jun 27 15:23:36 2012 +0200 1.2 +++ b/src/share/vm/services/threadService.hpp Thu Jun 28 17:03:16 2012 -0400 1.3 @@ -116,7 +116,7 @@ 1.4 }; 1.5 1.6 // Per-thread Statistics for synchronization 1.7 -class ThreadStatistics : public CHeapObj { 1.8 +class ThreadStatistics : public CHeapObj<mtInternal> { 1.9 private: 1.10 // The following contention statistics are only updated by 1.11 // the thread owning these statistics when contention occurs. 1.12 @@ -186,7 +186,7 @@ 1.13 }; 1.14 1.15 // Thread snapshot to represent the thread state and statistics 1.16 -class ThreadSnapshot : public CHeapObj { 1.17 +class ThreadSnapshot : public CHeapObj<mtInternal> { 1.18 private: 1.19 JavaThread* _thread; 1.20 oop _threadObj; 1.21 @@ -244,7 +244,7 @@ 1.22 void oops_do(OopClosure* f); 1.23 }; 1.24 1.25 -class ThreadStackTrace : public CHeapObj { 1.26 +class ThreadStackTrace : public CHeapObj<mtInternal> { 1.27 private: 1.28 JavaThread* _thread; 1.29 int _depth; // number of stack frames added 1.30 @@ -275,7 +275,7 @@ 1.31 // StackFrameInfo for keeping methodOop and bci during 1.32 // stack walking for later construction of StackTraceElement[] 1.33 // Java instances 1.34 -class StackFrameInfo : public CHeapObj { 1.35 +class StackFrameInfo : public CHeapObj<mtInternal> { 1.36 private: 1.37 methodOop _method; 1.38 int _bci; 1.39 @@ -299,7 +299,7 @@ 1.40 void print_on(outputStream* st) const; 1.41 }; 1.42 1.43 -class ThreadConcurrentLocks : public CHeapObj { 1.44 +class ThreadConcurrentLocks : public CHeapObj<mtInternal> { 1.45 private: 1.46 GrowableArray<instanceOop>* _owned_locks; 1.47 ThreadConcurrentLocks* _next; 1.48 @@ -356,7 +356,7 @@ 1.49 void oops_do(OopClosure* f); 1.50 }; 1.51 1.52 -class DeadlockCycle : public CHeapObj { 1.53 +class DeadlockCycle : public CHeapObj<mtInternal> { 1.54 private: 1.55 bool _is_deadlock; 1.56 GrowableArray<JavaThread*>* _threads;