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

Hohensee, Paul hohensee at amazon.com
Tue Dec 17 20:27:52 UTC 2019


Thanks for your review and approval, Severin. Pushed.

On 12/17/19, 7:17 AM, "Severin Gehwolf" <sgehwolf at redhat.com> wrote:

    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