RFR: 8175318: Performance issue regarding local JNI references
James Laskey
james.laskey at oracle.com
Wed Jul 19 10:00:01 UTC 2017
Sent from my iPhone
> On Jul 19, 2017, at 5:11 AM, Aleksey Shipilev <shade at redhat.com> wrote:
>
> Hi Kim,
>
>> On 07/19/2017 01:39 AM, Kim Barrett wrote:
>> Webrev:
>> http://cr.openjdk.java.net/~kbarrett/8175318/hotspot.00/
>
> This makes sense to me.
>
> Do you want to introduce a utility method that clearly captures "top == 0", and
> pair it with "clear()"? E.g.:
>
> void clear() { _top == 0: } // already have one
void clear() { _top = 0; } // already have one
> bool is_clear() { return _top == 0; }
>
> Thanks,
> -Aleksey
>
More information about the hotspot-runtime-dev
mailing list