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

G1: Refactor G1AllocRegion

XMLWordPrintable

    • gc
    • b05

      G1 G1AllocRegion maintains a _used_bytes_before which is only used by the G1GCAllocRegion child class. Move _used_bytes_before out of base class.

      Also remove unnecessary wrapper methods such as `HeapWord* allocate(HeapRegion* alloc_region, size_t word_size)`.

            iwalulya Ivan Walulya
            iwalulya Ivan Walulya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: