RFR(S): 8037340: Linux semaphores are associated with CLOCK_REALTIME and need relative to absolute time conversion utility
Markus Gr?nlund
markus.gronlund at oracle.com
Fri Mar 14 09:22:23 UTC 2014
Greetings,
Kindly asking for reviews for the following changeset:
8037340: Linux semaphores are associated with CLOCK_REALTIME and need relative to absolute time conversion utility
Webrev: http://cr.openjdk.java.net/~mgronlun/8037340/webrev01/
Bug: https://bugs.openjdk.java.net/browse/JDK-8037340
Previously, unpackTime() was used to calculate the absolute time value for passing to sem_timedwait() for waiting on a Semaphore.
UnpackTime() has been updated to be based on CLOCK_MONOTONIC which does not work for Semaphores, which are always associated with CLOCK_REALTIME.
http://linux.die.net/man/3/sem_timedwait
Thanks
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20140314/a02cc0e8/attachment.html>
More information about the hotspot-runtime-dev
mailing list