From duke at openjdk.java.net Mon Feb 7 02:19:15 2022 From: duke at openjdk.java.net (duke) Date: Mon, 7 Feb 2022 02:19:15 GMT Subject: git: openjdk/riscv-port: riscv-port: 80 new changesets Message-ID: <6ef2c6e0-4534-4911-a053-ce1ca4c3ba39@openjdk.java.net> Changeset: be9f984c Author: Chris Plummer Date: 2022-01-29 21:35:06 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/be9f984caec32c3fe1deef30efe40fa115409ca0 8280553: resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java can fail if GC occurs Reviewed-by: alanb, amenkov ! test/hotspot/jtreg/resourcehogs/serviceability/sa/LingeredAppWithLargeArray.java Changeset: 251351f4 Author: Aleksey Shipilev Date: 2022-01-31 08:49:02 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/251351f49498ea39150b38860b8f73232fbaf05d 8280889: java/lang/instrument/GetObjectSizeIntrinsicsTest.java fails with -XX:-UseCompressedOops Reviewed-by: sspitsyn, dcubed ! test/jdk/java/lang/instrument/GetObjectSizeIntrinsicsTest.java Changeset: c6ed2046 Author: Andrey Turbanov Date: 2022-01-31 12:11:03 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/c6ed2046b4ba8eafb6b7e934b134829760d56ecd 8278263: Remove redundant synchronized from URLStreamHandler.openConnection methods Reviewed-by: dfuchs ! src/java.base/share/classes/sun/net/www/protocol/mailto/Handler.java ! src/java.base/unix/classes/sun/net/www/protocol/file/Handler.java ! src/java.base/windows/classes/sun/net/www/protocol/file/Handler.java Changeset: 61794c50 Author: Stefan Karlsson Date: 2022-01-31 12:30:09 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/61794c503973a330278f0595e36be0bd686fe2b5 8280817: Clean up and unify empty VM operations Reviewed-by: shade, coleenp ! src/hotspot/share/runtime/vmOperation.hpp ! src/hotspot/share/runtime/vmOperations.hpp ! src/hotspot/share/runtime/vmThread.cpp ! test/hotspot/gtest/threadHelper.inline.hpp Changeset: 091aff92 Author: Dmitry Batrak Date: 2022-01-31 13:43:35 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/091aff92e2213bfe0de79b3561a7613ab77e24b6 8278908: [macOS] Unexpected text normalization on pasting from clipboard Reviewed-by: serb, aivanov ! src/java.desktop/macosx/classes/sun/lwawt/macosx/CDataTransferer.java ! test/jdk/java/awt/datatransfer/UnicodeTransferTest/UnicodeTransferTest.java Changeset: bdda43e0 Author: Thomas Schatzl Date: 2022-01-31 16:01:18 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/bdda43e066b8da0ebf9a8ef2f843eabb230f0800 8280705: Parallel: Full gc mark stack draining should prefer to make work available to other threads Reviewed-by: ayang, mli ! src/hotspot/share/gc/parallel/psCompactionManager.cpp ! src/hotspot/share/gc/parallel/psCompactionManager.hpp ! src/hotspot/share/gc/parallel/psParallelCompact.cpp Changeset: dcc666d5 Author: Thomas Schatzl Date: 2022-01-31 16:51:10 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/dcc666d53d66e87c11c0c39858b36d40299b7de6 8280139: Report more detailed statistics about task stealing in task queue stats Reviewed-by: kbarrett, iwalulya ! src/hotspot/share/gc/shared/taskqueue.cpp ! src/hotspot/share/gc/shared/taskqueue.hpp ! src/hotspot/share/gc/shared/taskqueue.inline.hpp Changeset: 993a2488 Author: Thomas Schatzl Date: 2022-01-31 16:52:28 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/993a2488ef42b4c63a7e342c12bba8af8e3fab40 8280450: Add task queue printing to STW Full GCs Reviewed-by: ayang, sjohanss ! src/hotspot/share/gc/g1/g1FullCollector.cpp ! src/hotspot/share/gc/parallel/psParallelCompact.cpp Changeset: 319b7749 Author: Yumin Qi Date: 2022-01-31 19:27:59 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/319b77492f78a08b7b9488c73876b027c3076c76 8277101: jcmd VM.cds dynamic_dump should not regenerate holder classes Reviewed-by: iklam, ccheung ! src/hotspot/share/cds/dynamicArchive.cpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! test/hotspot/jtreg/runtime/cds/appcds/jcmd/JCmdTestDynamicDump.java Changeset: f991891b Author: Xue-Lei Andrew Fan Date: 2022-01-31 20:25:50 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f991891b0ba7a3767d2abd85ab9b2d284dc3d013 8280949: Correct the references for the Java Security Standard Algorithm Names specification Reviewed-by: mullan ! src/java.base/share/classes/javax/net/ssl/SSLEngine.java ! src/java.base/share/classes/javax/net/ssl/SSLParameters.java ! src/java.base/share/classes/javax/net/ssl/SSLServerSocket.java ! src/java.base/share/classes/javax/net/ssl/SSLServerSocketFactory.java ! src/java.base/share/classes/javax/net/ssl/SSLSocket.java ! src/java.base/share/classes/javax/net/ssl/SSLSocketFactory.java Changeset: 39165613 Author: Ioi Lam Date: 2022-01-31 21:48:32 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/39165613aa0430861e361a33a4925b85ea24fff1 8280543: Update the "java" and "jcmd" tool specification for CDS Reviewed-by: hseigel, sspitsyn, ccheung ! src/java.base/share/man/java.1 ! src/jdk.jcmd/share/man/jcmd.1 Changeset: 74921e84 Author: Jonathan Gibbons Date: 2022-01-31 22:45:16 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/74921e8422ce31a22516b279a00935b1917c089d 8280738: Minor cleanup for HtmlStyle Reviewed-by: hannesw ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle.java Changeset: ee3be0bb Author: Jonathan Gibbons Date: 2022-01-31 22:47:46 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/ee3be0bb567f0e28fd3e920ef3685607d0a8d656 8280488: doclint reference checks withstand warning suppression Reviewed-by: darcy ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclint/Checker.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclint/DocLint.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclint/Env.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclint/resources/doclint.properties + test/langtools/jdk/javadoc/tool/doclint/DocLintReferencesTest.java Changeset: 96d0df72 Author: Jonathan Gibbons Date: 2022-01-31 22:54:18 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/96d0df72db277f127bd4c6b8c51bfc64d1c593e0 8272984: javadoc support for reproducible builds Reviewed-by: hannesw ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlConfiguration.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/IndexRedirectWriter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/SourceToHTMLConverter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/standard.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/BaseOptions.java + test/langtools/jdk/javadoc/doclet/testDateOption/TestDateOption.java ! test/langtools/jdk/javadoc/doclet/testXOption/TestXOption.java ! test/langtools/jdk/javadoc/tool/CheckManPageOptions.java Changeset: 4191b2b9 Author: Igor Veresov Date: 2022-01-31 23:02:34 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/4191b2b9b98c1137e5f27e3b64efb83857fa2c91 8275337: C1: assert(false) failed: live_in set of first block must be empty Reviewed-by: kvn ! src/hotspot/share/c1/c1_RangeCheckElimination.cpp + test/hotspot/jtreg/compiler/c1/Test8275337.java Changeset: 4dbebb62 Author: Joe Darcy Date: 2022-01-31 23:22:38 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/4dbebb62aa264adda8d96a06f608ef9d13155a26 8280534: Enable compile-time doclint reference checking Reviewed-by: serb, naoto, mchung, lancea, iris ! make/modules/java.base/Java.gmk ! make/modules/java.datatransfer/Java.gmk ! make/modules/java.logging/Java.gmk ! make/modules/java.management/Java.gmk ! src/java.base/share/classes/java/io/FilenameFilter.java ! src/java.base/share/classes/java/lang/Character.java ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/java/lang/invoke/MethodHandleProxies.java ! src/java.base/share/classes/java/lang/invoke/MethodHandles.java ! src/java.base/share/classes/java/net/package-info.java ! src/java.base/share/classes/java/text/AttributedCharacterIterator.java ! src/java.base/share/classes/java/text/Bidi.java ! src/java.base/share/classes/java/util/Observable.java ! src/java.base/share/classes/java/util/ServiceLoader.java ! src/java.datatransfer/share/classes/java/awt/datatransfer/Clipboard.java ! src/java.logging/share/classes/java/util/logging/LogManager.java ! src/java.logging/share/classes/java/util/logging/LoggingMXBean.java ! src/java.management/share/classes/java/lang/management/ManagementFactory.java ! src/java.management/share/classes/java/lang/management/PlatformLoggingMXBean.java ! src/java.management/share/classes/javax/management/remote/JMXAddressable.java ! src/java.management/share/classes/javax/management/remote/JMXServerErrorException.java Changeset: 9c0104b9 Author: Mandy Chung Date: 2022-02-01 00:09:35 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/9c0104b9c96f012da1602f503f641824d78f4260 8221642: AccessibleObject::setAccessible throws NPE when invoked by JNI code with no java frame on stack Reviewed-by: alanb ! src/java.base/share/classes/java/lang/reflect/AccessibleObject.java ! test/jdk/java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java ! test/jdk/java/lang/reflect/exeCallerAccessTest/exeCallerAccessTest.c Changeset: 1ea01465 Author: Jonathan Gibbons Date: 2022-02-01 00:31:19 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/1ea01465ab06749a3177b9b724ccea0945a2de09 8281007: Test jdk/javadoc/doclet/checkStylesheetClasses/CheckStylesheetClasses.java fails after JDK-8280738 Reviewed-by: darcy ! test/langtools/jdk/javadoc/doclet/checkStylesheetClasses/CheckStylesheetClasses.java Changeset: 0e70d450 Author: Joe Darcy Date: 2022-02-01 01:27:18 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/0e70d4504c267174738485c7da82a2ac0ef09770 8280950: RandomGenerator:NextDouble() default behavior non conformant after JDK-8280550 fix Reviewed-by: bpb, jlaskey ! src/java.base/share/classes/jdk/internal/util/random/RandomSupport.java ! test/jdk/java/util/Random/RandomNextDoubleBoundary.java Changeset: de3113b9 Author: Michael McMahon Date: 2022-02-01 07:26:59 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/de3113b998550021bb502cd6f766036fb8351e7d 8279842: HTTPS Channel Binding support for Java GSS/Kerberos Co-authored-by: Weijun Wang Reviewed-by: dfuchs, weijun, darcy ! src/java.base/share/classes/java/net/doc-files/net-properties.html ! src/java.base/share/classes/sun/net/www/http/HttpClient.java ! src/java.base/share/classes/sun/net/www/protocol/http/HttpCallerInfo.java ! src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java ! src/java.base/share/classes/sun/net/www/protocol/https/AbstractDelegateHttpsURLConnection.java + src/java.base/share/classes/sun/security/util/ChannelBindingException.java + src/java.base/share/classes/sun/security/util/TlsChannelBinding.java ! src/java.naming/share/classes/com/sun/jndi/ldap/sasl/LdapSasl.java - src/java.naming/share/classes/com/sun/jndi/ldap/sasl/TlsChannelBinding.java ! src/java.security.jgss/share/classes/sun/net/www/protocol/http/spnego/NegotiatorImpl.java ! test/jdk/com/sun/jndi/ldap/LdapCBPropertiesTest.java + test/jdk/sun/security/krb5/auto/HttpsCB.java Changeset: 16ec47d5 Author: Albert Mingkun Yang Date: 2022-02-01 08:47:10 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/16ec47d5e5bf129fc0910358464ab62bf6ce7ed8 8279856: Parallel: Use PreservedMarks to record promotion-failed objects Reviewed-by: sjohanss, tschatzl ! src/hotspot/share/gc/parallel/psPromotionManager.cpp ! src/hotspot/share/gc/parallel/psScavenge.cpp ! src/hotspot/share/gc/shared/preservedMarks.cpp ! src/hotspot/share/gc/shared/preservedMarks.hpp ! src/hotspot/share/gc/shared/preservedMarks.inline.hpp Changeset: 18a7dc8c Author: Alexander Zuev Date: 2022-02-01 10:20:38 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/18a7dc8c08fa15a260b4a39b18c068d30ee45962 8279586: [macos] custom JCheckBox and JRadioBox with custom icon set: focus is still displayed after unchecking Reviewed-by: serb, azvegint ! src/java.desktop/macosx/classes/com/apple/laf/AquaButtonLabeledUI.java ! test/jdk/javax/swing/JCheckBox/ImageCheckboxFocus/ImageCheckboxTest.java Changeset: d37fb1df Author: Albert Mingkun Yang Date: 2022-02-01 10:56:07 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d37fb1df460ec980bd8d3029b1ce7896c3249a99 8280870: Parallel: Simplify CLD roots claim in Full GC cycle Reviewed-by: stefank, sjohanss ! src/hotspot/share/gc/parallel/psParallelCompact.cpp Changeset: 86debf42 Author: Albert Mingkun Yang Date: 2022-02-01 11:03:31 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/86debf42f545a1aec0a065ebd5b016339a1ae09f 8280932: G1: Rename HeapRegionRemSet::_code_roots accessors Reviewed-by: iwalulya ! src/hotspot/share/gc/g1/g1CodeBlobClosure.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.cpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.hpp ! src/hotspot/share/gc/g1/g1EvacFailure.cpp ! src/hotspot/share/gc/g1/g1HeapVerifier.cpp ! src/hotspot/share/gc/g1/g1RemSet.cpp ! src/hotspot/share/gc/g1/g1RemSetSummary.cpp ! src/hotspot/share/gc/g1/g1SharedClosures.hpp ! src/hotspot/share/gc/g1/g1YoungCollector.cpp ! src/hotspot/share/gc/g1/heapRegion.cpp ! src/hotspot/share/gc/g1/heapRegion.hpp ! src/hotspot/share/gc/g1/heapRegionRemSet.cpp ! src/hotspot/share/gc/g1/heapRegionRemSet.hpp Changeset: c5a86120 Author: Albert Mingkun Yang Date: 2022-02-01 12:23:44 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/c5a86120df7105cf612d513b5bd394501c00efed 8280458: G1: Remove G1BlockOffsetTablePart::_next_offset_threshold Reviewed-by: tschatzl, iwalulya, sjohanss ! src/hotspot/share/gc/g1/g1BlockOffsetTable.cpp ! src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp ! src/hotspot/share/gc/g1/g1BlockOffsetTable.inline.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1EvacFailure.cpp ! src/hotspot/share/gc/g1/g1FullGCCompactionPoint.cpp ! src/hotspot/share/gc/g1/g1ParScanThreadState.cpp ! src/hotspot/share/gc/g1/heapRegion.cpp ! src/hotspot/share/gc/g1/heapRegion.hpp ! src/hotspot/share/gc/g1/heapRegion.inline.hpp Changeset: 1f6fcbe2 Author: Kim Barrett Date: 2022-02-01 15:44:26 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/1f6fcbe2f3da4c63976b1564ec2170e4757fadcc 8278475: G1 dirty card refinement by Java threads may get unnecessarily paused Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/g1/g1DirtyCardQueue.cpp Changeset: 5080e815 Author: Chris Plummer Date: 2022-02-01 15:59:35 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/5080e815b4385751734054b5f889c4d89cfcdeb4 8280770: serviceability/sa/ClhsdbThreadContext.java sometimes fails with 'Thread "SteadyStateThread"' missing from stdout/stderr Reviewed-by: sspitsyn, dholmes ! test/hotspot/jtreg/serviceability/sa/ClhsdbThreadContext.java Changeset: 4532c3a1 Author: Chris Plummer Date: 2022-02-01 16:02:10 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/4532c3a1639af0b4ff8c4f42c3796fa73ca5be83 8280554: resourcehogs/serviceability/sa/ClhsdbRegionDetailsScanOopsForG1.java can fail if GC is triggered Reviewed-by: alanb, amenkov, lmesnik ! test/hotspot/jtreg/resourcehogs/serviceability/sa/ClhsdbRegionDetailsScanOopsForG1.java ! test/hotspot/jtreg/resourcehogs/serviceability/sa/LingeredAppWithLargeStringArray.java Changeset: d1cc5fda Author: Thomas Stuefe Date: 2022-02-01 17:19:26 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d1cc5fda8f9fe3480d661985f15c71a8a9a4a7f8 8280941: os::print_memory_mappings() prints segment preceeding the inclusion range Reviewed-by: stefank, minqi ! src/hotspot/os/linux/os_linux.cpp Changeset: bde2b378 Author: Jim Laskey Date: 2022-02-01 18:45:31 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/bde2b3783e0e9787cf2f270fcb3a54c2d4f1e5ab 8279954: java/lang/StringBuffer(StringBuilder)/HugeCapacity.java intermittently fails Reviewed-by: shade, dholmes ! test/jdk/java/lang/StringBuffer/HugeCapacity.java ! test/jdk/java/lang/StringBuilder/HugeCapacity.java Changeset: d95de5c7 Author: Calvin Cheung Date: 2022-02-01 19:33:36 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d95de5c7fea4b224d6cd073a6d6921d7108bb7e1 8255495: Support CDS Archived Heap for uncompressed oops Reviewed-by: iklam, tschatzl ! src/hotspot/share/cds/archiveUtils.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/heapShared.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/gc/epsilon/epsilonHeap.hpp ! src/hotspot/share/gc/serial/serialHeap.hpp ! src/hotspot/share/memory/universe.cpp ! test/hotspot/jtreg/TEST.groups + test/hotspot/jtreg/runtime/cds/appcds/DumpingWithNoCoops.java ! test/hotspot/jtreg/runtime/cds/appcds/cacheObject/DifferentHeapSizes.java Changeset: fdd9ca74 Author: Roger Riggs Date: 2022-02-01 20:13:14 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/fdd9ca74bd6ca87c30be2bcdcfd22e19b7687a5a 8280642: ObjectInputStream.readObject should throw InvalidClassException instead of IllegalAccessError Reviewed-by: naoto, mchung ! src/java.base/share/classes/java/io/ObjectInputStream.java ! test/jdk/java/rmi/server/RMIClassLoader/loadProxyClasses/LoadProxyClasses.java Changeset: a18beb47 Author: Aleksey Shipilev Date: 2022-02-01 20:55:39 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/a18beb4797a1ca6fc6b31e997be48b2bd91c6ac0 8280867: Cpuid1Ecx feature parsing is incorrect for AMD CPUs Reviewed-by: kvn, dlong ! src/hotspot/cpu/x86/vm_version_x86.hpp Changeset: c74b8f48 Author: Boris Ulasevich Date: 2022-02-01 20:56:57 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/c74b8f48fad8380dbd811e4a42c361006e13021d 8275914: SHA3: changing java implementation to help C2 create high-performance code Reviewed-by: ascarpino, phh ! src/java.base/share/classes/sun/security/provider/SHA3.java Changeset: 9ca7ff3e Author: Joe Darcy Date: 2022-02-01 22:30:08 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/9ca7ff3e4f0a944bacf38da7e5426082d64c52bd 8281082: Improve javadoc references to JOSS Reviewed-by: iris, rriggs, naoto, lancea ! src/java.base/share/classes/java/io/ObjectOutputStream.java ! src/java.base/share/classes/java/io/Serial.java ! src/java.base/share/classes/java/lang/Enum.java ! src/java.base/share/classes/java/lang/String.java ! src/java.base/share/classes/java/security/Key.java ! src/java.base/share/classes/java/security/KeyRep.java Changeset: 85d839fb Author: Chris Plummer Date: 2022-02-01 23:02:06 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/85d839fb4f3f820d130ea95f9a54ae137a95c20a 8280601: ClhsdbThreadContext.java test is triggering codecache related asserts Reviewed-by: kevinw, sspitsyn ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PointerFinder.java ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/utilities/PointerLocation.java Changeset: d32f99ee Author: Roland Westrelin Date: 2022-02-02 07:34:22 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d32f99ee65679601d6e160e7975fc1e367bfa6f4 8279219: [REDO] C2 crash when allocating array of size too large Reviewed-by: thartmann, neliasso ! src/hotspot/share/opto/callnode.cpp ! src/hotspot/share/opto/callnode.hpp ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/graphKit.cpp ! src/hotspot/share/opto/macro.cpp ! src/hotspot/share/opto/macro.hpp ! src/hotspot/share/opto/split_if.cpp + test/hotspot/jtreg/compiler/allocation/TestAllocArrayAfterAllocNoUse.java + test/hotspot/jtreg/compiler/allocation/TestCCPAllocateArray.java + test/hotspot/jtreg/compiler/allocation/TestFailedAllocationBadGraph.java Changeset: 97af3230 Author: Roland Westrelin Date: 2022-02-02 07:35:34 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/97af32304101397bb33cbbd1e35fd9124f9e2311 8280842: Access violation in ciTypeFlow::profiled_count Reviewed-by: neliasso, vlivanov, kvn ! src/hotspot/share/ci/ciTypeFlow.cpp + test/hotspot/jtreg/compiler/profiling/TestSharedHeadExceptionBackedges.java Changeset: 48a32b5f Author: Jatin Bhateja Date: 2022-02-02 07:36:47 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/48a32b5f3aa1b238bc9857002325579a5b041685 8280976: Incorrect encoding of avx512 vpsraq instruction with mask and constant shift. Reviewed-by: neliasso, thartmann ! src/hotspot/cpu/x86/assembler_x86.cpp Changeset: ab638341 Author: Roland Westrelin Date: 2022-02-02 07:37:44 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/ab638341de164965e06bb1d59808670260916b82 8280885: Shenandoah: Some tests failed with "EA: missing allocation reference path" Reviewed-by: rkennke ! src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp + test/hotspot/jtreg/gc/shenandoah/compiler/TestUnexpectedIUBarrierEA.java Changeset: 4304a772 Author: Roland Westrelin Date: 2022-02-02 07:38:36 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/4304a7728ec60f7937e0198c4f85384064fe560e 8279535: C2: Dead code in PhaseIdealLoop::create_loop_nest after JDK-8276116 Reviewed-by: thartmann ! src/hotspot/share/opto/loopnode.cpp Changeset: de826ba1 Author: Roland Westrelin Date: 2022-02-02 08:01:00 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/de826ba18a5e98586029581c2d4bcd27334fbdd1 8280600: C2: assert(!had_error) failed: bad dominance Reviewed-by: kvn, thartmann ! src/hotspot/share/opto/loopTransform.cpp + test/hotspot/jtreg/compiler/loopopts/TestCastIIMakesMainLoopPhiDead.java Changeset: ae2504b4 Author: Prasanta Sadhukhan Date: 2022-02-02 10:04:50 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/ae2504b4692a5298b5835727b04a44e1edc8a4d6 8278254: Cleanup doclint warnings in java.desktop module Reviewed-by: aivanov, serb ! src/java.desktop/share/classes/java/awt/BufferCapabilities.java ! src/java.desktop/share/classes/java/awt/Component.java ! src/java.desktop/share/classes/java/awt/event/KeyEvent.java ! src/java.desktop/share/classes/java/beans/beancontext/BeanContextServicesSupport.java ! src/java.desktop/share/classes/java/beans/beancontext/BeanContextSupport.java ! src/java.desktop/share/classes/javax/swing/DefaultListSelectionModel.java ! src/java.desktop/share/classes/javax/swing/JApplet.java ! src/java.desktop/share/classes/javax/swing/JDialog.java ! src/java.desktop/share/classes/javax/swing/JScrollBar.java ! src/java.desktop/share/classes/javax/swing/filechooser/FileSystemView.java ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicMenuItemUI.java ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicMenuUI.java ! src/java.desktop/share/classes/javax/swing/plaf/metal/MetalBorders.java ! src/java.desktop/share/classes/javax/swing/text/LayeredHighlighter.java ! src/java.desktop/share/classes/javax/swing/text/html/HTML.java ! src/java.desktop/share/classes/javax/swing/text/html/HTMLEditorKit.java ! src/java.desktop/share/classes/javax/swing/text/html/parser/AttributeList.java ! src/java.desktop/share/classes/javax/swing/text/html/parser/Parser.java ! src/java.desktop/share/classes/javax/swing/undo/UndoableEditSupport.java Changeset: 4ea6037e Author: Albert Mingkun Yang Date: 2022-02-02 10:43:02 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/4ea6037ea57ce7bbad00ef172dfc3c122b2317fc 8281035: Serial: Move RemoveForwardedPointerClosure to local scope Reviewed-by: kbarrett, tschatzl ! src/hotspot/share/gc/serial/defNewGeneration.cpp ! src/hotspot/share/gc/shared/preservedMarks.cpp ! src/hotspot/share/gc/shared/preservedMarks.hpp Changeset: ce71e8b2 Author: Roman Kennke Date: 2022-02-02 14:56:52 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/ce71e8b281176d39cc879ae4ecf95f3d643ebd29 8279917: Refactor subclassAudits in Thread to use ClassValue Reviewed-by: alanb, rriggs ! src/java.base/share/classes/java/lang/Thread.java Changeset: 87ab0994 Author: Michael McMahon Date: 2022-02-02 15:04:59 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/87ab0994ded3b535a160bb87b6540bd072042c44 8280944: Enable Unix domain sockets in Windows Selector notification mechanism Reviewed-by: dfuchs, alanb ! src/java.base/windows/classes/sun/nio/ch/PipeImpl.java ! src/java.base/windows/classes/sun/nio/ch/WEPollSelectorImpl.java ! src/java.base/windows/classes/sun/nio/ch/WindowsSelectorImpl.java Changeset: 9d578537 Author: Albert Mingkun Yang Date: 2022-02-02 15:17:50 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/9d578537ced356eb0526a70f717b5669e30eadc6 8281042: G1: Remove unused init_threshold in G1FullGCCompactionPoint Reviewed-by: tschatzl, kbarrett ! src/hotspot/share/gc/g1/g1FullCollector.cpp ! src/hotspot/share/gc/g1/g1FullGCCompactionPoint.cpp ! src/hotspot/share/gc/g1/g1FullGCCompactionPoint.hpp ! src/hotspot/share/gc/g1/g1FullGCPrepareTask.inline.hpp Changeset: 47800bf3 Author: Daniel Fuchs Date: 2022-02-02 17:11:22 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/47800bf3da181ae0ee612b14d95773fd1dc90350 8280868: LineBodyHandlerTest.java creates and discards too many clients Reviewed-by: michaelm ! test/jdk/java/net/httpclient/LineBodyHandlerTest.java Changeset: e3d5c9e7 Author: Masanori Yano Committer: Lance Andersen Date: 2022-02-02 21:02:19 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/e3d5c9e7c4ab210ae7a4417a47632603910744a1 8266974: duplicate property key in java.sql.rowset resource bundle Reviewed-by: lancea ! src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle.properties ! src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_de.properties ! src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_es.properties ! src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_fr.properties ! src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_it.properties ! src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_ja.properties ! src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_ko.properties ! src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_pt_BR.properties ! src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_sv.properties ! src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_zh_CN.properties ! src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_zh_TW.properties Changeset: fe0118f8 Author: Chris Plummer Date: 2022-02-02 21:51:39 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/fe0118f8040ce7e5e3d605942443e3a5d442fa92 8279662: serviceability/sa/ClhsdbScanOops.java can fail do to unexpected GC Reviewed-by: sspitsyn, kevinw ! test/hotspot/jtreg/serviceability/sa/ClhsdbScanOops.java Changeset: 2531c332 Author: Tobias Hartmann Date: 2022-02-01 17:41:15 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/2531c332f89c5faedf71ce1737373581c9abf905 8278871: [JVMCI] assert((uint)reason < 2* _trap_hist_limit) failed: oob Backport-of: 6f0e8da6d3bef340299e48977d5e17d05eabe682 ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/oops/methodData.hpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/deoptimization.hpp ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotVMConfig.java Changeset: a46307a7 Author: Jesper Wilhelmsson Date: 2022-02-03 01:11:16 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/a46307a79dd6c1f5cca02447b3452be8d1fbe9a0 Merge Changeset: a95ee5ad Author: Xue-Lei Andrew Fan Date: 2022-02-03 06:28:19 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/a95ee5ada230a0177517efd3a417f319066169dd 8065422: Trailing dot in hostname causes TLS handshake to fail with SNI disabled Reviewed-by: weijun ! src/java.base/share/classes/sun/security/ssl/Utilities.java ! src/java.base/share/classes/sun/security/ssl/X509TrustManagerImpl.java + test/jdk/javax/net/ssl/ServerName/EndingDotHostname.java + test/jdk/javax/net/ssl/templates/SSLExampleCert.java Changeset: fe547eac Author: Artem Semenov Date: 2022-02-03 07:22:30 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/fe547eacd71b4eb8119ecc7ca2d0bbe8e757f854 8280956: Re-examine copyright headers on files in src/java.desktop/macosx/native/libawt_lwawt/awt/a11y Reviewed-by: kizune, prr ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/CellAccessibility.h ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/CellAccessibility.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/ColumnAccessibility.h ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/ColumnAccessibility.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/ComboBoxAccessibility.h ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/ComboBoxAccessibility.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/ComponentWrapperAccessibility.h ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/ComponentWrapperAccessibility.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/ListAccessibility.h ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/ListAccessibility.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/ListRowAccessibility.h ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/ListRowAccessibility.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/NavigableTextAccessibility.h ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/NavigableTextAccessibility.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/OutlineAccessibility.h ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/OutlineAccessibility.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/OutlineRowAccessibility.h ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/OutlineRowAccessibility.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/TabButtonAccessibility.h ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/TabButtonAccessibility.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/TabGroupAccessibility.h ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/TabGroupAccessibility.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/TableAccessibility.h ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/TableAccessibility.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/TableRowAccessibility.h ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/TableRowAccessibility.m Changeset: 5ab22e88 Author: Roman Kennke Date: 2022-02-03 07:24:59 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/5ab22e88da8d79f9e19e8afffdd06206f42bab94 8276990: Memory leak in invoker.c fillInvokeRequest() during JDI operations Reviewed-by: sspitsyn, cjplummer ! src/jdk.jdwp.agent/share/native/libjdwp/invoker.c Changeset: 63a00a0d Author: Kevin Walls Date: 2022-02-03 10:10:45 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/63a00a0df24b154ef459936dbd69bcd2f0626235 8272777: Clean up remaining AccessController warnings in test library Reviewed-by: rriggs, sspitsyn ! test/lib/jdk/test/lib/SA/SATestUtils.java ! test/lib/jdk/test/lib/net/IPSupport.java ! test/lib/jdk/test/lib/net/SimpleSSLContext.java Changeset: 010965c8 Author: Thomas Stuefe Date: 2022-02-03 14:12:29 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/010965c86ab39260b882df807c4f5d6420b20ca9 8281023: NMT integration into pp debug command does not work Reviewed-by: zgu, iklam ! src/hotspot/share/services/mallocTracker.cpp ! src/hotspot/share/services/mallocTracker.hpp ! src/hotspot/share/services/virtualMemoryTracker.cpp ! src/hotspot/share/services/virtualMemoryTracker.hpp ! src/hotspot/share/utilities/debug.cpp Changeset: 1f926609 Author: Pavel Rappo Date: 2022-02-03 14:55:08 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/1f926609372c9b80dde831a014310a3729768c92 8281057: Fix doc references to overriding in JLS Reviewed-by: darcy, iris, dholmes, cjplummer ! src/hotspot/share/oops/klassVtable.cpp ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java ! src/jdk.jdi/share/classes/com/sun/jdi/ReferenceType.java Changeset: 86c24b31 Author: Alex Menkov Date: 2022-02-03 15:51:16 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/86c24b319ed5e2f0097cfb4b1afe2eb358eb5f75 8240908: RetransformClass does not know about MethodParameters attribute Reviewed-by: cjplummer, sspitsyn ! src/hotspot/share/prims/jvmtiClassFileReconstituter.cpp ! src/hotspot/share/prims/jvmtiClassFileReconstituter.hpp ! src/hotspot/share/prims/jvmtiRedefineClasses.cpp + test/jdk/java/lang/instrument/RetransformWithMethodParametersTest.java = test/lib/jdk/test/lib/util/ClassTransformer.java Changeset: cda9c301 Author: Yumin Qi Date: 2022-02-03 18:02:40 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/cda9c3011beeec8df68e78e096132e712255ce1b 8278753: Runtime crashes with access violation during JNI_CreateJavaVM call Reviewed-by: dholmes, stuefe ! make/data/hotspot-symbols/symbols-unix ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/classLoader.hpp ! src/hotspot/share/include/jvm.h ! src/hotspot/share/prims/jvm.cpp ! src/java.base/share/native/libjimage/imageDecompressor.cpp Changeset: 130cf46d Author: Brian Burkhalter Date: 2022-02-03 19:12:27 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/130cf46dcb7b089fcf4a4e950cdc701513f7b53f 4750574: (se spec) Selector spec should clarify calculation of select return value Reviewed-by: alanb ! src/java.base/share/classes/java/nio/channels/Selector.java Changeset: b6935dfb Author: Yi-Fan Tsai Committer: Paul Hohensee Date: 2022-02-03 19:34:28 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/b6935dfb86a1c011355d2dfb2140be26ec536351 8251505: Use of types in compiler shared code should be consistent. Reviewed-by: phh ! src/hotspot/share/code/nmethod.hpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compileBroker.hpp ! src/hotspot/share/jvmci/jvmciEnv.cpp ! src/hotspot/share/jvmci/jvmciEnv.hpp ! src/hotspot/share/runtime/interfaceSupport.cpp ! src/hotspot/share/runtime/interfaceSupport.inline.hpp ! src/hotspot/share/runtime/sweeper.cpp ! src/hotspot/share/runtime/sweeper.hpp ! src/hotspot/share/runtime/vmStructs.cpp Changeset: e44dc638 Author: Dean Long Date: 2022-02-03 22:10:44 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/e44dc638b8936b1b76ca9ddf9ece0c5c4705a19c 8271055: Crash during deoptimization with "assert(bb->is_reachable()) failed: getting result from unreachable basicblock" with -XX:+VerifyStack Co-authored-by: Yi Yang Co-authored-by: Yi Yang Reviewed-by: vlivanov, thartmann ! src/hotspot/share/runtime/deoptimization.cpp + test/hotspot/jtreg/compiler/interpreter/Custom.jasm + test/hotspot/jtreg/compiler/interpreter/VerifyStackWithUnreachableBlock.java Changeset: 63e11cfa Author: Andrey Turbanov Date: 2022-02-04 07:08:07 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/63e11cfa3f887515ca36ab5147c3e6fa540978d3 8280970: Cleanup dead code in java.security.Provider Reviewed-by: valeriep ! src/java.base/share/classes/java/security/Provider.java Changeset: c936e705 Author: Richard Reingruber Date: 2022-02-04 07:57:55 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/c936e7059b848d0e0be5f3234c4367657f2af2a7 8280593: [PPC64, S390] redundant allocation of MacroAssembler in StubGenerator ctor Reviewed-by: mdoerr, lucy ! src/hotspot/cpu/ppc/stubGenerator_ppc.cpp ! src/hotspot/cpu/s390/stubGenerator_s390.cpp ! src/hotspot/share/runtime/stubCodeGenerator.cpp Changeset: 46c6c6f3 Author: Martin Doerr Date: 2022-02-04 09:13:41 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/46c6c6f308b5ec0ec3b762df4b76de555287474c 8281043: Intrinsify recursive ObjectMonitor locking for PPC64 Reviewed-by: rrich, lucy ! src/hotspot/cpu/ppc/macroAssembler_ppc.cpp Changeset: 51b53a82 Author: Manukumar V S Committer: Alexey Ivanov Date: 2022-02-04 10:51:30 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/51b53a821bb3cfb962f80a637f5fb8cde988975a 8280913: Create a regression test for JRootPane.setDefaultButton() method Reviewed-by: aivanov + test/jdk/javax/swing/JRootPane/DefaultButtonTest.java Changeset: 3d926dd6 Author: Rob McKenna Date: 2022-02-04 13:07:03 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/3d926dd66ef6551e91a4ebbbc59dcff58f5ede5a 8277795: ldap connection timeout not honoured under contention Reviewed-by: dfuchs, aefimov ! src/java.naming/share/classes/com/sun/jndi/ldap/LdapClientFactory.java ! src/java.naming/share/classes/com/sun/jndi/ldap/pool/Connections.java ! src/java.naming/share/classes/com/sun/jndi/ldap/pool/Pool.java ! src/java.naming/share/classes/com/sun/jndi/ldap/pool/PooledConnectionFactory.java + test/jdk/com/sun/jndi/ldap/LdapPoolTimeoutTest.java Changeset: 01f93ddf Author: Matthias Baesken Date: 2022-02-04 07:47:42 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/01f93ddf18daea5c0798ac949c6717c37d9cefa0 8279385: [test] Adjust sun/security/pkcs12/KeytoolOpensslInteropTest.java after 8278344 Reviewed-by: mullan, xuelei Backport-of: 9bdf6eb7b2412ecff523015f1430dfb6a0e4dd09 ! test/jdk/sun/security/pkcs12/KeytoolOpensslInteropTest.java Changeset: 7207f2a3 Author: Jesper Wilhelmsson Date: 2022-02-04 14:47:06 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/7207f2a3b59c684d9d51d378257629729fa7041d Merge Changeset: 66b2c3b6 Author: Manukumar V S Committer: Alexey Ivanov Date: 2022-02-04 15:25:13 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/66b2c3b66e253ac3d8718c0c6d7c7551dbe04001 8280948: [TESTBUG] Write a regression test for JDK-4659800 Reviewed-by: aivanov + test/jdk/javax/swing/JButton/4659800/EnterKeyActivatesButton.java Changeset: d4b99bc0 Author: Albert Mingkun Yang Date: 2022-02-04 16:03:50 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d4b99bc029771d29c2119a9b5f381cae3fe21ec1 8281120: G1: Rename G1BlockOffsetTablePart::alloc_block to update_for_block Reviewed-by: tschatzl, iwalulya, sjohanss ! src/hotspot/share/gc/g1/g1BlockOffsetTable.cpp ! src/hotspot/share/gc/g1/g1BlockOffsetTable.hpp ! src/hotspot/share/gc/g1/g1EvacFailure.cpp ! src/hotspot/share/gc/g1/g1FullGCCompactionPoint.cpp ! src/hotspot/share/gc/g1/heapRegion.cpp ! src/hotspot/share/gc/g1/heapRegion.hpp ! src/hotspot/share/gc/g1/heapRegion.inline.hpp Changeset: f5d6fddc Author: Daniel D. Daugherty Date: 2022-02-04 17:37:01 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f5d6fddc6df8c5c5456a2544b131833d5227292b 8280476: [macOS] : hotspot arm64 bug exposed by latest clang Reviewed-by: kbarrett, adinn ! src/hotspot/cpu/aarch64/immediate_aarch64.cpp Changeset: 8e4ef818 Author: Yumin Qi Date: 2022-02-04 19:20:22 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/8e4ef818a90de35ae75e7f82a780653d623bb29c 8280767: -XX:ArchiveClassesAtExit does not archive BoundMethodHandle$Species classes Reviewed-by: iklam, ccheung ! src/hotspot/share/cds/lambdaFormInvokers.cpp ! src/hotspot/share/cds/lambdaFormInvokers.hpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/oops/klass.hpp ! src/hotspot/share/prims/jvm.cpp + test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/CDSLambdaInvoker.java + test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestLambdaInvokers.java Changeset: 48523b09 Author: Kevin Walls Date: 2022-02-04 21:23:58 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/48523b090886f7b24ed4009f0c150efaa6f7b056 8281049: man page update for jstatd Security Manager dependency removal Reviewed-by: cjplummer ! src/jdk.jstatd/share/man/jstatd.1 Changeset: 42e272e1 Author: Xue-Lei Andrew Fan Date: 2022-02-05 07:44:57 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/42e272e181f188c89fa88f144715f19235943fca 8281289: Improve with List.copyOf Reviewed-by: jnimeh, hchao ! src/java.base/share/classes/javax/net/ssl/SSLParameters.java Changeset: 77b0240d Author: Joe Darcy Date: 2022-02-06 02:19:32 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/77b0240d44fd356711d75bc241e198f6f89ada8f 8281183: RandomGenerator:NextDouble() default behavior partially fixed by JDK-8280950 Reviewed-by: jlaskey ! src/java.base/share/classes/jdk/internal/util/random/RandomSupport.java ! test/jdk/java/util/Random/RandomNextDoubleBoundary.java Changeset: f7814c12 Author: Toshio Nakamura Committer: Phil Race Date: 2022-02-06 18:39:44 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f7814c120bf84d7e9b459f81a6ce19b44fa122ec 8139173: [macosx] JInternalFrame shadow is not properly drawn Reviewed-by: prr, serb ! src/java.desktop/macosx/classes/com/apple/laf/AquaInternalFrameBorder.java + test/jdk/javax/swing/plaf/aqua/JInternalFrameBorderTest.java Changeset: 2f48a3f0 Author: Phil Race Date: 2022-02-06 21:13:17 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/2f48a3f032dcfe159a7ab4a3d0afd0a0760d0a04 8279878: java/awt/font/JNICheck/JNICheck.sh test fails on Ubuntu 21.10 Reviewed-by: serb ! test/jdk/java/awt/font/JNICheck/JNICheck.sh Changeset: c66d68b1 Author: Fei Yang Date: 2022-02-06 20:39:49 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/c66d68b1804546f8d36acbceb72be5bcf53b0e41 Merge branch 'master' into riscv-port ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/icBuffer_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/riscv.ad ! src/hotspot/os/linux/os_linux.cpp + src/hotspot/cpu/riscv/assembler_riscv.hpp + src/hotspot/cpu/riscv/icBuffer_riscv.cpp + src/hotspot/cpu/riscv/macroAssembler_riscv.hpp + src/hotspot/cpu/riscv/riscv.ad ! src/hotspot/os/linux/os_linux.cpp From duke at openjdk.java.net Tue Feb 8 02:34:23 2022 From: duke at openjdk.java.net (duke) Date: Tue, 8 Feb 2022 02:34:23 GMT Subject: git: openjdk/riscv-port: riscv-port: 14 new changesets Message-ID: Changeset: 5dfff740 Author: Prasanta Sadhukhan Date: 2022-02-07 04:48:02 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/5dfff7406ef3dc37a77ce9545f6f56c49b41e466 8166050: partialArray is not created in javax.swing.text.html.parser.NPrintWriter.println(...) method Reviewed-by: prr ! src/java.desktop/share/classes/javax/swing/text/html/parser/TagStack.java Changeset: f2302822 Author: Xue-Lei Andrew Fan Date: 2022-02-07 06:30:10 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f2302822c0ef30fbf7cb4e31b8dc1513e9413a23 8281298: Revise the creation of unmodifiable list Reviewed-by: redestad ! src/java.base/share/classes/javax/net/ssl/SSLParameters.java Changeset: f5e08700 Author: Emanuel Peter Committer: Tobias Hartmann Date: 2022-02-07 08:18:07 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f5e0870091ad9534e7a3dd08ef2e3ee7cd781c6d 8281117: Add regression test for JDK-8280587 Reviewed-by: chagedorn, thartmann, xliu + test/hotspot/jtreg/compiler/loopopts/TestCastIIMakesMainLoopPhiDead2.java Changeset: 95fd9d20 Author: Alex Menkov Date: 2022-02-07 09:08:34 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/95fd9d20f329b15d68e613ec7f932254715e9130 8281243: Test java/lang/instrument/RetransformWithMethodParametersTest.java is failing Reviewed-by: sspitsyn, dcubed, lmesnik ! test/jdk/java/lang/instrument/RetransformWithMethodParametersTest.java Changeset: f3e82426 Author: Julia Boes Date: 2022-02-07 09:28:05 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f3e8242683f6c729d89e2f49b0977889b4786f4a 8280965: Tests com/sun/net/httpserver/simpleserver fail with FileSystemException on Windows 11 Reviewed-by: dfuchs ! test/jdk/com/sun/net/httpserver/simpleserver/CustomFileSystemTest.java ! test/jdk/com/sun/net/httpserver/simpleserver/SimpleFileServerTest.java Changeset: 4c169495 Author: Aleksei Efimov Date: 2022-02-07 12:10:14 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/4c169495a2c4bfdcbc82e94e9ca1ee0cc050daf9 8272996: JNDI DNS provider fails to resolve SRV entries when IPV6 stack is enabled Reviewed-by: dfuchs ! src/jdk.naming.dns/share/classes/com/sun/jndi/dns/DnsClient.java Changeset: 76677716 Author: Albert Mingkun Yang Date: 2022-02-07 12:26:47 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/76677716abf1124992c8f5d4d5b159b1ec0f3cab 8281114: G1: Remove PreservedMarks::init_forwarded_mark Reviewed-by: tschatzl, sjohanss ! src/hotspot/share/gc/g1/g1EvacFailure.cpp ! src/hotspot/share/gc/shared/preservedMarks.hpp ! src/hotspot/share/gc/shared/preservedMarks.inline.hpp Changeset: 22a1a32c Author: Stephanie Crater Committer: Thomas Schatzl Date: 2022-02-07 12:43:28 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/22a1a32c7e5ceb7be6725f5369dcfc2a11fecc2f 8268387: Rename maximum compaction to maximal compaction in G1 Reviewed-by: ayang, tschatzl ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1FullCollector.cpp ! src/hotspot/share/gc/g1/g1FullCollector.hpp ! src/hotspot/share/gc/g1/g1FullGCScope.cpp ! src/hotspot/share/gc/g1/g1VMOperations.cpp Changeset: a0f6f240 Author: Sean Mullan Date: 2022-02-07 14:06:08 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/a0f6f2409ea61ff9ed9dc2e2b46e309c751d456d 8280890: Cannot use '-Djava.system.class.loader' with class loader in signed JAR Reviewed-by: weijun, hchao ! src/java.base/share/classes/sun/security/tools/keytool/Main.java ! src/java.base/share/classes/sun/security/util/DisabledAlgorithmConstraints.java + test/jdk/java/security/SignedJar/CustomClassLoader.java + test/jdk/java/security/SignedJar/SignedJarWithCustomClassLoader.java Changeset: 2ed1f4cf Author: Weijun Wang Date: 2022-02-07 15:05:30 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/2ed1f4cf32b1cef4ccb129d622f9368c3469d1d4 8281175: Add a -providerPath option to jarsigner Reviewed-by: xuelei, hchao ! src/java.base/share/classes/sun/security/tools/keytool/Main.java ! src/jdk.jartool/share/classes/sun/security/tools/jarsigner/Main.java ! src/jdk.jartool/share/classes/sun/security/tools/jarsigner/Resources.java ! test/jdk/sun/security/tools/jarsigner/AltProvider.java Changeset: 1dfc94dd Author: Kevin Walls Date: 2022-02-07 17:36:40 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/1dfc94dd561f6a91ef3784fe28c83f839f8188c4 8281377: Remove vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Deadlock/JavaDeadlock001/TestDescription.java from problemlist. Reviewed-by: sspitsyn ! test/hotspot/jtreg/ProblemList.txt Changeset: 8a662105 Author: Kevin Walls Date: 2022-02-07 18:16:23 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/8a662105c2da1f0fb9b7ecc5058fc85858439ed9 6779701: Wrong defect ID in the code of test LocalRMIServerSocketFactoryTest.java Reviewed-by: cjplummer, dfuchs ! test/jdk/sun/management/jmxremote/LocalRMIServerSocketFactoryTest.java Changeset: 2f71a6b3 Author: Erik Gahlin Date: 2022-02-07 19:54:05 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/2f71a6b39ed6bb869b4eb3e81bc1d87f4b3328ff 8279613: JFR: Snippify Javadoc Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/AnnotationElement.java ! src/jdk.jfr/share/classes/jdk/jfr/Event.java ! src/jdk.jfr/share/classes/jdk/jfr/EventFactory.java ! src/jdk.jfr/share/classes/jdk/jfr/EventSettings.java ! src/jdk.jfr/share/classes/jdk/jfr/FlightRecorder.java ! src/jdk.jfr/share/classes/jdk/jfr/MetadataDefinition.java ! src/jdk.jfr/share/classes/jdk/jfr/Recording.java ! src/jdk.jfr/share/classes/jdk/jfr/SettingControl.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/EventStream.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordedObject.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingFile.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingStream.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/package-info.java + src/jdk.jfr/share/classes/jdk/jfr/consumer/snippet-files/Snippets.java + src/jdk.jfr/share/classes/jdk/jfr/snippet-files/Snippets.java Changeset: 84f34dca Author: Fei Yang Date: 2022-02-07 21:32:07 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/84f34dca3af07031e9da829eeb00dc67d4a0936c Merge branch 'master' into riscv-port ! src/hotspot/cpu/riscv/icBuffer_riscv.cpp + src/hotspot/cpu/riscv/icBuffer_riscv.cpp From duke at openjdk.java.net Wed Feb 9 02:30:09 2022 From: duke at openjdk.java.net (duke) Date: Wed, 9 Feb 2022 02:30:09 GMT Subject: git: openjdk/riscv-port: riscv-port: 13 new changesets Message-ID: Changeset: 4eacacb5 Author: Aleksey Shipilev Date: 2022-02-08 07:19:57 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/4eacacb5ad61020c11a521111c40af9fa72e2ff5 8281314: Rename Stack{Red,Yellow,Reserved,Shadow}Pages multipliers Reviewed-by: stuefe, coleenp, xliu ! src/hotspot/share/runtime/stackOverflow.cpp Changeset: f2a9627c Author: Masanori Yano Committer: Alan Bateman Date: 2022-02-08 08:31:10 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f2a9627c05f9ef82eb83d8c1b9d4209bf42e7d8d 8279329: Remove hardcoded IPv4 available policy on Windows Reviewed-by: djelinski, alanb, dfuchs, aefimov ! src/java.base/windows/native/libnet/net_util_md.c Changeset: 861f2797 Author: Kim Barrett Date: 2022-02-08 09:02:53 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/861f2797f7d56ab185117f27dae2660af9250f6a 8280917: Simplify G1ConcurrentRefineThread activation Reviewed-by: iwalulya, sjohanss ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1ConcurrentRefine.cpp ! src/hotspot/share/gc/g1/g1ConcurrentRefine.hpp ! src/hotspot/share/gc/g1/g1ConcurrentRefineThread.cpp ! src/hotspot/share/gc/g1/g1ConcurrentRefineThread.hpp ! src/hotspot/share/gc/g1/g1DirtyCardQueue.cpp ! src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp Changeset: f5d8cebb Author: Manukumar V S Committer: Alexey Ivanov Date: 2022-02-08 12:39:43 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f5d8cebbb6f1b38247c3b30ba8859874a0e98115 8281296: Create a regression test for JDK-4515999 Reviewed-by: aivanov + test/jdk/javax/swing/JSpinner/4515999/JSpinnerMouseAndKeyPressTest.java Changeset: 83d67452 Author: Thomas Stuefe Date: 2022-02-08 14:43:45 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/83d67452da248db17bc72de80247a670d6813cf5 8281450: Remove unnecessary operator new and delete from ObjectMonitor Reviewed-by: dholmes ! src/hotspot/share/runtime/objectMonitor.cpp ! src/hotspot/share/runtime/objectMonitor.hpp Changeset: 380378c5 Author: Harold Seigel Date: 2022-02-08 16:00:58 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/380378c551b4243ef72d868571f725b390e12124 8281400: Remove unused wcslen() function Reviewed-by: dcubed, coleenp, lfoltan ! src/hotspot/share/utilities/globalDefinitions_gcc.hpp ! src/hotspot/share/utilities/globalDefinitions_xlc.hpp Changeset: 7f19c700 Author: Martin Doerr Date: 2022-02-08 17:48:48 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/7f19c700707573000a37910dd6d2f2bb6e8439ad 8281061: [s390] JFR runs into assertions while validating interpreter frames Reviewed-by: lucy, rrich ! src/hotspot/cpu/s390/frame_s390.cpp ! src/hotspot/os_cpu/linux_s390/thread_linux_s390.cpp Changeset: 92f4f40d Author: Christian Stein Committer: Lance Andersen Date: 2022-02-08 17:53:42 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/92f4f40da6c4ff55c7ed334007c9c6ca0dc15d99 8281104: jar --create should create missing parent directories Reviewed-by: lancea ! src/jdk.jartool/share/classes/sun/tools/jar/Main.java ! src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties + test/jdk/tools/jar/CreateMissingParentDirectories.java Changeset: 5fb56dbb Author: Daniel D. Daugherty Date: 2022-02-08 20:16:34 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/5fb56dbb0b4e3345ca6f48ba9c01bd467f04aa6f 8281476: ProblemList tools/jar/CreateMissingParentDirectories.java Reviewed-by: azvegint, bpb, lancea ! test/jdk/ProblemList.txt Changeset: d658d945 Author: Kim Barrett Date: 2022-02-08 20:29:04 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d658d945cf57bab8e61302841dcb56b36e48eff3 8280828: Improve invariants in NonblockingQueue::append Reviewed-by: iwalulya, tschatzl ! src/hotspot/share/utilities/nonblockingQueue.inline.hpp Changeset: fb17a8ec Author: Quan Anh Mai Committer: Jie Fu Date: 2022-02-08 23:38:09 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/fb17a8ece0a3593c51a8be60533916bf70778a93 8278947: Support for array constants in constant table Reviewed-by: kvn, vlivanov ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.hpp ! src/hotspot/cpu/x86/x86.ad ! src/hotspot/share/asm/assembler.hpp ! src/hotspot/share/opto/constantTable.cpp ! src/hotspot/share/opto/constantTable.hpp Changeset: 2f46af05 Author: Sergey Bylokhov Date: 2022-02-09 01:26:42 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/2f46af05ce2d43e19e0095680eb3a52fd904c774 8280132: Incorrect comparator com.sun.beans.introspect.MethodInfo.MethodOrder Reviewed-by: prr ! src/java.desktop/share/classes/com/sun/beans/introspect/MethodInfo.java ! test/jdk/java/beans/Introspector/MethodOrderException.java Changeset: b4c8c600 Author: Fei Yang Date: 2022-02-08 21:26:51 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/b4c8c60020162bf36d0e856f9c22945a1ca60df0 Merge branch 'master' into riscv-port ! src/hotspot/cpu/riscv/frame_riscv.cpp ! src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp ! src/hotspot/cpu/riscv/templateTable_riscv.cpp + src/hotspot/cpu/riscv/frame_riscv.cpp + src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp + src/hotspot/cpu/riscv/templateTable_riscv.cpp From duke at openjdk.java.net Thu Feb 10 02:42:16 2022 From: duke at openjdk.java.net (duke) Date: Thu, 10 Feb 2022 02:42:16 GMT Subject: git: openjdk/riscv-port: riscv-port: 15 new changesets Message-ID: <8037106c-0600-4562-b45e-c13eeb1d0f24@openjdk.java.net> Changeset: 13f739d3 Author: Kim Barrett Date: 2022-02-09 04:10:37 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/13f739d330e393f840d134f5327a025957e1f795 8280830: Change NonblockingQueue::try_pop variable named "result" Reviewed-by: dholmes ! src/hotspot/share/utilities/nonblockingQueue.inline.hpp Changeset: bce5dd17 Author: Kim Barrett Date: 2022-02-09 04:38:11 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/bce5dd17665d1cdf2901690ca54f84ec200560af 8280438: Improve BufferNode::Allocator::release to avoid walking pending list Reviewed-by: iwalulya, tschatzl ! src/hotspot/share/gc/shared/ptrQueue.cpp ! src/hotspot/share/gc/shared/ptrQueue.hpp Changeset: fc772178 Author: Aleksey Shipilev Date: 2022-02-09 06:28:00 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/fc77217814eb1a346d7380299abdc2b01a69b4de 8281168: Micro-optimize VarForm.getMemberName for interpreter Reviewed-by: redestad, vlivanov, mchung ! src/java.base/share/classes/java/lang/invoke/VarForm.java Changeset: cb2f8cae Author: Artem Semenov Date: 2022-02-09 06:50:35 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/cb2f8caed2de1bf0a85a7ebfd232c36371e06c98 8281338: NSAccessibilityPressAction action for tree node and NSAccessibilityShowMenuAcgtion action not working Reviewed-by: ant, kizune ! src/java.desktop/macosx/native/libawt_lwawt/awt/JavaAccessibilityAction.m + test/jdk/java/awt/a11y/AccessibleActionsTest.java Changeset: 072e7b4d Author: Kim Barrett Date: 2022-02-09 06:53:09 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/072e7b4da0449ab7c1ab1ba0cfbb3db233823e7c 8272807: Permit use of memory concurrent with pretouch Reviewed-by: shade, stuefe ! src/hotspot/share/runtime/os.cpp ! src/hotspot/share/runtime/os.hpp Changeset: f924e50c Author: Daniel Jeli?ski Committer: Alexey Ivanov Date: 2022-02-09 08:34:47 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f924e50c42c2f9548d2983449a98c45af40b0d35 8281440: AWT: Conversion from string literal loses const qualifier Reviewed-by: prr, aivanov ! src/java.desktop/windows/native/libawt/windows/WPrinterJob.cpp ! src/java.desktop/windows/native/libawt/windows/awt_Debug.cpp ! src/java.desktop/windows/native/libawt/windows/awt_DesktopProperties.cpp ! src/java.desktop/windows/native/libawt/windows/awt_DrawingSurface.cpp ! src/java.desktop/windows/native/libawt/windows/awt_Font.cpp ! src/java.desktop/windows/native/libawt/windows/awt_Font.h ! src/java.desktop/windows/native/libawt/windows/awt_PrintControl.cpp ! src/java.desktop/windows/native/libawt/windows/awt_PrintJob.cpp ! src/java.desktop/windows/native/libawt/windows/awt_Toolkit.cpp ! src/java.desktop/windows/native/libawt/windows/awt_Win32GraphicsEnv.cpp Changeset: f092baba Author: Alexey Pavlyutkin Committer: Aleksey Shipilev Date: 2022-02-09 09:33:35 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f092babafb58563a4044463e157e02c397d8c9bc 8281195: Mistakenly used logging causes significant overhead in interpreter Reviewed-by: shade, dholmes ! src/hotspot/share/interpreter/oopMapCache.cpp Changeset: 69e390a0 Author: Roland Westrelin Date: 2022-02-09 10:18:27 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/69e390a0e86f82eaa7bcdbc3ef509734dbe3b22f 8262721: Add Tests to verify single iteration loops are properly optimized Reviewed-by: neliasso, chagedorn, kvn + test/hotspot/jtreg/compiler/c2/irTests/TestFewIterationsCountedLoop.java Changeset: bb2e10cc Author: Matthias Baesken Date: 2022-02-09 11:33:16 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/bb2e10ccea0c0b89b06ace034c99253e9999ec47 8281274: deal with ActiveProcessorCount in os::Linux::print_container_info Reviewed-by: stuefe, sgehwolf, dholmes, iklam ! src/hotspot/os/linux/os_linux.cpp ! test/hotspot/jtreg/containers/docker/TestMisc.java Changeset: 8b384b98 Author: Christian Stein Committer: Lance Andersen Date: 2022-02-09 11:34:22 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/8b384b986a0a6a972c29a2f7a4d9fd40dc479b48 8281470: tools/jar/CreateMissingParentDirectories.java fails with "Should have failed creating jar file" Reviewed-by: lancea ! test/jdk/ProblemList.txt ! test/jdk/tools/jar/CreateMissingParentDirectories.java Changeset: f823bed0 Author: Bhavana Kilambi Committer: Paul Hohensee Date: 2022-02-09 13:18:29 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f823bed043dc38d838baaf8c2024ef24b8a50e9b 8280007: Enable Neoverse N1 optimizations for Arm Neoverse V1 & N2 Reviewed-by: phh ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp Changeset: c5c8c064 Author: Vladimir Ivanov Date: 2022-02-09 13:56:23 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/c5c8c0644d9442846de15422285fffeb91c3e0a1 8279822: CI: Constant pool entries in error state are not supported Reviewed-by: kvn, thartmann ! src/hotspot/share/ci/bcEscapeAnalyzer.cpp ! src/hotspot/share/ci/ciConstant.hpp ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/ci/ciStreams.cpp ! src/hotspot/share/ci/ciStreams.hpp ! src/hotspot/share/ci/ciTypeFlow.cpp ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/opto/parse2.cpp ! src/hotspot/share/utilities/constantTag.hpp + test/hotspot/jtreg/compiler/runtime/TestConstantsInError.java Changeset: 178b962e Author: Hai-May Chao Date: 2022-02-09 16:53:48 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/178b962e01cc6c150442bf41dc6bd199caff0042 8265765: DomainKeyStore may stop enumerating aliases if a constituting KeyStore is empty Reviewed-by: weijun ! src/java.base/share/classes/sun/security/provider/DomainKeyStore.java + test/jdk/sun/security/provider/KeyStore/DksWithEmptyKeystore.java Changeset: fd8a3dcc Author: Alexey Ivanov Date: 2022-02-09 19:12:20 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/fd8a3dcc52dc5d6b62edd83eacef5934f6294e80 8280820: Clean up bug8033699 and bug8075609.java tests: regtesthelpers aren't used Reviewed-by: prr ! test/jdk/javax/swing/JRadioButton/8033699/bug8033699.java ! test/jdk/javax/swing/JRadioButton/8075609/bug8075609.java Changeset: 8a0d9e52 Author: Fei Yang Date: 2022-02-09 21:40:02 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/8a0d9e52c3fe44c37ebe640cacde2c3542079236 Merge branch 'master' into riscv-port ! src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp ! src/hotspot/os/linux/os_linux.cpp + src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.cpp + src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.hpp + src/hotspot/cpu/riscv/macroAssembler_riscv.cpp + src/hotspot/cpu/riscv/macroAssembler_riscv.hpp + src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp ! src/hotspot/os/linux/os_linux.cpp From duke at openjdk.java.net Mon Feb 14 01:12:17 2022 From: duke at openjdk.java.net (duke) Date: Mon, 14 Feb 2022 01:12:17 GMT Subject: git: openjdk/riscv-port: riscv-port: 34 new changesets Message-ID: <158eb989-ee7e-4438-8058-2b32320f6f03@openjdk.java.net> Changeset: 7218d844 Author: John Jiang Date: 2022-02-10 08:11:08 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/7218d8449bfaa3f121b66088a88a194f77f06753 8281567: Remove @throws IOException from X509CRLImpl::getExtension docs Reviewed-by: xuelei, jiefu ! src/java.base/share/classes/sun/security/x509/X509CRLImpl.java Changeset: fa0a72c0 Author: Emanuel Peter Committer: Tobias Hartmann Date: 2022-02-10 09:29:53 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/fa0a72c030432f9ea4ad9913a2bb4096324410aa 8252496: C2: Useless code in MergeMemNode::Ideal Reviewed-by: thartmann, chagedorn, vlivanov ! src/hotspot/share/opto/memnode.cpp Changeset: c820d1ac Author: Leo Korinth Date: 2022-02-10 10:34:16 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/c820d1acb7c6e600a890e4205eef0be8a4c7a791 8281379: Assign package declarations to all jtreg test cases under gc Reviewed-by: kbarrett, tschatzl ! test/hotspot/jtreg/gc/g1/TestG1SkipCompaction.java ! test/hotspot/jtreg/gc/g1/numa/TestG1NUMATouchRegions.java ! test/hotspot/jtreg/gc/z/TestGarbageCollectorMXBean.java ! test/hotspot/jtreg/gc/z/TestMemoryMXBean.java ! test/hotspot/jtreg/gc/z/TestMemoryManagerMXBean.java Changeset: d442328b Author: Maxim Kartashev Committer: Magnus Ihse Bursie Date: 2022-02-10 10:46:35 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d442328bc2f2f4bc35dd054487a78552e3d9a759 8281262: Windows builds in different directories are not fully reproducible Co-authored-by: Erik Joelsson Reviewed-by: erikj, ihse ! make/TestImage.gmk ! make/autoconf/flags-cflags.m4 ! test/jdk/build/AbsPathsInImage.java Changeset: 3ce1c5b6 Author: Kim Barrett Date: 2022-02-10 11:28:04 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/3ce1c5b6ce02749ef8f9d35409b7bcbf27f47203 8280832: Update usage docs for NonblockingQueue Reviewed-by: iwalulya, dholmes ! src/hotspot/share/utilities/nonblockingQueue.hpp ! src/hotspot/share/utilities/nonblockingQueue.inline.hpp Changeset: 039313d6 Author: Prasanta Sadhukhan Date: 2022-02-10 12:02:05 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/039313d65d47dc85cb8c91d3e1d2752d365f70f9 8054449: Incompatible type in example code in TreePath Reviewed-by: aivanov, dmarkov ! src/java.desktop/share/classes/javax/swing/tree/TreePath.java Changeset: 83b6e4bc Author: Paul Sandoz Date: 2022-02-10 18:37:21 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/83b6e4bc04db89a846a1b6c2d0666efe139f8f61 8281294: [vectorapi] FIRST_NONZERO reduction operation throws IllegalArgumentExcept on zero vectors Reviewed-by: jrose ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ByteVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/DoubleVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/FloatVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/IntVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/LongVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ShortVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/X-Vector.java.template ! test/jdk/jdk/incubator/vector/Byte128VectorTests.java ! test/jdk/jdk/incubator/vector/Byte256VectorTests.java ! test/jdk/jdk/incubator/vector/Byte512VectorTests.java ! test/jdk/jdk/incubator/vector/Byte64VectorTests.java ! test/jdk/jdk/incubator/vector/ByteMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Double128VectorTests.java ! test/jdk/jdk/incubator/vector/Double256VectorTests.java ! test/jdk/jdk/incubator/vector/Double512VectorTests.java ! test/jdk/jdk/incubator/vector/Double64VectorTests.java ! test/jdk/jdk/incubator/vector/DoubleMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Float128VectorTests.java ! test/jdk/jdk/incubator/vector/Float256VectorTests.java ! test/jdk/jdk/incubator/vector/Float512VectorTests.java ! test/jdk/jdk/incubator/vector/Float64VectorTests.java ! test/jdk/jdk/incubator/vector/FloatMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Int128VectorTests.java ! test/jdk/jdk/incubator/vector/Int256VectorTests.java ! test/jdk/jdk/incubator/vector/Int512VectorTests.java ! test/jdk/jdk/incubator/vector/Int64VectorTests.java ! test/jdk/jdk/incubator/vector/IntMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Long128VectorTests.java ! test/jdk/jdk/incubator/vector/Long256VectorTests.java ! test/jdk/jdk/incubator/vector/Long512VectorTests.java ! test/jdk/jdk/incubator/vector/Long64VectorTests.java ! test/jdk/jdk/incubator/vector/LongMaxVectorTests.java ! test/jdk/jdk/incubator/vector/Short128VectorTests.java ! test/jdk/jdk/incubator/vector/Short256VectorTests.java ! test/jdk/jdk/incubator/vector/Short512VectorTests.java ! test/jdk/jdk/incubator/vector/Short64VectorTests.java ! test/jdk/jdk/incubator/vector/ShortMaxVectorTests.java ! test/jdk/jdk/incubator/vector/gen-template.sh - test/jdk/jdk/incubator/vector/templates/Kernel-Reduction-Masked-Min-op.template = test/jdk/jdk/incubator/vector/templates/Kernel-Reduction-Masked-op-func.template - test/jdk/jdk/incubator/vector/templates/Kernel-Reduction-Max-op.template - test/jdk/jdk/incubator/vector/templates/Kernel-Reduction-Min-op.template + test/jdk/jdk/incubator/vector/templates/Kernel-Reduction-op-func.template - test/jdk/jdk/incubator/vector/templates/Unit-Reduction-Masked-Min-op.template = test/jdk/jdk/incubator/vector/templates/Unit-Reduction-Masked-op-func.template - test/jdk/jdk/incubator/vector/templates/Unit-Reduction-Min-op.template - test/jdk/jdk/incubator/vector/templates/Unit-Reduction-Scalar-Masked-Max-op.template - test/jdk/jdk/incubator/vector/templates/Unit-Reduction-Scalar-Masked-Min-op.template + test/jdk/jdk/incubator/vector/templates/Unit-Reduction-Scalar-Masked-op-func.template - test/jdk/jdk/incubator/vector/templates/Unit-Reduction-Scalar-Max-op.template - test/jdk/jdk/incubator/vector/templates/Unit-Reduction-Scalar-Min-op.template + test/jdk/jdk/incubator/vector/templates/Unit-Reduction-Scalar-op-func.template = test/jdk/jdk/incubator/vector/templates/Unit-Reduction-op-func.template ! test/jdk/jdk/incubator/vector/templates/Unit-header.template Changeset: 58c2bd31 Author: Erik Gahlin Date: 2022-02-10 22:51:39 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/58c2bd315836b9c4fbffa212497fd84c8f589c17 8281536: JFR: Improve jdk.jfr.ContentType documentation Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/ContentType.java ! src/jdk.jfr/share/classes/jdk/jfr/snippet-files/Snippets.java Changeset: 84868e39 Author: David Holmes Date: 2022-02-10 23:23:48 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/84868e39be4522ba87e603beea0f8da9efa43b6d 8281275: Upgrading from 8 to 11 no longer accepts '/' as filepath separator in gc paths Reviewed-by: shade, dcubed ! src/hotspot/share/logging/logConfiguration.cpp ! test/hotspot/gtest/logging/test_logConfiguration.cpp Changeset: eee6a562 Author: Thomas Stuefe Date: 2022-02-11 05:34:27 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/eee6a5622dca683d4d6a701daa48e09e8d17b54e 8281522: Rename ADLC classes which have the same name as hotspot variants Reviewed-by: neliasso, kvn + src/hotspot/share/adlc/adlArena.cpp + src/hotspot/share/adlc/adlArena.hpp ! src/hotspot/share/adlc/adlc.hpp ! src/hotspot/share/adlc/adlparse.cpp - src/hotspot/share/adlc/arena.cpp - src/hotspot/share/adlc/arena.hpp ! src/hotspot/share/adlc/dfa.cpp ! src/hotspot/share/adlc/dict2.cpp ! src/hotspot/share/adlc/dict2.hpp ! src/hotspot/share/adlc/forms.cpp ! src/hotspot/share/adlc/forms.hpp ! src/hotspot/share/adlc/formsopt.cpp ! src/hotspot/share/adlc/formssel.cpp Changeset: 65831eb2 Author: Aleksey Shipilev Date: 2022-02-11 06:45:13 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/65831eb294b6f1f5f99988836c00005d41c27fd3 8281318: Improve jfr/event/allocation tests reliability Reviewed-by: mgronlun ! test/jdk/jdk/jfr/event/allocation/TestObjectAllocationInNewTLABEvent.java ! test/jdk/jdk/jfr/event/allocation/TestObjectAllocationOutsideTLABEvent.java ! test/jdk/jdk/jfr/event/allocation/TestObjectAllocationSampleEventThrottling.java Changeset: a037b3c3 Author: Thomas Stuefe Date: 2022-02-11 07:21:04 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/a037b3c35831f029d23a88bdd49e7f2c2d951631 8281460: Let ObjectMonitor have its own NMT category Reviewed-by: dholmes, dcubed, shade ! src/hotspot/share/memory/allocation.hpp ! src/hotspot/share/runtime/objectMonitor.hpp Changeset: 8441d51e Author: Sergey Bylokhov Date: 2022-02-11 07:41:18 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/8441d51e71e143250b44eea74114a624cf00cc3e 8281419: The source data for the color conversion can be discarded Reviewed-by: prr, aivanov ! src/java.desktop/share/native/liblcms/LCMS.c Changeset: 3a13425b Author: Aleksey Shipilev Date: 2022-02-11 08:46:55 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/3a13425bc9088cbb6d95e1a46248d7eba27fb1a6 8072070: Improve interpreter stack banging Reviewed-by: xliu, coleenp, mdoerr ! src/hotspot/cpu/x86/templateInterpreterGenerator_x86.cpp ! src/hotspot/share/runtime/javaCalls.cpp ! src/hotspot/share/runtime/os.cpp ! src/hotspot/share/runtime/stackOverflow.hpp ! src/hotspot/share/runtime/thread.hpp Changeset: 90939cb8 Author: Kim Barrett Date: 2022-02-11 09:05:50 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/90939cb80193c671cae635b7a4e41bd2e6bcdbd5 8281626: NonblockingQueue should use nullptr Reviewed-by: shade, dholmes ! src/hotspot/share/utilities/nonblockingQueue.hpp ! src/hotspot/share/utilities/nonblockingQueue.inline.hpp Changeset: 4d640760 Author: Prasanta Sadhukhan Date: 2022-02-11 09:39:10 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/4d64076058a4ec5df101b06572195ed5fdee6f64 8047749: javadoc for getPathBounds() in TreeUI and BasicTreeUI is incorrect Reviewed-by: aivanov ! src/java.desktop/share/classes/javax/swing/plaf/TreeUI.java ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTreeUI.java Changeset: d254cf28 Author: Jie Fu Date: 2022-02-11 11:39:54 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d254cf28c5e72bd9b8de863b831015237640ca25 8281638: jfr/event/allocation tests fail with release VMs after JDK-8281318 due to lack of -XX:+UnlockDiagnosticVMOptions Reviewed-by: shade ! test/jdk/jdk/jfr/event/allocation/TestObjectAllocationInNewTLABEvent.java ! test/jdk/jdk/jfr/event/allocation/TestObjectAllocationOutsideTLABEvent.java ! test/jdk/jdk/jfr/event/allocation/TestObjectAllocationSampleEventThrottling.java Changeset: 4ff5824f Author: Jan Lahoda Date: 2022-02-11 12:11:29 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/4ff5824f5bc13826d2eae1c83094acfcccdb7b8f 8281100: Spurious "variable might not have been initialized" with sealed class switch Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeInfo.java ! test/langtools/tools/javac/patterns/Exhaustiveness.java Changeset: f399ae55 Author: lawrence.andrews Committer: Alexey Ivanov Date: 2022-02-11 15:33:17 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f399ae558eabdce8960d339ef0758c023aeb89cc 8202836: [macosx] test java/awt/Graphics/TextAAHintsTest.java fails Reviewed-by: prr, aivanov ! test/jdk/java/awt/Graphics/TextAAHintsTest.java Changeset: e73ee0ca Author: Daniel Jeli?ski Committer: Brian Burkhalter Date: 2022-02-11 16:24:43 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/e73ee0ca10b644600ee3747b901e5f69104d03df 8281259: MutableBigInteger subtraction could be simplified Reviewed-by: bpb ! src/java.base/share/classes/java/math/MutableBigInteger.java ! test/micro/org/openjdk/bench/java/math/BigIntegers.java Changeset: e75e8cd7 Author: Yumin Qi Date: 2022-02-11 16:42:07 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/e75e8cd708ed478eda08c4a5c724e7e82f57d36e 8279997: check_for_dynamic_dump should not exit vm Reviewed-by: ccheung, iklam ! src/hotspot/share/cds/dynamicArchive.cpp ! src/hotspot/share/runtime/arguments.cpp ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/ArchiveConsistency.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/SharedArchiveFileOption.java Changeset: 88868397 Author: Erik Gahlin Date: 2022-02-11 17:15:04 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/8886839779094f8a13c16be79f88052b2c79eeea 8281622: JFR: Improve documentation of jdk.jfr.Relational Reviewed-by: jbachorik ! src/jdk.jfr/share/classes/jdk/jfr/Relational.java ! src/jdk.jfr/share/classes/jdk/jfr/snippet-files/Snippets.java Changeset: c5ff6e45 Author: Calvin Cheung Date: 2022-02-11 17:39:20 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/c5ff6e45dee41b5703138d323a04c2c7973a08b9 8223077: module path support for dynamic CDS archive Reviewed-by: iklam, minqi ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/runtime/arguments.hpp ! test/hotspot/jtreg/runtime/cds/appcds/TestCommon.java + test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/ModulePath.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/UnsupportedBaseArchive.java Changeset: 0786ddb4 Author: Manukumar V S Committer: Alexey Ivanov Date: 2022-02-11 17:40:25 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/0786ddb4712296c90df2c9e97c76c203a4de4612 8281535: Create a regression test for JDK-4670051 Reviewed-by: aivanov + test/jdk/javax/swing/JSpinner/4670051/DateFieldUnderCursorTest.java Changeset: 83ffbd2e Author: Dr Heinz M. Kabutz Committer: Paul Sandoz Date: 2022-02-11 18:49:04 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/83ffbd2e7aed8a9c788395ccbe920ddff221ae16 8277175: Add a parallel multiply method to BigInteger Reviewed-by: psandoz ! src/java.base/share/classes/java/math/BigInteger.java + test/jdk/java/math/BigInteger/BigIntegerParallelMultiplyTest.java + test/micro/org/openjdk/bench/java/math/BigIntegerMersennePrimeMultiply.java + test/micro/org/openjdk/bench/java/math/BigIntegerParallelMultiply.java Changeset: 4032fe76 Author: Joe Darcy Date: 2022-02-11 21:52:16 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/4032fe76dccb6da85927361aee7ceedcdb758e89 8281238: TYPE_USE annotations not printed in correct position in toString output Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java ! test/langtools/tools/javac/patterns/Annotations.java ! test/langtools/tools/javac/tree/ArrayTypeToString.java ! test/langtools/tools/javac/tree/ArrayTypeToString.out Changeset: c3179a87 Author: Joe Darcy Date: 2022-02-11 23:24:08 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/c3179a8760019b5954e344bf0d2775e1e1968f32 8281462: Annotation toString output for enum not reusable for source input Reviewed-by: mchung ! src/java.base/share/classes/sun/reflect/annotation/AnnotationInvocationHandler.java ! test/jdk/java/lang/annotation/AnnotationToStringTest.java ! test/jdk/java/lang/annotation/AnnotationTypeMismatchException/EnumTypeMismatchTest.java ! test/jdk/java/lang/annotation/TestConstructorParameterAnnotations.java ! test/jdk/java/lang/annotation/typeAnnotations/GetAnnotatedNestedSuperclass.java ! test/jdk/java/lang/annotation/typeAnnotations/TestConstructorParameterTypeAnnotations.java ! test/jdk/java/lang/annotation/typeAnnotations/TestObjectMethods.java ! test/jdk/java/lang/reflect/records/RecordReflectionTest.java Changeset: 6fdfe045 Author: Joe Darcy Date: 2022-02-12 01:33:41 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/6fdfe0458df989a7946b4f52a3023e8a39fb3bbb 8281674: tools/javac/annotations/typeAnnotations/classfile/AnonymousExtendsTest.java fails with AssertionError Reviewed-by: vromero ! test/langtools/tools/javac/annotations/typeAnnotations/classfile/AnonymousExtendsTest.java Changeset: aa918a6e Author: Alexander Zuev Date: 2022-02-12 09:26:47 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/aa918a6ec4cd1356efd481c6f6fa94959f94f7b3 8281033: Improve ImageCheckboxTest to test all available LaF Reviewed-by: serb ! test/jdk/javax/swing/JCheckBox/ImageCheckboxFocus/ImageCheckboxTest.java Changeset: 58dae60d Author: Alexey Bakhtin Date: 2022-02-12 11:54:22 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/58dae60da0711c4ae0cb23f8ce2328e051d603b2 8274524: SSLSocket.close() hangs if it is called during the ssl handshake Reviewed-by: xuelei ! src/java.base/share/classes/sun/security/ssl/SSLSocketImpl.java + test/jdk/sun/security/ssl/SSLSocketImpl/ClientSocketCloseHang.java Changeset: 67077a04 Author: Emanuel Peter Committer: David Holmes Date: 2022-02-12 13:08:39 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/67077a04307b512219a46b6c4c274ce308ee46de 8278423: ExtendedDTraceProbes should be deprecated Reviewed-by: dholmes, hseigel, kvn, thartmann ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/globals.hpp ! src/java.base/share/man/java.1 ! test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java ! test/hotspot/jtreg/serviceability/7170638/SDTProbesGNULinuxTest.java Changeset: 8acfbc2e Author: David Holmes Date: 2022-02-12 14:12:42 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/8acfbc2e21063c3dc088c25c1574bcefa94e5a24 8281675: VMDeprecatedOptions test fails after JDK-8278423 Reviewed-by: dcubed ! test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java Changeset: eff5dafb Author: Sergey Bylokhov Date: 2022-02-12 22:10:11 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/eff5dafba9f72bd0612357712ffa472ce1c9166a 8274939: Incorrect size of the pixel storage is used by the robot on macOS Reviewed-by: aivanov, prr ! src/java.desktop/macosx/classes/sun/lwawt/macosx/CRobot.java ! src/java.desktop/macosx/native/libawt_lwawt/awt/CRobot.m ! test/jdk/java/awt/Robot/CheckCommonColors/CheckCommonColors.java Changeset: 00146548 Author: Fei Yang Date: 2022-02-13 20:06:09 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/00146548a95202a55075c8b2e6eb3c322c5e8601 Merge branch 'master' into riscv-port ! src/hotspot/cpu/riscv/c1_globals_riscv.hpp ! src/hotspot/share/runtime/arguments.cpp + src/hotspot/cpu/riscv/c1_globals_riscv.hpp ! src/hotspot/share/runtime/arguments.cpp From xlinzheng at openjdk.java.net Mon Feb 14 10:34:57 2022 From: xlinzheng at openjdk.java.net (Xiaolin Zheng) Date: Mon, 14 Feb 2022 10:34:57 GMT Subject: [riscv-port] RFR: 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp Message-ID: Hi team, Could I have a review of this patch - this is just a trivial refactoring with some cleanups for `nativeInst_riscv.h/cpp` using `Assembler::extract()` with raw bits, by adding `extract_rs1`, `extract_rs2`, `extract_rd`, `extract_opcode`, and `extract_funct3` to make the code cleaner and conciser. Tested hotspot tier1 on Qemu with no other errors. Thanks, Xiaolin ------------- Commit messages: - A tiny cleanup for nativeInst_riscv.h/cpp - Refactor: add extract_rs1, extract_rs2, extract_rd, extract_opcode, and extract_funct3 instead of using raw bits to make code more intuitive Changes: https://git.openjdk.java.net/riscv-port/pull/57/files Webrev: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=57&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8281731 Stats: 155 lines in 2 files changed: 49 ins; 20 del; 86 mod Patch: https://git.openjdk.java.net/riscv-port/pull/57.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/57/head:pull/57 PR: https://git.openjdk.java.net/riscv-port/pull/57 From fyang at openjdk.java.net Tue Feb 15 01:49:40 2022 From: fyang at openjdk.java.net (Fei Yang) Date: Tue, 15 Feb 2022 01:49:40 GMT Subject: [riscv-port] RFR: 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp In-Reply-To: References: Message-ID: On Mon, 14 Feb 2022 10:29:13 GMT, Xiaolin Zheng wrote: > Hi team, > > Could I have a review of this patch - this is just a trivial refactoring with some cleanups for `nativeInst_riscv.h/cpp` using `Assembler::extract()` with raw bits, by adding `extract_rs1`, `extract_rs2`, `extract_rd`, `extract_opcode`, and `extract_funct3` to make the code cleaner and conciser. Tested hotspot tier1 on Qemu with no other errors found. > > Thanks, > Xiaolin src/hotspot/cpu/riscv/nativeInst_riscv.cpp line 88: > 86: > 87: bool NativeInstruction::is_movptr_at(address instr) { > 88: address pos = instr; Why introduce another local "pos" here? We could use input param "instr" directly. src/hotspot/cpu/riscv/nativeInst_riscv.hpp line 107: > 105: address slli2 = addi2 + instruction_size; > 106: address last_instr = slli2 + instruction_size; > 107: return extract_rs1(addi1) == extract_rd(lui) && We are extracting the same thing more than once here and other places, which I think could be optimized. ------------- PR: https://git.openjdk.java.net/riscv-port/pull/57 From duke at openjdk.java.net Tue Feb 15 01:58:27 2022 From: duke at openjdk.java.net (duke) Date: Tue, 15 Feb 2022 01:58:27 GMT Subject: git: openjdk/riscv-port: riscv-port: 16 new changesets Message-ID: <522a1f89-3f1b-4f69-835c-e6bd09df0c80@openjdk.java.net> Changeset: adbe0661 Author: Bhavana Kilambi Committer: Ningsheng Jian Date: 2022-02-14 01:33:20 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/adbe0661029f12a36a44af52b83b189384d33a27 8239927: Product variable PrefetchFieldsAhead is unused and should be removed Reviewed-by: njian, dholmes ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/share/gc/shared/gc_globals.hpp ! src/hotspot/share/runtime/arguments.cpp Changeset: 483d4b97 Author: Nils Eliasson Date: 2022-02-14 08:27:21 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/483d4b97e0ae4ab7b0d87058901f57688a0f0811 8281505: Add CompileCommand PrintIdealPhase Reviewed-by: kvn, thartmann, chagedorn ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compilerDirectives.cpp ! src/hotspot/share/compiler/compilerDirectives.hpp ! src/hotspot/share/compiler/compilerOracle.cpp ! src/hotspot/share/compiler/compilerOracle.hpp ! src/hotspot/share/compiler/directivesParser.cpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/compile.hpp ! src/hotspot/share/opto/phasetype.hpp + test/hotspot/jtreg/compiler/oracle/PrintIdealPhaseTest.java Changeset: 1ef45c5b Author: Roland Westrelin Date: 2022-02-14 08:35:53 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/1ef45c5bbdeb4e1ca65c6d8f3ac1568a6951f3a7 8280799: ?2: assert(false) failed: cyclic dependency prevents range check elimination Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/split_if.cpp + test/hotspot/jtreg/compiler/loopopts/TestPredicateInputBelowLoopPredicate.java Changeset: 46f52296 Author: Roberto Casta?eda Lozano Date: 2022-02-14 08:37:31 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/46f522962f1b2bbb2513823821e332db1093994b 8281539: IGV: schedule approximation computes immediate dominators wrongly Replace custom dominator computation with one from the WALA libraries. Reviewed-by: neliasso, chagedorn ! src/utils/IdealGraphVisualizer/ServerCompiler/pom.xml ! src/utils/IdealGraphVisualizer/ServerCompiler/src/main/java/com/sun/hotspot/igv/servercompiler/ServerCompilerScheduler.java ! src/utils/IdealGraphVisualizer/pom.xml Changeset: 2632d40d Author: Stefan Johansson Date: 2022-02-14 09:03:45 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/2632d40dfc9f681e53fe04d32b6380ffb4eeb88c 8281637: Remove unused VerifyOption_G1UseNextMarking Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp ! src/hotspot/share/gc/g1/g1HeapVerifier.cpp ! src/hotspot/share/gc/g1/g1HeapVerifier.hpp ! src/hotspot/share/gc/g1/heapRegion.cpp ! src/hotspot/share/gc/g1/heapRegion.hpp ! src/hotspot/share/gc/shared/verifyOption.hpp Changeset: 25972062 Author: Albert Mingkun Yang Date: 2022-02-14 09:15:58 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/2597206242356d42ca5d08be809cfdff79df924d 8280783: Parallel: Refactor PSCardTable::scavenge_contents_parallel Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/parallel/psCardTable.cpp ! src/hotspot/share/gc/parallel/psCardTable.hpp Changeset: c61d629a Author: Emanuel Peter Committer: Christian Hagedorn Date: 2022-02-14 09:52:50 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/c61d629add65f9c25f73c335f2a3c5095da5be52 8281553: Ensure we only require liveness from mach-nodes with barriers Reviewed-by: neliasso, chagedorn ! src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp Changeset: 95f198b2 Author: Magnus Ihse Bursie Date: 2022-02-14 10:31:42 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/95f198b2b1b2d5437515dc837cc160e4224c0ff3 8274980: Improve adhoc build version strings Reviewed-by: shade, erikj ! .github/workflows/submit.yml ! make/Docs.gmk ! make/autoconf/jdk-version.m4 ! make/autoconf/spec.gmk.in ! make/hotspot/lib/CompileJvm.gmk ! test/jdk/java/lang/RuntimeTests/Version/Basic.java ! test/langtools/tools/javac/options/modes/InfoOptsTest.java Changeset: 534e5578 Author: Vladimir Ivanov Date: 2022-02-14 11:57:46 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/534e557874274255c55086b4f6128063cbd9cc58 8256368: Avoid repeated upcalls into Java to re-resolve MH/VH linkers/invokers Reviewed-by: dlong, kvn ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/interpreter/bootstrapInfo.cpp ! src/hotspot/share/interpreter/linkResolver.cpp ! src/hotspot/share/interpreter/linkResolver.hpp ! test/jdk/ProblemList-Xcomp.txt Changeset: 2604a88f Author: Leo Korinth Date: 2022-02-14 12:05:16 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/2604a88fbb6d0f9aec51c7d607ea275bc34a672c 8281585: Remove unused imports under test/lib and jtreg/gc Reviewed-by: dholmes, sspitsyn ! test/hotspot/jtreg/gc/TestAllocateHeapAt.java ! test/hotspot/jtreg/gc/TestAllocateHeapAtMultiple.java ! test/hotspot/jtreg/gc/TestCardTablePageCommits.java ! test/hotspot/jtreg/gc/TestSmallHeap.java ! test/hotspot/jtreg/gc/arguments/TestAggressiveHeap.java ! test/hotspot/jtreg/gc/arguments/TestArrayAllocatorMallocLimit.java ! test/hotspot/jtreg/gc/arguments/TestCompressedClassFlags.java ! test/hotspot/jtreg/gc/arguments/TestG1ConcMarkStepDurationMillis.java ! test/hotspot/jtreg/gc/arguments/TestG1ConcRefinementThreads.java ! test/hotspot/jtreg/gc/arguments/TestG1HeapRegionSize.java ! test/hotspot/jtreg/gc/arguments/TestG1PercentageOptions.java ! test/hotspot/jtreg/gc/arguments/TestG1RemSetFlags.java ! test/hotspot/jtreg/gc/arguments/TestHeapFreeRatio.java ! test/hotspot/jtreg/gc/arguments/TestInitialTenuringThreshold.java ! test/hotspot/jtreg/gc/arguments/TestMaxHeapSizeTools.java ! test/hotspot/jtreg/gc/arguments/TestMaxMinHeapFreeRatioFlags.java ! test/hotspot/jtreg/gc/arguments/TestMaxNewSize.java ! test/hotspot/jtreg/gc/arguments/TestMaxRAMFlags.java ! test/hotspot/jtreg/gc/arguments/TestMinAndInitialSurvivorRatioFlags.java ! test/hotspot/jtreg/gc/arguments/TestNewRatioFlag.java ! test/hotspot/jtreg/gc/arguments/TestNewSizeFlags.java ! test/hotspot/jtreg/gc/arguments/TestNewSizeThreadIncrease.java ! test/hotspot/jtreg/gc/arguments/TestObjectTenuringFlags.java ! test/hotspot/jtreg/gc/arguments/TestParallelGCThreads.java ! test/hotspot/jtreg/gc/arguments/TestSelectDefaultGC.java ! test/hotspot/jtreg/gc/arguments/TestSmallInitialHeapWithLargePageAndNUMA.java ! test/hotspot/jtreg/gc/arguments/TestSurvivorRatioFlag.java ! test/hotspot/jtreg/gc/arguments/TestUnrecognizedVMOptionsHandling.java ! test/hotspot/jtreg/gc/arguments/TestUseCompressedOopsErgoTools.java ! test/hotspot/jtreg/gc/arguments/TestUseNUMAInterleaving.java ! test/hotspot/jtreg/gc/arguments/TestVerifyBeforeAndAfterGCFlags.java ! test/hotspot/jtreg/gc/epsilon/TestClasses.java ! test/hotspot/jtreg/gc/g1/TestEvacuationFailure.java ! test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData.java ! test/hotspot/jtreg/gc/g1/TestSkipRebuildRemsetPhase.java ! test/hotspot/jtreg/gc/stress/gclocker/TestExcessGCLockerCollections.java ! test/lib/RedefineClassHelper.java ! test/lib/jdk/test/lib/OSVersion.java ! test/lib/jdk/test/lib/Utils.java ! test/lib/jdk/test/lib/apps/LingeredApp.java ! test/lib/jdk/test/lib/artifacts/ArtifactManager.java ! test/lib/jdk/test/lib/classloader/ClassUnloadCommon.java ! test/lib/jdk/test/lib/containers/docker/Common.java ! test/lib/jdk/test/lib/containers/docker/DockerTestUtils.java ! test/lib/jdk/test/lib/format/ArrayCodec.java ! test/lib/jdk/test/lib/format/ArrayDiff.java ! test/lib/jdk/test/lib/helpers/ClassFileInstaller.java ! test/lib/jdk/test/lib/hexdump/ObjectStreamPrinter.java ! test/lib/jdk/test/lib/hprof/model/JavaObjectArray.java ! test/lib/jdk/test/lib/hprof/model/JavaThing.java ! test/lib/jdk/test/lib/hprof/model/JavaValueArray.java ! test/lib/jdk/test/lib/hprof/model/ReachableExcludesImpl.java ! test/lib/jdk/test/lib/hprof/model/ReachableObjects.java ! test/lib/jdk/test/lib/hprof/util/ArraySorter.java ! test/lib/jdk/test/lib/hprof/util/Misc.java ! test/lib/jdk/test/lib/security/KeyStoreUtils.java ! test/lib/jdk/test/lib/security/timestamp/DefaultRespInterceptor.java ! test/lib/jdk/test/lib/security/timestamp/TsaHandler.java ! test/lib/jdk/test/lib/security/timestamp/TsaServer.java ! test/lib/jdk/test/lib/util/JavaAgentBuilder.java Changeset: 9d0a4c3f Author: Brian J. Stafford Committer: Thomas Schatzl Date: 2022-02-14 12:20:46 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/9d0a4c3f2e347c30ff56ba1416c08cc662f7f23c 8274238: Inconsistent type for young_list_target_length() Reviewed-by: kbarrett, tschatzl ! src/hotspot/share/gc/g1/g1Policy.hpp Changeset: f07b8165 Author: Thomas Stuefe Date: 2022-02-14 16:41:47 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f07b8165231799383303e5c0755d07afd2feb7fd 8280940: gtest os.release_multi_mappings_vm is racy Reviewed-by: dcubed, sjohanss ! test/hotspot/gtest/runtime/test_os.cpp Changeset: 88fc3bfd Author: Vladimir Ivanov Date: 2022-02-14 18:46:46 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/88fc3bfdff7f89a02fcfb16909df144e6173c658 8280473: CI: Support unresolved JVM_CONSTANT_Dynamic constant pool entries Reviewed-by: dlong, redestad, neliasso ! src/hotspot/share/c1/c1_GraphBuilder.cpp ! src/hotspot/share/c1/c1_InstructionPrinter.cpp ! src/hotspot/share/c1/c1_LIRAssembler.cpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/ci/ciEnv.hpp ! src/hotspot/share/ci/ciObjectFactory.cpp ! src/hotspot/share/ci/ciStreams.cpp ! src/hotspot/share/ci/ciTypeFlow.cpp ! src/hotspot/share/opto/parse2.cpp + test/hotspot/jtreg/compiler/runtime/TestConstantDynamic.java ! test/hotspot/jtreg/compiler/runtime/TestConstantsInError.java Changeset: 16f649b9 Author: Ioi Lam Date: 2022-02-14 18:53:50 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/16f649b9c5b480d2a8499b1a92939cdf53ecc8dc 8281678: appcds/dynamicArchive/ArchiveConsistency.java fails after JDK-8279997 Reviewed-by: shade, dcubed ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/ArchiveConsistency.java Changeset: 1a7b70a8 Author: Phil Race Date: 2022-02-14 23:31:13 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/1a7b70a8be0a236b98925a8320d25d88a405d595 8269091: javax/sound/sampled/Clip/SetPositionHang.java failed with ArrayIndexOutOfBoundsException: Array index out of range: -4 Reviewed-by: serb ! src/java.desktop/share/classes/com/sun/media/sound/DirectAudioDevice.java ! test/jdk/javax/sound/sampled/Clip/SetPositionHang.java Changeset: 6b15afe4 Author: Fei Yang Date: 2022-02-14 20:56:05 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/6b15afe48e083752a7a53f798195468c89235442 Merge branch 'master' into riscv-port ! src/hotspot/share/c1/c1_LIRAssembler.cpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/c1/c1_LIRAssembler.cpp ! src/hotspot/share/runtime/arguments.cpp From xlinzheng at openjdk.java.net Tue Feb 15 03:57:06 2022 From: xlinzheng at openjdk.java.net (Xiaolin Zheng) Date: Tue, 15 Feb 2022 03:57:06 GMT Subject: [riscv-port] RFR: 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp [v2] In-Reply-To: References: Message-ID: <0NGG1eRAilQ-I8J8rOcglWi0EPm42su60VTxTVlZHJs=.34f37c54-e68d-43ae-aea5-8acfffda7568@github.com> > Hi team, > > Could I have a review of this patch - this is just a trivial refactoring with some cleanups for `nativeInst_riscv.h/cpp` using `Assembler::extract()` with raw bits, by adding `extract_rs1`, `extract_rs2`, `extract_rd`, `extract_opcode`, and `extract_funct3` to make the code cleaner and conciser. Tested hotspot tier1 on Qemu with no other errors found. > > Thanks, > Xiaolin Xiaolin Zheng has updated the pull request incrementally with two additional commits since the last revision: - Remove local vars - A little optimization ------------- Changes: - all: https://git.openjdk.java.net/riscv-port/pull/57/files - new: https://git.openjdk.java.net/riscv-port/pull/57/files/88a535d0..415a75c9 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=57&range=01 - incr: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=57&range=00-01 Stats: 100 lines in 2 files changed: 32 ins; 2 del; 66 mod Patch: https://git.openjdk.java.net/riscv-port/pull/57.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/57/head:pull/57 PR: https://git.openjdk.java.net/riscv-port/pull/57 From xlinzheng at openjdk.java.net Tue Feb 15 03:57:08 2022 From: xlinzheng at openjdk.java.net (Xiaolin Zheng) Date: Tue, 15 Feb 2022 03:57:08 GMT Subject: [riscv-port] RFR: 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp [v2] In-Reply-To: References: Message-ID: On Tue, 15 Feb 2022 01:44:49 GMT, Fei Yang wrote: >> Xiaolin Zheng has updated the pull request incrementally with two additional commits since the last revision: >> >> - Remove local vars >> - A little optimization > > src/hotspot/cpu/riscv/nativeInst_riscv.cpp line 88: > >> 86: >> 87: bool NativeInstruction::is_movptr_at(address instr) { >> 88: address pos = instr; > > Why introduce another local "pos" here? We could use input param "instr" directly. done. > src/hotspot/cpu/riscv/nativeInst_riscv.hpp line 107: > >> 105: address slli2 = addi2 + instruction_size; >> 106: address last_instr = slli2 + instruction_size; >> 107: return extract_rs1(addi1) == extract_rd(lui) && > > We are extracting the same thing more than once here and other places, which I think could be optimized. Thanks for the suggestion - used local variables to optimize it. -- Tested a `test/jtreg/hotspot/compiler` in Qemu with no other errors found. ------------- PR: https://git.openjdk.java.net/riscv-port/pull/57 From yadongwang at openjdk.java.net Tue Feb 15 06:25:42 2022 From: yadongwang at openjdk.java.net (Yadong Wang) Date: Tue, 15 Feb 2022 06:25:42 GMT Subject: [riscv-port] RFR: 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp [v2] In-Reply-To: <0NGG1eRAilQ-I8J8rOcglWi0EPm42su60VTxTVlZHJs=.34f37c54-e68d-43ae-aea5-8acfffda7568@github.com> References: <0NGG1eRAilQ-I8J8rOcglWi0EPm42su60VTxTVlZHJs=.34f37c54-e68d-43ae-aea5-8acfffda7568@github.com> Message-ID: <5KJ1oINupz7ansgZgtz2aFOOdtbmqMka4DFGmrYWsMg=.2c3f56eb-e1dd-4865-9fcb-e48b25a73221@github.com> On Tue, 15 Feb 2022 03:57:06 GMT, Xiaolin Zheng wrote: >> Hi team, >> >> Could I have a review of this patch - this is just a trivial refactoring with some cleanups for `nativeInst_riscv.h/cpp` using `Assembler::extract()` with raw bits, by adding `extract_rs1`, `extract_rs2`, `extract_rd`, `extract_opcode`, and `extract_funct3` to make the code cleaner and conciser. Tested hotspot tier1 on Qemu with no other errors found. >> >> Thanks, >> Xiaolin > > Xiaolin Zheng has updated the pull request incrementally with two additional commits since the last revision: > > - Remove local vars > - A little optimization src/hotspot/cpu/riscv/nativeInst_riscv.hpp line 160: > 158: const address addi4 = slli3 + instruction_size; > 159: const Register addi4_rs1 = extract_rs1(addi4); > 160: const Register addi4_rd = extract_rd(addi4); I don't think so many local variables are a good idea, at least it doesn't do much to improve readability, except to make the code verbose. ------------- PR: https://git.openjdk.java.net/riscv-port/pull/57 From xlinzheng at openjdk.java.net Tue Feb 15 06:41:38 2022 From: xlinzheng at openjdk.java.net (Xiaolin Zheng) Date: Tue, 15 Feb 2022 06:41:38 GMT Subject: [riscv-port] RFR: 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp [v2] In-Reply-To: <5KJ1oINupz7ansgZgtz2aFOOdtbmqMka4DFGmrYWsMg=.2c3f56eb-e1dd-4865-9fcb-e48b25a73221@github.com> References: <0NGG1eRAilQ-I8J8rOcglWi0EPm42su60VTxTVlZHJs=.34f37c54-e68d-43ae-aea5-8acfffda7568@github.com> <5KJ1oINupz7ansgZgtz2aFOOdtbmqMka4DFGmrYWsMg=.2c3f56eb-e1dd-4865-9fcb-e48b25a73221@github.com> Message-ID: On Tue, 15 Feb 2022 06:22:03 GMT, Yadong Wang wrote: >> Xiaolin Zheng has updated the pull request incrementally with two additional commits since the last revision: >> >> - Remove local vars >> - A little optimization > > src/hotspot/cpu/riscv/nativeInst_riscv.hpp line 160: > >> 158: const address addi4 = slli3 + instruction_size; >> 159: const Register addi4_rs1 = extract_rs1(addi4); >> 160: const Register addi4_rd = extract_rd(addi4); > > I don't think so many local variables are a good idea, at least it doesn't do much to improve readability, except to make the code verbose. In fact - I have the same thought though after revising the code. Seems sadly I cannot find a way to extract them only once and in the meantime keep the readability without introducing new local variables. I don't know - maybe turning back to [my original version](https://github.com/openjdk/riscv-port/blob/92273c63986eef7126194f32c28a915fb0abf11c/src/hotspot/cpu/riscv/nativeInst_riscv.hpp#L100-L116) is a choice? ------------- PR: https://git.openjdk.java.net/riscv-port/pull/57 From duke at openjdk.java.net Wed Feb 16 01:51:31 2022 From: duke at openjdk.java.net (duke) Date: Wed, 16 Feb 2022 01:51:31 GMT Subject: git: openjdk/riscv-port: riscv-port: 18 new changesets Message-ID: <8bdd7a25-ee0f-4b82-b5e3-59f47f06bf5d@openjdk.java.net> Changeset: d4cd8dfe Author: Jaikiran Pai Date: 2022-02-15 03:53:47 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d4cd8dfedbe220fb3b9a68650aba90536e9b12ee 8281634: jdeps: java.lang.InternalError: Missing message: err.invalid.filters Reviewed-by: dfuchs, naoto, mchung ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps.properties ! test/langtools/tools/jdeps/Options.java Changeset: f33329eb Author: Harshitha Onkar Committer: Prasanta Sadhukhan Date: 2022-02-15 05:03:34 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f33329eb7f7a1a541d8f30ba8952b0b922ac5257 8016524: [macosx] Bottom line is not visible for JTableHeader Reviewed-by: psadhukhan, prr ! src/java.desktop/macosx/classes/com/apple/laf/AquaTableHeaderBorder.java + test/jdk/javax/swing/JTableHeader/8016524/JTHeaderBorderTest.java Changeset: b1564624 Author: Aleksey Shipilev Date: 2022-02-15 06:19:37 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/b1564624ce454d0df9b2464424b7b5e449481ee6 8281467: Allow larger OptoLoopAlignment and CodeEntryAlignment Reviewed-by: kvn, dlong ! src/hotspot/share/runtime/flags/jvmFlagConstraintsCompiler.cpp ! src/hotspot/share/runtime/globals.hpp + test/hotspot/jtreg/compiler/arguments/TestCodeEntryAlignment.java + test/hotspot/jtreg/compiler/arguments/TestOptoLoopAlignment.java Changeset: 11f943d1 Author: Kim Barrett Date: 2022-02-15 06:51:29 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/11f943d148e7bc8d931c382ff019b3e65a87432e 8280916: Simplify HotSpot Style Guide editorial changes Reviewed-by: dcubed, dholmes, stuefe, stefank, kvn, tschatzl ! doc/hotspot-style.html ! doc/hotspot-style.md Changeset: 622970e4 Author: Andrey Turbanov Date: 2022-02-15 07:10:10 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/622970e47cedd6e0b94b74235aa984ad79281389 8281728: Redundant null check in LineNumberInputStream.read Reviewed-by: redestad ! src/java.base/share/classes/java/io/LineNumberInputStream.java Changeset: 8819f453 Author: Nils Eliasson Date: 2022-02-15 08:20:16 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/8819f4535743f6504b4aaa62c7d87926dd1b0013 8281722: Removal of PrintIdealLevel Reviewed-by: chagedorn, thartmann ! src/hotspot/share/compiler/compilerDirectives.hpp ! src/hotspot/share/compiler/compilerOracle.hpp ! src/hotspot/share/opto/c2_globals.hpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/compile.hpp Changeset: f82866bc Author: Dmitry Markov Date: 2022-02-15 09:26:47 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f82866bc79cbeeac23716fa6fadd4877f5d0a462 8281555: [macos] Get rid of deprecated Style Masks constants Reviewed-by: serb, aivanov ! src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/JavaComponentAccessibility.m ! src/java.desktop/macosx/native/libawt_lwawt/java2d/opengl/CGLGraphicsConfig.m ! src/java.desktop/macosx/native/libsplashscreen/splashscreen_sys.m ! test/jdk/javax/swing/JFrame/NSTexturedJFrame/NSTexturedJFrame.java Changeset: 1c12b159 Author: Nils Eliasson Date: 2022-02-15 09:49:47 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/1c12b159ffcbb3528a20ac585d8460bf730e303d 8281741: [testbug] PrintIdealPhaseTest fails with -Xcomp Reviewed-by: kvn, chagedorn, thartmann ! test/hotspot/jtreg/compiler/oracle/PrintIdealPhaseTest.java Changeset: 2112a9dc Author: Magnus Ihse Bursie Date: 2022-02-15 11:11:10 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/2112a9dc49a41e11433f19d258d72806b321106c 8246033: bin/print_config.js script uses nashorn jjs tool Reviewed-by: erikj - bin/print-config.js Changeset: bc614840 Author: Albert Mingkun Yang Date: 2022-02-15 12:23:58 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/bc6148407e629bd99fa5a8577ebd90320610f349 8280136: Serial: Remove unnecessary use of ExpandHeap_lock Reviewed-by: iwalulya, kbarrett, sjohanss ! src/hotspot/share/gc/parallel/mutableSpace.cpp ! src/hotspot/share/gc/parallel/mutableSpace.hpp ! src/hotspot/share/gc/parallel/psOldGen.cpp ! src/hotspot/share/gc/serial/defNewGeneration.cpp ! src/hotspot/share/gc/serial/tenuredGeneration.cpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp Changeset: 2fe0bf66 Author: Stefan Johansson Date: 2022-02-15 16:22:37 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/2fe0bf66b7cbbae3dc65249be4b04f4075a98efa 8281748: runtime/logging/RedefineClasses.java failed "assert(addr != __null) failed: invariant" Reviewed-by: ayang, kbarrett ! src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp Changeset: 18704653 Author: Aleksey Shipilev Date: 2022-02-15 16:42:37 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/18704653dcc76b6360b746a6a9c20d614633da0e 8281744: x86: Use short jumps in TIG::set_vtos_entry_points Reviewed-by: rehn, coleenp ! src/hotspot/cpu/x86/templateInterpreterGenerator_x86.cpp Changeset: 745f7e7d Author: Calvin Cheung Date: 2022-02-15 17:18:34 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/745f7e7d921afcf45a2fa87824841e4545054d21 8281186: runtime/cds/appcds/DumpingWithNoCoops.java fails Reviewed-by: minqi, iklam, stuefe ! test/hotspot/jtreg/runtime/cds/appcds/DumpingWithNoCoops.java Changeset: 394ce5f9 Author: Christian Stein Committer: Lance Andersen Date: 2022-02-15 17:55:50 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/394ce5f948c21b3861d76dd8db57957efa1df979 8280825: Modules that "provide" ToolProvider should document the name that can be used Reviewed-by: jjg, lancea, alanb ! src/jdk.compiler/share/classes/module-info.java ! src/jdk.jartool/share/classes/module-info.java ! src/jdk.javadoc/share/classes/module-info.java ! src/jdk.jdeps/share/classes/module-info.java ! src/jdk.jlink/share/classes/module-info.java ! src/jdk.jpackage/share/classes/module-info.java Changeset: 1aff44b2 Author: Leonid Mesnik Date: 2022-02-15 17:59:51 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/1aff44b2cfcf5d2253161985b902894ee69365fc 8279949: JavaThread::_free_handle_block leaks native memory Reviewed-by: dholmes, coleenp ! src/hotspot/share/runtime/jniHandles.cpp Changeset: a24498b7 Author: Leonid Mesnik Date: 2022-02-15 18:01:15 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/a24498b777b76c04d7e6da0a8b5fb501f2fb4944 8281771: Crash in java_lang_invoke_MethodType::print_signature Reviewed-by: dholmes, shade ! src/hotspot/share/classfile/javaClasses.cpp Changeset: 0af356bb Author: Quan Anh Mai Committer: Sandhya Viswanathan Date: 2022-02-15 18:57:53 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/0af356bb4bfee99223d4bd4f8b0001c5f362c150 8278173: [vectorapi] Add x64 intrinsics for unsigned (zero extended) casts Reviewed-by: psandoz, sviswanathan ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.hpp ! src/hotspot/cpu/x86/x86.ad ! src/hotspot/share/adlc/formssel.cpp ! src/hotspot/share/opto/classes.hpp ! src/hotspot/share/opto/vectorIntrinsics.cpp ! src/hotspot/share/opto/vectornode.cpp ! src/hotspot/share/opto/vectornode.hpp ! src/hotspot/share/prims/vectorSupport.hpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/java.base/share/classes/jdk/internal/vm/vector/VectorSupport.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/AbstractVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/LaneType.java ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java ! test/hotspot/jtreg/compiler/vectorapi/reshape/tests/TestVectorCast.java ! test/hotspot/jtreg/compiler/vectorapi/reshape/utils/TestCastMethods.java ! test/hotspot/jtreg/compiler/vectorapi/reshape/utils/VectorReshapeHelper.java Changeset: 16cd4d8b Author: Fei Yang Date: 2022-02-15 20:48:51 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/16cd4d8ba5c0e5cbe937ee46ead653817d669c8a Merge branch 'master' into riscv-port From yadongwang at openjdk.java.net Wed Feb 16 03:09:42 2022 From: yadongwang at openjdk.java.net (Yadong Wang) Date: Wed, 16 Feb 2022 03:09:42 GMT Subject: [riscv-port] RFR: 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp [v2] In-Reply-To: References: <0NGG1eRAilQ-I8J8rOcglWi0EPm42su60VTxTVlZHJs=.34f37c54-e68d-43ae-aea5-8acfffda7568@github.com> <5KJ1oINupz7ansgZgtz2aFOOdtbmqMka4DFGmrYWsMg=.2c3f56eb-e1dd-4865-9fcb-e48b25a73221@github.com> Message-ID: On Tue, 15 Feb 2022 06:38:09 GMT, Xiaolin Zheng wrote: >> src/hotspot/cpu/riscv/nativeInst_riscv.hpp line 160: >> >>> 158: const address addi4 = slli3 + instruction_size; >>> 159: const Register addi4_rs1 = extract_rs1(addi4); >>> 160: const Register addi4_rd = extract_rd(addi4); >> >> I don't think so many local variables are a good idea, at least it doesn't do much to improve readability, except to make the code verbose. > > In fact - I have the same thought though after revising the code. Seems sadly I cannot find a way to extract them only once and in the meantime keep the readability without introducing new local variables. I don't know - maybe turning back to [my original version](https://github.com/openjdk/riscv-port/blob/92273c63986eef7126194f32c28a915fb0abf11c/src/hotspot/cpu/riscv/nativeInst_riscv.hpp#L100-L116) is a choice? Yes. In my personal opinion, it would be better. ------------- PR: https://git.openjdk.java.net/riscv-port/pull/57 From xlinzheng at openjdk.java.net Wed Feb 16 04:42:13 2022 From: xlinzheng at openjdk.java.net (Xiaolin Zheng) Date: Wed, 16 Feb 2022 04:42:13 GMT Subject: [riscv-port] RFR: 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp [v3] In-Reply-To: References: Message-ID: > Hi team, > > Could I have a review of this patch - this is just a trivial refactoring with some cleanups for `nativeInst_riscv.h/cpp` using `Assembler::extract()` with raw bits, by adding `extract_rs1`, `extract_rs2`, `extract_rd`, `extract_opcode`, and `extract_funct3` to make the code cleaner and conciser. Tested hotspot tier1 on Qemu with no other errors found. > > Thanks, > Xiaolin Xiaolin Zheng has updated the pull request incrementally with one additional commit since the last revision: Keep readability ------------- Changes: - all: https://git.openjdk.java.net/riscv-port/pull/57/files - new: https://git.openjdk.java.net/riscv-port/pull/57/files/415a75c9..a48557b6 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=57&range=02 - incr: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=57&range=01-02 Stats: 80 lines in 1 file changed: 0 ins; 31 del; 49 mod Patch: https://git.openjdk.java.net/riscv-port/pull/57.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/57/head:pull/57 PR: https://git.openjdk.java.net/riscv-port/pull/57 From xlinzheng at openjdk.java.net Wed Feb 16 04:42:14 2022 From: xlinzheng at openjdk.java.net (Xiaolin Zheng) Date: Wed, 16 Feb 2022 04:42:14 GMT Subject: [riscv-port] RFR: 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp [v2] In-Reply-To: References: <0NGG1eRAilQ-I8J8rOcglWi0EPm42su60VTxTVlZHJs=.34f37c54-e68d-43ae-aea5-8acfffda7568@github.com> <5KJ1oINupz7ansgZgtz2aFOOdtbmqMka4DFGmrYWsMg=.2c3f56eb-e1dd-4865-9fcb-e48b25a73221@github.com> Message-ID: On Wed, 16 Feb 2022 03:05:42 GMT, Yadong Wang wrote: >> In fact - I have the same thought though after revising the code. Seems sadly I cannot find a way to extract them only once and in the meantime keep the readability without introducing new local variables. I don't know - maybe turning back to [my original version](https://github.com/openjdk/riscv-port/blob/92273c63986eef7126194f32c28a915fb0abf11c/src/hotspot/cpu/riscv/nativeInst_riscv.hpp#L100-L116) is a choice? > > Yes. In my personal opinion, it would be better. Thanks for the decision - changed back `check_*_data_dependency` to the first version, and tested a `test/jtreg/hotspot/compiler` on Qemu. ------------- PR: https://git.openjdk.java.net/riscv-port/pull/57 From yadongwang at openjdk.java.net Wed Feb 16 06:21:35 2022 From: yadongwang at openjdk.java.net (Yadong Wang) Date: Wed, 16 Feb 2022 06:21:35 GMT Subject: [riscv-port] RFR: 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp [v3] In-Reply-To: References: Message-ID: On Wed, 16 Feb 2022 04:42:13 GMT, Xiaolin Zheng wrote: >> Hi team, >> >> Could I have a review of this patch - this is just a trivial refactoring with some cleanups for `nativeInst_riscv.h/cpp` using `Assembler::extract()` with raw bits, by adding `extract_rs1`, `extract_rs2`, `extract_rd`, `extract_opcode`, and `extract_funct3` to make the code cleaner and conciser. Tested hotspot tier1 on Qemu with no other errors found. >> >> Thanks, >> Xiaolin > > Xiaolin Zheng has updated the pull request incrementally with one additional commit since the last revision: > > Keep readability lgtm ------------- Marked as reviewed by yadongwang (Committer). PR: https://git.openjdk.java.net/riscv-port/pull/57 From fyang at openjdk.java.net Wed Feb 16 07:11:35 2022 From: fyang at openjdk.java.net (Fei Yang) Date: Wed, 16 Feb 2022 07:11:35 GMT Subject: [riscv-port] RFR: 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp [v3] In-Reply-To: References: Message-ID: On Wed, 16 Feb 2022 04:42:13 GMT, Xiaolin Zheng wrote: >> Hi team, >> >> Could I have a review of this patch - this is just a trivial refactoring with some cleanups for `nativeInst_riscv.h/cpp` using `Assembler::extract()` with raw bits, by adding `extract_rs1`, `extract_rs2`, `extract_rd`, `extract_opcode`, and `extract_funct3` to make the code cleaner and conciser. Tested hotspot tier1 on Qemu with no other errors found. >> >> Thanks, >> Xiaolin > > Xiaolin Zheng has updated the pull request incrementally with one additional commit since the last revision: > > Keep readability Thanks for refactoring this. Looks good. ------------- Marked as reviewed by fyang (Lead). PR: https://git.openjdk.java.net/riscv-port/pull/57 From xlinzheng at openjdk.java.net Wed Feb 16 07:11:36 2022 From: xlinzheng at openjdk.java.net (Xiaolin Zheng) Date: Wed, 16 Feb 2022 07:11:36 GMT Subject: [riscv-port] RFR: 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp [v3] In-Reply-To: References: Message-ID: On Wed, 16 Feb 2022 04:42:13 GMT, Xiaolin Zheng wrote: >> Hi team, >> >> Could I have a review of this patch - this is just a trivial refactoring with some cleanups for `nativeInst_riscv.h/cpp` using `Assembler::extract()` with raw bits, by adding `extract_rs1`, `extract_rs2`, `extract_rd`, `extract_opcode`, and `extract_funct3` to make the code cleaner and conciser. Tested hotspot tier1 on Qemu with no other errors found. >> >> Thanks, >> Xiaolin > > Xiaolin Zheng has updated the pull request incrementally with one additional commit since the last revision: > > Keep readability Thanks for the reviews, team! ------------- PR: https://git.openjdk.java.net/riscv-port/pull/57 From fyang at openjdk.java.net Wed Feb 16 07:11:36 2022 From: fyang at openjdk.java.net (Fei Yang) Date: Wed, 16 Feb 2022 07:11:36 GMT Subject: [riscv-port] RFR: 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp [v2] In-Reply-To: References: <0NGG1eRAilQ-I8J8rOcglWi0EPm42su60VTxTVlZHJs=.34f37c54-e68d-43ae-aea5-8acfffda7568@github.com> <5KJ1oINupz7ansgZgtz2aFOOdtbmqMka4DFGmrYWsMg=.2c3f56eb-e1dd-4865-9fcb-e48b25a73221@github.com> Message-ID: <_WoEhhNpToGYfB8YDd3Qchr4l1FeSdY5bz8t4A1-PLM=.11312358-a253-41ed-abea-1467fb1d4589@github.com> On Wed, 16 Feb 2022 04:38:32 GMT, Xiaolin Zheng wrote: >> Yes. In my personal opinion, it would be better. > > Thanks for the decision - changed back `check_*_data_dependency` to the first version, and tested a `test/jtreg/hotspot/compiler` on Qemu. I think I can live with this assuming the host compiler will help us eliminate redundancy here. ------------- PR: https://git.openjdk.java.net/riscv-port/pull/57 From xlinzheng at openjdk.java.net Wed Feb 16 07:18:32 2022 From: xlinzheng at openjdk.java.net (Xiaolin Zheng) Date: Wed, 16 Feb 2022 07:18:32 GMT Subject: [riscv-port] Integrated: 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp In-Reply-To: References: Message-ID: <5WGcjiBfXAMITpHKuTweyGMPn07lRgmMRB3xltx_l1c=.21628333-bed7-44ca-95d6-8ac8052c60fe@github.com> On Mon, 14 Feb 2022 10:29:13 GMT, Xiaolin Zheng wrote: > Hi team, > > Could I have a review of this patch - this is just a trivial refactoring with some cleanups for `nativeInst_riscv.h/cpp` using `Assembler::extract()` with raw bits, by adding `extract_rs1`, `extract_rs2`, `extract_rd`, `extract_opcode`, and `extract_funct3` to make the code cleaner and conciser. Tested hotspot tier1 on Qemu with no other errors found. > > Thanks, > Xiaolin This pull request has now been integrated. Changeset: 78b452d4 Author: Xiaolin Zheng Committer: Fei Yang URL: https://git.openjdk.java.net/riscv-port/commit/78b452d485d6a87c143fc5407ac48ea05e417c2f Stats: 155 lines in 2 files changed: 49 ins; 21 del; 85 mod 8281731: riscv: Refactor instruction extraction code in nativeInst_riscv.h/cpp Reviewed-by: yadongwang, fyang ------------- PR: https://git.openjdk.java.net/riscv-port/pull/57 From duke at openjdk.java.net Fri Feb 18 01:35:24 2022 From: duke at openjdk.java.net (duke) Date: Fri, 18 Feb 2022 01:35:24 GMT Subject: git: openjdk/riscv-port: riscv-port: 36 new changesets Message-ID: <7de04cca-1087-4710-9d37-07c2ffd3e552@openjdk.java.net> Changeset: a86cab8d Author: TheShermanTanker Committer: Tobias Hartmann Date: 2022-02-16 07:50:07 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/a86cab8d4259f29af86aa6063b721e47827fb949 8236136: tests which use CompilationMode shouldn't be run w/ TieredStopAtLevel Reviewed-by: neliasso, kvn, thartmann ! test/hotspot/jtreg/compiler/compilercontrol/CompilationModeHighOnlyTest.java ! test/hotspot/jtreg/compiler/profiling/spectrapredefineclass/Launcher.java ! test/hotspot/jtreg/compiler/profiling/spectrapredefineclass_classloaders/Launcher.java Changeset: fef5d74d Author: Aleksey Shipilev Date: 2022-02-16 09:42:56 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/fef5d74d0e7fb32e3f63e9fbc34c5370e683e451 8281812: x86: Use short jumps in TemplateTable::condy_helper Reviewed-by: redestad, neliasso ! src/hotspot/cpu/x86/templateTable_x86.cpp Changeset: d5b46665 Author: Jie Fu Date: 2022-02-16 13:46:43 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d5b466657e29a5338b84fa9acfc1b76bf8c39d61 8281829: runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java fails after JDK-8281467 Reviewed-by: kvn, thartmann ! src/hotspot/share/runtime/flags/jvmFlagConstraintsCompiler.cpp Changeset: 7428b376 Author: Erik Gahlin Date: 2022-02-16 15:35:27 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/7428b37696f1093094e69410f36dbb74098c9d4d 8281948: JFR: Parser skips too many bytes for fractional types Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ParserFactory.java Changeset: d8f44aa3 Author: Michael McMahon Date: 2022-02-16 16:01:01 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d8f44aa39e921594505864e6270f42b745265293 8278067: Make HttpURLConnection default keep alive timeout configurable Reviewed-by: dfuchs ! src/java.base/share/classes/java/net/doc-files/net-properties.html ! src/java.base/share/classes/sun/net/www/http/HttpClient.java ! src/java.base/share/classes/sun/net/www/http/KeepAliveCache.java + test/jdk/sun/net/www/http/KeepAliveCache/KeepAliveProperty.java Changeset: 395bc141 Author: Emanuel Peter Committer: Christian Hagedorn Date: 2022-02-16 16:19:44 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/395bc141f22f59aea4f5b8ee7bca0f691b2c8733 8281732: add assert for non-NULL assumption for return of unique_ctrl_out Reviewed-by: kvn, chagedorn, thartmann ! src/hotspot/share/opto/callnode.cpp ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/ifnode.cpp ! src/hotspot/share/opto/loopPredicate.cpp ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/multnode.cpp ! src/hotspot/share/opto/node.cpp ! src/hotspot/share/opto/node.hpp Changeset: 0f3d3ac3 Author: Mahendra Chhipa Committer: Daniel Fuchs Date: 2022-02-16 16:43:15 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/0f3d3ac32c9d163a5d91c6839d313111c72f1ad4 8061729: Update java/net tests to eliminate dependency on sun.net.www.MessageHeader and some other internal APIs Reviewed-by: dfuchs ! test/jdk/sun/net/www/http/HttpClient/ProxyFromCache.java ! test/jdk/sun/net/www/http/HttpClient/RequestURI.java ! test/jdk/sun/net/www/protocol/http/CloseOptionHeader.java + test/jdk/sun/net/www/protocol/http/HttpHeaderParserTest.java ! test/jdk/sun/net/www/protocol/http/NTLMTest.java ! test/jdk/sun/net/www/protocol/http/NoNTLM.java ! test/jdk/sun/net/www/protocol/http/RetryUponTimeout.java ! test/jdk/sun/net/www/protocol/http/UserAgent.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/B6226610.java ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/TunnelProxy.java + test/lib/jdk/test/lib/net/HttpHeaderParser.java Changeset: 9b74c3f2 Author: Naoto Sato Date: 2022-02-16 16:54:53 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/9b74c3f2e74a4efdec1c1488e96ab5939a408df0 8176706: Additional Date-Time Formats Reviewed-by: joehw, rriggs ! make/jdk/src/classes/build/tools/cldrconverter/Bundle.java ! make/jdk/src/classes/build/tools/cldrconverter/CLDRConverter.java ! make/jdk/src/classes/build/tools/cldrconverter/LDMLParseHandler.java ! make/jdk/src/classes/build/tools/cldrconverter/SupplementDataParseHandler.java ! src/java.base/share/classes/java/time/format/DateTimeFormatter.java ! src/java.base/share/classes/java/time/format/DateTimeFormatterBuilder.java ! src/java.base/share/classes/sun/text/spi/JavaTimeDateTimePatternProvider.java ! src/java.base/share/classes/sun/util/locale/provider/JavaTimeDateTimePatternImpl.java ! src/java.base/share/classes/sun/util/locale/provider/LocaleResources.java + test/jdk/java/time/test/java/time/format/Skeletons_en_US.properties + test/jdk/java/time/test/java/time/format/Skeletons_ja.properties + test/jdk/java/time/test/java/time/format/TestLocalizedPattern.java Changeset: bb4dece2 Author: Alexey Semenyuk Date: 2022-02-16 17:30:24 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/bb4dece246a56f2b225089c331e9f3d092dfbfa1 8281170: Test jdk/tools/jpackage/windows/WinInstallerIconTest always fails on Windows 11 Reviewed-by: almatvee ! test/jdk/tools/jpackage/windows/WinInstallerIconTest.java Changeset: 81645521 Author: Alexey Semenyuk Date: 2022-02-16 17:31:23 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/81645521c81c7363d199e5051d51043146058a91 8281874: Can't unpack msi installers from test/jdk/tools/jpackage/windows/test/jdk/tools/jpackage/windows/WinShortcutPromptTest.java test Reviewed-by: almatvee ! test/jdk/tools/jpackage/windows/WinShortcutPromptTest.java Changeset: 980d1878 Author: Mandy Chung Date: 2022-02-16 18:31:32 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/980d18789139295c95ec6045539b68d1ae57bc31 8281335: Allow a library already loaded via System::loadLibrary to be loaded as a raw library Reviewed-by: sundar, mcimadamore ! src/java.base/share/classes/java/lang/ClassLoader.java ! src/java.base/share/classes/jdk/internal/loader/BootLoader.java ! src/java.base/share/classes/jdk/internal/loader/NativeLibraries.java + src/java.base/share/classes/jdk/internal/loader/RawNativeLibraries.java ! src/jdk.incubator.foreign/share/classes/jdk/internal/foreign/SystemLookup.java ! test/jdk/jdk/internal/loader/NativeLibraries/Main.java ! test/jdk/jdk/internal/loader/NativeLibraries/java.base/jdk/internal/loader/NativeLibrariesTest.java Changeset: 847a99b5 Author: Aleksey Shipilev Date: 2022-02-16 20:08:27 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/847a99b53da6b2c82f7cd5f8634aa7bbae8f445e 8281822: Test failures on non-DTrace builds due to incomplete DTrace* flags handling Reviewed-by: dholmes, kvn ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/arguments.cpp ! test/hotspot/jtreg/TEST.ROOT ! test/hotspot/jtreg/compiler/runtime/Test8168712.java ! test/hotspot/jtreg/serviceability/7170638/SDTProbesGNULinuxTest.java + test/hotspot/jtreg/serviceability/dtrace/DTraceOptionsTest.java ! test/jtreg-ext/requires/VMProps.java ! test/lib/jdk/test/whitebox/WhiteBox.java ! test/lib/sun/hotspot/WhiteBox.java Changeset: 67763df4 Author: Tim Prinzing Committer: Mandy Chung Date: 2022-02-16 20:09:46 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/67763df4dce387da33da6d93d0f5d80e54cf8e5b 8281003: MethodHandles::lookup throws NPE if caller is null Reviewed-by: ihse, mchung, jrose, alanb ! make/test/JtregNativeJdk.gmk ! src/java.base/share/classes/java/lang/invoke/MethodHandles.java + test/jdk/java/lang/invoke/MethodHandles/exeNullCallerLookup/NullCallerLookupTest.java + test/jdk/java/lang/invoke/MethodHandles/exeNullCallerLookup/exeNullCallerLookupTest.c Changeset: 48f6e930 Author: Daniel Fuchs Date: 2022-02-16 21:38:48 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/48f6e93079f377a621ca769b820fa221062ceab1 8282020: ProblemList sun/net/www/protocol/https/HttpsURLConnection/B6216082.java until JDK-8282017 is fixed Reviewed-by: michaelm, naoto ! test/jdk/ProblemList.txt Changeset: 9ba0760c Author: Martin Desruisseaux Committer: Alexey Ivanov Date: 2022-02-16 22:01:01 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/9ba0760cf85f9e843f3383b725017c9ffac350df 8275345: RasterFormatException when drawing a tiled image made of non-writable rasters Reviewed-by: prr, aivanov ! src/java.desktop/share/classes/sun/java2d/SunGraphics2D.java + test/jdk/java/awt/image/DrawImage/TiledImage.java Changeset: 5ec7898d Author: Joe Darcy Date: 2022-02-16 22:02:55 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/5ec7898dbf1ebe261e5e25939cad42134611ff12 8281671: Class.getCanonicalName spec should explicitly cover array classes Reviewed-by: mchung ! src/java.base/share/classes/java/lang/Class.java + test/jdk/java/lang/Class/NameTest.java Changeset: 0b00ce17 Author: Alexey Semenyuk Date: 2022-02-16 23:23:57 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/0b00ce17cd6b530d9394e79ac8b07208cd4b92f5 8282011: test/jdk/tools/jpackage/windows/WinL10nTest.java test fails if light.exe is not in %PATH% Reviewed-by: almatvee ! test/jdk/tools/jpackage/windows/WinL10nTest.java Changeset: 2be2a298 Author: Tobias Hartmann Date: 2022-02-15 07:07:00 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/2be2a298f13c3a38d9518ccfea11dfd8a736d56c 8281713: [BACKOUT] AArch64: Implement string_compare intrinsic in SVE Reviewed-by: kvn, dlong ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/aarch64/aarch64_sve.ad ! src/hotspot/cpu/aarch64/aarch64_sve_ad.m4 ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/register_aarch64.hpp ! src/hotspot/cpu/aarch64/register_definitions_aarch64.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp - test/micro/org/openjdk/bench/java/lang/StringCompareToDifferentLength.java Changeset: 0f2113ce Author: Pavel Kharskii Committer: Jesper Wilhelmsson Date: 2022-02-15 09:24:52 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/0f2113cee79b9645105b4753c7d7eacb83b872c2 8280415: Remove EA from JDK 18 version string starting with Initial RC promotion B35 on February 10, 2022 Reviewed-by: erikj, iris ! make/conf/version-numbers.conf Changeset: b6e48e67 Author: Jesper Wilhelmsson Date: 2022-02-17 01:12:57 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/b6e48e678244481dd45d38bc3ddc325fccda2acc Merge ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/aarch64/register_aarch64.hpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/aarch64/register_aarch64.hpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp Changeset: cd234f5d Author: Alexey Semenyuk Date: 2022-02-17 05:27:41 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/cd234f5dbebd18ebf0c78dfdf533318cdc627971 8282007: Assorted enhancements to jpackage testing framework Reviewed-by: almatvee ! test/jdk/tools/jpackage/apps/Hello.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/AdditionalLauncher.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/CfgFile.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/Executor.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/HelloApp.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JPackageCommand.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/JavaTool.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/LinuxHelper.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/MacHelper.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageTest.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/RunnablePackageTest.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TKit.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/WindowsHelper.java ! test/jdk/tools/jpackage/run_tests.sh ! test/jdk/tools/jpackage/share/MultiLauncherTwoPhaseTest.java - test/jdk/tools/jpackage/test_jpackage.sh ! test/jdk/tools/jpackage/windows/WinUpgradeUUIDTest.java Changeset: 1eec16b4 Author: Xiaohong Gong Committer: Ningsheng Jian Date: 2022-02-17 05:44:12 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/1eec16b47be300e1462528bddf5d0686df3f042c 8281803: AArch64: Optimize masked vector NOT/AND_NOT for SVE Reviewed-by: aph, njian ! src/hotspot/cpu/aarch64/aarch64_sve.ad ! src/hotspot/cpu/aarch64/aarch64_sve_ad.m4 ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! test/hotspot/gtest/aarch64/aarch64-asmtest.py ! test/hotspot/gtest/aarch64/asmtest.out.h Changeset: 1864481d Author: Ioi Lam Date: 2022-02-17 06:40:46 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/1864481df10d2f616cbfdecebf3bebbae04de5e1 8279969: NULL return from map_bitmap_region() needs to be checked Reviewed-by: ccheung, coleenp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/heapShared.cpp ! test/hotspot/jtreg/runtime/cds/appcds/SharedArchiveConsistency.java Changeset: c0275e18 Author: Tyler Steele Committer: Thomas Stuefe Date: 2022-02-17 08:49:22 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/c0275e18b7cb4a01385b79ced46560322aeacc97 8203290: [AIX] Check functionality of JDK-8199712 (Flight Recorder) Implements JFR for AIX Reviewed-by: erikj, mdoerr, mgronlun, stuefe, ihse ! make/autoconf/jvm-features.m4 ! src/hotspot/os/aix/libperfstat_aix.cpp ! src/hotspot/os/aix/libperfstat_aix.hpp ! src/hotspot/os/aix/loadlib_aix.cpp ! src/hotspot/os/aix/loadlib_aix.hpp ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/aix/os_perf_aix.cpp ! src/hotspot/os_cpu/aix_ppc/thread_aix_ppc.cpp ! test/jdk/ProblemList.txt ! test/jdk/jdk/jfr/event/runtime/TestNativeLibrariesEvent.java Changeset: b4900b12 Author: Prasanta Sadhukhan Date: 2022-02-17 09:36:05 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/b4900b1298e536c0ceaa77bc0ac0e8e6ccba6400 8264743: Add forRemoval for deprecated classes and method in javax/swing/plaf/basic Reviewed-by: trebari, prr ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicDirectoryModel.java ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicMenuItemUI.java ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicScrollPaneUI.java ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicToolBarUI.java Changeset: 9ca435b4 Author: Julia Boes Date: 2022-02-17 10:35:05 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/9ca435b4c03f9741709bbfab22fb006de8c8c9d3 8281305: Test com/sun/net/httpserver/simpleserver/MapToPathTest.java fails on Windows 11 Reviewed-by: dfuchs ! src/jdk.httpserver/share/classes/sun/net/httpserver/simpleserver/FileServerHandler.java + src/jdk.httpserver/unix/classes/sun/net/httpserver/simpleserver/URIPathSegment.java + src/jdk.httpserver/windows/classes/sun/net/httpserver/simpleserver/URIPathSegment.java ! test/jdk/com/sun/net/httpserver/simpleserver/MapToPathTest.java Changeset: 3b7a3cfc Author: Albert Mingkun Yang Date: 2022-02-17 11:40:43 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/3b7a3cfce345cc900e042c5378d35d1237bdcd78 8281971: Remove unimplemented InstanceRefKlass::do_next Reviewed-by: dholmes ! src/hotspot/share/oops/instanceRefKlass.hpp Changeset: d0e11808 Author: Andrey Turbanov Date: 2022-02-17 12:31:37 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d0e11808fd688d96e5cfeb586d1de277f26da5ad 8282019: Unused static fields DEGREES_TO_RADIANS, RADIANS_TO_DEGREES in StrictMath Reviewed-by: bpb, darcy ! src/java.base/share/classes/java/lang/StrictMath.java Changeset: 4c7f8b49 Author: Joe Darcy Date: 2022-02-17 17:12:40 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/4c7f8b49a4845acf58272c42327328d6d2837cea 8268250: Class.arrayType() for a 255-d array throws undocumented IllegalArgumentException Reviewed-by: sundar, alanb ! src/java.base/share/classes/java/lang/Class.java + test/jdk/java/lang/Class/ArrayType.java Changeset: a6f8a386 Author: Tim Prinzing Committer: Mandy Chung Date: 2022-02-17 17:34:39 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/a6f8a386efa7af162f4b815951287f0a9bc1f396 8281000: ClassLoader::registerAsParallelCapable throws NPE if caller is null Reviewed-by: erikj, ihse, mchung, bchristi ! make/test/JtregNativeJdk.gmk ! src/java.base/share/classes/java/lang/ClassLoader.java + test/jdk/java/lang/ClassLoader/BadRegisterAsParallelCapableCaller.java + test/jdk/java/lang/ClassLoader/exeNullCallerClassLoaderTest/NullCallerClassLoaderTest.java + test/jdk/java/lang/ClassLoader/exeNullCallerClassLoaderTest/exeNullCallerClassLoaderTest.c Changeset: cd9a3cf0 Author: Mahendra Chhipa Committer: Daniel Fuchs Date: 2022-02-17 17:45:06 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/cd9a3cf05b2c200709103e2e8596414a62a1c441 8282017: sun/net/www/protocol/https/HttpsURLConnection/B6216082.java fails with "SocketException: Unexpected end of file from server" Reviewed-by: dfuchs ! test/jdk/ProblemList.txt ! test/jdk/sun/net/www/protocol/https/HttpsURLConnection/TunnelProxy.java Changeset: 12927765 Author: Naoto Sato Date: 2022-02-17 19:03:08 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/129277653e51e9b1387ecee279a6ccee9199c8ff 8281317: CompactNumberFormat displays 4-digit values when rounding to a new range Reviewed-by: joehw ! src/java.base/share/classes/java/text/CompactNumberFormat.java ! test/jdk/java/text/Format/CompactNumberFormat/TestCompactPatternsValidity.java Changeset: 69fc273f Author: Daniel D. Daugherty Date: 2022-02-17 20:56:46 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/69fc273f202352f74a313c37db0198be2be08616 8282075: ProblemList 3 compiler/whitebox tests on macosx-x64 Reviewed-by: mikael, bpb ! test/hotspot/jtreg/ProblemList.txt Changeset: f830cbec Author: Magnus Ihse Bursie Date: 2022-02-17 21:18:15 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f830cbec909b91ad0f00f46a3496d83ecb5912ed 8188073: Add Capstone as backend for hsdis Co-authored-by: Magnus Ihse Bursie Co-authored-by: Jorn Vernee Reviewed-by: erikj ! make/Hsdis.gmk ! make/autoconf/help.m4 ! make/autoconf/jdk-options.m4 ! make/autoconf/spec.gmk.in - src/utils/hsdis/README + src/utils/hsdis/README.md = src/utils/hsdis/binutils/hsdis-binutils.c + src/utils/hsdis/capstone/hsdis-capstone.c ! src/utils/hsdis/hsdis.h Changeset: fdce35f3 Author: Jie Fu Date: 2022-02-17 22:53:53 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/fdce35f3a1c12a64238d0c76c02451a25b0b4abb 8282025: assert(ctrl != __null) failed: control out is assumed to be unique after JDK-8281732 Reviewed-by: kvn, thartmann, chagedorn ! src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp Changeset: cf4681bf Author: Fei Yang Date: 2022-02-17 20:31:37 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/cf4681bffa590c92fead0598672b3b4947a35201 Merge branch 'master' into riscv-port ! make/autoconf/jvm-features.m4 ! src/hotspot/cpu/riscv/c1_Runtime1_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/nativeInst_riscv.hpp ! src/hotspot/share/runtime/arguments.cpp ! make/autoconf/jvm-features.m4 + src/hotspot/cpu/riscv/c1_Runtime1_riscv.cpp + src/hotspot/cpu/riscv/macroAssembler_riscv.cpp + src/hotspot/cpu/riscv/nativeInst_riscv.hpp ! src/hotspot/share/runtime/arguments.cpp From duke at openjdk.java.net Mon Feb 21 06:42:22 2022 From: duke at openjdk.java.net (duke) Date: Mon, 21 Feb 2022 06:42:22 GMT Subject: git: openjdk/riscv-port: riscv-port: 16 new changesets Message-ID: Changeset: a22f422b Author: Prasanta Sadhukhan Date: 2022-02-18 04:56:05 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/a22f422b7f18dc134e48c6193bf690004635bf7d 8037573: Typo in DefaultTreeModel docs: askAllowsChildren instead of asksAllowsChildren Reviewed-by: prr, jdv, azvegint ! src/java.desktop/share/classes/javax/swing/tree/DefaultTreeModel.java Changeset: c9289583 Author: Jie Fu Date: 2022-02-18 05:02:19 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/c9289583eb6919ced3b4115cf981180f6a957fbf 8281936: compiler/arguments/TestCodeEntryAlignment.java fails on AVX512 machines Reviewed-by: shade, kvn ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp Changeset: 7bcca769 Author: Roberto Casta?eda Lozano Date: 2022-02-18 08:35:52 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/7bcca7692b62a37f70c757694f6acff0295371cc 8279068: IGV: Update to work with JDK 16 and 17 Reviewed-by: kvn, neliasso, chagedorn ! src/utils/IdealGraphVisualizer/Bytecodes/pom.xml ! src/utils/IdealGraphVisualizer/ControlFlow/pom.xml ! src/utils/IdealGraphVisualizer/Coordinator/pom.xml ! src/utils/IdealGraphVisualizer/Data/pom.xml ! src/utils/IdealGraphVisualizer/Difference/pom.xml ! src/utils/IdealGraphVisualizer/Filter/pom.xml ! src/utils/IdealGraphVisualizer/FilterWindow/pom.xml ! src/utils/IdealGraphVisualizer/Graal/pom.xml ! src/utils/IdealGraphVisualizer/Graph/pom.xml ! src/utils/IdealGraphVisualizer/HierarchicalLayout/pom.xml ! src/utils/IdealGraphVisualizer/Layout/pom.xml ! src/utils/IdealGraphVisualizer/NetworkConnection/pom.xml ! src/utils/IdealGraphVisualizer/README.md ! src/utils/IdealGraphVisualizer/SelectionCoordinator/pom.xml ! src/utils/IdealGraphVisualizer/ServerCompiler/pom.xml ! src/utils/IdealGraphVisualizer/Settings/pom.xml ! src/utils/IdealGraphVisualizer/Util/pom.xml ! src/utils/IdealGraphVisualizer/View/pom.xml ! src/utils/IdealGraphVisualizer/application/pom.xml + src/utils/IdealGraphVisualizer/application/src/main/resources/idealgraphvisualizer.conf ! src/utils/IdealGraphVisualizer/branding/pom.xml ! src/utils/IdealGraphVisualizer/pom.xml Changeset: 138a1719 Author: Alex Menkov Date: 2022-02-18 09:21:48 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/138a17195d1695c6faaa156a43624c39c62b141b 8281267: VM HeapDumper dumps array classes several times Reviewed-by: cjplummer, coleenp ! src/hotspot/share/memory/universe.cpp ! src/hotspot/share/memory/universe.hpp ! src/hotspot/share/services/heapDumper.cpp + test/hotspot/jtreg/serviceability/HeapDump/DuplicateArrayClassesTest.java Changeset: 834d55c5 Author: Jan Lahoda Date: 2022-02-18 09:41:12 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/834d55c59f94674f521efda0b9801551a39c7c4d 8277300: Issues with javadoc support for preview features Reviewed-by: prappo, jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlLinkFactory.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Utils.java ! test/langtools/jdk/javadoc/doclet/testPreview/TestPreview.java + test/langtools/jdk/javadoc/doclet/testPreview/api2/api/API.java + test/langtools/jdk/javadoc/doclet/testPreview/api2/api/API2.java + test/langtools/jdk/javadoc/doclet/testPreview/api2/api/API3.java + test/langtools/jdk/javadoc/doclet/testPreview/api2/module-info.java Changeset: e8224f7d Author: Albert Mingkun Yang Date: 2022-02-18 09:54:28 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/e8224f7de9e4649105cfb0dd9e6a588505be4211 8282089: [BACKOUT] Parallel: Refactor PSCardTable::scavenge_contents_parallel Reviewed-by: tschatzl ! src/hotspot/share/gc/parallel/psCardTable.cpp ! src/hotspot/share/gc/parallel/psCardTable.hpp Changeset: e3365041 Author: Jan Lahoda Date: 2022-02-18 11:04:11 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/e3365041bdef4dc09f3e5967124103e4364614fb 8280866: SuppressWarnings does not work properly in package-info and module-info Reviewed-by: darcy, vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java + test/langtools/tools/javac/warnings/suppress/SuppressWarningsPackage.java Changeset: f5120b76 Author: Pavel Rappo Date: 2022-02-18 13:09:44 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f5120b764c6f84776e7ea335d7ff59b16f6496b0 8282056: Clean up com.sun.tools.javac.util.GraphUtils Reviewed-by: jjg, mcimadamore, vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Dependencies.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/GraphUtils.java Changeset: cf6984dd Author: Magnus Ihse Bursie Date: 2022-02-18 14:49:34 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/cf6984ddaa5668e78d590c8ad1f2aec0632f0b28 8282086: Update jib profile to not set build to 0 Reviewed-by: erikj ! make/conf/jib-profiles.js Changeset: 413bef68 Author: Dmitry Chuyko Date: 2022-02-18 16:02:46 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/413bef6890e9ba820590aa48017c4c7b1d691d24 8282049: AArch64: Use ZR for integer zero immediate volatile stores Reviewed-by: adinn, phh ! src/hotspot/cpu/aarch64/aarch64.ad Changeset: cfbfd9bf Author: Daniel D. Daugherty Date: 2022-02-18 16:25:24 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/cfbfd9bf4123452e8bcff0ef7fbc18b14be8638c 8282103: fix macosx-generic typo in ProblemList Reviewed-by: rriggs ! test/hotspot/jtreg/ProblemList.txt Changeset: 7ce75afb Author: Weijun Wang Date: 2022-02-18 16:34:59 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/7ce75afbbcca7635356c7377be7ddff15335e563 8255266: Update Public Suffix List to 3c213aa Reviewed-by: xuelei ! 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: 3943c89b Author: Yudi Zheng Committer: Vladimir Kozlov Date: 2022-02-18 18:00:40 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/3943c89b9b71d8c1fda3ba88fd833f08723202f0 8282044: [JVMCI] Export _sha3_implCompress, _md5_implCompress and aarch64::_has_negatives stubs to JVMCI compiler. Reviewed-by: kvn ! src/hotspot/cpu/aarch64/stubRoutines_aarch64.hpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp Changeset: d3749de4 Author: Rajan Halade Date: 2022-02-18 20:17:37 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d3749de47832c6de4bcee9cf64a0b698e796b2f2 8277488: Add expiry exception for Digicert (geotrustglobalca) expiring in May 2022 Reviewed-by: weijun ! test/jdk/sun/security/lib/cacerts/VerifyCACerts.java Changeset: d7f31d0d Author: Valerie Peng Date: 2022-02-19 06:40:30 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d7f31d0d53bfec627edc83ceb75fc6202891e186 8282077: PKCS11 provider C_sign() impl should handle CKR_BUFFER_TOO_SMALL error Reviewed-by: mikael ! src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_sign.c Changeset: 178ffb3e Author: Fei Yang Date: 2022-02-21 01:22:20 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/178ffb3e94e8ea48ea758eb6206f61c62ab0a187 Merge branch 'master' into riscv-port ! src/hotspot/cpu/riscv/c1_LinearScan_riscv.hpp + src/hotspot/cpu/riscv/c1_LinearScan_riscv.hpp From duke at openjdk.java.net Mon Feb 21 08:45:17 2022 From: duke at openjdk.java.net (duke) Date: Mon, 21 Feb 2022 08:45:17 GMT Subject: git: openjdk/riscv-port: riscv-port: 7 new changesets Message-ID: Changeset: d28b048f Author: Aleksey Shipilev Date: 2022-02-21 06:14:43 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d28b048f35d5893187076e853a4a898d5ca8b220 8281815: x86: Use short jumps in TIG::generate_slow_signature_handler Reviewed-by: rrich, dholmes, jiefu ! src/hotspot/cpu/x86/templateInterpreterGenerator_x86_64.cpp Changeset: 8563d86f Author: Tobias Hartmann Date: 2022-02-21 07:02:44 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/8563d86f2cce0dc9d1411bf9276a00bca0515efd 8282085: The REGISTER_DEFINITION macro is useless after JDK-8269122 Reviewed-by: jiefu, chagedorn, kvn - src/hotspot/cpu/aarch64/register_definitions_aarch64.cpp - src/hotspot/cpu/arm/register_definitions_arm.cpp - src/hotspot/cpu/ppc/register_definitions_ppc.cpp - src/hotspot/cpu/s390/register_definitions_s390.cpp - src/hotspot/cpu/x86/register_definitions_x86.cpp ! src/hotspot/share/asm/register.hpp Changeset: 4e0b81c5 Author: Emanuel Peter Committer: Tobias Hartmann Date: 2022-02-21 07:05:04 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/4e0b81c596f2a2eae49127b9ee98c80500b4e319 8281544: assert(VM_Version::supports_avx512bw()) failed for Tests jdk/incubator/vector/ Reviewed-by: kvn, neliasso, thartmann ! src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp ! test/jdk/jdk/incubator/vector/VectorMaxConversionTests.java Changeset: 52a85d80 Author: John Jiang Date: 2022-02-21 07:55:39 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/52a85d80483f7fefbe26bed6fe3a2ce4bd1bc9fc 8282158: ECParameters InvalidParameterSpecException messages missed ECKeySizeParameterSpec Reviewed-by: xuelei ! src/java.base/share/classes/sun/security/util/ECParameters.java Changeset: c5d9142a Author: Albert Mingkun Yang Date: 2022-02-21 08:14:59 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/c5d9142a8466fe00819afb76ebe68dc59061613e 8282096: G1: Remove redundant checks in G1CardSet::free_mem_object Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/g1/g1CardSet.cpp Changeset: 34aae32d Author: John Jiang Date: 2022-02-21 08:27:03 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/34aae32de6c1eeaf268d62f20152f831cca5cd29 8282166: JDK-8282158 changed ECParameters' package by accident Reviewed-by: xuelei ! src/java.base/share/classes/sun/security/util/ECParameters.java Changeset: aff6a954 Author: Fei Yang Date: 2022-02-21 03:40:30 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/aff6a954a05088ef27226b9e1603429cff0a3ac1 Merge branch 'master' into riscv-port ! src/hotspot/cpu/riscv/c1_LinearScan_riscv.hpp + src/hotspot/cpu/riscv/c1_LinearScan_riscv.hpp From yadongwang at openjdk.java.net Tue Feb 22 06:35:50 2022 From: yadongwang at openjdk.java.net (Yadong Wang) Date: Tue, 22 Feb 2022 06:35:50 GMT Subject: [riscv-port] RFR: 8281632: riscv: Improve interpreter stack banging Message-ID: With reference to https://bugs.openjdk.java.net/browse/JDK-8072070, there is the same issue on the riscv platform. Every time we enter a method in interpreter, we bang a lot of stack ahead for shadow zone checks. I believe this could be made significantly better, e.g. by checking how far away we are from the stack_overflow_limit. Hotspot/jdk tier1 passed on unmatched, and all jtreg cases were tested on Qemu without new failures. Performed the performance regression test in SPECjvm2008 sunflow, and achieved 17% improvement in the interpreter-only mode. ------------- Commit messages: - 8281632: riscv: Improve interpreter stack banging Changes: https://git.openjdk.java.net/riscv-port/pull/58/files Webrev: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=58&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8281632 Stats: 32 lines in 2 files changed: 22 ins; 2 del; 8 mod Patch: https://git.openjdk.java.net/riscv-port/pull/58.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/58/head:pull/58 PR: https://git.openjdk.java.net/riscv-port/pull/58 From shade at openjdk.java.net Tue Feb 22 06:59:15 2022 From: shade at openjdk.java.net (Aleksey Shipilev) Date: Tue, 22 Feb 2022 06:59:15 GMT Subject: [riscv-port] RFR: 8281632: riscv: Improve interpreter stack banging In-Reply-To: References: Message-ID: On Tue, 22 Feb 2022 06:28:56 GMT, Yadong Wang wrote: > With reference to https://bugs.openjdk.java.net/browse/JDK-8072070, there is the same issue on the riscv platform. > > > Every time we enter a method in interpreter, we bang a lot of stack ahead for shadow zone checks. I believe this could be made significantly better, e.g. by checking how far away we are from the stack_overflow_limit. > > > Hotspot/jdk tier1 passed on unmatched, and all jtreg cases were tested on Qemu without new failures. > > Performed the performance regression test in SPECjvm2008 sunflow, and achieved 17% improvement in the interpreter-only mode. src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp line 910: > 908: __ stop("shadow zone safe limit is not initialized"); > 909: __ bind(L_good_limit); > 910: #endif The x86 patch also verifies `shadow_zone_growth_watermark()`, do you want to do the same? https://github.com/openjdk/jdk/commit/3a13425bc9088cbb6d95e1a46248d7eba27fb1a6#diff-b43598c71e4c69b246ff38275b5d421bcbbc3141216aa03f50fc747dd2635922R742-R746 src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp line 922: > 920: > 921: // Record a new watermark, unless the update is above the safe limit. > 922: // Otherwise, the next time around a check above would pass the safe limit. Hah. I noticed this is worded incorrectly in the original x86 change. See https://github.com/openjdk/jdk/pull/7569 -- probably makes sense to wait a bit for that change to land, and then pick up the same wording here? ------------- PR: https://git.openjdk.java.net/riscv-port/pull/58 From yadongwang at openjdk.java.net Tue Feb 22 12:39:25 2022 From: yadongwang at openjdk.java.net (Yadong Wang) Date: Tue, 22 Feb 2022 12:39:25 GMT Subject: [riscv-port] RFR: 8281632: riscv: Improve interpreter stack banging In-Reply-To: References: Message-ID: On Tue, 22 Feb 2022 06:41:20 GMT, Aleksey Shipilev wrote: >> With reference to https://bugs.openjdk.java.net/browse/JDK-8072070, there is the same issue on the riscv platform. >> >> >> Every time we enter a method in interpreter, we bang a lot of stack ahead for shadow zone checks. I believe this could be made significantly better, e.g. by checking how far away we are from the stack_overflow_limit. >> >> >> Hotspot/jdk tier1 passed on unmatched, and all jtreg cases were tested on Qemu without new failures. >> >> Performed the performance regression test in SPECjvm2008 sunflow, and achieved 17% improvement in the interpreter-only mode. > > src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp line 910: > >> 908: __ stop("shadow zone safe limit is not initialized"); >> 909: __ bind(L_good_limit); >> 910: #endif > > The x86 patch also verifies `shadow_zone_growth_watermark()`, do you want to do the same? > > https://github.com/openjdk/jdk/commit/3a13425bc9088cbb6d95e1a46248d7eba27fb1a6#diff-b43598c71e4c69b246ff38275b5d421bcbbc3141216aa03f50fc747dd2635922R742-R746 Yes, I missed the logic. ------------- PR: https://git.openjdk.java.net/riscv-port/pull/58 From duke at openjdk.java.net Wed Feb 23 01:58:55 2022 From: duke at openjdk.java.net (duke) Date: Wed, 23 Feb 2022 01:58:55 GMT Subject: git: openjdk/riscv-port: riscv-port: 21 new changesets Message-ID: Changeset: 51f44207 Author: Andrey Turbanov Date: 2022-02-21 09:03:16 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/51f4420711b8cace5733180b3291779f11291895 8282130: (bf) Remove unused ARRAY_BASE_OFFSET, ARRAY_INDEX_SCALE from read-only Heap Buffers Reviewed-by: bpb, alanb ! src/java.base/share/classes/java/nio/Heap-X-Buffer.java.template Changeset: bdae1d87 Author: Manukumar V S Committer: Abdul Kolarkunnu Date: 2022-02-21 10:08:50 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/bdae1d87c16423878e4dcc8a0e87806d77bb5256 8282147: [TESTBUG] waitForIdle after creating frame in JSpinnerMouseAndKeyPressTest.java Reviewed-by: aivanov ! test/jdk/javax/swing/JSpinner/4515999/JSpinnerMouseAndKeyPressTest.java Changeset: d7a706a5 Author: Magnus Ihse Bursie Date: 2022-02-21 10:37:44 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d7a706a54076109b1a600a4d963df54b6d3f86de 8253757: Add LLVM-based backend for hsdis Co-authored-by: Magnus Ihse Bursie Co-authored-by: Ludovic Henry Co-authored-by: Jorn Vernee Co-authored-by: Nick Gasson Reviewed-by: erikj, luhenry ! make/Hsdis.gmk ! make/autoconf/jdk-options.m4 ! src/utils/hsdis/README.md + src/utils/hsdis/llvm/hsdis-llvm.cpp Changeset: cc7cf812 Author: Maxim Kartashev Committer: Anton Tarasov Date: 2022-02-21 11:39:29 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/cc7cf81256ed4d74493472017b1c4df20fa2208a 8280861: Robot color picker broken on Linux with scaling above 100% Reviewed-by: serb ! src/java.desktop/unix/native/libawt_xawt/awt/awt_Robot.c ! src/java.desktop/unix/native/libawt_xawt/awt/gtk2_interface.c ! src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c ! src/java.desktop/unix/native/libawt_xawt/awt/gtk_interface.h ! test/jdk/java/awt/Robot/HiDPIScreenCapture/HiDPIRobotScreenCaptureTest.java + test/jdk/java/awt/Robot/HiDPIScreenCapture/ScreenCaptureGtkTest.java ! test/jdk/javax/swing/JPasswordField/TestSelectedTextBackgroundColor.java ! test/jdk/javax/swing/JProgressBar/TestJProgressBarHighlightColor.java ! test/jdk/javax/swing/JSlider/TestJSliderRendering.java ! test/jdk/javax/swing/JSpinner/TestSelectedTextBackgroundColor.java ! test/jdk/javax/swing/JTextPane/TestJTextPaneBackgroundColor.java ! test/jdk/javax/swing/JToolTip/TestTooltipBackgroundColor.java Changeset: e1c98bd1 Author: Daniel Jeli?ski Committer: Alexey Ivanov Date: 2022-02-21 17:40:27 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/e1c98bd1f2f57ddf47e4660038059117af87f938 8281523: Accessibility: Conversion from string literal loses const qualifier Reviewed-by: prr, aivanov, kizune ! src/jdk.accessibility/windows/native/common/AccessBridgeDebug.cpp ! src/jdk.accessibility/windows/native/common/AccessBridgeDebug.h ! src/jdk.accessibility/windows/native/jaccessinspector/jaccessinspector.cpp ! src/jdk.accessibility/windows/native/libwindowsaccessbridge/AccessBridgeEventHandler.cpp ! src/jdk.accessibility/windows/native/libwindowsaccessbridge/AccessBridgeJavaVMInstance.cpp ! src/jdk.accessibility/windows/native/libwindowsaccessbridge/AccessBridgeMessageQueue.cpp ! src/jdk.accessibility/windows/native/libwindowsaccessbridge/WinAccessBridge.cpp ! src/jdk.accessibility/windows/native/toolscommon/AccessInfo.cpp ! src/jdk.accessibility/windows/native/toolscommon/AccessInfo.h Changeset: e0b49629 Author: Jaikiran Pai Date: 2022-02-22 01:39:28 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/e0b49629e95c98aabe8b75ec2f7528e7fb6dcffc 8282190: Typo in javadoc of java.time.format.DateTimeFormatter#getDecimalStyle Reviewed-by: dfuchs, rriggs, lancea, iris ! src/java.base/share/classes/java/time/format/DateTimeFormatter.java Changeset: f9539521 Author: Manukumar V S Committer: Abdul Kolarkunnu Date: 2022-02-22 07:31:55 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f9539521aee71e84cb052d3d0444c58ee88930f7 8281745: Create a regression test for JDK-4514331 Reviewed-by: serb + test/jdk/javax/swing/JTextArea/4514331/TabShiftsFocusToNextComponent.java Changeset: bc43320f Author: Emanuel Peter Committer: Tobias Hartmann Date: 2022-02-22 07:55:04 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/bc43320fd32debf863f37dc00ef7b95589f576ed 8281543: Remove unused code/headerfile dtraceAttacher.hpp Reviewed-by: thartmann ! src/hotspot/os/aix/attachListener_aix.cpp ! src/hotspot/os/bsd/attachListener_bsd.cpp ! src/hotspot/os/linux/attachListener_linux.cpp ! src/hotspot/os/windows/attachListener_windows.cpp - src/hotspot/share/services/dtraceAttacher.hpp Changeset: b95310b0 Author: John Jiang Date: 2022-02-22 09:35:48 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/b95310b0908037c6743b937ae43d7bc97e1fb770 8282220: contentType should not be a PKCS7's member Reviewed-by: xuelei ! src/java.base/share/classes/sun/security/pkcs/PKCS7.java Changeset: ab6d8e64 Author: Alexey Ivanov Date: 2022-02-22 13:19:43 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/ab6d8e6424aa478eb7661d1d38d543cccd38888f 8260328: Drop redundant CSS properties from java.desktop HTML files Reviewed-by: serb, dmarkov ! src/java.desktop/share/classes/javax/swing/plaf/synth/doc-files/componentProperties.html Changeset: 022d8070 Author: Coleen Phillimore Date: 2022-02-22 13:42:56 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/022d80707c346f4b82ac1eb53e77c634769631e9 8271008: appcds/*/MethodHandlesAsCollectorTest.java tests time out because of excessive GC (CodeCache GC Threshold) in loom Reviewed-by: thartmann, eosterlund ! src/hotspot/share/code/codeCache.cpp ! src/hotspot/share/code/codeCache.hpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/runtime/sweeper.cpp ! src/hotspot/share/runtime/sweeper.hpp Changeset: 41355e2d Author: Ian Graves Date: 2022-02-22 15:38:52 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/41355e2daa43fa8433bf77ed187979c49d453f4a 8276686: Malformed Javadoc inline tags in JDK source in /java/util/regex/Pattern.java Reviewed-by: iris, bpb, lancea ! src/java.base/share/classes/java/util/regex/Pattern.java Changeset: e44d0670 Author: Magnus Ihse Bursie Date: 2022-02-22 16:06:52 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/e44d0670a69a641b82a0ca50e06e85d807b473ea 8244593: Clean up GNM/NM after JEP 381 Reviewed-by: erikj ! make/autoconf/compare.sh.in ! make/autoconf/spec.gmk.in ! make/autoconf/toolchain.m4 Changeset: 957dae02 Author: Thomas Schatzl Date: 2022-02-22 16:25:12 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/957dae02b18b150cab8aec4846bc82086ee1e4da 8280958: G1/Parallel: Unify marking code structure Reviewed-by: ayang, kbarrett ! src/hotspot/share/gc/g1/g1FullGCMarker.cpp ! src/hotspot/share/gc/g1/g1FullGCMarker.hpp ! src/hotspot/share/gc/g1/g1FullGCMarker.inline.hpp ! src/hotspot/share/gc/g1/g1FullGCOopClosures.cpp ! src/hotspot/share/gc/parallel/psCompactionManager.cpp ! src/hotspot/share/gc/parallel/psCompactionManager.hpp Changeset: 3cb38678 Author: Ian Graves Date: 2022-02-22 16:31:57 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/3cb38678aa7f03356421f5a17c1de4156e206d68 8281315: Unicode, (?i) flag and backreference throwing IndexOutOfBounds Exception Reviewed-by: naoto ! src/java.base/share/classes/java/util/regex/Pattern.java ! test/jdk/java/util/regex/RegExTest.java Changeset: 58e1882f Author: Tyler Steele Committer: Naoto Sato Date: 2022-02-22 16:50:48 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/58e1882f3ccc648c5f6d216d37cfd1805889b8d8 8282042: [testbug] FileEncodingTest.java depends on default encoding Adds expected encoding "ISO-8859-1" for AIX in FileEncodingTest.java Reviewed-by: naoto ! test/jdk/java/lang/System/FileEncodingTest.java Changeset: 7feabee4 Author: liach Committer: Mandy Chung Date: 2022-02-22 16:57:23 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/7feabee4265787ea820c1925c0c531933cb0da50 8261407: ReflectionFactory.checkInitted() is not thread-safe Co-authored-by: Peter Levart Reviewed-by: dholmes, mchung, plevart ! src/java.base/share/classes/jdk/internal/reflect/ReflectionFactory.java Changeset: 6445ee46 Author: Brian Burkhalter Date: 2022-02-22 17:24:15 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/6445ee46b5c3d1a46f8154b6e867c25d495d76b1 5041655: (ch) FileLock: negative param and overflow issues Reviewed-by: alanb ! src/java.base/share/classes/java/nio/channels/AsynchronousFileChannel.java ! src/java.base/share/classes/java/nio/channels/FileChannel.java ! src/java.base/share/classes/java/nio/channels/FileLock.java ! src/java.base/share/classes/sun/nio/ch/FileChannelImpl.java ! src/java.base/share/classes/sun/nio/ch/SimpleAsynchronousFileChannelImpl.java ! src/java.base/windows/classes/sun/nio/ch/WindowsAsynchronousFileChannelImpl.java ! test/jdk/java/nio/channels/AsynchronousFileChannel/Basic.java ! test/jdk/java/nio/channels/FileChannel/Lock.java + test/jdk/java/nio/channels/FileLock/Overlaps.java Changeset: 2557ef8a Author: Phil Race Date: 2022-02-22 20:27:00 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/2557ef8a02fe19784bd5e605b11d6bd574cde2c2 8282276: Problem list failing two Robot Screen Capture tests Reviewed-by: dcubed ! test/jdk/ProblemList.txt Changeset: 6f882ded Author: Phil Race Date: 2022-02-23 01:03:09 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/6f882deddcc094777b45f0dacc7351dbc23993a4 8280964: [Linux aarch64] : drawImage dithers TYPE_BYTE_INDEXED images incorrectly Reviewed-by: serb, dmarkov ! src/java.desktop/share/native/libawt/awt/image/cvutils/img_globals.c ! src/java.desktop/share/native/libawt/awt/image/cvutils/img_globals.h ! src/java.desktop/share/native/libawt/java2d/SurfaceData.h ! src/java.desktop/share/native/libawt/java2d/loops/ByteIndexed.h ! src/java.desktop/share/native/libawt/java2d/loops/UshortIndexed.h ! src/java.desktop/unix/native/common/awt/colordata.h ! src/java.desktop/windows/native/libawt/windows/colordata.h + test/jdk/java/awt/image/DrawImage/ByteIndexedDitherTest.java Changeset: 1a8e3aa5 Author: Fei Yang Date: 2022-02-22 20:55:18 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/1a8e3aa5a42fef5affd87b03a69bf0968c6e068d Merge branch 'master' into riscv-port ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/c1_LIRGenerator_riscv.cpp ! src/hotspot/cpu/riscv/c1_Runtime1_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp + src/hotspot/cpu/riscv/assembler_riscv.hpp + src/hotspot/cpu/riscv/c1_LIRGenerator_riscv.cpp + src/hotspot/cpu/riscv/c1_Runtime1_riscv.cpp + src/hotspot/cpu/riscv/macroAssembler_riscv.cpp From yadongwang at openjdk.java.net Wed Feb 23 06:15:43 2022 From: yadongwang at openjdk.java.net (Yadong Wang) Date: Wed, 23 Feb 2022 06:15:43 GMT Subject: [riscv-port] RFR: 8281632: riscv: Improve interpreter stack banging [v2] In-Reply-To: References: Message-ID: <6ss5aiaZb9_GBohHjkAXfKsWU42jVWGQIyYBF6dLy7c=.d8887eaa-d29f-451d-a598-919c0c65c9b7@github.com> > With reference to https://bugs.openjdk.java.net/browse/JDK-8072070, there is the same issue on the riscv platform. > > > Every time we enter a method in interpreter, we bang a lot of stack ahead for shadow zone checks. I believe this could be made significantly better, e.g. by checking how far away we are from the stack_overflow_limit. > > > Hotspot/jdk tier1 passed on unmatched, and all jtreg cases were tested on Qemu without new failures. > > Performed the performance regression test in SPECjvm2008 sunflow, and achieved 17% improvement in the interpreter-only mode. Yadong Wang has updated the pull request incrementally with one additional commit since the last revision: missing check for stack growth watermark ------------- Changes: - all: https://git.openjdk.java.net/riscv-port/pull/58/files - new: https://git.openjdk.java.net/riscv-port/pull/58/files/1adab203..91afa11f Webrevs: - full: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=58&range=01 - incr: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=58&range=00-01 Stats: 8 lines in 1 file changed: 6 ins; 0 del; 2 mod Patch: https://git.openjdk.java.net/riscv-port/pull/58.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/58/head:pull/58 PR: https://git.openjdk.java.net/riscv-port/pull/58 From yadongwang at openjdk.java.net Wed Feb 23 07:32:01 2022 From: yadongwang at openjdk.java.net (Yadong Wang) Date: Wed, 23 Feb 2022 07:32:01 GMT Subject: [riscv-port] RFR: 8281632: riscv: Improve interpreter stack banging [v3] In-Reply-To: References: Message-ID: > With reference to https://bugs.openjdk.java.net/browse/JDK-8072070, there is the same issue on the riscv platform. > > > Every time we enter a method in interpreter, we bang a lot of stack ahead for shadow zone checks. I believe this could be made significantly better, e.g. by checking how far away we are from the stack_overflow_limit. > > > Hotspot/jdk tier1 passed on unmatched, and all jtreg cases were tested on Qemu without new failures. > > Performed the performance regression test in SPECjvm2008 sunflow, and achieved 17% improvement in the interpreter-only mode. Yadong Wang has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision: missing check for stack growth watermark ------------- Changes: - all: https://git.openjdk.java.net/riscv-port/pull/58/files - new: https://git.openjdk.java.net/riscv-port/pull/58/files/91afa11f..c8c78260 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=58&range=02 - incr: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=58&range=01-02 Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod Patch: https://git.openjdk.java.net/riscv-port/pull/58.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/58/head:pull/58 PR: https://git.openjdk.java.net/riscv-port/pull/58 From yadongwang at openjdk.java.net Wed Feb 23 09:27:57 2022 From: yadongwang at openjdk.java.net (Yadong Wang) Date: Wed, 23 Feb 2022 09:27:57 GMT Subject: [riscv-port] RFR: 8281632: riscv: Improve interpreter stack banging [v4] In-Reply-To: References: Message-ID: > With reference to https://bugs.openjdk.java.net/browse/JDK-8072070, there is the same issue on the riscv platform. > > > Every time we enter a method in interpreter, we bang a lot of stack ahead for shadow zone checks. I believe this could be made significantly better, e.g. by checking how far away we are from the stack_overflow_limit. > > > Hotspot/jdk tier1 passed on unmatched, and all jtreg cases were tested on Qemu without new failures. > > Performed the performance regression test in SPECjvm2008 sunflow, and achieved 17% improvement in the interpreter-only mode. Yadong Wang has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision: missing check for stack growth watermark ------------- Changes: - all: https://git.openjdk.java.net/riscv-port/pull/58/files - new: https://git.openjdk.java.net/riscv-port/pull/58/files/c8c78260..ea9ad368 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=58&range=03 - incr: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=58&range=02-03 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.java.net/riscv-port/pull/58.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/58/head:pull/58 PR: https://git.openjdk.java.net/riscv-port/pull/58 From duke at openjdk.java.net Thu Feb 24 03:24:08 2022 From: duke at openjdk.java.net (duke) Date: Thu, 24 Feb 2022 03:24:08 GMT Subject: git: openjdk/riscv-port: riscv-port: 18 new changesets Message-ID: <74328cea-3b5f-4ca8-91c3-31908969c69f@openjdk.java.net> Changeset: e1060bee Author: Zhengyu Gu Date: 2022-02-23 03:04:34 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/e1060bee2adb9f2e07ca09309d0f89132db30f28 8281615: Deadlock caused by jdwp agent Reviewed-by: dholmes, cjplummer ! src/jdk.jdwp.agent/share/native/libjdwp/classTrack.c Changeset: 378fa507 Author: Volker Simonis Date: 2022-02-23 08:36:13 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/378fa507a29f382e5534226612e154a37618ab91 8281962: Avoid unnecessary native calls in InflaterInputStream Reviewed-by: clanger, redestad, alanb, lancea ! src/java.base/share/classes/java/util/zip/InflaterInputStream.java + test/micro/org/openjdk/bench/java/util/zip/InflaterInputStreams.java Changeset: ecd85e6f Author: Andrew Haley Date: 2022-02-23 10:15:25 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/ecd85e6f0f8906ad1e8aa0a53bf499e8c969ba73 8282231: x86-32: runtime call to SharedRuntime::ldiv corrupts registers Reviewed-by: shade, jiefu ! src/hotspot/cpu/x86/x86_32.ad Changeset: 93320717 Author: Vladimir Ivanov Date: 2022-02-23 10:17:01 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/9332071784b7150512f7e27b07c290a356d43c2e 8282194: C1: Missing side effects of dynamic constant linkage Reviewed-by: kvn, thartmann ! src/hotspot/share/c1/c1_GraphBuilder.cpp ! src/hotspot/share/c1/c1_Instruction.hpp ! src/hotspot/share/c1/c1_ValueMap.hpp ! src/hotspot/share/ci/ciStreams.cpp ! src/hotspot/share/ci/ciStreams.hpp Changeset: d017e988 Author: David Holmes Date: 2022-02-23 11:30:43 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/d017e988562999295315778e232d71e477afb407 8255577: Possible issues with SR_initialize Reviewed-by: shade, stuefe ! src/hotspot/os/posix/signals_posix.cpp Changeset: aaab2cb4 Author: Aleksey Shipilev Date: 2022-02-23 12:34:12 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/aaab2cb41666af8520fd01de70e2c4f9c87ef5fd 8282225: GHA: Allow one concurrent run per PR only Reviewed-by: ihse ! .github/workflows/submit.yml Changeset: 5035bf5e Author: Nils Eliasson Date: 2022-02-23 12:48:22 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/5035bf5e6cb0ae2892e128b9a7c4014d01addb26 8282208: Reduce MachNode size Reviewed-by: kvn, thartmann, jiefu ! src/hotspot/share/opto/machnode.hpp ! src/hotspot/share/opto/node.hpp Changeset: 340a35d8 Author: Xue-Lei Andrew Fan Date: 2022-02-23 15:43:06 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/340a35d8358456620954ae0c668cf3d1d617bb88 8282279: Interpret case-insensitive string locale independently Reviewed-by: weijun ! src/java.base/share/classes/sun/security/ssl/SSLCipher.java ! src/java.base/share/classes/sun/security/util/DisabledAlgorithmConstraints.java ! src/java.base/share/classes/sun/security/util/SecurityProviderConstants.java ! src/java.base/share/classes/sun/security/util/SignatureFileVerifier.java ! src/java.base/share/classes/sun/security/util/TlsChannelBinding.java Changeset: 35076af1 Author: Pavel Rappo Date: 2022-02-23 16:17:23 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/35076af13acd1b9327d35ac67dc80c15bb1059c7 8281376: Consider polymorphic methods when looking for overrides Reviewed-by: hannesw ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/WorkArounds.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverrideMethods.java + test/langtools/jdk/javadoc/doclet/testOverriddenMethods/pkg8/C.java + test/langtools/jdk/javadoc/doclet/testOverriddenMethods/pkg8/GP.java + test/langtools/jdk/javadoc/doclet/testOverriddenMethods/pkg8/P.java Changeset: 99b8ed9d Author: Jonathan Gibbons Date: 2022-02-23 16:49:28 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/99b8ed9dbf88e21a42a8d2f6249bfab7176e7d42 8281217: Source file launch with security manager enabled fails Reviewed-by: sundar ! src/jdk.compiler/share/classes/com/sun/tools/javac/launcher/Main.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/launcher.properties ! test/langtools/tools/javac/launcher/SourceLauncherTest.java Changeset: a020b6ba Author: Lance Andersen Date: 2022-02-23 16:56:50 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/a020b6ba8f38fe85fb26972a51e4c1068408b1c1 8280409: JarFile::getInputStream can fail with NPE accessing ze.getName() Reviewed-by: mullan, alanb ! src/java.base/share/classes/java/util/jar/JarFile.java ! src/java.base/share/classes/java/util/zip/ZipFile.java + test/jdk/java/util/zip/ZipFile/GetInputStreamNPETest.java Changeset: 7dc7184c Author: Xue-Lei Andrew Fan Date: 2022-02-23 18:32:29 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/7dc7184c10fc8f7a02113056da979a9846a14cd4 8282309: Operation before upper case conversion Reviewed-by: valeriep, wetmore ! src/java.base/share/classes/sun/security/util/TlsChannelBinding.java Changeset: e540e0a8 Author: Michael McMahon Date: 2022-02-23 20:02:11 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/e540e0a81b923cce8b2f2689e01703509a4df1de 8282296: (se) Pipe.open() creates a Pipe implementation that uses Unix domain sockets (win) Reviewed-by: dfuchs, lancea, bpb ! src/java.base/windows/classes/sun/nio/ch/PipeImpl.java Changeset: f86f38a8 Author: Vladimir Ivanov Date: 2022-02-23 20:29:23 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f86f38a8afd31c76039206f8f1f33371ad814396 8280901: MethodHandle::linkToNative stub is missing w/ -Xint Reviewed-by: shade, kvn ! src/hotspot/share/classfile/systemDictionary.cpp ! test/jdk/java/foreign/TestDowncall.java Changeset: 253cf785 Author: Chris Plummer Date: 2022-02-23 21:09:41 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/253cf7852f60ecf92e6d675ae2469e5f27425609 8282076: Merge some debug agent changes from the loom repo Reviewed-by: amenkov, lmesnik ! src/jdk.jdwp.agent/share/native/libjdwp/eventHandler.c ! src/jdk.jdwp.agent/share/native/libjdwp/stepControl.c ! src/jdk.jdwp.agent/share/native/libjdwp/threadControl.c Changeset: 43dc9ef6 Author: Manukumar V S Committer: Alexey Ivanov Date: 2022-02-23 21:13:23 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/43dc9ef619b823e033cb1e298bbc091eb5a50967 8281988: Create a regression test for JDK-4618767 Reviewed-by: aivanov + test/jdk/javax/swing/JList/4618767/JListSelectedElementTest.java Changeset: a6610031 Author: Chris Plummer Date: 2022-02-23 22:55:39 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/a6610031e2816156fa14876457e260282a88d478 8281614: serviceability/sa/ClhsdbFindPC.java fails with java.lang.RuntimeException: 'In code in NMethod for jdk/test/lib/apps/LingeredApp.steadyState' missing from stdout/stderr Reviewed-by: dcubed, dholmes ! test/hotspot/jtreg/serviceability/sa/ClhsdbFindPC.java Changeset: 4693b372 Author: Fei Yang Date: 2022-02-23 22:14:22 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/4693b37234a03796b66073689ecf7d3548c99888 Merge branch 'master' into riscv-port ! src/hotspot/cpu/riscv/abstractInterpreter_riscv.cpp ! src/hotspot/cpu/riscv/c2_globals_riscv.hpp ! src/hotspot/cpu/riscv/disassembler_riscv.hpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.inline.hpp ! src/hotspot/cpu/riscv/methodHandles_riscv.cpp ! src/hotspot/cpu/riscv/stubRoutines_riscv.hpp ! src/hotspot/cpu/riscv/vm_version_riscv.hpp + src/hotspot/cpu/riscv/abstractInterpreter_riscv.cpp + src/hotspot/cpu/riscv/c2_globals_riscv.hpp + src/hotspot/cpu/riscv/disassembler_riscv.hpp + src/hotspot/cpu/riscv/macroAssembler_riscv.inline.hpp + src/hotspot/cpu/riscv/methodHandles_riscv.cpp + src/hotspot/cpu/riscv/stubRoutines_riscv.hpp + src/hotspot/cpu/riscv/vm_version_riscv.hpp From yadongwang at openjdk.java.net Thu Feb 24 06:25:41 2022 From: yadongwang at openjdk.java.net (Yadong Wang) Date: Thu, 24 Feb 2022 06:25:41 GMT Subject: [riscv-port] RFR: 8281632: riscv: Improve interpreter stack banging [v4] In-Reply-To: References: Message-ID: <0IV_4I0yF_DyXCf8Aun9UmZ7gPnkkUGFUa30mvDbW9Y=.30a738d0-b9c8-48d1-82fd-027fb6104e13@github.com> On Tue, 22 Feb 2022 06:55:48 GMT, Aleksey Shipilev wrote: >> Yadong Wang has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision: >> >> missing check for stack growth watermark > > src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp line 922: > >> 920: >> 921: // Record a new watermark, unless the update is above the safe limit. >> 922: // Otherwise, the next time around a check above would pass the safe limit. > > Hah. I noticed this is worded incorrectly in the original x86 change. See https://github.com/openjdk/jdk/pull/7569 -- probably makes sense to wait a bit for that change to land, and then pick up the same wording here? OK, I've synchronized it, and wait for your patch to be merged. ------------- PR: https://git.openjdk.java.net/riscv-port/pull/58 From fjiang at openjdk.java.net Thu Feb 24 06:45:56 2022 From: fjiang at openjdk.java.net (Feilong Jiang) Date: Thu, 24 Feb 2022 06:45:56 GMT Subject: [riscv-port] RFR: 8282331: riscv: vector register should be saved when RVV is enabled Message-ID: <7w_n19QfwyTs_n4FpPbr__A--lg7dwkcbDVfuEiBsN0=.19cf38eb-cf36-4485-b6c4-7044947f4e69@github.com> On RISC-V, vector registers should always be saved when RVV is enabled. Tier1 tests on QEMU with UseRVV enabled are passed without new failures. ------------- Commit messages: - 8282331: riscv: vector register should be saved when RVV is enabled Changes: https://git.openjdk.java.net/riscv-port/pull/59/files Webrev: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=59&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8282331 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.java.net/riscv-port/pull/59.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/59/head:pull/59 PR: https://git.openjdk.java.net/riscv-port/pull/59 From fjiang at openjdk.java.net Thu Feb 24 07:03:09 2022 From: fjiang at openjdk.java.net (Feilong Jiang) Date: Thu, 24 Feb 2022 07:03:09 GMT Subject: [riscv-port] RFR: 8282331: is_wide_vector should not depend on specific vector size [v2] In-Reply-To: <7w_n19QfwyTs_n4FpPbr__A--lg7dwkcbDVfuEiBsN0=.19cf38eb-cf36-4485-b6c4-7044947f4e69@github.com> References: <7w_n19QfwyTs_n4FpPbr__A--lg7dwkcbDVfuEiBsN0=.19cf38eb-cf36-4485-b6c4-7044947f4e69@github.com> Message-ID: > On RISC-V, vector registers should always be saved when RVV is enabled. > > Tier1 tests on QEMU with UseRVV enabled are passed without new failures. Feilong Jiang has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision: 8282331: riscv: is_wide_vector should not depend on specific vector size ------------- Changes: - all: https://git.openjdk.java.net/riscv-port/pull/59/files - new: https://git.openjdk.java.net/riscv-port/pull/59/files/7d740b4a..7a177a30 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=59&range=01 - incr: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=59&range=00-01 Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod Patch: https://git.openjdk.java.net/riscv-port/pull/59.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/59/head:pull/59 PR: https://git.openjdk.java.net/riscv-port/pull/59 From fjiang at openjdk.java.net Thu Feb 24 07:06:30 2022 From: fjiang at openjdk.java.net (Feilong Jiang) Date: Thu, 24 Feb 2022 07:06:30 GMT Subject: [riscv-port] RFR: 8282331: riscv: is_wide_vector should not depend on specific vector size [v3] In-Reply-To: <7w_n19QfwyTs_n4FpPbr__A--lg7dwkcbDVfuEiBsN0=.19cf38eb-cf36-4485-b6c4-7044947f4e69@github.com> References: <7w_n19QfwyTs_n4FpPbr__A--lg7dwkcbDVfuEiBsN0=.19cf38eb-cf36-4485-b6c4-7044947f4e69@github.com> Message-ID: > On RISC-V, vector registers should always be saved when RVV is enabled. > > Tier1 tests on QEMU with UseRVV enabled are passed without new failures. Feilong Jiang has updated the pull request incrementally with one additional commit since the last revision: remove comments ------------- Changes: - all: https://git.openjdk.java.net/riscv-port/pull/59/files - new: https://git.openjdk.java.net/riscv-port/pull/59/files/7a177a30..9c1bc6cc Webrevs: - full: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=59&range=02 - incr: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=59&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod Patch: https://git.openjdk.java.net/riscv-port/pull/59.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/59/head:pull/59 PR: https://git.openjdk.java.net/riscv-port/pull/59 From fjiang at openjdk.java.net Thu Feb 24 08:27:00 2022 From: fjiang at openjdk.java.net (Feilong Jiang) Date: Thu, 24 Feb 2022 08:27:00 GMT Subject: [riscv-port] RFR: 8282331: riscv: is_wide_vector should not depend on specific vector size [v4] In-Reply-To: <7w_n19QfwyTs_n4FpPbr__A--lg7dwkcbDVfuEiBsN0=.19cf38eb-cf36-4485-b6c4-7044947f4e69@github.com> References: <7w_n19QfwyTs_n4FpPbr__A--lg7dwkcbDVfuEiBsN0=.19cf38eb-cf36-4485-b6c4-7044947f4e69@github.com> Message-ID: > RISC-V Vector Extension adds 32 architectural vector registers to the base scalar RISC-V ISA, and did not overlaying the f registers on v registers. `is_wide_vector` should always return true when RVV is enabled. , `is_wide_vector` should always return true when RVV is enabled. > On AArch64, the thirty two registers in the FP/SIMD register bank named V0 to V31 are used to hold floating point operands for the scalar floating point instructions, and both scalar and vector operands for the Advanced SIMD instructions. 8 bytes vectors registers are saved by default on AArch64. > > Tier1 tests on QEMU with UseRVV enabled are passed without new failures. Feilong Jiang has updated the pull request incrementally with one additional commit since the last revision: add comments of vpr ------------- Changes: - all: https://git.openjdk.java.net/riscv-port/pull/59/files - new: https://git.openjdk.java.net/riscv-port/pull/59/files/9c1bc6cc..3b53c1f2 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=59&range=03 - incr: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=59&range=02-03 Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod Patch: https://git.openjdk.java.net/riscv-port/pull/59.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/59/head:pull/59 PR: https://git.openjdk.java.net/riscv-port/pull/59 From fjiang at openjdk.java.net Thu Feb 24 08:45:01 2022 From: fjiang at openjdk.java.net (Feilong Jiang) Date: Thu, 24 Feb 2022 08:45:01 GMT Subject: [riscv-port] RFR: 8282331: riscv: is_wide_vector should not depend on specific vector size [v5] In-Reply-To: <7w_n19QfwyTs_n4FpPbr__A--lg7dwkcbDVfuEiBsN0=.19cf38eb-cf36-4485-b6c4-7044947f4e69@github.com> References: <7w_n19QfwyTs_n4FpPbr__A--lg7dwkcbDVfuEiBsN0=.19cf38eb-cf36-4485-b6c4-7044947f4e69@github.com> Message-ID: > RISC-V Vector Extension adds 32 architectural vector registers to the base scalar RISC-V ISA, and did not overlay the f registers on v registers. `is_wide_vector` should always return true when RVV is enabled. , `is_wide_vector` should always return true when RVV is enabled. > On AArch64, the thirty two registers in the FP/SIMD register bank named V0 to V31 are used to hold floating point operands for the scalar floating point instructions, and both scalar and vector operands for the Advanced SIMD instructions. 8 bytes vectors registers are saved by default on AArch64. > > Tier1 tests on QEMU with UseRVV enabled are passed without new failures. Feilong Jiang has updated the pull request incrementally with one additional commit since the last revision: polish comments ------------- Changes: - all: https://git.openjdk.java.net/riscv-port/pull/59/files - new: https://git.openjdk.java.net/riscv-port/pull/59/files/3b53c1f2..70ac2ca3 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=59&range=04 - incr: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=59&range=03-04 Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod Patch: https://git.openjdk.java.net/riscv-port/pull/59.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/59/head:pull/59 PR: https://git.openjdk.java.net/riscv-port/pull/59 From fyang at openjdk.java.net Thu Feb 24 11:55:40 2022 From: fyang at openjdk.java.net (Fei Yang) Date: Thu, 24 Feb 2022 11:55:40 GMT Subject: [riscv-port] RFR: 8282331: riscv: is_wide_vector should not depend on specific vector size [v5] In-Reply-To: References: <7w_n19QfwyTs_n4FpPbr__A--lg7dwkcbDVfuEiBsN0=.19cf38eb-cf36-4485-b6c4-7044947f4e69@github.com> Message-ID: On Thu, 24 Feb 2022 08:45:01 GMT, Feilong Jiang wrote: >> RISC-V Vector Extension adds 32 architectural vector registers to the base scalar RISC-V ISA, and does not overlay the f registers on v registers. `is_wide_vector` should always return true when RVV is enabled. >> On AArch64, the thirty two registers in the FP/SIMD register bank named V0 to V31 are used to hold floating point operands for the scalar floating point instructions, and both scalar and vector operands for the Advanced SIMD instructions. 8 bytes vectors registers are saved by default on AArch64. >> >> Tier1 tests on QEMU with UseRVV enabled are passed without new failures. > > Feilong Jiang has updated the pull request incrementally with one additional commit since the last revision: > > polish comments Looks good. Thanks. ------------- Marked as reviewed by fyang (Lead). PR: https://git.openjdk.java.net/riscv-port/pull/59 From fjiang at openjdk.java.net Thu Feb 24 11:55:40 2022 From: fjiang at openjdk.java.net (Feilong Jiang) Date: Thu, 24 Feb 2022 11:55:40 GMT Subject: [riscv-port] RFR: 8282331: riscv: is_wide_vector should not depend on specific vector size [v5] In-Reply-To: References: <7w_n19QfwyTs_n4FpPbr__A--lg7dwkcbDVfuEiBsN0=.19cf38eb-cf36-4485-b6c4-7044947f4e69@github.com> Message-ID: On Thu, 24 Feb 2022 08:45:01 GMT, Feilong Jiang wrote: >> RISC-V Vector Extension adds 32 architectural vector registers to the base scalar RISC-V ISA, and does not overlay the f registers on v registers. `is_wide_vector` should always return true when RVV is enabled. >> On AArch64, the thirty two registers in the FP/SIMD register bank named V0 to V31 are used to hold floating point operands for the scalar floating point instructions, and both scalar and vector operands for the Advanced SIMD instructions. 8 bytes vectors registers are saved by default on AArch64. >> >> Tier1 tests on QEMU with UseRVV enabled are passed without new failures. > > Feilong Jiang has updated the pull request incrementally with one additional commit since the last revision: > > polish comments Thanks for the review! ------------- PR: https://git.openjdk.java.net/riscv-port/pull/59 From fjiang at openjdk.java.net Thu Feb 24 11:59:40 2022 From: fjiang at openjdk.java.net (Feilong Jiang) Date: Thu, 24 Feb 2022 11:59:40 GMT Subject: [riscv-port] Integrated: 8282331: riscv: is_wide_vector should not depend on specific vector size In-Reply-To: <7w_n19QfwyTs_n4FpPbr__A--lg7dwkcbDVfuEiBsN0=.19cf38eb-cf36-4485-b6c4-7044947f4e69@github.com> References: <7w_n19QfwyTs_n4FpPbr__A--lg7dwkcbDVfuEiBsN0=.19cf38eb-cf36-4485-b6c4-7044947f4e69@github.com> Message-ID: On Thu, 24 Feb 2022 06:40:03 GMT, Feilong Jiang wrote: > RISC-V Vector Extension adds 32 architectural vector registers to the base scalar RISC-V ISA, and does not overlay the f registers on v registers. `is_wide_vector` should always return true when RVV is enabled. > On AArch64, the thirty two registers in the FP/SIMD register bank named V0 to V31 are used to hold floating point operands for the scalar floating point instructions, and both scalar and vector operands for the Advanced SIMD instructions. 8 bytes vectors registers are saved by default on AArch64. > > Tier1 tests on QEMU with UseRVV enabled are passed without new failures. This pull request has now been integrated. Changeset: e57d97ac Author: Feilong Jiang Committer: Fei Yang URL: https://git.openjdk.java.net/riscv-port/commit/e57d97acf28ebeaca1efb6f720c69774faf4b76c Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod 8282331: riscv: is_wide_vector should not depend on specific vector size Reviewed-by: fyang ------------- PR: https://git.openjdk.java.net/riscv-port/pull/59 From duke at openjdk.java.net Fri Feb 25 02:04:58 2022 From: duke at openjdk.java.net (duke) Date: Fri, 25 Feb 2022 02:04:58 GMT Subject: git: openjdk/riscv-port: riscv-port: 14 new changesets Message-ID: <171ec619-73cc-4b06-b79d-fd08344ac0c1@openjdk.java.net> Changeset: cd3e59ef Author: Albert Mingkun Yang Date: 2022-02-24 09:16:04 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/cd3e59ef88bcc040f9d671c8c15370efaae3ffd8 8282299: Remove unused PartialArrayScanTask default constructor Reviewed-by: tschatzl ! src/hotspot/share/gc/shared/taskqueue.hpp Changeset: 379fd859 Author: Prasanta Sadhukhan Date: 2022-02-24 09:52:17 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/379fd85932e4b82e9a8e85f8ed8e63202f3cb9bc 8277369: Strange behavior of JMenuBar with RIGHT_TO_LEFT orientation, arrow keys behaves opposite traversing through keyboard Reviewed-by: prr, naoto, serb ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicPopupMenuUI.java + test/jdk/javax/swing/JMenuBar/MenuBarRTLBug.java Changeset: 3cfffa4f Author: Andrey Turbanov Date: 2022-02-24 11:03:29 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/3cfffa4f8e5a0fff7f232130125c549f992b533b 8282188: Unused static field MathContext.DEFAULT_DIGITS Reviewed-by: darcy, bpb ! src/java.base/share/classes/java/math/MathContext.java Changeset: f4486a19 Author: Coleen Phillimore Date: 2022-02-24 12:59:15 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/f4486a190e38c57b7c10e6cff4622bd1b716a724 8262400: runtime/exceptionMsgs/AbstractMethodError/AbstractMethodErrorTest.java fails in test_ame5_compiled_vtable_stub with wrapper Reviewed-by: dholmes, lmesnik ! test/hotspot/jtreg/runtime/exceptionMsgs/AbstractMethodError/AbstractMethodErrorTest.java Changeset: 231e48fa Author: Johannes Bechberger Committer: Martin Doerr Date: 2022-02-24 14:32:22 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/231e48fa63aeb4e35c7c948f958695d62b7157ce 8282200: ShouldNotReachHere() reached by AsyncGetCallTrace after JDK-8280422 Reviewed-by: dholmes, mdoerr, kevinw ! src/hotspot/share/prims/forte.cpp ! src/hotspot/share/runtime/thread.hpp Changeset: 0796620b Author: Jonathan Gibbons Date: 2022-02-24 14:50:06 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/0796620b07c6287a130ab0a3a7279d69b5d7b8a1 8281944: JavaDoc throws java.lang.IllegalStateException: ERRONEOUS Reviewed-by: hannesw ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java ! test/langtools/jdk/javadoc/doclet/testSeeTag/TestSeeTag.java Changeset: abc0ce11 Author: Xue-Lei Andrew Fan Date: 2022-02-24 16:25:47 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/abc0ce11dfa0a751a12925763cb168d1d3b4f44a 8282316: Operation before String case conversion Reviewed-by: valeriep ! src/java.base/share/classes/sun/security/util/SignatureUtil.java Changeset: 6fab8a2d Author: Alan Hayward Committer: Andrew Dinn Date: 2022-02-24 16:38:56 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/6fab8a2d6a97dbd2ffceca275716d020cb9f1eea 8277204: Implement PAC-RET branch protection on Linux/AArch64 Reviewed-by: erikj, ihse, adinn, ngasson ! doc/building.md ! make/autoconf/flags-cflags.m4 ! make/autoconf/spec.gmk.in ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp ! src/hotspot/cpu/aarch64/frame_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/g1/g1BarrierSetAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/shenandoah/shenandoahBarrierSetAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/z/zBarrierSetAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/globals_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/pauth_aarch64.hpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp ! src/hotspot/cpu/aarch64/vm_version_aarch64.hpp ! src/hotspot/os_cpu/bsd_aarch64/pauth_bsd_aarch64.inline.hpp ! src/hotspot/os_cpu/linux_aarch64/pauth_linux_aarch64.inline.hpp ! src/hotspot/os_cpu/linux_aarch64/threadLS_linux_aarch64.S ! src/hotspot/os_cpu/linux_aarch64/vm_version_linux_aarch64.cpp ! src/hotspot/os_cpu/windows_aarch64/pauth_windows_aarch64.inline.hpp ! src/hotspot/share/gc/shared/barrierSetNMethod.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/java.base/share/man/java.1 ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.aarch64/src/jdk/vm/ci/aarch64/AArch64.java ! test/hotspot/gtest/aarch64/aarch64-asmtest.py ! test/hotspot/gtest/aarch64/asmtest.out.h ! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/CodeInstallationTest.java ! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/TestHotSpotVMConfig.java ! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/aarch64/AArch64TestAssembler.java Changeset: 0b6862e8 Author: Albert Mingkun Yang Date: 2022-02-24 17:47:30 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/0b6862e803a03cf7f722f4f58b657712e74723fb 8282348: Remove unused CardTable::dirty_card_iterate Reviewed-by: kbarrett ! src/hotspot/share/gc/shared/cardTable.cpp ! src/hotspot/share/gc/shared/cardTable.hpp Changeset: 20e78f7a Author: Albert Mingkun Yang Date: 2022-02-24 17:48:20 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/20e78f7a8e2e589bc4fb7f0c928176048bd9172a 8282307: Parallel: Incorrect discovery mode in PCReferenceProcessor Reviewed-by: tschatzl, kbarrett ! src/hotspot/share/gc/parallel/psParallelCompact.cpp Changeset: 23995f82 Author: Daniel Jeli?ski Committer: Daniel Fuchs Date: 2022-02-24 18:18:52 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/23995f822e540d799eb4bbc969229422257fbb08 8281525: Enable Zc:strictStrings flag in Visual Studio build Reviewed-by: dholmes, ihse ! make/autoconf/flags-cflags.m4 ! src/hotspot/os/windows/os_windows.cpp ! src/java.security.jgss/windows/native/libsspi_bridge/sspi.cpp ! src/jdk.crypto.mscapi/windows/native/libsunmscapi/security.cpp ! src/jdk.jpackage/windows/native/libwixhelper/libwixhelper.cpp ! test/hotspot/gtest/runtime/test_os_windows.cpp Changeset: b6843a16 Author: Yi-Fan Tsai Committer: Paul Hohensee Date: 2022-02-24 19:42:16 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/b6843a162411b0fa32271592d8f3a6f241a54384 8005885: enhance PrintCodeCache to print more data Reviewed-by: xliu, phh ! src/hotspot/share/code/codeCache.cpp + test/hotspot/jtreg/compiler/codecache/CheckCodeCacheInfo.java Changeset: bf19fc65 Author: Roger Riggs Date: 2022-02-24 20:12:48 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/bf19fc65c71cba8cb4383d714fe8993acd01be0a 8280357: user.home = "?" when running with systemd DynamicUser=true Reviewed-by: naoto, alanb ! src/java.base/unix/native/libjava/java_props_md.c Changeset: b88dfc06 Author: Fei Yang Date: 2022-02-24 21:01:48 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/b88dfc06e13ae53c21c41f016b23dbd3562a22d3 Merge branch 'master' into riscv-port ! src/hotspot/cpu/riscv/c1_FrameMap_riscv.cpp ! src/hotspot/cpu/riscv/c1_LIRAssembler_arith_riscv.cpp ! src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.hpp ! src/hotspot/cpu/riscv/c1_LinearScan_riscv.cpp ! src/hotspot/cpu/riscv/c2_safepointPollStubTable_riscv.cpp ! src/hotspot/cpu/riscv/globals_riscv.hpp ! src/hotspot/cpu/riscv/icache_riscv.cpp ! src/hotspot/cpu/riscv/interpreterRT_riscv.cpp ! src/hotspot/cpu/riscv/riscv_v.ad ! src/hotspot/cpu/riscv/universalUpcallHandle_riscv.cpp ! src/hotspot/cpu/riscv/vmreg_riscv.cpp ! src/hotspot/cpu/riscv/vmreg_riscv.hpp + src/hotspot/cpu/riscv/c1_FrameMap_riscv.cpp + src/hotspot/cpu/riscv/c1_LIRAssembler_arith_riscv.cpp + src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.hpp + src/hotspot/cpu/riscv/c1_LinearScan_riscv.cpp + src/hotspot/cpu/riscv/c2_safepointPollStubTable_riscv.cpp + src/hotspot/cpu/riscv/globals_riscv.hpp + src/hotspot/cpu/riscv/icache_riscv.cpp + src/hotspot/cpu/riscv/interpreterRT_riscv.cpp + src/hotspot/cpu/riscv/riscv_v.ad + src/hotspot/cpu/riscv/universalUpcallHandle_riscv.cpp + src/hotspot/cpu/riscv/vmreg_riscv.cpp + src/hotspot/cpu/riscv/vmreg_riscv.hpp From duke at openjdk.java.net Sat Feb 26 01:33:47 2022 From: duke at openjdk.java.net (duke) Date: Sat, 26 Feb 2022 01:33:47 GMT Subject: git: openjdk/riscv-port: riscv-port: 9 new changesets Message-ID: Changeset: cd36be42 Author: Kevin Walls Date: 2022-02-25 07:56:56 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/cd36be42c2eb3eacdb3625e87510eb15acac3230 8206187: javax/management/remote/mandatory/connection/DefaultAgentFilterTest.java fails with Port already in use Reviewed-by: msheppar, amenkov ! test/jdk/javax/management/remote/mandatory/connection/DefaultAgentFilterTest.java Changeset: 3efd6aa4 Author: Claes Redestad Date: 2022-02-25 08:55:46 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/3efd6aa4c9b6420520709281ab1ca46ba4242c87 8282347: AARCH64: Untaken branch in has_negatives stub Reviewed-by: aph, haosun, thartmann ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp Changeset: 9471f24c Author: KIRIYAMA Takuya Committer: Markus Gr?nlund Date: 2022-02-25 11:39:11 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/9471f24ca191832669a13e5a1ea73f7097a25927 8280684: JfrRecorderService failes with guarantee(num_written > 0) when no space left on device. Reviewed-by: mgronlun ! src/hotspot/share/jfr/jni/jfrJavaSupport.cpp ! src/hotspot/share/jfr/jni/jfrJavaSupport.hpp ! src/hotspot/share/jfr/writers/jfrStreamWriterHost.inline.hpp Changeset: b96b7437 Author: Thomas Stuefe Date: 2022-02-25 12:25:46 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/b96b743727a628c1b33cc9b3374f010c2ea30b78 8281015: Further simplify NMT backend Reviewed-by: zgu, mbaesken ! src/hotspot/share/runtime/os.cpp ! src/hotspot/share/services/mallocSiteTable.cpp ! src/hotspot/share/services/mallocSiteTable.hpp ! src/hotspot/share/services/mallocTracker.cpp ! src/hotspot/share/services/mallocTracker.hpp - src/hotspot/share/services/mallocTracker.inline.hpp ! src/hotspot/share/services/memTracker.cpp ! src/hotspot/share/services/memTracker.hpp ! src/hotspot/share/services/nmtCommon.hpp ! src/hotspot/share/utilities/debug.cpp Changeset: 735e86b0 Author: Matthias Baesken Date: 2022-02-25 12:26:44 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/735e86b0f71c97c2ba35c1cffd9b4492a8ca55bc 8282345: handle latest VS2022 in abstract_vm_version Reviewed-by: dholmes, mdoerr ! src/hotspot/share/runtime/abstract_vm_version.cpp Changeset: e96c599e Author: Erik Gahlin Date: 2022-02-25 12:56:09 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/e96c599ed2a30ea116803aac0e85ba701ad40e25 8271232: JFR: Scrub recording data Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingFile.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ChunkHeader.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ChunkParser.java + src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/CompositeParser.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ConstantLookup.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ConstantMap.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/Dispatcher.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/EventParser.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/Parser.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ParserFactory.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ParserFilter.java + src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/Reference.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/StringParser.java + src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/filter/CheckPointEvent.java + src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/filter/CheckPointPool.java + src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/filter/ChunkWriter.java + src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/filter/Constants.java + src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/filter/PoolEntry.java + src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/filter/RecordingOutput.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/tool/Command.java + src/jdk.jfr/share/classes/jdk/jfr/internal/tool/Filters.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/tool/Main.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/tool/Metadata.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/tool/Print.java + src/jdk.jfr/share/classes/jdk/jfr/internal/tool/Scrub.java + test/jdk/jdk/jfr/api/consumer/TestRecordingFileSanitization.java + test/jdk/jdk/jfr/api/consumer/TestRecordingFileWrite.java + test/jdk/jdk/jfr/tool/TestScrub.java Changeset: 441e4850 Author: Erik Gahlin Date: 2022-02-25 18:36:11 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/441e48509c1ba88db942737715026404b4fe0767 8281739: JFR: Use message with Objects.requireNonNull Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/AnnotationElement.java ! src/jdk.jfr/share/classes/jdk/jfr/Configuration.java ! src/jdk.jfr/share/classes/jdk/jfr/EventFactory.java ! src/jdk.jfr/share/classes/jdk/jfr/EventSettings.java ! src/jdk.jfr/share/classes/jdk/jfr/EventType.java ! src/jdk.jfr/share/classes/jdk/jfr/FlightRecorder.java ! src/jdk.jfr/share/classes/jdk/jfr/FlightRecorderPermission.java ! src/jdk.jfr/share/classes/jdk/jfr/Recording.java ! src/jdk.jfr/share/classes/jdk/jfr/ValueDescriptor.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/EventStream.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordedObject.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingFile.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingStream.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/AbstractEventStream.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/EventFileStream.java ! src/jdk.management.jfr/share/classes/jdk/management/jfr/FlightRecorderMXBeanImpl.java Changeset: fb8bf818 Author: Alexander Matveev Date: 2022-02-25 20:49:59 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/fb8bf81842b55355f226ac9d8717646abd509721 8279995: jpackage --add-launcher option should allow overriding description Reviewed-by: asemenyuk ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/AddLauncherArguments.java ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources.properties ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_ja.properties ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_zh_CN.properties ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/AdditionalLauncher.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/WindowsHelper.java ! test/jdk/tools/jpackage/share/AddLauncherTest.java Changeset: 06900c2c Author: Fei Yang Date: 2022-02-25 20:31:07 +0000 URL: https://git.openjdk.java.net/riscv-port/commit/06900c2c7ae795a00cec6df285f318641810a08d Merge branch 'master' into riscv-port ! src/hotspot/cpu/riscv/javaFrameAnchor_riscv.hpp ! src/hotspot/share/runtime/abstract_vm_version.cpp + src/hotspot/cpu/riscv/javaFrameAnchor_riscv.hpp ! src/hotspot/share/runtime/abstract_vm_version.cpp From fjiang at openjdk.java.net Sat Feb 26 06:41:48 2022 From: fjiang at openjdk.java.net (Feilong Jiang) Date: Sat, 26 Feb 2022 06:41:48 GMT Subject: [riscv-port] RFR: 8282415: riscv: Rename StubRoutines::riscv64 to StubRoutines::riscv Message-ID: Rename `SubRoutine::riscv64` to `SubRoutine::riscv`, just like the PPC64 port. Tier1 tests on QEMU are passed without new faliures. ------------- Commit messages: - 8282415: riscv: Rename StubRoutines::riscv64 to StubRoutines::riscv Changes: https://git.openjdk.java.net/riscv-port/pull/60/files Webrev: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=60&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8282415 Stats: 47 lines in 6 files changed: 1 ins; 0 del; 46 mod Patch: https://git.openjdk.java.net/riscv-port/pull/60.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/60/head:pull/60 PR: https://git.openjdk.java.net/riscv-port/pull/60 From fjiang at openjdk.java.net Sat Feb 26 07:16:54 2022 From: fjiang at openjdk.java.net (Feilong Jiang) Date: Sat, 26 Feb 2022 07:16:54 GMT Subject: [riscv-port] RFR: 8282415: riscv: Rename StubRoutines::riscv64 to StubRoutines::riscv [v2] In-Reply-To: References: Message-ID: > Rename `SubRoutine::riscv64` to `SubRoutine::riscv`, just like the PPC64 port. > > Tier1 tests on QEMU are passed without new faliures. Feilong Jiang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision: - Merge branch 'riscv-port' of https://github.com/openjdk/riscv-port into rename - 8282415: riscv: Rename StubRoutines::riscv64 to StubRoutines::riscv ------------- Changes: - all: https://git.openjdk.java.net/riscv-port/pull/60/files - new: https://git.openjdk.java.net/riscv-port/pull/60/files/11d64a0a..d138f72d Webrevs: - full: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=60&range=01 - incr: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=60&range=00-01 Stats: 2697 lines in 67 files changed: 2118 ins; 342 del; 237 mod Patch: https://git.openjdk.java.net/riscv-port/pull/60.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/60/head:pull/60 PR: https://git.openjdk.java.net/riscv-port/pull/60 From yzhu at openjdk.java.net Sat Feb 26 07:26:26 2022 From: yzhu at openjdk.java.net (Yanhong Zhu) Date: Sat, 26 Feb 2022 07:26:26 GMT Subject: [riscv-port] RFR: 8282415: riscv: Rename StubRoutines::riscv64 to StubRoutines::riscv [v2] In-Reply-To: References: Message-ID: On Sat, 26 Feb 2022 07:16:54 GMT, Feilong Jiang wrote: >> Rename `SubRoutine::riscv64` to `SubRoutine::riscv`, just like the PPC64 port. >> >> Tier1 tests on QEMU are passed without new faliures. > > Feilong Jiang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision: > > - Merge branch 'riscv-port' of https://github.com/openjdk/riscv-port into rename > - 8282415: riscv: Rename StubRoutines::riscv64 to StubRoutines::riscv Looks good to me. ------------- Marked as reviewed by yzhu (Committer). PR: https://git.openjdk.java.net/riscv-port/pull/60 From fyang at openjdk.java.net Sat Feb 26 07:36:26 2022 From: fyang at openjdk.java.net (Fei Yang) Date: Sat, 26 Feb 2022 07:36:26 GMT Subject: [riscv-port] RFR: 8282415: riscv: Rename StubRoutines::riscv64 to StubRoutines::riscv [v2] In-Reply-To: References: Message-ID: On Sat, 26 Feb 2022 07:16:54 GMT, Feilong Jiang wrote: >> Rename `SubRoutine::riscv64` to `SubRoutine::riscv`, just like the PPC64 port. >> >> Tier1 tests on QEMU are passed without new faliures. > > Feilong Jiang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision: > > - Merge branch 'riscv-port' of https://github.com/openjdk/riscv-port into rename > - 8282415: riscv: Rename StubRoutines::riscv64 to StubRoutines::riscv This will make the code more consistent. Thanks. ------------- Marked as reviewed by fyang (Lead). PR: https://git.openjdk.java.net/riscv-port/pull/60 From fjiang at openjdk.java.net Sat Feb 26 07:41:26 2022 From: fjiang at openjdk.java.net (Feilong Jiang) Date: Sat, 26 Feb 2022 07:41:26 GMT Subject: [riscv-port] RFR: 8282415: riscv: Rename StubRoutines::riscv64 to StubRoutines::riscv [v2] In-Reply-To: References: Message-ID: On Sat, 26 Feb 2022 07:23:29 GMT, Yanhong Zhu wrote: >> Feilong Jiang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision: >> >> - Merge branch 'riscv-port' of https://github.com/openjdk/riscv-port into rename >> - 8282415: riscv: Rename StubRoutines::riscv64 to StubRoutines::riscv > > Looks good to me. Thanks for the reviews??@yhzhu20 @RealFYang ------------- PR: https://git.openjdk.java.net/riscv-port/pull/60 From fjiang at openjdk.java.net Sat Feb 26 07:45:16 2022 From: fjiang at openjdk.java.net (Feilong Jiang) Date: Sat, 26 Feb 2022 07:45:16 GMT Subject: [riscv-port] Integrated: 8282415: riscv: Rename StubRoutines::riscv64 to StubRoutines::riscv In-Reply-To: References: Message-ID: <1jgZ3PPBjsHGIkZHvgUjuRy1yz29Uf_8qSvOQVGupW8=.158d716f-396c-4f4e-8f9b-e860adbad514@github.com> On Sat, 26 Feb 2022 06:34:53 GMT, Feilong Jiang wrote: > Rename `SubRoutine::riscv64` to `SubRoutine::riscv`, just like the PPC64 port. > > Tier1 tests on QEMU are passed without new faliures. This pull request has now been integrated. Changeset: 8a47fc56 Author: Feilong Jiang Committer: Yanhong Zhu URL: https://git.openjdk.java.net/riscv-port/commit/8a47fc56d2cf3db70f9b6ed81c9ce71b4e45135d Stats: 47 lines in 6 files changed: 1 ins; 0 del; 46 mod 8282415: riscv: Rename StubRoutines::riscv64 to StubRoutines::riscv Reviewed-by: yzhu, fyang ------------- PR: https://git.openjdk.java.net/riscv-port/pull/60 From tguo at openjdk.java.net Mon Feb 28 10:37:38 2022 From: tguo at openjdk.java.net (Taiping Guo) Date: Mon, 28 Feb 2022 10:37:38 GMT Subject: [riscv-port] RFR: 8281967: riscv: Intrinsify bigIntegerLeftShift Message-ID: <_Eclr1ahHMWkCmoj-y8RiCQG7PXhbVZj9-Mr7op_ANQ=.9f4f8c02-34ef-4fed-9786-d75d0a29b5b6@github.com> BigInteger intrinsic: bigIntegerLeftShift intrinsic is missed in current vm. It should be implemented. Considering that there is no hardware that supports rvv1.0, we use `test/jdk/java/math/BigInteger/ModPow.java` testcase to compare the number of instructions generated by C2 and intrinsic, and the instructions for the method `shiftLeftImplWorker` shows that the number of instructions generated by C2 is 9.2x that of intrinsic. Full jtreg tests on qemu are passed without new failures. ------------- Commit messages: - 8281967: riscv: Intrinsify bigIntegerLeftShift Changes: https://git.openjdk.java.net/riscv-port/pull/61/files Webrev: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=61&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8281967 Stats: 61 lines in 1 file changed: 61 ins; 0 del; 0 mod Patch: https://git.openjdk.java.net/riscv-port/pull/61.diff Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/61/head:pull/61 PR: https://git.openjdk.java.net/riscv-port/pull/61 From yzhu at openjdk.java.net Mon Feb 28 11:22:02 2022 From: yzhu at openjdk.java.net (Yanhong Zhu) Date: Mon, 28 Feb 2022 11:22:02 GMT Subject: [riscv-port] RFR: 8281967: riscv: Intrinsify bigIntegerLeftShift In-Reply-To: <_Eclr1ahHMWkCmoj-y8RiCQG7PXhbVZj9-Mr7op_ANQ=.9f4f8c02-34ef-4fed-9786-d75d0a29b5b6@github.com> References: <_Eclr1ahHMWkCmoj-y8RiCQG7PXhbVZj9-Mr7op_ANQ=.9f4f8c02-34ef-4fed-9786-d75d0a29b5b6@github.com> Message-ID: On Mon, 28 Feb 2022 10:30:23 GMT, Taiping Guo wrote: > BigInteger intrinsic: bigIntegerLeftShift intrinsic is missed in current vm. It should be implemented. > Considering that there is no hardware that supports rvv1.0, we use `test/jdk/java/math/BigInteger/ModPow.java` testcase to compare the number of instructions generated by C2 and intrinsic, and the instructions for the method `shiftLeftImplWorker` shows that the number of instructions generated by C2 is 9.2x that of intrinsic. > > Full jtreg tests on qemu are passed without new failures. src/hotspot/cpu/riscv/stubGenerator_riscv.cpp line 2898: > 2896: __ vse32_v(v0, newArr); > 2897: __ sub(numIter, numIter, t0); > 2898: if (UseRVB) { Why not call `shadd` here like above? ------------- PR: https://git.openjdk.java.net/riscv-port/pull/61