[rvm-research] How does the large object space work?
Nathan Ricci <[email protected]>
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <CALh3YaPhb+MXnybA52ookfFiYh0tpjx9yWeetuTizVMYMNcDWg@mail.gmail.com> |
Hello all,
I'm trying to modify the LargeObjectSpace so that some (user
selected) objects will always be treated as marked.
From looking at the code, I'm not sure I have a complete
understanding of how the LargeObjectSpace actually works. It seems like, as
the collector traverse, object references are copied from one list to
another. Then, after traversing all the live objects, any remaining objects
in the from list are released during the RELEASE phase.
So, if I want to ensure my user selected objects are not released, I
need only ensure that they (their addresses) are always added to the to the
closure of live objects is complete.
Am I missing anything here? I see lots of mention of a "nursery" in
the code, but I'm not sure what is being referred to (not the nursery in a
generational garbage collector?).
Thanks for any help,
Nathan Ricci
Tufts University
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers