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

Need better granularity for sleeping

XMLWordPrintable

    • b02

        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.

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

                Created:
                Updated:
                Resolved: