RFR: 8337505: Footprint and startup regressions up to 20% in GUI apps

Phil Race prr at openjdk.org
Fri Dec 6 02:54:40 UTC 2024


On Fri, 6 Dec 2024 02:17:01 GMT, Chen Liang <liach at openjdk.org> wrote:

> Are you sure all these var handles are rarely used (not on hot code path)? This current patch can slow down the use of these var handles by many times. If this is startup-only, we can probably just create the vh once, invoke it, and discard it, or look into FFM API and see if we have better one-time invocation solutions.

I don't know what you are thinking. Or perhaps you are overthinking it.
You invented the reference to "rarely". Discarding would be silly.
The FFM angle is understood by the Panama team.
The patch stands. I've not seen a single suggestion to change it that makes sense for the problem.

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

PR Comment: https://git.openjdk.org/jdk/pull/21748#issuecomment-2522011746


More information about the client-libs-dev mailing list