Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8284811

Shrink critical section of JNICritical_lock

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 19
    • hotspot
    • gc

      `JNICritical_lock` is used in `jni_lock` and `jni_unlock` of `GCLocker` to coordinate accesses around `_needs_gc`. Other operations unrelated to `_needs_gc` can be moved outside the critial section.

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: