hotspot/src/share/vm/prims/jvmtiImpl.cpp
changeset 27880 afb974a04396
parent 26558 b7df27df6384
child 29081 c61eb4914428
--- a/hotspot/src/share/vm/prims/jvmtiImpl.cpp	Fri Nov 28 16:33:57 2014 +0100
+++ b/hotspot/src/share/vm/prims/jvmtiImpl.cpp	Mon Dec 01 12:16:15 2014 -0500
@@ -88,7 +88,7 @@
 void GrowableCache::recache() {
   int len = _elements->length();
 
-  FREE_C_HEAP_ARRAY(address, _cache, mtInternal);
+  FREE_C_HEAP_ARRAY(address, _cache);
   _cache = NEW_C_HEAP_ARRAY(address,len+1, mtInternal);
 
   for (int i=0; i<len; i++) {
@@ -132,7 +132,7 @@
 GrowableCache::~GrowableCache() {
   clear();
   delete _elements;
-  FREE_C_HEAP_ARRAY(address, _cache, mtInternal);
+  FREE_C_HEAP_ARRAY(address, _cache);
 }
 
 void GrowableCache::initialize(void *this_obj, void listener_fun(void *, address*) ) {