Re: [rvm-research] Add more statistics data related to Garbage Collection

Chathuri Gunawardhana <[email protected]>
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <CALKGaNfvfODQSxx7Q5zyRZxpoWf75LmvgtereAKuZ=L1YXTqpw@mail.gmail.com>
Dear Professor,

I'm interested in collecting statistics like how many objects are in
nursery space, how many objects are in mature space,Total time to run GC,
portion of fragmented memory from the free memory, total free memory.

First I'll test against popular GCs like concurrent mark sweep and some
popular garbage collectors and then I need to optimize a garbage collector
(Like Compressor) or may be to write a new garbage collector.


Thank you very much!


On Thu, Mar 12, 2015 at 5:09 PM, Rifat Shahriyar <[email protected]>
wrote:

> Hi there,
> org/mmtk/utility/statistics contains all the counters you need to gather
> statistics related to GC. For example, if you need to find the total number
> of objects allocated, you have to increment an EventCounter inside the
> postAlloc() method of the Mutator of the corresponding GC.
>
> Which GC you are working with? What are the statistics you want to
> collect? If you can provide more details, may be I can help.
>
> On Thu, Mar 12, 2015 at 4:45 AM, Chathuri Gunawardhana <
> [email protected]> wrote:
>
>> Hi,
>>
>> 1 -I need to do get some statistical data for garbage collection
>> algorithms without a benchmarking tool and only using the vm source code.
>> May I know which code I have to study for this.
>>
>> 2- I already looked at the MMTk/Utils/Statistics but that does not have
>> statistical data like how many objects are in the nursery space and in the
>> mature space, CPU utilization,etc.
>>
>> 3- If I need to add these functionalities to MMTk can you please guide me
>> how I can do that?
>>
>> Thank you very much!
>>
>> --
>> Chathuri Gunawardhana
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your hub
>> for all
>> things parallel software development, from weekly thought leadership
>> blogs to
>> news, videos, case studies, tutorials and more. Take a look and join the
>> conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> Jikesrvm-researchers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
>>
>>
>
>
> --
> Rifat Shahriyar
> Assistant Professor
> Dept. of CSE, BUET
> http://teacher.buet.ac.bd/rifat/
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Jikesrvm-researchers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
>
>


-- 
Chathuri Gunawardhana
University of Moratuwa

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.