RFR: 8175318: Performance issue regarding local JNI references

Aleksey Shipilev shade at redhat.com
Wed Jul 19 08:11:50 UTC 2017


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
  bool is_clear() { return _top == 0; }

Thanks,
-Aleksey



More information about the hotspot-runtime-dev mailing list