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

G1: Lazily initialize OtherRegionsTable::_coarse_map

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 15
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b19

      Description

      Eagerly initializing the per-region OtherRegionsTable::_coarse_map CHeapBitMap contributes noticeably to startup overhead in configurations with a lot of heap regions. It's relatively easy to lazily initialize the bitmap. And since most places where the _coarse_map is checked are guarded by _n_coarse_entries > 0, making this lazy should have little performance impact on GC pause times.

        Attachments

          Activity

            People

            Assignee:
            redestad Claes Redestad
            Reporter:
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: