1.1 --- a/src/share/vm/code/codeCache.cpp Wed Jun 27 15:23:36 2012 +0200 1.2 +++ b/src/share/vm/code/codeCache.cpp Thu Jun 28 17:03:16 2012 -0400 1.3 @@ -856,7 +856,7 @@ 1.4 1.5 int bucketSize = 512; 1.6 int bucketLimit = maxCodeSize / bucketSize + 1; 1.7 - int *buckets = NEW_C_HEAP_ARRAY(int, bucketLimit); 1.8 + int *buckets = NEW_C_HEAP_ARRAY(int, bucketLimit, mtCode); 1.9 memset(buckets,0,sizeof(int) * bucketLimit); 1.10 1.11 for (cb = first(); cb != NULL; cb = next(cb)) { 1.12 @@ -893,7 +893,7 @@ 1.13 } 1.14 } 1.15 1.16 - FREE_C_HEAP_ARRAY(int, buckets); 1.17 + FREE_C_HEAP_ARRAY(int, buckets, mtCode); 1.18 } 1.19 1.20 void CodeCache::print() {