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

Aleksey Shipilev shade at openjdk.java.net
Mon Dec 20 15:32:28 UTC 2021


On Tue, 14 Dec 2021 10:46:54 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 x -UseHeavyMonitors, +UseHeavyMonitors)
>>  - [x] tier1 (x86_32, x86_64 x -UseHeavyMonitors, +UseHeavyMonitors)
>
> Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix typos and intendation

The same thing affects `sharedRuntime_aarch64.cpp`, is it not?
Otherwise the change makes sense to me.

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

Changes requested by shade (Reviewer).

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


More information about the hotspot-compiler-dev mailing list