Migration Guide : Migrating from Version 11.0.1 : On Linux, glibc function ftime() usage in VM has been removed
On Linux, glibc function ftime() usage in VM has been removed
The virtual machine primitive VMprTimeClassMillisecondClockValue calls to ftime() have been replaced by calls to clock_gettime().
Reason for change
The Smalltalk expression Time millisecondClockValue, which uses the Virtual machine primitive VMprTimeClassMillisecondClockValue, has been returning different answers on Linux and Windows platforms. Upon research, it was determined that ftime() has been removed from glibc starting with version 2.33. Thus, all calls to ftime() in the VM have been replaced with clock_gettime(). With this change Time millisecondClockValue answers a more accurate value.
Action required
None in general, unless your code somehow relies on or have workarounds to non-accurate millisecondClockValue answered in previous versions of the product.
Last modified date: 01/14/2023