Review request (S) 7195557 NPG: Unexpected number of memory pools

Mikael Gerdin mikael.gerdin at oracle.com
Wed Sep 5 01:13:07 PDT 2012


Hi,

With the perm gen removal changes the number of memory pools exported by 
the VM has changed. This causes the tests 
java/lang/management/MemoryMXBean/MemoryTest.java and 
java/lang/management/MemoryMXBean/CollectionUsageThreshold.java to fail.

My suggested fix is to modify the tests to work with VMs both with and 
without perm gen memory pools.

CR link:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7195557
Webrev:
http://cr.openjdk.java.net/~mgerdin/7195557/webrev

I'd also like to request that this fix be allowed to be pushed to 
hsx/hotspot-gc/jdk instead of 8-tl/jdk so we can get rid of these test 
failures in the hotspot testing before we integrate perm removal into jdk8.
With that I'll need someone to sponsor the push since I'm not a Committer.

Thanks
/Mikael

-- 
Mikael Gerdin
Java SE VM SQE Stockholm


More information about the serviceability-dev mailing list