RFR (S) CR 8016236: Class.getGenericInterfaces performance improvement

Aleksey Shipilev aleksey.shipilev at oracle.com
Tue Jun 11 11:32:33 UTC 2013

On 06/11/2013 03:27 PM, Peter Levart wrote:
>> The new webrev is here: 
>> http://cr.openjdk.java.net/~shade/8016236/webrev.02/
> That's good now.


> I just wonder if renaming of native getGenericSignature ->
> getGenericSignature0 is still needed now that there's no 
> getGenericSignature non-native method in Class. Every native method 
> ending with '0' has a non-native counterpart with same name (just
> '0' stripped).

I do think that marking the native methods with the suffixes is a good
thing, easing the future change in the internal APIs (e.g. introducing
non-native getGenericSignature). I can revert this if anybody else
thinks otherwise.


More information about the core-libs-dev mailing list