On Wed, 6 Nov 2024 18:36:10 GMT, Quan Anh Mai <[email protected]> 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

Reply via email to