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

[TESTBUG] Fix G1 redefineClasses tests and a memory leak

    XMLWordPrintable

Details

    • gc
    • b11

    Backports

      Description

        My colleague Ian Rogers found a few JNI memory leaks in this test. Several calls to JNIEnv::Get*() should be paired with calls to JNIEnv::Release*().

        During review, we found that several affected tests were not properly configured, so makeRedefinition0() never runs. These tests will be fixed in the same change.

        Attachments

          Issue Links

            Activity

              People

                manc Man Cao
                manc Man Cao
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: