1.1 --- a/src/share/vm/utilities/workgroup.hpp Wed Jun 27 15:23:36 2012 +0200 1.2 +++ b/src/share/vm/utilities/workgroup.hpp Thu Jun 28 17:03:16 2012 -0400 1.3 @@ -123,7 +123,7 @@ 1.4 // Class AbstractWorkGang: 1.5 // An abstract class representing a gang of workers. 1.6 // You subclass this to supply an implementation of run_task(). 1.7 -class AbstractWorkGang: public CHeapObj { 1.8 +class AbstractWorkGang: public CHeapObj<mtInternal> { 1.9 // Here's the public interface to this class. 1.10 public: 1.11 // Constructor and destructor. 1.12 @@ -402,7 +402,7 @@ 1.13 // subtasks will be identified by integer indices, usually elements of an 1.14 // enumeration type. 1.15 1.16 -class SubTasksDone : public CHeapObj { 1.17 +class SubTasksDone: public CHeapObj<mtInternal> { 1.18 uint* _tasks; 1.19 uint _n_tasks; 1.20 // _n_threads is used to determine when a sub task is done.