RFR: 8330103: Compiler memory statistics should keep separate records for C1 and C2

Thomas Stuefe stuefe at openjdk.org
Fri Apr 12 07:32:55 UTC 2024


See JBS description.

This simple enhancement changes compiler memory statistic such that we keep the record of the most recent compilation not only per method, but per method and per compiler. That way, recompiling method X with C2 will not overwrite memory statistics from a prior C1 compilation, and vice versa.

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

Commit messages:
 - start

Changes: https://git.openjdk.org/jdk/pull/18740/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18740&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8330103
  Stats: 31 lines in 1 file changed: 19 ins; 3 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/18740.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18740/head:pull/18740

PR: https://git.openjdk.org/jdk/pull/18740


More information about the hotspot-compiler-dev mailing list