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

G1 Class Unloading after completing a concurrent mark cycle

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b24

      Backports

        Description

        Currently G1 treats all classes as live except for during full gcs.

        Modify the concurrent marking code to keep track of liveness of classes in order to be able to unload unreachable classes at the remark pause.
        This involves reusing the infrastructure used by CMS to follow the object headers to find live classes.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stefank Stefan Karlsson
                  Reporter:
                  stefank Stefan Karlsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: