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

JNI Handle leak in java_lang_String::create_from_platform_dependent_str()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 7
    • hotspot
    • generic
    • generic

      java_lang_String::create_from_platform_dependent_str() returns a Handle, but leaves a JNIHandle active.

      This creates as a leak of String objects, and if the caller makes no suitable JNI transition the objects can never be collected.

            kevinw Kevin Walls
            kevinw Kevin Walls
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: