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

Serial: Move class unloading logic inside SerialFullGC::invoke_at_safepoint

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • None
    • hotspot
    • gc
    • b10

      Some calls involving `ClassUnloadingContext` and `ClassLoaderDataGraph` are issued by the caller of `SerialFullGC::invoke_at_safepoint`, but most class unloading work is performed inside `invoke_at_safepoint`. Try to group those related logic together.

      Note: Serial full-gc still accesses klasses of dead-objs after phase1 marking, because there is no bitmap for liveness of objs. Therefore, it's invalid to do group all classunloading logic like what is done in JDK-8361404.

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: