RFR(XXS): 8224793: os::die() does not honor CreateCoredumpOnCrash option
Kim Barrett
kim.barrett at oracle.com
Fri May 31 01:22:25 UTC 2019
> On May 30, 2019, at 9:18 PM, Kim Barrett <kim.barrett at oracle.com> wrote:
> TimeoutInErrorHandlingTest makes use of a bespoke option to trigger
> the desired behavior, -XX:+TestUnresponsiveErrorHandler. A completely
> different way to achieve the effect you are trying for (having this
> test not generate a core dump) would be to have the handling of that
> option (either at argument processing time, or when VMError hits it)
> use setrlimit to disable core dumps for the current process. Though we
> don't appear to currently have os:: versions of the rlimit functions,
> so there's a bit of work to be done there.
And David’s suggestion of checking TestUnresponsiveErrorHandler in os::die
is another way of accomplishing that.
More information about the hotspot-runtime-dev
mailing list