[rvm-research] Regarding GC
Hari Krishnan <[email protected]>
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <CAMJ8-RqCWo-sraKTiQ-Qs=0+hdOyrDAraqrWhd3jGb70D7XVXg@mail.gmail.com> |
Hi,
I have a question. I just want to make if a scenario is possible to happen.
The scenario goes like this.
I have a cycle of linked list. All nodes have id from 1 to 50 and they are
arranged in order. There is a head pointer to a node with id 1. I am moving
this head pointer to node with id 6. Does all the intermediate nodes have
stack root pointing to them at the interim time during traversal?
for example
fun(head){
head = head->next->next->next->next->next;
.........
}
In this above snippet, do all of the intermediate nodes 2 through 5 has
stack root ("head") pointing to them briefly? or VM figure out and
calculate the address and move the root from node 1 to node 6 directly?
Cheers
Hari.
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers