RFR 8249217: Unexpected StackOverflowError in "process reaper" thread still happens
David Holmes
david.holmes at oracle.com
Thu Jul 23 01:16:39 UTC 2020
Hi Roger,
On 23/07/2020 12:51 am, Roger Riggs wrote:
> Please review a change to the Process reaper thread initialization to
> preemptively
> make sure classes ThreadLocalRandom and ConcurrentHashMap are initialized.
I don't see ThreadLocalRandom appearing in any of the stack traces. ??
David
-----
> From the stack overflow failures, it seems that the classes have not
> been initialized
> before they are used during processing the termination of a process.
> When the initialization is performed on the smaller reaper stack, it
> occasionally
> exceeds the available stack.
>
> As an aid to diagnostics,
> -XX:AbortVMOnException=java.lang.StackOverflowError
> is added to TestHumongousNonArrayAllocation that has failed intermittently.
> If the problem happens again it will produce an hs_error file with
> useful details
> and will otherwise not change the test behavior.
>
> Webrev:
> http://cr.openjdk.java.net/~rriggs/webrev-stackoverflow-8249217/
>
> Issue:
> https://bugs.openjdk.java.net/browse/JDK-8249217
>
> Thanks, Roger
>
More information about the core-libs-dev
mailing list