RFR: 8257847: Tiered should publish MDO data pointer for interpreter after profile start [v2]

Igor Veresov iveresov at openjdk.java.net
Tue Dec 8 18:06:28 UTC 2020


On Tue, 8 Dec 2020 17:17:16 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Igor Veresov has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
>> 
>>   Tiered should publish MDO data pointer for interpreter after profile
>>   start.
>
> src/hotspot/share/compiler/tieredThresholdPolicy.cpp line 835:
> 
>> 833:       frame last_frame = jt->last_frame();
>> 834:       if (last_frame.is_interpreted_frame()) {
>> 835:         int bci = last_frame.interpreter_frame_bci();
> 
> Please, add assert or guarantee to check that `last_frame.interpreter_frame_method()` is the same as `mh.

Good point. I added an explicit check to make this more robust.

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

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


More information about the hotspot-compiler-dev mailing list