[jdk18] Integrated: 8278489: Preserve result in native wrapper with +UseHeavyMonitors

Roman Kennke rkennke at openjdk.java.net
Mon Jan 10 20:50:31 UTC 2022


On Mon, 13 Dec 2021 20:54:55 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> Testing observed a few failures after JDK-8276901. The reason for the failures is in the native-wrappers, in the +UseHeavyMonitors paths, we don't preserve the result register after the native call.
> 
> Testing:
>  - [x] java/awt/color, sun/java2d/cmm tests (x86_32, x86_64, aarch64 x -UseHeavyMonitors, +UseHeavyMonitors)
>  - [x] tier1 (x86_32, x86_64, aarch64 x -UseHeavyMonitors, +UseHeavyMonitors)

This pull request has now been integrated.

Changeset: 92307e5a
Author:    Roman Kennke <rkennke at openjdk.org>
URL:       https://git.openjdk.java.net/jdk18/commit/92307e5a944f7e995780fc6f5e55713802919dfd
Stats:     19 lines in 3 files changed: 6 ins; 1 del; 12 mod

8278489: Preserve result in native wrapper with +UseHeavyMonitors

Reviewed-by: shade, kvn

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

PR: https://git.openjdk.java.net/jdk18/pull/16


More information about the hotspot-compiler-dev mailing list