Review request (S) 7195557 NPG: Unexpected number of memory pools
Alan.Bateman at oracle.com
Wed Sep 5 09:00:11 UTC 2012
On 05/09/2012 09:13, Mikael Gerdin wrote:
> 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:
> 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
> With that I'll need someone to sponsor the push since I'm not a
It should okay to push this via the hsx/hotspot-gc forest, assuming of
course that the tests in its jdk repository are actually used for the
testing that you mention. One thing to know is that
on the exclude list (see jdk/test/ProblemList.txt) so the test should
not be run (so in Oracle this means it is excluded in JPRT, in testing
of jdk8/tl, etc.). If you are happy that the test is now stable then it
would be good to remove it, but I think you might want to check 7067973
in case that issue and failure mode still exists.
More information about the hotspot-gc-dev