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

Improve concurrent mark thread synchronization on startup

    XMLWordPrintable

    Details

    • Subcomponent:
      gc

      Description

      In JDK-8136854 we found that the current code to synchronize the concurrent mark thread with the main thread during initialization uses a polling loop with a (previously) large delay.

      In very short running applications (microbenchmarks) this caused very slow startup of G1. In JDK-8136854 this problem has been resolved by decreasing this delay significantly.

      However it would likely be much better to use a notify/wait scheme for this to avoid any kind of polling loop, which seems a much "nicer" solution.

      This CR is to prototype this and evaluate it against the current solution.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sangheki Sangheon Kim
              Reporter:
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: