src/share/vm/prims/jvmtiGetLoadedClasses.cpp

changeset 3900
d2a62e0f25eb
parent 2314
f95d63e2154a
child 4037
da91efe96a93
     1.1 --- a/src/share/vm/prims/jvmtiGetLoadedClasses.cpp	Wed Jun 27 15:23:36 2012 +0200
     1.2 +++ b/src/share/vm/prims/jvmtiGetLoadedClasses.cpp	Thu Jun 28 17:03:16 2012 -0400
     1.3 @@ -152,7 +152,7 @@
     1.4  
     1.5    // Public methods that get called within the scope of the closure
     1.6    void allocate() {
     1.7 -    _list = NEW_C_HEAP_ARRAY(Handle, _count);
     1.8 +    _list = NEW_C_HEAP_ARRAY(Handle, _count, mtInternal);
     1.9      assert(_list != NULL, "Out of memory");
    1.10      if (_list == NULL) {
    1.11        _count = 0;

mercurial