RFR: 8169880: Remove the sun.reflect.noCaches option

Claes Redestad claes.redestad at oracle.com
Thu Nov 17 15:44:20 UTC 2016



On 2016-11-17 16:36, Aleksey Shipilev wrote:
> On 11/17/2016 04:33 PM, Claes Redestad wrote:
>> The undocumented sun.reflect.noCaches option was put in place as a
>> debugging aid when caching was added to core reflection[1], with the
>> intent to remove it once overly inefficient uses of reflection was
>> weeded out[2]. This appears to have been forgotten and should be
>> cleaned up.
>>
>> Webrev: http://cr.openjdk.java.net/~redestad/8169880/webrev.01/
>
> I did see this option used in performance tests during recent Reflection
> caching work, but has no problem with removing it, as it is addable on
> the spot.

OK, thanks for reviewing!

/Claes


More information about the core-libs-dev mailing list