G1CollectorPolicy::_max_survivor_regions should be intialized in the initializer list

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • gc
    • b89

        The field G1CollectorPolicy::_max_survivor_regions should be intialized in the initializer list. The comment stating:
        // _max_survivor_regions will be calculated by
        // update_young_list_target_length() during initialization.

        should be removed since it is wrong.

              Assignee:
              Erik Helin
              Reporter:
              Erik Helin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: