Memory Accesses in Old Generation
Tony Printezis
Antonios.Printezis at sun.com
Mon Mar 2 22:16:31 UTC 2009
Well, you can protect the entire old gen and update your stats when you
trap. It will be very slow though. I'm curious what you'd like to do
with the stats.
Tony
Peng Du wrote:
> Hello, everyone
>
> If I want to trace the frequencies of memory accesses (read/write) in
> the old generation in Hotspot with page granularity(say 4K), what do you
> think is the best way to do it?
>
> For example:
>
> GC: ParallelOldGC
> OldGen: 0x849e0000 -> 0x873c0000
>
> Output:
> ======= Page ======= == Freq ==
> 0x849e0000-0x849e1000 34
> 0x849e1000 0x849e2000 53
> 0x849e2000 0x849e3000 23
> 0x849e3000 0x849e4000 56
> 0x849e4000 0x849e5000 788
> ...... ......
>
>
> Thanks in advance!
>
>
> Peng Du
> 03/02/2009
>
>
--
---------------------------------------------------------------------
| Tony Printezis, Staff Engineer | Sun Microsystems Inc. |
| | MS UBUR02-311 |
| e-mail: tony.printezis at sun.com | 35 Network Drive |
| office: +1 781 442 0998 (x20998) | Burlington, MA 01803-2756, USA |
---------------------------------------------------------------------
e-mail client: Thunderbird (Linux)
More information about the hotspot-gc-dev
mailing list