RFR: 8330465: Stable Values and Collections (Internal) [v5]

Per Minborg pminborg at openjdk.org
Thu May 16 07:49:37 UTC 2024


On Wed, 15 May 2024 16:31:15 GMT, Chen Liang <liach at openjdk.org> 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


More information about the compiler-dev mailing list