Integrated: 8307423: [s390x] Represent Registers as values

Amit Kumar amitkumar at openjdk.org
Mon May 8 07:54:32 UTC 2023


On Thu, 4 May 2023 15:08:57 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:

> The recent Register implementation uses wild pointer (including null pointer) dereferences which exhibit undefined behavior. We should migrate away from pointer-based representation of Register values as it was done for x86 ([JDK-8292153](https://bugs.openjdk.org/browse/JDK-8292153)). Problems exist when trying to build with GCC 11.3.0 ([JDK-8307093](https://bugs.openjdk.org/browse/JDK-8307093)).
> 
> Tested `fastdebug, slowdebug, optimized, release build` , `tier1-test` on fastdebug build and build with GCC-9.5.0 as well.

This pull request has now been integrated.

Changeset: 8bbd264c
Author:    Amit Kumar <amitkumar at openjdk.org>
Committer: Lutz Schmidt <lucy at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8bbd264c6e4b4045a218f11ae6b5b4f395bc2aa9
Stats:     478 lines in 8 files changed: 83 ins; 222 del; 173 mod

8307423: [s390x] Represent Registers as values

Reviewed-by: mdoerr, lucy

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

PR: https://git.openjdk.org/jdk/pull/13805


More information about the hotspot-dev mailing list