Mercurial > hg > openjdk > jdk8u > hotspot
changeset 9459:4e83cd6c5eec
8257039: [8u] GenericTaskQueue destructor is incorrect
Summary: Remove duplicate FREE_C_HEAP_ARRAY from ~GenericTaskQueue
Reviewed-by: phh
Contributed-by: wattsun@tencent.com
author | phh |
---|---|
date | Mon, 17 May 2021 15:52:32 +0000 |
parents | 99e4a82f17e8 |
children | d5e43150cbdc |
files | src/share/vm/utilities/taskqueue.hpp |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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<class E, MEMFLAGS F, unsigned int N> -GenericTaskQueue<E, F, N>::~GenericTaskQueue() { - FREE_C_HEAP_ARRAY(E, _elems, F); -} +GenericTaskQueue<E, F, N>::~GenericTaskQueue() {} // OverflowTaskQueue is a TaskQueue that also includes an overflow stack for // elements that do not fit in the TaskQueue.