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

Vladimir Ivanov vlivanov at openjdk.java.net
Fri Dec 11 21:54:00 UTC 2020


On Fri, 11 Dec 2020 09:01:25 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

This pull request has now been integrated.

Changeset: b1afed75
Author:    Vladimir Ivanov <vlivanov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk16/commit/b1afed75
Stats:     22 lines in 5 files changed: 10 ins; 8 del; 4 mod

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

Reviewed-by: kvn, redestad

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

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


More information about the hotspot-compiler-dev mailing list