--- old/src/share/vm/gc/g1/g1HotCardCache.cpp 2017-06-14 14:52:24.118428186 +0200 +++ new/src/share/vm/gc/g1/g1HotCardCache.cpp 2017-06-14 14:52:23.993424371 +0200 @@ -36,7 +36,7 @@ _use_cache = true; _hot_cache_size = (size_t)1 << G1ConcRSLogCacheSize; - _hot_cache = ArrayAllocator::allocate(_hot_cache_size); + _hot_cache = ArrayAllocator::allocate(_hot_cache_size, mtGC); reset_hot_cache_internal(); @@ -51,7 +51,7 @@ G1HotCardCache::~G1HotCardCache() { if (default_use_cache()) { assert(_hot_cache != NULL, "Logic"); - ArrayAllocator::free(_hot_cache, _hot_cache_size); + ArrayAllocator::free(_hot_cache, _hot_cache_size); _hot_cache = NULL; } }