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

[GenShen] ShenandoahEvacuationStats is always empty

XMLWordPrintable

    • gc

      With release build (original description: debug build. See Rui's comment on 09/15/2025) and gc log turned on (-Xlog:gc*), ShenandoahEvacuationStats prints out how many objects and the size garbage the gc has already collected by far, as well as how many objects and the size of objects mutators have changed. However, it seems both of them are always empty. Sample log:

      [359.077s][info][gc,stats ] Workers:
      [359.077s][info][gc,stats ] Young: Evacuated 0B across 0 objects, abandoned 0B across 0 objects.
      [359.077s][info][gc,stats ] Promotion: Evacuated 0B across 0 objects, abandoned 0B across 0 objects.
      [359.077s][info][gc,stats ] Old: Evacuated 0B across 0 objects, abandoned 0B across 0 objects.
      [359.077s][info][gc,stats ]
      [359.077s][info][gc,stats ] Mutators:
      [359.078s][info][gc,stats ] Young: Evacuated 0B across 0 objects, abandoned 0B across 0 objects.
      [359.078s][info][gc,stats ] Promotion: Evacuated 0B across 0 objects, abandoned 0B across 0 objects.
      [359.078s][info][gc,stats ] Old: Evacuated 0B across 0 objects, abandoned 0B across 0 objects.

            Unassigned Unassigned
            ruili Rui Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: