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

Shenandoah: Rework control loop mechanics to use timed waits

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8-shenandoah, 11, 13, 15, 16, 17
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
      gc

      Description

      Current ShenandoahControlThread uses short sleeps to re-evaluate the ever-changing conditions that may trigger the cycle. This is very tedious and problematic when prompt response is needed. It can be done better with timed waits and explicit notifications.

      Work in progress:
        https://github.com/openjdk/jdk/compare/master...shipilev:JDK-8264851-shenandoah-control-timedwait

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: