RFR: 8366328: G1: Crash on reading os::thread_cpu_time
Stefan Karlsson
stefank at openjdk.org
Thu Sep 4 08:30:43 UTC 2025
On Thu, 4 Sep 2025 07:48:11 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:
> Hi,
>
> Please review this patch to ensure that we do not attempt to read CPU time for GC threads that have already been terminated.
>
> Testing: Tier 1-3.
Did you consider the alternative to prevent the GC from starting a GC pause if the JVM is shutting down?
Is it correct that CollectedHeap::stop() can only be called when no STW safepoint operation is executing?
-------------
PR Review: https://git.openjdk.org/jdk/pull/27087#pullrequestreview-3184025533
More information about the hotspot-gc-dev
mailing list