--- old/src/share/vm/gc/shared/taskqueue.inline.hpp 2016-03-08 10:57:31.377475465 +0100 +++ new/src/share/vm/gc/shared/taskqueue.inline.hpp 2016-03-08 10:57:31.233470587 +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