RFR: 8170595: Optimize Class.isAnonymousClass
Claes Redestad
claes.redestad at oracle.com
Thu Dec 1 21:25:25 UTC 2016
On 12/01/2016 10:21 AM, Mandy Chung wrote:
>> On Dec 1, 2016, at 9:52 AM, Claes Redestad <claes.redestad at oracle.com> wrote:
>>
>> Hi,
>>
>> good suggestion, this tidies up a bit while not affecting score:
>>
>> http://cr.openjdk.java.net/~redestad/8170595/webrev.02
> I like this better. It may be useful to add a private isTopLevel Class() for getSimpleBinaryName to call that will benefit getSimpleName and isMemberClass?
Good idea, but this seems like an independent optimization we should do
as a separate follow-up, no?
/Claes
>
> Mandy
More information about the core-libs-dev
mailing list