[jdk8u-dev] RFR: 8315020: The macro definition for LoongArch64 zero build is not accurate. [v2]

Leslie Zhai lzhai at openjdk.org
Thu Jun 13 01:31:47 UTC 2024


> Hi,
> 
> I'd like to backport this patch to jdk8u. `common/autoconf/platform.m4` 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.
> 
> A native build on LoongArch hardware is tested.
> 
> Debian: https://mail.openjdk.org/pipermail/jdk8u-dev/2024-April/018378.html
> 
> 
> $ ./build/images/j2sdk-image/bin/java -version
> openjdk version "1.8.0_412"
> OpenJDK Runtime Environment (build 1.8.0_412-8u412-ga-1-b08)
> OpenJDK 64-Bit Zero VM (build 25.412-b08, interpreted mode)
> 
> 
> Loongnix Desktop:
> 
> 
> $ ./build/linux-loongarch64-normal-zero-release/images/j2sdk-image/bin/java -version
> openjdk version "1.8.0_422-internal"
> OpenJDK Runtime Environment (build 1.8.0_422-internal-zhaixiang_2024_04_28_10_57-b00)
> OpenJDK 64-Bit Zero VM (build 25.422-b00, interpreted mode)
> 
> 
> The risk of the downport is low.
> 
> Thanks,
> Leslie Zhai

Leslie Zhai has updated the pull request incrementally with one additional commit since the last revision:

  Remove unnecessary ZERO_ARCHDEF

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

Changes:
  - all: https://git.openjdk.org/jdk8u-dev/pull/489/files
  - new: https://git.openjdk.org/jdk8u-dev/pull/489/files/681fcbb9..6728fd32

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=489&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=489&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/489.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/489/head:pull/489

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


More information about the jdk8u-dev mailing list