G1 possibly reinitializes G1HeapRegion superfluously during humongous allocation

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 23
    • Component/s: 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.

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

              Created:
              Updated: