8264489: Add more logging to LargeCopyWithMark.java

Reviewed-by: kbarrett, alanb, bpb
This commit is contained in:
Stefan Karlsson 2021-03-31 16:43:14 +00:00
parent f43d14a2ff
commit 0fa35728a7

@ -26,7 +26,9 @@
* @requires (sun.arch.data.model == "64" & os.maxMemory > 4g)
* @summary BufferedInputStream calculates negative array size with large
* streams and mark
* @run main/othervm -Xmx4G LargeCopyWithMark
* @run main/othervm -Xmx4G -Xlog:gc,gc+heap,gc+ergo+heap -XX:+CrashOnOutOfMemoryError
-XX:+IgnoreUnrecognizedVMOptions -XX:+G1ExitOnExpansionFailure
LargeCopyWithMark
*/
import java.io.BufferedInputStream;