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

Serial and ConcMarkSweep do not unload strings when class unloading is disabled

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b143

      Description

      When working on JDK-8114823 I realized that the different GCs handle unloading of strings differently. When fixing that issue I made sure that G1 and Parallel now works the same way. That is, strings are unloaded even if class unloading is disabled (-XX:-ClassUnloading).

      Running the test hotspot/test/runtime/interned/SanityTest.java with -XX:-ClassUnloading shows the issue with Serial and ConcMarkSweep.

        Attachments

          Activity

            People

            • Assignee:
              sjohanss Stefan Johansson
              Reporter:
              sjohanss Stefan Johansson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: