<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
The rootTable is used during incremental GC. Its contents are those
objects in old space that are roots for objects in new space (see
ObjectMemory>>beRootIfOld:). It has nothing to do with the
(global) roots of the interpreter; in fact the root table is cleared
right at the beginning of fullGC (see senders of #clearRootsTable).
The global roots are explicitly enumerated in
Interpreter>>markAndTraceInterpreterOops.<br>
<br>
Cheers,<br>
- Andreas<br>
<br>
On 9/26/2011 11:12, Mariano Martinez Peck wrote:
<blockquote
cite="mid:CAA+-=mW07T=fcDq_0AL4mmXNtShY4B9-3hj0vt4v_twG9DiLxg@mail.gmail.com"
type="cite">
<pre wrap=""> </pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
Hi guys. I usually thought that the root table of the GC was the
#specialObjectsArray. Now, checking a little bit the VM and image
side, it seems I am totally wrong. <br clear="all">
<br>
"Smalltalk rootTable" answers an array that I cannot understand
how such array can be the root. Where are the references to all
the system from such an array? there is no reference to
specialObjectsArray for example.<br>
Even more, the table seems to be full of weird stuff, such as "an
OController", a lot of "a Text" instances about my workspaces
stuff, Colors, Morhpic, etc....<br>
<br>
Smalltalk isRoot: Smalltalk specialObjectsArray -> false<br>
Smalltalk isRoot: true -> false<br>
Smalltalk isRoot: false -> false<br>
Smalltalk isRoot: nil -> false<br>
<br>
so...I am lost.<br>
<br>
Thanks in advance for any help.<br>
<br>
-- <br>
Mariano<br>
<a moz-do-not-send="true" href="http://marianopeck.wordpress.com"
target="_blank">http://marianopeck.wordpress.com</a><br>
<br>
</blockquote>
</body>
</html>