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

Need better granularity for sleeping

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b02

      Backports

        Description

        naked_short_sleep is to coarse grained on contemporary hardware/os:es.
        1 ms as minimum when we can complete an entire safe-point in 0.5 ms is a very long time.
        Sleeping a very short time instead yielding have several uses-cases.

        I will first add it SpinYield to get much smother back-off delay curve.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rehn Robbin Ehn
                Reporter:
                rehn Robbin Ehn
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: