On Wed, 15 May 2024 16:31:15 GMT, Chen Liang <[email protected]> wrote:
>> Per Minborg has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Switch to monomorphic StableValue and use lazy arrays
>
> src/java.base/share/classes/jdk/internal/lang/stable/StableValueImpl.java
> line 256:
>
>> 254:
>> 255: @ForceInline
>> 256: private <K> V computeIfUnsetShared(Object provider, K key) {
>
> Can we let suppliers share this path too, with a null key? I see this path
> supports suppliers but supplier code path doesn't call this path.
Good suggestion!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18794#discussion_r1602787248