Eliot Miranda uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-eem.471.mcz ==================== Summary ==================== Name: System-eem.471 Author: eem Time: 15 March 2012, 1:11:08.024 pm UUID: 384fa590-b83d-4a4a-8fff-0a658352afda Ancestors: System-edc.470 Update vmParameterAt: comment to mention Cog options. =============== Diff against System-edc.470 =============== Item was changed: + ----- Method: SmalltalkImage>>vmParameterAt: (in category 'system attributes') ----- - ----- Method: SmalltalkImage>>vmParameterAt: (in category 'vm parameters') ----- vmParameterAt: parameterIndex "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; nil in Cog VMs) + 5 allocations between GCs (read-write; nil in Cog VMs) - 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 whichto shrink object memory (read-write) + 25 memory headroom when growing object memory (read-write) + 26 interruptChecksEveryNms - force an ioProcessEvents every N milliseconds (read-write) - - 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 BytesPerWord for this image + 41 imageFormatVersion for the VM + 42 number of stack pages in use (Cog Stack VM only, otherwise nil) + 43 desired number of stack pages (stored in image file header, max 65535; Cog VMs only, otherwise nil) + 44 size of eden, in bytes (Cog VMs only, otherwise nil) + 45 desired size of eden, in bytes (stored in image file header; Cog VMs only, otherwise nil) + 46 size of machine code zone, in bytes (stored in image file header; Cog JIT VM only, otherwise nil) + 47 desired size of machine code zone, in bytes (applies at startup only, stored in image file header; Cog JIT VM only) + 48 various properties of the Cog VM as an integer encoding an array of bit flags. + Bit 0: implies the image's Process class has threadId as its 3rd inst var (zero relative) + 49-55 reserved for VM parameters that persist in the image (such as eden above) + 56 number of process switches since startup (read-only) + 57 number of ioProcessEvents calls since startup (read-only) + 58 number of ForceInterruptCheck (Cog VMs) or quickCheckInterruptCalls (non-Cog VMs) calls since startup (read-only) + 59 number of check event calls since startup (read-only) + 60 number of stack page overflows since startup (read-only; Cog VMs only) + 61 number of stack page divorces since startup (read-only; Cog VMs only)" - 40 VM word size - 4 or 8 (read-only)" <primitive: 254> self primitiveFailed! |
Free forum by Nabble | Edit this page |