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

commits at source.squeak.org commits at source.squeak.org
Sat Nov 9 19:13:09 UTC 2019


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 < 1000
+ 			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)



More information about the Squeak-dev mailing list