How to counter object created by hotspot
Colin(Du Li)
dawn2004 at gmail.com
Sun Jul 12 19:01:51 PDT 2009
Hi, guys,
I wanna count the number of Java Objects created by Hotspot. Does Hotspot
have some tool to count them?
If no, I just count how many times the following two methods are invoked, is
that accurate?
CollectedHeap::common_permanent_mem_allocate_init(size_t size,
TRAPS)
CollectedHeap::common_mem_allocate_init(size_t size, bool
is_noref, TRAPS)
Is there better solution to do this counting?
p.s. I use serial GC.
Thanks a lot!
Colin
--
View this message in context: http://www.nabble.com/How-to-counter-object-created-by-hotspot-tp24454920p24454920.html
Sent from the OpenJDK Hotspot Virtual Machine mailing list archive at Nabble.com.
More information about the hotspot-dev
mailing list