• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JConsole details differ

 
Raja Nagendra Kumar
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I see JConsole when launched does show different memory compartments for different applications. When tried with jdk build 1.6.0_14-b08 on jconsole it self it shows the following non heap compartments

1. Memory Pool - Code Cache
2. Memory Pool - Perm Gen
3. Memory Pool - Perm Gen [shared -rw]
4. Memory Pool - Perm Gen [shared -ro]

Where as on a ant build monitoring of my build it shows only two

1. Memory Pool - Code Cache
2. Memory Pool - CMS Perm Gen

Why is such difference.. Looking for a good document to understand more.. Also, I read some where that jdk has tools to jps, jstat, jstatd, jmap, jhat, .. etc.. has any one used these tools successfully in able to find what objects are stored in each of these compartments.. specially navigating from the gcroots down the children.


Regards,
Nagendra
 
Kees Jan Koster
JavaMonitor Support
Rancher
Posts: 251
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Raja,

That is because the two JVM's use different garbage collector strategies. Read up on JVM GC tuning to see what strategies exist.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic