hotspot/src/share/vm/compiler/oopMap.cpp
changeset 13195 be27e1b6a4b9
parent 9976 6fef34e63df1
child 13963 e5b53c306fb5
--- a/hotspot/src/share/vm/compiler/oopMap.cpp	Wed Jun 27 15:23:36 2012 +0200
+++ b/hotspot/src/share/vm/compiler/oopMap.cpp	Thu Jun 28 17:03:16 2012 -0400
@@ -599,7 +599,7 @@
 
 #ifdef COMPILER2
 
-class DerivedPointerEntry : public CHeapObj {
+class DerivedPointerEntry : public CHeapObj<mtCompiler> {
  private:
   oop*     _location; // Location of derived pointer (also pointing to the base)
   intptr_t _offset;   // Offset from base pointer
@@ -621,7 +621,7 @@
   assert (!_active, "should not be active");
   assert(_list == NULL || _list->length() == 0, "table not empty");
   if (_list == NULL) {
-    _list = new (ResourceObj::C_HEAP) GrowableArray<DerivedPointerEntry*>(10, true); // Allocated on C heap
+    _list = new (ResourceObj::C_HEAP, mtCompiler) GrowableArray<DerivedPointerEntry*>(10, true); // Allocated on C heap
   }
   _active = true;
 }