Integrated: 8266257: Fix foreign linker build issues for ppc and s390

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu Jun 3 09:44:42 UTC 2021


On Wed, 2 Jun 2021 11:27:28 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This patch addresses some build issues introduced by integration of JEP-412.
> The support for JEP-412 turns some static functions (e.g.`float_move`, `long_move`) in sharedRuntime into proper member functions, as they need to be referenced by the new support for Panama upcall handlers. Sadly, not all Hotspot ports agree on the number of parameters these functions take - most notably, ppc and s390 have incompatible signatures, and, because of that, failt to build.
> 
> A simpler solution is to move these functions to the x86 macro assembler - after all, these functions are specific to a given platform, and excessive sharing should be avoided. This patch does that - and fixes other remaining issues with non-standard hotspot builds (e.g. by adding stab implementation for some unimplemented Panama support).

This pull request has now been integrated.

Changeset: 29ab1628
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/29ab16284a4f1ac7ed691fd12cb622b0440c04be
Stats:     532 lines in 15 files changed: 289 ins; 221 del; 22 mod

8266257: Fix foreign linker build issues for ppc and s390

Reviewed-by: jvernee, vlivanov

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

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


More information about the hotspot-dev mailing list