# HG changeset patch # User phh # Date 1621266752 0 # Node ID 4e83cd6c5eec3e0dd7b3284d591798917796bf67 # Parent 99e4a82f17e8debc5225d1c8834acdac673aa676 8257039: [8u] GenericTaskQueue destructor is incorrect Summary: Remove duplicate FREE_C_HEAP_ARRAY from ~GenericTaskQueue Reviewed-by: phh Contributed-by: wattsun@tencent.com diff -r 99e4a82f17e8 -r 4e83cd6c5eec src/share/vm/utilities/taskqueue.hpp --- a/src/share/vm/utilities/taskqueue.hpp Fri Oct 09 09:09:05 2015 -1000 +++ b/src/share/vm/utilities/taskqueue.hpp Mon May 17 15:52:32 2021 +0000 @@ -430,9 +430,7 @@ } template -GenericTaskQueue::~GenericTaskQueue() { - FREE_C_HEAP_ARRAY(E, _elems, F); -} +GenericTaskQueue::~GenericTaskQueue() {} // OverflowTaskQueue is a TaskQueue that also includes an overflow stack for // elements that do not fit in the TaskQueue.