Hi all,Please review this patch harden two MemoryMXBean tests. These tests cause intermittent test failures when the allocated objects are put in the young gen instead of the old gen. The proposed fix/workaround is to lower the young gen size and assert that the allocated objects are large enough to not fit in the young gen.
http://cr.openjdk.java.net/~stefank/8035939/webrev.00/ https://bugs.openjdk.java.net/browse/JDK-8035939 thanks, StefanK