JDK-8330103 : Compiler memory statistics should keep separate records for C1 and C2
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-04-11
  • Updated: 2024-04-26
  • Resolved: 2024-04-15
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.
JDK 23
23 b19Fixed
Related Reports
Relates :  
Description
Compiler memory statistics, introduced with JDK-8317683, keeps a record of memory usage by C1 and C2. Records are kept per method for the most recent compilation.

It would make more sense to keep records on a per-compiler and per-method basis, though, to prevent recompilations from overwriting the other compiler's memory statistics.
Comments
Changeset: ddc3921c Author: Thomas Stuefe <stuefe@openjdk.org> Date: 2024-04-15 15:01:05 +0000 URL: https://git.openjdk.org/jdk/commit/ddc3921cf98b9470f597ae9bb6a4f5a043e1544f
15-04-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/18740 Date: 2024-04-11 13:03:17 +0000
12-04-2024