[8u] RFR 8202788: Explicitly reclaim cached thread-local direct buffers at thread exit
Hohensee, Paul
hohensee at amazon.com
Thu Aug 5 17:12:46 UTC 2021
Lgtm. There's a follow-on for this patch that should also be backported, JDK-8205540. It applies cleanly after JDK-8202788.
Thanks,
Paul
-----Original Message-----
From: jdk8u-dev <jdk8u-dev-retn at openjdk.java.net> on behalf of Zhengyu Gu <zgu at redhat.com>
Date: Wednesday, August 4, 2021 at 12:09 PM
To: jdk8u-dev <jdk8u-dev at openjdk.java.net>
Subject: [8u] RFR 8202788: Explicitly reclaim cached thread-local direct buffers at thread exit
I would like to backport this patch to openjdk8u for parity with Oracle
8u321.
Bug: https://bugs.openjdk.java.net/browse/JDK-8202788
Patch: http://hg.openjdk.java.net/jdk/jdk/rev/106dc156ce6b
The patch does not apply cleanly.
- Fixed instantiating generic classes due to inferring type arguments
- NativeBuffer does not have free() method, replaced with
buffer.cleaner().clean()
- Conflicts on imports in NativeBuffers.java and Util.java
8u webrev: http://cr.openjdk.java.net/~zgu/JDK-8202788-8u/webrev.00
Test:
Passed all three tests in patch.
Thanks,
-Zhengyu
More information about the jdk8u-dev
mailing list