« Return to Thread: [rvm-research] Trace mature objects without interfering gc

Re: [rvm-research] Trace mature objects without interfering gc

by Daniel Frampton :: Rate this Message:

Reply to Author | View in Thread

First, I am assuming by your question that you are seeing a difference between before and after GC.
 
Yes, objects are the number of unique objects encountered during a trace.
 
The discrepancy you see is probably because of finalizable objects. There will often be a rise in visited objects over a GC due to the number of objects that are made strongly reachable by finalizable processing.
 
Cheers,
Daniel.

On Thu, Jun 25, 2009 at 4:09 PM, Dingwen Yuan <pdvyuan@...> wrote:
Hi Daniel,

Thanks. But why could the "objects" be different before and after a GC? Does "object" mean the number of living objects in the heap?

cheers,

Dingwen

2009/6/25 Daniel Frampton <zyridium@...>

The sanity checker runs before and after collection, performing complete transitive closures over the heap without changing any data (it stores all the required information in a hashtable).
 
Cheers,
Daniel.

On Thu, Jun 25, 2009 at 5:31 AM, Dingwen Yuan <pdvyuan@...> wrote:
Hello Chris,

Thank you for your suggestion.

To those who may know about sanity checker,

It seems that sanity checker can solve my problem. But I have a question -- why the sanity checker prints the statistics out twice for every GC and what's their difference?

cheers,

Dingwen

------------------------------------------------------------------------------

_______________________________________________
Jikesrvm-researchers mailing list
Jikesrvm-researchers@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers



------------------------------------------------------------------------------

_______________________________________________
Jikesrvm-researchers mailing list
Jikesrvm-researchers@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers



------------------------------------------------------------------------------

_______________________________________________
Jikesrvm-researchers mailing list
Jikesrvm-researchers@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers



------------------------------------------------------------------------------

_______________________________________________
Jikesrvm-researchers mailing list
Jikesrvm-researchers@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers

 « Return to Thread: [rvm-research] Trace mature objects without interfering gc