[jdk8u-dev] Integrated: 8270517: Add Zero support for LoongArch

Leslie Zhai lzhai at openjdk.org
Sat Feb 17 20:06:00 UTC 2024


On Fri, 5 Jan 2024 09:53:36 GMT, Leslie Zhai <lzhai at openjdk.org> wrote:

> Hi,
> 
> I'd like to backport this patch to jdk8u. `common/autoconf/build-aux/config.guess` and `hotspot/src/os/linux/vm/os_linux.cpp` do not apply cleanly due to context difference, but it is easy to resolve them manually. `common/autoconf/platform.m4` just changed file path.
> 
> `common/autoconf/generated-configure.sh` regenerated by `bash common/autoconf/autogen.sh`.
> 
> A native build on LoongArch hardware is tested.
> 
> Debian:  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060236
> 
> 
> $ ./build/images/j2sdk-image/bin/java -version
> openjdk version "1.8.0_392"
> OpenJDK Runtime Environment (build 1.8.0_392-8u392-ga-1-b08)
> OpenJDK 64-Bit Zero VM (build 25.392-b08, interpreted mode)
> 
> 
> Loongnix Desktop:
> 
> 
> $ ./build/linux-loongarch64-normal-zero-release/images/j2sdk-image/bin/java -version
> openjdk version "1.8.0_412-internal"
> OpenJDK Runtime Environment (build 1.8.0_412-internal-zhaixiang_2024_01_06_10_53-b00)
> OpenJDK 64-Bit Zero VM (build 25.412-b00, interpreted mode)
> 
> 
> The risk of the downport is low.
> 
> Thanks,
> Leslie Zhai

This pull request has now been integrated.

Changeset: 9aabf22d
Author:    Leslie Zhai <lzhai at openjdk.org>
Committer: Andrew John Hughes <andrew at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/9aabf22db445c7bc8b986f3e2c874b221f1452d6
Stats:     48 lines in 4 files changed: 45 ins; 0 del; 3 mod

8270517: Add Zero support for LoongArch

Reviewed-by: aoqi, andrew
Backport-of: e92e2fd4e0bc805d8f7d70f632cce0282eb1809b

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

PR: https://git.openjdk.org/jdk8u-dev/pull/413


More information about the jdk8u-dev mailing list