tim at rowledge.org
Tue Jun 7 03:13:01 UTC 2005
In message <42A50930.6090900 at gmx.de>
Andreas Raab <andreas.raab at gmx.de> wrote:
> > Done and committed as SVN #1212 to go with MMaker-tpr.33.mcz New
> > level 7 introduced. Hope it all works for everyone.
> Thanks! We'll find out soon enough if it breaks ;-)
It did. Why are my fingers incapable of typing what my brain says to them? SVN
#1214 compiles on RISC OS. http://www.rowledge.
org/tim/squeak/SqFiles/packages/VMMaker/VMMaker-tpr.34.mcz should get you the
package. Seems to rn ok for me, performance appears reasonable etc. You do need
to load the attached cs before VMMaker, it needs to get to update stream asap.
Tim Rowledge, tim at rowledge.org, http://www.rowledge.org/tim
Strange OpCodes: WFL: Wave FLag
-------------- next part --------------
'From Squeak3.8gamma of ''24 November 2004'' [latest update: #6599] on 27 April 2005 at 11:08:01 am'!
"Change Set: VMM38-64bit-imageUpdates
Author: tim at rowledge.org, derived from original by ian.piumarta at squeakland.org and johnmci at smalltalkconsultants.com
Changes relative to 3.8g-6548 that add some initial 64-bit support to the image. Needs to go into the update stream asap"!
!SmalltalkImage methodsFor: 'vm parameters' stamp: 'tpr 4/27/2005 11:03'!
"parameterIndex is a positive integer corresponding to one of the VM's internal
parameter/metric registers. Answer with the current value of that register.
Fail if parameterIndex has no corresponding register.
VM parameters are numbered as follows:
1 end of old-space (0-based, read-only)
2 end of young-space (read-only)
3 end of memory (read-only)
4 allocationCount (read-only)
5 allocations between GCs (read-write)
6 survivor count tenuring threshold (read-write)
7 full GCs since startup (read-only)
8 total milliseconds in full GCs since startup (read-only)
9 incremental GCs since startup (read-only)
10 total milliseconds in incremental GCs since startup (read-only)
11 tenures of surving objects since startup (read-only)
12-20 specific to the translating VM
21 root table size (read-only)
22 root table overflows since startup (read-only)
23 bytes of extra memory to reserve for VM buffers, plugins, etc.
24 memory threshold above which shrinking object memory (rw)
25 memory headroom when growing object memory (rw)
26 interruptChecksEveryNms - force an ioProcessEvents every N milliseconds, in case the image is not calling getNextEvent often (rw)
27 number of times mark loop iterated for current IGC/FGC (read-only) includes ALL marking
28 number of times sweep loop iterated for current IGC/FGC (read-only)
29 number of times make forward loop iterated for current IGC/FGC (read-only)
30 number of times compact move loop iterated for current IGC/FGC (read-only)
31 number of grow memory requests (read-only)
32 number of shrink memory requests (read-only)
33 number of root table entries used for current IGC/FGC (read-only)
34 number of allocations done before current IGC/FGC (read-only)
35 number of survivor objects after current IGC/FGC (read-only)
36 millisecond clock when current IGC/FGC completed (read-only)
37 number of marked objects for Roots of the world, not including Root Table entries for current IGC/FGC (read-only)
38 milliseconds taken by current IGC (read-only)
39 Number of finalization signals for Weak Objects pending when current IGC/FGC completed (read-only)
40 VM word size - 4 or 8 (read-only)"
self primitiveFailed! !
!SystemDictionary methodsFor: 'sources, change log' stamp: 'JMM 4/13/2005 20:35'!
"Answer the size (in bytes) of an object pointer."
^[SmalltalkImage current vmParameterAt: 40] on: Error do: ! !
!SystemDictionary methodsFor: 'deprecated' stamp: 'tpr 4/27/2005 11:04'!
"See comment for SmalltalkImage>vmParameterAt:"
^ self deprecated: 'Use SmalltalkImage current vmParameterAt:'
block: [SmalltalkImage current vmParameterAt: parameterIndex]
More information about the Vm-dev