RFR: 8257847: Tiered should publish MDO data pointer for interpreter after profile start [v2]
Vladimir Kozlov
kvn at openjdk.java.net
Tue Dec 8 17:20:11 UTC 2020
On Tue, 8 Dec 2020 09:23:20 GMT, Igor Veresov <iveresov at openjdk.org> wrote:
>> Tiered policy may decide to start profiling in interpreter if C1 is overloaded with requests. It should publish an appropriate data pointer for the current bci in order for the interpreter to start profiling immediately and not wait for the second invocation.
>
> 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.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1683
More information about the hotspot-compiler-dev
mailing list