RFR: 8366328: G1: Crash on reading os::thread_cpu_time

Jonas Norlinder duke at openjdk.org
Thu Sep 4 08:30:45 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.

I wonder if the logic and `_is_shutting_down` should be lifted to `CollectedHeap`. It seems to me that it would useful to support this for all collectors.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27087#issuecomment-3252488472


More information about the hotspot-gc-dev mailing list