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

Wrong parameter name comment in G1Policy::revise_young_list_target_length

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: