RFR: 8254104: MethodCounters must exist before nmethod is installed

Igor Veresov iveresov at openjdk.java.net
Wed Oct 7 15:11:17 UTC 2020


Ensure that MethodCounters for a particular method exist during the nmethod install (for methods that were never run
before). Tiered compilation policy depends on the state stored in the counters to function properly.

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

Commit messages:
 - Add failure reason.
 - Ensure MethodCounters exist by the time nmethod is installed.

Changes: https://git.openjdk.java.net/jdk/pull/543/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=543&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8254104
  Stats: 24 lines in 2 files changed: 19 ins; 3 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/543.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/543/head:pull/543

PR: https://git.openjdk.java.net/jdk/pull/543


More information about the hotspot-compiler-dev mailing list