JRockit 3.x, 7.0, 8.1 - Why is the JRockit thin thread sleep time not accurate?
Last updated on NOVEMBER 05, 2016
Applies to:Oracle JRockit / JRockit / 3.x, 7.0 , 8.1
Information in this document applies to any platform
When using thin threads, if the sleep period is specified as 10 milliseconds (Thread.sleep(10)) It is found that it actually sleeps for more than 50 milliseconds. If it is switched to native threads it gives more accurate behavior and it sleeps for the ~10 ms.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms