JDK 9 RFR of JDK-8122944: perfdata used is seen as too high on sparc zone with jdk1.9 and causes a test failure
Joseph D. Darcy
joe.darcy at oracle.com
Tue Jul 28 01:40:56 UTC 2015
Hello,
In certain machine configurations (large SPARC boxes with lots of
threads), the test
sun/jvmstat/perfdata/PrologSanity/PrologSizeSanityCheck.java
fails because the PerfDataMemorySize buffer gets too close to its limit.
To allow the test to pass on machines like this as well as smaller
boxes, I'd like to just bump its PerfDataMemorySize to 64k from the
default of 32k. The patch to accomplish this is:
--- a/test/sun/jvmstat/perfdata/PrologSanity/PrologSizeSanityCheck.java
Sat Jul 25 08:50:45 2015 +0300
+++ b/test/sun/jvmstat/perfdata/PrologSanity/PrologSizeSanityCheck.java
Mon Jul 27 18:37:23 2015 -0700
@@ -25,7 +25,7 @@
* @test
* @bug 4990825
* @modules jdk.jvmstat/sun.jvmstat.monitor
- * @run main/othervm -XX:+UsePerfData PrologSizeSanityCheck
+ * @run main/othervm -XX:+UsePerfData -XX:PerfDataMemorySize=64k
PrologSizeSanityCheck
* @summary prolog size and overflow sanity checks
*/
Thanks,
-Joe
More information about the serviceability-dev
mailing list