[jdk16] RFR: 8257919: [JVMCI] profiling info didn't change after reprofile [v2]

Vladimir Ivanov vlivanov at openjdk.java.net
Fri Dec 11 17:24:11 UTC 2020


> JDK-8252049 moved compiler counter initialization into MethodData constructor, but JVMCI and WhiteBox API rely on `MethodData::initialize()`/`MethodData::init()` to reset MDO state. 
> 
> Proposed fix restores the logic which resets the counters in `init()` (which is called from `initialize()`).
> 
> Testing:
> - [x] hs-precheckin-comp, hs-tier1, hs-tier2

Vladimir Ivanov has updated the pull request incrementally with one additional commit since the last revision:

  Restore MethodData::_creation_mileage behavior

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

Changes:
  - all: https://git.openjdk.java.net/jdk16/pull/6/files
  - new: https://git.openjdk.java.net/jdk16/pull/6/files/7ce1cbae..c091e670

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk16&pr=6&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk16&pr=6&range=00-01

  Stats: 20 lines in 4 files changed: 9 ins; 6 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk16/pull/6.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk16 pull/6/head:pull/6

PR: https://git.openjdk.java.net/jdk16/pull/6


More information about the hotspot-compiler-dev mailing list