RFR: 8335480: Only deoptimize threads if needed when closing shared arena [v2]
Jorn Vernee
jvernee at openjdk.org
Mon Jul 15 10:52:53 UTC 2024
On Mon, 15 Jul 2024 09:02:29 GMT, Uwe Schindler <uschindler at openjdk.org> wrote:
> Of course we can do that in a separate thread (this is my idea how to improve the closes in lucene).
This is what I was thinking of as well. `close()` on a shared arena can be called by any thread, so it would be possible to have an executor service with 1-n threads that is dedicated to closing memory.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20158#issuecomment-2228215031
More information about the core-libs-dev
mailing list