JDK-8257039: GenericTaskQueue destructor is incorrect

wattsun(孙宇) wattsun at tencent.com
Thu Nov 26 04:00:19 UTC 2020


Dear All,

     may I hava this small bug fix to review?

     Bug: https://bugs.openjdk.java.net/browse/JDK-8257039





the diff:



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);

 }



Thanks!

watt



More information about the jdk8u-dev mailing list