<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Georgia">once upon a time:</font></p>
<p><font face="Georgia">vmParameterAt: parameterIndex<br>
"parameterIndex is a positive integer corresponding to one
of the VM's internal<br>
parameter/metric registers. Answer with the current value
of that register.<br>
Fail if parameterIndex has no corresponding register.<br>
VM parameters are numbered as follows:<br>
1 end of old-space (0-based, read-only)<br>
2 end of young-space (read-only)<br>
3 end of memory (read-only)<br>
4 allocationCount (read-only)<br>
<b>5 allocations between GCs (read-write)</b><br>
6 survivor count tenuring threshold (read-write)<br>
7 full GCs since startup (read-only)<br>
8 total milliseconds in full GCs since startup
(read-only)<br>
9 incremental GCs since startup (read-only)<br>
10 total milliseconds in incremental GCs since
startup (read-only)<br>
11 tenures of surving objects since startup
(read-only)<br>
12-20 specific to the translating VM<br>
21 root table size (read-only)<br>
22 root table overflows since startup (read-only)<br>
23 bytes of extra memory to reserve for VM buffers,
plugins, etc.<br>
<br>
24 memory headroom when growing object memory (rw)<br>
25 memory threshold above which shrinking object
memory (rw)"<br>
</font><br>
</p>
<br>
<div class="moz-cite-prefix">On 4/24/17 11:59 AM, H. Hirzel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGQxfVhQJTfxainw44mxPRBwt43PD7ZFqNEeJqgXM9q2g2zNbw@mail.gmail.com">
<pre wrap="">What is / was
vmParamterAt: 5 put: xxxx
used for?
On 4/24/17, Bert Freudenberg <a class="moz-txt-link-rfc2396E" href="mailto:bert@freudenbergs.de"><bert@freudenbergs.de></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">We should probably just remove these lines.
- Bert -
On Mon, Apr 24, 2017 at 4:15 PM, Chris Cunningham <a class="moz-txt-link-rfc2396E" href="mailto:cunningham.cb@gmail.com"><cunningham.cb@gmail.com></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello,
I am using a new 64bit vm on Windows (Stack Spur Apr 12 2017) with a
mostly up to date trunk image (last update: #17172), and when trying to
open the Objects morph (to pull in objects for Morphic), I get an error
in
KedemaMorph:
calcTurtlesCount
turtleCount := 0.
turtlesDict do: [:a | turtleCount := turtleCount + a size].
Smalltalk vmParameterAt: 5 put: ((turtleCount * 3) min: 16000 max: 4000).
Smalltalk vmParameterAt: 6 put: ((turtleCount * 6) min: 32000 max: 8000).
The vmParamterAt: 5 put: xxxx (4000 in my case), gets a primitive
failure.
Thanks,
cbc
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>