[PATCH] disable monotonic clock if condattr_setclock(CLOCK_MONOTONIC) does not work (original) (raw)
Gleb Natapov gleb at cloudius-systems.com
Fri Jan 17 06:34:10 UTC 2014
- Previous message (by thread): [PATCH] disable monotonic clock if condattr_setclock(CLOCK_MONOTONIC) does not work
- Next message (by thread): JDK7 Minor GC pause as compared to JDK6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Jan 16, 2014 at 11:55:51PM +0100, Bernd Eckenfels wrote:
Hello Gleb,
I think you posted that to the wrong mailinglist (hotspot-gc-dev is about memory subsystem and garbage collection only). So you might want to submit it to somewhere else (maybe even open a bug?). Ugh, you are right of course. I am mainly interested in GC so that is the only list I am subscribed to and I mindlessly sent the patch here.
Anyway, your patch is interesting, do you know under which conditions the EINVAL for the monotonic timer would happen? Not on normal Linux AFAIK, but I encountered in on OSv (http://www.osv.io/) which has its own posix emulation layer that emulates monotonic clock but not yet condattr_setclock(CLOCK_MONOTONIC). The later will be emulated too eventually, but there is no harm in fixing JVM.
-- Gleb.
- Previous message (by thread): [PATCH] disable monotonic clock if condattr_setclock(CLOCK_MONOTONIC) does not work
- Next message (by thread): JDK7 Minor GC pause as compared to JDK6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]