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

Claes Redestad redestad at openjdk.java.net
Fri Dec 11 19:34:02 UTC 2020


On Fri, 11 Dec 2020 17:24:11 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> 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

Marked as reviewed by redestad (Reviewer).

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

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


More information about the hotspot-compiler-dev mailing list