From duke at openjdk.org Fri Nov 3 18:00:46 2023 From: duke at openjdk.org (Andreas Schwab) Date: Fri, 3 Nov 2023 18:00:46 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v9] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Tue, 17 Oct 2023 06:29:35 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: > > Revert JDK-8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp I think src/hotspot/cpu/riscv/gc/shenandoah/shenandoah_riscv64.ad needs to be renamed to src/hotspot/cpu/riscv/gc/shenandoah/shenandoah_riscv.ad ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1792892178 From duke at openjdk.org Fri Nov 3 18:36:51 2023 From: duke at openjdk.org (Andreas Schwab) Date: Fri, 3 Nov 2023 18:36:51 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v9] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Tue, 17 Oct 2023 06:29:35 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: > > Revert JDK-8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp No, that's the difference between HOTSPOT_TARGET_CPU_ARCH and HOTSPOT_TARGET_CPU. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1792945852 From duke at openjdk.org Tue Nov 7 15:20:27 2023 From: duke at openjdk.org (Andreas Schwab) Date: Tue, 7 Nov 2023 15:20:27 GMT Subject: [riscv-port-jdk11u:riscv-port] RFR: 8276799: Implementation of JEP 422: Linux/RISC-V Port [v9] In-Reply-To: References: <0L57mC9PUcMSq0Xpu4gILlsbh0138EyKpG0ejoEqWlo=.e4517135-2dbc-4993-aa11-8b77e0351e2c@github.com> Message-ID: On Tue, 17 Oct 2023 06:29:35 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: > > Revert JDK-8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp It appears that zSyscall_linux_riscv.hpp is actually unsused, missing from the ZGC removal. ------------- PR Comment: https://git.openjdk.org/riscv-port-jdk11u/pull/3#issuecomment-1798847341 From duke at openjdk.org Thu Nov 9 03:39:38 2023 From: duke at openjdk.org (duke) Date: Thu, 9 Nov 2023 03:39:38 GMT Subject: git: openjdk/riscv-port-jdk11u: riscv-port: 42 new changesets Message-ID: Changeset: 9be4d3fc Author: Ralf Schmelter Date: 2023-10-28 14:19:41 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/9be4d3fcebed6b1ecb5fe2231bdbdf270a78e9e0 8289917: Metadata for regionsRefilled of G1EvacuationStatistics event is wrong Backport-of: 728157fa03913991088f6bb257a8bc16706792a9 ! src/hotspot/share/jfr/metadata/metadata.xml Changeset: b9936cdf Author: t.ogata Committer: Paul Hohensee Date: 2023-10-30 00:06:18 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/b9936cdf6bb9806f76034cb44adea5c5808eaf55 8221396: Clean up serviceability/sa/TestUniverse.java Reviewed-by: phh Backport-of: 229d923b27a6c01616291aea6c8d4c86930bf7d2 ! test/hotspot/jtreg/serviceability/sa/TestUniverse.java Changeset: cf13e82c Author: Matthias Baesken Date: 2023-10-30 08:14:34 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/cf13e82c56ca18ec162b9bcdd046aeef86b8dc3f 8313691: use close after failing os::fdopen in vmError and ciEnv Backport-of: 96304f37f8344b0c0e271ff9cda84961519d5109 ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/utilities/vmError.cpp Changeset: dd1994ee Author: t.ogata Committer: Goetz Lindenmaier Date: 2023-10-30 10:04:32 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/dd1994ee519d1174ce8e24e415970c4729ab58d1 8231931: [TESTBUG] serviceability/sa/TestUniverse.java looks for wrong string with Shenandoah Backport-of: f412bfc34eb2a3f94ba4381af365127b56e77537 ! test/hotspot/jtreg/serviceability/sa/TestUniverse.java Changeset: 53acd95d Author: Goetz Lindenmaier Date: 2023-10-30 10:06:32 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/53acd95dc37e489e457bce74fbca3d78b5252da2 8251177: [macosx] The text "big" is truncated in JTabbedPane Backport-of: 16ebe40a1bcd1fe43126fe1dca27bb64cb12de16 ! test/jdk/ProblemList.txt - test/jdk/javax/swing/JTabbedPane/4209065/bug4209065.html ! test/jdk/javax/swing/JTabbedPane/4209065/bug4209065.java Changeset: 9f74d262 Author: Goetz Lindenmaier Date: 2023-10-30 10:09:02 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/9f74d2622e619864cc201dd1dc3e9eb21e78010d 8286707: JFR: Don't commit JFR internal jdk.JavaMonitorWait events Reviewed-by: mbaesken Backport-of: fc889577eaf3f564d896818c1d9b1eb6fa5a8758 ! src/hotspot/share/jfr/recorder/repository/jfrChunkRotation.cpp ! src/hotspot/share/jfr/support/jfrIntrinsics.hpp ! src/hotspot/share/runtime/objectMonitor.cpp ! src/hotspot/share/utilities/macros.hpp ! src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/PlatformRecorder.java Changeset: 46ce8cb4 Author: Goetz Lindenmaier Date: 2023-10-30 10:11:30 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/46ce8cb44add8850f7fa8f43669922d35907a14b 8306765: Some client related jtreg problem list entries are malformed Backport-of: f02d01934c87414eb610b67bdab55c25b3033878 ! test/jdk/ProblemList.txt Changeset: 910e2c46 Author: Goetz Lindenmaier Date: 2023-10-30 10:38:17 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/910e2c463e5ff1cb264200c551404d36d47eff07 8308910: Allow executeAndLog to accept running process Backport-of: fc288568f2c589975463d30f8c6d0e2484f0bf14 ! test/lib/jdk/test/lib/cds/CDSTestUtils.java Changeset: 2fbb4b92 Author: Goetz Lindenmaier Date: 2023-10-30 10:45:53 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/2fbb4b92bdcbc3a478c06cc6c904391c1d2e326e 8318705: [macos] ProblemList java/rmi/registry/multipleRegistries/MultipleRegistries.java Backport-of: 37c40a11a78f8b1f290cb04ce5b087904651907e ! test/jdk/ProblemList.txt Changeset: 32e63eb8 Author: yibo.yl Committer: Paul Hohensee Date: 2023-10-31 15:16:39 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/32e63eb87f063e796e92cb0e1a8cbc0594800949 8312065: Socket.connect does not timeout when profiling Reviewed-by: phh Backport-of: 1ce12c4f33d3d6905703d95df2574f4037dfd57d ! 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/B8312065.java Changeset: de9ae1ea Author: Sonia Zaldana Calles Committer: Paul Hohensee Date: 2023-11-01 16:39:59 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/de9ae1eac41876c2995e99256225085297171048 8293811: Provide a reason for PassFailJFrame.forceFail Reviewed-by: phh Backport-of: 64b96e5cf57023a5d55b4392074e3922ac7c0534 ! test/jdk/java/awt/regtesthelpers/PassFailJFrame.java Changeset: d0045daa Author: Goetz Lindenmaier Date: 2023-11-06 07:28:59 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/d0045daa83d0771f1ba5d7bf5da6bdffa41968da 8220083: Remove hard-coded 127.0.0.1 loopback address in JDK networking tests Tests that hardcode "127.0.0.1" fail in an environment where only IPv6 is available and IPv4 is not. Reviewed-by: mbaesken Backport-of: ef9ce3be1e33f1a45a6d8fbcbe3d4ceffcf7c4ce ! test/jdk/com/sun/net/httpserver/TestLogging.java ! test/jdk/com/sun/net/httpserver/bugs/6725892/Test.java ! test/jdk/com/sun/net/httpserver/bugs/B6361557.java ! test/jdk/com/sun/net/httpserver/bugs/TruncatedRequestBody.java ! test/jdk/com/sun/nio/sctp/SctpMultiChannel/SendFailed.java ! test/jdk/java/net/Authenticator/B6870935.java ! test/jdk/java/net/DatagramSocket/SendDatagramToBadAddress.java ! test/jdk/java/net/HttpURLConnection/SetAuthenticator/HTTPTestServer.java ! test/jdk/java/net/Socket/UrgentDataTest.java ! test/jdk/java/net/SocketOption/OptionsTest.java ! test/jdk/java/net/httpclient/UnknownBodyLengthTest.java ! test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java ! test/jdk/java/nio/channels/AsynchronousChannelGroup/bootlib/Attack.java ! test/jdk/java/nio/channels/Selector/LotsOfCancels.java ! test/jdk/java/nio/channels/SocketChannel/AsyncCloseChannel.java ! test/jdk/java/nio/channels/SocketChannel/CloseRegisteredChannel.java ! test/jdk/java/nio/channels/SocketChannel/CloseTimeoutChannel.java ! test/jdk/java/nio/channels/SocketChannel/SocketInheritance.java ! test/jdk/java/nio/channels/etc/AdaptorCloseAndInterrupt.java ! test/jdk/java/nio/channels/etc/Shadow.java ! test/jdk/java/nio/charset/coders/StreamTimeout.java ! test/jdk/java/rmi/transport/readTimeout/ReadTimeoutTest.java ! test/jdk/jdk/net/Sockets/QuickAckTest.java ! test/jdk/jdk/net/Sockets/Test.java ! test/jdk/sun/net/www/protocol/http/TunnelThroughProxy.java Changeset: 4ebccd61 Author: Goetz Lindenmaier Date: 2023-11-06 07:33:21 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/4ebccd61a40f89ca64e04f35a846ea44e5c7e1e7 8223145: Replace wildcard address with loopback or local host in tests - part 1 Replaces binding to wildacard with alternative less susceptible to intermittent failure in some intermittently failing tests. Reviewed-by: mbaesken, phh Backport-of: 7d4520c109f408a7dbcdcc424dfef121e3eeaaa7 ! test/jdk/com/sun/net/httpserver/bugs/B6361557.java ! test/jdk/java/net/Authenticator/B4722333.java ! test/jdk/java/net/HttpURLConnection/UnmodifiableMaps.java ! test/jdk/java/net/ResponseCache/ResponseCacheTest.java ! test/jdk/java/net/Socket/GetLocalAddress.java ! test/jdk/java/net/Socket/SetReceiveBufferSize.java ! test/jdk/java/net/Socket/SoTimeout.java ! test/jdk/java/net/Socket/TestAfterClose.java ! test/jdk/java/net/Socket/UrgentDataTest.java ! test/jdk/java/net/SocketOption/OptionsTest.java ! test/jdk/java/net/URL/GetContent.java ! test/jdk/java/net/URLConnection/B5052093.java ! test/jdk/java/net/URLPermission/nstest/LookupTest.java ! test/jdk/sun/net/ftp/TestFtpClientNameListWithNull.java ! test/jdk/sun/net/www/http/HttpClient/ProxyTest.java ! test/jdk/sun/net/www/http/HttpURLConnection/NTLMAuthWithSM.java ! test/jdk/sun/net/www/http/HttpURLConnection/PostOnDelete.java ! test/jdk/sun/net/www/http/KeepAliveStream/KeepAliveStreamClose.java ! test/jdk/sun/net/www/protocol/http/B8012625.java ! test/jdk/sun/net/www/protocol/http/Finalizer.java ! test/jdk/sun/net/www/protocol/http/ResponseCacheStream.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/CookieHandlerTest.java Changeset: ef475f76 Author: Goetz Lindenmaier Date: 2023-11-06 07:38:19 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/ef475f76546b1a1e9ca1f5f3fbb6fa68d02f2c99 8224204: Replace wildcard address with loopback or local host in tests - part 10 Fixed intermittently failing tests Backport-of: a974268f17f5059021680fec7af9dc83409a6daa ! test/jdk/sun/net/InetAddress/nameservice/simple/DefaultCaching.java ! test/jdk/sun/net/www/http/KeepAliveCache/KeepAliveTimerThread.java ! test/jdk/sun/net/www/http/KeepAliveStream/InfiniteLoop.java ! test/jdk/sun/net/www/protocol/http/B6369510.java ! test/jdk/sun/net/www/protocol/http/BasicLongCredentials.java ! test/jdk/sun/net/www/protocol/http/NTLMTest.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/HttpsPost.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/PostThruProxy.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/PostThruProxyWithAuth.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/ProxyTunnelServer.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/RetryHttps.java Changeset: 569ecf4e Author: Goetz Lindenmaier Date: 2023-11-06 07:40:40 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/569ecf4e7f2cb4f4ecf4c0bba093ecaa61f64e05 8226825: Replace wildcard address with loopback or local host in tests - part 19 Replace use of wildcard by the loopback address, or possibly the local host address, wherever possible, to improve test stability. Backport-of: c45f932cc5953d5aa45084c101d975758535ebd0 ! test/jdk/java/net/Socket/SetSoLinger.java ! test/jdk/sun/net/www/protocol/http/AsyncDisconnect.java ! test/jdk/sun/net/www/protocol/http/B6641309.java ! test/jdk/sun/net/www/protocol/http/B6660405.java ! test/jdk/sun/net/www/protocol/http/B6890349.java ! test/jdk/sun/net/www/protocol/http/Modified.java Changeset: c73323ba Author: Goetz Lindenmaier Date: 2023-11-06 07:42:31 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/c73323bae6f12a3a94a3d9f6415e4ddca6cf8c99 8240604: Rewrite sun/management/jmxremote/bootstrap/CustomLauncherTest.java test to make binaries from source file Reviewed-by: mdoerr Backport-of: cd7d17500171ff20a2d919a4e9d5de0399304d4d ! make/test/JtregNativeJdk.gmk ! test/jdk/sun/management/jmxremote/bootstrap/CustomLauncherTest.java - test/jdk/sun/management/jmxremote/bootstrap/Makefile = test/jdk/sun/management/jmxremote/bootstrap/exelauncher.c - test/jdk/sun/management/jmxremote/bootstrap/linux-amd64/launcher - test/jdk/sun/management/jmxremote/bootstrap/linux-i586/launcher - test/jdk/sun/management/jmxremote/bootstrap/solaris-amd64/launcher - test/jdk/sun/management/jmxremote/bootstrap/solaris-sparcv9/launcher Changeset: 33771273 Author: Goetz Lindenmaier Date: 2023-11-06 07:44:23 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/33771273d39578a52e87706ac8bca8eda447c215 8183374: Refactor java/lang/Runtime shell tests to java Reviewed-by: mdoerr Backport-of: ec383abc1d2e609cc6af94a526e11c407d7e91ff + test/jdk/java/lang/RuntimeTests/exec/SetCwd.java + test/jdk/java/lang/RuntimeTests/shutdown/ShutdownHooks.java Changeset: d90b9ac9 Author: Goetz Lindenmaier Date: 2023-11-06 07:46:25 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/d90b9ac9d057cf354c1a3403eb309b9b9142e3e7 8285612: Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/ImagePrinting/ClippedImages.java Reviewed-by: mbaesken Backport-of: 0c551b6c01bed302a2fbd1271773c3e231920ddd ! test/jdk/java/awt/print/PrinterJob/ImagePrinting/ClippedImages.java Changeset: 92c50625 Author: Goetz Lindenmaier Date: 2023-11-06 08:11:28 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/92c50625786ad84c50223f21df2fbff431469228 8289238: Refactoring changes to PassFailJFrame Test Framework Reviewed-by: phh Backport-of: 8204dfab76d8ae61c2bc68cdf42fcd0fb7a81189 ! test/jdk/java/awt/print/PrinterJob/ImagePrinting/ClippedImages.java ! test/jdk/java/awt/print/PrinterJob/PrintGlyphVectorTest.java ! test/jdk/java/awt/print/PrinterJob/PrintLatinCJKTest.java ! test/jdk/java/awt/regtesthelpers/PassFailJFrame.java ! test/jdk/javax/swing/JRadioButton/bug4380543.java ! test/jdk/javax/swing/JTabbedPane/4209065/bug4209065.java Changeset: f993ef52 Author: Sonia Zaldana Calles Committer: Goetz Lindenmaier Date: 2023-11-06 08:22:35 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/f993ef52fbdb0982c6f7ff284feaa5a87c9a7000 8284331: Add sanity check for signal handler modification warning. Backport-of: 116763cb5d58a7316b7bada689a0fa34a7250ee7 ! test/jdk/sun/tools/jcmd/TestJcmdSanity.java Changeset: 18d616d6 Author: Sonia Zaldana Calles Committer: Goetz Lindenmaier Date: 2023-11-06 08:24:40 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/18d616d6dae6703e4908a603c707c5a4829fd09a 8306280: Open source several choice AWT tests Backport-of: d03128d0e5158ea967e714341c019b9af00ac4a1 + test/jdk/java/awt/Choice/EmptyChoiceTest.java + test/jdk/java/awt/Choice/InsertRemoveTest.java + test/jdk/java/awt/Choice/OpenedChoiceHangs.java + test/jdk/java/awt/Choice/PressOutsideOpenedChoice.java Changeset: 9abfddec Author: Andrew Lu Committer: Goetz Lindenmaier Date: 2023-11-06 08:27:06 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/9abfddecff40a90d4915bf921c8a22f797a65f22 8314063: The socket is not closed in Connection::createSocket when the handshake failed for LDAP connection Reviewed-by: mbaesken Backport-of: f2383b3cbd1096f0b38e89a3d876da2217511f11 ! src/java.naming/share/classes/com/sun/jndi/ldap/Connection.java + test/jdk/com/sun/jndi/ldap/LdapSSLHandshakeFailureTest.java + test/jdk/com/sun/jndi/ldap/ksWithSAN Changeset: feb051fa Author: Andrew Lu Committer: Goetz Lindenmaier Date: 2023-11-06 08:29:12 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/feb051fa69e981f3882823e69df36b63f3100c69 8316906: Clarify TLABWasteTargetPercent flag Reviewed-by: mbaesken Backport-of: 77fac0f4c6692bcc06456d03a4329d9f8ddeeded ! src/hotspot/share/gc/shared/gc_globals.hpp Changeset: f6bdbe89 Author: Sonia Zaldana Calles Committer: Goetz Lindenmaier Date: 2023-11-06 08:31:41 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/f6bdbe8966daf555acd0b45ca436d5f2adaa89a7 8317967: Enhance test/jdk/javax/net/ssl/TLSCommon/SSLEngineTestCase.java to handle default cases Backport-of: 9728e21db1b35e487c562690de659aac386aa99d ! test/jdk/javax/net/ssl/TLSCommon/SSLEngineTestCase.java Changeset: 1f67ffb0 Author: Frederic Thevenet Committer: Goetz Lindenmaier Date: 2023-11-06 08:34:17 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/1f67ffb029869a432420af3920cc3311126a4036 8318669: Target OS detection in 'test-prebuilt' makefile target is incorrect when running on MSYS2 Backport-of: 202c0137b86cd7bcbe0c1eddf2657f45698ab667 ! make/RunTestsPrebuilt.gmk Changeset: 80d3bb46 Author: Ralf Schmelter Date: 2023-11-06 12:35:01 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/80d3bb46c0804016a17d4cd05eee7eda03268cce 8289745: JfrStructCopyFailed uses heap words instead of bytes for object sizes Reviewed-by: phh Backport-of: 7f0e9bd632198c7fd34d27b85ca51ea0e2442e4d ! src/hotspot/share/gc/shared/gcTraceSend.cpp ! test/jdk/jdk/jfr/event/gc/detailed/PromotionFailedEvent.java ! test/jdk/jdk/jfr/event/gc/detailed/TestEvacuationFailedEvent.java Changeset: b64a1acb Author: Ralf Schmelter Date: 2023-11-06 12:35:24 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/b64a1acb212a64629094bf7e992d98500f91d629 8293166: jdk/jfr/jvm/TestDumpOnCrash.java fails on Linux ppc64le and Linux aarch64 Reviewed-by: aph, stuefe Backport-of: 5551cb66ba58cadce7291a95c5af662ade2cb7b8 ! test/jdk/jdk/jfr/jvm/TestDumpOnCrash.java Changeset: 48f1f398 Author: Goetz Lindenmaier Date: 2023-11-07 09:06:42 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/48f1f39821dfd29a6a8d1caffbdf8d1481692aa4 8230435: Replace wildcard address with loopback or local host in tests - part 22 Fixes tests to use the loopback address whenever possible. It also fixes some safe publishing issues, or add diagnostics in some of the tests. Reviewed-by: lucy Backport-of: f71db3074c44c554b600c506adaa5b145edf4420 ! test/jdk/java/net/Authenticator/B4678055.java ! test/jdk/java/net/DatagramSocket/PortUnreachable.java ! test/jdk/java/net/URLConnection/RedirectLimit.java ! test/jdk/java/net/URLConnection/Responses.java ! test/jdk/javax/net/ssl/templates/SSLSocketTemplate.java ! test/jdk/sun/net/InetAddress/nameservice/simple/DefaultCaching.java ! test/jdk/sun/net/www/AuthHeaderTest.java ! test/jdk/sun/net/www/http/HttpClient/RetryPost.java ! test/jdk/sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java ! test/jdk/sun/net/www/protocol/https/HttpsClient/ProxyTunnelServer.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/B6226610.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/HttpsProxyStackOverflow.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/TunnelProxy.java Changeset: 2f3fc250 Author: Goetz Lindenmaier Date: 2023-11-07 09:12:44 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/2f3fc250505e1684c6e914ab42b51e6d0ed7ec02 8232135: Add diagnostic output to test java/util/ProcessBuilder/Basic.java Backport-of: 3af3b5de618a98580ded4401de6d891a38dde482 ! test/jdk/java/lang/ProcessBuilder/Basic.java Changeset: ff19eeb9 Author: Goetz Lindenmaier Date: 2023-11-07 09:20:56 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/ff19eeb90b2de66fb769680d893122214adbab0d 8285687: Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/PageRangesDlgTest.java Reviewed-by: lucy Backport-of: fc3edf2412461f41ac4dfd8b047257432620ba6d ! test/jdk/java/awt/print/PrinterJob/PageRangesDlgTest.java Changeset: 2aca53f8 Author: Goetz Lindenmaier Date: 2023-11-07 10:21:39 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/2aca53f88eabb128720dfec8d993b6cf95f0552c 8026393: jarsigner never shows a warning in badKeyUsage case Reviewed-by: lucy - test/jdk/sun/security/tools/jarsigner/warnings/BadKeyUsageTest.java Changeset: 5754eb10 Author: Goetz Lindenmaier Date: 2023-11-07 10:23:51 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/5754eb1009a66468f92723b61e1a65dfaff60aaa 8290469: Add new positioning options to PassFailJFrame test framework Backport-of: 62140e249cf78d8d4acd1e5ab76bac0cc013a1a5 ! test/jdk/java/awt/TrayIcon/TrayIconScalingTest.java ! test/jdk/java/awt/print/PrinterJob/ImagePrinting/ClippedImages.java ! test/jdk/java/awt/print/PrinterJob/PrintGlyphVectorTest.java ! test/jdk/java/awt/print/PrinterJob/PrintLatinCJKTest.java ! test/jdk/java/awt/regtesthelpers/PassFailJFrame.java ! test/jdk/javax/swing/JRadioButton/bug4380543.java ! test/jdk/javax/swing/JTabbedPane/4209065/bug4209065.java Changeset: 68807aa7 Author: Goetz Lindenmaier Date: 2023-11-07 10:26:06 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/68807aa7c7d10938463a9b3a39758deedcd06d58 8314242: Update applications/scimark/Scimark.java to accept VM flags Backport-of: 6bf4a33593bfe0df9b5ba81de5321a04f4dbe0ea ! test/hotspot/jtreg/applications/scimark/Scimark.java Changeset: 662f3bde Author: Johannes Bechberger Committer: Goetz Lindenmaier Date: 2023-11-07 10:30:06 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/662f3bde535e60127196b0a560f66203837d07d0 8317920: JDWP-agent sends broken exception event with onthrow option Reviewed-by: phh ! src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c + test/jdk/com/sun/jdi/JdwpOnThrowTest.java + test/jdk/com/sun/jdi/ThrowCaughtException.java ! test/jdk/com/sun/jdi/lib/jdb/Debuggee.java Changeset: 75daf185 Author: Matthias Baesken Date: 2023-11-07 12:48:01 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/75daf18555e213b4f72e7ce98fea686a08ae1940 8315214: Do not run sun/tools/jhsdb tests concurrently Reviewed-by: clanger Backport-of: 1e7e2bcf3560e1ad39516fb604e4d8bf85bb54e0 ! test/jdk/TEST.ROOT Changeset: 3592b70a Author: Severin Gehwolf Date: 2023-11-07 17:08:38 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/3592b70aeae3cefdb3d7afcd3216c5bdfc3bc9af 8317373: Add Telia Root CA v2 Reviewed-by: phh Backport-of: d3ebb4a155be8ed93e79b6b58c645e861ec30267 + make/data/cacerts/teliarootcav2 ! test/jdk/security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java ! test/jdk/sun/security/lib/cacerts/VerifyCACerts.java Changeset: 0bc8b222 Author: Goetz Lindenmaier Date: 2023-11-08 08:10:35 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/0bc8b222184df2e72fe5eedc6276d64fd47babf6 8230858: Replace wildcard address with loopback or local host in tests - part 23 Add new traces for better diagnosis, refrain binding to the wildcard address when possible. Backport-of: e9eaba3d538fcd2d8b5642f227433d69faef2552 ! test/jdk/java/net/CookieHandler/CookieManagerTest.java ! test/jdk/java/net/Socket/HttpProxy.java ! test/jdk/java/net/Socket/NullHost.java ! test/jdk/sun/net/www/http/KeepAliveCache/B5045306.java ! test/jdk/sun/net/www/protocol/https/HttpsClient/ServerIdentityTest.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/IPAddressDNSIdentities.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/IPAddressIPIdentities.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/IPIdentities.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/Identities.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/ImpactOnSNI.java ! test/jdk/sun/net/www/protocol/https/NewImpl/JavaxHostnameVerifier.java ! test/jdk/sun/net/www/protocol/jar/B4957695.java Changeset: 799a7c8d Author: Goetz Lindenmaier Date: 2023-11-08 08:14:30 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/799a7c8d4c17b7957f5e6bf514fb3df251be0d7f 8292683: Remove BadKeyUsageTest.java from Problem List Backport-of: df5209e70fd92ec6bda4e7356a3ad121732f6c66 ! test/jdk/ProblemList.txt Changeset: b773f567 Author: Goetz Lindenmaier Date: 2023-11-08 08:16:33 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/b773f56744c7600bbe70e2bceb129a8ba08334fb 6445283: ProgressMonitorInputStream not large file aware (>2GB) Backport-of: a17fce7507c7d485d51f98fadd444235ea31058d ! src/java.desktop/share/classes/javax/swing/ProgressMonitorInputStream.java + test/jdk/javax/swing/ProgressMonitor/ProgressTest.java Changeset: 34cc0891 Author: Goetz Lindenmaier Date: 2023-11-08 08:40:04 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/34cc0891f2b407cbeab8bac9a37f8687a498c4d5 8298905: Test "java/awt/print/PrinterJob/ImagePrinting/PrintARGBImage.java" fails because the frames of instruction does not display Backport-of: d1026720d323d0acd9bd8d85d5caba7185107863 ! test/jdk/java/awt/print/PrinterJob/ImagePrinting/PrintARGBImage.java ! test/jdk/java/awt/print/PrinterJob/PageRangesDlgTest.java ! test/jdk/javax/swing/ProgressMonitor/ProgressTest.java Changeset: 416c48e9 Author: Ludovic Henry Committer: Paul Hohensee Date: 2023-11-08 17:10:12 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/416c48e9d30ba4232bc9d592693992eea6819211 8310265: (process) jspawnhelper should not use argv[0] Backport-of: cd6cb730c934d8e16d4bd8e3342e59e806f158f9 ! src/java.base/unix/native/jspawnhelper/jspawnhelper.c ! src/java.base/unix/native/libjava/ProcessImpl_md.c Changeset: 5bb7be8f Author: Fei Yang Date: 2023-11-09 11:36:03 +0000 URL: https://git.openjdk.org/riscv-port-jdk11u/commit/5bb7be8f760786edc02446c6938195dbc2b88a1b Merge remote-tracking branch 'origin/master' into riscv-port From rehn at rivosinc.com Mon Nov 13 13:40:59 2023 From: rehn at rivosinc.com (Robbin Ehn) Date: Mon, 13 Nov 2023 14:40:59 +0100 Subject: Fwd: [openjdk/jdk] 8319716: RISC-V: Add SHA-2 (PR #16562) In-Reply-To: References: Message-ID: Hey, moving this discussion out of PR. *>*I think that's what RISC-V profiles are for [1] which make some basic extensions mandatory. And we already have JVM options like UseRVA20U64 and UseRVA22U64 for riscv. But there are still some >optional extensions for each profile, say RVV for RVA22U64. So instead of feeding a rather long march to the JVM, I feel it's more reasonable to have some JVM options at the extension level (instead of >sub-extension level) as suggested by @robehn . >Personally, I would suggest something slightly different. Say: >"-XX:VectorCryptoExt=all", "-XX:VectorCryptoExt=zvknhb", "-XX:VectorCryptoExt=zvknhb_zvkb" > >This way we will still be able to distinguish specific sub-extensions while keeping one JVM option for each extension/collection. > >[1] https://github.com/riscv/riscv-profiles/blob/main/profiles.adoc To me it looks like profiles will only work for simple CPUs, UseRVA22U64 only have 23 mandatory extensions and I'm seeing that we may have CPUs with 100+. And the 'group name' zvkn doesn't work since we are stilling adding new extensions under it, such as zvknf. Also we need to consider these may need to be versioned in the future. I'm conflicted regarding the flags names, on x86 it uses e.g. UseAVX=. So UseRVV is more inline with that, UseVectorCrypto is a nicer read, but do it include zvbb for example ? In that case UseZvk.. UseZvb.. make more sense. x86 have a many features without flags e.g. CPU_AVX512_VAES. It is only turn on if the VM find a CPU supporting this. I think my suggestion is that we do the same for as many of the extensions as possible, have no external flag. Message ID: /Robbin -------------- next part -------------- An HTML attachment was scrubbed... URL: From caogui at iscas.ac.cn Thu Nov 16 09:20:43 2023 From: caogui at iscas.ac.cn (=?UTF-8?B?5pu56LS1?=) Date: Thu, 16 Nov 2023 17:20:43 +0800 (GMT+08:00) Subject: OpenJDK11u linux/riscv32 port work update Message-ID: <5137683e.4e7d9.18bd76ec670.Coremail.caogui@iscas.ac.cn> Hello, I am Gui Cao from ISCAS (Institute of Software, Chinese Academy of Sciences). Recently we have finished porting of OpenJDK11U C2 JIT to Linux/riscv32 platform. Currently, this port only supports template interpreter and C2 JIT. The mainline OpenJDK supports Linux/riscv64 platform, which won't run on the Linux/riscv32 platform because of the difference in register widths. So we need a new port of OpenJDK. This is OpenJDK11U port repository for Linux/riscv32[1]. We use qemu for development and testing the port on Linux/riscv32 platform. We can run benchmark workloads such as SPECjbb2015, SPECjbb2005, SPECjvm2008, etc. And we witnessed an obvious speedup with C2 JIT as compared with the template interpreter when tested with qemu, and these benchmarks can pass the test normally. Of course the work will go on: 1. There are still some jtreg test failures, we will continue to investigate the issues. 2. We will sync with latest openjdk jdk11u repo[2] after after passing the jtreg tests. 3. Add more C2 intrinsic optimizations to make it run faster. 4. We need to test the functionality and performance on real hardware. Let me know if you are interested in this project or have any suggestions. Best regards, Gui Cao [1] https://github.com/openjdk-riscv/jdk11u [2] https://github.com/openjdk/jdk11u