[squeak-dev] The Inbox: System-dtl.1118.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Mon Nov 11 10:39:18 UTC 2019


Hi Dave.

> ...This may happen if...

That would be a nice in-method comment. :-)

Best,
Marcel
Am 09.11.2019 20:13:19 schrieb commits at source.squeak.org <commits at source.squeak.org>:
David T. Lewis uploaded a new version of System to project The Inbox:
http://source.squeak.org/inbox/System-dtl.1118.mcz

==================== Summary ====================

Name: System-dtl.1118
Author: dtl
Time: 9 November 2019, 2:13:04.993358 pm
UUID: 49b4ee31-b57f-4132-8cda-e13c2414f861
Ancestors: System-mt.1117

When reporting VM parameters, enable formatting in the case of a parameter value that is represented as a Float rather than an Integer. This may happen if a VM parameter is defined in units of milliseconds but internally measured to microsecond precision by the VM, in which case the value may be returned as a Float in order to retain full precision. SmalltalkImage>>formatVMParameter: handles the formatting for integer and non-integer values.

=============== Diff against System-mt.1117 ===============

Item was added:
+ ----- Method: SmalltalkImage>>formatVMParameter: (in category 'vm statistics') -----
+ formatVMParameter: aNumber
+
+ aNumber isFloat ifTrue: [
+ aNumber
+ ifTrue: [^ aNumber printShowingMaxDecimalPlaces: 5 ]
+ ifFalse: [^ aNumber rounded asStringWithCommas]].
+ ^ aNumber asInteger asStringWithCommas.!

Item was changed:
----- Method: SmalltalkImage>>vmStatisticsReportOn: (in category 'vm statistics') -----
(excessive size, no diff calculated)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191111/555d8221/attachment.html>


More information about the Squeak-dev mailing list