RFR: 8337505: Footprint and startup regressions up to 20% in GUI apps
Phil Race
prr at openjdk.org
Fri Dec 6 04:57:41 UTC 2024
On Fri, 6 Dec 2024 04:25:23 GMT, Chen Liang <liach at openjdk.org> wrote:
> From the FFM API pov, we might be able to make the VarHandle lazy, that it contains symbolic information and is fully expanded upon first use, effectively the same as the laziness here. Don't know if this works for FFM, but this is how java lang invoke ones work if they have to initialize classes. If such laziness is implemented, we can always revisit the existing uses later. This patch is fine as long as there is no bad side effects.
So some day this patch may be obsolete ? So no reason to make it more complex.
Bad side effects ? I think that is improbable.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21748#issuecomment-2522127979
More information about the client-libs-dev
mailing list