RFR: 8273489: Zero: Handle UseHeavyMonitors on all monitorenter paths
Aleksey Shipilev
shade at openjdk.java.net
Thu Sep 9 17:20:07 UTC 2021
On Wed, 8 Sep 2021 14:13:08 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> While fixing JDK-8273486, I noticed there is one place where we do not call VM slowpath when `UseHeavyMonitors` are requested. That place is `ZeroInterpreter::native_entry`. We should probably implement `UseHeavyMonitors` check on those paths.
>
> New code is modeled after existing uses, for example [this](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/interpreter/zero/bytecodeInterpreter.cpp#L583-L593).
>
> Additional testing:
> - [x] Linux x86_64 Zero `make bootcycle-images`
> - [x] Linux x86_64 Zero `make bootcycle-images` with `-XX:+UseHeavyMonitors` forced
Thanks! I'll integrate now.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5416
More information about the hotspot-dev
mailing list