From david.holmes at oracle.com Thu Dec 1 01:36:14 2022 From: david.holmes at oracle.com (David Holmes) Date: Thu, 1 Dec 2022 11:36:14 +1000 Subject: Legacy Structured Concurrency In-Reply-To: <39641084-f7d2-af70-a9da-db7c26827225@kolotyluk.net> References: <39641084-f7d2-af70-a9da-db7c26827225@kolotyluk.net> Message-ID: On 1/12/2022 4:10 am, Eric Kolotyluk wrote: > Lately at work I have been working on a piece of Java 8 code (in our Big > Ball of Mud) that reminds me of Structured Concurrency. > > It is a concurrent/parallel execution framework that uses > > final static ExecutorService _executorService = > Executors.newFixedThreadPool(50); > > CompletionService completionService = new > ExecutorCompletionService(executorService()); > > I have since changed this to > > static ExecutorService _executorService = > Executors.newWorkStealingPool(); > > Until recently, I was not familiar with CompletionService, but after my > recent experiments in Loom Structured Concurrency, it reminded me a > little of Structured Concurrency. Certainly not as nice as > StructuredTaskScope, but similar in form. > > One of my goals is to refactor our code using Java 19 > StructuredTaskScope, but that may be a while. In the meantime, I plan to > experiment with it. > > /*Having no prior experience with *//*CompletionService*//*I was > wondering if anyone knows the history of it, and was is an early attempt > at Structured Concurrency?*/ The history is that it stems from Doug Lea's work on concurrency designs and patterns, that itself was based on state-of-the-practice for concurrent programming back in the 90's. Check out: https://www.amazon.com/Concurrent-Programming-Java%C2%99-Principles-Pattern/dp/0201310090 I don't know whether to classify it as an early form of "structured concurrency". Cheers, David > Cheers, Eric > From duke at openjdk.org Fri Dec 2 08:18:05 2022 From: duke at openjdk.org (duke) Date: Fri, 2 Dec 2022 08:18:05 GMT Subject: git: openjdk/loom: fibers: 98 new changesets Message-ID: Changeset: 6049e207 Author: Alan Bateman Date: 2022-11-28 15:15:55 +0000 URL: https://git.openjdk.org/loom/commit/6049e2079249d8bd64f2da3b8c297bee374bc7bf Exclude jdk/incubator/concurrent/ScopedValue/StressStackOverflow.java from jtreg wrapper runs ! test/jdk/ProblemList-vthread.txt Changeset: abeddab9 Author: Sergey Bylokhov Date: 2022-11-24 03:54:40 +0000 URL: https://git.openjdk.org/loom/commit/abeddab991d71f4ea54665082ffcb284267d7f44 6528710: sRGB-ColorSpace to sRGB-ColorSpace Conversion Reviewed-by: jdv, dnguyen + test/jdk/java/awt/color/ICC_ColorSpace/SimpleSRGBConversionQualityTest.java Changeset: 2f8a5c2e Author: Matthias Baesken Date: 2022-11-24 08:03:53 +0000 URL: https://git.openjdk.org/loom/commit/2f8a5c2eca0dc3dad08b7b2c33394ac214907008 8297480: GetPrimitiveArrayCritical in imageioJPEG misses result - NULL check Reviewed-by: jdv ! src/java.desktop/share/native/libjavajpeg/imageioJPEG.c Changeset: 9c77e41b Author: Martin Doerr Date: 2022-11-24 08:35:26 +0000 URL: https://git.openjdk.org/loom/commit/9c77e41b81ebd28bd92ea7adad605981a5519046 8297445: PPC64: Represent Registers as values Reviewed-by: mbaesken, rrich ! src/hotspot/cpu/ppc/assembler_ppc.hpp ! src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp ! src/hotspot/cpu/ppc/gc/z/zBarrierSetAssembler_ppc.cpp ! src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp ! src/hotspot/cpu/ppc/methodHandles_ppc.cpp ! src/hotspot/cpu/ppc/register_ppc.cpp ! src/hotspot/cpu/ppc/register_ppc.hpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/ppc/stubGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateTable_ppc_64.cpp ! src/hotspot/cpu/ppc/vmreg_ppc.cpp ! src/hotspot/cpu/ppc/vmreg_ppc.inline.hpp Changeset: 5e5b774b Author: Thomas Schatzl Date: 2022-11-24 08:58:13 +0000 URL: https://git.openjdk.org/loom/commit/5e5b774bfb219bfa4a4f18cfaaf279a994779ee6 8296768: Use different explicit claim marks for CLDs in Parallel and Serial GC Reviewed-by: ayang, sjohanss, kbarrett ! src/hotspot/share/gc/parallel/psCompactionManager.inline.hpp ! src/hotspot/share/gc/parallel/psParallelCompact.cpp ! src/hotspot/share/gc/serial/genMarkSweep.cpp ! src/hotspot/share/gc/serial/markSweep.cpp ! src/hotspot/share/gc/shared/genCollectedHeap.cpp Changeset: f4cf7589 Author: Aleksey Shipilev Date: 2022-11-24 09:00:06 +0000 URL: https://git.openjdk.org/loom/commit/f4cf7589c0fa727ad091469c00e4dedbf9e0699e 8297491: Loom: Stack chunks allocation code uses TLABs even when TLABs are disabled Reviewed-by: tschatzl, aboldtch, aph ! src/hotspot/share/gc/shared/memAllocator.cpp Changeset: 8b739706 Author: Hao Sun Committer: Nick Gasson Date: 2022-11-24 09:11:18 +0000 URL: https://git.openjdk.org/loom/commit/8b7397064b5b492b03bc8363f6ba74c70ce7d4a0 8296208: AArch64: Enable SHA512 intrinsic by default on supported hardware Reviewed-by: njian, ngasson ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp Changeset: 3c4d5204 Author: Severin Gehwolf Date: 2022-11-24 10:05:18 +0000 URL: https://git.openjdk.org/loom/commit/3c4d5204ff96280b123f42a8cfbaef308e470b69 8296671: [JFR] jdk.ContainerConfiguration event should include host total memory Reviewed-by: egahlin ! src/hotspot/share/jfr/jni/jfrJniMethod.cpp ! src/hotspot/share/jfr/jni/jfrJniMethod.hpp ! src/hotspot/share/jfr/jni/jfrJniMethodRegistration.cpp ! src/jdk.jfr/share/classes/jdk/jfr/events/ContainerConfigurationEvent.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/instrument/JDKEvents.java ! test/hotspot/jtreg/containers/docker/TestJFREvents.java Changeset: 070a84cb Author: Kevin Walls Date: 2022-11-24 12:28:46 +0000 URL: https://git.openjdk.org/loom/commit/070a84cbae2f79def1c1eb65456c76f708f2e6e5 8297192: Warning generating API docs for javax.management.MBeanServer: overridden methods do not document exception type Reviewed-by: dfuchs, sspitsyn, amenkov ! src/java.management/share/classes/javax/management/MBeanServer.java Changeset: 5e196b4b Author: Fei Yang Date: 2022-11-24 13:32:52 +0000 URL: https://git.openjdk.org/loom/commit/5e196b4b8e623107424e2fb54672790fd925fe73 8297476: Increase InlineSmallCode default from 1000 to 2500 for RISC-V Reviewed-by: shade, yzhu ! src/hotspot/share/compiler/compilerDefinitions.cpp Changeset: df6cf1e4 Author: Stefan Karlsson Date: 2022-11-24 15:06:19 +0000 URL: https://git.openjdk.org/loom/commit/df6cf1e41d0fc2dd5f5c094f66c7c8969cf5548d 8296886: Fix various include sort order issues Reviewed-by: kbarrett, dholmes, stuefe ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/arm/frame_arm.cpp ! src/hotspot/cpu/arm/nativeInst_arm_32.cpp ! src/hotspot/cpu/ppc/gc/shenandoah/shenandoahBarrierSetAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc_sha.cpp ! src/hotspot/cpu/ppc/stubRoutines_ppc_64.cpp ! src/hotspot/cpu/riscv/gc/shenandoah/shenandoahBarrierSetAssembler_riscv.hpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/zero/sharedRuntime_zero.cpp ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/windows/jvm_windows.cpp ! src/hotspot/os/windows/os_perf_windows.cpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp ! src/hotspot/os_cpu/windows_aarch64/os_windows_aarch64.cpp ! src/hotspot/share/cds/archiveHeapLoader.hpp ! src/hotspot/share/cds/cdsProtectionDomain.hpp ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/cds/dumpTimeClassInfo.inline.hpp ! src/hotspot/share/classfile/classFileParser.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/compactHashtable.cpp ! src/hotspot/share/classfile/moduleEntry.cpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compilerEvent.cpp ! src/hotspot/share/compiler/compilerEvent.hpp ! src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp ! src/hotspot/share/gc/g1/g1CodeCacheRemSet.hpp ! src/hotspot/share/gc/g1/g1MonotonicArena.cpp ! src/hotspot/share/gc/shared/ageTable.cpp ! src/hotspot/share/gc/shared/gcLogPrecious.cpp ! src/hotspot/share/gc/z/zBarrierSetAssembler.hpp ! src/hotspot/share/interpreter/zero/bytecodeInterpreter.cpp ! src/hotspot/share/jfr/instrumentation/jfrResolution.cpp ! src/hotspot/share/jfr/jni/jfrJavaCall.hpp ! src/hotspot/share/jfr/jni/jfrJniMethod.cpp ! src/hotspot/share/jfr/jni/jfrUpcalls.hpp ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/hotspot/share/jfr/recorder/checkpoint/types/jfrThreadGroup.hpp ! src/hotspot/share/jfr/recorder/checkpoint/types/jfrType.cpp ! src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.hpp ! src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdBits.hpp ! src/hotspot/share/jfr/recorder/repository/jfrRepository.hpp ! src/hotspot/share/jfr/recorder/stringpool/jfrStringPool.hpp ! src/hotspot/share/jvmci/jvmci.cpp ! src/hotspot/share/jvmci/jvmciCodeInstaller.cpp ! src/hotspot/share/logging/logFileOutput.cpp ! src/hotspot/share/logging/logFileStreamOutput.cpp ! src/hotspot/share/logging/logSelection.cpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/prims/jniCheck.cpp ! src/hotspot/share/prims/perf.cpp ! src/hotspot/share/prims/scopedMemoryAccess.cpp ! src/hotspot/share/prims/unsafe.cpp ! src/hotspot/share/prims/vectorSupport.cpp ! src/hotspot/share/prims/vectorSupport.hpp ! src/hotspot/share/prims/wbtestmethods/parserTests.cpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/prims/whitebox.hpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/continuation.hpp ! src/hotspot/share/runtime/init.cpp ! src/hotspot/share/runtime/java.cpp ! src/hotspot/share/runtime/javaCalls.cpp ! src/hotspot/share/runtime/nonJavaThread.cpp ! src/hotspot/share/runtime/threadCrashProtection.hpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/hotspot/share/runtime/vm_version.hpp ! src/hotspot/share/services/mallocTracker.cpp ! src/hotspot/share/utilities/elfFile.cpp ! src/hotspot/share/utilities/formatBuffer.hpp ! src/hotspot/share/utilities/ostream.cpp ! src/hotspot/share/utilities/vmError.cpp ! test/hotspot/gtest/classfile/test_symbolTable.cpp ! test/hotspot/gtest/compiler/test_directivesParser.cpp ! test/hotspot/gtest/gc/g1/test_freeRegionList.cpp ! test/hotspot/gtest/gc/g1/test_g1Analytics.cpp ! test/hotspot/gtest/gc/g1/test_g1BatchedGangTask.cpp ! test/hotspot/gtest/gc/g1/test_g1CodeCacheRemSet.cpp ! test/hotspot/gtest/gc/g1/test_stressCommitUncommit.cpp ! test/hotspot/gtest/gc/parallel/test_psParallelCompact.cpp ! test/hotspot/gtest/gc/shared/test_ptrQueueBufferAllocator.cpp ! test/hotspot/gtest/gtestMain.cpp ! test/hotspot/gtest/jfr/test_adaptiveSampler.cpp ! test/hotspot/gtest/jfr/test_networkUtilization.cpp ! test/hotspot/gtest/jfr/test_threadCpuLoad.cpp ! test/hotspot/gtest/logging/test_log.cpp ! test/hotspot/gtest/logging/test_logDecorators.cpp ! test/hotspot/gtest/memory/test_guardedMemory.cpp ! test/hotspot/gtest/memory/test_virtualspace.cpp ! test/hotspot/gtest/metaprogramming/test_enableIf.cpp ! test/hotspot/gtest/metaspace/metaspaceGtestCommon.hpp ! test/hotspot/gtest/oops/test_markWord.cpp ! test/hotspot/gtest/runtime/test_arguments.cpp ! test/hotspot/gtest/runtime/test_classPrinter.cpp ! test/hotspot/gtest/runtime/test_committed_virtualmemory.cpp ! test/hotspot/gtest/runtime/test_os.cpp ! test/hotspot/gtest/runtime/test_os_linux.cpp ! test/hotspot/gtest/runtime/test_os_windows.cpp ! test/hotspot/gtest/runtime/test_special_flags.cpp ! test/hotspot/gtest/threadHelper.inline.hpp ! test/hotspot/gtest/utilities/test_align.cpp ! test/hotspot/gtest/utilities/test_bitMap_setops.cpp ! test/hotspot/gtest/utilities/test_concurrentHashtable.cpp ! test/hotspot/gtest/utilities/test_enumIterator.cpp ! test/hotspot/gtest/utilities/test_globalCounter.cpp ! test/hotspot/gtest/utilities/test_globalCounter_nested.cpp ! test/hotspot/gtest/utilities/test_globalDefinitions.cpp ! test/hotspot/gtest/utilities/test_lockFreeStack.cpp ! test/hotspot/gtest/utilities/test_nonblockingQueue.cpp ! test/hotspot/gtest/utilities/test_population_count.cpp ! test/hotspot/gtest/utilities/test_powerOfTwo.cpp ! test/hotspot/gtest/utilities/test_singleWriterSynchronizer.cpp Changeset: ab1f9ffa Author: KIRIYAMA Takuya Committer: Daniel Fuchs Date: 2022-11-24 16:16:45 +0000 URL: https://git.openjdk.org/loom/commit/ab1f9ffa78ca95b67b6d57936a70c49abf18fd00 8051627: Invariants about java.net.URI resolve and relativize are wrong Reviewed-by: dfuchs ! src/java.base/share/classes/java/net/URI.java ! test/jdk/java/net/URI/Test.java Changeset: 8effaa8f Author: Daniel Fuchs Date: 2022-11-24 16:18:28 +0000 URL: https://git.openjdk.org/loom/commit/8effaa8f1f550d2cd0ff369f99436a8a7401fa10 8223783: sun/net/www/http/HttpClient/MultiThreadTest.java sometimes detect threads+1 connections Reviewed-by: djelinski, michaelm ! test/jdk/sun/net/www/http/HttpClient/MultiThreadTest.java Changeset: 390e69ad Author: Per Minborg Committer: Alan Bateman Date: 2022-11-24 17:07:53 +0000 URL: https://git.openjdk.org/loom/commit/390e69ad065ebefe2e998f6200d19d45cf043b16 8297150: Add a @sealedGraph tag to Reference Reviewed-by: darcy, alanb ! src/java.base/share/classes/java/lang/ref/Reference.java Changeset: 87d1097d Author: Claes Redestad Date: 2022-11-24 17:40:30 +0000 URL: https://git.openjdk.org/loom/commit/87d1097d9be1ef804bfd4640a4254126242b1d8c 8297530: java.lang.IllegalArgumentException: Negative length on strings concatenation Reviewed-by: enikitin, alanb ! src/java.base/share/classes/java/lang/StringConcatHelper.java + test/jdk/java/lang/String/concat/ImplicitStringConcatOOME.java Changeset: 2f47f83a Author: Jaikiran Pai Date: 2022-11-25 01:23:53 +0000 URL: https://git.openjdk.org/loom/commit/2f47f83addd7f69db2c7070552a7ec67bd07d62e 8297569: URLPermission constructor throws IllegalArgumentException: Invalid characters in hostname after JDK-8294378 Reviewed-by: dfuchs ! src/java.base/share/classes/java/net/HostPortrange.java ! src/java.base/share/classes/java/net/URLPermission.java ! test/jdk/java/net/URLPermission/URLPermissionTest.java Changeset: 1fb9dadb Author: Kim Barrett Date: 2022-11-25 02:02:54 +0000 URL: https://git.openjdk.org/loom/commit/1fb9dadb6aadb5a12a3b14798d1cd58ad50ba0b8 8296419: [REDO] JDK-8295319: pending_cards_at_gc_start doesn't include cards in thread buffers Reviewed-by: tschatzl, sjohanss ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1DirtyCardQueue.cpp ! src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp ! src/hotspot/share/gc/g1/g1ParScanThreadState.cpp ! src/hotspot/share/gc/g1/g1ParScanThreadState.hpp ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp ! src/hotspot/share/gc/g1/g1YoungCollector.cpp ! src/hotspot/share/gc/g1/g1YoungCollector.hpp Changeset: 0ed8b337 Author: Dongxu Wang Committer: Yi Yang Date: 2022-11-25 05:55:19 +0000 URL: https://git.openjdk.org/loom/commit/0ed8b337eaa59881a62af5dcc0abb454761f2e71 8297385: Remove duplicated null typos in javadoc Reviewed-by: dfuchs, rriggs ! src/java.xml/share/classes/javax/xml/parsers/DocumentBuilder.java Changeset: 74d3bacc Author: Volodymyr Paprotski Committer: Kim Barrett Date: 2022-11-25 07:07:39 +0000 URL: https://git.openjdk.org/loom/commit/74d3baccb332c07f4ce58a53d7e9d36d3d4b8318 8297417: Poly1305IntrinsicFuzzTest fails with tag mismatch exception Reviewed-by: sviswanathan, vlivanov, rcastanedalo, thartmann ! src/hotspot/cpu/x86/stubGenerator_x86_64_poly.cpp ! test/jdk/com/sun/crypto/provider/Cipher/ChaCha20/unittest/Poly1305UnitTestDriver.java Changeset: cfe5a371 Author: Roland Westrelin Date: 2022-11-25 08:06:14 +0000 URL: https://git.openjdk.org/loom/commit/cfe5a3716e980734c3d195f7eec8c383337dca2d 8297556: Parse::check_interpreter_type fails with assert "must constrain OSR typestate" Reviewed-by: thartmann, vlivanov ! src/hotspot/share/opto/type.cpp + test/hotspot/jtreg/compiler/types/TestExactArrayOfBasicType.java Changeset: fd910f77 Author: Zhiqiang Zang Committer: Christian Hagedorn Date: 2022-11-25 08:17:44 +0000 URL: https://git.openjdk.org/loom/commit/fd910f77bcd205110688b2f17f26f76ce3de88d5 8297384: Add IR tests for existing idealizations of arithmetic nodes Reviewed-by: chagedorn ! test/hotspot/jtreg/compiler/c2/irTests/AddINodeIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/AddLNodeIdealizationTests.java + test/hotspot/jtreg/compiler/c2/irTests/AndINodeIdealizationTests.java + test/hotspot/jtreg/compiler/c2/irTests/LShiftINodeIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/MulINodeIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/MulLNodeIdealizationTests.java + test/hotspot/jtreg/compiler/c2/irTests/RotateLeftNodeIntIdealizationTests.java + test/hotspot/jtreg/compiler/c2/irTests/RotateLeftNodeLongIdealizationTests.java + test/hotspot/jtreg/compiler/c2/irTests/URShiftINodeIdealizationTests.java + test/hotspot/jtreg/compiler/c2/irTests/URShiftLNodeIdealizationTests.java ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java Changeset: 4f655702 Author: Aggelos Biboudis Committer: Jan Lahoda Date: 2022-11-25 12:31:47 +0000 URL: https://git.openjdk.org/loom/commit/4f65570204e2d38415e7761bd81660b081eae882 8294583: JShell: NPE in switch with non existing record pattern Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java + test/langtools/jdk/jshell/Test8294583.java Changeset: 08e6a820 Author: Severin Gehwolf Date: 2022-11-25 16:29:53 +0000 URL: https://git.openjdk.org/loom/commit/08e6a820bcb70e74a0faa28198493292e2993901 8297590: [TESTBUG] HotSpotResolvedJavaFieldTest does not run Reviewed-by: chagedorn, dnsimon ! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/HotSpotResolvedJavaFieldTest.java Changeset: 952e1005 Author: Doug Simon Date: 2022-11-25 17:39:21 +0000 URL: https://git.openjdk.org/loom/commit/952e10055135613e8ea2b818a4f35842936f5633 8297431: [JVMCI] HotSpotJVMCIRuntime.encodeThrowable should not throw an exception Reviewed-by: never ! src/hotspot/share/jvmci/jvmciEnv.cpp ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/TranslatedException.java Changeset: 85ddd8f2 Author: Ioi Lam Date: 2022-11-25 19:54:03 +0000 URL: https://git.openjdk.org/loom/commit/85ddd8f2af51fa5ea7f63027285509afb9a5c439 8295253: Remove kludge from v1_0/PerfDataBuffer.java Reviewed-by: sspitsyn, dholmes, cjplummer ! src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/v1_0/PerfDataBuffer.java Changeset: 099b42f3 Author: Per Minborg Committer: Alan Bateman Date: 2022-11-26 08:28:31 +0000 URL: https://git.openjdk.org/loom/commit/099b42f360a0e693a63f009e3e044307aab5c689 8297148: Add a @sealedGraph tag to CallSite Reviewed-by: darcy ! src/java.base/share/classes/java/lang/invoke/CallSite.java Changeset: 76a24c3f Author: Per Minborg Committer: Alan Bateman Date: 2022-11-26 08:29:34 +0000 URL: https://git.openjdk.org/loom/commit/76a24c3f90d8e0655bfcaa3dd5c2d1f74515ebc6 8297145: Add a @sealedGraph tag to ConstantDesc Reviewed-by: darcy ! src/java.base/share/classes/java/lang/constant/ConstantDesc.java Changeset: 6c05771b Author: Aggelos Biboudis Committer: Vicente Romero Date: 2022-11-26 15:53:00 +0000 URL: https://git.openjdk.org/loom/commit/6c05771b9be3dd5cbcdb40d2e53cc53959926cdd 8295447: NullPointerException with invalid pattern matching construct in constructor call Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java + test/langtools/tools/javac/T8295447.java + test/langtools/tools/javac/T8295447.out Changeset: 99d3840d Author: Vladimir Kempik Date: 2022-11-26 16:15:55 +0000 URL: https://git.openjdk.org/loom/commit/99d3840d368f1d99af72250678a2cb0c55ee0957 8297359: RISC-V: improve performance of floating Max Min intrinsics Reviewed-by: fyang ! src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/riscv.ad Changeset: 50f9043c Author: Ryan Ernst Committer: Chris Hegarty Date: 2022-11-26 20:04:59 +0000 URL: https://git.openjdk.org/loom/commit/50f9043c6965360c426b187e47c49c42481a2549 8297451: ProcessHandleImpl should assert privilege when modifying reaper thread Reviewed-by: chegar, alanb ! src/java.base/share/classes/java/lang/ProcessHandleImpl.java ! test/jdk/java/lang/ProcessBuilder/SecurityManagerClinit.java Changeset: 2f83b5c4 Author: Emanuel Peter Date: 2022-11-27 13:41:26 +0000 URL: https://git.openjdk.org/loom/commit/2f83b5c487f112c175d081ca5882f5032518937a 8297640: Increase buffer size for buf (insert_features_names) in Abstract_VM_Version::insert_features_names Reviewed-by: chagedorn, rehn ! src/hotspot/cpu/x86/vm_version_x86.cpp Changeset: d6102110 Author: Thomas Stuefe Date: 2022-11-28 07:31:18 +0000 URL: https://git.openjdk.org/loom/commit/d6102110e1b48c065292db83744245a33e269cc2 8297408: Consolidate code in runtime/ErrorHandling Reviewed-by: dholmes, mbaesken ! test/hotspot/jtreg/runtime/ErrorHandling/BadNativeStackInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/HsErrFileUtils.java ! test/hotspot/jtreg/runtime/ErrorHandling/MachCodeFramesInErrorFile.java ! test/hotspot/jtreg/runtime/ErrorHandling/NestedThreadsListHandleInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/ResourceMarkTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/SafeFetchInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/SecondaryErrorTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/ShowRegistersOnAssertTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/TestCrashOnOutOfMemoryError.java ! test/hotspot/jtreg/runtime/ErrorHandling/TestDwarf.java ! test/hotspot/jtreg/runtime/ErrorHandling/ThreadsListHandleInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/TimeoutInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/VeryEarlyAssertTest.java Changeset: 43d11736 Author: Richard Reingruber Date: 2022-11-28 08:09:09 +0000 URL: https://git.openjdk.org/loom/commit/43d1173605128126dda0dc39ffc376b84065cc65 8286302: Port JEP 425 to PPC64 Reviewed-by: tsteele, mdoerr + src/hotspot/cpu/aarch64/continuationEntry_aarch64.hpp ! src/hotspot/cpu/aarch64/continuationFreezeThaw_aarch64.inline.hpp ! src/hotspot/cpu/aarch64/continuationHelper_aarch64.inline.hpp ! src/hotspot/cpu/aarch64/frame_aarch64.hpp + src/hotspot/cpu/arm/continuationEntry_arm.hpp ! src/hotspot/cpu/arm/continuationFreezeThaw_arm.inline.hpp ! src/hotspot/cpu/arm/continuationHelper_arm.inline.hpp ! src/hotspot/cpu/arm/frame_arm.hpp ! src/hotspot/cpu/ppc/assembler_ppc.hpp ! src/hotspot/cpu/ppc/assembler_ppc.inline.hpp ! src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp ! src/hotspot/cpu/ppc/c1_MacroAssembler_ppc.cpp + src/hotspot/cpu/ppc/continuationEntry_ppc.hpp ! src/hotspot/cpu/ppc/continuationEntry_ppc.inline.hpp ! src/hotspot/cpu/ppc/continuationFreezeThaw_ppc.inline.hpp ! src/hotspot/cpu/ppc/continuationHelper_ppc.inline.hpp ! src/hotspot/cpu/ppc/frame_ppc.cpp ! src/hotspot/cpu/ppc/frame_ppc.hpp ! src/hotspot/cpu/ppc/frame_ppc.inline.hpp ! src/hotspot/cpu/ppc/globalDefinitions_ppc.hpp ! src/hotspot/cpu/ppc/globals_ppc.hpp ! src/hotspot/cpu/ppc/interp_masm_ppc.hpp ! src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.hpp ! src/hotspot/cpu/ppc/nativeInst_ppc.cpp ! src/hotspot/cpu/ppc/nativeInst_ppc.hpp ! src/hotspot/cpu/ppc/ppc.ad ! src/hotspot/cpu/ppc/register_ppc.hpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/ppc/smallRegisterMap_ppc.inline.hpp ! src/hotspot/cpu/ppc/stackChunkFrameStream_ppc.inline.hpp ! src/hotspot/cpu/ppc/stackChunkOop_ppc.inline.hpp ! src/hotspot/cpu/ppc/stubGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateTable_ppc_64.cpp + src/hotspot/cpu/riscv/continuationEntry_riscv.hpp ! src/hotspot/cpu/riscv/continuationFreezeThaw_riscv.inline.hpp ! src/hotspot/cpu/riscv/continuationHelper_riscv.inline.hpp ! src/hotspot/cpu/riscv/frame_riscv.hpp + src/hotspot/cpu/s390/continuationEntry_s390.hpp ! src/hotspot/cpu/s390/continuationFreezeThaw_s390.inline.hpp ! src/hotspot/cpu/s390/continuationHelper_s390.inline.hpp ! src/hotspot/cpu/s390/frame_s390.hpp + src/hotspot/cpu/x86/continuationEntry_x86.hpp ! src/hotspot/cpu/x86/continuationFreezeThaw_x86.inline.hpp ! src/hotspot/cpu/x86/continuationHelper_x86.inline.hpp ! src/hotspot/cpu/x86/frame_x86.hpp + src/hotspot/cpu/zero/continuationEntry_zero.hpp ! src/hotspot/cpu/zero/continuationFreezeThaw_zero.inline.hpp ! src/hotspot/cpu/zero/continuationHelper_zero.inline.hpp ! src/hotspot/cpu/zero/frame_zero.hpp ! src/hotspot/share/oops/instanceStackChunkKlass.hpp ! src/hotspot/share/oops/instanceStackChunkKlass.inline.hpp ! src/hotspot/share/oops/stackChunkOop.cpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/runtime/continuation.cpp ! src/hotspot/share/runtime/continuationEntry.hpp ! src/hotspot/share/runtime/continuationEntry.inline.hpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/continuationHelper.hpp ! src/hotspot/share/runtime/continuationWrapper.inline.hpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/stackChunkFrameStream.inline.hpp + test/jdk/jdk/internal/vm/Continuation/BasicExt.java Changeset: 012dafee Author: Martin Doerr Date: 2022-11-28 09:26:08 +0000 URL: https://git.openjdk.org/loom/commit/012dafee5bc035a2eb27ac5efab9658ade92bf90 8297082: Remove sun/tools/jhsdb/BasicLauncherTest.java from problem list Reviewed-by: rrich, cjplummer ! test/jdk/ProblemList.txt Changeset: 81eb5fbf Author: Johan Sj?len Date: 2022-11-28 09:30:53 +0000 URL: https://git.openjdk.org/loom/commit/81eb5fbff516e7470f7cc29a67047a048b525722 8297534: Specify the size of MEMFLAGS Reviewed-by: stuefe, tschatzl ! src/hotspot/share/memory/allocation.hpp ! src/hotspot/share/services/mallocHeader.hpp ! src/hotspot/share/services/mallocHeader.inline.hpp Changeset: b80f5af6 Author: Justin King Committer: Aleksey Shipilev Date: 2022-11-28 11:03:47 +0000 URL: https://git.openjdk.org/loom/commit/b80f5af6981440aec14f4dedbc5ee46364d0254c 8297309: Memory leak in ShenandoahFullGC Reviewed-by: rkennke, shade ! src/hotspot/share/gc/shenandoah/shenandoahFullGC.cpp ! src/hotspot/share/gc/shenandoah/shenandoahFullGC.hpp Changeset: 6a856bc3 Author: Albert Mingkun Yang Date: 2022-11-28 11:57:18 +0000 URL: https://git.openjdk.org/loom/commit/6a856bc3f67d539f858904667ee86cbed54f94f7 8297499: Parallel: Missing iteration over klass when marking objArrays/objArrayOops during Full GC Co-authored-by: Stefan Johansson Reviewed-by: sjohanss, tschatzl ! src/hotspot/share/gc/parallel/psCompactionManager.inline.hpp ! test/hotspot/jtreg/runtime/ClassUnload/UnloadTest.java Changeset: eff4c039 Author: Roland Westrelin Date: 2022-11-28 12:27:14 +0000 URL: https://git.openjdk.org/loom/commit/eff4c039dab99aa946dbdde1be8901929ebbfc6f 8297343: TestStress*.java fail with "got different traces for the same seed" Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/type.cpp ! test/hotspot/jtreg/ProblemList.txt Changeset: c05dc802 Author: Thomas Stuefe Date: 2022-11-28 12:45:36 +0000 URL: https://git.openjdk.org/loom/commit/c05dc80234a6beff3fa4d2de3228928c639da083 8297660: x86: Redundant test+jump in C1 allocateArray Reviewed-by: aph, yyang ! src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp Changeset: ba0a2521 Author: Alan Bateman Date: 2022-11-28 13:27:18 +0000 URL: https://git.openjdk.org/loom/commit/ba0a2521ba6d7db041580be7cda633311836b455 8297717: Remove jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java from ProblemList Reviewed-by: jpai ! test/jdk/ProblemList.txt Changeset: 405b1886 Author: Aleksey Shipilev Date: 2022-11-28 14:49:28 +0000 URL: https://git.openjdk.org/loom/commit/405b1886b3924a7b5d258b7e8190802d489c6ab5 8297570: jdk/jfr/threading/TestDeepVirtualStackTrace.java fails with -XX:-UseTLAB Reviewed-by: mgronlun ! test/jdk/jdk/jfr/threading/TestDeepVirtualStackTrace.java Changeset: a249a525 Author: Matias Saavedra Silva Committer: Ioi Lam Date: 2022-11-28 15:26:27 +0000 URL: https://git.openjdk.org/loom/commit/a249a52501f3cd7d4fbe5293d14ac8d0d6ffcc69 8296754: AutoCreateSharedArchive in JDK 20 is not compatible with JDK 19 Reviewed-by: ccheung, iklam, erikj ! make/RunTests.gmk ! src/hotspot/share/cds/cdsConstants.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/include/cds.h + test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java + test/hotspot/jtreg/runtime/cds/appcds/test-classes/HelloJDK8.java ! test/lib/jdk/test/lib/cds/CDSArchiveUtils.java Changeset: a80552e1 Author: Christian Stein Date: 2022-11-28 17:33:59 +0000 URL: https://git.openjdk.org/loom/commit/a80552e1e15fba42e0e647248a3d50fa44c5bf53 8236919: Refactor com.sun.tools.javac.main.CommandLine into a reusable module for other JDK tools Reviewed-by: jjg = src/jdk.internal.opt/share/classes/jdk/internal/opt/CommandLine.java ! src/jdk.internal.opt/share/classes/module-info.java ! src/jdk.jartool/share/classes/module-info.java - src/jdk.jartool/share/classes/sun/tools/jar/CommandLine.java ! src/jdk.jartool/share/classes/sun/tools/jar/Main.java - src/jdk.jlink/share/classes/jdk/tools/jlink/internal/CommandLine.java ! src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java - src/jdk.jpackage/share/classes/jdk/jpackage/main/CommandLine.java ! src/jdk.jpackage/share/classes/jdk/jpackage/main/Main.java ! src/jdk.jpackage/share/classes/module-info.java Changeset: 105d9d75 Author: Smita Kamath Committer: Sandhya Viswanathan Date: 2022-11-28 19:24:25 +0000 URL: https://git.openjdk.org/loom/commit/105d9d75e84a46400f52fafda2ea00c99c14eaf0 8295351: java/lang/Float/Binary16Conversion.java fails with "Unexpected result of converting" Reviewed-by: sviswanathan, thartmann ! src/hotspot/share/runtime/sharedRuntime.cpp ! test/jdk/ProblemList-Xcomp.txt Changeset: cdf9ed07 Author: Weibing Xiao Committer: Roger Riggs Date: 2022-11-28 21:34:36 +0000 URL: https://git.openjdk.org/loom/commit/cdf9ed07de102ae388278163e3bf702d861fc30a 8297528: java/io/File/TempDirDoesNotExist.java test failing on windows-x64 Reviewed-by: rriggs, iris, bpb, naoto ! test/jdk/ProblemList.txt ! test/jdk/java/io/File/TempDirDoesNotExist.java Changeset: d450314b Author: Weijun Wang Date: 2022-11-28 22:02:54 +0000 URL: https://git.openjdk.org/loom/commit/d450314bd35ae431de6131cd01db4fa992ce10a4 8297276: Remove thread text from Subject.current Reviewed-by: xuelei, rriggs, mullan ! src/java.base/share/classes/javax/security/auth/Subject.java Changeset: 05128c21 Author: David Holmes Date: 2022-11-28 22:04:07 +0000 URL: https://git.openjdk.org/loom/commit/05128c2110e1d64111a30d641898ed94925243d6 8286185: The Java manpage can be more platform inclusive Reviewed-by: sspitsyn, kvn, iklam ! src/java.base/share/man/java.1 Changeset: 692bedbc Author: David Holmes Date: 2022-11-29 02:03:49 +0000 URL: https://git.openjdk.org/loom/commit/692bedbc1df153f362b8e85693f20b089b5594e2 8297106: Remove the -Xcheck:jni local reference capacity checking Reviewed-by: dcubed, kevinw ! src/hotspot/share/prims/jniCheck.cpp ! src/hotspot/share/runtime/jniHandles.cpp ! src/hotspot/share/runtime/jniHandles.hpp ! src/java.base/share/man/java.1 - test/hotspot/jtreg/runtime/jni/checked/TestCheckedEnsureLocalCapacity.java - test/hotspot/jtreg/runtime/jni/checked/libTestCheckedEnsureLocalCapacity.c ! test/jdk/ProblemList.txt - test/jdk/com/sun/management/DiagnosticCommandMBean/DcmdMBeanTestCheckJni.java Changeset: 4e8e853b Author: Prasanta Sadhukhan Date: 2022-11-29 05:08:38 +0000 URL: https://git.openjdk.org/loom/commit/4e8e853bc9b9ac3a89a9e25b9fec5381b8255806 6788481: CellEditorListener.editingCanceled is never called Reviewed-by: prr, azvegint, serb ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTableUI.java + test/jdk/javax/swing/JTable/BugCellEditorListener.java Changeset: 6f06f440 Author: Justin King Committer: Man Cao Date: 2022-11-29 06:53:56 +0000 URL: https://git.openjdk.org/loom/commit/6f06f440bcf8a5db379b80e8765af38a15449356 8297242: Use-after-free during library unloading on Linux Reviewed-by: dholmes, jsjolen ! src/hotspot/os/posix/os_posix.cpp Changeset: 33dfc7d2 Author: Ivan Walulya Date: 2022-11-29 09:56:16 +0000 URL: https://git.openjdk.org/loom/commit/33dfc7d2eface68a6a1edbb507abefa74cc6180f 8296954: G1: Enable parallel scanning for heap region remset Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1CardSet.cpp ! src/hotspot/share/gc/g1/g1CardSet.hpp ! src/hotspot/share/gc/g1/g1RemSet.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 ! src/hotspot/share/utilities/concurrentHashTableTasks.inline.hpp Changeset: b27a61e6 Author: Hannes Walln?fer Date: 2022-11-29 10:20:58 +0000 URL: https://git.openjdk.org/loom/commit/b27a61e6240e19ae7802fc66894df90502508b9a 8297216: Search results omit some methods Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/search.js.template ! test/langtools/jdk/javadoc/doclet/testSearchScript/TestSearchScript.java Changeset: bd51b7ea Author: Aleksey Shipilev Date: 2022-11-29 11:09:06 +0000 URL: https://git.openjdk.org/loom/commit/bd51b7ea43b210ea07399b09d61c366594ac2cfd 8296645: org.openjdk.bench.javax.tools.Javac leaves class files in current directory Reviewed-by: redestad, jpai ! test/micro/org/openjdk/bench/javax/tools/Javac.java Changeset: 48017b1d Author: Michael McMahon Date: 2022-11-29 11:11:10 +0000 URL: https://git.openjdk.org/loom/commit/48017b1d9c3a7867984f54d61f17c7f034d213f5 8296804: Document HttpClient configuration properties in java.net.http module-info Reviewed-by: dfuchs, jpai ! src/java.net.http/share/classes/module-info.java Changeset: 1301fb0b Author: Axel Boldt-Christmas Date: 2022-11-29 11:38:59 +0000 URL: https://git.openjdk.org/loom/commit/1301fb0b5f998c9cf8bcd8a53e6a90d6ab5a7da9 8296470: Refactor VMError::report STEP macro to improve readability Reviewed-by: stuefe, coleenp ! src/hotspot/share/utilities/vmError.cpp Changeset: 42b60ed2 Author: Conor Cleary Date: 2022-11-29 11:42:51 +0000 URL: https://git.openjdk.org/loom/commit/42b60ed22c02663eb1377d1ce78a559fdbb4348d 8297030: Reduce Default Keep-Alive Timeout Value for httpclient Reviewed-by: dfuchs, michaelm, jpai ! src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java Changeset: 361b50e7 Author: Hannes Walln?fer Date: 2022-11-29 11:50:39 +0000 URL: https://git.openjdk.org/loom/commit/361b50e724f8c1177f89eaa93e38b69d244dadee 8292594: Use CSS custom properties for all fonts and colors Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css ! test/langtools/jdk/javadoc/doclet/testStylesheet/TestStylesheet.java Changeset: 5d2772a4 Author: Daniel Fuchs Date: 2022-11-29 12:36:20 +0000 URL: https://git.openjdk.org/loom/commit/5d2772a43ef6409bf556cefb4eb4242594451674 8297424: java/net/httpclient/AsyncExecutorShutdown.java fails in AssertionError due to misplaced assert Reviewed-by: jpai ! src/java.net.http/share/classes/jdk/internal/net/http/ResponseSubscribers.java ! src/java.net.http/share/classes/jdk/internal/net/http/Stream.java Changeset: d83a07b7 Author: Daniel Fuchs Date: 2022-11-29 12:42:37 +0000 URL: https://git.openjdk.org/loom/commit/d83a07b72cfd4dc42c5d4815262fcba05c653bd5 8297200: java/net/httpclient/SpecialHeadersTest.java failed once in AssertionError due to selector thread remaining alive Reviewed-by: jpai ! src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/OperationTrackers.java ! test/jdk/java/net/httpclient/ReferenceTracker.java ! test/jdk/java/net/httpclient/SpecialHeadersTest.java Changeset: 2deb318c Author: Weijun Wang Date: 2022-11-29 12:57:46 +0000 URL: https://git.openjdk.org/loom/commit/2deb318c9f047ec5a4b160d66a4b52f93688ec42 8297065: DerOutputStream operations should not throw IOExceptions Reviewed-by: mullan, valeriep ! src/java.base/share/classes/com/sun/crypto/provider/DHPrivateKey.java ! src/java.base/share/classes/com/sun/crypto/provider/DHPublicKey.java ! src/java.base/share/classes/com/sun/crypto/provider/EncryptedPrivateKeyInfo.java ! src/java.base/share/classes/sun/security/pkcs/ContentInfo.java ! src/java.base/share/classes/sun/security/pkcs/EncryptedPrivateKeyInfo.java ! src/java.base/share/classes/sun/security/pkcs/PKCS7.java ! src/java.base/share/classes/sun/security/pkcs/PKCS8Key.java ! src/java.base/share/classes/sun/security/pkcs/PKCS9Attribute.java ! src/java.base/share/classes/sun/security/pkcs/PKCS9Attributes.java ! src/java.base/share/classes/sun/security/pkcs/SignerInfo.java ! src/java.base/share/classes/sun/security/pkcs10/PKCS10.java ! src/java.base/share/classes/sun/security/pkcs10/PKCS10Attribute.java ! src/java.base/share/classes/sun/security/pkcs10/PKCS10Attributes.java ! src/java.base/share/classes/sun/security/pkcs12/MacData.java ! src/java.base/share/classes/sun/security/pkcs12/PKCS12KeyStore.java ! src/java.base/share/classes/sun/security/provider/DSA.java ! src/java.base/share/classes/sun/security/provider/DSAPrivateKey.java ! src/java.base/share/classes/sun/security/provider/DSAPublicKey.java ! src/java.base/share/classes/sun/security/provider/KeyProtector.java ! src/java.base/share/classes/sun/security/provider/certpath/CertId.java ! src/java.base/share/classes/sun/security/rsa/RSAPrivateCrtKeyImpl.java ! src/java.base/share/classes/sun/security/rsa/RSAPrivateKeyImpl.java ! src/java.base/share/classes/sun/security/rsa/RSAPublicKeyImpl.java ! src/java.base/share/classes/sun/security/rsa/RSASignature.java ! src/java.base/share/classes/sun/security/rsa/RSAUtil.java ! src/java.base/share/classes/sun/security/util/DerEncoder.java ! src/java.base/share/classes/sun/security/util/DerOutputStream.java ! src/java.base/share/classes/sun/security/util/DerValue.java ! src/java.base/share/classes/sun/security/util/NamedCurve.java ! src/java.base/share/classes/sun/security/util/ObjectIdentifier.java ! src/java.base/share/classes/sun/security/x509/AVA.java ! src/java.base/share/classes/sun/security/x509/AccessDescription.java ! src/java.base/share/classes/sun/security/x509/AlgorithmId.java ! src/java.base/share/classes/sun/security/x509/AuthorityInfoAccessExtension.java ! src/java.base/share/classes/sun/security/x509/AuthorityKeyIdentifierExtension.java ! src/java.base/share/classes/sun/security/x509/BasicConstraintsExtension.java ! src/java.base/share/classes/sun/security/x509/CRLDistributionPointsExtension.java ! src/java.base/share/classes/sun/security/x509/CRLExtensions.java ! src/java.base/share/classes/sun/security/x509/CRLNumberExtension.java ! src/java.base/share/classes/sun/security/x509/CRLReasonCodeExtension.java ! src/java.base/share/classes/sun/security/x509/CertificateAlgorithmId.java ! src/java.base/share/classes/sun/security/x509/CertificateExtensions.java ! src/java.base/share/classes/sun/security/x509/CertificateIssuerExtension.java ! src/java.base/share/classes/sun/security/x509/CertificatePoliciesExtension.java ! src/java.base/share/classes/sun/security/x509/CertificatePolicyId.java ! src/java.base/share/classes/sun/security/x509/CertificatePolicyMap.java ! src/java.base/share/classes/sun/security/x509/CertificatePolicySet.java ! src/java.base/share/classes/sun/security/x509/CertificateSerialNumber.java ! src/java.base/share/classes/sun/security/x509/CertificateSubjectName.java ! src/java.base/share/classes/sun/security/x509/CertificateValidity.java ! src/java.base/share/classes/sun/security/x509/CertificateVersion.java ! src/java.base/share/classes/sun/security/x509/CertificateX509Key.java ! src/java.base/share/classes/sun/security/x509/DNSName.java ! src/java.base/share/classes/sun/security/x509/DeltaCRLIndicatorExtension.java ! src/java.base/share/classes/sun/security/x509/DistributionPoint.java ! src/java.base/share/classes/sun/security/x509/DistributionPointName.java ! src/java.base/share/classes/sun/security/x509/EDIPartyName.java ! src/java.base/share/classes/sun/security/x509/ExtendedKeyUsageExtension.java ! src/java.base/share/classes/sun/security/x509/Extension.java ! src/java.base/share/classes/sun/security/x509/FreshestCRLExtension.java ! src/java.base/share/classes/sun/security/x509/GeneralName.java ! src/java.base/share/classes/sun/security/x509/GeneralNameInterface.java ! src/java.base/share/classes/sun/security/x509/GeneralNames.java ! src/java.base/share/classes/sun/security/x509/GeneralSubtree.java ! src/java.base/share/classes/sun/security/x509/GeneralSubtrees.java ! src/java.base/share/classes/sun/security/x509/IPAddressName.java ! src/java.base/share/classes/sun/security/x509/InhibitAnyPolicyExtension.java ! src/java.base/share/classes/sun/security/x509/InvalidityDateExtension.java ! src/java.base/share/classes/sun/security/x509/IssuerAlternativeNameExtension.java ! src/java.base/share/classes/sun/security/x509/IssuingDistributionPointExtension.java ! src/java.base/share/classes/sun/security/x509/KeyIdentifier.java ! src/java.base/share/classes/sun/security/x509/KeyUsageExtension.java ! src/java.base/share/classes/sun/security/x509/NameConstraintsExtension.java ! src/java.base/share/classes/sun/security/x509/NetscapeCertTypeExtension.java ! src/java.base/share/classes/sun/security/x509/OIDName.java ! src/java.base/share/classes/sun/security/x509/OtherName.java ! src/java.base/share/classes/sun/security/x509/PolicyConstraintsExtension.java ! src/java.base/share/classes/sun/security/x509/PolicyInformation.java ! src/java.base/share/classes/sun/security/x509/PolicyMappingsExtension.java ! src/java.base/share/classes/sun/security/x509/PrivateKeyUsageExtension.java ! src/java.base/share/classes/sun/security/x509/RDN.java ! src/java.base/share/classes/sun/security/x509/RFC822Name.java ! src/java.base/share/classes/sun/security/x509/ReasonFlags.java ! src/java.base/share/classes/sun/security/x509/SerialNumber.java ! src/java.base/share/classes/sun/security/x509/SubjectAlternativeNameExtension.java ! src/java.base/share/classes/sun/security/x509/SubjectInfoAccessExtension.java ! src/java.base/share/classes/sun/security/x509/SubjectKeyIdentifierExtension.java ! src/java.base/share/classes/sun/security/x509/URIName.java ! src/java.base/share/classes/sun/security/x509/UniqueIdentity.java ! src/java.base/share/classes/sun/security/x509/X400Address.java ! src/java.base/share/classes/sun/security/x509/X500Name.java ! src/java.base/share/classes/sun/security/x509/X509CRLEntryImpl.java ! src/java.base/share/classes/sun/security/x509/X509CRLImpl.java ! src/java.base/share/classes/sun/security/x509/X509CertImpl.java ! src/java.base/share/classes/sun/security/x509/X509CertInfo.java ! src/java.base/share/classes/sun/security/x509/X509Key.java ! src/java.security.jgss/share/classes/org/ietf/jgss/Oid.java ! src/java.security.jgss/share/classes/sun/security/jgss/GSSHeader.java ! src/java.security.jgss/share/classes/sun/security/jgss/GSSNameImpl.java ! src/java.security.jgss/share/classes/sun/security/jgss/spnego/NegTokenInit.java ! src/java.security.jgss/share/classes/sun/security/jgss/spnego/NegTokenTarg.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11ECKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Signature.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ECPrivateKeyImpl.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/XDHPrivateKeyImpl.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/EdDSAPrivateKeyImpl.java ! test/langtools/tools/jdeps/jdkinternals/src/q/NoRepl.java ! test/lib/jdk/test/lib/security/timestamp/TsaSigner.java Changeset: 33587ffd Author: Bo Zhang Committer: Jan Lahoda Date: 2022-11-29 13:57:56 +0000 URL: https://git.openjdk.org/loom/commit/33587ffd35c568c1ef034f064e6f3f06fe9943c3 8292625: jshell crash on "var a = a" Reviewed-by: jlaskey, jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! test/langtools/jdk/jshell/ToolSimpleTest.java ! test/langtools/tools/javac/attr/AttrRecoveryTest.java Changeset: cd6bebbf Author: Jamil Nimeh Date: 2022-11-29 14:40:20 +0000 URL: https://git.openjdk.org/loom/commit/cd6bebbf34215723fad1d6bfe070a409351920c1 8247645: ChaCha20 intrinsics Reviewed-by: sviswanathan, ngasson, vlivanov, ascarpino ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp + src/hotspot/cpu/aarch64/macroAssembler_aarch64_chacha.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.hpp + src/hotspot/cpu/x86/stubGenerator_x86_64_chacha.cpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/share/classfile/vmIntrinsics.cpp ! src/hotspot/share/classfile/vmIntrinsics.hpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/opto/escape.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/library_call.hpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/opto/runtime.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/stubRoutines.cpp ! src/hotspot/share/runtime/stubRoutines.hpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/java.base/share/classes/com/sun/crypto/provider/ChaCha20Cipher.java + test/hotspot/jtreg/compiler/intrinsics/chacha/ExerciseChaCha20.java + test/hotspot/jtreg/compiler/intrinsics/chacha/TestChaCha20.java ! test/micro/org/openjdk/bench/javax/crypto/full/CipherBench.java Changeset: 69ede5ba Author: Hannes Walln?fer Date: 2022-11-29 14:46:35 +0000 URL: https://git.openjdk.org/loom/commit/69ede5baeda6645aa3e961a02cbd40db965fc6a1 8293177: Verify version numbers in legal files Reviewed-by: jjg + test/langtools/jdk/javadoc/doclet/checkLibraryVersions/CheckLibraryVersions.java Changeset: 54e6d6aa Author: Bhavana Kilambi Committer: Nick Gasson Date: 2022-11-29 17:17:15 +0000 URL: https://git.openjdk.org/loom/commit/54e6d6aaeb5dec2dc1b9fb3ac9b34c8621df506d 8293488: Add EOR3 backend rule for aarch64 SHA3 extension Reviewed-by: haosun, njian, eliu, aturbanov, ngasson ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! test/hotspot/gtest/aarch64/aarch64-asmtest.py ! test/hotspot/gtest/aarch64/asmtest.out.h + test/hotspot/jtreg/compiler/vectorization/TestEor3AArch64.java + test/micro/org/openjdk/bench/vm/compiler/TestEor3.java Changeset: b778cd52 Author: Xue-Lei Andrew Fan Date: 2022-11-29 17:39:40 +0000 URL: https://git.openjdk.org/loom/commit/b778cd52b3fae013ecb21d90bcf940a4d947bd68 8295010: Reduce if required in EC limbs operations Reviewed-by: djelinski, jjiang ! src/java.base/share/classes/sun/security/util/math/MutableIntegerModuloP.java ! src/java.base/share/classes/sun/security/util/math/intpoly/IntegerPolynomial.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ECOperations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/Ed25519Operations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/Ed448Operations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/EdDSAOperations.java ! test/jdk/sun/security/util/math/BigIntegerModuloP.java ! test/jdk/sun/security/util/math/TestIntegerModuloP.java Changeset: 3ce00421 Author: Alexander Zvegintsev Date: 2022-11-29 17:56:02 +0000 URL: https://git.openjdk.org/loom/commit/3ce00421582bb75b722cb1a3dd13778fef95a710 8297780: Problem list java/awt/Frame/RestoreToOppositeScreen/RestoreToOppositeScreen.java Reviewed-by: aivanov ! test/jdk/ProblemList.txt Changeset: ae5b1f76 Author: Justin Lu Committer: Naoto Sato Date: 2022-11-29 18:32:44 +0000 URL: https://git.openjdk.org/loom/commit/ae5b1f765678a9928696acb7228b197e293171be 8297685: Typo in NullPointerException description specified by Locale.lookup Reviewed-by: naoto, lancea, jpai ! src/java.base/share/classes/java/util/Locale.java Changeset: 7af6b4b5 Author: Aggelos Biboudis Committer: Vicente Romero Date: 2022-11-29 19:33:18 +0000 URL: https://git.openjdk.org/loom/commit/7af6b4b54cc2ead4f5dbd6bfa7fd343b84c1d8b5 8296012: jshell crashes on mismatched record pattern Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java + test/langtools/jdk/jshell/Test8296012.java Changeset: 20844511 Author: Abhishek Kumar Committer: Phil Race Date: 2022-11-29 21:49:50 +0000 URL: https://git.openjdk.org/loom/commit/20844511939779649e1a51970edf29eb21f137e1 8078471: Backspace does not work in JFileChooser with GTK L&F Reviewed-by: psadhukhan, prr ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKFileChooserUI.java ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java + test/jdk/com/sun/java/swing/plaf/gtk/TestBackSpaceAction.java Changeset: f4063a3c Author: Per Minborg Committer: Phil Race Date: 2022-11-29 21:51:15 +0000 URL: https://git.openjdk.org/loom/commit/f4063a3cfd11442c1db79c0d474fe91241f9d453 8297210: Add a @sealedGraph tag to selected java.desktop classes Reviewed-by: prr ! src/java.desktop/share/classes/java/awt/MultipleGradientPaint.java ! src/java.desktop/share/classes/java/awt/TextComponent.java ! src/java.desktop/share/classes/java/awt/desktop/AppEvent.java ! src/java.desktop/share/classes/java/awt/desktop/FilesEvent.java ! src/java.desktop/share/classes/java/awt/event/InputEvent.java ! src/java.desktop/share/classes/java/awt/geom/Path2D.java ! src/java.desktop/share/classes/javax/swing/text/StyleConstants.java Changeset: e2d71c0a Author: Srinivas Mandalika Committer: Phil Race Date: 2022-11-29 21:54:33 +0000 URL: https://git.openjdk.org/loom/commit/e2d71c0a0d654841e3e591beeaa04b44c6e6b37f 8297481: Create a regression test for JDK-4424517 Reviewed-by: serb + test/jdk/java/awt/event/KeyEvent/KeyEventLocationTest.java Changeset: 0ce18272 Author: Jaikiran Pai Date: 2022-11-30 00:37:31 +0000 URL: https://git.openjdk.org/loom/commit/0ce182723b8d3a98c71c1b71fa1d3f5a7479fba8 8294321: Fix typos in files under test/jdk/java, test/jdk/jdk, test/jdk/jni Co-authored-by: Michael Ernst Reviewed-by: alanb, lancea, dfuchs ! test/jdk/java/lang/Math/HyperbolicTests.java ! test/jdk/java/lang/annotation/Missing/B.java ! test/jdk/java/math/BigDecimal/DivideTests.java ! test/jdk/java/net/Socket/Timeouts.java ! test/jdk/java/net/URLConnection/DisconnectAfterEOF.java ! test/jdk/java/nio/channels/TestServers.java ! test/jdk/java/rmi/server/RMIClassLoader/loadProxyClasses/LoadProxyClasses.java ! test/jdk/java/security/testlibrary/SimpleOCSPServer.java ! test/jdk/java/sql/testng/test/sql/DriverManagerTests.java ! test/jdk/java/util/Properties/ConcurrentLoadAndStoreXML.java ! test/jdk/java/util/logging/LogManager/Configuration/updateConfiguration/SimpleUpdateConfigurationTest.java ! test/jdk/java/util/regex/RegExTest.java ! test/jdk/java/util/spi/ToolProviderTest.java ! test/jdk/jdk/internal/jimage/JImageReadTest.java ! test/jdk/jdk/internal/loader/ClassLoaderValue/ClassLoaderValueTest.java ! test/jdk/jdk/nio/zipfs/Basic.java ! test/jdk/jni/nullCaller/CallHelper.hpp ! test/jdk/tools/jlink/CheckExecutable.java ! test/lib/jdk/test/lib/format/ArrayDiff.java Changeset: e10778ac Author: Jaikiran Pai Date: 2022-11-30 00:42:40 +0000 URL: https://git.openjdk.org/loom/commit/e10778accef05bb17eea20d589086b50e366dc4d 8297695: Fix typos in test/langtools files Co-authored-by: Michael Ernst Reviewed-by: prappo, jjg, iris ! test/langtools/jdk/javadoc/lib/javadoc/tester/JavadocTester.java ! test/langtools/tools/javac/VersionOpt.java ! test/langtools/tools/javac/annotations/typeAnnotations/classfile/CombinationsTargetTest2.java ! test/langtools/tools/javac/diags/ArgTypeCompilerFactory.java ! test/langtools/tools/javac/lambda/VoidCompatibility.java ! test/langtools/tools/javac/processing/filer/TestFilerConstraints.java ! test/langtools/tools/javac/scope/DupUnsharedTest.java ! test/langtools/tools/javac/tree/T8024415.java ! test/langtools/tools/javac/warnings/6594914/T6594914a.java ! test/langtools/tools/lib/builder/ClassBuilder.java Changeset: defe0607 Author: Sergey Bylokhov Date: 2022-11-30 01:00:44 +0000 URL: https://git.openjdk.org/loom/commit/defe0607e3ccd703c8c71b6fc9591d436817d306 8296905: Replace the native LCMS#getProfileID() method with the accessor Reviewed-by: prr ! src/java.desktop/share/classes/java/awt/color/ICC_Profile.java ! src/java.desktop/share/classes/sun/awt/AWTAccessor.java ! src/java.desktop/share/classes/sun/java2d/cmm/lcms/LCMS.java ! src/java.desktop/share/classes/sun/java2d/cmm/lcms/LCMSTransform.java ! src/java.desktop/share/native/liblcms/LCMS.c Changeset: 9ced2ea0 Author: Jaikiran Pai Date: 2022-11-30 01:11:24 +0000 URL: https://git.openjdk.org/loom/commit/9ced2ea0abdc0646a23873ab8ca443b6ca3e2e0a 8297311: Improve exception message thrown by java.net.HostPortrange::toLowerCase(String s) Reviewed-by: dfuchs, michaelm, rriggs ! src/java.base/share/classes/java/net/HostPortrange.java + test/jdk/java/net/URLPermission/InvalidCharacterTest.java Changeset: 87f00f4a Author: Sergey Bylokhov Date: 2022-11-30 03:22:52 +0000 URL: https://git.openjdk.org/loom/commit/87f00f4a1bfb392be0684edcdfa0254caec4ca03 8296878: Document Filter attached to JPasswordField and setText("") is not cleared instead inserted characters replaced with unicode null characters Reviewed-by: prr, aivanov ! src/java.desktop/share/classes/javax/swing/JPasswordField.java + test/jdk/javax/swing/JPasswordField/OldPasswordInDocumentFilter.java Changeset: 37f613ba Author: Sergey Bylokhov Date: 2022-11-30 04:16:13 +0000 URL: https://git.openjdk.org/loom/commit/37f613bad3b01b40d518de34630e1e6d63737a4c 8297676: DataBuffer.TYPE_SHORT/TYPE_FLOAT/TYPE_DOUBLE are not placeholders Reviewed-by: azvegint, prr ! src/java.desktop/share/classes/java/awt/image/DataBuffer.java Changeset: c7a679fb Author: Ioi Lam Date: 2022-11-30 05:34:03 +0000 URL: https://git.openjdk.org/loom/commit/c7a679fbdd7c775cdb931a560b498a17b9828f63 8297290: Use int indices to reference CDS archived primitive mirrors Reviewed-by: ccheung ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/heapShared.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/memory/universe.cpp ! src/hotspot/share/memory/universe.hpp Changeset: 5dcaf6cc Author: Johnny Lim Committer: Jaikiran Pai Date: 2022-11-30 06:15:07 +0000 URL: https://git.openjdk.org/loom/commit/5dcaf6cc6c3e9d73229ca6c2cc3b90ee37f5723b 8297749: Remove duplicate space in the ProtocolException message being thrown from HttpURLConnection Reviewed-by: dfuchs, jpai ! src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java ! test/jdk/sun/net/www/protocol/http/NTLMTest.java Changeset: abe532a8 Author: Tobias Hartmann Date: 2022-11-30 06:39:27 +0000 URL: https://git.openjdk.org/loom/commit/abe532a89cbdd2b959789611cecbad7c94f6a870 8296924: C2: assert(is_valid_AArch64_address(dest.target())) failed: bad address Co-authored-by: Andrew Haley Reviewed-by: aph, kvn ! src/hotspot/cpu/aarch64/aarch64.ad + test/hotspot/jtreg/compiler/unsafe/TestBadBaseAddress.java Changeset: 8ffed34e Author: Sergey Bylokhov Date: 2022-11-30 07:29:32 +0000 URL: https://git.openjdk.org/loom/commit/8ffed34e1da0ad2b9b6503f13831843dadfed319 8297681: Unnecessary color conversion during 4BYTE_ABGR_PRE to INT_ARGB_PRE blit Reviewed-by: prr ! src/java.desktop/share/native/libawt/java2d/loops/FourByteAbgrPre.c + test/jdk/sun/java2d/loops/SkipConversionIfPossible.java Changeset: 22f5d014 Author: Julian Waters Date: 2022-11-30 07:37:22 +0000 URL: https://git.openjdk.org/loom/commit/22f5d014287a5cae2c0503ab3f9730f64725605a 8252584: HotSpot Style Guide should permit alignas Co-authored-by: Kim Barrett Reviewed-by: kbarrett ! doc/hotspot-style.html ! doc/hotspot-style.md Changeset: f05bfb15 Author: Per Minborg Committer: Julian Waters Date: 2022-11-30 07:43:17 +0000 URL: https://git.openjdk.org/loom/commit/f05bfb157837f5854efe1ce96070c615de21d1a9 8297515: serialVersionUID fields are not annotated with @Serial Reviewed-by: rriggs, lancea ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Config.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecureRandom.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11RuntimeException.java Changeset: b3501fd1 Author: Aleksey Shipilev Date: 2022-11-30 09:09:42 +0000 URL: https://git.openjdk.org/loom/commit/b3501fd11c59813515b46f80283e22b094c6e251 8297600: Check current thread in selected JRT_LEAF methods Reviewed-by: dholmes, coleenp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/gc/g1/g1BarrierSetRuntime.cpp ! src/hotspot/share/gc/shenandoah/shenandoahRuntime.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp Changeset: 9e80cf9c Author: Jan Lahoda Date: 2022-11-30 09:47:48 +0000 URL: https://git.openjdk.org/loom/commit/9e80cf9c37f4dbc6e176a59dce92817c109dd561 8296390: Incremental build failed with a NPE Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Modules.java ! test/langtools/tools/javac/modules/ModulesAndModuleSourcePathTest.java Changeset: b52611bc Author: Jan Lahoda Date: 2022-11-30 09:49:51 +0000 URL: https://git.openjdk.org/loom/commit/b52611bc36d4fa7b62d1bb1618aa5185f75bf5d0 8295401: Error recovery in module-info.java could be improved Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java ! test/langtools/tools/javac/parser/JavacParserTest.java Changeset: 3f8882b2 Author: Jaikiran Pai Date: 2022-11-30 11:28:11 +0000 URL: https://git.openjdk.org/loom/commit/3f8882b2ebeeb25fbfddc1be3a069181856c2e27 8297693: Fix typos in src/hotspot and test/hotspot files Co-authored-by: Michael Ernst Reviewed-by: kevinw, dholmes, sspitsyn ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/ppc/frame_ppc.inline.hpp ! src/hotspot/cpu/s390/frame_s390.inline.hpp ! src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp ! src/hotspot/share/opto/memnode.cpp ! src/hotspot/share/opto/stringopts.cpp ! src/hotspot/share/runtime/os.cpp ! test/hotspot/jtreg/vmTestbase/nsk/jdi/AttachingConnector/attach/attach003/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdwp/ClassType/SetValues/setvalues001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdwp/ObjectReference/SetValues/setvalues001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/share/locks/DeadlockMaker.java ! test/hotspot/jtreg/vmTestbase/vm/share/options/package-info.java Changeset: 27b339d1 Author: Matthias Baesken Date: 2022-11-30 12:49:23 +0000 URL: https://git.openjdk.org/loom/commit/27b339d1893e60fc894ace9ae3c0e052ae858627 8297523: Various GetPrimitiveArrayCritical miss result - NULL check Reviewed-by: stuefe, jdv ! src/java.desktop/macosx/native/libawt_lwawt/awt/CClipboard.m ! src/java.desktop/macosx/native/libawt_lwawt/font/CCharToGlyphMapper.m ! src/java.desktop/macosx/native/libosxui/JRSUIController.m ! src/java.desktop/unix/native/libawt_xawt/awt/swing_GTKEngine.c ! src/java.desktop/windows/native/libawt/windows/ThemeReader.cpp ! src/java.desktop/windows/native/libawt/windows/awt_DataTransferer.cpp ! src/java.desktop/windows/native/libawt/windows/awt_Toolkit.cpp Changeset: 4d730f56 Author: Magnus Ihse Bursie Date: 2022-11-30 12:56:25 +0000 URL: https://git.openjdk.org/loom/commit/4d730f561fc493a956386b053de492933933ff54 8297644: RISC-V: Compilation error when shenandoah is disabled Reviewed-by: fyang, yadongwang ! src/hotspot/cpu/riscv/riscv.ad Changeset: a97e7d98 Author: Albert Mingkun Yang Date: 2022-11-30 13:01:34 +0000 URL: https://git.openjdk.org/loom/commit/a97e7d9887e448c88f59cf70bfb8ab72435ece9c 8297740: runtime/ClassUnload/UnloadTest.java failed with "Test failed: should still be live" Reviewed-by: dcubed ! test/hotspot/jtreg/runtime/ClassUnload/UnloadTest.java Changeset: 301cf52f Author: Coleen Phillimore Date: 2022-11-30 13:14:52 +0000 URL: https://git.openjdk.org/loom/commit/301cf52fa2a913eb6bda1e31cbcb8e438a64c56e 8297284: ResolutionErrorTable's key is wrong Reviewed-by: matsaave, iklam ! src/hotspot/share/classfile/resolutionErrors.cpp ! src/hotspot/share/classfile/resolutionErrors.hpp Changeset: be99e84c Author: Erik ?sterlund Date: 2022-11-30 14:08:57 +0000 URL: https://git.openjdk.org/loom/commit/be99e84c98786ff9c2c9ca1a979dc17ba810ae09 8296875: Generational ZGC: Refactor loom code Co-authored-by: Stefan Karlsson Co-authored-by: Axel Boldt-Christmas Reviewed-by: stefank, rrich, pchilanomate ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp ! src/hotspot/share/gc/shared/barrierSet.cpp ! src/hotspot/share/gc/shared/barrierSet.hpp + src/hotspot/share/gc/shared/barrierSetStackChunk.cpp + src/hotspot/share/gc/shared/barrierSetStackChunk.hpp ! src/hotspot/share/gc/shared/memAllocator.cpp ! src/hotspot/share/gc/shared/memAllocator.hpp ! src/hotspot/share/gc/shared/modRefBarrierSet.hpp ! src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.cpp + src/hotspot/share/gc/shenandoah/shenandoahBarrierSetStackChunk.cpp + src/hotspot/share/gc/shenandoah/shenandoahBarrierSetStackChunk.hpp ! src/hotspot/share/gc/z/zBarrierSet.cpp + src/hotspot/share/gc/z/zBarrierSetStackChunk.cpp + src/hotspot/share/gc/z/zBarrierSetStackChunk.hpp ! src/hotspot/share/memory/iterator.hpp ! src/hotspot/share/oops/instanceStackChunkKlass.hpp ! src/hotspot/share/oops/instanceStackChunkKlass.inline.hpp ! src/hotspot/share/oops/stackChunkOop.cpp ! src/hotspot/share/oops/stackChunkOop.hpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/prims/jvmtiEnvBase.cpp ! src/hotspot/share/prims/stackwalk.hpp ! src/hotspot/share/runtime/continuation.cpp ! src/hotspot/share/runtime/continuation.hpp ! src/hotspot/share/runtime/continuationEntry.cpp ! src/hotspot/share/runtime/continuationEntry.hpp ! src/hotspot/share/runtime/continuationEntry.inline.hpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/continuationJavaClasses.hpp ! src/hotspot/share/runtime/continuationJavaClasses.inline.hpp ! src/hotspot/share/runtime/continuationWrapper.cpp ! src/hotspot/share/runtime/continuationWrapper.inline.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/stackValue.cpp ! src/hotspot/share/runtime/stackValue.hpp ! src/hotspot/share/runtime/vframe.cpp ! src/hotspot/share/runtime/vframe.inline.hpp Changeset: be4245e8 Author: Erik ?sterlund Date: 2022-11-30 14:15:18 +0000 URL: https://git.openjdk.org/loom/commit/be4245e814cc29701cc425d8e66854e36eb3aef0 8294924: JvmtiExport::post_exception_throw() doesn't deal well with concurrent stack processing Reviewed-by: pchilanomate, sspitsyn, dholmes ! src/hotspot/share/prims/jvmtiExport.cpp Changeset: a1f4db55 Author: Stefan Johansson Date: 2022-11-30 14:51:31 +0000 URL: https://git.openjdk.org/loom/commit/a1f4db55c517143f8dbf448c21448a08de3cbdd8 8297584: G1 parallel phase event for scan heap roots is sent too often Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1RemSet.cpp Changeset: dcf431db Author: Afshin Zafari Committer: Robbin Ehn Date: 2022-11-30 16:38:24 +0000 URL: https://git.openjdk.org/loom/commit/dcf431db0b88c33e574b5986f22df5ed6e9b8be4 8287400: Make BitMap range parameter names consistent Reviewed-by: dholmes, lkorinth ! src/hotspot/share/utilities/bitMap.cpp ! src/hotspot/share/utilities/bitMap.hpp Changeset: c6855691 Author: Joe Darcy Date: 2022-11-30 16:51:26 +0000 URL: https://git.openjdk.org/loom/commit/c68556916ae7cc0301f3c89c05148547dcb44278 8297731: Remove redundant check in MutableBigInteger.divide Reviewed-by: bpb ! src/java.base/share/classes/java/math/MutableBigInteger.java Changeset: f74b97c7 Author: Alan Bateman Date: 2022-12-01 19:21:05 +0000 URL: https://git.openjdk.org/loom/commit/f74b97c779c7d85926320c92c7af24067613ad4e Merge with jdk-20+26 ! make/RunTests.gmk ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/vmIntrinsics.cpp ! src/hotspot/share/classfile/vmIntrinsics.hpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/library_call.hpp ! src/hotspot/share/opto/memnode.cpp ! src/hotspot/share/prims/jvmtiExport.cpp ! src/hotspot/share/runtime/continuation.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/vmStructs.cpp ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt ! make/RunTests.gmk ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/vmIntrinsics.cpp ! src/hotspot/share/classfile/vmIntrinsics.hpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/library_call.hpp ! src/hotspot/share/opto/memnode.cpp ! src/hotspot/share/prims/jvmtiExport.cpp ! src/hotspot/share/runtime/continuation.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/vmStructs.cpp ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: a2221801 Author: Alan Bateman Date: 2022-12-02 08:09:30 +0000 URL: https://git.openjdk.org/loom/commit/a22218018e9324b5febc71773c300db3dc1d38cc Update ProblemList ! test/jdk/ProblemList-vthread.txt ! test/jdk/ProblemList.txt From duke at openjdk.org Fri Dec 2 08:23:35 2022 From: duke at openjdk.org (duke) Date: Fri, 2 Dec 2022 08:23:35 GMT Subject: git: openjdk/loom: master: 95 new changesets Message-ID: Changeset: abeddab9 Author: Sergey Bylokhov Date: 2022-11-24 03:54:40 +0000 URL: https://git.openjdk.org/loom/commit/abeddab991d71f4ea54665082ffcb284267d7f44 6528710: sRGB-ColorSpace to sRGB-ColorSpace Conversion Reviewed-by: jdv, dnguyen + test/jdk/java/awt/color/ICC_ColorSpace/SimpleSRGBConversionQualityTest.java Changeset: 2f8a5c2e Author: Matthias Baesken Date: 2022-11-24 08:03:53 +0000 URL: https://git.openjdk.org/loom/commit/2f8a5c2eca0dc3dad08b7b2c33394ac214907008 8297480: GetPrimitiveArrayCritical in imageioJPEG misses result - NULL check Reviewed-by: jdv ! src/java.desktop/share/native/libjavajpeg/imageioJPEG.c Changeset: 9c77e41b Author: Martin Doerr Date: 2022-11-24 08:35:26 +0000 URL: https://git.openjdk.org/loom/commit/9c77e41b81ebd28bd92ea7adad605981a5519046 8297445: PPC64: Represent Registers as values Reviewed-by: mbaesken, rrich ! src/hotspot/cpu/ppc/assembler_ppc.hpp ! src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp ! src/hotspot/cpu/ppc/gc/z/zBarrierSetAssembler_ppc.cpp ! src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp ! src/hotspot/cpu/ppc/methodHandles_ppc.cpp ! src/hotspot/cpu/ppc/register_ppc.cpp ! src/hotspot/cpu/ppc/register_ppc.hpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/ppc/stubGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateTable_ppc_64.cpp ! src/hotspot/cpu/ppc/vmreg_ppc.cpp ! src/hotspot/cpu/ppc/vmreg_ppc.inline.hpp Changeset: 5e5b774b Author: Thomas Schatzl Date: 2022-11-24 08:58:13 +0000 URL: https://git.openjdk.org/loom/commit/5e5b774bfb219bfa4a4f18cfaaf279a994779ee6 8296768: Use different explicit claim marks for CLDs in Parallel and Serial GC Reviewed-by: ayang, sjohanss, kbarrett ! src/hotspot/share/gc/parallel/psCompactionManager.inline.hpp ! src/hotspot/share/gc/parallel/psParallelCompact.cpp ! src/hotspot/share/gc/serial/genMarkSweep.cpp ! src/hotspot/share/gc/serial/markSweep.cpp ! src/hotspot/share/gc/shared/genCollectedHeap.cpp Changeset: f4cf7589 Author: Aleksey Shipilev Date: 2022-11-24 09:00:06 +0000 URL: https://git.openjdk.org/loom/commit/f4cf7589c0fa727ad091469c00e4dedbf9e0699e 8297491: Loom: Stack chunks allocation code uses TLABs even when TLABs are disabled Reviewed-by: tschatzl, aboldtch, aph ! src/hotspot/share/gc/shared/memAllocator.cpp Changeset: 8b739706 Author: Hao Sun Committer: Nick Gasson Date: 2022-11-24 09:11:18 +0000 URL: https://git.openjdk.org/loom/commit/8b7397064b5b492b03bc8363f6ba74c70ce7d4a0 8296208: AArch64: Enable SHA512 intrinsic by default on supported hardware Reviewed-by: njian, ngasson ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp Changeset: 3c4d5204 Author: Severin Gehwolf Date: 2022-11-24 10:05:18 +0000 URL: https://git.openjdk.org/loom/commit/3c4d5204ff96280b123f42a8cfbaef308e470b69 8296671: [JFR] jdk.ContainerConfiguration event should include host total memory Reviewed-by: egahlin ! src/hotspot/share/jfr/jni/jfrJniMethod.cpp ! src/hotspot/share/jfr/jni/jfrJniMethod.hpp ! src/hotspot/share/jfr/jni/jfrJniMethodRegistration.cpp ! src/jdk.jfr/share/classes/jdk/jfr/events/ContainerConfigurationEvent.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/instrument/JDKEvents.java ! test/hotspot/jtreg/containers/docker/TestJFREvents.java Changeset: 070a84cb Author: Kevin Walls Date: 2022-11-24 12:28:46 +0000 URL: https://git.openjdk.org/loom/commit/070a84cbae2f79def1c1eb65456c76f708f2e6e5 8297192: Warning generating API docs for javax.management.MBeanServer: overridden methods do not document exception type Reviewed-by: dfuchs, sspitsyn, amenkov ! src/java.management/share/classes/javax/management/MBeanServer.java Changeset: 5e196b4b Author: Fei Yang Date: 2022-11-24 13:32:52 +0000 URL: https://git.openjdk.org/loom/commit/5e196b4b8e623107424e2fb54672790fd925fe73 8297476: Increase InlineSmallCode default from 1000 to 2500 for RISC-V Reviewed-by: shade, yzhu ! src/hotspot/share/compiler/compilerDefinitions.cpp Changeset: df6cf1e4 Author: Stefan Karlsson Date: 2022-11-24 15:06:19 +0000 URL: https://git.openjdk.org/loom/commit/df6cf1e41d0fc2dd5f5c094f66c7c8969cf5548d 8296886: Fix various include sort order issues Reviewed-by: kbarrett, dholmes, stuefe ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/arm/frame_arm.cpp ! src/hotspot/cpu/arm/nativeInst_arm_32.cpp ! src/hotspot/cpu/ppc/gc/shenandoah/shenandoahBarrierSetAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc_sha.cpp ! src/hotspot/cpu/ppc/stubRoutines_ppc_64.cpp ! src/hotspot/cpu/riscv/gc/shenandoah/shenandoahBarrierSetAssembler_riscv.hpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/zero/sharedRuntime_zero.cpp ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/windows/jvm_windows.cpp ! src/hotspot/os/windows/os_perf_windows.cpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp ! src/hotspot/os_cpu/windows_aarch64/os_windows_aarch64.cpp ! src/hotspot/share/cds/archiveHeapLoader.hpp ! src/hotspot/share/cds/cdsProtectionDomain.hpp ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/cds/dumpTimeClassInfo.inline.hpp ! src/hotspot/share/classfile/classFileParser.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/compactHashtable.cpp ! src/hotspot/share/classfile/moduleEntry.cpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compilerEvent.cpp ! src/hotspot/share/compiler/compilerEvent.hpp ! src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp ! src/hotspot/share/gc/g1/g1CodeCacheRemSet.hpp ! src/hotspot/share/gc/g1/g1MonotonicArena.cpp ! src/hotspot/share/gc/shared/ageTable.cpp ! src/hotspot/share/gc/shared/gcLogPrecious.cpp ! src/hotspot/share/gc/z/zBarrierSetAssembler.hpp ! src/hotspot/share/interpreter/zero/bytecodeInterpreter.cpp ! src/hotspot/share/jfr/instrumentation/jfrResolution.cpp ! src/hotspot/share/jfr/jni/jfrJavaCall.hpp ! src/hotspot/share/jfr/jni/jfrJniMethod.cpp ! src/hotspot/share/jfr/jni/jfrUpcalls.hpp ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/hotspot/share/jfr/recorder/checkpoint/types/jfrThreadGroup.hpp ! src/hotspot/share/jfr/recorder/checkpoint/types/jfrType.cpp ! src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.hpp ! src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdBits.hpp ! src/hotspot/share/jfr/recorder/repository/jfrRepository.hpp ! src/hotspot/share/jfr/recorder/stringpool/jfrStringPool.hpp ! src/hotspot/share/jvmci/jvmci.cpp ! src/hotspot/share/jvmci/jvmciCodeInstaller.cpp ! src/hotspot/share/logging/logFileOutput.cpp ! src/hotspot/share/logging/logFileStreamOutput.cpp ! src/hotspot/share/logging/logSelection.cpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/prims/jniCheck.cpp ! src/hotspot/share/prims/perf.cpp ! src/hotspot/share/prims/scopedMemoryAccess.cpp ! src/hotspot/share/prims/unsafe.cpp ! src/hotspot/share/prims/vectorSupport.cpp ! src/hotspot/share/prims/vectorSupport.hpp ! src/hotspot/share/prims/wbtestmethods/parserTests.cpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/prims/whitebox.hpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/continuation.hpp ! src/hotspot/share/runtime/init.cpp ! src/hotspot/share/runtime/java.cpp ! src/hotspot/share/runtime/javaCalls.cpp ! src/hotspot/share/runtime/nonJavaThread.cpp ! src/hotspot/share/runtime/threadCrashProtection.hpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/hotspot/share/runtime/vm_version.hpp ! src/hotspot/share/services/mallocTracker.cpp ! src/hotspot/share/utilities/elfFile.cpp ! src/hotspot/share/utilities/formatBuffer.hpp ! src/hotspot/share/utilities/ostream.cpp ! src/hotspot/share/utilities/vmError.cpp ! test/hotspot/gtest/classfile/test_symbolTable.cpp ! test/hotspot/gtest/compiler/test_directivesParser.cpp ! test/hotspot/gtest/gc/g1/test_freeRegionList.cpp ! test/hotspot/gtest/gc/g1/test_g1Analytics.cpp ! test/hotspot/gtest/gc/g1/test_g1BatchedGangTask.cpp ! test/hotspot/gtest/gc/g1/test_g1CodeCacheRemSet.cpp ! test/hotspot/gtest/gc/g1/test_stressCommitUncommit.cpp ! test/hotspot/gtest/gc/parallel/test_psParallelCompact.cpp ! test/hotspot/gtest/gc/shared/test_ptrQueueBufferAllocator.cpp ! test/hotspot/gtest/gtestMain.cpp ! test/hotspot/gtest/jfr/test_adaptiveSampler.cpp ! test/hotspot/gtest/jfr/test_networkUtilization.cpp ! test/hotspot/gtest/jfr/test_threadCpuLoad.cpp ! test/hotspot/gtest/logging/test_log.cpp ! test/hotspot/gtest/logging/test_logDecorators.cpp ! test/hotspot/gtest/memory/test_guardedMemory.cpp ! test/hotspot/gtest/memory/test_virtualspace.cpp ! test/hotspot/gtest/metaprogramming/test_enableIf.cpp ! test/hotspot/gtest/metaspace/metaspaceGtestCommon.hpp ! test/hotspot/gtest/oops/test_markWord.cpp ! test/hotspot/gtest/runtime/test_arguments.cpp ! test/hotspot/gtest/runtime/test_classPrinter.cpp ! test/hotspot/gtest/runtime/test_committed_virtualmemory.cpp ! test/hotspot/gtest/runtime/test_os.cpp ! test/hotspot/gtest/runtime/test_os_linux.cpp ! test/hotspot/gtest/runtime/test_os_windows.cpp ! test/hotspot/gtest/runtime/test_special_flags.cpp ! test/hotspot/gtest/threadHelper.inline.hpp ! test/hotspot/gtest/utilities/test_align.cpp ! test/hotspot/gtest/utilities/test_bitMap_setops.cpp ! test/hotspot/gtest/utilities/test_concurrentHashtable.cpp ! test/hotspot/gtest/utilities/test_enumIterator.cpp ! test/hotspot/gtest/utilities/test_globalCounter.cpp ! test/hotspot/gtest/utilities/test_globalCounter_nested.cpp ! test/hotspot/gtest/utilities/test_globalDefinitions.cpp ! test/hotspot/gtest/utilities/test_lockFreeStack.cpp ! test/hotspot/gtest/utilities/test_nonblockingQueue.cpp ! test/hotspot/gtest/utilities/test_population_count.cpp ! test/hotspot/gtest/utilities/test_powerOfTwo.cpp ! test/hotspot/gtest/utilities/test_singleWriterSynchronizer.cpp Changeset: ab1f9ffa Author: KIRIYAMA Takuya Committer: Daniel Fuchs Date: 2022-11-24 16:16:45 +0000 URL: https://git.openjdk.org/loom/commit/ab1f9ffa78ca95b67b6d57936a70c49abf18fd00 8051627: Invariants about java.net.URI resolve and relativize are wrong Reviewed-by: dfuchs ! src/java.base/share/classes/java/net/URI.java ! test/jdk/java/net/URI/Test.java Changeset: 8effaa8f Author: Daniel Fuchs Date: 2022-11-24 16:18:28 +0000 URL: https://git.openjdk.org/loom/commit/8effaa8f1f550d2cd0ff369f99436a8a7401fa10 8223783: sun/net/www/http/HttpClient/MultiThreadTest.java sometimes detect threads+1 connections Reviewed-by: djelinski, michaelm ! test/jdk/sun/net/www/http/HttpClient/MultiThreadTest.java Changeset: 390e69ad Author: Per Minborg Committer: Alan Bateman Date: 2022-11-24 17:07:53 +0000 URL: https://git.openjdk.org/loom/commit/390e69ad065ebefe2e998f6200d19d45cf043b16 8297150: Add a @sealedGraph tag to Reference Reviewed-by: darcy, alanb ! src/java.base/share/classes/java/lang/ref/Reference.java Changeset: 87d1097d Author: Claes Redestad Date: 2022-11-24 17:40:30 +0000 URL: https://git.openjdk.org/loom/commit/87d1097d9be1ef804bfd4640a4254126242b1d8c 8297530: java.lang.IllegalArgumentException: Negative length on strings concatenation Reviewed-by: enikitin, alanb ! src/java.base/share/classes/java/lang/StringConcatHelper.java + test/jdk/java/lang/String/concat/ImplicitStringConcatOOME.java Changeset: 2f47f83a Author: Jaikiran Pai Date: 2022-11-25 01:23:53 +0000 URL: https://git.openjdk.org/loom/commit/2f47f83addd7f69db2c7070552a7ec67bd07d62e 8297569: URLPermission constructor throws IllegalArgumentException: Invalid characters in hostname after JDK-8294378 Reviewed-by: dfuchs ! src/java.base/share/classes/java/net/HostPortrange.java ! src/java.base/share/classes/java/net/URLPermission.java ! test/jdk/java/net/URLPermission/URLPermissionTest.java Changeset: 1fb9dadb Author: Kim Barrett Date: 2022-11-25 02:02:54 +0000 URL: https://git.openjdk.org/loom/commit/1fb9dadb6aadb5a12a3b14798d1cd58ad50ba0b8 8296419: [REDO] JDK-8295319: pending_cards_at_gc_start doesn't include cards in thread buffers Reviewed-by: tschatzl, sjohanss ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1DirtyCardQueue.cpp ! src/hotspot/share/gc/g1/g1DirtyCardQueue.hpp ! src/hotspot/share/gc/g1/g1ParScanThreadState.cpp ! src/hotspot/share/gc/g1/g1ParScanThreadState.hpp ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp ! src/hotspot/share/gc/g1/g1YoungCollector.cpp ! src/hotspot/share/gc/g1/g1YoungCollector.hpp Changeset: 0ed8b337 Author: Dongxu Wang Committer: Yi Yang Date: 2022-11-25 05:55:19 +0000 URL: https://git.openjdk.org/loom/commit/0ed8b337eaa59881a62af5dcc0abb454761f2e71 8297385: Remove duplicated null typos in javadoc Reviewed-by: dfuchs, rriggs ! src/java.xml/share/classes/javax/xml/parsers/DocumentBuilder.java Changeset: 74d3bacc Author: Volodymyr Paprotski Committer: Kim Barrett Date: 2022-11-25 07:07:39 +0000 URL: https://git.openjdk.org/loom/commit/74d3baccb332c07f4ce58a53d7e9d36d3d4b8318 8297417: Poly1305IntrinsicFuzzTest fails with tag mismatch exception Reviewed-by: sviswanathan, vlivanov, rcastanedalo, thartmann ! src/hotspot/cpu/x86/stubGenerator_x86_64_poly.cpp ! test/jdk/com/sun/crypto/provider/Cipher/ChaCha20/unittest/Poly1305UnitTestDriver.java Changeset: cfe5a371 Author: Roland Westrelin Date: 2022-11-25 08:06:14 +0000 URL: https://git.openjdk.org/loom/commit/cfe5a3716e980734c3d195f7eec8c383337dca2d 8297556: Parse::check_interpreter_type fails with assert "must constrain OSR typestate" Reviewed-by: thartmann, vlivanov ! src/hotspot/share/opto/type.cpp + test/hotspot/jtreg/compiler/types/TestExactArrayOfBasicType.java Changeset: fd910f77 Author: Zhiqiang Zang Committer: Christian Hagedorn Date: 2022-11-25 08:17:44 +0000 URL: https://git.openjdk.org/loom/commit/fd910f77bcd205110688b2f17f26f76ce3de88d5 8297384: Add IR tests for existing idealizations of arithmetic nodes Reviewed-by: chagedorn ! test/hotspot/jtreg/compiler/c2/irTests/AddINodeIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/AddLNodeIdealizationTests.java + test/hotspot/jtreg/compiler/c2/irTests/AndINodeIdealizationTests.java + test/hotspot/jtreg/compiler/c2/irTests/LShiftINodeIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/MulINodeIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/MulLNodeIdealizationTests.java + test/hotspot/jtreg/compiler/c2/irTests/RotateLeftNodeIntIdealizationTests.java + test/hotspot/jtreg/compiler/c2/irTests/RotateLeftNodeLongIdealizationTests.java + test/hotspot/jtreg/compiler/c2/irTests/URShiftINodeIdealizationTests.java + test/hotspot/jtreg/compiler/c2/irTests/URShiftLNodeIdealizationTests.java ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java Changeset: 4f655702 Author: Aggelos Biboudis Committer: Jan Lahoda Date: 2022-11-25 12:31:47 +0000 URL: https://git.openjdk.org/loom/commit/4f65570204e2d38415e7761bd81660b081eae882 8294583: JShell: NPE in switch with non existing record pattern Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java + test/langtools/jdk/jshell/Test8294583.java Changeset: 08e6a820 Author: Severin Gehwolf Date: 2022-11-25 16:29:53 +0000 URL: https://git.openjdk.org/loom/commit/08e6a820bcb70e74a0faa28198493292e2993901 8297590: [TESTBUG] HotSpotResolvedJavaFieldTest does not run Reviewed-by: chagedorn, dnsimon ! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/HotSpotResolvedJavaFieldTest.java Changeset: 952e1005 Author: Doug Simon Date: 2022-11-25 17:39:21 +0000 URL: https://git.openjdk.org/loom/commit/952e10055135613e8ea2b818a4f35842936f5633 8297431: [JVMCI] HotSpotJVMCIRuntime.encodeThrowable should not throw an exception Reviewed-by: never ! src/hotspot/share/jvmci/jvmciEnv.cpp ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/TranslatedException.java Changeset: 85ddd8f2 Author: Ioi Lam Date: 2022-11-25 19:54:03 +0000 URL: https://git.openjdk.org/loom/commit/85ddd8f2af51fa5ea7f63027285509afb9a5c439 8295253: Remove kludge from v1_0/PerfDataBuffer.java Reviewed-by: sspitsyn, dholmes, cjplummer ! src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/v1_0/PerfDataBuffer.java Changeset: 099b42f3 Author: Per Minborg Committer: Alan Bateman Date: 2022-11-26 08:28:31 +0000 URL: https://git.openjdk.org/loom/commit/099b42f360a0e693a63f009e3e044307aab5c689 8297148: Add a @sealedGraph tag to CallSite Reviewed-by: darcy ! src/java.base/share/classes/java/lang/invoke/CallSite.java Changeset: 76a24c3f Author: Per Minborg Committer: Alan Bateman Date: 2022-11-26 08:29:34 +0000 URL: https://git.openjdk.org/loom/commit/76a24c3f90d8e0655bfcaa3dd5c2d1f74515ebc6 8297145: Add a @sealedGraph tag to ConstantDesc Reviewed-by: darcy ! src/java.base/share/classes/java/lang/constant/ConstantDesc.java Changeset: 6c05771b Author: Aggelos Biboudis Committer: Vicente Romero Date: 2022-11-26 15:53:00 +0000 URL: https://git.openjdk.org/loom/commit/6c05771b9be3dd5cbcdb40d2e53cc53959926cdd 8295447: NullPointerException with invalid pattern matching construct in constructor call Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java + test/langtools/tools/javac/T8295447.java + test/langtools/tools/javac/T8295447.out Changeset: 99d3840d Author: Vladimir Kempik Date: 2022-11-26 16:15:55 +0000 URL: https://git.openjdk.org/loom/commit/99d3840d368f1d99af72250678a2cb0c55ee0957 8297359: RISC-V: improve performance of floating Max Min intrinsics Reviewed-by: fyang ! src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/riscv.ad Changeset: 50f9043c Author: Ryan Ernst Committer: Chris Hegarty Date: 2022-11-26 20:04:59 +0000 URL: https://git.openjdk.org/loom/commit/50f9043c6965360c426b187e47c49c42481a2549 8297451: ProcessHandleImpl should assert privilege when modifying reaper thread Reviewed-by: chegar, alanb ! src/java.base/share/classes/java/lang/ProcessHandleImpl.java ! test/jdk/java/lang/ProcessBuilder/SecurityManagerClinit.java Changeset: 2f83b5c4 Author: Emanuel Peter Date: 2022-11-27 13:41:26 +0000 URL: https://git.openjdk.org/loom/commit/2f83b5c487f112c175d081ca5882f5032518937a 8297640: Increase buffer size for buf (insert_features_names) in Abstract_VM_Version::insert_features_names Reviewed-by: chagedorn, rehn ! src/hotspot/cpu/x86/vm_version_x86.cpp Changeset: d6102110 Author: Thomas Stuefe Date: 2022-11-28 07:31:18 +0000 URL: https://git.openjdk.org/loom/commit/d6102110e1b48c065292db83744245a33e269cc2 8297408: Consolidate code in runtime/ErrorHandling Reviewed-by: dholmes, mbaesken ! test/hotspot/jtreg/runtime/ErrorHandling/BadNativeStackInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/HsErrFileUtils.java ! test/hotspot/jtreg/runtime/ErrorHandling/MachCodeFramesInErrorFile.java ! test/hotspot/jtreg/runtime/ErrorHandling/NestedThreadsListHandleInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/ResourceMarkTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/SafeFetchInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/SecondaryErrorTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/ShowRegistersOnAssertTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/TestCrashOnOutOfMemoryError.java ! test/hotspot/jtreg/runtime/ErrorHandling/TestDwarf.java ! test/hotspot/jtreg/runtime/ErrorHandling/ThreadsListHandleInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/TimeoutInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/VeryEarlyAssertTest.java Changeset: 43d11736 Author: Richard Reingruber Date: 2022-11-28 08:09:09 +0000 URL: https://git.openjdk.org/loom/commit/43d1173605128126dda0dc39ffc376b84065cc65 8286302: Port JEP 425 to PPC64 Reviewed-by: tsteele, mdoerr + src/hotspot/cpu/aarch64/continuationEntry_aarch64.hpp ! src/hotspot/cpu/aarch64/continuationFreezeThaw_aarch64.inline.hpp ! src/hotspot/cpu/aarch64/continuationHelper_aarch64.inline.hpp ! src/hotspot/cpu/aarch64/frame_aarch64.hpp + src/hotspot/cpu/arm/continuationEntry_arm.hpp ! src/hotspot/cpu/arm/continuationFreezeThaw_arm.inline.hpp ! src/hotspot/cpu/arm/continuationHelper_arm.inline.hpp ! src/hotspot/cpu/arm/frame_arm.hpp ! src/hotspot/cpu/ppc/assembler_ppc.hpp ! src/hotspot/cpu/ppc/assembler_ppc.inline.hpp ! src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp ! src/hotspot/cpu/ppc/c1_MacroAssembler_ppc.cpp + src/hotspot/cpu/ppc/continuationEntry_ppc.hpp ! src/hotspot/cpu/ppc/continuationEntry_ppc.inline.hpp ! src/hotspot/cpu/ppc/continuationFreezeThaw_ppc.inline.hpp ! src/hotspot/cpu/ppc/continuationHelper_ppc.inline.hpp ! src/hotspot/cpu/ppc/frame_ppc.cpp ! src/hotspot/cpu/ppc/frame_ppc.hpp ! src/hotspot/cpu/ppc/frame_ppc.inline.hpp ! src/hotspot/cpu/ppc/globalDefinitions_ppc.hpp ! src/hotspot/cpu/ppc/globals_ppc.hpp ! src/hotspot/cpu/ppc/interp_masm_ppc.hpp ! src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.hpp ! src/hotspot/cpu/ppc/nativeInst_ppc.cpp ! src/hotspot/cpu/ppc/nativeInst_ppc.hpp ! src/hotspot/cpu/ppc/ppc.ad ! src/hotspot/cpu/ppc/register_ppc.hpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/ppc/smallRegisterMap_ppc.inline.hpp ! src/hotspot/cpu/ppc/stackChunkFrameStream_ppc.inline.hpp ! src/hotspot/cpu/ppc/stackChunkOop_ppc.inline.hpp ! src/hotspot/cpu/ppc/stubGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateTable_ppc_64.cpp + src/hotspot/cpu/riscv/continuationEntry_riscv.hpp ! src/hotspot/cpu/riscv/continuationFreezeThaw_riscv.inline.hpp ! src/hotspot/cpu/riscv/continuationHelper_riscv.inline.hpp ! src/hotspot/cpu/riscv/frame_riscv.hpp + src/hotspot/cpu/s390/continuationEntry_s390.hpp ! src/hotspot/cpu/s390/continuationFreezeThaw_s390.inline.hpp ! src/hotspot/cpu/s390/continuationHelper_s390.inline.hpp ! src/hotspot/cpu/s390/frame_s390.hpp + src/hotspot/cpu/x86/continuationEntry_x86.hpp ! src/hotspot/cpu/x86/continuationFreezeThaw_x86.inline.hpp ! src/hotspot/cpu/x86/continuationHelper_x86.inline.hpp ! src/hotspot/cpu/x86/frame_x86.hpp + src/hotspot/cpu/zero/continuationEntry_zero.hpp ! src/hotspot/cpu/zero/continuationFreezeThaw_zero.inline.hpp ! src/hotspot/cpu/zero/continuationHelper_zero.inline.hpp ! src/hotspot/cpu/zero/frame_zero.hpp ! src/hotspot/share/oops/instanceStackChunkKlass.hpp ! src/hotspot/share/oops/instanceStackChunkKlass.inline.hpp ! src/hotspot/share/oops/stackChunkOop.cpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/runtime/continuation.cpp ! src/hotspot/share/runtime/continuationEntry.hpp ! src/hotspot/share/runtime/continuationEntry.inline.hpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/continuationHelper.hpp ! src/hotspot/share/runtime/continuationWrapper.inline.hpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/stackChunkFrameStream.inline.hpp + test/jdk/jdk/internal/vm/Continuation/BasicExt.java Changeset: 012dafee Author: Martin Doerr Date: 2022-11-28 09:26:08 +0000 URL: https://git.openjdk.org/loom/commit/012dafee5bc035a2eb27ac5efab9658ade92bf90 8297082: Remove sun/tools/jhsdb/BasicLauncherTest.java from problem list Reviewed-by: rrich, cjplummer ! test/jdk/ProblemList.txt Changeset: 81eb5fbf Author: Johan Sj?len Date: 2022-11-28 09:30:53 +0000 URL: https://git.openjdk.org/loom/commit/81eb5fbff516e7470f7cc29a67047a048b525722 8297534: Specify the size of MEMFLAGS Reviewed-by: stuefe, tschatzl ! src/hotspot/share/memory/allocation.hpp ! src/hotspot/share/services/mallocHeader.hpp ! src/hotspot/share/services/mallocHeader.inline.hpp Changeset: b80f5af6 Author: Justin King Committer: Aleksey Shipilev Date: 2022-11-28 11:03:47 +0000 URL: https://git.openjdk.org/loom/commit/b80f5af6981440aec14f4dedbc5ee46364d0254c 8297309: Memory leak in ShenandoahFullGC Reviewed-by: rkennke, shade ! src/hotspot/share/gc/shenandoah/shenandoahFullGC.cpp ! src/hotspot/share/gc/shenandoah/shenandoahFullGC.hpp Changeset: 6a856bc3 Author: Albert Mingkun Yang Date: 2022-11-28 11:57:18 +0000 URL: https://git.openjdk.org/loom/commit/6a856bc3f67d539f858904667ee86cbed54f94f7 8297499: Parallel: Missing iteration over klass when marking objArrays/objArrayOops during Full GC Co-authored-by: Stefan Johansson Reviewed-by: sjohanss, tschatzl ! src/hotspot/share/gc/parallel/psCompactionManager.inline.hpp ! test/hotspot/jtreg/runtime/ClassUnload/UnloadTest.java Changeset: eff4c039 Author: Roland Westrelin Date: 2022-11-28 12:27:14 +0000 URL: https://git.openjdk.org/loom/commit/eff4c039dab99aa946dbdde1be8901929ebbfc6f 8297343: TestStress*.java fail with "got different traces for the same seed" Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/type.cpp ! test/hotspot/jtreg/ProblemList.txt Changeset: c05dc802 Author: Thomas Stuefe Date: 2022-11-28 12:45:36 +0000 URL: https://git.openjdk.org/loom/commit/c05dc80234a6beff3fa4d2de3228928c639da083 8297660: x86: Redundant test+jump in C1 allocateArray Reviewed-by: aph, yyang ! src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp Changeset: ba0a2521 Author: Alan Bateman Date: 2022-11-28 13:27:18 +0000 URL: https://git.openjdk.org/loom/commit/ba0a2521ba6d7db041580be7cda633311836b455 8297717: Remove jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java from ProblemList Reviewed-by: jpai ! test/jdk/ProblemList.txt Changeset: 405b1886 Author: Aleksey Shipilev Date: 2022-11-28 14:49:28 +0000 URL: https://git.openjdk.org/loom/commit/405b1886b3924a7b5d258b7e8190802d489c6ab5 8297570: jdk/jfr/threading/TestDeepVirtualStackTrace.java fails with -XX:-UseTLAB Reviewed-by: mgronlun ! test/jdk/jdk/jfr/threading/TestDeepVirtualStackTrace.java Changeset: a249a525 Author: Matias Saavedra Silva Committer: Ioi Lam Date: 2022-11-28 15:26:27 +0000 URL: https://git.openjdk.org/loom/commit/a249a52501f3cd7d4fbe5293d14ac8d0d6ffcc69 8296754: AutoCreateSharedArchive in JDK 20 is not compatible with JDK 19 Reviewed-by: ccheung, iklam, erikj ! make/RunTests.gmk ! src/hotspot/share/cds/cdsConstants.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/include/cds.h + test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java + test/hotspot/jtreg/runtime/cds/appcds/test-classes/HelloJDK8.java ! test/lib/jdk/test/lib/cds/CDSArchiveUtils.java Changeset: a80552e1 Author: Christian Stein Date: 2022-11-28 17:33:59 +0000 URL: https://git.openjdk.org/loom/commit/a80552e1e15fba42e0e647248a3d50fa44c5bf53 8236919: Refactor com.sun.tools.javac.main.CommandLine into a reusable module for other JDK tools Reviewed-by: jjg = src/jdk.internal.opt/share/classes/jdk/internal/opt/CommandLine.java ! src/jdk.internal.opt/share/classes/module-info.java ! src/jdk.jartool/share/classes/module-info.java - src/jdk.jartool/share/classes/sun/tools/jar/CommandLine.java ! src/jdk.jartool/share/classes/sun/tools/jar/Main.java - src/jdk.jlink/share/classes/jdk/tools/jlink/internal/CommandLine.java ! src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java - src/jdk.jpackage/share/classes/jdk/jpackage/main/CommandLine.java ! src/jdk.jpackage/share/classes/jdk/jpackage/main/Main.java ! src/jdk.jpackage/share/classes/module-info.java Changeset: 105d9d75 Author: Smita Kamath Committer: Sandhya Viswanathan Date: 2022-11-28 19:24:25 +0000 URL: https://git.openjdk.org/loom/commit/105d9d75e84a46400f52fafda2ea00c99c14eaf0 8295351: java/lang/Float/Binary16Conversion.java fails with "Unexpected result of converting" Reviewed-by: sviswanathan, thartmann ! src/hotspot/share/runtime/sharedRuntime.cpp ! test/jdk/ProblemList-Xcomp.txt Changeset: cdf9ed07 Author: Weibing Xiao Committer: Roger Riggs Date: 2022-11-28 21:34:36 +0000 URL: https://git.openjdk.org/loom/commit/cdf9ed07de102ae388278163e3bf702d861fc30a 8297528: java/io/File/TempDirDoesNotExist.java test failing on windows-x64 Reviewed-by: rriggs, iris, bpb, naoto ! test/jdk/ProblemList.txt ! test/jdk/java/io/File/TempDirDoesNotExist.java Changeset: d450314b Author: Weijun Wang Date: 2022-11-28 22:02:54 +0000 URL: https://git.openjdk.org/loom/commit/d450314bd35ae431de6131cd01db4fa992ce10a4 8297276: Remove thread text from Subject.current Reviewed-by: xuelei, rriggs, mullan ! src/java.base/share/classes/javax/security/auth/Subject.java Changeset: 05128c21 Author: David Holmes Date: 2022-11-28 22:04:07 +0000 URL: https://git.openjdk.org/loom/commit/05128c2110e1d64111a30d641898ed94925243d6 8286185: The Java manpage can be more platform inclusive Reviewed-by: sspitsyn, kvn, iklam ! src/java.base/share/man/java.1 Changeset: 692bedbc Author: David Holmes Date: 2022-11-29 02:03:49 +0000 URL: https://git.openjdk.org/loom/commit/692bedbc1df153f362b8e85693f20b089b5594e2 8297106: Remove the -Xcheck:jni local reference capacity checking Reviewed-by: dcubed, kevinw ! src/hotspot/share/prims/jniCheck.cpp ! src/hotspot/share/runtime/jniHandles.cpp ! src/hotspot/share/runtime/jniHandles.hpp ! src/java.base/share/man/java.1 - test/hotspot/jtreg/runtime/jni/checked/TestCheckedEnsureLocalCapacity.java - test/hotspot/jtreg/runtime/jni/checked/libTestCheckedEnsureLocalCapacity.c ! test/jdk/ProblemList.txt - test/jdk/com/sun/management/DiagnosticCommandMBean/DcmdMBeanTestCheckJni.java Changeset: 4e8e853b Author: Prasanta Sadhukhan Date: 2022-11-29 05:08:38 +0000 URL: https://git.openjdk.org/loom/commit/4e8e853bc9b9ac3a89a9e25b9fec5381b8255806 6788481: CellEditorListener.editingCanceled is never called Reviewed-by: prr, azvegint, serb ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTableUI.java + test/jdk/javax/swing/JTable/BugCellEditorListener.java Changeset: 6f06f440 Author: Justin King Committer: Man Cao Date: 2022-11-29 06:53:56 +0000 URL: https://git.openjdk.org/loom/commit/6f06f440bcf8a5db379b80e8765af38a15449356 8297242: Use-after-free during library unloading on Linux Reviewed-by: dholmes, jsjolen ! src/hotspot/os/posix/os_posix.cpp Changeset: 33dfc7d2 Author: Ivan Walulya Date: 2022-11-29 09:56:16 +0000 URL: https://git.openjdk.org/loom/commit/33dfc7d2eface68a6a1edbb507abefa74cc6180f 8296954: G1: Enable parallel scanning for heap region remset Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1CardSet.cpp ! src/hotspot/share/gc/g1/g1CardSet.hpp ! src/hotspot/share/gc/g1/g1RemSet.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 ! src/hotspot/share/utilities/concurrentHashTableTasks.inline.hpp Changeset: b27a61e6 Author: Hannes Walln?fer Date: 2022-11-29 10:20:58 +0000 URL: https://git.openjdk.org/loom/commit/b27a61e6240e19ae7802fc66894df90502508b9a 8297216: Search results omit some methods Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/search.js.template ! test/langtools/jdk/javadoc/doclet/testSearchScript/TestSearchScript.java Changeset: bd51b7ea Author: Aleksey Shipilev Date: 2022-11-29 11:09:06 +0000 URL: https://git.openjdk.org/loom/commit/bd51b7ea43b210ea07399b09d61c366594ac2cfd 8296645: org.openjdk.bench.javax.tools.Javac leaves class files in current directory Reviewed-by: redestad, jpai ! test/micro/org/openjdk/bench/javax/tools/Javac.java Changeset: 48017b1d Author: Michael McMahon Date: 2022-11-29 11:11:10 +0000 URL: https://git.openjdk.org/loom/commit/48017b1d9c3a7867984f54d61f17c7f034d213f5 8296804: Document HttpClient configuration properties in java.net.http module-info Reviewed-by: dfuchs, jpai ! src/java.net.http/share/classes/module-info.java Changeset: 1301fb0b Author: Axel Boldt-Christmas Date: 2022-11-29 11:38:59 +0000 URL: https://git.openjdk.org/loom/commit/1301fb0b5f998c9cf8bcd8a53e6a90d6ab5a7da9 8296470: Refactor VMError::report STEP macro to improve readability Reviewed-by: stuefe, coleenp ! src/hotspot/share/utilities/vmError.cpp Changeset: 42b60ed2 Author: Conor Cleary Date: 2022-11-29 11:42:51 +0000 URL: https://git.openjdk.org/loom/commit/42b60ed22c02663eb1377d1ce78a559fdbb4348d 8297030: Reduce Default Keep-Alive Timeout Value for httpclient Reviewed-by: dfuchs, michaelm, jpai ! src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java Changeset: 361b50e7 Author: Hannes Walln?fer Date: 2022-11-29 11:50:39 +0000 URL: https://git.openjdk.org/loom/commit/361b50e724f8c1177f89eaa93e38b69d244dadee 8292594: Use CSS custom properties for all fonts and colors Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css ! test/langtools/jdk/javadoc/doclet/testStylesheet/TestStylesheet.java Changeset: 5d2772a4 Author: Daniel Fuchs Date: 2022-11-29 12:36:20 +0000 URL: https://git.openjdk.org/loom/commit/5d2772a43ef6409bf556cefb4eb4242594451674 8297424: java/net/httpclient/AsyncExecutorShutdown.java fails in AssertionError due to misplaced assert Reviewed-by: jpai ! src/java.net.http/share/classes/jdk/internal/net/http/ResponseSubscribers.java ! src/java.net.http/share/classes/jdk/internal/net/http/Stream.java Changeset: d83a07b7 Author: Daniel Fuchs Date: 2022-11-29 12:42:37 +0000 URL: https://git.openjdk.org/loom/commit/d83a07b72cfd4dc42c5d4815262fcba05c653bd5 8297200: java/net/httpclient/SpecialHeadersTest.java failed once in AssertionError due to selector thread remaining alive Reviewed-by: jpai ! src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/OperationTrackers.java ! test/jdk/java/net/httpclient/ReferenceTracker.java ! test/jdk/java/net/httpclient/SpecialHeadersTest.java Changeset: 2deb318c Author: Weijun Wang Date: 2022-11-29 12:57:46 +0000 URL: https://git.openjdk.org/loom/commit/2deb318c9f047ec5a4b160d66a4b52f93688ec42 8297065: DerOutputStream operations should not throw IOExceptions Reviewed-by: mullan, valeriep ! src/java.base/share/classes/com/sun/crypto/provider/DHPrivateKey.java ! src/java.base/share/classes/com/sun/crypto/provider/DHPublicKey.java ! src/java.base/share/classes/com/sun/crypto/provider/EncryptedPrivateKeyInfo.java ! src/java.base/share/classes/sun/security/pkcs/ContentInfo.java ! src/java.base/share/classes/sun/security/pkcs/EncryptedPrivateKeyInfo.java ! src/java.base/share/classes/sun/security/pkcs/PKCS7.java ! src/java.base/share/classes/sun/security/pkcs/PKCS8Key.java ! src/java.base/share/classes/sun/security/pkcs/PKCS9Attribute.java ! src/java.base/share/classes/sun/security/pkcs/PKCS9Attributes.java ! src/java.base/share/classes/sun/security/pkcs/SignerInfo.java ! src/java.base/share/classes/sun/security/pkcs10/PKCS10.java ! src/java.base/share/classes/sun/security/pkcs10/PKCS10Attribute.java ! src/java.base/share/classes/sun/security/pkcs10/PKCS10Attributes.java ! src/java.base/share/classes/sun/security/pkcs12/MacData.java ! src/java.base/share/classes/sun/security/pkcs12/PKCS12KeyStore.java ! src/java.base/share/classes/sun/security/provider/DSA.java ! src/java.base/share/classes/sun/security/provider/DSAPrivateKey.java ! src/java.base/share/classes/sun/security/provider/DSAPublicKey.java ! src/java.base/share/classes/sun/security/provider/KeyProtector.java ! src/java.base/share/classes/sun/security/provider/certpath/CertId.java ! src/java.base/share/classes/sun/security/rsa/RSAPrivateCrtKeyImpl.java ! src/java.base/share/classes/sun/security/rsa/RSAPrivateKeyImpl.java ! src/java.base/share/classes/sun/security/rsa/RSAPublicKeyImpl.java ! src/java.base/share/classes/sun/security/rsa/RSASignature.java ! src/java.base/share/classes/sun/security/rsa/RSAUtil.java ! src/java.base/share/classes/sun/security/util/DerEncoder.java ! src/java.base/share/classes/sun/security/util/DerOutputStream.java ! src/java.base/share/classes/sun/security/util/DerValue.java ! src/java.base/share/classes/sun/security/util/NamedCurve.java ! src/java.base/share/classes/sun/security/util/ObjectIdentifier.java ! src/java.base/share/classes/sun/security/x509/AVA.java ! src/java.base/share/classes/sun/security/x509/AccessDescription.java ! src/java.base/share/classes/sun/security/x509/AlgorithmId.java ! src/java.base/share/classes/sun/security/x509/AuthorityInfoAccessExtension.java ! src/java.base/share/classes/sun/security/x509/AuthorityKeyIdentifierExtension.java ! src/java.base/share/classes/sun/security/x509/BasicConstraintsExtension.java ! src/java.base/share/classes/sun/security/x509/CRLDistributionPointsExtension.java ! src/java.base/share/classes/sun/security/x509/CRLExtensions.java ! src/java.base/share/classes/sun/security/x509/CRLNumberExtension.java ! src/java.base/share/classes/sun/security/x509/CRLReasonCodeExtension.java ! src/java.base/share/classes/sun/security/x509/CertificateAlgorithmId.java ! src/java.base/share/classes/sun/security/x509/CertificateExtensions.java ! src/java.base/share/classes/sun/security/x509/CertificateIssuerExtension.java ! src/java.base/share/classes/sun/security/x509/CertificatePoliciesExtension.java ! src/java.base/share/classes/sun/security/x509/CertificatePolicyId.java ! src/java.base/share/classes/sun/security/x509/CertificatePolicyMap.java ! src/java.base/share/classes/sun/security/x509/CertificatePolicySet.java ! src/java.base/share/classes/sun/security/x509/CertificateSerialNumber.java ! src/java.base/share/classes/sun/security/x509/CertificateSubjectName.java ! src/java.base/share/classes/sun/security/x509/CertificateValidity.java ! src/java.base/share/classes/sun/security/x509/CertificateVersion.java ! src/java.base/share/classes/sun/security/x509/CertificateX509Key.java ! src/java.base/share/classes/sun/security/x509/DNSName.java ! src/java.base/share/classes/sun/security/x509/DeltaCRLIndicatorExtension.java ! src/java.base/share/classes/sun/security/x509/DistributionPoint.java ! src/java.base/share/classes/sun/security/x509/DistributionPointName.java ! src/java.base/share/classes/sun/security/x509/EDIPartyName.java ! src/java.base/share/classes/sun/security/x509/ExtendedKeyUsageExtension.java ! src/java.base/share/classes/sun/security/x509/Extension.java ! src/java.base/share/classes/sun/security/x509/FreshestCRLExtension.java ! src/java.base/share/classes/sun/security/x509/GeneralName.java ! src/java.base/share/classes/sun/security/x509/GeneralNameInterface.java ! src/java.base/share/classes/sun/security/x509/GeneralNames.java ! src/java.base/share/classes/sun/security/x509/GeneralSubtree.java ! src/java.base/share/classes/sun/security/x509/GeneralSubtrees.java ! src/java.base/share/classes/sun/security/x509/IPAddressName.java ! src/java.base/share/classes/sun/security/x509/InhibitAnyPolicyExtension.java ! src/java.base/share/classes/sun/security/x509/InvalidityDateExtension.java ! src/java.base/share/classes/sun/security/x509/IssuerAlternativeNameExtension.java ! src/java.base/share/classes/sun/security/x509/IssuingDistributionPointExtension.java ! src/java.base/share/classes/sun/security/x509/KeyIdentifier.java ! src/java.base/share/classes/sun/security/x509/KeyUsageExtension.java ! src/java.base/share/classes/sun/security/x509/NameConstraintsExtension.java ! src/java.base/share/classes/sun/security/x509/NetscapeCertTypeExtension.java ! src/java.base/share/classes/sun/security/x509/OIDName.java ! src/java.base/share/classes/sun/security/x509/OtherName.java ! src/java.base/share/classes/sun/security/x509/PolicyConstraintsExtension.java ! src/java.base/share/classes/sun/security/x509/PolicyInformation.java ! src/java.base/share/classes/sun/security/x509/PolicyMappingsExtension.java ! src/java.base/share/classes/sun/security/x509/PrivateKeyUsageExtension.java ! src/java.base/share/classes/sun/security/x509/RDN.java ! src/java.base/share/classes/sun/security/x509/RFC822Name.java ! src/java.base/share/classes/sun/security/x509/ReasonFlags.java ! src/java.base/share/classes/sun/security/x509/SerialNumber.java ! src/java.base/share/classes/sun/security/x509/SubjectAlternativeNameExtension.java ! src/java.base/share/classes/sun/security/x509/SubjectInfoAccessExtension.java ! src/java.base/share/classes/sun/security/x509/SubjectKeyIdentifierExtension.java ! src/java.base/share/classes/sun/security/x509/URIName.java ! src/java.base/share/classes/sun/security/x509/UniqueIdentity.java ! src/java.base/share/classes/sun/security/x509/X400Address.java ! src/java.base/share/classes/sun/security/x509/X500Name.java ! src/java.base/share/classes/sun/security/x509/X509CRLEntryImpl.java ! src/java.base/share/classes/sun/security/x509/X509CRLImpl.java ! src/java.base/share/classes/sun/security/x509/X509CertImpl.java ! src/java.base/share/classes/sun/security/x509/X509CertInfo.java ! src/java.base/share/classes/sun/security/x509/X509Key.java ! src/java.security.jgss/share/classes/org/ietf/jgss/Oid.java ! src/java.security.jgss/share/classes/sun/security/jgss/GSSHeader.java ! src/java.security.jgss/share/classes/sun/security/jgss/GSSNameImpl.java ! src/java.security.jgss/share/classes/sun/security/jgss/spnego/NegTokenInit.java ! src/java.security.jgss/share/classes/sun/security/jgss/spnego/NegTokenTarg.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11ECKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Signature.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ECPrivateKeyImpl.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/XDHPrivateKeyImpl.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/EdDSAPrivateKeyImpl.java ! test/langtools/tools/jdeps/jdkinternals/src/q/NoRepl.java ! test/lib/jdk/test/lib/security/timestamp/TsaSigner.java Changeset: 33587ffd Author: Bo Zhang Committer: Jan Lahoda Date: 2022-11-29 13:57:56 +0000 URL: https://git.openjdk.org/loom/commit/33587ffd35c568c1ef034f064e6f3f06fe9943c3 8292625: jshell crash on "var a = a" Reviewed-by: jlaskey, jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! test/langtools/jdk/jshell/ToolSimpleTest.java ! test/langtools/tools/javac/attr/AttrRecoveryTest.java Changeset: cd6bebbf Author: Jamil Nimeh Date: 2022-11-29 14:40:20 +0000 URL: https://git.openjdk.org/loom/commit/cd6bebbf34215723fad1d6bfe070a409351920c1 8247645: ChaCha20 intrinsics Reviewed-by: sviswanathan, ngasson, vlivanov, ascarpino ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp + src/hotspot/cpu/aarch64/macroAssembler_aarch64_chacha.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.hpp + src/hotspot/cpu/x86/stubGenerator_x86_64_chacha.cpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/share/classfile/vmIntrinsics.cpp ! src/hotspot/share/classfile/vmIntrinsics.hpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/opto/escape.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/library_call.hpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/opto/runtime.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/stubRoutines.cpp ! src/hotspot/share/runtime/stubRoutines.hpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/java.base/share/classes/com/sun/crypto/provider/ChaCha20Cipher.java + test/hotspot/jtreg/compiler/intrinsics/chacha/ExerciseChaCha20.java + test/hotspot/jtreg/compiler/intrinsics/chacha/TestChaCha20.java ! test/micro/org/openjdk/bench/javax/crypto/full/CipherBench.java Changeset: 69ede5ba Author: Hannes Walln?fer Date: 2022-11-29 14:46:35 +0000 URL: https://git.openjdk.org/loom/commit/69ede5baeda6645aa3e961a02cbd40db965fc6a1 8293177: Verify version numbers in legal files Reviewed-by: jjg + test/langtools/jdk/javadoc/doclet/checkLibraryVersions/CheckLibraryVersions.java Changeset: 54e6d6aa Author: Bhavana Kilambi Committer: Nick Gasson Date: 2022-11-29 17:17:15 +0000 URL: https://git.openjdk.org/loom/commit/54e6d6aaeb5dec2dc1b9fb3ac9b34c8621df506d 8293488: Add EOR3 backend rule for aarch64 SHA3 extension Reviewed-by: haosun, njian, eliu, aturbanov, ngasson ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! test/hotspot/gtest/aarch64/aarch64-asmtest.py ! test/hotspot/gtest/aarch64/asmtest.out.h + test/hotspot/jtreg/compiler/vectorization/TestEor3AArch64.java + test/micro/org/openjdk/bench/vm/compiler/TestEor3.java Changeset: b778cd52 Author: Xue-Lei Andrew Fan Date: 2022-11-29 17:39:40 +0000 URL: https://git.openjdk.org/loom/commit/b778cd52b3fae013ecb21d90bcf940a4d947bd68 8295010: Reduce if required in EC limbs operations Reviewed-by: djelinski, jjiang ! src/java.base/share/classes/sun/security/util/math/MutableIntegerModuloP.java ! src/java.base/share/classes/sun/security/util/math/intpoly/IntegerPolynomial.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ECOperations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/Ed25519Operations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/Ed448Operations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/EdDSAOperations.java ! test/jdk/sun/security/util/math/BigIntegerModuloP.java ! test/jdk/sun/security/util/math/TestIntegerModuloP.java Changeset: 3ce00421 Author: Alexander Zvegintsev Date: 2022-11-29 17:56:02 +0000 URL: https://git.openjdk.org/loom/commit/3ce00421582bb75b722cb1a3dd13778fef95a710 8297780: Problem list java/awt/Frame/RestoreToOppositeScreen/RestoreToOppositeScreen.java Reviewed-by: aivanov ! test/jdk/ProblemList.txt Changeset: ae5b1f76 Author: Justin Lu Committer: Naoto Sato Date: 2022-11-29 18:32:44 +0000 URL: https://git.openjdk.org/loom/commit/ae5b1f765678a9928696acb7228b197e293171be 8297685: Typo in NullPointerException description specified by Locale.lookup Reviewed-by: naoto, lancea, jpai ! src/java.base/share/classes/java/util/Locale.java Changeset: 7af6b4b5 Author: Aggelos Biboudis Committer: Vicente Romero Date: 2022-11-29 19:33:18 +0000 URL: https://git.openjdk.org/loom/commit/7af6b4b54cc2ead4f5dbd6bfa7fd343b84c1d8b5 8296012: jshell crashes on mismatched record pattern Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java + test/langtools/jdk/jshell/Test8296012.java Changeset: 20844511 Author: Abhishek Kumar Committer: Phil Race Date: 2022-11-29 21:49:50 +0000 URL: https://git.openjdk.org/loom/commit/20844511939779649e1a51970edf29eb21f137e1 8078471: Backspace does not work in JFileChooser with GTK L&F Reviewed-by: psadhukhan, prr ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKFileChooserUI.java ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java + test/jdk/com/sun/java/swing/plaf/gtk/TestBackSpaceAction.java Changeset: f4063a3c Author: Per Minborg Committer: Phil Race Date: 2022-11-29 21:51:15 +0000 URL: https://git.openjdk.org/loom/commit/f4063a3cfd11442c1db79c0d474fe91241f9d453 8297210: Add a @sealedGraph tag to selected java.desktop classes Reviewed-by: prr ! src/java.desktop/share/classes/java/awt/MultipleGradientPaint.java ! src/java.desktop/share/classes/java/awt/TextComponent.java ! src/java.desktop/share/classes/java/awt/desktop/AppEvent.java ! src/java.desktop/share/classes/java/awt/desktop/FilesEvent.java ! src/java.desktop/share/classes/java/awt/event/InputEvent.java ! src/java.desktop/share/classes/java/awt/geom/Path2D.java ! src/java.desktop/share/classes/javax/swing/text/StyleConstants.java Changeset: e2d71c0a Author: Srinivas Mandalika Committer: Phil Race Date: 2022-11-29 21:54:33 +0000 URL: https://git.openjdk.org/loom/commit/e2d71c0a0d654841e3e591beeaa04b44c6e6b37f 8297481: Create a regression test for JDK-4424517 Reviewed-by: serb + test/jdk/java/awt/event/KeyEvent/KeyEventLocationTest.java Changeset: 0ce18272 Author: Jaikiran Pai Date: 2022-11-30 00:37:31 +0000 URL: https://git.openjdk.org/loom/commit/0ce182723b8d3a98c71c1b71fa1d3f5a7479fba8 8294321: Fix typos in files under test/jdk/java, test/jdk/jdk, test/jdk/jni Co-authored-by: Michael Ernst Reviewed-by: alanb, lancea, dfuchs ! test/jdk/java/lang/Math/HyperbolicTests.java ! test/jdk/java/lang/annotation/Missing/B.java ! test/jdk/java/math/BigDecimal/DivideTests.java ! test/jdk/java/net/Socket/Timeouts.java ! test/jdk/java/net/URLConnection/DisconnectAfterEOF.java ! test/jdk/java/nio/channels/TestServers.java ! test/jdk/java/rmi/server/RMIClassLoader/loadProxyClasses/LoadProxyClasses.java ! test/jdk/java/security/testlibrary/SimpleOCSPServer.java ! test/jdk/java/sql/testng/test/sql/DriverManagerTests.java ! test/jdk/java/util/Properties/ConcurrentLoadAndStoreXML.java ! test/jdk/java/util/logging/LogManager/Configuration/updateConfiguration/SimpleUpdateConfigurationTest.java ! test/jdk/java/util/regex/RegExTest.java ! test/jdk/java/util/spi/ToolProviderTest.java ! test/jdk/jdk/internal/jimage/JImageReadTest.java ! test/jdk/jdk/internal/loader/ClassLoaderValue/ClassLoaderValueTest.java ! test/jdk/jdk/nio/zipfs/Basic.java ! test/jdk/jni/nullCaller/CallHelper.hpp ! test/jdk/tools/jlink/CheckExecutable.java ! test/lib/jdk/test/lib/format/ArrayDiff.java Changeset: e10778ac Author: Jaikiran Pai Date: 2022-11-30 00:42:40 +0000 URL: https://git.openjdk.org/loom/commit/e10778accef05bb17eea20d589086b50e366dc4d 8297695: Fix typos in test/langtools files Co-authored-by: Michael Ernst Reviewed-by: prappo, jjg, iris ! test/langtools/jdk/javadoc/lib/javadoc/tester/JavadocTester.java ! test/langtools/tools/javac/VersionOpt.java ! test/langtools/tools/javac/annotations/typeAnnotations/classfile/CombinationsTargetTest2.java ! test/langtools/tools/javac/diags/ArgTypeCompilerFactory.java ! test/langtools/tools/javac/lambda/VoidCompatibility.java ! test/langtools/tools/javac/processing/filer/TestFilerConstraints.java ! test/langtools/tools/javac/scope/DupUnsharedTest.java ! test/langtools/tools/javac/tree/T8024415.java ! test/langtools/tools/javac/warnings/6594914/T6594914a.java ! test/langtools/tools/lib/builder/ClassBuilder.java Changeset: defe0607 Author: Sergey Bylokhov Date: 2022-11-30 01:00:44 +0000 URL: https://git.openjdk.org/loom/commit/defe0607e3ccd703c8c71b6fc9591d436817d306 8296905: Replace the native LCMS#getProfileID() method with the accessor Reviewed-by: prr ! src/java.desktop/share/classes/java/awt/color/ICC_Profile.java ! src/java.desktop/share/classes/sun/awt/AWTAccessor.java ! src/java.desktop/share/classes/sun/java2d/cmm/lcms/LCMS.java ! src/java.desktop/share/classes/sun/java2d/cmm/lcms/LCMSTransform.java ! src/java.desktop/share/native/liblcms/LCMS.c Changeset: 9ced2ea0 Author: Jaikiran Pai Date: 2022-11-30 01:11:24 +0000 URL: https://git.openjdk.org/loom/commit/9ced2ea0abdc0646a23873ab8ca443b6ca3e2e0a 8297311: Improve exception message thrown by java.net.HostPortrange::toLowerCase(String s) Reviewed-by: dfuchs, michaelm, rriggs ! src/java.base/share/classes/java/net/HostPortrange.java + test/jdk/java/net/URLPermission/InvalidCharacterTest.java Changeset: 87f00f4a Author: Sergey Bylokhov Date: 2022-11-30 03:22:52 +0000 URL: https://git.openjdk.org/loom/commit/87f00f4a1bfb392be0684edcdfa0254caec4ca03 8296878: Document Filter attached to JPasswordField and setText("") is not cleared instead inserted characters replaced with unicode null characters Reviewed-by: prr, aivanov ! src/java.desktop/share/classes/javax/swing/JPasswordField.java + test/jdk/javax/swing/JPasswordField/OldPasswordInDocumentFilter.java Changeset: 37f613ba Author: Sergey Bylokhov Date: 2022-11-30 04:16:13 +0000 URL: https://git.openjdk.org/loom/commit/37f613bad3b01b40d518de34630e1e6d63737a4c 8297676: DataBuffer.TYPE_SHORT/TYPE_FLOAT/TYPE_DOUBLE are not placeholders Reviewed-by: azvegint, prr ! src/java.desktop/share/classes/java/awt/image/DataBuffer.java Changeset: c7a679fb Author: Ioi Lam Date: 2022-11-30 05:34:03 +0000 URL: https://git.openjdk.org/loom/commit/c7a679fbdd7c775cdb931a560b498a17b9828f63 8297290: Use int indices to reference CDS archived primitive mirrors Reviewed-by: ccheung ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/heapShared.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/memory/universe.cpp ! src/hotspot/share/memory/universe.hpp Changeset: 5dcaf6cc Author: Johnny Lim Committer: Jaikiran Pai Date: 2022-11-30 06:15:07 +0000 URL: https://git.openjdk.org/loom/commit/5dcaf6cc6c3e9d73229ca6c2cc3b90ee37f5723b 8297749: Remove duplicate space in the ProtocolException message being thrown from HttpURLConnection Reviewed-by: dfuchs, jpai ! src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java ! test/jdk/sun/net/www/protocol/http/NTLMTest.java Changeset: abe532a8 Author: Tobias Hartmann Date: 2022-11-30 06:39:27 +0000 URL: https://git.openjdk.org/loom/commit/abe532a89cbdd2b959789611cecbad7c94f6a870 8296924: C2: assert(is_valid_AArch64_address(dest.target())) failed: bad address Co-authored-by: Andrew Haley Reviewed-by: aph, kvn ! src/hotspot/cpu/aarch64/aarch64.ad + test/hotspot/jtreg/compiler/unsafe/TestBadBaseAddress.java Changeset: 8ffed34e Author: Sergey Bylokhov Date: 2022-11-30 07:29:32 +0000 URL: https://git.openjdk.org/loom/commit/8ffed34e1da0ad2b9b6503f13831843dadfed319 8297681: Unnecessary color conversion during 4BYTE_ABGR_PRE to INT_ARGB_PRE blit Reviewed-by: prr ! src/java.desktop/share/native/libawt/java2d/loops/FourByteAbgrPre.c + test/jdk/sun/java2d/loops/SkipConversionIfPossible.java Changeset: 22f5d014 Author: Julian Waters Date: 2022-11-30 07:37:22 +0000 URL: https://git.openjdk.org/loom/commit/22f5d014287a5cae2c0503ab3f9730f64725605a 8252584: HotSpot Style Guide should permit alignas Co-authored-by: Kim Barrett Reviewed-by: kbarrett ! doc/hotspot-style.html ! doc/hotspot-style.md Changeset: f05bfb15 Author: Per Minborg Committer: Julian Waters Date: 2022-11-30 07:43:17 +0000 URL: https://git.openjdk.org/loom/commit/f05bfb157837f5854efe1ce96070c615de21d1a9 8297515: serialVersionUID fields are not annotated with @Serial Reviewed-by: rriggs, lancea ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Config.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecureRandom.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11RuntimeException.java Changeset: b3501fd1 Author: Aleksey Shipilev Date: 2022-11-30 09:09:42 +0000 URL: https://git.openjdk.org/loom/commit/b3501fd11c59813515b46f80283e22b094c6e251 8297600: Check current thread in selected JRT_LEAF methods Reviewed-by: dholmes, coleenp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/gc/g1/g1BarrierSetRuntime.cpp ! src/hotspot/share/gc/shenandoah/shenandoahRuntime.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp Changeset: 9e80cf9c Author: Jan Lahoda Date: 2022-11-30 09:47:48 +0000 URL: https://git.openjdk.org/loom/commit/9e80cf9c37f4dbc6e176a59dce92817c109dd561 8296390: Incremental build failed with a NPE Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Modules.java ! test/langtools/tools/javac/modules/ModulesAndModuleSourcePathTest.java Changeset: b52611bc Author: Jan Lahoda Date: 2022-11-30 09:49:51 +0000 URL: https://git.openjdk.org/loom/commit/b52611bc36d4fa7b62d1bb1618aa5185f75bf5d0 8295401: Error recovery in module-info.java could be improved Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java ! test/langtools/tools/javac/parser/JavacParserTest.java Changeset: 3f8882b2 Author: Jaikiran Pai Date: 2022-11-30 11:28:11 +0000 URL: https://git.openjdk.org/loom/commit/3f8882b2ebeeb25fbfddc1be3a069181856c2e27 8297693: Fix typos in src/hotspot and test/hotspot files Co-authored-by: Michael Ernst Reviewed-by: kevinw, dholmes, sspitsyn ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/ppc/frame_ppc.inline.hpp ! src/hotspot/cpu/s390/frame_s390.inline.hpp ! src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp ! src/hotspot/share/opto/memnode.cpp ! src/hotspot/share/opto/stringopts.cpp ! src/hotspot/share/runtime/os.cpp ! test/hotspot/jtreg/vmTestbase/nsk/jdi/AttachingConnector/attach/attach003/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdwp/ClassType/SetValues/setvalues001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdwp/ObjectReference/SetValues/setvalues001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/share/locks/DeadlockMaker.java ! test/hotspot/jtreg/vmTestbase/vm/share/options/package-info.java Changeset: 27b339d1 Author: Matthias Baesken Date: 2022-11-30 12:49:23 +0000 URL: https://git.openjdk.org/loom/commit/27b339d1893e60fc894ace9ae3c0e052ae858627 8297523: Various GetPrimitiveArrayCritical miss result - NULL check Reviewed-by: stuefe, jdv ! src/java.desktop/macosx/native/libawt_lwawt/awt/CClipboard.m ! src/java.desktop/macosx/native/libawt_lwawt/font/CCharToGlyphMapper.m ! src/java.desktop/macosx/native/libosxui/JRSUIController.m ! src/java.desktop/unix/native/libawt_xawt/awt/swing_GTKEngine.c ! src/java.desktop/windows/native/libawt/windows/ThemeReader.cpp ! src/java.desktop/windows/native/libawt/windows/awt_DataTransferer.cpp ! src/java.desktop/windows/native/libawt/windows/awt_Toolkit.cpp Changeset: 4d730f56 Author: Magnus Ihse Bursie Date: 2022-11-30 12:56:25 +0000 URL: https://git.openjdk.org/loom/commit/4d730f561fc493a956386b053de492933933ff54 8297644: RISC-V: Compilation error when shenandoah is disabled Reviewed-by: fyang, yadongwang ! src/hotspot/cpu/riscv/riscv.ad Changeset: a97e7d98 Author: Albert Mingkun Yang Date: 2022-11-30 13:01:34 +0000 URL: https://git.openjdk.org/loom/commit/a97e7d9887e448c88f59cf70bfb8ab72435ece9c 8297740: runtime/ClassUnload/UnloadTest.java failed with "Test failed: should still be live" Reviewed-by: dcubed ! test/hotspot/jtreg/runtime/ClassUnload/UnloadTest.java Changeset: 301cf52f Author: Coleen Phillimore Date: 2022-11-30 13:14:52 +0000 URL: https://git.openjdk.org/loom/commit/301cf52fa2a913eb6bda1e31cbcb8e438a64c56e 8297284: ResolutionErrorTable's key is wrong Reviewed-by: matsaave, iklam ! src/hotspot/share/classfile/resolutionErrors.cpp ! src/hotspot/share/classfile/resolutionErrors.hpp Changeset: be99e84c Author: Erik ?sterlund Date: 2022-11-30 14:08:57 +0000 URL: https://git.openjdk.org/loom/commit/be99e84c98786ff9c2c9ca1a979dc17ba810ae09 8296875: Generational ZGC: Refactor loom code Co-authored-by: Stefan Karlsson Co-authored-by: Axel Boldt-Christmas Reviewed-by: stefank, rrich, pchilanomate ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp ! src/hotspot/share/gc/shared/barrierSet.cpp ! src/hotspot/share/gc/shared/barrierSet.hpp + src/hotspot/share/gc/shared/barrierSetStackChunk.cpp + src/hotspot/share/gc/shared/barrierSetStackChunk.hpp ! src/hotspot/share/gc/shared/memAllocator.cpp ! src/hotspot/share/gc/shared/memAllocator.hpp ! src/hotspot/share/gc/shared/modRefBarrierSet.hpp ! src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.cpp + src/hotspot/share/gc/shenandoah/shenandoahBarrierSetStackChunk.cpp + src/hotspot/share/gc/shenandoah/shenandoahBarrierSetStackChunk.hpp ! src/hotspot/share/gc/z/zBarrierSet.cpp + src/hotspot/share/gc/z/zBarrierSetStackChunk.cpp + src/hotspot/share/gc/z/zBarrierSetStackChunk.hpp ! src/hotspot/share/memory/iterator.hpp ! src/hotspot/share/oops/instanceStackChunkKlass.hpp ! src/hotspot/share/oops/instanceStackChunkKlass.inline.hpp ! src/hotspot/share/oops/stackChunkOop.cpp ! src/hotspot/share/oops/stackChunkOop.hpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/prims/jvmtiEnvBase.cpp ! src/hotspot/share/prims/stackwalk.hpp ! src/hotspot/share/runtime/continuation.cpp ! src/hotspot/share/runtime/continuation.hpp ! src/hotspot/share/runtime/continuationEntry.cpp ! src/hotspot/share/runtime/continuationEntry.hpp ! src/hotspot/share/runtime/continuationEntry.inline.hpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/continuationJavaClasses.hpp ! src/hotspot/share/runtime/continuationJavaClasses.inline.hpp ! src/hotspot/share/runtime/continuationWrapper.cpp ! src/hotspot/share/runtime/continuationWrapper.inline.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/stackValue.cpp ! src/hotspot/share/runtime/stackValue.hpp ! src/hotspot/share/runtime/vframe.cpp ! src/hotspot/share/runtime/vframe.inline.hpp Changeset: be4245e8 Author: Erik ?sterlund Date: 2022-11-30 14:15:18 +0000 URL: https://git.openjdk.org/loom/commit/be4245e814cc29701cc425d8e66854e36eb3aef0 8294924: JvmtiExport::post_exception_throw() doesn't deal well with concurrent stack processing Reviewed-by: pchilanomate, sspitsyn, dholmes ! src/hotspot/share/prims/jvmtiExport.cpp Changeset: a1f4db55 Author: Stefan Johansson Date: 2022-11-30 14:51:31 +0000 URL: https://git.openjdk.org/loom/commit/a1f4db55c517143f8dbf448c21448a08de3cbdd8 8297584: G1 parallel phase event for scan heap roots is sent too often Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1RemSet.cpp Changeset: dcf431db Author: Afshin Zafari Committer: Robbin Ehn Date: 2022-11-30 16:38:24 +0000 URL: https://git.openjdk.org/loom/commit/dcf431db0b88c33e574b5986f22df5ed6e9b8be4 8287400: Make BitMap range parameter names consistent Reviewed-by: dholmes, lkorinth ! src/hotspot/share/utilities/bitMap.cpp ! src/hotspot/share/utilities/bitMap.hpp Changeset: c6855691 Author: Joe Darcy Date: 2022-11-30 16:51:26 +0000 URL: https://git.openjdk.org/loom/commit/c68556916ae7cc0301f3c89c05148547dcb44278 8297731: Remove redundant check in MutableBigInteger.divide Reviewed-by: bpb ! src/java.base/share/classes/java/math/MutableBigInteger.java From david.holmes at oracle.com Tue Dec 6 04:52:54 2022 From: david.holmes at oracle.com (David Holmes) Date: Tue, 6 Dec 2022 14:52:54 +1000 Subject: RFR: 8292674: ReportJNIFatalError should print all java frames In-Reply-To: <-ipNtt5PSZ2d7VUBSoduPyNwnW2GeN_y0Dcs95qI8HU=.c4771172-01dd-49ae-8f4a-9d5cbd6c6dad@github.com> References: <-ipNtt5PSZ2d7VUBSoduPyNwnW2GeN_y0Dcs95qI8HU=.c4771172-01dd-49ae-8f4a-9d5cbd6c6dad@github.com> Message-ID: FYI (skara doesn't recopgnise loom-dev as a target ML.) -------- Forwarded Message -------- Subject: RFR: 8292674: ReportJNIFatalError should print all java frames Date: Tue, 6 Dec 2022 00:08:42 GMT From: David Holmes To: hotspot-dev at openjdk.org When JNI reports errors and warnings and produces a stack trace, we need to see the exact Java code that was being executed. The existing `JavaThread::print_stack` that is used is only for platform/carrier threads and doesn't show any mounted virtual thread. So we introduce a new `JavaThread::print_virtual_stack_on` method to print the mounted virtual thread's stack, and we add `JavaThread::print_jni_stack` as a utility for JNI to call that dispatches to the appropriate function based on the thread type. The existing test `hotspot/jtreg/runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java` was modified to test regular and virtual threads, and to expect to see the specific stack frame of the Java native method. Additional manual testing of the JNI `FatalError` method was done by direct fault injection in modified JDK code. Sanity testing: Oracle tiers 1-4 (to include our -Xcheck:jni run in tier4) Thanks, David ------------- Commit messages: - 8292674: ReportJNIFatalError should print all java frames Changes: https://git.openjdk.org/jdk/pull/11503/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11503&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8292674 Stats: 95 lines in 6 files changed: 79 ins; 3 del; 13 mod Patch: https://git.openjdk.org/jdk/pull/11503.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11503/head:pull/11503 PR: https://git.openjdk.org/jdk/pull/11503 From duke at openjdk.org Thu Dec 8 23:42:49 2022 From: duke at openjdk.org (duke) Date: Thu, 8 Dec 2022 23:42:49 GMT Subject: git: openjdk/loom: fibers: jtreg MW updated Message-ID: <79046a15-53e6-42d1-9126-079179c65d5f@openjdk.org> Changeset: 7c0a561d Author: Leonid Mesnik Date: 2022-12-08 23:35:53 +0000 URL: https://git.openjdk.org/loom/commit/7c0a561d18e8579ca6d0d26f337ad3131ed875b6 jtreg MW updated ! make/conf/jib-profiles.js ! test/jtreg_main_wrapper/src/share/classes/Virtual.java From duke at openjdk.org Fri Dec 9 08:50:02 2022 From: duke at openjdk.org (duke) Date: Fri, 9 Dec 2022 08:50:02 GMT Subject: git: openjdk/loom: fibers: 176 new changesets Message-ID: <6a6975e5-bd81-4637-bf99-9b8144035542@openjdk.org> Changeset: 1323e98d Author: Chris Plummer Date: 2022-11-30 18:08:19 +0000 URL: https://git.openjdk.org/loom/commit/1323e98df14f16310ca1349db198ee17409cda49 8297170: misc JCK tests fail with "FATAL ERROR in native method: JDWP Can't disable vthread end events, jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)" Reviewed-by: amenkov, dcubed, lmesnik, sspitsyn ! src/jdk.jdwp.agent/share/native/libjdwp/eventHandler.c Changeset: 53dd2143 Author: Alex Menkov Date: 2022-11-30 18:39:24 +0000 URL: https://git.openjdk.org/loom/commit/53dd214318c7367ceccc511f1a5220797c5e253f 8297742: Combine vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount tests Reviewed-by: dholmes, lmesnik, kevinw, sspitsyn ! test/hotspot/jtreg/TEST.quick-groups ! test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset001.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset001/TestDescription.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset002/TestDescription.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset003/TestDescription.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset004/TestDescription.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset005/TestDescription.java Changeset: 6bac3323 Author: Magnus Ihse Bursie Date: 2022-11-30 18:59:47 +0000 URL: https://git.openjdk.org/loom/commit/6bac332371d4c0a8cdf31b6603f8cbb6d2490f65 8297853: windows-x86 test build broken Reviewed-by: jvernee ! test/micro/org/openjdk/bench/java/lang/foreign/libQSortJNI.c Changeset: 1a2ff587 Author: Jorn Vernee Date: 2022-11-30 19:59:43 +0000 URL: https://git.openjdk.org/loom/commit/1a2ff58761d755c2330dec46e3eb53bc6d9a9839 8297736: test/jdk/java/foreign/TestMatrix.java is broken 8291642: java/foreign/TestMatrix.java -few tests are failing due to JDK-8287158. Reviewed-by: mcimadamore ! test/jdk/java/foreign/TestMatrix.java Changeset: 1722f9cc Author: Jorn Vernee Date: 2022-11-30 20:00:59 +0000 URL: https://git.openjdk.org/loom/commit/1722f9cce346563923fcebd92b32ea2cb30ea744 8290231: java/foreign/malloc/TestMixedMallocFree.java crashed in JDK19 ATR run Reviewed-by: mcimadamore - test/jdk/java/foreign/malloc/TestMixedMallocFree.java - test/jdk/java/foreign/malloc/libMalloc.c Changeset: e9d501e4 Author: Per Minborg Committer: Weijun Wang Date: 2022-11-30 20:19:52 +0000 URL: https://git.openjdk.org/loom/commit/e9d501e442f78bec8bda38bd4f2e019005597a91 8297519: Improve expressions and modernise code in PKCS Reviewed-by: weijun ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Config.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/KeyCache.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11AEADCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Cipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11DHKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11DSAKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Digest.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11ECDHKeyAgreement.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11ECKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyAgreement.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyPairGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyStore.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyWrapCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PSSSignature.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11RSACipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11RSAKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Signature.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11TlsMasterSecretGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11TlsPrfGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Secmod.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Session.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SessionManager.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/TemplateManager.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java Changeset: 4485d4e5 Author: Claes Redestad Date: 2022-11-30 20:53:56 +0000 URL: https://git.openjdk.org/loom/commit/4485d4e517b6dece7a9eeb5cf9a2180d84956da3 8297728: Cache invocation type rather than invoker in NamedFunction Reviewed-by: jvernee ! src/java.base/share/classes/java/lang/invoke/LambdaForm.java Changeset: 3b513a4f Author: Jonathan Gibbons Date: 2022-12-01 00:26:27 +0000 URL: https://git.openjdk.org/loom/commit/3b513a4f5cc9b607f93dcc9d1ba52280a2cf42f0 8297802: display of @spec tags should mimic that of @see tags Reviewed-by: prappo ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/SpecTaglet.java ! test/langtools/jdk/javadoc/doclet/testConstructors/TestConstructors.java ! test/langtools/jdk/javadoc/doclet/testGenericTypeLink/TestGenericTypeLink.java ! test/langtools/jdk/javadoc/doclet/testHref/TestHref.java ! test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFX.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFXCombo.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFXMissingPropComments.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOption.java ! test/langtools/jdk/javadoc/doclet/testModules/TestModules.java ! test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/TestNewLanguageFeatures.java ! test/langtools/jdk/javadoc/doclet/testOverview/TestOverview.java ! test/langtools/jdk/javadoc/doclet/testProperty/TestProperty.java ! test/langtools/jdk/javadoc/doclet/testSeeTag/TestSeeTag.java ! test/langtools/jdk/javadoc/doclet/testSeeTag/TestSeeTagWithModule.java ! test/langtools/jdk/javadoc/doclet/testSerializedForm/TestSerializedForm.java ! test/langtools/jdk/javadoc/doclet/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java ! test/langtools/jdk/javadoc/doclet/testSingletonLists/TestSingletonLists.java ! test/langtools/jdk/javadoc/doclet/testSpecTag/TestSpecTag.java ! test/langtools/jdk/javadoc/doclet/testTagOrder/TestTagOrder.java Changeset: f49acd52 Author: Feilong Jiang Committer: Fei Yang Date: 2022-12-01 04:01:25 +0000 URL: https://git.openjdk.org/loom/commit/f49acd52594be3ec1e9682bda3ad69970dfd750d 8297697: RISC-V: Add support for SATP mode detection Reviewed-by: fyang, luhenry ! src/hotspot/cpu/riscv/vm_version_riscv.cpp ! src/hotspot/cpu/riscv/vm_version_riscv.hpp ! src/hotspot/os_cpu/linux_riscv/vm_version_linux_riscv.cpp Changeset: 56048f97 Author: Julian Waters Date: 2022-12-01 04:21:52 +0000 URL: https://git.openjdk.org/loom/commit/56048f9718d1104227795a23c02fa144543c07d0 8297852: Backout 8252584 for the time being Reviewed-by: kbarrett ! doc/hotspot-style.html ! doc/hotspot-style.md Changeset: c6125120 Author: Prasanta Sadhukhan Date: 2022-12-01 07:57:10 +0000 URL: https://git.openjdk.org/loom/commit/c61251201402f15bf0795564bf31545d9c72ee41 8296660: Swing HTML table with omitted closing tags misparsed Reviewed-by: prr, jdv ! src/java.desktop/share/classes/javax/swing/text/html/parser/Parser.java + test/jdk/javax/swing/text/html/parser/TestHtmlOptionalClosingTag.java Changeset: 756dd5bb Author: Jan Lahoda Date: 2022-12-01 08:02:40 +0000 URL: https://git.openjdk.org/loom/commit/756dd5bb0d2ab3f956ecc6cfcf2b87810c763572 8294942: Compiler implementation for Record Patterns (Second Preview) 8294945: Compiler implementation for Pattern Matching for switch (Fourth Preview) Co-authored-by: Aggelos Biboudis Co-authored-by: Maurizio Cimadamore Reviewed-by: mcimadamore, vromero ! src/jdk.compiler/share/classes/com/sun/source/tree/DeconstructionPatternTree.java ! src/jdk.compiler/share/classes/com/sun/source/tree/InstanceOfTree.java ! src/jdk.compiler/share/classes/com/sun/source/util/TreeScanner.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.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.compiler/share/classes/com/sun/tools/javac/comp/Flow.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransPatterns.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/Pretty.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeCopier.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeMaker.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeScanner.java + test/langtools/tools/javac/diags/examples/DefaultLabelNotAllowed.java ! test/langtools/tools/javac/diags/examples/FlowsThroughToPattern.java + test/langtools/tools/javac/diags/examples/InvalidCaseLabelCombination.java + test/langtools/tools/javac/diags/examples/PatternTypeCannotInfer.java - test/langtools/tools/javac/diags/examples/RawDeconstructionPattern.java - test/langtools/tools/javac/patterns/CaseDefault.java - test/langtools/tools/javac/patterns/CaseDefault.out ! test/langtools/tools/javac/patterns/CaseStructureTest.java ! test/langtools/tools/javac/patterns/DeconstructionPatternErrors.java ! test/langtools/tools/javac/patterns/DeconstructionPatternErrors.out ! test/langtools/tools/javac/patterns/Exhaustiveness.java ! test/langtools/tools/javac/patterns/GenericRecordDeconstructionPattern.java ! test/langtools/tools/javac/patterns/Guards.java + test/langtools/tools/javac/patterns/InferenceUnitTest.java + test/langtools/tools/javac/patterns/NewCaseStructureTest.java ! test/langtools/tools/javac/patterns/NullSwitch.java ! test/langtools/tools/javac/patterns/PrettyTest.java ! test/langtools/tools/javac/patterns/SimpleDeconstructionPattern.java ! test/langtools/tools/javac/patterns/SimpleDeconstructionPatternNoPreview.out ! test/langtools/tools/javac/patterns/SwitchErrors.java ! test/langtools/tools/javac/patterns/SwitchErrors.out ! test/langtools/tools/javac/patterns/Switches.java ! test/langtools/tools/javac/switchnull/SwitchNull.java Changeset: ce048e7c Author: Abhishek Kumar Committer: Jayathirth D V Date: 2022-12-01 08:07:22 +0000 URL: https://git.openjdk.org/loom/commit/ce048e7cb55517e2710dfe4e802602869d8c5cb8 8295006: Colored text is not shown on disabled checkbox and radio button with GTK LAF for bug4314194. Reviewed-by: prr, tr ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java ! test/jdk/ProblemList.txt Changeset: 34fcd83c Author: Aleksey Shipilev Date: 2022-12-01 08:11:54 +0000 URL: https://git.openjdk.org/loom/commit/34fcd83c5ea54f94b60ebda0a111d0fe8ea9cbec 8297821: jdk/jshell/Test8294583.java fails on some platforms Reviewed-by: alanb, jlahoda ! test/langtools/jdk/jshell/Test8294583.java Changeset: fa0c599a Author: Andrey Turbanov Date: 2022-12-01 08:16:55 +0000 URL: https://git.openjdk.org/loom/commit/fa0c599a003962cf3457bb49b9f771659532b5c3 8297750: Unnecessary Vector usage in IIORegistry Reviewed-by: prr, serb ! src/java.desktop/share/classes/javax/imageio/spi/IIORegistry.java Changeset: 9f24a6f4 Author: Tobias Hartmann Date: 2022-12-01 08:49:54 +0000 URL: https://git.openjdk.org/loom/commit/9f24a6f43c6a5e1fa92275e0a87af4f1f0603ba3 8297389: resexhausted003 fails with assert(!thread->owns_locks()) failed: must release all locks when leaving VM Reviewed-by: dholmes, rrich, dlong ! src/hotspot/share/ci/ciReplay.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/methodData.cpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp Changeset: 79411478 Author: Albert Mingkun Yang Date: 2022-12-01 10:00:57 +0000 URL: https://git.openjdk.org/loom/commit/794114787b03e2a89ce7343b4fad94bb61494f94 8297503: Merge FilteringDCTOC into ContiguousSpaceDCTOC Reviewed-by: tschatzl, kbarrett ! src/hotspot/share/gc/shared/space.cpp ! src/hotspot/share/gc/shared/space.hpp Changeset: eea1a8a9 Author: Stefan Johansson Date: 2022-12-01 10:30:14 +0000 URL: https://git.openjdk.org/loom/commit/eea1a8a95e172ef5221ab622d171f46cc6cbb598 8297427: Avoid keeping class loaders alive when executing ClassLoaderStatsVMOperation Reviewed-by: eosterlund, stefank ! src/hotspot/share/classfile/classLoaderDataGraph.cpp ! src/hotspot/share/classfile/classLoaderDataGraph.hpp ! src/hotspot/share/classfile/classLoaderStats.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/javaClasses.hpp ! src/hotspot/share/prims/whitebox.cpp + test/hotspot/jtreg/runtime/ClassUnload/UnloadTestDuringClassLoaderStatsVMOperation.java + test/hotspot/jtreg/runtime/ClassUnload/classes/test/LoadInChild.java + test/hotspot/jtreg/runtime/ClassUnload/classes/test/LoadInParent.java ! test/lib/jdk/test/whitebox/WhiteBox.java Changeset: cd776093 Author: Alan Bateman Date: 2022-12-01 10:40:36 +0000 URL: https://git.openjdk.org/loom/commit/cd776093c79e9a1a4c40c0adfdbfeedf293d99c7 8294278: ForkJoinPool.getAndAddPoolIds should use Unsafe.staticFieldBase Reviewed-by: burban, chegar, martin ! src/java.base/share/classes/java/lang/Thread.java ! src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java Changeset: b60cce6f Author: Jan Lahoda Date: 2022-12-01 10:51:57 +0000 URL: https://git.openjdk.org/loom/commit/b60cce6f3bf7dc96d632aa361a6eb10691dcf5c1 8297118: Change IncompatibleClassChangeError to MatchException for exhaustive switch statements and switch expressions Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java ! test/langtools/tools/javac/patterns/EnumTypeChanges.java + test/langtools/tools/javac/patterns/EnumTypeChangesNonPreview.java + test/langtools/tools/javac/patterns/MatchExceptionTest.java Changeset: fc9d419b Author: Jan Lahoda Date: 2022-12-01 11:46:13 +0000 URL: https://git.openjdk.org/loom/commit/fc9d419b4ff46e484fa8798304dae29d3946dcfb 8297928: Update jdk.internal.javac.PreviewFeature.Feature to reflect JEP 432 and JEP 433 Reviewed-by: alanb ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java Changeset: 2cb64a75 Author: Aggelos Biboudis Committer: Jan Lahoda Date: 2022-12-01 12:40:09 +0000 URL: https://git.openjdk.org/loom/commit/2cb64a75578ccc15a1dfc8c2843aa11d05ca8aa7 8294943: Implement record patterns in enhanced for 8296802: Parse errors when deconstructing a record using the enhanced for loop of JEP 432 Co-authored-by: Jan Lahoda Co-authored-by: Aggelos Biboudis Co-authored-by: Maurizio Cimadamore Reviewed-by: mcimadamore, vromero ! src/jdk.compiler/share/classes/com/sun/source/tree/EnhancedForLoopTree.java ! src/jdk.compiler/share/classes/com/sun/source/util/TreeScanner.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Analyzer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransPatterns.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TreeDiffer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/CRTable.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/Pretty.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeCopier.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeMaker.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeScanner.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeTranslator.java + test/langtools/tools/javac/diags/examples/ForeachNotExhaustive.java ! test/langtools/tools/javac/lib/DPrinter.java ! test/langtools/tools/javac/patterns/DisambiguatePatterns.java + test/langtools/tools/javac/patterns/ForEachPatterns.java + test/langtools/tools/javac/patterns/ForEachPatternsErrors.java + test/langtools/tools/javac/patterns/ForEachPatternsErrors.out + test/langtools/tools/javac/patterns/ForEachTestAllAnalyzers.java ! test/langtools/tools/javac/patterns/GenericRecordDeconstructionPattern.java Changeset: 9430f3e6 Author: Roland Westrelin Date: 2022-12-01 14:19:28 +0000 URL: https://git.openjdk.org/loom/commit/9430f3e65c4900e121858dc111b6f20207e0694f 8297934: [BACKOUT] Compiler should only use verified interface types for optimization Reviewed-by: thartmann, kvn ! src/hotspot/share/ci/ciArrayKlass.cpp ! src/hotspot/share/ci/ciArrayKlass.hpp ! src/hotspot/share/ci/ciInstanceKlass.cpp ! src/hotspot/share/ci/ciInstanceKlass.hpp ! src/hotspot/share/ci/ciObjectFactory.cpp ! src/hotspot/share/opto/castnode.cpp ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/doCall.cpp ! src/hotspot/share/opto/graphKit.cpp ! src/hotspot/share/opto/idealGraphPrinter.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/memnode.cpp ! src/hotspot/share/opto/node.cpp ! src/hotspot/share/opto/parse1.cpp ! src/hotspot/share/opto/parse3.cpp ! src/hotspot/share/opto/parseHelper.cpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/opto/type.cpp ! src/hotspot/share/opto/type.hpp ! test/hotspot/jtreg/compiler/intrinsics/klass/CastNullCheckDroppingsTest.java - test/hotspot/jtreg/compiler/types/TestExactArrayOfBasicType.java Changeset: eec24aa2 Author: Erik Gahlin Date: 2022-12-01 15:01:42 +0000 URL: https://git.openjdk.org/loom/commit/eec24aa2039658afd6d2fde790174d982eae6479 8295350: JFR: Add stop methods for recording streams Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingStream.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/snippet-files/Snippets.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/AbstractEventStream.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/EventDirectoryStream.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/management/ManagementSupport.java + src/jdk.jfr/share/classes/jdk/jfr/internal/management/StreamBarrier.java ! src/jdk.management.jfr/share/classes/jdk/management/jfr/DiskRepository.java ! src/jdk.management.jfr/share/classes/jdk/management/jfr/RemoteRecordingStream.java ! test/jdk/jdk/jfr/api/consumer/recordingstream/EventProducer.java ! test/jdk/jdk/jfr/api/consumer/recordingstream/TestDump.java + test/jdk/jdk/jfr/api/consumer/recordingstream/TestStop.java + test/jdk/jdk/jfr/jmx/streaming/TestStop.java Changeset: c6156f91 Author: Sergey Tsypanov Committer: Andrey Turbanov Date: 2022-12-01 15:28:39 +0000 URL: https://git.openjdk.org/loom/commit/c6156f9123c02b814ce0615568499f60d95b461a 8297561: Redundant index check in String.offsetByCodePoints() Reviewed-by: aturbanov, rriggs, redestad ! src/java.base/share/classes/java/lang/String.java + test/micro/org/openjdk/bench/java/lang/StringOffsetByCodePoints.java Changeset: 5459b110 Author: Albert Mingkun Yang Date: 2022-12-01 15:32:27 +0000 URL: https://git.openjdk.org/loom/commit/5459b1104fa9ae58c8dce40820b5dba1f68d14a4 8297033: G1: Improve logging for Remembered Sets Reviewed-by: tschatzl, kbarrett ! src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp ! src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp ! src/hotspot/share/gc/g1/g1RemSet.cpp Changeset: 4899d782 Author: Matthijs Bijman Committer: Tobias Hartmann Date: 2022-12-01 15:57:09 +0000 URL: https://git.openjdk.org/loom/commit/4899d7829246cf3c082ab3c0df9221853d1520a9 8293294: Remove dead code in Parse::check_interpreter_type Reviewed-by: vlivanov, thartmann ! src/hotspot/share/opto/parse1.cpp Changeset: c70d1e1b Author: Christian Stein Date: 2022-12-01 16:49:40 +0000 URL: https://git.openjdk.org/loom/commit/c70d1e1bd32c71e0d2df635bc565201a09084a83 8296710: Update to use jtreg 7.1 Reviewed-by: erikj, alanb, jjg ! make/autoconf/lib-tests.m4 ! make/conf/github-actions.conf ! make/conf/jib-profiles.js ! test/hotspot/jtreg/TEST.ROOT ! test/jaxp/TEST.ROOT ! test/jdk/TEST.ROOT ! test/langtools/TEST.ROOT ! test/lib-test/TEST.ROOT Changeset: 9f94cbec Author: Alexander Zvegintsev Date: 2022-12-01 18:10:31 +0000 URL: https://git.openjdk.org/loom/commit/9f94cbec51df7556d34fffa810e59dd9eb8521df 8271519: java/awt/event/SequencedEvent/MultipleContextsFunctionalTest.java failed with "Total [200] - Expected [400]" Reviewed-by: serb ! test/jdk/java/awt/event/SequencedEvent/MultipleContextsFunctionalTest.java Changeset: 09629570 Author: Harshitha Onkar Date: 2022-12-01 18:57:50 +0000 URL: https://git.openjdk.org/loom/commit/09629570f5d064dc2a5cd670de8d648156ac3991 8297449: Update JInternalFrame Metal Border code Reviewed-by: aivanov, kizune ! src/java.desktop/share/classes/javax/swing/plaf/metal/MetalBorders.java Changeset: 391599bc Author: Ioi Lam Date: 2022-12-01 19:59:14 +0000 URL: https://git.openjdk.org/loom/commit/391599bc9d6b28a88e86d37464bb76e1e5314ce3 8297313: Refactor APIs for calculating address of CDS archive heap regions Reviewed-by: matsaave, ccheung ! src/hotspot/share/cds/archiveHeapLoader.cpp ! src/hotspot/share/cds/archiveHeapLoader.hpp ! src/hotspot/share/cds/archiveHeapLoader.inline.hpp ! src/hotspot/share/cds/archiveUtils.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/include/cds.h ! test/hotspot/jtreg/runtime/cds/appcds/TestSerialGCWithCDS.java Changeset: 5a5ced3a Author: Kim Barrett Date: 2022-12-01 20:15:14 +0000 URL: https://git.openjdk.org/loom/commit/5a5ced3a900a81fd0b0757017f4138ce97e2521e 8297830: aarch64: Make Address a discriminated union internally Reviewed-by: aph, dcubed ! src/hotspot/cpu/aarch64/assembler_aarch64.cpp ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp Changeset: c69aa42d Author: Andrew Haley Date: 2022-12-01 20:34:18 +0000 URL: https://git.openjdk.org/loom/commit/c69aa42d02dba4612998d6ecdc57286774da9d33 8297968: Crash in PrintOptoAssembly Reviewed-by: kvn ! src/hotspot/share/opto/matcher.cpp Changeset: 770ff5a8 Author: Joe Darcy Date: 2022-12-01 20:38:16 +0000 URL: https://git.openjdk.org/loom/commit/770ff5a812d7b895ed2badfef9bb4e0b211d55bb 8297215: Update libs tests to use @enablePreview Reviewed-by: alanb, sspitsyn ! test/jdk/java/lang/Thread/BuilderTest.java ! test/jdk/java/lang/Thread/virtual/Collectable.java ! test/jdk/java/lang/Thread/virtual/CustomScheduler.java ! test/jdk/java/lang/Thread/virtual/GetStackTrace.java ! test/jdk/java/lang/Thread/virtual/GetStackTraceWhenRunnable.java ! test/jdk/java/lang/Thread/virtual/HoldsLock.java ! test/jdk/java/lang/Thread/virtual/JfrEvents.java ! test/jdk/java/lang/Thread/virtual/Locking.java ! test/jdk/java/lang/Thread/virtual/ParkWithFixedThreadPool.java ! test/jdk/java/lang/Thread/virtual/Parking.java ! test/jdk/java/lang/Thread/virtual/Reflection.java ! test/jdk/java/lang/Thread/virtual/ShutdownHook.java ! test/jdk/java/lang/Thread/virtual/StackTraces.java ! test/jdk/java/lang/Thread/virtual/ThreadLocals.java ! test/jdk/java/lang/Thread/virtual/WaitNotify.java ! test/jdk/java/lang/Thread/virtual/stress/GetStackTraceALot.java ! test/jdk/java/lang/runtime/SwitchBootstrapsTest.java ! test/jdk/java/net/Socket/Timeouts.java ! test/jdk/java/net/vthread/HttpALot.java ! test/jdk/java/net/vthread/InterruptHttp.java ! test/jdk/jdk/internal/vm/Continuation/Basic.java ! test/jdk/jdk/internal/vm/Continuation/ClassUnloading.java ! test/jdk/jdk/internal/vm/Continuation/HumongousStack.java ! test/jdk/jdk/internal/vm/Continuation/LiveFramesDriver.java ! test/jdk/jdk/internal/vm/Continuation/Scoped.java ! test/jdk/jdk/jfr/event/runtime/TestThreadEndEvent.java ! test/jdk/jdk/jfr/event/runtime/TestThreadSleepEvent.java ! test/jdk/jdk/jfr/event/runtime/TestThreadStartEvent.java ! test/jdk/jdk/jfr/event/runtime/TestVirtualThreadEndEvent.java ! test/jdk/jdk/jfr/event/runtime/TestVirtualThreadStartEvent.java ! test/jdk/jdk/jfr/jvm/TestThreadExclusion.java ! test/jdk/jdk/jfr/jvm/TestVirtualThreadExclusion.java ! test/jdk/jdk/jfr/threading/TestDeepVirtualStackTrace.java ! test/jdk/jdk/jfr/threading/TestManyVirtualThreads.java ! test/jdk/jdk/jfr/threading/TestNestedVirtualThreads.java Changeset: 337ca100 Author: Leonid Mesnik Date: 2022-12-01 21:29:18 +0000 URL: https://git.openjdk.org/loom/commit/337ca10085fcec125fb658167e51d2f35f1f0cda 8297978: Exclude vmTestbase/nsk/stress/except/except012.java until 8297977 is fixed Reviewed-by: dcubed ! test/hotspot/jtreg/ProblemList.txt Changeset: 82031d32 Author: Vicente Romero Date: 2022-12-01 21:57:55 +0000 URL: https://git.openjdk.org/loom/commit/82031d32a002d183d2a18bd1e50bd5826b65380c 8297294: compiler/c2/irTests/TestMulNodeIdealization.java failed compilation Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/InferenceContext.java Changeset: e846b043 Author: Liam Miller-Cushon Date: 2022-12-01 22:07:57 +0000 URL: https://git.openjdk.org/loom/commit/e846b0438ca12f457ee763fed3a435d3a863c383 8297875: jar should not compress the manifest directory entry Reviewed-by: lancea ! src/jdk.jartool/share/classes/sun/tools/jar/Main.java + test/jdk/tools/jar/ManifestDirectoryCompression.java Changeset: 257aa15f Author: Magnus Ihse Bursie Date: 2022-12-01 23:41:58 +0000 URL: https://git.openjdk.org/loom/commit/257aa15f15bb835310132e6fb23e0362cafeb16a 8297444: Refactor the javacserver build tool Reviewed-by: erikj, cstein ! make/common/JavaCompilation.gmk - make/langtools/tools/javacserver/Log.java ! make/langtools/tools/javacserver/Main.java - make/langtools/tools/javacserver/Result.java - make/langtools/tools/javacserver/Util.java + make/langtools/tools/javacserver/client/Client.java + make/langtools/tools/javacserver/client/ClientConfiguration.java - make/langtools/tools/javacserver/client/ClientMain.java - make/langtools/tools/javacserver/client/SjavacClient.java - make/langtools/tools/javacserver/comp/PooledSjavac.java - make/langtools/tools/javacserver/comp/SjavacImpl.java - make/langtools/tools/javacserver/options/ArgumentIterator.java - make/langtools/tools/javacserver/options/CommandLine.java - make/langtools/tools/javacserver/options/Option.java - make/langtools/tools/javacserver/options/Options.java + make/langtools/tools/javacserver/server/CompilerThreadPool.java + make/langtools/tools/javacserver/server/IdleMonitor.java - make/langtools/tools/javacserver/server/IdleResetSjavac.java ! make/langtools/tools/javacserver/server/PortFileMonitor.java - make/langtools/tools/javacserver/server/RequestHandler.java + make/langtools/tools/javacserver/server/Server.java - make/langtools/tools/javacserver/server/ServerMain.java - make/langtools/tools/javacserver/server/Sjavac.java - make/langtools/tools/javacserver/server/SjavacServer.java - make/langtools/tools/javacserver/server/Terminable.java = make/langtools/tools/javacserver/shared/PortFile.java = make/langtools/tools/javacserver/shared/PortFileInaccessibleException.java + make/langtools/tools/javacserver/shared/Protocol.java + make/langtools/tools/javacserver/shared/Result.java = make/langtools/tools/javacserver/util/AutoFlushWriter.java = make/langtools/tools/javacserver/util/LazyInitFileLog.java + make/langtools/tools/javacserver/util/Log.java = make/langtools/tools/javacserver/util/LoggingOutputStream.java + make/langtools/tools/javacserver/util/RunnableTimerTask.java + make/langtools/tools/javacserver/util/Util.java Changeset: b035056d Author: Magnus Ihse Bursie Date: 2022-12-02 00:08:34 +0000 URL: https://git.openjdk.org/loom/commit/b035056d28a1c6c738fed6dd7f3b4d9dac75c6c7 8297455: Use the official ToolProvider API to call javac Reviewed-by: erikj ! make/langtools/tools/javacserver/server/Server.java Changeset: 11ba7591 Author: Jie Fu Date: 2022-12-02 06:04:10 +0000 URL: https://git.openjdk.org/loom/commit/11ba7591dfd3f7ca58e2e1ac6d1b3e81391f5bfb 8297992: Tests fail after JDK-8297215 due to lack of @enablePreview Reviewed-by: darcy ! test/jdk/java/lang/Thread/virtual/HoldsLock.java ! test/jdk/java/lang/Thread/virtual/stress/GetStackTraceALot.java ! test/jdk/jdk/internal/vm/Continuation/Basic.java Changeset: 9bbcb546 Author: Aleksey Shipilev Date: 2022-12-02 07:29:27 +0000 URL: https://git.openjdk.org/loom/commit/9bbcb546c86b40ae23d46e12a1a03aae7a7a6182 8297784: Optimize @Stable field for Method.isCallerSensitive Reviewed-by: redestad, jvernee, alanb ! src/java.base/share/classes/java/lang/reflect/Method.java Changeset: d50015af Author: Fei Yang Date: 2022-12-02 08:26:22 +0000 URL: https://git.openjdk.org/loom/commit/d50015af99f44909bf71fd2de97546d47cda86d6 8297715: RISC-V: C2: Use single-bit instructions from the Zbs extension Reviewed-by: fjiang, yadongwang, shade ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/globals_riscv.hpp ! src/hotspot/cpu/riscv/riscv.ad ! src/hotspot/cpu/riscv/riscv_b.ad Changeset: 687fd714 Author: Dingli Zhang Committer: Fei Yang Date: 2022-12-02 08:30:00 +0000 URL: https://git.openjdk.org/loom/commit/687fd714bbc390f486272e05452f038bc3631be1 8297549: RISC-V: Add support for Vector API vector load const operation Reviewed-by: fyang, gcao ! src/hotspot/cpu/riscv/riscv_v.ad Changeset: 6d0fbb2c Author: Daniel Fuchs Date: 2022-12-02 10:44:29 +0000 URL: https://git.openjdk.org/loom/commit/6d0fbb2c49d904ac353b4a2ebc694e3d1609bd76 8297645: Drop the test/jdk/java/net/httpclient/reactivestreams-tck-tests/TckDriver.java test Reviewed-by: alanb, jpai, michaelm - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersConcat.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersFromPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersNoBody.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfByteArray.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfByteArrays.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfFile.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfInputStream.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfSubByteArray.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersBuffering.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersDiscarding.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersFromLineSubscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersFromSubscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersMapping.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfByteArray.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfByteArrayConsumer.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfFile.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfInputStream.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfLines.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfPublisher1.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfPublisherPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfString.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersReplacing.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/S.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/SPublisherOfStream.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/STest.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/TckDriver.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/FlowAdapters.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/Processor.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/Publisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/Subscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/Subscription.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/AsyncIterablePublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/AsyncSubscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/InfiniteIncrementNumberPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/NumberIterablePublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/RangePublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/SyncSubscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/IdentityProcessorVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/PublisherVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/SubscriberBlackboxVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/SubscriberWhiteboxVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/TestEnvironment.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/WithHelperPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/FlowPublisherVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/FlowSubscriberBlackboxVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/FlowSubscriberWhiteboxVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/IdentityFlowProcessorVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/Function.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/HelperPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/InfiniteHelperPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/NonFatal.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/Optional.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/PublisherVerificationRules.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/SubscriberBlackboxVerificationRules.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/SubscriberBufferOverflowException.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/SubscriberWhiteboxVerificationRules.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/TestException.java Changeset: 5c0ff26f Author: Christoph Langer Date: 2022-12-02 11:03:53 +0000 URL: https://git.openjdk.org/loom/commit/5c0ff26f321ad36daa34bfc5b2d013b6c4a03810 8291444: GHA builds/tests won't run manually if disabled from automatic running Reviewed-by: serb, erikj, ihse ! .github/workflows/main.yml Changeset: 1376f330 Author: Justin King Committer: Markus Gr?nlund Date: 2022-12-02 11:31:19 +0000 URL: https://git.openjdk.org/loom/commit/1376f330119c832d24a986cc915cb2f82768a02c 8297911: Memory leak in JfrUpcalls::on_retransform Reviewed-by: mgronlun ! src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp ! src/hotspot/share/jfr/jni/jfrUpcalls.cpp Changeset: b73363fd Author: Erik Gahlin Date: 2022-12-02 11:35:15 +0000 URL: https://git.openjdk.org/loom/commit/b73363fd7b3295635a2ccce0cea72586643c5bb4 8297686: JFR: Improve documentation of EventStream::onMetadata(Consumer) Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/consumer/EventStream.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/snippet-files/Snippets.java Changeset: 319faa5a Author: Prasanta Sadhukhan Date: 2022-12-02 11:48:28 +0000 URL: https://git.openjdk.org/loom/commit/319faa5afc37df5fd9ce4305e6e38a7bd4b39c65 8296084: javax/swing/JSpinner/4788637/bug4788637.java fails intermittently on a VM Reviewed-by: tr, serb ! test/jdk/ProblemList.txt ! test/jdk/javax/swing/JSpinner/4788637/bug4788637.java Changeset: 1370228c Author: Albert Mingkun Yang Date: 2022-12-02 12:30:29 +0000 URL: https://git.openjdk.org/loom/commit/1370228cd718736f0c822d50b85a0b27c8ca40de 8297941: Add override modifier in space.hpp Reviewed-by: kbarrett, tschatzl ! src/hotspot/share/gc/shared/space.hpp Changeset: 227364d5 Author: Feilong Jiang Committer: Fei Yang Date: 2022-12-02 12:48:42 +0000 URL: https://git.openjdk.org/loom/commit/227364d5927f94764fdb84f7d0b4c88c8dc25d89 8297953: Fix several C2 IR matching tests for RISC-V Reviewed-by: fyang, chagedorn ! test/hotspot/jtreg/compiler/c2/irTests/RotateLeftNodeIntIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/RotateLeftNodeLongIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/TestFPComparison.java ! test/hotspot/jtreg/compiler/lib/ir_framework/TestFramework.java Changeset: df072556 Author: Magnus Ihse Bursie Date: 2022-12-02 14:00:44 +0000 URL: https://git.openjdk.org/loom/commit/df072556a5a155adfe89a2504c2cf680fe4ffac7 8297984: Turn on warnings as errors for javadoc Reviewed-by: serb, erikj ! .github/workflows/main.yml ! make/Docs.gmk ! src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingStream.java Changeset: 415cfd2e Author: Ashutosh Mehra Committer: Paul Hohensee Date: 2022-12-02 14:22:52 +0000 URL: https://git.openjdk.org/loom/commit/415cfd2e28e6b7613712ab63a1ab66522e9bf0f2 8297285: Shenandoah pacing causes assertion failure during VM initialization Reviewed-by: rkennke, phh ! src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp Changeset: 6065696e Author: Leonid Mesnik Date: 2022-12-02 15:11:41 +0000 URL: https://git.openjdk.org/loom/commit/6065696e5df2cde8c313083217ead3417d04c365 8297982: Exclude vmTestbase/nsk/monitoring/stress/lowmem/ with ZGC until 8297979 is fixed Reviewed-by: tschatzl ! test/hotspot/jtreg/ProblemList-zgc.txt Changeset: 1b924659 Author: Erik Gahlin Date: 2022-12-02 17:21:48 +0000 URL: https://git.openjdk.org/loom/commit/1b924659c87045796f62e66d69ff388b79c4467f 8297608: JFR: Incorrect duration after chunk rotation Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/internal/EventInstrumentation.java + test/jdk/jdk/jfr/jvm/TestEventDuration.java Changeset: fb6fd032 Author: Coleen Phillimore Date: 2022-12-02 19:09:05 +0000 URL: https://git.openjdk.org/loom/commit/fb6fd03233b0eb001e2995d20a079b6af31d2b9b 8291830: jvmti/RedefineClasses/StressRedefine failed: assert(!is_null(v)) failed: narrow klass value can never be zero Reviewed-by: sspitsyn, eosterlund, kbarrett ! src/hotspot/share/classfile/classLoaderData.cpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/oops/klass.hpp ! src/hotspot/share/oops/oopHandle.hpp ! src/hotspot/share/prims/jvmtiRedefineClasses.cpp Changeset: 2821fa98 Author: Alex Menkov Date: 2022-12-02 20:16:51 +0000 URL: https://git.openjdk.org/loom/commit/2821fa9883cc9687b53e3bb5655732a614cff8fc 8280798: com.sun.jdi.ObjectReference::setValue spec should prohibit any final field modification Reviewed-by: alanb, cjplummer, sspitsyn ! src/jdk.jdi/share/classes/com/sun/jdi/ObjectReference.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue004/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue004t.java Changeset: 562bc171 Author: Jorn Vernee Date: 2022-12-02 22:15:27 +0000 URL: https://git.openjdk.org/loom/commit/562bc171b971091421ee0a93665880682ae96c09 8291359: Specification of method j.l.foreign.VaList::skip still deserves clarification Reviewed-by: mcimadamore ! src/java.base/share/classes/java/lang/foreign/VaList.java Changeset: 6e547052 Author: Daniel D. Daugherty Date: 2022-12-02 22:29:21 +0000 URL: https://git.openjdk.org/loom/commit/6e5470525d5236901c219146f363d4860e6b8008 8295424: adjust timeout for another JLI GetObjectSizeIntrinsicsTest.java subtest 8297367: disable TestRedirectLinks.java in slowdebug mode 8297369: disable Fuzz.java in slowdebug mode Reviewed-by: sspitsyn, jjg, cjplummer, lmesnik ! test/jdk/java/lang/instrument/GetObjectSizeIntrinsicsTest.java ! test/jdk/jdk/internal/vm/Continuation/Fuzz.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java Changeset: 6065516b Author: Daniel D. Daugherty Date: 2022-12-02 22:31:08 +0000 URL: https://git.openjdk.org/loom/commit/6065516bb3e0e445e9383718f539ec48440d6290 8291418: adjust monitor deflation logging and deflate_idle_monitors use Reviewed-by: dholmes, stuefe, pchilanomate ! src/hotspot/share/runtime/synchronizer.cpp ! src/hotspot/share/runtime/vmOperations.cpp Changeset: 99e2ef49 Author: Daniel D. Daugherty Date: 2022-12-03 04:13:33 +0000 URL: https://git.openjdk.org/loom/commit/99e2ef49a87fe88212fc2090ec5b5f4b3493025a 8298054: ProblemList jdk/jfr/api/consumer/recordingstream/TestStop.java Reviewed-by: lmesnik ! test/jdk/ProblemList.txt Changeset: c67166f1 Author: Thomas Stuefe Date: 2022-12-03 06:53:56 +0000 URL: https://git.openjdk.org/loom/commit/c67166f1205c1123497a8895c2952c4d9933645e 8298003: NMT: fatal block printout does not show the correct corruption address Reviewed-by: shade, mbaesken ! src/hotspot/share/services/mallocHeader.inline.hpp Changeset: 0edb5d08 Author: Andrey Turbanov Date: 2022-12-04 12:07:42 +0000 URL: https://git.openjdk.org/loom/commit/0edb5d08055d8c06ed318a6c32e44a070ab4d002 8297683: Use enhanced-for cycle instead of Enumeration in java.security.jgss Reviewed-by: weijun ! src/java.security.jgss/share/classes/sun/security/jgss/GSSCredentialImpl.java ! src/java.security.jgss/share/classes/sun/security/jgss/ProviderList.java Changeset: 87572d43 Author: Daniel D. Daugherty Date: 2022-12-04 16:37:09 +0000 URL: https://git.openjdk.org/loom/commit/87572d43befd7d868489ba0a2cfefad5cd605ef3 8298068: ProblemList tests failing due to JDK-8297235 8298070: ProblemList jdk/internal/vm/Continuation/Fuzz.java#default with ZGC on X64 8298071: ProblemList tests failing due to JDK-8298059 8298072: ProblemList compiler/c1/TestPrintC1Statistics.java in Xcomp mode on linux-aarch64 Reviewed-by: azvegint ! test/hotspot/jtreg/ProblemList-Xcomp.txt ! test/hotspot/jtreg/ProblemList-zgc.txt ! test/jdk/ProblemList-zgc.txt Changeset: a71d91b9 Author: Julian Waters Date: 2022-12-04 17:32:20 +0000 URL: https://git.openjdk.org/loom/commit/a71d91b96f7936dd1b84e4c1e167e2e5fa4ad4b1 8298067: Persistent test failures after 8296012 Reviewed-by: alanb ! test/langtools/jdk/jshell/Test8296012.java Changeset: 914ef07f Author: Michal Karm Babacek Committer: Jaikiran Pai Date: 2022-12-05 01:59:20 +0000 URL: https://git.openjdk.org/loom/commit/914ef07fed960f940e1591318b9f00938b37bf09 8297609: Add application/wasm MIME type for wasm file extension Reviewed-by: jpai, michaelm ! src/java.base/unix/classes/sun/net/www/content-types.properties ! src/java.base/windows/classes/sun/net/www/content-types.properties ! test/jdk/java/nio/file/Files/probeContentType/Basic.java Changeset: b49fd920 Author: Fei Yang Date: 2022-12-05 03:40:07 +0000 URL: https://git.openjdk.org/loom/commit/b49fd920b6690a8b828c85e45c10e5c4c54d2022 8298055: AArch64: fastdebug build fails after JDK-8247645 Reviewed-by: aph, haosun ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp Changeset: a5739239 Author: Christian Hagedorn Date: 2022-12-05 07:09:04 +0000 URL: https://git.openjdk.org/loom/commit/a57392390b0abe5db496775efcc369bafdf420f1 8297264: C2: Cast node is not processed again in CCP and keeps a wrong too narrow type which is later replaced by top Reviewed-by: thartmann, rcastanedalo, kvn ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/phaseX.hpp + test/hotspot/jtreg/compiler/ccp/TestCastIIWrongTypeCCP.java Changeset: 3b3bbe54 Author: Thomas Stuefe Date: 2022-12-05 07:10:31 +0000 URL: https://git.openjdk.org/loom/commit/3b3bbe5487c0d86305f953528884b1ee78ca359f 8296907: VMError: add optional callstacks, siginfo for secondary errors Reviewed-by: aboldtch, rschmelter ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/utilities/debug.cpp ! src/hotspot/share/utilities/vmError.cpp ! src/hotspot/share/utilities/vmError.hpp ! test/hotspot/jtreg/runtime/ErrorHandling/SecondaryErrorTest.java Changeset: 61b70931 Author: Ivan Walulya Date: 2022-12-05 07:16:56 +0000 URL: https://git.openjdk.org/loom/commit/61b7093123b780f87509cffe286cf6949afbb45d 8297872: Non-local G1MonotonicArenaFreePool::_freelist_pool has non-trivial ctor/dtor Co-authored-by: Thomas Schatzl Reviewed-by: kbarrett, tschatzl ! 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/g1MonotonicArenaFreeMemoryTask.cpp ! src/hotspot/share/gc/g1/g1MonotonicArenaFreePool.cpp ! src/hotspot/share/gc/g1/g1MonotonicArenaFreePool.hpp ! src/hotspot/share/gc/g1/g1RemSetSummary.cpp ! src/hotspot/share/gc/g1/heapRegionRemSet.cpp ! src/hotspot/share/gc/g1/heapRegionRemSet.hpp Changeset: 82561de7 Author: sendaoYan Committer: Yi Yang Date: 2022-12-05 07:41:42 +0000 URL: https://git.openjdk.org/loom/commit/82561de722b9ca580c0c1a53050c711b64611352 8296384: [TESTBUG] sun/security/provider/SecureRandom/AbstractDrbg/SpecTest.java intermittently timeout Reviewed-by: weijun, wetmore ! test/jdk/java/security/SecureRandom/NoSync.java ! test/jdk/sun/security/provider/SecureRandom/AbstractDrbg/SpecTest.java Changeset: 619b68c5 Author: Emanuel Peter Date: 2022-12-05 08:30:31 +0000 URL: https://git.openjdk.org/loom/commit/619b68c5d1908de335cefd536963cadd57472925 8294540: Remove Opaque2Node: it is broken and triggers assert Reviewed-by: chagedorn, kvn ! src/hotspot/share/opto/classes.hpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/loopnode.hpp ! src/hotspot/share/opto/loopopts.cpp ! src/hotspot/share/opto/macro.cpp ! src/hotspot/share/opto/opaquenode.cpp ! src/hotspot/share/opto/opaquenode.hpp ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/runtime/vmStructs.cpp Changeset: 17666fbc Author: Kevin Walls Date: 2022-12-05 09:27:14 +0000 URL: https://git.openjdk.org/loom/commit/17666fbcae795a01ee462651c7694b5e4af30e32 8297794: Deprecate JMX Management Applets for Removal Reviewed-by: dfuchs, mullan, rriggs, alanb ! src/java.management/share/classes/javax/management/loading/MLet.java ! src/java.management/share/classes/javax/management/loading/MLetContent.java ! src/java.management/share/classes/javax/management/loading/MLetMBean.java ! src/java.management/share/classes/javax/management/loading/MLetObjectInputStream.java ! src/java.management/share/classes/javax/management/loading/MLetParser.java ! src/java.management/share/classes/javax/management/loading/PrivateMLet.java ! test/jdk/javax/management/Introspector/ClassLeakTest.java ! test/jdk/javax/management/MBeanServer/PostExceptionTest.java ! test/jdk/javax/management/loading/DocumentRootTest.java ! test/jdk/javax/management/loading/GetMBeansFromURLTest.java ! test/jdk/javax/management/loading/MLetCLR/MLetCommand.java ! test/jdk/javax/management/loading/MLetContentTest.java ! test/jdk/javax/management/loading/MLetInternalsTest.java ! test/jdk/javax/management/loading/MletParserLocaleTest.java ! test/jdk/javax/management/loading/ParserInfiniteLoopTest.java ! test/jdk/javax/management/mxbean/MXBeanLoadingTest1.java ! test/jdk/javax/management/relation/NonArrayListTest.java ! test/jdk/javax/management/remote/mandatory/loading/TargetMBeanTest.java ! test/jdk/javax/management/remote/mandatory/notif/NotificationBufferTest.java Changeset: 777fb52e Author: Jan Lahoda Date: 2022-12-05 09:33:42 +0000 URL: https://git.openjdk.org/loom/commit/777fb52ef5b0d95b756ce4fa71a7ddf2d7d2a8f1 8297974: ClassCastException in com.sun.tools.javac.comp.AttrRecover.doRecovery Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/AttrRecover.java + test/langtools/tools/javac/recovery/LambdaRecovery.java Changeset: d523d9d0 Author: Robbin Ehn Date: 2022-12-05 10:31:35 +0000 URL: https://git.openjdk.org/loom/commit/d523d9d081a3bc698abcf493e038779a29eb47ea 8297864: Dead code elimination Reviewed-by: coleenp, pchilanomate ! src/hotspot/cpu/aarch64/continuationFreezeThaw_aarch64.inline.hpp ! src/hotspot/cpu/aarch64/stackChunkFrameStream_aarch64.inline.hpp ! src/hotspot/cpu/arm/continuationFreezeThaw_arm.inline.hpp ! src/hotspot/cpu/arm/stackChunkFrameStream_arm.inline.hpp ! src/hotspot/cpu/ppc/stackChunkFrameStream_ppc.inline.hpp ! src/hotspot/cpu/riscv/continuationFreezeThaw_riscv.inline.hpp ! src/hotspot/cpu/riscv/stackChunkFrameStream_riscv.inline.hpp ! src/hotspot/cpu/s390/continuationFreezeThaw_s390.inline.hpp ! src/hotspot/cpu/s390/stackChunkFrameStream_s390.inline.hpp ! src/hotspot/cpu/x86/continuationFreezeThaw_x86.inline.hpp ! src/hotspot/cpu/x86/stackChunkFrameStream_x86.inline.hpp ! src/hotspot/cpu/zero/continuationFreezeThaw_zero.inline.hpp ! src/hotspot/cpu/zero/stackChunkFrameStream_zero.inline.hpp ! src/hotspot/cpu/zero/stubGenerator_zero.cpp ! src/hotspot/share/prims/forte.cpp ! src/hotspot/share/runtime/abstract_vm_version.cpp ! src/hotspot/share/runtime/abstract_vm_version.hpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/arguments.hpp ! src/hotspot/share/runtime/continuationEntry.hpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/continuationHelper.hpp ! src/hotspot/share/runtime/continuationHelper.inline.hpp ! src/hotspot/share/runtime/continuationJavaClasses.hpp ! src/hotspot/share/runtime/continuationJavaClasses.inline.hpp ! src/hotspot/share/runtime/continuationWrapper.inline.hpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/deoptimization.hpp ! src/hotspot/share/runtime/escapeBarrier.hpp ! src/hotspot/share/runtime/fieldDescriptor.cpp ! src/hotspot/share/runtime/fieldDescriptor.hpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/frame.hpp ! src/hotspot/share/runtime/frame.inline.hpp ! src/hotspot/share/runtime/handles.hpp ! src/hotspot/share/runtime/java.hpp ! src/hotspot/share/runtime/javaCalls.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/jniHandles.cpp ! src/hotspot/share/runtime/jniHandles.hpp ! src/hotspot/share/runtime/jniPeriodicChecker.cpp ! src/hotspot/share/runtime/jniPeriodicChecker.hpp ! src/hotspot/share/runtime/keepStackGCProcessed.cpp ! src/hotspot/share/runtime/keepStackGCProcessed.hpp ! src/hotspot/share/runtime/monitorChunk.hpp ! src/hotspot/share/runtime/monitorDeflationThread.hpp ! src/hotspot/share/runtime/mutex.hpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! src/hotspot/share/runtime/objectMonitor.hpp ! src/hotspot/share/runtime/objectMonitor.inline.hpp ! src/hotspot/share/runtime/os.hpp ! src/hotspot/share/runtime/os_perf.hpp ! src/hotspot/share/runtime/perfData.cpp ! src/hotspot/share/runtime/perfData.hpp ! src/hotspot/share/runtime/perfData.inline.hpp ! src/hotspot/share/runtime/reflectionUtils.hpp ! src/hotspot/share/runtime/registerMap.hpp ! src/hotspot/share/runtime/relocator.cpp ! src/hotspot/share/runtime/relocator.hpp ! src/hotspot/share/runtime/rtmLocking.hpp ! src/hotspot/share/runtime/safepoint.hpp ! src/hotspot/share/runtime/safepointMechanism.hpp ! src/hotspot/share/runtime/safepointMechanism.inline.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/sharedRuntime.hpp ! src/hotspot/share/runtime/signature.cpp ! src/hotspot/share/runtime/signature.hpp ! src/hotspot/share/runtime/stackChunkFrameStream.hpp ! src/hotspot/share/runtime/stackChunkFrameStream.inline.hpp ! src/hotspot/share/runtime/stackOverflow.cpp ! src/hotspot/share/runtime/stackOverflow.hpp ! src/hotspot/share/runtime/stackValueCollection.hpp ! src/hotspot/share/runtime/stackWatermark.hpp ! src/hotspot/share/runtime/stubCodeGenerator.cpp ! src/hotspot/share/runtime/stubCodeGenerator.hpp ! src/hotspot/share/runtime/stubRoutines.cpp ! src/hotspot/share/runtime/stubRoutines.hpp ! src/hotspot/share/runtime/suspendedThreadTask.hpp ! src/hotspot/share/runtime/synchronizer.cpp ! src/hotspot/share/runtime/synchronizer.hpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/runtime/thread.hpp ! src/hotspot/share/runtime/threadHeapSampler.hpp ! src/hotspot/share/runtime/threadSMR.hpp ! src/hotspot/share/runtime/threadStatisticalInfo.hpp ! src/hotspot/share/runtime/threads.cpp ! src/hotspot/share/runtime/threads.hpp ! src/hotspot/share/runtime/timer.hpp ! src/hotspot/share/runtime/timerTrace.hpp ! src/hotspot/share/runtime/vframe.cpp ! src/hotspot/share/runtime/vframe.hpp ! src/hotspot/share/runtime/vframe.inline.hpp ! src/hotspot/share/runtime/vframeArray.cpp ! src/hotspot/share/runtime/vframeArray.hpp ! src/hotspot/share/runtime/vframe_hp.cpp ! src/hotspot/share/runtime/vframe_hp.hpp ! src/hotspot/share/runtime/vmOperations.cpp ! src/hotspot/share/runtime/vmStructs.cpp Changeset: dea2161f Author: Matthias Baesken Date: 2022-12-05 11:31:31 +0000 URL: https://git.openjdk.org/loom/commit/dea2161f069a88553bc514c7210dc1d31febd90a 8297959: Provide better descriptions for some Operating System JFR events Reviewed-by: stuefe ! src/hotspot/share/jfr/metadata/metadata.xml Changeset: eab0ada3 Author: Aleksey Shipilev Date: 2022-12-05 12:00:30 +0000 URL: https://git.openjdk.org/loom/commit/eab0ada3a16a432fdfd1f0b8fceca149c725451b 8296545: C2 Blackholes should allow load optimizations Reviewed-by: kvn, vlivanov ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/cfgnode.hpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/memnode.cpp ! src/hotspot/share/opto/memnode.hpp ! src/hotspot/share/runtime/vmStructs.cpp + test/hotspot/jtreg/compiler/c2/irTests/blackhole/BlackholeLoadOptoTest.java Changeset: 2300ed45 Author: Jan Lahoda Date: 2022-12-05 12:04:23 +0000 URL: https://git.openjdk.org/loom/commit/2300ed458dcda568afad818d2d3133e545a58ad5 8291769: Translation of switch with record patterns could be improved Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransPatterns.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TreeDiffer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.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/annotations/typeAnnotations/classfile/Patterns.java + test/langtools/tools/javac/patterns/DeconstructionDesugaring.java ! test/langtools/tools/javac/patterns/Guards.java + test/langtools/tools/javac/patterns/PatternDesugaring.java ! test/langtools/tools/javac/patterns/Switches.java + test/langtools/tools/javac/patterns/TranslationTest.java ! test/langtools/tools/javac/patterns/TypedDeconstructionPatternExc.java Changeset: f9e0f1d5 Author: Xiaolin Zheng Committer: Tobias Hartmann Date: 2022-12-05 12:43:57 +0000 URL: https://git.openjdk.org/loom/commit/f9e0f1d5b3663db5de0532e9d9ce41312bf35ed3 8297763: Fix missing stub code expansion before align() in shared trampolines Reviewed-by: fyang, luhenry ! src/hotspot/cpu/aarch64/codeBuffer_aarch64.cpp ! src/hotspot/cpu/riscv/codeBuffer_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp Changeset: e7e03548 Author: Coleen Phillimore Date: 2022-12-05 13:18:44 +0000 URL: https://git.openjdk.org/loom/commit/e7e03548feabb3f200b4f6f5d04c392343adb131 8297767: Assert JNICritical_lock/safepoint-1 and AdapterHandlerLibrary_lock/safepoint-1 Reviewed-by: pchilanomate, rehn ! src/hotspot/share/runtime/mutexLocker.cpp Changeset: b9eec968 Author: Afshin Zafari Committer: Robbin Ehn Date: 2022-12-05 13:30:15 +0000 URL: https://git.openjdk.org/loom/commit/b9eec96889abf7df6d2b479e294c7823fb3d5850 8281214: Unsafe use of long in VMThread::setup_periodic_safepoint_if_needed Reviewed-by: eastigeevich, shade ! src/hotspot/share/runtime/vmThread.cpp Changeset: bd381886 Author: Afshin Zafari Committer: Thomas Stuefe Date: 2022-12-05 13:31:15 +0000 URL: https://git.openjdk.org/loom/commit/bd381886e0f39d0e48b555b5e3167565d6a6b40d 8297766: Remove UseMallocOnly development option Reviewed-by: coleenp, stuefe, dholmes ! src/hotspot/share/memory/arena.cpp ! src/hotspot/share/memory/arena.hpp ! src/hotspot/share/memory/resourceArea.hpp ! src/hotspot/share/memory/resourceArea.inline.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/handles.hpp ! test/hotspot/gtest/memory/test_arena.cpp - test/hotspot/jtreg/gtest/ArenaGtests.java - test/hotspot/jtreg/runtime/8007475/StackMapFrameTest.java Changeset: 73baadce Author: Maurizio Cimadamore Date: 2022-12-05 13:49:53 +0000 URL: https://git.openjdk.org/loom/commit/73baadceb60029f6340c1327118aeb59971c2434 8295044: Implementation of Foreign Function and Memory API (Second Preview) Co-authored-by: Jorn Vernee Co-authored-by: Per Minborg Co-authored-by: Maurizio Cimadamore Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar ! src/hotspot/cpu/aarch64/downcallLinker_aarch64.cpp ! src/hotspot/cpu/x86/downcallLinker_x86_64.cpp ! src/hotspot/share/ci/ciField.cpp ! src/java.base/share/classes/java/lang/Module.java ! src/java.base/share/classes/java/lang/ModuleLayer.java ! src/java.base/share/classes/java/lang/System.java - src/java.base/share/classes/java/lang/foreign/AbstractLayout.java - src/java.base/share/classes/java/lang/foreign/Addressable.java + src/java.base/share/classes/java/lang/foreign/Arena.java ! src/java.base/share/classes/java/lang/foreign/FunctionDescriptor.java ! src/java.base/share/classes/java/lang/foreign/GroupLayout.java ! src/java.base/share/classes/java/lang/foreign/Linker.java - src/java.base/share/classes/java/lang/foreign/MemoryAddress.java ! src/java.base/share/classes/java/lang/foreign/MemoryLayout.java ! src/java.base/share/classes/java/lang/foreign/MemorySegment.java - src/java.base/share/classes/java/lang/foreign/MemorySession.java ! src/java.base/share/classes/java/lang/foreign/PaddingLayout.java ! src/java.base/share/classes/java/lang/foreign/SegmentAllocator.java + src/java.base/share/classes/java/lang/foreign/SegmentScope.java ! src/java.base/share/classes/java/lang/foreign/SequenceLayout.java + src/java.base/share/classes/java/lang/foreign/StructLayout.java ! src/java.base/share/classes/java/lang/foreign/SymbolLookup.java + src/java.base/share/classes/java/lang/foreign/UnionLayout.java ! src/java.base/share/classes/java/lang/foreign/VaList.java ! src/java.base/share/classes/java/lang/foreign/ValueLayout.java ! src/java.base/share/classes/java/lang/foreign/package-info.java ! src/java.base/share/classes/java/lang/invoke/MethodHandles.java ! src/java.base/share/classes/java/lang/invoke/NativeMethodHandle.java ! src/java.base/share/classes/java/lang/invoke/X-VarHandleByteArrayView.java.template ! src/java.base/share/classes/java/nio/Direct-X-Buffer.java.template ! src/java.base/share/classes/java/nio/channels/FileChannel.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java ! src/java.base/share/classes/jdk/internal/foreign/AbstractMemorySegmentImpl.java - src/java.base/share/classes/jdk/internal/foreign/ArenaAllocator.java ! src/java.base/share/classes/jdk/internal/foreign/CABI.java ! src/java.base/share/classes/jdk/internal/foreign/ConfinedSession.java + src/java.base/share/classes/jdk/internal/foreign/FunctionDescriptorImpl.java + src/java.base/share/classes/jdk/internal/foreign/GlobalSession.java ! src/java.base/share/classes/jdk/internal/foreign/HeapMemorySegmentImpl.java + src/java.base/share/classes/jdk/internal/foreign/ImplicitSession.java ! src/java.base/share/classes/jdk/internal/foreign/LayoutPath.java ! src/java.base/share/classes/jdk/internal/foreign/MappedMemorySegmentImpl.java - src/java.base/share/classes/jdk/internal/foreign/MemoryAddressImpl.java ! src/java.base/share/classes/jdk/internal/foreign/MemorySessionImpl.java ! src/java.base/share/classes/jdk/internal/foreign/NativeMemorySegmentImpl.java ! src/java.base/share/classes/jdk/internal/foreign/PlatformLayouts.java - src/java.base/share/classes/jdk/internal/foreign/Scoped.java ! src/java.base/share/classes/jdk/internal/foreign/SharedSession.java + src/java.base/share/classes/jdk/internal/foreign/SlicingAllocator.java ! src/java.base/share/classes/jdk/internal/foreign/SystemLookup.java ! src/java.base/share/classes/jdk/internal/foreign/Utils.java ! src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/Binding.java ! src/java.base/share/classes/jdk/internal/foreign/abi/BindingSpecializer.java ! src/java.base/share/classes/jdk/internal/foreign/abi/CallingSequenceBuilder.java ! src/java.base/share/classes/jdk/internal/foreign/abi/DowncallLinker.java + src/java.base/share/classes/jdk/internal/foreign/abi/LinkerOptions.java ! src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java ! src/java.base/share/classes/jdk/internal/foreign/abi/SoftReferenceCache.java ! src/java.base/share/classes/jdk/internal/foreign/abi/UpcallLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/UpcallStubs.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/TypeClass.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/linux/LinuxAArch64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/linux/LinuxAArch64VaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/macos/MacOsAArch64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/macos/MacOsAArch64VaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVVaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVx64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/TypeClass.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/TypeClass.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/WinVaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/Windowsx64Linker.java + src/java.base/share/classes/jdk/internal/foreign/layout/AbstractGroupLayout.java + src/java.base/share/classes/jdk/internal/foreign/layout/AbstractLayout.java + src/java.base/share/classes/jdk/internal/foreign/layout/MemoryLayoutUtil.java + src/java.base/share/classes/jdk/internal/foreign/layout/PaddingLayoutImpl.java + src/java.base/share/classes/jdk/internal/foreign/layout/SequenceLayoutImpl.java + src/java.base/share/classes/jdk/internal/foreign/layout/StructLayoutImpl.java + src/java.base/share/classes/jdk/internal/foreign/layout/UnionLayoutImpl.java + src/java.base/share/classes/jdk/internal/foreign/layout/ValueLayouts.java ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java ! src/java.base/share/classes/jdk/internal/module/ModuleBootstrap.java ! src/java.base/share/classes/jdk/internal/reflect/Reflection.java ! src/java.base/share/classes/sun/nio/ch/FileChannelImpl.java ! test/hotspot/jtreg/gc/shenandoah/compiler/TestLinkToNativeRBP.java ! test/hotspot/jtreg/runtime/ClassFile/ClassFileVersionTest.java ! test/jdk/com/sun/jdi/JdbLastErrorTest.java ! test/jdk/java/foreign/CallGeneratorHelper.java ! test/jdk/java/foreign/LibraryLookupTest.java + test/jdk/java/foreign/MemoryLayoutPrincipalTotalityTest.java + test/jdk/java/foreign/MemoryLayoutTypeRetentionTest.java ! test/jdk/java/foreign/NativeTestHelper.java ! test/jdk/java/foreign/SafeFunctionAccessTest.java ! test/jdk/java/foreign/StdLibTest.java ! test/jdk/java/foreign/TestAdaptVarHandles.java ! test/jdk/java/foreign/TestArrays.java ! test/jdk/java/foreign/TestByteBuffer.java ! test/jdk/java/foreign/TestClassLoaderFindNative.java ! test/jdk/java/foreign/TestDowncallBase.java ! test/jdk/java/foreign/TestDowncallScope.java ! test/jdk/java/foreign/TestDowncallStack.java ! test/jdk/java/foreign/TestFallbackLookup.java ! test/jdk/java/foreign/TestFree.java ! test/jdk/java/foreign/TestFunctionDescriptor.java ! test/jdk/java/foreign/TestHandshake.java ! test/jdk/java/foreign/TestHeapAlignment.java ! test/jdk/java/foreign/TestIllegalLink.java ! test/jdk/java/foreign/TestIntrinsics.java + test/jdk/java/foreign/TestLargeSegmentCopy.java ! test/jdk/java/foreign/TestLayoutEquality.java ! test/jdk/java/foreign/TestLayoutPaths.java ! test/jdk/java/foreign/TestLayouts.java + test/jdk/java/foreign/TestLinker.java ! test/jdk/java/foreign/TestMemoryAccess.java ! test/jdk/java/foreign/TestMemoryAccessInstance.java ! test/jdk/java/foreign/TestMemoryAlignment.java ! test/jdk/java/foreign/TestMemoryDereference.java ! test/jdk/java/foreign/TestMemorySession.java ! test/jdk/java/foreign/TestMismatch.java ! test/jdk/java/foreign/TestNULLAddress.java ! test/jdk/java/foreign/TestNative.java ! test/jdk/java/foreign/TestNulls.java + test/jdk/java/foreign/TestOfBufferIssue.java ! test/jdk/java/foreign/TestScopedOperations.java ! test/jdk/java/foreign/TestSegmentAllocators.java ! test/jdk/java/foreign/TestSegmentCopy.java ! test/jdk/java/foreign/TestSegmentOffset.java ! test/jdk/java/foreign/TestSegmentOverlap.java ! test/jdk/java/foreign/TestSegments.java ! test/jdk/java/foreign/TestSharedAccess.java ! test/jdk/java/foreign/TestSlices.java ! test/jdk/java/foreign/TestSpliterator.java ! test/jdk/java/foreign/TestStringEncoding.java ! test/jdk/java/foreign/TestTypeAccess.java ! test/jdk/java/foreign/TestUnsupportedLinker.java ! test/jdk/java/foreign/TestUpcallAsync.java ! test/jdk/java/foreign/TestUpcallBase.java ! test/jdk/java/foreign/TestUpcallException.java ! test/jdk/java/foreign/TestUpcallHighArity.java ! test/jdk/java/foreign/TestUpcallScope.java ! test/jdk/java/foreign/TestUpcallStack.java ! test/jdk/java/foreign/TestUpcallStructScope.java + test/jdk/java/foreign/TestValueLayouts.java ! test/jdk/java/foreign/TestVarArgs.java ! test/jdk/java/foreign/TestVarHandleCombinators.java ! test/jdk/java/foreign/ThrowingUpcall.java + test/jdk/java/foreign/UpcallTestHelper.java ! test/jdk/java/foreign/callarranger/TestAarch64CallArranger.java ! test/jdk/java/foreign/callarranger/TestSysVCallArranger.java ! test/jdk/java/foreign/callarranger/TestWindowsCallArranger.java ! test/jdk/java/foreign/channels/AbstractChannelsTest.java ! test/jdk/java/foreign/channels/TestAsyncSocketChannels.java ! test/jdk/java/foreign/channels/TestSocketChannels.java + test/jdk/java/foreign/dontrelease/TestDontRelease.java + test/jdk/java/foreign/dontrelease/libDontRelease.c + test/jdk/java/foreign/enablenativeaccess/NativeAccessDynamicMain.java + test/jdk/java/foreign/enablenativeaccess/TestEnableNativeAccessDynamic.java ! test/jdk/java/foreign/enablenativeaccess/panama_module/org/openjdk/foreigntest/PanamaMainDirect.java ! test/jdk/java/foreign/enablenativeaccess/panama_module/org/openjdk/foreigntest/PanamaMainInvoke.java ! test/jdk/java/foreign/enablenativeaccess/panama_module/org/openjdk/foreigntest/PanamaMainReflection.java ! test/jdk/java/foreign/handles/invoker_module/handle/invoker/MethodHandleInvoker.java ! test/jdk/java/foreign/handles/lookup_module/handle/lookup/MethodHandleLookup.java + test/jdk/java/foreign/libNull.c ! test/jdk/java/foreign/loaderLookup/TestLoaderLookup.java ! test/jdk/java/foreign/loaderLookup/TestLoaderLookupJNI.java ! test/jdk/java/foreign/loaderLookup/invoker/Invoker.java ! test/jdk/java/foreign/loaderLookup/lookup/Lookup.java + test/jdk/java/foreign/normalize/TestNormalize.java + test/jdk/java/foreign/normalize/libNormalize.c + test/jdk/java/foreign/passheapsegment/TestPassHeapSegment.java + test/jdk/java/foreign/passheapsegment/libPassHeapSegment.c ! test/jdk/java/foreign/stackwalk/TestAsyncStackWalk.java ! test/jdk/java/foreign/stackwalk/TestStackWalk.java ! test/jdk/java/foreign/upcalldeopt/TestUpcallDeopt.java ! test/jdk/java/foreign/valist/VaListTest.java ! test/jdk/java/foreign/virtual/TestVirtualCalls.java ! test/jdk/java/lang/Thread/jni/AttachCurrentThread/ImplicitAttach.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestExact.java ! test/jdk/java/nio/channels/FileChannel/LargeMapTest.java ! test/jdk/java/nio/channels/FileChannel/MapToMemorySegmentTest.java ! test/jdk/java/util/stream/test/org/openjdk/tests/java/util/stream/SpliteratorTest.java ! test/jdk/jdk/incubator/vector/AbstractVectorLoadStoreTest.java ! test/jdk/jdk/incubator/vector/Byte128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/ByteMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/DoubleMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/FloatMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/IntMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/LongMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/ShortMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/gen-template.sh ! test/jdk/jdk/incubator/vector/templates/X-LoadStoreTest.java.template ! test/micro/org/openjdk/bench/java/lang/foreign/BulkMismatchAcquire.java ! test/micro/org/openjdk/bench/java/lang/foreign/BulkOps.java ! test/micro/org/openjdk/bench/java/lang/foreign/CLayouts.java ! test/micro/org/openjdk/bench/java/lang/foreign/CallOverheadConstant.java ! test/micro/org/openjdk/bench/java/lang/foreign/CallOverheadHelper.java ! test/micro/org/openjdk/bench/java/lang/foreign/CallOverheadVirtual.java ! test/micro/org/openjdk/bench/java/lang/foreign/JavaLayouts.java ! test/micro/org/openjdk/bench/java/lang/foreign/LinkUpcall.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverConstant.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNew.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNewHeap.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstant.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstantFP.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstantHeap.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstantMapped.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstantShared.java + test/micro/org/openjdk/bench/java/lang/foreign/LoopOverOfAddress.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverPollutedSegments.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverSlice.java ! test/micro/org/openjdk/bench/java/lang/foreign/MemorySessionClose.java ! test/micro/org/openjdk/bench/java/lang/foreign/ParallelSum.java ! test/micro/org/openjdk/bench/java/lang/foreign/PointerInvoke.java ! test/micro/org/openjdk/bench/java/lang/foreign/QSort.java ! test/micro/org/openjdk/bench/java/lang/foreign/StrLenTest.java ! test/micro/org/openjdk/bench/java/lang/foreign/TestLoadBytes.java ! test/micro/org/openjdk/bench/java/lang/foreign/UnrolledAccess.java ! test/micro/org/openjdk/bench/java/lang/foreign/Upcalls.java ! test/micro/org/openjdk/bench/java/lang/foreign/VaList.java ! test/micro/org/openjdk/bench/java/lang/foreign/VarHandleExact.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/NativeType.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/Point.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/Pointer.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/PointerBench.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/Struct.java ! test/micro/org/openjdk/bench/java/lang/foreign/points/support/PanamaPoint.java ! test/micro/org/openjdk/bench/jdk/incubator/vector/MemorySegmentVectorAccess.java ! test/micro/org/openjdk/bench/jdk/incubator/vector/TestLoadStoreBytes.java ! test/micro/org/openjdk/bench/jdk/incubator/vector/TestLoadStoreShorts.java Changeset: 0452c39f Author: Jorn Vernee Date: 2022-12-05 14:47:12 +0000 URL: https://git.openjdk.org/loom/commit/0452c39fecb7fa4962b00868cb20a50e5f7ab1a7 8296477: Foreign linker implementation update following JEP 434 Co-authored-by: Jorn Vernee Co-authored-by: Nick Gasson Co-authored-by: Per Minborg Reviewed-by: rehn, mcimadamore, vlivanov ! src/hotspot/cpu/aarch64/downcallLinker_aarch64.cpp ! src/hotspot/cpu/aarch64/foreignGlobals_aarch64.cpp ! src/hotspot/cpu/aarch64/foreignGlobals_aarch64.hpp ! src/hotspot/cpu/aarch64/register_aarch64.hpp ! src/hotspot/cpu/aarch64/upcallLinker_aarch64.cpp + src/hotspot/cpu/aarch64/vmstorage_aarch64.hpp ! src/hotspot/cpu/arm/downcallLinker_arm.cpp ! src/hotspot/cpu/arm/foreignGlobals_arm.cpp + src/hotspot/cpu/arm/vmstorage_arm.hpp ! src/hotspot/cpu/ppc/downcallLinker_ppc.cpp ! src/hotspot/cpu/ppc/foreignGlobals_ppc.cpp + src/hotspot/cpu/ppc/vmstorage_ppc.hpp ! src/hotspot/cpu/riscv/downcallLinker_riscv.cpp ! src/hotspot/cpu/riscv/foreignGlobals_riscv.cpp + src/hotspot/cpu/riscv/vmstorage_riscv.hpp ! src/hotspot/cpu/s390/downcallLinker_s390.cpp ! src/hotspot/cpu/s390/foreignGlobals_s390.cpp + src/hotspot/cpu/s390/vmstorage_s390.hpp ! src/hotspot/cpu/x86/downcallLinker_x86_32.cpp ! src/hotspot/cpu/x86/downcallLinker_x86_64.cpp ! src/hotspot/cpu/x86/foreignGlobals_x86.hpp ! src/hotspot/cpu/x86/foreignGlobals_x86_32.cpp ! src/hotspot/cpu/x86/foreignGlobals_x86_64.cpp ! src/hotspot/cpu/x86/register_x86.hpp ! src/hotspot/cpu/x86/upcallLinker_x86_64.cpp + src/hotspot/cpu/x86/vmstorage_x86.hpp ! src/hotspot/cpu/zero/downcallLinker_zero.cpp ! src/hotspot/cpu/zero/foreignGlobals_zero.cpp + src/hotspot/cpu/zero/vmstorage_zero.hpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/javaClasses.hpp ! src/hotspot/share/code/codeBlob.cpp ! src/hotspot/share/code/codeBlob.hpp + src/hotspot/share/prims/downcallLinker.cpp ! src/hotspot/share/prims/downcallLinker.hpp ! src/hotspot/share/prims/foreignGlobals.cpp ! src/hotspot/share/prims/foreignGlobals.hpp ! src/hotspot/share/prims/foreignGlobals.inline.hpp ! src/hotspot/share/prims/nativeEntryPoint.cpp + src/hotspot/share/prims/vmstorage.cpp + src/hotspot/share/prims/vmstorage.hpp ! src/hotspot/share/runtime/globals.hpp ! src/java.base/share/classes/java/lang/foreign/Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/ABIDescriptor.java ! src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/Architecture.java ! src/java.base/share/classes/jdk/internal/foreign/abi/CallingSequence.java ! src/java.base/share/classes/jdk/internal/foreign/abi/CallingSequenceBuilder.java + src/java.base/share/classes/jdk/internal/foreign/abi/CapturableState.java ! src/java.base/share/classes/jdk/internal/foreign/abi/DowncallLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/LinkerOptions.java ! src/java.base/share/classes/jdk/internal/foreign/abi/NativeEntryPoint.java ! src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java + src/java.base/share/classes/jdk/internal/foreign/abi/StubLocations.java ! src/java.base/share/classes/jdk/internal/foreign/abi/VMStorage.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/AArch64Architecture.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/X86_64Architecture.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVx64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/CallArranger.java ! test/jdk/ProblemList.txt ! test/jdk/java/foreign/MemoryLayoutPrincipalTotalityTest.java ! test/jdk/java/foreign/MemoryLayoutTypeRetentionTest.java ! test/jdk/java/foreign/TestLargeSegmentCopy.java ! test/jdk/java/foreign/TestLinker.java ! test/jdk/java/foreign/callarranger/CallArrangerTestBase.java ! test/jdk/java/foreign/callarranger/TestAarch64CallArranger.java ! test/jdk/java/foreign/callarranger/TestSysVCallArranger.java ! test/jdk/java/foreign/callarranger/TestWindowsCallArranger.java + test/jdk/java/foreign/capturecallstate/TestCaptureCallState.java + test/jdk/java/foreign/capturecallstate/libCaptureCallState.c Changeset: 32884592 Author: Tyler Steele Date: 2022-12-05 14:53:52 +0000 URL: https://git.openjdk.org/loom/commit/328845926d3c1984f65450bfe01ebbc2c0315a69 8297606: [AIX] Broken build after JDK-8295475 Reviewed-by: mdoerr, stuefe ! make/autoconf/flags-cflags.m4 Changeset: 19d84988 Author: Alan Bateman Date: 2022-12-05 15:20:16 +0000 URL: https://git.openjdk.org/loom/commit/19d849884bd7a9718a5050b9709657f231a1ddbc 8297495: j.u.concurrent updates for JDK 20 Reviewed-by: jpai ! src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java ! src/java.base/share/classes/java/util/concurrent/ForkJoinWorkerThread.java + test/jdk/java/util/concurrent/tck/ForkJoinPool20Test.java ! test/jdk/java/util/concurrent/tck/JSR166TestCase.java Changeset: a38c63da Author: Jorn Vernee Date: 2022-12-05 15:28:51 +0000 URL: https://git.openjdk.org/loom/commit/a38c63da5632fe727838ff1ed88d9601bf954801 8297733: Refactor Cast binding to enum Reviewed-by: mcimadamore ! src/java.base/share/classes/jdk/internal/foreign/abi/Binding.java ! src/java.base/share/classes/jdk/internal/foreign/abi/BindingSpecializer.java Changeset: 6a7a0db5 Author: Hannes Walln?fer Date: 2022-12-05 16:23:01 +0000 URL: https://git.openjdk.org/loom/commit/6a7a0db587446160e77c9ac225669e5a0c9bc638 8296619: Upgrade jQuery to 3.6.1 Reviewed-by: jjg - src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/script-dir/jquery-3.6.0.min.js = src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/script-dir/jquery-3.6.1.js + src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/script-dir/jquery-3.6.1.min.js ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DocPaths.java ! src/jdk.javadoc/share/legal/jquery.md ! test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java ! test/langtools/jdk/javadoc/tool/api/basic/APITest.java Changeset: 601264d9 Author: Phil Race Date: 2022-12-05 17:54:15 +0000 URL: https://git.openjdk.org/loom/commit/601264d97d5cb1a8feb4aebadcb58bf2364916b4 8273357: SecurityManager deprecation warning from java/awt/regtesthelpers/Util.java Reviewed-by: kizune, aivanov ! test/jdk/java/awt/regtesthelpers/Util.java Changeset: 7d20a60a Author: ravi.ra.gupta Committer: Alexey Ivanov Date: 2022-12-05 18:41:42 +0000 URL: https://git.openjdk.org/loom/commit/7d20a60a983e459ea1c4e843fbde70fb796c6249 8297489: Modify TextAreaTextEventTest.java as to verify the content change of TextComponent sends TextEvent Reviewed-by: honkar, aivanov - test/jdk/java/awt/event/ComponentEvent/TextAreaTextEventTest.java + test/jdk/java/awt/event/ComponentEvent/TextComponentTextEventTest.java Changeset: 9827b75c Author: Erik Gahlin Date: 2022-12-05 20:40:35 +0000 URL: https://git.openjdk.org/loom/commit/9827b75c451100d2d5f3e068a8758468fd9189e0 8298043: jdk/jfr/api/consumer/recordingstream/TestStop.java failed with "Expected outer stream to have 3 events" Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/EventDirectoryStream.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/management/StreamBarrier.java ! test/jdk/ProblemList.txt ! test/jdk/jdk/jfr/api/consumer/recordingstream/TestStop.java ! test/jdk/jdk/jfr/jmx/streaming/TestStop.java Changeset: da0917a2 Author: Jorn Vernee Date: 2022-12-05 20:47:06 +0000 URL: https://git.openjdk.org/loom/commit/da0917a2ae148ccb415accffbe1117a3dc5fdf2d 8297729: Replace GrowableArray in ComputeMoveOrder with hash table Reviewed-by: coleenp, jsjolen ! src/hotspot/share/prims/foreignGlobals.cpp ! src/hotspot/share/prims/foreignGlobals.hpp Changeset: 8af6e8a6 Author: Phil Race Date: 2022-12-05 21:26:44 +0000 URL: https://git.openjdk.org/loom/commit/8af6e8a67fc0355f11c270c3ea794366741856fa 8298123: Problem List MaximizedToIconified.java on macOS Reviewed-by: dcubed ! test/jdk/ProblemList.txt Changeset: 884b9ade Author: Alexey Semenyuk Date: 2022-12-06 00:13:22 +0000 URL: https://git.openjdk.org/loom/commit/884b9ade41c9803076f55f44cd5efd3530e92ab2 8293453: tools/jpackage/share/AddLShortcutTest.java "Failed: Check the number of mismatched pixels [1024] of [1024] is < [0.100000] threshold" Reviewed-by: almatvee ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/ExecutableRebrander.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources.properties ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_de.properties ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_ja.properties ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_zh_CN.properties ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/LauncherIconVerifier.java Changeset: 8d8a28ff Author: Alexey Semenyuk Date: 2022-12-06 00:14:31 +0000 URL: https://git.openjdk.org/loom/commit/8d8a28ffcbd974bb1a5389839a7e3046a232f85d 8296489: tools/jpackage/windows/WinL10nTest.java fails with timeout Reviewed-by: almatvee ! test/jdk/tools/jpackage/windows/WinL10nTest.java Changeset: ba2d28e9 Author: Jayathirth D V Date: 2022-12-06 03:43:28 +0000 URL: https://git.openjdk.org/loom/commit/ba2d28e911f4f523334f98fd0186680acafb6f0a 8298027: Remove SCCS id's from awt jtreg tests Reviewed-by: aivanov ! test/jdk/java/awt/font/TextLayout/TestOldHangul.java ! test/jdk/java/awt/font/TextLayout/TestTibetan.java Changeset: ee9ba745 Author: Srikanth Adayapalam Date: 2022-12-06 04:23:40 +0000 URL: https://git.openjdk.org/loom/commit/ee9ba7456403c59a6e14d22cf9c2f53eef97ea57 8295184: Printing messages with a RecordComponentElement does not include position Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeInfo.java + test/langtools/tools/javac/records/recordComponent/8295184/RecordComponentSourcePositionTest.java + test/langtools/tools/javac/records/recordComponent/8295184/ReproducingAP.java + test/langtools/tools/javac/records/recordComponent/8295184/TestWarning.java Changeset: 04012c43 Author: Thomas Stuefe Date: 2022-12-06 06:30:59 +0000 URL: https://git.openjdk.org/loom/commit/04012c4310806bb638737b577351851242950298 8298111: Cleanups after UseMallocOnly removal Reviewed-by: coleenp ! src/hotspot/share/memory/arena.hpp Changeset: e9754181 Author: Albert Mingkun Yang Date: 2022-12-06 06:48:21 +0000 URL: https://git.openjdk.org/loom/commit/e9754181af17f77e066eaabba5aacf6b404dabaa 8298102: Remove DirtyCardToOopClosure::_last_explicit_min_done Reviewed-by: tschatzl ! src/hotspot/share/gc/shared/space.hpp Changeset: f5ad515d Author: Yude Lin Committer: Thomas Schatzl Date: 2022-12-06 07:16:27 +0000 URL: https://git.openjdk.org/loom/commit/f5ad515db0b8f5545137c47200e81d78f89aa09c 8297247: Add GarbageCollectorMXBean for Remark and Cleanup pause time in G1 Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1FullGCScope.cpp ! src/hotspot/share/gc/g1/g1FullGCScope.hpp ! src/hotspot/share/gc/g1/g1MonitoringSupport.cpp ! src/hotspot/share/gc/g1/g1MonitoringSupport.hpp ! src/hotspot/share/gc/g1/g1VMOperations.cpp ! src/hotspot/share/gc/g1/g1YoungCollector.cpp ! test/hotspot/jtreg/gc/TestMemoryMXBeansAndPoolsPresence.java + test/hotspot/jtreg/gc/g1/TestRemarkCleanupMXBean.java ! test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationTools.java ! test/hotspot/jtreg/gc/testlibrary/g1/MixedGCProvoker.java ! test/jdk/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java ! test/jdk/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationTest.java ! test/jdk/java/lang/management/MemoryMXBean/MemoryTest.java ! test/lib/jdk/test/lib/jfr/GCHelper.java Changeset: 0bd04a65 Author: Christian Hagedorn Date: 2022-12-06 07:18:44 +0000 URL: https://git.openjdk.org/loom/commit/0bd04a658963c1126faa776cb8a96c23beb5e3e6 8297951: C2: Create skeleton predicates for all If nodes in loop predication Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/loopPredicate.cpp + test/hotspot/jtreg/compiler/loopopts/TestMissingSkeletonPredicateForIfNode.java Changeset: 923c7466 Author: Alan Bateman Date: 2022-12-06 07:30:52 +0000 URL: https://git.openjdk.org/loom/commit/923c746650204e36053251c19cf91b7e41e938b0 8298057: (fs) Remove PollingWatchService.POLLING_INIT_DELAY Reviewed-by: bpb, jpai ! src/java.base/share/classes/sun/nio/fs/PollingWatchService.java Changeset: 2a243a33 Author: Daniel Jeli?ski Date: 2022-12-06 08:24:17 +0000 URL: https://git.openjdk.org/loom/commit/2a243a33cc09f4674b232d89f36fb731055009d9 8267617: Certificate's IP x509 NameConstraints raises ArrayIndexOutOfBoundsException Reviewed-by: mullan ! src/java.base/share/classes/sun/security/x509/IPAddressName.java + test/jdk/sun/security/x509/IPAddressName/ConstrainsTest.java Changeset: f8f46305 Author: Julian Waters Date: 2022-12-06 08:42:36 +0000 URL: https://git.openjdk.org/loom/commit/f8f46305ef0d1c12154075c7a7d4dc75f91529b5 8297963: Partially fix string expansion issues in UTIL_DEFUN_NAMED and related macros Reviewed-by: ihse ! make/autoconf/flags.m4 ! make/autoconf/util.m4 Changeset: a6139985 Author: Pengfei Li Date: 2022-12-06 09:16:47 +0000 URL: https://git.openjdk.org/loom/commit/a61399854a9db8e3c0cb3f391fa557cb37e02571 8297689: Fix incorrect result of Short.reverseBytes() call in loops Reviewed-by: thartmann, jbhateja ! src/hotspot/share/opto/vectornode.cpp ! src/hotspot/share/prims/vectorSupport.cpp ! test/hotspot/jtreg/compiler/vectorization/TestReverseBytes.java + test/hotspot/jtreg/compiler/vectorization/TestSubwordReverseBytes.java ! test/hotspot/jtreg/compiler/vectorization/runner/BasicCharOpTest.java ! test/hotspot/jtreg/compiler/vectorization/runner/BasicShortOpTest.java Changeset: 4458de95 Author: Fei Gao Committer: Pengfei Li Date: 2022-12-06 09:35:27 +0000 URL: https://git.openjdk.org/loom/commit/4458de95f845c036c1c8e28df7043e989beaee98 8297172: Fix some issues of auto-vectorization of `Long.bitCount/numberOfTrailingZeros/numberOfLeadingZeros()` Reviewed-by: kvn, thartmann ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/x86/x86.ad ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/superword.hpp ! src/hotspot/share/opto/vectornode.cpp ! src/hotspot/share/opto/vectornode.hpp ! test/hotspot/jtreg/compiler/c2/irTests/TestDisableAutoVectOpcodes.java ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java + test/hotspot/jtreg/compiler/vectorization/TestNumberOfContinuousZeros.java ! test/hotspot/jtreg/compiler/vectorization/TestPopCountVectorLong.java Changeset: a9e6c62b Author: Thomas Schatzl Date: 2022-12-06 10:09:59 +0000 URL: https://git.openjdk.org/loom/commit/a9e6c62ba7df8d28cef9579c57a0386736bd9dbf 8297186: G1 triggers unnecessary full GCs when heap utilization is low Reviewed-by: kbarrett, sjohanss ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp + test/hotspot/jtreg/gc/g1/TestOneEdenRegionAfterGC.java ! test/hotspot/jtreg/runtime/cds/appcds/LotsOfClasses.java Changeset: 84b927a0 Author: Per Minborg Committer: Alan Bateman Date: 2022-12-06 10:42:59 +0000 URL: https://git.openjdk.org/loom/commit/84b927a05bcb7bf32a12829070ffd3a5670066d2 8296024: Usage of DirectBuffer::address should be guarded Reviewed-by: mcimadamore, alanb, psandoz, bpb ! src/java.base/share/classes/com/sun/crypto/provider/GaloisCounterMode.java ! src/java.base/share/classes/java/nio/Buffer.java ! src/java.base/share/classes/java/util/zip/Adler32.java ! src/java.base/share/classes/java/util/zip/CRC32.java ! src/java.base/share/classes/java/util/zip/CRC32C.java ! src/java.base/share/classes/java/util/zip/Deflater.java ! src/java.base/share/classes/java/util/zip/Inflater.java ! src/java.base/share/classes/java/util/zip/ZipUtils.java ! src/java.base/share/classes/jdk/internal/access/JavaNioAccess.java ! src/java.base/share/classes/module-info.java ! src/java.base/share/classes/sun/nio/ch/DatagramChannelImpl.java ! src/java.base/share/classes/sun/nio/ch/DirectBuffer.java ! src/java.base/share/classes/sun/nio/ch/IOUtil.java ! src/java.base/share/lib/security/default.policy ! src/java.base/unix/classes/sun/nio/fs/UnixUserDefinedFileAttributeView.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11AEADCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Cipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Digest.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyWrapCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PSSSignature.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Signature.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java Changeset: 2243646f Author: Albert Mingkun Yang Date: 2022-12-06 12:26:06 +0000 URL: https://git.openjdk.org/loom/commit/2243646fe35226e6d12d478483264270537a83cc 8298145: Remove ContiguousSpace::capacity Reviewed-by: tschatzl ! src/hotspot/share/gc/shared/space.hpp Changeset: b0e54328 Author: Daniel Fuchs Date: 2022-12-06 12:46:01 +0000 URL: https://git.openjdk.org/loom/commit/b0e54328c530faf8aae2f48a37ff378215142689 8297687: new URI(S,S,S,S) throws exception with incorrect index position reported in the error message Reviewed-by: jpai ! src/java.base/share/classes/java/net/URI.java ! test/jdk/java/net/URI/Test.java Changeset: 1e468320 Author: Aggelos Biboudis Committer: Jan Lahoda Date: 2022-12-06 13:00:10 +0000 URL: https://git.openjdk.org/loom/commit/1e468320dc6e495343dbdf392cbcbda79672c7ad 8297602: Compiler crash with type annotation and generic record during pattern matching Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotations.java + test/langtools/tools/javac/T8297602.java Changeset: 203251ff Author: Volodymyr Paprotski Committer: Sandhya Viswanathan Date: 2022-12-06 16:47:45 +0000 URL: https://git.openjdk.org/loom/commit/203251ffc0ea8b9bb9c8b95c50434e4185020d84 8297379: Enable the ByteBuffer path of Poly1305 optimizations Reviewed-by: sviswanathan, ascarpino, jnimeh ! src/java.base/share/classes/com/sun/crypto/provider/Poly1305.java ! test/jdk/com/sun/crypto/provider/Cipher/ChaCha20/unittest/java.base/com/sun/crypto/provider/Poly1305IntrinsicFuzzTest.java ! test/micro/org/openjdk/bench/javax/crypto/full/Poly1305DigestBench.java Changeset: 0d2a9ee5 Author: Joe Darcy Date: 2022-12-06 16:55:12 +0000 URL: https://git.openjdk.org/loom/commit/0d2a9ee5287779c2e33fc0bfda84aa6128d8f479 8298142: Update internal comment on language features in SourceVersion Reviewed-by: sundar, jlahoda ! src/java.compiler/share/classes/javax/lang/model/SourceVersion.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java Changeset: 336d230a Author: Thomas Stuefe Date: 2022-12-06 18:32:42 +0000 URL: https://git.openjdk.org/loom/commit/336d230a39e41eeed8b9d2ce3fec42e9de1d11fe 8297958: NMT: Display peak values Reviewed-by: jsjolen, sjohanss ! src/hotspot/share/services/mallocSiteTable.hpp ! src/hotspot/share/services/mallocTracker.cpp ! src/hotspot/share/services/mallocTracker.hpp ! src/hotspot/share/services/memReporter.cpp ! src/hotspot/share/services/memReporter.hpp Changeset: ea83cb96 Author: Rajat Mahajan Committer: Harshitha Onkar Date: 2022-12-06 18:43:02 +0000 URL: https://git.openjdk.org/loom/commit/ea83cb960d07ffa9384aad6a1e2a0233e3ebbdd1 8297450: ScaledTextFieldBorderTest.java fails when run with -show parameter Reviewed-by: aivanov, honkar ! test/jdk/javax/swing/border/LineBorder/ScaledTextFieldBorderTest.java Changeset: 79d163d4 Author: Mark Powers Committer: Weijun Wang Date: 2022-12-06 20:36:50 +0000 URL: https://git.openjdk.org/loom/commit/79d163d4994d235266117b425498b0df3d16c3c4 8293412: Remove unnecessary java.security.egd overrides Reviewed-by: xuelei, djelinski ! test/jdk/sun/security/provider/SeedGenerator/SeedGeneratorChoice.java ! test/jdk/sun/security/tools/jarsigner/compatibility/Compatibility.java ! test/lib/jdk/test/lib/SecurityTools.java Changeset: 2cdc0195 Author: Christian Stein Date: 2022-12-06 20:51:06 +0000 URL: https://git.openjdk.org/loom/commit/2cdc0195655317cb0b04f76fd8dce5e40bf52774 8298178: Update to use jtreg 7.1.1 Reviewed-by: erikj ! make/autoconf/lib-tests.m4 ! make/conf/github-actions.conf ! make/conf/jib-profiles.js ! test/hotspot/jtreg/TEST.ROOT ! test/jaxp/TEST.ROOT ! test/jdk/TEST.ROOT ! test/langtools/TEST.ROOT ! test/lib-test/TEST.ROOT Changeset: cd2182a9 Author: Martin Doerr Date: 2022-12-06 20:56:48 +0000 URL: https://git.openjdk.org/loom/commit/cd2182a9967917e733e486d918e9aeba3bd35ee8 8295724: VirtualMachineError: Out of space in CodeCache for method handle intrinsic Reviewed-by: kvn, dlong ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/code/nmethod.hpp ! src/hotspot/share/gc/shared/gcBehaviours.cpp ! src/hotspot/share/oops/method.hpp + test/hotspot/jtreg/compiler/codecache/MHIntrinsicAllocFailureTest.java Changeset: b4da0ee7 Author: Anthony Scarpino Date: 2022-12-06 21:37:12 +0000 URL: https://git.openjdk.org/loom/commit/b4da0ee706b6a274e6ba4e5483ef972f45c9f81e 8296507: GCM using more memory than necessary with in-place operations Reviewed-by: jnimeh ! src/java.base/share/classes/com/sun/crypto/provider/GaloisCounterMode.java Changeset: 16a59018 Author: Daniel D. Daugherty Date: 2022-12-06 22:01:45 +0000 URL: https://git.openjdk.org/loom/commit/16a5901845de170e2e6f9ea13f19bb2a34c1da85 8298214: ProblemList java/util/concurrent/forkjoin/AsyncShutdownNow.java 8298218: ProblemList java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java on windows-x64 8298222: ProblemList java/awt/Mixing/AWT_Mixing/ViewportOverlapping.java on windows-x64 8298220: ProblemList java/awt/Mixing/AWT_Mixing/OpaqueOverlapping.java on windows-x64 Reviewed-by: rriggs ! test/jdk/ProblemList.txt Changeset: 62baff50 Author: Chris Plummer Date: 2022-12-06 22:45:53 +0000 URL: https://git.openjdk.org/loom/commit/62baff503ef5562e02e1900525acffa5d4ca8534 8298221: Problem list gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java on macosx-aarch64 Reviewed-by: dcubed ! test/hotspot/jtreg/ProblemList.txt Changeset: ce896731 Author: Andrew John Hughes Date: 2022-12-07 00:34:00 +0000 URL: https://git.openjdk.org/loom/commit/ce896731d38866c2bf99cd49525062e150d94160 8297804: (tz) Update Timezone Data to 2022g Reviewed-by: naoto ! make/data/cldr/common/bcp47/timezone.xml ! make/data/cldr/common/main/root.xml ! make/data/cldr/common/supplemental/metaZones.xml ! src/java.base/share/classes/sun/util/resources/TimeZoneNames.java ! src/java.base/share/data/tzdata/VERSION ! src/java.base/share/data/tzdata/africa ! src/java.base/share/data/tzdata/asia ! src/java.base/share/data/tzdata/backward ! src/java.base/share/data/tzdata/europe ! src/java.base/share/data/tzdata/iso3166.tab ! src/java.base/share/data/tzdata/northamerica ! src/java.base/share/data/tzdata/southamerica ! src/java.base/share/data/tzdata/zone.tab ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_de.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_es.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_fr.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_it.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_ja.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_ko.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_pt_BR.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_sv.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_zh_CN.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_zh_TW.java ! test/jdk/java/util/TimeZone/TimeZoneData/VERSION ! test/jdk/java/util/TimeZone/TimeZoneData/aliases.txt ! test/jdk/java/util/TimeZone/TimeZoneData/displaynames.txt Changeset: acf96c64 Author: Yi Yang Date: 2022-12-07 03:08:07 +0000 URL: https://git.openjdk.org/loom/commit/acf96c64b750b1a7badbb2cd1c7021dad36aae1e 8290432: C2 compilation fails with assert(node->_last_del == _last) failed: must have deleted the edge just produced Reviewed-by: kvn, thartmann, chagedorn ! src/hotspot/share/opto/loopnode.cpp + test/hotspot/jtreg/compiler/c2/TestUnexpectedParallelIV.java Changeset: 8ea369af Author: Denghui Dong Date: 2022-12-07 06:37:54 +0000 URL: https://git.openjdk.org/loom/commit/8ea369afe6b23618086d074f1fad61effce3beec 8298171: Missing newline in the example output of -Xlog:help Reviewed-by: dholmes ! src/hotspot/share/logging/logConfiguration.cpp Changeset: 1c2a0939 Author: Thomas Stuefe Date: 2022-12-07 07:31:29 +0000 URL: https://git.openjdk.org/loom/commit/1c2a093988c69ae0b2c0030835d11469fa9fb852 8298147: Clang warns about pointless comparisons Reviewed-by: dholmes ! src/hotspot/os/linux/cgroupV1Subsystem_linux.cpp ! src/hotspot/os/linux/cgroupV2Subsystem_linux.cpp Changeset: 085f96cb Author: Axel Boldt-Christmas Date: 2022-12-07 08:28:20 +0000 URL: https://git.openjdk.org/loom/commit/085f96cb1a9be3e55da5801069a800e322649a8f 8295258: Add BasicType argument to AccessInternal::decorator_fixup Reviewed-by: stefank, eosterlund ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/arm/macroAssembler_arm.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.inline.hpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/s390/macroAssembler_s390.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/share/gc/shared/c1/barrierSetC1.hpp ! src/hotspot/share/gc/shared/c2/barrierSetC2.cpp ! src/hotspot/share/oops/accessDecorators.hpp Changeset: 27bbe7be Author: Daniel Jeli?ski Date: 2022-12-07 08:56:10 +0000 URL: https://git.openjdk.org/loom/commit/27bbe7be2c43a22e8cf55aa403d8018346ae3e37 8297976: Remove sun.net.ProgressMonitor and related classes 8240275: Occasional errors in HttpURLConnection due to race with GC Reviewed-by: jpai, dfuchs, michaelm - src/java.base/share/classes/sun/net/ProgressEvent.java - src/java.base/share/classes/sun/net/ProgressListener.java - src/java.base/share/classes/sun/net/ProgressMeteringPolicy.java - src/java.base/share/classes/sun/net/ProgressMonitor.java - src/java.base/share/classes/sun/net/ProgressSource.java ! src/java.base/share/classes/sun/net/www/MeteredStream.java ! src/java.base/share/classes/sun/net/www/http/HttpClient.java ! src/java.base/share/classes/sun/net/www/http/KeepAliveStream.java ! src/java.base/share/classes/sun/net/www/protocol/file/FileURLConnection.java ! src/java.base/share/classes/sun/net/www/protocol/ftp/FtpURLConnection.java ! src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java ! test/jdk/java/lang/reflect/Proxy/ProxyModuleMapping.java - test/jdk/sun/net/www/http/ChunkedInputStream/ChunkedEncodingWithProgressMonitorTest.java + test/jdk/sun/net/www/http/KeepAliveStream/KeepAliveStreamFinalizer.java Changeset: 5a3439db Author: Sergey Bylokhov Date: 2022-12-07 09:35:26 +0000 URL: https://git.openjdk.org/loom/commit/5a3439db9fef3e54650df4019e31311b60a0ec1d 4677581: ColorModel.getComponentSize()-wrong conditions for ArrayIndexOutOfBoundsExceptio Reviewed-by: prr ! src/java.desktop/share/classes/java/awt/image/ColorModel.java + test/jdk/java/awt/image/ColorModel/GetComponentSizeAIOBE.java Changeset: ccc69af9 Author: Alan Bateman Date: 2022-12-07 10:12:40 +0000 URL: https://git.openjdk.org/loom/commit/ccc69af966cf4395d75b2018490cafc47dcad90f 8296672: Implementation of Virtual Threads (Second Preview) Reviewed-by: mchung, jpai ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java Changeset: 221e1a42 Author: Andrew Haley Committer: Alan Bateman Date: 2022-12-07 10:14:06 +0000 URL: https://git.openjdk.org/loom/commit/221e1a426070088b819ddc37b7ca77d9d8626eb4 8286666: JEP 429: Implementation of Scoped Values (Incubator) Reviewed-by: psandoz, dlong, alanb, mcimadamore ! make/data/hotspot-symbols/symbols-unix ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/share/c1/c1_Compiler.cpp ! src/hotspot/share/c1/c1_LIRGenerator.cpp ! src/hotspot/share/c1/c1_LIRGenerator.hpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/javaClasses.hpp ! src/hotspot/share/classfile/vmIntrinsics.cpp ! src/hotspot/share/classfile/vmIntrinsics.hpp ! src/hotspot/share/classfile/vmSymbols.hpp ! src/hotspot/share/include/jvm.h ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/jvmci/jvmciCompilerToVM.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/oops/oopHandle.hpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/library_call.hpp ! src/hotspot/share/opto/memnode.cpp ! src/hotspot/share/prims/jvm.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.cpp ! src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/vframe_hp.cpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/hotspot/share/utilities/exceptions.cpp ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/java/lang/Thread.java ! src/java.base/share/classes/java/lang/VirtualThread.java ! src/java.base/share/classes/java/util/concurrent/ThreadLocalRandom.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java ! src/java.base/share/classes/jdk/internal/misc/ThreadFlock.java ! src/java.base/share/classes/jdk/internal/vm/Continuation.java - src/java.base/share/classes/jdk/internal/vm/ExtentLocalContainer.java + src/java.base/share/classes/jdk/internal/vm/ScopedValueContainer.java ! src/java.base/share/classes/jdk/internal/vm/ThreadContainer.java ! src/java.base/share/classes/module-info.java ! src/java.base/share/native/libjava/Thread.c + src/jdk.incubator.concurrent/share/classes/jdk/incubator/concurrent/ScopedValue.java ! src/jdk.incubator.concurrent/share/classes/jdk/incubator/concurrent/StructuredTaskScope.java ! test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameCount/framecnt01/framecnt01.java ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/GetStackTraceCurrentThreadTest/libGetStackTraceCurrentThreadTest.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr03/libgetstacktr03.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr04/libgetstacktr04.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr05/libgetstacktr05.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr06/libgetstacktr06.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr07/libgetstacktr07.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr08/libgetstacktr08.cpp ! test/jdk/ProblemList.txt + test/jdk/jdk/incubator/concurrent/ScopedValue/ManyBindings.java + test/jdk/jdk/incubator/concurrent/ScopedValue/ScopeValueAPI.java + test/jdk/jdk/incubator/concurrent/ScopedValue/StressStackOverflow.java + test/jdk/jdk/incubator/concurrent/StructuredTaskScope/WithScopedValue.java + test/jdk/jdk/internal/misc/ThreadFlock/WithScopedValue.java + test/micro/org/openjdk/bench/jdk/incubator/concurrent/ScopedValues.java + test/micro/org/openjdk/bench/jdk/incubator/concurrent/ScopedValuesData.java + test/micro/org/openjdk/bench/jdk/incubator/concurrent/ScopedValuesExecutorService.java Changeset: 80cbfab9 Author: Albert Mingkun Yang Date: 2022-12-07 10:35:43 +0000 URL: https://git.openjdk.org/loom/commit/80cbfab928eaace71c16a7a1d430980a730383ba 8298169: Remove unused methods in space.hpp Reviewed-by: stefank ! src/hotspot/share/gc/shared/space.hpp Changeset: 4da84116 Author: Severin Gehwolf Date: 2022-12-07 10:46:53 +0000 URL: https://git.openjdk.org/loom/commit/4da8411674b7515310000bd8243860bc73f9a03d 8298108: Add a regression test for JDK-8297684 Reviewed-by: mullan + test/jdk/java/security/SignedJar/spi-calendar-provider/TestSPISigned.java + test/jdk/java/security/SignedJar/spi-calendar-provider/provider/baz/CalendarDataProviderImpl.java + test/jdk/java/security/SignedJar/spi-calendar-provider/provider/meta/META-INF/services/java.util.spi.CalendarDataProvider Changeset: 3e041eb9 Author: Thomas Stuefe Date: 2022-12-07 11:12:51 +0000 URL: https://git.openjdk.org/loom/commit/3e041eb9093275bc658c02ae74cd39b4a74684ee 8298248: Limit sscanf output width in cgroup file parsers Reviewed-by: dholmes, sgehwolf ! src/hotspot/os/linux/cgroupV2Subsystem_linux.cpp Changeset: bfcc238e Author: Markus Gr?nlund Date: 2022-12-07 11:25:37 +0000 URL: https://git.openjdk.org/loom/commit/bfcc238ed09cb432e4a003b89a803c3c10e8ac80 8297964: Jetty.java fails "assert(_no_handle_mark_nesting == 0) failed: allocating handle inside NoHandleMark" Reviewed-by: egahlin ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackTrace.cpp Changeset: 58170f65 Author: Matthias Baesken Date: 2022-12-07 11:57:42 +0000 URL: https://git.openjdk.org/loom/commit/58170f657c2ccc7afd1e9056d7630a3b564207ef 8298035: Provide better descriptions for JIT compiler JFR events Reviewed-by: clanger, stuefe ! src/hotspot/share/jfr/metadata/metadata.xml Changeset: cf63f2e3 Author: Jan Lahoda Date: 2022-12-07 12:03:50 +0000 URL: https://git.openjdk.org/loom/commit/cf63f2e3ea93cf339d08e2865034e128d683e515 8298184: Incorrect record component type in record patterns Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! test/langtools/tools/javac/patterns/GenericRecordDeconstructionPattern.java Changeset: 8c0aff0a Author: Alan Bateman Date: 2022-12-08 09:17:10 +0000 URL: https://git.openjdk.org/loom/commit/8c0aff0a7755d3c17538ec1218407265a9868181 Merge ! make/autoconf/lib-tests.m4 ! make/conf/jib-profiles.js ! src/hotspot/share/runtime/globals.hpp ! test/hotspot/jtreg/ProblemList-Xcomp.txt ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt ! make/autoconf/lib-tests.m4 ! make/conf/jib-profiles.js ! src/hotspot/share/runtime/globals.hpp ! test/hotspot/jtreg/ProblemList-Xcomp.txt ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 86270e30 Author: Roland Westrelin Date: 2022-12-07 14:16:50 +0000 URL: https://git.openjdk.org/loom/commit/86270e3068d3b2e80710227ae2dc79719df35788 8269820: C2 PhaseIdealLoop::do_unroll get wrong opaque node Reviewed-by: kvn, thartmann, chagedorn ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/classes.hpp ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/opaquenode.hpp ! src/hotspot/share/opto/split_if.cpp ! src/hotspot/share/opto/subnode.cpp + test/hotspot/jtreg/compiler/loopopts/TestCanonicalLoopEntryOpaqueOrder.java Changeset: 6ed36835 Author: Albert Mingkun Yang Date: 2022-12-07 15:14:32 +0000 URL: https://git.openjdk.org/loom/commit/6ed36835ec9b3743430a8c1c71635f12c711f48a 8297209: Serial: Refactor GenCollectedHeap::full_process_roots Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/serial/genMarkSweep.cpp ! src/hotspot/share/gc/shared/genCollectedHeap.cpp ! src/hotspot/share/gc/shared/genCollectedHeap.hpp Changeset: 3de77509 Author: Claes Redestad Date: 2022-12-07 15:37:58 +0000 URL: https://git.openjdk.org/loom/commit/3de775094dab3c375a32ddabdd24456d177d3009 8298177: Various java.lang.invoke cleanups 8284363: Redundant imports in BoundMethodHandle Reviewed-by: jvernee ! src/java.base/share/classes/java/lang/invoke/BoundMethodHandle.java ! src/java.base/share/classes/java/lang/invoke/ClassSpecializer.java ! src/java.base/share/classes/java/lang/invoke/DirectMethodHandle.java ! src/java.base/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java ! src/java.base/share/classes/java/lang/invoke/LambdaForm.java ! src/java.base/share/classes/java/lang/invoke/MemberName.java ! src/java.base/share/classes/java/lang/invoke/MethodHandleImpl.java ! src/java.base/share/classes/java/lang/invoke/NativeMethodHandle.java ! src/java.base/share/classes/sun/invoke/util/BytecodeDescriptor.java ! src/java.base/share/classes/sun/invoke/util/ValueConversions.java ! test/jdk/sun/invoke/util/ValueConversionsTest.java Changeset: 29f1c3c6 Author: Severin Gehwolf Date: 2022-12-07 15:45:35 +0000 URL: https://git.openjdk.org/loom/commit/29f1c3c6e39170e0f36949dc209edf183c2eb36b 8298274: Problem list TestSPISigned on Windows Reviewed-by: mullan, dcubed ! test/jdk/ProblemList.txt Changeset: dd7385d1 Author: Tyler Steele Date: 2022-12-07 16:24:51 +0000 URL: https://git.openjdk.org/loom/commit/dd7385d1e86afe8af79587e80c5046af5c84b5cd 8298202: [AIX] Dead code elimination removed jfr constructor used by AIX Reviewed-by: dholmes, stuefe ! src/hotspot/share/runtime/os_perf.hpp Changeset: 389b8f4b Author: Markus KARG Committer: Brian Burkhalter Date: 2022-12-07 16:29:43 +0000 URL: https://git.openjdk.org/loom/commit/389b8f4b788375821a8bb4b017e50f905abdad2d 8297298: SequenceInputStream should override transferTo Reviewed-by: bpb ! src/java.base/share/classes/java/io/SequenceInputStream.java = test/jdk/java/io/SequenceInputStream/TransferTo.java Changeset: 39344840 Author: Tyler Steele Date: 2022-12-07 16:54:10 +0000 URL: https://git.openjdk.org/loom/commit/39344840c7a5fbd37f6c6a972a89c3600396e878 8298205: Prefer Member Initialization Lists for JFR classes in os_perf.hpp Reviewed-by: dholmes, mgronlun ! src/hotspot/share/runtime/os_perf.hpp Changeset: 8edb98df Author: Olga Mikhaltsova Committer: Andrew Brygin Date: 2022-12-07 18:02:20 +0000 URL: https://git.openjdk.org/loom/commit/8edb98df3dd393103f2c80e929b011bc6b7993a3 8165943: LineBreakMeasurer does not measure correctly if TextAttribute.TRACKING is set. Co-authored-by: Jason Fordham Reviewed-by: prr ! src/java.desktop/share/classes/sun/font/AttributeValues.java ! src/java.desktop/share/classes/sun/font/ExtendedTextSourceLabel.java ! src/java.desktop/share/classes/sun/font/StandardGlyphVector.java + test/jdk/java/awt/font/LineBreakMeasurer/LineBreakWithTracking.java + test/jdk/java/awt/font/LineBreakMeasurer/LineBreakWithTrackingAuto.java Changeset: e86f31b5 Author: Christian Hagedorn Date: 2022-12-07 18:32:28 +0000 URL: https://git.openjdk.org/loom/commit/e86f31b5e71af00fea9cd989a86c1e75e3df1821 8298301: C2: assert(main_cmp->in(2)->Opcode() == Op_Opaque1) failed: main loop has no opaque node? Reviewed-by: thartmann ! src/hotspot/share/opto/loopTransform.cpp Changeset: 3b8c7ef8 Author: Stefan Johansson Date: 2022-12-07 18:43:42 +0000 URL: https://git.openjdk.org/loom/commit/3b8c7ef8e705764942c4f3df872e3e47021a37f4 8157023: Integrate NMT with JFR Reviewed-by: stuefe, mgronlun, egahlin ! src/hotspot/share/jfr/metadata/metadata.xml ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/hotspot/share/services/mallocTracker.hpp + src/hotspot/share/services/memJfrReporter.cpp + src/hotspot/share/services/memJfrReporter.hpp ! src/hotspot/share/services/memReporter.cpp ! src/hotspot/share/services/memReporter.hpp + src/hotspot/share/services/nmtUsage.cpp + src/hotspot/share/services/nmtUsage.hpp ! src/hotspot/share/services/virtualMemoryTracker.hpp ! src/jdk.jfr/share/conf/jfr/default.jfc ! src/jdk.jfr/share/conf/jfr/profile.jfc + test/jdk/jdk/jfr/event/runtime/TestNativeMemoryUsageEvents.java ! test/lib/jdk/test/lib/jfr/EventNames.java Changeset: 10356e76 Author: Brian Burkhalter Date: 2022-12-07 18:54:18 +0000 URL: https://git.openjdk.org/loom/commit/10356e767a44632c5de142d4666bd85d4618bf71 8298303: (fs) temporarily remove Path.getExtension Reviewed-by: smarks, alanb ! src/java.base/share/classes/java/nio/file/Path.java - test/jdk/java/nio/file/Path/Extensions.java Changeset: 5d4c71c8 Author: Xue-Lei Andrew Fan Date: 2022-12-07 20:16:45 +0000 URL: https://git.openjdk.org/loom/commit/5d4c71c8bd361af78c90777f17b79e95d8eb5afe 8281236: (D)TLS key exchange named groups Reviewed-by: mullan ! src/java.base/share/classes/javax/net/ssl/SSLParameters.java ! src/java.base/share/classes/sun/security/ssl/CertificateVerify.java ! src/java.base/share/classes/sun/security/ssl/DHKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/DHServerKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/ECDHKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/ECDHServerKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/HandshakeContext.java ! src/java.base/share/classes/sun/security/ssl/KeyShareExtension.java ! src/java.base/share/classes/sun/security/ssl/NamedGroup.java ! src/java.base/share/classes/sun/security/ssl/SSLConfiguration.java ! src/java.base/share/classes/sun/security/ssl/SSLKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/SignatureScheme.java ! src/java.base/share/classes/sun/security/ssl/SupportedGroupsExtension.java ! src/java.base/share/classes/sun/security/ssl/X509Authentication.java + test/jdk/javax/net/ssl/DTLS/DTLSNamedGroups.java + test/jdk/javax/net/ssl/SSLParameters/NamedGroups.java + test/jdk/javax/net/ssl/SSLParameters/NamedGroupsSpec.java Changeset: 8a9911ef Author: Naoto Sato Date: 2022-12-07 20:49:29 +0000 URL: https://git.openjdk.org/loom/commit/8a9911ef1762ae837e427ec9d91b1399ba33b6e4 8295803: Console should be usable in jshell and other environments Reviewed-by: jlaskey, alanb ! src/java.base/share/classes/java/io/Console.java ! src/java.base/share/classes/java/io/PrintWriter.java + src/java.base/share/classes/java/io/ProxyingConsole.java ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/jdk/internal/access/JavaIOAccess.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java + src/java.base/share/classes/jdk/internal/io/JdkConsole.java + src/java.base/share/classes/jdk/internal/io/JdkConsoleProvider.java ! src/java.base/share/classes/module-info.java ! src/java.base/share/classes/sun/security/util/Password.java + src/jdk.internal.le/share/classes/jdk/internal/org/jline/JdkConsoleProviderImpl.java ! src/jdk.internal.le/share/classes/module-info.java + test/jdk/java/io/Console/ModuleSelectionTest.java + test/jdk/java/io/Console/RedirectTest.java + test/jdk/java/io/Console/SecurityManagerTest.java + test/jdk/java/io/Console/input.txt + test/jdk/java/io/Console/test.policy Changeset: 8b69a2e4 Author: Doug Simon Date: 2022-12-07 22:11:11 +0000 URL: https://git.openjdk.org/loom/commit/8b69a2e434ad2fa3369079622b57afb973d5bd9a 8298099: [JVMCI] decouple libgraal from JVMCI module at runtime Reviewed-by: never ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/classLoader.hpp ! src/hotspot/share/classfile/vmSymbols.hpp ! src/hotspot/share/jvmci/jvmci.cpp ! src/hotspot/share/jvmci/jvmciCompilerToVM.cpp ! src/hotspot/share/jvmci/jvmciEnv.cpp ! src/hotspot/share/jvmci/jvmciEnv.hpp ! src/hotspot/share/jvmci/jvmciJavaClasses.cpp ! src/hotspot/share/jvmci/jvmciJavaClasses.hpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/jvmci/vmSymbols_jvmci.hpp ! src/hotspot/share/runtime/arguments.cpp + src/java.base/share/classes/jdk/internal/vm/TranslatedException.java ! src/java.base/share/classes/jdk/internal/vm/VMSupport.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java - src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/TranslatedException.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.services/src/jdk/vm/ci/services/Services.java - test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/TestServices.java - test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/TestTranslatedException.java + test/jdk/jdk/internal/vm/TestTranslatedException.java Changeset: af8fb7ee Author: Alexander Zuev Date: 2022-12-08 00:32:13 +0000 URL: https://git.openjdk.org/loom/commit/af8fb7eef7188ef762399cfb3faf5c8afd49efa7 8282578: AIOOBE in javax.sound.sampled.Clip Reviewed-by: prr, aivanov, azvegint ! src/java.desktop/share/classes/com/sun/media/sound/SoftMainMixer.java ! src/java.desktop/share/classes/com/sun/media/sound/SoftTuning.java + test/jdk/javax/sound/midi/SysexMessage/EmptySysExMessageTest.java + test/jdk/javax/sound/midi/SysexMessage/zerosysex.mid Changeset: 3aa4070d Author: Darragh Clarke Committer: Jaikiran Pai Date: 2022-12-08 01:39:07 +0000 URL: https://git.openjdk.org/loom/commit/3aa4070d4ca21b9e90388995efbcde318892e25f 8294047: HttpResponseInputStream swallows interrupts Reviewed-by: dfuchs, vtewari, jpai ! src/java.net.http/share/classes/java/net/http/HttpResponse.java ! src/java.net.http/share/classes/jdk/internal/net/http/ResponseSubscribers.java + test/jdk/java/net/httpclient/HttpResponseInputStreamInterruptTest.java Changeset: 74f346b3 Author: Xiaolin Zheng Committer: Fei Yang Date: 2022-12-08 02:19:35 +0000 URL: https://git.openjdk.org/loom/commit/74f346b33f7fa053ad5c99ef85baa32b7fb12fa6 8298075: RISC-V: Implement post-call NOPs Reviewed-by: fyang, luhenry ! src/hotspot/cpu/riscv/c1_CodeStubs_riscv.cpp ! src/hotspot/cpu/riscv/c2_safepointPollStubTable_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/nativeInst_riscv.cpp ! src/hotspot/cpu/riscv/nativeInst_riscv.hpp Changeset: d5cf18e7 Author: Tejesh R Date: 2022-12-08 04:34:48 +0000 URL: https://git.openjdk.org/loom/commit/d5cf18e7fb591185eecb042bfa015609ea7d15e0 8296198: JFileChooser throws InternalError java.lang.InternalError with Windows shortcuts Reviewed-by: serb, abhiscxk ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicFileChooserUI.java + test/jdk/javax/swing/JFileChooser/FileSystemView/CustomFSVLinkTest.java Changeset: 51759650 Author: Prasanta Sadhukhan Date: 2022-12-08 07:15:02 +0000 URL: https://git.openjdk.org/loom/commit/51759650e5593f48ce616a1a8abf51f5f8fd5302 8298323: trivial typo in JOptionPane.OK_OPTION Reviewed-by: iris ! src/java.desktop/share/classes/javax/swing/JOptionPane.java Changeset: 1166c8e2 Author: Alan Bateman Date: 2022-12-08 07:37:32 +0000 URL: https://git.openjdk.org/loom/commit/1166c8e2c0047869cd50b7ddc5355290ac2a695a 8296896: Change virtual Thread.yield to use external submit Reviewed-by: jpai, rpressler ! src/java.base/share/classes/java/lang/VirtualThread.java + test/jdk/java/lang/Thread/virtual/YieldQueuing.java ! test/jdk/java/lang/Thread/virtual/stress/YieldALot.java Changeset: 51d49d1c Author: Alan Bateman Date: 2022-12-08 09:17:49 +0000 URL: https://git.openjdk.org/loom/commit/51d49d1c6c7ff2e04ea7b6a680d1af954438e250 Merge ! src/java.base/share/classes/java/lang/VirtualThread.java ! test/jdk/ProblemList.txt ! src/java.base/share/classes/java/lang/VirtualThread.java ! test/jdk/ProblemList.txt Changeset: e92fe818 Author: Alan Bateman Date: 2022-12-09 06:55:43 +0000 URL: https://git.openjdk.org/loom/commit/e92fe818ae3490c3cf8464827c2156cabaa50f4a Merge ! make/conf/jib-profiles.js ! make/conf/jib-profiles.js Changeset: 46cd457b Author: Stefan Johansson Date: 2022-12-08 09:33:06 +0000 URL: https://git.openjdk.org/loom/commit/46cd457b0f78996a3f26e44452de8f8a66041f58 8298341: Ensure heap growth in TestNativeMemoryUsageEvents.java Reviewed-by: egahlin, stuefe ! test/jdk/jdk/jfr/event/runtime/TestNativeMemoryUsageEvents.java Changeset: 073897c8 Author: Smita Kamath Committer: Jatin Bhateja Date: 2022-12-08 09:46:59 +0000 URL: https://git.openjdk.org/loom/commit/073897c88bbc430e8751a18baf7487f6474fd0c3 8294588: Auto vectorize half precision floating point conversion APIs Reviewed-by: sviswanathan, kvn, jbhateja, fgao, xgong ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/cpu/x86/x86.ad ! src/hotspot/share/adlc/formssel.cpp ! src/hotspot/share/opto/classes.hpp ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/vectorIntrinsics.cpp ! src/hotspot/share/opto/vectornode.cpp ! src/hotspot/share/opto/vectornode.hpp ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java + test/hotspot/jtreg/compiler/vectorization/TestFloatConversionsVector.java Changeset: 297bf6a5 Author: Anthony Vanelverdinghe Committer: Julian Waters Date: 2022-12-08 10:19:39 +0000 URL: https://git.openjdk.org/loom/commit/297bf6a5965c4f01ca2091976b5e6ca675ab5395 8287397: Print top-level exception when snippet fails to read file Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/SnippetTaglet.java Changeset: b9346e14 Author: Sergey Tsypanov Committer: Julian Waters Date: 2022-12-08 10:21:56 +0000 URL: https://git.openjdk.org/loom/commit/b9346e149e6cfcaf18bfafbd262f6fed209dc644 8298033: Character.codePoint{At|Before}(char[], int, int) doesn't do JavaDoc-specified check Reviewed-by: rriggs ! src/java.base/share/classes/java/lang/Character.java ! test/jdk/java/lang/Character/Supplementary.java Changeset: 2f426cd6 Author: Jaikiran Pai Date: 2022-12-08 11:02:21 +0000 URL: https://git.openjdk.org/loom/commit/2f426cd68b28c8bf50b7102f961b15fd47b63b6a 8298375: Bad copyright header in test/jdk/java/lang/Character/Supplementary.java Reviewed-by: alanb ! test/jdk/java/lang/Character/Supplementary.java Changeset: 49b86224 Author: Christian Hagedorn Date: 2022-12-08 11:23:42 +0000 URL: https://git.openjdk.org/loom/commit/49b86224aacc7fd8b4d3354a85d72ef636a18a12 8290850: C2: create_new_if_for_predicate() does not clone pinned phi input nodes resulting in a broken graph Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/loopPredicate.cpp ! src/hotspot/share/opto/loopnode.hpp + test/hotspot/jtreg/compiler/loopopts/TestCreateNewIfForPredicateCloning.java Changeset: 94575d14 Author: Christian Hagedorn Date: 2022-12-08 12:00:01 +0000 URL: https://git.openjdk.org/loom/commit/94575d14f47e2dfb11b671bce26b69270b6bb3c8 8295116: C2: assert(dead->outcnt() == 0 && !dead->is_top()) failed: node must be dead Reviewed-by: thartmann, rcastanedalo ! src/hotspot/share/opto/ifnode.cpp Changeset: 9353899b Author: Erik Gahlin Date: 2022-12-08 12:02:13 +0000 URL: https://git.openjdk.org/loom/commit/9353899bc5564827826ed94c0530497ff828e01b 8298175: JFR: Common timestamp for periodic events Reviewed-by: dholmes, mgronlun ! make/src/classes/build/tools/jfr/GenerateJfrFiles.java ! src/hotspot/share/jfr/jni/jfrJniMethod.cpp ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/hotspot/share/utilities/ticks.hpp ! src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/RequestEngine.java Changeset: d8ef60b4 Author: Tobias Hartmann Date: 2022-12-08 12:06:24 +0000 URL: https://git.openjdk.org/loom/commit/d8ef60b406a9e8fe6cc6b7be0b74e45de38604c5 8298272: Clean up ProblemList Reviewed-by: chagedorn, kvn ! test/hotspot/jtreg/ProblemList.txt Changeset: fbe7b007 Author: Kevin Walls Date: 2022-12-08 12:10:26 +0000 URL: https://git.openjdk.org/loom/commit/fbe7b007383b034589e93d398706bebeb24461ee 8298173: GarbageCollectionNotificationContentTest test failed: no decrease in Eden usage Reviewed-by: dcubed, cjplummer, sspitsyn ! test/jdk/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java Changeset: 165dcdd2 Author: Johan Sj?len Date: 2022-12-08 12:32:59 +0000 URL: https://git.openjdk.org/loom/commit/165dcdd27de16824478ac9ebdfbd7b00fffe51e6 8297718: Make NMT free:ing protocol more granular Reviewed-by: stuefe, gziemski ! src/hotspot/share/runtime/os.cpp ! src/hotspot/share/services/mallocHeader.hpp ! src/hotspot/share/services/mallocHeader.inline.hpp ! src/hotspot/share/services/mallocTracker.cpp ! src/hotspot/share/services/mallocTracker.hpp ! src/hotspot/share/services/memTracker.hpp ! test/hotspot/gtest/nmt/test_nmt_cornercases.cpp Changeset: ea108f50 Author: Markus Gr?nlund Date: 2022-12-08 12:51:46 +0000 URL: https://git.openjdk.org/loom/commit/ea108f504ccb63fc9651e804e3bbba1c108dcead 8298129: Let checkpoint event sizes grow beyond u4 limit Reviewed-by: egahlin ! src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp ! src/hotspot/share/jfr/writers/jfrEncoders.hpp ! src/hotspot/share/jfr/writers/jfrEncoding.hpp ! src/hotspot/share/jfr/writers/jfrWriterHost.hpp ! src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ChunkParser.java Changeset: c084431f Author: Markus Gr?nlund Date: 2022-12-08 14:37:18 +0000 URL: https://git.openjdk.org/loom/commit/c084431fae8c9f9b5a157cdaca484f63cbd6691a 8298379: JFR: Some UNTIMED events only sets endTime Reviewed-by: ehelin, egahlin ! src/hotspot/share/gc/shared/gcTraceSend.cpp ! src/hotspot/share/gc/shared/objectCountEventSender.cpp ! src/hotspot/share/jfr/periodic/jfrFinalizerStatisticsEvent.cpp ! src/hotspot/share/jfr/periodic/jfrModuleEvent.cpp ! src/hotspot/share/jfr/periodic/jfrOSInterface.cpp ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/hotspot/share/jfr/periodic/jfrThreadCPULoadEvent.cpp Changeset: e555d547 Author: Erik Gahlin Date: 2022-12-08 14:42:04 +0000 URL: https://git.openjdk.org/loom/commit/e555d5470536b8379179879ec7343e004be95e36 8298383: JFR: GenerateJfrFiles.java lacks copyright header Reviewed-by: mgronlun, erikj ! make/src/classes/build/tools/jfr/GenerateJfrFiles.java Changeset: fc52f21f Author: Matthias Baesken Date: 2022-12-08 15:05:45 +0000 URL: https://git.openjdk.org/loom/commit/fc52f21f9a30c5c34caa06f8524c8d5bd74f16f7 8298255: JFR provide information about dynamization of number of compiler threads Reviewed-by: stuefe, mgronlun, egahlin ! src/hotspot/share/jfr/metadata/metadata.xml ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! test/jdk/jdk/jfr/event/compiler/TestCompilerConfig.java ! test/jdk/jdk/jfr/event/metadata/TestEventMetadata.java Changeset: d562d3fc Author: Emanuel Peter Date: 2022-12-08 15:29:26 +0000 URL: https://git.openjdk.org/loom/commit/d562d3fcbe22a0443037c5b447e1a41401275814 8297642: PhaseIdealLoop::only_has_infinite_loops must detect all loops that never lead to termination Reviewed-by: thartmann, roland ! src/hotspot/share/opto/loopnode.cpp + test/hotspot/jtreg/compiler/loopopts/TestOnlyInfiniteLoops.jasm + test/hotspot/jtreg/compiler/loopopts/TestOnlyInfiniteLoopsMain.java Changeset: 175e3d3f Author: Joe Darcy Committer: Jesper Wilhelmsson Date: 2022-12-08 16:04:00 +0000 URL: https://git.openjdk.org/loom/commit/175e3d3ff332be25cca9822c58c46f1e012953c2 8296149: Start of release updates for JDK 21 8296150: Add SourceVersion.RELEASE_21 8296151: Add source 21 and target 21 to javac Reviewed-by: dholmes, iris, erikj, vromero, jlahoda ! .jcheck/conf ! make/conf/version-numbers.conf ! src/hotspot/share/classfile/classFileParser.cpp ! src/java.base/share/classes/java/lang/reflect/ClassFileFormatVersion.java ! src/java.base/share/classes/jdk/internal/org/objectweb/asm/ClassReader.java ! src/java.base/share/classes/jdk/internal/org/objectweb/asm/Opcodes.java ! src/java.compiler/share/classes/javax/lang/model/SourceVersion.java ! src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/ElementKindVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/ElementScanner14.java ! src/java.compiler/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/SimpleElementVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/SimpleTypeVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor14.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassFile.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Target.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java + src/jdk.compiler/share/data/symbols/java.base-K.sym.txt + src/jdk.compiler/share/data/symbols/java.compiler-K.sym.txt = src/jdk.compiler/share/data/symbols/java.datatransfer-K.sym.txt + src/jdk.compiler/share/data/symbols/java.desktop-K.sym.txt = src/jdk.compiler/share/data/symbols/java.instrument-K.sym.txt = src/jdk.compiler/share/data/symbols/java.logging-K.sym.txt + src/jdk.compiler/share/data/symbols/java.management-K.sym.txt = src/jdk.compiler/share/data/symbols/java.management.rmi-K.sym.txt + src/jdk.compiler/share/data/symbols/java.naming-K.sym.txt = src/jdk.compiler/share/data/symbols/java.rmi-K.sym.txt = src/jdk.compiler/share/data/symbols/java.scripting-K.sym.txt = src/jdk.compiler/share/data/symbols/java.security.jgss-K.sym.txt = src/jdk.compiler/share/data/symbols/java.security.sasl-K.sym.txt = src/jdk.compiler/share/data/symbols/java.smartcardio-K.sym.txt = src/jdk.compiler/share/data/symbols/java.sql-K.sym.txt + src/jdk.compiler/share/data/symbols/java.sql.rowset-K.sym.txt = src/jdk.compiler/share/data/symbols/java.xml-K.sym.txt = src/jdk.compiler/share/data/symbols/java.xml.crypto-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.accessibility-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.attach-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.compiler-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.dynalink-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.httpserver-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.incubator.concurrent-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.incubator.vector-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jartool-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.javadoc-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.jconsole-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jdi-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jfr-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jlink-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jpackage-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jshell-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.jsobject-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.management-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.net-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.sctp-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.security.auth-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.security.jgss-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.unsupported-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.xml.dom-K.sym.txt ! src/jdk.compiler/share/data/symbols/symbols ! test/hotspot/jtreg/runtime/ClassFile/ClassFileVersionTest.java ! test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java ! test/langtools/tools/javac/api/TestGetSourceVersions.java ! test/langtools/tools/javac/classfiles/ClassVersionChecker.java ! test/langtools/tools/javac/lib/JavacTestingAbstractProcessor.java ! test/langtools/tools/javac/preview/classReaderTest/Client.nopreview.out ! test/langtools/tools/javac/preview/classReaderTest/Client.preview.out ! test/langtools/tools/javac/versions/Versions.java Changeset: 24b59dbe Author: Alan Bateman Date: 2022-12-09 06:57:56 +0000 URL: https://git.openjdk.org/loom/commit/24b59dbe17a7ad885bfb4965ca9cb0ca7c1e3b73 Merge ! .jcheck/conf ! test/hotspot/jtreg/ProblemList.txt ! .jcheck/conf ! test/hotspot/jtreg/ProblemList.txt From duke at openjdk.org Fri Dec 9 09:00:05 2022 From: duke at openjdk.org (duke) Date: Fri, 9 Dec 2022 09:00:05 GMT Subject: git: openjdk/loom: master: 172 new changesets Message-ID: <72cf85e9-bdda-4fee-b40c-e2049e8b2311@openjdk.org> Changeset: 1323e98d Author: Chris Plummer Date: 2022-11-30 18:08:19 +0000 URL: https://git.openjdk.org/loom/commit/1323e98df14f16310ca1349db198ee17409cda49 8297170: misc JCK tests fail with "FATAL ERROR in native method: JDWP Can't disable vthread end events, jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)" Reviewed-by: amenkov, dcubed, lmesnik, sspitsyn ! src/jdk.jdwp.agent/share/native/libjdwp/eventHandler.c Changeset: 53dd2143 Author: Alex Menkov Date: 2022-11-30 18:39:24 +0000 URL: https://git.openjdk.org/loom/commit/53dd214318c7367ceccc511f1a5220797c5e253f 8297742: Combine vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount tests Reviewed-by: dholmes, lmesnik, kevinw, sspitsyn ! test/hotspot/jtreg/TEST.quick-groups ! test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset001.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset001/TestDescription.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset002/TestDescription.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset003/TestDescription.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset004/TestDescription.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset005/TestDescription.java Changeset: 6bac3323 Author: Magnus Ihse Bursie Date: 2022-11-30 18:59:47 +0000 URL: https://git.openjdk.org/loom/commit/6bac332371d4c0a8cdf31b6603f8cbb6d2490f65 8297853: windows-x86 test build broken Reviewed-by: jvernee ! test/micro/org/openjdk/bench/java/lang/foreign/libQSortJNI.c Changeset: 1a2ff587 Author: Jorn Vernee Date: 2022-11-30 19:59:43 +0000 URL: https://git.openjdk.org/loom/commit/1a2ff58761d755c2330dec46e3eb53bc6d9a9839 8297736: test/jdk/java/foreign/TestMatrix.java is broken 8291642: java/foreign/TestMatrix.java -few tests are failing due to JDK-8287158. Reviewed-by: mcimadamore ! test/jdk/java/foreign/TestMatrix.java Changeset: 1722f9cc Author: Jorn Vernee Date: 2022-11-30 20:00:59 +0000 URL: https://git.openjdk.org/loom/commit/1722f9cce346563923fcebd92b32ea2cb30ea744 8290231: java/foreign/malloc/TestMixedMallocFree.java crashed in JDK19 ATR run Reviewed-by: mcimadamore - test/jdk/java/foreign/malloc/TestMixedMallocFree.java - test/jdk/java/foreign/malloc/libMalloc.c Changeset: e9d501e4 Author: Per Minborg Committer: Weijun Wang Date: 2022-11-30 20:19:52 +0000 URL: https://git.openjdk.org/loom/commit/e9d501e442f78bec8bda38bd4f2e019005597a91 8297519: Improve expressions and modernise code in PKCS Reviewed-by: weijun ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Config.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/KeyCache.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11AEADCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Cipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11DHKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11DSAKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Digest.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11ECDHKeyAgreement.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11ECKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyAgreement.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyPairGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyStore.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyWrapCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PSSSignature.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11RSACipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11RSAKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Signature.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11TlsMasterSecretGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11TlsPrfGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Secmod.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Session.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SessionManager.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/TemplateManager.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java Changeset: 4485d4e5 Author: Claes Redestad Date: 2022-11-30 20:53:56 +0000 URL: https://git.openjdk.org/loom/commit/4485d4e517b6dece7a9eeb5cf9a2180d84956da3 8297728: Cache invocation type rather than invoker in NamedFunction Reviewed-by: jvernee ! src/java.base/share/classes/java/lang/invoke/LambdaForm.java Changeset: 3b513a4f Author: Jonathan Gibbons Date: 2022-12-01 00:26:27 +0000 URL: https://git.openjdk.org/loom/commit/3b513a4f5cc9b607f93dcc9d1ba52280a2cf42f0 8297802: display of @spec tags should mimic that of @see tags Reviewed-by: prappo ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/SpecTaglet.java ! test/langtools/jdk/javadoc/doclet/testConstructors/TestConstructors.java ! test/langtools/jdk/javadoc/doclet/testGenericTypeLink/TestGenericTypeLink.java ! test/langtools/jdk/javadoc/doclet/testHref/TestHref.java ! test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFX.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFXCombo.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFXMissingPropComments.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOption.java ! test/langtools/jdk/javadoc/doclet/testModules/TestModules.java ! test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/TestNewLanguageFeatures.java ! test/langtools/jdk/javadoc/doclet/testOverview/TestOverview.java ! test/langtools/jdk/javadoc/doclet/testProperty/TestProperty.java ! test/langtools/jdk/javadoc/doclet/testSeeTag/TestSeeTag.java ! test/langtools/jdk/javadoc/doclet/testSeeTag/TestSeeTagWithModule.java ! test/langtools/jdk/javadoc/doclet/testSerializedForm/TestSerializedForm.java ! test/langtools/jdk/javadoc/doclet/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java ! test/langtools/jdk/javadoc/doclet/testSingletonLists/TestSingletonLists.java ! test/langtools/jdk/javadoc/doclet/testSpecTag/TestSpecTag.java ! test/langtools/jdk/javadoc/doclet/testTagOrder/TestTagOrder.java Changeset: f49acd52 Author: Feilong Jiang Committer: Fei Yang Date: 2022-12-01 04:01:25 +0000 URL: https://git.openjdk.org/loom/commit/f49acd52594be3ec1e9682bda3ad69970dfd750d 8297697: RISC-V: Add support for SATP mode detection Reviewed-by: fyang, luhenry ! src/hotspot/cpu/riscv/vm_version_riscv.cpp ! src/hotspot/cpu/riscv/vm_version_riscv.hpp ! src/hotspot/os_cpu/linux_riscv/vm_version_linux_riscv.cpp Changeset: 56048f97 Author: Julian Waters Date: 2022-12-01 04:21:52 +0000 URL: https://git.openjdk.org/loom/commit/56048f9718d1104227795a23c02fa144543c07d0 8297852: Backout 8252584 for the time being Reviewed-by: kbarrett ! doc/hotspot-style.html ! doc/hotspot-style.md Changeset: c6125120 Author: Prasanta Sadhukhan Date: 2022-12-01 07:57:10 +0000 URL: https://git.openjdk.org/loom/commit/c61251201402f15bf0795564bf31545d9c72ee41 8296660: Swing HTML table with omitted closing tags misparsed Reviewed-by: prr, jdv ! src/java.desktop/share/classes/javax/swing/text/html/parser/Parser.java + test/jdk/javax/swing/text/html/parser/TestHtmlOptionalClosingTag.java Changeset: 756dd5bb Author: Jan Lahoda Date: 2022-12-01 08:02:40 +0000 URL: https://git.openjdk.org/loom/commit/756dd5bb0d2ab3f956ecc6cfcf2b87810c763572 8294942: Compiler implementation for Record Patterns (Second Preview) 8294945: Compiler implementation for Pattern Matching for switch (Fourth Preview) Co-authored-by: Aggelos Biboudis Co-authored-by: Maurizio Cimadamore Reviewed-by: mcimadamore, vromero ! src/jdk.compiler/share/classes/com/sun/source/tree/DeconstructionPatternTree.java ! src/jdk.compiler/share/classes/com/sun/source/tree/InstanceOfTree.java ! src/jdk.compiler/share/classes/com/sun/source/util/TreeScanner.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.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.compiler/share/classes/com/sun/tools/javac/comp/Flow.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransPatterns.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/Pretty.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeCopier.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeMaker.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeScanner.java + test/langtools/tools/javac/diags/examples/DefaultLabelNotAllowed.java ! test/langtools/tools/javac/diags/examples/FlowsThroughToPattern.java + test/langtools/tools/javac/diags/examples/InvalidCaseLabelCombination.java + test/langtools/tools/javac/diags/examples/PatternTypeCannotInfer.java - test/langtools/tools/javac/diags/examples/RawDeconstructionPattern.java - test/langtools/tools/javac/patterns/CaseDefault.java - test/langtools/tools/javac/patterns/CaseDefault.out ! test/langtools/tools/javac/patterns/CaseStructureTest.java ! test/langtools/tools/javac/patterns/DeconstructionPatternErrors.java ! test/langtools/tools/javac/patterns/DeconstructionPatternErrors.out ! test/langtools/tools/javac/patterns/Exhaustiveness.java ! test/langtools/tools/javac/patterns/GenericRecordDeconstructionPattern.java ! test/langtools/tools/javac/patterns/Guards.java + test/langtools/tools/javac/patterns/InferenceUnitTest.java + test/langtools/tools/javac/patterns/NewCaseStructureTest.java ! test/langtools/tools/javac/patterns/NullSwitch.java ! test/langtools/tools/javac/patterns/PrettyTest.java ! test/langtools/tools/javac/patterns/SimpleDeconstructionPattern.java ! test/langtools/tools/javac/patterns/SimpleDeconstructionPatternNoPreview.out ! test/langtools/tools/javac/patterns/SwitchErrors.java ! test/langtools/tools/javac/patterns/SwitchErrors.out ! test/langtools/tools/javac/patterns/Switches.java ! test/langtools/tools/javac/switchnull/SwitchNull.java Changeset: ce048e7c Author: Abhishek Kumar Committer: Jayathirth D V Date: 2022-12-01 08:07:22 +0000 URL: https://git.openjdk.org/loom/commit/ce048e7cb55517e2710dfe4e802602869d8c5cb8 8295006: Colored text is not shown on disabled checkbox and radio button with GTK LAF for bug4314194. Reviewed-by: prr, tr ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java ! test/jdk/ProblemList.txt Changeset: 34fcd83c Author: Aleksey Shipilev Date: 2022-12-01 08:11:54 +0000 URL: https://git.openjdk.org/loom/commit/34fcd83c5ea54f94b60ebda0a111d0fe8ea9cbec 8297821: jdk/jshell/Test8294583.java fails on some platforms Reviewed-by: alanb, jlahoda ! test/langtools/jdk/jshell/Test8294583.java Changeset: fa0c599a Author: Andrey Turbanov Date: 2022-12-01 08:16:55 +0000 URL: https://git.openjdk.org/loom/commit/fa0c599a003962cf3457bb49b9f771659532b5c3 8297750: Unnecessary Vector usage in IIORegistry Reviewed-by: prr, serb ! src/java.desktop/share/classes/javax/imageio/spi/IIORegistry.java Changeset: 9f24a6f4 Author: Tobias Hartmann Date: 2022-12-01 08:49:54 +0000 URL: https://git.openjdk.org/loom/commit/9f24a6f43c6a5e1fa92275e0a87af4f1f0603ba3 8297389: resexhausted003 fails with assert(!thread->owns_locks()) failed: must release all locks when leaving VM Reviewed-by: dholmes, rrich, dlong ! src/hotspot/share/ci/ciReplay.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/methodData.cpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp Changeset: 79411478 Author: Albert Mingkun Yang Date: 2022-12-01 10:00:57 +0000 URL: https://git.openjdk.org/loom/commit/794114787b03e2a89ce7343b4fad94bb61494f94 8297503: Merge FilteringDCTOC into ContiguousSpaceDCTOC Reviewed-by: tschatzl, kbarrett ! src/hotspot/share/gc/shared/space.cpp ! src/hotspot/share/gc/shared/space.hpp Changeset: eea1a8a9 Author: Stefan Johansson Date: 2022-12-01 10:30:14 +0000 URL: https://git.openjdk.org/loom/commit/eea1a8a95e172ef5221ab622d171f46cc6cbb598 8297427: Avoid keeping class loaders alive when executing ClassLoaderStatsVMOperation Reviewed-by: eosterlund, stefank ! src/hotspot/share/classfile/classLoaderDataGraph.cpp ! src/hotspot/share/classfile/classLoaderDataGraph.hpp ! src/hotspot/share/classfile/classLoaderStats.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/javaClasses.hpp ! src/hotspot/share/prims/whitebox.cpp + test/hotspot/jtreg/runtime/ClassUnload/UnloadTestDuringClassLoaderStatsVMOperation.java + test/hotspot/jtreg/runtime/ClassUnload/classes/test/LoadInChild.java + test/hotspot/jtreg/runtime/ClassUnload/classes/test/LoadInParent.java ! test/lib/jdk/test/whitebox/WhiteBox.java Changeset: cd776093 Author: Alan Bateman Date: 2022-12-01 10:40:36 +0000 URL: https://git.openjdk.org/loom/commit/cd776093c79e9a1a4c40c0adfdbfeedf293d99c7 8294278: ForkJoinPool.getAndAddPoolIds should use Unsafe.staticFieldBase Reviewed-by: burban, chegar, martin ! src/java.base/share/classes/java/lang/Thread.java ! src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java Changeset: b60cce6f Author: Jan Lahoda Date: 2022-12-01 10:51:57 +0000 URL: https://git.openjdk.org/loom/commit/b60cce6f3bf7dc96d632aa361a6eb10691dcf5c1 8297118: Change IncompatibleClassChangeError to MatchException for exhaustive switch statements and switch expressions Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java ! test/langtools/tools/javac/patterns/EnumTypeChanges.java + test/langtools/tools/javac/patterns/EnumTypeChangesNonPreview.java + test/langtools/tools/javac/patterns/MatchExceptionTest.java Changeset: fc9d419b Author: Jan Lahoda Date: 2022-12-01 11:46:13 +0000 URL: https://git.openjdk.org/loom/commit/fc9d419b4ff46e484fa8798304dae29d3946dcfb 8297928: Update jdk.internal.javac.PreviewFeature.Feature to reflect JEP 432 and JEP 433 Reviewed-by: alanb ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java Changeset: 2cb64a75 Author: Aggelos Biboudis Committer: Jan Lahoda Date: 2022-12-01 12:40:09 +0000 URL: https://git.openjdk.org/loom/commit/2cb64a75578ccc15a1dfc8c2843aa11d05ca8aa7 8294943: Implement record patterns in enhanced for 8296802: Parse errors when deconstructing a record using the enhanced for loop of JEP 432 Co-authored-by: Jan Lahoda Co-authored-by: Aggelos Biboudis Co-authored-by: Maurizio Cimadamore Reviewed-by: mcimadamore, vromero ! src/jdk.compiler/share/classes/com/sun/source/tree/EnhancedForLoopTree.java ! src/jdk.compiler/share/classes/com/sun/source/util/TreeScanner.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Analyzer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransPatterns.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TreeDiffer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/CRTable.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/Pretty.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeCopier.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeMaker.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeScanner.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeTranslator.java + test/langtools/tools/javac/diags/examples/ForeachNotExhaustive.java ! test/langtools/tools/javac/lib/DPrinter.java ! test/langtools/tools/javac/patterns/DisambiguatePatterns.java + test/langtools/tools/javac/patterns/ForEachPatterns.java + test/langtools/tools/javac/patterns/ForEachPatternsErrors.java + test/langtools/tools/javac/patterns/ForEachPatternsErrors.out + test/langtools/tools/javac/patterns/ForEachTestAllAnalyzers.java ! test/langtools/tools/javac/patterns/GenericRecordDeconstructionPattern.java Changeset: 9430f3e6 Author: Roland Westrelin Date: 2022-12-01 14:19:28 +0000 URL: https://git.openjdk.org/loom/commit/9430f3e65c4900e121858dc111b6f20207e0694f 8297934: [BACKOUT] Compiler should only use verified interface types for optimization Reviewed-by: thartmann, kvn ! src/hotspot/share/ci/ciArrayKlass.cpp ! src/hotspot/share/ci/ciArrayKlass.hpp ! src/hotspot/share/ci/ciInstanceKlass.cpp ! src/hotspot/share/ci/ciInstanceKlass.hpp ! src/hotspot/share/ci/ciObjectFactory.cpp ! src/hotspot/share/opto/castnode.cpp ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/doCall.cpp ! src/hotspot/share/opto/graphKit.cpp ! src/hotspot/share/opto/idealGraphPrinter.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/memnode.cpp ! src/hotspot/share/opto/node.cpp ! src/hotspot/share/opto/parse1.cpp ! src/hotspot/share/opto/parse3.cpp ! src/hotspot/share/opto/parseHelper.cpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/opto/type.cpp ! src/hotspot/share/opto/type.hpp ! test/hotspot/jtreg/compiler/intrinsics/klass/CastNullCheckDroppingsTest.java - test/hotspot/jtreg/compiler/types/TestExactArrayOfBasicType.java Changeset: eec24aa2 Author: Erik Gahlin Date: 2022-12-01 15:01:42 +0000 URL: https://git.openjdk.org/loom/commit/eec24aa2039658afd6d2fde790174d982eae6479 8295350: JFR: Add stop methods for recording streams Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingStream.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/snippet-files/Snippets.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/AbstractEventStream.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/EventDirectoryStream.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/management/ManagementSupport.java + src/jdk.jfr/share/classes/jdk/jfr/internal/management/StreamBarrier.java ! src/jdk.management.jfr/share/classes/jdk/management/jfr/DiskRepository.java ! src/jdk.management.jfr/share/classes/jdk/management/jfr/RemoteRecordingStream.java ! test/jdk/jdk/jfr/api/consumer/recordingstream/EventProducer.java ! test/jdk/jdk/jfr/api/consumer/recordingstream/TestDump.java + test/jdk/jdk/jfr/api/consumer/recordingstream/TestStop.java + test/jdk/jdk/jfr/jmx/streaming/TestStop.java Changeset: c6156f91 Author: Sergey Tsypanov Committer: Andrey Turbanov Date: 2022-12-01 15:28:39 +0000 URL: https://git.openjdk.org/loom/commit/c6156f9123c02b814ce0615568499f60d95b461a 8297561: Redundant index check in String.offsetByCodePoints() Reviewed-by: aturbanov, rriggs, redestad ! src/java.base/share/classes/java/lang/String.java + test/micro/org/openjdk/bench/java/lang/StringOffsetByCodePoints.java Changeset: 5459b110 Author: Albert Mingkun Yang Date: 2022-12-01 15:32:27 +0000 URL: https://git.openjdk.org/loom/commit/5459b1104fa9ae58c8dce40820b5dba1f68d14a4 8297033: G1: Improve logging for Remembered Sets Reviewed-by: tschatzl, kbarrett ! src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp ! src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp ! src/hotspot/share/gc/g1/g1RemSet.cpp Changeset: 4899d782 Author: Matthijs Bijman Committer: Tobias Hartmann Date: 2022-12-01 15:57:09 +0000 URL: https://git.openjdk.org/loom/commit/4899d7829246cf3c082ab3c0df9221853d1520a9 8293294: Remove dead code in Parse::check_interpreter_type Reviewed-by: vlivanov, thartmann ! src/hotspot/share/opto/parse1.cpp Changeset: c70d1e1b Author: Christian Stein Date: 2022-12-01 16:49:40 +0000 URL: https://git.openjdk.org/loom/commit/c70d1e1bd32c71e0d2df635bc565201a09084a83 8296710: Update to use jtreg 7.1 Reviewed-by: erikj, alanb, jjg ! make/autoconf/lib-tests.m4 ! make/conf/github-actions.conf ! make/conf/jib-profiles.js ! test/hotspot/jtreg/TEST.ROOT ! test/jaxp/TEST.ROOT ! test/jdk/TEST.ROOT ! test/langtools/TEST.ROOT ! test/lib-test/TEST.ROOT Changeset: 9f94cbec Author: Alexander Zvegintsev Date: 2022-12-01 18:10:31 +0000 URL: https://git.openjdk.org/loom/commit/9f94cbec51df7556d34fffa810e59dd9eb8521df 8271519: java/awt/event/SequencedEvent/MultipleContextsFunctionalTest.java failed with "Total [200] - Expected [400]" Reviewed-by: serb ! test/jdk/java/awt/event/SequencedEvent/MultipleContextsFunctionalTest.java Changeset: 09629570 Author: Harshitha Onkar Date: 2022-12-01 18:57:50 +0000 URL: https://git.openjdk.org/loom/commit/09629570f5d064dc2a5cd670de8d648156ac3991 8297449: Update JInternalFrame Metal Border code Reviewed-by: aivanov, kizune ! src/java.desktop/share/classes/javax/swing/plaf/metal/MetalBorders.java Changeset: 391599bc Author: Ioi Lam Date: 2022-12-01 19:59:14 +0000 URL: https://git.openjdk.org/loom/commit/391599bc9d6b28a88e86d37464bb76e1e5314ce3 8297313: Refactor APIs for calculating address of CDS archive heap regions Reviewed-by: matsaave, ccheung ! src/hotspot/share/cds/archiveHeapLoader.cpp ! src/hotspot/share/cds/archiveHeapLoader.hpp ! src/hotspot/share/cds/archiveHeapLoader.inline.hpp ! src/hotspot/share/cds/archiveUtils.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/include/cds.h ! test/hotspot/jtreg/runtime/cds/appcds/TestSerialGCWithCDS.java Changeset: 5a5ced3a Author: Kim Barrett Date: 2022-12-01 20:15:14 +0000 URL: https://git.openjdk.org/loom/commit/5a5ced3a900a81fd0b0757017f4138ce97e2521e 8297830: aarch64: Make Address a discriminated union internally Reviewed-by: aph, dcubed ! src/hotspot/cpu/aarch64/assembler_aarch64.cpp ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp Changeset: c69aa42d Author: Andrew Haley Date: 2022-12-01 20:34:18 +0000 URL: https://git.openjdk.org/loom/commit/c69aa42d02dba4612998d6ecdc57286774da9d33 8297968: Crash in PrintOptoAssembly Reviewed-by: kvn ! src/hotspot/share/opto/matcher.cpp Changeset: 770ff5a8 Author: Joe Darcy Date: 2022-12-01 20:38:16 +0000 URL: https://git.openjdk.org/loom/commit/770ff5a812d7b895ed2badfef9bb4e0b211d55bb 8297215: Update libs tests to use @enablePreview Reviewed-by: alanb, sspitsyn ! test/jdk/java/lang/Thread/BuilderTest.java ! test/jdk/java/lang/Thread/virtual/Collectable.java ! test/jdk/java/lang/Thread/virtual/CustomScheduler.java ! test/jdk/java/lang/Thread/virtual/GetStackTrace.java ! test/jdk/java/lang/Thread/virtual/GetStackTraceWhenRunnable.java ! test/jdk/java/lang/Thread/virtual/HoldsLock.java ! test/jdk/java/lang/Thread/virtual/JfrEvents.java ! test/jdk/java/lang/Thread/virtual/Locking.java ! test/jdk/java/lang/Thread/virtual/ParkWithFixedThreadPool.java ! test/jdk/java/lang/Thread/virtual/Parking.java ! test/jdk/java/lang/Thread/virtual/Reflection.java ! test/jdk/java/lang/Thread/virtual/ShutdownHook.java ! test/jdk/java/lang/Thread/virtual/StackTraces.java ! test/jdk/java/lang/Thread/virtual/ThreadLocals.java ! test/jdk/java/lang/Thread/virtual/WaitNotify.java ! test/jdk/java/lang/Thread/virtual/stress/GetStackTraceALot.java ! test/jdk/java/lang/runtime/SwitchBootstrapsTest.java ! test/jdk/java/net/Socket/Timeouts.java ! test/jdk/java/net/vthread/HttpALot.java ! test/jdk/java/net/vthread/InterruptHttp.java ! test/jdk/jdk/internal/vm/Continuation/Basic.java ! test/jdk/jdk/internal/vm/Continuation/ClassUnloading.java ! test/jdk/jdk/internal/vm/Continuation/HumongousStack.java ! test/jdk/jdk/internal/vm/Continuation/LiveFramesDriver.java ! test/jdk/jdk/internal/vm/Continuation/Scoped.java ! test/jdk/jdk/jfr/event/runtime/TestThreadEndEvent.java ! test/jdk/jdk/jfr/event/runtime/TestThreadSleepEvent.java ! test/jdk/jdk/jfr/event/runtime/TestThreadStartEvent.java ! test/jdk/jdk/jfr/event/runtime/TestVirtualThreadEndEvent.java ! test/jdk/jdk/jfr/event/runtime/TestVirtualThreadStartEvent.java ! test/jdk/jdk/jfr/jvm/TestThreadExclusion.java ! test/jdk/jdk/jfr/jvm/TestVirtualThreadExclusion.java ! test/jdk/jdk/jfr/threading/TestDeepVirtualStackTrace.java ! test/jdk/jdk/jfr/threading/TestManyVirtualThreads.java ! test/jdk/jdk/jfr/threading/TestNestedVirtualThreads.java Changeset: 337ca100 Author: Leonid Mesnik Date: 2022-12-01 21:29:18 +0000 URL: https://git.openjdk.org/loom/commit/337ca10085fcec125fb658167e51d2f35f1f0cda 8297978: Exclude vmTestbase/nsk/stress/except/except012.java until 8297977 is fixed Reviewed-by: dcubed ! test/hotspot/jtreg/ProblemList.txt Changeset: 82031d32 Author: Vicente Romero Date: 2022-12-01 21:57:55 +0000 URL: https://git.openjdk.org/loom/commit/82031d32a002d183d2a18bd1e50bd5826b65380c 8297294: compiler/c2/irTests/TestMulNodeIdealization.java failed compilation Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/InferenceContext.java Changeset: e846b043 Author: Liam Miller-Cushon Date: 2022-12-01 22:07:57 +0000 URL: https://git.openjdk.org/loom/commit/e846b0438ca12f457ee763fed3a435d3a863c383 8297875: jar should not compress the manifest directory entry Reviewed-by: lancea ! src/jdk.jartool/share/classes/sun/tools/jar/Main.java + test/jdk/tools/jar/ManifestDirectoryCompression.java Changeset: 257aa15f Author: Magnus Ihse Bursie Date: 2022-12-01 23:41:58 +0000 URL: https://git.openjdk.org/loom/commit/257aa15f15bb835310132e6fb23e0362cafeb16a 8297444: Refactor the javacserver build tool Reviewed-by: erikj, cstein ! make/common/JavaCompilation.gmk - make/langtools/tools/javacserver/Log.java ! make/langtools/tools/javacserver/Main.java - make/langtools/tools/javacserver/Result.java - make/langtools/tools/javacserver/Util.java + make/langtools/tools/javacserver/client/Client.java + make/langtools/tools/javacserver/client/ClientConfiguration.java - make/langtools/tools/javacserver/client/ClientMain.java - make/langtools/tools/javacserver/client/SjavacClient.java - make/langtools/tools/javacserver/comp/PooledSjavac.java - make/langtools/tools/javacserver/comp/SjavacImpl.java - make/langtools/tools/javacserver/options/ArgumentIterator.java - make/langtools/tools/javacserver/options/CommandLine.java - make/langtools/tools/javacserver/options/Option.java - make/langtools/tools/javacserver/options/Options.java + make/langtools/tools/javacserver/server/CompilerThreadPool.java + make/langtools/tools/javacserver/server/IdleMonitor.java - make/langtools/tools/javacserver/server/IdleResetSjavac.java ! make/langtools/tools/javacserver/server/PortFileMonitor.java - make/langtools/tools/javacserver/server/RequestHandler.java + make/langtools/tools/javacserver/server/Server.java - make/langtools/tools/javacserver/server/ServerMain.java - make/langtools/tools/javacserver/server/Sjavac.java - make/langtools/tools/javacserver/server/SjavacServer.java - make/langtools/tools/javacserver/server/Terminable.java = make/langtools/tools/javacserver/shared/PortFile.java = make/langtools/tools/javacserver/shared/PortFileInaccessibleException.java + make/langtools/tools/javacserver/shared/Protocol.java + make/langtools/tools/javacserver/shared/Result.java = make/langtools/tools/javacserver/util/AutoFlushWriter.java = make/langtools/tools/javacserver/util/LazyInitFileLog.java + make/langtools/tools/javacserver/util/Log.java = make/langtools/tools/javacserver/util/LoggingOutputStream.java + make/langtools/tools/javacserver/util/RunnableTimerTask.java + make/langtools/tools/javacserver/util/Util.java Changeset: b035056d Author: Magnus Ihse Bursie Date: 2022-12-02 00:08:34 +0000 URL: https://git.openjdk.org/loom/commit/b035056d28a1c6c738fed6dd7f3b4d9dac75c6c7 8297455: Use the official ToolProvider API to call javac Reviewed-by: erikj ! make/langtools/tools/javacserver/server/Server.java Changeset: 11ba7591 Author: Jie Fu Date: 2022-12-02 06:04:10 +0000 URL: https://git.openjdk.org/loom/commit/11ba7591dfd3f7ca58e2e1ac6d1b3e81391f5bfb 8297992: Tests fail after JDK-8297215 due to lack of @enablePreview Reviewed-by: darcy ! test/jdk/java/lang/Thread/virtual/HoldsLock.java ! test/jdk/java/lang/Thread/virtual/stress/GetStackTraceALot.java ! test/jdk/jdk/internal/vm/Continuation/Basic.java Changeset: 9bbcb546 Author: Aleksey Shipilev Date: 2022-12-02 07:29:27 +0000 URL: https://git.openjdk.org/loom/commit/9bbcb546c86b40ae23d46e12a1a03aae7a7a6182 8297784: Optimize @Stable field for Method.isCallerSensitive Reviewed-by: redestad, jvernee, alanb ! src/java.base/share/classes/java/lang/reflect/Method.java Changeset: d50015af Author: Fei Yang Date: 2022-12-02 08:26:22 +0000 URL: https://git.openjdk.org/loom/commit/d50015af99f44909bf71fd2de97546d47cda86d6 8297715: RISC-V: C2: Use single-bit instructions from the Zbs extension Reviewed-by: fjiang, yadongwang, shade ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/globals_riscv.hpp ! src/hotspot/cpu/riscv/riscv.ad ! src/hotspot/cpu/riscv/riscv_b.ad Changeset: 687fd714 Author: Dingli Zhang Committer: Fei Yang Date: 2022-12-02 08:30:00 +0000 URL: https://git.openjdk.org/loom/commit/687fd714bbc390f486272e05452f038bc3631be1 8297549: RISC-V: Add support for Vector API vector load const operation Reviewed-by: fyang, gcao ! src/hotspot/cpu/riscv/riscv_v.ad Changeset: 6d0fbb2c Author: Daniel Fuchs Date: 2022-12-02 10:44:29 +0000 URL: https://git.openjdk.org/loom/commit/6d0fbb2c49d904ac353b4a2ebc694e3d1609bd76 8297645: Drop the test/jdk/java/net/httpclient/reactivestreams-tck-tests/TckDriver.java test Reviewed-by: alanb, jpai, michaelm - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersConcat.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersFromPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersNoBody.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfByteArray.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfByteArrays.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfFile.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfInputStream.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfSubByteArray.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersBuffering.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersDiscarding.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersFromLineSubscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersFromSubscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersMapping.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfByteArray.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfByteArrayConsumer.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfFile.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfInputStream.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfLines.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfPublisher1.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfPublisherPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfString.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersReplacing.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/S.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/SPublisherOfStream.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/STest.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/TckDriver.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/FlowAdapters.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/Processor.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/Publisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/Subscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/Subscription.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/AsyncIterablePublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/AsyncSubscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/InfiniteIncrementNumberPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/NumberIterablePublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/RangePublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/SyncSubscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/IdentityProcessorVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/PublisherVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/SubscriberBlackboxVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/SubscriberWhiteboxVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/TestEnvironment.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/WithHelperPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/FlowPublisherVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/FlowSubscriberBlackboxVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/FlowSubscriberWhiteboxVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/IdentityFlowProcessorVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/Function.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/HelperPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/InfiniteHelperPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/NonFatal.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/Optional.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/PublisherVerificationRules.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/SubscriberBlackboxVerificationRules.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/SubscriberBufferOverflowException.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/SubscriberWhiteboxVerificationRules.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/TestException.java Changeset: 5c0ff26f Author: Christoph Langer Date: 2022-12-02 11:03:53 +0000 URL: https://git.openjdk.org/loom/commit/5c0ff26f321ad36daa34bfc5b2d013b6c4a03810 8291444: GHA builds/tests won't run manually if disabled from automatic running Reviewed-by: serb, erikj, ihse ! .github/workflows/main.yml Changeset: 1376f330 Author: Justin King Committer: Markus Gr?nlund Date: 2022-12-02 11:31:19 +0000 URL: https://git.openjdk.org/loom/commit/1376f330119c832d24a986cc915cb2f82768a02c 8297911: Memory leak in JfrUpcalls::on_retransform Reviewed-by: mgronlun ! src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp ! src/hotspot/share/jfr/jni/jfrUpcalls.cpp Changeset: b73363fd Author: Erik Gahlin Date: 2022-12-02 11:35:15 +0000 URL: https://git.openjdk.org/loom/commit/b73363fd7b3295635a2ccce0cea72586643c5bb4 8297686: JFR: Improve documentation of EventStream::onMetadata(Consumer) Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/consumer/EventStream.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/snippet-files/Snippets.java Changeset: 319faa5a Author: Prasanta Sadhukhan Date: 2022-12-02 11:48:28 +0000 URL: https://git.openjdk.org/loom/commit/319faa5afc37df5fd9ce4305e6e38a7bd4b39c65 8296084: javax/swing/JSpinner/4788637/bug4788637.java fails intermittently on a VM Reviewed-by: tr, serb ! test/jdk/ProblemList.txt ! test/jdk/javax/swing/JSpinner/4788637/bug4788637.java Changeset: 1370228c Author: Albert Mingkun Yang Date: 2022-12-02 12:30:29 +0000 URL: https://git.openjdk.org/loom/commit/1370228cd718736f0c822d50b85a0b27c8ca40de 8297941: Add override modifier in space.hpp Reviewed-by: kbarrett, tschatzl ! src/hotspot/share/gc/shared/space.hpp Changeset: 227364d5 Author: Feilong Jiang Committer: Fei Yang Date: 2022-12-02 12:48:42 +0000 URL: https://git.openjdk.org/loom/commit/227364d5927f94764fdb84f7d0b4c88c8dc25d89 8297953: Fix several C2 IR matching tests for RISC-V Reviewed-by: fyang, chagedorn ! test/hotspot/jtreg/compiler/c2/irTests/RotateLeftNodeIntIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/RotateLeftNodeLongIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/TestFPComparison.java ! test/hotspot/jtreg/compiler/lib/ir_framework/TestFramework.java Changeset: df072556 Author: Magnus Ihse Bursie Date: 2022-12-02 14:00:44 +0000 URL: https://git.openjdk.org/loom/commit/df072556a5a155adfe89a2504c2cf680fe4ffac7 8297984: Turn on warnings as errors for javadoc Reviewed-by: serb, erikj ! .github/workflows/main.yml ! make/Docs.gmk ! src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingStream.java Changeset: 415cfd2e Author: Ashutosh Mehra Committer: Paul Hohensee Date: 2022-12-02 14:22:52 +0000 URL: https://git.openjdk.org/loom/commit/415cfd2e28e6b7613712ab63a1ab66522e9bf0f2 8297285: Shenandoah pacing causes assertion failure during VM initialization Reviewed-by: rkennke, phh ! src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp Changeset: 6065696e Author: Leonid Mesnik Date: 2022-12-02 15:11:41 +0000 URL: https://git.openjdk.org/loom/commit/6065696e5df2cde8c313083217ead3417d04c365 8297982: Exclude vmTestbase/nsk/monitoring/stress/lowmem/ with ZGC until 8297979 is fixed Reviewed-by: tschatzl ! test/hotspot/jtreg/ProblemList-zgc.txt Changeset: 1b924659 Author: Erik Gahlin Date: 2022-12-02 17:21:48 +0000 URL: https://git.openjdk.org/loom/commit/1b924659c87045796f62e66d69ff388b79c4467f 8297608: JFR: Incorrect duration after chunk rotation Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/internal/EventInstrumentation.java + test/jdk/jdk/jfr/jvm/TestEventDuration.java Changeset: fb6fd032 Author: Coleen Phillimore Date: 2022-12-02 19:09:05 +0000 URL: https://git.openjdk.org/loom/commit/fb6fd03233b0eb001e2995d20a079b6af31d2b9b 8291830: jvmti/RedefineClasses/StressRedefine failed: assert(!is_null(v)) failed: narrow klass value can never be zero Reviewed-by: sspitsyn, eosterlund, kbarrett ! src/hotspot/share/classfile/classLoaderData.cpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/oops/klass.hpp ! src/hotspot/share/oops/oopHandle.hpp ! src/hotspot/share/prims/jvmtiRedefineClasses.cpp Changeset: 2821fa98 Author: Alex Menkov Date: 2022-12-02 20:16:51 +0000 URL: https://git.openjdk.org/loom/commit/2821fa9883cc9687b53e3bb5655732a614cff8fc 8280798: com.sun.jdi.ObjectReference::setValue spec should prohibit any final field modification Reviewed-by: alanb, cjplummer, sspitsyn ! src/jdk.jdi/share/classes/com/sun/jdi/ObjectReference.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue004/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue004t.java Changeset: 562bc171 Author: Jorn Vernee Date: 2022-12-02 22:15:27 +0000 URL: https://git.openjdk.org/loom/commit/562bc171b971091421ee0a93665880682ae96c09 8291359: Specification of method j.l.foreign.VaList::skip still deserves clarification Reviewed-by: mcimadamore ! src/java.base/share/classes/java/lang/foreign/VaList.java Changeset: 6e547052 Author: Daniel D. Daugherty Date: 2022-12-02 22:29:21 +0000 URL: https://git.openjdk.org/loom/commit/6e5470525d5236901c219146f363d4860e6b8008 8295424: adjust timeout for another JLI GetObjectSizeIntrinsicsTest.java subtest 8297367: disable TestRedirectLinks.java in slowdebug mode 8297369: disable Fuzz.java in slowdebug mode Reviewed-by: sspitsyn, jjg, cjplummer, lmesnik ! test/jdk/java/lang/instrument/GetObjectSizeIntrinsicsTest.java ! test/jdk/jdk/internal/vm/Continuation/Fuzz.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java Changeset: 6065516b Author: Daniel D. Daugherty Date: 2022-12-02 22:31:08 +0000 URL: https://git.openjdk.org/loom/commit/6065516bb3e0e445e9383718f539ec48440d6290 8291418: adjust monitor deflation logging and deflate_idle_monitors use Reviewed-by: dholmes, stuefe, pchilanomate ! src/hotspot/share/runtime/synchronizer.cpp ! src/hotspot/share/runtime/vmOperations.cpp Changeset: 99e2ef49 Author: Daniel D. Daugherty Date: 2022-12-03 04:13:33 +0000 URL: https://git.openjdk.org/loom/commit/99e2ef49a87fe88212fc2090ec5b5f4b3493025a 8298054: ProblemList jdk/jfr/api/consumer/recordingstream/TestStop.java Reviewed-by: lmesnik ! test/jdk/ProblemList.txt Changeset: c67166f1 Author: Thomas Stuefe Date: 2022-12-03 06:53:56 +0000 URL: https://git.openjdk.org/loom/commit/c67166f1205c1123497a8895c2952c4d9933645e 8298003: NMT: fatal block printout does not show the correct corruption address Reviewed-by: shade, mbaesken ! src/hotspot/share/services/mallocHeader.inline.hpp Changeset: 0edb5d08 Author: Andrey Turbanov Date: 2022-12-04 12:07:42 +0000 URL: https://git.openjdk.org/loom/commit/0edb5d08055d8c06ed318a6c32e44a070ab4d002 8297683: Use enhanced-for cycle instead of Enumeration in java.security.jgss Reviewed-by: weijun ! src/java.security.jgss/share/classes/sun/security/jgss/GSSCredentialImpl.java ! src/java.security.jgss/share/classes/sun/security/jgss/ProviderList.java Changeset: 87572d43 Author: Daniel D. Daugherty Date: 2022-12-04 16:37:09 +0000 URL: https://git.openjdk.org/loom/commit/87572d43befd7d868489ba0a2cfefad5cd605ef3 8298068: ProblemList tests failing due to JDK-8297235 8298070: ProblemList jdk/internal/vm/Continuation/Fuzz.java#default with ZGC on X64 8298071: ProblemList tests failing due to JDK-8298059 8298072: ProblemList compiler/c1/TestPrintC1Statistics.java in Xcomp mode on linux-aarch64 Reviewed-by: azvegint ! test/hotspot/jtreg/ProblemList-Xcomp.txt ! test/hotspot/jtreg/ProblemList-zgc.txt ! test/jdk/ProblemList-zgc.txt Changeset: a71d91b9 Author: Julian Waters Date: 2022-12-04 17:32:20 +0000 URL: https://git.openjdk.org/loom/commit/a71d91b96f7936dd1b84e4c1e167e2e5fa4ad4b1 8298067: Persistent test failures after 8296012 Reviewed-by: alanb ! test/langtools/jdk/jshell/Test8296012.java Changeset: 914ef07f Author: Michal Karm Babacek Committer: Jaikiran Pai Date: 2022-12-05 01:59:20 +0000 URL: https://git.openjdk.org/loom/commit/914ef07fed960f940e1591318b9f00938b37bf09 8297609: Add application/wasm MIME type for wasm file extension Reviewed-by: jpai, michaelm ! src/java.base/unix/classes/sun/net/www/content-types.properties ! src/java.base/windows/classes/sun/net/www/content-types.properties ! test/jdk/java/nio/file/Files/probeContentType/Basic.java Changeset: b49fd920 Author: Fei Yang Date: 2022-12-05 03:40:07 +0000 URL: https://git.openjdk.org/loom/commit/b49fd920b6690a8b828c85e45c10e5c4c54d2022 8298055: AArch64: fastdebug build fails after JDK-8247645 Reviewed-by: aph, haosun ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp Changeset: a5739239 Author: Christian Hagedorn Date: 2022-12-05 07:09:04 +0000 URL: https://git.openjdk.org/loom/commit/a57392390b0abe5db496775efcc369bafdf420f1 8297264: C2: Cast node is not processed again in CCP and keeps a wrong too narrow type which is later replaced by top Reviewed-by: thartmann, rcastanedalo, kvn ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/phaseX.hpp + test/hotspot/jtreg/compiler/ccp/TestCastIIWrongTypeCCP.java Changeset: 3b3bbe54 Author: Thomas Stuefe Date: 2022-12-05 07:10:31 +0000 URL: https://git.openjdk.org/loom/commit/3b3bbe5487c0d86305f953528884b1ee78ca359f 8296907: VMError: add optional callstacks, siginfo for secondary errors Reviewed-by: aboldtch, rschmelter ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/utilities/debug.cpp ! src/hotspot/share/utilities/vmError.cpp ! src/hotspot/share/utilities/vmError.hpp ! test/hotspot/jtreg/runtime/ErrorHandling/SecondaryErrorTest.java Changeset: 61b70931 Author: Ivan Walulya Date: 2022-12-05 07:16:56 +0000 URL: https://git.openjdk.org/loom/commit/61b7093123b780f87509cffe286cf6949afbb45d 8297872: Non-local G1MonotonicArenaFreePool::_freelist_pool has non-trivial ctor/dtor Co-authored-by: Thomas Schatzl Reviewed-by: kbarrett, tschatzl ! 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/g1MonotonicArenaFreeMemoryTask.cpp ! src/hotspot/share/gc/g1/g1MonotonicArenaFreePool.cpp ! src/hotspot/share/gc/g1/g1MonotonicArenaFreePool.hpp ! src/hotspot/share/gc/g1/g1RemSetSummary.cpp ! src/hotspot/share/gc/g1/heapRegionRemSet.cpp ! src/hotspot/share/gc/g1/heapRegionRemSet.hpp Changeset: 82561de7 Author: sendaoYan Committer: Yi Yang Date: 2022-12-05 07:41:42 +0000 URL: https://git.openjdk.org/loom/commit/82561de722b9ca580c0c1a53050c711b64611352 8296384: [TESTBUG] sun/security/provider/SecureRandom/AbstractDrbg/SpecTest.java intermittently timeout Reviewed-by: weijun, wetmore ! test/jdk/java/security/SecureRandom/NoSync.java ! test/jdk/sun/security/provider/SecureRandom/AbstractDrbg/SpecTest.java Changeset: 619b68c5 Author: Emanuel Peter Date: 2022-12-05 08:30:31 +0000 URL: https://git.openjdk.org/loom/commit/619b68c5d1908de335cefd536963cadd57472925 8294540: Remove Opaque2Node: it is broken and triggers assert Reviewed-by: chagedorn, kvn ! src/hotspot/share/opto/classes.hpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/loopnode.hpp ! src/hotspot/share/opto/loopopts.cpp ! src/hotspot/share/opto/macro.cpp ! src/hotspot/share/opto/opaquenode.cpp ! src/hotspot/share/opto/opaquenode.hpp ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/runtime/vmStructs.cpp Changeset: 17666fbc Author: Kevin Walls Date: 2022-12-05 09:27:14 +0000 URL: https://git.openjdk.org/loom/commit/17666fbcae795a01ee462651c7694b5e4af30e32 8297794: Deprecate JMX Management Applets for Removal Reviewed-by: dfuchs, mullan, rriggs, alanb ! src/java.management/share/classes/javax/management/loading/MLet.java ! src/java.management/share/classes/javax/management/loading/MLetContent.java ! src/java.management/share/classes/javax/management/loading/MLetMBean.java ! src/java.management/share/classes/javax/management/loading/MLetObjectInputStream.java ! src/java.management/share/classes/javax/management/loading/MLetParser.java ! src/java.management/share/classes/javax/management/loading/PrivateMLet.java ! test/jdk/javax/management/Introspector/ClassLeakTest.java ! test/jdk/javax/management/MBeanServer/PostExceptionTest.java ! test/jdk/javax/management/loading/DocumentRootTest.java ! test/jdk/javax/management/loading/GetMBeansFromURLTest.java ! test/jdk/javax/management/loading/MLetCLR/MLetCommand.java ! test/jdk/javax/management/loading/MLetContentTest.java ! test/jdk/javax/management/loading/MLetInternalsTest.java ! test/jdk/javax/management/loading/MletParserLocaleTest.java ! test/jdk/javax/management/loading/ParserInfiniteLoopTest.java ! test/jdk/javax/management/mxbean/MXBeanLoadingTest1.java ! test/jdk/javax/management/relation/NonArrayListTest.java ! test/jdk/javax/management/remote/mandatory/loading/TargetMBeanTest.java ! test/jdk/javax/management/remote/mandatory/notif/NotificationBufferTest.java Changeset: 777fb52e Author: Jan Lahoda Date: 2022-12-05 09:33:42 +0000 URL: https://git.openjdk.org/loom/commit/777fb52ef5b0d95b756ce4fa71a7ddf2d7d2a8f1 8297974: ClassCastException in com.sun.tools.javac.comp.AttrRecover.doRecovery Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/AttrRecover.java + test/langtools/tools/javac/recovery/LambdaRecovery.java Changeset: d523d9d0 Author: Robbin Ehn Date: 2022-12-05 10:31:35 +0000 URL: https://git.openjdk.org/loom/commit/d523d9d081a3bc698abcf493e038779a29eb47ea 8297864: Dead code elimination Reviewed-by: coleenp, pchilanomate ! src/hotspot/cpu/aarch64/continuationFreezeThaw_aarch64.inline.hpp ! src/hotspot/cpu/aarch64/stackChunkFrameStream_aarch64.inline.hpp ! src/hotspot/cpu/arm/continuationFreezeThaw_arm.inline.hpp ! src/hotspot/cpu/arm/stackChunkFrameStream_arm.inline.hpp ! src/hotspot/cpu/ppc/stackChunkFrameStream_ppc.inline.hpp ! src/hotspot/cpu/riscv/continuationFreezeThaw_riscv.inline.hpp ! src/hotspot/cpu/riscv/stackChunkFrameStream_riscv.inline.hpp ! src/hotspot/cpu/s390/continuationFreezeThaw_s390.inline.hpp ! src/hotspot/cpu/s390/stackChunkFrameStream_s390.inline.hpp ! src/hotspot/cpu/x86/continuationFreezeThaw_x86.inline.hpp ! src/hotspot/cpu/x86/stackChunkFrameStream_x86.inline.hpp ! src/hotspot/cpu/zero/continuationFreezeThaw_zero.inline.hpp ! src/hotspot/cpu/zero/stackChunkFrameStream_zero.inline.hpp ! src/hotspot/cpu/zero/stubGenerator_zero.cpp ! src/hotspot/share/prims/forte.cpp ! src/hotspot/share/runtime/abstract_vm_version.cpp ! src/hotspot/share/runtime/abstract_vm_version.hpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/arguments.hpp ! src/hotspot/share/runtime/continuationEntry.hpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/continuationHelper.hpp ! src/hotspot/share/runtime/continuationHelper.inline.hpp ! src/hotspot/share/runtime/continuationJavaClasses.hpp ! src/hotspot/share/runtime/continuationJavaClasses.inline.hpp ! src/hotspot/share/runtime/continuationWrapper.inline.hpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/deoptimization.hpp ! src/hotspot/share/runtime/escapeBarrier.hpp ! src/hotspot/share/runtime/fieldDescriptor.cpp ! src/hotspot/share/runtime/fieldDescriptor.hpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/frame.hpp ! src/hotspot/share/runtime/frame.inline.hpp ! src/hotspot/share/runtime/handles.hpp ! src/hotspot/share/runtime/java.hpp ! src/hotspot/share/runtime/javaCalls.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/jniHandles.cpp ! src/hotspot/share/runtime/jniHandles.hpp ! src/hotspot/share/runtime/jniPeriodicChecker.cpp ! src/hotspot/share/runtime/jniPeriodicChecker.hpp ! src/hotspot/share/runtime/keepStackGCProcessed.cpp ! src/hotspot/share/runtime/keepStackGCProcessed.hpp ! src/hotspot/share/runtime/monitorChunk.hpp ! src/hotspot/share/runtime/monitorDeflationThread.hpp ! src/hotspot/share/runtime/mutex.hpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! src/hotspot/share/runtime/objectMonitor.hpp ! src/hotspot/share/runtime/objectMonitor.inline.hpp ! src/hotspot/share/runtime/os.hpp ! src/hotspot/share/runtime/os_perf.hpp ! src/hotspot/share/runtime/perfData.cpp ! src/hotspot/share/runtime/perfData.hpp ! src/hotspot/share/runtime/perfData.inline.hpp ! src/hotspot/share/runtime/reflectionUtils.hpp ! src/hotspot/share/runtime/registerMap.hpp ! src/hotspot/share/runtime/relocator.cpp ! src/hotspot/share/runtime/relocator.hpp ! src/hotspot/share/runtime/rtmLocking.hpp ! src/hotspot/share/runtime/safepoint.hpp ! src/hotspot/share/runtime/safepointMechanism.hpp ! src/hotspot/share/runtime/safepointMechanism.inline.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/sharedRuntime.hpp ! src/hotspot/share/runtime/signature.cpp ! src/hotspot/share/runtime/signature.hpp ! src/hotspot/share/runtime/stackChunkFrameStream.hpp ! src/hotspot/share/runtime/stackChunkFrameStream.inline.hpp ! src/hotspot/share/runtime/stackOverflow.cpp ! src/hotspot/share/runtime/stackOverflow.hpp ! src/hotspot/share/runtime/stackValueCollection.hpp ! src/hotspot/share/runtime/stackWatermark.hpp ! src/hotspot/share/runtime/stubCodeGenerator.cpp ! src/hotspot/share/runtime/stubCodeGenerator.hpp ! src/hotspot/share/runtime/stubRoutines.cpp ! src/hotspot/share/runtime/stubRoutines.hpp ! src/hotspot/share/runtime/suspendedThreadTask.hpp ! src/hotspot/share/runtime/synchronizer.cpp ! src/hotspot/share/runtime/synchronizer.hpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/runtime/thread.hpp ! src/hotspot/share/runtime/threadHeapSampler.hpp ! src/hotspot/share/runtime/threadSMR.hpp ! src/hotspot/share/runtime/threadStatisticalInfo.hpp ! src/hotspot/share/runtime/threads.cpp ! src/hotspot/share/runtime/threads.hpp ! src/hotspot/share/runtime/timer.hpp ! src/hotspot/share/runtime/timerTrace.hpp ! src/hotspot/share/runtime/vframe.cpp ! src/hotspot/share/runtime/vframe.hpp ! src/hotspot/share/runtime/vframe.inline.hpp ! src/hotspot/share/runtime/vframeArray.cpp ! src/hotspot/share/runtime/vframeArray.hpp ! src/hotspot/share/runtime/vframe_hp.cpp ! src/hotspot/share/runtime/vframe_hp.hpp ! src/hotspot/share/runtime/vmOperations.cpp ! src/hotspot/share/runtime/vmStructs.cpp Changeset: dea2161f Author: Matthias Baesken Date: 2022-12-05 11:31:31 +0000 URL: https://git.openjdk.org/loom/commit/dea2161f069a88553bc514c7210dc1d31febd90a 8297959: Provide better descriptions for some Operating System JFR events Reviewed-by: stuefe ! src/hotspot/share/jfr/metadata/metadata.xml Changeset: eab0ada3 Author: Aleksey Shipilev Date: 2022-12-05 12:00:30 +0000 URL: https://git.openjdk.org/loom/commit/eab0ada3a16a432fdfd1f0b8fceca149c725451b 8296545: C2 Blackholes should allow load optimizations Reviewed-by: kvn, vlivanov ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/cfgnode.hpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/memnode.cpp ! src/hotspot/share/opto/memnode.hpp ! src/hotspot/share/runtime/vmStructs.cpp + test/hotspot/jtreg/compiler/c2/irTests/blackhole/BlackholeLoadOptoTest.java Changeset: 2300ed45 Author: Jan Lahoda Date: 2022-12-05 12:04:23 +0000 URL: https://git.openjdk.org/loom/commit/2300ed458dcda568afad818d2d3133e545a58ad5 8291769: Translation of switch with record patterns could be improved Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransPatterns.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TreeDiffer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.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/annotations/typeAnnotations/classfile/Patterns.java + test/langtools/tools/javac/patterns/DeconstructionDesugaring.java ! test/langtools/tools/javac/patterns/Guards.java + test/langtools/tools/javac/patterns/PatternDesugaring.java ! test/langtools/tools/javac/patterns/Switches.java + test/langtools/tools/javac/patterns/TranslationTest.java ! test/langtools/tools/javac/patterns/TypedDeconstructionPatternExc.java Changeset: f9e0f1d5 Author: Xiaolin Zheng Committer: Tobias Hartmann Date: 2022-12-05 12:43:57 +0000 URL: https://git.openjdk.org/loom/commit/f9e0f1d5b3663db5de0532e9d9ce41312bf35ed3 8297763: Fix missing stub code expansion before align() in shared trampolines Reviewed-by: fyang, luhenry ! src/hotspot/cpu/aarch64/codeBuffer_aarch64.cpp ! src/hotspot/cpu/riscv/codeBuffer_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp Changeset: e7e03548 Author: Coleen Phillimore Date: 2022-12-05 13:18:44 +0000 URL: https://git.openjdk.org/loom/commit/e7e03548feabb3f200b4f6f5d04c392343adb131 8297767: Assert JNICritical_lock/safepoint-1 and AdapterHandlerLibrary_lock/safepoint-1 Reviewed-by: pchilanomate, rehn ! src/hotspot/share/runtime/mutexLocker.cpp Changeset: b9eec968 Author: Afshin Zafari Committer: Robbin Ehn Date: 2022-12-05 13:30:15 +0000 URL: https://git.openjdk.org/loom/commit/b9eec96889abf7df6d2b479e294c7823fb3d5850 8281214: Unsafe use of long in VMThread::setup_periodic_safepoint_if_needed Reviewed-by: eastigeevich, shade ! src/hotspot/share/runtime/vmThread.cpp Changeset: bd381886 Author: Afshin Zafari Committer: Thomas Stuefe Date: 2022-12-05 13:31:15 +0000 URL: https://git.openjdk.org/loom/commit/bd381886e0f39d0e48b555b5e3167565d6a6b40d 8297766: Remove UseMallocOnly development option Reviewed-by: coleenp, stuefe, dholmes ! src/hotspot/share/memory/arena.cpp ! src/hotspot/share/memory/arena.hpp ! src/hotspot/share/memory/resourceArea.hpp ! src/hotspot/share/memory/resourceArea.inline.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/handles.hpp ! test/hotspot/gtest/memory/test_arena.cpp - test/hotspot/jtreg/gtest/ArenaGtests.java - test/hotspot/jtreg/runtime/8007475/StackMapFrameTest.java Changeset: 73baadce Author: Maurizio Cimadamore Date: 2022-12-05 13:49:53 +0000 URL: https://git.openjdk.org/loom/commit/73baadceb60029f6340c1327118aeb59971c2434 8295044: Implementation of Foreign Function and Memory API (Second Preview) Co-authored-by: Jorn Vernee Co-authored-by: Per Minborg Co-authored-by: Maurizio Cimadamore Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar ! src/hotspot/cpu/aarch64/downcallLinker_aarch64.cpp ! src/hotspot/cpu/x86/downcallLinker_x86_64.cpp ! src/hotspot/share/ci/ciField.cpp ! src/java.base/share/classes/java/lang/Module.java ! src/java.base/share/classes/java/lang/ModuleLayer.java ! src/java.base/share/classes/java/lang/System.java - src/java.base/share/classes/java/lang/foreign/AbstractLayout.java - src/java.base/share/classes/java/lang/foreign/Addressable.java + src/java.base/share/classes/java/lang/foreign/Arena.java ! src/java.base/share/classes/java/lang/foreign/FunctionDescriptor.java ! src/java.base/share/classes/java/lang/foreign/GroupLayout.java ! src/java.base/share/classes/java/lang/foreign/Linker.java - src/java.base/share/classes/java/lang/foreign/MemoryAddress.java ! src/java.base/share/classes/java/lang/foreign/MemoryLayout.java ! src/java.base/share/classes/java/lang/foreign/MemorySegment.java - src/java.base/share/classes/java/lang/foreign/MemorySession.java ! src/java.base/share/classes/java/lang/foreign/PaddingLayout.java ! src/java.base/share/classes/java/lang/foreign/SegmentAllocator.java + src/java.base/share/classes/java/lang/foreign/SegmentScope.java ! src/java.base/share/classes/java/lang/foreign/SequenceLayout.java + src/java.base/share/classes/java/lang/foreign/StructLayout.java ! src/java.base/share/classes/java/lang/foreign/SymbolLookup.java + src/java.base/share/classes/java/lang/foreign/UnionLayout.java ! src/java.base/share/classes/java/lang/foreign/VaList.java ! src/java.base/share/classes/java/lang/foreign/ValueLayout.java ! src/java.base/share/classes/java/lang/foreign/package-info.java ! src/java.base/share/classes/java/lang/invoke/MethodHandles.java ! src/java.base/share/classes/java/lang/invoke/NativeMethodHandle.java ! src/java.base/share/classes/java/lang/invoke/X-VarHandleByteArrayView.java.template ! src/java.base/share/classes/java/nio/Direct-X-Buffer.java.template ! src/java.base/share/classes/java/nio/channels/FileChannel.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java ! src/java.base/share/classes/jdk/internal/foreign/AbstractMemorySegmentImpl.java - src/java.base/share/classes/jdk/internal/foreign/ArenaAllocator.java ! src/java.base/share/classes/jdk/internal/foreign/CABI.java ! src/java.base/share/classes/jdk/internal/foreign/ConfinedSession.java + src/java.base/share/classes/jdk/internal/foreign/FunctionDescriptorImpl.java + src/java.base/share/classes/jdk/internal/foreign/GlobalSession.java ! src/java.base/share/classes/jdk/internal/foreign/HeapMemorySegmentImpl.java + src/java.base/share/classes/jdk/internal/foreign/ImplicitSession.java ! src/java.base/share/classes/jdk/internal/foreign/LayoutPath.java ! src/java.base/share/classes/jdk/internal/foreign/MappedMemorySegmentImpl.java - src/java.base/share/classes/jdk/internal/foreign/MemoryAddressImpl.java ! src/java.base/share/classes/jdk/internal/foreign/MemorySessionImpl.java ! src/java.base/share/classes/jdk/internal/foreign/NativeMemorySegmentImpl.java ! src/java.base/share/classes/jdk/internal/foreign/PlatformLayouts.java - src/java.base/share/classes/jdk/internal/foreign/Scoped.java ! src/java.base/share/classes/jdk/internal/foreign/SharedSession.java + src/java.base/share/classes/jdk/internal/foreign/SlicingAllocator.java ! src/java.base/share/classes/jdk/internal/foreign/SystemLookup.java ! src/java.base/share/classes/jdk/internal/foreign/Utils.java ! src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/Binding.java ! src/java.base/share/classes/jdk/internal/foreign/abi/BindingSpecializer.java ! src/java.base/share/classes/jdk/internal/foreign/abi/CallingSequenceBuilder.java ! src/java.base/share/classes/jdk/internal/foreign/abi/DowncallLinker.java + src/java.base/share/classes/jdk/internal/foreign/abi/LinkerOptions.java ! src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java ! src/java.base/share/classes/jdk/internal/foreign/abi/SoftReferenceCache.java ! src/java.base/share/classes/jdk/internal/foreign/abi/UpcallLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/UpcallStubs.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/TypeClass.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/linux/LinuxAArch64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/linux/LinuxAArch64VaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/macos/MacOsAArch64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/macos/MacOsAArch64VaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVVaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVx64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/TypeClass.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/TypeClass.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/WinVaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/Windowsx64Linker.java + src/java.base/share/classes/jdk/internal/foreign/layout/AbstractGroupLayout.java + src/java.base/share/classes/jdk/internal/foreign/layout/AbstractLayout.java + src/java.base/share/classes/jdk/internal/foreign/layout/MemoryLayoutUtil.java + src/java.base/share/classes/jdk/internal/foreign/layout/PaddingLayoutImpl.java + src/java.base/share/classes/jdk/internal/foreign/layout/SequenceLayoutImpl.java + src/java.base/share/classes/jdk/internal/foreign/layout/StructLayoutImpl.java + src/java.base/share/classes/jdk/internal/foreign/layout/UnionLayoutImpl.java + src/java.base/share/classes/jdk/internal/foreign/layout/ValueLayouts.java ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java ! src/java.base/share/classes/jdk/internal/module/ModuleBootstrap.java ! src/java.base/share/classes/jdk/internal/reflect/Reflection.java ! src/java.base/share/classes/sun/nio/ch/FileChannelImpl.java ! test/hotspot/jtreg/gc/shenandoah/compiler/TestLinkToNativeRBP.java ! test/hotspot/jtreg/runtime/ClassFile/ClassFileVersionTest.java ! test/jdk/com/sun/jdi/JdbLastErrorTest.java ! test/jdk/java/foreign/CallGeneratorHelper.java ! test/jdk/java/foreign/LibraryLookupTest.java + test/jdk/java/foreign/MemoryLayoutPrincipalTotalityTest.java + test/jdk/java/foreign/MemoryLayoutTypeRetentionTest.java ! test/jdk/java/foreign/NativeTestHelper.java ! test/jdk/java/foreign/SafeFunctionAccessTest.java ! test/jdk/java/foreign/StdLibTest.java ! test/jdk/java/foreign/TestAdaptVarHandles.java ! test/jdk/java/foreign/TestArrays.java ! test/jdk/java/foreign/TestByteBuffer.java ! test/jdk/java/foreign/TestClassLoaderFindNative.java ! test/jdk/java/foreign/TestDowncallBase.java ! test/jdk/java/foreign/TestDowncallScope.java ! test/jdk/java/foreign/TestDowncallStack.java ! test/jdk/java/foreign/TestFallbackLookup.java ! test/jdk/java/foreign/TestFree.java ! test/jdk/java/foreign/TestFunctionDescriptor.java ! test/jdk/java/foreign/TestHandshake.java ! test/jdk/java/foreign/TestHeapAlignment.java ! test/jdk/java/foreign/TestIllegalLink.java ! test/jdk/java/foreign/TestIntrinsics.java + test/jdk/java/foreign/TestLargeSegmentCopy.java ! test/jdk/java/foreign/TestLayoutEquality.java ! test/jdk/java/foreign/TestLayoutPaths.java ! test/jdk/java/foreign/TestLayouts.java + test/jdk/java/foreign/TestLinker.java ! test/jdk/java/foreign/TestMemoryAccess.java ! test/jdk/java/foreign/TestMemoryAccessInstance.java ! test/jdk/java/foreign/TestMemoryAlignment.java ! test/jdk/java/foreign/TestMemoryDereference.java ! test/jdk/java/foreign/TestMemorySession.java ! test/jdk/java/foreign/TestMismatch.java ! test/jdk/java/foreign/TestNULLAddress.java ! test/jdk/java/foreign/TestNative.java ! test/jdk/java/foreign/TestNulls.java + test/jdk/java/foreign/TestOfBufferIssue.java ! test/jdk/java/foreign/TestScopedOperations.java ! test/jdk/java/foreign/TestSegmentAllocators.java ! test/jdk/java/foreign/TestSegmentCopy.java ! test/jdk/java/foreign/TestSegmentOffset.java ! test/jdk/java/foreign/TestSegmentOverlap.java ! test/jdk/java/foreign/TestSegments.java ! test/jdk/java/foreign/TestSharedAccess.java ! test/jdk/java/foreign/TestSlices.java ! test/jdk/java/foreign/TestSpliterator.java ! test/jdk/java/foreign/TestStringEncoding.java ! test/jdk/java/foreign/TestTypeAccess.java ! test/jdk/java/foreign/TestUnsupportedLinker.java ! test/jdk/java/foreign/TestUpcallAsync.java ! test/jdk/java/foreign/TestUpcallBase.java ! test/jdk/java/foreign/TestUpcallException.java ! test/jdk/java/foreign/TestUpcallHighArity.java ! test/jdk/java/foreign/TestUpcallScope.java ! test/jdk/java/foreign/TestUpcallStack.java ! test/jdk/java/foreign/TestUpcallStructScope.java + test/jdk/java/foreign/TestValueLayouts.java ! test/jdk/java/foreign/TestVarArgs.java ! test/jdk/java/foreign/TestVarHandleCombinators.java ! test/jdk/java/foreign/ThrowingUpcall.java + test/jdk/java/foreign/UpcallTestHelper.java ! test/jdk/java/foreign/callarranger/TestAarch64CallArranger.java ! test/jdk/java/foreign/callarranger/TestSysVCallArranger.java ! test/jdk/java/foreign/callarranger/TestWindowsCallArranger.java ! test/jdk/java/foreign/channels/AbstractChannelsTest.java ! test/jdk/java/foreign/channels/TestAsyncSocketChannels.java ! test/jdk/java/foreign/channels/TestSocketChannels.java + test/jdk/java/foreign/dontrelease/TestDontRelease.java + test/jdk/java/foreign/dontrelease/libDontRelease.c + test/jdk/java/foreign/enablenativeaccess/NativeAccessDynamicMain.java + test/jdk/java/foreign/enablenativeaccess/TestEnableNativeAccessDynamic.java ! test/jdk/java/foreign/enablenativeaccess/panama_module/org/openjdk/foreigntest/PanamaMainDirect.java ! test/jdk/java/foreign/enablenativeaccess/panama_module/org/openjdk/foreigntest/PanamaMainInvoke.java ! test/jdk/java/foreign/enablenativeaccess/panama_module/org/openjdk/foreigntest/PanamaMainReflection.java ! test/jdk/java/foreign/handles/invoker_module/handle/invoker/MethodHandleInvoker.java ! test/jdk/java/foreign/handles/lookup_module/handle/lookup/MethodHandleLookup.java + test/jdk/java/foreign/libNull.c ! test/jdk/java/foreign/loaderLookup/TestLoaderLookup.java ! test/jdk/java/foreign/loaderLookup/TestLoaderLookupJNI.java ! test/jdk/java/foreign/loaderLookup/invoker/Invoker.java ! test/jdk/java/foreign/loaderLookup/lookup/Lookup.java + test/jdk/java/foreign/normalize/TestNormalize.java + test/jdk/java/foreign/normalize/libNormalize.c + test/jdk/java/foreign/passheapsegment/TestPassHeapSegment.java + test/jdk/java/foreign/passheapsegment/libPassHeapSegment.c ! test/jdk/java/foreign/stackwalk/TestAsyncStackWalk.java ! test/jdk/java/foreign/stackwalk/TestStackWalk.java ! test/jdk/java/foreign/upcalldeopt/TestUpcallDeopt.java ! test/jdk/java/foreign/valist/VaListTest.java ! test/jdk/java/foreign/virtual/TestVirtualCalls.java ! test/jdk/java/lang/Thread/jni/AttachCurrentThread/ImplicitAttach.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestExact.java ! test/jdk/java/nio/channels/FileChannel/LargeMapTest.java ! test/jdk/java/nio/channels/FileChannel/MapToMemorySegmentTest.java ! test/jdk/java/util/stream/test/org/openjdk/tests/java/util/stream/SpliteratorTest.java ! test/jdk/jdk/incubator/vector/AbstractVectorLoadStoreTest.java ! test/jdk/jdk/incubator/vector/Byte128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/ByteMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/DoubleMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/FloatMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/IntMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/LongMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/ShortMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/gen-template.sh ! test/jdk/jdk/incubator/vector/templates/X-LoadStoreTest.java.template ! test/micro/org/openjdk/bench/java/lang/foreign/BulkMismatchAcquire.java ! test/micro/org/openjdk/bench/java/lang/foreign/BulkOps.java ! test/micro/org/openjdk/bench/java/lang/foreign/CLayouts.java ! test/micro/org/openjdk/bench/java/lang/foreign/CallOverheadConstant.java ! test/micro/org/openjdk/bench/java/lang/foreign/CallOverheadHelper.java ! test/micro/org/openjdk/bench/java/lang/foreign/CallOverheadVirtual.java ! test/micro/org/openjdk/bench/java/lang/foreign/JavaLayouts.java ! test/micro/org/openjdk/bench/java/lang/foreign/LinkUpcall.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverConstant.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNew.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNewHeap.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstant.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstantFP.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstantHeap.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstantMapped.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstantShared.java + test/micro/org/openjdk/bench/java/lang/foreign/LoopOverOfAddress.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverPollutedSegments.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverSlice.java ! test/micro/org/openjdk/bench/java/lang/foreign/MemorySessionClose.java ! test/micro/org/openjdk/bench/java/lang/foreign/ParallelSum.java ! test/micro/org/openjdk/bench/java/lang/foreign/PointerInvoke.java ! test/micro/org/openjdk/bench/java/lang/foreign/QSort.java ! test/micro/org/openjdk/bench/java/lang/foreign/StrLenTest.java ! test/micro/org/openjdk/bench/java/lang/foreign/TestLoadBytes.java ! test/micro/org/openjdk/bench/java/lang/foreign/UnrolledAccess.java ! test/micro/org/openjdk/bench/java/lang/foreign/Upcalls.java ! test/micro/org/openjdk/bench/java/lang/foreign/VaList.java ! test/micro/org/openjdk/bench/java/lang/foreign/VarHandleExact.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/NativeType.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/Point.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/Pointer.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/PointerBench.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/Struct.java ! test/micro/org/openjdk/bench/java/lang/foreign/points/support/PanamaPoint.java ! test/micro/org/openjdk/bench/jdk/incubator/vector/MemorySegmentVectorAccess.java ! test/micro/org/openjdk/bench/jdk/incubator/vector/TestLoadStoreBytes.java ! test/micro/org/openjdk/bench/jdk/incubator/vector/TestLoadStoreShorts.java Changeset: 0452c39f Author: Jorn Vernee Date: 2022-12-05 14:47:12 +0000 URL: https://git.openjdk.org/loom/commit/0452c39fecb7fa4962b00868cb20a50e5f7ab1a7 8296477: Foreign linker implementation update following JEP 434 Co-authored-by: Jorn Vernee Co-authored-by: Nick Gasson Co-authored-by: Per Minborg Reviewed-by: rehn, mcimadamore, vlivanov ! src/hotspot/cpu/aarch64/downcallLinker_aarch64.cpp ! src/hotspot/cpu/aarch64/foreignGlobals_aarch64.cpp ! src/hotspot/cpu/aarch64/foreignGlobals_aarch64.hpp ! src/hotspot/cpu/aarch64/register_aarch64.hpp ! src/hotspot/cpu/aarch64/upcallLinker_aarch64.cpp + src/hotspot/cpu/aarch64/vmstorage_aarch64.hpp ! src/hotspot/cpu/arm/downcallLinker_arm.cpp ! src/hotspot/cpu/arm/foreignGlobals_arm.cpp + src/hotspot/cpu/arm/vmstorage_arm.hpp ! src/hotspot/cpu/ppc/downcallLinker_ppc.cpp ! src/hotspot/cpu/ppc/foreignGlobals_ppc.cpp + src/hotspot/cpu/ppc/vmstorage_ppc.hpp ! src/hotspot/cpu/riscv/downcallLinker_riscv.cpp ! src/hotspot/cpu/riscv/foreignGlobals_riscv.cpp + src/hotspot/cpu/riscv/vmstorage_riscv.hpp ! src/hotspot/cpu/s390/downcallLinker_s390.cpp ! src/hotspot/cpu/s390/foreignGlobals_s390.cpp + src/hotspot/cpu/s390/vmstorage_s390.hpp ! src/hotspot/cpu/x86/downcallLinker_x86_32.cpp ! src/hotspot/cpu/x86/downcallLinker_x86_64.cpp ! src/hotspot/cpu/x86/foreignGlobals_x86.hpp ! src/hotspot/cpu/x86/foreignGlobals_x86_32.cpp ! src/hotspot/cpu/x86/foreignGlobals_x86_64.cpp ! src/hotspot/cpu/x86/register_x86.hpp ! src/hotspot/cpu/x86/upcallLinker_x86_64.cpp + src/hotspot/cpu/x86/vmstorage_x86.hpp ! src/hotspot/cpu/zero/downcallLinker_zero.cpp ! src/hotspot/cpu/zero/foreignGlobals_zero.cpp + src/hotspot/cpu/zero/vmstorage_zero.hpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/javaClasses.hpp ! src/hotspot/share/code/codeBlob.cpp ! src/hotspot/share/code/codeBlob.hpp + src/hotspot/share/prims/downcallLinker.cpp ! src/hotspot/share/prims/downcallLinker.hpp ! src/hotspot/share/prims/foreignGlobals.cpp ! src/hotspot/share/prims/foreignGlobals.hpp ! src/hotspot/share/prims/foreignGlobals.inline.hpp ! src/hotspot/share/prims/nativeEntryPoint.cpp + src/hotspot/share/prims/vmstorage.cpp + src/hotspot/share/prims/vmstorage.hpp ! src/hotspot/share/runtime/globals.hpp ! src/java.base/share/classes/java/lang/foreign/Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/ABIDescriptor.java ! src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/Architecture.java ! src/java.base/share/classes/jdk/internal/foreign/abi/CallingSequence.java ! src/java.base/share/classes/jdk/internal/foreign/abi/CallingSequenceBuilder.java + src/java.base/share/classes/jdk/internal/foreign/abi/CapturableState.java ! src/java.base/share/classes/jdk/internal/foreign/abi/DowncallLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/LinkerOptions.java ! src/java.base/share/classes/jdk/internal/foreign/abi/NativeEntryPoint.java ! src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java + src/java.base/share/classes/jdk/internal/foreign/abi/StubLocations.java ! src/java.base/share/classes/jdk/internal/foreign/abi/VMStorage.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/AArch64Architecture.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/X86_64Architecture.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVx64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/CallArranger.java ! test/jdk/ProblemList.txt ! test/jdk/java/foreign/MemoryLayoutPrincipalTotalityTest.java ! test/jdk/java/foreign/MemoryLayoutTypeRetentionTest.java ! test/jdk/java/foreign/TestLargeSegmentCopy.java ! test/jdk/java/foreign/TestLinker.java ! test/jdk/java/foreign/callarranger/CallArrangerTestBase.java ! test/jdk/java/foreign/callarranger/TestAarch64CallArranger.java ! test/jdk/java/foreign/callarranger/TestSysVCallArranger.java ! test/jdk/java/foreign/callarranger/TestWindowsCallArranger.java + test/jdk/java/foreign/capturecallstate/TestCaptureCallState.java + test/jdk/java/foreign/capturecallstate/libCaptureCallState.c Changeset: 32884592 Author: Tyler Steele Date: 2022-12-05 14:53:52 +0000 URL: https://git.openjdk.org/loom/commit/328845926d3c1984f65450bfe01ebbc2c0315a69 8297606: [AIX] Broken build after JDK-8295475 Reviewed-by: mdoerr, stuefe ! make/autoconf/flags-cflags.m4 Changeset: 19d84988 Author: Alan Bateman Date: 2022-12-05 15:20:16 +0000 URL: https://git.openjdk.org/loom/commit/19d849884bd7a9718a5050b9709657f231a1ddbc 8297495: j.u.concurrent updates for JDK 20 Reviewed-by: jpai ! src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java ! src/java.base/share/classes/java/util/concurrent/ForkJoinWorkerThread.java + test/jdk/java/util/concurrent/tck/ForkJoinPool20Test.java ! test/jdk/java/util/concurrent/tck/JSR166TestCase.java Changeset: a38c63da Author: Jorn Vernee Date: 2022-12-05 15:28:51 +0000 URL: https://git.openjdk.org/loom/commit/a38c63da5632fe727838ff1ed88d9601bf954801 8297733: Refactor Cast binding to enum Reviewed-by: mcimadamore ! src/java.base/share/classes/jdk/internal/foreign/abi/Binding.java ! src/java.base/share/classes/jdk/internal/foreign/abi/BindingSpecializer.java Changeset: 6a7a0db5 Author: Hannes Walln?fer Date: 2022-12-05 16:23:01 +0000 URL: https://git.openjdk.org/loom/commit/6a7a0db587446160e77c9ac225669e5a0c9bc638 8296619: Upgrade jQuery to 3.6.1 Reviewed-by: jjg - src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/script-dir/jquery-3.6.0.min.js = src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/script-dir/jquery-3.6.1.js + src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/script-dir/jquery-3.6.1.min.js ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DocPaths.java ! src/jdk.javadoc/share/legal/jquery.md ! test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java ! test/langtools/jdk/javadoc/tool/api/basic/APITest.java Changeset: 601264d9 Author: Phil Race Date: 2022-12-05 17:54:15 +0000 URL: https://git.openjdk.org/loom/commit/601264d97d5cb1a8feb4aebadcb58bf2364916b4 8273357: SecurityManager deprecation warning from java/awt/regtesthelpers/Util.java Reviewed-by: kizune, aivanov ! test/jdk/java/awt/regtesthelpers/Util.java Changeset: 7d20a60a Author: ravi.ra.gupta Committer: Alexey Ivanov Date: 2022-12-05 18:41:42 +0000 URL: https://git.openjdk.org/loom/commit/7d20a60a983e459ea1c4e843fbde70fb796c6249 8297489: Modify TextAreaTextEventTest.java as to verify the content change of TextComponent sends TextEvent Reviewed-by: honkar, aivanov - test/jdk/java/awt/event/ComponentEvent/TextAreaTextEventTest.java + test/jdk/java/awt/event/ComponentEvent/TextComponentTextEventTest.java Changeset: 9827b75c Author: Erik Gahlin Date: 2022-12-05 20:40:35 +0000 URL: https://git.openjdk.org/loom/commit/9827b75c451100d2d5f3e068a8758468fd9189e0 8298043: jdk/jfr/api/consumer/recordingstream/TestStop.java failed with "Expected outer stream to have 3 events" Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/EventDirectoryStream.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/management/StreamBarrier.java ! test/jdk/ProblemList.txt ! test/jdk/jdk/jfr/api/consumer/recordingstream/TestStop.java ! test/jdk/jdk/jfr/jmx/streaming/TestStop.java Changeset: da0917a2 Author: Jorn Vernee Date: 2022-12-05 20:47:06 +0000 URL: https://git.openjdk.org/loom/commit/da0917a2ae148ccb415accffbe1117a3dc5fdf2d 8297729: Replace GrowableArray in ComputeMoveOrder with hash table Reviewed-by: coleenp, jsjolen ! src/hotspot/share/prims/foreignGlobals.cpp ! src/hotspot/share/prims/foreignGlobals.hpp Changeset: 8af6e8a6 Author: Phil Race Date: 2022-12-05 21:26:44 +0000 URL: https://git.openjdk.org/loom/commit/8af6e8a67fc0355f11c270c3ea794366741856fa 8298123: Problem List MaximizedToIconified.java on macOS Reviewed-by: dcubed ! test/jdk/ProblemList.txt Changeset: 884b9ade Author: Alexey Semenyuk Date: 2022-12-06 00:13:22 +0000 URL: https://git.openjdk.org/loom/commit/884b9ade41c9803076f55f44cd5efd3530e92ab2 8293453: tools/jpackage/share/AddLShortcutTest.java "Failed: Check the number of mismatched pixels [1024] of [1024] is < [0.100000] threshold" Reviewed-by: almatvee ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/ExecutableRebrander.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources.properties ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_de.properties ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_ja.properties ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_zh_CN.properties ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/LauncherIconVerifier.java Changeset: 8d8a28ff Author: Alexey Semenyuk Date: 2022-12-06 00:14:31 +0000 URL: https://git.openjdk.org/loom/commit/8d8a28ffcbd974bb1a5389839a7e3046a232f85d 8296489: tools/jpackage/windows/WinL10nTest.java fails with timeout Reviewed-by: almatvee ! test/jdk/tools/jpackage/windows/WinL10nTest.java Changeset: ba2d28e9 Author: Jayathirth D V Date: 2022-12-06 03:43:28 +0000 URL: https://git.openjdk.org/loom/commit/ba2d28e911f4f523334f98fd0186680acafb6f0a 8298027: Remove SCCS id's from awt jtreg tests Reviewed-by: aivanov ! test/jdk/java/awt/font/TextLayout/TestOldHangul.java ! test/jdk/java/awt/font/TextLayout/TestTibetan.java Changeset: ee9ba745 Author: Srikanth Adayapalam Date: 2022-12-06 04:23:40 +0000 URL: https://git.openjdk.org/loom/commit/ee9ba7456403c59a6e14d22cf9c2f53eef97ea57 8295184: Printing messages with a RecordComponentElement does not include position Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeInfo.java + test/langtools/tools/javac/records/recordComponent/8295184/RecordComponentSourcePositionTest.java + test/langtools/tools/javac/records/recordComponent/8295184/ReproducingAP.java + test/langtools/tools/javac/records/recordComponent/8295184/TestWarning.java Changeset: 04012c43 Author: Thomas Stuefe Date: 2022-12-06 06:30:59 +0000 URL: https://git.openjdk.org/loom/commit/04012c4310806bb638737b577351851242950298 8298111: Cleanups after UseMallocOnly removal Reviewed-by: coleenp ! src/hotspot/share/memory/arena.hpp Changeset: e9754181 Author: Albert Mingkun Yang Date: 2022-12-06 06:48:21 +0000 URL: https://git.openjdk.org/loom/commit/e9754181af17f77e066eaabba5aacf6b404dabaa 8298102: Remove DirtyCardToOopClosure::_last_explicit_min_done Reviewed-by: tschatzl ! src/hotspot/share/gc/shared/space.hpp Changeset: f5ad515d Author: Yude Lin Committer: Thomas Schatzl Date: 2022-12-06 07:16:27 +0000 URL: https://git.openjdk.org/loom/commit/f5ad515db0b8f5545137c47200e81d78f89aa09c 8297247: Add GarbageCollectorMXBean for Remark and Cleanup pause time in G1 Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1FullGCScope.cpp ! src/hotspot/share/gc/g1/g1FullGCScope.hpp ! src/hotspot/share/gc/g1/g1MonitoringSupport.cpp ! src/hotspot/share/gc/g1/g1MonitoringSupport.hpp ! src/hotspot/share/gc/g1/g1VMOperations.cpp ! src/hotspot/share/gc/g1/g1YoungCollector.cpp ! test/hotspot/jtreg/gc/TestMemoryMXBeansAndPoolsPresence.java + test/hotspot/jtreg/gc/g1/TestRemarkCleanupMXBean.java ! test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationTools.java ! test/hotspot/jtreg/gc/testlibrary/g1/MixedGCProvoker.java ! test/jdk/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java ! test/jdk/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationTest.java ! test/jdk/java/lang/management/MemoryMXBean/MemoryTest.java ! test/lib/jdk/test/lib/jfr/GCHelper.java Changeset: 0bd04a65 Author: Christian Hagedorn Date: 2022-12-06 07:18:44 +0000 URL: https://git.openjdk.org/loom/commit/0bd04a658963c1126faa776cb8a96c23beb5e3e6 8297951: C2: Create skeleton predicates for all If nodes in loop predication Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/loopPredicate.cpp + test/hotspot/jtreg/compiler/loopopts/TestMissingSkeletonPredicateForIfNode.java Changeset: 923c7466 Author: Alan Bateman Date: 2022-12-06 07:30:52 +0000 URL: https://git.openjdk.org/loom/commit/923c746650204e36053251c19cf91b7e41e938b0 8298057: (fs) Remove PollingWatchService.POLLING_INIT_DELAY Reviewed-by: bpb, jpai ! src/java.base/share/classes/sun/nio/fs/PollingWatchService.java Changeset: 2a243a33 Author: Daniel Jeli?ski Date: 2022-12-06 08:24:17 +0000 URL: https://git.openjdk.org/loom/commit/2a243a33cc09f4674b232d89f36fb731055009d9 8267617: Certificate's IP x509 NameConstraints raises ArrayIndexOutOfBoundsException Reviewed-by: mullan ! src/java.base/share/classes/sun/security/x509/IPAddressName.java + test/jdk/sun/security/x509/IPAddressName/ConstrainsTest.java Changeset: f8f46305 Author: Julian Waters Date: 2022-12-06 08:42:36 +0000 URL: https://git.openjdk.org/loom/commit/f8f46305ef0d1c12154075c7a7d4dc75f91529b5 8297963: Partially fix string expansion issues in UTIL_DEFUN_NAMED and related macros Reviewed-by: ihse ! make/autoconf/flags.m4 ! make/autoconf/util.m4 Changeset: a6139985 Author: Pengfei Li Date: 2022-12-06 09:16:47 +0000 URL: https://git.openjdk.org/loom/commit/a61399854a9db8e3c0cb3f391fa557cb37e02571 8297689: Fix incorrect result of Short.reverseBytes() call in loops Reviewed-by: thartmann, jbhateja ! src/hotspot/share/opto/vectornode.cpp ! src/hotspot/share/prims/vectorSupport.cpp ! test/hotspot/jtreg/compiler/vectorization/TestReverseBytes.java + test/hotspot/jtreg/compiler/vectorization/TestSubwordReverseBytes.java ! test/hotspot/jtreg/compiler/vectorization/runner/BasicCharOpTest.java ! test/hotspot/jtreg/compiler/vectorization/runner/BasicShortOpTest.java Changeset: 4458de95 Author: Fei Gao Committer: Pengfei Li Date: 2022-12-06 09:35:27 +0000 URL: https://git.openjdk.org/loom/commit/4458de95f845c036c1c8e28df7043e989beaee98 8297172: Fix some issues of auto-vectorization of `Long.bitCount/numberOfTrailingZeros/numberOfLeadingZeros()` Reviewed-by: kvn, thartmann ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/x86/x86.ad ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/superword.hpp ! src/hotspot/share/opto/vectornode.cpp ! src/hotspot/share/opto/vectornode.hpp ! test/hotspot/jtreg/compiler/c2/irTests/TestDisableAutoVectOpcodes.java ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java + test/hotspot/jtreg/compiler/vectorization/TestNumberOfContinuousZeros.java ! test/hotspot/jtreg/compiler/vectorization/TestPopCountVectorLong.java Changeset: a9e6c62b Author: Thomas Schatzl Date: 2022-12-06 10:09:59 +0000 URL: https://git.openjdk.org/loom/commit/a9e6c62ba7df8d28cef9579c57a0386736bd9dbf 8297186: G1 triggers unnecessary full GCs when heap utilization is low Reviewed-by: kbarrett, sjohanss ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp + test/hotspot/jtreg/gc/g1/TestOneEdenRegionAfterGC.java ! test/hotspot/jtreg/runtime/cds/appcds/LotsOfClasses.java Changeset: 84b927a0 Author: Per Minborg Committer: Alan Bateman Date: 2022-12-06 10:42:59 +0000 URL: https://git.openjdk.org/loom/commit/84b927a05bcb7bf32a12829070ffd3a5670066d2 8296024: Usage of DirectBuffer::address should be guarded Reviewed-by: mcimadamore, alanb, psandoz, bpb ! src/java.base/share/classes/com/sun/crypto/provider/GaloisCounterMode.java ! src/java.base/share/classes/java/nio/Buffer.java ! src/java.base/share/classes/java/util/zip/Adler32.java ! src/java.base/share/classes/java/util/zip/CRC32.java ! src/java.base/share/classes/java/util/zip/CRC32C.java ! src/java.base/share/classes/java/util/zip/Deflater.java ! src/java.base/share/classes/java/util/zip/Inflater.java ! src/java.base/share/classes/java/util/zip/ZipUtils.java ! src/java.base/share/classes/jdk/internal/access/JavaNioAccess.java ! src/java.base/share/classes/module-info.java ! src/java.base/share/classes/sun/nio/ch/DatagramChannelImpl.java ! src/java.base/share/classes/sun/nio/ch/DirectBuffer.java ! src/java.base/share/classes/sun/nio/ch/IOUtil.java ! src/java.base/share/lib/security/default.policy ! src/java.base/unix/classes/sun/nio/fs/UnixUserDefinedFileAttributeView.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11AEADCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Cipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Digest.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyWrapCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PSSSignature.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Signature.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java Changeset: 2243646f Author: Albert Mingkun Yang Date: 2022-12-06 12:26:06 +0000 URL: https://git.openjdk.org/loom/commit/2243646fe35226e6d12d478483264270537a83cc 8298145: Remove ContiguousSpace::capacity Reviewed-by: tschatzl ! src/hotspot/share/gc/shared/space.hpp Changeset: b0e54328 Author: Daniel Fuchs Date: 2022-12-06 12:46:01 +0000 URL: https://git.openjdk.org/loom/commit/b0e54328c530faf8aae2f48a37ff378215142689 8297687: new URI(S,S,S,S) throws exception with incorrect index position reported in the error message Reviewed-by: jpai ! src/java.base/share/classes/java/net/URI.java ! test/jdk/java/net/URI/Test.java Changeset: 1e468320 Author: Aggelos Biboudis Committer: Jan Lahoda Date: 2022-12-06 13:00:10 +0000 URL: https://git.openjdk.org/loom/commit/1e468320dc6e495343dbdf392cbcbda79672c7ad 8297602: Compiler crash with type annotation and generic record during pattern matching Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotations.java + test/langtools/tools/javac/T8297602.java Changeset: 203251ff Author: Volodymyr Paprotski Committer: Sandhya Viswanathan Date: 2022-12-06 16:47:45 +0000 URL: https://git.openjdk.org/loom/commit/203251ffc0ea8b9bb9c8b95c50434e4185020d84 8297379: Enable the ByteBuffer path of Poly1305 optimizations Reviewed-by: sviswanathan, ascarpino, jnimeh ! src/java.base/share/classes/com/sun/crypto/provider/Poly1305.java ! test/jdk/com/sun/crypto/provider/Cipher/ChaCha20/unittest/java.base/com/sun/crypto/provider/Poly1305IntrinsicFuzzTest.java ! test/micro/org/openjdk/bench/javax/crypto/full/Poly1305DigestBench.java Changeset: 0d2a9ee5 Author: Joe Darcy Date: 2022-12-06 16:55:12 +0000 URL: https://git.openjdk.org/loom/commit/0d2a9ee5287779c2e33fc0bfda84aa6128d8f479 8298142: Update internal comment on language features in SourceVersion Reviewed-by: sundar, jlahoda ! src/java.compiler/share/classes/javax/lang/model/SourceVersion.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java Changeset: 336d230a Author: Thomas Stuefe Date: 2022-12-06 18:32:42 +0000 URL: https://git.openjdk.org/loom/commit/336d230a39e41eeed8b9d2ce3fec42e9de1d11fe 8297958: NMT: Display peak values Reviewed-by: jsjolen, sjohanss ! src/hotspot/share/services/mallocSiteTable.hpp ! src/hotspot/share/services/mallocTracker.cpp ! src/hotspot/share/services/mallocTracker.hpp ! src/hotspot/share/services/memReporter.cpp ! src/hotspot/share/services/memReporter.hpp Changeset: ea83cb96 Author: Rajat Mahajan Committer: Harshitha Onkar Date: 2022-12-06 18:43:02 +0000 URL: https://git.openjdk.org/loom/commit/ea83cb960d07ffa9384aad6a1e2a0233e3ebbdd1 8297450: ScaledTextFieldBorderTest.java fails when run with -show parameter Reviewed-by: aivanov, honkar ! test/jdk/javax/swing/border/LineBorder/ScaledTextFieldBorderTest.java Changeset: 79d163d4 Author: Mark Powers Committer: Weijun Wang Date: 2022-12-06 20:36:50 +0000 URL: https://git.openjdk.org/loom/commit/79d163d4994d235266117b425498b0df3d16c3c4 8293412: Remove unnecessary java.security.egd overrides Reviewed-by: xuelei, djelinski ! test/jdk/sun/security/provider/SeedGenerator/SeedGeneratorChoice.java ! test/jdk/sun/security/tools/jarsigner/compatibility/Compatibility.java ! test/lib/jdk/test/lib/SecurityTools.java Changeset: 2cdc0195 Author: Christian Stein Date: 2022-12-06 20:51:06 +0000 URL: https://git.openjdk.org/loom/commit/2cdc0195655317cb0b04f76fd8dce5e40bf52774 8298178: Update to use jtreg 7.1.1 Reviewed-by: erikj ! make/autoconf/lib-tests.m4 ! make/conf/github-actions.conf ! make/conf/jib-profiles.js ! test/hotspot/jtreg/TEST.ROOT ! test/jaxp/TEST.ROOT ! test/jdk/TEST.ROOT ! test/langtools/TEST.ROOT ! test/lib-test/TEST.ROOT Changeset: cd2182a9 Author: Martin Doerr Date: 2022-12-06 20:56:48 +0000 URL: https://git.openjdk.org/loom/commit/cd2182a9967917e733e486d918e9aeba3bd35ee8 8295724: VirtualMachineError: Out of space in CodeCache for method handle intrinsic Reviewed-by: kvn, dlong ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/code/nmethod.hpp ! src/hotspot/share/gc/shared/gcBehaviours.cpp ! src/hotspot/share/oops/method.hpp + test/hotspot/jtreg/compiler/codecache/MHIntrinsicAllocFailureTest.java Changeset: b4da0ee7 Author: Anthony Scarpino Date: 2022-12-06 21:37:12 +0000 URL: https://git.openjdk.org/loom/commit/b4da0ee706b6a274e6ba4e5483ef972f45c9f81e 8296507: GCM using more memory than necessary with in-place operations Reviewed-by: jnimeh ! src/java.base/share/classes/com/sun/crypto/provider/GaloisCounterMode.java Changeset: 16a59018 Author: Daniel D. Daugherty Date: 2022-12-06 22:01:45 +0000 URL: https://git.openjdk.org/loom/commit/16a5901845de170e2e6f9ea13f19bb2a34c1da85 8298214: ProblemList java/util/concurrent/forkjoin/AsyncShutdownNow.java 8298218: ProblemList java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java on windows-x64 8298222: ProblemList java/awt/Mixing/AWT_Mixing/ViewportOverlapping.java on windows-x64 8298220: ProblemList java/awt/Mixing/AWT_Mixing/OpaqueOverlapping.java on windows-x64 Reviewed-by: rriggs ! test/jdk/ProblemList.txt Changeset: 62baff50 Author: Chris Plummer Date: 2022-12-06 22:45:53 +0000 URL: https://git.openjdk.org/loom/commit/62baff503ef5562e02e1900525acffa5d4ca8534 8298221: Problem list gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java on macosx-aarch64 Reviewed-by: dcubed ! test/hotspot/jtreg/ProblemList.txt Changeset: ce896731 Author: Andrew John Hughes Date: 2022-12-07 00:34:00 +0000 URL: https://git.openjdk.org/loom/commit/ce896731d38866c2bf99cd49525062e150d94160 8297804: (tz) Update Timezone Data to 2022g Reviewed-by: naoto ! make/data/cldr/common/bcp47/timezone.xml ! make/data/cldr/common/main/root.xml ! make/data/cldr/common/supplemental/metaZones.xml ! src/java.base/share/classes/sun/util/resources/TimeZoneNames.java ! src/java.base/share/data/tzdata/VERSION ! src/java.base/share/data/tzdata/africa ! src/java.base/share/data/tzdata/asia ! src/java.base/share/data/tzdata/backward ! src/java.base/share/data/tzdata/europe ! src/java.base/share/data/tzdata/iso3166.tab ! src/java.base/share/data/tzdata/northamerica ! src/java.base/share/data/tzdata/southamerica ! src/java.base/share/data/tzdata/zone.tab ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_de.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_es.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_fr.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_it.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_ja.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_ko.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_pt_BR.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_sv.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_zh_CN.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_zh_TW.java ! test/jdk/java/util/TimeZone/TimeZoneData/VERSION ! test/jdk/java/util/TimeZone/TimeZoneData/aliases.txt ! test/jdk/java/util/TimeZone/TimeZoneData/displaynames.txt Changeset: acf96c64 Author: Yi Yang Date: 2022-12-07 03:08:07 +0000 URL: https://git.openjdk.org/loom/commit/acf96c64b750b1a7badbb2cd1c7021dad36aae1e 8290432: C2 compilation fails with assert(node->_last_del == _last) failed: must have deleted the edge just produced Reviewed-by: kvn, thartmann, chagedorn ! src/hotspot/share/opto/loopnode.cpp + test/hotspot/jtreg/compiler/c2/TestUnexpectedParallelIV.java Changeset: 8ea369af Author: Denghui Dong Date: 2022-12-07 06:37:54 +0000 URL: https://git.openjdk.org/loom/commit/8ea369afe6b23618086d074f1fad61effce3beec 8298171: Missing newline in the example output of -Xlog:help Reviewed-by: dholmes ! src/hotspot/share/logging/logConfiguration.cpp Changeset: 1c2a0939 Author: Thomas Stuefe Date: 2022-12-07 07:31:29 +0000 URL: https://git.openjdk.org/loom/commit/1c2a093988c69ae0b2c0030835d11469fa9fb852 8298147: Clang warns about pointless comparisons Reviewed-by: dholmes ! src/hotspot/os/linux/cgroupV1Subsystem_linux.cpp ! src/hotspot/os/linux/cgroupV2Subsystem_linux.cpp Changeset: 085f96cb Author: Axel Boldt-Christmas Date: 2022-12-07 08:28:20 +0000 URL: https://git.openjdk.org/loom/commit/085f96cb1a9be3e55da5801069a800e322649a8f 8295258: Add BasicType argument to AccessInternal::decorator_fixup Reviewed-by: stefank, eosterlund ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/arm/macroAssembler_arm.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.inline.hpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/s390/macroAssembler_s390.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/share/gc/shared/c1/barrierSetC1.hpp ! src/hotspot/share/gc/shared/c2/barrierSetC2.cpp ! src/hotspot/share/oops/accessDecorators.hpp Changeset: 27bbe7be Author: Daniel Jeli?ski Date: 2022-12-07 08:56:10 +0000 URL: https://git.openjdk.org/loom/commit/27bbe7be2c43a22e8cf55aa403d8018346ae3e37 8297976: Remove sun.net.ProgressMonitor and related classes 8240275: Occasional errors in HttpURLConnection due to race with GC Reviewed-by: jpai, dfuchs, michaelm - src/java.base/share/classes/sun/net/ProgressEvent.java - src/java.base/share/classes/sun/net/ProgressListener.java - src/java.base/share/classes/sun/net/ProgressMeteringPolicy.java - src/java.base/share/classes/sun/net/ProgressMonitor.java - src/java.base/share/classes/sun/net/ProgressSource.java ! src/java.base/share/classes/sun/net/www/MeteredStream.java ! src/java.base/share/classes/sun/net/www/http/HttpClient.java ! src/java.base/share/classes/sun/net/www/http/KeepAliveStream.java ! src/java.base/share/classes/sun/net/www/protocol/file/FileURLConnection.java ! src/java.base/share/classes/sun/net/www/protocol/ftp/FtpURLConnection.java ! src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java ! test/jdk/java/lang/reflect/Proxy/ProxyModuleMapping.java - test/jdk/sun/net/www/http/ChunkedInputStream/ChunkedEncodingWithProgressMonitorTest.java + test/jdk/sun/net/www/http/KeepAliveStream/KeepAliveStreamFinalizer.java Changeset: 5a3439db Author: Sergey Bylokhov Date: 2022-12-07 09:35:26 +0000 URL: https://git.openjdk.org/loom/commit/5a3439db9fef3e54650df4019e31311b60a0ec1d 4677581: ColorModel.getComponentSize()-wrong conditions for ArrayIndexOutOfBoundsExceptio Reviewed-by: prr ! src/java.desktop/share/classes/java/awt/image/ColorModel.java + test/jdk/java/awt/image/ColorModel/GetComponentSizeAIOBE.java Changeset: ccc69af9 Author: Alan Bateman Date: 2022-12-07 10:12:40 +0000 URL: https://git.openjdk.org/loom/commit/ccc69af966cf4395d75b2018490cafc47dcad90f 8296672: Implementation of Virtual Threads (Second Preview) Reviewed-by: mchung, jpai ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java Changeset: 221e1a42 Author: Andrew Haley Committer: Alan Bateman Date: 2022-12-07 10:14:06 +0000 URL: https://git.openjdk.org/loom/commit/221e1a426070088b819ddc37b7ca77d9d8626eb4 8286666: JEP 429: Implementation of Scoped Values (Incubator) Reviewed-by: psandoz, dlong, alanb, mcimadamore ! make/data/hotspot-symbols/symbols-unix ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/share/c1/c1_Compiler.cpp ! src/hotspot/share/c1/c1_LIRGenerator.cpp ! src/hotspot/share/c1/c1_LIRGenerator.hpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/javaClasses.hpp ! src/hotspot/share/classfile/vmIntrinsics.cpp ! src/hotspot/share/classfile/vmIntrinsics.hpp ! src/hotspot/share/classfile/vmSymbols.hpp ! src/hotspot/share/include/jvm.h ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/jvmci/jvmciCompilerToVM.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/oops/oopHandle.hpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/library_call.hpp ! src/hotspot/share/opto/memnode.cpp ! src/hotspot/share/prims/jvm.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.cpp ! src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/vframe_hp.cpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/hotspot/share/utilities/exceptions.cpp ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/java/lang/Thread.java ! src/java.base/share/classes/java/lang/VirtualThread.java ! src/java.base/share/classes/java/util/concurrent/ThreadLocalRandom.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java ! src/java.base/share/classes/jdk/internal/misc/ThreadFlock.java ! src/java.base/share/classes/jdk/internal/vm/Continuation.java - src/java.base/share/classes/jdk/internal/vm/ExtentLocalContainer.java + src/java.base/share/classes/jdk/internal/vm/ScopedValueContainer.java ! src/java.base/share/classes/jdk/internal/vm/ThreadContainer.java ! src/java.base/share/classes/module-info.java ! src/java.base/share/native/libjava/Thread.c + src/jdk.incubator.concurrent/share/classes/jdk/incubator/concurrent/ScopedValue.java ! src/jdk.incubator.concurrent/share/classes/jdk/incubator/concurrent/StructuredTaskScope.java ! test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameCount/framecnt01/framecnt01.java ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/GetStackTraceCurrentThreadTest/libGetStackTraceCurrentThreadTest.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr03/libgetstacktr03.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr04/libgetstacktr04.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr05/libgetstacktr05.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr06/libgetstacktr06.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr07/libgetstacktr07.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr08/libgetstacktr08.cpp ! test/jdk/ProblemList.txt + test/jdk/jdk/incubator/concurrent/ScopedValue/ManyBindings.java + test/jdk/jdk/incubator/concurrent/ScopedValue/ScopeValueAPI.java + test/jdk/jdk/incubator/concurrent/ScopedValue/StressStackOverflow.java + test/jdk/jdk/incubator/concurrent/StructuredTaskScope/WithScopedValue.java + test/jdk/jdk/internal/misc/ThreadFlock/WithScopedValue.java + test/micro/org/openjdk/bench/jdk/incubator/concurrent/ScopedValues.java + test/micro/org/openjdk/bench/jdk/incubator/concurrent/ScopedValuesData.java + test/micro/org/openjdk/bench/jdk/incubator/concurrent/ScopedValuesExecutorService.java Changeset: 80cbfab9 Author: Albert Mingkun Yang Date: 2022-12-07 10:35:43 +0000 URL: https://git.openjdk.org/loom/commit/80cbfab928eaace71c16a7a1d430980a730383ba 8298169: Remove unused methods in space.hpp Reviewed-by: stefank ! src/hotspot/share/gc/shared/space.hpp Changeset: 4da84116 Author: Severin Gehwolf Date: 2022-12-07 10:46:53 +0000 URL: https://git.openjdk.org/loom/commit/4da8411674b7515310000bd8243860bc73f9a03d 8298108: Add a regression test for JDK-8297684 Reviewed-by: mullan + test/jdk/java/security/SignedJar/spi-calendar-provider/TestSPISigned.java + test/jdk/java/security/SignedJar/spi-calendar-provider/provider/baz/CalendarDataProviderImpl.java + test/jdk/java/security/SignedJar/spi-calendar-provider/provider/meta/META-INF/services/java.util.spi.CalendarDataProvider Changeset: 3e041eb9 Author: Thomas Stuefe Date: 2022-12-07 11:12:51 +0000 URL: https://git.openjdk.org/loom/commit/3e041eb9093275bc658c02ae74cd39b4a74684ee 8298248: Limit sscanf output width in cgroup file parsers Reviewed-by: dholmes, sgehwolf ! src/hotspot/os/linux/cgroupV2Subsystem_linux.cpp Changeset: bfcc238e Author: Markus Gr?nlund Date: 2022-12-07 11:25:37 +0000 URL: https://git.openjdk.org/loom/commit/bfcc238ed09cb432e4a003b89a803c3c10e8ac80 8297964: Jetty.java fails "assert(_no_handle_mark_nesting == 0) failed: allocating handle inside NoHandleMark" Reviewed-by: egahlin ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackTrace.cpp Changeset: 58170f65 Author: Matthias Baesken Date: 2022-12-07 11:57:42 +0000 URL: https://git.openjdk.org/loom/commit/58170f657c2ccc7afd1e9056d7630a3b564207ef 8298035: Provide better descriptions for JIT compiler JFR events Reviewed-by: clanger, stuefe ! src/hotspot/share/jfr/metadata/metadata.xml Changeset: cf63f2e3 Author: Jan Lahoda Date: 2022-12-07 12:03:50 +0000 URL: https://git.openjdk.org/loom/commit/cf63f2e3ea93cf339d08e2865034e128d683e515 8298184: Incorrect record component type in record patterns Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! test/langtools/tools/javac/patterns/GenericRecordDeconstructionPattern.java Changeset: 86270e30 Author: Roland Westrelin Date: 2022-12-07 14:16:50 +0000 URL: https://git.openjdk.org/loom/commit/86270e3068d3b2e80710227ae2dc79719df35788 8269820: C2 PhaseIdealLoop::do_unroll get wrong opaque node Reviewed-by: kvn, thartmann, chagedorn ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/classes.hpp ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/opaquenode.hpp ! src/hotspot/share/opto/split_if.cpp ! src/hotspot/share/opto/subnode.cpp + test/hotspot/jtreg/compiler/loopopts/TestCanonicalLoopEntryOpaqueOrder.java Changeset: 6ed36835 Author: Albert Mingkun Yang Date: 2022-12-07 15:14:32 +0000 URL: https://git.openjdk.org/loom/commit/6ed36835ec9b3743430a8c1c71635f12c711f48a 8297209: Serial: Refactor GenCollectedHeap::full_process_roots Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/serial/genMarkSweep.cpp ! src/hotspot/share/gc/shared/genCollectedHeap.cpp ! src/hotspot/share/gc/shared/genCollectedHeap.hpp Changeset: 3de77509 Author: Claes Redestad Date: 2022-12-07 15:37:58 +0000 URL: https://git.openjdk.org/loom/commit/3de775094dab3c375a32ddabdd24456d177d3009 8298177: Various java.lang.invoke cleanups 8284363: Redundant imports in BoundMethodHandle Reviewed-by: jvernee ! src/java.base/share/classes/java/lang/invoke/BoundMethodHandle.java ! src/java.base/share/classes/java/lang/invoke/ClassSpecializer.java ! src/java.base/share/classes/java/lang/invoke/DirectMethodHandle.java ! src/java.base/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java ! src/java.base/share/classes/java/lang/invoke/LambdaForm.java ! src/java.base/share/classes/java/lang/invoke/MemberName.java ! src/java.base/share/classes/java/lang/invoke/MethodHandleImpl.java ! src/java.base/share/classes/java/lang/invoke/NativeMethodHandle.java ! src/java.base/share/classes/sun/invoke/util/BytecodeDescriptor.java ! src/java.base/share/classes/sun/invoke/util/ValueConversions.java ! test/jdk/sun/invoke/util/ValueConversionsTest.java Changeset: 29f1c3c6 Author: Severin Gehwolf Date: 2022-12-07 15:45:35 +0000 URL: https://git.openjdk.org/loom/commit/29f1c3c6e39170e0f36949dc209edf183c2eb36b 8298274: Problem list TestSPISigned on Windows Reviewed-by: mullan, dcubed ! test/jdk/ProblemList.txt Changeset: dd7385d1 Author: Tyler Steele Date: 2022-12-07 16:24:51 +0000 URL: https://git.openjdk.org/loom/commit/dd7385d1e86afe8af79587e80c5046af5c84b5cd 8298202: [AIX] Dead code elimination removed jfr constructor used by AIX Reviewed-by: dholmes, stuefe ! src/hotspot/share/runtime/os_perf.hpp Changeset: 389b8f4b Author: Markus KARG Committer: Brian Burkhalter Date: 2022-12-07 16:29:43 +0000 URL: https://git.openjdk.org/loom/commit/389b8f4b788375821a8bb4b017e50f905abdad2d 8297298: SequenceInputStream should override transferTo Reviewed-by: bpb ! src/java.base/share/classes/java/io/SequenceInputStream.java = test/jdk/java/io/SequenceInputStream/TransferTo.java Changeset: 39344840 Author: Tyler Steele Date: 2022-12-07 16:54:10 +0000 URL: https://git.openjdk.org/loom/commit/39344840c7a5fbd37f6c6a972a89c3600396e878 8298205: Prefer Member Initialization Lists for JFR classes in os_perf.hpp Reviewed-by: dholmes, mgronlun ! src/hotspot/share/runtime/os_perf.hpp Changeset: 8edb98df Author: Olga Mikhaltsova Committer: Andrew Brygin Date: 2022-12-07 18:02:20 +0000 URL: https://git.openjdk.org/loom/commit/8edb98df3dd393103f2c80e929b011bc6b7993a3 8165943: LineBreakMeasurer does not measure correctly if TextAttribute.TRACKING is set. Co-authored-by: Jason Fordham Reviewed-by: prr ! src/java.desktop/share/classes/sun/font/AttributeValues.java ! src/java.desktop/share/classes/sun/font/ExtendedTextSourceLabel.java ! src/java.desktop/share/classes/sun/font/StandardGlyphVector.java + test/jdk/java/awt/font/LineBreakMeasurer/LineBreakWithTracking.java + test/jdk/java/awt/font/LineBreakMeasurer/LineBreakWithTrackingAuto.java Changeset: e86f31b5 Author: Christian Hagedorn Date: 2022-12-07 18:32:28 +0000 URL: https://git.openjdk.org/loom/commit/e86f31b5e71af00fea9cd989a86c1e75e3df1821 8298301: C2: assert(main_cmp->in(2)->Opcode() == Op_Opaque1) failed: main loop has no opaque node? Reviewed-by: thartmann ! src/hotspot/share/opto/loopTransform.cpp Changeset: 3b8c7ef8 Author: Stefan Johansson Date: 2022-12-07 18:43:42 +0000 URL: https://git.openjdk.org/loom/commit/3b8c7ef8e705764942c4f3df872e3e47021a37f4 8157023: Integrate NMT with JFR Reviewed-by: stuefe, mgronlun, egahlin ! src/hotspot/share/jfr/metadata/metadata.xml ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/hotspot/share/services/mallocTracker.hpp + src/hotspot/share/services/memJfrReporter.cpp + src/hotspot/share/services/memJfrReporter.hpp ! src/hotspot/share/services/memReporter.cpp ! src/hotspot/share/services/memReporter.hpp + src/hotspot/share/services/nmtUsage.cpp + src/hotspot/share/services/nmtUsage.hpp ! src/hotspot/share/services/virtualMemoryTracker.hpp ! src/jdk.jfr/share/conf/jfr/default.jfc ! src/jdk.jfr/share/conf/jfr/profile.jfc + test/jdk/jdk/jfr/event/runtime/TestNativeMemoryUsageEvents.java ! test/lib/jdk/test/lib/jfr/EventNames.java Changeset: 10356e76 Author: Brian Burkhalter Date: 2022-12-07 18:54:18 +0000 URL: https://git.openjdk.org/loom/commit/10356e767a44632c5de142d4666bd85d4618bf71 8298303: (fs) temporarily remove Path.getExtension Reviewed-by: smarks, alanb ! src/java.base/share/classes/java/nio/file/Path.java - test/jdk/java/nio/file/Path/Extensions.java Changeset: 5d4c71c8 Author: Xue-Lei Andrew Fan Date: 2022-12-07 20:16:45 +0000 URL: https://git.openjdk.org/loom/commit/5d4c71c8bd361af78c90777f17b79e95d8eb5afe 8281236: (D)TLS key exchange named groups Reviewed-by: mullan ! src/java.base/share/classes/javax/net/ssl/SSLParameters.java ! src/java.base/share/classes/sun/security/ssl/CertificateVerify.java ! src/java.base/share/classes/sun/security/ssl/DHKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/DHServerKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/ECDHKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/ECDHServerKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/HandshakeContext.java ! src/java.base/share/classes/sun/security/ssl/KeyShareExtension.java ! src/java.base/share/classes/sun/security/ssl/NamedGroup.java ! src/java.base/share/classes/sun/security/ssl/SSLConfiguration.java ! src/java.base/share/classes/sun/security/ssl/SSLKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/SignatureScheme.java ! src/java.base/share/classes/sun/security/ssl/SupportedGroupsExtension.java ! src/java.base/share/classes/sun/security/ssl/X509Authentication.java + test/jdk/javax/net/ssl/DTLS/DTLSNamedGroups.java + test/jdk/javax/net/ssl/SSLParameters/NamedGroups.java + test/jdk/javax/net/ssl/SSLParameters/NamedGroupsSpec.java Changeset: 8a9911ef Author: Naoto Sato Date: 2022-12-07 20:49:29 +0000 URL: https://git.openjdk.org/loom/commit/8a9911ef1762ae837e427ec9d91b1399ba33b6e4 8295803: Console should be usable in jshell and other environments Reviewed-by: jlaskey, alanb ! src/java.base/share/classes/java/io/Console.java ! src/java.base/share/classes/java/io/PrintWriter.java + src/java.base/share/classes/java/io/ProxyingConsole.java ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/jdk/internal/access/JavaIOAccess.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java + src/java.base/share/classes/jdk/internal/io/JdkConsole.java + src/java.base/share/classes/jdk/internal/io/JdkConsoleProvider.java ! src/java.base/share/classes/module-info.java ! src/java.base/share/classes/sun/security/util/Password.java + src/jdk.internal.le/share/classes/jdk/internal/org/jline/JdkConsoleProviderImpl.java ! src/jdk.internal.le/share/classes/module-info.java + test/jdk/java/io/Console/ModuleSelectionTest.java + test/jdk/java/io/Console/RedirectTest.java + test/jdk/java/io/Console/SecurityManagerTest.java + test/jdk/java/io/Console/input.txt + test/jdk/java/io/Console/test.policy Changeset: 8b69a2e4 Author: Doug Simon Date: 2022-12-07 22:11:11 +0000 URL: https://git.openjdk.org/loom/commit/8b69a2e434ad2fa3369079622b57afb973d5bd9a 8298099: [JVMCI] decouple libgraal from JVMCI module at runtime Reviewed-by: never ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/classLoader.hpp ! src/hotspot/share/classfile/vmSymbols.hpp ! src/hotspot/share/jvmci/jvmci.cpp ! src/hotspot/share/jvmci/jvmciCompilerToVM.cpp ! src/hotspot/share/jvmci/jvmciEnv.cpp ! src/hotspot/share/jvmci/jvmciEnv.hpp ! src/hotspot/share/jvmci/jvmciJavaClasses.cpp ! src/hotspot/share/jvmci/jvmciJavaClasses.hpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/jvmci/vmSymbols_jvmci.hpp ! src/hotspot/share/runtime/arguments.cpp + src/java.base/share/classes/jdk/internal/vm/TranslatedException.java ! src/java.base/share/classes/jdk/internal/vm/VMSupport.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java - src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/TranslatedException.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.services/src/jdk/vm/ci/services/Services.java - test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/TestServices.java - test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/TestTranslatedException.java + test/jdk/jdk/internal/vm/TestTranslatedException.java Changeset: af8fb7ee Author: Alexander Zuev Date: 2022-12-08 00:32:13 +0000 URL: https://git.openjdk.org/loom/commit/af8fb7eef7188ef762399cfb3faf5c8afd49efa7 8282578: AIOOBE in javax.sound.sampled.Clip Reviewed-by: prr, aivanov, azvegint ! src/java.desktop/share/classes/com/sun/media/sound/SoftMainMixer.java ! src/java.desktop/share/classes/com/sun/media/sound/SoftTuning.java + test/jdk/javax/sound/midi/SysexMessage/EmptySysExMessageTest.java + test/jdk/javax/sound/midi/SysexMessage/zerosysex.mid Changeset: 3aa4070d Author: Darragh Clarke Committer: Jaikiran Pai Date: 2022-12-08 01:39:07 +0000 URL: https://git.openjdk.org/loom/commit/3aa4070d4ca21b9e90388995efbcde318892e25f 8294047: HttpResponseInputStream swallows interrupts Reviewed-by: dfuchs, vtewari, jpai ! src/java.net.http/share/classes/java/net/http/HttpResponse.java ! src/java.net.http/share/classes/jdk/internal/net/http/ResponseSubscribers.java + test/jdk/java/net/httpclient/HttpResponseInputStreamInterruptTest.java Changeset: 74f346b3 Author: Xiaolin Zheng Committer: Fei Yang Date: 2022-12-08 02:19:35 +0000 URL: https://git.openjdk.org/loom/commit/74f346b33f7fa053ad5c99ef85baa32b7fb12fa6 8298075: RISC-V: Implement post-call NOPs Reviewed-by: fyang, luhenry ! src/hotspot/cpu/riscv/c1_CodeStubs_riscv.cpp ! src/hotspot/cpu/riscv/c2_safepointPollStubTable_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/nativeInst_riscv.cpp ! src/hotspot/cpu/riscv/nativeInst_riscv.hpp Changeset: d5cf18e7 Author: Tejesh R Date: 2022-12-08 04:34:48 +0000 URL: https://git.openjdk.org/loom/commit/d5cf18e7fb591185eecb042bfa015609ea7d15e0 8296198: JFileChooser throws InternalError java.lang.InternalError with Windows shortcuts Reviewed-by: serb, abhiscxk ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicFileChooserUI.java + test/jdk/javax/swing/JFileChooser/FileSystemView/CustomFSVLinkTest.java Changeset: 51759650 Author: Prasanta Sadhukhan Date: 2022-12-08 07:15:02 +0000 URL: https://git.openjdk.org/loom/commit/51759650e5593f48ce616a1a8abf51f5f8fd5302 8298323: trivial typo in JOptionPane.OK_OPTION Reviewed-by: iris ! src/java.desktop/share/classes/javax/swing/JOptionPane.java Changeset: 1166c8e2 Author: Alan Bateman Date: 2022-12-08 07:37:32 +0000 URL: https://git.openjdk.org/loom/commit/1166c8e2c0047869cd50b7ddc5355290ac2a695a 8296896: Change virtual Thread.yield to use external submit Reviewed-by: jpai, rpressler ! src/java.base/share/classes/java/lang/VirtualThread.java + test/jdk/java/lang/Thread/virtual/YieldQueuing.java ! test/jdk/java/lang/Thread/virtual/stress/YieldALot.java Changeset: 46cd457b Author: Stefan Johansson Date: 2022-12-08 09:33:06 +0000 URL: https://git.openjdk.org/loom/commit/46cd457b0f78996a3f26e44452de8f8a66041f58 8298341: Ensure heap growth in TestNativeMemoryUsageEvents.java Reviewed-by: egahlin, stuefe ! test/jdk/jdk/jfr/event/runtime/TestNativeMemoryUsageEvents.java Changeset: 073897c8 Author: Smita Kamath Committer: Jatin Bhateja Date: 2022-12-08 09:46:59 +0000 URL: https://git.openjdk.org/loom/commit/073897c88bbc430e8751a18baf7487f6474fd0c3 8294588: Auto vectorize half precision floating point conversion APIs Reviewed-by: sviswanathan, kvn, jbhateja, fgao, xgong ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/cpu/x86/x86.ad ! src/hotspot/share/adlc/formssel.cpp ! src/hotspot/share/opto/classes.hpp ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/vectorIntrinsics.cpp ! src/hotspot/share/opto/vectornode.cpp ! src/hotspot/share/opto/vectornode.hpp ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java + test/hotspot/jtreg/compiler/vectorization/TestFloatConversionsVector.java Changeset: 297bf6a5 Author: Anthony Vanelverdinghe Committer: Julian Waters Date: 2022-12-08 10:19:39 +0000 URL: https://git.openjdk.org/loom/commit/297bf6a5965c4f01ca2091976b5e6ca675ab5395 8287397: Print top-level exception when snippet fails to read file Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/SnippetTaglet.java Changeset: b9346e14 Author: Sergey Tsypanov Committer: Julian Waters Date: 2022-12-08 10:21:56 +0000 URL: https://git.openjdk.org/loom/commit/b9346e149e6cfcaf18bfafbd262f6fed209dc644 8298033: Character.codePoint{At|Before}(char[], int, int) doesn't do JavaDoc-specified check Reviewed-by: rriggs ! src/java.base/share/classes/java/lang/Character.java ! test/jdk/java/lang/Character/Supplementary.java Changeset: 2f426cd6 Author: Jaikiran Pai Date: 2022-12-08 11:02:21 +0000 URL: https://git.openjdk.org/loom/commit/2f426cd68b28c8bf50b7102f961b15fd47b63b6a 8298375: Bad copyright header in test/jdk/java/lang/Character/Supplementary.java Reviewed-by: alanb ! test/jdk/java/lang/Character/Supplementary.java Changeset: 49b86224 Author: Christian Hagedorn Date: 2022-12-08 11:23:42 +0000 URL: https://git.openjdk.org/loom/commit/49b86224aacc7fd8b4d3354a85d72ef636a18a12 8290850: C2: create_new_if_for_predicate() does not clone pinned phi input nodes resulting in a broken graph Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/loopPredicate.cpp ! src/hotspot/share/opto/loopnode.hpp + test/hotspot/jtreg/compiler/loopopts/TestCreateNewIfForPredicateCloning.java Changeset: 94575d14 Author: Christian Hagedorn Date: 2022-12-08 12:00:01 +0000 URL: https://git.openjdk.org/loom/commit/94575d14f47e2dfb11b671bce26b69270b6bb3c8 8295116: C2: assert(dead->outcnt() == 0 && !dead->is_top()) failed: node must be dead Reviewed-by: thartmann, rcastanedalo ! src/hotspot/share/opto/ifnode.cpp Changeset: 9353899b Author: Erik Gahlin Date: 2022-12-08 12:02:13 +0000 URL: https://git.openjdk.org/loom/commit/9353899bc5564827826ed94c0530497ff828e01b 8298175: JFR: Common timestamp for periodic events Reviewed-by: dholmes, mgronlun ! make/src/classes/build/tools/jfr/GenerateJfrFiles.java ! src/hotspot/share/jfr/jni/jfrJniMethod.cpp ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/hotspot/share/utilities/ticks.hpp ! src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/RequestEngine.java Changeset: d8ef60b4 Author: Tobias Hartmann Date: 2022-12-08 12:06:24 +0000 URL: https://git.openjdk.org/loom/commit/d8ef60b406a9e8fe6cc6b7be0b74e45de38604c5 8298272: Clean up ProblemList Reviewed-by: chagedorn, kvn ! test/hotspot/jtreg/ProblemList.txt Changeset: fbe7b007 Author: Kevin Walls Date: 2022-12-08 12:10:26 +0000 URL: https://git.openjdk.org/loom/commit/fbe7b007383b034589e93d398706bebeb24461ee 8298173: GarbageCollectionNotificationContentTest test failed: no decrease in Eden usage Reviewed-by: dcubed, cjplummer, sspitsyn ! test/jdk/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java Changeset: 165dcdd2 Author: Johan Sj?len Date: 2022-12-08 12:32:59 +0000 URL: https://git.openjdk.org/loom/commit/165dcdd27de16824478ac9ebdfbd7b00fffe51e6 8297718: Make NMT free:ing protocol more granular Reviewed-by: stuefe, gziemski ! src/hotspot/share/runtime/os.cpp ! src/hotspot/share/services/mallocHeader.hpp ! src/hotspot/share/services/mallocHeader.inline.hpp ! src/hotspot/share/services/mallocTracker.cpp ! src/hotspot/share/services/mallocTracker.hpp ! src/hotspot/share/services/memTracker.hpp ! test/hotspot/gtest/nmt/test_nmt_cornercases.cpp Changeset: ea108f50 Author: Markus Gr?nlund Date: 2022-12-08 12:51:46 +0000 URL: https://git.openjdk.org/loom/commit/ea108f504ccb63fc9651e804e3bbba1c108dcead 8298129: Let checkpoint event sizes grow beyond u4 limit Reviewed-by: egahlin ! src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp ! src/hotspot/share/jfr/writers/jfrEncoders.hpp ! src/hotspot/share/jfr/writers/jfrEncoding.hpp ! src/hotspot/share/jfr/writers/jfrWriterHost.hpp ! src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ChunkParser.java Changeset: c084431f Author: Markus Gr?nlund Date: 2022-12-08 14:37:18 +0000 URL: https://git.openjdk.org/loom/commit/c084431fae8c9f9b5a157cdaca484f63cbd6691a 8298379: JFR: Some UNTIMED events only sets endTime Reviewed-by: ehelin, egahlin ! src/hotspot/share/gc/shared/gcTraceSend.cpp ! src/hotspot/share/gc/shared/objectCountEventSender.cpp ! src/hotspot/share/jfr/periodic/jfrFinalizerStatisticsEvent.cpp ! src/hotspot/share/jfr/periodic/jfrModuleEvent.cpp ! src/hotspot/share/jfr/periodic/jfrOSInterface.cpp ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/hotspot/share/jfr/periodic/jfrThreadCPULoadEvent.cpp Changeset: e555d547 Author: Erik Gahlin Date: 2022-12-08 14:42:04 +0000 URL: https://git.openjdk.org/loom/commit/e555d5470536b8379179879ec7343e004be95e36 8298383: JFR: GenerateJfrFiles.java lacks copyright header Reviewed-by: mgronlun, erikj ! make/src/classes/build/tools/jfr/GenerateJfrFiles.java Changeset: fc52f21f Author: Matthias Baesken Date: 2022-12-08 15:05:45 +0000 URL: https://git.openjdk.org/loom/commit/fc52f21f9a30c5c34caa06f8524c8d5bd74f16f7 8298255: JFR provide information about dynamization of number of compiler threads Reviewed-by: stuefe, mgronlun, egahlin ! src/hotspot/share/jfr/metadata/metadata.xml ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! test/jdk/jdk/jfr/event/compiler/TestCompilerConfig.java ! test/jdk/jdk/jfr/event/metadata/TestEventMetadata.java Changeset: d562d3fc Author: Emanuel Peter Date: 2022-12-08 15:29:26 +0000 URL: https://git.openjdk.org/loom/commit/d562d3fcbe22a0443037c5b447e1a41401275814 8297642: PhaseIdealLoop::only_has_infinite_loops must detect all loops that never lead to termination Reviewed-by: thartmann, roland ! src/hotspot/share/opto/loopnode.cpp + test/hotspot/jtreg/compiler/loopopts/TestOnlyInfiniteLoops.jasm + test/hotspot/jtreg/compiler/loopopts/TestOnlyInfiniteLoopsMain.java Changeset: 175e3d3f Author: Joe Darcy Committer: Jesper Wilhelmsson Date: 2022-12-08 16:04:00 +0000 URL: https://git.openjdk.org/loom/commit/175e3d3ff332be25cca9822c58c46f1e012953c2 8296149: Start of release updates for JDK 21 8296150: Add SourceVersion.RELEASE_21 8296151: Add source 21 and target 21 to javac Reviewed-by: dholmes, iris, erikj, vromero, jlahoda ! .jcheck/conf ! make/conf/version-numbers.conf ! src/hotspot/share/classfile/classFileParser.cpp ! src/java.base/share/classes/java/lang/reflect/ClassFileFormatVersion.java ! src/java.base/share/classes/jdk/internal/org/objectweb/asm/ClassReader.java ! src/java.base/share/classes/jdk/internal/org/objectweb/asm/Opcodes.java ! src/java.compiler/share/classes/javax/lang/model/SourceVersion.java ! src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/ElementKindVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/ElementScanner14.java ! src/java.compiler/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/SimpleElementVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/SimpleTypeVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor14.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassFile.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Target.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java + src/jdk.compiler/share/data/symbols/java.base-K.sym.txt + src/jdk.compiler/share/data/symbols/java.compiler-K.sym.txt = src/jdk.compiler/share/data/symbols/java.datatransfer-K.sym.txt + src/jdk.compiler/share/data/symbols/java.desktop-K.sym.txt = src/jdk.compiler/share/data/symbols/java.instrument-K.sym.txt = src/jdk.compiler/share/data/symbols/java.logging-K.sym.txt + src/jdk.compiler/share/data/symbols/java.management-K.sym.txt = src/jdk.compiler/share/data/symbols/java.management.rmi-K.sym.txt + src/jdk.compiler/share/data/symbols/java.naming-K.sym.txt = src/jdk.compiler/share/data/symbols/java.rmi-K.sym.txt = src/jdk.compiler/share/data/symbols/java.scripting-K.sym.txt = src/jdk.compiler/share/data/symbols/java.security.jgss-K.sym.txt = src/jdk.compiler/share/data/symbols/java.security.sasl-K.sym.txt = src/jdk.compiler/share/data/symbols/java.smartcardio-K.sym.txt = src/jdk.compiler/share/data/symbols/java.sql-K.sym.txt + src/jdk.compiler/share/data/symbols/java.sql.rowset-K.sym.txt = src/jdk.compiler/share/data/symbols/java.xml-K.sym.txt = src/jdk.compiler/share/data/symbols/java.xml.crypto-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.accessibility-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.attach-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.compiler-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.dynalink-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.httpserver-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.incubator.concurrent-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.incubator.vector-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jartool-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.javadoc-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.jconsole-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jdi-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jfr-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jlink-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jpackage-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jshell-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.jsobject-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.management-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.net-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.sctp-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.security.auth-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.security.jgss-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.unsupported-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.xml.dom-K.sym.txt ! src/jdk.compiler/share/data/symbols/symbols ! test/hotspot/jtreg/runtime/ClassFile/ClassFileVersionTest.java ! test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java ! test/langtools/tools/javac/api/TestGetSourceVersions.java ! test/langtools/tools/javac/classfiles/ClassVersionChecker.java ! test/langtools/tools/javac/lib/JavacTestingAbstractProcessor.java ! test/langtools/tools/javac/preview/classReaderTest/Client.nopreview.out ! test/langtools/tools/javac/preview/classReaderTest/Client.preview.out ! test/langtools/tools/javac/versions/Versions.java From manish.c.ghildiyal at gmail.com Sun Dec 11 03:36:00 2022 From: manish.c.ghildiyal at gmail.com (Manish G) Date: Sun, 11 Dec 2022 09:06:00 +0530 Subject: Introduction Message-ID: Hello All, I am Manish, a Java programmer from India. I have just joined this mailing list, and I am looking to explore the project and contribute in my capacity. Any inputs and leads are welcome. With regards Manish -------------- next part -------------- An HTML attachment was scrubbed... URL: From alanb at openjdk.org Thu Dec 15 08:38:43 2022 From: alanb at openjdk.org (Alan Bateman) Date: Thu, 15 Dec 2022 08:38:43 GMT Subject: RFR: Fix typo in StructuredTaskScope Javadoc In-Reply-To: References: Message-ID: On Mon, 14 Nov 2022 09:39:10 GMT, Anthony Vanelverdinghe wrote: > As the title says. The changes for JEP 429 changed this sentence so the typo was fixed along the way. I think we can close this PR now. ------------- PR: https://git.openjdk.org/loom/pull/195 From alanb at openjdk.org Thu Dec 15 08:38:43 2022 From: alanb at openjdk.org (Alan Bateman) Date: Thu, 15 Dec 2022 08:38:43 GMT Subject: Withdrawn: Fix typo in StructuredTaskScope Javadoc In-Reply-To: References: Message-ID: On Mon, 14 Nov 2022 09:39:10 GMT, Anthony Vanelverdinghe wrote: > As the title says. This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.org/loom/pull/195 From duke at openjdk.org Thu Dec 15 10:21:41 2022 From: duke at openjdk.org (duke) Date: Thu, 15 Dec 2022 10:21:41 GMT Subject: git: openjdk/loom: fibers: 68 new changesets Message-ID: Changeset: d35e8400 Author: Alan Bateman Date: 2022-12-08 18:17:58 +0000 URL: https://git.openjdk.org/loom/commit/d35e840024b80f9f686fb5522dc03b2c9233a6d3 8297295: Remove ThreadGroup.allowThreadSuspension Reviewed-by: jpai, smarks, chegar, darcy ! src/java.base/share/classes/java/lang/ThreadGroup.java ! test/jdk/java/lang/ThreadGroup/BasicTests.java Changeset: 3dfadeeb Author: Quan Anh Mai Date: 2022-12-08 20:25:20 +0000 URL: https://git.openjdk.org/loom/commit/3dfadeebd023efb03a400f2b2656567a4154421a 8292289: [vectorapi] Improve the implementation of VectorTestNode Reviewed-by: xgong, kvn ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/aarch64/matcher_aarch64.hpp ! src/hotspot/cpu/arm/matcher_arm.hpp ! src/hotspot/cpu/ppc/matcher_ppc.hpp ! src/hotspot/cpu/riscv/matcher_riscv.hpp ! src/hotspot/cpu/s390/matcher_s390.hpp ! 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/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.hpp ! src/hotspot/cpu/x86/matcher_x86.hpp ! src/hotspot/cpu/x86/x86.ad ! src/hotspot/share/opto/matcher.hpp ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/opto/vectorIntrinsics.cpp ! src/hotspot/share/opto/vectornode.hpp ! src/hotspot/share/runtime/vmStructs.cpp ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java + test/hotspot/jtreg/compiler/vectorapi/TestVectorTest.java Changeset: c16eb89c Author: Y. Srinivas Ramakrishna Date: 2022-12-08 21:54:16 +0000 URL: https://git.openjdk.org/loom/commit/c16eb89ce0d59f2ff83b6db0bee3e384ec8d5efe 8298138: Shenandoah: HdrSeq asserts "sub-bucket index (512) overflow for value ( 1.00)" Reviewed-by: rkennke, shade ! src/hotspot/share/gc/shenandoah/shenandoahNumberSeq.cpp ! src/hotspot/share/gc/shenandoah/shenandoahNumberSeq.hpp + test/hotspot/gtest/gc/shenandoah/test_shenandoahNumberSeq.cpp Changeset: 5540a8c5 Author: Sergey Bylokhov Date: 2022-12-08 23:28:48 +0000 URL: https://git.openjdk.org/loom/commit/5540a8c5b7160ab5c67bb84631e3de54fa5aeceb 8298083: The "CheckBox/RadioButton[Enabled/Disabled].textForeground" stoped working Reviewed-by: psadhukhan ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java ! src/java.desktop/share/classes/javax/swing/plaf/synth/SynthStyle.java ! test/jdk/ProblemList.txt ! test/jdk/javax/swing/JRadioButton/4314194/bug4314194.java Changeset: 7f9c6ce3 Author: Joe Darcy Date: 2022-12-09 00:29:08 +0000 URL: https://git.openjdk.org/loom/commit/7f9c6ce3318aedfd85f12f4002dc442b0b468c27 8297679: InvocationTargetException field named target is not declared final Reviewed-by: alanb ! src/java.base/share/classes/java/lang/reflect/InvocationTargetException.java Changeset: 11aece21 Author: Emanuel Peter Date: 2022-12-09 07:11:57 +0000 URL: https://git.openjdk.org/loom/commit/11aece21f4eb5b18af357b265bc27b80bcdbfbcb 8257197: Add additional verification code to PhaseCCP Reviewed-by: chagedorn, kvn, thartmann ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/phaseX.hpp Changeset: cb766c55 Author: Per Minborg Committer: Daniel Fuchs Date: 2022-12-09 09:46:50 +0000 URL: https://git.openjdk.org/loom/commit/cb766c553557b718683d492280beba772d81bb5b 8297778: Modernize and improve module jdk.sctp Reviewed-by: dfuchs, stsypanov ! src/jdk.sctp/share/classes/com/sun/nio/sctp/HandlerResult.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/IllegalReceiveException.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/IllegalUnbindException.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/InvalidStreamException.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpStandardSocketOptions.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/SendFailedNotification.java ! src/jdk.sctp/share/classes/sun/nio/ch/sctp/MessageInfoImpl.java ! src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpStdSocketOption.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/AssociationChange.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/AssociationImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/PeerAddrChange.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/ResultContainer.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpNet.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpNotification.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SendFailed.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/Shutdown.java Changeset: 33d955ad Author: Gui Cao Committer: Julian Waters Date: 2022-12-09 12:43:47 +0000 URL: https://git.openjdk.org/loom/commit/33d955ad6e46eecd947e958ce295f6a6c348b2a6 8298345: Fix another two C2 IR matching tests for RISC-V Reviewed-by: fyang, dzhang, fjiang ! test/hotspot/jtreg/compiler/c2/irTests/TestAutoVectorization2DArray.java ! test/hotspot/jtreg/compiler/lib/ir_framework/TestFramework.java ! test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java Changeset: e3c6cf8e Author: Sergey Tsypanov Committer: Julian Waters Date: 2022-12-09 12:50:55 +0000 URL: https://git.openjdk.org/loom/commit/e3c6cf8eaf931d9eb46b429a5ba8d3bbded3728a 8298380: Clean up redundant array length checks in JDK code base Reviewed-by: dholmes, amenkov, serb, vtewari ! src/java.base/linux/classes/sun/nio/fs/LinuxWatchService.java ! src/java.base/share/classes/java/nio/file/spi/FileSystemProvider.java ! src/java.base/share/classes/jdk/internal/jrtfs/JrtPath.java ! src/java.base/share/classes/sun/nio/fs/PollingWatchService.java ! src/java.desktop/macosx/classes/com/apple/laf/AquaFileChooserUI.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/Assumptions.java ! src/jdk.jconsole/share/classes/sun/tools/jconsole/inspector/XTree.java ! src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipPath.java Changeset: 05b0a018 Author: Albert Mingkun Yang Date: 2022-12-09 13:26:12 +0000 URL: https://git.openjdk.org/loom/commit/05b0a018c736f79acc99043d5e0e556658b93ab8 8298281: Serial: Refactor MarkAndPushClosure Reviewed-by: stefank, sjohanss ! src/hotspot/share/gc/serial/markSweep.cpp ! src/hotspot/share/gc/serial/markSweep.hpp ! src/hotspot/share/gc/serial/markSweep.inline.hpp Changeset: b30b464d Author: Roman Kennke Date: 2022-12-09 14:52:27 +0000 URL: https://git.openjdk.org/loom/commit/b30b464d054716bbc3d4d70633b740b227b8775d 8297036: Generalize C2 stub mechanism Co-authored-by: Aleksey Shipilev Co-authored-by: Xiaolin Zheng Reviewed-by: eosterlund, kvn, fyang ! src/hotspot/cpu/aarch64/aarch64.ad + src/hotspot/cpu/aarch64/c2_CodeStubs_aarch64.cpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp - src/hotspot/cpu/aarch64/c2_safepointPollStubTable_aarch64.cpp + src/hotspot/cpu/ppc/c2_CodeStubs_ppc.cpp - src/hotspot/cpu/ppc/c2_safepointPollStubTable_ppc.cpp ! src/hotspot/cpu/ppc/ppc.ad + src/hotspot/cpu/riscv/c2_CodeStubs_riscv.cpp ! src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp - src/hotspot/cpu/riscv/c2_safepointPollStubTable_riscv.cpp ! src/hotspot/cpu/riscv/riscv.ad + src/hotspot/cpu/x86/c2_CodeStubs_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp - src/hotspot/cpu/x86/c2_safepointPollStubTable_x86.cpp ! src/hotspot/cpu/x86/x86_32.ad ! src/hotspot/cpu/x86/x86_64.ad + src/hotspot/share/opto/c2_CodeStubs.cpp + src/hotspot/share/opto/c2_CodeStubs.hpp ! src/hotspot/share/opto/c2_MacroAssembler.hpp ! src/hotspot/share/opto/output.cpp ! src/hotspot/share/opto/output.hpp Changeset: 93465354 Author: Xin Liu Date: 2022-12-09 16:49:47 +0000 URL: https://git.openjdk.org/loom/commit/9346535415b158aaaa679ef8c3c147595b5206e9 8298320: Typo in the comment block of catch_inline_exception Reviewed-by: thartmann ! src/hotspot/share/opto/doCall.cpp Changeset: f729f5b6 Author: Thomas Stuefe Date: 2022-12-09 17:46:28 +0000 URL: https://git.openjdk.org/loom/commit/f729f5b6d01b0d3a0ee21f50199ca30935c8237a 8298298: NMT: count deltas are printed with 32-bit signed size Reviewed-by: shade, dholmes ! src/hotspot/share/services/memReporter.cpp ! src/hotspot/share/utilities/globalDefinitions.hpp ! src/hotspot/share/utilities/globalDefinitions_visCPP.hpp ! test/hotspot/gtest/utilities/test_globalDefinitions.cpp Changeset: 99a6c478 Author: Chris Plummer Date: 2022-12-09 18:42:35 +0000 URL: https://git.openjdk.org/loom/commit/99a6c47855ad82e81a80726cf3aa4522c547716d 8298073: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java causes test task timeout on macosx 8241293: CompressedClassSpaceSizeInJmapHeap.java time out after 8 minutes Reviewed-by: ayang, sspitsyn ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java Changeset: 7dbdd83d Author: Joe Darcy Date: 2022-12-09 19:54:46 +0000 URL: https://git.openjdk.org/loom/commit/7dbdd83da0eefd56927bdb68d7aedfee5c0c0ab5 8298190: Update --release 20 symbol information for JDK 20 build 27 Reviewed-by: iris ! src/jdk.compiler/share/data/symbols/java.base-K.sym.txt ! src/jdk.compiler/share/data/symbols/java.management-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.compiler-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.incubator.concurrent-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.incubator.vector-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.jfr-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.management.jfr-K.sym.txt ! src/jdk.compiler/share/data/symbols/symbols Changeset: 9749a436 Author: Artem Semenov Date: 2022-12-09 20:05:19 +0000 URL: https://git.openjdk.org/loom/commit/9749a436418a2e2bcd1571e2fd6f16e3461cf883 8298457: Instructions in a11y manual tests need to be updated Reviewed-by: kizune, serb ! test/jdk/java/awt/a11y/AccessibleActionsTest.java ! test/jdk/java/awt/a11y/AccessibleJTabbedPaneTest.java ! test/jdk/java/awt/a11y/AccessibleTextTest.java Changeset: 553ba65d Author: Daniel D. Daugherty Date: 2022-12-08 20:19:18 +0000 URL: https://git.openjdk.org/loom/commit/553ba65dc44b601e048c53cd1c48d668de9dcf1e 8298402: ProblemList javax/swing/JFileChooser/4847375/bug4847375.java on windows-x64 8298414: ProblemList gc/TestFullGCCount.java on linux-x64 8298417: ProblemList vmTestbase/nsk/stress/strace/strace004.java on 2 platforms 8298419: ProblemList vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Multi/Multi005/TestDescription.java on windows-x64 Reviewed-by: rriggs ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 133ad8e1 Author: Jan Lahoda Date: 2022-12-09 11:11:46 +0000 URL: https://git.openjdk.org/loom/commit/133ad8e1734f002f013dd3c73d496e323e9e881e 8297988: NPE in JavacTypes.getOverriddenMethods from doclint Reviewed-by: vromero, jjg ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java ! test/langtools/tools/javac/modules/EdgeCases.java Changeset: 5a92bee1 Author: Erik Gahlin Date: 2022-12-09 15:21:59 +0000 URL: https://git.openjdk.org/loom/commit/5a92bee1858f4d08392158217302d3703bb3c770 8298455: JFR: Add logging to TestClose.java Reviewed-by: mgronlun ! test/jdk/jdk/jfr/api/consumer/recordingstream/TestClose.java Changeset: 05d67f69 Author: Daniel Fuchs Date: 2022-12-09 15:23:22 +0000 URL: https://git.openjdk.org/loom/commit/05d67f69e34a76702406b36436ddb5db18e8fa68 8298340: java/net/httpclient/CancelRequestTest.java fails with AssertionError: Found some subscribers for testPostInterrupt Reviewed-by: jpai ! src/java.net.http/share/classes/jdk/internal/net/http/Http2Connection.java ! src/java.net.http/share/classes/jdk/internal/net/http/Stream.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/HttpBodySubscriberWrapper.java ! test/jdk/java/net/httpclient/CancelRequestTest.java Changeset: b7b996cb Author: Roland Westrelin Date: 2022-12-09 15:33:09 +0000 URL: https://git.openjdk.org/loom/commit/b7b996cb9475f8191d4085a2f7f68187b6f015d5 8298353: C2 fails with assert(opaq->outcnt() == 1 && opaq->in(1) == limit) failed Reviewed-by: chagedorn, thartmann, kvn ! src/hotspot/share/opto/loopopts.cpp + test/hotspot/jtreg/compiler/loopopts/TestBadCountedLoopLimit.java Changeset: 52fffdd2 Author: Jan Lahoda Date: 2022-12-09 16:41:26 +0000 URL: https://git.openjdk.org/loom/commit/52fffdd2c8426e98d3a0198ef4607750732bab93 8298463: tools/javac/modules/EdgeCases.java fails on Windows after JDK-8297988 Reviewed-by: jjg ! test/langtools/tools/javac/modules/EdgeCases.java Changeset: a8946490 Author: Tyler Steele Date: 2022-12-09 17:04:11 +0000 URL: https://git.openjdk.org/loom/commit/a8946490e2b362d241c61cc459dbaba93fc93ca4 8298225: [AIX] Disable PPC64LE continuations on AIX Reviewed-by: rrich, mdoerr ! src/hotspot/cpu/ppc/globals_ppc.hpp ! src/hotspot/cpu/ppc/ppc.ad Changeset: 715bf704 Author: Jesper Wilhelmsson Date: 2022-12-09 22:00:12 +0000 URL: https://git.openjdk.org/loom/commit/715bf7045968e341182e61343651f464a437f83f Merge ! src/hotspot/cpu/ppc/ppc.ad ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt ! src/hotspot/cpu/ppc/ppc.ad ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 478ef389 Author: Xue-Lei Andrew Fan Date: 2022-12-09 22:37:20 +0000 URL: https://git.openjdk.org/loom/commit/478ef389dc3767edfbe21d10a7f7f1522c648c2e 8296812: sprintf is deprecated in Xcode 14 Reviewed-by: stuefe, prr, kbarrett, lucy ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp ! src/hotspot/os/bsd/attachListener_bsd.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/share/adlc/adlc.hpp ! src/hotspot/share/adlc/adlparse.cpp ! src/hotspot/share/adlc/archDesc.cpp ! src/hotspot/share/adlc/dfa.cpp ! src/hotspot/share/adlc/formssel.cpp ! src/hotspot/share/adlc/main.cpp ! src/hotspot/share/adlc/output_c.cpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/code/dependencies.cpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/interpreter/bootstrapInfo.cpp ! src/hotspot/share/jfr/support/jfrSymbolTable.cpp ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp ! src/hotspot/share/prims/wbtestmethods/parserTests.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/os.cpp ! src/hotspot/share/runtime/os.hpp ! src/hotspot/share/runtime/perfData.cpp ! src/hotspot/share/utilities/debug.cpp ! src/hotspot/share/utilities/utf8.cpp ! src/java.desktop/macosx/native/libjsound/PLATFORM_API_MacOSX_Ports.cpp Changeset: 8ea2a677 Author: Sangheon Kim Date: 2022-12-09 23:31:17 +0000 URL: https://git.openjdk.org/loom/commit/8ea2a6777b68986df9d191f1bf983549d72cb3f8 8292265: Add old gen used field at G1HeapSummary JFR event Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/shared/gcHeapSummary.hpp ! src/hotspot/share/gc/shared/gcTraceSend.cpp ! src/hotspot/share/jfr/metadata/metadata.xml Changeset: a37de62d Author: Ioi Lam Date: 2022-12-11 02:58:59 +0000 URL: https://git.openjdk.org/loom/commit/a37de62d9ddadf1490ee59bd03224e8cea70a75b 8298126: Print statistics for objects in CDS archive heap Reviewed-by: ccheung ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/heapShared.hpp Changeset: d646e32b Author: Andrey Turbanov Date: 2022-12-12 07:36:34 +0000 URL: https://git.openjdk.org/loom/commit/d646e32b7a0f8e4a66f06e15e289d4ed70b8250e 8298090: Use String.join() instead of manual loop in DescriptorSupport.toString Reviewed-by: stsypanov, sspitsyn, lmesnik ! src/java.management/share/classes/javax/management/modelmbean/DescriptorSupport.java Changeset: 8e5c3319 Author: Albert Mingkun Yang Date: 2022-12-12 11:17:22 +0000 URL: https://git.openjdk.org/loom/commit/8e5c3319d0c494eb60aa043f3daf3566d78a9f7b 8298471: Parallel: Don't keep alive nmethods in Young GC Reviewed-by: stefank, iwalulya ! src/hotspot/share/gc/parallel/psScavenge.cpp Changeset: 6c23b4fd Author: Albert Mingkun Yang Date: 2022-12-12 11:18:33 +0000 URL: https://git.openjdk.org/loom/commit/6c23b4fd0d7883bdcdf20438c21fe226c8de19f5 8298480: Remove unused KlassRemSet Reviewed-by: stefank ! src/hotspot/share/gc/shared/genOopClosures.hpp Changeset: fabda246 Author: Emanuel Peter Date: 2022-12-12 12:11:02 +0000 URL: https://git.openjdk.org/loom/commit/fabda246960cfdfff13c5a87de53d97169248172 8296389: C2: PhaseCFG::convert_NeverBranch_to_Goto must handle both orders of successors Reviewed-by: thartmann, chagedorn ! src/hotspot/share/gc/g1/c2/g1BarrierSetC2.cpp ! src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp ! src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp ! src/hotspot/share/opto/block.cpp ! src/hotspot/share/opto/cfgnode.hpp ! src/hotspot/share/opto/loopPredicate.cpp ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/loopopts.cpp ! src/hotspot/share/opto/node.hpp + test/hotspot/jtreg/compiler/loopopts/TestPhaseCFGNeverBranchToGoto.jasm + test/hotspot/jtreg/compiler/loopopts/TestPhaseCFGNeverBranchToGotoMain.java Changeset: 56c438bf Author: Per Minborg Committer: Daniel Fuchs Date: 2022-12-12 13:33:24 +0000 URL: https://git.openjdk.org/loom/commit/56c438bfc278307ec1f97dfba60253ae6b64df44 8297822: De-duplicate code in module jdk.sctp Reviewed-by: dfuchs, rriggs ! make/modules/jdk.sctp/Java.gmk - src/jdk.sctp/aix/classes/sun/nio/ch/sctp/SctpChannelImpl.java - src/jdk.sctp/aix/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java - src/jdk.sctp/aix/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java - src/jdk.sctp/macosx/classes/sun/nio/ch/sctp/SctpChannelImpl.java - src/jdk.sctp/macosx/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java - src/jdk.sctp/macosx/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/UnsupportedUtil.java - src/jdk.sctp/windows/classes/sun/nio/ch/sctp/SctpChannelImpl.java - src/jdk.sctp/windows/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java - src/jdk.sctp/windows/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java Changeset: 81f57d56 Author: Per Minborg Committer: Roger Riggs Date: 2022-12-12 17:06:34 +0000 URL: https://git.openjdk.org/loom/commit/81f57d568fc687a484f96a8638fa4cdd29374f0e 8298567: Make field in RandomAccessFile final Reviewed-by: rriggs, chegar ! src/java.base/share/classes/java/io/RandomAccessFile.java Changeset: 9ff85f65 Author: Per Minborg Committer: Daniel Fuchs Date: 2022-12-12 17:22:17 +0000 URL: https://git.openjdk.org/loom/commit/9ff85f65774c0a81ed10500d3591cd79b440aed0 8298589: java/net/SctpSanity.java fail with NoClassDefFoundError: sun/nio/ch/sctp/UnsupportedUtil Reviewed-by: alanb ! make/modules/jdk.sctp/Java.gmk Changeset: 781a2e0b Author: Chris Plummer Date: 2022-12-12 18:29:58 +0000 URL: https://git.openjdk.org/loom/commit/781a2e0b2d7d0f36387837de6f50ff087502d317 8298343: "Could not confirm if TargetJDK is hardened." warning for SA tests on macosx-aarch64-debug Reviewed-by: amenkov, kevinw ! test/lib/jdk/test/lib/Platform.java Changeset: c7aca731 Author: Brent Christian Date: 2022-12-12 19:36:55 +0000 URL: https://git.openjdk.org/loom/commit/c7aca73177339f931f7dfb6627365548a32874f7 8295857: Clarify that cleanup code can be skipped when the JVM terminates (e.g. when calling halt()) Reviewed-by: lancea, bpb, naoto, dholmes, smarks ! src/java.base/share/classes/java/lang/Runtime.java Changeset: c3bc4fcb Author: Per Minborg Committer: Valerie Peng Date: 2022-12-12 21:51:59 +0000 URL: https://git.openjdk.org/loom/commit/c3bc4fcb3d0a8bd2eb308fae90a4cb865b216cb8 8297505: Declare fields in some sun.security.pkcs11 classes as final Reviewed-by: valeriep ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Config.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11AEADCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyWrapCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11RSACipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Util.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Session.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SessionManager.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java Changeset: be69930d Author: David Holmes Date: 2022-12-12 22:20:16 +0000 URL: https://git.openjdk.org/loom/commit/be69930d9d72fe5b1c2b642943cc7d4347979ca6 8288287: Remove expired flags in JDK 21 Reviewed-by: kvn, rehn ! src/hotspot/share/runtime/arguments.cpp ! src/java.base/share/man/java.1 Changeset: 829cbc2c Author: David Holmes Date: 2022-12-13 00:04:38 +0000 URL: https://git.openjdk.org/loom/commit/829cbc2cb16cfe4ad23df934768cb820e79511d8 8292674: ReportJNIFatalError should print all java frames Reviewed-by: pchilanomate ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/prims/jniCheck.cpp ! src/hotspot/share/prims/jniCheck.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! test/hotspot/jtreg/runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java Changeset: 173778e2 Author: Fei Yang Date: 2022-12-13 00:57:02 +0000 URL: https://git.openjdk.org/loom/commit/173778e2fee58e47d35197b78eb23f46154b5b2b 8298568: Fastdebug build fails after JDK-8296389 Reviewed-by: rkennke, kvn, haosun ! src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp Changeset: 3b1142a2 Author: Prasanta Sadhukhan Date: 2022-12-13 10:21:57 +0000 URL: https://git.openjdk.org/loom/commit/3b1142a280d66b2f5f7b4afbc76e940fdc30b463 8298618: Typo in JPEGImageReader and JPEGImageWriter Reviewed-by: iris, jdv, abhiscxk ! src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java ! src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java Changeset: dbcfe7bc Author: Yude Lin Committer: Thomas Schatzl Date: 2022-12-13 10:26:05 +0000 URL: https://git.openjdk.org/loom/commit/dbcfe7bc335846cd154dd78822fb64b7970ff9d2 8298521: Rename members in G1MonitoringSupport Reviewed-by: ayang, tschatzl ! src/hotspot/share/gc/g1/g1MonitoringSupport.cpp ! src/hotspot/share/gc/g1/g1MonitoringSupport.hpp Changeset: c612f93e Author: Albert Mingkun Yang Date: 2022-12-13 13:37:33 +0000 URL: https://git.openjdk.org/loom/commit/c612f93e5a63cc94da6634c3cf361eb87582f129 8298576: Serial: Move some MarkSweep method definitions to cpp Reviewed-by: stefank, tschatzl ! src/hotspot/share/gc/serial/markSweep.cpp ! src/hotspot/share/gc/serial/markSweep.inline.hpp Changeset: 216775ff Author: Albert Mingkun Yang Date: 2022-12-13 14:28:40 +0000 URL: https://git.openjdk.org/loom/commit/216775ff22e98dadac9ecd9d2cd756d136fd3bd0 8298144: Remove Space::new_dcto_cl Reviewed-by: stefank, tschatzl ! src/hotspot/share/gc/shared/cardTableRS.cpp ! src/hotspot/share/gc/shared/cardTableRS.hpp ! src/hotspot/share/gc/shared/space.cpp ! src/hotspot/share/gc/shared/space.hpp Changeset: 4081bba8 Author: Albert Mingkun Yang Date: 2022-12-13 14:29:46 +0000 URL: https://git.openjdk.org/loom/commit/4081bba86900d03f195258ca88d51321d31d3678 8297960: G1: Move Root Region Scan Waiting outside collection in logs Reviewed-by: iwalulya, tschatzl ! src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp Changeset: 042b7062 Author: Axel Boldt-Christmas Date: 2022-12-13 15:43:16 +0000 URL: https://git.openjdk.org/loom/commit/042b7062f19b313f31b228bd96d2a74cc1165ab9 8297235: ZGC: assert(regs[i] != regs[j]) failed: Multiple uses of register: rax Reviewed-by: eosterlund, ayang, rcastanedalo ! src/hotspot/cpu/x86/gc/z/z_x86_64.ad ! test/jdk/ProblemList-zgc.txt Changeset: d624debe Author: Christoph Langer Date: 2022-12-11 13:50:39 +0000 URL: https://git.openjdk.org/loom/commit/d624debe23f60d778d7be43f28d06e9454057217 8298459: Fix msys2 linking and handling out of tree build directory for source zip creation Reviewed-by: erikj ! make/ZipSource.gmk ! make/common/MakeBase.gmk Changeset: cf93933e Author: Severin Gehwolf Date: 2022-12-12 15:49:31 +0000 URL: https://git.openjdk.org/loom/commit/cf93933e21d146fe296b1e4b8e2ef06b699175d6 8298271: java/security/SignedJar/spi-calendar-provider/TestSPISigned.java failing on Windows Reviewed-by: mullan ! test/jdk/ProblemList.txt ! test/jdk/java/security/SignedJar/spi-calendar-provider/TestSPISigned.java Changeset: 0267aa52 Author: Naoto Sato Date: 2022-12-12 17:59:25 +0000 URL: https://git.openjdk.org/loom/commit/0267aa528b83be9914fee4bea8f548b8404b31f8 8297288: Example code in Scanner class Reviewed-by: lancea, bpb, alanb ! src/java.base/share/classes/java/util/Scanner.java Changeset: 8962c723 Author: Alexander Matveev Date: 2022-12-12 22:51:02 +0000 URL: https://git.openjdk.org/loom/commit/8962c723a8ae62a8638e9e0a89c20001aea1549a 8298488: [macos13] tools/jpackage tests failing with "Exit code: 137" on macOS Reviewed-by: asemenyuk ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageBuilder.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TKit.java ! test/jdk/tools/jpackage/share/AppContentTest.java Changeset: d4531903 Author: Coleen Phillimore Date: 2022-12-13 00:49:16 +0000 URL: https://git.openjdk.org/loom/commit/d4531903007dbe8dcdd163e423d23e8cefba61c8 8296955: Kitchensink.java failed with "double free or corruption (!prev): " Reviewed-by: kbarrett, eosterlund, sspitsyn, dcubed ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/method.hpp Changeset: 04b8d0cf Author: Coleen Phillimore Date: 2022-12-13 13:02:23 +0000 URL: https://git.openjdk.org/loom/commit/04b8d0cf5c964e16c583b66d9ab43a8c9a85fd72 8298084: Memory leak in Method::build_profiling_method_data Co-authored-by: Justin King Reviewed-by: kbarrett, eosterlund, dholmes, jcking, thartmann ! src/hotspot/share/memory/metadataFactory.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/methodData.cpp ! src/hotspot/share/oops/methodData.hpp Changeset: 23e18275 Author: Jesper Wilhelmsson Date: 2022-12-13 16:42:35 +0000 URL: https://git.openjdk.org/loom/commit/23e18275ac2a7297ba806a1835fabb7141949967 Merge ! test/jdk/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 68022770 Author: Ioi Lam Date: 2022-12-13 19:35:30 +0000 URL: https://git.openjdk.org/loom/commit/68022770dedb78f9e6d26c17d76ea6df2f17600b 8298524: Debug function to trace reachability of CDS archived heap objects Reviewed-by: ccheung ! src/hotspot/share/cds/cdsHeapVerifier.cpp ! src/hotspot/share/cds/cdsHeapVerifier.hpp Changeset: a120764c Author: Alex Menkov Date: 2022-12-13 19:49:16 +0000 URL: https://git.openjdk.org/loom/commit/a120764cc4636b3b0cd128d43de148bdc3f4513b 8298514: vmTestbase/nsk/jdi/EventRequestManager/threadDeathRequests/thrdeathreq002/TestDescription.java fails with usage tracker Reviewed-by: cjplummer, sspitsyn ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/threadDeathRequests/thrdeathreq002.java Changeset: 220781fa Author: Alex Menkov Date: 2022-12-13 19:50:09 +0000 URL: https://git.openjdk.org/loom/commit/220781fa56a9c8d3b64c5c6578ffd76b9edb795c 8298513: vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy009/TestDescription.java fails with usage tracker Reviewed-by: cjplummer, sspitsyn, lmesnik ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy009.java Changeset: b754aa5e Author: Stefan Karlsson Date: 2022-12-14 11:04:49 +0000 URL: https://git.openjdk.org/loom/commit/b754aa5e3f231aea8da5274c330dc55dd78b0f67 8298371: monitors_on_stack extracts unprocessed oops Reviewed-by: pchilanomate, rehn ! src/hotspot/share/runtime/continuationFreezeThaw.cpp Changeset: d32d6c02 Author: Matthijs Bijman Committer: Tobias Hartmann Date: 2022-12-14 11:30:34 +0000 URL: https://git.openjdk.org/loom/commit/d32d6c028de4aed8d1f1ef70734d43f056a0ff34 8297791: update _max_classes in node type system Reviewed-by: thartmann ! src/hotspot/share/opto/node.hpp Changeset: ceca4fc9 Author: Albert Mingkun Yang Date: 2022-12-14 12:45:17 +0000 URL: https://git.openjdk.org/loom/commit/ceca4fc9ec33808873a6e4f5d13619db455ce214 8298264: Merge OffsetTableContigSpace into TenuredSpace Reviewed-by: stefank, tschatzl ! src/hotspot/share/gc/serial/vmStructs_serial.hpp ! src/hotspot/share/gc/shared/space.cpp ! src/hotspot/share/gc/shared/space.hpp ! src/hotspot/share/gc/shared/space.inline.hpp - src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/OffsetTableContigSpace.java ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/TenuredSpace.java Changeset: 9ee50370 Author: Albert Mingkun Yang Date: 2022-12-14 12:46:15 +0000 URL: https://git.openjdk.org/loom/commit/9ee5037055a85a5d457a31392dc4ce1ca6c47768 8298636: Fix return value in WB_CountAliveClasses and WB_GetSymbolRefcount Reviewed-by: dholmes ! src/hotspot/share/prims/whitebox.cpp Changeset: 2e801e16 Author: Coleen Phillimore Date: 2022-12-14 12:47:08 +0000 URL: https://git.openjdk.org/loom/commit/2e801e16ec40ce0e25d8679e21d7da347c52d7be 8298475: Remove JVM_ACC_PROMOTED_FLAGS Reviewed-by: sspitsyn, dcubed, dholmes ! src/hotspot/share/classfile/classFileParser.cpp ! src/hotspot/share/classfile/classFileParser.hpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/instanceKlassMiscStatus.cpp ! src/hotspot/share/oops/instanceKlassMiscStatus.hpp ! src/hotspot/share/prims/jvmtiEnv.cpp ! src/hotspot/share/prims/jvmtiRedefineClasses.cpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/hotspot/share/utilities/accessFlags.hpp ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/ClassConstants.java Changeset: ed8a2120 Author: Stefan Karlsson Date: 2022-12-14 14:34:24 +0000 URL: https://git.openjdk.org/loom/commit/ed8a2120ca1e9756c6ab5eeebfe24c15d549f04e 8298376: ZGC: thaws stackChunk with stale oops Reviewed-by: eosterlund, pchilanomate ! src/hotspot/share/oops/stackChunkOop.hpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/runtime/continuationJavaClasses.hpp ! src/hotspot/share/runtime/continuationJavaClasses.inline.hpp Changeset: 0dce5b81 Author: Daniel Fuchs Date: 2022-12-14 16:39:32 +0000 URL: https://git.openjdk.org/loom/commit/0dce5b811d64ac17b9580d6a2d8eca1df70990a1 8296610: java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java failed with "BindException: Address already in use: connect" Reviewed-by: michaelm ! test/jdk/java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java ! test/jdk/java/net/HttpURLConnection/SetAuthenticator/HTTPTestClient.java Changeset: c05dbac3 Author: Alexander Zvegintsev Date: 2022-12-14 16:51:41 +0000 URL: https://git.openjdk.org/loom/commit/c05dbac3cbd8de3822191bcb5c34832c997bc4a9 8193547: Regression automated test '/open/test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.java' fails Reviewed-by: serb ! test/jdk/ProblemList.txt ! test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.java ! test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.sh Changeset: 736fcd49 Author: Emanuel Peter Date: 2022-12-14 17:25:49 +0000 URL: https://git.openjdk.org/loom/commit/736fcd49f7cd3aa6f226b2e088415eaf05f97ee8 8296318: use-def assert: special case undetected loops nested in infinite loops Reviewed-by: chagedorn, kvn ! src/hotspot/share/opto/block.cpp ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/cfgnode.hpp ! src/hotspot/share/opto/loopnode.cpp + test/hotspot/jtreg/compiler/loopopts/TestUndetectedLoopInInfiniteLoop.java Changeset: 7241e358 Author: Chris Plummer Date: 2022-12-14 17:53:11 +0000 URL: https://git.openjdk.org/loom/commit/7241e358bfbb004897b84da3c154d7bdd96cb560 8298692: Fix typos in test/jdk/com/sun/jdi files Reviewed-by: amenkov, sspitsyn ! test/jdk/com/sun/jdi/ArgumentValuesTest.java ! test/jdk/com/sun/jdi/connect/spi/GeneratedConnectors.java ! test/jdk/com/sun/jdi/lib/jdb/Jdb.java Changeset: 8ff2928a Author: Thomas Schatzl Date: 2022-12-14 17:55:15 +0000 URL: https://git.openjdk.org/loom/commit/8ff2928a04aeec8c09ff4a1ec4e83d4c9010950e 8297639: Remove preventive GCs in G1 Reviewed-by: ayang, iwalulya ! src/hotspot/share/gc/g1/g1AllocRegion.hpp ! src/hotspot/share/gc/g1/g1Allocator.cpp ! src/hotspot/share/gc/g1/g1Allocator.hpp ! src/hotspot/share/gc/g1/g1Allocator.inline.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectionSet.cpp ! src/hotspot/share/gc/g1/g1CollectionSet.hpp ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp ! src/hotspot/share/gc/g1/g1VMOperations.cpp ! src/hotspot/share/gc/g1/g1VMOperations.hpp ! src/hotspot/share/gc/shared/gcCause.cpp ! src/hotspot/share/gc/shared/gcCause.hpp ! test/hotspot/jtreg/gc/g1/TestEvacuationFailure.java ! test/hotspot/jtreg/gc/g1/TestGCLogMessages.java ! test/hotspot/jtreg/gc/g1/TestVerifyGCType.java Changeset: 59065e58 Author: Alan Bateman Date: 2022-12-15 08:09:40 +0000 URL: https://git.openjdk.org/loom/commit/59065e58c0e4e4ef41d8a27a0ed18f736dbb122a Merge with jdk-21+2 ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt From duke at openjdk.org Thu Dec 15 10:25:31 2022 From: duke at openjdk.org (duke) Date: Thu, 15 Dec 2022 10:25:31 GMT Subject: git: openjdk/loom: master: 67 new changesets Message-ID: <7c7e417c-ebdf-4dde-a334-74c959db5e31@openjdk.org> Changeset: d35e8400 Author: Alan Bateman Date: 2022-12-08 18:17:58 +0000 URL: https://git.openjdk.org/loom/commit/d35e840024b80f9f686fb5522dc03b2c9233a6d3 8297295: Remove ThreadGroup.allowThreadSuspension Reviewed-by: jpai, smarks, chegar, darcy ! src/java.base/share/classes/java/lang/ThreadGroup.java ! test/jdk/java/lang/ThreadGroup/BasicTests.java Changeset: 3dfadeeb Author: Quan Anh Mai Date: 2022-12-08 20:25:20 +0000 URL: https://git.openjdk.org/loom/commit/3dfadeebd023efb03a400f2b2656567a4154421a 8292289: [vectorapi] Improve the implementation of VectorTestNode Reviewed-by: xgong, kvn ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/aarch64/matcher_aarch64.hpp ! src/hotspot/cpu/arm/matcher_arm.hpp ! src/hotspot/cpu/ppc/matcher_ppc.hpp ! src/hotspot/cpu/riscv/matcher_riscv.hpp ! src/hotspot/cpu/s390/matcher_s390.hpp ! 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/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.hpp ! src/hotspot/cpu/x86/matcher_x86.hpp ! src/hotspot/cpu/x86/x86.ad ! src/hotspot/share/opto/matcher.hpp ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/opto/vectorIntrinsics.cpp ! src/hotspot/share/opto/vectornode.hpp ! src/hotspot/share/runtime/vmStructs.cpp ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java + test/hotspot/jtreg/compiler/vectorapi/TestVectorTest.java Changeset: c16eb89c Author: Y. Srinivas Ramakrishna Date: 2022-12-08 21:54:16 +0000 URL: https://git.openjdk.org/loom/commit/c16eb89ce0d59f2ff83b6db0bee3e384ec8d5efe 8298138: Shenandoah: HdrSeq asserts "sub-bucket index (512) overflow for value ( 1.00)" Reviewed-by: rkennke, shade ! src/hotspot/share/gc/shenandoah/shenandoahNumberSeq.cpp ! src/hotspot/share/gc/shenandoah/shenandoahNumberSeq.hpp + test/hotspot/gtest/gc/shenandoah/test_shenandoahNumberSeq.cpp Changeset: 5540a8c5 Author: Sergey Bylokhov Date: 2022-12-08 23:28:48 +0000 URL: https://git.openjdk.org/loom/commit/5540a8c5b7160ab5c67bb84631e3de54fa5aeceb 8298083: The "CheckBox/RadioButton[Enabled/Disabled].textForeground" stoped working Reviewed-by: psadhukhan ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java ! src/java.desktop/share/classes/javax/swing/plaf/synth/SynthStyle.java ! test/jdk/ProblemList.txt ! test/jdk/javax/swing/JRadioButton/4314194/bug4314194.java Changeset: 7f9c6ce3 Author: Joe Darcy Date: 2022-12-09 00:29:08 +0000 URL: https://git.openjdk.org/loom/commit/7f9c6ce3318aedfd85f12f4002dc442b0b468c27 8297679: InvocationTargetException field named target is not declared final Reviewed-by: alanb ! src/java.base/share/classes/java/lang/reflect/InvocationTargetException.java Changeset: 11aece21 Author: Emanuel Peter Date: 2022-12-09 07:11:57 +0000 URL: https://git.openjdk.org/loom/commit/11aece21f4eb5b18af357b265bc27b80bcdbfbcb 8257197: Add additional verification code to PhaseCCP Reviewed-by: chagedorn, kvn, thartmann ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/phaseX.hpp Changeset: cb766c55 Author: Per Minborg Committer: Daniel Fuchs Date: 2022-12-09 09:46:50 +0000 URL: https://git.openjdk.org/loom/commit/cb766c553557b718683d492280beba772d81bb5b 8297778: Modernize and improve module jdk.sctp Reviewed-by: dfuchs, stsypanov ! src/jdk.sctp/share/classes/com/sun/nio/sctp/HandlerResult.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/IllegalReceiveException.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/IllegalUnbindException.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/InvalidStreamException.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpStandardSocketOptions.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/SendFailedNotification.java ! src/jdk.sctp/share/classes/sun/nio/ch/sctp/MessageInfoImpl.java ! src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpStdSocketOption.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/AssociationChange.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/AssociationImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/PeerAddrChange.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/ResultContainer.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpNet.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpNotification.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SendFailed.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/Shutdown.java Changeset: 33d955ad Author: Gui Cao Committer: Julian Waters Date: 2022-12-09 12:43:47 +0000 URL: https://git.openjdk.org/loom/commit/33d955ad6e46eecd947e958ce295f6a6c348b2a6 8298345: Fix another two C2 IR matching tests for RISC-V Reviewed-by: fyang, dzhang, fjiang ! test/hotspot/jtreg/compiler/c2/irTests/TestAutoVectorization2DArray.java ! test/hotspot/jtreg/compiler/lib/ir_framework/TestFramework.java ! test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java Changeset: e3c6cf8e Author: Sergey Tsypanov Committer: Julian Waters Date: 2022-12-09 12:50:55 +0000 URL: https://git.openjdk.org/loom/commit/e3c6cf8eaf931d9eb46b429a5ba8d3bbded3728a 8298380: Clean up redundant array length checks in JDK code base Reviewed-by: dholmes, amenkov, serb, vtewari ! src/java.base/linux/classes/sun/nio/fs/LinuxWatchService.java ! src/java.base/share/classes/java/nio/file/spi/FileSystemProvider.java ! src/java.base/share/classes/jdk/internal/jrtfs/JrtPath.java ! src/java.base/share/classes/sun/nio/fs/PollingWatchService.java ! src/java.desktop/macosx/classes/com/apple/laf/AquaFileChooserUI.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/Assumptions.java ! src/jdk.jconsole/share/classes/sun/tools/jconsole/inspector/XTree.java ! src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipPath.java Changeset: 05b0a018 Author: Albert Mingkun Yang Date: 2022-12-09 13:26:12 +0000 URL: https://git.openjdk.org/loom/commit/05b0a018c736f79acc99043d5e0e556658b93ab8 8298281: Serial: Refactor MarkAndPushClosure Reviewed-by: stefank, sjohanss ! src/hotspot/share/gc/serial/markSweep.cpp ! src/hotspot/share/gc/serial/markSweep.hpp ! src/hotspot/share/gc/serial/markSweep.inline.hpp Changeset: b30b464d Author: Roman Kennke Date: 2022-12-09 14:52:27 +0000 URL: https://git.openjdk.org/loom/commit/b30b464d054716bbc3d4d70633b740b227b8775d 8297036: Generalize C2 stub mechanism Co-authored-by: Aleksey Shipilev Co-authored-by: Xiaolin Zheng Reviewed-by: eosterlund, kvn, fyang ! src/hotspot/cpu/aarch64/aarch64.ad + src/hotspot/cpu/aarch64/c2_CodeStubs_aarch64.cpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp - src/hotspot/cpu/aarch64/c2_safepointPollStubTable_aarch64.cpp + src/hotspot/cpu/ppc/c2_CodeStubs_ppc.cpp - src/hotspot/cpu/ppc/c2_safepointPollStubTable_ppc.cpp ! src/hotspot/cpu/ppc/ppc.ad + src/hotspot/cpu/riscv/c2_CodeStubs_riscv.cpp ! src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp - src/hotspot/cpu/riscv/c2_safepointPollStubTable_riscv.cpp ! src/hotspot/cpu/riscv/riscv.ad + src/hotspot/cpu/x86/c2_CodeStubs_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp - src/hotspot/cpu/x86/c2_safepointPollStubTable_x86.cpp ! src/hotspot/cpu/x86/x86_32.ad ! src/hotspot/cpu/x86/x86_64.ad + src/hotspot/share/opto/c2_CodeStubs.cpp + src/hotspot/share/opto/c2_CodeStubs.hpp ! src/hotspot/share/opto/c2_MacroAssembler.hpp ! src/hotspot/share/opto/output.cpp ! src/hotspot/share/opto/output.hpp Changeset: 93465354 Author: Xin Liu Date: 2022-12-09 16:49:47 +0000 URL: https://git.openjdk.org/loom/commit/9346535415b158aaaa679ef8c3c147595b5206e9 8298320: Typo in the comment block of catch_inline_exception Reviewed-by: thartmann ! src/hotspot/share/opto/doCall.cpp Changeset: f729f5b6 Author: Thomas Stuefe Date: 2022-12-09 17:46:28 +0000 URL: https://git.openjdk.org/loom/commit/f729f5b6d01b0d3a0ee21f50199ca30935c8237a 8298298: NMT: count deltas are printed with 32-bit signed size Reviewed-by: shade, dholmes ! src/hotspot/share/services/memReporter.cpp ! src/hotspot/share/utilities/globalDefinitions.hpp ! src/hotspot/share/utilities/globalDefinitions_visCPP.hpp ! test/hotspot/gtest/utilities/test_globalDefinitions.cpp Changeset: 99a6c478 Author: Chris Plummer Date: 2022-12-09 18:42:35 +0000 URL: https://git.openjdk.org/loom/commit/99a6c47855ad82e81a80726cf3aa4522c547716d 8298073: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java causes test task timeout on macosx 8241293: CompressedClassSpaceSizeInJmapHeap.java time out after 8 minutes Reviewed-by: ayang, sspitsyn ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java Changeset: 7dbdd83d Author: Joe Darcy Date: 2022-12-09 19:54:46 +0000 URL: https://git.openjdk.org/loom/commit/7dbdd83da0eefd56927bdb68d7aedfee5c0c0ab5 8298190: Update --release 20 symbol information for JDK 20 build 27 Reviewed-by: iris ! src/jdk.compiler/share/data/symbols/java.base-K.sym.txt ! src/jdk.compiler/share/data/symbols/java.management-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.compiler-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.incubator.concurrent-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.incubator.vector-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.jfr-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.management.jfr-K.sym.txt ! src/jdk.compiler/share/data/symbols/symbols Changeset: 9749a436 Author: Artem Semenov Date: 2022-12-09 20:05:19 +0000 URL: https://git.openjdk.org/loom/commit/9749a436418a2e2bcd1571e2fd6f16e3461cf883 8298457: Instructions in a11y manual tests need to be updated Reviewed-by: kizune, serb ! test/jdk/java/awt/a11y/AccessibleActionsTest.java ! test/jdk/java/awt/a11y/AccessibleJTabbedPaneTest.java ! test/jdk/java/awt/a11y/AccessibleTextTest.java Changeset: 553ba65d Author: Daniel D. Daugherty Date: 2022-12-08 20:19:18 +0000 URL: https://git.openjdk.org/loom/commit/553ba65dc44b601e048c53cd1c48d668de9dcf1e 8298402: ProblemList javax/swing/JFileChooser/4847375/bug4847375.java on windows-x64 8298414: ProblemList gc/TestFullGCCount.java on linux-x64 8298417: ProblemList vmTestbase/nsk/stress/strace/strace004.java on 2 platforms 8298419: ProblemList vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Multi/Multi005/TestDescription.java on windows-x64 Reviewed-by: rriggs ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 133ad8e1 Author: Jan Lahoda Date: 2022-12-09 11:11:46 +0000 URL: https://git.openjdk.org/loom/commit/133ad8e1734f002f013dd3c73d496e323e9e881e 8297988: NPE in JavacTypes.getOverriddenMethods from doclint Reviewed-by: vromero, jjg ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java ! test/langtools/tools/javac/modules/EdgeCases.java Changeset: 5a92bee1 Author: Erik Gahlin Date: 2022-12-09 15:21:59 +0000 URL: https://git.openjdk.org/loom/commit/5a92bee1858f4d08392158217302d3703bb3c770 8298455: JFR: Add logging to TestClose.java Reviewed-by: mgronlun ! test/jdk/jdk/jfr/api/consumer/recordingstream/TestClose.java Changeset: 05d67f69 Author: Daniel Fuchs Date: 2022-12-09 15:23:22 +0000 URL: https://git.openjdk.org/loom/commit/05d67f69e34a76702406b36436ddb5db18e8fa68 8298340: java/net/httpclient/CancelRequestTest.java fails with AssertionError: Found some subscribers for testPostInterrupt Reviewed-by: jpai ! src/java.net.http/share/classes/jdk/internal/net/http/Http2Connection.java ! src/java.net.http/share/classes/jdk/internal/net/http/Stream.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/HttpBodySubscriberWrapper.java ! test/jdk/java/net/httpclient/CancelRequestTest.java Changeset: b7b996cb Author: Roland Westrelin Date: 2022-12-09 15:33:09 +0000 URL: https://git.openjdk.org/loom/commit/b7b996cb9475f8191d4085a2f7f68187b6f015d5 8298353: C2 fails with assert(opaq->outcnt() == 1 && opaq->in(1) == limit) failed Reviewed-by: chagedorn, thartmann, kvn ! src/hotspot/share/opto/loopopts.cpp + test/hotspot/jtreg/compiler/loopopts/TestBadCountedLoopLimit.java Changeset: 52fffdd2 Author: Jan Lahoda Date: 2022-12-09 16:41:26 +0000 URL: https://git.openjdk.org/loom/commit/52fffdd2c8426e98d3a0198ef4607750732bab93 8298463: tools/javac/modules/EdgeCases.java fails on Windows after JDK-8297988 Reviewed-by: jjg ! test/langtools/tools/javac/modules/EdgeCases.java Changeset: a8946490 Author: Tyler Steele Date: 2022-12-09 17:04:11 +0000 URL: https://git.openjdk.org/loom/commit/a8946490e2b362d241c61cc459dbaba93fc93ca4 8298225: [AIX] Disable PPC64LE continuations on AIX Reviewed-by: rrich, mdoerr ! src/hotspot/cpu/ppc/globals_ppc.hpp ! src/hotspot/cpu/ppc/ppc.ad Changeset: 715bf704 Author: Jesper Wilhelmsson Date: 2022-12-09 22:00:12 +0000 URL: https://git.openjdk.org/loom/commit/715bf7045968e341182e61343651f464a437f83f Merge ! src/hotspot/cpu/ppc/ppc.ad ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt ! src/hotspot/cpu/ppc/ppc.ad ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 478ef389 Author: Xue-Lei Andrew Fan Date: 2022-12-09 22:37:20 +0000 URL: https://git.openjdk.org/loom/commit/478ef389dc3767edfbe21d10a7f7f1522c648c2e 8296812: sprintf is deprecated in Xcode 14 Reviewed-by: stuefe, prr, kbarrett, lucy ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp ! src/hotspot/os/bsd/attachListener_bsd.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/share/adlc/adlc.hpp ! src/hotspot/share/adlc/adlparse.cpp ! src/hotspot/share/adlc/archDesc.cpp ! src/hotspot/share/adlc/dfa.cpp ! src/hotspot/share/adlc/formssel.cpp ! src/hotspot/share/adlc/main.cpp ! src/hotspot/share/adlc/output_c.cpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/code/dependencies.cpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/interpreter/bootstrapInfo.cpp ! src/hotspot/share/jfr/support/jfrSymbolTable.cpp ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp ! src/hotspot/share/prims/wbtestmethods/parserTests.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/os.cpp ! src/hotspot/share/runtime/os.hpp ! src/hotspot/share/runtime/perfData.cpp ! src/hotspot/share/utilities/debug.cpp ! src/hotspot/share/utilities/utf8.cpp ! src/java.desktop/macosx/native/libjsound/PLATFORM_API_MacOSX_Ports.cpp Changeset: 8ea2a677 Author: Sangheon Kim Date: 2022-12-09 23:31:17 +0000 URL: https://git.openjdk.org/loom/commit/8ea2a6777b68986df9d191f1bf983549d72cb3f8 8292265: Add old gen used field at G1HeapSummary JFR event Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/shared/gcHeapSummary.hpp ! src/hotspot/share/gc/shared/gcTraceSend.cpp ! src/hotspot/share/jfr/metadata/metadata.xml Changeset: a37de62d Author: Ioi Lam Date: 2022-12-11 02:58:59 +0000 URL: https://git.openjdk.org/loom/commit/a37de62d9ddadf1490ee59bd03224e8cea70a75b 8298126: Print statistics for objects in CDS archive heap Reviewed-by: ccheung ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/heapShared.hpp Changeset: d646e32b Author: Andrey Turbanov Date: 2022-12-12 07:36:34 +0000 URL: https://git.openjdk.org/loom/commit/d646e32b7a0f8e4a66f06e15e289d4ed70b8250e 8298090: Use String.join() instead of manual loop in DescriptorSupport.toString Reviewed-by: stsypanov, sspitsyn, lmesnik ! src/java.management/share/classes/javax/management/modelmbean/DescriptorSupport.java Changeset: 8e5c3319 Author: Albert Mingkun Yang Date: 2022-12-12 11:17:22 +0000 URL: https://git.openjdk.org/loom/commit/8e5c3319d0c494eb60aa043f3daf3566d78a9f7b 8298471: Parallel: Don't keep alive nmethods in Young GC Reviewed-by: stefank, iwalulya ! src/hotspot/share/gc/parallel/psScavenge.cpp Changeset: 6c23b4fd Author: Albert Mingkun Yang Date: 2022-12-12 11:18:33 +0000 URL: https://git.openjdk.org/loom/commit/6c23b4fd0d7883bdcdf20438c21fe226c8de19f5 8298480: Remove unused KlassRemSet Reviewed-by: stefank ! src/hotspot/share/gc/shared/genOopClosures.hpp Changeset: fabda246 Author: Emanuel Peter Date: 2022-12-12 12:11:02 +0000 URL: https://git.openjdk.org/loom/commit/fabda246960cfdfff13c5a87de53d97169248172 8296389: C2: PhaseCFG::convert_NeverBranch_to_Goto must handle both orders of successors Reviewed-by: thartmann, chagedorn ! src/hotspot/share/gc/g1/c2/g1BarrierSetC2.cpp ! src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp ! src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp ! src/hotspot/share/opto/block.cpp ! src/hotspot/share/opto/cfgnode.hpp ! src/hotspot/share/opto/loopPredicate.cpp ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/loopopts.cpp ! src/hotspot/share/opto/node.hpp + test/hotspot/jtreg/compiler/loopopts/TestPhaseCFGNeverBranchToGoto.jasm + test/hotspot/jtreg/compiler/loopopts/TestPhaseCFGNeverBranchToGotoMain.java Changeset: 56c438bf Author: Per Minborg Committer: Daniel Fuchs Date: 2022-12-12 13:33:24 +0000 URL: https://git.openjdk.org/loom/commit/56c438bfc278307ec1f97dfba60253ae6b64df44 8297822: De-duplicate code in module jdk.sctp Reviewed-by: dfuchs, rriggs ! make/modules/jdk.sctp/Java.gmk - src/jdk.sctp/aix/classes/sun/nio/ch/sctp/SctpChannelImpl.java - src/jdk.sctp/aix/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java - src/jdk.sctp/aix/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java - src/jdk.sctp/macosx/classes/sun/nio/ch/sctp/SctpChannelImpl.java - src/jdk.sctp/macosx/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java - src/jdk.sctp/macosx/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/UnsupportedUtil.java - src/jdk.sctp/windows/classes/sun/nio/ch/sctp/SctpChannelImpl.java - src/jdk.sctp/windows/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java - src/jdk.sctp/windows/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java Changeset: 81f57d56 Author: Per Minborg Committer: Roger Riggs Date: 2022-12-12 17:06:34 +0000 URL: https://git.openjdk.org/loom/commit/81f57d568fc687a484f96a8638fa4cdd29374f0e 8298567: Make field in RandomAccessFile final Reviewed-by: rriggs, chegar ! src/java.base/share/classes/java/io/RandomAccessFile.java Changeset: 9ff85f65 Author: Per Minborg Committer: Daniel Fuchs Date: 2022-12-12 17:22:17 +0000 URL: https://git.openjdk.org/loom/commit/9ff85f65774c0a81ed10500d3591cd79b440aed0 8298589: java/net/SctpSanity.java fail with NoClassDefFoundError: sun/nio/ch/sctp/UnsupportedUtil Reviewed-by: alanb ! make/modules/jdk.sctp/Java.gmk Changeset: 781a2e0b Author: Chris Plummer Date: 2022-12-12 18:29:58 +0000 URL: https://git.openjdk.org/loom/commit/781a2e0b2d7d0f36387837de6f50ff087502d317 8298343: "Could not confirm if TargetJDK is hardened." warning for SA tests on macosx-aarch64-debug Reviewed-by: amenkov, kevinw ! test/lib/jdk/test/lib/Platform.java Changeset: c7aca731 Author: Brent Christian Date: 2022-12-12 19:36:55 +0000 URL: https://git.openjdk.org/loom/commit/c7aca73177339f931f7dfb6627365548a32874f7 8295857: Clarify that cleanup code can be skipped when the JVM terminates (e.g. when calling halt()) Reviewed-by: lancea, bpb, naoto, dholmes, smarks ! src/java.base/share/classes/java/lang/Runtime.java Changeset: c3bc4fcb Author: Per Minborg Committer: Valerie Peng Date: 2022-12-12 21:51:59 +0000 URL: https://git.openjdk.org/loom/commit/c3bc4fcb3d0a8bd2eb308fae90a4cb865b216cb8 8297505: Declare fields in some sun.security.pkcs11 classes as final Reviewed-by: valeriep ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Config.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11AEADCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyWrapCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11RSACipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Util.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Session.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SessionManager.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java Changeset: be69930d Author: David Holmes Date: 2022-12-12 22:20:16 +0000 URL: https://git.openjdk.org/loom/commit/be69930d9d72fe5b1c2b642943cc7d4347979ca6 8288287: Remove expired flags in JDK 21 Reviewed-by: kvn, rehn ! src/hotspot/share/runtime/arguments.cpp ! src/java.base/share/man/java.1 Changeset: 829cbc2c Author: David Holmes Date: 2022-12-13 00:04:38 +0000 URL: https://git.openjdk.org/loom/commit/829cbc2cb16cfe4ad23df934768cb820e79511d8 8292674: ReportJNIFatalError should print all java frames Reviewed-by: pchilanomate ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/prims/jniCheck.cpp ! src/hotspot/share/prims/jniCheck.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! test/hotspot/jtreg/runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java Changeset: 173778e2 Author: Fei Yang Date: 2022-12-13 00:57:02 +0000 URL: https://git.openjdk.org/loom/commit/173778e2fee58e47d35197b78eb23f46154b5b2b 8298568: Fastdebug build fails after JDK-8296389 Reviewed-by: rkennke, kvn, haosun ! src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp Changeset: 3b1142a2 Author: Prasanta Sadhukhan Date: 2022-12-13 10:21:57 +0000 URL: https://git.openjdk.org/loom/commit/3b1142a280d66b2f5f7b4afbc76e940fdc30b463 8298618: Typo in JPEGImageReader and JPEGImageWriter Reviewed-by: iris, jdv, abhiscxk ! src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java ! src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java Changeset: dbcfe7bc Author: Yude Lin Committer: Thomas Schatzl Date: 2022-12-13 10:26:05 +0000 URL: https://git.openjdk.org/loom/commit/dbcfe7bc335846cd154dd78822fb64b7970ff9d2 8298521: Rename members in G1MonitoringSupport Reviewed-by: ayang, tschatzl ! src/hotspot/share/gc/g1/g1MonitoringSupport.cpp ! src/hotspot/share/gc/g1/g1MonitoringSupport.hpp Changeset: c612f93e Author: Albert Mingkun Yang Date: 2022-12-13 13:37:33 +0000 URL: https://git.openjdk.org/loom/commit/c612f93e5a63cc94da6634c3cf361eb87582f129 8298576: Serial: Move some MarkSweep method definitions to cpp Reviewed-by: stefank, tschatzl ! src/hotspot/share/gc/serial/markSweep.cpp ! src/hotspot/share/gc/serial/markSweep.inline.hpp Changeset: 216775ff Author: Albert Mingkun Yang Date: 2022-12-13 14:28:40 +0000 URL: https://git.openjdk.org/loom/commit/216775ff22e98dadac9ecd9d2cd756d136fd3bd0 8298144: Remove Space::new_dcto_cl Reviewed-by: stefank, tschatzl ! src/hotspot/share/gc/shared/cardTableRS.cpp ! src/hotspot/share/gc/shared/cardTableRS.hpp ! src/hotspot/share/gc/shared/space.cpp ! src/hotspot/share/gc/shared/space.hpp Changeset: 4081bba8 Author: Albert Mingkun Yang Date: 2022-12-13 14:29:46 +0000 URL: https://git.openjdk.org/loom/commit/4081bba86900d03f195258ca88d51321d31d3678 8297960: G1: Move Root Region Scan Waiting outside collection in logs Reviewed-by: iwalulya, tschatzl ! src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp Changeset: 042b7062 Author: Axel Boldt-Christmas Date: 2022-12-13 15:43:16 +0000 URL: https://git.openjdk.org/loom/commit/042b7062f19b313f31b228bd96d2a74cc1165ab9 8297235: ZGC: assert(regs[i] != regs[j]) failed: Multiple uses of register: rax Reviewed-by: eosterlund, ayang, rcastanedalo ! src/hotspot/cpu/x86/gc/z/z_x86_64.ad ! test/jdk/ProblemList-zgc.txt Changeset: d624debe Author: Christoph Langer Date: 2022-12-11 13:50:39 +0000 URL: https://git.openjdk.org/loom/commit/d624debe23f60d778d7be43f28d06e9454057217 8298459: Fix msys2 linking and handling out of tree build directory for source zip creation Reviewed-by: erikj ! make/ZipSource.gmk ! make/common/MakeBase.gmk Changeset: cf93933e Author: Severin Gehwolf Date: 2022-12-12 15:49:31 +0000 URL: https://git.openjdk.org/loom/commit/cf93933e21d146fe296b1e4b8e2ef06b699175d6 8298271: java/security/SignedJar/spi-calendar-provider/TestSPISigned.java failing on Windows Reviewed-by: mullan ! test/jdk/ProblemList.txt ! test/jdk/java/security/SignedJar/spi-calendar-provider/TestSPISigned.java Changeset: 0267aa52 Author: Naoto Sato Date: 2022-12-12 17:59:25 +0000 URL: https://git.openjdk.org/loom/commit/0267aa528b83be9914fee4bea8f548b8404b31f8 8297288: Example code in Scanner class Reviewed-by: lancea, bpb, alanb ! src/java.base/share/classes/java/util/Scanner.java Changeset: 8962c723 Author: Alexander Matveev Date: 2022-12-12 22:51:02 +0000 URL: https://git.openjdk.org/loom/commit/8962c723a8ae62a8638e9e0a89c20001aea1549a 8298488: [macos13] tools/jpackage tests failing with "Exit code: 137" on macOS Reviewed-by: asemenyuk ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageBuilder.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TKit.java ! test/jdk/tools/jpackage/share/AppContentTest.java Changeset: d4531903 Author: Coleen Phillimore Date: 2022-12-13 00:49:16 +0000 URL: https://git.openjdk.org/loom/commit/d4531903007dbe8dcdd163e423d23e8cefba61c8 8296955: Kitchensink.java failed with "double free or corruption (!prev): " Reviewed-by: kbarrett, eosterlund, sspitsyn, dcubed ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/method.hpp Changeset: 04b8d0cf Author: Coleen Phillimore Date: 2022-12-13 13:02:23 +0000 URL: https://git.openjdk.org/loom/commit/04b8d0cf5c964e16c583b66d9ab43a8c9a85fd72 8298084: Memory leak in Method::build_profiling_method_data Co-authored-by: Justin King Reviewed-by: kbarrett, eosterlund, dholmes, jcking, thartmann ! src/hotspot/share/memory/metadataFactory.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/methodData.cpp ! src/hotspot/share/oops/methodData.hpp Changeset: 23e18275 Author: Jesper Wilhelmsson Date: 2022-12-13 16:42:35 +0000 URL: https://git.openjdk.org/loom/commit/23e18275ac2a7297ba806a1835fabb7141949967 Merge ! test/jdk/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 68022770 Author: Ioi Lam Date: 2022-12-13 19:35:30 +0000 URL: https://git.openjdk.org/loom/commit/68022770dedb78f9e6d26c17d76ea6df2f17600b 8298524: Debug function to trace reachability of CDS archived heap objects Reviewed-by: ccheung ! src/hotspot/share/cds/cdsHeapVerifier.cpp ! src/hotspot/share/cds/cdsHeapVerifier.hpp Changeset: a120764c Author: Alex Menkov Date: 2022-12-13 19:49:16 +0000 URL: https://git.openjdk.org/loom/commit/a120764cc4636b3b0cd128d43de148bdc3f4513b 8298514: vmTestbase/nsk/jdi/EventRequestManager/threadDeathRequests/thrdeathreq002/TestDescription.java fails with usage tracker Reviewed-by: cjplummer, sspitsyn ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/threadDeathRequests/thrdeathreq002.java Changeset: 220781fa Author: Alex Menkov Date: 2022-12-13 19:50:09 +0000 URL: https://git.openjdk.org/loom/commit/220781fa56a9c8d3b64c5c6578ffd76b9edb795c 8298513: vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy009/TestDescription.java fails with usage tracker Reviewed-by: cjplummer, sspitsyn, lmesnik ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy009.java Changeset: b754aa5e Author: Stefan Karlsson Date: 2022-12-14 11:04:49 +0000 URL: https://git.openjdk.org/loom/commit/b754aa5e3f231aea8da5274c330dc55dd78b0f67 8298371: monitors_on_stack extracts unprocessed oops Reviewed-by: pchilanomate, rehn ! src/hotspot/share/runtime/continuationFreezeThaw.cpp Changeset: d32d6c02 Author: Matthijs Bijman Committer: Tobias Hartmann Date: 2022-12-14 11:30:34 +0000 URL: https://git.openjdk.org/loom/commit/d32d6c028de4aed8d1f1ef70734d43f056a0ff34 8297791: update _max_classes in node type system Reviewed-by: thartmann ! src/hotspot/share/opto/node.hpp Changeset: ceca4fc9 Author: Albert Mingkun Yang Date: 2022-12-14 12:45:17 +0000 URL: https://git.openjdk.org/loom/commit/ceca4fc9ec33808873a6e4f5d13619db455ce214 8298264: Merge OffsetTableContigSpace into TenuredSpace Reviewed-by: stefank, tschatzl ! src/hotspot/share/gc/serial/vmStructs_serial.hpp ! src/hotspot/share/gc/shared/space.cpp ! src/hotspot/share/gc/shared/space.hpp ! src/hotspot/share/gc/shared/space.inline.hpp - src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/OffsetTableContigSpace.java ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/TenuredSpace.java Changeset: 9ee50370 Author: Albert Mingkun Yang Date: 2022-12-14 12:46:15 +0000 URL: https://git.openjdk.org/loom/commit/9ee5037055a85a5d457a31392dc4ce1ca6c47768 8298636: Fix return value in WB_CountAliveClasses and WB_GetSymbolRefcount Reviewed-by: dholmes ! src/hotspot/share/prims/whitebox.cpp Changeset: 2e801e16 Author: Coleen Phillimore Date: 2022-12-14 12:47:08 +0000 URL: https://git.openjdk.org/loom/commit/2e801e16ec40ce0e25d8679e21d7da347c52d7be 8298475: Remove JVM_ACC_PROMOTED_FLAGS Reviewed-by: sspitsyn, dcubed, dholmes ! src/hotspot/share/classfile/classFileParser.cpp ! src/hotspot/share/classfile/classFileParser.hpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/instanceKlassMiscStatus.cpp ! src/hotspot/share/oops/instanceKlassMiscStatus.hpp ! src/hotspot/share/prims/jvmtiEnv.cpp ! src/hotspot/share/prims/jvmtiRedefineClasses.cpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/hotspot/share/utilities/accessFlags.hpp ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/ClassConstants.java Changeset: ed8a2120 Author: Stefan Karlsson Date: 2022-12-14 14:34:24 +0000 URL: https://git.openjdk.org/loom/commit/ed8a2120ca1e9756c6ab5eeebfe24c15d549f04e 8298376: ZGC: thaws stackChunk with stale oops Reviewed-by: eosterlund, pchilanomate ! src/hotspot/share/oops/stackChunkOop.hpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/runtime/continuationJavaClasses.hpp ! src/hotspot/share/runtime/continuationJavaClasses.inline.hpp Changeset: 0dce5b81 Author: Daniel Fuchs Date: 2022-12-14 16:39:32 +0000 URL: https://git.openjdk.org/loom/commit/0dce5b811d64ac17b9580d6a2d8eca1df70990a1 8296610: java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java failed with "BindException: Address already in use: connect" Reviewed-by: michaelm ! test/jdk/java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java ! test/jdk/java/net/HttpURLConnection/SetAuthenticator/HTTPTestClient.java Changeset: c05dbac3 Author: Alexander Zvegintsev Date: 2022-12-14 16:51:41 +0000 URL: https://git.openjdk.org/loom/commit/c05dbac3cbd8de3822191bcb5c34832c997bc4a9 8193547: Regression automated test '/open/test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.java' fails Reviewed-by: serb ! test/jdk/ProblemList.txt ! test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.java ! test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.sh Changeset: 736fcd49 Author: Emanuel Peter Date: 2022-12-14 17:25:49 +0000 URL: https://git.openjdk.org/loom/commit/736fcd49f7cd3aa6f226b2e088415eaf05f97ee8 8296318: use-def assert: special case undetected loops nested in infinite loops Reviewed-by: chagedorn, kvn ! src/hotspot/share/opto/block.cpp ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/cfgnode.hpp ! src/hotspot/share/opto/loopnode.cpp + test/hotspot/jtreg/compiler/loopopts/TestUndetectedLoopInInfiniteLoop.java Changeset: 7241e358 Author: Chris Plummer Date: 2022-12-14 17:53:11 +0000 URL: https://git.openjdk.org/loom/commit/7241e358bfbb004897b84da3c154d7bdd96cb560 8298692: Fix typos in test/jdk/com/sun/jdi files Reviewed-by: amenkov, sspitsyn ! test/jdk/com/sun/jdi/ArgumentValuesTest.java ! test/jdk/com/sun/jdi/connect/spi/GeneratedConnectors.java ! test/jdk/com/sun/jdi/lib/jdb/Jdb.java Changeset: 8ff2928a Author: Thomas Schatzl Date: 2022-12-14 17:55:15 +0000 URL: https://git.openjdk.org/loom/commit/8ff2928a04aeec8c09ff4a1ec4e83d4c9010950e 8297639: Remove preventive GCs in G1 Reviewed-by: ayang, iwalulya ! src/hotspot/share/gc/g1/g1AllocRegion.hpp ! src/hotspot/share/gc/g1/g1Allocator.cpp ! src/hotspot/share/gc/g1/g1Allocator.hpp ! src/hotspot/share/gc/g1/g1Allocator.inline.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectionSet.cpp ! src/hotspot/share/gc/g1/g1CollectionSet.hpp ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp ! src/hotspot/share/gc/g1/g1VMOperations.cpp ! src/hotspot/share/gc/g1/g1VMOperations.hpp ! src/hotspot/share/gc/shared/gcCause.cpp ! src/hotspot/share/gc/shared/gcCause.hpp ! test/hotspot/jtreg/gc/g1/TestEvacuationFailure.java ! test/hotspot/jtreg/gc/g1/TestGCLogMessages.java ! test/hotspot/jtreg/gc/g1/TestVerifyGCType.java From ron.pressler at oracle.com Thu Dec 15 10:33:53 2022 From: ron.pressler at oracle.com (Ron Pressler) Date: Thu, 15 Dec 2022 10:33:53 +0000 Subject: Introduction In-Reply-To: References: Message-ID: <455CBA07-74B0-49E5-A0C9-4B6A018AC06F@oracle.com> Hi Manish, and welcome! The best way to start contributing is to use the Preview and Incubating features ? virtual threads, structured concurrency, and scoped values ? and report on your experience, both positive and negative, to this mailing list. ? Ron > On 11 Dec 2022, at 03:36, Manish G wrote: > > Hello All, > > I am Manish, a Java programmer from India. > > I have just joined this mailing list, and I am looking to explore the project and contribute in my capacity. > > Any inputs and leads are welcome. > > With regards > Manish From manish.c.ghildiyal at gmail.com Thu Dec 15 10:56:26 2022 From: manish.c.ghildiyal at gmail.com (Manish G) Date: Thu, 15 Dec 2022 16:26:26 +0530 Subject: Introduction In-Reply-To: <455CBA07-74B0-49E5-A0C9-4B6A018AC06F@oracle.com> References: <455CBA07-74B0-49E5-A0C9-4B6A018AC06F@oracle.com> Message-ID: Hi, thanks for input. I would look into what you suggested. Manish On Thu, Dec 15, 2022 at 4:04 PM Ron Pressler wrote: > Hi Manish, and welcome! > > The best way to start contributing is to use the Preview and Incubating > features ? virtual threads, structured concurrency, and scoped values ? and > report on your experience, both positive and negative, to this mailing list. > > ? Ron > > > On 11 Dec 2022, at 03:36, Manish G wrote: > > > > Hello All, > > > > I am Manish, a Java programmer from India. > > > > I have just joined this mailing list, and I am looking to explore the > project and contribute in my capacity. > > > > Any inputs and leads are welcome. > > > > With regards > > Manish > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From duke at openjdk.org Mon Dec 19 20:27:48 2022 From: duke at openjdk.org (duke) Date: Mon, 19 Dec 2022 20:27:48 GMT Subject: git: openjdk/loom: fibers: MW updated to ignore security Message-ID: Changeset: a2612569 Author: Leonid Mesnik Date: 2022-12-19 20:24:29 +0000 URL: https://git.openjdk.org/loom/commit/a26125698531e52c20e79db1fdecd432a1dfe016 MW updated to ignore security ! test/jtreg_main_wrapper/src/share/classes/Virtual.java From robin.bygrave at gmail.com Mon Dec 19 21:51:29 2022 From: robin.bygrave at gmail.com (Rob Bygrave) Date: Tue, 20 Dec 2022 10:51:29 +1300 Subject: Fast graceful shutdown of ThreadPerTaskExecutor (when expected WAITING Threads) Message-ID: I have been looking at the shutdown process of Helidon Nima web server which makes use of: Executors.newThreadPerTaskExecutor(Thread.ofVirtual() .allowSetThreadLocals(true) .inheritInheritableThreadLocals(false) .factory()); Firstly, there is no issue with Nima web server shutdown when using HTTP 1.0 no keepalive. The virtual threads for this case live for the length of a single request/response only. Where I am hitting a question/issue is with Nima web server shutdown when using HTTP 1.1 keepalive true (and there is at least 1 connection being kept alive). What happens with HTTP 1.1 with keepalive true is that there is 1 virtual thread per connection (slight simplification). After the request/response has been processed the virtual thread then looks to read the next request. When there are no more requests coming into the web server we see this thread is WAITING looking to read the first part of the next request. The thread is WAITING "while reading the prologue" here: https://github.com/helidon-io/helidon/blob/main/nima/webserver/webserver/src/main/java/io/helidon/nima/webserver/http1/Http1Connection.java#L115 Conceptually when the Nima web server is "idle" we expect to be able to shutdown the web server gracefully (allowing for active requests to complete) and quickly. In this "idle" state with HTTP 1.1 keepalive connections the ThreadPerTaskExecutor contains alive threads that are in WAITING state while "reading the prologue of the next request". Currently the webserver.stop() ends up as the usual: executorService.shutdown(); if (!executorService.awaitTermination(...)) { executorService.shutdownNow() } Where the executorService in question is ThreadPerTaskExecutor. The above shutdown does not execute in a timely manner based on the timeout used for executorService.awaitTermination(...) - for example if this timeout is 10 seconds we get a pretty slow shutdown on a conceptually idle web server. *Some thoughts* An approach would be as part of [ThreadPerTaskExecutor].shutdown() to firstly look to interrupt threads that are state == WAITING && some-application-specific-logic-that-says-the-task-is-interruptible (which for Nima is that the task is readPrologue() at Http1Connection.java#L115). e.g. Perhaps have a interface InterruptableTask extends Runnable ... and on shutdown() firstly iterate the active threads that are WAITING and if their tasks are InterruptableTask and application-specific-logic-that-says-the-task-is-interruptible true then interrupt that thread. I note there is some non-public API like Stream threads() which applications can't use (at least yet). My current hacking around with this shutdown in Helidon hasn't given me any elegant solutions in application logic in that we need to now have the application additionally hold the Runnable tasks (which is not ideal in the http 1.0 no keepalive case). Does anyone have some thoughts or suggestions on this? I have raised this as an issue in Helidon as: https://github.com/helidon-io/helidon/issues/5717 with a related PR with failing tests. I'm raising this here because my current thought is that an elegant solution might be with ThreadPerTaskExecutor on shutdown or some exposure of the waiting threads accessible to application code. Thanks, Rob. -------------- next part -------------- An HTML attachment was scrubbed... URL: From duke at openjdk.org Mon Dec 19 23:48:22 2022 From: duke at openjdk.org (duke) Date: Mon, 19 Dec 2022 23:48:22 GMT Subject: git: openjdk/loom: fibers: more tests excluded in vthread list. Message-ID: <0612e382-a441-4795-a96a-105e6f66a666@openjdk.org> Changeset: 7587eb7c Author: Leonid Mesnik Date: 2022-12-19 23:46:32 +0000 URL: https://git.openjdk.org/loom/commit/7587eb7c10a927788659e86b713628e45581a5fd more tests excluded in vthread list. ! test/jdk/ProblemList-vthread.txt From jens.lidestrom at fripost.org Tue Dec 20 13:54:13 2022 From: jens.lidestrom at fripost.org (=?UTF-8?Q?Jens_Lidestr=c3=b6m?=) Date: Tue, 20 Dec 2022 14:54:13 +0100 Subject: Fast graceful shutdown of ThreadPerTaskExecutor (when expected WAITING Threads) In-Reply-To: References: Message-ID: Hello, Random passer-by here. I don't think this has anything to do with Loom and virtual threads. The way to interrupt sockets has always been to close them. Then blocking methods will throw an exception. See this, for example: https://stackoverflow.com/questions/4425350/how-to-terminate-a-thread-blocking-on-socket-io-operation-instantly Nima seems to do that for the server socket, but it FIRST waits for the ExecutorService to shutdown: https://github.com/helidon-io/helidon/blob/main/nima/webserver/webserver/src/main/java/io/helidon/nima/webserver/ServerListener.java#L137 I think Nima should close the socket FIRST, then shutdown the ExecutorService. (I have not checked how Nima handles the client sockets. They should be treated in the same way.) Having written the above it strikes me that maybe you aware of this already? Maybe you are suggesting the addition of some new kind of application independent interruption mechanism that are honoured by InputStreams from Sockets? I don't think this is related to Loop, either. Best regards, Jens Lidestr?m On 2022-12-19 22:51, Rob Bygrave wrote: > I have been looking at the shutdown process of Helidon Nima web server which makes use of: > > Executors.newThreadPerTaskExecutor(Thread.ofVirtual() > ? .allowSetThreadLocals(true) > ? .inheritInheritableThreadLocals(false) > ? .factory()); > > Firstly, there is no issue with Nima web server shutdown when using HTTP 1.0 no keepalive. The virtual threads for this case live for the length of a single request/response only. > > Where I am hitting a question/issue is with Nima web server shutdown when using HTTP 1.1 keepalive true (and there is at least 1 connection being kept alive). What happens with HTTP 1.1 with keepalive true is that there is 1 virtual thread per connection (slight simplification). After the request/response has been processed the virtual thread then looks to read the next request. When there are no more requests coming into the web server we see this thread is WAITING looking to read the first part of the next request. > > The thread is WAITING "while reading the prologue" here: > https://github.com/helidon-io/helidon/blob/main/nima/webserver/webserver/src/main/java/io/helidon/nima/webserver/http1/Http1Connection.java#L115 > > Conceptually when the Nima web server is "idle" we expect to be able to shutdown the web server gracefully (allowing for active requests to complete) and quickly. In this "idle" state with HTTP 1.1 keepalive connections the ThreadPerTaskExecutor contains alive threads that are in WAITING state while "reading the prologue of the next request". > > Currently the webserver.stop() ends up as the usual: > > executorService.shutdown(); > if (!executorService.awaitTermination(...)) { > ? executorService.shutdownNow() > } > > Where the executorService in question is ThreadPerTaskExecutor. The above shutdown does not execute in a timely manner based on the timeout used for executorService.awaitTermination(...) - for example if this timeout is 10 seconds we get a pretty slow shutdown on a conceptually idle web server. > > > *Some thoughts* > An approach would be as part of [ThreadPerTaskExecutor].shutdown() to firstly look to interrupt threads that are state == WAITING && some-application-specific-logic-that-says-the-task-is-interruptible (which for Nima is that the task is readPrologue() at Http1Connection.java#L115). > > e.g. Perhaps have a interface InterruptableTask extends Runnable ... and on shutdown() firstly iterate the active threads that are WAITING and if their tasks are InterruptableTask and application-specific-logic-that-says-the-task-is-interruptible true then interrupt that thread. > > I note there is some non-public API like Stream threads() which applications can't use (at least yet). My current hacking around with this shutdown in Helidon hasn't given me any elegant solutions in application logic in that we need to now have the application additionally hold the Runnable tasks (which is not ideal in the http 1.0 no keepalive case). > > > Does anyone have some thoughts or suggestions on this? > > > I have raised this as an issue in Helidon as: https://github.com/helidon-io/helidon/issues/5717 > with a related PR with failing tests. I'm raising this here because my current thought is that an elegant solution might be with ThreadPerTaskExecutor on shutdown or some exposure of the waiting threads accessible to application code. > > > Thanks, Rob. > From robin.bygrave at gmail.com Tue Dec 20 21:01:21 2022 From: robin.bygrave at gmail.com (Rob Bygrave) Date: Wed, 21 Dec 2022 10:01:21 +1300 Subject: Fast graceful shutdown of ThreadPerTaskExecutor (when expected WAITING Threads) In-Reply-To: References: Message-ID: *> The way to interrupt sockets has always been to close them* We are looking to achieve "Graceful shutdown" which means it allows in-flight requests to complete before shutting down. We don't want to just nuke em or said differently, it is the job of executorService.awaitTermination(...) executorService.shutdownNow() to nuke anything still active after the timeout. ... yes we want to interrupt Virtual Threads that are WAITING and known to be *not in-flight* *BEFORE* executorService.awaitTermination(...) *> anything to do with Loom and virtual threads.* Maybe. There are a few things that make me ask though and I'm in particular looking at ThreadPerTaskExecutor. One is that all the existing Java http servers that I know of use NIO (as you would expect) and specifically that means "getting the next request" for http 1.1 keepalive true is an *event* where as with Virtual Threads and Nima "getting the next request" is a Virtual Thread blocking on IO waiting for those next bytes to arrive (which to me is the "new normal" approach that Virtual Threads brings). That is, with Virtual Threads I am guessing that it's potentially a "new normal" pattern where we are looking to shutdown gracefully a ThreadPerTaskExecutor which is holding active Virtual Threads that are blocking waiting on IO (but not yet deemed in-flight). I'm suggesting that ThreadPerTaskExecutor currently does not make it nice / easy / friendly to shutdown gracefully allowing for in-flight requests. I see ThreadPerTaskExecutor.shutdownNow() always returns an empty list of Runnable (this is too late in the shutdown process anyway so not useful per say but we are trying to access the Stream). I see the internal ThreadContainer and the internal Stream threads() method but I don't see anything available to application code to assist the shutdown of a ThreadPerTaskExecutor for this case which I feel might become a common pattern going forward. Cheers, Rob. On Wed, 21 Dec 2022 at 05:38, Jens Lidestr?m wrote: > Hello, > > Random passer-by here. > > I don't think this has anything to do with Loom and virtual threads. > > The way to interrupt sockets has always been to close them. Then blocking > methods will throw an exception. > > See this, for example: > https://stackoverflow.com/questions/4425350/how-to-terminate-a-thread-blocking-on-socket-io-operation-instantly > > Nima seems to do that for the server socket, but it FIRST waits for the > ExecutorService to shutdown: > > > https://github.com/helidon-io/helidon/blob/main/nima/webserver/webserver/src/main/java/io/helidon/nima/webserver/ServerListener.java#L137 > > I think Nima should close the socket FIRST, then shutdown the > ExecutorService. > > (I have not checked how Nima handles the client sockets. They should be > treated in the same way.) > > Having written the above it strikes me that maybe you aware of this > already? Maybe you are suggesting the addition of some new kind of > application independent interruption mechanism that are honoured by > InputStreams from Sockets? I don't think this is related to Loop, either. > > Best regards, > Jens Lidestr?m > > > On 2022-12-19 22:51, Rob Bygrave wrote: > > I have been looking at the shutdown process of Helidon Nima web server > which makes use of: > > > > Executors.newThreadPerTaskExecutor(Thread.ofVirtual() > > .allowSetThreadLocals(true) > > .inheritInheritableThreadLocals(false) > > .factory()); > > > > Firstly, there is no issue with Nima web server shutdown when using HTTP > 1.0 no keepalive. The virtual threads for this case live for the length of > a single request/response only. > > > > Where I am hitting a question/issue is with Nima web server shutdown > when using HTTP 1.1 keepalive true (and there is at least 1 connection > being kept alive). What happens with HTTP 1.1 with keepalive true is that > there is 1 virtual thread per connection (slight simplification). After the > request/response has been processed the virtual thread then looks to read > the next request. When there are no more requests coming into the web > server we see this thread is WAITING looking to read the first part of the > next request. > > > > The thread is WAITING "while reading the prologue" here: > > > https://github.com/helidon-io/helidon/blob/main/nima/webserver/webserver/src/main/java/io/helidon/nima/webserver/http1/Http1Connection.java#L115 > < > https://github.com/helidon-io/helidon/blob/main/nima/webserver/webserver/src/main/java/io/helidon/nima/webserver/http1/Http1Connection.java#L115 > > > > > > Conceptually when the Nima web server is "idle" we expect to be able to > shutdown the web server gracefully (allowing for active requests to > complete) and quickly. In this "idle" state with HTTP 1.1 keepalive > connections the ThreadPerTaskExecutor contains alive threads that are in > WAITING state while "reading the prologue of the next request". > > > > Currently the webserver.stop() ends up as the usual: > > > > executorService.shutdown(); > > if (!executorService.awaitTermination(...)) { > > executorService.shutdownNow() > > } > > > > Where the executorService in question is ThreadPerTaskExecutor. The > above shutdown does not execute in a timely manner based on the timeout > used for executorService.awaitTermination(...) - for example if this > timeout is 10 seconds we get a pretty slow shutdown on a conceptually idle > web server. > > > > > > *Some thoughts* > > An approach would be as part of [ThreadPerTaskExecutor].shutdown() to > firstly look to interrupt threads that are state == WAITING && > some-application-specific-logic-that-says-the-task-is-interruptible (which > for Nima is that the task is readPrologue() at Http1Connection.java#L115). > > > > e.g. Perhaps have a interface InterruptableTask extends Runnable ... and > on shutdown() firstly iterate the active threads that are WAITING and if > their tasks are InterruptableTask and > application-specific-logic-that-says-the-task-is-interruptible true then > interrupt that thread. > > > > I note there is some non-public API like Stream threads() which > applications can't use (at least yet). My current hacking around with this > shutdown in Helidon hasn't given me any elegant solutions in application > logic in that we need to now have the application additionally hold the > Runnable tasks (which is not ideal in the http 1.0 no keepalive case). > > > > > > Does anyone have some thoughts or suggestions on this? > > > > > > I have raised this as an issue in Helidon as: > https://github.com/helidon-io/helidon/issues/5717 < > https://github.com/helidon-io/helidon/issues/5717> > > with a related PR with failing tests. I'm raising this here because my > current thought is that an elegant solution might be with > ThreadPerTaskExecutor on shutdown or some exposure of the waiting threads > accessible to application code. > > > > > > Thanks, Rob. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at kolotyluk.net Tue Dec 20 21:09:40 2022 From: eric at kolotyluk.net (Eric Kolotyluk) Date: Tue, 20 Dec 2022 13:09:40 -0800 Subject: Fast graceful shutdown of ThreadPerTaskExecutor (when expected WAITING Threads) In-Reply-To: References: Message-ID: <1f72cd12-0dc8-67d7-ae71-2a2b260db2ec@kolotyluk.net> As another curious casual observer, who has been playing with Nima... Rob, why are you not using StructuredTaskScope instead of Executors.newThreadPerTaskExecutor? Basically, is there something you know that I don't know? Cheers, Eric On 2022-12-20 1:01 p.m., Rob Bygrave wrote: > /> The way to interrupt sockets has always been to close them/ > > We are looking to achieve "Graceful shutdown" which means it allows > in-flight requests to complete before shutting down.? We don't want to > just nuke em or said differently, it is the job of > executorService.awaitTermination(...) executorService.shutdownNow() to > nuke anything still active after the timeout. > > ... yes we want to interrupt Virtual Threads that are WAITING and > known to be /*not in-flight*/ /*BEFORE*/ > executorService.awaitTermination(...) > > > /> anything to do with Loom and virtual threads./ > > Maybe. There are a few things that make me ask though and I'm in > particular looking at ThreadPerTaskExecutor. One is that all the > existing Java http servers that I know of use NIO (as you would > expect) and specifically that means "getting the next request" for > http 1.1 keepalive true is an /*event*/ where as with Virtual Threads > and Nima "getting the next request" is a Virtual Thread blocking on IO > waiting for those next bytes to arrive (which to me is the "new > normal" approach that Virtual Threads brings). > > That is, with Virtual Threads I am guessing that it's potentially a > "new normal" pattern where we are looking to shutdown gracefully a > ThreadPerTaskExecutor which is holding active Virtual Threads that are > blocking waiting on IO (but not yet deemed in-flight).? I'm suggesting > that ThreadPerTaskExecutor currently does not make it nice / easy / > friendly to shutdown gracefully allowing for in-flight requests. > > I see ThreadPerTaskExecutor.shutdownNow() always returns an empty list > of Runnable (this is too late in the shutdown process anyway so not > useful per say but we are trying to access the Stream). I > see the internal ThreadContainer and the internal Stream > threads() method but I don't see anything available to application > code to assist the shutdown of a ThreadPerTaskExecutor for this case > which I feel might become a common pattern going forward. > > > > Cheers, Rob. > > > On Wed, 21 Dec 2022 at 05:38, Jens Lidestr?m > wrote: > > Hello, > > Random passer-by here. > > I don't think this has anything to do with Loom and virtual threads. > > The way to interrupt sockets has always been to close them. Then > blocking methods will throw an exception. > > See this, for example: > https://stackoverflow.com/questions/4425350/how-to-terminate-a-thread-blocking-on-socket-io-operation-instantly > > Nima seems to do that for the server socket, but it FIRST waits > for the ExecutorService to shutdown: > > https://github.com/helidon-io/helidon/blob/main/nima/webserver/webserver/src/main/java/io/helidon/nima/webserver/ServerListener.java#L137 > > I think Nima should close the socket FIRST, then shutdown the > ExecutorService. > > (I have not checked how Nima handles the client sockets. They > should be treated in the same way.) > > Having written the above it strikes me that maybe you aware of > this already? Maybe you are suggesting the addition of some new > kind of application independent interruption mechanism that are > honoured by InputStreams from Sockets? I don't think this is > related to Loop, either. > > Best regards, > Jens Lidestr?m > > > On 2022-12-19 22:51, Rob Bygrave wrote: > > I have been looking at the shutdown process of Helidon Nima web > server which makes use of: > > > > Executors.newThreadPerTaskExecutor(Thread.ofVirtual() > >? ? .allowSetThreadLocals(true) > >? ? .inheritInheritableThreadLocals(false) > >? ? .factory()); > > > > Firstly, there is no issue with Nima web server shutdown when > using HTTP 1.0 no keepalive. The virtual threads for this case > live for the length of a single request/response only. > > > > Where I am hitting a question/issue is with Nima web server > shutdown when using HTTP 1.1 keepalive true (and there is at least > 1 connection being kept alive). What happens with HTTP 1.1 with > keepalive true is that there is 1 virtual thread per connection > (slight simplification). After the request/response has been > processed the virtual thread then looks to read the next request. > When there are no more requests coming into the web server we see > this thread is WAITING looking to read the first part of the next > request. > > > > The thread is WAITING "while reading the prologue" here: > > > https://github.com/helidon-io/helidon/blob/main/nima/webserver/webserver/src/main/java/io/helidon/nima/webserver/http1/Http1Connection.java#L115 > > > > > Conceptually when the Nima web server is "idle" we expect to be > able to shutdown the web server gracefully (allowing for active > requests to complete) and quickly. In this "idle" state with HTTP > 1.1 keepalive connections the ThreadPerTaskExecutor contains alive > threads that are in WAITING state while "reading the prologue of > the next request". > > > > Currently the webserver.stop() ends up as the usual: > > > > executorService.shutdown(); > > if (!executorService.awaitTermination(...)) { > >? ? executorService.shutdownNow() > > } > > > > Where the executorService in question is ThreadPerTaskExecutor. > The above shutdown does not execute in a timely manner based on > the timeout used for executorService.awaitTermination(...) - for > example if this timeout is 10 seconds we get a pretty slow > shutdown on a conceptually idle web server. > > > > > > *Some thoughts* > > An approach would be as part of > [ThreadPerTaskExecutor].shutdown() to firstly look to interrupt > threads that are state == WAITING && > some-application-specific-logic-that-says-the-task-is-interruptible > (which for Nima is that the task is readPrologue() at > Http1Connection.java#L115). > > > > e.g. Perhaps have a interface InterruptableTask extends Runnable > ... and on shutdown() firstly iterate the active threads that are > WAITING and if their tasks are InterruptableTask and > application-specific-logic-that-says-the-task-is-interruptible > true then interrupt that thread. > > > > I note there is some non-public API like Stream > threads() which applications can't use (at least yet). My current > hacking around with this shutdown in Helidon hasn't given me any > elegant solutions in application logic in that we need to now have > the application additionally hold the Runnable tasks (which is not > ideal in the http 1.0 no keepalive case). > > > > > > Does anyone have some thoughts or suggestions on this? > > > > > > I have raised this as an issue in Helidon as: > https://github.com/helidon-io/helidon/issues/5717 > > > with a related PR with failing tests. I'm raising this here > because my current thought is that an elegant solution might be > with ThreadPerTaskExecutor on shutdown or some exposure of the > waiting threads accessible to application code. > > > > > > Thanks, Rob. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From robin.bygrave at gmail.com Tue Dec 20 22:51:50 2022 From: robin.bygrave at gmail.com (Rob Bygrave) Date: Wed, 21 Dec 2022 11:51:50 +1300 Subject: Fast graceful shutdown of ThreadPerTaskExecutor (when expected WAITING Threads) In-Reply-To: <1f72cd12-0dc8-67d7-ae71-2a2b260db2ec@kolotyluk.net> References: <1f72cd12-0dc8-67d7-ae71-2a2b260db2ec@kolotyluk.net> Message-ID: *> Rob, why are you not using StructuredTaskScope instead of Executors.newThreadPerTaskExecutor?* I'm not in the Helidon team nor do I work for Oracle so I'm not the correct person to ask. I have seen commented out *StructuredTaskScope *code in Nima though so there is possibly a commit comment to find. I suspect it's just the case that Nima is building against the released JDK that does not include *StructuredTaskScope* yet? *> Basically, is there something you know that I don't know?* Unlikely :) To me the use of *Executors.newThreadPerTaskExecutor *does look appropriate (with just this issue around graceful shutdown which is important to me due to how it impacts Nima running in Kubernetes) *.* *> who has been playing with Nima* I don't really want to side track this topic too much. I'll add my Nima comments afterwards. Cheers, Rob. On Wed, 21 Dec 2022 at 10:10, Eric Kolotyluk wrote: > As another curious casual observer, who has been playing with Nima... > > Rob, why are you not using StructuredTaskScope instead of > Executors.newThreadPerTaskExecutor? > > Basically, is there something you know that I don't know? > > Cheers, Eric > On 2022-12-20 1:01 p.m., Rob Bygrave wrote: > > *> The way to interrupt sockets has always been to close them* > > We are looking to achieve "Graceful shutdown" which means it allows > in-flight requests to complete before shutting down. We don't want to just > nuke em or said differently, it is the job of > executorService.awaitTermination(...) executorService.shutdownNow() to nuke > anything still active after the timeout. > > ... yes we want to interrupt Virtual Threads that are WAITING and known to > be *not in-flight* *BEFORE* executorService.awaitTermination(...) > > > *> anything to do with Loom and virtual threads.* > > Maybe. There are a few things that make me ask though and I'm in > particular looking at ThreadPerTaskExecutor. One is that all the existing > Java http servers that I know of use NIO (as you would expect) and > specifically that means "getting the next request" for http 1.1 keepalive > true is an *event* where as with Virtual Threads and Nima "getting the > next request" is a Virtual Thread blocking on IO waiting for those next > bytes to arrive (which to me is the "new normal" approach that Virtual > Threads brings). > > That is, with Virtual Threads I am guessing that it's potentially a "new > normal" pattern where we are looking to shutdown gracefully a > ThreadPerTaskExecutor which is holding active Virtual Threads that are > blocking waiting on IO (but not yet deemed in-flight). I'm suggesting that > ThreadPerTaskExecutor currently does not make it nice / easy / friendly to > shutdown gracefully allowing for in-flight requests. > > I see ThreadPerTaskExecutor.shutdownNow() always returns an empty list of > Runnable (this is too late in the shutdown process anyway so not useful per > say but we are trying to access the Stream). I see the internal > ThreadContainer and the internal Stream threads() method but I > don't see anything available to application code to assist the shutdown of > a ThreadPerTaskExecutor for this case which I feel might become a common > pattern going forward. > > > > Cheers, Rob. > > > On Wed, 21 Dec 2022 at 05:38, Jens Lidestr?m > wrote: > >> Hello, >> >> Random passer-by here. >> >> I don't think this has anything to do with Loom and virtual threads. >> >> The way to interrupt sockets has always been to close them. Then blocking >> methods will throw an exception. >> >> See this, for example: >> https://stackoverflow.com/questions/4425350/how-to-terminate-a-thread-blocking-on-socket-io-operation-instantly >> >> Nima seems to do that for the server socket, but it FIRST waits for the >> ExecutorService to shutdown: >> >> >> https://github.com/helidon-io/helidon/blob/main/nima/webserver/webserver/src/main/java/io/helidon/nima/webserver/ServerListener.java#L137 >> >> I think Nima should close the socket FIRST, then shutdown the >> ExecutorService. >> >> (I have not checked how Nima handles the client sockets. They should be >> treated in the same way.) >> >> Having written the above it strikes me that maybe you aware of this >> already? Maybe you are suggesting the addition of some new kind of >> application independent interruption mechanism that are honoured by >> InputStreams from Sockets? I don't think this is related to Loop, either. >> >> Best regards, >> Jens Lidestr?m >> >> >> On 2022-12-19 22:51, Rob Bygrave wrote: >> > I have been looking at the shutdown process of Helidon Nima web server >> which makes use of: >> > >> > Executors.newThreadPerTaskExecutor(Thread.ofVirtual() >> > .allowSetThreadLocals(true) >> > .inheritInheritableThreadLocals(false) >> > .factory()); >> > >> > Firstly, there is no issue with Nima web server shutdown when using >> HTTP 1.0 no keepalive. The virtual threads for this case live for the >> length of a single request/response only. >> > >> > Where I am hitting a question/issue is with Nima web server shutdown >> when using HTTP 1.1 keepalive true (and there is at least 1 connection >> being kept alive). What happens with HTTP 1.1 with keepalive true is that >> there is 1 virtual thread per connection (slight simplification). After the >> request/response has been processed the virtual thread then looks to read >> the next request. When there are no more requests coming into the web >> server we see this thread is WAITING looking to read the first part of the >> next request. >> > >> > The thread is WAITING "while reading the prologue" here: >> > >> https://github.com/helidon-io/helidon/blob/main/nima/webserver/webserver/src/main/java/io/helidon/nima/webserver/http1/Http1Connection.java#L115 >> < >> https://github.com/helidon-io/helidon/blob/main/nima/webserver/webserver/src/main/java/io/helidon/nima/webserver/http1/Http1Connection.java#L115 >> > >> > >> > Conceptually when the Nima web server is "idle" we expect to be able to >> shutdown the web server gracefully (allowing for active requests to >> complete) and quickly. In this "idle" state with HTTP 1.1 keepalive >> connections the ThreadPerTaskExecutor contains alive threads that are in >> WAITING state while "reading the prologue of the next request". >> > >> > Currently the webserver.stop() ends up as the usual: >> > >> > executorService.shutdown(); >> > if (!executorService.awaitTermination(...)) { >> > executorService.shutdownNow() >> > } >> > >> > Where the executorService in question is ThreadPerTaskExecutor. The >> above shutdown does not execute in a timely manner based on the timeout >> used for executorService.awaitTermination(...) - for example if this >> timeout is 10 seconds we get a pretty slow shutdown on a conceptually idle >> web server. >> > >> > >> > *Some thoughts* >> > An approach would be as part of [ThreadPerTaskExecutor].shutdown() to >> firstly look to interrupt threads that are state == WAITING && >> some-application-specific-logic-that-says-the-task-is-interruptible (which >> for Nima is that the task is readPrologue() at Http1Connection.java#L115). >> > >> > e.g. Perhaps have a interface InterruptableTask extends Runnable ... >> and on shutdown() firstly iterate the active threads that are WAITING and >> if their tasks are InterruptableTask and >> application-specific-logic-that-says-the-task-is-interruptible true then >> interrupt that thread. >> > >> > I note there is some non-public API like Stream threads() which >> applications can't use (at least yet). My current hacking around with this >> shutdown in Helidon hasn't given me any elegant solutions in application >> logic in that we need to now have the application additionally hold the >> Runnable tasks (which is not ideal in the http 1.0 no keepalive case). >> > >> > >> > Does anyone have some thoughts or suggestions on this? >> > >> > >> > I have raised this as an issue in Helidon as: >> https://github.com/helidon-io/helidon/issues/5717 < >> https://github.com/helidon-io/helidon/issues/5717> >> > with a related PR with failing tests. I'm raising this here because my >> current thought is that an elegant solution might be with >> ThreadPerTaskExecutor on shutdown or some exposure of the waiting threads >> accessible to application code. >> > >> > >> > Thanks, Rob. >> > >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arnaud.masson at fr.ibm.com Wed Dec 21 14:58:09 2022 From: arnaud.masson at fr.ibm.com (Arnaud Masson) Date: Wed, 21 Dec 2022 14:58:09 +0000 Subject: Fast graceful shutdown of ThreadPerTaskExecutor (when expected WAITING Threads) In-Reply-To: References: Message-ID: > The way to interrupt sockets has always been to close them. Then blocking methods will throw an exception. I didn?t test but I was hoping that ?JEP 353: Reimplement the Legacy Socket API? made classic socket API interruptible (like NIO) . This would make socket API so much more consistent with other blocking stuff. Arnaud Unless otherwise stated above: Compagnie IBM France Si?ge Social : 17, avenue de l'Europe, 92275 Bois-Colombes Cedex RCS Nanterre 552 118 465 Forme Sociale : S.A.S. Capital Social : 664 069 390,60 ? SIRET : 552 118 465 03644 - Code NAF 6203Z -------------- next part -------------- An HTML attachment was scrubbed... URL: From robin.bygrave at gmail.com Wed Dec 21 22:22:44 2022 From: robin.bygrave at gmail.com (Rob Bygrave) Date: Thu, 22 Dec 2022 11:22:44 +1300 Subject: Fast graceful shutdown of ThreadPerTaskExecutor (when expected WAITING Threads) In-Reply-To: References: Message-ID: A "solution / fix" to this issue that modifies the internals of *java.util.concurrent.ThreadPerTaskExector* is to: *1) Add a new interface InterruptableTask* public interface InterruptableTask { /** * Return true if this is a task that is deemed to be in an idle state that can be interrupted. */ boolean canInterrupt(); } *2) Modify java.util.concurrent.ThreadPerTaskExector by:* *2i)* Changing the threads field from storing just Thread to additionally storing the associated task (Runnable or Callable) // instead of ... private final Set threads = ConcurrentHashMap.newKeySet(); // use a Map with values being the tasks (Runnable or Callable) private final Map threadTasks = new ConcurrentHashMap<>(); *2ii)* Add a new internal method tryStopInterruptableTask(): private void tryStopInterruptableTask() { threadTasks.entrySet().stream() .filter(entry -> entry.getKey().isAlive()) // Thread isAlive .filter(entry -> entry.getKey().getState() == Thread.State.WAITING) // Thread WAITING state .forEach(entry -> { if (entry.getValue() instanceof InterruptableTask task) { if (task.canInterrupt()) { // application deems this task to NOT be in-flight (e.g. not IO waiting on database response) entry.getKey().interrupt(); } } }); } *2 iii)* Call this method as part of shutdown() (or perhaps the internal tryShutdownAndTerminate()) With these changes, then the Nima specific ConnectionHandler just needs to implement InterruptableTask and then the usual shutdown of the ExecutorService operates nicely. executor.shutdown(); if (!executor.awaitTermination(gracefulShutdownMillis, TimeUnit.MILLISECONDS)) { List running = executor.shutdownNow(); if (!running.isEmpty()) { LOGGER.log(INFO, running.size() + " channel tasks did not terminate gracefully"); } } Cheers, Rob. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ron.pressler at oracle.com Thu Dec 22 14:29:25 2022 From: ron.pressler at oracle.com (Ron Pressler) Date: Thu, 22 Dec 2022 14:29:25 +0000 Subject: Fast graceful shutdown of ThreadPerTaskExecutor (when expected WAITING Threads) In-Reply-To: References: Message-ID: <963D295D-035A-4903-A859-6EB46EB51647@oracle.com> I am not familiar with Helidon?s internals or with the details of the particular issue, but you can separate the ?idle? and ?busy? threads by spawning them in different ExecutorServices. For example, threads that wait an accept new requests are spawned in one ES and they, in turn, spawn a ?request processing? thread in another. To shut down the server you will then forcefully shut down the first ES, stopping new requests from being accepted, and gracefully shut down the second, giving the requests some time to finish. ? Ron On 21 Dec 2022, at 22:22, Rob Bygrave > wrote: A "solution / fix" to this issue that modifies the internals of java.util.concurrent.ThreadPerTaskExector is to: 1) Add a new interface InterruptableTask public interface InterruptableTask { /** * Return true if this is a task that is deemed to be in an idle state that can be interrupted. */ boolean canInterrupt(); } 2) Modify java.util.concurrent.ThreadPerTaskExector by: 2i) Changing the threads field from storing just Thread to additionally storing the associated task (Runnable or Callable) // instead of ... private final Set threads = ConcurrentHashMap.newKeySet(); // use a Map with values being the tasks (Runnable or Callable) private final Map threadTasks = new ConcurrentHashMap<>(); 2ii) Add a new internal method tryStopInterruptableTask(): private void tryStopInterruptableTask() { threadTasks.entrySet().stream() .filter(entry -> entry.getKey().isAlive()) // Thread isAlive .filter(entry -> entry.getKey().getState() == Thread.State.WAITING) // Thread WAITING state .forEach(entry -> { if (entry.getValue() instanceof InterruptableTask task) { if (task.canInterrupt()) { // application deems this task to NOT be in-flight (e.g. not IO waiting on database response) entry.getKey().interrupt(); } } }); } 2 iii) Call this method as part of shutdown() (or perhaps the internal tryShutdownAndTerminate()) With these changes, then the Nima specific ConnectionHandler just needs to implement InterruptableTask and then the usual shutdown of the ExecutorService operates nicely. executor.shutdown(); if (!executor.awaitTermination(gracefulShutdownMillis, TimeUnit.MILLISECONDS)) { List running = executor.shutdownNow(); if (!running.isEmpty()) { LOGGER.log(INFO, running.size() + " channel tasks did not terminate gracefully"); } } Cheers, Rob. -------------- next part -------------- An HTML attachment was scrubbed... URL: From coleen.phillimore at oracle.com Thu Dec 22 15:53:01 2022 From: coleen.phillimore at oracle.com (coleen.phillimore at oracle.com) Date: Thu, 22 Dec 2022 10:53:01 -0500 Subject: Result: New loom Committer: Patricio Chilano Mateo Message-ID: <4f8b32de-79f9-b3f7-3dff-1f7e46a3deea@oracle.com> Voting for Patricio Chilano Mateo is [1] is now closed. Yes: 8 Veto: 0 Abstain: 0 According to the Bylaws definition of Lazy Consensus, this is sufficient to approve the nomination. Coleen Phillimore [1] https://mail.openjdk.org/pipermail/loom-dev/2022-October/004985.html From coleen.phillimore at oracle.com Thu Dec 22 15:54:18 2022 From: coleen.phillimore at oracle.com (coleen.phillimore at oracle.com) Date: Thu, 22 Dec 2022 10:54:18 -0500 Subject: Result: New loom Committer: Frederic Parain Message-ID: Voting for Frederic Parain is [1] is now closed. Yes: 8 Veto: 0 Abstain: 0 According to the Bylaws definition of Lazy Consensus, this is sufficient to approve the nomination. Coleen Phillimore [1] https://mail.openjdk.org/pipermail/loom-dev/2022-October/004986.html From robin.bygrave at gmail.com Thu Dec 22 22:59:27 2022 From: robin.bygrave at gmail.com (Rob Bygrave) Date: Fri, 23 Dec 2022 11:59:27 +1300 Subject: Fast graceful shutdown of ThreadPerTaskExecutor (when expected WAITING Threads) In-Reply-To: <963D295D-035A-4903-A859-6EB46EB51647@oracle.com> References: <963D295D-035A-4903-A859-6EB46EB51647@oracle.com> Message-ID: *> separate the ?idle? and ?busy? threads by spawning them in different ExecutorServices* That makes perfect sense, thanks!! I'll look to work this through. Cheers, Rob. On Fri, 23 Dec 2022 at 03:29, Ron Pressler wrote: > I am not familiar with Helidon?s internals or with the details of the > particular issue, but you can separate the ?idle? and ?busy? threads by > spawning them in different ExecutorServices. For example, threads that wait > an accept new requests are spawned in one ES and they, in turn, spawn a > ?request processing? thread in another. To shut down the server you will > then forcefully shut down the first ES, stopping new requests from being > accepted, and gracefully shut down the second, giving the requests some > time to finish. > > ? Ron > > On 21 Dec 2022, at 22:22, Rob Bygrave wrote: > > A "solution / fix" to this issue that modifies the internals of * > java.util.concurrent.ThreadPerTaskExector* is to: > > > *1) Add a new interface InterruptableTask* > > public interface InterruptableTask { > > /** > * Return true if this is a task that is deemed to be in an idle state > that can be interrupted. > */ > boolean canInterrupt(); > } > > > *2) Modify java.util.concurrent.ThreadPerTaskExector by:* > > *2i)* Changing the threads field from storing just Thread to additionally > storing the associated task (Runnable or Callable) > > // instead of ... > private final Set threads = ConcurrentHashMap.newKeySet(); > > // use a Map with values being the tasks (Runnable or Callable) > private final Map threadTasks = new ConcurrentHashMap<>(); > > > > *2ii)* Add a new internal method tryStopInterruptableTask(): > > private void tryStopInterruptableTask() { > threadTasks.entrySet().stream() > .filter(entry -> entry.getKey().isAlive()) // Thread isAlive > .filter(entry -> entry.getKey().getState() == Thread.State.WAITING) > // Thread WAITING state > .forEach(entry -> { > if (entry.getValue() instanceof InterruptableTask task) { > if (task.canInterrupt()) { // application deems this task to > NOT be in-flight (e.g. not IO waiting on database response) > entry.getKey().interrupt(); > } > } > }); > } > > *2 iii)* Call this method as part of shutdown() (or perhaps the internal > tryShutdownAndTerminate()) > > > > With these changes, then the Nima specific ConnectionHandler just needs to > implement InterruptableTask and then the usual > shutdown of the ExecutorService operates nicely. > > executor.shutdown(); > if (!executor.awaitTermination(gracefulShutdownMillis, > TimeUnit.MILLISECONDS)) { > List running = executor.shutdownNow(); > if (!running.isEmpty()) { > LOGGER.log(INFO, running.size() + " channel tasks did not > terminate gracefully"); > } > } > > > > Cheers, Rob. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alan.Bateman at oracle.com Tue Dec 27 10:59:07 2022 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Tue, 27 Dec 2022 10:59:07 +0000 Subject: Fast graceful shutdown of ThreadPerTaskExecutor (when expected WAITING Threads) In-Reply-To: References: Message-ID: On 21/12/2022 14:58, Arnaud Masson wrote: > > > The way to interrupt sockets has always been to close them. Then blocking methods will throw an exception. > > I didn?t test but I was hoping that ?JEP 353: Reimplement the Legacy > Socket API? made classic socket API interruptible (like NIO) . > > This would make socket API so much more consistent with other blocking > stuff. > > JEP 353 put in the foundation to enable this and JEP 425 makes use of it, see the Networking section [1] in the JEP and specifically: "To allow for interruption and cancellation, the blocking I/O methods defined by java.net.Socket, ServerSocket, and DatagramSocket are now specified to be interruptible when invoked in a virtual thread" So in the HTTP/1.1 scenario here, where a virtual thread is blocked on an idle persistent connection, the shutdownNow will cause the virtual thread to wakeup and close the connection. -Alan [1] https://openjdk.org/jeps/425#Networking -------------- next part -------------- An HTML attachment was scrubbed... URL: From rengels at ix.netcom.com Tue Dec 27 22:27:09 2022 From: rengels at ix.netcom.com (robert engels) Date: Tue, 27 Dec 2022 16:27:09 -0600 Subject: Project Loom VirtualThreads hang Message-ID: Hi devs, First, Thanks for this amazing work!!! It literally solves the only remaining problem Java had. Sorry for the long email. I have been very excited to test-drive Project Loom in JDK19. I have extensive experience in highly concurrent systems/HFT/HPC, so I usually :) know what I am doing. For the easiest test, I took a highly threaded (connection based) server based system (Java port of Go?s nats.io message broker), and converted the threads to virtual threads. The project (jnatsd) is available here . The ?master? branch runs very well with excellent performance, but I thought switching to virtual threads might be able to improve things over using async IO, channels, etc. (I have a branch for this that works as well, but it is much more complex, and didn?t provide a huge performance benefit)/ There are two branches ?simple_virtual_threads? and ?virtual_threads?. In the former, it is literally a 2 line change to enable the virtual threads but it doesn?t work. I narrowed it down the issue that LockSupport.unpark(thread) does not work consistently. At some point, the virtual thread is never scheduled again. I enabled the debug options and I see that the the virtual thread is in: yield0:365, Continuation (jdk.internal.vm) yield:357, Continuation (jdk.internal.vm) yieldContinuation:370, VirtualThread (java.lang) park:499, VirtualThread (java.lang) parkVirtualThread:2606, System$2 (java.lang) park:54, VirtualThreads (jdk.internal.misc) park:369, LockSupport (java.util.concurrent.locks) run:88, Connection$ConnectionWriter (com.robaho.jnatsd) run:287, VirtualThread (java.lang) lambda$new$0:174, VirtualThread$VThreadContinuation (java.lang) run:-1, VirtualThread$VThreadContinuation$$Lambda$50/0x0000000801065670 (java.lang) enter0:327, Continuation (jdk.internal.vm) enter:320, Continuation (jdk.internal.vm) The instance state is: this = {VirtualThread$VThreadContinuation at 1775} target = {VirtualThread$VThreadContinuation$lambda at 1777} arg$1 = {VirtualThread at 1699} scheduler = {ForkJoinPool at 1781} cont = {VirtualThread$VThreadContinuation at 1775} runContinuation = {VirtualThread$lambda at 1782} state = 2 parkPermit = true carrierThread = null termination = null eetop = 0 tid = 76 name = "" interrupted = false contextClassLoader = {ClassLoaders$AppClassLoader at 1784} inheritedAccessControlContext = {AccessControlContext at 1785} holder = null threadLocals = null inheritableThreadLocals = null extentLocalBindings = null interruptLock = {Object at 1786} parkBlocker = null nioBlocker = null Thread.cont = null uncaughtExceptionHandler = null threadLocalRandomSeed = 0 threadLocalRandomProbe = 0 threadLocalRandomSecondarySeed = 0 container = {ThreadContainers$RootContainer$CountingRootContainer at 1787} headStackableScopes = null arg$2 = {Connection$ConnectionWriter at 1780} scope = {ContinuationScope at 1776} parent = null child = null tail = {StackChunk at 1778} done = false mounted = false yieldInfo = null preempted = false extentLocalCache = null scope = {ContinuationScope at 1776} child = null As you see in the above, the parkPermit is true, but it never runs again. In the latter branch, ?virtual_threads?, I changed the lock-free RingBuffer class to use simple synchronized primitives - under the assumption that with virtual threads lock/wait/notify should be highly efficient. It worked, but it was nearly 2x slower than the original thread based lock-free implementation. So, I added a ?spin loop? in the RingBuffer methods. This code is completely optional and can be no-op?d, and I was able to increase performance to above that of the Thread based version. I dug a little deeper, and decided that using Thread.yield() should be even more efficient than LockSupport.parkNanos(1) - problem is that changing that simple line brings back the hangs. I think there is very little semantic difference between LockSupport.parkNanos(1) and Thread.yield() but the latter should avoid any timer scheduling. The RingBuffer code there is fairly trivial. So, before I dig deeper, is this a known issue that Thread.yield() does not work as expected? Is it is known issue that LockSupport.unpark() fails to reschedule threads? Is it possible because the VirtualThreads do not implement the Java memory model properly? Any ideas how to further diagnose? -------------- next part -------------- An HTML attachment was scrubbed... URL: From heinz at javaspecialists.eu Tue Dec 27 22:50:15 2022 From: heinz at javaspecialists.eu (Dr Heinz M. Kabutz) Date: Wed, 28 Dec 2022 00:50:15 +0200 Subject: Project Loom VirtualThreads hang In-Reply-To: References: Message-ID: Hi Robert, I?d venture a guess that parkNanos() takes the virtual thread off the carrier thread, whereas yield() does not. Heinz On Wed, 28 Dec 2022 at 00:28, robert engels wrote: > Hi devs, > > First, > > Thanks for this amazing work!!! It literally solves the only remaining > problem Java had. > > Sorry for the long email. > > I have been very excited to test-drive Project Loom in JDK19. I have > extensive experience in highly concurrent systems/HFT/HPC, so I usually :) > know what I am doing. > > For the easiest test, I took a highly threaded (connection based) server > based system (Java port of Go?s nats.io message broker), and converted > the threads to virtual threads. The project (jnatsd) is available here > . The ?master? branch runs very well > with excellent performance, but I thought switching to virtual threads > might be able to improve things over using async IO, channels, etc. (I have > a branch for this that works as well, but it is much more complex, and > didn?t provide a huge performance benefit)/ > > There are two branches ?simple_virtual_threads? and ?virtual_threads?. > > In the former, it is literally a 2 line change to enable the virtual > threads but it doesn?t work. I narrowed it down the issue that > LockSupport.unpark(thread) does not work consistently. At some point, the > virtual thread is never scheduled again. I enabled the debug options and I > see that the the virtual thread is in: > > yield0:365, Continuation (jdk.internal.vm) > yield:357, Continuation (jdk.internal.vm) > yieldContinuation:370, VirtualThread (java.lang) > park:499, VirtualThread (java.lang) > parkVirtualThread:2606, System$2 (java.lang) > park:54, VirtualThreads (jdk.internal.misc) > park:369, LockSupport (java.util.concurrent.locks) > run:88, Connection$ConnectionWriter (com.robaho.jnatsd) > run:287, VirtualThread (java.lang) > lambda$new$0:174, VirtualThread$VThreadContinuation (java.lang) > run:-1, VirtualThread$VThreadContinuation$$Lambda$50/0x0000000801065670 (java.lang) > enter0:327, Continuation (jdk.internal.vm) > enter:320, Continuation (jdk.internal.vm) > > The instance state is: > > this = {VirtualThread$VThreadContinuation at 1775} > target = {VirtualThread$VThreadContinuation$lambda at 1777} > arg$1 = {VirtualThread at 1699} > scheduler = {ForkJoinPool at 1781} > cont = {VirtualThread$VThreadContinuation at 1775} > runContinuation = {VirtualThread$lambda at 1782} > state = 2 > parkPermit = true > carrierThread = null > termination = null > eetop = 0 > tid = 76 > name = "" > interrupted = false > contextClassLoader = {ClassLoaders$AppClassLoader at 1784} > inheritedAccessControlContext = {AccessControlContext at 1785} > holder = null > threadLocals = null > inheritableThreadLocals = null > extentLocalBindings = null > interruptLock = {Object at 1786} > parkBlocker = null > nioBlocker = null > Thread.cont = null > uncaughtExceptionHandler = null > threadLocalRandomSeed = 0 > threadLocalRandomProbe = 0 > threadLocalRandomSecondarySeed = 0 > container = {ThreadContainers$RootContainer$CountingRootContainer at 1787 > } > headStackableScopes = null > arg$2 = {Connection$ConnectionWriter at 1780} > scope = {ContinuationScope at 1776} > parent = null > child = null > tail = {StackChunk at 1778} > done = false > mounted = false > yieldInfo = null > preempted = false > extentLocalCache = null > scope = {ContinuationScope at 1776} > child = null > > As you see in the above, the parkPermit is true, but it never runs again. > > In the latter branch, ?virtual_threads?, I changed the lock-free > RingBuffer class to use simple synchronized primitives - under the > assumption that with virtual threads lock/wait/notify should be highly > efficient. It worked, but it was nearly 2x slower than the original thread > based lock-free implementation. So, I added a ?spin loop? in the RingBuffer > methods. This code is completely optional and can be no-op?d, and I was > able to increase performance to above that of the Thread based version. > > I dug a little deeper, and decided that using Thread.yield() should be > even more efficient than LockSupport.parkNanos(1) - problem is that > changing that simple line brings back the hangs. I think there is very > little semantic difference between LockSupport.parkNanos(1) and > Thread.yield() but the latter should avoid any timer scheduling. The > RingBuffer code there is fairly trivial. > > So, before I dig deeper, is this a known issue that Thread.yield() does > not work as expected? Is it is known issue that LockSupport.unpark() fails > to reschedule threads? > > Is it possible because the VirtualThreads do not implement the Java memory > model properly? > > Any ideas how to further diagnose? > > > > > > > > -- Dr Heinz M. Kabutz (PhD CompSci) Author of "The Java(tm) Specialists' Newsletter" Sun/Oracle Java Champion JavaOne Rockstar Speaker http://www.javaspecialists.eu Tel: +30 69 75 595 262 Skype: kabutz -------------- next part -------------- An HTML attachment was scrubbed... URL: From rengels at ix.netcom.com Tue Dec 27 22:53:22 2022 From: rengels at ix.netcom.com (robert engels) Date: Tue, 27 Dec 2022 16:53:22 -0600 Subject: Project Loom VirtualThreads hang In-Reply-To: References: Message-ID: Further diagnosis seems to show that virtual threads are not preemptible - and it seems that the fork-join pool is not stealing work, so if one thread spins - all other threads will be blocked. Does this sound reasonable? If so, this seems like a significant limitation which will cause all sorts of spin/lock-free code to fail under virtual threads. > On Dec 27, 2022, at 4:27 PM, robert engels wrote: > > Hi devs, > > First, > > Thanks for this amazing work!!! It literally solves the only remaining problem Java had. > > Sorry for the long email. > > I have been very excited to test-drive Project Loom in JDK19. I have extensive experience in highly concurrent systems/HFT/HPC, so I usually :) know what I am doing. > > For the easiest test, I took a highly threaded (connection based) server based system (Java port of Go?s nats.io message broker), and converted the threads to virtual threads. The project (jnatsd) is available here . The ?master? branch runs very well with excellent performance, but I thought switching to virtual threads might be able to improve things over using async IO, channels, etc. (I have a branch for this that works as well, but it is much more complex, and didn?t provide a huge performance benefit)/ > > There are two branches ?simple_virtual_threads? and ?virtual_threads?. > > In the former, it is literally a 2 line change to enable the virtual threads but it doesn?t work. I narrowed it down the issue that LockSupport.unpark(thread) does not work consistently. At some point, the virtual thread is never scheduled again. I enabled the debug options and I see that the the virtual thread is in: > > yield0:365, Continuation (jdk.internal.vm) > yield:357, Continuation (jdk.internal.vm) > yieldContinuation:370, VirtualThread (java.lang) > park:499, VirtualThread (java.lang) > parkVirtualThread:2606, System$2 (java.lang) > park:54, VirtualThreads (jdk.internal.misc) > park:369, LockSupport (java.util.concurrent.locks) > run:88, Connection$ConnectionWriter (com.robaho.jnatsd) > run:287, VirtualThread (java.lang) > lambda$new$0:174, VirtualThread$VThreadContinuation (java.lang) > run:-1, VirtualThread$VThreadContinuation$$Lambda$50/0x0000000801065670 (java.lang) > enter0:327, Continuation (jdk.internal.vm) > enter:320, Continuation (jdk.internal.vm) > The instance state is: > > this = {VirtualThread$VThreadContinuation at 1775} > target = {VirtualThread$VThreadContinuation$lambda at 1777} > arg$1 = {VirtualThread at 1699} > scheduler = {ForkJoinPool at 1781} > cont = {VirtualThread$VThreadContinuation at 1775} > runContinuation = {VirtualThread$lambda at 1782} > state = 2 > parkPermit = true > carrierThread = null > termination = null > eetop = 0 > tid = 76 > name = "" > interrupted = false > contextClassLoader = {ClassLoaders$AppClassLoader at 1784} > inheritedAccessControlContext = {AccessControlContext at 1785} > holder = null > threadLocals = null > inheritableThreadLocals = null > extentLocalBindings = null > interruptLock = {Object at 1786} > parkBlocker = null > nioBlocker = null > Thread.cont = null > uncaughtExceptionHandler = null > threadLocalRandomSeed = 0 > threadLocalRandomProbe = 0 > threadLocalRandomSecondarySeed = 0 > container = {ThreadContainers$RootContainer$CountingRootContainer at 1787} > headStackableScopes = null > arg$2 = {Connection$ConnectionWriter at 1780} > scope = {ContinuationScope at 1776} > parent = null > child = null > tail = {StackChunk at 1778} > done = false > mounted = false > yieldInfo = null > preempted = false > extentLocalCache = null > scope = {ContinuationScope at 1776} > child = null > > As you see in the above, the parkPermit is true, but it never runs again. > > In the latter branch, ?virtual_threads?, I changed the lock-free RingBuffer class to use simple synchronized primitives - under the assumption that with virtual threads lock/wait/notify should be highly efficient. It worked, but it was nearly 2x slower than the original thread based lock-free implementation. So, I added a ?spin loop? in the RingBuffer methods. This code is completely optional and can be no-op?d, and I was able to increase performance to above that of the Thread based version. > > I dug a little deeper, and decided that using Thread.yield() should be even more efficient than LockSupport.parkNanos(1) - problem is that changing that simple line brings back the hangs. I think there is very little semantic difference between LockSupport.parkNanos(1) and Thread.yield() but the latter should avoid any timer scheduling. The RingBuffer code there is fairly trivial. > > So, before I dig deeper, is this a known issue that Thread.yield() does not work as expected? Is it is known issue that LockSupport.unpark() fails to reschedule threads? > > Is it possible because the VirtualThreads do not implement the Java memory model properly? > > Any ideas how to further diagnose? > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From heinz at javaspecialists.eu Wed Dec 28 00:27:07 2022 From: heinz at javaspecialists.eu (Dr Heinz M. Kabutz) Date: Wed, 28 Dec 2022 02:27:07 +0200 Subject: Project Loom VirtualThreads hang In-Reply-To: References: Message-ID: Correct. On Wed, 28 Dec 2022 at 00:54, robert engels wrote: > Further diagnosis seems to show that virtual threads are not preemptible - > and it seems that the fork-join pool is not stealing work, so if one thread > spins - all other threads will be blocked. > > Does this sound reasonable? If so, this seems like a significant > limitation which will cause all sorts of spin/lock-free code to fail under > virtual threads. > > > On Dec 27, 2022, at 4:27 PM, robert engels wrote: > > Hi devs, > > First, > > Thanks for this amazing work!!! It literally solves the only remaining > problem Java had. > > Sorry for the long email. > > I have been very excited to test-drive Project Loom in JDK19. I have > extensive experience in highly concurrent systems/HFT/HPC, so I usually :) > know what I am doing. > > For the easiest test, I took a highly threaded (connection based) server > based system (Java port of Go?s nats.io message broker), and converted > the threads to virtual threads. The project (jnatsd) is available here > . The ?master? branch runs very well > with excellent performance, but I thought switching to virtual threads > might be able to improve things over using async IO, channels, etc. (I have > a branch for this that works as well, but it is much more complex, and > didn?t provide a huge performance benefit)/ > > There are two branches ?simple_virtual_threads? and ?virtual_threads?. > > In the former, it is literally a 2 line change to enable the virtual > threads but it doesn?t work. I narrowed it down the issue that > LockSupport.unpark(thread) does not work consistently. At some point, the > virtual thread is never scheduled again. I enabled the debug options and I > see that the the virtual thread is in: > > yield0:365, Continuation (jdk.internal.vm) > yield:357, Continuation (jdk.internal.vm) > yieldContinuation:370, VirtualThread (java.lang) > park:499, VirtualThread (java.lang) > parkVirtualThread:2606, System$2 (java.lang) > park:54, VirtualThreads (jdk.internal.misc) > park:369, LockSupport (java.util.concurrent.locks) > run:88, Connection$ConnectionWriter (com.robaho.jnatsd) > run:287, VirtualThread (java.lang) > lambda$new$0:174, VirtualThread$VThreadContinuation (java.lang) > run:-1, VirtualThread$VThreadContinuation$$Lambda$50/0x0000000801065670 (java.lang) > enter0:327, Continuation (jdk.internal.vm) > enter:320, Continuation (jdk.internal.vm) > > The instance state is: > > this = {VirtualThread$VThreadContinuation at 1775} > target = {VirtualThread$VThreadContinuation$lambda at 1777} > arg$1 = {VirtualThread at 1699} > scheduler = {ForkJoinPool at 1781} > cont = {VirtualThread$VThreadContinuation at 1775} > runContinuation = {VirtualThread$lambda at 1782} > state = 2 > parkPermit = true > carrierThread = null > termination = null > eetop = 0 > tid = 76 > name = "" > interrupted = false > contextClassLoader = {ClassLoaders$AppClassLoader at 1784} > inheritedAccessControlContext = {AccessControlContext at 1785} > holder = null > threadLocals = null > inheritableThreadLocals = null > extentLocalBindings = null > interruptLock = {Object at 1786} > parkBlocker = null > nioBlocker = null > Thread.cont = null > uncaughtExceptionHandler = null > threadLocalRandomSeed = 0 > threadLocalRandomProbe = 0 > threadLocalRandomSecondarySeed = 0 > container = {ThreadContainers$RootContainer$CountingRootContainer at 1787 > } > headStackableScopes = null > arg$2 = {Connection$ConnectionWriter at 1780} > scope = {ContinuationScope at 1776} > parent = null > child = null > tail = {StackChunk at 1778} > done = false > mounted = false > yieldInfo = null > preempted = false > extentLocalCache = null > scope = {ContinuationScope at 1776} > child = null > > As you see in the above, the parkPermit is true, but it never runs again. > > In the latter branch, ?virtual_threads?, I changed the lock-free > RingBuffer class to use simple synchronized primitives - under the > assumption that with virtual threads lock/wait/notify should be highly > efficient. It worked, but it was nearly 2x slower than the original thread > based lock-free implementation. So, I added a ?spin loop? in the RingBuffer > methods. This code is completely optional and can be no-op?d, and I was > able to increase performance to above that of the Thread based version. > > I dug a little deeper, and decided that using Thread.yield() should be > even more efficient than LockSupport.parkNanos(1) - problem is that > changing that simple line brings back the hangs. I think there is very > little semantic difference between LockSupport.parkNanos(1) and > Thread.yield() but the latter should avoid any timer scheduling. The > RingBuffer code there is fairly trivial. > > So, before I dig deeper, is this a known issue that Thread.yield() does > not work as expected? Is it is known issue that LockSupport.unpark() fails > to reschedule threads? > > Is it possible because the VirtualThreads do not implement the Java memory > model properly? > > Any ideas how to further diagnose? > > > > > > > > > -- Dr Heinz M. Kabutz (PhD CompSci) Author of "The Java(tm) Specialists' Newsletter" Sun/Oracle Java Champion JavaOne Rockstar Speaker http://www.javaspecialists.eu Tel: +30 69 75 595 262 Skype: kabutz -------------- next part -------------- An HTML attachment was scrubbed... URL: From rengels at ix.netcom.com Wed Dec 28 00:44:14 2022 From: rengels at ix.netcom.com (Robert Engels) Date: Tue, 27 Dec 2022 18:44:14 -0600 Subject: Project Loom VirtualThreads hang In-Reply-To: References: Message-ID: <3F84261B-7ED6-42EE-A5F2-2F98E050FC13@ix.netcom.com> Bummer. That is a really significant limitation. At a minimum it seems Thread.yield() should put the calling thread at the end of the run queue. It seems this boils down to Loom not having a sense of ?fair? thread scheduling. But I also am not sure that is the whole story. Even with far less runnable virtual threads than carrier threads the virtual thread seems stuck in runnable but never runs. > On Dec 27, 2022, at 6:27 PM, Dr Heinz M. Kabutz wrote: > > ? > Correct. > >> On Wed, 28 Dec 2022 at 00:54, robert engels wrote: >> Further diagnosis seems to show that virtual threads are not preemptible - and it seems that the fork-join pool is not stealing work, so if one thread spins - all other threads will be blocked. >> >> Does this sound reasonable? If so, this seems like a significant limitation which will cause all sorts of spin/lock-free code to fail under virtual threads. >> >> >>> On Dec 27, 2022, at 4:27 PM, robert engels wrote: >>> >>> Hi devs, >>> >>> First, >>> >>> Thanks for this amazing work!!! It literally solves the only remaining problem Java had. >>> >>> Sorry for the long email. >>> >>> I have been very excited to test-drive Project Loom in JDK19. I have extensive experience in highly concurrent systems/HFT/HPC, so I usually :) know what I am doing. >>> >>> For the easiest test, I took a highly threaded (connection based) server based system (Java port of Go?s nats.io message broker), and converted the threads to virtual threads. The project (jnatsd) is available here. The ?master? branch runs very well with excellent performance, but I thought switching to virtual threads might be able to improve things over using async IO, channels, etc. (I have a branch for this that works as well, but it is much more complex, and didn?t provide a huge performance benefit)/ >>> >>> There are two branches ?simple_virtual_threads? and ?virtual_threads?. >>> >>> In the former, it is literally a 2 line change to enable the virtual threads but it doesn?t work. I narrowed it down the issue that LockSupport.unpark(thread) does not work consistently. At some point, the virtual thread is never scheduled again. I enabled the debug options and I see that the the virtual thread is in: >>> >>> yield0:365, Continuation (jdk.internal.vm) >>> yield:357, Continuation (jdk.internal.vm) >>> yieldContinuation:370, VirtualThread (java.lang) >>> park:499, VirtualThread (java.lang) >>> parkVirtualThread:2606, System$2 (java.lang) >>> park:54, VirtualThreads (jdk.internal.misc) >>> park:369, LockSupport (java.util.concurrent.locks) >>> run:88, Connection$ConnectionWriter (com.robaho.jnatsd) >>> run:287, VirtualThread (java.lang) >>> lambda$new$0:174, VirtualThread$VThreadContinuation (java.lang) >>> run:-1, VirtualThread$VThreadContinuation$$Lambda$50/0x0000000801065670 (java.lang) >>> enter0:327, Continuation (jdk.internal.vm) >>> enter:320, Continuation (jdk.internal.vm) >>> The instance state is: >>> >>> this = {VirtualThread$VThreadContinuation at 1775} >>> target = {VirtualThread$VThreadContinuation$lambda at 1777} >>> arg$1 = {VirtualThread at 1699} >>> scheduler = {ForkJoinPool at 1781} >>> cont = {VirtualThread$VThreadContinuation at 1775} >>> runContinuation = {VirtualThread$lambda at 1782} >>> state = 2 >>> parkPermit = true >>> carrierThread = null >>> termination = null >>> eetop = 0 >>> tid = 76 >>> name = "" >>> interrupted = false >>> contextClassLoader = {ClassLoaders$AppClassLoader at 1784} >>> inheritedAccessControlContext = {AccessControlContext at 1785} >>> holder = null >>> threadLocals = null >>> inheritableThreadLocals = null >>> extentLocalBindings = null >>> interruptLock = {Object at 1786} >>> parkBlocker = null >>> nioBlocker = null >>> Thread.cont = null >>> uncaughtExceptionHandler = null >>> threadLocalRandomSeed = 0 >>> threadLocalRandomProbe = 0 >>> threadLocalRandomSecondarySeed = 0 >>> container = {ThreadContainers$RootContainer$CountingRootContainer at 1787} >>> headStackableScopes = null >>> arg$2 = {Connection$ConnectionWriter at 1780} >>> scope = {ContinuationScope at 1776} >>> parent = null >>> child = null >>> tail = {StackChunk at 1778} >>> done = false >>> mounted = false >>> yieldInfo = null >>> preempted = false >>> extentLocalCache = null >>> scope = {ContinuationScope at 1776} >>> child = null >>> >>> As you see in the above, the parkPermit is true, but it never runs again. >>> >>> In the latter branch, ?virtual_threads?, I changed the lock-free RingBuffer class to use simple synchronized primitives - under the assumption that with virtual threads lock/wait/notify should be highly efficient. It worked, but it was nearly 2x slower than the original thread based lock-free implementation. So, I added a ?spin loop? in the RingBuffer methods. This code is completely optional and can be no-op?d, and I was able to increase performance to above that of the Thread based version. >>> >>> I dug a little deeper, and decided that using Thread.yield() should be even more efficient than LockSupport.parkNanos(1) - problem is that changing that simple line brings back the hangs. I think there is very little semantic difference between LockSupport.parkNanos(1) and Thread.yield() but the latter should avoid any timer scheduling. The RingBuffer code there is fairly trivial. >>> >>> So, before I dig deeper, is this a known issue that Thread.yield() does not work as expected? Is it is known issue that LockSupport.unpark() fails to reschedule threads? >>> >>> Is it possible because the VirtualThreads do not implement the Java memory model properly? >>> >>> Any ideas how to further diagnose? >>> >>> >>> >>> >>> >>> >>> >> > -- > Dr Heinz M. Kabutz (PhD CompSci) > Author of "The Java(tm) Specialists' Newsletter" > Sun/Oracle Java Champion > JavaOne Rockstar Speaker > http://www.javaspecialists.eu > Tel: +30 69 75 595 262 > Skype: kabutz -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at kolotyluk.net Wed Dec 28 01:28:48 2022 From: eric at kolotyluk.net (Eric Kolotyluk) Date: Tue, 27 Dec 2022 17:28:48 -0800 Subject: Project Loom VirtualThreads hang In-Reply-To: <3F84261B-7ED6-42EE-A5F2-2F98E050FC13@ix.netcom.com> References: <3F84261B-7ED6-42EE-A5F2-2F98E050FC13@ix.netcom.com> Message-ID: My 2 cents... Right, Virtual Threads are not preemptable, and as explained by Ron previously, it would be hard to make them preemptable... If a thread spins, this can be a problem, I don't know that "all other threads will be blocked." Not sure why it's assumed that fork-join is not stealing work... My intuition would be that Thread.yield() should move the current thread to the end of the run queue, as I have often used this in the past to serialize operations and achieve similar effects. If it does not move the current thread to the end of the queue, I would love to know why. Cheers, Eric On 2022-12-27 4:44 p.m., Robert Engels wrote: > Bummer. That is a really significant limitation. > > At a minimum it seems Thread.yield() should put the calling thread at > the end of the run queue. > > It seems this boils down to Loom not having a sense of ?fair? thread > scheduling. But I also am not sure that is the whole story. Even with > far less runnable virtual threads than carrier threads the virtual > thread seems stuck in runnable but never runs. > >> On Dec 27, 2022, at 6:27 PM, Dr Heinz M. Kabutz >> wrote: >> >> ? >> Correct. >> >> On Wed, 28 Dec 2022 at 00:54, robert engels >> wrote: >> >> Further diagnosis seems to show that virtual threads are not >> preemptible - and it seems that the fork-join pool is not >> stealing work, so if one thread spins - all other threads will be >> blocked. >> >> Does this sound reasonable? If so, this seems like a significant >> limitation which will cause all sorts of spin/lock-free code to >> fail under virtual threads. >> >> >>> On Dec 27, 2022, at 4:27 PM, robert engels >>> wrote: >>> >>> Hi devs, >>> >>> First, >>> >>> Thanks for this amazing work!!! It literally solves the only >>> remaining problem Java had. >>> >>> Sorry for the long email. >>> >>> I have been very excited to test-drive Project Loom in JDK19. I >>> have extensive experience in highly concurrent systems/HFT/HPC, >>> so I usually :) know what I am doing. >>> >>> For the easiest test, I took a highly threaded (connection >>> based) server based system (Java port of Go?s nats.io >>> ?message broker), and converted the threads to >>> virtual threads. The project (jnatsd) is available here >>> . The ?master? branch runs >>> very well with excellent performance, but I thought switching to >>> virtual threads might be able to improve things over using async >>> IO, channels, etc. (I have a branch for this that works as well, >>> but it is much more complex, and didn?t provide a huge >>> performance benefit)/ >>> >>> There are two branches ?simple_virtual_threads? and >>> ?virtual_threads?. >>> >>> In the former, it is literally a 2 line change to enable the >>> virtual threads but it doesn?t work. I narrowed it down the >>> issue that LockSupport.unpark(thread) does not work >>> consistently. At some point, the virtual thread is never >>> scheduled again. I enabled the debug options and I see that the >>> the virtual thread is in: >>> >>> yield0:365, Continuation (jdk.internal.vm) >>> yield:357, Continuation (jdk.internal.vm) >>> yieldContinuation:370, VirtualThread (java.lang) >>> park:499, VirtualThread (java.lang) >>> parkVirtualThread:2606, System$2 (java.lang) >>> park:54, VirtualThreads (jdk.internal.misc) >>> park:369, LockSupport (java.util.concurrent.locks) >>> run:88, Connection$ConnectionWriter (com.robaho.jnatsd) >>> run:287, VirtualThread (java.lang) >>> lambda$new$0:174, VirtualThread$VThreadContinuation (java.lang) >>> run:-1, VirtualThread$VThreadContinuation$$Lambda$50/0x0000000801065670 (java.lang) >>> enter0:327, Continuation (jdk.internal.vm) >>> enter:320, Continuation (jdk.internal.vm) >>> The instance state is: >>> >>> this = {VirtualThread$VThreadContinuation at 1775} >>> ?target = {VirtualThread$VThreadContinuation$lambda at 1777} >>> ? arg$1 = {VirtualThread at 1699} >>> ? ?scheduler = {ForkJoinPool at 1781} >>> ? ?cont = {VirtualThread$VThreadContinuation at 1775} >>> ? ?runContinuation = {VirtualThread$lambda at 1782} >>> ? ?state = 2 >>> ? ?parkPermit = true >>> ? ?carrierThread = null >>> ? ?termination = null >>> ? ?eetop = 0 >>> ? ?tid = 76 >>> ? ?name = "" >>> ? ?interrupted = false >>> ? ?contextClassLoader = {ClassLoaders$AppClassLoader at 1784} >>> ? ?inheritedAccessControlContext = {AccessControlContext at 1785} >>> ? ?holder = null >>> ? ?threadLocals = null >>> ? ?inheritableThreadLocals = null >>> ? ?extentLocalBindings = null >>> ? ?interruptLock = {Object at 1786} >>> ? ?parkBlocker = null >>> ? ?nioBlocker = null >>> ? ?Thread.cont = null >>> ? ?uncaughtExceptionHandler = null >>> ? ?threadLocalRandomSeed = 0 >>> ? ?threadLocalRandomProbe = 0 >>> ? ?threadLocalRandomSecondarySeed = 0 >>> ? ?container = >>> {ThreadContainers$RootContainer$CountingRootContainer at 1787} >>> ? ?headStackableScopes = null >>> ? arg$2 = {Connection$ConnectionWriter at 1780} >>> ?scope = {ContinuationScope at 1776} >>> ?parent = null >>> ?child = null >>> ?tail = {StackChunk at 1778} >>> ?done = false >>> ?mounted = false >>> ?yieldInfo = null >>> ?preempted = false >>> ?extentLocalCache = null >>> scope = {ContinuationScope at 1776} >>> child = null >>> >>> As you see in the above, the parkPermit is true, but it never >>> runs again. >>> >>> In the latter branch, ?virtual_threads?, I changed the lock-free >>> RingBuffer class to use simple synchronized primitives - under >>> the assumption that with virtual threads lock/wait/notify should >>> be highly efficient. It worked, but it was nearly 2x slower than >>> the original thread based lock-free implementation. So, I added >>> a ?spin loop? in the RingBuffer methods. This code is completely >>> optional and can be no-op?d, and I was able to increase >>> performance to above that of the Thread based version. >>> >>> I dug a little deeper, and decided that using Thread.yield() >>> should be even more efficient than LockSupport.parkNanos(1) - >>> problem is that changing that simple line brings back the hangs. >>> I think there is very little semantic difference between >>> LockSupport.parkNanos(1) and Thread.yield() but the latter >>> should avoid any timer scheduling. The RingBuffer code there is >>> fairly trivial. >>> >>> So, before I dig deeper, is this a known issue that >>> Thread.yield() does not work as expected? Is it is known issue >>> that LockSupport.unpark() fails to reschedule threads? >>> >>> Is it possible because the VirtualThreads do not implement the >>> Java memory model properly? >>> >>> Any ideas how to further diagnose? >>> >>> >>> >>> >>> >>> >>> >> >> -- >> Dr Heinz M. Kabutz (PhD CompSci) >> Author of "The Java(tm) Specialists' Newsletter" >> Sun/Oracle Java Champion >> JavaOne Rockstar Speaker >> http://www.javaspecialists.eu >> Tel: +30 69 75 595 262 >> Skype: kabutz -------------- next part -------------- An HTML attachment was scrubbed... URL: From rengels at ix.netcom.com Wed Dec 28 01:55:24 2022 From: rengels at ix.netcom.com (Robert Engels) Date: Tue, 27 Dec 2022 19:55:24 -0600 Subject: Project Loom VirtualThreads hang In-Reply-To: References: Message-ID: I?ll try to create a simpler standalone test case without the dependencies. It may be tough because I am guessing that the async/socket IO layer plus the multi threaded nature is what is causing the problem - something internal related to the multiple schedulers. > On Dec 27, 2022, at 7:29 PM, Eric Kolotyluk wrote: > > ? > My 2 cents... > > Right, Virtual Threads are not preemptable, and as explained by Ron previously, it would be hard to make them preemptable... > > If a thread spins, this can be a problem, I don't know that "all other threads will be blocked." Not sure why it's assumed that fork-join is not stealing work... > > My intuition would be that Thread.yield() should move the current thread to the end of the run queue, as I have often used this in the past to serialize operations and achieve similar effects. If it does not move the current thread to the end of the queue, I would love to know why. > > Cheers, Eric > > On 2022-12-27 4:44 p.m., Robert Engels wrote: >> Bummer. That is a really significant limitation. >> >> At a minimum it seems Thread.yield() should put the calling thread at the end of the run queue. >> >> It seems this boils down to Loom not having a sense of ?fair? thread scheduling. But I also am not sure that is the whole story. Even with far less runnable virtual threads than carrier threads the virtual thread seems stuck in runnable but never runs. >> >>> On Dec 27, 2022, at 6:27 PM, Dr Heinz M. Kabutz wrote: >>> >>> ? >>> Correct. >>> >>> On Wed, 28 Dec 2022 at 00:54, robert engels wrote: >>>> Further diagnosis seems to show that virtual threads are not preemptible - and it seems that the fork-join pool is not stealing work, so if one thread spins - all other threads will be blocked. >>>> >>>> Does this sound reasonable? If so, this seems like a significant limitation which will cause all sorts of spin/lock-free code to fail under virtual threads. >>>> >>>> >>>>> On Dec 27, 2022, at 4:27 PM, robert engels wrote: >>>>> >>>>> Hi devs, >>>>> >>>>> First, >>>>> >>>>> Thanks for this amazing work!!! It literally solves the only remaining problem Java had. >>>>> >>>>> Sorry for the long email. >>>>> >>>>> I have been very excited to test-drive Project Loom in JDK19. I have extensive experience in highly concurrent systems/HFT/HPC, so I usually :) know what I am doing. >>>>> >>>>> For the easiest test, I took a highly threaded (connection based) server based system (Java port of Go?s nats.io message broker), and converted the threads to virtual threads. The project (jnatsd) is available here. The ?master? branch runs very well with excellent performance, but I thought switching to virtual threads might be able to improve things over using async IO, channels, etc. (I have a branch for this that works as well, but it is much more complex, and didn?t provide a huge performance benefit)/ >>>>> >>>>> There are two branches ?simple_virtual_threads? and ?virtual_threads?. >>>>> >>>>> In the former, it is literally a 2 line change to enable the virtual threads but it doesn?t work. I narrowed it down the issue that LockSupport.unpark(thread) does not work consistently. At some point, the virtual thread is never scheduled again. I enabled the debug options and I see that the the virtual thread is in: >>>>> >>>>> yield0:365, Continuation (jdk.internal.vm) >>>>> yield:357, Continuation (jdk.internal.vm) >>>>> yieldContinuation:370, VirtualThread (java.lang) >>>>> park:499, VirtualThread (java.lang) >>>>> parkVirtualThread:2606, System$2 (java.lang) >>>>> park:54, VirtualThreads (jdk.internal.misc) >>>>> park:369, LockSupport (java.util.concurrent.locks) >>>>> run:88, Connection$ConnectionWriter (com.robaho.jnatsd) >>>>> run:287, VirtualThread (java.lang) >>>>> lambda$new$0:174, VirtualThread$VThreadContinuation (java.lang) >>>>> run:-1, VirtualThread$VThreadContinuation$$Lambda$50/0x0000000801065670 (java.lang) >>>>> enter0:327, Continuation (jdk.internal.vm) >>>>> enter:320, Continuation (jdk.internal.vm) >>>>> The instance state is: >>>>> >>>>> this = {VirtualThread$VThreadContinuation at 1775} >>>>> target = {VirtualThread$VThreadContinuation$lambda at 1777} >>>>> arg$1 = {VirtualThread at 1699} >>>>> scheduler = {ForkJoinPool at 1781} >>>>> cont = {VirtualThread$VThreadContinuation at 1775} >>>>> runContinuation = {VirtualThread$lambda at 1782} >>>>> state = 2 >>>>> parkPermit = true >>>>> carrierThread = null >>>>> termination = null >>>>> eetop = 0 >>>>> tid = 76 >>>>> name = "" >>>>> interrupted = false >>>>> contextClassLoader = {ClassLoaders$AppClassLoader at 1784} >>>>> inheritedAccessControlContext = {AccessControlContext at 1785} >>>>> holder = null >>>>> threadLocals = null >>>>> inheritableThreadLocals = null >>>>> extentLocalBindings = null >>>>> interruptLock = {Object at 1786} >>>>> parkBlocker = null >>>>> nioBlocker = null >>>>> Thread.cont = null >>>>> uncaughtExceptionHandler = null >>>>> threadLocalRandomSeed = 0 >>>>> threadLocalRandomProbe = 0 >>>>> threadLocalRandomSecondarySeed = 0 >>>>> container = {ThreadContainers$RootContainer$CountingRootContainer at 1787} >>>>> headStackableScopes = null >>>>> arg$2 = {Connection$ConnectionWriter at 1780} >>>>> scope = {ContinuationScope at 1776} >>>>> parent = null >>>>> child = null >>>>> tail = {StackChunk at 1778} >>>>> done = false >>>>> mounted = false >>>>> yieldInfo = null >>>>> preempted = false >>>>> extentLocalCache = null >>>>> scope = {ContinuationScope at 1776} >>>>> child = null >>>>> >>>>> As you see in the above, the parkPermit is true, but it never runs again. >>>>> >>>>> In the latter branch, ?virtual_threads?, I changed the lock-free RingBuffer class to use simple synchronized primitives - under the assumption that with virtual threads lock/wait/notify should be highly efficient. It worked, but it was nearly 2x slower than the original thread based lock-free implementation. So, I added a ?spin loop? in the RingBuffer methods. This code is completely optional and can be no-op?d, and I was able to increase performance to above that of the Thread based version. >>>>> >>>>> I dug a little deeper, and decided that using Thread.yield() should be even more efficient than LockSupport.parkNanos(1) - problem is that changing that simple line brings back the hangs. I think there is very little semantic difference between LockSupport.parkNanos(1) and Thread.yield() but the latter should avoid any timer scheduling. The RingBuffer code there is fairly trivial. >>>>> >>>>> So, before I dig deeper, is this a known issue that Thread.yield() does not work as expected? Is it is known issue that LockSupport.unpark() fails to reschedule threads? >>>>> >>>>> Is it possible because the VirtualThreads do not implement the Java memory model properly? >>>>> >>>>> Any ideas how to further diagnose? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>> -- >>> Dr Heinz M. Kabutz (PhD CompSci) >>> Author of "The Java(tm) Specialists' Newsletter" >>> Sun/Oracle Java Champion >>> JavaOne Rockstar Speaker >>> http://www.javaspecialists.eu >>> Tel: +30 69 75 595 262 >>> Skype: kabutz -------------- next part -------------- An HTML attachment was scrubbed... URL: From rengels at ix.netcom.com Wed Dec 28 04:30:53 2022 From: rengels at ix.netcom.com (robert engels) Date: Tue, 27 Dec 2022 22:30:53 -0600 Subject: Project Loom VirtualThreads hang In-Reply-To: References: Message-ID: OK. I created a stand-alone test case that demonstrates the problem. It is available at https://github.com/robaho/vthread_test If you run VThreadTest 8 8 1000000 (at least on my 4 core iMac), eventually the VThreadTest native thread will ?spin? attempting to unpark() a virtual thread (and have it read from the queue). If you use the debugger you see that the the vthread it is attempting to unpark is unparked - it has a run state=2 and runPermit=true but it never runs - leading to the VThreadTest thread to spin indefinitely. The reason is the 8 producers are ?spinning? as well, trying to put into the main queue. This means that the ?consumer? vthread can never run to pull an item from the queue to allow the main to make progress. Adding a Thread.yield() to the spinning put() does not help. Adding a LockSupport.parkNanos(1) to the spinning put() allows it to work. I think Thread.yield() is broken in this regard. I know that Thread.yield() is documented to be advisory only, but if there is no virtual thread preemption a lot of code is going to require extra effort and testing to port to virtual threads. Developers expect ?fair? thread scheduling in the absence of features like real-time priorities, etc. If Thread.yield() is fixed, I also suggest that a thread calling LockSupport.unpark() does an implicit Thread.yield() - which should be very efficient if the number of runnable threads is less than the carrier thread count. Almost all lock-free structures use LockSupport park/unpark as their under pinnings, and this would allow things to work without preemption. This program forces this issue, but a lot of lock-free structures are based on the program making ?some progress?. In this case, the designer could ?know? that it takes at most N nanos of spinning before a consumer will take the object - but if there are enough other spinning vthreads ?in that moment? you will have a hang. This will lead to hard to diagnose timing bugs. For reference, using parkNanos(1) with native threads and 8 8 500000, it completes in 21 secs. Using virtual threads it completes in 7 secs! A proper Thread.yield() should provide even better performance. Note as well, if you remove the parkNanos(1) and use native threads, the program completes successfully - albeit the cpus spin, spin, spin - so be careful. It takes 70 secs to run the above test. *** all of the above said, in the original testing and why I opened this issue, the carrier threads did not look allocated - and still the unparked vthread never ran. I will continue to test using the original setup. > On Dec 27, 2022, at 4:27 PM, robert engels wrote: > > Hi devs, > > First, > > Thanks for this amazing work!!! It literally solves the only remaining problem Java had. > > Sorry for the long email. > > I have been very excited to test-drive Project Loom in JDK19. I have extensive experience in highly concurrent systems/HFT/HPC, so I usually :) know what I am doing. > > For the easiest test, I took a highly threaded (connection based) server based system (Java port of Go?s nats.io message broker), and converted the threads to virtual threads. The project (jnatsd) is available here . The ?master? branch runs very well with excellent performance, but I thought switching to virtual threads might be able to improve things over using async IO, channels, etc. (I have a branch for this that works as well, but it is much more complex, and didn?t provide a huge performance benefit)/ > > There are two branches ?simple_virtual_threads? and ?virtual_threads?. > > In the former, it is literally a 2 line change to enable the virtual threads but it doesn?t work. I narrowed it down the issue that LockSupport.unpark(thread) does not work consistently. At some point, the virtual thread is never scheduled again. I enabled the debug options and I see that the the virtual thread is in: > > yield0:365, Continuation (jdk.internal.vm) > yield:357, Continuation (jdk.internal.vm) > yieldContinuation:370, VirtualThread (java.lang) > park:499, VirtualThread (java.lang) > parkVirtualThread:2606, System$2 (java.lang) > park:54, VirtualThreads (jdk.internal.misc) > park:369, LockSupport (java.util.concurrent.locks) > run:88, Connection$ConnectionWriter (com.robaho.jnatsd) > run:287, VirtualThread (java.lang) > lambda$new$0:174, VirtualThread$VThreadContinuation (java.lang) > run:-1, VirtualThread$VThreadContinuation$$Lambda$50/0x0000000801065670 (java.lang) > enter0:327, Continuation (jdk.internal.vm) > enter:320, Continuation (jdk.internal.vm) > The instance state is: > > this = {VirtualThread$VThreadContinuation at 1775} > target = {VirtualThread$VThreadContinuation$lambda at 1777} > arg$1 = {VirtualThread at 1699} > scheduler = {ForkJoinPool at 1781} > cont = {VirtualThread$VThreadContinuation at 1775} > runContinuation = {VirtualThread$lambda at 1782} > state = 2 > parkPermit = true > carrierThread = null > termination = null > eetop = 0 > tid = 76 > name = "" > interrupted = false > contextClassLoader = {ClassLoaders$AppClassLoader at 1784} > inheritedAccessControlContext = {AccessControlContext at 1785} > holder = null > threadLocals = null > inheritableThreadLocals = null > extentLocalBindings = null > interruptLock = {Object at 1786} > parkBlocker = null > nioBlocker = null > Thread.cont = null > uncaughtExceptionHandler = null > threadLocalRandomSeed = 0 > threadLocalRandomProbe = 0 > threadLocalRandomSecondarySeed = 0 > container = {ThreadContainers$RootContainer$CountingRootContainer at 1787} > headStackableScopes = null > arg$2 = {Connection$ConnectionWriter at 1780} > scope = {ContinuationScope at 1776} > parent = null > child = null > tail = {StackChunk at 1778} > done = false > mounted = false > yieldInfo = null > preempted = false > extentLocalCache = null > scope = {ContinuationScope at 1776} > child = null > > As you see in the above, the parkPermit is true, but it never runs again. > > In the latter branch, ?virtual_threads?, I changed the lock-free RingBuffer class to use simple synchronized primitives - under the assumption that with virtual threads lock/wait/notify should be highly efficient. It worked, but it was nearly 2x slower than the original thread based lock-free implementation. So, I added a ?spin loop? in the RingBuffer methods. This code is completely optional and can be no-op?d, and I was able to increase performance to above that of the Thread based version. > > I dug a little deeper, and decided that using Thread.yield() should be even more efficient than LockSupport.parkNanos(1) - problem is that changing that simple line brings back the hangs. I think there is very little semantic difference between LockSupport.parkNanos(1) and Thread.yield() but the latter should avoid any timer scheduling. The RingBuffer code there is fairly trivial. > > So, before I dig deeper, is this a known issue that Thread.yield() does not work as expected? Is it is known issue that LockSupport.unpark() fails to reschedule threads? > > Is it possible because the VirtualThreads do not implement the Java memory model properly? > > Any ideas how to further diagnose? > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From oleksandr.otenko at gmail.com Wed Dec 28 05:14:53 2022 From: oleksandr.otenko at gmail.com (Alex Otenko) Date: Wed, 28 Dec 2022 05:14:53 +0000 Subject: Project Loom VirtualThreads hang In-Reply-To: References: Message-ID: I am not a Loom developer, so can't speak of what should be supported. RingBuffer as written there is not synchronized correctly and can lead to hangs even if you assume the behaviour of Thread.yield is fair. I won't go into detail, but the producers not synchronizing between themselves leads to hangs. Alex On Wed, 28 Dec 2022, 04:31 robert engels, wrote: > OK. I created a stand-alone test case that demonstrates the problem. It is > available at https://github.com/robaho/vthread_test > > If you run VThreadTest 8 8 1000000 (at least on my 4 core iMac), > eventually the VThreadTest native thread will ?spin? attempting to unpark() > a virtual thread (and have it read from the queue). If you use the debugger > you see that the the vthread it is attempting to unpark is unparked - it > has a run state=2 and runPermit=true but it never runs - leading to the > VThreadTest thread to spin indefinitely. > > The reason is the 8 producers are ?spinning? as well, trying to put into > the main queue. This means that the ?consumer? vthread can never run to > pull an item from the queue to allow the main to make progress. > > Adding a Thread.yield() to the spinning put() does not help. > > Adding a LockSupport.parkNanos(1) to the spinning put() allows it to work. > > I think Thread.yield() is broken in this regard. I know that > Thread.yield() is documented to be advisory only, but if there is no > virtual thread preemption a lot of code is going to require extra effort > and testing to port to virtual threads. Developers expect ?fair? thread > scheduling in the absence of features like real-time priorities, etc. > > If Thread.yield() is fixed, I also suggest that a thread calling > LockSupport.unpark() does an implicit Thread.yield() - which should be very > efficient if the number of runnable threads is less than the carrier thread > count. Almost all lock-free structures use LockSupport park/unpark as their > under pinnings, and this would allow things to work without preemption. > This program forces this issue, but a lot of lock-free structures are based > on the program making ?some progress?. In this case, the designer could > ?know? that it takes at most N nanos of spinning before a consumer will > take the object - but if there are enough other spinning vthreads ?in that > moment? you will have a hang. This will lead to hard to diagnose timing > bugs. > > For reference, using parkNanos(1) with native threads and 8 8 500000, it > completes in 21 secs. Using virtual threads it completes in 7 secs! > > A proper Thread.yield() should provide even better performance. > > Note as well, if you remove the parkNanos(1) and use native threads, the > program completes successfully - albeit the cpus spin, spin, spin - so be > careful. It takes 70 secs to run the above test. > > *** all of the above said, in the original testing and why I opened this > issue, the carrier threads did not look allocated - and still the unparked > vthread never ran. I will continue to test using the original setup. > > > > On Dec 27, 2022, at 4:27 PM, robert engels wrote: > > Hi devs, > > First, > > Thanks for this amazing work!!! It literally solves the only remaining > problem Java had. > > Sorry for the long email. > > I have been very excited to test-drive Project Loom in JDK19. I have > extensive experience in highly concurrent systems/HFT/HPC, so I usually :) > know what I am doing. > > For the easiest test, I took a highly threaded (connection based) server > based system (Java port of Go?s nats.io message broker), and converted > the threads to virtual threads. The project (jnatsd) is available here > . The ?master? branch runs very well > with excellent performance, but I thought switching to virtual threads > might be able to improve things over using async IO, channels, etc. (I have > a branch for this that works as well, but it is much more complex, and > didn?t provide a huge performance benefit)/ > > There are two branches ?simple_virtual_threads? and ?virtual_threads?. > > In the former, it is literally a 2 line change to enable the virtual > threads but it doesn?t work. I narrowed it down the issue that > LockSupport.unpark(thread) does not work consistently. At some point, the > virtual thread is never scheduled again. I enabled the debug options and I > see that the the virtual thread is in: > > yield0:365, Continuation (jdk.internal.vm) > yield:357, Continuation (jdk.internal.vm) > yieldContinuation:370, VirtualThread (java.lang) > park:499, VirtualThread (java.lang) > parkVirtualThread:2606, System$2 (java.lang) > park:54, VirtualThreads (jdk.internal.misc) > park:369, LockSupport (java.util.concurrent.locks) > run:88, Connection$ConnectionWriter (com.robaho.jnatsd) > run:287, VirtualThread (java.lang) > lambda$new$0:174, VirtualThread$VThreadContinuation (java.lang) > run:-1, VirtualThread$VThreadContinuation$$Lambda$50/0x0000000801065670 (java.lang) > enter0:327, Continuation (jdk.internal.vm) > enter:320, Continuation (jdk.internal.vm) > > The instance state is: > > this = {VirtualThread$VThreadContinuation at 1775} > target = {VirtualThread$VThreadContinuation$lambda at 1777} > arg$1 = {VirtualThread at 1699} > scheduler = {ForkJoinPool at 1781} > cont = {VirtualThread$VThreadContinuation at 1775} > runContinuation = {VirtualThread$lambda at 1782} > state = 2 > parkPermit = true > carrierThread = null > termination = null > eetop = 0 > tid = 76 > name = "" > interrupted = false > contextClassLoader = {ClassLoaders$AppClassLoader at 1784} > inheritedAccessControlContext = {AccessControlContext at 1785} > holder = null > threadLocals = null > inheritableThreadLocals = null > extentLocalBindings = null > interruptLock = {Object at 1786} > parkBlocker = null > nioBlocker = null > Thread.cont = null > uncaughtExceptionHandler = null > threadLocalRandomSeed = 0 > threadLocalRandomProbe = 0 > threadLocalRandomSecondarySeed = 0 > container = {ThreadContainers$RootContainer$CountingRootContainer at 1787 > } > headStackableScopes = null > arg$2 = {Connection$ConnectionWriter at 1780} > scope = {ContinuationScope at 1776} > parent = null > child = null > tail = {StackChunk at 1778} > done = false > mounted = false > yieldInfo = null > preempted = false > extentLocalCache = null > scope = {ContinuationScope at 1776} > child = null > > As you see in the above, the parkPermit is true, but it never runs again. > > In the latter branch, ?virtual_threads?, I changed the lock-free > RingBuffer class to use simple synchronized primitives - under the > assumption that with virtual threads lock/wait/notify should be highly > efficient. It worked, but it was nearly 2x slower than the original thread > based lock-free implementation. So, I added a ?spin loop? in the RingBuffer > methods. This code is completely optional and can be no-op?d, and I was > able to increase performance to above that of the Thread based version. > > I dug a little deeper, and decided that using Thread.yield() should be > even more efficient than LockSupport.parkNanos(1) - problem is that > changing that simple line brings back the hangs. I think there is very > little semantic difference between LockSupport.parkNanos(1) and > Thread.yield() but the latter should avoid any timer scheduling. The > RingBuffer code there is fairly trivial. > > So, before I dig deeper, is this a known issue that Thread.yield() does > not work as expected? Is it is known issue that LockSupport.unpark() fails > to reschedule threads? > > Is it possible because the VirtualThreads do not implement the Java memory > model properly? > > Any ideas how to further diagnose? > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From oleksandr.otenko at gmail.com Wed Dec 28 07:58:03 2022 From: oleksandr.otenko at gmail.com (Alex Otenko) Date: Wed, 28 Dec 2022 07:58:03 +0000 Subject: Project Loom VirtualThreads hang In-Reply-To: References: Message-ID: I guess what I want to say is that normally you would need a reproducer that doesn't deadlock on its own. In this design of RingBuffer two producers can leave an arbitrary number of elements unconsumed, and if there are more than two producers, an arbitrary number of producers can hang unable to store new elements. Alex On Wed, 28 Dec 2022, 05:14 Alex Otenko, wrote: > I am not a Loom developer, so can't speak of what should be supported. > > RingBuffer as written there is not synchronized correctly and can lead to > hangs even if you assume the behaviour of Thread.yield is fair. I won't go > into detail, but the producers not synchronizing between themselves leads > to hangs. > > > Alex > > On Wed, 28 Dec 2022, 04:31 robert engels, wrote: > >> OK. I created a stand-alone test case that demonstrates the problem. It >> is available at https://github.com/robaho/vthread_test >> >> If you run VThreadTest 8 8 1000000 (at least on my 4 core iMac), >> eventually the VThreadTest native thread will ?spin? attempting to unpark() >> a virtual thread (and have it read from the queue). If you use the debugger >> you see that the the vthread it is attempting to unpark is unparked - it >> has a run state=2 and runPermit=true but it never runs - leading to the >> VThreadTest thread to spin indefinitely. >> >> The reason is the 8 producers are ?spinning? as well, trying to put into >> the main queue. This means that the ?consumer? vthread can never run to >> pull an item from the queue to allow the main to make progress. >> >> Adding a Thread.yield() to the spinning put() does not help. >> >> Adding a LockSupport.parkNanos(1) to the spinning put() allows it to work. >> >> I think Thread.yield() is broken in this regard. I know that >> Thread.yield() is documented to be advisory only, but if there is no >> virtual thread preemption a lot of code is going to require extra effort >> and testing to port to virtual threads. Developers expect ?fair? thread >> scheduling in the absence of features like real-time priorities, etc. >> >> If Thread.yield() is fixed, I also suggest that a thread calling >> LockSupport.unpark() does an implicit Thread.yield() - which should be very >> efficient if the number of runnable threads is less than the carrier thread >> count. Almost all lock-free structures use LockSupport park/unpark as their >> under pinnings, and this would allow things to work without preemption. >> This program forces this issue, but a lot of lock-free structures are based >> on the program making ?some progress?. In this case, the designer could >> ?know? that it takes at most N nanos of spinning before a consumer will >> take the object - but if there are enough other spinning vthreads ?in that >> moment? you will have a hang. This will lead to hard to diagnose timing >> bugs. >> >> For reference, using parkNanos(1) with native threads and 8 8 500000, it >> completes in 21 secs. Using virtual threads it completes in 7 secs! >> >> A proper Thread.yield() should provide even better performance. >> >> Note as well, if you remove the parkNanos(1) and use native threads, the >> program completes successfully - albeit the cpus spin, spin, spin - so be >> careful. It takes 70 secs to run the above test. >> >> *** all of the above said, in the original testing and why I opened this >> issue, the carrier threads did not look allocated - and still the unparked >> vthread never ran. I will continue to test using the original setup. >> >> >> >> On Dec 27, 2022, at 4:27 PM, robert engels wrote: >> >> Hi devs, >> >> First, >> >> Thanks for this amazing work!!! It literally solves the only remaining >> problem Java had. >> >> Sorry for the long email. >> >> I have been very excited to test-drive Project Loom in JDK19. I have >> extensive experience in highly concurrent systems/HFT/HPC, so I usually :) >> know what I am doing. >> >> For the easiest test, I took a highly threaded (connection based) server >> based system (Java port of Go?s nats.io message broker), and converted >> the threads to virtual threads. The project (jnatsd) is available here >> . The ?master? branch runs very well >> with excellent performance, but I thought switching to virtual threads >> might be able to improve things over using async IO, channels, etc. (I have >> a branch for this that works as well, but it is much more complex, and >> didn?t provide a huge performance benefit)/ >> >> There are two branches ?simple_virtual_threads? and ?virtual_threads?. >> >> In the former, it is literally a 2 line change to enable the virtual >> threads but it doesn?t work. I narrowed it down the issue that >> LockSupport.unpark(thread) does not work consistently. At some point, the >> virtual thread is never scheduled again. I enabled the debug options and I >> see that the the virtual thread is in: >> >> yield0:365, Continuation (jdk.internal.vm) >> yield:357, Continuation (jdk.internal.vm) >> yieldContinuation:370, VirtualThread (java.lang) >> park:499, VirtualThread (java.lang) >> parkVirtualThread:2606, System$2 (java.lang) >> park:54, VirtualThreads (jdk.internal.misc) >> park:369, LockSupport (java.util.concurrent.locks) >> run:88, Connection$ConnectionWriter (com.robaho.jnatsd) >> run:287, VirtualThread (java.lang) >> lambda$new$0:174, VirtualThread$VThreadContinuation (java.lang) >> run:-1, VirtualThread$VThreadContinuation$$Lambda$50/0x0000000801065670 (java.lang) >> enter0:327, Continuation (jdk.internal.vm) >> enter:320, Continuation (jdk.internal.vm) >> >> The instance state is: >> >> this = {VirtualThread$VThreadContinuation at 1775} >> target = {VirtualThread$VThreadContinuation$lambda at 1777} >> arg$1 = {VirtualThread at 1699} >> scheduler = {ForkJoinPool at 1781} >> cont = {VirtualThread$VThreadContinuation at 1775} >> runContinuation = {VirtualThread$lambda at 1782} >> state = 2 >> parkPermit = true >> carrierThread = null >> termination = null >> eetop = 0 >> tid = 76 >> name = "" >> interrupted = false >> contextClassLoader = {ClassLoaders$AppClassLoader at 1784} >> inheritedAccessControlContext = {AccessControlContext at 1785} >> holder = null >> threadLocals = null >> inheritableThreadLocals = null >> extentLocalBindings = null >> interruptLock = {Object at 1786} >> parkBlocker = null >> nioBlocker = null >> Thread.cont = null >> uncaughtExceptionHandler = null >> threadLocalRandomSeed = 0 >> threadLocalRandomProbe = 0 >> threadLocalRandomSecondarySeed = 0 >> container = {ThreadContainers$RootContainer$CountingRootContainer at 1787 >> } >> headStackableScopes = null >> arg$2 = {Connection$ConnectionWriter at 1780} >> scope = {ContinuationScope at 1776} >> parent = null >> child = null >> tail = {StackChunk at 1778} >> done = false >> mounted = false >> yieldInfo = null >> preempted = false >> extentLocalCache = null >> scope = {ContinuationScope at 1776} >> child = null >> >> As you see in the above, the parkPermit is true, but it never runs again. >> >> In the latter branch, ?virtual_threads?, I changed the lock-free >> RingBuffer class to use simple synchronized primitives - under the >> assumption that with virtual threads lock/wait/notify should be highly >> efficient. It worked, but it was nearly 2x slower than the original thread >> based lock-free implementation. So, I added a ?spin loop? in the RingBuffer >> methods. This code is completely optional and can be no-op?d, and I was >> able to increase performance to above that of the Thread based version. >> >> I dug a little deeper, and decided that using Thread.yield() should be >> even more efficient than LockSupport.parkNanos(1) - problem is that >> changing that simple line brings back the hangs. I think there is very >> little semantic difference between LockSupport.parkNanos(1) and >> Thread.yield() but the latter should avoid any timer scheduling. The >> RingBuffer code there is fairly trivial. >> >> So, before I dig deeper, is this a known issue that Thread.yield() does >> not work as expected? Is it is known issue that LockSupport.unpark() fails >> to reschedule threads? >> >> Is it possible because the VirtualThreads do not implement the Java >> memory model properly? >> >> Any ideas how to further diagnose? >> >> >> >> >> >> >> >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alan.Bateman at oracle.com Wed Dec 28 08:58:52 2022 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Wed, 28 Dec 2022 08:58:52 +0000 Subject: Project Loom VirtualThreads hang In-Reply-To: References: <3F84261B-7ED6-42EE-A5F2-2F98E050FC13@ix.netcom.com> Message-ID: <7b2d432e-1ef4-c73b-ff22-1c85af1da438@oracle.com> On 28/12/2022 01:28, Eric Kolotyluk wrote: > > My 2 cents... > > Right, Virtual Threads are not preemptable, and as explained by Ron > previously, it would be hard to make them preemptable... > > If a thread spins, this can be a problem, I don't know that "all other > threads will be blocked." Not sure why it's assumed that fork-join is > not stealing work... > > My intuition would be that Thread.yield() should move the current > thread to the end of the run queue, as I have often used this in the > past to serialize operations and achieve similar effects. If it does > not move the current thread to the end of the queue, I would love to > know why. > There isn't a single "run queue". The scheduler is a ForkJoinPool with submission queues, and task queues for each worker (carrier) thread. In JDK 19, the implementation of virtual Thread.yield always pushes to the current carrier thread's task queue, and in a lazy manner to reduce steals. It has changed in JDK 20 so that it pushes to a submission queue when the current carrier thread's task queue is empty. This should improve fairness and reduce surprises, but the temptation to assume it can be used to get cooperative scheduling should be avoided. I haven't looked at the reproducer but I see Alex Otenko's mails suggesting that the ring buffer has other issues. Once they are fixed then it would be interesting to re-run the test with JDK 20 to see if that changes the behavior. -Alan. From nigro.fra at gmail.com Wed Dec 28 09:02:31 2022 From: nigro.fra at gmail.com (Francesco Nigro) Date: Wed, 28 Dec 2022 10:02:31 +0100 Subject: Project Loom VirtualThreads hang In-Reply-To: References: Message-ID: Hi Robert, Thanks for your email and experiments! Just a note re > I changed the lock-free RingBuffer class to use simple synchronized primitives - under the assumption that with virtual threads lock/wait/notify should be highly efficient. If you have the chance to take a look at https://youtube.com/clip/UgkxAH_XtwgYXV6xLxt5mcBbjZRVZQS-20tT I am the author of the channel type using a lock-free (partially, tbh) single-producer single-consumer logic and all the benefits of lock-free programming in term of progress guarantees still hold: using synchronization primitives is now "less costy" in some regards because the cost model of been put asleep/awaken has changed (especially if the whole machinery is busy enough!), but being able to make progresses with less cross-talk and/or interaction with the user-space scheduler can still be more efficient. IMHO that's great, meaning that some of the existing lock-free queues algorithms still makes sense - disclaimer, I'm one of the authors of JCTools :P. Il mar 27 dic 2022, 23:27 robert engels ha scritto: > Hi devs, > > First, > > Thanks for this amazing work!!! It literally solves the only remaining > problem Java had. > > Sorry for the long email. > > I have been very excited to test-drive Project Loom in JDK19. I have > extensive experience in highly concurrent systems/HFT/HPC, so I usually :) > know what I am doing. > > For the easiest test, I took a highly threaded (connection based) server > based system (Java port of Go?s nats.io message broker), and converted > the threads to virtual threads. The project (jnatsd) is available here > . The ?master? branch runs very well > with excellent performance, but I thought switching to virtual threads > might be able to improve things over using async IO, channels, etc. (I have > a branch for this that works as well, but it is much more complex, and > didn?t provide a huge performance benefit)/ > > There are two branches ?simple_virtual_threads? and ?virtual_threads?. > > In the former, it is literally a 2 line change to enable the virtual > threads but it doesn?t work. I narrowed it down the issue that > LockSupport.unpark(thread) does not work consistently. At some point, the > virtual thread is never scheduled again. I enabled the debug options and I > see that the the virtual thread is in: > > yield0:365, Continuation (jdk.internal.vm) > yield:357, Continuation (jdk.internal.vm) > yieldContinuation:370, VirtualThread (java.lang) > park:499, VirtualThread (java.lang) > parkVirtualThread:2606, System$2 (java.lang) > park:54, VirtualThreads (jdk.internal.misc) > park:369, LockSupport (java.util.concurrent.locks) > run:88, Connection$ConnectionWriter (com.robaho.jnatsd) > run:287, VirtualThread (java.lang) > lambda$new$0:174, VirtualThread$VThreadContinuation (java.lang) > run:-1, VirtualThread$VThreadContinuation$$Lambda$50/0x0000000801065670 (java.lang) > enter0:327, Continuation (jdk.internal.vm) > enter:320, Continuation (jdk.internal.vm) > > The instance state is: > > this = {VirtualThread$VThreadContinuation at 1775} > target = {VirtualThread$VThreadContinuation$lambda at 1777} > arg$1 = {VirtualThread at 1699} > scheduler = {ForkJoinPool at 1781} > cont = {VirtualThread$VThreadContinuation at 1775} > runContinuation = {VirtualThread$lambda at 1782} > state = 2 > parkPermit = true > carrierThread = null > termination = null > eetop = 0 > tid = 76 > name = "" > interrupted = false > contextClassLoader = {ClassLoaders$AppClassLoader at 1784} > inheritedAccessControlContext = {AccessControlContext at 1785} > holder = null > threadLocals = null > inheritableThreadLocals = null > extentLocalBindings = null > interruptLock = {Object at 1786} > parkBlocker = null > nioBlocker = null > Thread.cont = null > uncaughtExceptionHandler = null > threadLocalRandomSeed = 0 > threadLocalRandomProbe = 0 > threadLocalRandomSecondarySeed = 0 > container = {ThreadContainers$RootContainer$CountingRootContainer at 1787 > } > headStackableScopes = null > arg$2 = {Connection$ConnectionWriter at 1780} > scope = {ContinuationScope at 1776} > parent = null > child = null > tail = {StackChunk at 1778} > done = false > mounted = false > yieldInfo = null > preempted = false > extentLocalCache = null > scope = {ContinuationScope at 1776} > child = null > > As you see in the above, the parkPermit is true, but it never runs again. > > In the latter branch, ?virtual_threads?, I changed the lock-free > RingBuffer class to use simple synchronized primitives - under the > assumption that with virtual threads lock/wait/notify should be highly > efficient. It worked, but it was nearly 2x slower than the original thread > based lock-free implementation. So, I added a ?spin loop? in the RingBuffer > methods. This code is completely optional and can be no-op?d, and I was > able to increase performance to above that of the Thread based version. > > I dug a little deeper, and decided that using Thread.yield() should be > even more efficient than LockSupport.parkNanos(1) - problem is that > changing that simple line brings back the hangs. I think there is very > little semantic difference between LockSupport.parkNanos(1) and > Thread.yield() but the latter should avoid any timer scheduling. The > RingBuffer code there is fairly trivial. > > So, before I dig deeper, is this a known issue that Thread.yield() does > not work as expected? Is it is known issue that LockSupport.unpark() fails > to reschedule threads? > > Is it possible because the VirtualThreads do not implement the Java memory > model properly? > > Any ideas how to further diagnose? > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rengels at ix.netcom.com Wed Dec 28 12:50:30 2022 From: rengels at ix.netcom.com (Robert Engels) Date: Wed, 28 Dec 2022 06:50:30 -0600 Subject: Project Loom VirtualThreads hang Message-ID: <34BCE332-8EE9-4742-AAE2-16D52548437E@ix.netcom.com> ? Alex, You write: > I won't go into detail, but the producers not synchronizing between themselves leads to hangs. Can you explain? Im fairly certain the producers do valid synchronization. As I said, using native threads the code runs to completion fine Now that I understand the issue I was able to reproduce the issue very simply without any queues. See SpinTest posted to the project. The ?starver? thread fails to make any progress - this should not be possible is Thread.yield() was fair. > On Dec 27, 2022, at 11:15 PM, Alex Otenko wrote: > I won't go into detail, but the producers not synchronizing between themselves leads to hangs. From rengels at ix.netcom.com Wed Dec 28 13:07:03 2022 From: rengels at ix.netcom.com (Robert Engels) Date: Wed, 28 Dec 2022 07:07:03 -0600 Subject: Project Loom VirtualThreads hang In-Reply-To: <34BCE332-8EE9-4742-AAE2-16D52548437E@ix.netcom.com> References: <34BCE332-8EE9-4742-AAE2-16D52548437E@ix.netcom.com> Message-ID: <6D0BBA80-2749-4C58-8A5A-316E162B6CC2@ix.netcom.com> Alan, I tested with JDK 20 and both the VThreadTest and SpinTest complete successfully using Thread.yield! Surprisingly, it is slower than using LockSupport.parkNanos(1) - 14 secs vs 7 secs I am not sure this makes sense - as conceptually a thread yield should be at least as efficient as a 0 time sleep - and probably more efficient. > On Dec 28, 2022, at 6:51 AM, Robert Engels wrote: > > ? > Alex, > > You write: > >> I won't go into detail, but the producers not synchronizing between themselves leads to hangs. > > > Can you explain? Im fairly certain the producers do valid synchronization. As I said, using native threads the code runs to completion fine > > Now that I understand the issue I was able to reproduce the issue very simply without any queues. See SpinTest posted to the project. The ?starver? thread fails to make any progress - this should not be possible is Thread.yield() was fair. > >> On Dec 27, 2022, at 11:15 PM, Alex Otenko wrote: >> I won't go into detail, but the producers not synchronizing between themselves leads to hangs. From rengels at ix.netcom.com Wed Dec 28 14:13:34 2022 From: rengels at ix.netcom.com (robert engels) Date: Wed, 28 Dec 2022 08:13:34 -0600 Subject: Project Loom VirtualThreads hang In-Reply-To: <6D0BBA80-2749-4C58-8A5A-316E162B6CC2@ix.netcom.com> References: <34BCE332-8EE9-4742-AAE2-16D52548437E@ix.netcom.com> <6D0BBA80-2749-4C58-8A5A-316E162B6CC2@ix.netcom.com> Message-ID: <6A641AC2-23D8-4A64-9255-C1587AF8357D@ix.netcom.com> I posted a new branch ?no-lock-free? that uses a traditional ring buffer using standard synchronization primitives. It works fine - but take 52 seconds to complete - compared with 7 secs for the lock-free version. So, I added a ?spin loop? to the non-lock-free version which reduced the time to 8 secs! This points to opportunities to improve the synchronized/wait/notify handling under virtual threads. Still, this is VERY promising. The ?easy to read code? has nearly the same performance as the difficult to get right lock-free versions. Note, the RingBuffer in this version could be made even more performant by making it a true MPSC queue (it is actually a MPMC queue). Note, all the tests are run using ?8 8 500000? to save on energy costs :) > On Dec 28, 2022, at 7:07 AM, Robert Engels wrote: > > Alan, > > I tested with JDK 20 and both the VThreadTest and SpinTest complete successfully using Thread.yield! > > Surprisingly, it is slower than using LockSupport.parkNanos(1) - 14 secs vs 7 secs I am not sure this makes sense - as conceptually a thread yield should be at least as efficient as a 0 time sleep - and probably more efficient. > >> On Dec 28, 2022, at 6:51 AM, Robert Engels wrote: >> >> ? >> Alex, >> >> You write: >> >>> I won't go into detail, but the producers not synchronizing between themselves leads to hangs. >> >> >> Can you explain? Im fairly certain the producers do valid synchronization. As I said, using native threads the code runs to completion fine >> >> Now that I understand the issue I was able to reproduce the issue very simply without any queues. See SpinTest posted to the project. The ?starver? thread fails to make any progress - this should not be possible is Thread.yield() was fair. >> >>> On Dec 27, 2022, at 11:15 PM, Alex Otenko wrote: >>> I won't go into detail, but the producers not synchronizing between themselves leads to hangs. From rengels at ix.netcom.com Wed Dec 28 14:17:58 2022 From: rengels at ix.netcom.com (robert engels) Date: Wed, 28 Dec 2022 08:17:58 -0600 Subject: Project Loom VirtualThreads hang In-Reply-To: <6D0BBA80-2749-4C58-8A5A-316E162B6CC2@ix.netcom.com> References: <34BCE332-8EE9-4742-AAE2-16D52548437E@ix.netcom.com> <6D0BBA80-2749-4C58-8A5A-316E162B6CC2@ix.netcom.com> Message-ID: <4441685E-41BD-4916-BBA4-2B7BE5136342@ix.netcom.com> Btw, in regards to the timings here, this was for the SpinTest. > On Dec 28, 2022, at 7:07 AM, Robert Engels wrote: > > Alan, > > I tested with JDK 20 and both the VThreadTest and SpinTest complete successfully using Thread.yield! > > Surprisingly, it is slower than using LockSupport.parkNanos(1) - 14 secs vs 7 secs I am not sure this makes sense - as conceptually a thread yield should be at least as efficient as a 0 time sleep - and probably more efficient. > >> On Dec 28, 2022, at 6:51 AM, Robert Engels wrote: >> >> ? >> Alex, >> >> You write: >> >>> I won't go into detail, but the producers not synchronizing between themselves leads to hangs. >> >> >> Can you explain? Im fairly certain the producers do valid synchronization. As I said, using native threads the code runs to completion fine >> >> Now that I understand the issue I was able to reproduce the issue very simply without any queues. See SpinTest posted to the project. The ?starver? thread fails to make any progress - this should not be possible is Thread.yield() was fair. >> >>> On Dec 27, 2022, at 11:15 PM, Alex Otenko wrote: >>> I won't go into detail, but the producers not synchronizing between themselves leads to hangs. From oleksandr.otenko at gmail.com Wed Dec 28 18:10:45 2022 From: oleksandr.otenko at gmail.com (Alex Otenko) Date: Wed, 28 Dec 2022 18:10:45 +0000 Subject: Project Loom VirtualThreads hang In-Reply-To: <34BCE332-8EE9-4742-AAE2-16D52548437E@ix.netcom.com> References: <34BCE332-8EE9-4742-AAE2-16D52548437E@ix.netcom.com> Message-ID: Hi Robert, Since you have a reproducer that doesn't use RingBuffer, this is a little unnecessary, but I can explain a bit. 1. When you see multiple atomic operations, you wonder if things can happen out of order. Who can mutate tail counter and who can mutate array value, and what precludes more mutations of tail and array values? If you can't prove constructively that it can't happen, you need to assume that it may happen. 2. When you see integer arithmetic, you wonder what happens upon wraparound, and when does that happen? 3. When you see a condition check (and an indicator that it is an error - an exception is thrown), you wonder what may be the flip side of that condition (may it go undetected?) Those are red flags that drive investigation. Even without a proof of how things go wrong, I would raise questions about its safety. However, in this case we can even show how to deadlock. Producer A and B, RingBuffer of size N. Consumer emptied the buffer, so head == tail. Producer A ready to offer, increments tail, and gets suspended before it updates array at position tail. (E.g. interrupt preempts the thread) Producer B offers N values. Observe that tail wraparound occurs. Consumer consumes all N values. Now array cell at tail is null again. Producer B offers N-2 values. Now array cell at tail is not null again. Consumer consumes at least 1 value. Now array cell at tail is null. Producer A resumes, stores the value, because the correctness condition is met. (the flip side of exception throw - the inconsistency went unobserved) Done. Now Consumer will not be able to access array cell with the value Producer A has just stored, and will wait indefinitely. You may need to track head to see why that is the case. Alex On Wed, 28 Dec 2022, 12:50 Robert Engels, wrote: > > Alex, > > You write: > > > I won't go into detail, but the producers not synchronizing between > themselves leads to hangs. > > > Can you explain? Im fairly certain the producers do valid synchronization. > As I said, using native threads the code runs to completion fine > > Now that I understand the issue I was able to reproduce the issue very > simply without any queues. See SpinTest posted to the project. The > ?starver? thread fails to make any progress - this should not be possible > is Thread.yield() was fair. > > > On Dec 27, 2022, at 11:15 PM, Alex Otenko > wrote: > > I won't go into detail, but the producers not synchronizing between > themselves leads to hangs. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rengels at ix.netcom.com Thu Dec 29 22:23:36 2022 From: rengels at ix.netcom.com (robert engels) Date: Thu, 29 Dec 2022 16:23:36 -0600 Subject: Project Loom VirtualThreads hang In-Reply-To: References: <34BCE332-8EE9-4742-AAE2-16D52548437E@ix.netcom.com> Message-ID: <4D7B5F7C-302A-4AAB-B00B-29E53FECBD47@ix.netcom.com> I realized I left off the list, which causes some discussion with Alex to be removed. ?? I think the check + exception was not just an assertion. It could actually happen, if Producer B offers N values, and Producer A resumes before consumer makes any progress. This is probably not the case after adding the check. Alex ?? Thanks for the very thoughtful analysis. Luckily, I am pretty certain it is a trivial fix for the out of order as well - simply ensure that ?next tail? != head when checking if there is space in the buffer. The consumer cannot race ahead because it must read a non-null value. I posted the updated code. If Producer A never gets rescheduled the system will hang, but that would be considered a critical failure (which is what prompted the original inquiry). To your other points: 1. yes, it requires significant cognitive reasoning to get right - oops. 2. this is why next() is used - to avoid problems with integer math 3. the condition check is really an assert. all else being correct it should never occur. Luckily, as you point out, the bug in the ring buffer had nothing to do with the problems being reported: 1) that an ?unparked? vthread never runs, and 2) that Thread.yield() does not behave as expected with vthreads. Happily, both seem to be addressed in JDK 20. ?? But doing those tracking steps myself, it looks like i rushed to conclusions. We only observe elements issued by producer B in wrong order, but that's only a problem if it is meant to be a FIFO queue. Alex ?? > On Dec 28, 2022, at 12:10 PM, Alex Otenko wrote: > > Hi Robert, > > Since you have a reproducer that doesn't use RingBuffer, this is a little unnecessary, but I can explain a bit. > > 1. When you see multiple atomic operations, you wonder if things can happen out of order. Who can mutate tail counter and who can mutate array value, and what precludes more mutations of tail and array values? If you can't prove constructively that it can't happen, you need to assume that it may happen. > > 2. When you see integer arithmetic, you wonder what happens upon wraparound, and when does that happen? > > 3. When you see a condition check (and an indicator that it is an error - an exception is thrown), you wonder what may be the flip side of that condition (may it go undetected?) > > Those are red flags that drive investigation. Even without a proof of how things go wrong, I would raise questions about its safety. > > However, in this case we can even show how to deadlock. > > Producer A and B, RingBuffer of size N. > > Consumer emptied the buffer, so head == tail. > > Producer A ready to offer, increments tail, and gets suspended before it updates array at position tail. (E.g. interrupt preempts the thread) > > Producer B offers N values. Observe that tail wraparound occurs. > > Consumer consumes all N values. Now array cell at tail is null again. > > Producer B offers N-2 values. Now array cell at tail is not null again. > > Consumer consumes at least 1 value. Now array cell at tail is null. > > Producer A resumes, stores the value, because the correctness condition is met. (the flip side of exception throw - the inconsistency went unobserved) > > Done. Now Consumer will not be able to access array cell with the value Producer A has just stored, and will wait indefinitely. You may need to track head to see why that is the case. > > > Alex > > On Wed, 28 Dec 2022, 12:50 Robert Engels, > wrote: > > Alex, > > You write: > > > I won't go into detail, but the producers not synchronizing between themselves leads to hangs. > > > Can you explain? Im fairly certain the producers do valid synchronization. As I said, using native threads the code runs to completion fine > > Now that I understand the issue I was able to reproduce the issue very simply without any queues. See SpinTest posted to the project. The ?starver? thread fails to make any progress - this should not be possible is Thread.yield() was fair. > > > On Dec 27, 2022, at 11:15 PM, Alex Otenko > wrote: > > I won't go into detail, but the producers not synchronizing between themselves leads to hangs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rengels at ix.netcom.com Thu Dec 29 22:25:44 2022 From: rengels at ix.netcom.com (robert engels) Date: Thu, 29 Dec 2022 16:25:44 -0600 Subject: Project Loom VirtualThreads hang In-Reply-To: <4D7B5F7C-302A-4AAB-B00B-29E53FECBD47@ix.netcom.com> References: <34BCE332-8EE9-4742-AAE2-16D52548437E@ix.netcom.com> <4D7B5F7C-302A-4AAB-B00B-29E53FECBD47@ix.netcom.com> Message-ID: <3561BF97-981C-47DF-B16A-91F13E174079@ix.netcom.com> I also found, Thread.onSpinWait(). The default implementation is empty, but I wonder if there should be an implementation for VThreads that functions the same as Thread.yield()... > On Dec 29, 2022, at 4:23 PM, robert engels wrote: > > I realized I left off the list, which causes some discussion with Alex to be removed. > > ?? > I think the check + exception was not just an assertion. It could actually happen, if Producer B offers N values, and Producer A resumes before consumer makes any progress. This is probably not the case after adding the check. > > > Alex > ?? > > Thanks for the very thoughtful analysis. > > Luckily, I am pretty certain it is a trivial fix for the out of order as well - simply ensure that ?next tail? != head when checking if there is space in the buffer. The consumer cannot race ahead because it must read a non-null value. I posted the updated code. If Producer A never gets rescheduled the system will hang, but that would be considered a critical failure (which is what prompted the original inquiry). > > To your other points: > > 1. yes, it requires significant cognitive reasoning to get right - oops. > 2. this is why next() is used - to avoid problems with integer math > 3. the condition check is really an assert. all else being correct it should never occur. > > Luckily, as you point out, the bug in the ring buffer had nothing to do with the problems being reported: 1) that an ?unparked? vthread never runs, and 2) that Thread.yield() does not behave as expected with vthreads. Happily, both seem to be addressed in JDK 20. > > ?? > But doing those tracking steps myself, it looks like i rushed to conclusions. We only observe elements issued by producer B in wrong order, but that's only a problem if it is meant to be a FIFO queue. > > Alex > ?? > > >> On Dec 28, 2022, at 12:10 PM, Alex Otenko > wrote: >> >> Hi Robert, >> >> Since you have a reproducer that doesn't use RingBuffer, this is a little unnecessary, but I can explain a bit. >> >> 1. When you see multiple atomic operations, you wonder if things can happen out of order. Who can mutate tail counter and who can mutate array value, and what precludes more mutations of tail and array values? If you can't prove constructively that it can't happen, you need to assume that it may happen. >> >> 2. When you see integer arithmetic, you wonder what happens upon wraparound, and when does that happen? >> >> 3. When you see a condition check (and an indicator that it is an error - an exception is thrown), you wonder what may be the flip side of that condition (may it go undetected?) >> >> Those are red flags that drive investigation. Even without a proof of how things go wrong, I would raise questions about its safety. >> >> However, in this case we can even show how to deadlock. >> >> Producer A and B, RingBuffer of size N. >> >> Consumer emptied the buffer, so head == tail. >> >> Producer A ready to offer, increments tail, and gets suspended before it updates array at position tail. (E.g. interrupt preempts the thread) >> >> Producer B offers N values. Observe that tail wraparound occurs. >> >> Consumer consumes all N values. Now array cell at tail is null again. >> >> Producer B offers N-2 values. Now array cell at tail is not null again. >> >> Consumer consumes at least 1 value. Now array cell at tail is null. >> >> Producer A resumes, stores the value, because the correctness condition is met. (the flip side of exception throw - the inconsistency went unobserved) >> >> Done. Now Consumer will not be able to access array cell with the value Producer A has just stored, and will wait indefinitely. You may need to track head to see why that is the case. >> >> >> Alex >> >> On Wed, 28 Dec 2022, 12:50 Robert Engels, > wrote: >> >> Alex, >> >> You write: >> >> > I won't go into detail, but the producers not synchronizing between themselves leads to hangs. >> >> >> Can you explain? Im fairly certain the producers do valid synchronization. As I said, using native threads the code runs to completion fine >> >> Now that I understand the issue I was able to reproduce the issue very simply without any queues. See SpinTest posted to the project. The ?starver? thread fails to make any progress - this should not be possible is Thread.yield() was fair. >> >> > On Dec 27, 2022, at 11:15 PM, Alex Otenko > wrote: >> > I won't go into detail, but the producers not synchronizing between themselves leads to hangs. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alan.Bateman at oracle.com Fri Dec 30 08:24:18 2022 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Fri, 30 Dec 2022 08:24:18 +0000 Subject: Project Loom VirtualThreads hang In-Reply-To: <3561BF97-981C-47DF-B16A-91F13E174079@ix.netcom.com> References: <34BCE332-8EE9-4742-AAE2-16D52548437E@ix.netcom.com> <4D7B5F7C-302A-4AAB-B00B-29E53FECBD47@ix.netcom.com> <3561BF97-981C-47DF-B16A-91F13E174079@ix.netcom.com> Message-ID: <98aa8ab6-d358-62ea-79c8-07c8d2594a6e@oracle.com> On 29/12/2022 22:25, robert engels wrote: > I also found, Thread.onSpinWait(). > > The default implementation is empty, but I wonder if there should be > an implementation for VThreads that functions the same as > Thread.yield()... Thread.onSpinWait is for spin or busy waiting in low-level code, say when spinning for some variable to change. It is compiled to a pause instruction (or isb or the equivalent for the processor, maybe even a nop) so it's measured in CPU cycles. This could be a different order of magnitude to a Thread.yield that might be a few hundred nanoseconds in the best case and appropriate when there isn't any work to do and useful to give up the processor.? This is an area where the API docs could provide some guidance. -Alan From manish.c.ghildiyal at gmail.com Fri Dec 30 08:48:19 2022 From: manish.c.ghildiyal at gmail.com (Manish G) Date: Fri, 30 Dec 2022 14:18:19 +0530 Subject: Project Loom VirtualThreads hang In-Reply-To: <98aa8ab6-d358-62ea-79c8-07c8d2594a6e@oracle.com> References: <34BCE332-8EE9-4742-AAE2-16D52548437E@ix.netcom.com> <4D7B5F7C-302A-4AAB-B00B-29E53FECBD47@ix.netcom.com> <3561BF97-981C-47DF-B16A-91F13E174079@ix.netcom.com> <98aa8ab6-d358-62ea-79c8-07c8d2594a6e@oracle.com> Message-ID: I may chip in here if any API docs update is needed. Please let me know. Manish On Fri, Dec 30, 2022 at 1:54 PM Alan Bateman wrote: > On 29/12/2022 22:25, robert engels wrote: > > I also found, Thread.onSpinWait(). > > > > The default implementation is empty, but I wonder if there should be > > an implementation for VThreads that functions the same as > > Thread.yield()... > > Thread.onSpinWait is for spin or busy waiting in low-level code, say > when spinning for some variable to change. It is compiled to a pause > instruction (or isb or the equivalent for the processor, maybe even a > nop) so it's measured in CPU cycles. This could be a different order of > magnitude to a Thread.yield that might be a few hundred nanoseconds in > the best case and appropriate when there isn't any work to do and useful > to give up the processor. This is an area where the API docs could > provide some guidance. > > -Alan > -------------- next part -------------- An HTML attachment was scrubbed... URL: From th_nabe at yahoo.com Mon Dec 26 22:59:00 2022 From: th_nabe at yahoo.com (KT Nabe) Date: Mon, 26 Dec 2022 22:59:00 +0000 (UTC) Subject: Thread::yield in a VirtualThread References: <1923444327.4402301.1672095540213.ref@mail.yahoo.com> Message-ID: <1923444327.4402301.1672095540213@mail.yahoo.com> In writing a simulation for my students, I've encountered some unexpected behavior when virtual threads invoke Thread.yield (understanding that it isn't really clear what guarantees if any are provided). In short, if enough* virtual threads are concurrently executing Thread.yield, then no other suspended (sic? yielded/paused) virtual threads will ever be resumed (in my case the other vt's in question were Thread.sleeping, but their deadline has long since expired) *enough seems to be =:= the number of CarrierThreads allocated for the default FJP used to run virtual threads (but that's merely an inference from debugging the simulation and may not be what is really going on) so I have a check-before-continue (spin) loop: A: while (0 != (mask & state.get())) { Thread.yield(); //nothing to do until some other thread mutates #state } and other virtual threads: B: Thread.sleep(1_000L) //at some point this never returns, and so the next line is never executed state.addAndGet(-mask) in running the code in a debugger, as best I can tell, Thread.yield() .... Continuation.yield(SCOPE) // returns false?!? although the return value is ignored I don't know what Continuation::yield returning false actually means, and what its effects are What did I expect? Well, that yielding a virtual-thread/continuation would result in the opportunity for other virtual threads to be resumed/run; I realize that Thread.yield on a platform thread is more or less undefined, but I assumed that on a virtual thread it would have stronger guarantees (yielding a continuation is kind of the point, isn't it?) Now, if I replace A: while (0 != (mask & state.get())) { // Thread.yield(); //nothing to do until some other thread mutates #state Thread.sleep(10L); } that solves the problem (there are no program logic errors), and all virtual threads make progress as expected. Is this surprising behavior or do I not understand something? Thanks. -T particulars: Java: 19.0.1; OpenJDK 64-Bit Server VM 19.0.1+10 Runtime: OpenJDK Runtime Environment 19.0.1+10