On Thu, 6 Jul 2023 13:27:15 GMT, Roger Riggs wrote:
>> `WeakReferenceKey::equals` and `SoftReferenceKey::equals`:
>>
>> Instead of `return Objects.equals(get(), obj);`, suggest to do:
>>
>>
>> return refersTo(obj);
>
>> @mlchung Not sure I catch the nuance. `refersTo` doesn't work if the s
On Thu, 6 Jul 2023 13:27:15 GMT, Roger Riggs wrote:
>> `WeakReferenceKey::equals` and `SoftReferenceKey::equals`:
>>
>> Instead of `return Objects.equals(get(), obj);`, suggest to do:
>>
>>
>> return refersTo(obj);
>
>> @mlchung Not sure I catch the nuance. `refersTo` doesn't work if the s
On Wed, 5 Jul 2023 19:33:28 GMT, Mandy Chung wrote:
>> Jim Laskey has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Update to use VirtualThread friendly stale queue.
>
> `WeakReferenceKey::equals` and `SoftReferenceKey::equals`:
>
> Inste
On Wed, 5 Jul 2023 19:33:28 GMT, Mandy Chung wrote:
>> Jim Laskey has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Update to use VirtualThread friendly stale queue.
>
> `WeakReferenceKey::equals` and `SoftReferenceKey::equals`:
>
> Inste
On Tue, 4 Jul 2023 12:55:22 GMT, Jim Laskey wrote:
>> java.lang.runtime.ReferencedKeyMap was introduced to provide a concurrent
>> caching scheme for Carrier objects. The technique used is generally useful
>> for a variety of caching schemes and is being moved to be shared in other
>> parts of
On Tue, 4 Jul 2023 12:55:22 GMT, Jim Laskey wrote:
>> java.lang.runtime.ReferencedKeyMap was introduced to provide a concurrent
>> caching scheme for Carrier objects. The technique used is generally useful
>> for a variety of caching schemes and is being moved to be shared in other
>> parts of
> java.lang.runtime.ReferencedKeyMap was introduced to provide a concurrent
> caching scheme for Carrier objects. The technique used is generally useful
> for a variety of caching schemes and is being moved to be shared in other
> parts of the jdk. The MethodType interning case is one example.
On Fri, 30 Jun 2023 17:29:20 GMT, Mandy Chung wrote:
>> Jim Laskey has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Update to use VirtualThread friendly stale queue.
>
> src/java.base/share/classes/java/lang/invoke/MethodType.java line 89