Serial: Move class unloading logic inside SerialFullGC::invoke_at_safepoint

XMLWordPrintable

    • 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.

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

              Created:
              Updated:
              Resolved: