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

-Xcheck:jni should check for JNI calls made in critical regions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.2
    • hotspot
    • None
    • generic
    • generic

      -Xcheck:jni should check for threads making JNI calls made in critical regions.
      A critical region for this purpose occurs when a thread has made one or
      more calls to GetStringCritical or GetPrimitiveArrayCritical without yet
      having made the matching Release call.

      Violating this rule can cause deadlock. Garbage collection may be blocked
      in the critical region, and any attempt to allocate java objects in the
      critical region might require garbage collectio in order to complete.

            foliversunw Fred Oliver (Inactive)
            foliversunw Fred Oliver (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: