RFR: 8261071: AArch64: Refactor interpreter native wrappers

Anton Kozlov akozlov at openjdk.java.net
Fri Feb 5 12:41:41 UTC 2021


On Fri, 5 Feb 2021 09:56:25 GMT, Andrew Haley <aph at openjdk.org> wrote:

> Are all platform differences handled by Interpreter::local_offset_in_bytes() ?

Java local structure is very similar between CPUs. The function is a simple one:
  // Local values relative to locals[n]
  static int  local_offset_in_bytes(int n) {
    return ((frame::interpreter_frame_expression_stack_direction() * n) * stackElementSize);
  }

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

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


More information about the hotspot-dev mailing list