Integrated: 8273489: Zero: Handle UseHeavyMonitors on all monitorenter paths
Aleksey Shipilev
shade at openjdk.java.net
Thu Sep 9 17:24:01 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
This pull request has now been integrated.
Changeset: e3bda63c
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/e3bda63ce29bac0eaea520d42f4927dda77f83f2
Stats: 7 lines in 1 file changed: 2 ins; 2 del; 3 mod
8273489: Zero: Handle UseHeavyMonitors on all monitorenter paths
Reviewed-by: coleenp
-------------
PR: https://git.openjdk.java.net/jdk/pull/5416
More information about the hotspot-dev
mailing list