I happened to find a bug in jmap. In a small test, the "jmap -permstat" command reports only about 50-60% of the permgen memory usage (compared to the actual usage of permgen based on what the "jmap" command reports). To fix it, I contributed the following patch to OpenJDK, which increases the number up to 80-90%:
http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/7f601f7c9b48
http://bugs.sun.com/view_bug.do?bug_id=6731726
Thanks to Martin Buchholz who submitted the patch on my behalf and Swamy Venkataramanappa and Daniel Daugherty for reviewing it.
http://bugs.sun.com/view_bug.do?bug_id=6731726
Thanks to Martin Buchholz who submitted the patch on my behalf and Swamy Venkataramanappa and Daniel Daugherty for reviewing it.
No comments:
Post a Comment