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

G1: Refactor G1AllocRegion

    XMLWordPrintable

Details

    • gc

    Description

      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)`.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: