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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • gc
    • b143

      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.

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

              Created:
              Updated:
              Resolved: