RFR: 8273489: Zero: Handle UseHeavyMonitors on all monitorenter paths

Coleen Phillimore coleenp at openjdk.java.net
Thu Sep 9 12:41:02 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`

Makes sense.

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

Marked as reviewed by coleenp (Reviewer).

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


More information about the hotspot-dev mailing list