[Vm-dev] Issues with the clock on V3

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Fri Sep 2 20:09:31 UTC 2016


Hi Laura,
it sounds like some LargeIntegers arithmetic is broken in v3...
The clock symptoms is just a side effect.

2016-09-02 21:23 GMT+02:00 Laura Perez Cerrato <lauraperezcerrato at gmail.com>
:

>
> Hello everyone,
>
> Lately, while working on the VM, I noticed that a few primitives related
> with the clock on V3 were returning incorrect values. Cloning the
> repository and building a Squeak Cog V3 VM produces a VM in which
> DateAndTime class>>#now answers a value closer than a day to the epoch in
> both Squeak 4.5 and the lastest version of Cuis. In the lastest version of
> Cuis, Time class>>#primLocalMicrosecondClock, Time
> class>>#primLocalSecondClock and Time class>>#primHighResClock return odd
> values. This problem is seen exclusively on V3 VMs as far as I can tell,
> independently of the interpreter.
>
> I wasn't capable of pinning down the reason for this strange behaviour. If
> anyone could give me a hand with that, I'd appreaciate it.
>
> Cheers!
>
> -Laura Perez Cerrato
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160902/47ad9806/attachment-0001.htm


More information about the Vm-dev mailing list