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

David Holmes dholmes at openjdk.org
Wed Sep 10 05:45:11 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.

Can you not use `VMThread::is_terminated()` to check for shutdown?

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

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


More information about the hotspot-gc-dev mailing list