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

Wrong parameter name comment in G1Policy::revise_young_list_target_length

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P4 P4
    • tbd
    • 21
    • hotspot
    • gc

      G1Policy::revise_young_list_target_length calls update_young_length_bounds, which has a bool third argument. The comment in that call indicating the parameter name is incorrect - it's "need_one_eden_region bug" should be "after_gc". The parameter name was changed during review of JDK-8297186, and this call was not updated.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: