From duke at openjdk.org Mon Sep 4 03:06:03 2023 From: duke at openjdk.org (duke) Date: Mon, 4 Sep 2023 03:06:03 GMT Subject: git: openjdk/riscv-port-jdk11u: riscv-port: 22 new changesets Message-ID: Changeset: 2bfbe31f Author: Alexander Scherbatiy Date: 2023-08-28 05:29:47 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/2bfbe31fbc23eecade16306bbd1a1bd6953c5fb3 8295737: macOS: Print content cut off when width > height with portrait orientation Backport-of: d00a767047ec41e233e711dbc5fe7b8818e72f28 ! src/java.desktop/macosx/classes/sun/lwawt/macosx/CPrinterJob.java + test/jdk/java/awt/print/PageFormat/PrintContentCutOffTest.java Changeset: 81806b78 Author: t.ogata Committer: Martin Doerr Date: 2023-08-28 09:31:02 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/81806b786e0ec9c29d2e3d64ef099f710724fba1 8217850: CompressedClassSpaceSizeInJmapHeap fails after JDK-8217612 Backport-of: 49c91b7f9522a991bcac789b9fcccfee8bf08b5d ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/tools/HeapSummary.java Changeset: e1b839e7 Author: Christoph Langer Date: 2023-08-28 13:09:55 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/e1b839e7ee85e1d532da219bd84961b00c080411 8302182: Update Public Suffix List to 88467c9 Backport-of: ec2abc2d82bf737258ae8ee0bba8ba6a15e1dabb ! make/data/publicsuffixlist/VERSION ! make/data/publicsuffixlist/public_suffix_list.dat ! src/java.base/share/legal/public_suffix.md ! test/jdk/sun/security/util/RegisteredDomain/ParseNames.java ! test/jdk/sun/security/util/RegisteredDomain/tests.dat Changeset: 89a88f05 Author: Matthias Baesken Date: 2023-08-29 07:21:58 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/89a88f054503cc12052116bde61f01947c2a2d4f 8276651: java/lang/ProcessHandle tests fail with "RuntimeException: Input/output error" in java.lang.ProcessHandleImpl$Info.info0 Backport-of: d24b7b7026cf85f1aecf44f60819762872cfd5c1 ! src/java.base/macosx/native/libjava/ProcessHandleImpl_macosx.c Changeset: 1b3c516e Author: Ben Taylor Committer: Volker Simonis Date: 2023-08-22 15:02:45 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/1b3c516eff4fcfb67cea4005be80d0812b2a74f0 8314678: Bump update version for OpenJDK: jdk-11.0.20.1 Reviewed-by: simonis, goetz ! .jcheck/conf ! make/autoconf/version-numbers Changeset: fffaff3d Author: Ben Taylor Committer: Goetz Lindenmaier Date: 2023-08-23 05:22:04 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/fffaff3d5e823187acbf7783339ee3df77580a00 8313765: Invalid CEN header (invalid zip64 extra data field size) Reviewed-by: simonis Backport-of: 13f6450e2e70df4df8bd882def837fbd5bef1524 ! src/java.base/share/classes/java/util/zip/ZipFile.java ! src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipFileSystem.java ! test/jdk/java/util/zip/ZipFile/CorruptedZipFiles.java + test/jdk/java/util/zip/ZipFile/ReadNonStandardExtraHeadersTest.java Changeset: 749ecd50 Author: Christoph Langer Date: 2023-08-29 11:43:54 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/749ecd50633cf0286307880e9f58c4cee906a7f1 Merge Changeset: 39986e07 Author: Taizo Kurashige Committer: Christoph Langer Date: 2023-08-30 07:56:51 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/39986e07ed1d3da86eeedad8feb5adddfb672c24 8314086: [11u] A typo in the fix for JDK-8312462 is causing test failure in ChildAlwaysOnTopTest.java Reviewed-by: phh ! test/jdk/java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java Changeset: c86ba43b Author: Goetz Lindenmaier Date: 2023-08-30 08:11:06 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/c86ba43b8e880e0415f6732b19306568f3a10bdc 8312972: Bump update version for OpenJDK: jdk-11.0.22 Reviewed-by: serb ! .jcheck/conf ! make/autoconf/version-numbers Changeset: b984b0a2 Author: Aleksey Shipilev Date: 2023-08-30 08:47:03 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/b984b0a2937ad612697586d4f90e18dbc22d2571 8293107: GHA: Bump to Ubuntu 22.04 8293098: GHA: Harmonize GCC version handling for host and cross builds 8293361: GHA: dump config.log in case of configure failure 8295213: Run GHA manually with user-specified make and configure arguments 8295885: GHA: Bump gcc versions 8313428: GHA: Bump GCC versions for July 2023 updates Reviewed-by: clanger Backport-of: d7536588b38e368eaa6395bcbcc6724a39303fc5 ! .github/workflows/build-cross-compile.yml ! .github/workflows/build-linux.yml ! .github/workflows/build-macos.yml ! .github/workflows/build-windows.yml ! .github/workflows/main.yml Changeset: b77c161e Author: Volker Simonis Date: 2023-08-30 15:16:47 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/b77c161e7509aa3b09ebf3e6b2b1490c0667bbdc 8315135: Memory leak in the native implementation of Pack200.Unpacker.unpack() Co-authored-by: Yakov Shafranovich Reviewed-by: clanger, stuefe ! src/java.base/share/classes/com/sun/java/util/jar/pack/NativeUnpack.java ! src/java.base/share/classes/com/sun/java/util/jar/pack/UnpackerImpl.java ! src/jdk.pack/share/native/libunpack/jni.cpp + test/jdk/tools/pack200/UnpackMalformed.java Changeset: d76e6ea2 Author: Andrei Pangin Committer: Paul Hohensee Date: 2023-08-30 15:20:51 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/d76e6ea25e7b77cd28584a1e804e702f77176e8e 8237858: PlainSocketImpl.socketAccept() handles EINTR incorrectly PlainSocketImpl.socketAccept() handles EINTR incorrectly Reviewed-by: phh Backport-of: 955aee3bfa8cad8b60fd38fb472b431075eea9d0 ! make/common/TestFilesCompilation.gmk ! src/java.base/aix/native/libnet/aix_close.c ! src/java.base/linux/native/libnet/linux_close.c ! src/java.base/macosx/native/libnet/bsd_close.c + test/jdk/java/net/Socket/NativeThread.java + test/jdk/java/net/Socket/SocketAcceptInterruptTest.java + test/jdk/java/net/Socket/SocketReadInterruptTest.java + test/jdk/java/net/Socket/libNativeThread.c Changeset: 121c997e Author: Sergey Bylokhov Date: 2023-08-31 04:21:35 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/121c997e02031a2ce208129feea143fac1e79c4c 8312535: MidiSystem.getSoundbank() throws unexpected SecurityException Backport-of: 87298d2ade41c689d3140981a123b0e9130fc651 ! src/java.desktop/share/classes/com/sun/media/sound/JARSoundbankReader.java + test/jdk/javax/sound/midi/Soundbanks/GetSoundBankSecurityException/GetSoundBankSecurityException.java + test/jdk/javax/sound/midi/Soundbanks/GetSoundBankSecurityException/security.policy Changeset: f5eb11f3 Author: Aleksey Shipilev Date: 2023-08-31 15:02:55 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/f5eb11f381d4812c489dc2b206e88b34201300f8 8294941: GHA: Cut down cross-compilation sysroots Backport-of: a1747ef81a10e84177f474565193204ceaa0ede8 ! .github/workflows/build-cross-compile.yml Changeset: 373be434 Author: Aleksey Shipilev Date: 2023-08-31 15:03:36 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/373be4349c03f841e62a76120aeafd9631b2e765 8294956: GHA: qemu-debootstrap is deprecated, use the regular one Backport-of: c5f462e83b85ec53ec395622063a5b131aaf0827 ! .github/workflows/build-cross-compile.yml Changeset: 4cd3ad9c Author: Aleksey Shipilev Date: 2023-08-31 15:04:12 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/4cd3ad9c7177231bc4d981d28e155621e42f72ff 8299330: Minor improvements in MSYS2 Workflow handling Backport-of: cf00d09c8c37ee301e1c6657df45777647a834e9 ! .github/actions/get-msys2/action.yml ! .github/workflows/build-windows.yml Changeset: caa05aca Author: Sergey Bylokhov Date: 2023-08-31 16:32:06 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/caa05aca911798eb9a0e71f18bbb2e56cc2f0fd1 8294281: Allow warnings to be disabled on a per-file basis Backport-of: e45f3d5176e4affaa08480b560ca983fdbcb2846 ! make/common/NativeCompilation.gmk Changeset: 7ce92710 Author: Aleksey Shipilev Date: 2023-09-01 13:03:13 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/7ce927107a735daf1f0a4ab4aae650f06a2fcd84 8314262: GHA: Cut down cross-compilation sysroots deeper Backport-of: 38687f1a3eb7d1c2e8aa43b85509ab7999fe0e40 ! .github/workflows/build-cross-compile.yml Changeset: 1bbbad1d Author: Aleksey Shipilev Date: 2023-09-01 13:03:49 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/1bbbad1d2f7d95160be77455e43c21d3891c17e4 8315480: [11u] Harmonize GHA cross-compilation block with mainline Reviewed-by: fyang ! .github/workflows/build-cross-compile.yml Changeset: dc47d1fd Author: Fei Yang Date: 2023-09-01 13:22:13 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/dc47d1fd380cd9ce4d6759edf4271c49abdd46e7 8292407: Improve Weak CAS VarHandle/Unsafe tests resilience under spurious failures Reviewed-by: shade Backport-of: 6e6202c14d0f6dd26369f21883ff317057aa469f ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestBoolean.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestByte.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestChar.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestDouble.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestFloat.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestInt.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestLong.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestObject.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestShort.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestBoolean.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestByte.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestChar.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestDouble.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestFloat.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestInt.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestLong.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestObject.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestShort.java ! test/hotspot/jtreg/compiler/unsafe/X-UnsafeAccessTest.java.template ! test/jdk/java/lang/invoke/VarHandles/VarHandleBaseTest.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessBoolean.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessByte.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessChar.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessDouble.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessFloat.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessInt.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessLong.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessShort.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessString.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsDouble.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsFloat.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsInt.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsLong.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessBoolean.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessByte.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessChar.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessDouble.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessFloat.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessInt.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessLong.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessShort.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessString.java ! test/jdk/java/lang/invoke/VarHandles/X-VarHandleTestAccess.java.template ! test/jdk/java/lang/invoke/VarHandles/X-VarHandleTestByteArrayView.java.template ! test/jdk/java/lang/invoke/VarHandles/X-VarHandleTestMethodHandleAccess.java.template Changeset: 72018a19 Author: Sergey Bylokhov Date: 2023-09-01 16:34:16 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/72018a19ccbdbccb3bf22bd50f5e2e4b43d783fd 8313576: GCC 7 reports compiler warning in bundled freetype 2.13.0 Backport-of: 8248e351d0bed263fb68d8468004a4286e6391af ! make/lib/Awt2dLibraries.gmk Changeset: cf636133 Author: Fei Yang Date: 2023-09-04 11:03:27 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/cf636133d16211f9efdbca0ee4693673d1f59121 Merge remote-tracking branch 'origin/master' into riscv-port ! .jcheck/conf ! .jcheck/conf From duke at openjdk.org Tue Sep 5 07:50:06 2023 From: duke at openjdk.org (kuaiwei) Date: Tue, 5 Sep 2023 07:50:06 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v4] In-Reply-To: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: > It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. > > Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . > > - [x] slowdebug/fastdebug/release build > - [x] Benchmark: SPECJbb2015, Renaissance > - [ ] Tier1 tests > - [ ] Tier2 tests > - [ ] Tier3 tests > - [ ] Tier4 tests kuaiwei has updated the pull request incrementally with one additional commit since the last revision: Fix copyright information ------------- Changes: - all: https://git.openjdk.org/riscv-port-jdk11u/pull/3/files - new: https://git.openjdk.org/riscv-port-jdk11u/pull/3/files/1b8778b0..4c23be66 Webrevs: - full: https://webrevs.openjdk.org/?repo=riscv-port-jdk11u&pr=3&range=03 - incr: https://webrevs.openjdk.org/?repo=riscv-port-jdk11u&pr=3&range=02-03 Stats: 2 lines in 2 files changed: 1 ins; 0 del; 1 mod Patch: https://git.openjdk.org/riscv-port-jdk11u/pull/3.diff Fetch: git fetch https://git.openjdk.org/riscv-port-jdk11u.git pull/3/head:pull/3 PR: https://git.openjdk.org/riscv-port-jdk11u/pull/3 From duke at openjdk.org Tue Sep 5 07:50:06 2023 From: duke at openjdk.org (kuaiwei) Date: Tue, 5 Sep 2023 07:50:06 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v3] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Mon, 28 Aug 2023 07:14:29 GMT, Fei Yang wrote: >> kuaiwei has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 129 commits: >> >> - Build with gcc 13 >> - Save all call-clobbered registers for spark tests may crash >> - Misc adaptations to jdk11u >> - Revert JDK-8213436: Obsolete UseMembar && JDK-8188764: Obsolete AssumeMP and then remove all support for non-MP builds, always enabled >> - Revert: >> JDK-8243208: Clean up JVMFlag implementation >> JDK-8236625: Remove writeable macro from JVM flags declaration >> - Revert JDK-8220049: Obsolete ThreadLocalHandshakes >> - Revert JDK-8272873: C2: Inlining should not depend on absolute call site counts >> - Revert JDK-8220051: Remove global safepoint code >> - Revert JDK-8222637: Obsolete NeedsDeoptSuspend >> - Revert: >> JDK-8246689: Enable independent compressed oops/class ptrs on Aarch64 >> JDK-8241825: Make compressed oops and compressed class pointers independent (x86_64, PPC, S390) >> - ... and 119 more: https://git.openjdk.org/riscv-port-jdk11u/compare/b9c9c2c2...1b8778b0 > > make/autoconf/build-aux/config.guess line 3: > >> 1: #!/bin/sh >> 2: # >> 3: # Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved. > > Simillar here. Done ------------- PR Review Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#discussion_r1315496883 From duke at openjdk.org Tue Sep 5 07:50:06 2023 From: duke at openjdk.org (kuaiwei) Date: Tue, 5 Sep 2023 07:50:06 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v4] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Mon, 28 Aug 2023 07:14:13 GMT, Fei Yang wrote: >> kuaiwei has updated the pull request incrementally with one additional commit since the last revision: >> >> Fix copyright information > > test/hotspot/jtreg/serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorEventsForTwoThreadsTest.java line 2: > >> 1: /* >> 2: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. > > I didn't see any changes made in this file. So why change the copyright header? Done ------------- PR Review Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#discussion_r1315496702 From fyang at openjdk.org Wed Sep 6 06:25:08 2023 From: fyang at openjdk.org (Fei Yang) Date: Wed, 6 Sep 2023 06:25:08 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v4] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Tue, 5 Sep 2023 07:50:06 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [ ] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with one additional commit since the last revision: > > Fix copyright information Hi, may I ask if Renaissance `gauss-mix` still runs OK? I applied this patch on the latest jdk11u-dev upstream and was running this test item with a native release build. But I find that this test item never finishes running on my unmatched board with this command: java -Xmx12g -jar renaissance-gpl-0.14.2.jar -r 1 gauss-mix ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1707740357 From xlinzheng at openjdk.org Thu Sep 7 03:32:09 2023 From: xlinzheng at openjdk.org (Xiaolin Zheng) Date: Thu, 7 Sep 2023 03:32:09 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v4] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Wed, 6 Sep 2023 06:22:19 GMT, Fei Yang wrote: > Hi, may I ask if Renaissance `gauss-mix` still runs OK? I applied this patch on the latest jdk11u-dev upstream and was running this test item with a native release build. But I find that this test item never finishes running on my unmatched board (running Ubuntu 22.04.3 LTS) with this command: > > ``` > java -Xmx12g -jar renaissance-gpl-0.14.2.jar -r 1 gauss-mix > ``` I reckon that the `never finishes` issue could point to [JDK-8295926](https://bugs.openjdk.org/browse/JDK-8295926). As I remember, [JDK-8295926](https://bugs.openjdk.org/browse/JDK-8295926) exhibits failures in the `gauss-mix` test. I didn't mention Renaissance in that JBS issue since there was already one test in that PR extracted from `gauss-mix` that could reveal the bug. I have now updated the JBS issue description to include "extracted from Renaissance gauss-mix" so that we may consider it as a future backport. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1709422927 From fyang at openjdk.org Thu Sep 7 06:47:16 2023 From: fyang at openjdk.org (Fei Yang) Date: Thu, 7 Sep 2023 06:47:16 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v4] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Thu, 7 Sep 2023 03:28:50 GMT, Xiaolin Zheng wrote: > > Hi, may I ask if Renaissance `gauss-mix` still runs OK? I applied this patch on the latest jdk11u-dev upstream and was running this test item with a native release build. But I find that this test item never finishes running on my unmatched board (running Ubuntu 22.04.3 LTS) with this command: > > ``` > > java -Xmx12g -jar renaissance-gpl-0.14.2.jar -r 1 gauss-mix > > ``` > > I reckon that the `never finishes` issue could point to [JDK-8295926](https://bugs.openjdk.org/browse/JDK-8295926). As I remember, [JDK-8295926](https://bugs.openjdk.org/browse/JDK-8295926) exhibits failures in the `gauss-mix` test. I didn't mention Renaissance in that JBS issue since there was already one test in that PR extracted from `gauss-mix` that could reveal the bug. I have now updated the JBS issue description to include "extracted from Renaissance gauss-mix" so that we may consider it as a future backport. Yeah, I have verified and that fix does solve the problem here. Thanks for this helpful info. I will try to take a look at the rest of the changes. Thanks. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1709567155 From duke at openjdk.org Fri Sep 8 02:19:31 2023 From: duke at openjdk.org (duke) Date: Fri, 8 Sep 2023 02:19:31 GMT Subject: git: openjdk/riscv-port-jdk11u: riscv-port: 9 new changesets Message-ID: <2a5f732f-a165-405b-8495-9883fc50d60c@openjdk.org> Changeset: 5327f67b Author: Aleksey Shipilev Date: 2023-09-04 06:40:50 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/5327f67b9e40ad756c6616779f3a2a44cdd257f7 8313707: GHA: Bootstrap sysroots with --variant=minbase Backport-of: 29f1d8ef50e3b4b235177fd9642a1fcf26fe3bab ! .github/workflows/build-cross-compile.yml Changeset: 3eb7a82f Author: Aleksey Shipilev Date: 2023-09-05 09:48:20 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/3eb7a82fef6a6e6554aa4e640bbf4226e716e582 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev Reviewed-by: fyang Backport-of: 69d900d2ce97e5479020cff9a63c471d07e39989 ! .github/workflows/build-cross-compile.yml ! .github/workflows/main.yml Changeset: 765f6af9 Author: Aleksey Shipilev Date: 2023-09-05 09:50:14 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/765f6af9153913a272a628941cee4426cc5159cd 8313626: C2 crash due to unexpected exception control flow Backport-of: f8203cb272e6136b784e5c43a500f6a0bfb19c8b ! src/hotspot/share/opto/doCall.cpp + test/hotspot/jtreg/compiler/parsing/MissingSafepointOnTryCatch.jasm + test/hotspot/jtreg/compiler/parsing/TestMissingSafepointOnTryCatch.java Changeset: 50074a04 Author: Andrew John Hughes Date: 2023-09-05 20:48:42 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/50074a04e62f91faa080b831d9ce343396ead252 8312489: Increase jdk.jar.maxSignatureFileSize default which is too low for JARs such as WhiteSource/Mend unified agent jar Backport-of: e47a84f23dd2608c6f5748093eefe301fb5bf750 ! src/java.base/share/classes/java/util/jar/JarFile.java ! src/java.base/share/classes/sun/security/util/SignatureFileVerifier.java Changeset: 14fa970e Author: Volker Simonis Date: 2023-08-30 19:26:54 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/14fa970e610a2202c14ad0c999cf6c215bdc5e52 8315135: Memory leak in the native implementation of Pack200.Unpacker.unpack() Backport-of: b77c161e7509aa3b09ebf3e6b2b1490c0667bbdc ! src/java.base/share/classes/com/sun/java/util/jar/pack/NativeUnpack.java ! src/java.base/share/classes/com/sun/java/util/jar/pack/UnpackerImpl.java ! src/jdk.pack/share/native/libunpack/jni.cpp + test/jdk/tools/pack200/UnpackMalformed.java Changeset: d4e7c767 Author: Martin Doerr Date: 2023-09-04 08:37:48 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/d4e7c767444c3a8f26947dcdc4f899dcdadca447 8314960: Add Certigna Root CA - 2 Backport-of: a44f8b059847135ecd0618cb04abbb0d2be1d2d0 + make/data/cacerts/certignarootca - test/jdk/security/infra/java/security/cert/CertPathValidator/certification/CertignaCA.java + test/jdk/security/infra/java/security/cert/CertPathValidator/certification/CertignaRoots.java ! test/jdk/sun/security/lib/cacerts/VerifyCACerts.java Changeset: 423e9698 Author: Christoph Langer Date: 2023-09-07 06:26:28 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/423e9698c03535ed6803c58c0331947a25c50627 Merge Changeset: bcce7afb Author: Andrew Lu Committer: Martin Doerr Date: 2023-09-07 08:04:48 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/bcce7afba4503e3bc9f1d7dc2aa7de7eca86c764 8306372: Open source AWT CardLayout and Checkbox tests Backport-of: 781d6d793ad4cecb774bcbcb362c726779408ffd + test/jdk/java/awt/CardLayout/CardsOrderTest.java + test/jdk/java/awt/CardLayout/ObedienceTest.java + test/jdk/java/awt/Checkbox/CheckboxCrashTest.java + test/jdk/java/awt/Checkbox/MultiCheckedCheckboxGroupTest.java + test/jdk/java/awt/Checkbox/NullCheckboxGroupTest.java + test/jdk/java/awt/Checkbox/SetCheckboxGroupNull.java Changeset: 16bc06c5 Author: Fei Yang Date: 2023-09-08 10:14:44 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/16bc06c5a10a12e36c2af5aeff8d579730013b4d Merge remote-tracking branch 'origin/master' into riscv-port From duke at openjdk.org Tue Sep 12 07:49:15 2023 From: duke at openjdk.org (kuaiwei) Date: Tue, 12 Sep 2023 07:49:15 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v4] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Tue, 5 Sep 2023 07:50:06 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [ ] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with one additional commit since the last revision: > > Fix copyright information Update the jtreg result of tier1. The test jdk is a release build and tests are running on milkv hardware. - hotspot: 1 error , 20 failed compiler/c2/irTests/TestDebugInfo.java compiler/jsr292/cr8026328/Test8026328.java runtime/SharedArchiveFile/serviceability/ReplaceCriticalClasses.java runtime/jni/checked/TestCheckedEnsureLocalCapacity.java runtime/jni/checked/TestCheckedReleaseCriticalArray.java serviceability/jvmti/RedefineClasses/RedefineDoubleDelete.java serviceability/sa/ClhsdbCDSJstackPrintAll.java serviceability/sa/ClhsdbFindPC.java serviceability/sa/ClhsdbInspect.java serviceability/sa/ClhsdbJdis.java serviceability/sa/ClhsdbJstack.java serviceability/sa/ClhsdbJstackXcompStress.java serviceability/sa/ClhsdbPrintAs.java serviceability/sa/ClhsdbPstack.java serviceability/sa/ClhsdbSource.java serviceability/sa/ClhsdbThread.java serviceability/sa/ClhsdbWhere.java serviceability/sa/JhsdbThreadInfoTest.java serviceability/sa/TestClhsdbJstackLock.java serviceability/sa/TestJhsdbJstackLock.java serviceability/sa/TestJhsdbJstackMixed.java serviceability/sa/sadebugd/DebugdConnectTest.java - jdk: 1 error, 3 fail java/lang/invoke/LFCaching/LFGarbageCollectedTest.java java/lang/StackWalker/StackWalkTest.java java/util/TimeZone/DefaultTimeZoneTest.java jdk/modules/etc/DefaultModules.java - langtools: 8 error, 4 failed jdk/javadoc/tool/enum/docComments/Main.java jdk/javadoc/tool/enum/enumType/Main.java jdk/javadoc/tool/varArgs/Main.java tools/javac/6257443/T6257443.java tools/javac/8074306/TestSyntheticNullChecks.java tools/javac/StringConcat/TestIndyStringConcat.java tools/javac/jvm/ClassRefDupInConstantPoolTest.java tools/javac/warnings/suppress/PackageInfo.java tools/javap/T6587786.java tools/sjavac/ApiExtraction.java tools/sjavac/ClasspathDependencies.java tools/sjavac/IgnoreSymbolFile.java ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1715175138 From fyang at openjdk.org Tue Sep 12 10:26:14 2023 From: fyang at openjdk.org (Fei Yang) Date: Tue, 12 Sep 2023 10:26:14 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v4] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Tue, 5 Sep 2023 07:50:06 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [ ] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with one additional commit since the last revision: > > Fix copyright information I checked and it seems that this contains fixes for the following two issues: https://bugs.openjdk.org/browse/JDK-8282306: os::is_first_C_frame(frame*) crashes on invalid link access https://bugs.openjdk.org/browse/JDK-8291952: riscv: Remove PRAGMA_NONNULL_IGNORED Please relate this PR with these two issues. You can use the `issue` command: https://wiki.openjdk.org/display/SKARA/Pull+Request+Commands#PullRequestCommands-/issue ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1715452818 From fyang at openjdk.org Tue Sep 12 10:34:10 2023 From: fyang at openjdk.org (Fei Yang) Date: Tue, 12 Sep 2023 10:34:10 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v4] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Tue, 12 Sep 2023 07:44:52 GMT, kuaiwei wrote: > Update the jtreg result of tier1. The test jdk is a release build and tests are running on milkv hardware. Could it be that this is somehow related to the Linux distro on MilkV? IIRC, the distro suggested by the vender of this board is not an LTS version. I didn't witness those failures when testing on my HiFive Unmatched running running Ubuntu 22.04.3 LTS. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1715464405 From duke at openjdk.org Tue Sep 12 11:11:08 2023 From: duke at openjdk.org (kuaiwei) Date: Tue, 12 Sep 2023 11:11:08 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v4] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Tue, 12 Sep 2023 10:29:46 GMT, Fei Yang wrote: > > Update the jtreg result of tier1. The test jdk is a release build and tests are running on milkv hardware. > > Could it be that this is somehow related to the Linux distro on MilkV? IIRC, the distro suggested by the vender of this board is customized and is not an LTS version. I didn't witness those failures when testing on my HiFive Unmatched running running Ubuntu 22.04.3 LTS. Some failure are from environment setup. For example, no X11 display. I'm checking the jtr file to verify. So far I don't find error related with OS. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1715517704 From duke at openjdk.org Tue Sep 12 11:11:08 2023 From: duke at openjdk.org (kuaiwei) Date: Tue, 12 Sep 2023 11:11:08 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v4] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Tue, 12 Sep 2023 10:23:18 GMT, Fei Yang wrote: > I checked and it seems that this contains fixes for the following two issues: https://bugs.openjdk.org/browse/JDK-8282306: os::is_first_C_frame(frame*) crashes on invalid link access https://bugs.openjdk.org/browse/JDK-8291952: riscv: Remove PRAGMA_NONNULL_IGNORED > > Please relate this PR with these two issues. You can use the `issue` command: https://wiki.openjdk.org/display/SKARA/Pull+Request+Commands#PullRequestCommands-/issue Thanks for your info , I will check them. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1715518749 From duke at openjdk.org Wed Sep 13 11:16:13 2023 From: duke at openjdk.org (kuaiwei) Date: Wed, 13 Sep 2023 11:16:13 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v4] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Tue, 5 Sep 2023 07:50:06 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [ ] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with one additional commit since the last revision: > > Fix copyright information It looks https://bugs.openjdk.org/browse/JDK-8247533 can fix the Clhsdb test error ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1717426499 From duke at openjdk.org Thu Sep 14 10:55:15 2023 From: duke at openjdk.org (kuaiwei) Date: Thu, 14 Sep 2023 10:55:15 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v5] In-Reply-To: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: > It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. > > Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . > > - [x] slowdebug/fastdebug/release build > - [x] Benchmark: SPECJbb2015, Renaissance > - [ ] Tier1 tests > - [ ] Tier2 tests > - [ ] Tier3 tests > - [ ] Tier4 tests kuaiwei has updated the pull request incrementally with one additional commit since the last revision: 8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp Reviewed-by: sspitsyn, ysuenaga, dtitov ------------- Changes: - all: https://git.openjdk.org/riscv-port-jdk11u/pull/3/files - new: https://git.openjdk.org/riscv-port-jdk11u/pull/3/files/4c23be66..70a060f7 Webrevs: - full: https://webrevs.openjdk.org/?repo=riscv-port-jdk11u&pr=3&range=04 - incr: https://webrevs.openjdk.org/?repo=riscv-port-jdk11u&pr=3&range=03-04 Stats: 61 lines in 9 files changed: 34 ins; 0 del; 27 mod Patch: https://git.openjdk.org/riscv-port-jdk11u/pull/3.diff Fetch: git fetch https://git.openjdk.org/riscv-port-jdk11u.git pull/3/head:pull/3 PR: https://git.openjdk.org/riscv-port-jdk11u/pull/3 From duke at openjdk.org Fri Sep 15 02:49:01 2023 From: duke at openjdk.org (duke) Date: Fri, 15 Sep 2023 02:49:01 GMT Subject: git: openjdk/riscv-port-jdk11u: riscv-port: 13 new changesets Message-ID: Changeset: 0fd1ce3e Author: Christoph Langer Date: 2023-09-11 13:22:08 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/0fd1ce3eea2bc425f1d3f2440743b8bb9aae8188 8233847: (sctp) Flx link-local IPv6 scope handling and test cleanup. Backport-of: 76e5a32c52c670173ded80eb10f5afd715f472cd ! src/java.base/share/classes/module-info.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/HandlerResult.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpNet.java ! test/jdk/com/sun/nio/sctp/SctpChannel/Bind.java ! test/jdk/com/sun/nio/sctp/SctpChannel/CommUp.java ! test/jdk/com/sun/nio/sctp/SctpChannel/Connect.java ! test/jdk/com/sun/nio/sctp/SctpChannel/SocketOptionTests.java ! test/jdk/com/sun/nio/sctp/SctpMultiChannel/Branch.java ! test/jdk/com/sun/nio/sctp/SctpMultiChannel/Send.java ! test/jdk/com/sun/nio/sctp/SctpMultiChannel/SendFailed.java ! test/jdk/com/sun/nio/sctp/SctpMultiChannel/SocketOptionTests.java Changeset: 0713dbb1 Author: Fei Yang Date: 2023-09-12 01:06:42 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/0713dbb1ce95ba0d3b9c7331890cff1f73ddb1e0 8292713: Unsafe.allocateInstance should be intrinsified without UseUnalignedAccesses Reviewed-by: phh Backport-of: c0623972cffdbcd7f80e84a1ec344fd382a4a5cc ! src/hotspot/share/classfile/vmSymbols.cpp Changeset: 0d9a364d Author: Andrew Lu Committer: Martin Doerr Date: 2023-09-13 20:54:29 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/0d9a364d00054c7565bd0c09b56803541fd56253 8306135: Clean up and open source some AWT tests Reviewed-by: mdoerr Backport-of: 4ad3ac6317f6fc95fdf0340885d4099e785132ad + test/jdk/java/awt/Cursor/SingleColorCursorTest.java + test/jdk/java/awt/Dialog/ComponentShownEvent.java + test/jdk/java/awt/Dialog/DialogAsParentOfFileDialog.java Changeset: 470789a6 Author: Chad Rakoczy Committer: Martin Doerr Date: 2023-09-13 20:55:20 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/470789a62a9b269f4e33e759c24425e4d66a686a 8311813: C1: Uninitialized PhiResolver::_loop field Reviewed-by: shade Backport-of: 489a32fe40e2a2c539296d51d4ffc0abc036d33c ! src/hotspot/share/c1/c1_LIRGenerator.cpp Changeset: 3dd87610 Author: Andrew Lu Committer: Martin Doerr Date: 2023-09-13 20:57:09 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/3dd87610f95e309f6074e95bb6368ac46b0fa635 8306575: Clean up and open source four Dialog related tests Reviewed-by: mdoerr Backport-of: 8d696aea9e1cefca97a760c017a5fde545facaa9 + test/jdk/java/awt/Dialog/DialogDeadlockTest.java + test/jdk/java/awt/Dialog/DialogLocationTest.java + test/jdk/java/awt/Dialog/ModalDialogOnNonEdt.java + test/jdk/java/awt/Dialog/NewMessagePumpTest.java Changeset: d77215ac Author: Martin Doerr Date: 2023-09-07 13:26:25 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/d77215acdd6b9008d7f58c7ad5a82d6087c20f86 8299658: C1 compilation crashes in LinearScan::resolve_exception_edge Reviewed-by: mbaesken Backport-of: cf2d33ca2ee08c61596ab10b7602500a6931fa31 ! src/hotspot/share/c1/c1_LinearScan.cpp Changeset: d4254d5e Author: Christoph Langer Date: 2023-09-11 13:22:35 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/d4254d5edf1695e17c1a47d9d81e99b61c2161aa 8315529: [11u] Exclude some failing Z-GC tests Reviewed-by: mdoerr ! test/hotspot/jtreg/ProblemList.txt Changeset: 269224c8 Author: Goetz Lindenmaier Date: 2023-09-14 06:28:37 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/269224c81b259136312a1969e2f4d38f45608544 Merge Changeset: 5c7ec0de Author: Christoph Langer Date: 2023-09-14 15:31:56 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/5c7ec0dea6751a256db2a7373420863040a21804 8315862: [11u] Backport 8227337: javax/management/remote/mandatory/connection/ReconnectTest.java NoSuchObjectException no such object in table Reviewed-by: mdoerr ! test/jdk/javax/management/remote/mandatory/connection/MultiThreadDeadLockTest.java ! test/jdk/javax/management/remote/mandatory/connection/ReconnectTest.java Changeset: 22dd2d38 Author: Christoph Langer Date: 2023-09-14 15:34:14 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/22dd2d3801f2603b18b5da7b81afc2e4ee086f6e 8207166: jdk/jshell/JdiHangingLaunchExecutionControlTest.java - launch timeout Backport-of: c4612c12e63a2d8c79beacec528ea29bc8c1c058 ! test/langtools/jdk/jshell/HangingRemoteAgent.java ! test/langtools/jdk/jshell/JdiHangingLaunchExecutionControlTest.java Changeset: 94c048f9 Author: Christoph Langer Date: 2023-09-14 15:34:53 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/94c048f909c7d9180266db526dc309cb4e2e8cef 8314094: java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges Backport-of: 69c9ec92d04a399946b2157690a1dc3fec517329 ! test/jdk/java/lang/ProcessHandle/InfoTest.java Changeset: de3589ca Author: Christoph Langer Date: 2023-09-14 15:37:00 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/de3589ca473c141237449e378121f18c7aacaad9 8205467: javax/management/remote/mandatory/connection/MultiThreadDeadLockTest.java possible deadlock Backport-of: f243b281ea40c04ffbb60849844e1e4c3aa6f5cc ! test/jdk/javax/management/remote/mandatory/connection/MultiThreadDeadLockTest.java Changeset: 19404586 Author: Fei Yang Date: 2023-09-15 10:46:54 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/194045862a27848c255d03c672b20231ac7ada7d Merge remote-tracking branch 'origin/master' into riscv-port From fyang at openjdk.org Fri Sep 15 03:31:06 2023 From: fyang at openjdk.org (Fei Yang) Date: Fri, 15 Sep 2023 03:31:06 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v4] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Wed, 13 Sep 2023 11:13:09 GMT, kuaiwei wrote: > It looks https://bugs.openjdk.org/browse/JDK-8247533 can fix the Clhsdb test error Better to backport this fix in jdk11u-dev upstream if it really resolves this error. Then we can merge master and bring it to our riscv-port-jdk11u repo. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1720432179 From duke at openjdk.org Mon Sep 18 08:10:15 2023 From: duke at openjdk.org (Andreas Schwab) Date: Mon, 18 Sep 2023 08:10:15 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v5] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Thu, 14 Sep 2023 10:55:15 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [ ] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with one additional commit since the last revision: > > 8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp > > Reviewed-by: sspitsyn, ysuenaga, dtitov https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:riscv:java:test/java-11-openjdk/standard/riscv64 # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (output.cpp:1491), pid=22959, tid=23799 # guarantee((int)(blk_starts[i+1] - blk_starts[i]) >= (current_offset - blk_offset)) failed: shouldn't increase block size # # JRE version: OpenJDK Runtime Environment (11.0.22) (build 11.0.22+0-suse-273.1-riscv64) # Java VM: OpenJDK 64-Bit Server VM (11.0.22+0-suse-273.1-riscv64, mixed mode, tiered, compressed oops, g1 gc, linux-riscv64) # Core dump will be written. Default location: /.build/cores/22959 # # An error report file with more information is saved as: # /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/make/hs_err_pid22959.log [thread 22982 also had an error] # # Compiler replay data is saved as: # /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/make/replay_pid22959.log # # If you would like to submit a bug report, please visit: # https://bugreport.java.com/bugreport/crash.jsp # /usr/bin/bash: line 1: 22959 Aborted /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/build/jdk/bin/jlink -J-Djlink.debug=true --module-path /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/build/images/jmods --endian little --release-info /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/build/jdk/release --order-resources=**module-info.class,@/home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/build/support/link_opt/classlist,/java.base/java/**,/java.base/jdk/**,/java.base/sun/**,/java.base/com/**,/jdk.localedata/** --dedup-legal-notices=error-if-not-same-content --generate-jli-classes=@/home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/build/support/link_opt/default_jli_trace.txt --add-modules java.base,java.compiler,java.datatransfer,java.desktop,java.instrument,java.logging,java.management,java.management.rmi,java.naming,java.net.http,java.prefs,java.rmi,java.scripting,java.se,java.security.jgss,java.security.sasl,java.smartcardio,java.sql,java.sql.rowset,java.transact ion.xa,java.xml,java.xml.crypto,jdk.accessibility,jdk.attach,jdk.charsets,jdk.compiler,jdk.crypto.cryptoki,jdk.crypto.ec,jdk.dynalink,jdk.editpad,jdk.hotspot.agent,jdk.httpserver,jdk.internal.ed,jdk.internal.jvmstat,jdk.internal.le,jdk.internal.opt,jdk.jartool,jdk.javadoc,jdk.jcmd,jdk.jconsole,jdk.jdeps,jdk.jdi,jdk.jdwp.agent,jdk.jfr,jdk.jlink,jdk.jshell,jdk.jsobject,jdk.jstatd,jdk.localedata,jdk.management,jdk.management.agent,jdk.management.jfr,jdk.naming.dns,jdk.naming.ldap,jdk.naming.rmi,jdk.net,jdk.pack,jdk.rmic,jdk.scripting.nashorn,jdk.scripting.nashorn.shell,jdk.sctp,jdk.security.auth,jdk.security.jgss,jdk.unsupported,jdk.unsupported.desktop,jdk.xml.dom,jdk.zipfs --output /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/build/images/jdk > >(/usr/bin/tee -a /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/build/support/images/jdk.log) 2> >(/usr/bin/tee -a /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/build/support/images/jdk.log 1>&2) ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1722933338 From vkempik at openjdk.org Mon Sep 18 09:06:19 2023 From: vkempik at openjdk.org (Vladimir Kempik) Date: Mon, 18 Sep 2023 09:06:19 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v5] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: <74T1FgejZH7PYDdBZJMdE44QQoUWL5e2XpODZy42ePY=.2714ff64-de9f-4a2c-b29d-f419c644678a@github.com> On Thu, 14 Sep 2023 10:55:15 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [ ] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with one additional commit since the last revision: > > 8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp > > Reviewed-by: sspitsyn, ysuenaga, dtitov Looks like CodeBuffer should be increased for riscv port at jdk11 ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1723015021 From duke at openjdk.org Tue Sep 19 12:04:18 2023 From: duke at openjdk.org (kuaiwei) Date: Tue, 19 Sep 2023 12:04:18 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v5] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Mon, 18 Sep 2023 08:07:11 GMT, Andreas Schwab wrote: >> kuaiwei has updated the pull request incrementally with one additional commit since the last revision: >> >> 8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp >> >> Reviewed-by: sspitsyn, ysuenaga, dtitov > > https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:riscv:java:test/java-11-openjdk/standard/riscv64 > > # > # A fatal error has been detected by the Java Runtime Environment: > # > # Internal Error (output.cpp:1491), pid=22959, tid=23799 > # guarantee((int)(blk_starts[i+1] - blk_starts[i]) >= (current_offset - blk_offset)) failed: shouldn't increase block size > # > # JRE version: OpenJDK Runtime Environment (11.0.22) (build 11.0.22+0-suse-273.1-riscv64) > # Java VM: OpenJDK 64-Bit Server VM (11.0.22+0-suse-273.1-riscv64, mixed mode, tiered, compressed oops, g1 gc, linux-riscv64) > # Core dump will be written. Default location: /.build/cores/22959 > # > # An error report file with more information is saved as: > # /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/make/hs_err_pid22959.log > [thread 22982 also had an error] > # > # Compiler replay data is saved as: > # /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/make/replay_pid22959.log > # > # If you would like to submit a bug report, please visit: > # https://bugreport.java.com/bugreport/crash.jsp > # > /usr/bin/bash: line 1: 22959 Aborted /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/build/jdk/bin/jlink -J-Djlink.debug=true --module-path /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/build/images/jmods --endian little --release-info /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/build/jdk/release --order-resources=**module-info.class,@/home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/build/support/link_opt/classlist,/java.base/java/**,/java.base/jdk/**,/java.base/sun/**,/java.base/com/**,/jdk.localedata/** --dedup-legal-notices=error-if-not-same-content --generate-jli-classes=@/home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.21-7/build/support/link_opt/default_jli_trace.txt --add-modules java.base,java.compiler,java.datatransfer,java.desktop,java.instrument,java.logging,java.management,java.management.rmi,java.naming,java.net.http,java.prefs,java.rmi,java.scripting,java.se,java.security.jgss,java.security.sasl,java.smartcardio,java.sql,java.sql.rowset,java.transa ction.xa,java.xml,java.xml.crypto,jdk.accessibility,jdk.attach,jdk.charsets,jdk.compiler,jdk.crypto.cryptoki,jdk.crypto.ec,jdk.dynalink,jdk.editpad,jdk.hotspot.agent,jdk.httpserver,jdk.internal.ed,jdk.internal.jvmstat,jdk.internal.le,jdk.internal.opt,jdk.jartool,jdk.javadoc,jdk.jcmd,jdk.jconsole,jdk.jdeps,jdk.jdi,jdk.jdwp.agent,jdk.jfr,jdk.jlink,jdk.jshell,jdk.jsobject,jdk.jstatd,jdk.localedata,jdk.management,jdk.management.agent,jdk.management.j... @andreas-schwab I can not reproduce the error in my server. Can you provide more detail of your build environment? Does it run in qemu or hardware? Which version is gcc and glibc? ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1725370815 From duke at openjdk.org Tue Sep 19 12:21:16 2023 From: duke at openjdk.org (Andreas Schwab) Date: Tue, 19 Sep 2023 12:21:16 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v5] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Thu, 14 Sep 2023 10:55:15 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [ ] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with one additional commit since the last revision: > > 8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp > > Reviewed-by: sspitsyn, ysuenaga, dtitov You should be able to find the needed information in the logfile. All builds in openSUSE Tumbleweed use the qemu linux-user emulation. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1725402767 From duke at openjdk.org Tue Sep 19 12:28:18 2023 From: duke at openjdk.org (Andreas Schwab) Date: Tue, 19 Sep 2023 12:28:18 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v5] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Thu, 14 Sep 2023 10:55:15 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [ ] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with one additional commit since the last revision: > > 8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp > > Reviewed-by: sspitsyn, ysuenaga, dtitov Note that jdk19+ are building ok in the same environment. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1725412841 From duke at openjdk.org Wed Sep 20 11:25:25 2023 From: duke at openjdk.org (Andreas Schwab) Date: Wed, 20 Sep 2023 11:25:25 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v5] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Thu, 14 Sep 2023 10:55:15 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [ ] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with one additional commit since the last revision: > > 8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp > > Reviewed-by: sspitsyn, ysuenaga, dtitov The error doesn't happen reliably. I have to run the failing command several times to reproduce it. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1727529736 From vkempik at openjdk.org Wed Sep 20 11:53:17 2023 From: vkempik at openjdk.org (Vladimir Kempik) Date: Wed, 20 Sep 2023 11:53:17 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v5] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: <1SKD5rG5nskwBSmIBPuLmKkC_R81PMqH0ysSDYylatg=.1b636a0f-fb96-469a-aa0b-0904a1182ffc@github.com> On Thu, 14 Sep 2023 10:55:15 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [ ] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with one additional commit since the last revision: > > 8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp > > Reviewed-by: sspitsyn, ysuenaga, dtitov Try the fastdebug to reproduce the issue, may get use more information than this failed guarantee ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1727571120 From duke at openjdk.org Wed Sep 20 12:17:27 2023 From: duke at openjdk.org (kuaiwei) Date: Wed, 20 Sep 2023 12:17:27 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v6] In-Reply-To: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: > It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. > > Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . > > - [x] slowdebug/fastdebug/release build > - [x] Benchmark: SPECJbb2015, Renaissance > - [ ] Tier1 tests > - [ ] Tier2 tests > - [ ] Tier3 tests > - [ ] Tier4 tests kuaiwei has updated the pull request incrementally with three additional commits since the last revision: - 8287418: riscv: Fix correctness issue of MacroAssembler::movptr Reviewed-by: fjiang, yadongwang, fyang - 8285437: riscv: Fix MachNode size mismatch for MacroAssembler::verify_oops* Reviewed-by: shade, fyang - 8283737: riscv: MacroAssembler::stop() should emit fixed-length instruction sequence Reviewed-by: fyang, shade ------------- Changes: - all: https://git.openjdk.org/riscv-port-jdk11u/pull/3/files - new: https://git.openjdk.org/riscv-port-jdk11u/pull/3/files/70a060f7..5cab06c6 Webrevs: - full: https://webrevs.openjdk.org/?repo=riscv-port-jdk11u&pr=3&range=05 - incr: https://webrevs.openjdk.org/?repo=riscv-port-jdk11u&pr=3&range=04-05 Stats: 32 lines in 4 files changed: 10 ins; 0 del; 22 mod Patch: https://git.openjdk.org/riscv-port-jdk11u/pull/3.diff Fetch: git fetch https://git.openjdk.org/riscv-port-jdk11u.git pull/3/head:pull/3 PR: https://git.openjdk.org/riscv-port-jdk11u/pull/3 From duke at openjdk.org Wed Sep 20 12:17:31 2023 From: duke at openjdk.org (kuaiwei) Date: Wed, 20 Sep 2023 12:17:31 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v5] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Wed, 20 Sep 2023 11:22:31 GMT, Andreas Schwab wrote: >> kuaiwei has updated the pull request incrementally with one additional commit since the last revision: >> >> 8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp >> >> Reviewed-by: sspitsyn, ysuenaga, dtitov > > The error doesn't happen reliably. I have to run the failing command > several times to reproduce it. @andreas-schwab The error looks come from incorrect instruction size. There's some patches in openjdk master about them. 8283737: riscv: MacroAssembler::stop() should emit fixed-length instruction sequence 8285437: riscv: Fix MachNode size mismatch for MacroAssembler::verify_oops* 8287418: riscv: Fix correctness issue of MacroAssembler::movptr I cherry-pick them and passed build in my environment. Can you test with new patches? ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1727589210 From duke at openjdk.org Wed Sep 20 12:17:33 2023 From: duke at openjdk.org (kuaiwei) Date: Wed, 20 Sep 2023 12:17:33 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v5] In-Reply-To: <1SKD5rG5nskwBSmIBPuLmKkC_R81PMqH0ysSDYylatg=.1b636a0f-fb96-469a-aa0b-0904a1182ffc@github.com> References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> <1SKD5rG5nskwBSmIBPuLmKkC_R81PMqH0ysSDYylatg=.1b636a0f-fb96-469a-aa0b-0904a1182ffc@github.com> Message-ID: On Wed, 20 Sep 2023 11:50:33 GMT, Vladimir Kempik wrote: > Try the fastdebug to reproduce the issue, may get use more information than this failed guarantee Thanks for the suggestion. I tried fastdebug build and can not reproduce. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1727591726 From duke at openjdk.org Wed Sep 20 12:18:11 2023 From: duke at openjdk.org (Andreas Schwab) Date: Wed, 20 Sep 2023 12:18:11 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v5] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Thu, 14 Sep 2023 10:55:15 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [ ] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with one additional commit since the last revision: > > 8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp > > Reviewed-by: sspitsyn, ysuenaga, dtitov What is fastdebug? ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1727607165 From duke at openjdk.org Wed Sep 20 12:18:11 2023 From: duke at openjdk.org (kuaiwei) Date: Wed, 20 Sep 2023 12:18:11 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v4] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Fri, 15 Sep 2023 03:28:23 GMT, Fei Yang wrote: > > It looks https://bugs.openjdk.org/browse/JDK-8247533 can fix the Clhsdb test error > > Better to backport this fix in jdk11u-dev upstream if it really resolves this error. Then we can merge master and bring it to our riscv-port-jdk11u repo. I may revert the change. Because I find the root cause of Clhsdb test failure is ptrace function is not fully supported in linux riscv. For example, PTRACE_GETREGS. We cat set kernel parameter "sysctl -w kernel.yama.ptrace_scope=1" to pass these tests. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1727597793 From vkempik at openjdk.org Wed Sep 20 12:28:12 2023 From: vkempik at openjdk.org (Vladimir Kempik) Date: Wed, 20 Sep 2023 12:28:12 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v5] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Wed, 20 Sep 2023 12:16:09 GMT, Andreas Schwab wrote: > What is fastdebug? --with-debug-level=fastdebug configure option ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1727621121 From xlinzheng at openjdk.org Thu Sep 21 03:39:11 2023 From: xlinzheng at openjdk.org (Xiaolin Zheng) Date: Thu, 21 Sep 2023 03:39:11 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v5] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Wed, 20 Sep 2023 12:16:09 GMT, Andreas Schwab wrote: >> kuaiwei has updated the pull request incrementally with one additional commit since the last revision: >> >> 8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp >> >> Reviewed-by: sspitsyn, ysuenaga, dtitov > > What is fastdebug? @andreas-schwab Looks like your latest fastdebug build shows some helpful information. https://build.opensuse.org/package/live_build_log/home:Andreas_Schwab:riscv:java:test/java-11-openjdk/standard/riscv64 ... ... [16101s] 252 Epilog === [[]] [-2147254162] [16101s] # pop frame 64 [16101s] add sp, sp, #64 [16101s] ld ra, [sp,#-16] [16101s] ld fp, [sp,#-8] [16101s] # touch polling page [16101s] li t0, #0x2aaabcde1000 [16101s] ld zr, [t0] n_size (272), current_offset (632), instr_offset (352) [16101s] Could not load hsdis-riscv64.so; library not loadable; PrintAssembly is disabled [16101s] ------------------- [16101s] # To suppress the following error report, specify this argument [16101s] # after -XX: or in .hotspotrc: SuppressErrorAt=/output.cpp:1416 [16101s] # [16101s] # A fatal error has been detected by the Java Runtime Environment: ... ... It looks very similar to [JDK-8283737](https://bugs.openjdk.org/browse/JDK-8283737), which has been pushed to this PR and shares a similar trace of `li` emissions: MachEpilogNode::emit -> reserved_stack_check() -> should_not_reach_here() -> stop(const char *msg) In that case, the second `li()` may not generate a fixed-length instruction size, depending on the current PC address within the code buffer that contains instructions emitted from `MacroAssembler::stop`. I assume this shall fix the issue in your CI with the latest version of this PR. However, your CI still fails - so I was wondering if you have installed the latest version of this PR? Thanks. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1728716579 From duke at openjdk.org Thu Sep 21 10:42:16 2023 From: duke at openjdk.org (Andreas Schwab) Date: Thu, 21 Sep 2023 10:42:16 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v6] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Wed, 20 Sep 2023 12:17:27 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [ ] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with three additional commits since the last revision: > > - 8287418: riscv: Fix correctness issue of MacroAssembler::movptr > > Reviewed-by: fjiang, yadongwang, fyang > - 8285437: riscv: Fix MachNode size mismatch for MacroAssembler::verify_oops* > > Reviewed-by: shade, fyang > - 8283737: riscv: MacroAssembler::stop() should emit fixed-length instruction sequence > > Reviewed-by: fyang, shade The test build is building what is in pull/3/merge, so it contains all three recent updates. That means there is still something missing. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1729309756 From duke at openjdk.org Thu Sep 21 12:41:40 2023 From: duke at openjdk.org (kuaiwei) Date: Thu, 21 Sep 2023 12:41:40 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v6] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: <76fE2V831UhJgXqLem3cotDMet1nTKf67sYgiRgpams=.bd34666c-1fc0-4154-90e6-d80322872df4@github.com> On Thu, 21 Sep 2023 10:39:16 GMT, Andreas Schwab wrote: > The test build is building what is in pull/3/merge, so it contains all three recent updates. That means there is still something missing. [ 5784s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.22-0/build/support/demos/classes/jfc/SwingSet2/ resources/images/filechooser [ 5784s] 6393 Epilog === [[]] [1942606393] [ 5784s] # pop frame 144 [ 5784s] add sp, sp, #144 [ 5784s] ld ra, [sp,#-16] [ 5784s] ld fp, [sp,#-8] [ 5784s] # touch polling page [ 5784s] li t0, #0x2aaab54b3000 [ 5784s] ld zr, [t0] n_size (272), current_offset (3424), instr_offset (3144) [ 5784s] Could not load hsdis-riscv64.so; library not loadable; PrintAssembly is disabled [ 5784s] ------------------- [ 5784s] # To suppress the following error report, specify this argument [ 5784s] # after -XX: or in .hotspotrc: SuppressErrorAt=/output.cpp:1416 [ 5784s] # [ 5784s] # A fatal error has been detected by the Java Runtime Environment: [ 5784s] # [ 5784s] # Internal ErrorCompileDemos.gmk:179: Building /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.22-0/build/support/demos/ classes/jfc/SwingSet2/resources/images/filechooser/gifIcon.gif (from /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.22-0/src/demo/ share/jfc/SwingSet2/resources/images/filechooser/gifIcon.gif) (/home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.22-0/src/demo/share/ jfc/SwingSet2/resources/images/filechooser/gifIcon.gif newer) [ 5784s] /usr/bin/cp /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.22-0/src/demo/share/jfc/SwingSet2/resources/images/filechooser/ gifIcon.gif /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.22-0/build/support/demos/classes/jfc/SwingSet2/resources/images/ filechooser/gifIcon.gif [ 5784s] (/home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.22-0/src/hotspot/share/opto/output.cpp:1416), pid=1527, tid=3110 [ 5784s] # assert(false) failed: wrong size of mach node [ 5784s] # [ 5784s] # JRE version: OpenJDK Runtime Environment (11.0.22) (slowdebug build 11.0.22+0-suse-277.1-riscv64) [ 5784s] # Java VM: OpenJDK 64-Bit Server VM (slowdebug 11.0.22+0-suse-277.1-riscv64, mixed mode, tiered, compressed oops, g1 gc, linux-riscv64) [ 5784s] # Core dump will be written. Default location: /.build/cores/1527 [ 5784s] # [ 5784s] # An error report file with more information is saved as: [ 5784s] # /home/abuild/rpmbuild/BUILD/jdk11u-jdk-11.0.22-0/make/hs_err_pid1527.log Could you attache the hs_err_pid1527.log ? It can be help to check stack trace. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1729484411 From xlinzheng at openjdk.org Thu Sep 21 15:28:27 2023 From: xlinzheng at openjdk.org (Xiaolin Zheng) Date: Thu, 21 Sep 2023 15:28:27 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v6] In-Reply-To: <76fE2V831UhJgXqLem3cotDMet1nTKf67sYgiRgpams=.bd34666c-1fc0-4154-90e6-d80322872df4@github.com> References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> <76fE2V831UhJgXqLem3cotDMet1nTKf67sYgiRgpams=.bd34666c-1fc0-4154-90e6-d80322872df4@github.com> Message-ID: <6ZhN_mi__6nK_W4DUP0GWvWGk-Umd1149A3O_CyQV_w=.1b393631-3cbd-47b5-852b-7be138492d63@github.com> On Thu, 21 Sep 2023 12:38:09 GMT, kuaiwei wrote: > The test build is building what is in pull/3/merge, so it contains all three recent updates. That means there is still something missing. Thanks for your confirmation and that helps. I see the root cause after another examination of the code. Shortly, here is the fix. commit d57bb681fbb31a7f405c18ac9ef7e328d54e3797 (HEAD -> pull/3-fix) Author: Xiaolin Zheng Date: Thu Sep 21 22:58:59 2023 +0800 Fix: Fixed-length mv() mistakenly redirected to li() during reshaping Caused by: https://github.com/openjdk/riscv-port-jdk11u/pull/3/commits/d8b14fd5e6455b47cfcb02d13c0c24c74e824570#diff-7a5c3ed05b6f3f06ed1c59f5fc2a14ec566a6a5bd1d09606115767daa99115bdL1367-L1372 diff --git a/src/hotspot/cpu/riscv/macroAssembler_riscv.cpp b/src/hotspot/cpu/riscv/macroAssembler_riscv.cpp index f592d7585d..f851cc1e41 100644 --- a/src/hotspot/cpu/riscv/macroAssembler_riscv.cpp +++ b/src/hotspot/cpu/riscv/macroAssembler_riscv.cpp @@ -1343,6 +1343,12 @@ void MacroAssembler::mv(Register Rd, Address dest) { movptr(Rd, dest.target()); } +void MacroAssembler::mv(Register Rd, address addr) { + // Here in case of use with relocation, use fix length instruction + // movptr instead of li + movptr(Rd, addr); +} + void MacroAssembler::mv(Register Rd, RegisterOrConstant src) { if (src.is_register()) { mv(Rd, src.as_register()); diff --git a/src/hotspot/cpu/riscv/macroAssembler_riscv.hpp b/src/hotspot/cpu/riscv/macroAssembler_riscv.hpp index 792c1fc210..65f9153266 100644 --- a/src/hotspot/cpu/riscv/macroAssembler_riscv.hpp +++ b/src/hotspot/cpu/riscv/macroAssembler_riscv.hpp @@ -540,8 +540,6 @@ class MacroAssembler: public Assembler { } // mv - void mv(Register Rd, address addr) { li(Rd, (int64_t)addr); } - inline void mv(Register Rd, int imm64) { li(Rd, (int64_t)imm64); } inline void mv(Register Rd, long imm64) { li(Rd, (int64_t)imm64); } inline void mv(Register Rd, long long imm64) { li(Rd, (int64_t)imm64); } @@ -552,6 +550,7 @@ class MacroAssembler: public Assembler { inline void mvw(Register Rd, int32_t imm32) { mv(Rd, imm32); } void mv(Register Rd, Address dest); + void mv(Register Rd, address dest); void mv(Register Rd, RegisterOrConstant src); // logic `stop()` is the right position; however, you are right: there is another small issue inside. The reason is inside [the reversion for JDK-8248404](https://github.com/openjdk/riscv-port-jdk11u/pull/3/commits/d8b14fd5e6455b47cfcb02d13c0c24c74e824570#diff-7a5c3ed05b6f3f06ed1c59f5fc2a14ec566a6a5bd1d09606115767daa99115bdL1367-L1372), where I removed the fixed-length `mv` when comparing to the latest TIP jdk code. It was not needed eventually so I removed it by the way - but sadly we still need it for the initial load since `mv()` still redirects to `li()` after the change. My apologies for this issue. I no longer have access to a RISC-V environment - so @kuaiwei could you please have a look at this fix when available? Thank you. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1729802313 From duke at openjdk.org Thu Sep 21 21:34:57 2023 From: duke at openjdk.org (Andreas Schwab) Date: Thu, 21 Sep 2023 21:34:57 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v6] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Wed, 20 Sep 2023 12:17:27 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [ ] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with three additional commits since the last revision: > > - 8287418: riscv: Fix correctness issue of MacroAssembler::movptr > > Reviewed-by: fjiang, yadongwang, fyang > - 8285437: riscv: Fix MachNode size mismatch for MacroAssembler::verify_oops* > > Reviewed-by: shade, fyang > - 8283737: riscv: MacroAssembler::stop() should emit fixed-length instruction sequence > > Reviewed-by: fyang, shade With that fix on top the build is successful. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1730331105 From xlinzheng at openjdk.org Fri Sep 22 00:04:46 2023 From: xlinzheng at openjdk.org (Xiaolin Zheng) Date: Fri, 22 Sep 2023 00:04:46 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v6] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Thu, 21 Sep 2023 21:32:10 GMT, Andreas Schwab wrote: > With that fix on top the build is successful. Thank you for testing, and it's nice to hear :-) ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1730511680 From duke at openjdk.org Fri Sep 22 09:16:37 2023 From: duke at openjdk.org (kuaiwei) Date: Fri, 22 Sep 2023 09:16:37 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v7] In-Reply-To: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: > It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. > > Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . > > - [x] slowdebug/fastdebug/release build > - [x] Benchmark: SPECJbb2015, Renaissance > - [ ] Tier1 tests > - [ ] Tier2 tests > - [ ] Tier3 tests > - [ ] Tier4 tests kuaiwei has updated the pull request incrementally with one additional commit since the last revision: Fix: Fixed-length mv() mistakenly redirected to li() during reshaping ------------- Changes: - all: https://git.openjdk.org/riscv-port-jdk11u/pull/3/files - new: https://git.openjdk.org/riscv-port-jdk11u/pull/3/files/5cab06c6..41d73298 Webrevs: - full: https://webrevs.openjdk.org/?repo=riscv-port-jdk11u&pr=3&range=06 - incr: https://webrevs.openjdk.org/?repo=riscv-port-jdk11u&pr=3&range=05-06 Stats: 9 lines in 2 files changed: 7 ins; 2 del; 0 mod Patch: https://git.openjdk.org/riscv-port-jdk11u/pull/3.diff Fetch: git fetch https://git.openjdk.org/riscv-port-jdk11u.git pull/3/head:pull/3 PR: https://git.openjdk.org/riscv-port-jdk11u/pull/3 From duke at openjdk.org Fri Sep 22 09:16:38 2023 From: duke at openjdk.org (kuaiwei) Date: Fri, 22 Sep 2023 09:16:38 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v6] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: <5j-XOICzqGPJYzuNaXUuZXPvWga-qRT81ku2SbS0C3c=.2bdea5b2-4d2c-4dc9-8321-c2394c3ca6db@github.com> On Fri, 22 Sep 2023 00:02:01 GMT, Xiaolin Zheng wrote: >> With that fix on top the build is successful. > >> With that fix on top the build is successful. > > Thank you for testing, and it's nice to hear :-) @zhengxiaolinX , Thanks for help. I picked this fix. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1731072060 From fyang at openjdk.org Tue Sep 26 00:36:42 2023 From: fyang at openjdk.org (Fei Yang) Date: Tue, 26 Sep 2023 00:36:42 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v7] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Fri, 22 Sep 2023 09:16:37 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [ ] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with one additional commit since the last revision: > > Fix: Fixed-length mv() mistakenly redirected to li() during reshaping What's the status of this PR? Do we get all the comments resolved? Are there any other test failures? Thanks. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1734648258 From duke at openjdk.org Tue Sep 26 00:47:26 2023 From: duke at openjdk.org (duke) Date: Tue, 26 Sep 2023 00:47:26 GMT Subject: git: openjdk/riscv-port-jdk11u: riscv-port: 12 new changesets Message-ID: Changeset: 6fe81727 Author: Ao Qi Committer: Fei Yang Date: 2023-09-15 07:45:21 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/6fe81727d87b33acd33b96e9b87a167713f8d608 8315020: The macro definition for LoongArch64 zero build is not accurate. Reviewed-by: fyang Backport-of: 725ec0ce1b463b21cd4c5287cf4ccbee53ec7349 ! make/autoconf/platform.m4 ! src/hotspot/os/linux/os_linux.cpp Changeset: 723c0c01 Author: Andrew Lu Committer: Martin Doerr Date: 2023-09-18 15:04:26 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/723c0c0163a2b4f59960b241abaabfc03017ad05 8195589: T6587786.java failed after JDK-8189997 Backport-of: 21b62fef335aa981a239415532fa8b804fb5676d ! test/langtools/ProblemList.txt ! test/langtools/tools/javap/T6587786.java Changeset: d52e9ed1 Author: Christoph Langer Date: 2023-09-20 10:37:04 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/d52e9ed182b0d1801da72d194a9b4108bf12c322 8316380: [11u] Backport 8170089: nsk/jdi/EventSet/resume/resume008: ERROR: suspendCounts don't match for : Common-Cleaner Reviewed-by: mbaesken ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume001a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume002.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume002a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume003.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume003a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume004a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume005.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume005a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume006.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume006a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume007.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume007a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume008.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume008a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume009.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume009a.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume010.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/resume/resume010a.java Changeset: f356adbf Author: Goetz Lindenmaier Date: 2023-09-15 10:47:19 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/f356adbff93da2627fe2e3c197c24aa7a1f1dbea 8312555: Ideographic characters aren't stretched by AffineTransform.scale(2, 1) Ignore bitmaps embedded into fonts for non-uniform scales Reviewed-by: phh Backport-of: 62610203f18095cbd25b456f0622bad033a65a5d ! src/java.desktop/share/native/libfontmanager/freetypeScaler.c + test/jdk/java/awt/font/FontScaling/StretchedFontTest.java Changeset: d0038240 Author: Goetz Lindenmaier Date: 2023-09-20 13:45:51 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/d0038240d3b0c9e5076213dcaac09a79c593b31f Merge Changeset: 70862e01 Author: Aleksey Shipilev Date: 2023-09-20 13:57:35 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/70862e011ba642a782cf28004d2f9dd807971788 8315863: [GHA] Update checkout action to use v4 Reviewed-by: clanger Backport-of: b74805d38395ca8be9308d882bf6b84e93714849 ! .github/actions/get-jtreg/action.yml ! .github/workflows/build-cross-compile.yml ! .github/workflows/build-linux.yml ! .github/workflows/build-macos.yml ! .github/workflows/build-windows.yml ! .github/workflows/test.yml Changeset: ce1602d1 Author: Goetz Lindenmaier Date: 2023-09-22 06:46:33 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/ce1602d1eb02f720e38cae92604e69bd99348c58 8265586: [windows] last button is not shown in AWT Frame with BorderLayout and MenuBar set. 8288993: Make AwtFramePackTest generic by removing @requires tag Backport-of: d2045f9cfa88cb8bea58e5476f5917464f966028 ! src/java.desktop/windows/native/libawt/windows/awt_Window.cpp + test/jdk/java/awt/Frame/AwtFramePackTest.java Changeset: cd3c64fb Author: Andrew Lu Committer: Goetz Lindenmaier Date: 2023-09-22 07:03:30 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/cd3c64fbfccf76a3c223e19ece4438c5a1869c8c 8306430: Open source some AWT tests related to TextComponent and Toolkit Backport-of: 36ec05d52a79185d8c6669713fd17933128c032a + test/jdk/java/awt/TextComponent/PeerlessSetCaret/PeerlessSetCaret.java + test/jdk/java/awt/TextComponent/SelectionBounds/SelectionBounds.java + test/jdk/java/awt/TextComponent/TextAreaCRLFTest/TextAreaCRLFTest.java + test/jdk/java/awt/Toolkit/AWTEventListenerProxyTest/AWTEventListenerProxyTest.java + test/jdk/java/awt/Toolkit/ListenersDeadlockTest/ListenerDeadlockTest.java Changeset: 72d97e05 Author: Andrew Lu Committer: Goetz Lindenmaier Date: 2023-09-22 07:07:30 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/72d97e05d4d6b61131a69db6f864cf9598027bdb 8307079: Update test java/awt/Choice/DragOffNoSelect.java Backport-of: 89711f376751d4cfa05758705867afedfafeb602 ! test/jdk/java/awt/Choice/DragOffNoSelectTest.java Changeset: cdc33dc9 Author: Kimura Yukihiro Committer: Goetz Lindenmaier Date: 2023-09-22 07:09:33 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/cdc33dc948102798be749e319670bc13a2df133c 8313815: The exception messages printed by jcmd ManagementAgent.start are corrupted on Japanese Windows Backport-of: 7286bb8518543501045de4cf970094ac9c1af4fa ! src/jdk.attach/share/classes/sun/tools/attach/HotSpotVirtualMachine.java Changeset: b2a64845 Author: Aleksey Shipilev Date: 2023-09-22 15:48:18 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/b2a6484503c757b9abd84ed52e979660bb7deb0e 8316178: Better diagnostic header for CodeBlobs Backport-of: d575968b4bde74bd557cb84e89f0fa0f96b04087 ! src/hotspot/share/code/codeBlob.cpp Changeset: 51cb95db Author: Fei Yang Date: 2023-09-26 08:44:14 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/51cb95db4068058471496dfcac8a274e220ceb1a Merge remote-tracking branch 'origin/master' into riscv-port From duke at openjdk.org Tue Sep 26 02:04:42 2023 From: duke at openjdk.org (kuaiwei) Date: Tue, 26 Sep 2023 02:04:42 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v7] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Tue, 26 Sep 2023 00:34:08 GMT, Fei Yang wrote: > What's the status of this PR? Do we get all the comments resolved? Are there any other test failures? Thanks. I just passed all tier1 tests. ============================== Test summary ============================== TEST TOTAL PASS FAIL ERROR jtreg:test/hotspot/jtreg:tier1 1339 1339 0 0 jtreg:test/jdk:tier1 1885 1885 0 0 jtreg:test/langtools:tier1 3934 3934 0 0 jtreg:test/nashorn:tier1 0 0 0 0 jtreg:test/jaxp:tier1 0 0 0 0 ============================== TEST SUCCESS The result of tier2~4 will be updated soon. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1734715302 From duke at openjdk.org Tue Sep 26 06:32:56 2023 From: duke at openjdk.org (kuaiwei) Date: Tue, 26 Sep 2023 06:32:56 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v7] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Fri, 22 Sep 2023 09:16:37 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [x] Tier1 tests >> - [ ] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with one additional commit since the last revision: > > Fix: Fixed-length mv() mistakenly redirected to li() during reshaping Tier2 test result ============================== Test summary ============================== TEST TOTAL PASS FAIL ERROR jtreg:test/hotspot/jtreg:tier2 324 324 0 0 >> jtreg:test/jdk:tier2 3479 3476 3 0 << jtreg:test/langtools:tier2 11 11 0 0 jtreg:test/nashorn:tier2 36 36 0 0 jtreg:test/jaxp:tier2 443 443 0 0 ============================== java/net/MulticastSocket/Test.java Failed. Execution failed: `main' threw exception: java.lang.Exception: Test failed - see log file for details java/net/SctpSanity.java Failed. Execution failed: `main' threw exception: java.net.SocketException: Protocol not supported tools/jmod/hashes/HashesOrderTest.java Failed. Execution failed: `main' threw exception: java.lang.Exception: failures: 1 ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1734908205 From fyang at openjdk.org Thu Sep 28 07:44:00 2023 From: fyang at openjdk.org (Fei Yang) Date: Thu, 28 Sep 2023 07:44:00 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v7] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Fri, 22 Sep 2023 09:16:37 GMT, kuaiwei wrote: >> It's the initial patch based on https://github.com/openjdk/jdk17u-dev/pull/1427 , and revert patches not required in JDK11u. The testing is running on a linux riscv board. There are some failed cases and we are working on fix them , the progress will updated. >> >> Thanks the contribution of OpenJDK community and hard working of @zhengxiaolinX . >> >> - [x] slowdebug/fastdebug/release build >> - [x] Benchmark: SPECJbb2015, Renaissance >> - [x] Tier1 tests >> - [x] Tier2 tests >> - [ ] Tier3 tests >> - [ ] Tier4 tests > > kuaiwei has updated the pull request incrementally with one additional commit since the last revision: > > Fix: Fixed-length mv() mistakenly redirected to li() during reshaping Several things which I think should be done: 1. merge and rebase with latest riscv-port branch to make the conflicts resolved; 2. add necessary fixes like [JDK-8295926](https://bugs.openjdk.org/browse/JDK-8295926) and [JDK-8293100](https://bugs.openjdk.org/browse/JDK-8293100) which were mentioned previously on this PR; 3. remove unnecessary fixes like [JDK-8247533](https://bugs.openjdk.org/browse/JDK-8247533); 4. Related this PR with JBS issues contained. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1738631754