RFR: 8335480: Only deoptimize threads if needed when closing shared arena [v2]

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Jul 15 09:14:53 UTC 2024


On Mon, 15 Jul 2024 09:02:29 GMT, Uwe Schindler <uschindler at openjdk.org> wrote:

> One only closing arenas, another set that consumes scoped memory and a third group doing totally unrelated stuff.

Exactly. My general feeling is that the cost of handshaking a thread dominates everything else, so doing improvements around e.g. avoiding unnecessary deoptimization (as in this PR) is not going to help much, even for threads doing unrelated stuff, but I'd be happy to be proven wrong.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20158#issuecomment-2228035799


More information about the core-libs-dev mailing list