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

Reply via email to