JDK-8366970 : CPUTimeUsage: Add comment about usage during VM exit
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Closed
  • Resolution: Withdrawn
  • Submitted: 2025-09-05
  • Updated: 2025-09-23
  • Resolved: 2025-09-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdResolved
Related Reports
Relates :  
Description
Users should be aware that some methods in CPUTimeUsage may be unsafe during VM exit as some of these methods queries threads that may get terminated during VM exit.
Comments
Withdrawn in favor of using _is_shutting_down introduced in 8366865
23-09-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/27115 Date: 2025-09-05 10:06:32 +0000
05-09-2025