JDK-8257039: GenericTaskQueue destructor is incorrect
linzang(臧琳)
linzang at tencent.com
Fri Nov 27 02:24:10 UTC 2020
Hi Watt,
> diff -r 83661fdee9f0 src/share/vm/utilities/taskqueue.hpp
>
> --- a/src/share/vm/utilities/taskqueue.hpp Wed Nov 18 06:55:35 2020 +0000
>
> +++ b/src/share/vm/utilities/taskqueue.hpp Thu Nov 26 11:59:11 2020 +0800
>
> @@ -431,7 +431,6 @@
>
> template<class E, MEMFLAGS F, unsigned int N>
>
> GenericTaskQueue<E, F, N>::~GenericTaskQueue() {
>
> - FREE_C_HEAP_ARRAY(E, _elems, F);
>
> }
I am not a reviewer, just made a quick check that the tip also has the same code in ~GenericTaskQueueSet(), so maybe you could check and fix it first, and then make a backport.
BRs,
Lin
More information about the jdk8u-dev
mailing list