RFR: 8230768: Arrays of SoftReferences in MethodTypeForm should not be @Stable

Claes Redestad claes.redestad at oracle.com
Wed Sep 18 18:32:51 UTC 2019


Thanks, Mandy!

/Claes

Mandy Chung <mandy.chung at oracle.com> skrev: (18 september 2019 11:09:25 GMT-07:00)
>Looks fine to me.
>
>Mandy
>
>On 9/18/19 11:05 AM, Claes Redestad wrote:
>> Hi,
>>
>> please review this patch to remove @Stable from two arrays in
>> MethodTypeForm. These were marked as @Stable in an earlier
>> incarnation of the code when the contents was not SoftReference,
>> but @Stable does not make sense for SoftReferences and might even
>> be detrimental.
>>
>> I also did some incidental cleanup of the code.
>>
>> Bug:    https://bugs.openjdk.java.net/browse/JDK-8230768
>> Webrev: http://cr.openjdk.java.net/~redestad/8230768/jdk.00/
>>
>> Thanks!
>>
>> /Claes

-- 
Skickat från min Android-enhet med K-9 Mail. Ursäkta min fåordighet.


More information about the core-libs-dev mailing list