Skip to content

Commit 0fa3572

Browse files
committed
8264489: Add more logging to LargeCopyWithMark.java
Reviewed-by: kbarrett, alanb, bpb
1 parent f43d14a commit 0fa3572

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/jdk/java/io/BufferedInputStream/LargeCopyWithMark.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
* @requires (sun.arch.data.model == "64" & os.maxMemory > 4g)
2727
* @summary BufferedInputStream calculates negative array size with large
2828
* streams and mark
29-
* @run main/othervm -Xmx4G LargeCopyWithMark
29+
* @run main/othervm -Xmx4G -Xlog:gc,gc+heap,gc+ergo+heap -XX:+CrashOnOutOfMemoryError
30+
-XX:+IgnoreUnrecognizedVMOptions -XX:+G1ExitOnExpansionFailure
31+
LargeCopyWithMark
3032
*/
3133

3234
import java.io.BufferedInputStream;

0 commit comments

Comments
 (0)