shellac has quit [Quit: Computer has gone to sleep.]
lucasb has quit [Quit: Connection closed for inactivity]
_whitelogger has quit [Ping timeout: 250 seconds]
_whitelogger has joined #jruby
Puffball has quit [Remote host closed the connection]
shellac has joined #jruby
_whitelogger has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
<kares>
jmalves: please do, did not realize that - kind of makes sense. thanks
<kares>
jmalves: so the only problem is time sync than, right?
<kares>
wonder how much of an issue that is using curTimeMillis for elapsed time with thread sleep/joins
<jmalves>
kares: Not sure if it is the only problem, but the fact that currTimeMillis is not guaranteed to be monotonically increasing make it not very suitable for time deltas.
<jmalves>
But I am not very much into the root of the problem you are trying to solve, might be that it is indeed fine
<kares>
the problem is that I'd like to be able to have accurate time (running ntp) on a system with a long running JVM process
<kares>
so the idea was to have the sleep/join primitives in JRuby's threading impl right
<jmalves>
Is this related to `[refactor] should not use REALTIME for elapsed time #5546`? Its quite the quirky problem!
Puffball has joined #jruby
<kares>
yes, that would be the first part - simply replace curTimeMillis
<kares>
do some tuning later to avoid java.lang.Thread's join (does curTimeMillis) since JRuby does its own time pausing anyway
<kares>
would like to be sure whether its worth pursuing ...
<kares>
> people would pause a virtualized OS and restart and then get weird timing errors
<kares>
compromise would be to allow switching with an --option, thought its not worth having curTimeMillis around