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

Use of during_initial_mark_pause() in G1CollectorPolicy::record_collection_pause_end() prevents use of seperate object copy time prediction during marking

    XMLWordPrintable

Details

    • gc
    • b26

    Backports

      Description

        In G1CollectorPolicy::record_collection_pause_end() the call to record_concurrent_mark_init_end(0.0) will always set the flag _during_initial_mark_pause to false. A few lines further down in G1CollectorPolicy::record_collection_pause_end() there is an if statement:

          if (during_initial_mark_pause())

        The 'then' branch of this if statement will never be taken if we called record_concurrent_mark_init_end.

        Attachments

          Issue Links

            Activity

              People

                tschatzl Thomas Schatzl
                tschatzl Thomas Schatzl
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: