• Type: Sub-task
    • Resolution: Fixed
    • Priority: P4
    • 18
    • Affects Version/s: 18
    • Component/s: hotspot
    • b17

      When -XX:+UseSerialGC is enabled, load the CDS archived heap objects into SerialHeap::old_gen() during VM bootstrap. This improves VM start-up time, mostly because the module graph can be loaded from the archive.

      $ perf stat -r 40 java -XX:+UseSerialGC -version

      Before: 0.042484507 seconds time elapsed ( +- 0.72% )
      After: 0.031671000 seconds time elapsed ( +- 0.72% )



       

            Assignee:
            Ioi Lam
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: