RFR: 8337505: Footprint and startup regressions up to 20% in GUI apps
Phil Race
prr at openjdk.org
Thu Dec 5 23:56:38 UTC 2024
On Mon, 28 Oct 2024 21:26:38 GMT, Phil Race <prr at openjdk.org> wrote:
> https://bugs.openjdk.org/browse/JDK-8338677 already improved things for this so that's good.
>
> This fix adds to it lazy initialisation of VarHandles in StrikeCache at the cost of some extra code.
> Since these VarHandles get used more or less immediately on Linux this new fix won't further improve matters there
> But should help on Mac where they aren't usually needed at startup
> And Windows is somewhere in between.
A dependency on the internals of the base module is another reason not to do this.
And as I have already said runtime performance is a complete non-issue here.
This is about startup (not even warm-up, just startup). There's absolutely no (good) reason to worry about runtime here.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21748#issuecomment-2521748701
More information about the client-libs-dev
mailing list