On Fri, 28 Jun 2024 09:33:41 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:

> > FWIW, there are more `@Stable` uses here: #19906
> > if you would have a moment to check that, it may be helpful. Thanks.
> 
> That one looks fine: it is set outside of constructor, is intrinsically racy, 
> and it has AFAICS the recovery paths when we read `null` out of 
> `MappedEnumCache.generatedSwitch` or `MappedEnumCache.constantsMap`.

Thanks Aleksey!

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

PR Comment: https://git.openjdk.org/jdk/pull/19933#issuecomment-2197287772

Reply via email to