--- old/src/hotspot/share/utilities/vmError.hpp 2018-09-27 17:31:00.537583941 +0530 +++ new/src/hotspot/share/utilities/vmError.hpp 2018-09-27 17:31:00.417583942 +0530 @@ -88,6 +88,9 @@ static bool _error_reported; + // Whether fork and exec should call fork/vfork + static bool _vfork_mode; + public: // set signal handlers on Solaris/Linux or the default exception filter @@ -190,6 +193,8 @@ // Support for avoiding multiple asserts static bool is_error_reported(); + static bool is_forkmode_vfork(); + // Test vmassert(), fatal(), guarantee(), etc. NOT_PRODUCT(static void test_error_handler();) NOT_PRODUCT(static void controlled_crash(int how);)