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

G1 possibly reinitializes G1HeapRegion superfluously during humongous allocation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 23
    • hotspot
    • gc

      During humongous object allocation, the code calls G1CollectedHeap::hr_clear() for every region covered by the humongous object.

      This seems superfluous since all regions used for humongous allocations are Free regions that have been cleared before during free_region() or initial initialization of the G1HeapRegion.

      This has come up during review of JDK-8330577.

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

              Created:
              Updated: