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

[TESTBUG] Fix G1 redefineClasses tests and a memory leak

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      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

                • Assignee:
                  manc Man Cao
                  Reporter:
                  manc Man Cao
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: