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

Cleanup of Universe::initialize_heap()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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().

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

                Created:
                Updated:
                Resolved: