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

Obsolete JNIDetachReleasesMonitors

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b59
    • Introduced In Version:
      6
    • Resolved In Build:
      b94

      Description

      The JNIDetachReleasesMonitors flag was added to JDK 6 when it was realized that the VM was not compliant with the JNI specification regarding the release of monitors when a JNI attached thread detached - see JDK-6336479. The flag allowed for restoration of the incorrect behaviour if an application was somehow relying on it.

      By now all applications should themselves be JNI-spec compliant and this workaround should not be needed, so we can obsolete the JNIDetachReleasesMonitors flag in JDK 9 (accept it but take no action) and expire (remove) it in JDK 10.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dholmes David Holmes
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: