--- old/src/share/vm/gc/shared/taskqueue.inline.hpp 2016-03-09 15:15:54.511300912 +0100 +++ new/src/share/vm/gc/shared/taskqueue.inline.hpp 2016-03-09 15:15:54.363295907 +0100 @@ -44,12 +44,13 @@ template inline void GenericTaskQueue::initialize() { - _elems = _array_allocator.allocate(N); + _elems = ArrayAllocator::allocate(N); } template inline GenericTaskQueue::~GenericTaskQueue() { - FREE_C_HEAP_ARRAY(E, _elems); + assert(false, "This code is currently never called"); + ArrayAllocator::free(const_cast(_elems), N); } template