RFR: 8261072: AArch64: Fix MacroAssembler::get_thread convention

Andrew Haley aph at openjdk.java.net
Fri Feb 12 13:13:42 UTC 2021


On Mon, 8 Feb 2021 08:26:41 GMT, Anton Kozlov <akozlov at openjdk.org> wrote:

> Please review a fix in a special calling convention for aarch64_get_thread_helper for non-Linux platforms (windows/aarch64 for now). 
> 
> Preliminary review: https://mail.openjdk.java.net/pipermail/aarch64-port-dev/2021-January/011239.html

src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp line 5270:

> 5268: //
> 5269: // On Linux, aarch64_get_thread_helper() clobbers only r0, r1, and flags.
> 5270: // On Windows, the helper is a usual C function.

This should say "other systems", not "Windows". Otherwise OK.

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

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


More information about the hotspot-dev mailing list