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

Phil Race prr at openjdk.org
Wed Nov 6 20:53:43 UTC 2024


On Wed, 6 Nov 2024 18:36:10 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

> Is `@Stable` usable here, if so you can annotate all these with it and there should be no runtime concern.

I don't know and don't see much precedent.
Outside of java.base, only the incubating vector module uses @Stable.
But I don't think it would help. The problem is the cost of initialisation itself. Later VM optimisations  don't matter.

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

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


More information about the client-libs-dev mailing list