(10) RFR of JDK-8179242, OutOfMemoryError in java/util/Arrays/ParallelPrefix.java
Hamlin Li
huaming.li at oracle.com
Mon Jun 12 09:38:07 UTC 2017
Would you please review the below patch?
bug: https://bugs.openjdk.java.net/browse/JDK-8179242
webrev: http://cr.openjdk.java.net/~mli/8179242/webrev.00/
Thank you
-Hamlin
------------------------------------------------------------------------
the test takes about 700M on linux 64, so propose to fix the issue with
below patch:
diff -r 9200df3d3c0b test/java/util/Arrays/ParallelPrefix.java
--- a/test/java/util/Arrays/ParallelPrefix.java Sun Jun 11 18:36:23
2017 -0700
+++ b/test/java/util/Arrays/ParallelPrefix.java Mon Jun 12 02:35:20
2017 -0700
@@ -25,7 +25,8 @@
* @test 8014076 8025067
* @summary unit test for Arrays.ParallelPrefix().
* @author Tristan Yan
- * @run testng ParallelPrefix
+ * @requires os.maxMemory >= 2g
+ * @run testng/othervm -Xms512m -Xmx1024m ParallelPrefix
*/
More information about the core-libs-dev
mailing list