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

G1: Improve class unloading logging

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 22
    • hotspot
    • gc

      Recent investigation in long Remark pauses showed that a considerable part of the "Class Unloading" part is not logged, leading to logs like this:

      Class unloading part breakdown:
      [1384,331s][gc,phases ] GC(72) ClassLoaderData 53,370ms <--- clean CLDs/identify dead CLDs
      [1384,331s][gc,phases ] GC(72) Trigger cleanups 0,006ms
      [1384,557s][gc,phases ] GC(72) Complete Cleaning 225,582ms <--- clean code cache/identify dead nmethods
      [1391,343s][gc,phases ] GC(72) Class Unloading 7065,470ms

      I.e. out of the 7000ms of Class Unloading, only 270ms are actually accounted for in the logs.

      Improve upon that.

            tschatzl Thomas Schatzl
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: