src/share/vm/compiler/oopMap.cpp

changeset 3900
d2a62e0f25eb
parent 2950
cba7b5c2d53f
child 4153
b9a9ed0f8eeb
     1.1 --- a/src/share/vm/compiler/oopMap.cpp	Wed Jun 27 15:23:36 2012 +0200
     1.2 +++ b/src/share/vm/compiler/oopMap.cpp	Thu Jun 28 17:03:16 2012 -0400
     1.3 @@ -599,7 +599,7 @@
     1.4  
     1.5  #ifdef COMPILER2
     1.6  
     1.7 -class DerivedPointerEntry : public CHeapObj {
     1.8 +class DerivedPointerEntry : public CHeapObj<mtCompiler> {
     1.9   private:
    1.10    oop*     _location; // Location of derived pointer (also pointing to the base)
    1.11    intptr_t _offset;   // Offset from base pointer
    1.12 @@ -621,7 +621,7 @@
    1.13    assert (!_active, "should not be active");
    1.14    assert(_list == NULL || _list->length() == 0, "table not empty");
    1.15    if (_list == NULL) {
    1.16 -    _list = new (ResourceObj::C_HEAP) GrowableArray<DerivedPointerEntry*>(10, true); // Allocated on C heap
    1.17 +    _list = new (ResourceObj::C_HEAP, mtCompiler) GrowableArray<DerivedPointerEntry*>(10, true); // Allocated on C heap
    1.18    }
    1.19    _active = true;
    1.20  }

mercurial