Cleanup of Universe::initialize_heap()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • gc
    • b64
    • generic
    • generic

        Universe::initialize_heap() is kind of messy as it contains lots of #if INCLUDE_ALL_GCS, this code can be made more readable. Also, all collectors except ParallelScavenge to take their CollectorPolicy as an argument to the constructor. Aligning ParallelScavenge to also do this would further improve the readability of initialize_heap().

              Assignee:
              Per Liden (Inactive)
              Reporter:
              Per Liden (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: