[8u] RFR: fix inconsistency of backport of 8219677: "-XX:OnOutOfMemoryError" uses fork instead of vfork

Severin Gehwolf sgehwolf at redhat.com
Tue Dec 17 15:16:57 UTC 2019


On Fri, 2019-11-15 at 20:08 +0000, Hohensee, Paul wrote:
> Webrev: http://cr.openjdk.java.net/~phh/8234264/webrev.8u.00/

src/share/vm/utilities/vmError.cpp

1063       if (os::fork_and_exec(cmd) < 0) {
1064         out.print_cr("os::fork_and_exec failed: %s (%d)", strerror(errno), errno);
1065       }

This --^ establishes pre JDK-8219677 8u backport code. In JDK 9+ line
1063 changed with JDK-6985422 which is not in JDK 8u.

Looks good.

Thanks,
Severin



More information about the jdk8u-dev mailing list