From Alan.Bateman at oracle.com Mon Aug 1 05:37:33 2022 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Mon, 1 Aug 2022 06:37:33 +0100 Subject: Motivation to put Continuation, ContinuationScope, and Scope in jdk.internal.vm package In-Reply-To: References: Message-ID: On 31/07/2022 21:19, Robbe Pincket wrote: > > The wiki still lists the old information: > > : > > Someone should probably fix that before Java 19 releases? > > Yes, the wiki pages need to be updated although they are the OpenJDK project. The JDK 19 docs will link to JEP 425 and JEP 428 as they document the features that are in Java/JDK 19. -Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alan.Bateman at oracle.com Mon Aug 1 05:42:22 2022 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Mon, 1 Aug 2022 06:42:22 +0100 Subject: Usage of direct IO with virtual threads In-Reply-To: References: <1cbf08ae-2eb5-6e76-bbf6-957c16715cb1@oracle.com> <8e6a5105-5a44-9bbb-4eaf-43d9961fb3fe@oracle.com> Message-ID: <1d462f29-1449-f59f-7728-5f352799c9c0@oracle.com> On 21/07/2022 10:19, Andrey Lomakin wrote: > Hi Alan. > Thank you for your reply. > Recently MS added io_ring support for Windows as alternative?to the > io_uring of Linux. > You will be interested to add support for both API > https://windows-internals.com/i-o-rings-when-one-i-o-operation-is-not-enough/ > . > Just FYI. > Thanks. Yes, we've been tracking this and architecturally it looks an implementation based on the API should be able to plugin. -Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alan.Bateman at oracle.com Mon Aug 1 05:50:18 2022 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Mon, 1 Aug 2022 06:50:18 +0100 Subject: JNDI LDAP Threads & Loom In-Reply-To: References: Message-ID: On 19/07/2022 12:24, Jason Rivard wrote: > : > > I suppose a similar question also applies to otherwise similar > internal threads created for per-socket I/O work - I'm assuming there > are others. Yes, there are several others and just to add to Ron's comment is that we had to deliberately drop some of these (e.g. the thread used for SSL handshake complete notifications) because virtual threads are a preview feature. Once the feature is permanent then we should be able to change a number of these threads to be virtual threads and reduce resources when they are ideal (like in the LDAP case where you may have hundreds of connections to a LDAP server, each with a worker thread). -Alan From Alan.Bateman at oracle.com Mon Aug 1 05:59:43 2022 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Mon, 1 Aug 2022 06:59:43 +0100 Subject: [External] : Re: jstack, profilers and other tools In-Reply-To: References: <271F8C58-F096-42B2-9432-E5643A7F133C@oracle.com> <0F187B4E-65FE-4BF0-86DE-661088C65DD8@oracle.com> <1FA73DAE-FD5D-4CC6-9638-C9985C20D286@oracle.com> <838D57E6-8671-4F6C-8792-E95E6D2DAD87@oracle.com> Message-ID: <6f321f7c-c9d2-600d-6a6d-540959a9fac1@oracle.com> On 24/07/2022 14:05, Alex Otenko wrote: > : > > Also, I am not clear why you dismissed the allocation problem by just > saying IO buffering is the same. The allocation problem is that user > code allocates before read(byte[]) is called. This is the same in both > sync and async code. The difference is that in async code the lifespan > of the allocation is shorter - we read only read-ready channels, and > those that aren't ready return quickly. In sync code the buffer > remains allocated for a long time - even seconds, if that's what the > connection reuse pattern is on the client side. > I think I've replied to you a few times on topic,? but just to say again that we haven't dismissed adding overloads of read that would take a supplier or provide other means to lazily get the buffer when there are bytes available. This project's position on this has always been that we would see how far we would get first. The reason for caution is that there are many issues with such APIs (as it's essentially callback at a very low level) and in addition it would support through many layers and libraries to get any real benefit. -Alan From duke at openjdk.org Mon Aug 1 07:32:43 2022 From: duke at openjdk.org (duke) Date: Mon, 1 Aug 2022 07:32:43 GMT Subject: git: openjdk/loom: fibers: 177 new changesets Message-ID: Changeset: c83fcbd1 Author: Sergey Tsypanov Committer: Joe Darcy Date: 2022-07-13 19:36:50 +0000 URL: https://git.openjdk.org/loom/commit/c83fcbd18fff4d10c4162c43ddcdf3a51ce2c8e6 8290079: Reduce interaction with volatile in static initializer of BigInteger Reviewed-by: jpai, rriggs, darcy ! src/java.base/share/classes/java/math/BigInteger.java Changeset: 3216d198 Author: lawrence.andrews Committer: Phil Race Date: 2022-07-13 22:42:13 +0000 URL: https://git.openjdk.org/loom/commit/3216d198f382e991522600086bb2691abfe5f067 8289559: java/awt/a11y/AccessibleJPopupMenuTest.java test fails with java.lang.NullPointerException Reviewed-by: serb ! test/jdk/java/awt/a11y/AccessibleJPopupMenuTest.java Changeset: dbab827b Author: Bill Huang Committer: Jaikiran Pai Date: 2022-07-14 01:31:34 +0000 URL: https://git.openjdk.org/loom/commit/dbab827bee5297c19b10f0923a962fe6c0ac5cbd 8249834: java/util/ArrayList/Bug8146568.java and j/u/Vector/Bug8148174.java use @ignore w/o bug-id Reviewed-by: jpai ! test/jdk/TEST.groups ! test/jdk/java/util/ArrayList/Bug8146568.java ! test/jdk/java/util/Vector/Bug8148174.java Changeset: 3471ac9a Author: Feilong Jiang Committer: Jie Fu Date: 2022-07-14 03:32:52 +0000 URL: https://git.openjdk.org/loom/commit/3471ac9a907780d894d05bd58cf883c4c8d8838d 8290164: compiler/runtime/TestConstantsInError.java fails on riscv Reviewed-by: fyang, yadongwang ! test/hotspot/jtreg/compiler/runtime/TestConstantsInError.java Changeset: 5d588eda Author: Ichiroh Takiguchi Date: 2022-07-14 04:35:54 +0000 URL: https://git.openjdk.org/loom/commit/5d588eda97aeab0c8fda6ad8d332d6a4cae31b05 8290218: AIX build failure by JDK-8289780 Reviewed-by: iklam, stuefe ! src/hotspot/share/prims/forte.cpp Changeset: 02fae607 Author: Andrey Turbanov Date: 2022-07-14 06:10:28 +0000 URL: https://git.openjdk.org/loom/commit/02fae60740ad6f5d6a2891eac5571155a3ae619c 8288067: Avoid redundant HashMap.containsKey call in Type1Font.expandAbbreviation Reviewed-by: attila, prr ! src/java.desktop/share/classes/sun/font/Type1Font.java Changeset: 2baf526f Author: Maurizio Cimadamore Date: 2022-07-12 14:14:46 +0000 URL: https://git.openjdk.org/loom/commit/2baf526fcec3ecd8e306fd9bd483ab5ed4ec8afe 8288850: SegmentAllocator:allocate() can return null some cases Reviewed-by: psandoz ! src/java.base/share/classes/jdk/internal/foreign/ArenaAllocator.java ! test/jdk/java/foreign/TestSegmentAllocators.java Changeset: 0fd1b689 Author: Maurizio Cimadamore Date: 2022-07-12 14:16:22 +0000 URL: https://git.openjdk.org/loom/commit/0fd1b68972995d5071eed21088e0997ac1171ca3 8290071: Javadoc for MemorySegment/MemoryAddress getter/setters contains some typos Reviewed-by: uschindler, psandoz ! src/java.base/share/classes/java/lang/foreign/MemoryAddress.java ! src/java.base/share/classes/java/lang/foreign/MemorySegment.java Changeset: 4545ed68 Author: Maurizio Cimadamore Date: 2022-07-12 14:22:42 +0000 URL: https://git.openjdk.org/loom/commit/4545ed6842b1882d64f62f96b7abdfc2b3d043b8 8289365: SegmentAllocator:allocateArray(MemoryLayout, count) does not throw IAEx when count is -1 Reviewed-by: psandoz ! src/java.base/share/classes/java/lang/foreign/SegmentAllocator.java ! test/jdk/java/foreign/TestSegmentAllocators.java Changeset: 59d0c739 Author: Alan Bateman Date: 2022-07-12 14:46:15 +0000 URL: https://git.openjdk.org/loom/commit/59d0c739ac983414bd429cf2b14c29b61cef5481 8289930: Improve Thread description of inherited AccessControlContext Reviewed-by: jpai, mchung ! src/java.base/share/classes/java/lang/Thread.java Changeset: 128c6c64 Author: Brian Burkhalter Date: 2022-07-12 20:48:23 +0000 URL: https://git.openjdk.org/loom/commit/128c6c648c24c37ab20a7c902d67d245e2b4ca72 8290095: java/nio/channels/FileChannel/largeMemory/LargeGatheringWrite.java timed out Reviewed-by: jpai, alanb ! test/jdk/java/nio/channels/FileChannel/largeMemory/LargeGatheringWrite.java Changeset: fff7f353 Author: Daniel D. Daugherty Date: 2022-07-12 21:04:43 +0000 URL: https://git.openjdk.org/loom/commit/fff7f35300f4a05046057fce80095fbec3fa275f 8290201: ProblemList com/sun/jdi/InvokeHangTest.java on macosx-x64 in vthread mode Reviewed-by: bpb ! test/jdk/ProblemList-svc-vthread.txt Changeset: ce36f6ea Author: Daniel D. Daugherty Date: 2022-07-12 21:45:19 +0000 URL: https://git.openjdk.org/loom/commit/ce36f6ea855a7ede02df969e6bb599ac36ac04fe 8290203: ProblemList vmTestbase/nsk/jvmti/scenarios/capability/CM03/cm03t001/TestDescription.java on linux-all Reviewed-by: naoto ! test/hotspot/jtreg/ProblemList.txt Changeset: a7f83582 Author: Jesper Wilhelmsson Date: 2022-07-14 06:19:40 +0000 URL: https://git.openjdk.org/loom/commit/a7f83582d323b0dc39abc0b2114144206183af45 Merge ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/ProblemList.txt Changeset: 292d909e Author: Daniel Jeli?ski Date: 2022-07-14 06:36:57 +0000 URL: https://git.openjdk.org/loom/commit/292d909e81266a75221d660e8914cbcec7640061 8290178: failure_handler: run netstat without name lookups Reviewed-by: jpai, dfuchs, msheppar, lmesnik ! test/failure_handler/src/share/conf/mac.properties Changeset: adf40d25 Author: KIRIYAMA Takuya Committer: Jaikiran Pai Date: 2022-07-14 07:00:33 +0000 URL: https://git.openjdk.org/loom/commit/adf40d25a1c53ac4804d013c78558c58edb20b85 8290149: java/nio/file/Files/probeContentType/Basic.java fails on Windows Server 2019/2022 Reviewed-by: jpai, lancea ! test/jdk/java/nio/file/Files/probeContentType/Basic.java Changeset: 109e21af Author: Albert Mingkun Yang Date: 2022-07-14 07:56:49 +0000 URL: https://git.openjdk.org/loom/commit/109e21af667ff85daca1d1e0756e0080dbaf54f3 8290080: G1: Remove unnecessary is-obj-dead check in HeapRegion::do_oops_on_memregion_in_humongous Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/g1/heapRegion.inline.hpp Changeset: be58cbc4 Author: Jie Fu Date: 2022-07-14 08:31:05 +0000 URL: https://git.openjdk.org/loom/commit/be58cbc417ba5e08aa2118f9522c72c96c181a86 8290269: gc/shenandoah/TestVerifyJCStress.java fails due to invalid tag: required after JDK-8290023 Reviewed-by: tschatzl ! test/hotspot/jtreg/gc/shenandoah/TestVerifyJCStress.java Changeset: c7c20661 Author: Albert Mingkun Yang Date: 2022-07-14 08:47:29 +0000 URL: https://git.openjdk.org/loom/commit/c7c20661eee727ed8354b19723c359ae7c2d4bd8 8290221: G1: Merge multiple calls of get_next_marked_addr in HeapRegion::oops_on_memregion_iterate_in_unparsable Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/g1/heapRegion.inline.hpp Changeset: 3bb2dc8e Author: Kim Barrett Date: 2022-07-14 14:37:10 +0000 URL: https://git.openjdk.org/loom/commit/3bb2dc8e7f91061a9f1141e9b8122d00adb9faee 8290290: Remove addition of TimeInstants Reviewed-by: stuefe, dholmes ! src/hotspot/share/utilities/ticks.hpp Changeset: 73b83e01 Author: Joe Wang Date: 2022-07-13 17:32:02 +0000 URL: https://git.openjdk.org/loom/commit/73b83e018838d3870733970b2bb22a8394b53330 8290207: Missing notice in dom.md Reviewed-by: iris, lancea, naoto ! src/java.xml/share/legal/dom.md Changeset: 2bf6285c Author: Joe Wang Date: 2022-07-13 21:02:45 +0000 URL: https://git.openjdk.org/loom/commit/2bf6285c80f078d8451afb5682ee307bb13be179 8290209: jcup.md missing additional text Reviewed-by: iris, naoto, lancea ! src/java.xml/share/legal/jcup.md Changeset: fd89ab8d Author: Jatin Bhateja Date: 2022-07-14 01:46:11 +0000 URL: https://git.openjdk.org/loom/commit/fd89ab8dacda1d6af5bd4be57a83362c8cdd5e20 8288112: C2: Error: ShouldNotReachHere() in Type::typerr() Reviewed-by: dlong, kvn ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/vectornode.cpp ! test/hotspot/jtreg/compiler/c2/cr6340864/TestIntVect.java ! test/hotspot/jtreg/compiler/c2/cr6340864/TestLongVect.java ! test/hotspot/jtreg/compiler/c2/cr6340864/TestShortVect.java + test/hotspot/jtreg/compiler/vectorization/TestReverseBytes.java ! test/micro/org/openjdk/bench/java/lang/Integers.java ! test/micro/org/openjdk/bench/java/lang/Longs.java Changeset: 3ad39505 Author: Jesper Wilhelmsson Date: 2022-07-14 16:29:51 +0000 URL: https://git.openjdk.org/loom/commit/3ad39505605f8eab74adec9c68f211dd44796759 Merge ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/vectornode.cpp ! test/micro/org/openjdk/bench/java/lang/Integers.java ! test/micro/org/openjdk/bench/java/lang/Longs.java ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/vectornode.cpp ! test/micro/org/openjdk/bench/java/lang/Integers.java ! test/micro/org/openjdk/bench/java/lang/Longs.java Changeset: 890bcedd Author: Doug Lea
Date: 2022-07-14 19:53:31 +0000 URL: https://git.openjdk.org/loom/commit/890bcedd49fb791074862cc295c0e6bf64ef4d81 8290264: java/util/concurrent/locks/Lock/OOMEInAQS.java fails with "exit code: 0" Reviewed-by: dholmes, alanb, dcubed ! test/jdk/java/util/concurrent/locks/Lock/OOMEInAQS.java Changeset: 757a742a Author: Thomas Schatzl Date: 2022-07-14 21:04:50 +0000 URL: https://git.openjdk.org/loom/commit/757a742ac78a6ececcc4f9f542f8f7108968129d 8290177: Improve documentation in G1MMUTracker Reviewed-by: iwalulya, ayang ! src/hotspot/share/gc/g1/g1MMUTracker.cpp ! src/hotspot/share/gc/g1/g1MMUTracker.hpp Changeset: 70fce07a Author: Vladimir Kozlov Date: 2022-07-15 05:07:21 +0000 URL: https://git.openjdk.org/loom/commit/70fce07a382896a8091413d7269bb16f33122505 8290246: test fails "assert(init != __null) failed: initialization not found" Reviewed-by: dlong, iveresov ! src/hotspot/share/opto/callnode.cpp Changeset: 92deab54 Author: Yoshiki Sato Committer: Sean Coffey Date: 2022-07-15 07:16:14 +0000 URL: https://git.openjdk.org/loom/commit/92deab546549ca549408a983fe361d9536d2cd37 8028265: Add legacy tz tests to OpenJDK Reviewed-by: coffeys, naoto + test/jdk/java/util/TimeZone/AssureTzdataVersion.java + test/jdk/java/util/TimeZone/Bug6329116.java + test/jdk/java/util/TimeZone/TextFileReader.java + test/jdk/java/util/TimeZone/TimeZoneData/VERSION + test/jdk/java/util/TimeZone/TimeZoneData/aliases.txt + test/jdk/java/util/TimeZone/TimeZoneData/displaynames.txt + test/jdk/java/util/TimeZone/tools/share/CompareYearData.pl + test/jdk/java/util/TimeZone/tools/share/Makefile + test/jdk/java/util/TimeZone/tools/share/makeZoneData.pl Changeset: f3abb829 Author: Vicente Romero Date: 2022-07-15 13:06:03 +0000 URL: https://git.openjdk.org/loom/commit/f3abb82989e79da97bcc0a837883be41d14703a3 8268312: Compilation error with nested generic functional interface Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/JCDiagnostic.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java + test/langtools/tools/javac/diags/DiagnosticRewriterTest3.java Changeset: b4e2ce00 Author: Thomas Schatzl Date: 2022-07-15 13:58:17 +0000 URL: https://git.openjdk.org/loom/commit/b4e2ce0094751540ac0673b22af3b3221d1fd74a 8290366: Remove unused during_conc_mark parameter in HeapRegion::note_self_forwarding_removal_start Reviewed-by: ayang ! src/hotspot/share/gc/g1/g1EvacFailure.cpp ! src/hotspot/share/gc/g1/heapRegion.cpp ! src/hotspot/share/gc/g1/heapRegion.hpp Changeset: cca91f7b Author: Mandy Chung Date: 2022-07-15 18:11:18 +0000 URL: https://git.openjdk.org/loom/commit/cca91f7bccc17932307fc05bac745b2bf814dac1 8290327: Remove java/lang/reflect/callerCache/ReflectionCallerCacheTest.java from ProblemList-Xcomp.txt Reviewed-by: jpai ! test/jdk/ProblemList-Xcomp.txt Changeset: 0184f46b Author: Roger Riggs Date: 2022-07-15 18:27:44 +0000 URL: https://git.openjdk.org/loom/commit/0184f46bdfe4441ea6ef28c658c6677c4c736ee9 8289919: [test] LoadLibraryUnloadTest.java failed with "Failed to unload native library" Reviewed-by: mchung ! test/jdk/java/lang/ClassLoader/loadLibraryUnload/LoadLibraryUnload.java ! test/jdk/java/lang/ClassLoader/loadLibraryUnload/LoadLibraryUnloadTest.java ! test/jdk/java/lang/ClassLoader/loadLibraryUnload/libloadLibraryUnload.c ! test/jdk/java/lang/ClassLoader/loadLibraryUnload/p/Class1.java Changeset: 0143cf1d Author: Ioi Lam Date: 2022-07-16 01:03:16 +0000 URL: https://git.openjdk.org/loom/commit/0143cf1d46bd0fc09ccc394e44a98e9dfee67b5b 8290333: Remove os_share_*.hpp Reviewed-by: dholmes, jiefu ! src/hotspot/os/aix/os_aix.cpp - src/hotspot/os/aix/os_share_aix.hpp ! src/hotspot/os/bsd/os_bsd.cpp - src/hotspot/os/bsd/os_share_bsd.hpp ! src/hotspot/os/linux/os_linux.cpp - src/hotspot/os/linux/os_share_linux.hpp ! src/hotspot/os/posix/os_posix.cpp - src/hotspot/os/windows/os_share_windows.hpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/os_cpu/aix_ppc/os_aix_ppc.cpp ! src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp ! src/hotspot/os_cpu/bsd_x86/os_bsd_x86.cpp ! src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp ! src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp ! src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp ! src/hotspot/os_cpu/linux_ppc/os_linux_ppc.cpp ! src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp ! src/hotspot/os_cpu/linux_s390/os_linux_s390.cpp ! src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp ! src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp ! src/hotspot/os_cpu/windows_x86/os_windows_x86.cpp Changeset: 2342684f Author: Jatin Bhateja Date: 2022-07-16 01:18:30 +0000 URL: https://git.openjdk.org/loom/commit/2342684f2cd91a2e5f43dd271e95836aa78e7d0a 8290066: Remove KNL specific handling for new CPU target check in IR annotation Reviewed-by: kvn, sviswanathan ! src/hotspot/cpu/x86/vm_version_x86.cpp ! test/hotspot/jtreg/compiler/lib/ir_framework/test/IREncodingPrinter.java - test/hotspot/jtreg/compiler/vectorapi/TestCPUFeatureCheck.java + test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestCPUFeatureCheck.java Changeset: 441c33f0 Author: Daniel D. Daugherty Date: 2022-07-16 13:17:52 +0000 URL: https://git.openjdk.org/loom/commit/441c33f0b1e970c82d29a67162e6dceed0fbf44a 8289003: JavaThread::check_is_terminated() implementation should rely on Thread-SMR Reviewed-by: dholmes, pchilanomate ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/vmOperations.cpp Changeset: fb27ddcb Author: Brian Burkhalter Date: 2022-07-14 15:23:42 +0000 URL: https://git.openjdk.org/loom/commit/fb27ddcbe5a503ddd841e55baaa9a10f8422b736 8290252: Add TEST.properties to java/nio/channels/FileChannel and move tests out of largeMemory sub-dir Reviewed-by: alanb, jpai ! test/jdk/TEST.ROOT = test/jdk/java/nio/channels/FileChannel/LargeGatheringWrite.java = test/jdk/java/nio/channels/FileChannel/MapTest.java = test/jdk/java/nio/channels/FileChannel/TEST.properties Changeset: c8e03151 Author: Zhengyu Gu Date: 2022-07-14 17:19:27 +0000 URL: https://git.openjdk.org/loom/commit/c8e03151142c444710321c2e8a41e242283922a4 8290250: Shenandoah: disable Loom for iu mode Reviewed-by: rkennke ! src/hotspot/share/gc/shenandoah/mode/shenandoahIUMode.cpp Changeset: 15d3329e Author: Pavel Rappo Date: 2022-07-14 22:27:53 +0000 URL: https://git.openjdk.org/loom/commit/15d3329edd552dcda29d6de2a6f20a5db075b60b 8281969: Bad result for the snippet @link tag if substring/regex consists of whitespace Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java ! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetMarkup.java Changeset: 522b6574 Author: Jesper Wilhelmsson Date: 2022-07-17 15:11:21 +0000 URL: https://git.openjdk.org/loom/commit/522b65743ca10fcba0a27d25b8fa11319999e228 Merge ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java Changeset: 4dd236b4 Author: Feilong Jiang Committer: Fei Yang Date: 2022-07-18 02:12:34 +0000 URL: https://git.openjdk.org/loom/commit/4dd236b40abfeb1200e884021b90226046bc4b85 8290280: riscv: Clean up stack and register handling in interpreter Reviewed-by: fyang ! src/hotspot/cpu/riscv/abstractInterpreter_riscv.cpp ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/frame_riscv.cpp ! src/hotspot/cpu/riscv/frame_riscv.hpp ! src/hotspot/cpu/riscv/interp_masm_riscv.cpp ! src/hotspot/cpu/riscv/interp_masm_riscv.hpp ! src/hotspot/cpu/riscv/methodHandles_riscv.cpp ! src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp ! src/hotspot/cpu/riscv/stubGenerator_riscv.cpp ! src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp ! src/hotspot/cpu/riscv/templateTable_riscv.cpp Changeset: 84f23149 Author: Ioi Lam Date: 2022-07-18 04:10:08 +0000 URL: https://git.openjdk.org/loom/commit/84f23149e22561173feb0e34bca31a7345b43c89 8286030: Avoid JVM crash when containers share the same /tmp dir Reviewed-by: stuefe, sgehwolf ! src/hotspot/os/posix/perfMemory_posix.cpp + test/hotspot/jtreg/containers/docker/ShareTmpDir.java + test/hotspot/jtreg/containers/docker/WaitForFlagFile.java Changeset: bc7a1ea2 Author: Ajit Ghaisas Date: 2022-07-18 05:18:37 +0000 URL: https://git.openjdk.org/loom/commit/bc7a1ea249d8438e325c36042f7d8fc7eaaf0e40 8288948: Few J2DBench tests indicate lower primitive drawing performance with metal rendering pipeline Reviewed-by: avu, prr ! src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderQueue.h ! src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderQueue.m ! src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderer.h ! src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderer.m Changeset: 87340fd5 Author: Fei Gao Committer: Ningsheng Jian Date: 2022-07-18 05:54:51 +0000 URL: https://git.openjdk.org/loom/commit/87340fd5408d89d9343541ff4fcabde83548a598 8288883: C2: assert(allow_address || t != T_ADDRESS) failed after JDK-8283091 Reviewed-by: kvn, mdoerr ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/superword.hpp ! src/hotspot/share/opto/vectornode.cpp ! src/hotspot/share/utilities/globalDefinitions.hpp + test/hotspot/jtreg/compiler/loopopts/superword/TestVectorizeTypeConversionWithUnsafe.java Changeset: 92067e20 Author: Fei Yang Date: 2022-07-18 13:01:35 +0000 URL: https://git.openjdk.org/loom/commit/92067e200346c41c2f43763edc01c97c7da1a9e6 8290137: riscv: small refactoring for add_memory_int32/64 Reviewed-by: yadongwang, fjiang, shade ! src/hotspot/cpu/riscv/assembler_riscv.cpp ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/c1_CodeStubs_riscv.cpp ! src/hotspot/cpu/riscv/c1_LIRAssembler_arraycopy_riscv.cpp ! src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/vtableStubs_riscv.cpp Changeset: 6882f0eb Author: Coleen Phillimore Date: 2022-07-18 15:04:08 +0000 URL: https://git.openjdk.org/loom/commit/6882f0eb39a1a1db1393925fab4143a725a96b6a 8290013: serviceability/jvmti/GetLocalVariable/GetLocalWithoutSuspendTest.java failed "assert(!in_vm) failed: Undersized StackShadowPages" Reviewed-by: lmesnik ! src/hotspot/cpu/x86/globals_x86.hpp ! test/hotspot/jtreg/ProblemList-Xcomp.txt Changeset: ea8b75cf Author: Phil Race Date: 2022-07-18 16:05:03 +0000 URL: https://git.openjdk.org/loom/commit/ea8b75cfe453f5806a96ca85dd5e31724750a88f 8290334: Update FreeType to 2.12.1 Reviewed-by: serb, azvegint ! src/java.desktop/share/legal/freetype.md ! src/java.desktop/share/native/libfreetype/include/freetype/freetype.h ! src/java.desktop/share/native/libfreetype/include/freetype/ftcolor.h ! src/java.desktop/share/native/libfreetype/src/base/ftmac.c ! src/java.desktop/share/native/libfreetype/src/base/ftrfork.c ! src/java.desktop/share/native/libfreetype/src/cff/cffcmap.c ! src/java.desktop/share/native/libfreetype/src/cff/cffgload.c ! src/java.desktop/share/native/libfreetype/src/psaux/cffdecode.c ! src/java.desktop/share/native/libfreetype/src/psaux/psconv.c ! src/java.desktop/share/native/libfreetype/src/psaux/psobjs.c ! src/java.desktop/share/native/libfreetype/src/raster/ftraster.c ! src/java.desktop/share/native/libfreetype/src/sfnt/pngshim.c ! src/java.desktop/share/native/libfreetype/src/sfnt/sfobjs.c ! src/java.desktop/share/native/libfreetype/src/sfnt/sfwoff2.c ! src/java.desktop/share/native/libfreetype/src/sfnt/ttcmap.c ! src/java.desktop/share/native/libfreetype/src/truetype/ttgload.c ! src/java.desktop/share/native/libfreetype/src/truetype/ttinterp.c ! src/java.desktop/share/native/libfreetype/src/type1/t1afm.c ! src/java.desktop/share/native/libfreetype/src/type1/t1load.c Changeset: b2010a74 Author: Zhengyu Gu Date: 2022-07-18 16:54:08 +0000 URL: https://git.openjdk.org/loom/commit/b2010a748137d17f4968659503e0579ea8558afd 8287805: Shenandoah: consolidate evacuate-update-root closures Reviewed-by: shade ! src/hotspot/share/gc/shenandoah/shenandoahClosures.hpp ! src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp ! src/hotspot/share/gc/shenandoah/shenandoahConcurrentGC.cpp ! src/hotspot/share/gc/shenandoah/shenandoahNMethod.inline.hpp Changeset: efed7a7f Author: Sergey Tsypanov Committer: Phil Race Date: 2022-07-18 17:15:46 +0000 URL: https://git.openjdk.org/loom/commit/efed7a7f65c0fa4b757ac6b448d11d7ddebdcc9a 8289908: Skip bounds check for cases when String is constructed from entirely used byte[] Reviewed-by: prr, rriggs, aturbanov ! src/java.base/share/classes/java/lang/String.java ! src/java.base/share/classes/java/util/jar/Manifest.java ! src/java.desktop/share/classes/javax/swing/text/html/parser/Entity.java ! src/java.desktop/windows/classes/sun/awt/windows/WDataTransferer.java + test/micro/org/openjdk/bench/java/lang/StringConstructor.java Changeset: 5ae43209 Author: Srinivas Mandalika Committer: Phil Race Date: 2022-07-18 17:16:44 +0000 URL: https://git.openjdk.org/loom/commit/5ae4320921b15dcc198d0c71416cd46e5b5c2f85 8284767: Create an automated test for JDK-4422535 Reviewed-by: prr, achung + test/jdk/javax/accessibility/SetCurrentAccessibleValueTest.java Changeset: b9de0a75 Author: Srinivas Mandalika Committer: Phil Race Date: 2022-07-18 17:17:50 +0000 URL: https://git.openjdk.org/loom/commit/b9de0a7556f7be2c6afc6bb41bfa0339b639ff88 8284524: Create an automated test for JDK-4422362 Reviewed-by: prr + test/jdk/javax/accessibility/MaximumAccessibleValueTest.java Changeset: e72742ee Author: Srinivas Mandalika Committer: Phil Race Date: 2022-07-18 17:18:53 +0000 URL: https://git.openjdk.org/loom/commit/e72742eeb5f265e854d098a560cb41c83e93f905 8286172: Create an automated test for JDK-4516019 Reviewed-by: prr, achung + test/jdk/javax/swing/JSpinner/JSpinnerFocusTest.java Changeset: 6c8d0e61 Author: Alexander Zuev Date: 2022-07-18 20:33:19 +0000 URL: https://git.openjdk.org/loom/commit/6c8d0e617ff59eee1313589b10edbf5830774db5 8282526: Default icon is not painted properly Reviewed-by: aivanov, prr ! src/java.desktop/windows/classes/sun/awt/shell/Win32ShellFolder2.java ! src/java.desktop/windows/native/libawt/windows/ShellFolder2.cpp + test/jdk/javax/swing/JFileChooser/FileSystemView/WindowsDefaultIconSizeTest.java Changeset: b65f7ec2 Author: Mark Powers Committer: Weijun Wang Date: 2022-07-18 20:50:54 +0000 URL: https://git.openjdk.org/loom/commit/b65f7ec2f149d688a37b2c5b2ece312b52133dec 4887998: Use Integer.rotateLeft() and rotateRight() in crypto implementations Reviewed-by: weijun ! src/java.base/share/classes/sun/security/provider/MD4.java ! src/java.base/share/classes/sun/security/provider/MD5.java ! src/java.base/share/classes/sun/security/provider/SHA.java ! src/java.base/share/classes/sun/security/provider/SHA2.java ! src/java.base/share/classes/sun/security/provider/SHA5.java Changeset: 5a96a5db Author: Leonid Mesnik Date: 2022-07-18 21:53:41 +0000 URL: https://git.openjdk.org/loom/commit/5a96a5db13992118ec384207edfb04136f339253 8289612: Change hotspot/jtreg tests to not use Thread.stop Reviewed-by: dholmes, dcubed ! test/hotspot/jtreg/runtime/Thread/AsyncExceptionOnMonitorEnter.java ! test/hotspot/jtreg/runtime/Thread/AsyncExceptionTest.java ! test/hotspot/jtreg/runtime/jni/terminatedThread/TestTerminatedThread.java + test/hotspot/jtreg/testlibrary/jvmti/JVMTIUtils.java + test/hotspot/jtreg/testlibrary/jvmti/libJvmtiUtils.cpp ! test/hotspot/jtreg/vmTestbase/gc/gctests/mallocWithGC2/mallocWithGC2.java ! test/hotspot/jtreg/vmTestbase/nsk/stress/stack/stack002.java Changeset: 4a4d8ed8 Author: Jie Fu Date: 2022-07-18 22:49:17 +0000 URL: https://git.openjdk.org/loom/commit/4a4d8ed83bea048cbfa6ab4c2ef6aa066cefe650 8289801: [IR Framework] Add flags to whitelist which can be used to simulate a specific machine setup like UseAVX Reviewed-by: kvn, xgong, thartmann ! test/hotspot/jtreg/TEST.groups ! test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeURShiftSubword.java ! test/hotspot/jtreg/compiler/lib/ir_framework/TestFramework.java Changeset: 4f3f74c1 Author: Roland Westrelin Date: 2022-07-18 07:08:49 +0000 URL: https://git.openjdk.org/loom/commit/4f3f74c14121d0a80f0dcf1d593b4cf1c3e4a64c 8289127: Apache Lucene triggers: DEBUG MESSAGE: duplicated predicate failed which is impossible Reviewed-by: kvn, dlong ! src/hotspot/share/opto/loopTransform.cpp + test/hotspot/jtreg/compiler/loopopts/TestMissedOpaqueInPredicate.java Changeset: 2677dd6d Author: Pengfei Li Date: 2022-07-18 12:18:06 +0000 URL: https://git.openjdk.org/loom/commit/2677dd6d2318afb4afffde46f8e8e20276cb2894 8289954: C2: Assert failed in PhaseCFG::verify() after JDK-8183390 Reviewed-by: kvn, thartmann, roland ! src/hotspot/share/opto/superword.cpp + test/hotspot/jtreg/compiler/loopopts/TestUnreachableInnerLoop.java Changeset: 6cd1c0c1 Author: Jesper Wilhelmsson Date: 2022-07-18 22:51:25 +0000 URL: https://git.openjdk.org/loom/commit/6cd1c0c14e7c9f9e8f77b32adcb792556645c0ac Merge ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/superword.cpp Changeset: af86cd3d Author: Hollow Man Committer: Xue-Lei Andrew Fan Date: 2022-07-19 01:49:20 +0000 URL: https://git.openjdk.org/loom/commit/af86cd3d8c0f8a874d1b738ad0caeeb7cd4c61d0 8290463: Fix several comment typos in sun.security.ec Reviewed-by: xuelei ! src/jdk.crypto.ec/share/classes/sun/security/ec/ECDHKeyAgreement.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ECDSAOperations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/EdDSAParameters.java Changeset: 4e6cd67f Author: George Adams Committer: Aleksey Shipilev Date: 2022-07-19 06:29:43 +0000 URL: https://git.openjdk.org/loom/commit/4e6cd67fec3d978f4c8c1aed95a1d09b544eff68 8290000: Bump macOS GitHub actions to macOS 11 Reviewed-by: shade, clanger ! .github/workflows/build-macos.yml ! .github/workflows/main.yml ! .github/workflows/test.yml Changeset: dfbc6919 Author: Matthias Baesken Date: 2022-07-19 07:07:41 +0000 URL: https://git.openjdk.org/loom/commit/dfbc6919e1e233b42aede97f1323ce5529fab7cf 8289524: Add JFR JIT restart event Reviewed-by: kvn, lucy ! src/hotspot/share/code/codeCache.cpp ! src/hotspot/share/jfr/metadata/metadata.xml ! src/hotspot/share/runtime/sweeper.cpp ! src/jdk.jfr/share/conf/jfr/default.jfc ! src/jdk.jfr/share/conf/jfr/profile.jfc ! test/jdk/jdk/jfr/event/compiler/TestCodeCacheFull.java + test/jdk/jdk/jfr/event/compiler/TestJitRestart.java ! test/lib/jdk/test/lib/jfr/EventNames.java Changeset: d7f0de27 Author: Thomas Stuefe Date: 2022-07-19 07:13:18 +0000 URL: https://git.openjdk.org/loom/commit/d7f0de272c85ee8d0890c9d61e10065b618b69d7 8290460: Alpine: disable some panama tests that rely on std::thread Reviewed-by: jvernee, dholmes ! test/jdk/java/foreign/TestUpcallAsync.java ! test/jdk/java/foreign/enablenativeaccess/TestEnableNativeAccess.java Changeset: 612d8c6c Author: Matthias Baesken Date: 2022-07-19 07:15:08 +0000 URL: https://git.openjdk.org/loom/commit/612d8c6cb1d0861957d3f6af96556e2739283800 8290456: remove os::print_statistics() Reviewed-by: coleenp ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/share/runtime/java.cpp Changeset: f5a7de86 Author: Aggelos Biboudis Committer: Jan Lahoda Date: 2022-07-19 09:03:28 +0000 URL: https://git.openjdk.org/loom/commit/f5a7de86278ce019ffe44a92921dbb4018451a73 8290379: Parse error with parenthesized pattern and guard using an array Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java + test/langtools/tools/javac/T8290379.java Changeset: 2ff22087 Author: Andrey Turbanov Date: 2022-07-19 11:32:30 +0000 URL: https://git.openjdk.org/loom/commit/2ff22087f209f9bd8e82d1c2a90c44cafd9ffef0 8289804: Remove redundant stream() call before forEach in jdk.jshell Reviewed-by: psandoz ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/Feedback.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java ! src/jdk.jshell/share/classes/jdk/jshell/Eval.java Changeset: e02627ca Author: Roger Riggs Date: 2022-07-19 11:51:28 +0000 URL: https://git.openjdk.org/loom/commit/e02627ca0a3381b3a52a71aef41ce5ba3329142b 8290397: LoadLibraryUnload.java failed with "Too few cleared WeakReferences" Reviewed-by: mchung ! test/jdk/java/lang/ClassLoader/loadLibraryUnload/LoadLibraryUnload.java Changeset: a41b12f4 Author: Thomas Schatzl Date: 2022-07-19 12:40:12 +0000 URL: https://git.openjdk.org/loom/commit/a41b12f430b8d6ebbb634c0a6a077ed13c68bcb7 8290512: G1: Fix typo in allocation statistics log message Reviewed-by: kbarrett ! src/hotspot/share/gc/g1/g1OldGenAllocationTracker.cpp Changeset: bbc57483 Author: Coleen Phillimore Date: 2022-07-19 14:41:58 +0000 URL: https://git.openjdk.org/loom/commit/bbc57483ce4904efa5ff4c8384a74ee7f8776317 8272096: Exceptions::new_exception can return wrong exception Reviewed-by: hseigel, dholmes ! src/hotspot/os/posix/perfMemory_posix.cpp ! src/hotspot/share/classfile/stackMapTable.cpp ! src/hotspot/share/prims/nativeLookup.cpp ! src/hotspot/share/utilities/exceptions.cpp Changeset: 2cb659e7 Author: Eric Caspole Date: 2022-07-19 16:30:44 +0000 URL: https://git.openjdk.org/loom/commit/2cb659e7f45e5ed4c2db7f1a091bb78f4f7accc2 8290391: Reduce runtime of java.util package microbenchmarks Reviewed-by: rriggs, redestad ! test/micro/org/openjdk/bench/java/util/ArraysEquals.java ! test/micro/org/openjdk/bench/java/util/ArraysFill.java ! test/micro/org/openjdk/bench/java/util/ArraysMismatch.java ! test/micro/org/openjdk/bench/java/util/ArraysMismatchPartialInlining.java ! test/micro/org/openjdk/bench/java/util/Base64Decode.java ! test/micro/org/openjdk/bench/java/util/Base64Encode.java ! test/micro/org/openjdk/bench/java/util/Base64VarLenDecode.java ! test/micro/org/openjdk/bench/java/util/Dates.java ! test/micro/org/openjdk/bench/java/util/GregorianCalendars.java ! test/micro/org/openjdk/bench/java/util/HashMapBench.java ! test/micro/org/openjdk/bench/java/util/LocaleDefaults.java ! test/micro/org/openjdk/bench/java/util/RandomGeneratorNext.java ! test/micro/org/openjdk/bench/java/util/RandomNext.java ! test/micro/org/openjdk/bench/java/util/TestAdler32.java ! test/micro/org/openjdk/bench/java/util/TestCRC32C.java ! test/micro/org/openjdk/bench/java/util/ZipFind.java Changeset: 96a542fe Author: Coleen Phillimore Date: 2022-07-19 16:32:07 +0000 URL: https://git.openjdk.org/loom/commit/96a542feb2064dba155ebf05311752995d164038 8227060: Optimize safepoint cleanup subtask order Reviewed-by: kbarrett, pchilanomate ! src/hotspot/share/compiler/compilationPolicy.hpp ! src/hotspot/share/runtime/safepoint.cpp ! src/hotspot/share/runtime/safepoint.hpp ! src/hotspot/share/runtime/synchronizer.cpp ! test/hotspot/jtreg/runtime/logging/SafepointCleanupTest.java Changeset: 977e0948 Author: Alexey Semenyuk Date: 2022-07-19 16:59:28 +0000 URL: https://git.openjdk.org/loom/commit/977e09489dd1f49d8f373ef7b8c5e47fedb82793 8283707: Support version format on Windows Reviewed-by: almatvee ! make/modules/jdk.jpackage/Lib.gmk ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixUiFragmentBuilder.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/InstallDirNotEmptyDlg.wxs ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/main.wxs + src/jdk.jpackage/windows/native/common/MsiCA.cpp + src/jdk.jpackage/windows/native/common/MsiCA.h ! src/jdk.jpackage/windows/native/common/WinErrorHandling.cpp ! src/jdk.jpackage/windows/native/common/WinErrorHandling.h + src/jdk.jpackage/windows/native/libwixhelper/Version.cpp + src/jdk.jpackage/windows/native/libwixhelper/Version.h ! src/jdk.jpackage/windows/native/libwixhelper/libwixhelper.cpp ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageTest.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/RunnablePackageTest.java + test/jdk/tools/jpackage/resources/WinLongVersionTest-edit-msi.js + test/jdk/tools/jpackage/windows/WinLongVersionTest.java Changeset: d67e7ccd Author: Alexey Semenyuk Date: 2022-07-19 17:01:01 +0000 URL: https://git.openjdk.org/loom/commit/d67e7ccda56998d1d60bdaa4e5940a0c501ead23 8290402: jpackage exe uninstallers don't return correct exit code in case of failure Reviewed-by: almatvee ! src/jdk.jpackage/windows/native/msiwrapper/MsiWrapper.cpp Changeset: 1af7c33d Author: Alexey Semenyuk Date: 2022-07-19 17:01:55 +0000 URL: https://git.openjdk.org/loom/commit/1af7c33df59cd043bdae3f681aeded2919dc27aa 8290400: Must run exe installers in jpackage jtreg tests without UI Reviewed-by: almatvee ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/WindowsHelper.java Changeset: c2cbeb3e Author: Alexey Semenyuk Date: 2022-07-19 19:46:51 +0000 URL: https://git.openjdk.org/loom/commit/c2cbeb3ee875936c98bb15ec32d692f7d866df76 8290398: jpackage exe installers are not installed in jtreg tests Reviewed-by: almatvee ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageTest.java Changeset: ec1d338e Author: Valerie Peng Committer: Henry Jen Date: 2021-09-15 16:39:59 +0000 URL: https://git.openjdk.org/loom/commit/ec1d338e15607d04ae701491940376df378535ef 8272243: Improve DER parsing Reviewed-by: weijun, rhalade ! src/java.base/share/classes/sun/security/util/BitArray.java ! src/java.base/share/classes/sun/security/util/DerValue.java ! test/jdk/sun/security/util/DerInputBuffer/PaddedBitString.java Changeset: cdc1582d Author: Aleksei Efimov Committer: Henry Jen Date: 2022-02-08 12:16:02 +0000 URL: https://git.openjdk.org/loom/commit/cdc1582d1d7629c2077f6cd19786d23323111018 8277608: Address IP Addressing Reviewed-by: dfuchs, rhalade, michaelm ! src/java.base/share/classes/java/net/HostPortrange.java ! src/java.base/share/classes/java/net/InetAddress.java ! src/java.base/share/classes/java/net/SocketPermission.java ! src/java.base/share/classes/sun/net/util/IPAddressUtil.java Changeset: e7f8003e Author: Joe Wang Committer: Henry Jen Date: 2022-03-08 18:33:47 +0000 URL: https://git.openjdk.org/loom/commit/e7f8003eddf615c04aef9d32144e6c81352896b0 8272249: Better properties of loaded Properties Reviewed-by: naoto, lancea, rhalade, mschoene ! src/java.base/share/classes/jdk/internal/util/xml/impl/Parser.java Changeset: 84b4e9bb Author: Tobias Hartmann Committer: Henry Jen Date: 2022-03-18 10:08:18 +0000 URL: https://git.openjdk.org/loom/commit/84b4e9bb415de65d8de83925fbf7010ed1650064 8281859: Improve class compilation Co-authored-by: Vladimir Ivanov Reviewed-by: chagedorn ! src/hotspot/share/ci/ciEnv.cpp Changeset: 632d2d26 Author: Tobias Hartmann Committer: Henry Jen Date: 2022-03-23 11:55:03 +0000 URL: https://git.openjdk.org/loom/commit/632d2d2690ee68b5e2928e8c253ad4b099f31ed9 8281866: Enhance MethodHandle invocations Co-authored-by: Vladimir Ivanov Reviewed-by: chagedorn ! src/hotspot/share/interpreter/linkResolver.cpp Changeset: a37465b8 Author: Alexander Zuev Committer: Henry Jen Date: 2022-03-29 19:42:16 +0000 URL: https://git.openjdk.org/loom/commit/a37465b8fa1f3a1529d37430797809a99a94f4af 8283190: Improve MIDI processing Reviewed-by: prr, rhalade, psadhukhan, mschoene ! src/java.desktop/share/classes/com/sun/media/sound/StandardMidiFileReader.java Changeset: b7b917a0 Author: Lance Andersen Committer: Henry Jen Date: 2022-04-15 15:54:20 +0000 URL: https://git.openjdk.org/loom/commit/b7b917a0a8d4327b66ad8632ae8925628876e70a 8284370: Improve zlib usage Reviewed-by: alanb, mschoene, rhalade ! src/java.base/share/native/libzip/zlib/deflate.c ! src/java.base/share/native/libzip/zlib/deflate.h ! src/java.base/share/native/libzip/zlib/trees.c Changeset: d991ec4f Author: Weijun Wang Committer: Henry Jen Date: 2022-04-20 14:01:39 +0000 URL: https://git.openjdk.org/loom/commit/d991ec4f9fdb865f37978fe9f9f2b2885e1e9054 8282676: Improve subject handling Reviewed-by: ahgross, mullan, rhalade ! src/java.base/share/classes/javax/security/auth/Subject.java ! test/jdk/javax/security/auth/Subject/CurrentSubject.java ! test/jdk/javax/security/auth/Subject/Exceptions.java Changeset: 41ef2b24 Author: Joe Wang Committer: Henry Jen Date: 2022-05-13 02:02:26 +0000 URL: https://git.openjdk.org/loom/commit/41ef2b249073450172e11163a4d05762364b1297 8285407: Improve Xalan supports Reviewed-by: naoto, lancea, ahgross, rhalade ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantPool.java ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ConstantPoolGen.java Changeset: 7b418f9a Author: Joe Wang Committer: Henry Jen Date: 2022-06-18 05:17:41 +0000 URL: https://git.openjdk.org/loom/commit/7b418f9abae9f9f24155a9533b8e80231f49e0c0 8287916: Address the inconsistency between the constant array and pool size Reviewed-by: naoto, lancea, rhalade, ahgross ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantPool.java ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ConstantPoolGen.java Changeset: 43588648 Author: Jie Fu Date: 2022-07-19 22:50:00 +0000 URL: https://git.openjdk.org/loom/commit/43588648cacaa79a586ace8540dfe43eb64f9a46 8290511: compiler/vectorapi/TestMaskedMacroLogicVector.java fails IR verification Reviewed-by: kvn, thartmann ! test/hotspot/jtreg/compiler/vectorapi/TestMaskedMacroLogicVector.java Changeset: 97147915 Author: Prasanta Sadhukhan Date: 2022-07-20 05:49:40 +0000 URL: https://git.openjdk.org/loom/commit/971479153d726ffd8d457a0531f303d357798b3c 8190907: Windows 10 default Korean Font Malgun Gothic available not used by GUI elements even though available without Korean Language Pack Reviewed-by: naoto, prr ! src/java.desktop/windows/data/fontconfig/fontconfig.properties Changeset: 2ea3f546 Author: Aleksey Shipilev Date: 2022-07-20 06:00:03 +0000 URL: https://git.openjdk.org/loom/commit/2ea3f546c249cf32df460238da72c9744b3c1eb2 8290495: Micro-optimize Method::can_be_statically_bound assertions Reviewed-by: dholmes, stuefe ! src/hotspot/share/oops/method.cpp Changeset: 4dc421ca Author: Ioi Lam Date: 2022-07-19 04:37:28 +0000 URL: https://git.openjdk.org/loom/commit/4dc421caa02caedd7061ede6a5ec44dbb6ec738e 8290417: CDS cannot archive lamda proxy with useImplMethodHandle Reviewed-by: dholmes, ccheung, mchung ! src/java.base/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java ! test/hotspot/jtreg/TEST.groups + test/hotspot/jtreg/runtime/cds/appcds/LambdaWithUseImplMethodHandle.java + test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicLambdaWithUseImplMethodHandle.java + test/hotspot/jtreg/runtime/cds/appcds/test-classes/LambdaWithUseImplMethodHandleApp.java + test/hotspot/jtreg/runtime/cds/appcds/test-classes/pkg1/BaseWithProtectedMethod.java + test/hotspot/jtreg/runtime/cds/appcds/test-classes/pkg2/Child.jcod Changeset: a6bab2a3 Author: Markus Gr?nlund Date: 2022-07-19 09:34:49 +0000 URL: https://git.openjdk.org/loom/commit/a6bab2a37905a191e95464b47a2dd4c89ce7be61 8288482: JFR: Cannot resolve method Reviewed-by: jbachorik ! src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp Changeset: e062dff1 Author: Maurizio Cimadamore Date: 2022-07-19 14:33:53 +0000 URL: https://git.openjdk.org/loom/commit/e062dff1bfd1abd5f14e8915dc5417cc22d622ac 8290524: Typo in javadoc of MemorySegment/MemoryAddress Reviewed-by: jvernee ! src/java.base/share/classes/java/lang/foreign/MemoryAddress.java ! src/java.base/share/classes/java/lang/foreign/MemorySegment.java Changeset: a3e07d95 Author: Jesper Wilhelmsson Date: 2022-07-20 07:39:01 +0000 URL: https://git.openjdk.org/loom/commit/a3e07d950ae752daf779607693c422a4c35924a6 Merge ! test/hotspot/jtreg/TEST.groups ! test/hotspot/jtreg/TEST.groups Changeset: 5425573b Author: Fei Yang Date: 2022-07-20 08:26:35 +0000 URL: https://git.openjdk.org/loom/commit/5425573bb4de1a2434201bc7ec3700b527ce346b 8290496: riscv: Fix build warnings-as-errors with GCC 11 Reviewed-by: yadongwang, fjiang, shade ! src/hotspot/cpu/riscv/nativeInst_riscv.hpp ! src/hotspot/cpu/riscv/vtableStubs_riscv.cpp Changeset: 43c47b1a Author: Erik ?sterlund Date: 2022-07-20 10:26:38 +0000 URL: https://git.openjdk.org/loom/commit/43c47b1ad7453b4be5ad949d49866de1d911973e 8290534: Move MacroAssembler::verified_entry to C2_MacroAssembler on x86 Reviewed-by: shade, kvn ! 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/x86_32.ad ! src/hotspot/cpu/x86/x86_64.ad Changeset: 4b4d3528 Author: jeremy Committer: Laurent Bourg?s Date: 2022-07-20 11:34:48 +0000 URL: https://git.openjdk.org/loom/commit/4b4d35289ad7bfd2c5d9992b7c1fb8507d44a56d 8264999: GeneralPath.lineTo() to itself produces jagged lines Reviewed-by: lbourges, prr ! src/java.desktop/share/classes/sun/java2d/marlin/Stroker.java + test/jdk/sun/java2d/marlin/JoinMiterRedundantLineSegmentsTest.java Changeset: 984cd02d Author: Thomas Schatzl Date: 2022-07-20 12:34:55 +0000 URL: https://git.openjdk.org/loom/commit/984cd02dfb403830c1e8212b94f21f6c9b48348b 8290707: runtime/cds/appcds/dynamicArchive/DynamicLambdaWithUseImplMethodHandle.java fails with "Can't find sun.hotspot.whitebox" Reviewed-by: dholmes ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicLambdaWithUseImplMethodHandle.java Changeset: 011958d3 Author: Zhengyu Gu Date: 2022-07-20 12:42:13 +0000 URL: https://git.openjdk.org/loom/commit/011958d30b275f0f6a2de097938ceeb34beb314d 8290374: Shenandoah: Remove inaccurate comment on SBS::load_reference_barrier() Reviewed-by: shade ! src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp Changeset: 1c055076 Author: Andrew Haley Date: 2022-07-20 13:00:12 +0000 URL: https://git.openjdk.org/loom/commit/1c055076e0e460275954cfc8d5e897d72bb9323e 8289743: AArch64: Clean up patching logic Reviewed-by: adinn, ngasson ! src/hotspot/cpu/aarch64/assembler_aarch64.cpp ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/interp_masm_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp Changeset: 3d3e3df8 Author: Tobias Holenstein Date: 2022-07-20 14:33:05 +0000 URL: https://git.openjdk.org/loom/commit/3d3e3df8f0845d1ce1776ef37b4a2b39461a328a 8290069: IGV: Highlight both graphs of difference in outline Reviewed-by: kvn, thartmann ! src/utils/IdealGraphVisualizer/Coordinator/pom.xml ! src/utils/IdealGraphVisualizer/Coordinator/src/main/java/com/sun/hotspot/igv/coordinator/OutlineTopComponent.java ! src/utils/IdealGraphVisualizer/Data/src/main/java/com/sun/hotspot/igv/data/InputGraph.java ! src/utils/IdealGraphVisualizer/Difference/src/main/java/com/sun/hotspot/igv/difference/Difference.java ! src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/DiagramViewModel.java Changeset: 89458e36 Author: Bhavana Kilambi Committer: Nick Gasson Date: 2022-07-20 15:36:39 +0000 URL: https://git.openjdk.org/loom/commit/89458e36afa8f09020d2afba1cbafdd8e32a6083 8288107: Auto-vectorization for integer min/max Reviewed-by: kvn, ngasson ! src/hotspot/share/opto/library_call.cpp ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java + test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java + test/micro/org/openjdk/bench/vm/compiler/VectorIntMinMax.java Changeset: eeb345a2 Author: Thomas Schatzl Date: 2022-07-20 16:16:57 +0000 URL: https://git.openjdk.org/loom/commit/eeb345a286115213f8a75dfe54cdcc39dfca597a 8290533: Remove G1ConcurrentMark::mark_in_bitmap(uint, HeapRegion*,oop) Reviewed-by: sangheki, kbarrett ! src/hotspot/share/gc/g1/g1ConcurrentMark.hpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp Changeset: b1817a30 Author: Leonid Mesnik Date: 2022-07-20 19:19:57 +0000 URL: https://git.openjdk.org/loom/commit/b1817a30a00d74f70b247c783047bfbb49515dda 8290468: Remove gc/gctests/mallocWithGC tests Reviewed-by: kbarrett, tschatzl ! test/hotspot/jtreg/TEST.groups - test/hotspot/jtreg/vmTestbase/gc/gctests/mallocWithGC1/libmallocWithGC1.cpp - test/hotspot/jtreg/vmTestbase/gc/gctests/mallocWithGC1/mallocWithGC1.java - test/hotspot/jtreg/vmTestbase/gc/gctests/mallocWithGC2/libmallocWithGC2.cpp - test/hotspot/jtreg/vmTestbase/gc/gctests/mallocWithGC2/mallocWithGC2.java - test/hotspot/jtreg/vmTestbase/gc/gctests/mallocWithGC3/libmallocWithGC3.cpp - test/hotspot/jtreg/vmTestbase/gc/gctests/mallocWithGC3/mallocWithGC3.java Changeset: ddb106be Author: Valerie Peng Committer: Henry Jen Date: 2021-09-15 16:39:59 +0000 URL: https://git.openjdk.org/loom/commit/ddb106be7a0e050d790ced906d53110dbc5cc60c 8272243: Improve DER parsing Reviewed-by: weijun, rhalade ! src/java.base/share/classes/sun/security/util/BitArray.java ! src/java.base/share/classes/sun/security/util/DerValue.java ! test/jdk/sun/security/util/DerInputBuffer/PaddedBitString.java Changeset: 243c76f5 Author: Aleksei Efimov Committer: Henry Jen Date: 2022-02-08 12:16:02 +0000 URL: https://git.openjdk.org/loom/commit/243c76f59ff5c73386465a159488ee2d2ad43ab2 8277608: Address IP Addressing Reviewed-by: dfuchs, rhalade, michaelm ! src/java.base/share/classes/java/net/HostPortrange.java ! src/java.base/share/classes/java/net/InetAddress.java ! src/java.base/share/classes/java/net/SocketPermission.java ! src/java.base/share/classes/sun/net/util/IPAddressUtil.java Changeset: 67dd3f73 Author: Joe Wang Committer: Henry Jen Date: 2022-03-08 18:33:47 +0000 URL: https://git.openjdk.org/loom/commit/67dd3f734308898aca9b85d1f72d34e94a660a43 8272249: Better properties of loaded Properties Reviewed-by: naoto, lancea, rhalade, mschoene ! src/java.base/share/classes/jdk/internal/util/xml/impl/Parser.java Changeset: ac93ab0e Author: Tobias Hartmann Committer: Henry Jen Date: 2022-03-18 10:08:18 +0000 URL: https://git.openjdk.org/loom/commit/ac93ab0e0a12ad1768b0d64f493fa1553f9d3413 8281859: Improve class compilation Co-authored-by: Vladimir Ivanov Reviewed-by: chagedorn ! src/hotspot/share/ci/ciEnv.cpp Changeset: 78c514d0 Author: Tobias Hartmann Committer: Henry Jen Date: 2022-03-23 11:55:03 +0000 URL: https://git.openjdk.org/loom/commit/78c514d0856319611e6bea58b2b29675cbf8e996 8281866: Enhance MethodHandle invocations Co-authored-by: Vladimir Ivanov Reviewed-by: chagedorn ! src/hotspot/share/interpreter/linkResolver.cpp Changeset: 879ea780 Author: Alexander Zuev Committer: Henry Jen Date: 2022-03-29 19:42:16 +0000 URL: https://git.openjdk.org/loom/commit/879ea78037a1e7b6eb1dd03a4cc12c4b35bb9424 8283190: Improve MIDI processing Reviewed-by: prr, rhalade, psadhukhan, mschoene ! src/java.desktop/share/classes/com/sun/media/sound/StandardMidiFileReader.java Changeset: 83339500 Author: Lance Andersen Committer: Henry Jen Date: 2022-04-15 15:54:20 +0000 URL: https://git.openjdk.org/loom/commit/83339500ba49441192bc1f8b211371f7fdba7b16 8284370: Improve zlib usage Reviewed-by: alanb, mschoene, rhalade ! src/java.base/share/native/libzip/zlib/deflate.c ! src/java.base/share/native/libzip/zlib/deflate.h ! src/java.base/share/native/libzip/zlib/trees.c Changeset: d0a2f13d Author: Weijun Wang Committer: Henry Jen Date: 2022-04-20 14:01:39 +0000 URL: https://git.openjdk.org/loom/commit/d0a2f13deac4c49e115574de24acfd65f814835f 8282676: Improve subject handling Reviewed-by: ahgross, mullan, rhalade ! src/java.base/share/classes/javax/security/auth/Subject.java ! test/jdk/javax/security/auth/Subject/CurrentSubject.java ! test/jdk/javax/security/auth/Subject/Exceptions.java Changeset: 5d1c4487 Author: Joe Wang Committer: Henry Jen Date: 2022-05-13 02:02:26 +0000 URL: https://git.openjdk.org/loom/commit/5d1c44871a9f7aa5d60e5c740591ce2e0fd87008 8285407: Improve Xalan supports Reviewed-by: naoto, lancea, ahgross, rhalade ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantPool.java ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ConstantPoolGen.java Changeset: f1001a06 Author: Joe Wang Committer: Henry Jen Date: 2022-06-18 05:17:41 +0000 URL: https://git.openjdk.org/loom/commit/f1001a06b3485d13f14bb85eeeb38f7c1b4910f1 8287916: Address the inconsistency between the constant array and pool size Reviewed-by: naoto, lancea, rhalade, ahgross ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantPool.java ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ConstantPoolGen.java Changeset: 618f3a82 Author: David Holmes Date: 2022-07-20 04:40:09 +0000 URL: https://git.openjdk.org/loom/commit/618f3a82a4d45cdb66b86259ae60dd1c322b987b 8278274: Update nroff pages in JDK 19 before RC Reviewed-by: jjg ! src/java.base/share/man/java.1 ! src/java.base/share/man/keytool.1 ! src/java.rmi/share/man/rmiregistry.1 ! src/java.scripting/share/man/jrunscript.1 ! src/jdk.compiler/share/man/javac.1 ! src/jdk.compiler/share/man/serialver.1 ! src/jdk.hotspot.agent/share/man/jhsdb.1 ! src/jdk.httpserver/share/man/jwebserver.1 ! src/jdk.jartool/share/man/jar.1 ! src/jdk.jartool/share/man/jarsigner.1 ! src/jdk.javadoc/share/man/javadoc.1 ! src/jdk.jcmd/share/man/jcmd.1 ! src/jdk.jcmd/share/man/jinfo.1 ! src/jdk.jcmd/share/man/jmap.1 ! src/jdk.jcmd/share/man/jps.1 ! src/jdk.jcmd/share/man/jstack.1 ! src/jdk.jcmd/share/man/jstat.1 ! src/jdk.jconsole/share/man/jconsole.1 ! src/jdk.jdeps/share/man/javap.1 ! src/jdk.jdeps/share/man/jdeprscan.1 ! src/jdk.jdeps/share/man/jdeps.1 ! src/jdk.jdi/share/man/jdb.1 ! src/jdk.jfr/share/man/jfr.1 ! src/jdk.jlink/share/man/jlink.1 ! src/jdk.jlink/share/man/jmod.1 ! src/jdk.jpackage/share/man/jpackage.1 ! src/jdk.jshell/share/man/jshell.1 ! src/jdk.jstatd/share/man/jstatd.1 Changeset: 17e65bbd Author: David Holmes Date: 2022-07-20 13:09:31 +0000 URL: https://git.openjdk.org/loom/commit/17e65bbd23789d42255ba79e01cc6a5dc7e591c9 8290625: Test jdk/javadoc/tool/CheckManPageOptions.java after manpage update Reviewed-by: hannesw ! test/langtools/jdk/javadoc/tool/CheckManPageOptions.java Changeset: 9c19d89c Author: Daniel D. Daugherty Date: 2022-07-20 22:56:17 +0000 URL: https://git.openjdk.org/loom/commit/9c19d89c9c564e436732c5f7851f4960fb5d783c Merge Changeset: e8975be9 Author: Vladimir Kozlov Date: 2022-07-21 00:46:11 +0000 URL: https://git.openjdk.org/loom/commit/e8975be94bfef8fa787eb60ad1eac4cb1d4b9076 8290746: ProblemList compiler/vectorization/TestAutoVecIntMinMax.java Reviewed-by: dholmes ! test/hotspot/jtreg/ProblemList.txt Changeset: 2c73a1f3 Author: Ioi Lam Date: 2022-07-21 05:12:10 +0000 URL: https://git.openjdk.org/loom/commit/2c73a1f39dc635d10edbb312a8f9a9852f95a7d0 8290324: Move atomic operations outside of os_xxx.hpp Reviewed-by: dholmes, kbarrett ! src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp ! src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.hpp ! src/hotspot/os_cpu/bsd_zero/atomic_bsd_zero.hpp ! src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp ! src/hotspot/os_cpu/bsd_zero/os_bsd_zero.hpp ! src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp ! src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.hpp ! src/hotspot/os_cpu/linux_arm/atomic_linux_arm.hpp ! src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp ! src/hotspot/os_cpu/linux_arm/os_linux_arm.hpp ! src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp ! src/hotspot/os_cpu/linux_riscv/os_linux_riscv.hpp ! src/hotspot/os_cpu/linux_zero/atomic_linux_zero.hpp ! src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp ! src/hotspot/os_cpu/linux_zero/os_linux_zero.hpp Changeset: db1e44c2 Author: Ryan Ernst Committer: Chris Hegarty Date: 2022-07-21 06:16:03 +0000 URL: https://git.openjdk.org/loom/commit/db1e44c2ddd5b5f0db07dfc55f34fb03132f7726 8290353: ModuleReader::list specification should suggest closing the returned stream Reviewed-by: chegar, mchung, mr, jpai ! src/java.base/share/classes/java/lang/module/ModuleReader.java Changeset: 53fc495e Author: Ryan Ernst Committer: Chris Hegarty Date: 2022-07-21 06:19:00 +0000 URL: https://git.openjdk.org/loom/commit/53fc495e3aca7d89af697639d727051fb9adf9c7 8290316: Ensure that all directory streams are closed in java.base Reviewed-by: chegar ! src/java.base/share/classes/java/time/chrono/HijrahChronology.java ! src/java.base/share/classes/jdk/internal/jrtfs/ExplodedImage.java ! src/java.base/share/classes/jdk/internal/module/ModuleHashes.java ! src/java.base/share/classes/jdk/internal/module/ModulePatcher.java ! src/java.base/share/classes/jdk/internal/module/ModulePath.java Changeset: 3582fd9e Author: Ryan Ernst Committer: Chris Hegarty Date: 2022-07-21 06:19:55 +0000 URL: https://git.openjdk.org/loom/commit/3582fd9e93d9733c6fdf1f3848e0a093d44f6865 8290359: Ensure that all directory streams are closed in jdk.link Reviewed-by: chegar ! src/jdk.jlink/share/classes/jdk/tools/jlink/builder/DefaultImageBuilder.java ! src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java ! src/jdk.jlink/share/classes/jdk/tools/jmod/JmodTask.java Changeset: 52cc6cd0 Author: Andrey Turbanov Date: 2022-07-21 10:22:58 +0000 URL: https://git.openjdk.org/loom/commit/52cc6cd063c167229f8883ba5a81be306c38a73c 8288723: Avoid redundant ConcurrentHashMap.get call in java.time Reviewed-by: attila, rriggs ! src/java.base/share/classes/java/time/ZoneOffset.java ! src/java.base/share/classes/java/time/format/DateTimeTextProvider.java ! src/java.base/share/classes/java/time/format/DecimalStyle.java ! src/java.base/share/classes/java/time/temporal/WeekFields.java Changeset: 799a2c84 Author: Michael McMahon Date: 2022-07-21 11:03:48 +0000 URL: https://git.openjdk.org/loom/commit/799a2c844d904b675abd324ab09cbda7faf70b0f 8276561: URL$DefaultFactory::PREFIX should be static final Reviewed-by: djelinski, jpai ! src/java.base/share/classes/java/net/URL.java Changeset: 59e495e4 Author: Aleksey Shipilev Date: 2022-07-21 13:23:10 +0000 URL: https://git.openjdk.org/loom/commit/59e495e4d320b79d1b0ddff3f552f69a01d8dc8d 8290704: x86: TemplateTable::_new should not call eden_allocate() without contiguous allocs enabled Reviewed-by: kvn, thartmann, coleenp ! src/hotspot/cpu/x86/templateTable_x86.cpp Changeset: 604a115a Author: Tobias Holenstein Date: 2022-07-21 14:54:27 +0000 URL: https://git.openjdk.org/loom/commit/604a115a5b8a4c8917a496f3bddb67f9f6468b99 8290016: IGV: Fix graph panning when mouse dragged outside of window Reviewed-by: kvn, thartmann ! src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/DiagramScene.java ! src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/actions/CustomizablePanAction.java Changeset: 6346c333 Author: Daniel D. Daugherty Date: 2022-07-21 15:43:00 +0000 URL: https://git.openjdk.org/loom/commit/6346c3338c23255a43b179cbd618990c31c2eabc 8290826: validate-source failures after JDK-8290016 Reviewed-by: azvegint ! src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/actions/CustomizablePanAction.java Changeset: 4c1cd66d Author: Jonathan Gibbons Date: 2022-07-21 16:26:52 +0000 URL: https://git.openjdk.org/loom/commit/4c1cd66d225d621f777b6fff53692cf9bf915b4a 8288368: simplify code in ValueTaglet, remove redundant code Reviewed-by: prappo ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/ValueTaglet.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Utils.java Changeset: 15f4b304 Author: Eric Caspole Date: 2022-07-21 17:49:22 +0000 URL: https://git.openjdk.org/loom/commit/15f4b30459d936f721fc984c20cf3ada7b7f5d4a 8290115: ArrayCopyObject JMH has wrong package Reviewed-by: rriggs ! test/micro/org/openjdk/bench/java/lang/ArrayCopyObject.java Changeset: 80bd8c35 Author: Ryan Ernst Committer: Chris Hegarty Date: 2022-07-21 18:01:25 +0000 URL: https://git.openjdk.org/loom/commit/80bd8c35494c85491963d590e7b78ea499fb691d 8290504: Close streams returned by ModuleReader::list Reviewed-by: mchung, chegar ! test/jdk/java/lang/ClassLoader/getResource/automaticmodules/Main.java ! test/jdk/java/lang/invoke/callerSensitive/CallerSensitiveAccess.java ! test/jdk/java/lang/module/ModuleReader/ModuleReaderTest.java ! test/jdk/java/lang/module/customfs/ModulesInCustomFileSystem.java Changeset: 7ec0132a Author: Alex Menkov Date: 2022-07-21 18:14:40 +0000 URL: https://git.openjdk.org/loom/commit/7ec0132ad3129b805664c85351fe6d55041066fa 8286844: com/sun/jdi/RedefineCrossEvent.java failed with 1 threads completed while VM suspended Reviewed-by: sspitsyn, cjplummer ! test/jdk/com/sun/jdi/DebuggerThreadTest.java Changeset: 620c8a04 Author: Roger Riggs Date: 2022-07-21 18:57:23 +0000 URL: https://git.openjdk.org/loom/commit/620c8a045f92126c2552347b9f369405ab2d6d36 8289643: File descriptor leak with ProcessBuilder.startPipeline Reviewed-by: alanb, jpai, lancea ! src/java.base/share/classes/java/lang/ProcessBuilder.java + test/jdk/java/lang/ProcessBuilder/PipelineLeaksFD.java Changeset: 0dda3c14 Author: Julian Waters Committer: Valerie Peng Date: 2022-07-21 19:11:40 +0000 URL: https://git.openjdk.org/loom/commit/0dda3c14ebe040158dcc5a87d349d5286c48b573 8289275: Remove incorrect __declspec(dllimport) attributes from pointers in jdk.crypto.cryptoki Reviewed-by: valeriep ! src/jdk.crypto.cryptoki/windows/native/libj2pkcs11/j2secmod_md.h ! src/jdk.crypto.cryptoki/windows/native/libj2pkcs11/p11_md.h Changeset: 66f59c2c Author: Ioi Lam Date: 2022-07-21 21:32:30 +0000 URL: https://git.openjdk.org/loom/commit/66f59c2c16af93484864236a5548323d3e20b012 8290731: Clean up CDS handling of LambdaForm Species classes Reviewed-by: ccheung ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/lambdaFormInvokers.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/oops/klass.hpp ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/CDSLambdaInvoker.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestLambdaInvokers.java Changeset: 59d85bad Author: Chris Plummer Date: 2022-07-21 21:34:26 +0000 URL: https://git.openjdk.org/loom/commit/59d85bad348f7787533ff38942dab2811c4eb623 8290687: serviceability/sa/TestClassDump.java could leave files owned by root on macOS Reviewed-by: amenkov, lmesnik ! test/hotspot/jtreg/serviceability/sa/TestClassDump.java Changeset: e9f97b2e Author: David Holmes Date: 2022-07-22 04:40:15 +0000 URL: https://git.openjdk.org/loom/commit/e9f97b2e8cf301ba6b69101e5efc5c71d26bc87b 8290489: Initial nroff manpage generation for JDK 20 Reviewed-by: dcubed ! src/java.base/share/man/java.1 ! src/java.base/share/man/keytool.1 ! src/java.rmi/share/man/rmiregistry.1 ! src/java.scripting/share/man/jrunscript.1 ! src/jdk.compiler/share/man/javac.1 ! src/jdk.compiler/share/man/serialver.1 ! src/jdk.hotspot.agent/share/man/jhsdb.1 ! src/jdk.httpserver/share/man/jwebserver.1 ! src/jdk.jartool/share/man/jar.1 ! src/jdk.jartool/share/man/jarsigner.1 ! src/jdk.javadoc/share/man/javadoc.1 ! src/jdk.jcmd/share/man/jcmd.1 ! src/jdk.jcmd/share/man/jinfo.1 ! src/jdk.jcmd/share/man/jmap.1 ! src/jdk.jcmd/share/man/jps.1 ! src/jdk.jcmd/share/man/jstack.1 ! src/jdk.jcmd/share/man/jstat.1 ! src/jdk.jconsole/share/man/jconsole.1 ! src/jdk.jdeps/share/man/javap.1 ! src/jdk.jdeps/share/man/jdeprscan.1 ! src/jdk.jdeps/share/man/jdeps.1 ! src/jdk.jdi/share/man/jdb.1 ! src/jdk.jfr/share/man/jfr.1 ! src/jdk.jlink/share/man/jlink.1 ! src/jdk.jlink/share/man/jmod.1 ! src/jdk.jpackage/share/man/jpackage.1 ! src/jdk.jshell/share/man/jshell.1 ! src/jdk.jstatd/share/man/jstatd.1 Changeset: 7841e5cc Author: Aleksey Shipilev Date: 2022-07-22 11:12:49 +0000 URL: https://git.openjdk.org/loom/commit/7841e5cc387ba595f73f40b3a0d00d7e36df15ea 8290464: Optimize ResourceArea zapping on ResourceMark release Reviewed-by: stuefe, zgu, coleenp ! src/hotspot/share/memory/resourceArea.hpp Changeset: 75c1e999 Author: Sergey Tsypanov Committer: Jaikiran Pai Date: 2022-07-22 11:50:28 +0000 URL: https://git.openjdk.org/loom/commit/75c1e99968da1ee2f33a8c3a70070832fb403104 8289572: InputStream wrapping with BufferedInputStream is redundant in HttpTimestamper Reviewed-by: jpai, mullan ! src/java.base/share/classes/sun/security/timestamp/HttpTimestamper.java Changeset: 54854d93 Author: Zhengyu Gu Date: 2022-07-22 12:27:04 +0000 URL: https://git.openjdk.org/loom/commit/54854d9300479c22c416fd9d2fdb5c29fc1884bc 8256811: Delayed/missed jdwp class unloading events Co-authored-by: Chris Plummer Reviewed-by: cjplummer, coleenp, sspitsyn ! src/hotspot/share/prims/jvmtiExport.cpp ! src/hotspot/share/prims/jvmtiExport.hpp ! src/hotspot/share/prims/jvmtiTagMap.cpp ! src/hotspot/share/prims/jvmtiTagMap.hpp ! src/hotspot/share/prims/jvmtiTagMapTable.cpp ! src/hotspot/share/prims/jvmtiTagMapTable.hpp ! src/jdk.jdwp.agent/share/native/libjdwp/classTrack.c ! src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c ! src/jdk.jdwp.agent/share/native/libjdwp/eventHandler.c ! src/jdk.jdwp.agent/share/native/libjdwp/eventHandler.h ! test/hotspot/jtreg/ProblemList.txt + test/jdk/com/sun/jdi/ClassUnloadEventTest.java Changeset: b28f9dab Author: Erik ?sterlund Date: 2022-07-22 14:42:42 +0000 URL: https://git.openjdk.org/loom/commit/b28f9dab80bf5d4de89942585c1ed7bb121d9cbd 8290688: Optimize x86_64 nmethod entry barriers Reviewed-by: kvn, rrich ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp ! src/hotspot/cpu/arm/c2_MacroAssembler_arm.hpp ! src/hotspot/cpu/ppc/c2_MacroAssembler_ppc.hpp ! src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.hpp ! src/hotspot/cpu/s390/c2_MacroAssembler_s390.hpp ! src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.hpp ! src/hotspot/cpu/x86/gc/shared/barrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/gc/shared/barrierSetAssembler_x86.hpp ! src/hotspot/cpu/x86/gc/shared/barrierSetNMethod_x86.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/share/opto/c2_MacroAssembler.hpp ! src/hotspot/share/opto/output.cpp ! src/hotspot/share/opto/output.hpp Changeset: 62f22633 Author: Andrey Turbanov Date: 2022-07-22 15:55:58 +0000 URL: https://git.openjdk.org/loom/commit/62f22633d1025809f88b41ae3a6891f23215be09 8290861: Remove unused field URLJarFile.BUF_SIZE Reviewed-by: jpai, djelinski, aefimov ! src/java.base/share/classes/sun/net/www/protocol/jar/URLJarFile.java Changeset: ef8486a1 Author: SWinxy Committer: Phil Race Date: 2022-07-22 18:36:58 +0000 URL: https://git.openjdk.org/loom/commit/ef8486a1a40c8b65d3db6048c3dc79802073148d 8286270: [java.desktop] Replace color search in XColors with a switch statement Reviewed-by: prr, azvegint ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/XColors.java Changeset: 2660a926 Author: Roger Riggs Date: 2022-07-22 20:11:25 +0000 URL: https://git.openjdk.org/loom/commit/2660a9268b36afc24787273eb22a12c1bc1b9dca 8290893: ProblemList java/lang/ClassLoader/loadLibraryUnload/LoadLibraryUnload Reviewed-by: dcubed ! test/jdk/ProblemList-Xcomp.txt Changeset: 987656d6 Author: Shruthi Committer: Joe Wang Date: 2022-07-22 22:10:43 +0000 URL: https://git.openjdk.org/loom/commit/987656d69065b5b61d658cec3704a181a4aef18b 8289471: Issue in Initialization of keys in ErrorMsg.java and XPATHErrorResources.java Reviewed-by: joehw ! src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMsg.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources.java Changeset: 0599a05f Author: Man Cao Date: 2022-07-23 02:54:07 +0000 URL: https://git.openjdk.org/loom/commit/0599a05f8c7e26d4acae0b2cc805a65bdd6c6f67 8290900: Build failure with Clang 14+ due to function warning attribute Reviewed-by: kbarrett ! src/hotspot/share/utilities/compilerWarnings_gcc.hpp Changeset: 852e71d9 Author: Thomas Stuefe Date: 2022-07-25 05:18:34 +0000 URL: https://git.openjdk.org/loom/commit/852e71d9f06bcf20874ed95a0d7c2b4267d4f59c 8290870: NMT: Increase MallocSiteTable size and allocate it only when needed Reviewed-by: zgu, dholmes ! src/hotspot/share/services/mallocSiteTable.cpp ! src/hotspot/share/services/mallocSiteTable.hpp Changeset: 228e8e94 Author: Erik ?sterlund Date: 2022-07-25 07:08:46 +0000 URL: https://git.openjdk.org/loom/commit/228e8e94fe048e56d5513b150060c9b54f15642c 8290700: Optimize AArch64 nmethod entry barriers Reviewed-by: kvn, dlong ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/aarch64/c1_MacroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/gc/shared/barrierSetAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/shared/barrierSetAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/gc/shared/barrierSetNMethod_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/shenandoah/shenandoahBarrierSetAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/gc/z/zBarrierSetAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp ! src/hotspot/share/code/relocInfo.hpp ! src/hotspot/share/opto/output.hpp Changeset: 80dc6ceb Author: Bhavana Kilambi Committer: Tobias Hartmann Date: 2022-07-25 09:08:23 +0000 URL: https://git.openjdk.org/loom/commit/80dc6cebc90f7ed5c4a262e2dcd3bd54ce71eab1 8290730: compiler/vectorization/TestAutoVecIntMinMax.java failed with "IRViolationException: There were one or multiple IR rule failures." Reviewed-by: jiefu, kvn, thartmann ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java Changeset: d0c365a7 Author: Prasanta Sadhukhan Date: 2022-07-25 10:32:11 +0000 URL: https://git.openjdk.org/loom/commit/d0c365a7b91de2fdfacdb0e107174549b7a9860e 8170794: [macosx] Error when using setDesktopManager on a JDesktopPane on MacOS X with Look and Feel Aqua Reviewed-by: prr ! src/java.desktop/share/classes/javax/swing/RepaintManager.java + test/jdk/javax/swing/JDesktopPane/TestDesktopManagerNPE.java Changeset: 350808a5 Author: Axel Boldt-Christmas Committer: Thomas Schatzl Date: 2022-07-25 11:03:48 +0000 URL: https://git.openjdk.org/loom/commit/350808a5a3cbaa097c3360bfca9af6d90f1b223b 8290459: Remove unused GCCause enums Reviewed-by: tschatzl, kbarrett ! src/hotspot/share/gc/shared/gcCause.cpp ! src/hotspot/share/gc/shared/gcCause.hpp Changeset: b17269ad Author: Kim Barrett Date: 2022-07-25 12:26:04 +0000 URL: https://git.openjdk.org/loom/commit/b17269ad522f05717b84356c885de24c5368447e 8290959: Consistently use "grey" instead of "gray" in GC code Reviewed-by: tschatzl ! src/hotspot/share/gc/g1/g1ConcurrentMark.cpp Changeset: 1e270ea4 Author: Andrew Haley Date: 2022-07-25 12:40:21 +0000 URL: https://git.openjdk.org/loom/commit/1e270ea4f5e8f9539e85430b9be5cf21a89b4d8f 8290780: AArch64: Crash in c2 nmethod running RunThese30M.java Reviewed-by: dlong ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp Changeset: 0ca74f53 Author: Andrey Turbanov Date: 2022-07-25 14:10:26 +0000 URL: https://git.openjdk.org/loom/commit/0ca74f538e1a8a351cc0631c5fe397a74653ce6f 8289659: Refactor I/O stream copying to use InputStream.readAllBytes in X509CertPath Reviewed-by: attila, weijun ! src/java.base/share/classes/sun/security/provider/certpath/X509CertPath.java Changeset: 7c3cfd13 Author: Alexey Semenyuk Date: 2022-07-25 21:51:26 +0000 URL: https://git.openjdk.org/loom/commit/7c3cfd13e3d67c185d15abb1c935853c856e8a42 8290557: tools/jpackage/share/AddLauncherTest.java#id1 failed with "ERROR: Failed: Check icon file" Reviewed-by: almatvee ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/LauncherIconVerifier.java Changeset: 0ca5cb13 Author: Julian Waters Committer: Dean Long Date: 2022-07-25 22:46:19 +0000 URL: https://git.openjdk.org/loom/commit/0ca5cb13a38105a4334ac3508a9c7155fc00cac3 8290834: Improve potentially confusing documentation on collection of profiling information Reviewed-by: thartmann, kvn, dlong ! src/hotspot/share/c1/c1_globals.hpp ! src/hotspot/share/compiler/compilationPolicy.hpp ! src/hotspot/share/oops/methodData.hpp Changeset: a6faf5d3 Author: Xiaohong Gong Date: 2022-07-26 02:56:26 +0000 URL: https://git.openjdk.org/loom/commit/a6faf5d33a09ca53e5d1c60a5ed82f2368a6e1b3 8290485: [vector] REVERSE_BYTES for byte type should not emit any instructions Reviewed-by: thartmann, kvn ! 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/vectorapi/VectorReverseBytesTest.java Changeset: 28bbdc5e Author: Roger Riggs Date: 2022-07-26 11:53:50 +0000 URL: https://git.openjdk.org/loom/commit/28bbdc5ebb8e3f08b47d3c6e7e4e1f41b0408bee 8290972: ProblemList java/lang/ProcessBuilder/PipelineLeaksFD.java Reviewed-by: iris, jpai ! test/jdk/ProblemList-Xcomp.txt Changeset: 330adc03 Author: Evgeny Astigeevich Committer: Volker Simonis Date: 2022-07-26 12:10:56 +0000 URL: https://git.openjdk.org/loom/commit/330adc03a9314b188d05b3f8d06f97826b7a3847 8290969: DumpClassListCLDClosure incorrectly uses ResizeableResourceHashtable Reviewed-by: iklam, ccheung ! src/hotspot/share/cds/metaspaceShared.cpp Changeset: da9cc5c9 Author: Thomas Schatzl Date: 2022-07-26 13:29:05 +0000 URL: https://git.openjdk.org/loom/commit/da9cc5c9f48280786af7939f50c38eb7054e70c9 8290806: Only add eager reclaim task to G1 post evacuate tasks if there were candidates Reviewed-by: kbarrett, sangheki ! src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp Changeset: 89390955 Author: Pengfei Li Date: 2022-07-26 13:45:38 +0000 URL: https://git.openjdk.org/loom/commit/893909558b0439e7727208eeb582416ffc4d9b37 8289996: Fix array range check hoisting for some scaled loop iv Co-authored-by: John R Rose Reviewed-by: roland, kvn, thartmann ! src/hotspot/share/opto/mulnode.cpp ! src/hotspot/share/utilities/powerOfTwo.hpp + test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckHoistingScaledIV.java + test/micro/org/openjdk/bench/vm/compiler/RangeCheckHoisting.java Changeset: 2ae8e311 Author: longxu0509 Committer: John Jiang Date: 2022-07-26 15:04:49 +0000 URL: https://git.openjdk.org/loom/commit/2ae8e3118385bdf93c50bca550334734b69bc2b6 8290669: Fix wording in sun.security.ec Reviewed-by: mullan ! src/jdk.crypto.ec/share/classes/sun/security/ec/ECOperations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/XECOperations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/EdDSAKeyPairGenerator.java Changeset: 7318b222 Author: Joe Darcy Date: 2022-07-26 16:54:32 +0000 URL: https://git.openjdk.org/loom/commit/7318b22209a83c593176ec600647a9b050362932 8289551: Conversions between bit representations of half precision values and floats Reviewed-by: psandoz, jrose ! src/java.base/share/classes/java/lang/Float.java + test/jdk/java/lang/Float/Binary16Conversion.java + test/jdk/java/lang/Float/Binary16ConversionNaN.java Changeset: 8159a1ab Author: Aleksey Shipilev Date: 2022-07-26 17:19:10 +0000 URL: https://git.openjdk.org/loom/commit/8159a1ab708d7571814bbb1a60893b4a7379a082 8290706: Remove the support for inline contiguous allocations Reviewed-by: eosterlund, aph, rrich, fyang, thartmann ! src/hotspot/cpu/aarch64/c1_MacroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/shared/barrierSetAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/shared/barrierSetAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/templateTable_aarch64.cpp ! src/hotspot/cpu/arm/c1_MacroAssembler_arm.cpp ! src/hotspot/cpu/arm/c1_Runtime1_arm.cpp ! src/hotspot/cpu/arm/gc/shared/barrierSetAssembler_arm.cpp ! src/hotspot/cpu/arm/gc/shared/barrierSetAssembler_arm.hpp ! src/hotspot/cpu/arm/macroAssembler_arm.cpp ! src/hotspot/cpu/arm/macroAssembler_arm.hpp ! src/hotspot/cpu/arm/templateTable_arm.cpp ! src/hotspot/cpu/ppc/c1_MacroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.hpp ! src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/c1_Runtime1_riscv.cpp ! src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.cpp ! src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.hpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/templateTable_riscv.cpp ! src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c1_Runtime1_x86.cpp ! src/hotspot/cpu/x86/gc/shared/barrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/gc/shared/barrierSetAssembler_x86.hpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.hpp ! src/hotspot/cpu/x86/templateTable_x86.cpp ! src/hotspot/os_cpu/linux_arm/javaThread_linux_arm.cpp ! src/hotspot/os_cpu/linux_arm/javaThread_linux_arm.hpp ! src/hotspot/share/gc/parallel/parallelScavengeHeap.hpp ! src/hotspot/share/gc/parallel/psYoungGen.hpp ! src/hotspot/share/gc/serial/defNewGeneration.cpp ! src/hotspot/share/gc/serial/defNewGeneration.hpp ! src/hotspot/share/gc/shared/c2/barrierSetC2.cpp ! src/hotspot/share/gc/shared/collectedHeap.hpp ! src/hotspot/share/gc/shared/genCollectedHeap.cpp ! src/hotspot/share/gc/shared/genCollectedHeap.hpp ! src/hotspot/share/gc/shared/generation.hpp ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp ! src/hotspot/share/opto/macro.cpp ! src/hotspot/share/opto/macro.hpp Changeset: 14516423 Author: Leonid Mesnik Date: 2022-07-26 19:02:47 +0000 URL: https://git.openjdk.org/loom/commit/1451642317dbe9f941172945e9f366000434653f 8244976: vmTestbase/nsk/jdi/Event/request/request001.java doesn' initialize eName Reviewed-by: shade, sspitsyn, cjplummer ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Event/request/request001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventIterator/nextEvent/nextevent001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/LocatableEvent/thread/thread001.java Changeset: f0f78a91 Author: Eric Caspole Date: 2022-07-26 20:06:35 +0000 URL: https://git.openjdk.org/loom/commit/f0f78a9125b1656f2c5a55599e726117bcf73ee5 8290894: Reduce runtime of vm.lang microbenchmarks Reviewed-by: rriggs ! test/micro/org/openjdk/bench/vm/lang/InstanceOf.java ! test/micro/org/openjdk/bench/vm/lang/LockUnlock.java ! test/micro/org/openjdk/bench/vm/lang/MonitorBench.java ! test/micro/org/openjdk/bench/vm/lang/Throw.java ! test/micro/org/openjdk/bench/vm/lang/ThrowableRuntimeMicros.java Changeset: 4d796ee8 Author: Mark Powers Committer: Sean Mullan Date: 2022-07-26 20:23:55 +0000 URL: https://git.openjdk.org/loom/commit/4d796ee8abd4eabc5d5d3034f236e8f4289ca048 8290887: Unused private method in TrustManagerFactoryImpl Reviewed-by: weijun, xuelei, mullan ! src/java.base/share/classes/sun/security/ssl/TrustManagerFactoryImpl.java Changeset: 2a1d9cfe Author: Thomas Schatzl Date: 2022-07-27 08:01:05 +0000 URL: https://git.openjdk.org/loom/commit/2a1d9cfeada7e98cbb679b1bf88a91b722471517 8289137: Automatically adapt Young/OldPLABSize and when setting only MinTLABSize Reviewed-by: iwalulya, sangheki ! src/hotspot/share/gc/shared/plab.cpp ! src/hotspot/share/gc/shared/plab.hpp ! src/hotspot/share/memory/universe.cpp + test/hotspot/jtreg/gc/TestPLABAdaptToMinTLABSize.java Changeset: 2bd90c21 Author: Eric Liu Committer: Nick Gasson Date: 2022-07-27 09:38:04 +0000 URL: https://git.openjdk.org/loom/commit/2bd90c2149bfee4b045c8f376e8bcdf4420ccb5d 8284990: AArch64: Remove STXR_PREFETCH from CPU features Reviewed-by: aph, ngasson, njian ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp ! src/hotspot/cpu/aarch64/vm_version_aarch64.hpp ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.aarch64/src/jdk/vm/ci/aarch64/AArch64.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot.aarch64/src/jdk/vm/ci/hotspot/aarch64/AArch64HotSpotVMConfig.java Changeset: 61e072d1 Author: Tobias Hartmann Date: 2022-07-27 10:43:52 +0000 URL: https://git.openjdk.org/loom/commit/61e072d11c8e0cb5879bb733ed1fdd2144326bfd 8290705: StringConcat::validate_mem_flow asserts with "unexpected user: StoreI" Reviewed-by: kvn, xliu ! src/hotspot/share/opto/stringopts.cpp + test/hotspot/jtreg/compiler/stringopts/SideEffectBeforeConstructor.jasm + test/hotspot/jtreg/compiler/stringopts/TestSideEffectBeforeConstructor.java Changeset: 8ec31976 Author: Julian Waters Committer: Tobias Hartmann Date: 2022-07-27 11:52:10 +0000 URL: https://git.openjdk.org/loom/commit/8ec319768399ba83a3ac04c2034666216ebc9cba 8291002: Rename Method::build_interpreter_method_data to Method::build_profiling_method_data Reviewed-by: kvn, thartmann ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/ci/ciMethod.cpp ! src/hotspot/share/ci/ciReplay.cpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/method.hpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/deoptimization.cpp Changeset: 48b77a69 Author: Harold Seigel Date: 2022-07-27 12:22:55 +0000 URL: https://git.openjdk.org/loom/commit/48b77a69697adb9967e58a18e1f248afb30e1b26 8285792: Posix signal handler modification checking issues. Reviewed-by: dholmes, erikj ! make/test/JtregNativeHotspot.gmk ! src/hotspot/os/posix/signals_posix.cpp + test/hotspot/jtreg/runtime/posixSig/TestPosixSig.java + test/hotspot/jtreg/runtime/posixSig/libTestPsig.c Changeset: adaf3b90 Author: Zhengyu Gu Date: 2022-07-27 12:25:35 +0000 URL: https://git.openjdk.org/loom/commit/adaf3b9014d7bca95b5cbe34f0cbe04b43c6b49d 8291056: Remove unused Generation::par_promote*() Reviewed-by: kbarrett ! src/hotspot/share/gc/shared/generation.cpp ! src/hotspot/share/gc/shared/generation.hpp Changeset: e804236f Author: Thomas Schatzl Date: 2022-07-27 12:39:28 +0000 URL: https://git.openjdk.org/loom/commit/e804236f05ff8f7bf941dcbc26284474d2cbc67b 8291289: gc/TestPLABAdaptToMinTLABSize fails after JDK-8289137 Reviewed-by: shade ! test/hotspot/jtreg/gc/TestPLABAdaptToMinTLABSize.java Changeset: 2f3e494b Author: Axel Boldt-Christmas Committer: Erik ?sterlund Date: 2022-07-27 12:43:18 +0000 URL: https://git.openjdk.org/loom/commit/2f3e494b80cce8e357ceac9a897c42d7e8f54af5 8290074: Remove implicit arguments for RegisterMap constructor Reviewed-by: eosterlund, tschatzl ! src/hotspot/cpu/aarch64/frame_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/shared/barrierSetNMethod_aarch64.cpp ! src/hotspot/cpu/riscv/gc/shared/barrierSetNMethod_riscv.cpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/jfr/periodic/sampling/jfrCallTrace.cpp ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackTrace.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/oops/instanceStackChunkKlass.cpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/prims/forte.cpp ! src/hotspot/share/prims/jvmtiEnvBase.cpp ! src/hotspot/share/prims/jvmtiEnvThreadState.cpp ! src/hotspot/share/prims/jvmtiImpl.cpp ! src/hotspot/share/prims/jvmtiTagMap.cpp ! src/hotspot/share/prims/jvmtiThreadState.cpp ! src/hotspot/share/prims/scopedMemoryAccess.cpp ! src/hotspot/share/prims/stackwalk.cpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/continuationEntry.cpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/escapeBarrier.cpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/interfaceSupport.cpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/registerMap.hpp ! src/hotspot/share/runtime/safepoint.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/stackFrameStream.cpp ! src/hotspot/share/runtime/stackWatermark.inline.hpp ! src/hotspot/share/runtime/vframe.cpp ! src/hotspot/share/runtime/vframe.inline.hpp ! src/hotspot/share/runtime/vframeArray.cpp ! src/hotspot/share/services/heapDumper.cpp ! src/hotspot/share/services/threadService.cpp ! src/hotspot/share/utilities/debug.cpp ! src/hotspot/share/utilities/vmError.cpp Changeset: c29242eb Author: Christoph Langer Date: 2022-07-22 11:33:05 +0000 URL: https://git.openjdk.org/loom/commit/c29242ebb0cfd3eaa56240664af607c02a11324e 8290460: Alpine: disable some panama tests that rely on std::thread Backport-of: d7f0de272c85ee8d0890c9d61e10065b618b69d7 ! test/jdk/java/foreign/TestUpcallAsync.java ! test/jdk/java/foreign/enablenativeaccess/TestEnableNativeAccess.java Changeset: 8c9d5ad4 Author: Maurizio Cimadamore Date: 2022-07-25 21:32:44 +0000 URL: https://git.openjdk.org/loom/commit/8c9d5ad4f89e7af18f4ee3b8f236083491d7f6fa 8290455: jck test api/java_lang/foreign/VaList/Empty.html fails on some platforms Reviewed-by: jvernee, mbaesken ! src/java.base/share/classes/jdk/internal/foreign/CABI.java ! src/java.base/share/classes/jdk/internal/foreign/PlatformLayouts.java + test/jdk/java/foreign/TestUnsupportedLinker.java Changeset: 36c00fdd Author: Maurizio Cimadamore Date: 2022-07-27 09:50:58 +0000 URL: https://git.openjdk.org/loom/commit/36c00fdd74692b85e63e57e192f42c14561efd01 8291006: java/foreign/TestUnsupportedPlatform fails after JDK-8290455 Reviewed-by: jvernee - test/jdk/java/foreign/TestUnsupportedPlatform.java Changeset: 92346246 Author: David Holmes Date: 2022-07-27 14:07:11 +0000 URL: https://git.openjdk.org/loom/commit/923462467e52eda359249a4fb61d654f56182603 Merge Changeset: c1040897 Author: Roger Riggs Date: 2022-07-27 14:47:17 +0000 URL: https://git.openjdk.org/loom/commit/c1040897cd6d5bc6e76c971035cc36c9d35b31e6 8290848: LoadLibraryUnload.java still fails with "Too few cleared WeakReferences" Reviewed-by: mchung, jpai ! test/jdk/ProblemList-Xcomp.txt ! test/jdk/java/lang/ClassLoader/loadLibraryUnload/LoadLibraryUnload.java Changeset: 628d3e1d Author: Alan Bateman Date: 2022-08-01 06:29:57 +0000 URL: https://git.openjdk.org/loom/commit/628d3e1d92347bdbe886e0620519ccb777b58e7a Merge with jdk-20+8 ! src/hotspot/share/opto/library_call.cpp ! test/hotspot/jtreg/ProblemList-Xcomp.txt ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/TEST.groups ! src/hotspot/share/opto/library_call.cpp ! test/hotspot/jtreg/ProblemList-Xcomp.txt ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/TEST.groups From duke at openjdk.org Mon Aug 1 07:43:04 2022 From: duke at openjdk.org (duke) Date: Mon, 1 Aug 2022 07:43:04 GMT Subject: git: openjdk/loom: master: 176 new changesets Message-ID: <0035493a-c867-40cf-aa8c-eaa1f766d1f5@openjdk.org> Changeset: c83fcbd1 Author: Sergey Tsypanov Committer: Joe Darcy Date: 2022-07-13 19:36:50 +0000 URL: https://git.openjdk.org/loom/commit/c83fcbd18fff4d10c4162c43ddcdf3a51ce2c8e6 8290079: Reduce interaction with volatile in static initializer of BigInteger Reviewed-by: jpai, rriggs, darcy ! src/java.base/share/classes/java/math/BigInteger.java Changeset: 3216d198 Author: lawrence.andrews Committer: Phil Race Date: 2022-07-13 22:42:13 +0000 URL: https://git.openjdk.org/loom/commit/3216d198f382e991522600086bb2691abfe5f067 8289559: java/awt/a11y/AccessibleJPopupMenuTest.java test fails with java.lang.NullPointerException Reviewed-by: serb ! test/jdk/java/awt/a11y/AccessibleJPopupMenuTest.java Changeset: dbab827b Author: Bill Huang Committer: Jaikiran Pai Date: 2022-07-14 01:31:34 +0000 URL: https://git.openjdk.org/loom/commit/dbab827bee5297c19b10f0923a962fe6c0ac5cbd 8249834: java/util/ArrayList/Bug8146568.java and j/u/Vector/Bug8148174.java use @ignore w/o bug-id Reviewed-by: jpai ! test/jdk/TEST.groups ! test/jdk/java/util/ArrayList/Bug8146568.java ! test/jdk/java/util/Vector/Bug8148174.java Changeset: 3471ac9a Author: Feilong Jiang Committer: Jie Fu Date: 2022-07-14 03:32:52 +0000 URL: https://git.openjdk.org/loom/commit/3471ac9a907780d894d05bd58cf883c4c8d8838d 8290164: compiler/runtime/TestConstantsInError.java fails on riscv Reviewed-by: fyang, yadongwang ! test/hotspot/jtreg/compiler/runtime/TestConstantsInError.java Changeset: 5d588eda Author: Ichiroh Takiguchi Date: 2022-07-14 04:35:54 +0000 URL: https://git.openjdk.org/loom/commit/5d588eda97aeab0c8fda6ad8d332d6a4cae31b05 8290218: AIX build failure by JDK-8289780 Reviewed-by: iklam, stuefe ! src/hotspot/share/prims/forte.cpp Changeset: 02fae607 Author: Andrey Turbanov Date: 2022-07-14 06:10:28 +0000 URL: https://git.openjdk.org/loom/commit/02fae60740ad6f5d6a2891eac5571155a3ae619c 8288067: Avoid redundant HashMap.containsKey call in Type1Font.expandAbbreviation Reviewed-by: attila, prr ! src/java.desktop/share/classes/sun/font/Type1Font.java Changeset: 2baf526f Author: Maurizio Cimadamore Date: 2022-07-12 14:14:46 +0000 URL: https://git.openjdk.org/loom/commit/2baf526fcec3ecd8e306fd9bd483ab5ed4ec8afe 8288850: SegmentAllocator:allocate() can return null some cases Reviewed-by: psandoz ! src/java.base/share/classes/jdk/internal/foreign/ArenaAllocator.java ! test/jdk/java/foreign/TestSegmentAllocators.java Changeset: 0fd1b689 Author: Maurizio Cimadamore Date: 2022-07-12 14:16:22 +0000 URL: https://git.openjdk.org/loom/commit/0fd1b68972995d5071eed21088e0997ac1171ca3 8290071: Javadoc for MemorySegment/MemoryAddress getter/setters contains some typos Reviewed-by: uschindler, psandoz ! src/java.base/share/classes/java/lang/foreign/MemoryAddress.java ! src/java.base/share/classes/java/lang/foreign/MemorySegment.java Changeset: 4545ed68 Author: Maurizio Cimadamore Date: 2022-07-12 14:22:42 +0000 URL: https://git.openjdk.org/loom/commit/4545ed6842b1882d64f62f96b7abdfc2b3d043b8 8289365: SegmentAllocator:allocateArray(MemoryLayout, count) does not throw IAEx when count is -1 Reviewed-by: psandoz ! src/java.base/share/classes/java/lang/foreign/SegmentAllocator.java ! test/jdk/java/foreign/TestSegmentAllocators.java Changeset: 59d0c739 Author: Alan Bateman Date: 2022-07-12 14:46:15 +0000 URL: https://git.openjdk.org/loom/commit/59d0c739ac983414bd429cf2b14c29b61cef5481 8289930: Improve Thread description of inherited AccessControlContext Reviewed-by: jpai, mchung ! src/java.base/share/classes/java/lang/Thread.java Changeset: 128c6c64 Author: Brian Burkhalter Date: 2022-07-12 20:48:23 +0000 URL: https://git.openjdk.org/loom/commit/128c6c648c24c37ab20a7c902d67d245e2b4ca72 8290095: java/nio/channels/FileChannel/largeMemory/LargeGatheringWrite.java timed out Reviewed-by: jpai, alanb ! test/jdk/java/nio/channels/FileChannel/largeMemory/LargeGatheringWrite.java Changeset: fff7f353 Author: Daniel D. Daugherty Date: 2022-07-12 21:04:43 +0000 URL: https://git.openjdk.org/loom/commit/fff7f35300f4a05046057fce80095fbec3fa275f 8290201: ProblemList com/sun/jdi/InvokeHangTest.java on macosx-x64 in vthread mode Reviewed-by: bpb ! test/jdk/ProblemList-svc-vthread.txt Changeset: ce36f6ea Author: Daniel D. Daugherty Date: 2022-07-12 21:45:19 +0000 URL: https://git.openjdk.org/loom/commit/ce36f6ea855a7ede02df969e6bb599ac36ac04fe 8290203: ProblemList vmTestbase/nsk/jvmti/scenarios/capability/CM03/cm03t001/TestDescription.java on linux-all Reviewed-by: naoto ! test/hotspot/jtreg/ProblemList.txt Changeset: a7f83582 Author: Jesper Wilhelmsson Date: 2022-07-14 06:19:40 +0000 URL: https://git.openjdk.org/loom/commit/a7f83582d323b0dc39abc0b2114144206183af45 Merge ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/ProblemList.txt Changeset: 292d909e Author: Daniel Jeli?ski Date: 2022-07-14 06:36:57 +0000 URL: https://git.openjdk.org/loom/commit/292d909e81266a75221d660e8914cbcec7640061 8290178: failure_handler: run netstat without name lookups Reviewed-by: jpai, dfuchs, msheppar, lmesnik ! test/failure_handler/src/share/conf/mac.properties Changeset: adf40d25 Author: KIRIYAMA Takuya Committer: Jaikiran Pai Date: 2022-07-14 07:00:33 +0000 URL: https://git.openjdk.org/loom/commit/adf40d25a1c53ac4804d013c78558c58edb20b85 8290149: java/nio/file/Files/probeContentType/Basic.java fails on Windows Server 2019/2022 Reviewed-by: jpai, lancea ! test/jdk/java/nio/file/Files/probeContentType/Basic.java Changeset: 109e21af Author: Albert Mingkun Yang Date: 2022-07-14 07:56:49 +0000 URL: https://git.openjdk.org/loom/commit/109e21af667ff85daca1d1e0756e0080dbaf54f3 8290080: G1: Remove unnecessary is-obj-dead check in HeapRegion::do_oops_on_memregion_in_humongous Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/g1/heapRegion.inline.hpp Changeset: be58cbc4 Author: Jie Fu Date: 2022-07-14 08:31:05 +0000 URL: https://git.openjdk.org/loom/commit/be58cbc417ba5e08aa2118f9522c72c96c181a86 8290269: gc/shenandoah/TestVerifyJCStress.java fails due to invalid tag: required after JDK-8290023 Reviewed-by: tschatzl ! test/hotspot/jtreg/gc/shenandoah/TestVerifyJCStress.java Changeset: c7c20661 Author: Albert Mingkun Yang Date: 2022-07-14 08:47:29 +0000 URL: https://git.openjdk.org/loom/commit/c7c20661eee727ed8354b19723c359ae7c2d4bd8 8290221: G1: Merge multiple calls of get_next_marked_addr in HeapRegion::oops_on_memregion_iterate_in_unparsable Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/g1/heapRegion.inline.hpp Changeset: 3bb2dc8e Author: Kim Barrett Date: 2022-07-14 14:37:10 +0000 URL: https://git.openjdk.org/loom/commit/3bb2dc8e7f91061a9f1141e9b8122d00adb9faee 8290290: Remove addition of TimeInstants Reviewed-by: stuefe, dholmes ! src/hotspot/share/utilities/ticks.hpp Changeset: 73b83e01 Author: Joe Wang Date: 2022-07-13 17:32:02 +0000 URL: https://git.openjdk.org/loom/commit/73b83e018838d3870733970b2bb22a8394b53330 8290207: Missing notice in dom.md Reviewed-by: iris, lancea, naoto ! src/java.xml/share/legal/dom.md Changeset: 2bf6285c Author: Joe Wang Date: 2022-07-13 21:02:45 +0000 URL: https://git.openjdk.org/loom/commit/2bf6285c80f078d8451afb5682ee307bb13be179 8290209: jcup.md missing additional text Reviewed-by: iris, naoto, lancea ! src/java.xml/share/legal/jcup.md Changeset: fd89ab8d Author: Jatin Bhateja Date: 2022-07-14 01:46:11 +0000 URL: https://git.openjdk.org/loom/commit/fd89ab8dacda1d6af5bd4be57a83362c8cdd5e20 8288112: C2: Error: ShouldNotReachHere() in Type::typerr() Reviewed-by: dlong, kvn ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/vectornode.cpp ! test/hotspot/jtreg/compiler/c2/cr6340864/TestIntVect.java ! test/hotspot/jtreg/compiler/c2/cr6340864/TestLongVect.java ! test/hotspot/jtreg/compiler/c2/cr6340864/TestShortVect.java + test/hotspot/jtreg/compiler/vectorization/TestReverseBytes.java ! test/micro/org/openjdk/bench/java/lang/Integers.java ! test/micro/org/openjdk/bench/java/lang/Longs.java Changeset: 3ad39505 Author: Jesper Wilhelmsson Date: 2022-07-14 16:29:51 +0000 URL: https://git.openjdk.org/loom/commit/3ad39505605f8eab74adec9c68f211dd44796759 Merge ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/vectornode.cpp ! test/micro/org/openjdk/bench/java/lang/Integers.java ! test/micro/org/openjdk/bench/java/lang/Longs.java ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/vectornode.cpp ! test/micro/org/openjdk/bench/java/lang/Integers.java ! test/micro/org/openjdk/bench/java/lang/Longs.java Changeset: 890bcedd Author: Doug Lea
Date: 2022-07-14 19:53:31 +0000 URL: https://git.openjdk.org/loom/commit/890bcedd49fb791074862cc295c0e6bf64ef4d81 8290264: java/util/concurrent/locks/Lock/OOMEInAQS.java fails with "exit code: 0" Reviewed-by: dholmes, alanb, dcubed ! test/jdk/java/util/concurrent/locks/Lock/OOMEInAQS.java Changeset: 757a742a Author: Thomas Schatzl Date: 2022-07-14 21:04:50 +0000 URL: https://git.openjdk.org/loom/commit/757a742ac78a6ececcc4f9f542f8f7108968129d 8290177: Improve documentation in G1MMUTracker Reviewed-by: iwalulya, ayang ! src/hotspot/share/gc/g1/g1MMUTracker.cpp ! src/hotspot/share/gc/g1/g1MMUTracker.hpp Changeset: 70fce07a Author: Vladimir Kozlov Date: 2022-07-15 05:07:21 +0000 URL: https://git.openjdk.org/loom/commit/70fce07a382896a8091413d7269bb16f33122505 8290246: test fails "assert(init != __null) failed: initialization not found" Reviewed-by: dlong, iveresov ! src/hotspot/share/opto/callnode.cpp Changeset: 92deab54 Author: Yoshiki Sato Committer: Sean Coffey Date: 2022-07-15 07:16:14 +0000 URL: https://git.openjdk.org/loom/commit/92deab546549ca549408a983fe361d9536d2cd37 8028265: Add legacy tz tests to OpenJDK Reviewed-by: coffeys, naoto + test/jdk/java/util/TimeZone/AssureTzdataVersion.java + test/jdk/java/util/TimeZone/Bug6329116.java + test/jdk/java/util/TimeZone/TextFileReader.java + test/jdk/java/util/TimeZone/TimeZoneData/VERSION + test/jdk/java/util/TimeZone/TimeZoneData/aliases.txt + test/jdk/java/util/TimeZone/TimeZoneData/displaynames.txt + test/jdk/java/util/TimeZone/tools/share/CompareYearData.pl + test/jdk/java/util/TimeZone/tools/share/Makefile + test/jdk/java/util/TimeZone/tools/share/makeZoneData.pl Changeset: f3abb829 Author: Vicente Romero Date: 2022-07-15 13:06:03 +0000 URL: https://git.openjdk.org/loom/commit/f3abb82989e79da97bcc0a837883be41d14703a3 8268312: Compilation error with nested generic functional interface Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/JCDiagnostic.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java + test/langtools/tools/javac/diags/DiagnosticRewriterTest3.java Changeset: b4e2ce00 Author: Thomas Schatzl Date: 2022-07-15 13:58:17 +0000 URL: https://git.openjdk.org/loom/commit/b4e2ce0094751540ac0673b22af3b3221d1fd74a 8290366: Remove unused during_conc_mark parameter in HeapRegion::note_self_forwarding_removal_start Reviewed-by: ayang ! src/hotspot/share/gc/g1/g1EvacFailure.cpp ! src/hotspot/share/gc/g1/heapRegion.cpp ! src/hotspot/share/gc/g1/heapRegion.hpp Changeset: cca91f7b Author: Mandy Chung Date: 2022-07-15 18:11:18 +0000 URL: https://git.openjdk.org/loom/commit/cca91f7bccc17932307fc05bac745b2bf814dac1 8290327: Remove java/lang/reflect/callerCache/ReflectionCallerCacheTest.java from ProblemList-Xcomp.txt Reviewed-by: jpai ! test/jdk/ProblemList-Xcomp.txt Changeset: 0184f46b Author: Roger Riggs Date: 2022-07-15 18:27:44 +0000 URL: https://git.openjdk.org/loom/commit/0184f46bdfe4441ea6ef28c658c6677c4c736ee9 8289919: [test] LoadLibraryUnloadTest.java failed with "Failed to unload native library" Reviewed-by: mchung ! test/jdk/java/lang/ClassLoader/loadLibraryUnload/LoadLibraryUnload.java ! test/jdk/java/lang/ClassLoader/loadLibraryUnload/LoadLibraryUnloadTest.java ! test/jdk/java/lang/ClassLoader/loadLibraryUnload/libloadLibraryUnload.c ! test/jdk/java/lang/ClassLoader/loadLibraryUnload/p/Class1.java Changeset: 0143cf1d Author: Ioi Lam Date: 2022-07-16 01:03:16 +0000 URL: https://git.openjdk.org/loom/commit/0143cf1d46bd0fc09ccc394e44a98e9dfee67b5b 8290333: Remove os_share_*.hpp Reviewed-by: dholmes, jiefu ! src/hotspot/os/aix/os_aix.cpp - src/hotspot/os/aix/os_share_aix.hpp ! src/hotspot/os/bsd/os_bsd.cpp - src/hotspot/os/bsd/os_share_bsd.hpp ! src/hotspot/os/linux/os_linux.cpp - src/hotspot/os/linux/os_share_linux.hpp ! src/hotspot/os/posix/os_posix.cpp - src/hotspot/os/windows/os_share_windows.hpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/os_cpu/aix_ppc/os_aix_ppc.cpp ! src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp ! src/hotspot/os_cpu/bsd_x86/os_bsd_x86.cpp ! src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp ! src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp ! src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp ! src/hotspot/os_cpu/linux_ppc/os_linux_ppc.cpp ! src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp ! src/hotspot/os_cpu/linux_s390/os_linux_s390.cpp ! src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp ! src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp ! src/hotspot/os_cpu/windows_x86/os_windows_x86.cpp Changeset: 2342684f Author: Jatin Bhateja Date: 2022-07-16 01:18:30 +0000 URL: https://git.openjdk.org/loom/commit/2342684f2cd91a2e5f43dd271e95836aa78e7d0a 8290066: Remove KNL specific handling for new CPU target check in IR annotation Reviewed-by: kvn, sviswanathan ! src/hotspot/cpu/x86/vm_version_x86.cpp ! test/hotspot/jtreg/compiler/lib/ir_framework/test/IREncodingPrinter.java - test/hotspot/jtreg/compiler/vectorapi/TestCPUFeatureCheck.java + test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestCPUFeatureCheck.java Changeset: 441c33f0 Author: Daniel D. Daugherty Date: 2022-07-16 13:17:52 +0000 URL: https://git.openjdk.org/loom/commit/441c33f0b1e970c82d29a67162e6dceed0fbf44a 8289003: JavaThread::check_is_terminated() implementation should rely on Thread-SMR Reviewed-by: dholmes, pchilanomate ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/vmOperations.cpp Changeset: fb27ddcb Author: Brian Burkhalter Date: 2022-07-14 15:23:42 +0000 URL: https://git.openjdk.org/loom/commit/fb27ddcbe5a503ddd841e55baaa9a10f8422b736 8290252: Add TEST.properties to java/nio/channels/FileChannel and move tests out of largeMemory sub-dir Reviewed-by: alanb, jpai ! test/jdk/TEST.ROOT = test/jdk/java/nio/channels/FileChannel/LargeGatheringWrite.java = test/jdk/java/nio/channels/FileChannel/MapTest.java = test/jdk/java/nio/channels/FileChannel/TEST.properties Changeset: c8e03151 Author: Zhengyu Gu Date: 2022-07-14 17:19:27 +0000 URL: https://git.openjdk.org/loom/commit/c8e03151142c444710321c2e8a41e242283922a4 8290250: Shenandoah: disable Loom for iu mode Reviewed-by: rkennke ! src/hotspot/share/gc/shenandoah/mode/shenandoahIUMode.cpp Changeset: 15d3329e Author: Pavel Rappo Date: 2022-07-14 22:27:53 +0000 URL: https://git.openjdk.org/loom/commit/15d3329edd552dcda29d6de2a6f20a5db075b60b 8281969: Bad result for the snippet @link tag if substring/regex consists of whitespace Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java ! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetMarkup.java Changeset: 522b6574 Author: Jesper Wilhelmsson Date: 2022-07-17 15:11:21 +0000 URL: https://git.openjdk.org/loom/commit/522b65743ca10fcba0a27d25b8fa11319999e228 Merge ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java Changeset: 4dd236b4 Author: Feilong Jiang Committer: Fei Yang Date: 2022-07-18 02:12:34 +0000 URL: https://git.openjdk.org/loom/commit/4dd236b40abfeb1200e884021b90226046bc4b85 8290280: riscv: Clean up stack and register handling in interpreter Reviewed-by: fyang ! src/hotspot/cpu/riscv/abstractInterpreter_riscv.cpp ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/frame_riscv.cpp ! src/hotspot/cpu/riscv/frame_riscv.hpp ! src/hotspot/cpu/riscv/interp_masm_riscv.cpp ! src/hotspot/cpu/riscv/interp_masm_riscv.hpp ! src/hotspot/cpu/riscv/methodHandles_riscv.cpp ! src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp ! src/hotspot/cpu/riscv/stubGenerator_riscv.cpp ! src/hotspot/cpu/riscv/templateInterpreterGenerator_riscv.cpp ! src/hotspot/cpu/riscv/templateTable_riscv.cpp Changeset: 84f23149 Author: Ioi Lam Date: 2022-07-18 04:10:08 +0000 URL: https://git.openjdk.org/loom/commit/84f23149e22561173feb0e34bca31a7345b43c89 8286030: Avoid JVM crash when containers share the same /tmp dir Reviewed-by: stuefe, sgehwolf ! src/hotspot/os/posix/perfMemory_posix.cpp + test/hotspot/jtreg/containers/docker/ShareTmpDir.java + test/hotspot/jtreg/containers/docker/WaitForFlagFile.java Changeset: bc7a1ea2 Author: Ajit Ghaisas Date: 2022-07-18 05:18:37 +0000 URL: https://git.openjdk.org/loom/commit/bc7a1ea249d8438e325c36042f7d8fc7eaaf0e40 8288948: Few J2DBench tests indicate lower primitive drawing performance with metal rendering pipeline Reviewed-by: avu, prr ! src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderQueue.h ! src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderQueue.m ! src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderer.h ! src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderer.m Changeset: 87340fd5 Author: Fei Gao Committer: Ningsheng Jian Date: 2022-07-18 05:54:51 +0000 URL: https://git.openjdk.org/loom/commit/87340fd5408d89d9343541ff4fcabde83548a598 8288883: C2: assert(allow_address || t != T_ADDRESS) failed after JDK-8283091 Reviewed-by: kvn, mdoerr ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/superword.hpp ! src/hotspot/share/opto/vectornode.cpp ! src/hotspot/share/utilities/globalDefinitions.hpp + test/hotspot/jtreg/compiler/loopopts/superword/TestVectorizeTypeConversionWithUnsafe.java Changeset: 92067e20 Author: Fei Yang Date: 2022-07-18 13:01:35 +0000 URL: https://git.openjdk.org/loom/commit/92067e200346c41c2f43763edc01c97c7da1a9e6 8290137: riscv: small refactoring for add_memory_int32/64 Reviewed-by: yadongwang, fjiang, shade ! src/hotspot/cpu/riscv/assembler_riscv.cpp ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/c1_CodeStubs_riscv.cpp ! src/hotspot/cpu/riscv/c1_LIRAssembler_arraycopy_riscv.cpp ! src/hotspot/cpu/riscv/c1_LIRAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/vtableStubs_riscv.cpp Changeset: 6882f0eb Author: Coleen Phillimore Date: 2022-07-18 15:04:08 +0000 URL: https://git.openjdk.org/loom/commit/6882f0eb39a1a1db1393925fab4143a725a96b6a 8290013: serviceability/jvmti/GetLocalVariable/GetLocalWithoutSuspendTest.java failed "assert(!in_vm) failed: Undersized StackShadowPages" Reviewed-by: lmesnik ! src/hotspot/cpu/x86/globals_x86.hpp ! test/hotspot/jtreg/ProblemList-Xcomp.txt Changeset: ea8b75cf Author: Phil Race Date: 2022-07-18 16:05:03 +0000 URL: https://git.openjdk.org/loom/commit/ea8b75cfe453f5806a96ca85dd5e31724750a88f 8290334: Update FreeType to 2.12.1 Reviewed-by: serb, azvegint ! src/java.desktop/share/legal/freetype.md ! src/java.desktop/share/native/libfreetype/include/freetype/freetype.h ! src/java.desktop/share/native/libfreetype/include/freetype/ftcolor.h ! src/java.desktop/share/native/libfreetype/src/base/ftmac.c ! src/java.desktop/share/native/libfreetype/src/base/ftrfork.c ! src/java.desktop/share/native/libfreetype/src/cff/cffcmap.c ! src/java.desktop/share/native/libfreetype/src/cff/cffgload.c ! src/java.desktop/share/native/libfreetype/src/psaux/cffdecode.c ! src/java.desktop/share/native/libfreetype/src/psaux/psconv.c ! src/java.desktop/share/native/libfreetype/src/psaux/psobjs.c ! src/java.desktop/share/native/libfreetype/src/raster/ftraster.c ! src/java.desktop/share/native/libfreetype/src/sfnt/pngshim.c ! src/java.desktop/share/native/libfreetype/src/sfnt/sfobjs.c ! src/java.desktop/share/native/libfreetype/src/sfnt/sfwoff2.c ! src/java.desktop/share/native/libfreetype/src/sfnt/ttcmap.c ! src/java.desktop/share/native/libfreetype/src/truetype/ttgload.c ! src/java.desktop/share/native/libfreetype/src/truetype/ttinterp.c ! src/java.desktop/share/native/libfreetype/src/type1/t1afm.c ! src/java.desktop/share/native/libfreetype/src/type1/t1load.c Changeset: b2010a74 Author: Zhengyu Gu Date: 2022-07-18 16:54:08 +0000 URL: https://git.openjdk.org/loom/commit/b2010a748137d17f4968659503e0579ea8558afd 8287805: Shenandoah: consolidate evacuate-update-root closures Reviewed-by: shade ! src/hotspot/share/gc/shenandoah/shenandoahClosures.hpp ! src/hotspot/share/gc/shenandoah/shenandoahClosures.inline.hpp ! src/hotspot/share/gc/shenandoah/shenandoahConcurrentGC.cpp ! src/hotspot/share/gc/shenandoah/shenandoahNMethod.inline.hpp Changeset: efed7a7f Author: Sergey Tsypanov Committer: Phil Race Date: 2022-07-18 17:15:46 +0000 URL: https://git.openjdk.org/loom/commit/efed7a7f65c0fa4b757ac6b448d11d7ddebdcc9a 8289908: Skip bounds check for cases when String is constructed from entirely used byte[] Reviewed-by: prr, rriggs, aturbanov ! src/java.base/share/classes/java/lang/String.java ! src/java.base/share/classes/java/util/jar/Manifest.java ! src/java.desktop/share/classes/javax/swing/text/html/parser/Entity.java ! src/java.desktop/windows/classes/sun/awt/windows/WDataTransferer.java + test/micro/org/openjdk/bench/java/lang/StringConstructor.java Changeset: 5ae43209 Author: Srinivas Mandalika Committer: Phil Race Date: 2022-07-18 17:16:44 +0000 URL: https://git.openjdk.org/loom/commit/5ae4320921b15dcc198d0c71416cd46e5b5c2f85 8284767: Create an automated test for JDK-4422535 Reviewed-by: prr, achung + test/jdk/javax/accessibility/SetCurrentAccessibleValueTest.java Changeset: b9de0a75 Author: Srinivas Mandalika Committer: Phil Race Date: 2022-07-18 17:17:50 +0000 URL: https://git.openjdk.org/loom/commit/b9de0a7556f7be2c6afc6bb41bfa0339b639ff88 8284524: Create an automated test for JDK-4422362 Reviewed-by: prr + test/jdk/javax/accessibility/MaximumAccessibleValueTest.java Changeset: e72742ee Author: Srinivas Mandalika Committer: Phil Race Date: 2022-07-18 17:18:53 +0000 URL: https://git.openjdk.org/loom/commit/e72742eeb5f265e854d098a560cb41c83e93f905 8286172: Create an automated test for JDK-4516019 Reviewed-by: prr, achung + test/jdk/javax/swing/JSpinner/JSpinnerFocusTest.java Changeset: 6c8d0e61 Author: Alexander Zuev Date: 2022-07-18 20:33:19 +0000 URL: https://git.openjdk.org/loom/commit/6c8d0e617ff59eee1313589b10edbf5830774db5 8282526: Default icon is not painted properly Reviewed-by: aivanov, prr ! src/java.desktop/windows/classes/sun/awt/shell/Win32ShellFolder2.java ! src/java.desktop/windows/native/libawt/windows/ShellFolder2.cpp + test/jdk/javax/swing/JFileChooser/FileSystemView/WindowsDefaultIconSizeTest.java Changeset: b65f7ec2 Author: Mark Powers Committer: Weijun Wang Date: 2022-07-18 20:50:54 +0000 URL: https://git.openjdk.org/loom/commit/b65f7ec2f149d688a37b2c5b2ece312b52133dec 4887998: Use Integer.rotateLeft() and rotateRight() in crypto implementations Reviewed-by: weijun ! src/java.base/share/classes/sun/security/provider/MD4.java ! src/java.base/share/classes/sun/security/provider/MD5.java ! src/java.base/share/classes/sun/security/provider/SHA.java ! src/java.base/share/classes/sun/security/provider/SHA2.java ! src/java.base/share/classes/sun/security/provider/SHA5.java Changeset: 5a96a5db Author: Leonid Mesnik Date: 2022-07-18 21:53:41 +0000 URL: https://git.openjdk.org/loom/commit/5a96a5db13992118ec384207edfb04136f339253 8289612: Change hotspot/jtreg tests to not use Thread.stop Reviewed-by: dholmes, dcubed ! test/hotspot/jtreg/runtime/Thread/AsyncExceptionOnMonitorEnter.java ! test/hotspot/jtreg/runtime/Thread/AsyncExceptionTest.java ! test/hotspot/jtreg/runtime/jni/terminatedThread/TestTerminatedThread.java + test/hotspot/jtreg/testlibrary/jvmti/JVMTIUtils.java + test/hotspot/jtreg/testlibrary/jvmti/libJvmtiUtils.cpp ! test/hotspot/jtreg/vmTestbase/gc/gctests/mallocWithGC2/mallocWithGC2.java ! test/hotspot/jtreg/vmTestbase/nsk/stress/stack/stack002.java Changeset: 4a4d8ed8 Author: Jie Fu Date: 2022-07-18 22:49:17 +0000 URL: https://git.openjdk.org/loom/commit/4a4d8ed83bea048cbfa6ab4c2ef6aa066cefe650 8289801: [IR Framework] Add flags to whitelist which can be used to simulate a specific machine setup like UseAVX Reviewed-by: kvn, xgong, thartmann ! test/hotspot/jtreg/TEST.groups ! test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeURShiftSubword.java ! test/hotspot/jtreg/compiler/lib/ir_framework/TestFramework.java Changeset: 4f3f74c1 Author: Roland Westrelin Date: 2022-07-18 07:08:49 +0000 URL: https://git.openjdk.org/loom/commit/4f3f74c14121d0a80f0dcf1d593b4cf1c3e4a64c 8289127: Apache Lucene triggers: DEBUG MESSAGE: duplicated predicate failed which is impossible Reviewed-by: kvn, dlong ! src/hotspot/share/opto/loopTransform.cpp + test/hotspot/jtreg/compiler/loopopts/TestMissedOpaqueInPredicate.java Changeset: 2677dd6d Author: Pengfei Li Date: 2022-07-18 12:18:06 +0000 URL: https://git.openjdk.org/loom/commit/2677dd6d2318afb4afffde46f8e8e20276cb2894 8289954: C2: Assert failed in PhaseCFG::verify() after JDK-8183390 Reviewed-by: kvn, thartmann, roland ! src/hotspot/share/opto/superword.cpp + test/hotspot/jtreg/compiler/loopopts/TestUnreachableInnerLoop.java Changeset: 6cd1c0c1 Author: Jesper Wilhelmsson Date: 2022-07-18 22:51:25 +0000 URL: https://git.openjdk.org/loom/commit/6cd1c0c14e7c9f9e8f77b32adcb792556645c0ac Merge ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/superword.cpp Changeset: af86cd3d Author: Hollow Man Committer: Xue-Lei Andrew Fan Date: 2022-07-19 01:49:20 +0000 URL: https://git.openjdk.org/loom/commit/af86cd3d8c0f8a874d1b738ad0caeeb7cd4c61d0 8290463: Fix several comment typos in sun.security.ec Reviewed-by: xuelei ! src/jdk.crypto.ec/share/classes/sun/security/ec/ECDHKeyAgreement.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ECDSAOperations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/EdDSAParameters.java Changeset: 4e6cd67f Author: George Adams Committer: Aleksey Shipilev Date: 2022-07-19 06:29:43 +0000 URL: https://git.openjdk.org/loom/commit/4e6cd67fec3d978f4c8c1aed95a1d09b544eff68 8290000: Bump macOS GitHub actions to macOS 11 Reviewed-by: shade, clanger ! .github/workflows/build-macos.yml ! .github/workflows/main.yml ! .github/workflows/test.yml Changeset: dfbc6919 Author: Matthias Baesken Date: 2022-07-19 07:07:41 +0000 URL: https://git.openjdk.org/loom/commit/dfbc6919e1e233b42aede97f1323ce5529fab7cf 8289524: Add JFR JIT restart event Reviewed-by: kvn, lucy ! src/hotspot/share/code/codeCache.cpp ! src/hotspot/share/jfr/metadata/metadata.xml ! src/hotspot/share/runtime/sweeper.cpp ! src/jdk.jfr/share/conf/jfr/default.jfc ! src/jdk.jfr/share/conf/jfr/profile.jfc ! test/jdk/jdk/jfr/event/compiler/TestCodeCacheFull.java + test/jdk/jdk/jfr/event/compiler/TestJitRestart.java ! test/lib/jdk/test/lib/jfr/EventNames.java Changeset: d7f0de27 Author: Thomas Stuefe Date: 2022-07-19 07:13:18 +0000 URL: https://git.openjdk.org/loom/commit/d7f0de272c85ee8d0890c9d61e10065b618b69d7 8290460: Alpine: disable some panama tests that rely on std::thread Reviewed-by: jvernee, dholmes ! test/jdk/java/foreign/TestUpcallAsync.java ! test/jdk/java/foreign/enablenativeaccess/TestEnableNativeAccess.java Changeset: 612d8c6c Author: Matthias Baesken Date: 2022-07-19 07:15:08 +0000 URL: https://git.openjdk.org/loom/commit/612d8c6cb1d0861957d3f6af96556e2739283800 8290456: remove os::print_statistics() Reviewed-by: coleenp ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/share/runtime/java.cpp Changeset: f5a7de86 Author: Aggelos Biboudis Committer: Jan Lahoda Date: 2022-07-19 09:03:28 +0000 URL: https://git.openjdk.org/loom/commit/f5a7de86278ce019ffe44a92921dbb4018451a73 8290379: Parse error with parenthesized pattern and guard using an array Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java + test/langtools/tools/javac/T8290379.java Changeset: 2ff22087 Author: Andrey Turbanov Date: 2022-07-19 11:32:30 +0000 URL: https://git.openjdk.org/loom/commit/2ff22087f209f9bd8e82d1c2a90c44cafd9ffef0 8289804: Remove redundant stream() call before forEach in jdk.jshell Reviewed-by: psandoz ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/Feedback.java ! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java ! src/jdk.jshell/share/classes/jdk/jshell/Eval.java Changeset: e02627ca Author: Roger Riggs Date: 2022-07-19 11:51:28 +0000 URL: https://git.openjdk.org/loom/commit/e02627ca0a3381b3a52a71aef41ce5ba3329142b 8290397: LoadLibraryUnload.java failed with "Too few cleared WeakReferences" Reviewed-by: mchung ! test/jdk/java/lang/ClassLoader/loadLibraryUnload/LoadLibraryUnload.java Changeset: a41b12f4 Author: Thomas Schatzl Date: 2022-07-19 12:40:12 +0000 URL: https://git.openjdk.org/loom/commit/a41b12f430b8d6ebbb634c0a6a077ed13c68bcb7 8290512: G1: Fix typo in allocation statistics log message Reviewed-by: kbarrett ! src/hotspot/share/gc/g1/g1OldGenAllocationTracker.cpp Changeset: bbc57483 Author: Coleen Phillimore Date: 2022-07-19 14:41:58 +0000 URL: https://git.openjdk.org/loom/commit/bbc57483ce4904efa5ff4c8384a74ee7f8776317 8272096: Exceptions::new_exception can return wrong exception Reviewed-by: hseigel, dholmes ! src/hotspot/os/posix/perfMemory_posix.cpp ! src/hotspot/share/classfile/stackMapTable.cpp ! src/hotspot/share/prims/nativeLookup.cpp ! src/hotspot/share/utilities/exceptions.cpp Changeset: 2cb659e7 Author: Eric Caspole Date: 2022-07-19 16:30:44 +0000 URL: https://git.openjdk.org/loom/commit/2cb659e7f45e5ed4c2db7f1a091bb78f4f7accc2 8290391: Reduce runtime of java.util package microbenchmarks Reviewed-by: rriggs, redestad ! test/micro/org/openjdk/bench/java/util/ArraysEquals.java ! test/micro/org/openjdk/bench/java/util/ArraysFill.java ! test/micro/org/openjdk/bench/java/util/ArraysMismatch.java ! test/micro/org/openjdk/bench/java/util/ArraysMismatchPartialInlining.java ! test/micro/org/openjdk/bench/java/util/Base64Decode.java ! test/micro/org/openjdk/bench/java/util/Base64Encode.java ! test/micro/org/openjdk/bench/java/util/Base64VarLenDecode.java ! test/micro/org/openjdk/bench/java/util/Dates.java ! test/micro/org/openjdk/bench/java/util/GregorianCalendars.java ! test/micro/org/openjdk/bench/java/util/HashMapBench.java ! test/micro/org/openjdk/bench/java/util/LocaleDefaults.java ! test/micro/org/openjdk/bench/java/util/RandomGeneratorNext.java ! test/micro/org/openjdk/bench/java/util/RandomNext.java ! test/micro/org/openjdk/bench/java/util/TestAdler32.java ! test/micro/org/openjdk/bench/java/util/TestCRC32C.java ! test/micro/org/openjdk/bench/java/util/ZipFind.java Changeset: 96a542fe Author: Coleen Phillimore Date: 2022-07-19 16:32:07 +0000 URL: https://git.openjdk.org/loom/commit/96a542feb2064dba155ebf05311752995d164038 8227060: Optimize safepoint cleanup subtask order Reviewed-by: kbarrett, pchilanomate ! src/hotspot/share/compiler/compilationPolicy.hpp ! src/hotspot/share/runtime/safepoint.cpp ! src/hotspot/share/runtime/safepoint.hpp ! src/hotspot/share/runtime/synchronizer.cpp ! test/hotspot/jtreg/runtime/logging/SafepointCleanupTest.java Changeset: 977e0948 Author: Alexey Semenyuk Date: 2022-07-19 16:59:28 +0000 URL: https://git.openjdk.org/loom/commit/977e09489dd1f49d8f373ef7b8c5e47fedb82793 8283707: Support version format on Windows Reviewed-by: almatvee ! make/modules/jdk.jpackage/Lib.gmk ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixUiFragmentBuilder.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/InstallDirNotEmptyDlg.wxs ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/main.wxs + src/jdk.jpackage/windows/native/common/MsiCA.cpp + src/jdk.jpackage/windows/native/common/MsiCA.h ! src/jdk.jpackage/windows/native/common/WinErrorHandling.cpp ! src/jdk.jpackage/windows/native/common/WinErrorHandling.h + src/jdk.jpackage/windows/native/libwixhelper/Version.cpp + src/jdk.jpackage/windows/native/libwixhelper/Version.h ! src/jdk.jpackage/windows/native/libwixhelper/libwixhelper.cpp ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageTest.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/RunnablePackageTest.java + test/jdk/tools/jpackage/resources/WinLongVersionTest-edit-msi.js + test/jdk/tools/jpackage/windows/WinLongVersionTest.java Changeset: d67e7ccd Author: Alexey Semenyuk Date: 2022-07-19 17:01:01 +0000 URL: https://git.openjdk.org/loom/commit/d67e7ccda56998d1d60bdaa4e5940a0c501ead23 8290402: jpackage exe uninstallers don't return correct exit code in case of failure Reviewed-by: almatvee ! src/jdk.jpackage/windows/native/msiwrapper/MsiWrapper.cpp Changeset: 1af7c33d Author: Alexey Semenyuk Date: 2022-07-19 17:01:55 +0000 URL: https://git.openjdk.org/loom/commit/1af7c33df59cd043bdae3f681aeded2919dc27aa 8290400: Must run exe installers in jpackage jtreg tests without UI Reviewed-by: almatvee ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/WindowsHelper.java Changeset: c2cbeb3e Author: Alexey Semenyuk Date: 2022-07-19 19:46:51 +0000 URL: https://git.openjdk.org/loom/commit/c2cbeb3ee875936c98bb15ec32d692f7d866df76 8290398: jpackage exe installers are not installed in jtreg tests Reviewed-by: almatvee ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageTest.java Changeset: ec1d338e Author: Valerie Peng Committer: Henry Jen Date: 2021-09-15 16:39:59 +0000 URL: https://git.openjdk.org/loom/commit/ec1d338e15607d04ae701491940376df378535ef 8272243: Improve DER parsing Reviewed-by: weijun, rhalade ! src/java.base/share/classes/sun/security/util/BitArray.java ! src/java.base/share/classes/sun/security/util/DerValue.java ! test/jdk/sun/security/util/DerInputBuffer/PaddedBitString.java Changeset: cdc1582d Author: Aleksei Efimov Committer: Henry Jen Date: 2022-02-08 12:16:02 +0000 URL: https://git.openjdk.org/loom/commit/cdc1582d1d7629c2077f6cd19786d23323111018 8277608: Address IP Addressing Reviewed-by: dfuchs, rhalade, michaelm ! src/java.base/share/classes/java/net/HostPortrange.java ! src/java.base/share/classes/java/net/InetAddress.java ! src/java.base/share/classes/java/net/SocketPermission.java ! src/java.base/share/classes/sun/net/util/IPAddressUtil.java Changeset: e7f8003e Author: Joe Wang Committer: Henry Jen Date: 2022-03-08 18:33:47 +0000 URL: https://git.openjdk.org/loom/commit/e7f8003eddf615c04aef9d32144e6c81352896b0 8272249: Better properties of loaded Properties Reviewed-by: naoto, lancea, rhalade, mschoene ! src/java.base/share/classes/jdk/internal/util/xml/impl/Parser.java Changeset: 84b4e9bb Author: Tobias Hartmann Committer: Henry Jen Date: 2022-03-18 10:08:18 +0000 URL: https://git.openjdk.org/loom/commit/84b4e9bb415de65d8de83925fbf7010ed1650064 8281859: Improve class compilation Co-authored-by: Vladimir Ivanov Reviewed-by: chagedorn ! src/hotspot/share/ci/ciEnv.cpp Changeset: 632d2d26 Author: Tobias Hartmann Committer: Henry Jen Date: 2022-03-23 11:55:03 +0000 URL: https://git.openjdk.org/loom/commit/632d2d2690ee68b5e2928e8c253ad4b099f31ed9 8281866: Enhance MethodHandle invocations Co-authored-by: Vladimir Ivanov Reviewed-by: chagedorn ! src/hotspot/share/interpreter/linkResolver.cpp Changeset: a37465b8 Author: Alexander Zuev Committer: Henry Jen Date: 2022-03-29 19:42:16 +0000 URL: https://git.openjdk.org/loom/commit/a37465b8fa1f3a1529d37430797809a99a94f4af 8283190: Improve MIDI processing Reviewed-by: prr, rhalade, psadhukhan, mschoene ! src/java.desktop/share/classes/com/sun/media/sound/StandardMidiFileReader.java Changeset: b7b917a0 Author: Lance Andersen Committer: Henry Jen Date: 2022-04-15 15:54:20 +0000 URL: https://git.openjdk.org/loom/commit/b7b917a0a8d4327b66ad8632ae8925628876e70a 8284370: Improve zlib usage Reviewed-by: alanb, mschoene, rhalade ! src/java.base/share/native/libzip/zlib/deflate.c ! src/java.base/share/native/libzip/zlib/deflate.h ! src/java.base/share/native/libzip/zlib/trees.c Changeset: d991ec4f Author: Weijun Wang Committer: Henry Jen Date: 2022-04-20 14:01:39 +0000 URL: https://git.openjdk.org/loom/commit/d991ec4f9fdb865f37978fe9f9f2b2885e1e9054 8282676: Improve subject handling Reviewed-by: ahgross, mullan, rhalade ! src/java.base/share/classes/javax/security/auth/Subject.java ! test/jdk/javax/security/auth/Subject/CurrentSubject.java ! test/jdk/javax/security/auth/Subject/Exceptions.java Changeset: 41ef2b24 Author: Joe Wang Committer: Henry Jen Date: 2022-05-13 02:02:26 +0000 URL: https://git.openjdk.org/loom/commit/41ef2b249073450172e11163a4d05762364b1297 8285407: Improve Xalan supports Reviewed-by: naoto, lancea, ahgross, rhalade ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantPool.java ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ConstantPoolGen.java Changeset: 7b418f9a Author: Joe Wang Committer: Henry Jen Date: 2022-06-18 05:17:41 +0000 URL: https://git.openjdk.org/loom/commit/7b418f9abae9f9f24155a9533b8e80231f49e0c0 8287916: Address the inconsistency between the constant array and pool size Reviewed-by: naoto, lancea, rhalade, ahgross ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantPool.java ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ConstantPoolGen.java Changeset: 43588648 Author: Jie Fu Date: 2022-07-19 22:50:00 +0000 URL: https://git.openjdk.org/loom/commit/43588648cacaa79a586ace8540dfe43eb64f9a46 8290511: compiler/vectorapi/TestMaskedMacroLogicVector.java fails IR verification Reviewed-by: kvn, thartmann ! test/hotspot/jtreg/compiler/vectorapi/TestMaskedMacroLogicVector.java Changeset: 97147915 Author: Prasanta Sadhukhan Date: 2022-07-20 05:49:40 +0000 URL: https://git.openjdk.org/loom/commit/971479153d726ffd8d457a0531f303d357798b3c 8190907: Windows 10 default Korean Font Malgun Gothic available not used by GUI elements even though available without Korean Language Pack Reviewed-by: naoto, prr ! src/java.desktop/windows/data/fontconfig/fontconfig.properties Changeset: 2ea3f546 Author: Aleksey Shipilev Date: 2022-07-20 06:00:03 +0000 URL: https://git.openjdk.org/loom/commit/2ea3f546c249cf32df460238da72c9744b3c1eb2 8290495: Micro-optimize Method::can_be_statically_bound assertions Reviewed-by: dholmes, stuefe ! src/hotspot/share/oops/method.cpp Changeset: 4dc421ca Author: Ioi Lam Date: 2022-07-19 04:37:28 +0000 URL: https://git.openjdk.org/loom/commit/4dc421caa02caedd7061ede6a5ec44dbb6ec738e 8290417: CDS cannot archive lamda proxy with useImplMethodHandle Reviewed-by: dholmes, ccheung, mchung ! src/java.base/share/classes/java/lang/invoke/InnerClassLambdaMetafactory.java ! test/hotspot/jtreg/TEST.groups + test/hotspot/jtreg/runtime/cds/appcds/LambdaWithUseImplMethodHandle.java + test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicLambdaWithUseImplMethodHandle.java + test/hotspot/jtreg/runtime/cds/appcds/test-classes/LambdaWithUseImplMethodHandleApp.java + test/hotspot/jtreg/runtime/cds/appcds/test-classes/pkg1/BaseWithProtectedMethod.java + test/hotspot/jtreg/runtime/cds/appcds/test-classes/pkg2/Child.jcod Changeset: a6bab2a3 Author: Markus Gr?nlund Date: 2022-07-19 09:34:49 +0000 URL: https://git.openjdk.org/loom/commit/a6bab2a37905a191e95464b47a2dd4c89ce7be61 8288482: JFR: Cannot resolve method Reviewed-by: jbachorik ! src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp Changeset: e062dff1 Author: Maurizio Cimadamore Date: 2022-07-19 14:33:53 +0000 URL: https://git.openjdk.org/loom/commit/e062dff1bfd1abd5f14e8915dc5417cc22d622ac 8290524: Typo in javadoc of MemorySegment/MemoryAddress Reviewed-by: jvernee ! src/java.base/share/classes/java/lang/foreign/MemoryAddress.java ! src/java.base/share/classes/java/lang/foreign/MemorySegment.java Changeset: a3e07d95 Author: Jesper Wilhelmsson Date: 2022-07-20 07:39:01 +0000 URL: https://git.openjdk.org/loom/commit/a3e07d950ae752daf779607693c422a4c35924a6 Merge ! test/hotspot/jtreg/TEST.groups ! test/hotspot/jtreg/TEST.groups Changeset: 5425573b Author: Fei Yang Date: 2022-07-20 08:26:35 +0000 URL: https://git.openjdk.org/loom/commit/5425573bb4de1a2434201bc7ec3700b527ce346b 8290496: riscv: Fix build warnings-as-errors with GCC 11 Reviewed-by: yadongwang, fjiang, shade ! src/hotspot/cpu/riscv/nativeInst_riscv.hpp ! src/hotspot/cpu/riscv/vtableStubs_riscv.cpp Changeset: 43c47b1a Author: Erik ?sterlund Date: 2022-07-20 10:26:38 +0000 URL: https://git.openjdk.org/loom/commit/43c47b1ad7453b4be5ad949d49866de1d911973e 8290534: Move MacroAssembler::verified_entry to C2_MacroAssembler on x86 Reviewed-by: shade, kvn ! 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/x86_32.ad ! src/hotspot/cpu/x86/x86_64.ad Changeset: 4b4d3528 Author: jeremy Committer: Laurent Bourg?s Date: 2022-07-20 11:34:48 +0000 URL: https://git.openjdk.org/loom/commit/4b4d35289ad7bfd2c5d9992b7c1fb8507d44a56d 8264999: GeneralPath.lineTo() to itself produces jagged lines Reviewed-by: lbourges, prr ! src/java.desktop/share/classes/sun/java2d/marlin/Stroker.java + test/jdk/sun/java2d/marlin/JoinMiterRedundantLineSegmentsTest.java Changeset: 984cd02d Author: Thomas Schatzl Date: 2022-07-20 12:34:55 +0000 URL: https://git.openjdk.org/loom/commit/984cd02dfb403830c1e8212b94f21f6c9b48348b 8290707: runtime/cds/appcds/dynamicArchive/DynamicLambdaWithUseImplMethodHandle.java fails with "Can't find sun.hotspot.whitebox" Reviewed-by: dholmes ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicLambdaWithUseImplMethodHandle.java Changeset: 011958d3 Author: Zhengyu Gu Date: 2022-07-20 12:42:13 +0000 URL: https://git.openjdk.org/loom/commit/011958d30b275f0f6a2de097938ceeb34beb314d 8290374: Shenandoah: Remove inaccurate comment on SBS::load_reference_barrier() Reviewed-by: shade ! src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp Changeset: 1c055076 Author: Andrew Haley Date: 2022-07-20 13:00:12 +0000 URL: https://git.openjdk.org/loom/commit/1c055076e0e460275954cfc8d5e897d72bb9323e 8289743: AArch64: Clean up patching logic Reviewed-by: adinn, ngasson ! src/hotspot/cpu/aarch64/assembler_aarch64.cpp ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/c1_LIRAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/interp_masm_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp Changeset: 3d3e3df8 Author: Tobias Holenstein Date: 2022-07-20 14:33:05 +0000 URL: https://git.openjdk.org/loom/commit/3d3e3df8f0845d1ce1776ef37b4a2b39461a328a 8290069: IGV: Highlight both graphs of difference in outline Reviewed-by: kvn, thartmann ! src/utils/IdealGraphVisualizer/Coordinator/pom.xml ! src/utils/IdealGraphVisualizer/Coordinator/src/main/java/com/sun/hotspot/igv/coordinator/OutlineTopComponent.java ! src/utils/IdealGraphVisualizer/Data/src/main/java/com/sun/hotspot/igv/data/InputGraph.java ! src/utils/IdealGraphVisualizer/Difference/src/main/java/com/sun/hotspot/igv/difference/Difference.java ! src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/DiagramViewModel.java Changeset: 89458e36 Author: Bhavana Kilambi Committer: Nick Gasson Date: 2022-07-20 15:36:39 +0000 URL: https://git.openjdk.org/loom/commit/89458e36afa8f09020d2afba1cbafdd8e32a6083 8288107: Auto-vectorization for integer min/max Reviewed-by: kvn, ngasson ! src/hotspot/share/opto/library_call.cpp ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java + test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java + test/micro/org/openjdk/bench/vm/compiler/VectorIntMinMax.java Changeset: eeb345a2 Author: Thomas Schatzl Date: 2022-07-20 16:16:57 +0000 URL: https://git.openjdk.org/loom/commit/eeb345a286115213f8a75dfe54cdcc39dfca597a 8290533: Remove G1ConcurrentMark::mark_in_bitmap(uint, HeapRegion*,oop) Reviewed-by: sangheki, kbarrett ! src/hotspot/share/gc/g1/g1ConcurrentMark.hpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp Changeset: b1817a30 Author: Leonid Mesnik Date: 2022-07-20 19:19:57 +0000 URL: https://git.openjdk.org/loom/commit/b1817a30a00d74f70b247c783047bfbb49515dda 8290468: Remove gc/gctests/mallocWithGC tests Reviewed-by: kbarrett, tschatzl ! test/hotspot/jtreg/TEST.groups - test/hotspot/jtreg/vmTestbase/gc/gctests/mallocWithGC1/libmallocWithGC1.cpp - test/hotspot/jtreg/vmTestbase/gc/gctests/mallocWithGC1/mallocWithGC1.java - test/hotspot/jtreg/vmTestbase/gc/gctests/mallocWithGC2/libmallocWithGC2.cpp - test/hotspot/jtreg/vmTestbase/gc/gctests/mallocWithGC2/mallocWithGC2.java - test/hotspot/jtreg/vmTestbase/gc/gctests/mallocWithGC3/libmallocWithGC3.cpp - test/hotspot/jtreg/vmTestbase/gc/gctests/mallocWithGC3/mallocWithGC3.java Changeset: ddb106be Author: Valerie Peng Committer: Henry Jen Date: 2021-09-15 16:39:59 +0000 URL: https://git.openjdk.org/loom/commit/ddb106be7a0e050d790ced906d53110dbc5cc60c 8272243: Improve DER parsing Reviewed-by: weijun, rhalade ! src/java.base/share/classes/sun/security/util/BitArray.java ! src/java.base/share/classes/sun/security/util/DerValue.java ! test/jdk/sun/security/util/DerInputBuffer/PaddedBitString.java Changeset: 243c76f5 Author: Aleksei Efimov Committer: Henry Jen Date: 2022-02-08 12:16:02 +0000 URL: https://git.openjdk.org/loom/commit/243c76f59ff5c73386465a159488ee2d2ad43ab2 8277608: Address IP Addressing Reviewed-by: dfuchs, rhalade, michaelm ! src/java.base/share/classes/java/net/HostPortrange.java ! src/java.base/share/classes/java/net/InetAddress.java ! src/java.base/share/classes/java/net/SocketPermission.java ! src/java.base/share/classes/sun/net/util/IPAddressUtil.java Changeset: 67dd3f73 Author: Joe Wang Committer: Henry Jen Date: 2022-03-08 18:33:47 +0000 URL: https://git.openjdk.org/loom/commit/67dd3f734308898aca9b85d1f72d34e94a660a43 8272249: Better properties of loaded Properties Reviewed-by: naoto, lancea, rhalade, mschoene ! src/java.base/share/classes/jdk/internal/util/xml/impl/Parser.java Changeset: ac93ab0e Author: Tobias Hartmann Committer: Henry Jen Date: 2022-03-18 10:08:18 +0000 URL: https://git.openjdk.org/loom/commit/ac93ab0e0a12ad1768b0d64f493fa1553f9d3413 8281859: Improve class compilation Co-authored-by: Vladimir Ivanov Reviewed-by: chagedorn ! src/hotspot/share/ci/ciEnv.cpp Changeset: 78c514d0 Author: Tobias Hartmann Committer: Henry Jen Date: 2022-03-23 11:55:03 +0000 URL: https://git.openjdk.org/loom/commit/78c514d0856319611e6bea58b2b29675cbf8e996 8281866: Enhance MethodHandle invocations Co-authored-by: Vladimir Ivanov Reviewed-by: chagedorn ! src/hotspot/share/interpreter/linkResolver.cpp Changeset: 879ea780 Author: Alexander Zuev Committer: Henry Jen Date: 2022-03-29 19:42:16 +0000 URL: https://git.openjdk.org/loom/commit/879ea78037a1e7b6eb1dd03a4cc12c4b35bb9424 8283190: Improve MIDI processing Reviewed-by: prr, rhalade, psadhukhan, mschoene ! src/java.desktop/share/classes/com/sun/media/sound/StandardMidiFileReader.java Changeset: 83339500 Author: Lance Andersen Committer: Henry Jen Date: 2022-04-15 15:54:20 +0000 URL: https://git.openjdk.org/loom/commit/83339500ba49441192bc1f8b211371f7fdba7b16 8284370: Improve zlib usage Reviewed-by: alanb, mschoene, rhalade ! src/java.base/share/native/libzip/zlib/deflate.c ! src/java.base/share/native/libzip/zlib/deflate.h ! src/java.base/share/native/libzip/zlib/trees.c Changeset: d0a2f13d Author: Weijun Wang Committer: Henry Jen Date: 2022-04-20 14:01:39 +0000 URL: https://git.openjdk.org/loom/commit/d0a2f13deac4c49e115574de24acfd65f814835f 8282676: Improve subject handling Reviewed-by: ahgross, mullan, rhalade ! src/java.base/share/classes/javax/security/auth/Subject.java ! test/jdk/javax/security/auth/Subject/CurrentSubject.java ! test/jdk/javax/security/auth/Subject/Exceptions.java Changeset: 5d1c4487 Author: Joe Wang Committer: Henry Jen Date: 2022-05-13 02:02:26 +0000 URL: https://git.openjdk.org/loom/commit/5d1c44871a9f7aa5d60e5c740591ce2e0fd87008 8285407: Improve Xalan supports Reviewed-by: naoto, lancea, ahgross, rhalade ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantPool.java ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ConstantPoolGen.java Changeset: f1001a06 Author: Joe Wang Committer: Henry Jen Date: 2022-06-18 05:17:41 +0000 URL: https://git.openjdk.org/loom/commit/f1001a06b3485d13f14bb85eeeb38f7c1b4910f1 8287916: Address the inconsistency between the constant array and pool size Reviewed-by: naoto, lancea, rhalade, ahgross ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantPool.java ! src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ConstantPoolGen.java Changeset: 618f3a82 Author: David Holmes Date: 2022-07-20 04:40:09 +0000 URL: https://git.openjdk.org/loom/commit/618f3a82a4d45cdb66b86259ae60dd1c322b987b 8278274: Update nroff pages in JDK 19 before RC Reviewed-by: jjg ! src/java.base/share/man/java.1 ! src/java.base/share/man/keytool.1 ! src/java.rmi/share/man/rmiregistry.1 ! src/java.scripting/share/man/jrunscript.1 ! src/jdk.compiler/share/man/javac.1 ! src/jdk.compiler/share/man/serialver.1 ! src/jdk.hotspot.agent/share/man/jhsdb.1 ! src/jdk.httpserver/share/man/jwebserver.1 ! src/jdk.jartool/share/man/jar.1 ! src/jdk.jartool/share/man/jarsigner.1 ! src/jdk.javadoc/share/man/javadoc.1 ! src/jdk.jcmd/share/man/jcmd.1 ! src/jdk.jcmd/share/man/jinfo.1 ! src/jdk.jcmd/share/man/jmap.1 ! src/jdk.jcmd/share/man/jps.1 ! src/jdk.jcmd/share/man/jstack.1 ! src/jdk.jcmd/share/man/jstat.1 ! src/jdk.jconsole/share/man/jconsole.1 ! src/jdk.jdeps/share/man/javap.1 ! src/jdk.jdeps/share/man/jdeprscan.1 ! src/jdk.jdeps/share/man/jdeps.1 ! src/jdk.jdi/share/man/jdb.1 ! src/jdk.jfr/share/man/jfr.1 ! src/jdk.jlink/share/man/jlink.1 ! src/jdk.jlink/share/man/jmod.1 ! src/jdk.jpackage/share/man/jpackage.1 ! src/jdk.jshell/share/man/jshell.1 ! src/jdk.jstatd/share/man/jstatd.1 Changeset: 17e65bbd Author: David Holmes Date: 2022-07-20 13:09:31 +0000 URL: https://git.openjdk.org/loom/commit/17e65bbd23789d42255ba79e01cc6a5dc7e591c9 8290625: Test jdk/javadoc/tool/CheckManPageOptions.java after manpage update Reviewed-by: hannesw ! test/langtools/jdk/javadoc/tool/CheckManPageOptions.java Changeset: 9c19d89c Author: Daniel D. Daugherty Date: 2022-07-20 22:56:17 +0000 URL: https://git.openjdk.org/loom/commit/9c19d89c9c564e436732c5f7851f4960fb5d783c Merge Changeset: e8975be9 Author: Vladimir Kozlov Date: 2022-07-21 00:46:11 +0000 URL: https://git.openjdk.org/loom/commit/e8975be94bfef8fa787eb60ad1eac4cb1d4b9076 8290746: ProblemList compiler/vectorization/TestAutoVecIntMinMax.java Reviewed-by: dholmes ! test/hotspot/jtreg/ProblemList.txt Changeset: 2c73a1f3 Author: Ioi Lam Date: 2022-07-21 05:12:10 +0000 URL: https://git.openjdk.org/loom/commit/2c73a1f39dc635d10edbb312a8f9a9852f95a7d0 8290324: Move atomic operations outside of os_xxx.hpp Reviewed-by: dholmes, kbarrett ! src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp ! src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.hpp ! src/hotspot/os_cpu/bsd_zero/atomic_bsd_zero.hpp ! src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp ! src/hotspot/os_cpu/bsd_zero/os_bsd_zero.hpp ! src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp ! src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.hpp ! src/hotspot/os_cpu/linux_arm/atomic_linux_arm.hpp ! src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp ! src/hotspot/os_cpu/linux_arm/os_linux_arm.hpp ! src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp ! src/hotspot/os_cpu/linux_riscv/os_linux_riscv.hpp ! src/hotspot/os_cpu/linux_zero/atomic_linux_zero.hpp ! src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp ! src/hotspot/os_cpu/linux_zero/os_linux_zero.hpp Changeset: db1e44c2 Author: Ryan Ernst Committer: Chris Hegarty Date: 2022-07-21 06:16:03 +0000 URL: https://git.openjdk.org/loom/commit/db1e44c2ddd5b5f0db07dfc55f34fb03132f7726 8290353: ModuleReader::list specification should suggest closing the returned stream Reviewed-by: chegar, mchung, mr, jpai ! src/java.base/share/classes/java/lang/module/ModuleReader.java Changeset: 53fc495e Author: Ryan Ernst Committer: Chris Hegarty Date: 2022-07-21 06:19:00 +0000 URL: https://git.openjdk.org/loom/commit/53fc495e3aca7d89af697639d727051fb9adf9c7 8290316: Ensure that all directory streams are closed in java.base Reviewed-by: chegar ! src/java.base/share/classes/java/time/chrono/HijrahChronology.java ! src/java.base/share/classes/jdk/internal/jrtfs/ExplodedImage.java ! src/java.base/share/classes/jdk/internal/module/ModuleHashes.java ! src/java.base/share/classes/jdk/internal/module/ModulePatcher.java ! src/java.base/share/classes/jdk/internal/module/ModulePath.java Changeset: 3582fd9e Author: Ryan Ernst Committer: Chris Hegarty Date: 2022-07-21 06:19:55 +0000 URL: https://git.openjdk.org/loom/commit/3582fd9e93d9733c6fdf1f3848e0a093d44f6865 8290359: Ensure that all directory streams are closed in jdk.link Reviewed-by: chegar ! src/jdk.jlink/share/classes/jdk/tools/jlink/builder/DefaultImageBuilder.java ! src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java ! src/jdk.jlink/share/classes/jdk/tools/jmod/JmodTask.java Changeset: 52cc6cd0 Author: Andrey Turbanov Date: 2022-07-21 10:22:58 +0000 URL: https://git.openjdk.org/loom/commit/52cc6cd063c167229f8883ba5a81be306c38a73c 8288723: Avoid redundant ConcurrentHashMap.get call in java.time Reviewed-by: attila, rriggs ! src/java.base/share/classes/java/time/ZoneOffset.java ! src/java.base/share/classes/java/time/format/DateTimeTextProvider.java ! src/java.base/share/classes/java/time/format/DecimalStyle.java ! src/java.base/share/classes/java/time/temporal/WeekFields.java Changeset: 799a2c84 Author: Michael McMahon Date: 2022-07-21 11:03:48 +0000 URL: https://git.openjdk.org/loom/commit/799a2c844d904b675abd324ab09cbda7faf70b0f 8276561: URL$DefaultFactory::PREFIX should be static final Reviewed-by: djelinski, jpai ! src/java.base/share/classes/java/net/URL.java Changeset: 59e495e4 Author: Aleksey Shipilev Date: 2022-07-21 13:23:10 +0000 URL: https://git.openjdk.org/loom/commit/59e495e4d320b79d1b0ddff3f552f69a01d8dc8d 8290704: x86: TemplateTable::_new should not call eden_allocate() without contiguous allocs enabled Reviewed-by: kvn, thartmann, coleenp ! src/hotspot/cpu/x86/templateTable_x86.cpp Changeset: 604a115a Author: Tobias Holenstein Date: 2022-07-21 14:54:27 +0000 URL: https://git.openjdk.org/loom/commit/604a115a5b8a4c8917a496f3bddb67f9f6468b99 8290016: IGV: Fix graph panning when mouse dragged outside of window Reviewed-by: kvn, thartmann ! src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/DiagramScene.java ! src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/actions/CustomizablePanAction.java Changeset: 6346c333 Author: Daniel D. Daugherty Date: 2022-07-21 15:43:00 +0000 URL: https://git.openjdk.org/loom/commit/6346c3338c23255a43b179cbd618990c31c2eabc 8290826: validate-source failures after JDK-8290016 Reviewed-by: azvegint ! src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/actions/CustomizablePanAction.java Changeset: 4c1cd66d Author: Jonathan Gibbons Date: 2022-07-21 16:26:52 +0000 URL: https://git.openjdk.org/loom/commit/4c1cd66d225d621f777b6fff53692cf9bf915b4a 8288368: simplify code in ValueTaglet, remove redundant code Reviewed-by: prappo ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/ValueTaglet.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Utils.java Changeset: 15f4b304 Author: Eric Caspole Date: 2022-07-21 17:49:22 +0000 URL: https://git.openjdk.org/loom/commit/15f4b30459d936f721fc984c20cf3ada7b7f5d4a 8290115: ArrayCopyObject JMH has wrong package Reviewed-by: rriggs ! test/micro/org/openjdk/bench/java/lang/ArrayCopyObject.java Changeset: 80bd8c35 Author: Ryan Ernst Committer: Chris Hegarty Date: 2022-07-21 18:01:25 +0000 URL: https://git.openjdk.org/loom/commit/80bd8c35494c85491963d590e7b78ea499fb691d 8290504: Close streams returned by ModuleReader::list Reviewed-by: mchung, chegar ! test/jdk/java/lang/ClassLoader/getResource/automaticmodules/Main.java ! test/jdk/java/lang/invoke/callerSensitive/CallerSensitiveAccess.java ! test/jdk/java/lang/module/ModuleReader/ModuleReaderTest.java ! test/jdk/java/lang/module/customfs/ModulesInCustomFileSystem.java Changeset: 7ec0132a Author: Alex Menkov Date: 2022-07-21 18:14:40 +0000 URL: https://git.openjdk.org/loom/commit/7ec0132ad3129b805664c85351fe6d55041066fa 8286844: com/sun/jdi/RedefineCrossEvent.java failed with 1 threads completed while VM suspended Reviewed-by: sspitsyn, cjplummer ! test/jdk/com/sun/jdi/DebuggerThreadTest.java Changeset: 620c8a04 Author: Roger Riggs Date: 2022-07-21 18:57:23 +0000 URL: https://git.openjdk.org/loom/commit/620c8a045f92126c2552347b9f369405ab2d6d36 8289643: File descriptor leak with ProcessBuilder.startPipeline Reviewed-by: alanb, jpai, lancea ! src/java.base/share/classes/java/lang/ProcessBuilder.java + test/jdk/java/lang/ProcessBuilder/PipelineLeaksFD.java Changeset: 0dda3c14 Author: Julian Waters Committer: Valerie Peng Date: 2022-07-21 19:11:40 +0000 URL: https://git.openjdk.org/loom/commit/0dda3c14ebe040158dcc5a87d349d5286c48b573 8289275: Remove incorrect __declspec(dllimport) attributes from pointers in jdk.crypto.cryptoki Reviewed-by: valeriep ! src/jdk.crypto.cryptoki/windows/native/libj2pkcs11/j2secmod_md.h ! src/jdk.crypto.cryptoki/windows/native/libj2pkcs11/p11_md.h Changeset: 66f59c2c Author: Ioi Lam Date: 2022-07-21 21:32:30 +0000 URL: https://git.openjdk.org/loom/commit/66f59c2c16af93484864236a5548323d3e20b012 8290731: Clean up CDS handling of LambdaForm Species classes Reviewed-by: ccheung ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/lambdaFormInvokers.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/oops/klass.hpp ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/CDSLambdaInvoker.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestLambdaInvokers.java Changeset: 59d85bad Author: Chris Plummer Date: 2022-07-21 21:34:26 +0000 URL: https://git.openjdk.org/loom/commit/59d85bad348f7787533ff38942dab2811c4eb623 8290687: serviceability/sa/TestClassDump.java could leave files owned by root on macOS Reviewed-by: amenkov, lmesnik ! test/hotspot/jtreg/serviceability/sa/TestClassDump.java Changeset: e9f97b2e Author: David Holmes Date: 2022-07-22 04:40:15 +0000 URL: https://git.openjdk.org/loom/commit/e9f97b2e8cf301ba6b69101e5efc5c71d26bc87b 8290489: Initial nroff manpage generation for JDK 20 Reviewed-by: dcubed ! src/java.base/share/man/java.1 ! src/java.base/share/man/keytool.1 ! src/java.rmi/share/man/rmiregistry.1 ! src/java.scripting/share/man/jrunscript.1 ! src/jdk.compiler/share/man/javac.1 ! src/jdk.compiler/share/man/serialver.1 ! src/jdk.hotspot.agent/share/man/jhsdb.1 ! src/jdk.httpserver/share/man/jwebserver.1 ! src/jdk.jartool/share/man/jar.1 ! src/jdk.jartool/share/man/jarsigner.1 ! src/jdk.javadoc/share/man/javadoc.1 ! src/jdk.jcmd/share/man/jcmd.1 ! src/jdk.jcmd/share/man/jinfo.1 ! src/jdk.jcmd/share/man/jmap.1 ! src/jdk.jcmd/share/man/jps.1 ! src/jdk.jcmd/share/man/jstack.1 ! src/jdk.jcmd/share/man/jstat.1 ! src/jdk.jconsole/share/man/jconsole.1 ! src/jdk.jdeps/share/man/javap.1 ! src/jdk.jdeps/share/man/jdeprscan.1 ! src/jdk.jdeps/share/man/jdeps.1 ! src/jdk.jdi/share/man/jdb.1 ! src/jdk.jfr/share/man/jfr.1 ! src/jdk.jlink/share/man/jlink.1 ! src/jdk.jlink/share/man/jmod.1 ! src/jdk.jpackage/share/man/jpackage.1 ! src/jdk.jshell/share/man/jshell.1 ! src/jdk.jstatd/share/man/jstatd.1 Changeset: 7841e5cc Author: Aleksey Shipilev Date: 2022-07-22 11:12:49 +0000 URL: https://git.openjdk.org/loom/commit/7841e5cc387ba595f73f40b3a0d00d7e36df15ea 8290464: Optimize ResourceArea zapping on ResourceMark release Reviewed-by: stuefe, zgu, coleenp ! src/hotspot/share/memory/resourceArea.hpp Changeset: 75c1e999 Author: Sergey Tsypanov Committer: Jaikiran Pai Date: 2022-07-22 11:50:28 +0000 URL: https://git.openjdk.org/loom/commit/75c1e99968da1ee2f33a8c3a70070832fb403104 8289572: InputStream wrapping with BufferedInputStream is redundant in HttpTimestamper Reviewed-by: jpai, mullan ! src/java.base/share/classes/sun/security/timestamp/HttpTimestamper.java Changeset: 54854d93 Author: Zhengyu Gu Date: 2022-07-22 12:27:04 +0000 URL: https://git.openjdk.org/loom/commit/54854d9300479c22c416fd9d2fdb5c29fc1884bc 8256811: Delayed/missed jdwp class unloading events Co-authored-by: Chris Plummer Reviewed-by: cjplummer, coleenp, sspitsyn ! src/hotspot/share/prims/jvmtiExport.cpp ! src/hotspot/share/prims/jvmtiExport.hpp ! src/hotspot/share/prims/jvmtiTagMap.cpp ! src/hotspot/share/prims/jvmtiTagMap.hpp ! src/hotspot/share/prims/jvmtiTagMapTable.cpp ! src/hotspot/share/prims/jvmtiTagMapTable.hpp ! src/jdk.jdwp.agent/share/native/libjdwp/classTrack.c ! src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c ! src/jdk.jdwp.agent/share/native/libjdwp/eventHandler.c ! src/jdk.jdwp.agent/share/native/libjdwp/eventHandler.h ! test/hotspot/jtreg/ProblemList.txt + test/jdk/com/sun/jdi/ClassUnloadEventTest.java Changeset: b28f9dab Author: Erik ?sterlund Date: 2022-07-22 14:42:42 +0000 URL: https://git.openjdk.org/loom/commit/b28f9dab80bf5d4de89942585c1ed7bb121d9cbd 8290688: Optimize x86_64 nmethod entry barriers Reviewed-by: kvn, rrich ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp ! src/hotspot/cpu/arm/c2_MacroAssembler_arm.hpp ! src/hotspot/cpu/ppc/c2_MacroAssembler_ppc.hpp ! src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.hpp ! src/hotspot/cpu/s390/c2_MacroAssembler_s390.hpp ! src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.hpp ! src/hotspot/cpu/x86/gc/shared/barrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/gc/shared/barrierSetAssembler_x86.hpp ! src/hotspot/cpu/x86/gc/shared/barrierSetNMethod_x86.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/share/opto/c2_MacroAssembler.hpp ! src/hotspot/share/opto/output.cpp ! src/hotspot/share/opto/output.hpp Changeset: 62f22633 Author: Andrey Turbanov Date: 2022-07-22 15:55:58 +0000 URL: https://git.openjdk.org/loom/commit/62f22633d1025809f88b41ae3a6891f23215be09 8290861: Remove unused field URLJarFile.BUF_SIZE Reviewed-by: jpai, djelinski, aefimov ! src/java.base/share/classes/sun/net/www/protocol/jar/URLJarFile.java Changeset: ef8486a1 Author: SWinxy Committer: Phil Race Date: 2022-07-22 18:36:58 +0000 URL: https://git.openjdk.org/loom/commit/ef8486a1a40c8b65d3db6048c3dc79802073148d 8286270: [java.desktop] Replace color search in XColors with a switch statement Reviewed-by: prr, azvegint ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/XColors.java Changeset: 2660a926 Author: Roger Riggs Date: 2022-07-22 20:11:25 +0000 URL: https://git.openjdk.org/loom/commit/2660a9268b36afc24787273eb22a12c1bc1b9dca 8290893: ProblemList java/lang/ClassLoader/loadLibraryUnload/LoadLibraryUnload Reviewed-by: dcubed ! test/jdk/ProblemList-Xcomp.txt Changeset: 987656d6 Author: Shruthi Committer: Joe Wang Date: 2022-07-22 22:10:43 +0000 URL: https://git.openjdk.org/loom/commit/987656d69065b5b61d658cec3704a181a4aef18b 8289471: Issue in Initialization of keys in ErrorMsg.java and XPATHErrorResources.java Reviewed-by: joehw ! src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMsg.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources.java Changeset: 0599a05f Author: Man Cao Date: 2022-07-23 02:54:07 +0000 URL: https://git.openjdk.org/loom/commit/0599a05f8c7e26d4acae0b2cc805a65bdd6c6f67 8290900: Build failure with Clang 14+ due to function warning attribute Reviewed-by: kbarrett ! src/hotspot/share/utilities/compilerWarnings_gcc.hpp Changeset: 852e71d9 Author: Thomas Stuefe Date: 2022-07-25 05:18:34 +0000 URL: https://git.openjdk.org/loom/commit/852e71d9f06bcf20874ed95a0d7c2b4267d4f59c 8290870: NMT: Increase MallocSiteTable size and allocate it only when needed Reviewed-by: zgu, dholmes ! src/hotspot/share/services/mallocSiteTable.cpp ! src/hotspot/share/services/mallocSiteTable.hpp Changeset: 228e8e94 Author: Erik ?sterlund Date: 2022-07-25 07:08:46 +0000 URL: https://git.openjdk.org/loom/commit/228e8e94fe048e56d5513b150060c9b54f15642c 8290700: Optimize AArch64 nmethod entry barriers Reviewed-by: kvn, dlong ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/aarch64/c1_MacroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/gc/shared/barrierSetAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/shared/barrierSetAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/gc/shared/barrierSetNMethod_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/shenandoah/shenandoahBarrierSetAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/gc/z/zBarrierSetAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp ! src/hotspot/share/code/relocInfo.hpp ! src/hotspot/share/opto/output.hpp Changeset: 80dc6ceb Author: Bhavana Kilambi Committer: Tobias Hartmann Date: 2022-07-25 09:08:23 +0000 URL: https://git.openjdk.org/loom/commit/80dc6cebc90f7ed5c4a262e2dcd3bd54ce71eab1 8290730: compiler/vectorization/TestAutoVecIntMinMax.java failed with "IRViolationException: There were one or multiple IR rule failures." Reviewed-by: jiefu, kvn, thartmann ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java Changeset: d0c365a7 Author: Prasanta Sadhukhan Date: 2022-07-25 10:32:11 +0000 URL: https://git.openjdk.org/loom/commit/d0c365a7b91de2fdfacdb0e107174549b7a9860e 8170794: [macosx] Error when using setDesktopManager on a JDesktopPane on MacOS X with Look and Feel Aqua Reviewed-by: prr ! src/java.desktop/share/classes/javax/swing/RepaintManager.java + test/jdk/javax/swing/JDesktopPane/TestDesktopManagerNPE.java Changeset: 350808a5 Author: Axel Boldt-Christmas Committer: Thomas Schatzl Date: 2022-07-25 11:03:48 +0000 URL: https://git.openjdk.org/loom/commit/350808a5a3cbaa097c3360bfca9af6d90f1b223b 8290459: Remove unused GCCause enums Reviewed-by: tschatzl, kbarrett ! src/hotspot/share/gc/shared/gcCause.cpp ! src/hotspot/share/gc/shared/gcCause.hpp Changeset: b17269ad Author: Kim Barrett Date: 2022-07-25 12:26:04 +0000 URL: https://git.openjdk.org/loom/commit/b17269ad522f05717b84356c885de24c5368447e 8290959: Consistently use "grey" instead of "gray" in GC code Reviewed-by: tschatzl ! src/hotspot/share/gc/g1/g1ConcurrentMark.cpp Changeset: 1e270ea4 Author: Andrew Haley Date: 2022-07-25 12:40:21 +0000 URL: https://git.openjdk.org/loom/commit/1e270ea4f5e8f9539e85430b9be5cf21a89b4d8f 8290780: AArch64: Crash in c2 nmethod running RunThese30M.java Reviewed-by: dlong ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp Changeset: 0ca74f53 Author: Andrey Turbanov Date: 2022-07-25 14:10:26 +0000 URL: https://git.openjdk.org/loom/commit/0ca74f538e1a8a351cc0631c5fe397a74653ce6f 8289659: Refactor I/O stream copying to use InputStream.readAllBytes in X509CertPath Reviewed-by: attila, weijun ! src/java.base/share/classes/sun/security/provider/certpath/X509CertPath.java Changeset: 7c3cfd13 Author: Alexey Semenyuk Date: 2022-07-25 21:51:26 +0000 URL: https://git.openjdk.org/loom/commit/7c3cfd13e3d67c185d15abb1c935853c856e8a42 8290557: tools/jpackage/share/AddLauncherTest.java#id1 failed with "ERROR: Failed: Check icon file" Reviewed-by: almatvee ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/LauncherIconVerifier.java Changeset: 0ca5cb13 Author: Julian Waters Committer: Dean Long Date: 2022-07-25 22:46:19 +0000 URL: https://git.openjdk.org/loom/commit/0ca5cb13a38105a4334ac3508a9c7155fc00cac3 8290834: Improve potentially confusing documentation on collection of profiling information Reviewed-by: thartmann, kvn, dlong ! src/hotspot/share/c1/c1_globals.hpp ! src/hotspot/share/compiler/compilationPolicy.hpp ! src/hotspot/share/oops/methodData.hpp Changeset: a6faf5d3 Author: Xiaohong Gong Date: 2022-07-26 02:56:26 +0000 URL: https://git.openjdk.org/loom/commit/a6faf5d33a09ca53e5d1c60a5ed82f2368a6e1b3 8290485: [vector] REVERSE_BYTES for byte type should not emit any instructions Reviewed-by: thartmann, kvn ! 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/vectorapi/VectorReverseBytesTest.java Changeset: 28bbdc5e Author: Roger Riggs Date: 2022-07-26 11:53:50 +0000 URL: https://git.openjdk.org/loom/commit/28bbdc5ebb8e3f08b47d3c6e7e4e1f41b0408bee 8290972: ProblemList java/lang/ProcessBuilder/PipelineLeaksFD.java Reviewed-by: iris, jpai ! test/jdk/ProblemList-Xcomp.txt Changeset: 330adc03 Author: Evgeny Astigeevich Committer: Volker Simonis Date: 2022-07-26 12:10:56 +0000 URL: https://git.openjdk.org/loom/commit/330adc03a9314b188d05b3f8d06f97826b7a3847 8290969: DumpClassListCLDClosure incorrectly uses ResizeableResourceHashtable Reviewed-by: iklam, ccheung ! src/hotspot/share/cds/metaspaceShared.cpp Changeset: da9cc5c9 Author: Thomas Schatzl Date: 2022-07-26 13:29:05 +0000 URL: https://git.openjdk.org/loom/commit/da9cc5c9f48280786af7939f50c38eb7054e70c9 8290806: Only add eager reclaim task to G1 post evacuate tasks if there were candidates Reviewed-by: kbarrett, sangheki ! src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp Changeset: 89390955 Author: Pengfei Li Date: 2022-07-26 13:45:38 +0000 URL: https://git.openjdk.org/loom/commit/893909558b0439e7727208eeb582416ffc4d9b37 8289996: Fix array range check hoisting for some scaled loop iv Co-authored-by: John R Rose Reviewed-by: roland, kvn, thartmann ! src/hotspot/share/opto/mulnode.cpp ! src/hotspot/share/utilities/powerOfTwo.hpp + test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckHoistingScaledIV.java + test/micro/org/openjdk/bench/vm/compiler/RangeCheckHoisting.java Changeset: 2ae8e311 Author: longxu0509 Committer: John Jiang Date: 2022-07-26 15:04:49 +0000 URL: https://git.openjdk.org/loom/commit/2ae8e3118385bdf93c50bca550334734b69bc2b6 8290669: Fix wording in sun.security.ec Reviewed-by: mullan ! src/jdk.crypto.ec/share/classes/sun/security/ec/ECOperations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/XECOperations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/EdDSAKeyPairGenerator.java Changeset: 7318b222 Author: Joe Darcy Date: 2022-07-26 16:54:32 +0000 URL: https://git.openjdk.org/loom/commit/7318b22209a83c593176ec600647a9b050362932 8289551: Conversions between bit representations of half precision values and floats Reviewed-by: psandoz, jrose ! src/java.base/share/classes/java/lang/Float.java + test/jdk/java/lang/Float/Binary16Conversion.java + test/jdk/java/lang/Float/Binary16ConversionNaN.java Changeset: 8159a1ab Author: Aleksey Shipilev Date: 2022-07-26 17:19:10 +0000 URL: https://git.openjdk.org/loom/commit/8159a1ab708d7571814bbb1a60893b4a7379a082 8290706: Remove the support for inline contiguous allocations Reviewed-by: eosterlund, aph, rrich, fyang, thartmann ! src/hotspot/cpu/aarch64/c1_MacroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/c1_Runtime1_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/shared/barrierSetAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/shared/barrierSetAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/templateTable_aarch64.cpp ! src/hotspot/cpu/arm/c1_MacroAssembler_arm.cpp ! src/hotspot/cpu/arm/c1_Runtime1_arm.cpp ! src/hotspot/cpu/arm/gc/shared/barrierSetAssembler_arm.cpp ! src/hotspot/cpu/arm/gc/shared/barrierSetAssembler_arm.hpp ! src/hotspot/cpu/arm/macroAssembler_arm.cpp ! src/hotspot/cpu/arm/macroAssembler_arm.hpp ! src/hotspot/cpu/arm/templateTable_arm.cpp ! src/hotspot/cpu/ppc/c1_MacroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.hpp ! src/hotspot/cpu/riscv/c1_MacroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/c1_Runtime1_riscv.cpp ! src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.cpp ! src/hotspot/cpu/riscv/gc/shared/barrierSetAssembler_riscv.hpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/templateTable_riscv.cpp ! src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c1_Runtime1_x86.cpp ! src/hotspot/cpu/x86/gc/shared/barrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/gc/shared/barrierSetAssembler_x86.hpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.hpp ! src/hotspot/cpu/x86/templateTable_x86.cpp ! src/hotspot/os_cpu/linux_arm/javaThread_linux_arm.cpp ! src/hotspot/os_cpu/linux_arm/javaThread_linux_arm.hpp ! src/hotspot/share/gc/parallel/parallelScavengeHeap.hpp ! src/hotspot/share/gc/parallel/psYoungGen.hpp ! src/hotspot/share/gc/serial/defNewGeneration.cpp ! src/hotspot/share/gc/serial/defNewGeneration.hpp ! src/hotspot/share/gc/shared/c2/barrierSetC2.cpp ! src/hotspot/share/gc/shared/collectedHeap.hpp ! src/hotspot/share/gc/shared/genCollectedHeap.cpp ! src/hotspot/share/gc/shared/genCollectedHeap.hpp ! src/hotspot/share/gc/shared/generation.hpp ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp ! src/hotspot/share/opto/macro.cpp ! src/hotspot/share/opto/macro.hpp Changeset: 14516423 Author: Leonid Mesnik Date: 2022-07-26 19:02:47 +0000 URL: https://git.openjdk.org/loom/commit/1451642317dbe9f941172945e9f366000434653f 8244976: vmTestbase/nsk/jdi/Event/request/request001.java doesn' initialize eName Reviewed-by: shade, sspitsyn, cjplummer ! test/hotspot/jtreg/vmTestbase/nsk/jdi/Event/request/request001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventIterator/nextEvent/nextevent001.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/LocatableEvent/thread/thread001.java Changeset: f0f78a91 Author: Eric Caspole Date: 2022-07-26 20:06:35 +0000 URL: https://git.openjdk.org/loom/commit/f0f78a9125b1656f2c5a55599e726117bcf73ee5 8290894: Reduce runtime of vm.lang microbenchmarks Reviewed-by: rriggs ! test/micro/org/openjdk/bench/vm/lang/InstanceOf.java ! test/micro/org/openjdk/bench/vm/lang/LockUnlock.java ! test/micro/org/openjdk/bench/vm/lang/MonitorBench.java ! test/micro/org/openjdk/bench/vm/lang/Throw.java ! test/micro/org/openjdk/bench/vm/lang/ThrowableRuntimeMicros.java Changeset: 4d796ee8 Author: Mark Powers Committer: Sean Mullan Date: 2022-07-26 20:23:55 +0000 URL: https://git.openjdk.org/loom/commit/4d796ee8abd4eabc5d5d3034f236e8f4289ca048 8290887: Unused private method in TrustManagerFactoryImpl Reviewed-by: weijun, xuelei, mullan ! src/java.base/share/classes/sun/security/ssl/TrustManagerFactoryImpl.java Changeset: 2a1d9cfe Author: Thomas Schatzl Date: 2022-07-27 08:01:05 +0000 URL: https://git.openjdk.org/loom/commit/2a1d9cfeada7e98cbb679b1bf88a91b722471517 8289137: Automatically adapt Young/OldPLABSize and when setting only MinTLABSize Reviewed-by: iwalulya, sangheki ! src/hotspot/share/gc/shared/plab.cpp ! src/hotspot/share/gc/shared/plab.hpp ! src/hotspot/share/memory/universe.cpp + test/hotspot/jtreg/gc/TestPLABAdaptToMinTLABSize.java Changeset: 2bd90c21 Author: Eric Liu Committer: Nick Gasson Date: 2022-07-27 09:38:04 +0000 URL: https://git.openjdk.org/loom/commit/2bd90c2149bfee4b045c8f376e8bcdf4420ccb5d 8284990: AArch64: Remove STXR_PREFETCH from CPU features Reviewed-by: aph, ngasson, njian ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp ! src/hotspot/cpu/aarch64/vm_version_aarch64.hpp ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.aarch64/src/jdk/vm/ci/aarch64/AArch64.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot.aarch64/src/jdk/vm/ci/hotspot/aarch64/AArch64HotSpotVMConfig.java Changeset: 61e072d1 Author: Tobias Hartmann Date: 2022-07-27 10:43:52 +0000 URL: https://git.openjdk.org/loom/commit/61e072d11c8e0cb5879bb733ed1fdd2144326bfd 8290705: StringConcat::validate_mem_flow asserts with "unexpected user: StoreI" Reviewed-by: kvn, xliu ! src/hotspot/share/opto/stringopts.cpp + test/hotspot/jtreg/compiler/stringopts/SideEffectBeforeConstructor.jasm + test/hotspot/jtreg/compiler/stringopts/TestSideEffectBeforeConstructor.java Changeset: 8ec31976 Author: Julian Waters Committer: Tobias Hartmann Date: 2022-07-27 11:52:10 +0000 URL: https://git.openjdk.org/loom/commit/8ec319768399ba83a3ac04c2034666216ebc9cba 8291002: Rename Method::build_interpreter_method_data to Method::build_profiling_method_data Reviewed-by: kvn, thartmann ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/ci/ciMethod.cpp ! src/hotspot/share/ci/ciReplay.cpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/method.hpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/deoptimization.cpp Changeset: 48b77a69 Author: Harold Seigel Date: 2022-07-27 12:22:55 +0000 URL: https://git.openjdk.org/loom/commit/48b77a69697adb9967e58a18e1f248afb30e1b26 8285792: Posix signal handler modification checking issues. Reviewed-by: dholmes, erikj ! make/test/JtregNativeHotspot.gmk ! src/hotspot/os/posix/signals_posix.cpp + test/hotspot/jtreg/runtime/posixSig/TestPosixSig.java + test/hotspot/jtreg/runtime/posixSig/libTestPsig.c Changeset: adaf3b90 Author: Zhengyu Gu Date: 2022-07-27 12:25:35 +0000 URL: https://git.openjdk.org/loom/commit/adaf3b9014d7bca95b5cbe34f0cbe04b43c6b49d 8291056: Remove unused Generation::par_promote*() Reviewed-by: kbarrett ! src/hotspot/share/gc/shared/generation.cpp ! src/hotspot/share/gc/shared/generation.hpp Changeset: e804236f Author: Thomas Schatzl Date: 2022-07-27 12:39:28 +0000 URL: https://git.openjdk.org/loom/commit/e804236f05ff8f7bf941dcbc26284474d2cbc67b 8291289: gc/TestPLABAdaptToMinTLABSize fails after JDK-8289137 Reviewed-by: shade ! test/hotspot/jtreg/gc/TestPLABAdaptToMinTLABSize.java Changeset: 2f3e494b Author: Axel Boldt-Christmas Committer: Erik ?sterlund Date: 2022-07-27 12:43:18 +0000 URL: https://git.openjdk.org/loom/commit/2f3e494b80cce8e357ceac9a897c42d7e8f54af5 8290074: Remove implicit arguments for RegisterMap constructor Reviewed-by: eosterlund, tschatzl ! src/hotspot/cpu/aarch64/frame_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/shared/barrierSetNMethod_aarch64.cpp ! src/hotspot/cpu/riscv/gc/shared/barrierSetNMethod_riscv.cpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/jfr/periodic/sampling/jfrCallTrace.cpp ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackTrace.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/oops/instanceStackChunkKlass.cpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/prims/forte.cpp ! src/hotspot/share/prims/jvmtiEnvBase.cpp ! src/hotspot/share/prims/jvmtiEnvThreadState.cpp ! src/hotspot/share/prims/jvmtiImpl.cpp ! src/hotspot/share/prims/jvmtiTagMap.cpp ! src/hotspot/share/prims/jvmtiThreadState.cpp ! src/hotspot/share/prims/scopedMemoryAccess.cpp ! src/hotspot/share/prims/stackwalk.cpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/runtime/continuationEntry.cpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/escapeBarrier.cpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/interfaceSupport.cpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/registerMap.hpp ! src/hotspot/share/runtime/safepoint.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/stackFrameStream.cpp ! src/hotspot/share/runtime/stackWatermark.inline.hpp ! src/hotspot/share/runtime/vframe.cpp ! src/hotspot/share/runtime/vframe.inline.hpp ! src/hotspot/share/runtime/vframeArray.cpp ! src/hotspot/share/services/heapDumper.cpp ! src/hotspot/share/services/threadService.cpp ! src/hotspot/share/utilities/debug.cpp ! src/hotspot/share/utilities/vmError.cpp Changeset: c29242eb Author: Christoph Langer Date: 2022-07-22 11:33:05 +0000 URL: https://git.openjdk.org/loom/commit/c29242ebb0cfd3eaa56240664af607c02a11324e 8290460: Alpine: disable some panama tests that rely on std::thread Backport-of: d7f0de272c85ee8d0890c9d61e10065b618b69d7 ! test/jdk/java/foreign/TestUpcallAsync.java ! test/jdk/java/foreign/enablenativeaccess/TestEnableNativeAccess.java Changeset: 8c9d5ad4 Author: Maurizio Cimadamore Date: 2022-07-25 21:32:44 +0000 URL: https://git.openjdk.org/loom/commit/8c9d5ad4f89e7af18f4ee3b8f236083491d7f6fa 8290455: jck test api/java_lang/foreign/VaList/Empty.html fails on some platforms Reviewed-by: jvernee, mbaesken ! src/java.base/share/classes/jdk/internal/foreign/CABI.java ! src/java.base/share/classes/jdk/internal/foreign/PlatformLayouts.java + test/jdk/java/foreign/TestUnsupportedLinker.java Changeset: 36c00fdd Author: Maurizio Cimadamore Date: 2022-07-27 09:50:58 +0000 URL: https://git.openjdk.org/loom/commit/36c00fdd74692b85e63e57e192f42c14561efd01 8291006: java/foreign/TestUnsupportedPlatform fails after JDK-8290455 Reviewed-by: jvernee - test/jdk/java/foreign/TestUnsupportedPlatform.java Changeset: 92346246 Author: David Holmes Date: 2022-07-27 14:07:11 +0000 URL: https://git.openjdk.org/loom/commit/923462467e52eda359249a4fb61d654f56182603 Merge Changeset: c1040897 Author: Roger Riggs Date: 2022-07-27 14:47:17 +0000 URL: https://git.openjdk.org/loom/commit/c1040897cd6d5bc6e76c971035cc36c9d35b31e6 8290848: LoadLibraryUnload.java still fails with "Too few cleared WeakReferences" Reviewed-by: mchung, jpai ! test/jdk/ProblemList-Xcomp.txt ! test/jdk/java/lang/ClassLoader/loadLibraryUnload/LoadLibraryUnload.java From ron.pressler at oracle.com Mon Aug 1 13:19:38 2022 From: ron.pressler at oracle.com (Ron Pressler) Date: Mon, 1 Aug 2022 13:19:38 +0000 Subject: Motivation to put Continuation, ContinuationScope, and Scope in jdk.internal.vm package In-Reply-To: References: Message-ID: Thank you for bringing it to our attention. I?ve updated that section of the wiki. As this might be of interest to those who want to learn how OpenJDK works and where information is found, I should point out that the wiki belongs to Project Loom ? one of the several OpenJDK R&D projects [1] ? and so doesn?t apply to any JDK releases, which are made by the JDK project. The relevant documents with information about changes to the JDK are the JEPs [2], not other project wikis. Other projects might submit JEPs to the JDK, and Project Loom has so far submitted two (425 and 428). I.e. the changes developed in project Loom that were delivered to the JDK are in those JEPs, and not in Project Loom documents. Conversely, JDK 19 will contain JEPs 425 and 428, not ?Loom?. So those interested in information about a JDK release should refer to the list of JEPs in that release [3], and not to the projects that might have produced them. ? Ron [1]: https://openjdk.org/projects/ [2]: https://openjdk.org/jeps/0 [3]: https://openjdk.org/projects/jdk/19/ > On 31 Jul 2022, at 21:19, Robbe Pincket wrote: > > > The wiki still lists the old information: > > > ## Continuations > > > > ### Design > > > > The primitive continuation construct is that of a scoped (AKA multiple-named-prompt), > > stackful, one-shot (non-reentrant) delimited continuation. The continuation can be cloned, > > and thus used to implement reentrant delimited continuations. The construct is exposed via > > the java.lang.Continuation class. Continuations are intended as a low-level API, that > > application authors are not intended to use directly. They will use higher-level > > constructs built on top of continuations, such as virtual threads or generators. > > Someone should probably fix that before Java 19 releases? > > Regards > Robbe Pincket From cjplummer at openjdk.org Mon Aug 1 20:38:02 2022 From: cjplummer at openjdk.org (Chris Plummer) Date: Mon, 1 Aug 2022 20:38:02 GMT Subject: RFR: ProblemList failing JMX tests that fail with the wrapper. Message-ID: In the jdk repo, the following is being pushed: [JDK-8291578](https://bugs.openjdk.org/browse/JDK-8291578) Remove JMX related tests from ProblemList-svc-vthreads.txt Eventually this will make it's way into loom, which would leave these tests no longer being problem listed. As described in [JDK-8291578](https://bugs.openjdk.org/browse/JDK-8291578), these tests should be problem listed on ProblemList-vthread.txt, and this PR is taking care of that. ------------- Commit messages: - ProblemList failing JMX tests that fail with the wrapper. Changes: https://git.openjdk.org/loom/pull/189/files Webrev: https://webrevs.openjdk.org/?repo=loom&pr=189&range=00 Stats: 23 lines in 1 file changed: 23 ins; 0 del; 0 mod Patch: https://git.openjdk.org/loom/pull/189.diff Fetch: git fetch https://git.openjdk.org/loom pull/189/head:pull/189 PR: https://git.openjdk.org/loom/pull/189 From lmesnik at openjdk.org Mon Aug 1 21:28:21 2022 From: lmesnik at openjdk.org (Leonid Mesnik) Date: Mon, 1 Aug 2022 21:28:21 GMT Subject: RFR: ProblemList failing JMX tests that fail with the wrapper. In-Reply-To: References: Message-ID: On Mon, 1 Aug 2022 20:28:06 GMT, Chris Plummer wrote: > In the jdk repo, the following is being pushed: > > [JDK-8291578](https://bugs.openjdk.org/browse/JDK-8291578) Remove JMX related tests from ProblemList-svc-vthreads.txt > > Eventually this will make it's way into loom, which would leave these tests no longer being problem listed. As described in [JDK-8291578](https://bugs.openjdk.org/browse/JDK-8291578), these tests should be problem listed on ProblemList-vthread.txt, and this PR is taking care of that. Marked as reviewed by lmesnik (Committer). ------------- PR: https://git.openjdk.org/loom/pull/189 From oleksandr.otenko at gmail.com Tue Aug 2 06:43:37 2022 From: oleksandr.otenko at gmail.com (Alex Otenko) Date: Tue, 2 Aug 2022 07:43:37 +0100 Subject: [External] : Re: jstack, profilers and other tools In-Reply-To: <6f321f7c-c9d2-600d-6a6d-540959a9fac1@oracle.com> References: <271F8C58-F096-42B2-9432-E5643A7F133C@oracle.com> <0F187B4E-65FE-4BF0-86DE-661088C65DD8@oracle.com> <1FA73DAE-FD5D-4CC6-9638-C9985C20D286@oracle.com> <838D57E6-8671-4F6C-8792-E95E6D2DAD87@oracle.com> <6f321f7c-c9d2-600d-6a6d-540959a9fac1@oracle.com> Message-ID: Hi Alan, I remember that. I agree with the position you sound here. In this context I was only pointing out that whereas mathematically "direct" style and continuation passing are equally powerful, in practice there are barriers caused by APIs. Alex On Mon, 1 Aug 2022, 06:59 Alan Bateman, wrote: > On 24/07/2022 14:05, Alex Otenko wrote: > > : > > > > Also, I am not clear why you dismissed the allocation problem by just > > saying IO buffering is the same. The allocation problem is that user > > code allocates before read(byte[]) is called. This is the same in both > > sync and async code. The difference is that in async code the lifespan > > of the allocation is shorter - we read only read-ready channels, and > > those that aren't ready return quickly. In sync code the buffer > > remains allocated for a long time - even seconds, if that's what the > > connection reuse pattern is on the client side. > > > I think I've replied to you a few times on topic, but just to say again > that we haven't dismissed adding overloads of read that would take a > supplier or provide other means to lazily get the buffer when there are > bytes available. This project's position on this has always been that we > would see how far we would get first. The reason for caution is that > there are many issues with such APIs (as it's essentially callback at a > very low level) and in addition it would support through many layers and > libraries to get any real benefit. > > -Alan > -------------- next part -------------- An HTML attachment was scrubbed... URL: From oleksandr.otenko at gmail.com Tue Aug 2 07:34:23 2022 From: oleksandr.otenko at gmail.com (Alex Otenko) Date: Tue, 2 Aug 2022 08:34:23 +0100 Subject: [External] : Re: jstack, profilers and other tools In-Reply-To: References: <0375A98B-1430-4E70-AEBF-A802F4F5DE7E@oracle.com> <46BC2612-85AE-4C07-8F53-16D45961EA50@oracle.com> Message-ID: Hi Ron, The "maximum capacity for concurrent requests" statement uses "concurrent" in the sense of Java threads. Little's law counts queued requests as "concurrent", too. Then assuming queue can be arbitrarily large, we can't have a finite max capacity for concurrent requests. Alex On Sun, 31 Jul 2022, 17:38 Ron Pressler, wrote: > A thread-per-request server under an average load 100req/s and an average > request processing duration of 10ms will not destabilise if it can have no > more than 10 threads, where ?destabilise? means that the queue grows > indefinitely. I.e. in a a stable system is defined as one where queues do > not grow indefinitely. > > While it is true that for any queue size there is some shrinking though > non-zero probability that it might be reached, it is absolutely unrelated > to the server being thread-per-request. However it is that you choose to > represent a request, if your maximum capacity for concurrent requests is at > or above L, the system will be stable. > > ? Ron > > On 31 Jul 2022, at 13:27, Alex Otenko wrote: > > Hi Ron, > > I am glad you mentioned this visualisation experiment. That's the sort of > experiment I proposed (and done) what seems like a week ago. You may find > some unintuitive things coming from this experiment, since you called them > untrue. > > > Alex > > On Fri, 29 Jul 2022, 14:53 Ron Pressler, wrote: > >> >> BTW, the easiest way to visualise the temporary discrepancies between the >> averages in Little?s law and instantaneous behaviour is to think of the >> queue forming at the entry to the system. >> >> If the system is unstable (i.e. the equation doesn?t hold), the queue >> will grow without bounds. If it is stable, it can momentarily grow but will >> then shrink as we regress to the mean. So suppose ? = 100 and W = 1/20, and >> therefore the average concurrency 5. If the *maximum* capacity for >> concurrent operations is also 5 (e.g we have a thread-per-request server >> that uses just one thread per request and the maximum number of threads we >> can support is 5), then if the rate of requests momentarily rises above 100 >> then the queue will grow, but will eventually shrink when the rate drops >> below 100 (as it must). >> >> So if our throughput/rate-of-requests is expected to not exceed 100, we >> should be fine supporting just 5 threads. To get a feel that this actually >> works, consider that the world?s most popular thread-per-request servers >> already work in exactly this way. Rather than spawning a brand new thread >> for every request, they borrow one from a pool. The pool is normally fixed >> and set to something like a few hundred threads by default. They work fine >> as long as their throughput doesn?t exceed the maximum expected throughput, >> where the threads in the pool (or perhaps some other resource) is >> exhausted. I.e. they do *not* work by allowing for an unbounded number of >> threads, but a bounded one; they are very much thread-per-request, yet >> their threads are capped. This does place an upper limit on their >> throughput, but they work fine until they reach it. >> >> Of course, if other resources are exhausted before the pool is depleted, >> then (fanout aside) lightweight threads aren?t needed. But because there >> are so many systems where the threads are the resource that?s exhausted >> first, people invented non-thread-per-request (i.e. asynchronous) servers >> as well as lightweight threads. >> >> ? Ron >> >> On 29 Jul 2022, at 00:46, Ron Pressler wrote: >> >> >> >> On 28 Jul 2022, at 21:31, Alex Otenko wrote: >> >> Hi Ron, >> >> The claim in JEP is the same as in this email thread, so that is not much >> help. But now I don't need help anymore, because I found the explaination >> how the thread count, response time, request rate and thread-per-request >> are connected. >> >> Now what makes me bothered about the claims. >> >> Little's law connects throughput to concurrency. We agreed it has no >> connection to thread count. That's a disconnect between the claim about >> threads and Little's law dictating it. >> >> >> Not really, no. In thread-per-request systems, the number of threads is >> equal to (or perhaps greater than) the concurrency because that?s the >> definition of thread-per-request. That?s why we agreed that in >> thread-per-request systems, Little?s law tells us the (average) number of >> threads. >> >> >> There's also the assumption that response time remains constant, but >> that's a mighty assumption - response time changes with thread count. >> >> >> There is absolutely no such assumption. Unless the a rising request rate >> causes the latency to significantly *drop*, the number of threads will >> grow. If the latency happens to rise, the number of threads will grow even >> faster. >> >> >> There's also the claim of needing more threads. That's also not something >> that follows from thread-per-request. Essentially, thread-per-request is a >> constructive proof of having an infinite number of threads. How can one >> want more? Also, from a different angle - the number of threads in the >> thread-per-request needed does not depend on throughput at all. >> >> >> The average number of requests being processed concurrently is equal to >> the rate of requests (i.e. throughput) times the average latency. Again, >> because a thread-per-request system is defined as one that assigns (at >> least) one thread for every request, the number of threads is therefore >> proportional to the throughput (as long as the system is stable). >> >> >> Just consider what the request rate means. It means that if you choose >> however small time frame, and however large request count, there is a >> nonzero probability that it will happen. Consequently the number of threads >> needed is arbitrarily large for any throughput. >> >> >> Little?s theorem is about *long-term average* concurrency, latency and >> throughput, and it is interesting precisely because it holds regardless of >> the distribution of the requests. >> >> Which is just another way to say that the number of threads is >> effectively infinite and there is no point trying to connect it to Little's >> law. >> >> >> I don?t understand what that means. A mathematical theorem about some >> quantity (again the theorem is about concurrency, but we *define* a >> thread-per-request system to be one where the number of threads is equal to >> (or greater than) the concurrency) is true whether you think there?s a >> point to it or not. The (average) number of threads is obviously not >> infinite, but equal to the throughput times latency (assuming just one >> thread per request). >> >> Since Little?s law has been effectively used to size sever systems for >> decades, and so obviously there?s also a very practical point to >> understanding it. >> >> Request rate doesn't change the number of threads that can exist at any >> given time >> >> >> The (average) number of threads in a thread-per-request system rises >> proportionately with the (average) throughput. We?re not talking about the >> number of threads that *can* exist, but the number of threads that *do* >> exist (on average, of course). The number of threads that *can* exist puts >> a bound on the number of threads that *do* exist, and so on maximum >> throughput. >> >> it only changes the probability of observing any particular number of >> them in a fixed period of time. >> >> >> It changes their (average) number. You can start any thread-per-request >> server increase the load and see for yourself (if the server uses a pool, >> you?ll see an increase not in live threads but in non-idle threads, but >> it?s the same thing). >> >> >> All this is only criticism of the formal mathematical claims made here >> and in the JEP. Nothing needs doing, if no one is interested in formal >> claims being perfect. >> >> >> The claims, however, were written with care for precision, while your >> reading of them is not only imprecise and at times incorrect, but may lead >> people to misunderstand how concurrent systems behave. >> >> >> >> Alex >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ron.pressler at oracle.com Tue Aug 2 11:04:09 2022 From: ron.pressler at oracle.com (Ron Pressler) Date: Tue, 2 Aug 2022 11:04:09 +0000 Subject: [External] : Re: jstack, profilers and other tools In-Reply-To: References: <0375A98B-1430-4E70-AEBF-A802F4F5DE7E@oracle.com> <46BC2612-85AE-4C07-8F53-16D45961EA50@oracle.com> Message-ID: I?m afraid that is incorrect and, indeed, quite harmful to understanding how Little?s law has been used to size systems for decades. Little?s law refers to some unit, like ?request? or ?customer?, and also some boundary of a ?store? or ?server? where the request can be either inside or outside. The definition of what?s inside and outside are arbitrary, and the law obviously works for any such definition. W is the latency that the ?request? spends ?inside.? So, for example, suppose the system is a shop and customers are the unit. If a customer spends an average of 6 minutes *inside* the shop (so L = 0.1 hr) and customers arrive at an average rate of 100 per hour (= ?), then L = 100*0.1 = 10 is the average concurrency, namely the number of customers, on average, inside the shop. If the shop has a capacity for fewer than 10 customers, then the system will be ?unstable?, meaning that a queue will form outside that will keep growing indefinitely. If, on the other hand, the shop?s capacity is 10 customers, then the system will be stable. That means that no matter what the distribution of customer arrival is, queues that form outside will not grow without bound. A capacity of 10 is enough. Now, inside the shop there could be clerks, and each of them could be treated as another system serving customers (with a concurrent capacity of 1), and we could then apply the theorem to each of them separately, where ?inside? means being served, and ?outside? is the queue forming to be served by the clerk inside the shop. Wherever you draw your boundaries between inside and outside, and whatever the unit of work is, the law tells us which system or subsystem is stable and which isn?t. And now back to software. If our server is thread-per-request, that means that a request (our unit) consumes a thread for its entire duration of being served by our system, and so ?inside? means from the moment a request gets its thread, and ?outside? means anything prior to that. It could be some queue in the software, it could be some queue in the network stack, memory in the network card, and even a virtual queue of users whose requests might be rejected and keep retrying ? it doesn?t matter. If the capacity of ?inside? the server ? which, in this case means the maximum number of threads because the number of requests ?inside? such a system cannot be any greater than the number of threads (or possibly lower due to other limits) ? is at or above L, then the system will be stable, meaning that all queues, real or virtual, forming anywhere in software hardware or ?in the world?, will not grow without bounds. Indeed, this is how and why most Java servers work today. Most of them are thread-per-request, and most of them use a fixed thread-pool of size X, meaning that no more than X requests can be ?inside? at any one time. But if X is equal to or greater than L, then the server will not become overloaded indefinitely and will manage to serve all requests. It does not mean that no requests will ever be rejected, but it does mean that the server will carry out its work satisfactorily for an indefinite duration. Whether or not a server is thread-per-request, wherever you define the boundary of ?inside?, there can only be some bounded capacity for concurrent requests ?inside?, and some real or virtual queue forming outside. The theorem absolutely does not mean that in order to perform in this manner the network buffers or internal queue must be of unlimited capacity (which they can never be). In fact, even if there are no software/hardware buffers at all and a request is rejected if all threads are busy, we know that the number of people waiting retrying because their requests are rejected will not grow without bound. Implementing buffers in software or hardware mean that some of the queue will be automatically managed by a digital machine, and could improve momentary user-experience, but whatever its size limit is, the number of units waiting ?outside? in all queues ? virtual or digital ? is unaffected by where the queue is, will grow indefinitely if the capacity ?inside? is below L, and will not grow indefinitely if the capacity inside is L or above. That is why servers work, and that is why they work exactly as mathematical theorems tell us they must. ? Ron On 2 Aug 2022, at 08:34, Alex Otenko > wrote: Hi Ron, The "maximum capacity for concurrent requests" statement uses "concurrent" in the sense of Java threads. Little's law counts queued requests as "concurrent", too. Then assuming queue can be arbitrarily large, we can't have a finite max capacity for concurrent requests. Alex On Sun, 31 Jul 2022, 17:38 Ron Pressler, > wrote: A thread-per-request server under an average load 100req/s and an average request processing duration of 10ms will not destabilise if it can have no more than 10 threads, where ?destabilise? means that the queue grows indefinitely. I.e. in a a stable system is defined as one where queues do not grow indefinitely. While it is true that for any queue size there is some shrinking though non-zero probability that it might be reached, it is absolutely unrelated to the server being thread-per-request. However it is that you choose to represent a request, if your maximum capacity for concurrent requests is at or above L, the system will be stable. ? Ron On 31 Jul 2022, at 13:27, Alex Otenko > wrote: Hi Ron, I am glad you mentioned this visualisation experiment. That's the sort of experiment I proposed (and done) what seems like a week ago. You may find some unintuitive things coming from this experiment, since you called them untrue. Alex On Fri, 29 Jul 2022, 14:53 Ron Pressler, > wrote: BTW, the easiest way to visualise the temporary discrepancies between the averages in Little?s law and instantaneous behaviour is to think of the queue forming at the entry to the system. If the system is unstable (i.e. the equation doesn?t hold), the queue will grow without bounds. If it is stable, it can momentarily grow but will then shrink as we regress to the mean. So suppose ? = 100 and W = 1/20, and therefore the average concurrency 5. If the *maximum* capacity for concurrent operations is also 5 (e.g we have a thread-per-request server that uses just one thread per request and the maximum number of threads we can support is 5), then if the rate of requests momentarily rises above 100 then the queue will grow, but will eventually shrink when the rate drops below 100 (as it must). So if our throughput/rate-of-requests is expected to not exceed 100, we should be fine supporting just 5 threads. To get a feel that this actually works, consider that the world?s most popular thread-per-request servers already work in exactly this way. Rather than spawning a brand new thread for every request, they borrow one from a pool. The pool is normally fixed and set to something like a few hundred threads by default. They work fine as long as their throughput doesn?t exceed the maximum expected throughput, where the threads in the pool (or perhaps some other resource) is exhausted. I.e. they do *not* work by allowing for an unbounded number of threads, but a bounded one; they are very much thread-per-request, yet their threads are capped. This does place an upper limit on their throughput, but they work fine until they reach it. Of course, if other resources are exhausted before the pool is depleted, then (fanout aside) lightweight threads aren?t needed. But because there are so many systems where the threads are the resource that?s exhausted first, people invented non-thread-per-request (i.e. asynchronous) servers as well as lightweight threads. ? Ron On 29 Jul 2022, at 00:46, Ron Pressler > wrote: On 28 Jul 2022, at 21:31, Alex Otenko > wrote: Hi Ron, The claim in JEP is the same as in this email thread, so that is not much help. But now I don't need help anymore, because I found the explaination how the thread count, response time, request rate and thread-per-request are connected. Now what makes me bothered about the claims. Little's law connects throughput to concurrency. We agreed it has no connection to thread count. That's a disconnect between the claim about threads and Little's law dictating it. Not really, no. In thread-per-request systems, the number of threads is equal to (or perhaps greater than) the concurrency because that?s the definition of thread-per-request. That?s why we agreed that in thread-per-request systems, Little?s law tells us the (average) number of threads. There's also the assumption that response time remains constant, but that's a mighty assumption - response time changes with thread count. There is absolutely no such assumption. Unless the a rising request rate causes the latency to significantly *drop*, the number of threads will grow. If the latency happens to rise, the number of threads will grow even faster. There's also the claim of needing more threads. That's also not something that follows from thread-per-request. Essentially, thread-per-request is a constructive proof of having an infinite number of threads. How can one want more? Also, from a different angle - the number of threads in the thread-per-request needed does not depend on throughput at all. The average number of requests being processed concurrently is equal to the rate of requests (i.e. throughput) times the average latency. Again, because a thread-per-request system is defined as one that assigns (at least) one thread for every request, the number of threads is therefore proportional to the throughput (as long as the system is stable). Just consider what the request rate means. It means that if you choose however small time frame, and however large request count, there is a nonzero probability that it will happen. Consequently the number of threads needed is arbitrarily large for any throughput. Little?s theorem is about *long-term average* concurrency, latency and throughput, and it is interesting precisely because it holds regardless of the distribution of the requests. Which is just another way to say that the number of threads is effectively infinite and there is no point trying to connect it to Little's law. I don?t understand what that means. A mathematical theorem about some quantity (again the theorem is about concurrency, but we *define* a thread-per-request system to be one where the number of threads is equal to (or greater than) the concurrency) is true whether you think there?s a point to it or not. The (average) number of threads is obviously not infinite, but equal to the throughput times latency (assuming just one thread per request). Since Little?s law has been effectively used to size sever systems for decades, and so obviously there?s also a very practical point to understanding it. Request rate doesn't change the number of threads that can exist at any given time The (average) number of threads in a thread-per-request system rises proportionately with the (average) throughput. We?re not talking about the number of threads that *can* exist, but the number of threads that *do* exist (on average, of course). The number of threads that *can* exist puts a bound on the number of threads that *do* exist, and so on maximum throughput. it only changes the probability of observing any particular number of them in a fixed period of time. It changes their (average) number. You can start any thread-per-request server increase the load and see for yourself (if the server uses a pool, you?ll see an increase not in live threads but in non-idle threads, but it?s the same thing). All this is only criticism of the formal mathematical claims made here and in the JEP. Nothing needs doing, if no one is interested in formal claims being perfect. The claims, however, were written with care for precision, while your reading of them is not only imprecise and at times incorrect, but may lead people to misunderstand how concurrent systems behave. Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From oleksandr.otenko at gmail.com Tue Aug 2 14:47:02 2022 From: oleksandr.otenko at gmail.com (Alex Otenko) Date: Tue, 2 Aug 2022 15:47:02 +0100 Subject: [External] : Re: jstack, profilers and other tools In-Reply-To: References: <0375A98B-1430-4E70-AEBF-A802F4F5DE7E@oracle.com> <46BC2612-85AE-4C07-8F53-16D45961EA50@oracle.com> Message-ID: I don't know what you find incorrect about the statement that queue wait is included in Little's law. 66.6667 requests per second processed by a single thread, spending 10ms on each request. Little's law says that in this case concurrency is 2. Surely it means that the requests in the queue are included in concurrency? Alex On Tue, 2 Aug 2022, 12:04 Ron Pressler, wrote: > I?m afraid that is incorrect and, indeed, quite harmful to understanding > how Little?s law has been used to size systems for decades. > > Little?s law refers to some unit, like ?request? or ?customer?, and also > some boundary of a ?store? or ?server? where the request can be either > inside or outside. The definition of what?s inside and outside are > arbitrary, and the law obviously works for any such definition. W is the > latency that the ?request? spends ?inside.? > > So, for example, suppose the system is a shop and customers are the unit. > If a customer spends an average of 6 minutes *inside* the shop (so L = 0.1 > hr) and customers arrive at an average rate of 100 per hour (= ?), then L = > 100*0.1 = 10 is the average concurrency, namely the number of customers, on > average, inside the shop. > > If the shop has a capacity for fewer than 10 customers, then the system > will be ?unstable?, meaning that a queue will form outside that will keep > growing indefinitely. If, on the other hand, the shop?s capacity is 10 > customers, then the system will be stable. That means that no matter what > the distribution of customer arrival is, queues that form outside will not > grow without bound. A capacity of 10 is enough. > > Now, inside the shop there could be clerks, and each of them could be > treated as another system serving customers (with a concurrent capacity of > 1), and we could then apply the theorem to each of them separately, where > ?inside? means being served, and ?outside? is the queue forming to be > served by the clerk inside the shop. > > Wherever you draw your boundaries between inside and outside, and whatever > the unit of work is, the law tells us which system or subsystem is stable > and which isn?t. > > And now back to software. If our server is thread-per-request, that means > that a request (our unit) consumes a thread for its entire duration of > being served by our system, and so ?inside? means from the moment a request > gets its thread, and ?outside? means anything prior to that. It could be > some queue in the software, it could be some queue in the network stack, > memory in the network card, and even a virtual queue of users whose > requests might be rejected and keep retrying ? it doesn?t matter. If the > capacity of ?inside? the server ? which, in this case means the maximum > number of threads because the number of requests ?inside? such a system > cannot be any greater than the number of threads (or possibly lower due to > other limits) ? is at or above L, then the system will be stable, meaning > that all queues, real or virtual, forming anywhere in software hardware or > ?in the world?, will not grow without bounds. > > Indeed, this is how and why most Java servers work today. Most of them are > thread-per-request, and most of them use a fixed thread-pool of size X, > meaning that no more than X requests can be ?inside? at any one time. But > if X is equal to or greater than L, then the server will not become > overloaded indefinitely and will manage to serve all requests. It does not > mean that no requests will ever be rejected, but it does mean that the > server will carry out its work satisfactorily for an indefinite duration. > > Whether or not a server is thread-per-request, wherever you define the > boundary of ?inside?, there can only be some bounded capacity for > concurrent requests ?inside?, and some real or virtual queue forming > outside. > > The theorem absolutely does not mean that in order to perform in this > manner the network buffers or internal queue must be of unlimited capacity > (which they can never be). In fact, even if there are no software/hardware > buffers at all and a request is rejected if all threads are busy, we know > that the number of people waiting retrying because their requests are > rejected will not grow without bound. Implementing buffers in software or > hardware mean that some of the queue will be automatically managed by a > digital machine, and could improve momentary user-experience, but whatever > its size limit is, the number of units waiting ?outside? in all queues ? > virtual or digital ? is unaffected by where the queue is, will grow > indefinitely if the capacity ?inside? is below L, and will not grow > indefinitely if the capacity inside is L or above. > > That is why servers work, and that is why they work exactly as > mathematical theorems tell us they must. > > ? Ron > > > > > > On 2 Aug 2022, at 08:34, Alex Otenko wrote: > > Hi Ron, > > The "maximum capacity for concurrent requests" statement uses "concurrent" > in the sense of Java threads. Little's law counts queued requests as > "concurrent", too. Then assuming queue can be arbitrarily large, we can't > have a finite max capacity for concurrent requests. > > > Alex > > On Sun, 31 Jul 2022, 17:38 Ron Pressler, wrote: > >> A thread-per-request server under an average load 100req/s and an average >> request processing duration of 10ms will not destabilise if it can have no >> more than 10 threads, where ?destabilise? means that the queue grows >> indefinitely. I.e. in a a stable system is defined as one where queues do >> not grow indefinitely. >> >> While it is true that for any queue size there is some shrinking though >> non-zero probability that it might be reached, it is absolutely unrelated >> to the server being thread-per-request. However it is that you choose to >> represent a request, if your maximum capacity for concurrent requests is at >> or above L, the system will be stable. >> >> ? Ron >> >> On 31 Jul 2022, at 13:27, Alex Otenko wrote: >> >> Hi Ron, >> >> I am glad you mentioned this visualisation experiment. That's the sort of >> experiment I proposed (and done) what seems like a week ago. You may find >> some unintuitive things coming from this experiment, since you called them >> untrue. >> >> >> Alex >> >> On Fri, 29 Jul 2022, 14:53 Ron Pressler, wrote: >> >>> >>> BTW, the easiest way to visualise the temporary discrepancies between >>> the averages in Little?s law and instantaneous behaviour is to think of the >>> queue forming at the entry to the system. >>> >>> If the system is unstable (i.e. the equation doesn?t hold), the queue >>> will grow without bounds. If it is stable, it can momentarily grow but will >>> then shrink as we regress to the mean. So suppose ? = 100 and W = 1/20, and >>> therefore the average concurrency 5. If the *maximum* capacity for >>> concurrent operations is also 5 (e.g we have a thread-per-request server >>> that uses just one thread per request and the maximum number of threads we >>> can support is 5), then if the rate of requests momentarily rises above 100 >>> then the queue will grow, but will eventually shrink when the rate drops >>> below 100 (as it must). >>> >>> So if our throughput/rate-of-requests is expected to not exceed 100, we >>> should be fine supporting just 5 threads. To get a feel that this actually >>> works, consider that the world?s most popular thread-per-request servers >>> already work in exactly this way. Rather than spawning a brand new thread >>> for every request, they borrow one from a pool. The pool is normally fixed >>> and set to something like a few hundred threads by default. They work fine >>> as long as their throughput doesn?t exceed the maximum expected throughput, >>> where the threads in the pool (or perhaps some other resource) is >>> exhausted. I.e. they do *not* work by allowing for an unbounded number of >>> threads, but a bounded one; they are very much thread-per-request, yet >>> their threads are capped. This does place an upper limit on their >>> throughput, but they work fine until they reach it. >>> >>> Of course, if other resources are exhausted before the pool is depleted, >>> then (fanout aside) lightweight threads aren?t needed. But because there >>> are so many systems where the threads are the resource that?s exhausted >>> first, people invented non-thread-per-request (i.e. asynchronous) servers >>> as well as lightweight threads. >>> >>> ? Ron >>> >>> On 29 Jul 2022, at 00:46, Ron Pressler wrote: >>> >>> >>> >>> On 28 Jul 2022, at 21:31, Alex Otenko >>> wrote: >>> >>> Hi Ron, >>> >>> The claim in JEP is the same as in this email thread, so that is not >>> much help. But now I don't need help anymore, because I found the >>> explaination how the thread count, response time, request rate and >>> thread-per-request are connected. >>> >>> Now what makes me bothered about the claims. >>> >>> Little's law connects throughput to concurrency. We agreed it has no >>> connection to thread count. That's a disconnect between the claim about >>> threads and Little's law dictating it. >>> >>> >>> Not really, no. In thread-per-request systems, the number of threads is >>> equal to (or perhaps greater than) the concurrency because that?s the >>> definition of thread-per-request. That?s why we agreed that in >>> thread-per-request systems, Little?s law tells us the (average) number of >>> threads. >>> >>> >>> There's also the assumption that response time remains constant, but >>> that's a mighty assumption - response time changes with thread count. >>> >>> >>> There is absolutely no such assumption. Unless the a rising request rate >>> causes the latency to significantly *drop*, the number of threads will >>> grow. If the latency happens to rise, the number of threads will grow even >>> faster. >>> >>> >>> There's also the claim of needing more threads. That's also not >>> something that follows from thread-per-request. Essentially, >>> thread-per-request is a constructive proof of having an infinite number of >>> threads. How can one want more? Also, from a different angle - the number >>> of threads in the thread-per-request needed does not depend on throughput >>> at all. >>> >>> >>> The average number of requests being processed concurrently is equal to >>> the rate of requests (i.e. throughput) times the average latency. Again, >>> because a thread-per-request system is defined as one that assigns (at >>> least) one thread for every request, the number of threads is therefore >>> proportional to the throughput (as long as the system is stable). >>> >>> >>> Just consider what the request rate means. It means that if you choose >>> however small time frame, and however large request count, there is a >>> nonzero probability that it will happen. Consequently the number of threads >>> needed is arbitrarily large for any throughput. >>> >>> >>> Little?s theorem is about *long-term average* concurrency, latency and >>> throughput, and it is interesting precisely because it holds regardless of >>> the distribution of the requests. >>> >>> Which is just another way to say that the number of threads is >>> effectively infinite and there is no point trying to connect it to Little's >>> law. >>> >>> >>> I don?t understand what that means. A mathematical theorem about some >>> quantity (again the theorem is about concurrency, but we *define* a >>> thread-per-request system to be one where the number of threads is equal to >>> (or greater than) the concurrency) is true whether you think there?s a >>> point to it or not. The (average) number of threads is obviously not >>> infinite, but equal to the throughput times latency (assuming just one >>> thread per request). >>> >>> Since Little?s law has been effectively used to size sever systems for >>> decades, and so obviously there?s also a very practical point to >>> understanding it. >>> >>> Request rate doesn't change the number of threads that can exist at any >>> given time >>> >>> >>> The (average) number of threads in a thread-per-request system rises >>> proportionately with the (average) throughput. We?re not talking about the >>> number of threads that *can* exist, but the number of threads that *do* >>> exist (on average, of course). The number of threads that *can* exist puts >>> a bound on the number of threads that *do* exist, and so on maximum >>> throughput. >>> >>> it only changes the probability of observing any particular number of >>> them in a fixed period of time. >>> >>> >>> It changes their (average) number. You can start any thread-per-request >>> server increase the load and see for yourself (if the server uses a pool, >>> you?ll see an increase not in live threads but in non-idle threads, but >>> it?s the same thing). >>> >>> >>> All this is only criticism of the formal mathematical claims made here >>> and in the JEP. Nothing needs doing, if no one is interested in formal >>> claims being perfect. >>> >>> >>> The claims, however, were written with care for precision, while your >>> reading of them is not only imprecise and at times incorrect, but may lead >>> people to misunderstand how concurrent systems behave. >>> >>> >>> >>> Alex >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ron.pressler at oracle.com Tue Aug 2 16:05:17 2022 From: ron.pressler at oracle.com (Ron Pressler) Date: Tue, 2 Aug 2022 16:05:17 +0000 Subject: [External] : Re: jstack, profilers and other tools In-Reply-To: References: <0375A98B-1430-4E70-AEBF-A802F4F5DE7E@oracle.com> <46BC2612-85AE-4C07-8F53-16D45961EA50@oracle.com> Message-ID: You choose to draw the boundary of your system wherever you like. W is equal to the average amount of time a request spends *inside* the boundary, L is the average number of requests being concurrently *inside*, and the queue (and there is always one, whether it exists as some software or hardware construct or not) that is implicit in the definition of stability is always *outside*. If you choose to draw the boundaries of the system as those of a bank branch, then L will be equal to the average number of customers inside the branch, and stability will refer to the queue that might form *outside*. It doesn?t care if there are also queues inside the branch or not. If, on the other hand, you choose to draw the boundaries such that the clerk?s counter is the ?inside? then the implicit queue will, as always, be the one ?outside?, even though it?s inside the bank. So the question whether the elements in a certain software queue are included in L or not depend on where you choose to draw the boundary. So, if you have 67 req/s (I don?t see how the number of threads is relevant, as you haven?t specified how threads are assigned to requests) and each spends 1/100 s inside your system?s chosen boundaries, then there will be an average of 0.67 requests inside your system concurrently. So, if your system is capable of handling 1 request at a time, there will not form a queue outside it that grows indefinitely. So the stability of your system always refers to a queue that?s outside it, and is agnostic to any queues that are inside it and part of its internal working, although the theorem could be applied to them as well. W and L always refer to the behaviour inside, and don't include number of requests or durations spent in the queue outside. In short, the implicit queue whose stability the theorem talks about is always outside the system to which the formula refers, whereas the question of which ?physical? queues you want to put inside the boundaries of the system is completely irrelevant to the theorem, which says nothing about them, and that is why your statement is incorrect. ? Ron On 2 Aug 2022, at 15:47, Alex Otenko > wrote: I don't know what you find incorrect about the statement that queue wait is included in Little's law. 66.6667 requests per second processed by a single thread, spending 10ms on each request. Little's law says that in this case concurrency is 2. Surely it means that the requests in the queue are included in concurrency? Alex On Tue, 2 Aug 2022, 12:04 Ron Pressler, > wrote: I?m afraid that is incorrect and, indeed, quite harmful to understanding how Little?s law has been used to size systems for decades. Little?s law refers to some unit, like ?request? or ?customer?, and also some boundary of a ?store? or ?server? where the request can be either inside or outside. The definition of what?s inside and outside are arbitrary, and the law obviously works for any such definition. W is the latency that the ?request? spends ?inside.? So, for example, suppose the system is a shop and customers are the unit. If a customer spends an average of 6 minutes *inside* the shop (so L = 0.1 hr) and customers arrive at an average rate of 100 per hour (= ?), then L = 100*0.1 = 10 is the average concurrency, namely the number of customers, on average, inside the shop. If the shop has a capacity for fewer than 10 customers, then the system will be ?unstable?, meaning that a queue will form outside that will keep growing indefinitely. If, on the other hand, the shop?s capacity is 10 customers, then the system will be stable. That means that no matter what the distribution of customer arrival is, queues that form outside will not grow without bound. A capacity of 10 is enough. Now, inside the shop there could be clerks, and each of them could be treated as another system serving customers (with a concurrent capacity of 1), and we could then apply the theorem to each of them separately, where ?inside? means being served, and ?outside? is the queue forming to be served by the clerk inside the shop. Wherever you draw your boundaries between inside and outside, and whatever the unit of work is, the law tells us which system or subsystem is stable and which isn?t. And now back to software. If our server is thread-per-request, that means that a request (our unit) consumes a thread for its entire duration of being served by our system, and so ?inside? means from the moment a request gets its thread, and ?outside? means anything prior to that. It could be some queue in the software, it could be some queue in the network stack, memory in the network card, and even a virtual queue of users whose requests might be rejected and keep retrying ? it doesn?t matter. If the capacity of ?inside? the server ? which, in this case means the maximum number of threads because the number of requests ?inside? such a system cannot be any greater than the number of threads (or possibly lower due to other limits) ? is at or above L, then the system will be stable, meaning that all queues, real or virtual, forming anywhere in software hardware or ?in the world?, will not grow without bounds. Indeed, this is how and why most Java servers work today. Most of them are thread-per-request, and most of them use a fixed thread-pool of size X, meaning that no more than X requests can be ?inside? at any one time. But if X is equal to or greater than L, then the server will not become overloaded indefinitely and will manage to serve all requests. It does not mean that no requests will ever be rejected, but it does mean that the server will carry out its work satisfactorily for an indefinite duration. Whether or not a server is thread-per-request, wherever you define the boundary of ?inside?, there can only be some bounded capacity for concurrent requests ?inside?, and some real or virtual queue forming outside. The theorem absolutely does not mean that in order to perform in this manner the network buffers or internal queue must be of unlimited capacity (which they can never be). In fact, even if there are no software/hardware buffers at all and a request is rejected if all threads are busy, we know that the number of people waiting retrying because their requests are rejected will not grow without bound. Implementing buffers in software or hardware mean that some of the queue will be automatically managed by a digital machine, and could improve momentary user-experience, but whatever its size limit is, the number of units waiting ?outside? in all queues ? virtual or digital ? is unaffected by where the queue is, will grow indefinitely if the capacity ?inside? is below L, and will not grow indefinitely if the capacity inside is L or above. That is why servers work, and that is why they work exactly as mathematical theorems tell us they must. ? Ron On 2 Aug 2022, at 08:34, Alex Otenko > wrote: Hi Ron, The "maximum capacity for concurrent requests" statement uses "concurrent" in the sense of Java threads. Little's law counts queued requests as "concurrent", too. Then assuming queue can be arbitrarily large, we can't have a finite max capacity for concurrent requests. Alex On Sun, 31 Jul 2022, 17:38 Ron Pressler, > wrote: A thread-per-request server under an average load 100req/s and an average request processing duration of 10ms will not destabilise if it can have no more than 10 threads, where ?destabilise? means that the queue grows indefinitely. I.e. in a a stable system is defined as one where queues do not grow indefinitely. While it is true that for any queue size there is some shrinking though non-zero probability that it might be reached, it is absolutely unrelated to the server being thread-per-request. However it is that you choose to represent a request, if your maximum capacity for concurrent requests is at or above L, the system will be stable. ? Ron On 31 Jul 2022, at 13:27, Alex Otenko > wrote: Hi Ron, I am glad you mentioned this visualisation experiment. That's the sort of experiment I proposed (and done) what seems like a week ago. You may find some unintuitive things coming from this experiment, since you called them untrue. Alex On Fri, 29 Jul 2022, 14:53 Ron Pressler, > wrote: BTW, the easiest way to visualise the temporary discrepancies between the averages in Little?s law and instantaneous behaviour is to think of the queue forming at the entry to the system. If the system is unstable (i.e. the equation doesn?t hold), the queue will grow without bounds. If it is stable, it can momentarily grow but will then shrink as we regress to the mean. So suppose ? = 100 and W = 1/20, and therefore the average concurrency 5. If the *maximum* capacity for concurrent operations is also 5 (e.g we have a thread-per-request server that uses just one thread per request and the maximum number of threads we can support is 5), then if the rate of requests momentarily rises above 100 then the queue will grow, but will eventually shrink when the rate drops below 100 (as it must). So if our throughput/rate-of-requests is expected to not exceed 100, we should be fine supporting just 5 threads. To get a feel that this actually works, consider that the world?s most popular thread-per-request servers already work in exactly this way. Rather than spawning a brand new thread for every request, they borrow one from a pool. The pool is normally fixed and set to something like a few hundred threads by default. They work fine as long as their throughput doesn?t exceed the maximum expected throughput, where the threads in the pool (or perhaps some other resource) is exhausted. I.e. they do *not* work by allowing for an unbounded number of threads, but a bounded one; they are very much thread-per-request, yet their threads are capped. This does place an upper limit on their throughput, but they work fine until they reach it. Of course, if other resources are exhausted before the pool is depleted, then (fanout aside) lightweight threads aren?t needed. But because there are so many systems where the threads are the resource that?s exhausted first, people invented non-thread-per-request (i.e. asynchronous) servers as well as lightweight threads. ? Ron On 29 Jul 2022, at 00:46, Ron Pressler > wrote: On 28 Jul 2022, at 21:31, Alex Otenko > wrote: Hi Ron, The claim in JEP is the same as in this email thread, so that is not much help. But now I don't need help anymore, because I found the explaination how the thread count, response time, request rate and thread-per-request are connected. Now what makes me bothered about the claims. Little's law connects throughput to concurrency. We agreed it has no connection to thread count. That's a disconnect between the claim about threads and Little's law dictating it. Not really, no. In thread-per-request systems, the number of threads is equal to (or perhaps greater than) the concurrency because that?s the definition of thread-per-request. That?s why we agreed that in thread-per-request systems, Little?s law tells us the (average) number of threads. There's also the assumption that response time remains constant, but that's a mighty assumption - response time changes with thread count. There is absolutely no such assumption. Unless the a rising request rate causes the latency to significantly *drop*, the number of threads will grow. If the latency happens to rise, the number of threads will grow even faster. There's also the claim of needing more threads. That's also not something that follows from thread-per-request. Essentially, thread-per-request is a constructive proof of having an infinite number of threads. How can one want more? Also, from a different angle - the number of threads in the thread-per-request needed does not depend on throughput at all. The average number of requests being processed concurrently is equal to the rate of requests (i.e. throughput) times the average latency. Again, because a thread-per-request system is defined as one that assigns (at least) one thread for every request, the number of threads is therefore proportional to the throughput (as long as the system is stable). Just consider what the request rate means. It means that if you choose however small time frame, and however large request count, there is a nonzero probability that it will happen. Consequently the number of threads needed is arbitrarily large for any throughput. Little?s theorem is about *long-term average* concurrency, latency and throughput, and it is interesting precisely because it holds regardless of the distribution of the requests. Which is just another way to say that the number of threads is effectively infinite and there is no point trying to connect it to Little's law. I don?t understand what that means. A mathematical theorem about some quantity (again the theorem is about concurrency, but we *define* a thread-per-request system to be one where the number of threads is equal to (or greater than) the concurrency) is true whether you think there?s a point to it or not. The (average) number of threads is obviously not infinite, but equal to the throughput times latency (assuming just one thread per request). Since Little?s law has been effectively used to size sever systems for decades, and so obviously there?s also a very practical point to understanding it. Request rate doesn't change the number of threads that can exist at any given time The (average) number of threads in a thread-per-request system rises proportionately with the (average) throughput. We?re not talking about the number of threads that *can* exist, but the number of threads that *do* exist (on average, of course). The number of threads that *can* exist puts a bound on the number of threads that *do* exist, and so on maximum throughput. it only changes the probability of observing any particular number of them in a fixed period of time. It changes their (average) number. You can start any thread-per-request server increase the load and see for yourself (if the server uses a pool, you?ll see an increase not in live threads but in non-idle threads, but it?s the same thing). All this is only criticism of the formal mathematical claims made here and in the JEP. Nothing needs doing, if no one is interested in formal claims being perfect. The claims, however, were written with care for precision, while your reading of them is not only imprecise and at times incorrect, but may lead people to misunderstand how concurrent systems behave. Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From cjplummer at openjdk.org Tue Aug 2 16:29:16 2022 From: cjplummer at openjdk.org (Chris Plummer) Date: Tue, 2 Aug 2022 16:29:16 GMT Subject: Integrated: ProblemList failing JMX tests that fail with the wrapper. In-Reply-To: References: Message-ID: On Mon, 1 Aug 2022 20:28:06 GMT, Chris Plummer wrote: > In the jdk repo, the following is being pushed: > > [JDK-8291578](https://bugs.openjdk.org/browse/JDK-8291578) Remove JMX related tests from ProblemList-svc-vthreads.txt > > Eventually this will make it's way into loom, which would leave these tests no longer being problem listed. As described in [JDK-8291578](https://bugs.openjdk.org/browse/JDK-8291578), these tests should be problem listed on ProblemList-vthread.txt, and this PR is taking care of that. This pull request has now been integrated. Changeset: ad44dce7 Author: Chris Plummer URL: https://git.openjdk.org/loom/commit/ad44dce70d0dc7baef2358c085a9c360f5707321 Stats: 23 lines in 1 file changed: 23 ins; 0 del; 0 mod ProblemList failing JMX tests that fail with the wrapper. Reviewed-by: lmesnik ------------- PR: https://git.openjdk.org/loom/pull/189 From ron.pressler at oracle.com Tue Aug 2 16:29:32 2022 From: ron.pressler at oracle.com (Ron Pressler) Date: Tue, 2 Aug 2022 16:29:32 +0000 Subject: [External] : Re: jstack, profilers and other tools In-Reply-To: References: <0375A98B-1430-4E70-AEBF-A802F4F5DE7E@oracle.com> <46BC2612-85AE-4C07-8F53-16D45961EA50@oracle.com> Message-ID: <96277389-755D-4A12-88CF-B40D3BDAEC0B@oracle.com> P.S. To complete the story, let?s get back to thread-per-request servers with a fixed thread-pools ? like the majority of Java servers today. We consider a request to be inside the system once it?s been assigned its own thread, and W the amount of time it hangs on to that thread. If the size of the pool is equal to or greater than L, then the queue formed ?outside" will not grow indefinitely. That queue is the amalgamation of any queue you have in the software, network buffers, and requests that are denied and retried. However big *or small* you choose to make the capacity of your software queue ? it can be as large as a billion elements and as small as zero ? the size of that queue amalgam will not grow without bounds and the system will remain stable, i.e. the number of people waiting to be served will not grow indefinitely. Of course, if we increase the capacity of software queue, the user experience could be better as more of that queue amalgam will be handled automatically and fairly (in a scheduling sense), rather than by retries. So quite the opposite of needing a software queue of unbounded capacity used before assigning the thread ? *any* capacity of software queue would do if the system is stable, even of size zero, although a very small queue might increase the number of rejected requests and retries (although not without bound because the system is stable) which is less pleasant. ? Ron On 2 Aug 2022, at 17:05, Ron Pressler > wrote: You choose to draw the boundary of your system wherever you like. W is equal to the average amount of time a request spends *inside* the boundary, L is the average number of requests being concurrently *inside*, and the queue (and there is always one, whether it exists as some software or hardware construct or not) that is implicit in the definition of stability is always *outside*. If you choose to draw the boundaries of the system as those of a bank branch, then L will be equal to the average number of customers inside the branch, and stability will refer to the queue that might form *outside*. It doesn?t care if there are also queues inside the branch or not. If, on the other hand, you choose to draw the boundaries such that the clerk?s counter is the ?inside? then the implicit queue will, as always, be the one ?outside?, even though it?s inside the bank. So the question whether the elements in a certain software queue are included in L or not depend on where you choose to draw the boundary. So, if you have 67 req/s (I don?t see how the number of threads is relevant, as you haven?t specified how threads are assigned to requests) and each spends 1/100 s inside your system?s chosen boundaries, then there will be an average of 0.67 requests inside your system concurrently. So, if your system is capable of handling 1 request at a time, there will not form a queue outside it that grows indefinitely. So the stability of your system always refers to a queue that?s outside it, and is agnostic to any queues that are inside it and part of its internal working, although the theorem could be applied to them as well. W and L always refer to the behaviour inside, and don't include number of requests or durations spent in the queue outside. In short, the implicit queue whose stability the theorem talks about is always outside the system to which the formula refers, whereas the question of which ?physical? queues you want to put inside the boundaries of the system is completely irrelevant to the theorem, which says nothing about them, and that is why your statement is incorrect. ? Ron On 2 Aug 2022, at 15:47, Alex Otenko > wrote: I don't know what you find incorrect about the statement that queue wait is included in Little's law. 66.6667 requests per second processed by a single thread, spending 10ms on each request. Little's law says that in this case concurrency is 2. Surely it means that the requests in the queue are included in concurrency? Alex On Tue, 2 Aug 2022, 12:04 Ron Pressler, > wrote: I?m afraid that is incorrect and, indeed, quite harmful to understanding how Little?s law has been used to size systems for decades. Little?s law refers to some unit, like ?request? or ?customer?, and also some boundary of a ?store? or ?server? where the request can be either inside or outside. The definition of what?s inside and outside are arbitrary, and the law obviously works for any such definition. W is the latency that the ?request? spends ?inside.? So, for example, suppose the system is a shop and customers are the unit. If a customer spends an average of 6 minutes *inside* the shop (so L = 0.1 hr) and customers arrive at an average rate of 100 per hour (= ?), then L = 100*0.1 = 10 is the average concurrency, namely the number of customers, on average, inside the shop. If the shop has a capacity for fewer than 10 customers, then the system will be ?unstable?, meaning that a queue will form outside that will keep growing indefinitely. If, on the other hand, the shop?s capacity is 10 customers, then the system will be stable. That means that no matter what the distribution of customer arrival is, queues that form outside will not grow without bound. A capacity of 10 is enough. Now, inside the shop there could be clerks, and each of them could be treated as another system serving customers (with a concurrent capacity of 1), and we could then apply the theorem to each of them separately, where ?inside? means being served, and ?outside? is the queue forming to be served by the clerk inside the shop. Wherever you draw your boundaries between inside and outside, and whatever the unit of work is, the law tells us which system or subsystem is stable and which isn?t. And now back to software. If our server is thread-per-request, that means that a request (our unit) consumes a thread for its entire duration of being served by our system, and so ?inside? means from the moment a request gets its thread, and ?outside? means anything prior to that. It could be some queue in the software, it could be some queue in the network stack, memory in the network card, and even a virtual queue of users whose requests might be rejected and keep retrying ? it doesn?t matter. If the capacity of ?inside? the server ? which, in this case means the maximum number of threads because the number of requests ?inside? such a system cannot be any greater than the number of threads (or possibly lower due to other limits) ? is at or above L, then the system will be stable, meaning that all queues, real or virtual, forming anywhere in software hardware or ?in the world?, will not grow without bounds. Indeed, this is how and why most Java servers work today. Most of them are thread-per-request, and most of them use a fixed thread-pool of size X, meaning that no more than X requests can be ?inside? at any one time. But if X is equal to or greater than L, then the server will not become overloaded indefinitely and will manage to serve all requests. It does not mean that no requests will ever be rejected, but it does mean that the server will carry out its work satisfactorily for an indefinite duration. Whether or not a server is thread-per-request, wherever you define the boundary of ?inside?, there can only be some bounded capacity for concurrent requests ?inside?, and some real or virtual queue forming outside. The theorem absolutely does not mean that in order to perform in this manner the network buffers or internal queue must be of unlimited capacity (which they can never be). In fact, even if there are no software/hardware buffers at all and a request is rejected if all threads are busy, we know that the number of people waiting retrying because their requests are rejected will not grow without bound. Implementing buffers in software or hardware mean that some of the queue will be automatically managed by a digital machine, and could improve momentary user-experience, but whatever its size limit is, the number of units waiting ?outside? in all queues ? virtual or digital ? is unaffected by where the queue is, will grow indefinitely if the capacity ?inside? is below L, and will not grow indefinitely if the capacity inside is L or above. That is why servers work, and that is why they work exactly as mathematical theorems tell us they must. ? Ron On 2 Aug 2022, at 08:34, Alex Otenko > wrote: Hi Ron, The "maximum capacity for concurrent requests" statement uses "concurrent" in the sense of Java threads. Little's law counts queued requests as "concurrent", too. Then assuming queue can be arbitrarily large, we can't have a finite max capacity for concurrent requests. Alex On Sun, 31 Jul 2022, 17:38 Ron Pressler, > wrote: A thread-per-request server under an average load 100req/s and an average request processing duration of 10ms will not destabilise if it can have no more than 10 threads, where ?destabilise? means that the queue grows indefinitely. I.e. in a a stable system is defined as one where queues do not grow indefinitely. While it is true that for any queue size there is some shrinking though non-zero probability that it might be reached, it is absolutely unrelated to the server being thread-per-request. However it is that you choose to represent a request, if your maximum capacity for concurrent requests is at or above L, the system will be stable. ? Ron On 31 Jul 2022, at 13:27, Alex Otenko > wrote: Hi Ron, I am glad you mentioned this visualisation experiment. That's the sort of experiment I proposed (and done) what seems like a week ago. You may find some unintuitive things coming from this experiment, since you called them untrue. Alex On Fri, 29 Jul 2022, 14:53 Ron Pressler, > wrote: BTW, the easiest way to visualise the temporary discrepancies between the averages in Little?s law and instantaneous behaviour is to think of the queue forming at the entry to the system. If the system is unstable (i.e. the equation doesn?t hold), the queue will grow without bounds. If it is stable, it can momentarily grow but will then shrink as we regress to the mean. So suppose ? = 100 and W = 1/20, and therefore the average concurrency 5. If the *maximum* capacity for concurrent operations is also 5 (e.g we have a thread-per-request server that uses just one thread per request and the maximum number of threads we can support is 5), then if the rate of requests momentarily rises above 100 then the queue will grow, but will eventually shrink when the rate drops below 100 (as it must). So if our throughput/rate-of-requests is expected to not exceed 100, we should be fine supporting just 5 threads. To get a feel that this actually works, consider that the world?s most popular thread-per-request servers already work in exactly this way. Rather than spawning a brand new thread for every request, they borrow one from a pool. The pool is normally fixed and set to something like a few hundred threads by default. They work fine as long as their throughput doesn?t exceed the maximum expected throughput, where the threads in the pool (or perhaps some other resource) is exhausted. I.e. they do *not* work by allowing for an unbounded number of threads, but a bounded one; they are very much thread-per-request, yet their threads are capped. This does place an upper limit on their throughput, but they work fine until they reach it. Of course, if other resources are exhausted before the pool is depleted, then (fanout aside) lightweight threads aren?t needed. But because there are so many systems where the threads are the resource that?s exhausted first, people invented non-thread-per-request (i.e. asynchronous) servers as well as lightweight threads. ? Ron On 29 Jul 2022, at 00:46, Ron Pressler > wrote: On 28 Jul 2022, at 21:31, Alex Otenko > wrote: Hi Ron, The claim in JEP is the same as in this email thread, so that is not much help. But now I don't need help anymore, because I found the explaination how the thread count, response time, request rate and thread-per-request are connected. Now what makes me bothered about the claims. Little's law connects throughput to concurrency. We agreed it has no connection to thread count. That's a disconnect between the claim about threads and Little's law dictating it. Not really, no. In thread-per-request systems, the number of threads is equal to (or perhaps greater than) the concurrency because that?s the definition of thread-per-request. That?s why we agreed that in thread-per-request systems, Little?s law tells us the (average) number of threads. There's also the assumption that response time remains constant, but that's a mighty assumption - response time changes with thread count. There is absolutely no such assumption. Unless the a rising request rate causes the latency to significantly *drop*, the number of threads will grow. If the latency happens to rise, the number of threads will grow even faster. There's also the claim of needing more threads. That's also not something that follows from thread-per-request. Essentially, thread-per-request is a constructive proof of having an infinite number of threads. How can one want more? Also, from a different angle - the number of threads in the thread-per-request needed does not depend on throughput at all. The average number of requests being processed concurrently is equal to the rate of requests (i.e. throughput) times the average latency. Again, because a thread-per-request system is defined as one that assigns (at least) one thread for every request, the number of threads is therefore proportional to the throughput (as long as the system is stable). Just consider what the request rate means. It means that if you choose however small time frame, and however large request count, there is a nonzero probability that it will happen. Consequently the number of threads needed is arbitrarily large for any throughput. Little?s theorem is about *long-term average* concurrency, latency and throughput, and it is interesting precisely because it holds regardless of the distribution of the requests. Which is just another way to say that the number of threads is effectively infinite and there is no point trying to connect it to Little's law. I don?t understand what that means. A mathematical theorem about some quantity (again the theorem is about concurrency, but we *define* a thread-per-request system to be one where the number of threads is equal to (or greater than) the concurrency) is true whether you think there?s a point to it or not. The (average) number of threads is obviously not infinite, but equal to the throughput times latency (assuming just one thread per request). Since Little?s law has been effectively used to size sever systems for decades, and so obviously there?s also a very practical point to understanding it. Request rate doesn't change the number of threads that can exist at any given time The (average) number of threads in a thread-per-request system rises proportionately with the (average) throughput. We?re not talking about the number of threads that *can* exist, but the number of threads that *do* exist (on average, of course). The number of threads that *can* exist puts a bound on the number of threads that *do* exist, and so on maximum throughput. it only changes the probability of observing any particular number of them in a fixed period of time. It changes their (average) number. You can start any thread-per-request server increase the load and see for yourself (if the server uses a pool, you?ll see an increase not in live threads but in non-idle threads, but it?s the same thing). All this is only criticism of the formal mathematical claims made here and in the JEP. Nothing needs doing, if no one is interested in formal claims being perfect. The claims, however, were written with care for precision, while your reading of them is not only imprecise and at times incorrect, but may lead people to misunderstand how concurrent systems behave. Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From oleksandr.otenko at gmail.com Tue Aug 2 18:58:22 2022 From: oleksandr.otenko at gmail.com (Alex Otenko) Date: Tue, 2 Aug 2022 19:58:22 +0100 Subject: [External] : Re: jstack, profilers and other tools In-Reply-To: <96277389-755D-4A12-88CF-B40D3BDAEC0B@oracle.com> References: <0375A98B-1430-4E70-AEBF-A802F4F5DE7E@oracle.com> <46BC2612-85AE-4C07-8F53-16D45961EA50@oracle.com> <96277389-755D-4A12-88CF-B40D3BDAEC0B@oracle.com> Message-ID: How does this view allow to distinguish the behaviour of the system with 1 thread vs 2 threads? (Same condition: 66.6667 req/s, 1/100s for each request) Alex On Tue, 2 Aug 2022, 17:29 Ron Pressler, wrote: > P.S. > > To complete the story, let?s get back to thread-per-request servers with a > fixed thread-pools ? like the majority of Java servers today. > > We consider a request to be inside the system once it?s been assigned its > own thread, and W the amount of time it hangs on to that thread. If the > size of the pool is equal to or greater than L, then the queue formed > ?outside" will not grow indefinitely. That queue is the amalgamation of any > queue you have in the software, network buffers, and requests that are > denied and retried. However big *or small* you choose to make the capacity > of your software queue ? it can be as large as a billion elements and as > small as zero ? the size of that queue amalgam will not grow without bounds > and the system will remain stable, i.e. the number of people waiting to be > served will not grow indefinitely. > > Of course, if we increase the capacity of software queue, the user > experience could be better as more of that queue amalgam will be handled > automatically and fairly (in a scheduling sense), rather than by retries. > > So quite the opposite of needing a software queue of unbounded capacity > used before assigning the thread ? *any* capacity of software queue would > do if the system is stable, even of size zero, although a very small queue > might increase the number of rejected requests and retries (although not > without bound because the system is stable) which is less pleasant. > > ? Ron > > On 2 Aug 2022, at 17:05, Ron Pressler wrote: > > You choose to draw the boundary of your system wherever you like. W is > equal to the average amount of time a request spends *inside* the boundary, > L is the average number of requests being concurrently *inside*, and the > queue (and there is always one, whether it exists as some software or > hardware construct or not) that is implicit in the definition of stability > is always *outside*. > > If you choose to draw the boundaries of the system as those of a bank > branch, then L will be equal to the average number of customers inside the > branch, and stability will refer to the queue that might form *outside*. It > doesn?t care if there are also queues inside the branch or not. If, on the > other hand, you choose to draw the boundaries such that the clerk?s counter > is the ?inside? then the implicit queue will, as always, be the one > ?outside?, even though it?s inside the bank. > > So the question whether the elements in a certain software queue are > included in L or not depend on where you choose to draw the boundary. So, > if you have 67 req/s (I don?t see how the number of threads is relevant, as > you haven?t specified how threads are assigned to requests) and each spends > 1/100 s inside your system?s chosen boundaries, then there will be an > average of 0.67 requests inside your system concurrently. So, if your > system is capable of handling 1 request at a time, there will not form a > queue outside it that grows indefinitely. > > So the stability of your system always refers to a queue that?s outside > it, and is agnostic to any queues that are inside it and part of its > internal working, although the theorem could be applied to them as well. W > and L always refer to the behaviour inside, and don't include number of > requests or durations spent in the queue outside. > > In short, the implicit queue whose stability the theorem talks about is > always outside the system to which the formula refers, whereas the question > of which ?physical? queues you want to put inside the boundaries of the > system is completely irrelevant to the theorem, which says nothing about > them, and that is why your statement is incorrect. > > ? Ron > > On 2 Aug 2022, at 15:47, Alex Otenko wrote: > > I don't know what you find incorrect about the statement that queue wait > is included in Little's law. > > 66.6667 requests per second processed by a single thread, spending 10ms on > each request. Little's law says that in this case concurrency is 2. Surely > it means that the requests in the queue are included in concurrency? > > > Alex > > On Tue, 2 Aug 2022, 12:04 Ron Pressler, wrote: > >> I?m afraid that is incorrect and, indeed, quite harmful to understanding >> how Little?s law has been used to size systems for decades. >> >> Little?s law refers to some unit, like ?request? or ?customer?, and also >> some boundary of a ?store? or ?server? where the request can be either >> inside or outside. The definition of what?s inside and outside are >> arbitrary, and the law obviously works for any such definition. W is the >> latency that the ?request? spends ?inside.? >> >> So, for example, suppose the system is a shop and customers are the unit. >> If a customer spends an average of 6 minutes *inside* the shop (so L = 0.1 >> hr) and customers arrive at an average rate of 100 per hour (= ?), then L = >> 100*0.1 = 10 is the average concurrency, namely the number of customers, on >> average, inside the shop. >> >> If the shop has a capacity for fewer than 10 customers, then the system >> will be ?unstable?, meaning that a queue will form outside that will keep >> growing indefinitely. If, on the other hand, the shop?s capacity is 10 >> customers, then the system will be stable. That means that no matter what >> the distribution of customer arrival is, queues that form outside will not >> grow without bound. A capacity of 10 is enough. >> >> Now, inside the shop there could be clerks, and each of them could be >> treated as another system serving customers (with a concurrent capacity of >> 1), and we could then apply the theorem to each of them separately, where >> ?inside? means being served, and ?outside? is the queue forming to be >> served by the clerk inside the shop. >> >> Wherever you draw your boundaries between inside and outside, and >> whatever the unit of work is, the law tells us which system or subsystem is >> stable and which isn?t. >> >> And now back to software. If our server is thread-per-request, that means >> that a request (our unit) consumes a thread for its entire duration of >> being served by our system, and so ?inside? means from the moment a request >> gets its thread, and ?outside? means anything prior to that. It could be >> some queue in the software, it could be some queue in the network stack, >> memory in the network card, and even a virtual queue of users whose >> requests might be rejected and keep retrying ? it doesn?t matter. If the >> capacity of ?inside? the server ? which, in this case means the maximum >> number of threads because the number of requests ?inside? such a system >> cannot be any greater than the number of threads (or possibly lower due to >> other limits) ? is at or above L, then the system will be stable, meaning >> that all queues, real or virtual, forming anywhere in software hardware or >> ?in the world?, will not grow without bounds. >> >> Indeed, this is how and why most Java servers work today. Most of them >> are thread-per-request, and most of them use a fixed thread-pool of size X, >> meaning that no more than X requests can be ?inside? at any one time. But >> if X is equal to or greater than L, then the server will not become >> overloaded indefinitely and will manage to serve all requests. It does not >> mean that no requests will ever be rejected, but it does mean that the >> server will carry out its work satisfactorily for an indefinite duration. >> >> Whether or not a server is thread-per-request, wherever you define the >> boundary of ?inside?, there can only be some bounded capacity for >> concurrent requests ?inside?, and some real or virtual queue forming >> outside. >> >> The theorem absolutely does not mean that in order to perform in this >> manner the network buffers or internal queue must be of unlimited capacity >> (which they can never be). In fact, even if there are no software/hardware >> buffers at all and a request is rejected if all threads are busy, we know >> that the number of people waiting retrying because their requests are >> rejected will not grow without bound. Implementing buffers in software or >> hardware mean that some of the queue will be automatically managed by a >> digital machine, and could improve momentary user-experience, but whatever >> its size limit is, the number of units waiting ?outside? in all queues ? >> virtual or digital ? is unaffected by where the queue is, will grow >> indefinitely if the capacity ?inside? is below L, and will not grow >> indefinitely if the capacity inside is L or above. >> >> That is why servers work, and that is why they work exactly as >> mathematical theorems tell us they must. >> >> ? Ron >> >> >> >> >> >> On 2 Aug 2022, at 08:34, Alex Otenko wrote: >> >> Hi Ron, >> >> The "maximum capacity for concurrent requests" statement uses >> "concurrent" in the sense of Java threads. Little's law counts queued >> requests as "concurrent", too. Then assuming queue can be arbitrarily >> large, we can't have a finite max capacity for concurrent requests. >> >> >> Alex >> >> On Sun, 31 Jul 2022, 17:38 Ron Pressler, wrote: >> >>> A thread-per-request server under an average load 100req/s and an >>> average request processing duration of 10ms will not destabilise if it can >>> have no more than 10 threads, where ?destabilise? means that the queue >>> grows indefinitely. I.e. in a a stable system is defined as one where >>> queues do not grow indefinitely. >>> >>> While it is true that for any queue size there is some shrinking though >>> non-zero probability that it might be reached, it is absolutely unrelated >>> to the server being thread-per-request. However it is that you choose to >>> represent a request, if your maximum capacity for concurrent requests is at >>> or above L, the system will be stable. >>> >>> ? Ron >>> >>> On 31 Jul 2022, at 13:27, Alex Otenko >>> wrote: >>> >>> Hi Ron, >>> >>> I am glad you mentioned this visualisation experiment. That's the sort >>> of experiment I proposed (and done) what seems like a week ago. You may >>> find some unintuitive things coming from this experiment, since you called >>> them untrue. >>> >>> >>> Alex >>> >>> On Fri, 29 Jul 2022, 14:53 Ron Pressler, >>> wrote: >>> >>>> >>>> BTW, the easiest way to visualise the temporary discrepancies between >>>> the averages in Little?s law and instantaneous behaviour is to think of the >>>> queue forming at the entry to the system. >>>> >>>> If the system is unstable (i.e. the equation doesn?t hold), the queue >>>> will grow without bounds. If it is stable, it can momentarily grow but will >>>> then shrink as we regress to the mean. So suppose ? = 100 and W = 1/20, and >>>> therefore the average concurrency 5. If the *maximum* capacity for >>>> concurrent operations is also 5 (e.g we have a thread-per-request server >>>> that uses just one thread per request and the maximum number of threads we >>>> can support is 5), then if the rate of requests momentarily rises above 100 >>>> then the queue will grow, but will eventually shrink when the rate drops >>>> below 100 (as it must). >>>> >>>> So if our throughput/rate-of-requests is expected to not exceed 100, we >>>> should be fine supporting just 5 threads. To get a feel that this actually >>>> works, consider that the world?s most popular thread-per-request servers >>>> already work in exactly this way. Rather than spawning a brand new thread >>>> for every request, they borrow one from a pool. The pool is normally fixed >>>> and set to something like a few hundred threads by default. They work fine >>>> as long as their throughput doesn?t exceed the maximum expected throughput, >>>> where the threads in the pool (or perhaps some other resource) is >>>> exhausted. I.e. they do *not* work by allowing for an unbounded number of >>>> threads, but a bounded one; they are very much thread-per-request, yet >>>> their threads are capped. This does place an upper limit on their >>>> throughput, but they work fine until they reach it. >>>> >>>> Of course, if other resources are exhausted before the pool is >>>> depleted, then (fanout aside) lightweight threads aren?t needed. But >>>> because there are so many systems where the threads are the resource that?s >>>> exhausted first, people invented non-thread-per-request (i.e. asynchronous) >>>> servers as well as lightweight threads. >>>> >>>> ? Ron >>>> >>>> On 29 Jul 2022, at 00:46, Ron Pressler wrote: >>>> >>>> >>>> >>>> On 28 Jul 2022, at 21:31, Alex Otenko >>>> wrote: >>>> >>>> Hi Ron, >>>> >>>> The claim in JEP is the same as in this email thread, so that is not >>>> much help. But now I don't need help anymore, because I found the >>>> explaination how the thread count, response time, request rate and >>>> thread-per-request are connected. >>>> >>>> Now what makes me bothered about the claims. >>>> >>>> Little's law connects throughput to concurrency. We agreed it has no >>>> connection to thread count. That's a disconnect between the claim about >>>> threads and Little's law dictating it. >>>> >>>> >>>> Not really, no. In thread-per-request systems, the number of threads is >>>> equal to (or perhaps greater than) the concurrency because that?s the >>>> definition of thread-per-request. That?s why we agreed that in >>>> thread-per-request systems, Little?s law tells us the (average) number of >>>> threads. >>>> >>>> >>>> There's also the assumption that response time remains constant, but >>>> that's a mighty assumption - response time changes with thread count. >>>> >>>> >>>> There is absolutely no such assumption. Unless the a rising request >>>> rate causes the latency to significantly *drop*, the number of threads will >>>> grow. If the latency happens to rise, the number of threads will grow even >>>> faster. >>>> >>>> >>>> There's also the claim of needing more threads. That's also not >>>> something that follows from thread-per-request. Essentially, >>>> thread-per-request is a constructive proof of having an infinite number of >>>> threads. How can one want more? Also, from a different angle - the number >>>> of threads in the thread-per-request needed does not depend on throughput >>>> at all. >>>> >>>> >>>> The average number of requests being processed concurrently is equal to >>>> the rate of requests (i.e. throughput) times the average latency. Again, >>>> because a thread-per-request system is defined as one that assigns (at >>>> least) one thread for every request, the number of threads is therefore >>>> proportional to the throughput (as long as the system is stable). >>>> >>>> >>>> Just consider what the request rate means. It means that if you choose >>>> however small time frame, and however large request count, there is a >>>> nonzero probability that it will happen. Consequently the number of threads >>>> needed is arbitrarily large for any throughput. >>>> >>>> >>>> Little?s theorem is about *long-term average* concurrency, latency and >>>> throughput, and it is interesting precisely because it holds regardless of >>>> the distribution of the requests. >>>> >>>> Which is just another way to say that the number of threads is >>>> effectively infinite and there is no point trying to connect it to Little's >>>> law. >>>> >>>> >>>> I don?t understand what that means. A mathematical theorem about some >>>> quantity (again the theorem is about concurrency, but we *define* a >>>> thread-per-request system to be one where the number of threads is equal to >>>> (or greater than) the concurrency) is true whether you think there?s a >>>> point to it or not. The (average) number of threads is obviously not >>>> infinite, but equal to the throughput times latency (assuming just one >>>> thread per request). >>>> >>>> Since Little?s law has been effectively used to size sever systems for >>>> decades, and so obviously there?s also a very practical point to >>>> understanding it. >>>> >>>> Request rate doesn't change the number of threads that can exist at any >>>> given time >>>> >>>> >>>> The (average) number of threads in a thread-per-request system rises >>>> proportionately with the (average) throughput. We?re not talking about the >>>> number of threads that *can* exist, but the number of threads that *do* >>>> exist (on average, of course). The number of threads that *can* exist puts >>>> a bound on the number of threads that *do* exist, and so on maximum >>>> throughput. >>>> >>>> it only changes the probability of observing any particular number of >>>> them in a fixed period of time. >>>> >>>> >>>> It changes their (average) number. You can start any thread-per-request >>>> server increase the load and see for yourself (if the server uses a pool, >>>> you?ll see an increase not in live threads but in non-idle threads, but >>>> it?s the same thing). >>>> >>>> >>>> All this is only criticism of the formal mathematical claims made here >>>> and in the JEP. Nothing needs doing, if no one is interested in formal >>>> claims being perfect. >>>> >>>> >>>> The claims, however, were written with care for precision, while your >>>> reading of them is not only imprecise and at times incorrect, but may lead >>>> people to misunderstand how concurrent systems behave. >>>> >>>> >>>> >>>> Alex >>>> >>>> >>> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ron.pressler at oracle.com Tue Aug 2 19:20:09 2022 From: ron.pressler at oracle.com (Ron Pressler) Date: Tue, 2 Aug 2022 19:20:09 +0000 Subject: [External] : Re: jstack, profilers and other tools In-Reply-To: References: <0375A98B-1430-4E70-AEBF-A802F4F5DE7E@oracle.com> <46BC2612-85AE-4C07-8F53-16D45961EA50@oracle.com> <96277389-755D-4A12-88CF-B40D3BDAEC0B@oracle.com> Message-ID: <45A239DF-AAF4-4477-9194-FE897B294182@oracle.com> I?m not sure I understand the question. If you mean to ask what the theorem says about threads, then it says nothing directly, just as it says nothing about the number of clerks or the square footage of a shop even though those are sized using it. The maths tells you how many units will be concurrently inside your system on average: L. You then use the knowledge about the units and the resources they consume to draw conclusions. E.g. you?d need to know how much area each customer in the shop needs to know how big it should be. In the case of servers, you?d need to know how much CPU, RAM and network bandwidth each request requires on average, as well as how many OS resources, such as file descriptors and threads. If you know that the server you?re making will be thread-per-request, then you know that whatever other resources a request might consume, every request will consume at least one thread, so you know you?d need to be able to have at least L concurrent threads. If you choose to write your server in some other way, where the relationship between threads and requests is not as simple, you can do the same reasoning on whatever construct it is that you use to represent an async request. If it?s, say, a CompletableFuture, you know you?ll need to have the capacity for at least L CompletableFutures. Now, because many people want to write thread-per-request servers ? for aesthetic reasons as well as because that?s the only design that is in harmony with the way the Java platform is designed ? and because it?s been empirically established that the capacity of the CPU, RAM, network bandwidth and file descriptors often allows many real-world servers to easily contain tens or even hundreds of thousands of concurrent requests. In asynchronous servers, the capacity for CompletableFutures easily matches that of the other resources, and so such servers can make optimal use of available resources at the cost of using a design that isn?t very friendly to Java. But to support making optimal use of all other resources in thread-per-request servers, the number of threads that you can support needs to be as high, and that is why virtual threads are needed in thread-per-request servers. In fact, in many thread-per-request servers a requests doesn?t consume just one thread, but several times that (could be as high as 50 or more), the number of threads might need to be 50L. ? Ron On 2 Aug 2022, at 19:58, Alex Otenko > wrote: How does this view allow to distinguish the behaviour of the system with 1 thread vs 2 threads? (Same condition: 66.6667 req/s, 1/100s for each request) Alex On Tue, 2 Aug 2022, 17:29 Ron Pressler, > wrote: P.S. To complete the story, let?s get back to thread-per-request servers with a fixed thread-pools ? like the majority of Java servers today. We consider a request to be inside the system once it?s been assigned its own thread, and W the amount of time it hangs on to that thread. If the size of the pool is equal to or greater than L, then the queue formed ?outside" will not grow indefinitely. That queue is the amalgamation of any queue you have in the software, network buffers, and requests that are denied and retried. However big *or small* you choose to make the capacity of your software queue ? it can be as large as a billion elements and as small as zero ? the size of that queue amalgam will not grow without bounds and the system will remain stable, i.e. the number of people waiting to be served will not grow indefinitely. Of course, if we increase the capacity of software queue, the user experience could be better as more of that queue amalgam will be handled automatically and fairly (in a scheduling sense), rather than by retries. So quite the opposite of needing a software queue of unbounded capacity used before assigning the thread ? *any* capacity of software queue would do if the system is stable, even of size zero, although a very small queue might increase the number of rejected requests and retries (although not without bound because the system is stable) which is less pleasant. ? Ron On 2 Aug 2022, at 17:05, Ron Pressler > wrote: You choose to draw the boundary of your system wherever you like. W is equal to the average amount of time a request spends *inside* the boundary, L is the average number of requests being concurrently *inside*, and the queue (and there is always one, whether it exists as some software or hardware construct or not) that is implicit in the definition of stability is always *outside*. If you choose to draw the boundaries of the system as those of a bank branch, then L will be equal to the average number of customers inside the branch, and stability will refer to the queue that might form *outside*. It doesn?t care if there are also queues inside the branch or not. If, on the other hand, you choose to draw the boundaries such that the clerk?s counter is the ?inside? then the implicit queue will, as always, be the one ?outside?, even though it?s inside the bank. So the question whether the elements in a certain software queue are included in L or not depend on where you choose to draw the boundary. So, if you have 67 req/s (I don?t see how the number of threads is relevant, as you haven?t specified how threads are assigned to requests) and each spends 1/100 s inside your system?s chosen boundaries, then there will be an average of 0.67 requests inside your system concurrently. So, if your system is capable of handling 1 request at a time, there will not form a queue outside it that grows indefinitely. So the stability of your system always refers to a queue that?s outside it, and is agnostic to any queues that are inside it and part of its internal working, although the theorem could be applied to them as well. W and L always refer to the behaviour inside, and don't include number of requests or durations spent in the queue outside. In short, the implicit queue whose stability the theorem talks about is always outside the system to which the formula refers, whereas the question of which ?physical? queues you want to put inside the boundaries of the system is completely irrelevant to the theorem, which says nothing about them, and that is why your statement is incorrect. ? Ron On 2 Aug 2022, at 15:47, Alex Otenko > wrote: I don't know what you find incorrect about the statement that queue wait is included in Little's law. 66.6667 requests per second processed by a single thread, spending 10ms on each request. Little's law says that in this case concurrency is 2. Surely it means that the requests in the queue are included in concurrency? Alex On Tue, 2 Aug 2022, 12:04 Ron Pressler, > wrote: I?m afraid that is incorrect and, indeed, quite harmful to understanding how Little?s law has been used to size systems for decades. Little?s law refers to some unit, like ?request? or ?customer?, and also some boundary of a ?store? or ?server? where the request can be either inside or outside. The definition of what?s inside and outside are arbitrary, and the law obviously works for any such definition. W is the latency that the ?request? spends ?inside.? So, for example, suppose the system is a shop and customers are the unit. If a customer spends an average of 6 minutes *inside* the shop (so L = 0.1 hr) and customers arrive at an average rate of 100 per hour (= ?), then L = 100*0.1 = 10 is the average concurrency, namely the number of customers, on average, inside the shop. If the shop has a capacity for fewer than 10 customers, then the system will be ?unstable?, meaning that a queue will form outside that will keep growing indefinitely. If, on the other hand, the shop?s capacity is 10 customers, then the system will be stable. That means that no matter what the distribution of customer arrival is, queues that form outside will not grow without bound. A capacity of 10 is enough. Now, inside the shop there could be clerks, and each of them could be treated as another system serving customers (with a concurrent capacity of 1), and we could then apply the theorem to each of them separately, where ?inside? means being served, and ?outside? is the queue forming to be served by the clerk inside the shop. Wherever you draw your boundaries between inside and outside, and whatever the unit of work is, the law tells us which system or subsystem is stable and which isn?t. And now back to software. If our server is thread-per-request, that means that a request (our unit) consumes a thread for its entire duration of being served by our system, and so ?inside? means from the moment a request gets its thread, and ?outside? means anything prior to that. It could be some queue in the software, it could be some queue in the network stack, memory in the network card, and even a virtual queue of users whose requests might be rejected and keep retrying ? it doesn?t matter. If the capacity of ?inside? the server ? which, in this case means the maximum number of threads because the number of requests ?inside? such a system cannot be any greater than the number of threads (or possibly lower due to other limits) ? is at or above L, then the system will be stable, meaning that all queues, real or virtual, forming anywhere in software hardware or ?in the world?, will not grow without bounds. Indeed, this is how and why most Java servers work today. Most of them are thread-per-request, and most of them use a fixed thread-pool of size X, meaning that no more than X requests can be ?inside? at any one time. But if X is equal to or greater than L, then the server will not become overloaded indefinitely and will manage to serve all requests. It does not mean that no requests will ever be rejected, but it does mean that the server will carry out its work satisfactorily for an indefinite duration. Whether or not a server is thread-per-request, wherever you define the boundary of ?inside?, there can only be some bounded capacity for concurrent requests ?inside?, and some real or virtual queue forming outside. The theorem absolutely does not mean that in order to perform in this manner the network buffers or internal queue must be of unlimited capacity (which they can never be). In fact, even if there are no software/hardware buffers at all and a request is rejected if all threads are busy, we know that the number of people waiting retrying because their requests are rejected will not grow without bound. Implementing buffers in software or hardware mean that some of the queue will be automatically managed by a digital machine, and could improve momentary user-experience, but whatever its size limit is, the number of units waiting ?outside? in all queues ? virtual or digital ? is unaffected by where the queue is, will grow indefinitely if the capacity ?inside? is below L, and will not grow indefinitely if the capacity inside is L or above. That is why servers work, and that is why they work exactly as mathematical theorems tell us they must. ? Ron On 2 Aug 2022, at 08:34, Alex Otenko > wrote: Hi Ron, The "maximum capacity for concurrent requests" statement uses "concurrent" in the sense of Java threads. Little's law counts queued requests as "concurrent", too. Then assuming queue can be arbitrarily large, we can't have a finite max capacity for concurrent requests. Alex On Sun, 31 Jul 2022, 17:38 Ron Pressler, > wrote: A thread-per-request server under an average load 100req/s and an average request processing duration of 10ms will not destabilise if it can have no more than 10 threads, where ?destabilise? means that the queue grows indefinitely. I.e. in a a stable system is defined as one where queues do not grow indefinitely. While it is true that for any queue size there is some shrinking though non-zero probability that it might be reached, it is absolutely unrelated to the server being thread-per-request. However it is that you choose to represent a request, if your maximum capacity for concurrent requests is at or above L, the system will be stable. ? Ron On 31 Jul 2022, at 13:27, Alex Otenko > wrote: Hi Ron, I am glad you mentioned this visualisation experiment. That's the sort of experiment I proposed (and done) what seems like a week ago. You may find some unintuitive things coming from this experiment, since you called them untrue. Alex On Fri, 29 Jul 2022, 14:53 Ron Pressler, > wrote: BTW, the easiest way to visualise the temporary discrepancies between the averages in Little?s law and instantaneous behaviour is to think of the queue forming at the entry to the system. If the system is unstable (i.e. the equation doesn?t hold), the queue will grow without bounds. If it is stable, it can momentarily grow but will then shrink as we regress to the mean. So suppose ? = 100 and W = 1/20, and therefore the average concurrency 5. If the *maximum* capacity for concurrent operations is also 5 (e.g we have a thread-per-request server that uses just one thread per request and the maximum number of threads we can support is 5), then if the rate of requests momentarily rises above 100 then the queue will grow, but will eventually shrink when the rate drops below 100 (as it must). So if our throughput/rate-of-requests is expected to not exceed 100, we should be fine supporting just 5 threads. To get a feel that this actually works, consider that the world?s most popular thread-per-request servers already work in exactly this way. Rather than spawning a brand new thread for every request, they borrow one from a pool. The pool is normally fixed and set to something like a few hundred threads by default. They work fine as long as their throughput doesn?t exceed the maximum expected throughput, where the threads in the pool (or perhaps some other resource) is exhausted. I.e. they do *not* work by allowing for an unbounded number of threads, but a bounded one; they are very much thread-per-request, yet their threads are capped. This does place an upper limit on their throughput, but they work fine until they reach it. Of course, if other resources are exhausted before the pool is depleted, then (fanout aside) lightweight threads aren?t needed. But because there are so many systems where the threads are the resource that?s exhausted first, people invented non-thread-per-request (i.e. asynchronous) servers as well as lightweight threads. ? Ron On 29 Jul 2022, at 00:46, Ron Pressler > wrote: On 28 Jul 2022, at 21:31, Alex Otenko > wrote: Hi Ron, The claim in JEP is the same as in this email thread, so that is not much help. But now I don't need help anymore, because I found the explaination how the thread count, response time, request rate and thread-per-request are connected. Now what makes me bothered about the claims. Little's law connects throughput to concurrency. We agreed it has no connection to thread count. That's a disconnect between the claim about threads and Little's law dictating it. Not really, no. In thread-per-request systems, the number of threads is equal to (or perhaps greater than) the concurrency because that?s the definition of thread-per-request. That?s why we agreed that in thread-per-request systems, Little?s law tells us the (average) number of threads. There's also the assumption that response time remains constant, but that's a mighty assumption - response time changes with thread count. There is absolutely no such assumption. Unless the a rising request rate causes the latency to significantly *drop*, the number of threads will grow. If the latency happens to rise, the number of threads will grow even faster. There's also the claim of needing more threads. That's also not something that follows from thread-per-request. Essentially, thread-per-request is a constructive proof of having an infinite number of threads. How can one want more? Also, from a different angle - the number of threads in the thread-per-request needed does not depend on throughput at all. The average number of requests being processed concurrently is equal to the rate of requests (i.e. throughput) times the average latency. Again, because a thread-per-request system is defined as one that assigns (at least) one thread for every request, the number of threads is therefore proportional to the throughput (as long as the system is stable). Just consider what the request rate means. It means that if you choose however small time frame, and however large request count, there is a nonzero probability that it will happen. Consequently the number of threads needed is arbitrarily large for any throughput. Little?s theorem is about *long-term average* concurrency, latency and throughput, and it is interesting precisely because it holds regardless of the distribution of the requests. Which is just another way to say that the number of threads is effectively infinite and there is no point trying to connect it to Little's law. I don?t understand what that means. A mathematical theorem about some quantity (again the theorem is about concurrency, but we *define* a thread-per-request system to be one where the number of threads is equal to (or greater than) the concurrency) is true whether you think there?s a point to it or not. The (average) number of threads is obviously not infinite, but equal to the throughput times latency (assuming just one thread per request). Since Little?s law has been effectively used to size sever systems for decades, and so obviously there?s also a very practical point to understanding it. Request rate doesn't change the number of threads that can exist at any given time The (average) number of threads in a thread-per-request system rises proportionately with the (average) throughput. We?re not talking about the number of threads that *can* exist, but the number of threads that *do* exist (on average, of course). The number of threads that *can* exist puts a bound on the number of threads that *do* exist, and so on maximum throughput. it only changes the probability of observing any particular number of them in a fixed period of time. It changes their (average) number. You can start any thread-per-request server increase the load and see for yourself (if the server uses a pool, you?ll see an increase not in live threads but in non-idle threads, but it?s the same thing). All this is only criticism of the formal mathematical claims made here and in the JEP. Nothing needs doing, if no one is interested in formal claims being perfect. The claims, however, were written with care for precision, while your reading of them is not only imprecise and at times incorrect, but may lead people to misunderstand how concurrent systems behave. Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From oleksandr.otenko at gmail.com Tue Aug 2 19:53:26 2022 From: oleksandr.otenko at gmail.com (Alex Otenko) Date: Tue, 2 Aug 2022 20:53:26 +0100 Subject: [External] : Re: jstack, profilers and other tools In-Reply-To: <45A239DF-AAF4-4477-9194-FE897B294182@oracle.com> References: <0375A98B-1430-4E70-AEBF-A802F4F5DE7E@oracle.com> <46BC2612-85AE-4C07-8F53-16D45961EA50@oracle.com> <96277389-755D-4A12-88CF-B40D3BDAEC0B@oracle.com> <45A239DF-AAF4-4477-9194-FE897B294182@oracle.com> Message-ID: I think you have two different meanings of thread-per-request. What most people write, is a pool of threads with a queue. Then you also have a different notion where thread-per-request really creates a new thread for every request as and when they arrive. It's hard to follow which one you mean when. I understand that when you propose to draw a line on the other side of the queue you can describe what happens to requests. But because you vigorously objected to including the queue wait, I want to see how the description of the system changes if I add more threads. If there is no way to distinguish the two (one thread vs two threads), I'll be inclined to use a description where I can see the difference - for example, the description of the system where queue wait is included. I see no harm in that, only clarity. As for sizing - there are formulas that appear very similar to Little's law, but it is made explicit what time is used there, so there really is no confusion. For example, arrival_rate/departure_rate_per_thread tells you how many threads you need "without" Little's law. (In quotes, because 1/departure_rate_per_thread is really the time it takes one thread to process one request - queue wait conveniently left out) Alex On Tue, 2 Aug 2022, 20:20 Ron Pressler, wrote: > I?m not sure I understand the question. If you mean to ask what the > theorem says about threads, then it says nothing directly, just as it says > nothing about the number of clerks or the square footage of a shop even > though those are sized using it. > > The maths tells you how many units will be concurrently inside your system > on average: L. You then use the knowledge about the units and the resources > they consume to draw conclusions. E.g. you?d need to know how much area > each customer in the shop needs to know how big it should be. In the case > of servers, you?d need to know how much CPU, RAM and network bandwidth each > request requires on average, as well as how many OS resources, such as file > descriptors and threads. > > If you know that the server you?re making will be thread-per-request, then > you know that whatever other resources a request might consume, every > request will consume at least one thread, so you know you?d need to be able > to have at least L concurrent threads. If you choose to write your server > in some other way, where the relationship between threads and requests is > not as simple, you can do the same reasoning on whatever construct it is > that you use to represent an async request. If it?s, say, a > CompletableFuture, you know you?ll need to have the capacity for at least L > CompletableFutures. > > Now, because many people want to write thread-per-request servers ? for > aesthetic reasons as well as because that?s the only design that is in > harmony with the way the Java platform is designed ? and because it?s been > empirically established that the capacity of the CPU, RAM, network > bandwidth and file descriptors often allows many real-world servers to > easily contain tens or even hundreds of thousands of concurrent requests. > In asynchronous servers, the capacity for CompletableFutures easily matches > that of the other resources, and so such servers can make optimal use of > available resources at the cost of using a design that isn?t very friendly > to Java. But to support making optimal use of all other resources in > thread-per-request servers, the number of threads that you can support > needs to be as high, and that is why virtual threads are needed in > thread-per-request servers. > > In fact, in many thread-per-request servers a requests doesn?t consume > just one thread, but several times that (could be as high as 50 or more), > the number of threads might need to be 50L. > > ? Ron > > On 2 Aug 2022, at 19:58, Alex Otenko wrote: > > How does this view allow to distinguish the behaviour of the system with 1 > thread vs 2 threads? (Same condition: 66.6667 req/s, 1/100s for each > request) > > > Alex > > On Tue, 2 Aug 2022, 17:29 Ron Pressler, wrote: > >> P.S. >> >> To complete the story, let?s get back to thread-per-request servers with >> a fixed thread-pools ? like the majority of Java servers today. >> >> We consider a request to be inside the system once it?s been assigned its >> own thread, and W the amount of time it hangs on to that thread. If the >> size of the pool is equal to or greater than L, then the queue formed >> ?outside" will not grow indefinitely. That queue is the amalgamation of any >> queue you have in the software, network buffers, and requests that are >> denied and retried. However big *or small* you choose to make the capacity >> of your software queue ? it can be as large as a billion elements and as >> small as zero ? the size of that queue amalgam will not grow without bounds >> and the system will remain stable, i.e. the number of people waiting to be >> served will not grow indefinitely. >> >> Of course, if we increase the capacity of software queue, the user >> experience could be better as more of that queue amalgam will be handled >> automatically and fairly (in a scheduling sense), rather than by retries. >> >> So quite the opposite of needing a software queue of unbounded capacity >> used before assigning the thread ? *any* capacity of software queue would >> do if the system is stable, even of size zero, although a very small queue >> might increase the number of rejected requests and retries (although not >> without bound because the system is stable) which is less pleasant. >> >> ? Ron >> >> On 2 Aug 2022, at 17:05, Ron Pressler wrote: >> >> You choose to draw the boundary of your system wherever you like. W is >> equal to the average amount of time a request spends *inside* the boundary, >> L is the average number of requests being concurrently *inside*, and the >> queue (and there is always one, whether it exists as some software or >> hardware construct or not) that is implicit in the definition of stability >> is always *outside*. >> >> If you choose to draw the boundaries of the system as those of a bank >> branch, then L will be equal to the average number of customers inside the >> branch, and stability will refer to the queue that might form *outside*. It >> doesn?t care if there are also queues inside the branch or not. If, on the >> other hand, you choose to draw the boundaries such that the clerk?s counter >> is the ?inside? then the implicit queue will, as always, be the one >> ?outside?, even though it?s inside the bank. >> >> So the question whether the elements in a certain software queue are >> included in L or not depend on where you choose to draw the boundary. So, >> if you have 67 req/s (I don?t see how the number of threads is relevant, as >> you haven?t specified how threads are assigned to requests) and each spends >> 1/100 s inside your system?s chosen boundaries, then there will be an >> average of 0.67 requests inside your system concurrently. So, if your >> system is capable of handling 1 request at a time, there will not form a >> queue outside it that grows indefinitely. >> >> So the stability of your system always refers to a queue that?s outside >> it, and is agnostic to any queues that are inside it and part of its >> internal working, although the theorem could be applied to them as well. W >> and L always refer to the behaviour inside, and don't include number of >> requests or durations spent in the queue outside. >> >> In short, the implicit queue whose stability the theorem talks about is >> always outside the system to which the formula refers, whereas the question >> of which ?physical? queues you want to put inside the boundaries of the >> system is completely irrelevant to the theorem, which says nothing about >> them, and that is why your statement is incorrect. >> >> ? Ron >> >> On 2 Aug 2022, at 15:47, Alex Otenko wrote: >> >> I don't know what you find incorrect about the statement that queue wait >> is included in Little's law. >> >> 66.6667 requests per second processed by a single thread, spending 10ms >> on each request. Little's law says that in this case concurrency is 2. >> Surely it means that the requests in the queue are included in concurrency? >> >> >> Alex >> >> On Tue, 2 Aug 2022, 12:04 Ron Pressler, wrote: >> >>> I?m afraid that is incorrect and, indeed, quite harmful to understanding >>> how Little?s law has been used to size systems for decades. >>> >>> Little?s law refers to some unit, like ?request? or ?customer?, and also >>> some boundary of a ?store? or ?server? where the request can be either >>> inside or outside. The definition of what?s inside and outside are >>> arbitrary, and the law obviously works for any such definition. W is the >>> latency that the ?request? spends ?inside.? >>> >>> So, for example, suppose the system is a shop and customers are the >>> unit. If a customer spends an average of 6 minutes *inside* the shop (so L >>> = 0.1 hr) and customers arrive at an average rate of 100 per hour (= ?), >>> then L = 100*0.1 = 10 is the average concurrency, namely the number of >>> customers, on average, inside the shop. >>> >>> If the shop has a capacity for fewer than 10 customers, then the system >>> will be ?unstable?, meaning that a queue will form outside that will keep >>> growing indefinitely. If, on the other hand, the shop?s capacity is 10 >>> customers, then the system will be stable. That means that no matter what >>> the distribution of customer arrival is, queues that form outside will not >>> grow without bound. A capacity of 10 is enough. >>> >>> Now, inside the shop there could be clerks, and each of them could be >>> treated as another system serving customers (with a concurrent capacity of >>> 1), and we could then apply the theorem to each of them separately, where >>> ?inside? means being served, and ?outside? is the queue forming to be >>> served by the clerk inside the shop. >>> >>> Wherever you draw your boundaries between inside and outside, and >>> whatever the unit of work is, the law tells us which system or subsystem is >>> stable and which isn?t. >>> >>> And now back to software. If our server is thread-per-request, that >>> means that a request (our unit) consumes a thread for its entire duration >>> of being served by our system, and so ?inside? means from the moment a >>> request gets its thread, and ?outside? means anything prior to that. It >>> could be some queue in the software, it could be some queue in the network >>> stack, memory in the network card, and even a virtual queue of users whose >>> requests might be rejected and keep retrying ? it doesn?t matter. If the >>> capacity of ?inside? the server ? which, in this case means the maximum >>> number of threads because the number of requests ?inside? such a system >>> cannot be any greater than the number of threads (or possibly lower due to >>> other limits) ? is at or above L, then the system will be stable, meaning >>> that all queues, real or virtual, forming anywhere in software hardware or >>> ?in the world?, will not grow without bounds. >>> >>> Indeed, this is how and why most Java servers work today. Most of them >>> are thread-per-request, and most of them use a fixed thread-pool of size X, >>> meaning that no more than X requests can be ?inside? at any one time. But >>> if X is equal to or greater than L, then the server will not become >>> overloaded indefinitely and will manage to serve all requests. It does not >>> mean that no requests will ever be rejected, but it does mean that the >>> server will carry out its work satisfactorily for an indefinite duration. >>> >>> Whether or not a server is thread-per-request, wherever you define the >>> boundary of ?inside?, there can only be some bounded capacity for >>> concurrent requests ?inside?, and some real or virtual queue forming >>> outside. >>> >>> The theorem absolutely does not mean that in order to perform in this >>> manner the network buffers or internal queue must be of unlimited capacity >>> (which they can never be). In fact, even if there are no software/hardware >>> buffers at all and a request is rejected if all threads are busy, we know >>> that the number of people waiting retrying because their requests are >>> rejected will not grow without bound. Implementing buffers in software or >>> hardware mean that some of the queue will be automatically managed by a >>> digital machine, and could improve momentary user-experience, but whatever >>> its size limit is, the number of units waiting ?outside? in all queues ? >>> virtual or digital ? is unaffected by where the queue is, will grow >>> indefinitely if the capacity ?inside? is below L, and will not grow >>> indefinitely if the capacity inside is L or above. >>> >>> That is why servers work, and that is why they work exactly as >>> mathematical theorems tell us they must. >>> >>> ? Ron >>> >>> >>> >>> >>> >>> On 2 Aug 2022, at 08:34, Alex Otenko wrote: >>> >>> Hi Ron, >>> >>> The "maximum capacity for concurrent requests" statement uses >>> "concurrent" in the sense of Java threads. Little's law counts queued >>> requests as "concurrent", too. Then assuming queue can be arbitrarily >>> large, we can't have a finite max capacity for concurrent requests. >>> >>> >>> Alex >>> >>> On Sun, 31 Jul 2022, 17:38 Ron Pressler, >>> wrote: >>> >>>> A thread-per-request server under an average load 100req/s and an >>>> average request processing duration of 10ms will not destabilise if it can >>>> have no more than 10 threads, where ?destabilise? means that the queue >>>> grows indefinitely. I.e. in a a stable system is defined as one where >>>> queues do not grow indefinitely. >>>> >>>> While it is true that for any queue size there is some shrinking though >>>> non-zero probability that it might be reached, it is absolutely unrelated >>>> to the server being thread-per-request. However it is that you choose to >>>> represent a request, if your maximum capacity for concurrent requests is at >>>> or above L, the system will be stable. >>>> >>>> ? Ron >>>> >>>> On 31 Jul 2022, at 13:27, Alex Otenko >>>> wrote: >>>> >>>> Hi Ron, >>>> >>>> I am glad you mentioned this visualisation experiment. That's the sort >>>> of experiment I proposed (and done) what seems like a week ago. You may >>>> find some unintuitive things coming from this experiment, since you called >>>> them untrue. >>>> >>>> >>>> Alex >>>> >>>> On Fri, 29 Jul 2022, 14:53 Ron Pressler, >>>> wrote: >>>> >>>>> >>>>> BTW, the easiest way to visualise the temporary discrepancies between >>>>> the averages in Little?s law and instantaneous behaviour is to think of the >>>>> queue forming at the entry to the system. >>>>> >>>>> If the system is unstable (i.e. the equation doesn?t hold), the queue >>>>> will grow without bounds. If it is stable, it can momentarily grow but will >>>>> then shrink as we regress to the mean. So suppose ? = 100 and W = 1/20, and >>>>> therefore the average concurrency 5. If the *maximum* capacity for >>>>> concurrent operations is also 5 (e.g we have a thread-per-request server >>>>> that uses just one thread per request and the maximum number of threads we >>>>> can support is 5), then if the rate of requests momentarily rises above 100 >>>>> then the queue will grow, but will eventually shrink when the rate drops >>>>> below 100 (as it must). >>>>> >>>>> So if our throughput/rate-of-requests is expected to not exceed 100, >>>>> we should be fine supporting just 5 threads. To get a feel that this >>>>> actually works, consider that the world?s most popular thread-per-request >>>>> servers already work in exactly this way. Rather than spawning a brand new >>>>> thread for every request, they borrow one from a pool. The pool is normally >>>>> fixed and set to something like a few hundred threads by default. They work >>>>> fine as long as their throughput doesn?t exceed the maximum expected >>>>> throughput, where the threads in the pool (or perhaps some other resource) >>>>> is exhausted. I.e. they do *not* work by allowing for an unbounded number >>>>> of threads, but a bounded one; they are very much thread-per-request, yet >>>>> their threads are capped. This does place an upper limit on their >>>>> throughput, but they work fine until they reach it. >>>>> >>>>> Of course, if other resources are exhausted before the pool is >>>>> depleted, then (fanout aside) lightweight threads aren?t needed. But >>>>> because there are so many systems where the threads are the resource that?s >>>>> exhausted first, people invented non-thread-per-request (i.e. asynchronous) >>>>> servers as well as lightweight threads. >>>>> >>>>> ? Ron >>>>> >>>>> On 29 Jul 2022, at 00:46, Ron Pressler >>>>> wrote: >>>>> >>>>> >>>>> >>>>> On 28 Jul 2022, at 21:31, Alex Otenko >>>>> wrote: >>>>> >>>>> Hi Ron, >>>>> >>>>> The claim in JEP is the same as in this email thread, so that is not >>>>> much help. But now I don't need help anymore, because I found the >>>>> explaination how the thread count, response time, request rate and >>>>> thread-per-request are connected. >>>>> >>>>> Now what makes me bothered about the claims. >>>>> >>>>> Little's law connects throughput to concurrency. We agreed it has no >>>>> connection to thread count. That's a disconnect between the claim about >>>>> threads and Little's law dictating it. >>>>> >>>>> >>>>> Not really, no. In thread-per-request systems, the number of threads >>>>> is equal to (or perhaps greater than) the concurrency because that?s the >>>>> definition of thread-per-request. That?s why we agreed that in >>>>> thread-per-request systems, Little?s law tells us the (average) number of >>>>> threads. >>>>> >>>>> >>>>> There's also the assumption that response time remains constant, but >>>>> that's a mighty assumption - response time changes with thread count. >>>>> >>>>> >>>>> There is absolutely no such assumption. Unless the a rising request >>>>> rate causes the latency to significantly *drop*, the number of threads will >>>>> grow. If the latency happens to rise, the number of threads will grow even >>>>> faster. >>>>> >>>>> >>>>> There's also the claim of needing more threads. That's also not >>>>> something that follows from thread-per-request. Essentially, >>>>> thread-per-request is a constructive proof of having an infinite number of >>>>> threads. How can one want more? Also, from a different angle - the number >>>>> of threads in the thread-per-request needed does not depend on throughput >>>>> at all. >>>>> >>>>> >>>>> The average number of requests being processed concurrently is equal >>>>> to the rate of requests (i.e. throughput) times the average latency. Again, >>>>> because a thread-per-request system is defined as one that assigns (at >>>>> least) one thread for every request, the number of threads is therefore >>>>> proportional to the throughput (as long as the system is stable). >>>>> >>>>> >>>>> Just consider what the request rate means. It means that if you choose >>>>> however small time frame, and however large request count, there is a >>>>> nonzero probability that it will happen. Consequently the number of threads >>>>> needed is arbitrarily large for any throughput. >>>>> >>>>> >>>>> Little?s theorem is about *long-term average* concurrency, latency and >>>>> throughput, and it is interesting precisely because it holds regardless of >>>>> the distribution of the requests. >>>>> >>>>> Which is just another way to say that the number of threads is >>>>> effectively infinite and there is no point trying to connect it to Little's >>>>> law. >>>>> >>>>> >>>>> I don?t understand what that means. A mathematical theorem about some >>>>> quantity (again the theorem is about concurrency, but we *define* a >>>>> thread-per-request system to be one where the number of threads is equal to >>>>> (or greater than) the concurrency) is true whether you think there?s a >>>>> point to it or not. The (average) number of threads is obviously not >>>>> infinite, but equal to the throughput times latency (assuming just one >>>>> thread per request). >>>>> >>>>> Since Little?s law has been effectively used to size sever systems for >>>>> decades, and so obviously there?s also a very practical point to >>>>> understanding it. >>>>> >>>>> Request rate doesn't change the number of threads that can exist at >>>>> any given time >>>>> >>>>> >>>>> The (average) number of threads in a thread-per-request system rises >>>>> proportionately with the (average) throughput. We?re not talking about the >>>>> number of threads that *can* exist, but the number of threads that *do* >>>>> exist (on average, of course). The number of threads that *can* exist puts >>>>> a bound on the number of threads that *do* exist, and so on maximum >>>>> throughput. >>>>> >>>>> it only changes the probability of observing any particular number of >>>>> them in a fixed period of time. >>>>> >>>>> >>>>> It changes their (average) number. You can start any >>>>> thread-per-request server increase the load and see for yourself (if the >>>>> server uses a pool, you?ll see an increase not in live threads but in >>>>> non-idle threads, but it?s the same thing). >>>>> >>>>> >>>>> All this is only criticism of the formal mathematical claims made here >>>>> and in the JEP. Nothing needs doing, if no one is interested in formal >>>>> claims being perfect. >>>>> >>>>> >>>>> The claims, however, were written with care for precision, while your >>>>> reading of them is not only imprecise and at times incorrect, but may lead >>>>> people to misunderstand how concurrent systems behave. >>>>> >>>>> >>>>> >>>>> Alex >>>>> >>>>> >>>> >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ron.pressler at oracle.com Tue Aug 2 20:56:57 2022 From: ron.pressler at oracle.com (Ron Pressler) Date: Tue, 2 Aug 2022 20:56:57 +0000 Subject: [External] : Re: jstack, profilers and other tools In-Reply-To: References: <0375A98B-1430-4E70-AEBF-A802F4F5DE7E@oracle.com> <46BC2612-85AE-4C07-8F53-16D45961EA50@oracle.com> <96277389-755D-4A12-88CF-B40D3BDAEC0B@oracle.com> <45A239DF-AAF4-4477-9194-FE897B294182@oracle.com> Message-ID: On 2 Aug 2022, at 20:53, Alex Otenko > wrote: I think you have two different meanings of thread-per-request. What most people write, is a pool of threads with a queue. Then you also have a different notion where thread-per-request really creates a new thread for every request as and when they arrive. It's hard to follow which one you mean when. All of these definitions amount to the exact same result in this context and you can use them interchangeably. We define it to mean a server where a request consumes at least one thread exclusively for the entire time it is being processed. We get the exact same result for servers that obtain a thread from a pool to service a request, and implement a queue in the software where the requests wait before being assigned to a thread. Why? Because the easiest way to see what happens is to still consider the system?s boundary from the moment a thread is assigned, and so W is the time spent *in the thread* (excluding the queue), and then a mathematical theorem tells us what happens in the queue: no matter the queue?s capacity ? a zero or ten billion ? if we have sufficient threads "inside", then we know that the total numbers of requests that have to wait outside, whether they are Java objects in that queue, bytes in the network buffer, or people clicking refresh ? their total number will not grow indefinitely, and so the behaviour of our server will be stable. I understand that when you propose to draw a line on the other side of the queue you can describe what happens to requests. But because you vigorously objected to including the queue wait, I want to see how the description of the system changes if I add more threads. If there is no way to distinguish the two (one thread vs two threads), I'll be inclined to use a description where I can see the difference - for example, the description of the system where queue wait is included. I see no harm in that, only clarity. First, whichever queue you include in the system, the one that Little?s law applies to with respect to stability is not that one. Again, an unstable system where the formula doesn?t hold will have a queue forming (regardless of whether it is implemented digitally or not) *outside* of it. Therefore, Little?s law always teaches us something about a queue outside whatever system we delineate. If you choose to describe a system that contains an internal queue (which, therefore, will not be the queue that defines stability), then if requests wait in that queue, then those requests ? which are not represented by threads ? will be counted toward L, as they?re inside. Second, I think I must have repeated the sentence ?no one is talking about adding threads? in this discussion at least five times. I don?t care what happens when you add more threads (beyond what?s needed, that is), because the number of threads in the servers I?m interested in is dictated by how many requests you have and what they?re doing; i.e. it is a user-facing construct, not a feature of the system?s internal design. You get one thread for the request, and then one for each outgoing I/O operation or something along those lines. I.e. you have as many threads as you need; any fewer and you become unstable, and what would it even mean to add threads to such a system beyond of what it needs? When threads are used in this way, the question of ?what happens when you add more? makes as much sense as asking ?what happens when you add more strings?? The question that is of interest to me in this context is how can that kind of server make optimal use of the hardware, and the kind of feedback we?re looking for is of the kind, ?I?ve written a thread-per-request server using virtual threads; here?s what went well and what didn?t." As for sizing - there are formulas that appear very similar to Little's law, but it is made explicit what time is used there, so there really is no confusion. For example, arrival_rate/departure_rate_per_thread tells you how many threads you need "without" Little's law. (In quotes, because 1/departure_rate_per_thread is really the time it takes one thread to process one request - queue wait conveniently left out) I don?t see any confusion about this theorem, it is very widely used in many areas of system design ? both in software as well as operations research ? and that is the theorem I use to explain the need for virtual threads, as I find it simple and instructive. But if other formulas suit your needs better, use those. ? Ron Alex On Tue, 2 Aug 2022, 20:20 Ron Pressler, > wrote: I?m not sure I understand the question. If you mean to ask what the theorem says about threads, then it says nothing directly, just as it says nothing about the number of clerks or the square footage of a shop even though those are sized using it. The maths tells you how many units will be concurrently inside your system on average: L. You then use the knowledge about the units and the resources they consume to draw conclusions. E.g. you?d need to know how much area each customer in the shop needs to know how big it should be. In the case of servers, you?d need to know how much CPU, RAM and network bandwidth each request requires on average, as well as how many OS resources, such as file descriptors and threads. If you know that the server you?re making will be thread-per-request, then you know that whatever other resources a request might consume, every request will consume at least one thread, so you know you?d need to be able to have at least L concurrent threads. If you choose to write your server in some other way, where the relationship between threads and requests is not as simple, you can do the same reasoning on whatever construct it is that you use to represent an async request. If it?s, say, a CompletableFuture, you know you?ll need to have the capacity for at least L CompletableFutures. Now, because many people want to write thread-per-request servers ? for aesthetic reasons as well as because that?s the only design that is in harmony with the way the Java platform is designed ? and because it?s been empirically established that the capacity of the CPU, RAM, network bandwidth and file descriptors often allows many real-world servers to easily contain tens or even hundreds of thousands of concurrent requests. In asynchronous servers, the capacity for CompletableFutures easily matches that of the other resources, and so such servers can make optimal use of available resources at the cost of using a design that isn?t very friendly to Java. But to support making optimal use of all other resources in thread-per-request servers, the number of threads that you can support needs to be as high, and that is why virtual threads are needed in thread-per-request servers. In fact, in many thread-per-request servers a requests doesn?t consume just one thread, but several times that (could be as high as 50 or more), the number of threads might need to be 50L. ? Ron On 2 Aug 2022, at 19:58, Alex Otenko > wrote: How does this view allow to distinguish the behaviour of the system with 1 thread vs 2 threads? (Same condition: 66.6667 req/s, 1/100s for each request) Alex On Tue, 2 Aug 2022, 17:29 Ron Pressler, > wrote: P.S. To complete the story, let?s get back to thread-per-request servers with a fixed thread-pools ? like the majority of Java servers today. We consider a request to be inside the system once it?s been assigned its own thread, and W the amount of time it hangs on to that thread. If the size of the pool is equal to or greater than L, then the queue formed ?outside" will not grow indefinitely. That queue is the amalgamation of any queue you have in the software, network buffers, and requests that are denied and retried. However big *or small* you choose to make the capacity of your software queue ? it can be as large as a billion elements and as small as zero ? the size of that queue amalgam will not grow without bounds and the system will remain stable, i.e. the number of people waiting to be served will not grow indefinitely. Of course, if we increase the capacity of software queue, the user experience could be better as more of that queue amalgam will be handled automatically and fairly (in a scheduling sense), rather than by retries. So quite the opposite of needing a software queue of unbounded capacity used before assigning the thread ? *any* capacity of software queue would do if the system is stable, even of size zero, although a very small queue might increase the number of rejected requests and retries (although not without bound because the system is stable) which is less pleasant. ? Ron On 2 Aug 2022, at 17:05, Ron Pressler > wrote: You choose to draw the boundary of your system wherever you like. W is equal to the average amount of time a request spends *inside* the boundary, L is the average number of requests being concurrently *inside*, and the queue (and there is always one, whether it exists as some software or hardware construct or not) that is implicit in the definition of stability is always *outside*. If you choose to draw the boundaries of the system as those of a bank branch, then L will be equal to the average number of customers inside the branch, and stability will refer to the queue that might form *outside*. It doesn?t care if there are also queues inside the branch or not. If, on the other hand, you choose to draw the boundaries such that the clerk?s counter is the ?inside? then the implicit queue will, as always, be the one ?outside?, even though it?s inside the bank. So the question whether the elements in a certain software queue are included in L or not depend on where you choose to draw the boundary. So, if you have 67 req/s (I don?t see how the number of threads is relevant, as you haven?t specified how threads are assigned to requests) and each spends 1/100 s inside your system?s chosen boundaries, then there will be an average of 0.67 requests inside your system concurrently. So, if your system is capable of handling 1 request at a time, there will not form a queue outside it that grows indefinitely. So the stability of your system always refers to a queue that?s outside it, and is agnostic to any queues that are inside it and part of its internal working, although the theorem could be applied to them as well. W and L always refer to the behaviour inside, and don't include number of requests or durations spent in the queue outside. In short, the implicit queue whose stability the theorem talks about is always outside the system to which the formula refers, whereas the question of which ?physical? queues you want to put inside the boundaries of the system is completely irrelevant to the theorem, which says nothing about them, and that is why your statement is incorrect. ? Ron On 2 Aug 2022, at 15:47, Alex Otenko > wrote: I don't know what you find incorrect about the statement that queue wait is included in Little's law. 66.6667 requests per second processed by a single thread, spending 10ms on each request. Little's law says that in this case concurrency is 2. Surely it means that the requests in the queue are included in concurrency? Alex On Tue, 2 Aug 2022, 12:04 Ron Pressler, > wrote: I?m afraid that is incorrect and, indeed, quite harmful to understanding how Little?s law has been used to size systems for decades. Little?s law refers to some unit, like ?request? or ?customer?, and also some boundary of a ?store? or ?server? where the request can be either inside or outside. The definition of what?s inside and outside are arbitrary, and the law obviously works for any such definition. W is the latency that the ?request? spends ?inside.? So, for example, suppose the system is a shop and customers are the unit. If a customer spends an average of 6 minutes *inside* the shop (so L = 0.1 hr) and customers arrive at an average rate of 100 per hour (= ?), then L = 100*0.1 = 10 is the average concurrency, namely the number of customers, on average, inside the shop. If the shop has a capacity for fewer than 10 customers, then the system will be ?unstable?, meaning that a queue will form outside that will keep growing indefinitely. If, on the other hand, the shop?s capacity is 10 customers, then the system will be stable. That means that no matter what the distribution of customer arrival is, queues that form outside will not grow without bound. A capacity of 10 is enough. Now, inside the shop there could be clerks, and each of them could be treated as another system serving customers (with a concurrent capacity of 1), and we could then apply the theorem to each of them separately, where ?inside? means being served, and ?outside? is the queue forming to be served by the clerk inside the shop. Wherever you draw your boundaries between inside and outside, and whatever the unit of work is, the law tells us which system or subsystem is stable and which isn?t. And now back to software. If our server is thread-per-request, that means that a request (our unit) consumes a thread for its entire duration of being served by our system, and so ?inside? means from the moment a request gets its thread, and ?outside? means anything prior to that. It could be some queue in the software, it could be some queue in the network stack, memory in the network card, and even a virtual queue of users whose requests might be rejected and keep retrying ? it doesn?t matter. If the capacity of ?inside? the server ? which, in this case means the maximum number of threads because the number of requests ?inside? such a system cannot be any greater than the number of threads (or possibly lower due to other limits) ? is at or above L, then the system will be stable, meaning that all queues, real or virtual, forming anywhere in software hardware or ?in the world?, will not grow without bounds. Indeed, this is how and why most Java servers work today. Most of them are thread-per-request, and most of them use a fixed thread-pool of size X, meaning that no more than X requests can be ?inside? at any one time. But if X is equal to or greater than L, then the server will not become overloaded indefinitely and will manage to serve all requests. It does not mean that no requests will ever be rejected, but it does mean that the server will carry out its work satisfactorily for an indefinite duration. Whether or not a server is thread-per-request, wherever you define the boundary of ?inside?, there can only be some bounded capacity for concurrent requests ?inside?, and some real or virtual queue forming outside. The theorem absolutely does not mean that in order to perform in this manner the network buffers or internal queue must be of unlimited capacity (which they can never be). In fact, even if there are no software/hardware buffers at all and a request is rejected if all threads are busy, we know that the number of people waiting retrying because their requests are rejected will not grow without bound. Implementing buffers in software or hardware mean that some of the queue will be automatically managed by a digital machine, and could improve momentary user-experience, but whatever its size limit is, the number of units waiting ?outside? in all queues ? virtual or digital ? is unaffected by where the queue is, will grow indefinitely if the capacity ?inside? is below L, and will not grow indefinitely if the capacity inside is L or above. That is why servers work, and that is why they work exactly as mathematical theorems tell us they must. ? Ron On 2 Aug 2022, at 08:34, Alex Otenko > wrote: Hi Ron, The "maximum capacity for concurrent requests" statement uses "concurrent" in the sense of Java threads. Little's law counts queued requests as "concurrent", too. Then assuming queue can be arbitrarily large, we can't have a finite max capacity for concurrent requests. Alex On Sun, 31 Jul 2022, 17:38 Ron Pressler, > wrote: A thread-per-request server under an average load 100req/s and an average request processing duration of 10ms will not destabilise if it can have no more than 10 threads, where ?destabilise? means that the queue grows indefinitely. I.e. in a a stable system is defined as one where queues do not grow indefinitely. While it is true that for any queue size there is some shrinking though non-zero probability that it might be reached, it is absolutely unrelated to the server being thread-per-request. However it is that you choose to represent a request, if your maximum capacity for concurrent requests is at or above L, the system will be stable. ? Ron On 31 Jul 2022, at 13:27, Alex Otenko > wrote: Hi Ron, I am glad you mentioned this visualisation experiment. That's the sort of experiment I proposed (and done) what seems like a week ago. You may find some unintuitive things coming from this experiment, since you called them untrue. Alex On Fri, 29 Jul 2022, 14:53 Ron Pressler, > wrote: BTW, the easiest way to visualise the temporary discrepancies between the averages in Little?s law and instantaneous behaviour is to think of the queue forming at the entry to the system. If the system is unstable (i.e. the equation doesn?t hold), the queue will grow without bounds. If it is stable, it can momentarily grow but will then shrink as we regress to the mean. So suppose ? = 100 and W = 1/20, and therefore the average concurrency 5. If the *maximum* capacity for concurrent operations is also 5 (e.g we have a thread-per-request server that uses just one thread per request and the maximum number of threads we can support is 5), then if the rate of requests momentarily rises above 100 then the queue will grow, but will eventually shrink when the rate drops below 100 (as it must). So if our throughput/rate-of-requests is expected to not exceed 100, we should be fine supporting just 5 threads. To get a feel that this actually works, consider that the world?s most popular thread-per-request servers already work in exactly this way. Rather than spawning a brand new thread for every request, they borrow one from a pool. The pool is normally fixed and set to something like a few hundred threads by default. They work fine as long as their throughput doesn?t exceed the maximum expected throughput, where the threads in the pool (or perhaps some other resource) is exhausted. I.e. they do *not* work by allowing for an unbounded number of threads, but a bounded one; they are very much thread-per-request, yet their threads are capped. This does place an upper limit on their throughput, but they work fine until they reach it. Of course, if other resources are exhausted before the pool is depleted, then (fanout aside) lightweight threads aren?t needed. But because there are so many systems where the threads are the resource that?s exhausted first, people invented non-thread-per-request (i.e. asynchronous) servers as well as lightweight threads. ? Ron On 29 Jul 2022, at 00:46, Ron Pressler > wrote: On 28 Jul 2022, at 21:31, Alex Otenko > wrote: Hi Ron, The claim in JEP is the same as in this email thread, so that is not much help. But now I don't need help anymore, because I found the explaination how the thread count, response time, request rate and thread-per-request are connected. Now what makes me bothered about the claims. Little's law connects throughput to concurrency. We agreed it has no connection to thread count. That's a disconnect between the claim about threads and Little's law dictating it. Not really, no. In thread-per-request systems, the number of threads is equal to (or perhaps greater than) the concurrency because that?s the definition of thread-per-request. That?s why we agreed that in thread-per-request systems, Little?s law tells us the (average) number of threads. There's also the assumption that response time remains constant, but that's a mighty assumption - response time changes with thread count. There is absolutely no such assumption. Unless the a rising request rate causes the latency to significantly *drop*, the number of threads will grow. If the latency happens to rise, the number of threads will grow even faster. There's also the claim of needing more threads. That's also not something that follows from thread-per-request. Essentially, thread-per-request is a constructive proof of having an infinite number of threads. How can one want more? Also, from a different angle - the number of threads in the thread-per-request needed does not depend on throughput at all. The average number of requests being processed concurrently is equal to the rate of requests (i.e. throughput) times the average latency. Again, because a thread-per-request system is defined as one that assigns (at least) one thread for every request, the number of threads is therefore proportional to the throughput (as long as the system is stable). Just consider what the request rate means. It means that if you choose however small time frame, and however large request count, there is a nonzero probability that it will happen. Consequently the number of threads needed is arbitrarily large for any throughput. Little?s theorem is about *long-term average* concurrency, latency and throughput, and it is interesting precisely because it holds regardless of the distribution of the requests. Which is just another way to say that the number of threads is effectively infinite and there is no point trying to connect it to Little's law. I don?t understand what that means. A mathematical theorem about some quantity (again the theorem is about concurrency, but we *define* a thread-per-request system to be one where the number of threads is equal to (or greater than) the concurrency) is true whether you think there?s a point to it or not. The (average) number of threads is obviously not infinite, but equal to the throughput times latency (assuming just one thread per request). Since Little?s law has been effectively used to size sever systems for decades, and so obviously there?s also a very practical point to understanding it. Request rate doesn't change the number of threads that can exist at any given time The (average) number of threads in a thread-per-request system rises proportionately with the (average) throughput. We?re not talking about the number of threads that *can* exist, but the number of threads that *do* exist (on average, of course). The number of threads that *can* exist puts a bound on the number of threads that *do* exist, and so on maximum throughput. it only changes the probability of observing any particular number of them in a fixed period of time. It changes their (average) number. You can start any thread-per-request server increase the load and see for yourself (if the server uses a pool, you?ll see an increase not in live threads but in non-idle threads, but it?s the same thing). All this is only criticism of the formal mathematical claims made here and in the JEP. Nothing needs doing, if no one is interested in formal claims being perfect. The claims, however, were written with care for precision, while your reading of them is not only imprecise and at times incorrect, but may lead people to misunderstand how concurrent systems behave. Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From ron.pressler at oracle.com Tue Aug 2 21:31:29 2022 From: ron.pressler at oracle.com (Ron Pressler) Date: Tue, 2 Aug 2022 21:31:29 +0000 Subject: [External] : Re: jstack, profilers and other tools In-Reply-To: References: <0375A98B-1430-4E70-AEBF-A802F4F5DE7E@oracle.com> <46BC2612-85AE-4C07-8F53-16D45961EA50@oracle.com> <96277389-755D-4A12-88CF-B40D3BDAEC0B@oracle.com> <45A239DF-AAF4-4477-9194-FE897B294182@oracle.com> Message-ID: <42C93492-1A12-420E-A6D8-5C9D390AA6C5@oracle.com> Thinking more about my previous response and your question, there?s a point that I think is worth highlighting. We?d like to think of threads not as a resource but as an application construct; not as a piece of infrastructure, but a piece of business logic. Why? Because that?s what Java?s basic design encourages, except it hasn?t been practically feasible for a while. Indeed, what I always say when explaining how to adopt virtual threads is that virtual threads don?t replace platform threads ? they replace tasks. You don?t ask what happens if the application adds more tasks because the question is meaningless. The number of tasks in your application is however much it needs as governed by the application logic; no more, no less. We want the same for threads. The only question is *can* we have as many threads as that (i.e. as many threads as tasks). With virtual threads the answer is yes. ? Ron On 2 Aug 2022, at 21:56, Ron Pressler > wrote: On 2 Aug 2022, at 20:53, Alex Otenko > wrote: I think you have two different meanings of thread-per-request. What most people write, is a pool of threads with a queue. Then you also have a different notion where thread-per-request really creates a new thread for every request as and when they arrive. It's hard to follow which one you mean when. All of these definitions amount to the exact same result in this context and you can use them interchangeably. We define it to mean a server where a request consumes at least one thread exclusively for the entire time it is being processed. We get the exact same result for servers that obtain a thread from a pool to service a request, and implement a queue in the software where the requests wait before being assigned to a thread. Why? Because the easiest way to see what happens is to still consider the system?s boundary from the moment a thread is assigned, and so W is the time spent *in the thread* (excluding the queue), and then a mathematical theorem tells us what happens in the queue: no matter the queue?s capacity ? a zero or ten billion ? if we have sufficient threads "inside", then we know that the total numbers of requests that have to wait outside, whether they are Java objects in that queue, bytes in the network buffer, or people clicking refresh ? their total number will not grow indefinitely, and so the behaviour of our server will be stable. I understand that when you propose to draw a line on the other side of the queue you can describe what happens to requests. But because you vigorously objected to including the queue wait, I want to see how the description of the system changes if I add more threads. If there is no way to distinguish the two (one thread vs two threads), I'll be inclined to use a description where I can see the difference - for example, the description of the system where queue wait is included. I see no harm in that, only clarity. First, whichever queue you include in the system, the one that Little?s law applies to with respect to stability is not that one. Again, an unstable system where the formula doesn?t hold will have a queue forming (regardless of whether it is implemented digitally or not) *outside* of it. Therefore, Little?s law always teaches us something about a queue outside whatever system we delineate. If you choose to describe a system that contains an internal queue (which, therefore, will not be the queue that defines stability), then if requests wait in that queue, then those requests ? which are not represented by threads ? will be counted toward L, as they?re inside. Second, I think I must have repeated the sentence ?no one is talking about adding threads? in this discussion at least five times. I don?t care what happens when you add more threads (beyond what?s needed, that is), because the number of threads in the servers I?m interested in is dictated by how many requests you have and what they?re doing; i.e. it is a user-facing construct, not a feature of the system?s internal design. You get one thread for the request, and then one for each outgoing I/O operation or something along those lines. I.e. you have as many threads as you need; any fewer and you become unstable, and what would it even mean to add threads to such a system beyond of what it needs? When threads are used in this way, the question of ?what happens when you add more? makes as much sense as asking ?what happens when you add more strings?? The question that is of interest to me in this context is how can that kind of server make optimal use of the hardware, and the kind of feedback we?re looking for is of the kind, ?I?ve written a thread-per-request server using virtual threads; here?s what went well and what didn?t." As for sizing - there are formulas that appear very similar to Little's law, but it is made explicit what time is used there, so there really is no confusion. For example, arrival_rate/departure_rate_per_thread tells you how many threads you need "without" Little's law. (In quotes, because 1/departure_rate_per_thread is really the time it takes one thread to process one request - queue wait conveniently left out) I don?t see any confusion about this theorem, it is very widely used in many areas of system design ? both in software as well as operations research ? and that is the theorem I use to explain the need for virtual threads, as I find it simple and instructive. But if other formulas suit your needs better, use those. ? Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: From eric at kolotyluk.net Thu Aug 4 00:33:25 2022 From: eric at kolotyluk.net (eric at kolotyluk.net) Date: Wed, 3 Aug 2022 17:33:25 -0700 Subject: Building Loom from Maven Message-ID: <002801d8a799$cf5d9040$6e18b0c0$@kolotyluk.net> Has anyone had any success using Structured Concurrency from JDK 19? I have the following pom.xml maven-compiler-plugin --source 19 --enable-preview --add-modules jdk.incubator.concurrent But when I try to compile the project, I get [ERROR] /C:/Users/ERIC/Documents/git/loom-lab/laboratory/src/main/java/net/kolotyluk /loom/Structures.java:[3,21] package jdk.incubator.concurrent is not visible [ERROR] (package jdk.incubator.concurrent is declared in module jdk.incubator.concurrent, which is not in the module graph) And I have been trying for over an hour to fix this but cannot find any solutions that work as they all indicate "--add-modules jdk.incubator.concurrent" should work. Cheers, Eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.bjorkstrand at gmail.com Thu Aug 4 03:18:38 2022 From: paul.bjorkstrand at gmail.com (Paul Bjorkstrand) Date: Wed, 3 Aug 2022 22:18:38 -0500 Subject: Building Loom from Maven In-Reply-To: <002801d8a799$cf5d9040$6e18b0c0$@kolotyluk.net> References: <002801d8a799$cf5d9040$6e18b0c0$@kolotyluk.net> Message-ID: I think you are using compilerArgs incorrectly: https://maven.apache.org/plugins/maven-compiler-plugin/examples/pass-compiler-arguments.html I believe it should be a single compilerArgs wrapper with arg elements inside for each separate one. On Wed, Aug 3, 2022 at 7:33 PM wrote: > Has anyone had any success using Structured Concurrency from JDK 19? > > > > I have the following pom.xml > > > > > maven-compiler-plugin > > --source 19 > --enable-preview > --add-modules jdk.incubator.concurrent > > > > > > > But when I try to compile the project, I get > > > > [ERROR] > /C:/Users/ERIC/Documents/git/loom-lab/laboratory/src/main/java/net/kolotyluk/loom/Structures.java:[3,21] > package jdk.incubator.concurrent is not visible > > [ERROR] (package jdk.incubator.concurrent is declared in module > jdk.incubator.concurrent, which is not in the module graph) > > > > And I have been trying for over an hour to fix this but cannot find any > solutions that work as they all indicate ?--add-modules > jdk.incubator.concurrent? should work. > > > > Cheers, Eric > -- -Paul -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alan.Bateman at oracle.com Thu Aug 4 06:19:43 2022 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Thu, 4 Aug 2022 07:19:43 +0100 Subject: Building Loom from Maven In-Reply-To: <002801d8a799$cf5d9040$6e18b0c0$@kolotyluk.net> References: <002801d8a799$cf5d9040$6e18b0c0$@kolotyluk.net> Message-ID: On 04/08/2022 01:33, eric at kolotyluk.net wrote: > > Has anyone had any success using Structured Concurrency from JDK 19? > > I have the following pom.xml > > > ??? maven-compiler-plugin > ??? > ??????? --source 19 > ??????? --enable-preview > ??????? --add-modules > jdk.incubator.concurrent > ??? > > > But when I try to compile the project, I get > > [ERROR] > /C:/Users/ERIC/Documents/git/loom-lab/laboratory/src/main/java/net/kolotyluk/loom/Structures.java:[3,21] > package jdk.incubator.concurrent is not visible > > [ERROR]?? (package jdk.incubator.concurrent is declared in module > jdk.incubator.concurrent, which is not in the module graph) > > And I have been trying for over an hour to fix this but cannot find > any solutions that work as they all indicate ?|--add-modules > jdk.incubator.concurrent|? should work. > > This works for me: ????????? --add-modules=jdk.incubator.concurrent ??????????? --enable-preview ????????? -Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From 404450559 at qq.com Thu Aug 4 07:58:23 2022 From: 404450559 at qq.com (=?gb18030?B?tdjJz7XE1MLTsA==?=) Date: Thu, 4 Aug 2022 15:58:23 +0800 Subject: Virtual Thread not perform right when use with Disruptor workPool in openjdk19 Message-ID: Hi All     I'm one of openjdk user and these days I tried to use the preview feature Virtual Thread with Disruptor. when use ThreadFactory in Disruptor workerPool, somingthing seems wrong that when I used Thread.ofVirtual().start. the new created virtualThread seems don't start? it don't print hello world, I'm not sure whether it's a bug or I use it wrong, here are my core test code     public void test2() throws InterruptedException {         System.out.println( "Start Test!" );         RingBuffer From ron.pressler at oracle.com Thu Aug 4 08:12:03 2022 From: ron.pressler at oracle.com (Ron Pressler) Date: Thu, 4 Aug 2022 08:12:03 +0000 Subject: Virtual Thread not perform right when use with Disruptor workPool in openjdk19 In-Reply-To: References: Message-ID: <643D61ED-241B-4316-AF77-5EBC801101BE@oracle.com> Hi. 1. Virtual threads should *never* be pooled. There can be no benefit to replacing a platform thread with a virtual thread in a pool, because the difference between virtual threads and platform threads is that you can have lots and lots of virtual threads. The benefit from virtual threads comes when abandoning thread pools altogether and spawning a new thread for each request in your system. I.e. you do not replace platform threads with virtual threads; you replace requests with virtual threads. If you find yourself pooling virtual threads, you?ve made a wrong turn somewhere. 2. I?m not 100% sure what the test does, but the name ?YieldingWaitStrategy? hints that your threads don't block. Virtual threads exist to make blocking cheap. If they don?t block, then their scheduler ? which is designed with blocking work in mind ? might exhaust all of its resources and not be get around to running that last thread you create. ? Ron On 4 Aug 2022, at 08:58, ????? <404450559 at qq.com> wrote: Hi All I'm one of openjdk user and these days I tried to use the preview feature Virtual Thread with Disruptor. when use ThreadFactory in Disruptor workerPool, somingthing seems wrong that when I used Thread.ofVirtual().start. the new created virtualThread seems don't start? it don't print hello world, I'm not sure whether it's a bug or I use it wrong, here are my core test code public void test2() throws InterruptedException { System.out.println( "Start Test!" ); RingBuffer ringBuffer = RingBuffer.create(ProducerType.MULTI, new EventFactory() { @Override public Order newInstance() { return new Order(); } }, 1024 * 1024, new YieldingWaitStrategy()); SequenceBarrier barrier = ringBuffer.newBarrier(); Consumer[] consumers= new Consumer[10]; for (int i = 0; i < consumers.length; i++) { consumers[i] = new Consumer("C"+i); } WorkerPool workerPool = new WorkerPool<>(ringBuffer, barrier, new EventExceptionHandle(), consumers); ringBuffer.addGatingSequences(workerPool.getWorkerSequences()); ThreadFactory factory_v = Thread.ofVirtual().factory(); ExecutorService pool = Executors.newFixedThreadPool(10, factory_v); workerPool.start(pool); // don't print hello world? Thread thd = Thread.ofVirtual().start(() -> System.out.println("Hello world!")); Thread.sleep(5000); System.out.println("End Test!" ); } looking forward to your answers. best wishes? -Anjian Wen -------------- next part -------------- An HTML attachment was scrubbed... URL: From duke at openjdk.org Thu Aug 4 14:04:38 2022 From: duke at openjdk.org (duke) Date: Thu, 4 Aug 2022 14:04:38 GMT Subject: git: openjdk/loom: fibers: 68 new changesets Message-ID: <9e1d6d90-8bed-4de2-b85d-f46caa57ebb4@openjdk.org> Changeset: dc74ea21 Author: Aleksey Shipilev Date: 2022-07-27 16:58:49 +0000 URL: https://git.openjdk.org/loom/commit/dc74ea21f104f49c137476142b6f6340fd34af62 8291048: x86: compiler/c2/irTests/TestAutoVectorization2DArray.java fails with lower SSE Reviewed-by: kvn, jiefu ! test/hotspot/jtreg/compiler/c2/irTests/TestAutoVectorization2DArray.java Changeset: 37b08c7b Author: Thomas Schatzl Date: 2022-07-27 20:05:06 +0000 URL: https://git.openjdk.org/loom/commit/37b08c7bf9f76a5a984bf266614dfd105dc6c055 8237913: G1CollectedHeap::heap_region_containing shouldn't be a template Reviewed-by: kbarrett, sangheki ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp ! src/hotspot/share/gc/g1/g1FullGCOopClosures.cpp ! src/hotspot/share/gc/g1/g1OopClosures.inline.hpp ! src/hotspot/share/gc/g1/g1ParScanThreadState.cpp ! src/hotspot/share/gc/g1/g1RegionMarkStatsCache.cpp ! src/hotspot/share/gc/g1/heapRegion.cpp ! src/hotspot/share/gc/g1/heapRegionManager.inline.hpp Changeset: c1a3347f Author: Pavel Rappo Date: 2022-07-27 21:48:59 +0000 URL: https://git.openjdk.org/loom/commit/c1a3347f1731d96621f0769363c10e76156cdf19 8291358: Fix the "overridding" typo Reviewed-by: rriggs ! test/langtools/jdk/javadoc/doclet/testExternalOverriddenMethod/pkg/XReader.java ! test/langtools/jdk/javadoc/doclet/testVisibleMembers/TestVisibleMembers.java Changeset: 16a12752 Author: Hao Sun Committer: Jie Fu Date: 2022-07-27 23:42:11 +0000 URL: https://git.openjdk.org/loom/commit/16a127524c78b85f17a13ba1072707bd9e851002 8290943: Fix several IR test issues on SVE after JDK-8289801 Reviewed-by: jiefu, adinn ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java ! test/hotspot/jtreg/compiler/vectorapi/AllBitsSetVectorMatchRuleTest.java ! test/hotspot/jtreg/compiler/vectorization/TestPopCountVectorLong.java ! test/hotspot/jtreg/compiler/vectorization/TestPopulateIndex.java Changeset: bc6a3c7b Author: Ioi Lam Date: 2022-07-27 23:52:30 +0000 URL: https://git.openjdk.org/loom/commit/bc6a3c7b833cb88b624f1d18877edc4f31102a48 8290739: Simplify storage of dump-time class information Reviewed-by: ccheung ! src/hotspot/share/cds/dumpTimeClassInfo.cpp ! src/hotspot/share/cds/dumpTimeClassInfo.hpp ! src/hotspot/share/cds/dynamicArchive.cpp ! src/hotspot/share/cds/lambdaFormInvokers.cpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/hotspot/share/runtime/mutexLocker.hpp Changeset: 348a0521 Author: Leonid Mesnik Date: 2022-07-28 00:04:17 +0000 URL: https://git.openjdk.org/loom/commit/348a0521e1cd602c4093955310f838cf4ce4daae 8290846: sun/tools/jstatd/JstatdTest* tests should use VM options Reviewed-by: cjplummer, sspitsyn ! test/jdk/sun/tools/jstatd/JstatGCUtilParser.java ! test/jdk/sun/tools/jstatd/JstatdTest.java Changeset: 5d82d67a Author: Jatin Bhateja Date: 2022-07-28 04:43:01 +0000 URL: https://git.openjdk.org/loom/commit/5d82d67a9e1303e235f475c199eb1435c3d69006 8290034: Auto vectorize reverse bit operations. Reviewed-by: xgong, kvn ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.hpp ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/share/classfile/vmIntrinsics.hpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/opto/subnode.hpp ! src/hotspot/share/opto/superword.cpp ! src/java.base/share/classes/java/lang/Integer.java ! src/java.base/share/classes/java/lang/Long.java ! test/hotspot/jtreg/compiler/c2/cr6340864/TestIntVect.java ! test/hotspot/jtreg/compiler/c2/cr6340864/TestLongVect.java + test/hotspot/jtreg/compiler/vectorization/TestReverseBitsVector.java ! test/micro/org/openjdk/bench/java/lang/Integers.java ! test/micro/org/openjdk/bench/java/lang/Longs.java Changeset: 93f96d8c Author: Prasanta Sadhukhan Date: 2022-07-28 06:44:49 +0000 URL: https://git.openjdk.org/loom/commit/93f96d8c9eb2c7e1579cc99002eefb6bf019742b 8290399: [macos] Aqua LAF does not fire an action event if combo box menu is displayed Reviewed-by: azvegint, prr ! src/java.desktop/macosx/classes/com/apple/laf/AquaComboBoxUI.java + test/jdk/javax/swing/JComboBox/JComboBoxActionEvent.java Changeset: 07f0612c Author: Matthias Baesken Date: 2022-07-28 07:30:51 +0000 URL: https://git.openjdk.org/loom/commit/07f0612c9aa5641491516d9a0232392689d4c1ca 8290532: Adjust PKCS11Exception and handle more PKCS11 error codes Reviewed-by: valeriep ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java Changeset: dd69a68d Author: Aleksey Shipilev Date: 2022-07-28 08:15:53 +0000 URL: https://git.openjdk.org/loom/commit/dd69a68d095a67b6ea1479d05285dd8be50bfbf2 8291000: C2: Purge LoadPLocked and Store*Conditional nodes Reviewed-by: eosterlund, kvn ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/arm/arm.ad ! src/hotspot/cpu/ppc/ppc.ad ! src/hotspot/cpu/riscv/riscv.ad ! src/hotspot/cpu/s390/s390.ad ! src/hotspot/cpu/x86/x86_32.ad ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/share/adlc/forms.cpp ! src/hotspot/share/adlc/formssel.cpp ! src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp ! src/hotspot/share/opto/classes.hpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/escape.cpp ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/matcher.cpp ! src/hotspot/share/opto/memnode.hpp ! src/hotspot/share/runtime/vmStructs.cpp Changeset: 97fc8deb Author: Leslie Zhai Committer: Jie Fu Date: 2022-07-28 08:58:29 +0000 URL: https://git.openjdk.org/loom/commit/97fc8deb1db6deb5f841d64f5e8e3b825783a680 8291106: ZPlatformGranuleSizeShift is redundant Reviewed-by: eosterlund, jiefu ! src/hotspot/cpu/aarch64/gc/z/zGlobals_aarch64.hpp ! src/hotspot/cpu/ppc/gc/z/zGlobals_ppc.hpp ! src/hotspot/cpu/riscv/gc/z/zGlobals_riscv.hpp ! src/hotspot/cpu/x86/gc/z/zGlobals_x86.hpp ! src/hotspot/share/gc/z/zGlobals.hpp Changeset: 5d1ad396 Author: Matthias Baesken Date: 2022-07-28 10:48:45 +0000 URL: https://git.openjdk.org/loom/commit/5d1ad3968416f2d1740453825445a0deb295f5de 8290839: jdk/jfr/event/compiler/TestJitRestart.java failed with "RuntimeException: No JIT restart event found: expected true, was false" Reviewed-by: egahlin, lucy ! test/jdk/jdk/jfr/event/compiler/TestJitRestart.java Changeset: 471a427d Author: Jatin Bhateja Date: 2022-07-28 11:08:38 +0000 URL: https://git.openjdk.org/loom/commit/471a427d1023ee5948d9e58ba04ecabaa7a4db97 8287794: Reverse*VNode::Identity problem Reviewed-by: thartmann, xgong ! src/hotspot/share/opto/vectornode.cpp + test/hotspot/jtreg/compiler/vectorapi/TestReverseByteTransforms.java + test/hotspot/jtreg/compiler/vectorapi/TestReverseByteTransformsSVE.java Changeset: 5214a17d Author: Richard Reingruber Date: 2022-07-28 14:07:18 +0000 URL: https://git.openjdk.org/loom/commit/5214a17d81b1cd3fbdaf90ffe4b37026e31d273d 8291479: ProblemList compiler/rangechecks/TestRangeCheckHoistingScaledIV.java on ppc64le Reviewed-by: thartmann, goetz ! test/hotspot/jtreg/ProblemList.txt Changeset: 54a2c5a6 Author: Jorn Vernee Date: 2022-07-28 14:53:26 +0000 URL: https://git.openjdk.org/loom/commit/54a2c5a6d148fecbe87f861933e4ae9459bacf65 8290059: Do not use std::thread in panama tests Reviewed-by: mcimadamore, stuefe, erikj ! make/test/JtregNativeJdk.gmk ! test/jdk/java/foreign/enablenativeaccess/org/openjdk/foreigntest/libLinkerInvokerUnnamed.cpp ! test/jdk/java/foreign/enablenativeaccess/panama_module/org/openjdk/foreigntest/libLinkerInvokerModule.cpp ! test/jdk/java/foreign/libAsyncInvokers.cpp ! test/jdk/java/foreign/loaderLookup/libLoaderLookupInvoker.cpp ! test/jdk/java/foreign/stackwalk/libAsyncStackWalk.cpp + test/lib/native/testlib_threads.h Changeset: e052d7f4 Author: Boris Ulasevich Date: 2022-07-28 19:49:31 +0000 URL: https://git.openjdk.org/loom/commit/e052d7f4bc0af26e205dbfff07beb06feebf1806 8288477: nmethod header size reduction Reviewed-by: kvn, never ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/code/codeBlob.cpp ! src/hotspot/share/code/codeBlob.hpp ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/code/nmethod.hpp ! src/hotspot/share/compiler/compilerDefinitions.hpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotVMConfig.java Changeset: 791fc579 Author: Bradford Wetmore Date: 2022-07-28 22:04:44 +0000 URL: https://git.openjdk.org/loom/commit/791fc5791a029f3cf8ffbe78319e99b7703dd42b 6383195: javax.crypto.spec.PBEKeySpec is not thread safe Reviewed-by: weijun ! src/java.base/share/classes/javax/crypto/spec/PBEKeySpec.java + test/jdk/javax/crypto/spec/PBEKeySpec/PBEKeySpecRacing.java Changeset: eeac3da7 Author: Magnus Ihse Bursie Date: 2022-07-28 22:34:03 +0000 URL: https://git.openjdk.org/loom/commit/eeac3da79565064a2e2c2d5a325f45250a90681d 8289755: Remove --enable-reproducible-build from jib profile Reviewed-by: wetmore, erikj ! make/conf/jib-profiles.js Changeset: cfe9026f Author: Bill Huang Committer: Joe Wang Date: 2022-07-29 01:42:19 +0000 URL: https://git.openjdk.org/loom/commit/cfe9026fe0506488cc0f0557299cfa585811d194 8289511: Improve test coverage for XPath Axes: child Reviewed-by: joehw + test/jaxp/javax/xml/jaxp/unittest/xpath/XPathExpChildTest.java Changeset: 18cd16d2 Author: Boris Ulasevich Date: 2022-07-29 06:21:48 +0000 URL: https://git.openjdk.org/loom/commit/18cd16d2eae2ee624827eb86621f3a4ffd98fe8c 8291003: ARM32: constant_table.size assertion Reviewed-by: shade ! src/hotspot/cpu/arm/arm.ad ! src/hotspot/share/asm/codeBuffer.hpp Changeset: f58e08e2 Author: Thomas Schatzl Date: 2022-07-29 15:43:43 +0000 URL: https://git.openjdk.org/loom/commit/f58e08e2585186e1b3ca2cad20b342d83a8ab133 8290715: Fix incorrect uses of G1CollectedHeap::heap_region_containing() Reviewed-by: kbarrett, sangheki ! src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.cpp ! src/hotspot/share/gc/g1/g1OopClosures.inline.hpp ! src/hotspot/share/gc/g1/g1SATBMarkQueueSet.cpp ! src/hotspot/share/prims/whitebox.cpp Changeset: 95fc16bd Author: Thomas Schatzl Date: 2022-07-29 15:45:25 +0000 URL: https://git.openjdk.org/loom/commit/95fc16bdfa7325ce9f6f8220964f78e6ab63078e 8290525: Move HeapRegion::_compaction_top to G1FullCollector Reviewed-by: kbarrett, sangheki ! src/hotspot/share/gc/g1/g1FullCollector.cpp ! src/hotspot/share/gc/g1/g1FullCollector.hpp ! src/hotspot/share/gc/g1/g1FullCollector.inline.hpp ! src/hotspot/share/gc/g1/g1FullGCCompactTask.cpp ! src/hotspot/share/gc/g1/g1FullGCCompactTask.hpp ! src/hotspot/share/gc/g1/g1FullGCCompactionPoint.cpp ! src/hotspot/share/gc/g1/g1FullGCCompactionPoint.hpp ! src/hotspot/share/gc/g1/g1FullGCPrepareTask.inline.hpp ! src/hotspot/share/gc/g1/heapRegion.cpp ! src/hotspot/share/gc/g1/heapRegion.hpp ! src/hotspot/share/gc/g1/heapRegion.inline.hpp ! src/hotspot/share/gc/g1/vmStructs_g1.hpp ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/g1/HeapRegion.java ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/CompactibleSpace.java Changeset: 64a1a08f Author: Aggelos Biboudis Committer: Vicente Romero Date: 2022-07-29 16:02:18 +0000 URL: https://git.openjdk.org/loom/commit/64a1a08ff9f120648e466449f65750991cbf673c 8289647: AssertionError during annotation processing of record related tests 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/TypeEnter.java ! test/langtools/tools/javac/records/RecordCompilationTests.java Changeset: cc2861a9 Author: Joe Darcy Date: 2022-07-29 17:35:22 +0000 URL: https://git.openjdk.org/loom/commit/cc2861a993c5c9926e4e9708d5b229c2a0072ca9 8290901: Reduce use of -source in langtools tests Reviewed-by: jjg ! test/langtools/tools/javac/8074306/TestSyntheticNullChecks.java ! test/langtools/tools/javac/AnonStaticMember_1.java ! test/langtools/tools/javac/AnonStaticMember_1.out ! test/langtools/tools/javac/AnonStaticMember_2.java ! test/langtools/tools/javac/AnonStaticMember_2.out ! test/langtools/tools/javac/InnerNamedConstant_2.java ! test/langtools/tools/javac/InnerNamedConstant_2_A.out ! test/langtools/tools/javac/InterfaceInInner.java ! test/langtools/tools/javac/InterfaceInInner.out ! test/langtools/tools/javac/LocalInterface.java ! test/langtools/tools/javac/LocalInterface.out ! test/langtools/tools/javac/StringConcat/TestIndyStringConcat.java ! test/langtools/tools/javac/TryWithResources/TwrForVariable1.java ! test/langtools/tools/javac/analyzer/AnalyzersCheckSourceLevel.java ! test/langtools/tools/javac/analyzer/T8211102.java ! test/langtools/tools/javac/annotations/repeatingAnnotations/WrongVersion.java ! test/langtools/tools/javac/annotations/typeAnnotations/failures/AnnotationVersion.java ! test/langtools/tools/javac/conditional/Conditional.java ! test/langtools/tools/javac/depDocComment/SuppressDeprecation.java ! test/langtools/tools/javac/enum/LocalEnum.java ! test/langtools/tools/javac/enum/LocalEnum.out ! test/langtools/tools/javac/enum/NestedEnum.java ! test/langtools/tools/javac/enum/NestedEnum.out ! test/langtools/tools/javac/enum/T5081785.java ! test/langtools/tools/javac/enum/T5081785.out ! test/langtools/tools/javac/generics/6723444/T6723444.java ! test/langtools/tools/javac/generics/7015430/T7015430.java ! test/langtools/tools/javac/generics/7022054/T7022054pos1.java ! test/langtools/tools/javac/generics/7022054/T7022054pos2.java ! test/langtools/tools/javac/generics/InstanceOf3.java ! test/langtools/tools/javac/generics/diamond/6939780/T6939780.java ! test/langtools/tools/javac/generics/diamond/neg/Neg09a.java ! test/langtools/tools/javac/generics/diamond/neg/Neg09a.out ! test/langtools/tools/javac/generics/diamond/neg/Neg09b.java ! test/langtools/tools/javac/generics/diamond/neg/Neg09b.out ! test/langtools/tools/javac/generics/diamond/neg/Neg09c.java ! test/langtools/tools/javac/generics/diamond/neg/Neg09c.out ! test/langtools/tools/javac/generics/diamond/neg/Neg09d.java ! test/langtools/tools/javac/generics/diamond/neg/Neg09d.out ! test/langtools/tools/javac/generics/diamond/neg/Neg10.java ! test/langtools/tools/javac/generics/inference/6278587/T6278587Neg.java ! test/langtools/tools/javac/generics/inference/7154127/T7154127.java ! test/langtools/tools/javac/generics/inference/7177306/T7177306e.java ! test/langtools/tools/javac/generics/inference/8015505/T8015505.java ! test/langtools/tools/javac/generics/inference/8043893/T8043893.java ! test/langtools/tools/javac/generics/inference/CaptureLowerBound.java ! test/langtools/tools/javac/generics/inference/CaptureLowerBoundArray.java ! test/langtools/tools/javac/generics/inference/CaptureLowerBoundAssign.java ! test/langtools/tools/javac/generics/inference/CaptureLowerBoundDeref.java ! test/langtools/tools/javac/generics/inference/CaptureLowerBoundNeg.java ! test/langtools/tools/javac/generics/inference/CaptureUpperBoundDeref.java ! test/langtools/tools/javac/generics/inference/NestedCapture.java ! test/langtools/tools/javac/generics/inference/NestedWildcards.java ! test/langtools/tools/javac/generics/odersky/BadTest.java ! test/langtools/tools/javac/generics/odersky/BadTest4.java ! test/langtools/tools/javac/importChecks/ImportsObservable.java ! test/langtools/tools/javac/lambda/EffectivelyFinalTest.java ! test/langtools/tools/javac/lambda/IdentifierTest.java ! test/langtools/tools/javac/lambda/SourceLevelTest.java ! test/langtools/tools/javac/lambda/UnderscoreAsIdent.java ! test/langtools/tools/javac/lvti/badTypeReference/BadTypeReference.java ! test/langtools/tools/javac/patterns/CaseDefault.java ! test/langtools/tools/javac/patterns/InstanceofTotalPattern.java ! test/langtools/tools/javac/patterns/ReifiableOld.java ! test/langtools/tools/javac/switchexpr/ExpressionSwitch.java ! test/langtools/tools/javac/switchexpr/WarnWrongYieldTest.java ! test/langtools/tools/javac/switchextra/MultipleLabelsExpression.java ! test/langtools/tools/javac/switchextra/MultipleLabelsStatement.java ! test/langtools/tools/javac/switchextra/SwitchStatementArrow.java ! test/langtools/tools/javac/switchnull/SwitchNullDisabled.java ! test/langtools/tools/javac/varargs/6313164/T6313164.java ! test/langtools/tools/javac/varargs/access/VarargsAndWildcardParameterizedTypeTest.java ! test/langtools/tools/javac/varargs/access/VarargsAndWildcardParameterizedTypeTest2.java ! test/langtools/tools/javac/varargs/access/VarargsAndWildcardParameterizedTypeTest3.java ! test/langtools/tools/javac/varargs/access/VarargsAndWildcardParameterizedTypeTest4.java ! test/langtools/tools/javac/varargs/access/VarargsInferredPrivateType.java ! test/langtools/tools/javac/warnings/6594914/ImplicitCompilation.java ! test/langtools/tools/javac/warnings/Deprecation.java ! test/langtools/tools/javac/warnings/DeprecationSE8Test.java ! test/langtools/tools/javac/warnings/suppress/ImplicitTest.java ! test/langtools/tools/javac/warnings/suppress/PackageInfo.java Changeset: 0bcf1767 Author: Kevin Driver Committer: Bradford Wetmore Date: 2022-07-29 20:30:28 +0000 URL: https://git.openjdk.org/loom/commit/0bcf17674e1c8c07ede3aef6449e0631e526ba86 6227536: KeyGenerator.init() methods do not throw IllegalArgumentException for keysize == 0 Reviewed-by: wetmore ! src/java.base/share/classes/com/sun/crypto/provider/HmacMD5KeyGenerator.java ! src/java.base/share/classes/com/sun/crypto/provider/HmacSHA1KeyGenerator.java + test/jdk/com/sun/crypto/provider/KeyGenerator/Test6227536.java Changeset: 15943e42 Author: Serguei Spitsyn Date: 2022-07-29 21:49:27 +0000 URL: https://git.openjdk.org/loom/commit/15943e424244abb2fd033521f3ca562f3539e8fd 8282666: nsk/jvmti/PopFrame/popframe004 failed with: TEST FAILED: 30 JVMTI events were generated by the function PopFrame() Reviewed-by: lmesnik, amenkov ! test/hotspot/jtreg/vmTestbase/nsk/jvmti/PopFrame/popframe004.java Changeset: 8179a191 Author: Jonathan Gibbons Date: 2022-07-29 21:55:20 +0000 URL: https://git.openjdk.org/loom/commit/8179a191f017540e19916a35040236ea2a13878b 8290243: move seeTagToContent from HtmlDocletWriter to TagletWriterImpl Reviewed-by: prappo ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/TagletWriter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/CommentHelper.java ! test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/pkg/TypeParameters.java Changeset: dd9bd31b Author: Yasumasa Suenaga Date: 2022-07-29 23:30:58 +0000 URL: https://git.openjdk.org/loom/commit/dd9bd31b86b732bc84a4db9a4d9c2b15e8142c90 8289688: jfr command hangs when it processes invalid file Reviewed-by: egahlin ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ChunkHeader.java Changeset: 470c0eb2 Author: Joe Wang Date: 2022-07-30 01:42:05 +0000 URL: https://git.openjdk.org/loom/commit/470c0eb2163a62e5743aefe62c6725e92beea54d 8290740: Catalog not used when the handler is null Reviewed-by: lancea, naoto, iris ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/xinclude/XIncludeHandler.java ! test/jaxp/javax/xml/jaxp/unittest/catalog/CatalogSupport.java ! test/jaxp/javax/xml/jaxp/unittest/catalog/CatalogSupportBase.java Changeset: 35790241 Author: Johan Sj?l?n Committer: David Holmes Date: 2022-07-30 07:34:39 +0000 URL: https://git.openjdk.org/loom/commit/357902415dd6c9d250e698efa8bae969ed334ead 8288904: Incorrect memory ordering in UL Reviewed-by: rehn, dholmes ! src/hotspot/share/logging/logOutputList.cpp Changeset: 32d410a1 Author: Thomas Stuefe Date: 2022-07-30 13:03:25 +0000 URL: https://git.openjdk.org/loom/commit/32d410a1af65f12f5b27f3685e1e803d876816e8 8290868: NMT: MallocSiteTable statistics improvements Reviewed-by: zgu, lucy ! src/hotspot/share/services/mallocSiteTable.cpp Changeset: acbe093a Author: Aleksey Shipilev Date: 2022-07-31 18:49:21 +0000 URL: https://git.openjdk.org/loom/commit/acbe093a66d86904266e390c9dc5da2da34d8982 8291559: x86: compiler/vectorization/TestReverseBitsVector.java fails Reviewed-by: kvn ! test/hotspot/jtreg/compiler/vectorization/TestReverseBitsVector.java Changeset: d9cb410e Author: Aleksey Shipilev Date: 2022-07-31 18:52:16 +0000 URL: https://git.openjdk.org/loom/commit/d9cb410efc07a60e426f2399e020dcaccaba7dfa 8290466: Default to --with-source-date=current to avoid unmodified Hotspot recompilation Reviewed-by: erikj, ihse ! doc/building.html ! doc/building.md ! make/autoconf/jdk-options.m4 Changeset: 257c71c3 Author: Axel Boldt-Christmas Committer: Erik ?sterlund Date: 2022-08-01 05:23:39 +0000 URL: https://git.openjdk.org/loom/commit/257c71c35fa6f52a429347a9ed883498d613b5d5 8290062: Remove nmethodLocker for nmethods on-stack Reviewed-by: eosterlund, kvn ! src/hotspot/share/runtime/sharedRuntime.cpp Changeset: 7ff19694 Author: Thomas Stuefe Date: 2022-08-01 08:03:52 +0000 URL: https://git.openjdk.org/loom/commit/7ff19694dfef947bf65dbd15ec6497acefae39aa 8290067: Show stack dimensions in UL logging when attaching threads Reviewed-by: dholmes, mbaesken ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/windows/os_windows.cpp Changeset: d61c0c79 Author: KIRIYAMA Takuya Committer: Serguei Spitsyn Date: 2022-08-01 08:12:25 +0000 URL: https://git.openjdk.org/loom/commit/d61c0c79cf9d7bc038efab0fdfe1a306f2b0e0b7 8290497: some tests in com/sun/jdi fail on localized Windows platform Reviewed-by: sspitsyn, cjplummer, amenkov ! test/jdk/com/sun/jdi/JdbReadTwiceTest.sh ! test/jdk/com/sun/jdi/lib/jdb/Jdb.java Changeset: 86ef7b20 Author: Andrew Haley Date: 2022-08-01 08:57:49 +0000 URL: https://git.openjdk.org/loom/commit/86ef7b20eb45899a91cf9ee83f723336c9477694 8289046: Undefined Behaviour in x86 class Assembler Reviewed-by: shade, kvn ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/globalDefinitions_x86.hpp ! src/hotspot/cpu/x86/macroAssembler_x86_aes.cpp ! src/hotspot/cpu/x86/register_x86.cpp ! src/hotspot/cpu/x86/register_x86.hpp ! src/hotspot/cpu/x86/vmreg_x86.inline.hpp Changeset: 30205bb2 Author: Thomas Schatzl Date: 2022-08-01 09:53:37 +0000 URL: https://git.openjdk.org/loom/commit/30205bb289e9b25d60474b24b891e15923071b5a 8290966: G1: Record number of PLAB filled and number of direct allocations Reviewed-by: sangheki, kbarrett ! src/hotspot/share/gc/g1/g1Allocator.cpp ! src/hotspot/share/gc/g1/g1Allocator.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1EvacStats.cpp ! src/hotspot/share/gc/g1/g1EvacStats.hpp ! src/hotspot/share/gc/g1/g1EvacStats.inline.hpp ! src/hotspot/share/gc/shared/gcHeapSummary.hpp ! src/hotspot/share/jfr/metadata/metadata.xml ! test/hotspot/jtreg/gc/g1/plab/lib/LogParser.java Changeset: f5d1b5bd Author: Prasanta Sadhukhan Date: 2022-08-01 11:08:56 +0000 URL: https://git.openjdk.org/loom/commit/f5d1b5bda27c798347ae278cbf69725ed4be895c 6463708: DefaultButtonModel.setMnemonic generates ChangeEvent for no change Reviewed-by: azvegint, prr ! src/java.desktop/share/classes/javax/swing/DefaultButtonModel.java + test/jdk/javax/swing/DefaultButtonModel/TestMnemonicEvent.java Changeset: 464085ed Author: Matthias Baesken Date: 2022-08-01 13:24:31 +0000 URL: https://git.openjdk.org/loom/commit/464085ed901029d2380d207e53a00106bc91109a 8291558: unify print_jni_name_prefix_on and print_jni_name_suffix_on on posix platforms Reviewed-by: dholmes, stuefe ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/posix/os_posix.cpp Changeset: 226b8e68 Author: Roger Riggs Date: 2022-08-01 13:44:21 +0000 URL: https://git.openjdk.org/loom/commit/226b8e680a82096b3d268703872d30182c10e326 8290885: java/lang/ProcessBuilder/PipelineLeaksFD.java fail: More or fewer pipes than expected Reviewed-by: bpb, naoto, jpai ! test/jdk/ProblemList-Xcomp.txt ! test/jdk/java/lang/ProcessBuilder/PipelineLeaksFD.java Changeset: fcc11953 Author: Aleksey Shipilev Date: 2022-08-01 14:20:27 +0000 URL: https://git.openjdk.org/loom/commit/fcc119531a3badaa5f7b5602b3d74c2ac5bf7b81 8290531: Loom: Parallelize a few tests more deeply Reviewed-by: rpressler, jpai, alanb ! test/jdk/java/net/vthread/BlockingSocketOps.java ! test/jdk/java/nio/channels/vthread/BlockingChannelOps.java ! test/jdk/jdk/internal/vm/Continuation/Fuzz.java Changeset: 1df77ec1 Author: Gerard Ziemski Date: 2022-08-01 16:07:11 +0000 URL: https://git.openjdk.org/loom/commit/1df77ec1375fd3260c683ac77e5f17676fbff944 8291060: OPEN_MAX is no longer the max limit on macOS >= 10.6 for RLIMIT_NOFILE Reviewed-by: dholmes, dcubed ! src/hotspot/os/bsd/os_bsd.cpp Changeset: 57bf603b Author: Bill Huang Committer: Joe Wang Date: 2022-08-01 16:37:22 +0000 URL: https://git.openjdk.org/loom/commit/57bf603b7332db86c39680d16b78f94a904daf46 8289948: Improve test coverage for XPath functions: Node Set Functions Reviewed-by: joehw ! test/jaxp/javax/xml/jaxp/unittest/xpath/XPathAnyTypeTest.java ! test/jaxp/javax/xml/jaxp/unittest/xpath/XPathExpAnyTypeTest.java + test/jaxp/javax/xml/jaxp/unittest/xpath/XPathNodeSetFnTest.java ! test/jaxp/javax/xml/jaxp/unittest/xpath/XPathTestBase.java Changeset: 6cbc234a Author: Evgeny Astigeevich Committer: Paul Hohensee Date: 2022-08-01 19:52:42 +0000 URL: https://git.openjdk.org/loom/commit/6cbc234ad17c5a0c4b3d6ea76f807c27c1dc8330 8287393: AArch64: Remove trampoline_call1 Reviewed-by: aph, phh ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp Changeset: f714ac52 Author: Coleen Phillimore Date: 2022-08-01 21:26:36 +0000 URL: https://git.openjdk.org/loom/commit/f714ac52bfe95b5a94e3994656438ef2aeab2c86 8290718: Remove ALLOCATION_SUPER_CLASS_SPEC Reviewed-by: zgu, iklam ! src/hotspot/share/c1/c1_Compilation.cpp ! src/hotspot/share/c1/c1_Compilation.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/memory/allocation.cpp ! src/hotspot/share/memory/allocation.hpp ! src/hotspot/share/oops/stackChunkOop.cpp Changeset: 554f44ec Author: Weijun Wang Date: 2022-08-01 22:28:30 +0000 URL: https://git.openjdk.org/loom/commit/554f44ecb1134acff3eaf02e2e1c0e01158ab7e5 8282730: LdapLoginModule throw NPE from logout method after login failure Reviewed-by: mullan ! src/java.base/share/classes/javax/security/auth/Subject.java ! src/java.base/share/classes/javax/security/auth/login/LoginContext.java ! src/java.base/share/classes/javax/security/auth/spi/LoginModule.java ! src/java.management/share/classes/com/sun/jmx/remote/security/FileLoginModule.java ! src/jdk.security.auth/share/classes/com/sun/security/auth/module/JndiLoginModule.java ! src/jdk.security.auth/share/classes/com/sun/security/auth/module/KeyStoreLoginModule.java ! src/jdk.security.auth/share/classes/com/sun/security/auth/module/Krb5LoginModule.java ! src/jdk.security.auth/share/classes/com/sun/security/auth/module/LdapLoginModule.java ! src/jdk.security.auth/share/classes/com/sun/security/auth/module/NTLoginModule.java ! src/jdk.security.auth/share/classes/com/sun/security/auth/module/UnixLoginModule.java + test/jdk/javax/security/auth/login/modules/SafeLogout.java Changeset: a2cff263 Author: Pengfei Li Date: 2022-08-02 06:50:55 +0000 URL: https://git.openjdk.org/loom/commit/a2cff2634cdaa0fa7ba2a1acd951d6f521f59f6d 8291597: [BACKOUT] JDK-8289996: Fix array range check hoisting for some scaled loop iv Reviewed-by: kvn, thartmann ! src/hotspot/share/opto/mulnode.cpp ! src/hotspot/share/utilities/powerOfTwo.hpp - test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckHoistingScaledIV.java - test/micro/org/openjdk/bench/vm/compiler/RangeCheckHoisting.java Changeset: a9db5bb3 Author: Johan Sj?l?n Committer: Stefan Karlsson Date: 2022-08-02 10:38:31 +0000 URL: https://git.openjdk.org/loom/commit/a9db5bb3737a329e5bb30042aa956302718e0e16 8291626: Remove Mutex::contains as it is unused Reviewed-by: stefank, dholmes ! src/hotspot/share/runtime/mutex.cpp ! src/hotspot/share/runtime/mutex.hpp Changeset: af76c0c1 Author: Evgeny Astigeevich Committer: Paul Hohensee Date: 2022-08-02 12:01:25 +0000 URL: https://git.openjdk.org/loom/commit/af76c0c1991f6051ba95f05b79121a7eeef8e7d3 8291654: AArch64: assert from JDK-8287393 causes crashes Reviewed-by: dholmes, xliu, phh ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp Changeset: a6564d49 Author: Chris Plummer Date: 2022-08-02 21:13:00 +0000 URL: https://git.openjdk.org/loom/commit/a6564d495b6c2354b82cd49243d3c8793d95f2cb 8291650: Add delay to ClassUnloadEventTest before exiting to give time for JVM to send all events before VMDeath Reviewed-by: sspitsyn, amenkov ! test/jdk/com/sun/jdi/ClassUnloadEventTest.java Changeset: 5acf2d7c Author: Chris Plummer Date: 2022-08-02 21:15:01 +0000 URL: https://git.openjdk.org/loom/commit/5acf2d7cb42d004e1d35834ae321f531c46594db 8291578: Remove JMX related tests from ProblemList-svc-vthreads.txt Reviewed-by: sspitsyn, kevinw, lmesnik ! test/hotspot/jtreg/ProblemList-svc-vthread.txt Changeset: 0ae83410 Author: Serguei Spitsyn Date: 2022-08-02 22:41:17 +0000 URL: https://git.openjdk.org/loom/commit/0ae834105740f7cf73fe96be22e0f564ad29b18d 8290908: misc tests fail: assert(!thread->owns_locks()) failed: must release all locks when leaving VM Reviewed-by: cjplummer, amenkov ! src/hotspot/share/prims/jvmtiEventController.cpp Changeset: 1d16c91b Author: Mark Reinhold Date: 2022-07-28 18:22:59 +0000 URL: https://git.openjdk.org/loom/commit/1d16c91ba7733d07ce609b83b9d01c5ae74f965d 8291512: Snippetize modules API examples Reviewed-by: darcy ! src/java.base/share/classes/java/lang/ModuleLayer.java ! src/java.base/share/classes/java/lang/module/Configuration.java ! src/java.base/share/classes/java/lang/module/ModuleDescriptor.java ! src/java.base/share/classes/java/lang/module/ModuleFinder.java Changeset: 54c093ab Author: Erik Gahlin Date: 2022-08-02 14:41:38 +0000 URL: https://git.openjdk.org/loom/commit/54c093ab0e71cfa80e62e54c5cb7aa12059e821b 8291524: jdk/jfr/event/runtime/TestClassLoaderStatsEvent.java Value not equal to 2, field='hiddenClassCount', value='0' Reviewed-by: hseigel ! test/jdk/jdk/jfr/event/runtime/TestClassLoaderStatsEvent.java ! test/jdk/jdk/jfr/event/runtime/TestClasses.java Changeset: 0971d346 Author: David Holmes Date: 2022-08-03 08:11:10 +0000 URL: https://git.openjdk.org/loom/commit/0971d3464609bf4124df460ea73ff761d7e0f7b2 Merge ! src/java.base/share/classes/java/lang/module/ModuleDescriptor.java ! src/java.base/share/classes/java/lang/module/ModuleDescriptor.java Changeset: b7d2bde8 Author: Coleen Phillimore Date: 2022-08-03 13:06:53 +0000 URL: https://git.openjdk.org/loom/commit/b7d2bde8e37817e827e685bd675b075c1f29b4c2 8291733: Remove JFR events that expose hashtable Reviewed-by: egahlin ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/classfile/systemDictionary.hpp ! src/hotspot/share/jfr/metadata/metadata.xml ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/jdk.jfr/share/conf/jfr/default.jfc ! src/jdk.jfr/share/conf/jfr/profile.jfc ! test/jdk/jdk/jfr/event/runtime/TestTableStatisticsEvent.java ! test/lib/jdk/test/lib/jfr/EventNames.java Changeset: af529be0 Author: Daniel Jeli?ski Date: 2022-08-03 14:51:28 +0000 URL: https://git.openjdk.org/loom/commit/af529be069b651808310c3c37e2167d216979f69 8285836: sun/net/www/http/KeepAliveCache/KeepAliveProperty.java failed with "RuntimeException: Failed in server" Reviewed-by: dfuchs, jpai ! test/jdk/sun/net/www/http/KeepAliveCache/KeepAliveProperty.java Changeset: e52a340d Author: Naoto Sato Date: 2022-08-03 15:59:43 +0000 URL: https://git.openjdk.org/loom/commit/e52a340d7fca161539524eedc0c2d48283f4f0a7 8290488: IBM864 character encoding implementation bug Reviewed-by: iris, joehw, alanb + make/data/charsetmapping/IBM864.c2b ! test/jdk/java/beans/XMLEncoder/Test4625418.java + test/jdk/sun/nio/cs/mapping/Cp864.c2b-irreversible Changeset: 4d6e6f67 Author: Marc R. Hoffmann Committer: Aleksey Shipilev Date: 2022-08-03 16:40:03 +0000 URL: https://git.openjdk.org/loom/commit/4d6e6f6741170a7f083a84e3e9f4b5f67099a433 8291822: ARM32: Build errors with GCC 11 in frame::saved_oop_result Reviewed-by: shade, stuefe ! src/hotspot/cpu/arm/frame_arm.inline.hpp Changeset: c89556f6 Author: Aleksey Shipilev Date: 2022-08-03 16:43:20 +0000 URL: https://git.openjdk.org/loom/commit/c89556f6cd4d0b64f3e9e2f1dc7c51634522f205 8291633: Build failures with GCC 11, Alpine 3 due to incompatible casts from nullptr Reviewed-by: stuefe, mbaesken, jiefu ! src/hotspot/cpu/x86/interp_masm_x86.cpp ! src/hotspot/cpu/x86/interpreterRT_x86_64.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp ! src/hotspot/share/oops/access.hpp ! src/hotspot/share/runtime/objectMonitor.cpp Changeset: 0cc49fd9 Author: Ao Qi Committer: Serguei Spitsyn Date: 2022-08-03 17:33:11 +0000 URL: https://git.openjdk.org/loom/commit/0cc49fd9eac5259543a3c41b7a32b6e01a1b0ad5 8291508: Fix some tests with "requires vm.jvmti & vm.continuations" Reviewed-by: sspitsyn, lmesnik, alanb ! test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadInfo/thrinfo001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineVirtual/StressRedefineVirtual.java Changeset: 1b66cecd Author: Eric Caspole Date: 2022-08-03 18:01:26 +0000 URL: https://git.openjdk.org/loom/commit/1b66cecd311cc56c968134ae3f8aeff2e8bfc970 8291729: Reduce runtime of vm.compiler microbenchmarks Reviewed-by: kvn ! test/micro/org/openjdk/bench/vm/compiler/AddIdealNotXPlusC.java ! test/micro/org/openjdk/bench/vm/compiler/ArrayAllocation.java ! test/micro/org/openjdk/bench/vm/compiler/ArrayBoundCheckRemoval.java ! test/micro/org/openjdk/bench/vm/compiler/ArrayClear.java ! test/micro/org/openjdk/bench/vm/compiler/ArrayFill.java ! test/micro/org/openjdk/bench/vm/compiler/ArrayStoreCheck.java ! test/micro/org/openjdk/bench/vm/compiler/AutoVectorization2DArray.java ! test/micro/org/openjdk/bench/vm/compiler/BitSetAndReset.java ! test/micro/org/openjdk/bench/vm/compiler/BitTest.java ! test/micro/org/openjdk/bench/vm/compiler/ClearMemory.java ! test/micro/org/openjdk/bench/vm/compiler/CopyLoop.java ! test/micro/org/openjdk/bench/vm/compiler/DivRem.java ! test/micro/org/openjdk/bench/vm/compiler/Explosion.java ! test/micro/org/openjdk/bench/vm/compiler/FloatingScalarVectorAbsDiff.java ! test/micro/org/openjdk/bench/vm/compiler/FpMinMaxIntrinsics.java ! test/micro/org/openjdk/bench/vm/compiler/IndexVector.java ! test/micro/org/openjdk/bench/vm/compiler/InnerClassNullRef.java ! test/micro/org/openjdk/bench/vm/compiler/InterfaceCalls.java ! test/micro/org/openjdk/bench/vm/compiler/InterfacePrivateCalls.java ! test/micro/org/openjdk/bench/vm/compiler/IterativeEA.java ! test/micro/org/openjdk/bench/vm/compiler/LeaInstruction.java ! test/micro/org/openjdk/bench/vm/compiler/LoopUnroll.java ! test/micro/org/openjdk/bench/vm/compiler/MacroLogicOpt.java ! test/micro/org/openjdk/bench/vm/compiler/MaxMinOptimizeTest.java ! test/micro/org/openjdk/bench/vm/compiler/ModPowerOf2.java ! test/micro/org/openjdk/bench/vm/compiler/Multiplication.java ! test/micro/org/openjdk/bench/vm/compiler/PostAllocationStores.java ! test/micro/org/openjdk/bench/vm/compiler/SharedLoopHeader.java ! test/micro/org/openjdk/bench/vm/compiler/Signum.java ! test/micro/org/openjdk/bench/vm/compiler/SpillCode.java ! test/micro/org/openjdk/bench/vm/compiler/StoreAfterStore.java ! test/micro/org/openjdk/bench/vm/compiler/Straighten.java ! test/micro/org/openjdk/bench/vm/compiler/StringConstructorBenchmark.java ! test/micro/org/openjdk/bench/vm/compiler/TypeVectorOperations.java ! test/micro/org/openjdk/bench/vm/compiler/UnsignedComparison.java ! test/micro/org/openjdk/bench/vm/compiler/VectorBitCount.java ! test/micro/org/openjdk/bench/vm/compiler/VectorIntMinMax.java ! test/micro/org/openjdk/bench/vm/compiler/VectorReduction.java ! test/micro/org/openjdk/bench/vm/compiler/VectorReductionFloatingMinMax.java ! test/micro/org/openjdk/bench/vm/compiler/VectorShiftAccumulate.java ! test/micro/org/openjdk/bench/vm/compiler/VectorShiftRight.java ! test/micro/org/openjdk/bench/vm/compiler/WriteBarrier.java Changeset: 67f00118 Author: Vicente Romero Date: 2022-08-03 19:19:34 +0000 URL: https://git.openjdk.org/loom/commit/67f001186b66b9fcbc9156012d1eec2ae5d45d8b 8260892: Compilation fails: lambda parameter not visible in body when generics involved Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java + test/langtools/tools/javac/generics/diamond/ScopeCopyCanGetAlteredTest.java Changeset: 13f0f126 Author: Justin Gu Committer: Coleen Phillimore Date: 2022-08-03 19:53:30 +0000 URL: https://git.openjdk.org/loom/commit/13f0f126b9edd7d7c9a556c36fd372ca519ad6f5 8290370: Convert SymbolPropertyTable to ResourceHashtable Reviewed-by: coleenp, iklam ! src/hotspot/share/classfile/dictionary.cpp ! src/hotspot/share/classfile/dictionary.hpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! src/hotspot/share/utilities/hashtable.cpp Changeset: 44008e55 Author: Alan Bateman Date: 2022-08-04 09:56:55 +0000 URL: https://git.openjdk.org/loom/commit/44008e55e3b7c36c53a1e78bf48cd78fd66c10c6 Merge with jdk-20+9 ! make/conf/jib-profiles.js ! src/hotspot/share/opto/library_call.cpp ! test/hotspot/jtreg/ProblemList.txt ! make/conf/jib-profiles.js ! src/hotspot/share/opto/library_call.cpp ! test/hotspot/jtreg/ProblemList.txt Changeset: acba4812 Author: Alan Bateman Date: 2022-08-04 09:58:56 +0000 URL: https://git.openjdk.org/loom/commit/acba48120400f6698814a246c129e4e1102f3991 Exclude more appcds tests from wrapper runs ! test/hotspot/jtreg/ProblemList-vthread.txt Changeset: 9794b643 Author: Alan Bateman Date: 2022-08-04 14:59:54 +0000 URL: https://git.openjdk.org/loom/commit/9794b643c1c80e9c038bd413a82af35a1744e752 Merge ! test/hotspot/jtreg/ProblemList-vthread.txt ! test/hotspot/jtreg/ProblemList-vthread.txt From duke at openjdk.org Thu Aug 4 14:08:23 2022 From: duke at openjdk.org (duke) Date: Thu, 4 Aug 2022 14:08:23 GMT Subject: git: openjdk/loom: master: 65 new changesets Message-ID: <7780c7d1-0e08-4fc9-93b2-77e97e09531a@openjdk.org> Changeset: dc74ea21 Author: Aleksey Shipilev Date: 2022-07-27 16:58:49 +0000 URL: https://git.openjdk.org/loom/commit/dc74ea21f104f49c137476142b6f6340fd34af62 8291048: x86: compiler/c2/irTests/TestAutoVectorization2DArray.java fails with lower SSE Reviewed-by: kvn, jiefu ! test/hotspot/jtreg/compiler/c2/irTests/TestAutoVectorization2DArray.java Changeset: 37b08c7b Author: Thomas Schatzl Date: 2022-07-27 20:05:06 +0000 URL: https://git.openjdk.org/loom/commit/37b08c7bf9f76a5a984bf266614dfd105dc6c055 8237913: G1CollectedHeap::heap_region_containing shouldn't be a template Reviewed-by: kbarrett, sangheki ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.inline.hpp ! src/hotspot/share/gc/g1/g1FullGCOopClosures.cpp ! src/hotspot/share/gc/g1/g1OopClosures.inline.hpp ! src/hotspot/share/gc/g1/g1ParScanThreadState.cpp ! src/hotspot/share/gc/g1/g1RegionMarkStatsCache.cpp ! src/hotspot/share/gc/g1/heapRegion.cpp ! src/hotspot/share/gc/g1/heapRegionManager.inline.hpp Changeset: c1a3347f Author: Pavel Rappo Date: 2022-07-27 21:48:59 +0000 URL: https://git.openjdk.org/loom/commit/c1a3347f1731d96621f0769363c10e76156cdf19 8291358: Fix the "overridding" typo Reviewed-by: rriggs ! test/langtools/jdk/javadoc/doclet/testExternalOverriddenMethod/pkg/XReader.java ! test/langtools/jdk/javadoc/doclet/testVisibleMembers/TestVisibleMembers.java Changeset: 16a12752 Author: Hao Sun Committer: Jie Fu Date: 2022-07-27 23:42:11 +0000 URL: https://git.openjdk.org/loom/commit/16a127524c78b85f17a13ba1072707bd9e851002 8290943: Fix several IR test issues on SVE after JDK-8289801 Reviewed-by: jiefu, adinn ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java ! test/hotspot/jtreg/compiler/vectorapi/AllBitsSetVectorMatchRuleTest.java ! test/hotspot/jtreg/compiler/vectorization/TestPopCountVectorLong.java ! test/hotspot/jtreg/compiler/vectorization/TestPopulateIndex.java Changeset: bc6a3c7b Author: Ioi Lam Date: 2022-07-27 23:52:30 +0000 URL: https://git.openjdk.org/loom/commit/bc6a3c7b833cb88b624f1d18877edc4f31102a48 8290739: Simplify storage of dump-time class information Reviewed-by: ccheung ! src/hotspot/share/cds/dumpTimeClassInfo.cpp ! src/hotspot/share/cds/dumpTimeClassInfo.hpp ! src/hotspot/share/cds/dynamicArchive.cpp ! src/hotspot/share/cds/lambdaFormInvokers.cpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/hotspot/share/runtime/mutexLocker.hpp Changeset: 348a0521 Author: Leonid Mesnik Date: 2022-07-28 00:04:17 +0000 URL: https://git.openjdk.org/loom/commit/348a0521e1cd602c4093955310f838cf4ce4daae 8290846: sun/tools/jstatd/JstatdTest* tests should use VM options Reviewed-by: cjplummer, sspitsyn ! test/jdk/sun/tools/jstatd/JstatGCUtilParser.java ! test/jdk/sun/tools/jstatd/JstatdTest.java Changeset: 5d82d67a Author: Jatin Bhateja Date: 2022-07-28 04:43:01 +0000 URL: https://git.openjdk.org/loom/commit/5d82d67a9e1303e235f475c199eb1435c3d69006 8290034: Auto vectorize reverse bit operations. Reviewed-by: xgong, kvn ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.hpp ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/share/classfile/vmIntrinsics.hpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/opto/subnode.hpp ! src/hotspot/share/opto/superword.cpp ! src/java.base/share/classes/java/lang/Integer.java ! src/java.base/share/classes/java/lang/Long.java ! test/hotspot/jtreg/compiler/c2/cr6340864/TestIntVect.java ! test/hotspot/jtreg/compiler/c2/cr6340864/TestLongVect.java + test/hotspot/jtreg/compiler/vectorization/TestReverseBitsVector.java ! test/micro/org/openjdk/bench/java/lang/Integers.java ! test/micro/org/openjdk/bench/java/lang/Longs.java Changeset: 93f96d8c Author: Prasanta Sadhukhan Date: 2022-07-28 06:44:49 +0000 URL: https://git.openjdk.org/loom/commit/93f96d8c9eb2c7e1579cc99002eefb6bf019742b 8290399: [macos] Aqua LAF does not fire an action event if combo box menu is displayed Reviewed-by: azvegint, prr ! src/java.desktop/macosx/classes/com/apple/laf/AquaComboBoxUI.java + test/jdk/javax/swing/JComboBox/JComboBoxActionEvent.java Changeset: 07f0612c Author: Matthias Baesken Date: 2022-07-28 07:30:51 +0000 URL: https://git.openjdk.org/loom/commit/07f0612c9aa5641491516d9a0232392689d4c1ca 8290532: Adjust PKCS11Exception and handle more PKCS11 error codes Reviewed-by: valeriep ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java Changeset: dd69a68d Author: Aleksey Shipilev Date: 2022-07-28 08:15:53 +0000 URL: https://git.openjdk.org/loom/commit/dd69a68d095a67b6ea1479d05285dd8be50bfbf2 8291000: C2: Purge LoadPLocked and Store*Conditional nodes Reviewed-by: eosterlund, kvn ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/arm/arm.ad ! src/hotspot/cpu/ppc/ppc.ad ! src/hotspot/cpu/riscv/riscv.ad ! src/hotspot/cpu/s390/s390.ad ! src/hotspot/cpu/x86/x86_32.ad ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/share/adlc/forms.cpp ! src/hotspot/share/adlc/formssel.cpp ! src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp ! src/hotspot/share/opto/classes.hpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/escape.cpp ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/matcher.cpp ! src/hotspot/share/opto/memnode.hpp ! src/hotspot/share/runtime/vmStructs.cpp Changeset: 97fc8deb Author: Leslie Zhai Committer: Jie Fu Date: 2022-07-28 08:58:29 +0000 URL: https://git.openjdk.org/loom/commit/97fc8deb1db6deb5f841d64f5e8e3b825783a680 8291106: ZPlatformGranuleSizeShift is redundant Reviewed-by: eosterlund, jiefu ! src/hotspot/cpu/aarch64/gc/z/zGlobals_aarch64.hpp ! src/hotspot/cpu/ppc/gc/z/zGlobals_ppc.hpp ! src/hotspot/cpu/riscv/gc/z/zGlobals_riscv.hpp ! src/hotspot/cpu/x86/gc/z/zGlobals_x86.hpp ! src/hotspot/share/gc/z/zGlobals.hpp Changeset: 5d1ad396 Author: Matthias Baesken Date: 2022-07-28 10:48:45 +0000 URL: https://git.openjdk.org/loom/commit/5d1ad3968416f2d1740453825445a0deb295f5de 8290839: jdk/jfr/event/compiler/TestJitRestart.java failed with "RuntimeException: No JIT restart event found: expected true, was false" Reviewed-by: egahlin, lucy ! test/jdk/jdk/jfr/event/compiler/TestJitRestart.java Changeset: 471a427d Author: Jatin Bhateja Date: 2022-07-28 11:08:38 +0000 URL: https://git.openjdk.org/loom/commit/471a427d1023ee5948d9e58ba04ecabaa7a4db97 8287794: Reverse*VNode::Identity problem Reviewed-by: thartmann, xgong ! src/hotspot/share/opto/vectornode.cpp + test/hotspot/jtreg/compiler/vectorapi/TestReverseByteTransforms.java + test/hotspot/jtreg/compiler/vectorapi/TestReverseByteTransformsSVE.java Changeset: 5214a17d Author: Richard Reingruber Date: 2022-07-28 14:07:18 +0000 URL: https://git.openjdk.org/loom/commit/5214a17d81b1cd3fbdaf90ffe4b37026e31d273d 8291479: ProblemList compiler/rangechecks/TestRangeCheckHoistingScaledIV.java on ppc64le Reviewed-by: thartmann, goetz ! test/hotspot/jtreg/ProblemList.txt Changeset: 54a2c5a6 Author: Jorn Vernee Date: 2022-07-28 14:53:26 +0000 URL: https://git.openjdk.org/loom/commit/54a2c5a6d148fecbe87f861933e4ae9459bacf65 8290059: Do not use std::thread in panama tests Reviewed-by: mcimadamore, stuefe, erikj ! make/test/JtregNativeJdk.gmk ! test/jdk/java/foreign/enablenativeaccess/org/openjdk/foreigntest/libLinkerInvokerUnnamed.cpp ! test/jdk/java/foreign/enablenativeaccess/panama_module/org/openjdk/foreigntest/libLinkerInvokerModule.cpp ! test/jdk/java/foreign/libAsyncInvokers.cpp ! test/jdk/java/foreign/loaderLookup/libLoaderLookupInvoker.cpp ! test/jdk/java/foreign/stackwalk/libAsyncStackWalk.cpp + test/lib/native/testlib_threads.h Changeset: e052d7f4 Author: Boris Ulasevich Date: 2022-07-28 19:49:31 +0000 URL: https://git.openjdk.org/loom/commit/e052d7f4bc0af26e205dbfff07beb06feebf1806 8288477: nmethod header size reduction Reviewed-by: kvn, never ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/code/codeBlob.cpp ! src/hotspot/share/code/codeBlob.hpp ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/code/nmethod.hpp ! src/hotspot/share/compiler/compilerDefinitions.hpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedJavaMethodImpl.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotVMConfig.java Changeset: 791fc579 Author: Bradford Wetmore Date: 2022-07-28 22:04:44 +0000 URL: https://git.openjdk.org/loom/commit/791fc5791a029f3cf8ffbe78319e99b7703dd42b 6383195: javax.crypto.spec.PBEKeySpec is not thread safe Reviewed-by: weijun ! src/java.base/share/classes/javax/crypto/spec/PBEKeySpec.java + test/jdk/javax/crypto/spec/PBEKeySpec/PBEKeySpecRacing.java Changeset: eeac3da7 Author: Magnus Ihse Bursie Date: 2022-07-28 22:34:03 +0000 URL: https://git.openjdk.org/loom/commit/eeac3da79565064a2e2c2d5a325f45250a90681d 8289755: Remove --enable-reproducible-build from jib profile Reviewed-by: wetmore, erikj ! make/conf/jib-profiles.js Changeset: cfe9026f Author: Bill Huang Committer: Joe Wang Date: 2022-07-29 01:42:19 +0000 URL: https://git.openjdk.org/loom/commit/cfe9026fe0506488cc0f0557299cfa585811d194 8289511: Improve test coverage for XPath Axes: child Reviewed-by: joehw + test/jaxp/javax/xml/jaxp/unittest/xpath/XPathExpChildTest.java Changeset: 18cd16d2 Author: Boris Ulasevich Date: 2022-07-29 06:21:48 +0000 URL: https://git.openjdk.org/loom/commit/18cd16d2eae2ee624827eb86621f3a4ffd98fe8c 8291003: ARM32: constant_table.size assertion Reviewed-by: shade ! src/hotspot/cpu/arm/arm.ad ! src/hotspot/share/asm/codeBuffer.hpp Changeset: f58e08e2 Author: Thomas Schatzl Date: 2022-07-29 15:43:43 +0000 URL: https://git.openjdk.org/loom/commit/f58e08e2585186e1b3ca2cad20b342d83a8ab133 8290715: Fix incorrect uses of G1CollectedHeap::heap_region_containing() Reviewed-by: kbarrett, sangheki ! src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.cpp ! src/hotspot/share/gc/g1/g1OopClosures.inline.hpp ! src/hotspot/share/gc/g1/g1SATBMarkQueueSet.cpp ! src/hotspot/share/prims/whitebox.cpp Changeset: 95fc16bd Author: Thomas Schatzl Date: 2022-07-29 15:45:25 +0000 URL: https://git.openjdk.org/loom/commit/95fc16bdfa7325ce9f6f8220964f78e6ab63078e 8290525: Move HeapRegion::_compaction_top to G1FullCollector Reviewed-by: kbarrett, sangheki ! src/hotspot/share/gc/g1/g1FullCollector.cpp ! src/hotspot/share/gc/g1/g1FullCollector.hpp ! src/hotspot/share/gc/g1/g1FullCollector.inline.hpp ! src/hotspot/share/gc/g1/g1FullGCCompactTask.cpp ! src/hotspot/share/gc/g1/g1FullGCCompactTask.hpp ! src/hotspot/share/gc/g1/g1FullGCCompactionPoint.cpp ! src/hotspot/share/gc/g1/g1FullGCCompactionPoint.hpp ! src/hotspot/share/gc/g1/g1FullGCPrepareTask.inline.hpp ! src/hotspot/share/gc/g1/heapRegion.cpp ! src/hotspot/share/gc/g1/heapRegion.hpp ! src/hotspot/share/gc/g1/heapRegion.inline.hpp ! src/hotspot/share/gc/g1/vmStructs_g1.hpp ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/g1/HeapRegion.java ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/CompactibleSpace.java Changeset: 64a1a08f Author: Aggelos Biboudis Committer: Vicente Romero Date: 2022-07-29 16:02:18 +0000 URL: https://git.openjdk.org/loom/commit/64a1a08ff9f120648e466449f65750991cbf673c 8289647: AssertionError during annotation processing of record related tests 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/TypeEnter.java ! test/langtools/tools/javac/records/RecordCompilationTests.java Changeset: cc2861a9 Author: Joe Darcy Date: 2022-07-29 17:35:22 +0000 URL: https://git.openjdk.org/loom/commit/cc2861a993c5c9926e4e9708d5b229c2a0072ca9 8290901: Reduce use of -source in langtools tests Reviewed-by: jjg ! test/langtools/tools/javac/8074306/TestSyntheticNullChecks.java ! test/langtools/tools/javac/AnonStaticMember_1.java ! test/langtools/tools/javac/AnonStaticMember_1.out ! test/langtools/tools/javac/AnonStaticMember_2.java ! test/langtools/tools/javac/AnonStaticMember_2.out ! test/langtools/tools/javac/InnerNamedConstant_2.java ! test/langtools/tools/javac/InnerNamedConstant_2_A.out ! test/langtools/tools/javac/InterfaceInInner.java ! test/langtools/tools/javac/InterfaceInInner.out ! test/langtools/tools/javac/LocalInterface.java ! test/langtools/tools/javac/LocalInterface.out ! test/langtools/tools/javac/StringConcat/TestIndyStringConcat.java ! test/langtools/tools/javac/TryWithResources/TwrForVariable1.java ! test/langtools/tools/javac/analyzer/AnalyzersCheckSourceLevel.java ! test/langtools/tools/javac/analyzer/T8211102.java ! test/langtools/tools/javac/annotations/repeatingAnnotations/WrongVersion.java ! test/langtools/tools/javac/annotations/typeAnnotations/failures/AnnotationVersion.java ! test/langtools/tools/javac/conditional/Conditional.java ! test/langtools/tools/javac/depDocComment/SuppressDeprecation.java ! test/langtools/tools/javac/enum/LocalEnum.java ! test/langtools/tools/javac/enum/LocalEnum.out ! test/langtools/tools/javac/enum/NestedEnum.java ! test/langtools/tools/javac/enum/NestedEnum.out ! test/langtools/tools/javac/enum/T5081785.java ! test/langtools/tools/javac/enum/T5081785.out ! test/langtools/tools/javac/generics/6723444/T6723444.java ! test/langtools/tools/javac/generics/7015430/T7015430.java ! test/langtools/tools/javac/generics/7022054/T7022054pos1.java ! test/langtools/tools/javac/generics/7022054/T7022054pos2.java ! test/langtools/tools/javac/generics/InstanceOf3.java ! test/langtools/tools/javac/generics/diamond/6939780/T6939780.java ! test/langtools/tools/javac/generics/diamond/neg/Neg09a.java ! test/langtools/tools/javac/generics/diamond/neg/Neg09a.out ! test/langtools/tools/javac/generics/diamond/neg/Neg09b.java ! test/langtools/tools/javac/generics/diamond/neg/Neg09b.out ! test/langtools/tools/javac/generics/diamond/neg/Neg09c.java ! test/langtools/tools/javac/generics/diamond/neg/Neg09c.out ! test/langtools/tools/javac/generics/diamond/neg/Neg09d.java ! test/langtools/tools/javac/generics/diamond/neg/Neg09d.out ! test/langtools/tools/javac/generics/diamond/neg/Neg10.java ! test/langtools/tools/javac/generics/inference/6278587/T6278587Neg.java ! test/langtools/tools/javac/generics/inference/7154127/T7154127.java ! test/langtools/tools/javac/generics/inference/7177306/T7177306e.java ! test/langtools/tools/javac/generics/inference/8015505/T8015505.java ! test/langtools/tools/javac/generics/inference/8043893/T8043893.java ! test/langtools/tools/javac/generics/inference/CaptureLowerBound.java ! test/langtools/tools/javac/generics/inference/CaptureLowerBoundArray.java ! test/langtools/tools/javac/generics/inference/CaptureLowerBoundAssign.java ! test/langtools/tools/javac/generics/inference/CaptureLowerBoundDeref.java ! test/langtools/tools/javac/generics/inference/CaptureLowerBoundNeg.java ! test/langtools/tools/javac/generics/inference/CaptureUpperBoundDeref.java ! test/langtools/tools/javac/generics/inference/NestedCapture.java ! test/langtools/tools/javac/generics/inference/NestedWildcards.java ! test/langtools/tools/javac/generics/odersky/BadTest.java ! test/langtools/tools/javac/generics/odersky/BadTest4.java ! test/langtools/tools/javac/importChecks/ImportsObservable.java ! test/langtools/tools/javac/lambda/EffectivelyFinalTest.java ! test/langtools/tools/javac/lambda/IdentifierTest.java ! test/langtools/tools/javac/lambda/SourceLevelTest.java ! test/langtools/tools/javac/lambda/UnderscoreAsIdent.java ! test/langtools/tools/javac/lvti/badTypeReference/BadTypeReference.java ! test/langtools/tools/javac/patterns/CaseDefault.java ! test/langtools/tools/javac/patterns/InstanceofTotalPattern.java ! test/langtools/tools/javac/patterns/ReifiableOld.java ! test/langtools/tools/javac/switchexpr/ExpressionSwitch.java ! test/langtools/tools/javac/switchexpr/WarnWrongYieldTest.java ! test/langtools/tools/javac/switchextra/MultipleLabelsExpression.java ! test/langtools/tools/javac/switchextra/MultipleLabelsStatement.java ! test/langtools/tools/javac/switchextra/SwitchStatementArrow.java ! test/langtools/tools/javac/switchnull/SwitchNullDisabled.java ! test/langtools/tools/javac/varargs/6313164/T6313164.java ! test/langtools/tools/javac/varargs/access/VarargsAndWildcardParameterizedTypeTest.java ! test/langtools/tools/javac/varargs/access/VarargsAndWildcardParameterizedTypeTest2.java ! test/langtools/tools/javac/varargs/access/VarargsAndWildcardParameterizedTypeTest3.java ! test/langtools/tools/javac/varargs/access/VarargsAndWildcardParameterizedTypeTest4.java ! test/langtools/tools/javac/varargs/access/VarargsInferredPrivateType.java ! test/langtools/tools/javac/warnings/6594914/ImplicitCompilation.java ! test/langtools/tools/javac/warnings/Deprecation.java ! test/langtools/tools/javac/warnings/DeprecationSE8Test.java ! test/langtools/tools/javac/warnings/suppress/ImplicitTest.java ! test/langtools/tools/javac/warnings/suppress/PackageInfo.java Changeset: 0bcf1767 Author: Kevin Driver Committer: Bradford Wetmore Date: 2022-07-29 20:30:28 +0000 URL: https://git.openjdk.org/loom/commit/0bcf17674e1c8c07ede3aef6449e0631e526ba86 6227536: KeyGenerator.init() methods do not throw IllegalArgumentException for keysize == 0 Reviewed-by: wetmore ! src/java.base/share/classes/com/sun/crypto/provider/HmacMD5KeyGenerator.java ! src/java.base/share/classes/com/sun/crypto/provider/HmacSHA1KeyGenerator.java + test/jdk/com/sun/crypto/provider/KeyGenerator/Test6227536.java Changeset: 15943e42 Author: Serguei Spitsyn Date: 2022-07-29 21:49:27 +0000 URL: https://git.openjdk.org/loom/commit/15943e424244abb2fd033521f3ca562f3539e8fd 8282666: nsk/jvmti/PopFrame/popframe004 failed with: TEST FAILED: 30 JVMTI events were generated by the function PopFrame() Reviewed-by: lmesnik, amenkov ! test/hotspot/jtreg/vmTestbase/nsk/jvmti/PopFrame/popframe004.java Changeset: 8179a191 Author: Jonathan Gibbons Date: 2022-07-29 21:55:20 +0000 URL: https://git.openjdk.org/loom/commit/8179a191f017540e19916a35040236ea2a13878b 8290243: move seeTagToContent from HtmlDocletWriter to TagletWriterImpl Reviewed-by: prappo ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/TagletWriter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/CommentHelper.java ! test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/pkg/TypeParameters.java Changeset: dd9bd31b Author: Yasumasa Suenaga Date: 2022-07-29 23:30:58 +0000 URL: https://git.openjdk.org/loom/commit/dd9bd31b86b732bc84a4db9a4d9c2b15e8142c90 8289688: jfr command hangs when it processes invalid file Reviewed-by: egahlin ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ChunkHeader.java Changeset: 470c0eb2 Author: Joe Wang Date: 2022-07-30 01:42:05 +0000 URL: https://git.openjdk.org/loom/commit/470c0eb2163a62e5743aefe62c6725e92beea54d 8290740: Catalog not used when the handler is null Reviewed-by: lancea, naoto, iris ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/xinclude/XIncludeHandler.java ! test/jaxp/javax/xml/jaxp/unittest/catalog/CatalogSupport.java ! test/jaxp/javax/xml/jaxp/unittest/catalog/CatalogSupportBase.java Changeset: 35790241 Author: Johan Sj?l?n Committer: David Holmes Date: 2022-07-30 07:34:39 +0000 URL: https://git.openjdk.org/loom/commit/357902415dd6c9d250e698efa8bae969ed334ead 8288904: Incorrect memory ordering in UL Reviewed-by: rehn, dholmes ! src/hotspot/share/logging/logOutputList.cpp Changeset: 32d410a1 Author: Thomas Stuefe Date: 2022-07-30 13:03:25 +0000 URL: https://git.openjdk.org/loom/commit/32d410a1af65f12f5b27f3685e1e803d876816e8 8290868: NMT: MallocSiteTable statistics improvements Reviewed-by: zgu, lucy ! src/hotspot/share/services/mallocSiteTable.cpp Changeset: acbe093a Author: Aleksey Shipilev Date: 2022-07-31 18:49:21 +0000 URL: https://git.openjdk.org/loom/commit/acbe093a66d86904266e390c9dc5da2da34d8982 8291559: x86: compiler/vectorization/TestReverseBitsVector.java fails Reviewed-by: kvn ! test/hotspot/jtreg/compiler/vectorization/TestReverseBitsVector.java Changeset: d9cb410e Author: Aleksey Shipilev Date: 2022-07-31 18:52:16 +0000 URL: https://git.openjdk.org/loom/commit/d9cb410efc07a60e426f2399e020dcaccaba7dfa 8290466: Default to --with-source-date=current to avoid unmodified Hotspot recompilation Reviewed-by: erikj, ihse ! doc/building.html ! doc/building.md ! make/autoconf/jdk-options.m4 Changeset: 257c71c3 Author: Axel Boldt-Christmas Committer: Erik ?sterlund Date: 2022-08-01 05:23:39 +0000 URL: https://git.openjdk.org/loom/commit/257c71c35fa6f52a429347a9ed883498d613b5d5 8290062: Remove nmethodLocker for nmethods on-stack Reviewed-by: eosterlund, kvn ! src/hotspot/share/runtime/sharedRuntime.cpp Changeset: 7ff19694 Author: Thomas Stuefe Date: 2022-08-01 08:03:52 +0000 URL: https://git.openjdk.org/loom/commit/7ff19694dfef947bf65dbd15ec6497acefae39aa 8290067: Show stack dimensions in UL logging when attaching threads Reviewed-by: dholmes, mbaesken ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/windows/os_windows.cpp Changeset: d61c0c79 Author: KIRIYAMA Takuya Committer: Serguei Spitsyn Date: 2022-08-01 08:12:25 +0000 URL: https://git.openjdk.org/loom/commit/d61c0c79cf9d7bc038efab0fdfe1a306f2b0e0b7 8290497: some tests in com/sun/jdi fail on localized Windows platform Reviewed-by: sspitsyn, cjplummer, amenkov ! test/jdk/com/sun/jdi/JdbReadTwiceTest.sh ! test/jdk/com/sun/jdi/lib/jdb/Jdb.java Changeset: 86ef7b20 Author: Andrew Haley Date: 2022-08-01 08:57:49 +0000 URL: https://git.openjdk.org/loom/commit/86ef7b20eb45899a91cf9ee83f723336c9477694 8289046: Undefined Behaviour in x86 class Assembler Reviewed-by: shade, kvn ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/globalDefinitions_x86.hpp ! src/hotspot/cpu/x86/macroAssembler_x86_aes.cpp ! src/hotspot/cpu/x86/register_x86.cpp ! src/hotspot/cpu/x86/register_x86.hpp ! src/hotspot/cpu/x86/vmreg_x86.inline.hpp Changeset: 30205bb2 Author: Thomas Schatzl Date: 2022-08-01 09:53:37 +0000 URL: https://git.openjdk.org/loom/commit/30205bb289e9b25d60474b24b891e15923071b5a 8290966: G1: Record number of PLAB filled and number of direct allocations Reviewed-by: sangheki, kbarrett ! src/hotspot/share/gc/g1/g1Allocator.cpp ! src/hotspot/share/gc/g1/g1Allocator.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1EvacStats.cpp ! src/hotspot/share/gc/g1/g1EvacStats.hpp ! src/hotspot/share/gc/g1/g1EvacStats.inline.hpp ! src/hotspot/share/gc/shared/gcHeapSummary.hpp ! src/hotspot/share/jfr/metadata/metadata.xml ! test/hotspot/jtreg/gc/g1/plab/lib/LogParser.java Changeset: f5d1b5bd Author: Prasanta Sadhukhan Date: 2022-08-01 11:08:56 +0000 URL: https://git.openjdk.org/loom/commit/f5d1b5bda27c798347ae278cbf69725ed4be895c 6463708: DefaultButtonModel.setMnemonic generates ChangeEvent for no change Reviewed-by: azvegint, prr ! src/java.desktop/share/classes/javax/swing/DefaultButtonModel.java + test/jdk/javax/swing/DefaultButtonModel/TestMnemonicEvent.java Changeset: 464085ed Author: Matthias Baesken Date: 2022-08-01 13:24:31 +0000 URL: https://git.openjdk.org/loom/commit/464085ed901029d2380d207e53a00106bc91109a 8291558: unify print_jni_name_prefix_on and print_jni_name_suffix_on on posix platforms Reviewed-by: dholmes, stuefe ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/posix/os_posix.cpp Changeset: 226b8e68 Author: Roger Riggs Date: 2022-08-01 13:44:21 +0000 URL: https://git.openjdk.org/loom/commit/226b8e680a82096b3d268703872d30182c10e326 8290885: java/lang/ProcessBuilder/PipelineLeaksFD.java fail: More or fewer pipes than expected Reviewed-by: bpb, naoto, jpai ! test/jdk/ProblemList-Xcomp.txt ! test/jdk/java/lang/ProcessBuilder/PipelineLeaksFD.java Changeset: fcc11953 Author: Aleksey Shipilev Date: 2022-08-01 14:20:27 +0000 URL: https://git.openjdk.org/loom/commit/fcc119531a3badaa5f7b5602b3d74c2ac5bf7b81 8290531: Loom: Parallelize a few tests more deeply Reviewed-by: rpressler, jpai, alanb ! test/jdk/java/net/vthread/BlockingSocketOps.java ! test/jdk/java/nio/channels/vthread/BlockingChannelOps.java ! test/jdk/jdk/internal/vm/Continuation/Fuzz.java Changeset: 1df77ec1 Author: Gerard Ziemski Date: 2022-08-01 16:07:11 +0000 URL: https://git.openjdk.org/loom/commit/1df77ec1375fd3260c683ac77e5f17676fbff944 8291060: OPEN_MAX is no longer the max limit on macOS >= 10.6 for RLIMIT_NOFILE Reviewed-by: dholmes, dcubed ! src/hotspot/os/bsd/os_bsd.cpp Changeset: 57bf603b Author: Bill Huang Committer: Joe Wang Date: 2022-08-01 16:37:22 +0000 URL: https://git.openjdk.org/loom/commit/57bf603b7332db86c39680d16b78f94a904daf46 8289948: Improve test coverage for XPath functions: Node Set Functions Reviewed-by: joehw ! test/jaxp/javax/xml/jaxp/unittest/xpath/XPathAnyTypeTest.java ! test/jaxp/javax/xml/jaxp/unittest/xpath/XPathExpAnyTypeTest.java + test/jaxp/javax/xml/jaxp/unittest/xpath/XPathNodeSetFnTest.java ! test/jaxp/javax/xml/jaxp/unittest/xpath/XPathTestBase.java Changeset: 6cbc234a Author: Evgeny Astigeevich Committer: Paul Hohensee Date: 2022-08-01 19:52:42 +0000 URL: https://git.openjdk.org/loom/commit/6cbc234ad17c5a0c4b3d6ea76f807c27c1dc8330 8287393: AArch64: Remove trampoline_call1 Reviewed-by: aph, phh ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp Changeset: f714ac52 Author: Coleen Phillimore Date: 2022-08-01 21:26:36 +0000 URL: https://git.openjdk.org/loom/commit/f714ac52bfe95b5a94e3994656438ef2aeab2c86 8290718: Remove ALLOCATION_SUPER_CLASS_SPEC Reviewed-by: zgu, iklam ! src/hotspot/share/c1/c1_Compilation.cpp ! src/hotspot/share/c1/c1_Compilation.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/memory/allocation.cpp ! src/hotspot/share/memory/allocation.hpp ! src/hotspot/share/oops/stackChunkOop.cpp Changeset: 554f44ec Author: Weijun Wang Date: 2022-08-01 22:28:30 +0000 URL: https://git.openjdk.org/loom/commit/554f44ecb1134acff3eaf02e2e1c0e01158ab7e5 8282730: LdapLoginModule throw NPE from logout method after login failure Reviewed-by: mullan ! src/java.base/share/classes/javax/security/auth/Subject.java ! src/java.base/share/classes/javax/security/auth/login/LoginContext.java ! src/java.base/share/classes/javax/security/auth/spi/LoginModule.java ! src/java.management/share/classes/com/sun/jmx/remote/security/FileLoginModule.java ! src/jdk.security.auth/share/classes/com/sun/security/auth/module/JndiLoginModule.java ! src/jdk.security.auth/share/classes/com/sun/security/auth/module/KeyStoreLoginModule.java ! src/jdk.security.auth/share/classes/com/sun/security/auth/module/Krb5LoginModule.java ! src/jdk.security.auth/share/classes/com/sun/security/auth/module/LdapLoginModule.java ! src/jdk.security.auth/share/classes/com/sun/security/auth/module/NTLoginModule.java ! src/jdk.security.auth/share/classes/com/sun/security/auth/module/UnixLoginModule.java + test/jdk/javax/security/auth/login/modules/SafeLogout.java Changeset: a2cff263 Author: Pengfei Li Date: 2022-08-02 06:50:55 +0000 URL: https://git.openjdk.org/loom/commit/a2cff2634cdaa0fa7ba2a1acd951d6f521f59f6d 8291597: [BACKOUT] JDK-8289996: Fix array range check hoisting for some scaled loop iv Reviewed-by: kvn, thartmann ! src/hotspot/share/opto/mulnode.cpp ! src/hotspot/share/utilities/powerOfTwo.hpp - test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckHoistingScaledIV.java - test/micro/org/openjdk/bench/vm/compiler/RangeCheckHoisting.java Changeset: a9db5bb3 Author: Johan Sj?l?n Committer: Stefan Karlsson Date: 2022-08-02 10:38:31 +0000 URL: https://git.openjdk.org/loom/commit/a9db5bb3737a329e5bb30042aa956302718e0e16 8291626: Remove Mutex::contains as it is unused Reviewed-by: stefank, dholmes ! src/hotspot/share/runtime/mutex.cpp ! src/hotspot/share/runtime/mutex.hpp Changeset: af76c0c1 Author: Evgeny Astigeevich Committer: Paul Hohensee Date: 2022-08-02 12:01:25 +0000 URL: https://git.openjdk.org/loom/commit/af76c0c1991f6051ba95f05b79121a7eeef8e7d3 8291654: AArch64: assert from JDK-8287393 causes crashes Reviewed-by: dholmes, xliu, phh ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp Changeset: a6564d49 Author: Chris Plummer Date: 2022-08-02 21:13:00 +0000 URL: https://git.openjdk.org/loom/commit/a6564d495b6c2354b82cd49243d3c8793d95f2cb 8291650: Add delay to ClassUnloadEventTest before exiting to give time for JVM to send all events before VMDeath Reviewed-by: sspitsyn, amenkov ! test/jdk/com/sun/jdi/ClassUnloadEventTest.java Changeset: 5acf2d7c Author: Chris Plummer Date: 2022-08-02 21:15:01 +0000 URL: https://git.openjdk.org/loom/commit/5acf2d7cb42d004e1d35834ae321f531c46594db 8291578: Remove JMX related tests from ProblemList-svc-vthreads.txt Reviewed-by: sspitsyn, kevinw, lmesnik ! test/hotspot/jtreg/ProblemList-svc-vthread.txt Changeset: 0ae83410 Author: Serguei Spitsyn Date: 2022-08-02 22:41:17 +0000 URL: https://git.openjdk.org/loom/commit/0ae834105740f7cf73fe96be22e0f564ad29b18d 8290908: misc tests fail: assert(!thread->owns_locks()) failed: must release all locks when leaving VM Reviewed-by: cjplummer, amenkov ! src/hotspot/share/prims/jvmtiEventController.cpp Changeset: 1d16c91b Author: Mark Reinhold Date: 2022-07-28 18:22:59 +0000 URL: https://git.openjdk.org/loom/commit/1d16c91ba7733d07ce609b83b9d01c5ae74f965d 8291512: Snippetize modules API examples Reviewed-by: darcy ! src/java.base/share/classes/java/lang/ModuleLayer.java ! src/java.base/share/classes/java/lang/module/Configuration.java ! src/java.base/share/classes/java/lang/module/ModuleDescriptor.java ! src/java.base/share/classes/java/lang/module/ModuleFinder.java Changeset: 54c093ab Author: Erik Gahlin Date: 2022-08-02 14:41:38 +0000 URL: https://git.openjdk.org/loom/commit/54c093ab0e71cfa80e62e54c5cb7aa12059e821b 8291524: jdk/jfr/event/runtime/TestClassLoaderStatsEvent.java Value not equal to 2, field='hiddenClassCount', value='0' Reviewed-by: hseigel ! test/jdk/jdk/jfr/event/runtime/TestClassLoaderStatsEvent.java ! test/jdk/jdk/jfr/event/runtime/TestClasses.java Changeset: 0971d346 Author: David Holmes Date: 2022-08-03 08:11:10 +0000 URL: https://git.openjdk.org/loom/commit/0971d3464609bf4124df460ea73ff761d7e0f7b2 Merge ! src/java.base/share/classes/java/lang/module/ModuleDescriptor.java ! src/java.base/share/classes/java/lang/module/ModuleDescriptor.java Changeset: b7d2bde8 Author: Coleen Phillimore Date: 2022-08-03 13:06:53 +0000 URL: https://git.openjdk.org/loom/commit/b7d2bde8e37817e827e685bd675b075c1f29b4c2 8291733: Remove JFR events that expose hashtable Reviewed-by: egahlin ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/classfile/systemDictionary.hpp ! src/hotspot/share/jfr/metadata/metadata.xml ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/jdk.jfr/share/conf/jfr/default.jfc ! src/jdk.jfr/share/conf/jfr/profile.jfc ! test/jdk/jdk/jfr/event/runtime/TestTableStatisticsEvent.java ! test/lib/jdk/test/lib/jfr/EventNames.java Changeset: af529be0 Author: Daniel Jeli?ski Date: 2022-08-03 14:51:28 +0000 URL: https://git.openjdk.org/loom/commit/af529be069b651808310c3c37e2167d216979f69 8285836: sun/net/www/http/KeepAliveCache/KeepAliveProperty.java failed with "RuntimeException: Failed in server" Reviewed-by: dfuchs, jpai ! test/jdk/sun/net/www/http/KeepAliveCache/KeepAliveProperty.java Changeset: e52a340d Author: Naoto Sato Date: 2022-08-03 15:59:43 +0000 URL: https://git.openjdk.org/loom/commit/e52a340d7fca161539524eedc0c2d48283f4f0a7 8290488: IBM864 character encoding implementation bug Reviewed-by: iris, joehw, alanb + make/data/charsetmapping/IBM864.c2b ! test/jdk/java/beans/XMLEncoder/Test4625418.java + test/jdk/sun/nio/cs/mapping/Cp864.c2b-irreversible Changeset: 4d6e6f67 Author: Marc R. Hoffmann Committer: Aleksey Shipilev Date: 2022-08-03 16:40:03 +0000 URL: https://git.openjdk.org/loom/commit/4d6e6f6741170a7f083a84e3e9f4b5f67099a433 8291822: ARM32: Build errors with GCC 11 in frame::saved_oop_result Reviewed-by: shade, stuefe ! src/hotspot/cpu/arm/frame_arm.inline.hpp Changeset: c89556f6 Author: Aleksey Shipilev Date: 2022-08-03 16:43:20 +0000 URL: https://git.openjdk.org/loom/commit/c89556f6cd4d0b64f3e9e2f1dc7c51634522f205 8291633: Build failures with GCC 11, Alpine 3 due to incompatible casts from nullptr Reviewed-by: stuefe, mbaesken, jiefu ! src/hotspot/cpu/x86/interp_masm_x86.cpp ! src/hotspot/cpu/x86/interpreterRT_x86_64.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.inline.hpp ! src/hotspot/share/oops/access.hpp ! src/hotspot/share/runtime/objectMonitor.cpp Changeset: 0cc49fd9 Author: Ao Qi Committer: Serguei Spitsyn Date: 2022-08-03 17:33:11 +0000 URL: https://git.openjdk.org/loom/commit/0cc49fd9eac5259543a3c41b7a32b6e01a1b0ad5 8291508: Fix some tests with "requires vm.jvmti & vm.continuations" Reviewed-by: sspitsyn, lmesnik, alanb ! test/hotspot/jtreg/vmTestbase/nsk/jvmti/GetThreadInfo/thrinfo001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineVirtual/StressRedefineVirtual.java Changeset: 1b66cecd Author: Eric Caspole Date: 2022-08-03 18:01:26 +0000 URL: https://git.openjdk.org/loom/commit/1b66cecd311cc56c968134ae3f8aeff2e8bfc970 8291729: Reduce runtime of vm.compiler microbenchmarks Reviewed-by: kvn ! test/micro/org/openjdk/bench/vm/compiler/AddIdealNotXPlusC.java ! test/micro/org/openjdk/bench/vm/compiler/ArrayAllocation.java ! test/micro/org/openjdk/bench/vm/compiler/ArrayBoundCheckRemoval.java ! test/micro/org/openjdk/bench/vm/compiler/ArrayClear.java ! test/micro/org/openjdk/bench/vm/compiler/ArrayFill.java ! test/micro/org/openjdk/bench/vm/compiler/ArrayStoreCheck.java ! test/micro/org/openjdk/bench/vm/compiler/AutoVectorization2DArray.java ! test/micro/org/openjdk/bench/vm/compiler/BitSetAndReset.java ! test/micro/org/openjdk/bench/vm/compiler/BitTest.java ! test/micro/org/openjdk/bench/vm/compiler/ClearMemory.java ! test/micro/org/openjdk/bench/vm/compiler/CopyLoop.java ! test/micro/org/openjdk/bench/vm/compiler/DivRem.java ! test/micro/org/openjdk/bench/vm/compiler/Explosion.java ! test/micro/org/openjdk/bench/vm/compiler/FloatingScalarVectorAbsDiff.java ! test/micro/org/openjdk/bench/vm/compiler/FpMinMaxIntrinsics.java ! test/micro/org/openjdk/bench/vm/compiler/IndexVector.java ! test/micro/org/openjdk/bench/vm/compiler/InnerClassNullRef.java ! test/micro/org/openjdk/bench/vm/compiler/InterfaceCalls.java ! test/micro/org/openjdk/bench/vm/compiler/InterfacePrivateCalls.java ! test/micro/org/openjdk/bench/vm/compiler/IterativeEA.java ! test/micro/org/openjdk/bench/vm/compiler/LeaInstruction.java ! test/micro/org/openjdk/bench/vm/compiler/LoopUnroll.java ! test/micro/org/openjdk/bench/vm/compiler/MacroLogicOpt.java ! test/micro/org/openjdk/bench/vm/compiler/MaxMinOptimizeTest.java ! test/micro/org/openjdk/bench/vm/compiler/ModPowerOf2.java ! test/micro/org/openjdk/bench/vm/compiler/Multiplication.java ! test/micro/org/openjdk/bench/vm/compiler/PostAllocationStores.java ! test/micro/org/openjdk/bench/vm/compiler/SharedLoopHeader.java ! test/micro/org/openjdk/bench/vm/compiler/Signum.java ! test/micro/org/openjdk/bench/vm/compiler/SpillCode.java ! test/micro/org/openjdk/bench/vm/compiler/StoreAfterStore.java ! test/micro/org/openjdk/bench/vm/compiler/Straighten.java ! test/micro/org/openjdk/bench/vm/compiler/StringConstructorBenchmark.java ! test/micro/org/openjdk/bench/vm/compiler/TypeVectorOperations.java ! test/micro/org/openjdk/bench/vm/compiler/UnsignedComparison.java ! test/micro/org/openjdk/bench/vm/compiler/VectorBitCount.java ! test/micro/org/openjdk/bench/vm/compiler/VectorIntMinMax.java ! test/micro/org/openjdk/bench/vm/compiler/VectorReduction.java ! test/micro/org/openjdk/bench/vm/compiler/VectorReductionFloatingMinMax.java ! test/micro/org/openjdk/bench/vm/compiler/VectorShiftAccumulate.java ! test/micro/org/openjdk/bench/vm/compiler/VectorShiftRight.java ! test/micro/org/openjdk/bench/vm/compiler/WriteBarrier.java Changeset: 67f00118 Author: Vicente Romero Date: 2022-08-03 19:19:34 +0000 URL: https://git.openjdk.org/loom/commit/67f001186b66b9fcbc9156012d1eec2ae5d45d8b 8260892: Compilation fails: lambda parameter not visible in body when generics involved Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java + test/langtools/tools/javac/generics/diamond/ScopeCopyCanGetAlteredTest.java Changeset: 13f0f126 Author: Justin Gu Committer: Coleen Phillimore Date: 2022-08-03 19:53:30 +0000 URL: https://git.openjdk.org/loom/commit/13f0f126b9edd7d7c9a556c36fd372ca519ad6f5 8290370: Convert SymbolPropertyTable to ResourceHashtable Reviewed-by: coleenp, iklam ! src/hotspot/share/classfile/dictionary.cpp ! src/hotspot/share/classfile/dictionary.hpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! src/hotspot/share/utilities/hashtable.cpp From eric at kolotyluk.net Thu Aug 4 14:09:08 2022 From: eric at kolotyluk.net (eric at kolotyluk.net) Date: Thu, 4 Aug 2022 07:09:08 -0700 Subject: Building Loom from Maven In-Reply-To: References: <002801d8a799$cf5d9040$6e18b0c0$@kolotyluk.net> Message-ID: <01c501d8a80b$c434f060$4c9ed120$@kolotyluk.net> Thanks, Alan, but even with your settings I still get package jdk.incubator.concurrent is not visible from Maven. More completely? [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /C:/Users/ERIC/Documents/git/loom-lab/laboratory/src/main/java/net/kolotyluk/loom/Structured.java:[3,21] package jdk.incubator.concurrent is not visible (package jdk.incubator.concurrent is declared in module jdk.incubator.concurrent, which is not in the module graph) What is strange, is that IntelliJ can build and run the code just fine. Usually, I observe that IntelliJ is less stable than Maven. I guess I will keep slogging through Maven Hell a little longer? Cheers, Eric From: Alan Bateman Sent: August 3, 2022 11:20 PM To: eric at kolotyluk.net; loom-dev at openjdk.java.net Subject: Re: Building Loom from Maven On 04/08/2022 01:33, eric at kolotyluk.net wrote: Has anyone had any success using Structured Concurrency from JDK 19? I have the following pom.xml maven-compiler-plugin --source 19 --enable-preview --add-modules jdk.incubator.concurrent But when I try to compile the project, I get [ERROR] /C:/Users/ERIC/Documents/git/loom-lab/laboratory/src/main/java/net/kolotyluk/loom/Structures.java:[3,21] package jdk.incubator.concurrent is not visible [ERROR] (package jdk.incubator.concurrent is declared in module jdk.incubator.concurrent, which is not in the module graph) And I have been trying for over an hour to fix this but cannot find any solutions that work as they all indicate ?--add-modules jdk.incubator.concurrent? should work. This works for me: --add-modules=jdk.incubator.concurrent --enable-preview -Alan -------------- next part -------------- An HTML attachment was scrubbed... URL: From code at lhorn.de Thu Aug 4 16:02:08 2022 From: code at lhorn.de (Lutz Horn) Date: Thu, 4 Aug 2022 18:02:08 +0200 Subject: Building Loom from Maven In-Reply-To: <002801d8a799$cf5d9040$6e18b0c0$@kolotyluk.net> References: <002801d8a799$cf5d9040$6e18b0c0$@kolotyluk.net> Message-ID: <6725020b-2d34-31e5-734c-26dcc2766b5d@lhorn.de> Hi, Am 04.08.22 um 02:33 schrieb eric at kolotyluk.net: > Has anyone had any success using Structured Concurrency from JDK 19? Using 19.ea.33-open from SDKMAN, this makes `mvn compile` work: ``` org.apache.maven.plugins maven-compiler-plugin 3.8.1 19 --enable-preview --add-modules jdk.incubator.concurrent ``` Note that `--add-modules jdk.incubator.concurrent` ist split on *two* `arg`s. Strangely, I fail to run `mvn test` using the following configuration of the `maven-surefire-plugin` which worked with the old Loom preview build 19.ea.5.lm-open. ``` --enable-preview --add-modules jdk.incubator.concurrent ``` `mvn test-compile` works but `mvn test` fails like this: ``` java.lang.NoSuchMethodError: 'void jdk.incubator.concurrent.StructuredTaskScope$ShutdownOnFailure.join()' ``` Both `main` and `test` can be compiled but running the tests fails. Lutz From robin.bygrave at gmail.com Mon Aug 8 21:30:37 2022 From: robin.bygrave at gmail.com (Rob Bygrave) Date: Tue, 9 Aug 2022 09:30:37 +1200 Subject: Building Loom from Maven In-Reply-To: <6725020b-2d34-31e5-734c-26dcc2766b5d@lhorn.de> References: <002801d8a799$cf5d9040$6e18b0c0$@kolotyluk.net> <6725020b-2d34-31e5-734c-26dcc2766b5d@lhorn.de> Message-ID: maven-compiler-plugin version *3.8.1* is kind of old. Maybe try version *3.10.1 *? On Fri, 5 Aug 2022 at 04:02, Lutz Horn wrote: > Hi, > > Am 04.08.22 um 02:33 schrieb eric at kolotyluk.net: > > Has anyone had any success using Structured Concurrency from JDK 19? > > Using 19.ea.33-open from SDKMAN, this makes `mvn compile` work: > > ``` > > org.apache.maven.plugins > maven-compiler-plugin > 3.8.1 > > 19 > > --enable-preview > --add-modules > jdk.incubator.concurrent > > > > ``` > > Note that `--add-modules jdk.incubator.concurrent` ist split on *two* > `arg`s. > > > Strangely, I fail to run `mvn test` using the following configuration of > the `maven-surefire-plugin` which worked with the old Loom preview build > 19.ea.5.lm-open. > > ``` > > --enable-preview --add-modules > jdk.incubator.concurrent > > ``` > > `mvn test-compile` works but `mvn test` fails like this: > > ``` > java.lang.NoSuchMethodError: 'void > jdk.incubator.concurrent.StructuredTaskScope$ShutdownOnFailure.join()' > ``` > > Both `main` and `test` can be compiled but running the tests fails. > > Lutz > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark.reinhold at oracle.com Wed Aug 10 21:26:12 2022 From: mark.reinhold at oracle.com (mark.reinhold at oracle.com) Date: Wed, 10 Aug 2022 14:26:12 -0700 Subject: Submitted JEP: Extent-Local Variables Message-ID: <20220810142612.48372077@eggemoggin.niobe.net> https://openjdk.org/jeps/8263012 Andrew & Andrew, First, thank you! This is great work, and along with the rest of Loom it?s going to change the world. I?ve done a light editing pass to tighten the prose a bit, fix some references, and make the terminology and notation consistent with related JEPs. I also changed the term ?broadcast? to ?transmission,? since the former suggests that any thread can receive the information when really only descendants of the thread that binds an extent-local variable can read it. As written, the JEP implies that `ExtentLocal` has a `run(...)` method, but of course it doesn?t -- that?s declared in `ExtentLocal.Carrier`, which you don?t mention anywhere in the JEP. I?m guessing that you chose not to mention the latter class so as to avoid making the JEP even longer. I?ve thus tried in the text to weaken the implication that `ExtentLocal` declares `run(...)`. Since the carrier class enables chained `where(...)` invocations, which seem very useful, I do recommend that you consider explaining it in a short subsection just before the migration discussion. (It?d be fine to continue to suppress mention of it earlier on.) Diffs: https://cr.openjdk.java.net/~mr/jeps/jep-extent-local-variables-i1-01a_diff.html Please review my edits, make any necessary corrections and adjustments, and then I?ll move this JEP to Candidate. - Mark From adinn at redhat.com Thu Aug 11 08:24:24 2022 From: adinn at redhat.com (Andrew Dinn) Date: Thu, 11 Aug 2022 09:24:24 +0100 Subject: Submitted JEP: Extent-Local Variables In-Reply-To: <20220810142612.48372077@eggemoggin.niobe.net> References: <20220810142612.48372077@eggemoggin.niobe.net> Message-ID: <621b6e5f-5482-5133-c743-0ff9bdba41b9@redhat.com> Hi Mark, On 10/08/2022 22:26, mark.reinhold at oracle.com wrote: > First, thank you! This is great work, and along with the rest of Loom > it?s going to change the world. Thank you. I do hope it's value is widely recognised and appreciated. > As written, the JEP implies that `ExtentLocal` has a `run(...)` method, > but of course it doesn?t -- that?s declared in `ExtentLocal.Carrier`, > which you don?t mention anywhere in the JEP. I?m guessing that you > chose not to mention the latter class so as to avoid making the JEP even > longer. I?ve thus tried in the text to weaken the implication that > `ExtentLocal` declares `run(...)`. Since the carrier class enables > chained `where(...)` invocations, which seem very useful, I do recommend > that you consider explaining it in a short subsection just before the > migration discussion. (It?d be fine to continue to suppress mention of > it earlier on.) This sounds like a good idea. I have to confess that I was only vaguely aware of the details of how this works (which quite possibly explains why the current gloss belies the API). I hope Andrew Haley can provide a draft, which I will endeavour to critique before submission. > Please review my edits, make any necessary corrections and adjustments, > and then I?ll move this JEP to Candidate. I'm very happy with all your edits, thanks (including your En_US drive chain replacing my more haphazard En_UK sower). regards, Andrew Dinn ----------- From mark.reinhold at oracle.com Fri Aug 12 00:18:13 2022 From: mark.reinhold at oracle.com (mark.reinhold at oracle.com) Date: Thu, 11 Aug 2022 17:18:13 -0700 (PDT) Subject: New candidate JEP: 429: Extent-Local Variables (Incubator) Message-ID: <20220812001813.98AD353FB98@eggemoggin.niobe.net> https://openjdk.org/jeps/429 Summary: Introduce extent-local variables, which enable the sharing of immutable data within and across threads. They are preferred to thread-local variables, especially when using large numbers of virtual threads. This is an incubating API. - Mark From duke at openjdk.org Fri Aug 12 08:19:38 2022 From: duke at openjdk.org (duke) Date: Fri, 12 Aug 2022 08:19:38 GMT Subject: git: openjdk/loom: fibers: 84 new changesets Message-ID: <4e0c38f8-b7c2-43f9-86ea-635867d88574@openjdk.org> Changeset: e265b2a2 Author: Thomas Schatzl Date: 2022-08-03 14:26:06 +0000 URL: https://git.openjdk.org/loom/commit/e265b2a2918f39a1d9afdb6a473c2d8d657cbb8c 8290867: Race freeing remembered set segments Reviewed-by: kbarrett, sangheki ! src/hotspot/share/gc/g1/g1SegmentedArray.cpp Changeset: 4cfbb3b5 Author: Daniel D. Daugherty Date: 2022-08-03 22:31:18 +0000 URL: https://git.openjdk.org/loom/commit/4cfbb3b5ec48d7b7f9995dab18cdc707dea15ed2 Merge Changeset: b6b0317f Author: Ioi Lam Date: 2022-08-04 01:20:29 +0000 URL: https://git.openjdk.org/loom/commit/b6b0317f832985470ccf4bc1e2abf9015ce5bd54 8290840: Refactor the "os" class Reviewed-by: dholmes, gziemski, stuefe, stefank ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp ! src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.inline.hpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/ppc/vm_version_ppc.cpp ! src/hotspot/cpu/riscv/icache_riscv.cpp ! src/hotspot/cpu/riscv/vm_version_riscv.cpp ! src/hotspot/cpu/x86/jniFastGetField_x86_32.cpp ! src/hotspot/cpu/x86/rdtsc_x86.cpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/os/aix/attachListener_aix.cpp ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/aix/os_aix.hpp ! src/hotspot/os/aix/os_aix.inline.hpp ! src/hotspot/os/bsd/attachListener_bsd.cpp ! src/hotspot/os/bsd/os_bsd.hpp ! src/hotspot/os/bsd/os_bsd.inline.hpp ! src/hotspot/os/linux/attachListener_linux.cpp ! src/hotspot/os/linux/cgroupSubsystem_linux.cpp ! src/hotspot/os/linux/gc/z/zNUMA_linux.cpp ! src/hotspot/os/linux/gc/z/zPhysicalMemoryBacking_linux.cpp ! src/hotspot/os/linux/osContainer_linux.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/linux/os_linux.hpp ! src/hotspot/os/linux/os_linux.inline.hpp ! src/hotspot/os/linux/os_perf_linux.cpp ! src/hotspot/os/linux/trimCHeapDCmd.cpp ! src/hotspot/os/posix/os_posix.cpp ! src/hotspot/os/posix/os_posix.hpp ! src/hotspot/os/posix/os_posix.inline.hpp ! src/hotspot/os/posix/perfMemory_posix.cpp ! src/hotspot/os/posix/safefetch_static_posix.cpp ! src/hotspot/os/posix/semaphore_posix.cpp ! src/hotspot/os/posix/signals_posix.cpp ! src/hotspot/os/posix/vmError_posix.cpp ! src/hotspot/os/windows/iphlp_interface.cpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/os/windows/os_windows.hpp ! src/hotspot/os/windows/os_windows.inline.hpp ! src/hotspot/os/windows/pdh_interface.cpp ! src/hotspot/os_cpu/aix_ppc/os_aix_ppc.cpp - src/hotspot/os_cpu/aix_ppc/os_aix_ppc.hpp + src/hotspot/os_cpu/aix_ppc/os_aix_ppc.inline.hpp ! src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp - src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.hpp + src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.inline.hpp ! src/hotspot/os_cpu/bsd_x86/os_bsd_x86.cpp - src/hotspot/os_cpu/bsd_x86/os_bsd_x86.hpp ! src/hotspot/os_cpu/bsd_x86/os_bsd_x86.inline.hpp ! src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp - src/hotspot/os_cpu/bsd_zero/os_bsd_zero.hpp + src/hotspot/os_cpu/bsd_zero/os_bsd_zero.inline.hpp ! src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp - src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.hpp + src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.inline.hpp ! src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp - src/hotspot/os_cpu/linux_arm/os_linux_arm.hpp + src/hotspot/os_cpu/linux_arm/os_linux_arm.inline.hpp ! src/hotspot/os_cpu/linux_ppc/os_linux_ppc.cpp - src/hotspot/os_cpu/linux_ppc/os_linux_ppc.hpp + src/hotspot/os_cpu/linux_ppc/os_linux_ppc.inline.hpp ! src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp - src/hotspot/os_cpu/linux_riscv/os_linux_riscv.hpp + src/hotspot/os_cpu/linux_riscv/os_linux_riscv.inline.hpp ! src/hotspot/os_cpu/linux_s390/os_linux_s390.cpp - src/hotspot/os_cpu/linux_s390/os_linux_s390.hpp + src/hotspot/os_cpu/linux_s390/os_linux_s390.inline.hpp ! src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp - src/hotspot/os_cpu/linux_x86/os_linux_x86.hpp ! src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp - src/hotspot/os_cpu/linux_zero/os_linux_zero.hpp + src/hotspot/os_cpu/linux_zero/os_linux_zero.inline.hpp ! src/hotspot/os_cpu/windows_aarch64/os_windows_aarch64.cpp - src/hotspot/os_cpu/windows_aarch64/os_windows_aarch64.hpp ! src/hotspot/os_cpu/windows_aarch64/os_windows_aarch64.inline.hpp ! src/hotspot/os_cpu/windows_x86/assembler_windows_x86.cpp ! src/hotspot/os_cpu/windows_x86/os_windows_x86.cpp - src/hotspot/os_cpu/windows_x86/os_windows_x86.hpp ! src/hotspot/os_cpu/windows_x86/os_windows_x86.inline.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/code/codeCache.cpp ! src/hotspot/share/jfr/utilities/jfrTime.cpp ! src/hotspot/share/jfr/utilities/jfrTimeConverter.cpp ! src/hotspot/share/opto/callGenerator.cpp ! src/hotspot/share/opto/lcm.cpp ! src/hotspot/share/opto/matcher.cpp ! src/hotspot/share/runtime/os.hpp ! src/hotspot/share/runtime/os.inline.hpp ! src/hotspot/share/utilities/debug.cpp ! src/hotspot/share/utilities/ostream.cpp ! src/hotspot/share/utilities/ticks.cpp ! src/hotspot/share/utilities/vmError.cpp ! test/hotspot/gtest/runtime/test_os.cpp ! test/hotspot/gtest/runtime/test_os_linux.cpp Changeset: 1a6c83b7 Author: Tobias Hartmann Date: 2022-08-04 05:02:16 +0000 URL: https://git.openjdk.org/loom/commit/1a6c83b7718e00cf2284903434766dc6d4bf7755 8291798: VMRegImpl::print_on is broken after JDK-8289060 Reviewed-by: shade, jiefu, kvn, dlong ! src/hotspot/share/code/vmreg.cpp ! src/hotspot/share/code/vmreg.hpp Changeset: 4772354f Author: Daniel Jeli?ski Date: 2022-08-04 06:57:35 +0000 URL: https://git.openjdk.org/loom/commit/4772354f4caf5eb314eda81217e5bc48a62d485b 8291825: java/time/nontestng/java/time/zone/CustomZoneNameTest.java fails if defaultLocale and defaultFormatLocale are different Reviewed-by: naoto ! test/jdk/java/time/nontestng/java/time/zone/zoneProvider/custom/CustomTimeZoneNameProvider.java Changeset: 43bb3993 Author: David Holmes Date: 2022-08-04 06:51:37 +0000 URL: https://git.openjdk.org/loom/commit/43bb399375b9e14ae78b7f4791ec7e7d8f53a35d 8291757: Remove EA from JDK 19 version string starting with Initial RC promotion B35 on August 11, 2022 Reviewed-by: alanb ! make/conf/version-numbers.conf Changeset: 34939731 Author: David Holmes Date: 2022-08-04 07:14:59 +0000 URL: https://git.openjdk.org/loom/commit/349397318687fdb7be8f50f02b536e49bffdd92f Merge ! make/conf/version-numbers.conf ! make/conf/version-numbers.conf Changeset: 0bc804d6 Author: David Holmes Date: 2022-08-04 07:42:48 +0000 URL: https://git.openjdk.org/loom/commit/0bc804d6ef66426f93f4bef4641a377a4400827d 8291762: Backout JDK-8291757 from jdk/jdk Reviewed-by: alanb ! make/conf/version-numbers.conf Changeset: 26e5c112 Author: Prasanta Sadhukhan Date: 2022-08-04 09:15:15 +0000 URL: https://git.openjdk.org/loom/commit/26e5c112daa30697a42047e78744c1c533611e10 4890041: Remove TAB and Shift TAB from Popup Menu in Motif Look & Feel Reviewed-by: azvegint, prr ! src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/MotifLookAndFeel.java Changeset: ce61eb6f Author: Daniel Jeli?ski Date: 2022-08-04 10:52:15 +0000 URL: https://git.openjdk.org/loom/commit/ce61eb6ff99eaaece463091b8481e27f84f80684 8290349: IP_DONTFRAGMENT doesn't set DF bit in IPv4 header Reviewed-by: michaelm, alanb ! src/java.base/share/classes/sun/net/ext/ExtendedSocketOptions.java ! src/java.base/share/classes/sun/nio/ch/Net.java ! src/jdk.net/linux/classes/jdk/net/LinuxSocketOptions.java ! src/jdk.net/linux/native/libextnet/LinuxSocketOptions.c ! src/jdk.net/macosx/classes/jdk/net/MacOSXSocketOptions.java ! src/jdk.net/macosx/native/libextnet/MacOSXSocketOptions.c ! src/jdk.net/share/classes/jdk/net/ExtendedSocketOptions.java ! src/jdk.net/windows/classes/jdk/net/WindowsSocketOptions.java ! src/jdk.net/windows/native/libextnet/WindowsSocketOptions.c Changeset: a3040fcc Author: Harold Seigel Date: 2022-08-04 13:13:01 +0000 URL: https://git.openjdk.org/loom/commit/a3040fcc2baa48c19d9525b3539863a71fa5781d 8291360: Create entry points to expose low-level class file information Reviewed-by: dholmes, rriggs ! make/data/hotspot-symbols/symbols-unix ! src/hotspot/share/include/jvm.h ! src/hotspot/share/prims/jvm.cpp ! src/java.base/share/classes/java/lang/Class.java ! src/java.base/share/native/libjava/Class.c + test/hotspot/jtreg/runtime/ClassFile/ClassAccessFlagsRawTest.java + test/hotspot/jtreg/runtime/ClassFile/ClassFileVersionTest.java + test/hotspot/jtreg/runtime/ClassFile/classAccessFlagsRaw.jcod + test/hotspot/jtreg/runtime/ClassFile/classFileVersions.jcod Changeset: d4a795d7 Author: Peter Levart Date: 2022-08-04 13:25:15 +0000 URL: https://git.openjdk.org/loom/commit/d4a795d75aef8d787934f5c05e146c61138a408a 8283276: java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs Reviewed-by: rkennke, shade ! test/jdk/java/io/ObjectStreamClass/ObjectStreamClassCaching.java Changeset: aa557b9b Author: Sergey Tsypanov Committer: Peter Levart Date: 2022-08-04 15:15:49 +0000 URL: https://git.openjdk.org/loom/commit/aa557b9b01571d7614f54d341c5cd8bf36cdacee 8288327: Executable.hasRealParameterData should not be volatile Reviewed-by: plevart ! src/java.base/share/classes/java/lang/reflect/Executable.java Changeset: 966ab219 Author: Andrew Haley Date: 2022-08-04 16:11:01 +0000 URL: https://git.openjdk.org/loom/commit/966ab219b4584bcd561112838c2bde6591ecb064 8291895: Remove PRAGMA_NONNULL_IGNORED from x86 and AArch64 Reviewed-by: shade ! src/hotspot/cpu/aarch64/frame_aarch64.inline.hpp ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/c1_Runtime1_x86.cpp ! src/hotspot/cpu/x86/frame_x86.inline.hpp ! src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/cpu/x86/upcallLinker_x86_64.cpp Changeset: 92d2982f Author: Quan Anh Mai Committer: Jatin Bhateja Date: 2022-08-04 16:27:45 +0000 URL: https://git.openjdk.org/loom/commit/92d2982f3f4ecf7d17df4267bd67af2490badd1e 8283232: x86: Improve vector broadcast operations Reviewed-by: kvn, jbhateja ! 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/x86.ad ! src/hotspot/share/adlc/adlparse.cpp ! src/hotspot/share/adlc/formssel.cpp ! src/hotspot/share/asm/assembler.hpp ! src/hotspot/share/opto/constantTable.cpp ! src/hotspot/share/opto/constantTable.hpp ! src/hotspot/share/opto/machnode.cpp + test/micro/org/openjdk/bench/jdk/incubator/vector/SpiltReplicate.java Changeset: 3ba31716 Author: Vicente Romero Date: 2022-08-04 17:57:28 +0000 URL: https://git.openjdk.org/loom/commit/3ba317167d24b6ed478418a2abae9042ab2764f1 8285935: Spurious lint warning for static method accessed through instance qualifier Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/langtools/tools/javac/4880220/T4880220.error.out ! test/langtools/tools/javac/4880220/T4880220.java ! test/langtools/tools/javac/4880220/T4880220.warn.out ! test/langtools/tools/javac/diags/examples/StaticNotQualifiedByType.java Changeset: fd9ac621 Author: Ioi Lam Date: 2022-08-04 18:10:21 +0000 URL: https://git.openjdk.org/loom/commit/fd9ac6216111063968675ced5d032310447d5206 8291457: Clean up lifecycle of CDS dump-time data structures Reviewed-by: coleenp, ccheung ! src/hotspot/share/cds/dumpTimeClassInfo.cpp ! src/hotspot/share/cds/dumpTimeClassInfo.hpp ! src/hotspot/share/cds/lambdaProxyClassDictionary.cpp ! src/hotspot/share/cds/lambdaProxyClassDictionary.hpp ! src/hotspot/share/cds/runTimeClassInfo.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/oops/symbol.hpp Changeset: 3c325641 Author: Gaurav Chaudhari Committer: Naoto Sato Date: 2022-08-04 18:49:05 +0000 URL: https://git.openjdk.org/loom/commit/3c3256414f7df049cdd6c8519fbcea0d818a1a33 8288377: [REDO] DST not applying properly with zone id offset set with TZ env variable Reviewed-by: naoto ! src/java.base/unix/native/libjava/TimeZone_md.c + test/jdk/java/util/TimeZone/CustomTzIDCheckDST.java Changeset: c48cd886 Author: Daniel D. Daugherty Date: 2022-08-04 19:49:15 +0000 URL: https://git.openjdk.org/loom/commit/c48cd88652e20638b1b3cc5584fd5eefedd5dbb1 8291926: ProblemList multiple tests in -Xcomp mode due to JDK-8291649 Reviewed-by: rriggs ! test/hotspot/jtreg/ProblemList-Xcomp.txt Changeset: 90257f95 Author: Alisen Chung Committer: Phil Race Date: 2022-08-04 20:37:12 +0000 URL: https://git.openjdk.org/loom/commit/90257f95058626196339c444937f037516dbd21e 8169187: [macosx] Aqua: java/awt/image/multiresolution/MultiresolutionIconTest.java Reviewed-by: prr, dnguyen ! test/jdk/ProblemList.txt ! test/jdk/java/awt/image/multiresolution/MultiresolutionIconTest.java Changeset: 6ad6b1c4 Author: Phil Race Date: 2022-08-04 20:51:48 +0000 URL: https://git.openjdk.org/loom/commit/6ad6b1c454cbc41de5a401aecda910d668c71e39 8272998: ImageIO.read() throws incorrect exception type Reviewed-by: aivanov, dnguyen ! src/java.desktop/share/classes/javax/imageio/ImageIO.java + test/jdk/javax/imageio/ReadImageNoIAETest.java Changeset: 1edc2455 Author: Jie Fu Date: 2022-08-04 22:23:56 +0000 URL: https://git.openjdk.org/loom/commit/1edc24557482e04800e774bb3702e3de31783e60 8291899: Zero VM is broken on MacOS after JDK-8290840 due to os::setup_fpu() is missing Reviewed-by: shade ! src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp Changeset: 617a196f Author: Coleen Phillimore Date: 2022-08-04 22:42:41 +0000 URL: https://git.openjdk.org/loom/commit/617a196fd3b68c6958fa7198868b36fc0396b290 8290812: Add a test for ResourceHashtable Reviewed-by: stuefe, iklam ! test/hotspot/gtest/utilities/test_resourceHash.cpp Changeset: 6e6c64c6 Author: Daniel D. Daugherty Date: 2022-08-04 22:50:24 +0000 URL: https://git.openjdk.org/loom/commit/6e6c64c6f6f5bd2b787071f847399f933936e0ed 8291941: ProblemList java/lang/ProcessBuilder/PipelineLeaksFD.java on linux-all Reviewed-by: dholmes ! test/jdk/ProblemList.txt Changeset: 27c88260 Author: Calvin Cheung Date: 2022-08-04 23:56:11 +0000 URL: https://git.openjdk.org/loom/commit/27c8826090135c0bd7719a4455bf6f8675b691d6 8291840: Avoid JavaCalls for setting up _java_system_loader and _java_platform_loader Reviewed-by: coleenp, iklam ! src/hotspot/share/classfile/classLoaderData.hpp ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/classfile/systemDictionary.hpp Changeset: 6b2184e8 Author: Bhavana Kilambi Committer: Ningsheng Jian Date: 2022-08-05 01:51:34 +0000 URL: https://git.openjdk.org/loom/commit/6b2184e8d1450a08f819c8ebd3cf25d308606976 8290248: Implement MaxINode::Ideal transformation Reviewed-by: kvn, thartmann ! src/hotspot/share/opto/addnode.cpp ! src/hotspot/share/opto/addnode.hpp + test/hotspot/jtreg/compiler/c2/irTests/MaxMinINodeIdealizationTests.java ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java Changeset: 4b3dfe1d Author: Peter Levart Date: 2022-08-04 16:53:57 +0000 URL: https://git.openjdk.org/loom/commit/4b3dfe1d22f7fed8a408ee50343d52cf1ac481ef 8283276: java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs Backport-of: d4a795d75aef8d787934f5c05e146c61138a408a ! test/jdk/java/io/ObjectStreamClass/ObjectStreamClassCaching.java Changeset: 477f4711 Author: David Holmes Date: 2022-08-05 03:52:15 +0000 URL: https://git.openjdk.org/loom/commit/477f471159700e27ca6e2f7248f2ec48e7935e0f Merge Changeset: 6e7cd762 Author: Andrey Turbanov Date: 2022-08-05 06:56:20 +0000 URL: https://git.openjdk.org/loom/commit/6e7cd7627d7e5c885b34afb1cb9458221a279e08 8291061: Improve thread safety of FileTime.toString and toInstant Reviewed-by: alanb ! src/java.base/share/classes/java/nio/file/attribute/FileTime.java Changeset: 504a6265 Author: Tobias Holenstein Date: 2022-08-05 07:00:15 +0000 URL: https://git.openjdk.org/loom/commit/504a6265979f489411fabf48da6484061696e61b 8291799: IGV: make "Selection mode" a toggle button Reviewed-by: kvn, thartmann, rcastanedalo ! src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/EditorTopComponent.java - src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/actions/PanModeAction.java ! src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/actions/SelectionModeAction.java - src/utils/IdealGraphVisualizer/View/src/main/resources/com/sun/hotspot/igv/view/images/pan_mode.png Changeset: b0d69528 Author: Tobias Holenstein Date: 2022-08-05 07:04:37 +0000 URL: https://git.openjdk.org/loom/commit/b0d6952811c2b29115b69427fe148ee6bce41710 8291823: IGV: Fix "Save selected groups" Reviewed-by: rcastanedalo, kvn, thartmann ! src/utils/IdealGraphVisualizer/Coordinator/src/main/java/com/sun/hotspot/igv/coordinator/FolderNode.java ! src/utils/IdealGraphVisualizer/Coordinator/src/main/java/com/sun/hotspot/igv/coordinator/OutlineTopComponent.java ! src/utils/IdealGraphVisualizer/Coordinator/src/main/java/com/sun/hotspot/igv/coordinator/actions/RemoveAction.java ! src/utils/IdealGraphVisualizer/Coordinator/src/main/java/com/sun/hotspot/igv/coordinator/actions/SaveAsAction.java Changeset: 4c652d9e Author: Fei Yang Date: 2022-08-05 07:51:05 +0000 URL: https://git.openjdk.org/loom/commit/4c652d9ecace0d07eed43fd11678238707f948de 8291952: riscv: Remove PRAGMA_NONNULL_IGNORED Reviewed-by: yadongwang, shade ! src/hotspot/cpu/riscv/frame_riscv.inline.hpp Changeset: dd7f2d91 Author: Axel Boldt-Christmas Committer: Erik ?sterlund Date: 2022-08-05 08:24:25 +0000 URL: https://git.openjdk.org/loom/commit/dd7f2d912bb66c0f10d7165040e52e2d18b73897 8290090: Change CodeBlobType from unscoped enum to enum class Reviewed-by: eosterlund, kvn ! src/hotspot/share/code/codeBlob.hpp ! src/hotspot/share/code/codeCache.cpp ! src/hotspot/share/code/codeCache.hpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compileBroker.hpp ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/hotspot/share/jfr/recorder/checkpoint/types/jfrType.cpp ! src/hotspot/share/memory/heap.cpp ! src/hotspot/share/memory/heap.hpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/prims/whitebox.hpp Changeset: 88c96dd3 Author: Yadong Wang Committer: Fei Yang Date: 2022-08-05 09:12:29 +0000 URL: https://git.openjdk.org/loom/commit/88c96dd3eb28a273305d07fb2b0a36122484189c 8291947: riscv: fail to build after JDK-8290840 Reviewed-by: fyang, fjiang ! src/hotspot/cpu/riscv/icache_riscv.cpp Changeset: 0da4314e Author: Claes Redestad Date: 2022-08-05 14:35:45 +0000 URL: https://git.openjdk.org/loom/commit/0da4314e95f380f6125120797ad57529f5442cda 8288732: Reduce runtime of java.util.concurrent microbenchmarks Reviewed-by: ecaspole, rriggs ! test/micro/org/openjdk/bench/java/util/concurrent/Atomic.java ! test/micro/org/openjdk/bench/java/util/concurrent/AtomicIntegerUpdateAndGet.java ! test/micro/org/openjdk/bench/java/util/concurrent/ForkJoinPoolForking.java ! test/micro/org/openjdk/bench/java/util/concurrent/ForkJoinPoolRawCallable.java ! test/micro/org/openjdk/bench/java/util/concurrent/ForkJoinPoolThresholdAutoQueued.java ! test/micro/org/openjdk/bench/java/util/concurrent/ForkJoinPoolThresholdAutoSurplus.java ! test/micro/org/openjdk/bench/java/util/concurrent/ForkJoinPoolThresholdStatic.java ! test/micro/org/openjdk/bench/java/util/concurrent/Locks.java ! test/micro/org/openjdk/bench/java/util/concurrent/Maps.java ! test/micro/org/openjdk/bench/java/util/concurrent/ProducerConsumer.java ! test/micro/org/openjdk/bench/java/util/concurrent/Queues.java ! test/micro/org/openjdk/bench/java/util/concurrent/ThreadLocalRandomNextInt.java Changeset: b17a745d Author: Michael McMahon Date: 2022-08-05 14:51:58 +0000 URL: https://git.openjdk.org/loom/commit/b17a745d7f55941f02b0bdde83866aa5d32cce07 8291637: HttpClient default keep alive timeout not followed if server sends invalid value Reviewed-by: jpai, dfuchs ! src/java.base/share/classes/sun/net/www/http/HttpClient.java + test/jdk/sun/net/www/http/KeepAliveCache/B8291637.java Changeset: f9bb3676 Author: Thomas Schatzl Date: 2022-08-05 16:20:27 +0000 URL: https://git.openjdk.org/loom/commit/f9bb3676e3d2c5fe0ae505d3bcbf434f7acb524f 8291653: G1 refinement incorrectly expects always-valid HeapRegion out of the Hot Card Cache Reviewed-by: kbarrett, ayang ! src/hotspot/share/gc/g1/g1RemSet.cpp Changeset: 9bff3b76 Author: Daniel D. Daugherty Date: 2022-08-05 21:36:11 +0000 URL: https://git.openjdk.org/loom/commit/9bff3b76f2e5d0ecede6c0d4042f65d377a28325 8291990: [REDO] ProblemList multiple tests in -Xcomp mode due to JDK-8291649 Reviewed-by: bpb ! test/hotspot/jtreg/ProblemList-Xcomp.txt Changeset: b66a0d16 Author: Daniel D. Daugherty Date: 2022-08-05 21:56:54 +0000 URL: https://git.openjdk.org/loom/commit/b66a0d1613302aa4130328fb08116de778a49a77 8291992: [REDO2] ProblemList multiple tests in -Xcomp mode due to JDK-8291649 Reviewed-by: bpb ! test/jdk/ProblemList-Xcomp.txt Changeset: 0657acf5 Author: Joe Darcy Date: 2022-08-05 22:18:59 +0000 URL: https://git.openjdk.org/loom/commit/0657acf534b0200b13a7535598d69ad4532cd97e 8289249: Add methods to Elements for record constructors Reviewed-by: vromero ! src/java.compiler/share/classes/javax/lang/model/util/Elements.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/model/JavacElements.java + test/langtools/tools/javac/processing/model/util/elements/TestRecordPredicates.java Changeset: 5963300c Author: Alan Bateman Date: 2022-08-05 07:39:43 +0000 URL: https://git.openjdk.org/loom/commit/5963300c0c9dfd34c6338fa8195ae18d7b41840c 8290562: ThreadMXBean.getThread{Cpu,User}Time fails with -XX:-VMContinuations Reviewed-by: sspitsyn, kevinw, mchung ! src/hotspot/share/services/management.cpp ! test/jdk/java/lang/management/ThreadMXBean/VirtualThreads.java Changeset: 87cda21c Author: David Holmes Date: 2022-08-05 22:35:24 +0000 URL: https://git.openjdk.org/loom/commit/87cda21c5d85f6e6f628849b8670e2ecb4e105dd Merge ! src/hotspot/share/services/management.cpp ! src/hotspot/share/services/management.cpp Changeset: ae520537 Author: Andrey Turbanov Date: 2022-08-06 09:53:35 +0000 URL: https://git.openjdk.org/loom/commit/ae52053757ca50c4b56989c9b0c6890e504e4088 8291954: Use Optional.isEmpty instead of !Optional.isPresent in java.base Reviewed-by: jpai, alanb, lancea, rriggs, bpb ! src/java.base/share/classes/java/lang/Runtime.java ! src/java.base/share/classes/java/lang/invoke/MethodHandles.java ! src/java.base/share/classes/java/lang/module/Resolver.java ! src/java.base/share/classes/java/util/Optional.java ! src/java.base/share/classes/jdk/internal/module/ModuleBootstrap.java ! src/java.base/share/classes/sun/launcher/LauncherHelper.java Changeset: 8e2c006c Author: raspberry-hu <76903172+raspberry-hu at users.noreply.github.com> Committer: John Jiang Date: 2022-08-08 02:49:44 +0000 URL: https://git.openjdk.org/loom/commit/8e2c006cd14905c06e8c2cc30f13de249d54ed79 8291957: Redundant import statements in sun.security.ec Reviewed-by: xuelei ! src/jdk.crypto.ec/share/classes/sun/security/ec/ECKeyPairGenerator.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/XDHPublicKeyImpl.java Changeset: 20123ea4 Author: Tobias Holenstein Date: 2022-08-08 08:03:21 +0000 URL: https://git.openjdk.org/loom/commit/20123ea4de702ccbaf4c500ff7a1000ca7ee9c90 8291901: IGV: Preference menu disappears after JDK-8288750 Reviewed-by: rcastanedalo, thartmann ! src/utils/IdealGraphVisualizer/Coordinator/src/main/resources/com/sun/hotspot/igv/coordinator/layer.xml Changeset: d4fb91ba Author: thyecust Committer: Daniel Fuchs Date: 2022-08-08 11:25:45 +0000 URL: https://git.openjdk.org/loom/commit/d4fb91ba04531c9c51903b1d36941bfb4f6eaf53 8291956: Simplify the loop condition in sun.net.httpserver.Request constructor Co-authored-by: Tian Haoyu Reviewed-by: dfuchs, chegar ! src/jdk.httpserver/share/classes/sun/net/httpserver/Request.java Changeset: 891df212 Author: Harshitha Onkar Committer: Prasanta Sadhukhan Date: 2022-08-08 11:39:17 +0000 URL: https://git.openjdk.org/loom/commit/891df2128ac5437af1113e83adf683bc6283b315 8259687: JTabbedPane.setComponentAt doesn't hide previously visible tab component Reviewed-by: psadhukhan, dnguyen ! src/java.desktop/share/classes/javax/swing/JTabbedPane.java + test/jdk/javax/swing/JTabbedPane/TabbedPaneBug.java Changeset: b2f0cbdc Author: Prasanta Sadhukhan Date: 2022-08-08 11:40:21 +0000 URL: https://git.openjdk.org/loom/commit/b2f0cbdca109507e5f8e0c185f601c0c1e31f4fb 8064787: [macosx] In Nimbus LaF, Ctrl+Alt mnemonic doesn't work Reviewed-by: prr, dnguyen ! src/java.desktop/share/classes/javax/swing/plaf/synth/SynthLookAndFeel.java Changeset: 5a539e8d Author: Yadong Wang Committer: Vladimir Kempik Date: 2022-08-08 11:47:36 +0000 URL: https://git.openjdk.org/loom/commit/5a539e8da7dbea1eaa10d799f75199ea359f7a22 8291893: riscv: remove fence.i used in user space Reviewed-by: fyang, vkempik ! src/hotspot/cpu/riscv/assembler_riscv.cpp ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/compiledIC_riscv.cpp ! src/hotspot/cpu/riscv/globals_riscv.hpp ! src/hotspot/cpu/riscv/icache_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/nativeInst_riscv.hpp ! src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp ! src/hotspot/os_cpu/linux_riscv/orderAccess_linux_riscv.hpp Changeset: 8a804f65 Author: Julian Waters Committer: Magnus Ihse Bursie Date: 2022-08-08 12:17:48 +0000 URL: https://git.openjdk.org/loom/commit/8a804f653d21e6e0ed4c1df48a14aa7ad3876dbe 8291454: Missing check for JLI C runtime library in CoreLibraries.gmk Reviewed-by: erikj, ihse ! make/modules/java.base/lib/CoreLibraries.gmk Changeset: 8d88be23 Author: Harold Seigel Date: 2022-08-08 12:19:15 +0000 URL: https://git.openjdk.org/loom/commit/8d88be233bc0d27d78e51c4eff0ba1ee47f4617a 8291459: JVM crash with GenerateOopMap::error_work(char const*, __va_list_tag*) Reviewed-by: dholmes, coleenp ! src/hotspot/share/oops/generateOopMap.cpp + test/hotspot/jtreg/runtime/GenerateOopMap/TestGenerateOopMapCrash.java + test/hotspot/jtreg/runtime/GenerateOopMap/if_icmpleIsLastOpcode.jasm Changeset: 861cc671 Author: Peter Levart Date: 2022-08-08 12:38:21 +0000 URL: https://git.openjdk.org/loom/commit/861cc671e2e4904d94f50710be99a511e2f9bb68 8291897: TerminatingThreadLocal(s) not registered from virtual thread(s) Reviewed-by: alanb ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/java/lang/ThreadLocal.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java + src/java.base/share/classes/jdk/internal/misc/CarrierThreadLocal.java ! src/java.base/share/classes/jdk/internal/misc/TerminatingThreadLocal.java ! src/java.base/share/classes/sun/nio/ch/IOVecWrapper.java ! src/java.base/share/classes/sun/nio/ch/Util.java ! src/java.base/share/classes/sun/nio/fs/NativeBuffers.java ! test/jdk/jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java Changeset: 7676be8a Author: Thomas Schatzl Date: 2022-08-08 12:50:52 +0000 URL: https://git.openjdk.org/loom/commit/7676be8a999dd042cdf08ef6234b3420deb247ef 8291037: Move PLAB resizing mechanism to G1EvacStats Reviewed-by: sangheki, iwalulya ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp ! src/hotspot/share/gc/g1/g1EvacStats.cpp ! src/hotspot/share/gc/g1/g1EvacStats.hpp ! src/hotspot/share/gc/shared/plab.cpp ! src/hotspot/share/gc/shared/plab.hpp Changeset: 45919371 Author: Thomas Schatzl Date: 2022-08-08 13:28:39 +0000 URL: https://git.openjdk.org/loom/commit/459193710f0b8859cff364d7de3765c6dc4e08d8 8290357: Drop HeapRegion::marked_bytes() Reviewed-by: sangheki, iwalulya ! src/hotspot/share/gc/g1/g1ConcurrentRebuildAndScrub.cpp ! src/hotspot/share/gc/g1/g1RemSetTrackingPolicy.cpp ! src/hotspot/share/gc/g1/g1RemSetTrackingPolicy.hpp ! src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp ! src/hotspot/share/gc/g1/heapRegion.cpp ! src/hotspot/share/gc/g1/heapRegion.hpp ! src/hotspot/share/gc/g1/heapRegion.inline.hpp ! src/hotspot/share/prims/whitebox.cpp Changeset: 124fc4a8 Author: Bill Huang Committer: Leonid Mesnik Date: 2022-08-08 15:06:49 +0000 URL: https://git.openjdk.org/loom/commit/124fc4a83dc7e55c3b12e4b6c379391ab11592d5 8290180: Convert com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh to jtreg java version 8290181: convert com/sun/management/UnixOperatingSystemMXBean/GetMaxFileDescriptorCount.sh to java version Reviewed-by: lmesnik, amenkov ! test/jdk/com/sun/management/UnixOperatingSystemMXBean/GetMaxFileDescriptorCount.java - test/jdk/com/sun/management/UnixOperatingSystemMXBean/GetMaxFileDescriptorCount.sh ! test/jdk/com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.java - test/jdk/com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh Changeset: 7db5abdd Author: Ramkumar Sunderbabu Committer: Leonid Mesnik Date: 2022-08-08 15:07:48 +0000 URL: https://git.openjdk.org/loom/commit/7db5abddd126db388b1a7f89be258e8aa7104da7 8282642: vmTestbase/gc/gctests/LoadUnloadGC2/LoadUnloadGC2.java fails intermittently with exit code 1 Reviewed-by: lmesnik ! test/hotspot/jtreg/vmTestbase/gc/gctests/LoadUnloadGC2/LoadUnloadGC2.java Changeset: 08274e6f Author: Mark Powers Committer: Bradford Wetmore Date: 2022-08-08 17:30:22 +0000 URL: https://git.openjdk.org/loom/commit/08274e6fea982e71ccc5964f4919c65501b048e1 8290975: Minor cleanup could be done in javax.security Reviewed-by: wetmore, mullan ! src/java.base/share/classes/javax/security/auth/AuthPermission.java ! src/java.base/share/classes/javax/security/auth/Destroyable.java ! src/java.base/share/classes/javax/security/auth/PrivateCredentialPermission.java ! src/java.base/share/classes/javax/security/auth/Subject.java ! src/java.base/share/classes/javax/security/auth/callback/ChoiceCallback.java ! src/java.base/share/classes/javax/security/auth/callback/NameCallback.java ! src/java.base/share/classes/javax/security/auth/callback/PasswordCallback.java ! src/java.base/share/classes/javax/security/auth/callback/TextInputCallback.java ! src/java.base/share/classes/javax/security/auth/callback/TextOutputCallback.java ! src/java.base/share/classes/javax/security/auth/callback/UnsupportedCallbackException.java ! src/java.base/share/classes/javax/security/auth/login/AppConfigurationEntry.java ! src/java.base/share/classes/javax/security/auth/login/Configuration.java ! src/java.base/share/classes/javax/security/auth/login/LoginContext.java ! src/java.base/share/classes/javax/security/auth/spi/LoginModule.java ! src/java.base/share/classes/javax/security/auth/x500/X500Principal.java ! src/java.base/share/classes/javax/security/cert/X509Certificate.java Changeset: eb8b7890 Author: Daniel D. Daugherty Date: 2022-08-08 19:39:02 +0000 URL: https://git.openjdk.org/loom/commit/eb8b789015c98cb5fe7ba788e71f3f6166884739 8292061: ProblemList serviceability/attach/ConcAttachTest.java on linux-all Reviewed-by: darcy ! test/hotspot/jtreg/ProblemList.txt Changeset: 77398430 Author: Sergey Bylokhov Date: 2022-08-08 21:50:16 +0000 URL: https://git.openjdk.org/loom/commit/77398430b5e13768cddd5f63e8fe9e53735bbea8 8288633: The ICC_ColorSpace.fromCIEXYZ method uses the wrong rendering intent Reviewed-by: prr ! src/java.desktop/share/classes/java/awt/color/ICC_ColorSpace.java + test/jdk/java/awt/color/ICC_ColorSpace/ToFromCIEXYZRoundTrip.java Changeset: af243ca3 Author: Koichi Sakata Committer: Roberto Casta?eda Lozano Date: 2022-08-09 08:18:44 +0000 URL: https://git.openjdk.org/loom/commit/af243ca334c8ce29bc3337ac9388ad45a4ee9041 8265433: IGV: add graph tooltips with properties Reviewed-by: rcastanedalo, tholenstein + src/utils/IdealGraphVisualizer/Util/src/main/java/com/sun/hotspot/igv/util/PropertiesConverter.java ! src/utils/IdealGraphVisualizer/Util/src/main/java/com/sun/hotspot/igv/util/StringUtils.java ! src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/widgets/FigureWidget.java Changeset: 2712bc3f Author: ScientificWare Committer: Jaikiran Pai Date: 2022-08-09 08:40:24 +0000 URL: https://git.openjdk.org/loom/commit/2712bc3f79990f27fe9a624a7a818ba1c2c74b67 8289741: Remove unused imports from DTDBuilder.java Reviewed-by: jpai ! make/jdk/src/classes/build/tools/dtdbuilder/DTDBuilder.java Changeset: cbc9040f Author: Tejesh R Committer: Prasanta Sadhukhan Date: 2022-08-09 11:53:41 +0000 URL: https://git.openjdk.org/loom/commit/cbc9040f3a3a86942fa8277860eedc1f5142b64b 8290278: JavaDoc of index parameter of method JTabbedPane.insertTab Reviewed-by: psadhukhan, prr, honkar ! src/java.desktop/share/classes/javax/swing/JTabbedPane.java Changeset: f5b3618c Author: Coleen Phillimore Date: 2022-08-09 11:59:02 +0000 URL: https://git.openjdk.org/loom/commit/f5b3618c421904a99d1754c10344e92459eeb4ad 8291970: Add TableStatistics get function to ResourceHashtable Reviewed-by: iklam, ccheung ! src/hotspot/share/utilities/resourceHash.hpp ! src/hotspot/share/utilities/tableStatistics.cpp ! src/hotspot/share/utilities/tableStatistics.hpp ! test/hotspot/gtest/utilities/test_resourceHash.cpp Changeset: 0ade2641 Author: Thomas Schatzl Date: 2022-08-09 12:01:58 +0000 URL: https://git.openjdk.org/loom/commit/0ade2641f78c1ab890de658095b6b54e52f8d5ab 8290814: Hide G1RootRegions behind G1ConcurrentMark Reviewed-by: sangheki, iwalulya ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.cpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.hpp ! src/hotspot/share/gc/g1/g1YoungCollector.cpp Changeset: 3677b55b Author: Abhishek Kumar Committer: Prasanta Sadhukhan Date: 2022-08-09 12:27:05 +0000 URL: https://git.openjdk.org/loom/commit/3677b55b45746c3c955a8fcf1fbbf15694baa873 6391806: JLabel and AbstractButton's imageUpdate method should be better specified Reviewed-by: psadhukhan, prr ! src/java.desktop/share/classes/javax/swing/AbstractButton.java ! src/java.desktop/share/classes/javax/swing/JLabel.java Changeset: aff7689a Author: Richard Reingruber Date: 2022-08-09 15:21:28 +0000 URL: https://git.openjdk.org/loom/commit/aff7689a00a72c4e508d813372f519bace6b77ab 8292075: Remove deleted test compiler/rangechecks/TestRangeCheckHoistingScaledIV.java from ProblemList Reviewed-by: chagedorn, pli ! test/hotspot/jtreg/ProblemList.txt Changeset: 8d0d9eaa Author: Calvin Cheung Date: 2022-08-09 16:30:44 +0000 URL: https://git.openjdk.org/loom/commit/8d0d9eaa9c4b250d90e18e709aff7bdfd70b3395 8291238: JDK can't be built without G1 Reviewed-by: stuefe, jiefu ! src/hotspot/share/cds/filemap.cpp Changeset: 4040927d Author: Brian Burkhalter Date: 2022-08-09 17:07:14 +0000 URL: https://git.openjdk.org/loom/commit/4040927d1750dd00611cc6465507dd0bc694a18f 8290047: (fs) FileSystem.getPathMatcher does not check for ":" at last index Reviewed-by: naoto, rriggs, alanb, lancea ! src/java.base/share/classes/java/nio/file/FileSystem.java ! src/java.base/share/classes/jdk/internal/jrtfs/JrtFileSystem.java ! src/java.base/unix/classes/sun/nio/fs/UnixFileSystem.java ! src/java.base/windows/classes/sun/nio/fs/WindowsFileSystem.java ! src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipFileSystem.java ! test/jdk/java/nio/file/PathMatcher/Basic.java ! test/jdk/jdk/internal/jrtfs/Basic.java ! test/jdk/jdk/nio/zipfs/Basic.java Changeset: ae1a9a0b Author: Joe Darcy Date: 2022-08-09 17:55:18 +0000 URL: https://git.openjdk.org/loom/commit/ae1a9a0b252fc9593b077f9626a431b0f06b3f51 8292060: Make ClassFileVersionTest.java version adapting Reviewed-by: hseigel ! test/hotspot/jtreg/runtime/ClassFile/ClassFileVersionTest.java ! test/hotspot/jtreg/runtime/ClassFile/classFileVersions.jcod Changeset: d889264c Author: Bill Huang Committer: Joe Wang Date: 2022-08-09 18:26:54 +0000 URL: https://git.openjdk.org/loom/commit/d889264c6123b6c28bdd6336f5ae547e4e441aa7 8290836: Improve test coverage for XPath functions: String Functions 8290837: Improve test coverage for XPath functions: Boolean Functions 8290838: Improve test coverage for XPath functions: Number Functions Reviewed-by: joehw + test/jaxp/javax/xml/jaxp/unittest/xpath/XPathBooleanFnTest.java ! test/jaxp/javax/xml/jaxp/unittest/xpath/XPathNodeSetFnTest.java + test/jaxp/javax/xml/jaxp/unittest/xpath/XPathNumberFnTest.java + test/jaxp/javax/xml/jaxp/unittest/xpath/XPathStringFnTest.java ! test/jaxp/javax/xml/jaxp/unittest/xpath/XPathTestBase.java Changeset: 17c77b5d Author: Daniel D. Daugherty Date: 2022-08-09 18:50:56 +0000 URL: https://git.openjdk.org/loom/commit/17c77b5d7a25d6e8e127a2559b8f661c743701c1 8292119: ProblemList java/awt/image/multiresolution/MultiresolutionIconTest.java on linux-x64 and windows-all Reviewed-by: naoto, prr ! test/jdk/ProblemList.txt Changeset: 57e0da15 Author: Daniel D. Daugherty Date: 2022-08-09 19:26:28 +0000 URL: https://git.openjdk.org/loom/commit/57e0da1578b78f7ac83e9621554d0e81dfa2af67 8292132: ProblemList jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java Reviewed-by: bpb ! test/jdk/ProblemList.txt Changeset: 6397d564 Author: Brian Burkhalter Date: 2022-08-09 22:29:04 +0000 URL: https://git.openjdk.org/loom/commit/6397d564a5dab07f81bf4c69b116ebfabb2446ba 8151430: (fs) BasicFileAttributeView.setTimes should support setting file create time on OS X Reviewed-by: alanb + src/java.base/macosx/classes/sun/nio/fs/BsdFileAttributeViews.java ! src/java.base/macosx/classes/sun/nio/fs/BsdFileSystemProvider.java ! src/java.base/macosx/classes/sun/nio/fs/BsdNativeDispatcher.java ! src/java.base/macosx/native/libnio/fs/BsdNativeDispatcher.c ! src/java.base/unix/classes/sun/nio/fs/UnixConstants.java.template ! src/java.base/unix/classes/sun/nio/fs/UnixFileAttributeViews.java ! test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTime.java Changeset: 49133809 Author: Ioi Lam Date: 2022-08-10 02:59:53 +0000 URL: https://git.openjdk.org/loom/commit/49133809c2331a8a2067228adceb1d6e97cb19a8 8292007: Do not include vmSymbol.hpp in method.hpp Reviewed-by: coleenp ! src/hotspot/cpu/aarch64/continuationEntry_aarch64.inline.hpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/x86/continuationEntry_x86.inline.hpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/share/gc/shared/barrierSetNMethod.cpp ! src/hotspot/share/oops/method.hpp ! src/hotspot/share/oops/method.inline.hpp ! src/hotspot/share/prims/stackwalk.cpp ! src/hotspot/share/runtime/continuation.cpp ! src/hotspot/share/runtime/continuationEntry.cpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/vframe.cpp Changeset: 83dc2e3e Author: Prasanta Sadhukhan Date: 2022-08-10 03:42:12 +0000 URL: https://git.openjdk.org/loom/commit/83dc2e3e45a946dd1302efb84baf3afaa9309ba4 8292062: misc javax/swing tests failing Reviewed-by: prr ! src/java.desktop/share/classes/javax/swing/plaf/synth/SynthLookAndFeel.java ! test/jdk/javax/swing/JList/4618767/JListSelectedElementTest.java ! test/jdk/javax/swing/JTree/4618767/JTreeSelectedElementTest.java ! test/jdk/javax/swing/event/RightAltKeyTest.java Changeset: ecfa38ff Author: Tejesh R Committer: Prasanta Sadhukhan Date: 2022-08-10 11:43:02 +0000 URL: https://git.openjdk.org/loom/commit/ecfa38ffa8620e41854a043497f19863da297947 8281966: Absolute path of symlink is null in JFileChooser Reviewed-by: aivanov, psadhukhan ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicFileChooserUI.java + test/jdk/javax/swing/JFileChooser/FileChooserSymLinkTest.java Changeset: 37d3146c Author: Aleksey Shipilev Date: 2022-08-10 13:26:56 +0000 URL: https://git.openjdk.org/loom/commit/37d3146cca2c40dd53fcebd9cb78595f018b3489 8289002: Minimal x86_64 VM build fails with GCC 11: 'this' pointer is null Reviewed-by: dholmes, aph ! src/hotspot/share/services/diagnosticFramework.cpp ! src/hotspot/share/services/memoryManager.cpp Changeset: cb37282a Author: Evgeny Astigeevich Committer: Volker Simonis Date: 2022-08-10 14:56:17 +0000 URL: https://git.openjdk.org/loom/commit/cb37282a12698ae66c27889db9251a5b278624b0 8291752: AArch64: Remove check_emit_size parameter from trampoline_call Reviewed-by: kvn, aph ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp Changeset: 9825c335 Author: David Schlosnagle Committer: Mandy Chung Date: 2022-08-10 16:22:19 +0000 URL: https://git.openjdk.org/loom/commit/9825c3356068feba8dde8217e8f8a56c9c573da4 8291641: Optimize StackTraceElement.toString() Reviewed-by: rriggs, mchung ! src/java.base/share/classes/java/lang/StackTraceElement.java ! test/jdk/java/lang/StackTraceElement/SerialTest.java + test/micro/org/openjdk/bench/java/lang/StackTraceElementBench.java Changeset: 35fd5d88 Author: Brian Burkhalter Date: 2022-08-10 18:09:54 +0000 URL: https://git.openjdk.org/loom/commit/35fd5d88eb6c9aa3a9d6f5b5de0d11939dee1863 8292200: Add java/io/File/GetXSpace.java to Windows problem list Reviewed-by: alanb ! test/jdk/ProblemList.txt Changeset: 7b029ea6 Author: Daniel Jeli?ski Date: 2022-08-10 18:16:10 +0000 URL: https://git.openjdk.org/loom/commit/7b029ea6ba1d44d361fdf980816732d8454b8194 8227651: Tests fail with SSLProtocolException: Input record too big 8212096: javax/net/ssl/ServerName/SSLEngineExplorerMatchedSNI.java failed intermittently due to SSLException: Tag mismatch Reviewed-by: coffeys, xuelei ! test/jdk/ProblemList.txt ! test/jdk/javax/net/ssl/SSLEngine/LargePacket.java ! test/jdk/javax/net/ssl/SSLEngine/SSLEngineService.java ! test/jdk/javax/net/ssl/ServerName/SSLEngineExplorer.java ! test/jdk/javax/net/ssl/ServerName/SSLEngineExplorerMatchedSNI.java ! test/jdk/javax/net/ssl/ServerName/SSLEngineExplorerUnmatchedSNI.java ! test/jdk/javax/net/ssl/ServerName/SSLEngineExplorerWithCli.java ! test/jdk/javax/net/ssl/ServerName/SSLEngineExplorerWithSrv.java Changeset: e4925a39 Author: Alex Kasko Committer: Alexey Semenyuk Date: 2022-08-10 19:17:42 +0000 URL: https://git.openjdk.org/loom/commit/e4925a3959c319028014437fdb393312bcb3627d 8291924: jpackage: l10n for Windows context menu label Reviewed-by: naoto, asemenyuk, almatvee ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixAppImageFragmentBuilder.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/MsiInstallerStrings_de.wxl ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/MsiInstallerStrings_en.wxl ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/MsiInstallerStrings_ja.wxl ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/MsiInstallerStrings_zh_CN.wxl ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageTest.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/WindowsHelper.java Changeset: e2e939f1 Author: Alan Bateman Date: 2022-08-12 08:15:13 +0000 URL: https://git.openjdk.org/loom/commit/e2e939f1e99f784d60b74ac3fb339ae31aeb9b71 Merge with jdk-20+10 ! src/hotspot/share/prims/jvm.cpp ! src/hotspot/share/runtime/continuation.cpp ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt ! src/hotspot/share/prims/jvm.cpp ! src/hotspot/share/runtime/continuation.cpp ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 62e0518a Author: Alan Bateman Date: 2022-08-12 09:03:52 +0000 URL: https://git.openjdk.org/loom/commit/62e0518a0917cd9bc3edd175d81443a77f5ec021 Exclude tests that don't run with wrapper ! test/jdk/ProblemList-vthread.txt From duke at openjdk.org Fri Aug 12 08:24:26 2022 From: duke at openjdk.org (duke) Date: Fri, 12 Aug 2022 08:24:26 GMT Subject: git: openjdk/loom: master: 82 new changesets Message-ID: <94ecad8d-5d35-4a44-9157-ea6744757443@openjdk.org> Changeset: e265b2a2 Author: Thomas Schatzl Date: 2022-08-03 14:26:06 +0000 URL: https://git.openjdk.org/loom/commit/e265b2a2918f39a1d9afdb6a473c2d8d657cbb8c 8290867: Race freeing remembered set segments Reviewed-by: kbarrett, sangheki ! src/hotspot/share/gc/g1/g1SegmentedArray.cpp Changeset: 4cfbb3b5 Author: Daniel D. Daugherty Date: 2022-08-03 22:31:18 +0000 URL: https://git.openjdk.org/loom/commit/4cfbb3b5ec48d7b7f9995dab18cdc707dea15ed2 Merge Changeset: b6b0317f Author: Ioi Lam Date: 2022-08-04 01:20:29 +0000 URL: https://git.openjdk.org/loom/commit/b6b0317f832985470ccf4bc1e2abf9015ce5bd54 8290840: Refactor the "os" class Reviewed-by: dholmes, gziemski, stuefe, stefank ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp ! src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.inline.hpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/ppc/vm_version_ppc.cpp ! src/hotspot/cpu/riscv/icache_riscv.cpp ! src/hotspot/cpu/riscv/vm_version_riscv.cpp ! src/hotspot/cpu/x86/jniFastGetField_x86_32.cpp ! src/hotspot/cpu/x86/rdtsc_x86.cpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/os/aix/attachListener_aix.cpp ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/aix/os_aix.hpp ! src/hotspot/os/aix/os_aix.inline.hpp ! src/hotspot/os/bsd/attachListener_bsd.cpp ! src/hotspot/os/bsd/os_bsd.hpp ! src/hotspot/os/bsd/os_bsd.inline.hpp ! src/hotspot/os/linux/attachListener_linux.cpp ! src/hotspot/os/linux/cgroupSubsystem_linux.cpp ! src/hotspot/os/linux/gc/z/zNUMA_linux.cpp ! src/hotspot/os/linux/gc/z/zPhysicalMemoryBacking_linux.cpp ! src/hotspot/os/linux/osContainer_linux.cpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/linux/os_linux.hpp ! src/hotspot/os/linux/os_linux.inline.hpp ! src/hotspot/os/linux/os_perf_linux.cpp ! src/hotspot/os/linux/trimCHeapDCmd.cpp ! src/hotspot/os/posix/os_posix.cpp ! src/hotspot/os/posix/os_posix.hpp ! src/hotspot/os/posix/os_posix.inline.hpp ! src/hotspot/os/posix/perfMemory_posix.cpp ! src/hotspot/os/posix/safefetch_static_posix.cpp ! src/hotspot/os/posix/semaphore_posix.cpp ! src/hotspot/os/posix/signals_posix.cpp ! src/hotspot/os/posix/vmError_posix.cpp ! src/hotspot/os/windows/iphlp_interface.cpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/os/windows/os_windows.hpp ! src/hotspot/os/windows/os_windows.inline.hpp ! src/hotspot/os/windows/pdh_interface.cpp ! src/hotspot/os_cpu/aix_ppc/os_aix_ppc.cpp - src/hotspot/os_cpu/aix_ppc/os_aix_ppc.hpp + src/hotspot/os_cpu/aix_ppc/os_aix_ppc.inline.hpp ! src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.cpp - src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.hpp + src/hotspot/os_cpu/bsd_aarch64/os_bsd_aarch64.inline.hpp ! src/hotspot/os_cpu/bsd_x86/os_bsd_x86.cpp - src/hotspot/os_cpu/bsd_x86/os_bsd_x86.hpp ! src/hotspot/os_cpu/bsd_x86/os_bsd_x86.inline.hpp ! src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp - src/hotspot/os_cpu/bsd_zero/os_bsd_zero.hpp + src/hotspot/os_cpu/bsd_zero/os_bsd_zero.inline.hpp ! src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.cpp - src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.hpp + src/hotspot/os_cpu/linux_aarch64/os_linux_aarch64.inline.hpp ! src/hotspot/os_cpu/linux_arm/os_linux_arm.cpp - src/hotspot/os_cpu/linux_arm/os_linux_arm.hpp + src/hotspot/os_cpu/linux_arm/os_linux_arm.inline.hpp ! src/hotspot/os_cpu/linux_ppc/os_linux_ppc.cpp - src/hotspot/os_cpu/linux_ppc/os_linux_ppc.hpp + src/hotspot/os_cpu/linux_ppc/os_linux_ppc.inline.hpp ! src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp - src/hotspot/os_cpu/linux_riscv/os_linux_riscv.hpp + src/hotspot/os_cpu/linux_riscv/os_linux_riscv.inline.hpp ! src/hotspot/os_cpu/linux_s390/os_linux_s390.cpp - src/hotspot/os_cpu/linux_s390/os_linux_s390.hpp + src/hotspot/os_cpu/linux_s390/os_linux_s390.inline.hpp ! src/hotspot/os_cpu/linux_x86/os_linux_x86.cpp - src/hotspot/os_cpu/linux_x86/os_linux_x86.hpp ! src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp - src/hotspot/os_cpu/linux_zero/os_linux_zero.hpp + src/hotspot/os_cpu/linux_zero/os_linux_zero.inline.hpp ! src/hotspot/os_cpu/windows_aarch64/os_windows_aarch64.cpp - src/hotspot/os_cpu/windows_aarch64/os_windows_aarch64.hpp ! src/hotspot/os_cpu/windows_aarch64/os_windows_aarch64.inline.hpp ! src/hotspot/os_cpu/windows_x86/assembler_windows_x86.cpp ! src/hotspot/os_cpu/windows_x86/os_windows_x86.cpp - src/hotspot/os_cpu/windows_x86/os_windows_x86.hpp ! src/hotspot/os_cpu/windows_x86/os_windows_x86.inline.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/code/codeCache.cpp ! src/hotspot/share/jfr/utilities/jfrTime.cpp ! src/hotspot/share/jfr/utilities/jfrTimeConverter.cpp ! src/hotspot/share/opto/callGenerator.cpp ! src/hotspot/share/opto/lcm.cpp ! src/hotspot/share/opto/matcher.cpp ! src/hotspot/share/runtime/os.hpp ! src/hotspot/share/runtime/os.inline.hpp ! src/hotspot/share/utilities/debug.cpp ! src/hotspot/share/utilities/ostream.cpp ! src/hotspot/share/utilities/ticks.cpp ! src/hotspot/share/utilities/vmError.cpp ! test/hotspot/gtest/runtime/test_os.cpp ! test/hotspot/gtest/runtime/test_os_linux.cpp Changeset: 1a6c83b7 Author: Tobias Hartmann Date: 2022-08-04 05:02:16 +0000 URL: https://git.openjdk.org/loom/commit/1a6c83b7718e00cf2284903434766dc6d4bf7755 8291798: VMRegImpl::print_on is broken after JDK-8289060 Reviewed-by: shade, jiefu, kvn, dlong ! src/hotspot/share/code/vmreg.cpp ! src/hotspot/share/code/vmreg.hpp Changeset: 4772354f Author: Daniel Jeli?ski Date: 2022-08-04 06:57:35 +0000 URL: https://git.openjdk.org/loom/commit/4772354f4caf5eb314eda81217e5bc48a62d485b 8291825: java/time/nontestng/java/time/zone/CustomZoneNameTest.java fails if defaultLocale and defaultFormatLocale are different Reviewed-by: naoto ! test/jdk/java/time/nontestng/java/time/zone/zoneProvider/custom/CustomTimeZoneNameProvider.java Changeset: 43bb3993 Author: David Holmes Date: 2022-08-04 06:51:37 +0000 URL: https://git.openjdk.org/loom/commit/43bb399375b9e14ae78b7f4791ec7e7d8f53a35d 8291757: Remove EA from JDK 19 version string starting with Initial RC promotion B35 on August 11, 2022 Reviewed-by: alanb ! make/conf/version-numbers.conf Changeset: 34939731 Author: David Holmes Date: 2022-08-04 07:14:59 +0000 URL: https://git.openjdk.org/loom/commit/349397318687fdb7be8f50f02b536e49bffdd92f Merge ! make/conf/version-numbers.conf ! make/conf/version-numbers.conf Changeset: 0bc804d6 Author: David Holmes Date: 2022-08-04 07:42:48 +0000 URL: https://git.openjdk.org/loom/commit/0bc804d6ef66426f93f4bef4641a377a4400827d 8291762: Backout JDK-8291757 from jdk/jdk Reviewed-by: alanb ! make/conf/version-numbers.conf Changeset: 26e5c112 Author: Prasanta Sadhukhan Date: 2022-08-04 09:15:15 +0000 URL: https://git.openjdk.org/loom/commit/26e5c112daa30697a42047e78744c1c533611e10 4890041: Remove TAB and Shift TAB from Popup Menu in Motif Look & Feel Reviewed-by: azvegint, prr ! src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/MotifLookAndFeel.java Changeset: ce61eb6f Author: Daniel Jeli?ski Date: 2022-08-04 10:52:15 +0000 URL: https://git.openjdk.org/loom/commit/ce61eb6ff99eaaece463091b8481e27f84f80684 8290349: IP_DONTFRAGMENT doesn't set DF bit in IPv4 header Reviewed-by: michaelm, alanb ! src/java.base/share/classes/sun/net/ext/ExtendedSocketOptions.java ! src/java.base/share/classes/sun/nio/ch/Net.java ! src/jdk.net/linux/classes/jdk/net/LinuxSocketOptions.java ! src/jdk.net/linux/native/libextnet/LinuxSocketOptions.c ! src/jdk.net/macosx/classes/jdk/net/MacOSXSocketOptions.java ! src/jdk.net/macosx/native/libextnet/MacOSXSocketOptions.c ! src/jdk.net/share/classes/jdk/net/ExtendedSocketOptions.java ! src/jdk.net/windows/classes/jdk/net/WindowsSocketOptions.java ! src/jdk.net/windows/native/libextnet/WindowsSocketOptions.c Changeset: a3040fcc Author: Harold Seigel Date: 2022-08-04 13:13:01 +0000 URL: https://git.openjdk.org/loom/commit/a3040fcc2baa48c19d9525b3539863a71fa5781d 8291360: Create entry points to expose low-level class file information Reviewed-by: dholmes, rriggs ! make/data/hotspot-symbols/symbols-unix ! src/hotspot/share/include/jvm.h ! src/hotspot/share/prims/jvm.cpp ! src/java.base/share/classes/java/lang/Class.java ! src/java.base/share/native/libjava/Class.c + test/hotspot/jtreg/runtime/ClassFile/ClassAccessFlagsRawTest.java + test/hotspot/jtreg/runtime/ClassFile/ClassFileVersionTest.java + test/hotspot/jtreg/runtime/ClassFile/classAccessFlagsRaw.jcod + test/hotspot/jtreg/runtime/ClassFile/classFileVersions.jcod Changeset: d4a795d7 Author: Peter Levart Date: 2022-08-04 13:25:15 +0000 URL: https://git.openjdk.org/loom/commit/d4a795d75aef8d787934f5c05e146c61138a408a 8283276: java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs Reviewed-by: rkennke, shade ! test/jdk/java/io/ObjectStreamClass/ObjectStreamClassCaching.java Changeset: aa557b9b Author: Sergey Tsypanov Committer: Peter Levart Date: 2022-08-04 15:15:49 +0000 URL: https://git.openjdk.org/loom/commit/aa557b9b01571d7614f54d341c5cd8bf36cdacee 8288327: Executable.hasRealParameterData should not be volatile Reviewed-by: plevart ! src/java.base/share/classes/java/lang/reflect/Executable.java Changeset: 966ab219 Author: Andrew Haley Date: 2022-08-04 16:11:01 +0000 URL: https://git.openjdk.org/loom/commit/966ab219b4584bcd561112838c2bde6591ecb064 8291895: Remove PRAGMA_NONNULL_IGNORED from x86 and AArch64 Reviewed-by: shade ! src/hotspot/cpu/aarch64/frame_aarch64.inline.hpp ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/c1_Runtime1_x86.cpp ! src/hotspot/cpu/x86/frame_x86.inline.hpp ! src/hotspot/cpu/x86/gc/z/zBarrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/cpu/x86/upcallLinker_x86_64.cpp Changeset: 92d2982f Author: Quan Anh Mai Committer: Jatin Bhateja Date: 2022-08-04 16:27:45 +0000 URL: https://git.openjdk.org/loom/commit/92d2982f3f4ecf7d17df4267bd67af2490badd1e 8283232: x86: Improve vector broadcast operations Reviewed-by: kvn, jbhateja ! 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/x86.ad ! src/hotspot/share/adlc/adlparse.cpp ! src/hotspot/share/adlc/formssel.cpp ! src/hotspot/share/asm/assembler.hpp ! src/hotspot/share/opto/constantTable.cpp ! src/hotspot/share/opto/constantTable.hpp ! src/hotspot/share/opto/machnode.cpp + test/micro/org/openjdk/bench/jdk/incubator/vector/SpiltReplicate.java Changeset: 3ba31716 Author: Vicente Romero Date: 2022-08-04 17:57:28 +0000 URL: https://git.openjdk.org/loom/commit/3ba317167d24b6ed478418a2abae9042ab2764f1 8285935: Spurious lint warning for static method accessed through instance qualifier Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/langtools/tools/javac/4880220/T4880220.error.out ! test/langtools/tools/javac/4880220/T4880220.java ! test/langtools/tools/javac/4880220/T4880220.warn.out ! test/langtools/tools/javac/diags/examples/StaticNotQualifiedByType.java Changeset: fd9ac621 Author: Ioi Lam Date: 2022-08-04 18:10:21 +0000 URL: https://git.openjdk.org/loom/commit/fd9ac6216111063968675ced5d032310447d5206 8291457: Clean up lifecycle of CDS dump-time data structures Reviewed-by: coleenp, ccheung ! src/hotspot/share/cds/dumpTimeClassInfo.cpp ! src/hotspot/share/cds/dumpTimeClassInfo.hpp ! src/hotspot/share/cds/lambdaProxyClassDictionary.cpp ! src/hotspot/share/cds/lambdaProxyClassDictionary.hpp ! src/hotspot/share/cds/runTimeClassInfo.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/oops/symbol.hpp Changeset: 3c325641 Author: Gaurav Chaudhari Committer: Naoto Sato Date: 2022-08-04 18:49:05 +0000 URL: https://git.openjdk.org/loom/commit/3c3256414f7df049cdd6c8519fbcea0d818a1a33 8288377: [REDO] DST not applying properly with zone id offset set with TZ env variable Reviewed-by: naoto ! src/java.base/unix/native/libjava/TimeZone_md.c + test/jdk/java/util/TimeZone/CustomTzIDCheckDST.java Changeset: c48cd886 Author: Daniel D. Daugherty Date: 2022-08-04 19:49:15 +0000 URL: https://git.openjdk.org/loom/commit/c48cd88652e20638b1b3cc5584fd5eefedd5dbb1 8291926: ProblemList multiple tests in -Xcomp mode due to JDK-8291649 Reviewed-by: rriggs ! test/hotspot/jtreg/ProblemList-Xcomp.txt Changeset: 90257f95 Author: Alisen Chung Committer: Phil Race Date: 2022-08-04 20:37:12 +0000 URL: https://git.openjdk.org/loom/commit/90257f95058626196339c444937f037516dbd21e 8169187: [macosx] Aqua: java/awt/image/multiresolution/MultiresolutionIconTest.java Reviewed-by: prr, dnguyen ! test/jdk/ProblemList.txt ! test/jdk/java/awt/image/multiresolution/MultiresolutionIconTest.java Changeset: 6ad6b1c4 Author: Phil Race Date: 2022-08-04 20:51:48 +0000 URL: https://git.openjdk.org/loom/commit/6ad6b1c454cbc41de5a401aecda910d668c71e39 8272998: ImageIO.read() throws incorrect exception type Reviewed-by: aivanov, dnguyen ! src/java.desktop/share/classes/javax/imageio/ImageIO.java + test/jdk/javax/imageio/ReadImageNoIAETest.java Changeset: 1edc2455 Author: Jie Fu Date: 2022-08-04 22:23:56 +0000 URL: https://git.openjdk.org/loom/commit/1edc24557482e04800e774bb3702e3de31783e60 8291899: Zero VM is broken on MacOS after JDK-8290840 due to os::setup_fpu() is missing Reviewed-by: shade ! src/hotspot/os_cpu/bsd_zero/os_bsd_zero.cpp Changeset: 617a196f Author: Coleen Phillimore Date: 2022-08-04 22:42:41 +0000 URL: https://git.openjdk.org/loom/commit/617a196fd3b68c6958fa7198868b36fc0396b290 8290812: Add a test for ResourceHashtable Reviewed-by: stuefe, iklam ! test/hotspot/gtest/utilities/test_resourceHash.cpp Changeset: 6e6c64c6 Author: Daniel D. Daugherty Date: 2022-08-04 22:50:24 +0000 URL: https://git.openjdk.org/loom/commit/6e6c64c6f6f5bd2b787071f847399f933936e0ed 8291941: ProblemList java/lang/ProcessBuilder/PipelineLeaksFD.java on linux-all Reviewed-by: dholmes ! test/jdk/ProblemList.txt Changeset: 27c88260 Author: Calvin Cheung Date: 2022-08-04 23:56:11 +0000 URL: https://git.openjdk.org/loom/commit/27c8826090135c0bd7719a4455bf6f8675b691d6 8291840: Avoid JavaCalls for setting up _java_system_loader and _java_platform_loader Reviewed-by: coleenp, iklam ! src/hotspot/share/classfile/classLoaderData.hpp ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/classfile/systemDictionary.hpp Changeset: 6b2184e8 Author: Bhavana Kilambi Committer: Ningsheng Jian Date: 2022-08-05 01:51:34 +0000 URL: https://git.openjdk.org/loom/commit/6b2184e8d1450a08f819c8ebd3cf25d308606976 8290248: Implement MaxINode::Ideal transformation Reviewed-by: kvn, thartmann ! src/hotspot/share/opto/addnode.cpp ! src/hotspot/share/opto/addnode.hpp + test/hotspot/jtreg/compiler/c2/irTests/MaxMinINodeIdealizationTests.java ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java Changeset: 4b3dfe1d Author: Peter Levart Date: 2022-08-04 16:53:57 +0000 URL: https://git.openjdk.org/loom/commit/4b3dfe1d22f7fed8a408ee50343d52cf1ac481ef 8283276: java/io/ObjectStreamClass/ObjectStreamClassCaching.java fails with various GCs Backport-of: d4a795d75aef8d787934f5c05e146c61138a408a ! test/jdk/java/io/ObjectStreamClass/ObjectStreamClassCaching.java Changeset: 477f4711 Author: David Holmes Date: 2022-08-05 03:52:15 +0000 URL: https://git.openjdk.org/loom/commit/477f471159700e27ca6e2f7248f2ec48e7935e0f Merge Changeset: 6e7cd762 Author: Andrey Turbanov Date: 2022-08-05 06:56:20 +0000 URL: https://git.openjdk.org/loom/commit/6e7cd7627d7e5c885b34afb1cb9458221a279e08 8291061: Improve thread safety of FileTime.toString and toInstant Reviewed-by: alanb ! src/java.base/share/classes/java/nio/file/attribute/FileTime.java Changeset: 504a6265 Author: Tobias Holenstein Date: 2022-08-05 07:00:15 +0000 URL: https://git.openjdk.org/loom/commit/504a6265979f489411fabf48da6484061696e61b 8291799: IGV: make "Selection mode" a toggle button Reviewed-by: kvn, thartmann, rcastanedalo ! src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/EditorTopComponent.java - src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/actions/PanModeAction.java ! src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/actions/SelectionModeAction.java - src/utils/IdealGraphVisualizer/View/src/main/resources/com/sun/hotspot/igv/view/images/pan_mode.png Changeset: b0d69528 Author: Tobias Holenstein Date: 2022-08-05 07:04:37 +0000 URL: https://git.openjdk.org/loom/commit/b0d6952811c2b29115b69427fe148ee6bce41710 8291823: IGV: Fix "Save selected groups" Reviewed-by: rcastanedalo, kvn, thartmann ! src/utils/IdealGraphVisualizer/Coordinator/src/main/java/com/sun/hotspot/igv/coordinator/FolderNode.java ! src/utils/IdealGraphVisualizer/Coordinator/src/main/java/com/sun/hotspot/igv/coordinator/OutlineTopComponent.java ! src/utils/IdealGraphVisualizer/Coordinator/src/main/java/com/sun/hotspot/igv/coordinator/actions/RemoveAction.java ! src/utils/IdealGraphVisualizer/Coordinator/src/main/java/com/sun/hotspot/igv/coordinator/actions/SaveAsAction.java Changeset: 4c652d9e Author: Fei Yang Date: 2022-08-05 07:51:05 +0000 URL: https://git.openjdk.org/loom/commit/4c652d9ecace0d07eed43fd11678238707f948de 8291952: riscv: Remove PRAGMA_NONNULL_IGNORED Reviewed-by: yadongwang, shade ! src/hotspot/cpu/riscv/frame_riscv.inline.hpp Changeset: dd7f2d91 Author: Axel Boldt-Christmas Committer: Erik ?sterlund Date: 2022-08-05 08:24:25 +0000 URL: https://git.openjdk.org/loom/commit/dd7f2d912bb66c0f10d7165040e52e2d18b73897 8290090: Change CodeBlobType from unscoped enum to enum class Reviewed-by: eosterlund, kvn ! src/hotspot/share/code/codeBlob.hpp ! src/hotspot/share/code/codeCache.cpp ! src/hotspot/share/code/codeCache.hpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compileBroker.hpp ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/hotspot/share/jfr/recorder/checkpoint/types/jfrType.cpp ! src/hotspot/share/memory/heap.cpp ! src/hotspot/share/memory/heap.hpp ! src/hotspot/share/prims/whitebox.cpp ! src/hotspot/share/prims/whitebox.hpp Changeset: 88c96dd3 Author: Yadong Wang Committer: Fei Yang Date: 2022-08-05 09:12:29 +0000 URL: https://git.openjdk.org/loom/commit/88c96dd3eb28a273305d07fb2b0a36122484189c 8291947: riscv: fail to build after JDK-8290840 Reviewed-by: fyang, fjiang ! src/hotspot/cpu/riscv/icache_riscv.cpp Changeset: 0da4314e Author: Claes Redestad Date: 2022-08-05 14:35:45 +0000 URL: https://git.openjdk.org/loom/commit/0da4314e95f380f6125120797ad57529f5442cda 8288732: Reduce runtime of java.util.concurrent microbenchmarks Reviewed-by: ecaspole, rriggs ! test/micro/org/openjdk/bench/java/util/concurrent/Atomic.java ! test/micro/org/openjdk/bench/java/util/concurrent/AtomicIntegerUpdateAndGet.java ! test/micro/org/openjdk/bench/java/util/concurrent/ForkJoinPoolForking.java ! test/micro/org/openjdk/bench/java/util/concurrent/ForkJoinPoolRawCallable.java ! test/micro/org/openjdk/bench/java/util/concurrent/ForkJoinPoolThresholdAutoQueued.java ! test/micro/org/openjdk/bench/java/util/concurrent/ForkJoinPoolThresholdAutoSurplus.java ! test/micro/org/openjdk/bench/java/util/concurrent/ForkJoinPoolThresholdStatic.java ! test/micro/org/openjdk/bench/java/util/concurrent/Locks.java ! test/micro/org/openjdk/bench/java/util/concurrent/Maps.java ! test/micro/org/openjdk/bench/java/util/concurrent/ProducerConsumer.java ! test/micro/org/openjdk/bench/java/util/concurrent/Queues.java ! test/micro/org/openjdk/bench/java/util/concurrent/ThreadLocalRandomNextInt.java Changeset: b17a745d Author: Michael McMahon Date: 2022-08-05 14:51:58 +0000 URL: https://git.openjdk.org/loom/commit/b17a745d7f55941f02b0bdde83866aa5d32cce07 8291637: HttpClient default keep alive timeout not followed if server sends invalid value Reviewed-by: jpai, dfuchs ! src/java.base/share/classes/sun/net/www/http/HttpClient.java + test/jdk/sun/net/www/http/KeepAliveCache/B8291637.java Changeset: f9bb3676 Author: Thomas Schatzl Date: 2022-08-05 16:20:27 +0000 URL: https://git.openjdk.org/loom/commit/f9bb3676e3d2c5fe0ae505d3bcbf434f7acb524f 8291653: G1 refinement incorrectly expects always-valid HeapRegion out of the Hot Card Cache Reviewed-by: kbarrett, ayang ! src/hotspot/share/gc/g1/g1RemSet.cpp Changeset: 9bff3b76 Author: Daniel D. Daugherty Date: 2022-08-05 21:36:11 +0000 URL: https://git.openjdk.org/loom/commit/9bff3b76f2e5d0ecede6c0d4042f65d377a28325 8291990: [REDO] ProblemList multiple tests in -Xcomp mode due to JDK-8291649 Reviewed-by: bpb ! test/hotspot/jtreg/ProblemList-Xcomp.txt Changeset: b66a0d16 Author: Daniel D. Daugherty Date: 2022-08-05 21:56:54 +0000 URL: https://git.openjdk.org/loom/commit/b66a0d1613302aa4130328fb08116de778a49a77 8291992: [REDO2] ProblemList multiple tests in -Xcomp mode due to JDK-8291649 Reviewed-by: bpb ! test/jdk/ProblemList-Xcomp.txt Changeset: 0657acf5 Author: Joe Darcy Date: 2022-08-05 22:18:59 +0000 URL: https://git.openjdk.org/loom/commit/0657acf534b0200b13a7535598d69ad4532cd97e 8289249: Add methods to Elements for record constructors Reviewed-by: vromero ! src/java.compiler/share/classes/javax/lang/model/util/Elements.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/model/JavacElements.java + test/langtools/tools/javac/processing/model/util/elements/TestRecordPredicates.java Changeset: 5963300c Author: Alan Bateman Date: 2022-08-05 07:39:43 +0000 URL: https://git.openjdk.org/loom/commit/5963300c0c9dfd34c6338fa8195ae18d7b41840c 8290562: ThreadMXBean.getThread{Cpu,User}Time fails with -XX:-VMContinuations Reviewed-by: sspitsyn, kevinw, mchung ! src/hotspot/share/services/management.cpp ! test/jdk/java/lang/management/ThreadMXBean/VirtualThreads.java Changeset: 87cda21c Author: David Holmes Date: 2022-08-05 22:35:24 +0000 URL: https://git.openjdk.org/loom/commit/87cda21c5d85f6e6f628849b8670e2ecb4e105dd Merge ! src/hotspot/share/services/management.cpp ! src/hotspot/share/services/management.cpp Changeset: ae520537 Author: Andrey Turbanov Date: 2022-08-06 09:53:35 +0000 URL: https://git.openjdk.org/loom/commit/ae52053757ca50c4b56989c9b0c6890e504e4088 8291954: Use Optional.isEmpty instead of !Optional.isPresent in java.base Reviewed-by: jpai, alanb, lancea, rriggs, bpb ! src/java.base/share/classes/java/lang/Runtime.java ! src/java.base/share/classes/java/lang/invoke/MethodHandles.java ! src/java.base/share/classes/java/lang/module/Resolver.java ! src/java.base/share/classes/java/util/Optional.java ! src/java.base/share/classes/jdk/internal/module/ModuleBootstrap.java ! src/java.base/share/classes/sun/launcher/LauncherHelper.java Changeset: 8e2c006c Author: raspberry-hu <76903172+raspberry-hu at users.noreply.github.com> Committer: John Jiang Date: 2022-08-08 02:49:44 +0000 URL: https://git.openjdk.org/loom/commit/8e2c006cd14905c06e8c2cc30f13de249d54ed79 8291957: Redundant import statements in sun.security.ec Reviewed-by: xuelei ! src/jdk.crypto.ec/share/classes/sun/security/ec/ECKeyPairGenerator.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/XDHPublicKeyImpl.java Changeset: 20123ea4 Author: Tobias Holenstein Date: 2022-08-08 08:03:21 +0000 URL: https://git.openjdk.org/loom/commit/20123ea4de702ccbaf4c500ff7a1000ca7ee9c90 8291901: IGV: Preference menu disappears after JDK-8288750 Reviewed-by: rcastanedalo, thartmann ! src/utils/IdealGraphVisualizer/Coordinator/src/main/resources/com/sun/hotspot/igv/coordinator/layer.xml Changeset: d4fb91ba Author: thyecust Committer: Daniel Fuchs Date: 2022-08-08 11:25:45 +0000 URL: https://git.openjdk.org/loom/commit/d4fb91ba04531c9c51903b1d36941bfb4f6eaf53 8291956: Simplify the loop condition in sun.net.httpserver.Request constructor Co-authored-by: Tian Haoyu Reviewed-by: dfuchs, chegar ! src/jdk.httpserver/share/classes/sun/net/httpserver/Request.java Changeset: 891df212 Author: Harshitha Onkar Committer: Prasanta Sadhukhan Date: 2022-08-08 11:39:17 +0000 URL: https://git.openjdk.org/loom/commit/891df2128ac5437af1113e83adf683bc6283b315 8259687: JTabbedPane.setComponentAt doesn't hide previously visible tab component Reviewed-by: psadhukhan, dnguyen ! src/java.desktop/share/classes/javax/swing/JTabbedPane.java + test/jdk/javax/swing/JTabbedPane/TabbedPaneBug.java Changeset: b2f0cbdc Author: Prasanta Sadhukhan Date: 2022-08-08 11:40:21 +0000 URL: https://git.openjdk.org/loom/commit/b2f0cbdca109507e5f8e0c185f601c0c1e31f4fb 8064787: [macosx] In Nimbus LaF, Ctrl+Alt mnemonic doesn't work Reviewed-by: prr, dnguyen ! src/java.desktop/share/classes/javax/swing/plaf/synth/SynthLookAndFeel.java Changeset: 5a539e8d Author: Yadong Wang Committer: Vladimir Kempik Date: 2022-08-08 11:47:36 +0000 URL: https://git.openjdk.org/loom/commit/5a539e8da7dbea1eaa10d799f75199ea359f7a22 8291893: riscv: remove fence.i used in user space Reviewed-by: fyang, vkempik ! src/hotspot/cpu/riscv/assembler_riscv.cpp ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/compiledIC_riscv.cpp ! src/hotspot/cpu/riscv/globals_riscv.hpp ! src/hotspot/cpu/riscv/icache_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/nativeInst_riscv.hpp ! src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp ! src/hotspot/os_cpu/linux_riscv/orderAccess_linux_riscv.hpp Changeset: 8a804f65 Author: Julian Waters Committer: Magnus Ihse Bursie Date: 2022-08-08 12:17:48 +0000 URL: https://git.openjdk.org/loom/commit/8a804f653d21e6e0ed4c1df48a14aa7ad3876dbe 8291454: Missing check for JLI C runtime library in CoreLibraries.gmk Reviewed-by: erikj, ihse ! make/modules/java.base/lib/CoreLibraries.gmk Changeset: 8d88be23 Author: Harold Seigel Date: 2022-08-08 12:19:15 +0000 URL: https://git.openjdk.org/loom/commit/8d88be233bc0d27d78e51c4eff0ba1ee47f4617a 8291459: JVM crash with GenerateOopMap::error_work(char const*, __va_list_tag*) Reviewed-by: dholmes, coleenp ! src/hotspot/share/oops/generateOopMap.cpp + test/hotspot/jtreg/runtime/GenerateOopMap/TestGenerateOopMapCrash.java + test/hotspot/jtreg/runtime/GenerateOopMap/if_icmpleIsLastOpcode.jasm Changeset: 861cc671 Author: Peter Levart Date: 2022-08-08 12:38:21 +0000 URL: https://git.openjdk.org/loom/commit/861cc671e2e4904d94f50710be99a511e2f9bb68 8291897: TerminatingThreadLocal(s) not registered from virtual thread(s) Reviewed-by: alanb ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/java/lang/ThreadLocal.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java + src/java.base/share/classes/jdk/internal/misc/CarrierThreadLocal.java ! src/java.base/share/classes/jdk/internal/misc/TerminatingThreadLocal.java ! src/java.base/share/classes/sun/nio/ch/IOVecWrapper.java ! src/java.base/share/classes/sun/nio/ch/Util.java ! src/java.base/share/classes/sun/nio/fs/NativeBuffers.java ! test/jdk/jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java Changeset: 7676be8a Author: Thomas Schatzl Date: 2022-08-08 12:50:52 +0000 URL: https://git.openjdk.org/loom/commit/7676be8a999dd042cdf08ef6234b3420deb247ef 8291037: Move PLAB resizing mechanism to G1EvacStats Reviewed-by: sangheki, iwalulya ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp ! src/hotspot/share/gc/g1/g1EvacStats.cpp ! src/hotspot/share/gc/g1/g1EvacStats.hpp ! src/hotspot/share/gc/shared/plab.cpp ! src/hotspot/share/gc/shared/plab.hpp Changeset: 45919371 Author: Thomas Schatzl Date: 2022-08-08 13:28:39 +0000 URL: https://git.openjdk.org/loom/commit/459193710f0b8859cff364d7de3765c6dc4e08d8 8290357: Drop HeapRegion::marked_bytes() Reviewed-by: sangheki, iwalulya ! src/hotspot/share/gc/g1/g1ConcurrentRebuildAndScrub.cpp ! src/hotspot/share/gc/g1/g1RemSetTrackingPolicy.cpp ! src/hotspot/share/gc/g1/g1RemSetTrackingPolicy.hpp ! src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp ! src/hotspot/share/gc/g1/heapRegion.cpp ! src/hotspot/share/gc/g1/heapRegion.hpp ! src/hotspot/share/gc/g1/heapRegion.inline.hpp ! src/hotspot/share/prims/whitebox.cpp Changeset: 124fc4a8 Author: Bill Huang Committer: Leonid Mesnik Date: 2022-08-08 15:06:49 +0000 URL: https://git.openjdk.org/loom/commit/124fc4a83dc7e55c3b12e4b6c379391ab11592d5 8290180: Convert com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh to jtreg java version 8290181: convert com/sun/management/UnixOperatingSystemMXBean/GetMaxFileDescriptorCount.sh to java version Reviewed-by: lmesnik, amenkov ! test/jdk/com/sun/management/UnixOperatingSystemMXBean/GetMaxFileDescriptorCount.java - test/jdk/com/sun/management/UnixOperatingSystemMXBean/GetMaxFileDescriptorCount.sh ! test/jdk/com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.java - test/jdk/com/sun/management/UnixOperatingSystemMXBean/GetOpenFileDescriptorCount.sh Changeset: 7db5abdd Author: Ramkumar Sunderbabu Committer: Leonid Mesnik Date: 2022-08-08 15:07:48 +0000 URL: https://git.openjdk.org/loom/commit/7db5abddd126db388b1a7f89be258e8aa7104da7 8282642: vmTestbase/gc/gctests/LoadUnloadGC2/LoadUnloadGC2.java fails intermittently with exit code 1 Reviewed-by: lmesnik ! test/hotspot/jtreg/vmTestbase/gc/gctests/LoadUnloadGC2/LoadUnloadGC2.java Changeset: 08274e6f Author: Mark Powers Committer: Bradford Wetmore Date: 2022-08-08 17:30:22 +0000 URL: https://git.openjdk.org/loom/commit/08274e6fea982e71ccc5964f4919c65501b048e1 8290975: Minor cleanup could be done in javax.security Reviewed-by: wetmore, mullan ! src/java.base/share/classes/javax/security/auth/AuthPermission.java ! src/java.base/share/classes/javax/security/auth/Destroyable.java ! src/java.base/share/classes/javax/security/auth/PrivateCredentialPermission.java ! src/java.base/share/classes/javax/security/auth/Subject.java ! src/java.base/share/classes/javax/security/auth/callback/ChoiceCallback.java ! src/java.base/share/classes/javax/security/auth/callback/NameCallback.java ! src/java.base/share/classes/javax/security/auth/callback/PasswordCallback.java ! src/java.base/share/classes/javax/security/auth/callback/TextInputCallback.java ! src/java.base/share/classes/javax/security/auth/callback/TextOutputCallback.java ! src/java.base/share/classes/javax/security/auth/callback/UnsupportedCallbackException.java ! src/java.base/share/classes/javax/security/auth/login/AppConfigurationEntry.java ! src/java.base/share/classes/javax/security/auth/login/Configuration.java ! src/java.base/share/classes/javax/security/auth/login/LoginContext.java ! src/java.base/share/classes/javax/security/auth/spi/LoginModule.java ! src/java.base/share/classes/javax/security/auth/x500/X500Principal.java ! src/java.base/share/classes/javax/security/cert/X509Certificate.java Changeset: eb8b7890 Author: Daniel D. Daugherty Date: 2022-08-08 19:39:02 +0000 URL: https://git.openjdk.org/loom/commit/eb8b789015c98cb5fe7ba788e71f3f6166884739 8292061: ProblemList serviceability/attach/ConcAttachTest.java on linux-all Reviewed-by: darcy ! test/hotspot/jtreg/ProblemList.txt Changeset: 77398430 Author: Sergey Bylokhov Date: 2022-08-08 21:50:16 +0000 URL: https://git.openjdk.org/loom/commit/77398430b5e13768cddd5f63e8fe9e53735bbea8 8288633: The ICC_ColorSpace.fromCIEXYZ method uses the wrong rendering intent Reviewed-by: prr ! src/java.desktop/share/classes/java/awt/color/ICC_ColorSpace.java + test/jdk/java/awt/color/ICC_ColorSpace/ToFromCIEXYZRoundTrip.java Changeset: af243ca3 Author: Koichi Sakata Committer: Roberto Casta?eda Lozano Date: 2022-08-09 08:18:44 +0000 URL: https://git.openjdk.org/loom/commit/af243ca334c8ce29bc3337ac9388ad45a4ee9041 8265433: IGV: add graph tooltips with properties Reviewed-by: rcastanedalo, tholenstein + src/utils/IdealGraphVisualizer/Util/src/main/java/com/sun/hotspot/igv/util/PropertiesConverter.java ! src/utils/IdealGraphVisualizer/Util/src/main/java/com/sun/hotspot/igv/util/StringUtils.java ! src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/widgets/FigureWidget.java Changeset: 2712bc3f Author: ScientificWare Committer: Jaikiran Pai Date: 2022-08-09 08:40:24 +0000 URL: https://git.openjdk.org/loom/commit/2712bc3f79990f27fe9a624a7a818ba1c2c74b67 8289741: Remove unused imports from DTDBuilder.java Reviewed-by: jpai ! make/jdk/src/classes/build/tools/dtdbuilder/DTDBuilder.java Changeset: cbc9040f Author: Tejesh R Committer: Prasanta Sadhukhan Date: 2022-08-09 11:53:41 +0000 URL: https://git.openjdk.org/loom/commit/cbc9040f3a3a86942fa8277860eedc1f5142b64b 8290278: JavaDoc of index parameter of method JTabbedPane.insertTab Reviewed-by: psadhukhan, prr, honkar ! src/java.desktop/share/classes/javax/swing/JTabbedPane.java Changeset: f5b3618c Author: Coleen Phillimore Date: 2022-08-09 11:59:02 +0000 URL: https://git.openjdk.org/loom/commit/f5b3618c421904a99d1754c10344e92459eeb4ad 8291970: Add TableStatistics get function to ResourceHashtable Reviewed-by: iklam, ccheung ! src/hotspot/share/utilities/resourceHash.hpp ! src/hotspot/share/utilities/tableStatistics.cpp ! src/hotspot/share/utilities/tableStatistics.hpp ! test/hotspot/gtest/utilities/test_resourceHash.cpp Changeset: 0ade2641 Author: Thomas Schatzl Date: 2022-08-09 12:01:58 +0000 URL: https://git.openjdk.org/loom/commit/0ade2641f78c1ab890de658095b6b54e52f8d5ab 8290814: Hide G1RootRegions behind G1ConcurrentMark Reviewed-by: sangheki, iwalulya ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.cpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.hpp ! src/hotspot/share/gc/g1/g1YoungCollector.cpp Changeset: 3677b55b Author: Abhishek Kumar Committer: Prasanta Sadhukhan Date: 2022-08-09 12:27:05 +0000 URL: https://git.openjdk.org/loom/commit/3677b55b45746c3c955a8fcf1fbbf15694baa873 6391806: JLabel and AbstractButton's imageUpdate method should be better specified Reviewed-by: psadhukhan, prr ! src/java.desktop/share/classes/javax/swing/AbstractButton.java ! src/java.desktop/share/classes/javax/swing/JLabel.java Changeset: aff7689a Author: Richard Reingruber Date: 2022-08-09 15:21:28 +0000 URL: https://git.openjdk.org/loom/commit/aff7689a00a72c4e508d813372f519bace6b77ab 8292075: Remove deleted test compiler/rangechecks/TestRangeCheckHoistingScaledIV.java from ProblemList Reviewed-by: chagedorn, pli ! test/hotspot/jtreg/ProblemList.txt Changeset: 8d0d9eaa Author: Calvin Cheung Date: 2022-08-09 16:30:44 +0000 URL: https://git.openjdk.org/loom/commit/8d0d9eaa9c4b250d90e18e709aff7bdfd70b3395 8291238: JDK can't be built without G1 Reviewed-by: stuefe, jiefu ! src/hotspot/share/cds/filemap.cpp Changeset: 4040927d Author: Brian Burkhalter Date: 2022-08-09 17:07:14 +0000 URL: https://git.openjdk.org/loom/commit/4040927d1750dd00611cc6465507dd0bc694a18f 8290047: (fs) FileSystem.getPathMatcher does not check for ":" at last index Reviewed-by: naoto, rriggs, alanb, lancea ! src/java.base/share/classes/java/nio/file/FileSystem.java ! src/java.base/share/classes/jdk/internal/jrtfs/JrtFileSystem.java ! src/java.base/unix/classes/sun/nio/fs/UnixFileSystem.java ! src/java.base/windows/classes/sun/nio/fs/WindowsFileSystem.java ! src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipFileSystem.java ! test/jdk/java/nio/file/PathMatcher/Basic.java ! test/jdk/jdk/internal/jrtfs/Basic.java ! test/jdk/jdk/nio/zipfs/Basic.java Changeset: ae1a9a0b Author: Joe Darcy Date: 2022-08-09 17:55:18 +0000 URL: https://git.openjdk.org/loom/commit/ae1a9a0b252fc9593b077f9626a431b0f06b3f51 8292060: Make ClassFileVersionTest.java version adapting Reviewed-by: hseigel ! test/hotspot/jtreg/runtime/ClassFile/ClassFileVersionTest.java ! test/hotspot/jtreg/runtime/ClassFile/classFileVersions.jcod Changeset: d889264c Author: Bill Huang Committer: Joe Wang Date: 2022-08-09 18:26:54 +0000 URL: https://git.openjdk.org/loom/commit/d889264c6123b6c28bdd6336f5ae547e4e441aa7 8290836: Improve test coverage for XPath functions: String Functions 8290837: Improve test coverage for XPath functions: Boolean Functions 8290838: Improve test coverage for XPath functions: Number Functions Reviewed-by: joehw + test/jaxp/javax/xml/jaxp/unittest/xpath/XPathBooleanFnTest.java ! test/jaxp/javax/xml/jaxp/unittest/xpath/XPathNodeSetFnTest.java + test/jaxp/javax/xml/jaxp/unittest/xpath/XPathNumberFnTest.java + test/jaxp/javax/xml/jaxp/unittest/xpath/XPathStringFnTest.java ! test/jaxp/javax/xml/jaxp/unittest/xpath/XPathTestBase.java Changeset: 17c77b5d Author: Daniel D. Daugherty Date: 2022-08-09 18:50:56 +0000 URL: https://git.openjdk.org/loom/commit/17c77b5d7a25d6e8e127a2559b8f661c743701c1 8292119: ProblemList java/awt/image/multiresolution/MultiresolutionIconTest.java on linux-x64 and windows-all Reviewed-by: naoto, prr ! test/jdk/ProblemList.txt Changeset: 57e0da15 Author: Daniel D. Daugherty Date: 2022-08-09 19:26:28 +0000 URL: https://git.openjdk.org/loom/commit/57e0da1578b78f7ac83e9621554d0e81dfa2af67 8292132: ProblemList jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java Reviewed-by: bpb ! test/jdk/ProblemList.txt Changeset: 6397d564 Author: Brian Burkhalter Date: 2022-08-09 22:29:04 +0000 URL: https://git.openjdk.org/loom/commit/6397d564a5dab07f81bf4c69b116ebfabb2446ba 8151430: (fs) BasicFileAttributeView.setTimes should support setting file create time on OS X Reviewed-by: alanb + src/java.base/macosx/classes/sun/nio/fs/BsdFileAttributeViews.java ! src/java.base/macosx/classes/sun/nio/fs/BsdFileSystemProvider.java ! src/java.base/macosx/classes/sun/nio/fs/BsdNativeDispatcher.java ! src/java.base/macosx/native/libnio/fs/BsdNativeDispatcher.c ! src/java.base/unix/classes/sun/nio/fs/UnixConstants.java.template ! src/java.base/unix/classes/sun/nio/fs/UnixFileAttributeViews.java ! test/jdk/java/nio/file/attribute/BasicFileAttributeView/CreationTime.java Changeset: 49133809 Author: Ioi Lam Date: 2022-08-10 02:59:53 +0000 URL: https://git.openjdk.org/loom/commit/49133809c2331a8a2067228adceb1d6e97cb19a8 8292007: Do not include vmSymbol.hpp in method.hpp Reviewed-by: coleenp ! src/hotspot/cpu/aarch64/continuationEntry_aarch64.inline.hpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/x86/continuationEntry_x86.inline.hpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/share/gc/shared/barrierSetNMethod.cpp ! src/hotspot/share/oops/method.hpp ! src/hotspot/share/oops/method.inline.hpp ! src/hotspot/share/prims/stackwalk.cpp ! src/hotspot/share/runtime/continuation.cpp ! src/hotspot/share/runtime/continuationEntry.cpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/vframe.cpp Changeset: 83dc2e3e Author: Prasanta Sadhukhan Date: 2022-08-10 03:42:12 +0000 URL: https://git.openjdk.org/loom/commit/83dc2e3e45a946dd1302efb84baf3afaa9309ba4 8292062: misc javax/swing tests failing Reviewed-by: prr ! src/java.desktop/share/classes/javax/swing/plaf/synth/SynthLookAndFeel.java ! test/jdk/javax/swing/JList/4618767/JListSelectedElementTest.java ! test/jdk/javax/swing/JTree/4618767/JTreeSelectedElementTest.java ! test/jdk/javax/swing/event/RightAltKeyTest.java Changeset: ecfa38ff Author: Tejesh R Committer: Prasanta Sadhukhan Date: 2022-08-10 11:43:02 +0000 URL: https://git.openjdk.org/loom/commit/ecfa38ffa8620e41854a043497f19863da297947 8281966: Absolute path of symlink is null in JFileChooser Reviewed-by: aivanov, psadhukhan ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicFileChooserUI.java + test/jdk/javax/swing/JFileChooser/FileChooserSymLinkTest.java Changeset: 37d3146c Author: Aleksey Shipilev Date: 2022-08-10 13:26:56 +0000 URL: https://git.openjdk.org/loom/commit/37d3146cca2c40dd53fcebd9cb78595f018b3489 8289002: Minimal x86_64 VM build fails with GCC 11: 'this' pointer is null Reviewed-by: dholmes, aph ! src/hotspot/share/services/diagnosticFramework.cpp ! src/hotspot/share/services/memoryManager.cpp Changeset: cb37282a Author: Evgeny Astigeevich Committer: Volker Simonis Date: 2022-08-10 14:56:17 +0000 URL: https://git.openjdk.org/loom/commit/cb37282a12698ae66c27889db9251a5b278624b0 8291752: AArch64: Remove check_emit_size parameter from trampoline_call Reviewed-by: kvn, aph ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp Changeset: 9825c335 Author: David Schlosnagle Committer: Mandy Chung Date: 2022-08-10 16:22:19 +0000 URL: https://git.openjdk.org/loom/commit/9825c3356068feba8dde8217e8f8a56c9c573da4 8291641: Optimize StackTraceElement.toString() Reviewed-by: rriggs, mchung ! src/java.base/share/classes/java/lang/StackTraceElement.java ! test/jdk/java/lang/StackTraceElement/SerialTest.java + test/micro/org/openjdk/bench/java/lang/StackTraceElementBench.java Changeset: 35fd5d88 Author: Brian Burkhalter Date: 2022-08-10 18:09:54 +0000 URL: https://git.openjdk.org/loom/commit/35fd5d88eb6c9aa3a9d6f5b5de0d11939dee1863 8292200: Add java/io/File/GetXSpace.java to Windows problem list Reviewed-by: alanb ! test/jdk/ProblemList.txt Changeset: 7b029ea6 Author: Daniel Jeli?ski Date: 2022-08-10 18:16:10 +0000 URL: https://git.openjdk.org/loom/commit/7b029ea6ba1d44d361fdf980816732d8454b8194 8227651: Tests fail with SSLProtocolException: Input record too big 8212096: javax/net/ssl/ServerName/SSLEngineExplorerMatchedSNI.java failed intermittently due to SSLException: Tag mismatch Reviewed-by: coffeys, xuelei ! test/jdk/ProblemList.txt ! test/jdk/javax/net/ssl/SSLEngine/LargePacket.java ! test/jdk/javax/net/ssl/SSLEngine/SSLEngineService.java ! test/jdk/javax/net/ssl/ServerName/SSLEngineExplorer.java ! test/jdk/javax/net/ssl/ServerName/SSLEngineExplorerMatchedSNI.java ! test/jdk/javax/net/ssl/ServerName/SSLEngineExplorerUnmatchedSNI.java ! test/jdk/javax/net/ssl/ServerName/SSLEngineExplorerWithCli.java ! test/jdk/javax/net/ssl/ServerName/SSLEngineExplorerWithSrv.java Changeset: e4925a39 Author: Alex Kasko Committer: Alexey Semenyuk Date: 2022-08-10 19:17:42 +0000 URL: https://git.openjdk.org/loom/commit/e4925a3959c319028014437fdb393312bcb3627d 8291924: jpackage: l10n for Windows context menu label Reviewed-by: naoto, asemenyuk, almatvee ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixAppImageFragmentBuilder.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/MsiInstallerStrings_de.wxl ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/MsiInstallerStrings_en.wxl ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/MsiInstallerStrings_ja.wxl ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/MsiInstallerStrings_zh_CN.wxl ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/PackageTest.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/WindowsHelper.java From forax at univ-mlv.fr Fri Aug 12 16:39:51 2022 From: forax at univ-mlv.fr (Remi Forax) Date: Fri, 12 Aug 2022 18:39:51 +0200 (CEST) Subject: New candidate JEP: 429: Extent-Local Variables (Incubator) In-Reply-To: <20220812001813.98AD353FB98@eggemoggin.niobe.net> References: <20220812001813.98AD353FB98@eggemoggin.niobe.net> Message-ID: <279210125.20930146.1660322391426.JavaMail.zimbra@u-pem.fr> Hi all, not a big deal but some methods do not have the correct signature, as usual there are some wildcards missing. ExtentLocal.where() with a callable should be U ExtentLocal.where(ExtentLocal key, T value, Callable op) likewise in ExtentLocal.Carrier R call(Callable op) R callOrElse(Callable op, Function handler) and nitpicking, because ExtentLocal.Carrier is a final class, there is no need to declare all its methods final, which change nothing in term of semantics but those final appear in the javadoc which is a kind of ugly. regards, R?mi ----- Original Message ----- > From: "mark reinhold" > Cc: "loom-dev" , jdk-dev at openjdk.org > Sent: Friday, August 12, 2022 2:18:13 AM > Subject: New candidate JEP: 429: Extent-Local Variables (Incubator) > https://openjdk.org/jeps/429 > > Summary: Introduce extent-local variables, which enable the sharing > of immutable data within and across threads. They are preferred to > thread-local variables, especially when using large numbers of virtual > threads. This is an incubating API. > > - Mark From duke at openjdk.org Sun Aug 14 06:47:16 2022 From: duke at openjdk.org (duke) Date: Sun, 14 Aug 2022 06:47:16 GMT Subject: git: openjdk/loom: fibers: XPathNodeSetFnTest should be excluded via jaxp/ProblemList-vthread.txt Message-ID: <1d7908e3-88a8-497e-98d6-b5eb469d02da@openjdk.org> Changeset: 5277f70b Author: Alan Bateman Date: 2022-08-14 07:44:24 +0000 URL: https://git.openjdk.org/loom/commit/5277f70bbc608a488416dee57ff765a2e04d421d XPathNodeSetFnTest should be excluded via jaxp/ProblemList-vthread.txt ! test/jaxp/ProblemList-vthread.txt ! test/jdk/ProblemList-vthread.txt From john.r.rose at oracle.com Tue Aug 16 19:22:43 2022 From: john.r.rose at oracle.com (John Rose) Date: Tue, 16 Aug 2022 12:22:43 -0700 Subject: New candidate JEP: 429: Extent-Local Variables (Incubator) In-Reply-To: <20220812001813.98AD353FB98@eggemoggin.niobe.net> References: <20220812001813.98AD353FB98@eggemoggin.niobe.net> Message-ID: <5D4F7B18-0AA8-4166-AE7B-48054EBD35DC@oracle.com> I?m very glad to see this moving towards completion. Better threads richly deserve better thread locals! I?d like to check my understanding of the intermediate type `Carrier`. Is it the case that the information content of a carrier made by `c=ExtentLocal.where(k,v)` is just exactly the pair `k,v`? And then, after that, I suppose a carrier made by `c.where(k2,v2)` contains exactly `k,v,k2,v2`. (But if `k==k2` then the information content is just `k2,v2`.) And if that is true, then I can store a `Carrier` in a global variable, even pass it to five other threads, and have each of them call `c.run(?)` with completely independent sets of bindings, except for the `k,v,k2,v2` mandated by the carrier?s information content. What I?m trying to exclude here is that a `Carrier` somehow threads in the ambient binding map for the current extent, as non-locally defined by all of the caller frames, plus whatever bindings might have been provided when the current thread was launched. IIRC you have chosen not to provide general methods for working with binding maps. (There is no key/value iterator on `Carrier`.) And then reifying the very special binding map in the current extent is right out. I think this is fine, although maybe use cases will eventually call for map-like views on both local carrier multi-tuples and grand non-local binding maps. Those can be added later if needed. So, my asking to confirm the very finite and local information content of the type `Carrier` is really me double-checking that no larger binding-map API sneaks through the current JEP API. A very different design would sneak in an reified map pointer into every result of `c=ExtentLocal.where(k,v)` such that bindings available in `c.run(?)` would come only from c and its uplevel pointer, completely blocking any bindings present at the call to `c.run`. I guess such bindings would no longer be properly called ?extent-local?; only the binding map root would be extent local but it would be subject to radical editing on each call to `c.run(?)`. Make sense? -------------- next part -------------- An HTML attachment was scrubbed... URL: From holo3146 at gmail.com Tue Aug 16 21:23:17 2022 From: holo3146 at gmail.com (Holo The Sage Wolf) Date: Wed, 17 Aug 2022 00:23:17 +0300 Subject: New candidate JEP: 429: Extent-Local Variables (Incubator) In-Reply-To: <5D4F7B18-0AA8-4166-AE7B-48054EBD35DC@oracle.com> References: <20220812001813.98AD353FB98@eggemoggin.niobe.net> <5D4F7B18-0AA8-4166-AE7B-48054EBD35DC@oracle.com> Message-ID: Is it the case that the information content of a carrier made by c=ExtentLocal.where(k,v) is just exactly the pair k,v? Yes I suppose a carrier made by c.where(k2,v2) contains exactly k,v,k2,v2. Semantically yes, but implementation wise, it contains exactly c,k2,v2, it works as a linked-list of (ExtentLocal, T) pairs (But if k==k2 then the information content is just k2,v2.) No, c.where(k, v2) will contain c,k,v2 and c will still contain k,v. I can store a Carrier in a global variable, even pass it to five other threads, and have each of them call c.run(?) with completely independent sets of bindings, except for the k,v,k2,v2 mandated by the carrier?s information content. Correct IIRC You are remembering correctly, there is a method to search for a value in a Carrier, Carrier#get(ExtentLocal key), but you cannot iterate over ExtentLocal that are bound to that Carrier. although maybe usecases will eventually call [?] I am interested to know what use cases may arise, I can?t imagine exposing the keys of a carrier to be good. A Carrier is basically an ExtentLocal to T map. If x is a Carrier there is no way to verify a connection between the current extent and x, so the only thing I can think of is to check if some ExtentLocal LOCAL is already bound in x before calling to run/call, but Carrier#get(ExtentLocal) already solves this problem. Also, in general, exposing the key set of a Carrier may be a source for security problems. By exposing the keys you are allowing anyone with access to the Carrier the ability to view and override all of the ExtentLocals that are referenced in that Carrier, including private ones. larger binding-map API sneaks through Well? It is not part of the API, but using reflection it is possible to get a hold on the Snapshot object, as well as the Snapshot.prev and Carrier.prev fields, which allow you to find all of the ExtentLocals that exist in the current extent. A very different design Remember you need to support situations like: ExtentLocal.where(k, v) .run(() -> { ExtentLocal.where(k2, v2).run(...); }); So either you are keeping the full extent in the carrier, or make it mutable and leave the rest as it is now. Internally, using a static parameter JavaLangAccess JLA, the full extent current is saved, and the Carrier is a class that helps you store stuff in the extent (the Carrier saves the key-value pairs, and when you call the method run/call it adds it to the current extent), so the first option will needlessly touch internal components (or copy an internal logic to the high level part of the feature), and making stuff mutable is always a place for disasters. To explain a bit on this, apart from Carrier, there exists a (protected) class called Snapshot, a Snapshot is basically a linked list of Carriers. Using this JLA you can access the Snapshot of the current extent. When using run/call, the carrier (bindings) (1) gets the current extent ( prev), (2) creates a new Snapshot(b) whose value is bindings and tail be prev and (3) sets the current extent to b. When calling LocalExtent#get(key), (1) LocalExtent get the current extent, (2) run on each Snapshot, (3) in each Snapshot it run over every Carrier and search for key On Tue, Aug 16, 2022 at 10:22 PM John Rose wrote: > I?m very glad to see this moving towards completion. > Better threads richly deserve better thread locals! > > I?d like to check my understanding of the intermediate > type Carrier. Is it the case that the information content > of a carrier made by c=ExtentLocal.where(k,v) is just exactly > the pair k,v? And then, after that, I suppose a carrier made > by c.where(k2,v2) contains exactly k,v,k2,v2. (But if > k==k2 then the information content is just k2,v2.) > > And if that is true, then I can store a Carrier in a global > variable, even pass it to five other threads, and have each > of them call c.run(?) with completely independent sets of > bindings, except for the k,v,k2,v2 mandated by the carrier?s > information content. > > What I?m trying to exclude here is that a Carrier somehow > threads in the ambient binding map for the current extent, > as non-locally defined by all of the caller frames, plus > whatever bindings might have been provided when the current > thread was launched. > > IIRC you have chosen not to provide general methods for working > with binding maps. (There is no key/value iterator on Carrier.) > And then reifying the very special binding map in the current > extent is right out. I think this is fine, although maybe use > cases will eventually call for map-like views on both local > carrier multi-tuples and grand non-local binding maps. Those > can be added later if needed. > > So, my asking to confirm the very finite and local information > content of the type Carrier is really me double-checking > that no larger binding-map API sneaks through the current JEP > API. > > A very different design would sneak in an reified map pointer > into every result of c=ExtentLocal.where(k,v) such that > bindings available in c.run(?) would come only from c > and its uplevel pointer, completely blocking any bindings > present at the call to c.run. I guess such bindings would > no longer be properly called ?extent-local?; only the binding > map root would be extent local but it would be subject to > radical editing on each call to c.run(?). > > Make sense? > -- Holo The Wise Wolf Of Yoitsu -------------- next part -------------- An HTML attachment was scrubbed... URL: From aph-open at littlepinkcloud.com Wed Aug 17 08:40:12 2022 From: aph-open at littlepinkcloud.com (Andrew Haley) Date: Wed, 17 Aug 2022 09:40:12 +0100 Subject: New candidate JEP: 429: Extent-Local Variables (Incubator) In-Reply-To: <5D4F7B18-0AA8-4166-AE7B-48054EBD35DC@oracle.com> References: <20220812001813.98AD353FB98@eggemoggin.niobe.net> <5D4F7B18-0AA8-4166-AE7B-48054EBD35DC@oracle.com> Message-ID: On 8/16/22 20:22, John Rose wrote: > I?m very glad to see this moving towards completion. > Better threads richly deserve better thread locals! Thanks, nice to know. > I?d like to check my understanding of the intermediate > type |Carrier|. Is it the case that the information content > of a carrier made by |c=ExtentLocal.where(k,v)| is just exactly > the pair |k,v|? Yes. > And then, after that, I suppose a carrier made > by |c.where(k2,v2)| contains exactly |k,v,k2,v2|. (But if > |k==k2| then the information content is just |k2,v2|.) In effect yes, except for liveness. > And if that is true, then I can store a |Carrier| in a global > variable, even pass it to five other threads, and have each > of them call |c.run(?)| with completely independent sets of > bindings, except for the |k,v,k2,v2| mandated by the carrier?s > information content. That's the idea. There is some cost to creating a Carrier, so it might make sense to share Carrier instances between related contexts. > What I?m trying to exclude here is that a |Carrier| somehow > threads in the ambient binding map for the current extent, > as non-locally defined by all of the caller frames, plus > whatever bindings might have been provided when the current > thread was launched. It doesn't do that: the Carrier doesn't inherit anything from the environment. > IIRC you have chosen not to provide general methods for working > with binding maps. (There is no key/value iterator on |Carrier|.) > And then reifying the very special binding map in the current > extent is right out. I did have that, and it could have been useful for (e.g.) general inheritance by fork/join tasks, but it was taken out. That was because it was thought useful to be able to guarantee that when a binding extent ends, no other thread hangs on to the bindings. That is to say, extent-local bindings are bounded in both time and space. I still think it might be useful to be able to snapshot the current state. > I think this is fine, although maybe use > cases will eventually call for map-like views on both local > carrier multi-tuples and grand non-local binding maps. Those > can be added later if needed. > > So, my asking to confirm the very finite and local information > content of the type |Carrier| is really me double-checking > that no larger binding-map API sneaks through the current JEP > API. Worry not! It doesn't. > A very different design would sneak in an reified map pointer > into every result of |c=ExtentLocal.where(k,v)| such that > bindings available in |c.run(?)| would come only from c > and its uplevel pointer, completely blocking any bindings > present at the call to |c.run|. I guess such bindings would > no longer be properly called ?extent-local?; only the binding > map root would be extent local but it would be subject to > radical editing on each call to |c.run(?)|. > > Make sense? I guess, but that sounds a little more complex. -- Andrew Haley (he/him) Java Platform Lead Engineer Red Hat UK Ltd. https://keybase.io/andrewhaley EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671 From aph-open at littlepinkcloud.com Wed Aug 17 08:43:37 2022 From: aph-open at littlepinkcloud.com (Andrew Haley) Date: Wed, 17 Aug 2022 09:43:37 +0100 Subject: New candidate JEP: 429: Extent-Local Variables (Incubator) In-Reply-To: References: <20220812001813.98AD353FB98@eggemoggin.niobe.net> <5D4F7B18-0AA8-4166-AE7B-48054EBD35DC@oracle.com> Message-ID: On 8/16/22 22:23, Holo The Sage Wolf wrote: > I can?t imagine exposing the keys of a carrier to be good. Very bad. It breaks access control. -- Andrew Haley (he/him) Java Platform Lead Engineer Red Hat UK Ltd. https://keybase.io/andrewhaley EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671 From duke at openjdk.org Thu Aug 18 17:20:23 2022 From: duke at openjdk.org (duke) Date: Thu, 18 Aug 2022 17:20:23 GMT Subject: git: openjdk/loom: fibers: 76 new changesets Message-ID: <835972ef-7f18-48c0-90c4-a23f97daaaa6@openjdk.org> Changeset: 68af7c13 Author: Joe Darcy Date: 2022-08-10 19:55:57 +0000 URL: https://git.openjdk.org/loom/commit/68af7c1365712773a56f19ce3453baebffd006f4 8291734: Return accurate ACC_SUPER access flag for classes Reviewed-by: mchung ! src/java.base/share/classes/java/lang/Class.java ! test/jdk/java/lang/reflect/AccessFlag/ClassAccessFlagTest.java Changeset: 543163a0 Author: Alex Kasko Committer: Alexey Semenyuk Date: 2022-08-10 20:34:51 +0000 URL: https://git.openjdk.org/loom/commit/543163a03b5f1af7a7e7af317a26eb8c5aa81c38 8291978: jpackage: allow to override primary l10n files on Windows Reviewed-by: asemenyuk, almatvee, naoto ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WinMsiBundler.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/MsiInstallerStrings_de.wxl ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/MsiInstallerStrings_ja.wxl ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/MsiInstallerStrings_zh_CN.wxl ! 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/WindowsHelper.java ! test/jdk/tools/jpackage/share/jdk/jpackage/tests/BasicTest.java ! test/jdk/tools/jpackage/windows/WinL10nTest.java Changeset: b47438ca Author: Coleen Phillimore Date: 2022-08-10 22:04:33 +0000 URL: https://git.openjdk.org/loom/commit/b47438cabc5e365910f2a110972431133649fcc4 8292068: Convert ModuleEntryTable into ResourceHashtable Reviewed-by: iklam, lfoltan ! src/hotspot/share/classfile/classLoaderData.cpp ! src/hotspot/share/classfile/classLoaderExt.cpp ! src/hotspot/share/classfile/moduleEntry.cpp ! src/hotspot/share/classfile/moduleEntry.hpp ! src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp ! src/hotspot/share/oops/symbol.hpp ! src/hotspot/share/utilities/hashtable.cpp ! test/hotspot/jtreg/runtime/NMT/CheckForProperDetailStackTrace.java Changeset: 36ef4c1a Author: Leonid Mesnik Date: 2022-08-11 00:30:19 +0000 URL: https://git.openjdk.org/loom/commit/36ef4c1a92348b392b6009ea8b3e5636bfa1b726 8291081: Some sun/tools/jstatd/TestJstatd* tests fail with "Not a percentage\: 68.31\: expected true, was false" Reviewed-by: kevinw, cjplummer ! test/jdk/sun/tools/jstatd/JstatGCUtilParser.java ! test/jdk/sun/tools/jstatd/JstatdTest.java Changeset: 2e0a17c5 Author: Feilong Jiang Committer: Fei Yang Date: 2022-08-11 00:55:08 +0000 URL: https://git.openjdk.org/loom/commit/2e0a17c560d821276544d83bee3891633065e2fc 8292187: aarch64: Remove duplicate header files Reviewed-by: aph, ngasson ! src/hotspot/cpu/aarch64/gc/g1/g1BarrierSetAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp ! src/hotspot/cpu/aarch64/upcallLinker_aarch64.cpp Changeset: 4b03e135 Author: Jaikiran Pai Date: 2022-08-11 02:17:01 +0000 URL: https://git.openjdk.org/loom/commit/4b03e135e157cb6cc9ba5eebf4a1f1b6e9143f48 8285405: add test and check for negative argument to HashMap::newHashMap et al Reviewed-by: chegar, naoto, lancea, smarks ! src/java.base/share/classes/java/util/HashMap.java ! src/java.base/share/classes/java/util/HashSet.java ! src/java.base/share/classes/java/util/LinkedHashMap.java ! src/java.base/share/classes/java/util/LinkedHashSet.java ! src/java.base/share/classes/java/util/WeakHashMap.java ! test/jdk/java/util/HashMap/WhiteBoxResizeTest.java Changeset: 0def5316 Author: Alisen Chung Committer: Alexey Semenyuk Date: 2022-08-09 22:27:58 +0000 URL: https://git.openjdk.org/loom/commit/0def5316cd2ec7699c649bf67bf58e6315c3010b 8290889: JDK 19 RDP2 L10n resource files update - msgdrop 10 Reviewed-by: naoto, asemenyuk ! src/java.base/share/classes/sun/security/tools/keytool/Resources_de.java ! src/java.base/share/classes/sun/security/tools/keytool/Resources_ja.java ! src/java.base/share/classes/sun/security/tools/keytool/Resources_zh_CN.java ! src/java.base/share/classes/sun/util/resources/CurrencyNames.properties ! src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_de.properties ! src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_ja.properties ! src/java.sql.rowset/share/classes/com/sun/rowset/RowSetResourceBundle_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/utils/SerializerMessages_de.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler_de.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler_ja.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/launcher_de.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/launcher_ja.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/launcher_zh_CN.properties ! src/jdk.jartool/share/classes/sun/security/tools/jarsigner/Resources_de.java ! src/jdk.jartool/share/classes/sun/security/tools/jarsigner/Resources_ja.java ! src/jdk.jartool/share/classes/sun/security/tools/jarsigner/Resources_zh_CN.java ! src/jdk.jartool/share/classes/sun/tools/jar/resources/jar_de.properties ! src/jdk.jartool/share/classes/sun/tools/jar/resources/jar_ja.properties ! src/jdk.jartool/share/classes/sun/tools/jar/resources/jar_zh_CN.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/standard_de.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/standard_ja.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/standard_zh_CN.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets_de.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets_ja.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets_zh_CN.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclint/resources/doclint_de.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclint/resources/doclint_ja.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclint/resources/doclint_zh_CN.properties ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_de.properties ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_ja.properties ! src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_zh_CN.properties ! src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/TTYResources_de.java ! src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/TTYResources_ja.java ! src/jdk.jdi/share/classes/com/sun/tools/example/debug/tty/TTYResources_zh_CN.java ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacResources_de.properties ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_de.properties ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_ja.properties ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/HelpResources_zh_CN.properties ! src/jdk.localedata/share/classes/sun/util/resources/ext/CurrencyNames_de.properties ! src/jdk.localedata/share/classes/sun/util/resources/ext/CurrencyNames_ja.properties ! src/jdk.localedata/share/classes/sun/util/resources/ext/CurrencyNames_zh_CN.properties Changeset: 5fce02e3 Author: Thomas Schatzl Date: 2022-08-10 09:40:43 +0000 URL: https://git.openjdk.org/loom/commit/5fce02e39a6f50e97d7a5c6003ae0220e62933b5 8291496: Allocating card table before heap causes underflow asserts in CardTable::addr_for() Co-authored-by: Albert Mingkun Yang Reviewed-by: kbarrett, iwalulya ! src/hotspot/share/gc/shared/cardTable.hpp Changeset: 4c6d22a6 Author: Lance Andersen Date: 2022-08-10 14:40:10 +0000 URL: https://git.openjdk.org/loom/commit/4c6d22a6cee3d7f1da69e50dddec45158b33e331 8288769: Revert unintentional change to deflate.c Reviewed-by: iris, bpb, alanb ! src/java.base/share/native/libzip/zlib/deflate.c Changeset: 85a60235 Author: David Holmes Date: 2022-08-11 05:14:13 +0000 URL: https://git.openjdk.org/loom/commit/85a602355ff6e92bb468135d712e0b0b41753db4 Merge ! src/jdk.localedata/share/classes/sun/util/resources/ext/CurrencyNames_de.properties ! src/jdk.localedata/share/classes/sun/util/resources/ext/CurrencyNames_ja.properties ! src/jdk.localedata/share/classes/sun/util/resources/ext/CurrencyNames_zh_CN.properties ! src/jdk.localedata/share/classes/sun/util/resources/ext/CurrencyNames_de.properties ! src/jdk.localedata/share/classes/sun/util/resources/ext/CurrencyNames_ja.properties ! src/jdk.localedata/share/classes/sun/util/resources/ext/CurrencyNames_zh_CN.properties Changeset: 3aaffd63 Author: Thomas Stuefe Date: 2022-08-11 05:26:56 +0000 URL: https://git.openjdk.org/loom/commit/3aaffd630940ec061fc5eac518ef7614630211a0 8292071: NMT: move MallocHeader to its own header and inline header checks Reviewed-by: mbaesken, lucy, iklam + src/hotspot/share/services/mallocHeader.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 Changeset: 2ddf7287 Author: Andrey Turbanov Date: 2022-08-11 06:23:01 +0000 URL: https://git.openjdk.org/loom/commit/2ddf72874faedaca6f526bdabd53521c825cf1d0 8292026: Remove redundant allocations from DoubleByteEncoder Reviewed-by: prr ! src/java.desktop/unix/classes/sun/font/DoubleByteEncoder.java Changeset: ad5f628c Author: Andrey Turbanov Date: 2022-08-11 06:24:04 +0000 URL: https://git.openjdk.org/loom/commit/ad5f628c58c46438f2f542d5255e5fd1fa4d0c6b 8292140: (fs) Needless instanceof check in RegistryFileTypeDetector Reviewed-by: alanb ! src/java.base/windows/classes/sun/nio/fs/RegistryFileTypeDetector.java Changeset: 1c0f0f42 Author: Erik ?sterlund Date: 2022-08-11 11:45:11 +0000 URL: https://git.openjdk.org/loom/commit/1c0f0f4211cf564c46753d2cb187c1ef485751cd 8292077: G1 nmethod entry barriers don't keep oops alive Reviewed-by: tschatzl, stefank, vlivanov ! src/hotspot/share/gc/shared/barrierSetNMethod.cpp Changeset: a9bc1499 Author: Coleen Phillimore Date: 2022-08-11 12:17:02 +0000 URL: https://git.openjdk.org/loom/commit/a9bc1499928eedfed7f9a1e7b8c101c32103a1fd 8292216: Remove modules/packages_unloading_do Reviewed-by: dholmes ! src/hotspot/share/classfile/classLoaderDataGraph.cpp ! src/hotspot/share/classfile/classLoaderDataGraph.hpp Changeset: fc1d94ef Author: Ichiroh Takiguchi Date: 2022-08-11 14:01:18 +0000 URL: https://git.openjdk.org/loom/commit/fc1d94ef1a4b088044465a5df5d8f40ab2c11253 8292232: AIX build failure by JDK-8290840 Reviewed-by: jiefu, stuefe ! src/hotspot/os/aix/os_aix.hpp ! src/hotspot/os_cpu/aix_ppc/os_aix_ppc.cpp Changeset: 7ea9ba1f Author: Bill Huang Committer: Leonid Mesnik Date: 2022-08-11 14:34:01 +0000 URL: https://git.openjdk.org/loom/commit/7ea9ba1f6c18ace5aa0896ab8676926fdc0d64ea 8292064: Convert java/lang/management/MemoryMXBean shell tests to java version Reviewed-by: lmesnik, sspitsyn ! test/jdk/java/lang/management/MemoryMXBean/LowMemoryTest2.java - test/jdk/java/lang/management/MemoryMXBean/LowMemoryTest2.sh ! test/jdk/java/lang/management/MemoryMXBean/MemoryManagement.java - test/jdk/java/lang/management/MemoryMXBean/MemoryManagementParallelGC.sh - test/jdk/java/lang/management/MemoryMXBean/MemoryManagementSerialGC.sh ! test/jdk/java/lang/management/MemoryMXBean/MemoryTest.java - test/jdk/java/lang/management/MemoryMXBean/MemoryTestAllGC.sh ! test/jdk/java/lang/management/MemoryMXBean/Pending.java - test/jdk/java/lang/management/MemoryMXBean/PendingAllGC.sh Changeset: a28ab7b6 Author: Claes Redestad Date: 2022-08-11 15:28:45 +0000 URL: https://git.openjdk.org/loom/commit/a28ab7b62abcfce56425d62d5a8162d8f1623393 8288568: Reduce runtime of java.security microbenchmarks Reviewed-by: ecaspole, hchao, rriggs ! test/micro/org/openjdk/bench/java/security/AlgorithmConstraintsPermits.java ! test/micro/org/openjdk/bench/java/security/CacheBench.java ! test/micro/org/openjdk/bench/java/security/CipherSuiteBench.java ! test/micro/org/openjdk/bench/java/security/DoPrivileged.java ! test/micro/org/openjdk/bench/java/security/GetContext.java ! test/micro/org/openjdk/bench/java/security/GetMessageDigest.java ! test/micro/org/openjdk/bench/java/security/MessageDigests.java ! test/micro/org/openjdk/bench/java/security/PKCS12KeyStores.java ! test/micro/org/openjdk/bench/java/security/PermissionsImplies.java ! test/micro/org/openjdk/bench/java/security/SSLHandshake.java Changeset: 3d20a8b2 Author: Julian Waters Committer: Phil Race Date: 2022-08-11 19:27:24 +0000 URL: https://git.openjdk.org/loom/commit/3d20a8b20a636e4c11ad1568b011191726b45b90 8291959: FileFontStrike#initNative does not properly initialize IG Table on Windows Reviewed-by: prr ! src/java.desktop/windows/native/libfontmanager/lcdglyph.c Changeset: dedc05cb Author: Ao Qi Committer: Phil Race Date: 2022-08-11 19:30:20 +0000 URL: https://git.openjdk.org/loom/commit/dedc05cb40617f7b7e2cc235528b1892dcba4cd3 8291640: java/beans/XMLDecoder/8028054/Task.java should use the 3-arg Class.forName Co-authored-by: Alan Bateman Reviewed-by: alanb, prr ! test/jdk/java/beans/XMLDecoder/8028054/Task.java ! test/jdk/java/beans/XMLDecoder/8028054/TestConstructorFinder.java ! test/jdk/java/beans/XMLDecoder/8028054/TestMethodFinder.java Changeset: 755ecf6b Author: Vladimir Ivanov Date: 2022-08-11 21:16:02 +0000 URL: https://git.openjdk.org/loom/commit/755ecf6b7384e67ccb51c4498f94336631db690d 8292153: x86: Represent Registers as values Reviewed-by: kvn, aph ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/c1_Defs_x86.hpp ! src/hotspot/cpu/x86/c1_FrameMap_x86.cpp ! src/hotspot/cpu/x86/c1_FrameMap_x86.hpp ! src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp ! src/hotspot/cpu/x86/c1_LinearScan_x86.hpp ! src/hotspot/cpu/x86/c2_init_x86.cpp ! src/hotspot/cpu/x86/gc/shenandoah/c1/shenandoahBarrierSetC1_x86.cpp ! src/hotspot/cpu/x86/gc/shenandoah/shenandoahBarrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/gc/shenandoah/shenandoah_x86_32.ad ! src/hotspot/cpu/x86/gc/shenandoah/shenandoah_x86_64.ad ! src/hotspot/cpu/x86/jvmciCodeInstaller_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_aes.cpp ! src/hotspot/cpu/x86/methodHandles_x86.cpp ! src/hotspot/cpu/x86/registerMap_x86.cpp ! src/hotspot/cpu/x86/register_x86.cpp ! src/hotspot/cpu/x86/register_x86.hpp ! src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_32.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/cpu/x86/vmreg_x86.cpp ! src/hotspot/cpu/x86/vmreg_x86.hpp ! src/hotspot/cpu/x86/vmreg_x86.inline.hpp ! src/hotspot/cpu/x86/x86_32.ad ! src/hotspot/share/asm/register.hpp ! src/hotspot/share/runtime/vmStructs.cpp Changeset: bd585533 Author: Ioi Lam Date: 2022-08-11 21:48:34 +0000 URL: https://git.openjdk.org/loom/commit/bd5855337c9eebc0044fd467fa39a671e260f891 8290833: Remove ConstantPoolCache::walk_entries_for_initialization() Reviewed-by: coleenp, ccheung ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/archiveBuilder.hpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/hotspot/share/interpreter/rewriter.cpp ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/cpCache.cpp ! src/hotspot/share/oops/cpCache.hpp ! src/hotspot/share/oops/instanceKlass.cpp Changeset: 9bfffa08 Author: Ioi Lam Date: 2022-08-11 23:14:14 +0000 URL: https://git.openjdk.org/loom/commit/9bfffa082e85372ec39a0fdab6d5f2c175162246 8291945: Add OSInfo API for static OS information Reviewed-by: dholmes, stuefe ! src/hotspot/os/aix/os_aix.cpp ! src/hotspot/os/aix/os_aix.hpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/os/bsd/os_bsd.hpp ! src/hotspot/os/linux/os_linux.cpp ! src/hotspot/os/linux/os_linux.hpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/os/windows/os_windows.hpp ! src/hotspot/os/windows/os_windows.inline.hpp ! src/hotspot/os_cpu/linux_zero/os_linux_zero.cpp ! src/hotspot/share/code/relocInfo.hpp ! src/hotspot/share/code/stubs.hpp ! src/hotspot/share/runtime/os.hpp + src/hotspot/share/runtime/osInfo.cpp + src/hotspot/share/runtime/osInfo.hpp ! src/hotspot/share/runtime/safepointMechanism.hpp ! src/hotspot/share/runtime/stackValue.hpp Changeset: 45e5b31a Author: Daniel Jeli?ski Date: 2022-08-12 05:23:54 +0000 URL: https://git.openjdk.org/loom/commit/45e5b31a183e2ddca8f8d10a922b20af97efdaff 8292244: Remove unnecessary include directories Reviewed-by: erikj, prr ! make/modules/java.desktop/lib/Awt2dLibraries.gmk ! make/modules/jdk.accessibility/Lib.gmk Changeset: 083e014d Author: Daniel Jeli?ski Date: 2022-08-12 05:25:46 +0000 URL: https://git.openjdk.org/loom/commit/083e014d0caf673f5da04229ba263f45724cb418 8292233: Increase symtab hash table size Reviewed-by: kevinw, cjplummer ! src/jdk.hotspot.agent/linux/native/libsaproc/symtab.c Changeset: 6eb7c3ad Author: David Holmes Date: 2022-08-12 06:41:22 +0000 URL: https://git.openjdk.org/loom/commit/6eb7c3ad0ee6fc187172e68cc838797981203b39 8290732: JNI DestroyJavaVM can start shutdown when one non-daemon thread remains Reviewed-by: stuefe, rehn ! make/test/JtregNativeHotspot.gmk ! src/hotspot/share/runtime/threads.cpp + test/hotspot/jtreg/runtime/jni/daemonDestroy/Main.java + test/hotspot/jtreg/runtime/jni/daemonDestroy/TestDaemonDestroy.java + test/hotspot/jtreg/runtime/jni/daemonDestroy/exedaemonDestroy.c Changeset: 0c40128f Author: Jan Lahoda Date: 2022-08-12 08:12:28 +0000 URL: https://git.openjdk.org/loom/commit/0c40128fec41cf69821dbf7f1b19600560e8ac12 7194212: NPE in Flow.visitIdent Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Enter.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java + test/langtools/tools/javac/flow/T7194212.java ! test/langtools/tools/lib/toolbox/ToolBox.java Changeset: 871b7dab Author: Alexey Ushakov Date: 2022-08-12 09:48:57 +0000 URL: https://git.openjdk.org/loom/commit/871b7dab143fd92f14724563d448126a537fa5d1 8291266: RenderPerfTest: missing content while rendering some primitives Reviewed-by: aghaisas, prr ! src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLRenderQueue.m + test/jdk/java/awt/Graphics2D/DrawPrimitivesTest.java Changeset: 9f8cc421 Author: Coleen Phillimore Date: 2022-08-12 12:37:27 +0000 URL: https://git.openjdk.org/loom/commit/9f8cc4213561b28e24a84d836be6ce40f19f2c97 8292218: Convert PackageEntryTable to ResourceHashtable Reviewed-by: lfoltan, iklam, dholmes ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/classLoaderData.cpp ! src/hotspot/share/classfile/moduleEntry.cpp ! src/hotspot/share/classfile/modules.cpp ! src/hotspot/share/classfile/packageEntry.cpp ! src/hotspot/share/classfile/packageEntry.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/utilities/hashtable.cpp Changeset: 00decca4 Author: Maxim Kartashev Committer: Alexey Ushakov Date: 2022-08-12 15:37:18 +0000 URL: https://git.openjdk.org/loom/commit/00decca46a77ea9390081655b069008aacfea525 8289208: Test DrawRotatedStringUsingRotatedFont.java occasionally crashes on MacOS Reviewed-by: prr, avu ! src/java.desktop/share/classes/sun/java2d/Disposer.java ! test/jdk/java/awt/Graphics2D/DrawString/DrawRotatedStringUsingRotatedFont.java + test/jdk/sun/java2d/Disposer/TestDisposerRace.java Changeset: 22d6d315 Author: Calvin Cheung Date: 2022-08-12 16:39:55 +0000 URL: https://git.openjdk.org/loom/commit/22d6d315f2b1e0838d07bd30b6c2d58b5f98878b 8284313: Improve warning messages when CDS archive fails to load Reviewed-by: iklam, dholmes ! src/hotspot/share/cds/filemap.cpp ! test/hotspot/jtreg/runtime/cds/appcds/WrongClasspath.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/WrongTopClasspath.java Changeset: e70747b4 Author: Daniel D. Daugherty Date: 2022-08-12 21:31:04 +0000 URL: https://git.openjdk.org/loom/commit/e70747b4e9bd9c161b95c88ff0d58609f0b08d42 8292305: [BACKOUT] JDK-8289208 Test DrawRotatedStringUsingRotatedFont.java occasionally crashes on MacOS Reviewed-by: prr, dholmes ! src/java.desktop/share/classes/sun/java2d/Disposer.java ! test/jdk/java/awt/Graphics2D/DrawString/DrawRotatedStringUsingRotatedFont.java - test/jdk/sun/java2d/Disposer/TestDisposerRace.java Changeset: 8353a333 Author: Artem Semenov Date: 2022-08-13 05:56:37 +0000 URL: https://git.openjdk.org/loom/commit/8353a33350eca859842bc6b92bc9a38a60c11e26 8286313: [macos] Voice over reads the boolean value as null in the JTable Reviewed-by: prr, kizune ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/TableRowAccessibility.m Changeset: d546d138 Author: Daniel D. Daugherty Date: 2022-08-13 15:06:31 +0000 URL: https://git.openjdk.org/loom/commit/d546d13861ee21dc16ce85045b3d57d0e9e3ee8a 8292319: ProblemList 2 runtime/cds/appcds tests due to JDK-8292313 Reviewed-by: kvn ! test/hotspot/jtreg/ProblemList.txt Changeset: 1c1c4410 Author: Thomas Stuefe Date: 2022-08-13 18:40:29 +0000 URL: https://git.openjdk.org/loom/commit/1c1c4410b20f598c7e81fae044b6cb298ed12bab 8292072: NMT: repurpose Tracking overhead counter as global malloc counter Reviewed-by: iklam, clanger ! src/hotspot/share/services/mallocTracker.cpp ! src/hotspot/share/services/mallocTracker.hpp ! src/hotspot/share/services/memBaseline.hpp ! src/hotspot/share/services/memReporter.cpp + test/hotspot/gtest/nmt/test_nmt_totals.cpp Changeset: 967a28c3 Author: Vladimir Kozlov Date: 2022-08-12 20:24:53 +0000 URL: https://git.openjdk.org/loom/commit/967a28c3d85fdde6d5eb48aa0edd8f7597772469 8292260: [BACKOUT] JDK-8279219: [REDO] C2 crash when allocating array of size too large Reviewed-by: vlivanov ! src/hotspot/share/opto/callnode.cpp ! src/hotspot/share/opto/callnode.hpp ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/graphKit.cpp ! src/hotspot/share/opto/macro.cpp ! src/hotspot/share/opto/macro.hpp ! src/hotspot/share/opto/split_if.cpp - test/hotspot/jtreg/compiler/allocation/TestAllocArrayAfterAllocNoUse.java - test/hotspot/jtreg/compiler/allocation/TestCCPAllocateArray.java - test/hotspot/jtreg/compiler/allocation/TestFailedAllocationBadGraph.java Changeset: 77cd917a Author: David Holmes Date: 2022-08-14 20:05:10 +0000 URL: https://git.openjdk.org/loom/commit/77cd917a97b184871ab2d3325ceb6c53afeca28b Merge ! src/hotspot/share/opto/callnode.cpp ! src/hotspot/share/opto/callnode.hpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/graphKit.cpp ! src/hotspot/share/opto/macro.cpp ! src/hotspot/share/opto/macro.hpp ! src/hotspot/share/opto/callnode.cpp ! src/hotspot/share/opto/callnode.hpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/graphKit.cpp ! src/hotspot/share/opto/macro.cpp ! src/hotspot/share/opto/macro.hpp Changeset: e89abb7d Author: Christian Hagedorn Date: 2022-08-15 06:08:08 +0000 URL: https://git.openjdk.org/loom/commit/e89abb7d2d902c6e6b3c9953fc6663de10db77b9 8292190: [IR Framework] Remove redundant regex matching for failing counts constraints Reviewed-by: kvn, rcastanedalo, thartmann ! test/hotspot/jtreg/compiler/lib/ir_framework/driver/irmatching/irrule/Counts.java ! test/hotspot/jtreg/compiler/lib/ir_framework/driver/irmatching/irrule/CountsRegexFailure.java Changeset: 9d7c13eb Author: Sean Coffey Date: 2022-08-15 09:07:17 +0000 URL: https://git.openjdk.org/loom/commit/9d7c13eb14c525485e7739fcfacd044aa3bbc12d 8155246: Throw error if default java.security file is missing Reviewed-by: mullan ! src/java.base/share/classes/java/security/Security.java ! src/java.base/share/conf/security/java.security + test/jdk/java/security/Security/ConfigFileTest.java + test/jdk/java/security/Security/override.props Changeset: fd4b2f28 Author: Axel Boldt-Christmas Committer: Erik ?sterlund Date: 2022-08-15 09:53:39 +0000 URL: https://git.openjdk.org/loom/commit/fd4b2f2868ac6eaf192b50db5c5adc76e0d54308 8291718: Remove mark_for_deoptimization from klass unloading Reviewed-by: eosterlund, dlong ! src/hotspot/share/code/codeCache.cpp ! src/hotspot/share/code/codeCache.hpp ! src/hotspot/share/code/dependencyContext.cpp ! src/hotspot/share/code/dependencyContext.hpp ! 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/g1FullCollector.cpp ! src/hotspot/share/gc/g1/g1ParallelCleaning.cpp ! src/hotspot/share/gc/g1/g1ParallelCleaning.hpp ! src/hotspot/share/gc/parallel/psParallelCompact.cpp ! src/hotspot/share/gc/serial/genMarkSweep.cpp ! src/hotspot/share/gc/shared/parallelCleaning.cpp ! src/hotspot/share/gc/shared/parallelCleaning.hpp ! src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp ! src/hotspot/share/gc/shenandoah/shenandoahParallelCleaning.cpp ! src/hotspot/share/gc/shenandoah/shenandoahParallelCleaning.hpp ! src/hotspot/share/prims/methodHandles.cpp Changeset: ec96b1f1 Author: Albert Mingkun Yang Date: 2022-08-15 10:18:28 +0000 URL: https://git.openjdk.org/loom/commit/ec96b1f1879ee8ee5164be22d0a178f9d5048ab9 8290291: G1: Merge multiple calls of block_size in HeapRegion::block_start Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/g1/heapRegion.hpp ! src/hotspot/share/gc/g1/heapRegion.inline.hpp Changeset: 695bb393 Author: Tobias Hartmann Date: 2022-08-15 10:55:45 +0000 URL: https://git.openjdk.org/loom/commit/695bb3939135394a4627d1c41cfc30d11b19bf48 8292347: Remove unused Type::is_ptr_to_boxing_obj Reviewed-by: chagedorn, rcastanedalo ! src/hotspot/share/opto/type.hpp Changeset: aa5b7189 Author: Christian Stein Committer: Lance Andersen Date: 2022-08-15 13:34:19 +0000 URL: https://git.openjdk.org/loom/commit/aa5b71893307b9fe6137bc3541edccaab73735ac 8292182: [TESTLIB] Enhance JAXPPolicyManager to setup required permissions for jtreg version 7 jar Reviewed-by: joehw, lancea, iris, naoto ! test/jaxp/javax/xml/jaxp/libs/jaxp/library/JAXPPolicyManager.java Changeset: dd2034b0 Author: Patricio Chilano Mateo Date: 2022-08-15 14:34:54 +0000 URL: https://git.openjdk.org/loom/commit/dd2034b00725f0fc777c1706b1db898475e89c5c 8291972: Fix double copy of arguments when thawing two interpreted frames Co-authored-by: Richard Reingruber Co-authored-by: Patricio Chilano Mateo Reviewed-by: rpressler, rehn, rrich ! src/hotspot/cpu/aarch64/continuationFreezeThaw_aarch64.inline.hpp ! src/hotspot/cpu/x86/continuationFreezeThaw_x86.inline.hpp + test/jdk/jdk/internal/vm/Continuation/MovingCompWindow.java Changeset: 3a090777 Author: Eric Caspole Date: 2022-08-15 16:08:39 +0000 URL: https://git.openjdk.org/loom/commit/3a090777bada2e00f573fe8ab113bfa3884982eb 8291337: Reduce runtime of vm.lamdba microbenchmarks Reviewed-by: rriggs ! test/micro/org/openjdk/bench/vm/lambda/capture/Capture0.java ! test/micro/org/openjdk/bench/vm/lambda/capture/Capture2.java ! test/micro/org/openjdk/bench/vm/lambda/capture/CaptureMR.java ! test/micro/org/openjdk/bench/vm/lambda/chain/ChainAnonymCap0.java ! test/micro/org/openjdk/bench/vm/lambda/chain/ChainAnonymCap1.java ! test/micro/org/openjdk/bench/vm/lambda/chain/ChainAnonymCap4.java ! test/micro/org/openjdk/bench/vm/lambda/chain/ChainLambdaCap0.java ! test/micro/org/openjdk/bench/vm/lambda/chain/ChainLambdaCap1.java ! test/micro/org/openjdk/bench/vm/lambda/chain/ChainLambdaCap4.java ! test/micro/org/openjdk/bench/vm/lambda/chain/ChainMrefBound.java ! test/micro/org/openjdk/bench/vm/lambda/chain/ChainMrefUnbound.java ! test/micro/org/openjdk/bench/vm/lambda/invoke/AckermannI.java ! test/micro/org/openjdk/bench/vm/lambda/invoke/AckermannL.java ! test/micro/org/openjdk/bench/vm/lambda/invoke/Function0.java ! test/micro/org/openjdk/bench/vm/lambda/invoke/Function1.java ! test/micro/org/openjdk/bench/vm/lambda/invoke/Morph0.java ! test/micro/org/openjdk/bench/vm/lambda/invoke/Morph1.java ! test/micro/org/openjdk/bench/vm/lambda/invoke/Morph2.java Changeset: b00eedeb Author: Julian Waters Committer: Weijun Wang Date: 2022-08-15 16:27:45 +0000 URL: https://git.openjdk.org/loom/commit/b00eedeb029445417f99e8aa4e8fca12e5c69155 8291511: Redefinition of EXIT_FAILURE in libw2k_lsa_auth Reviewed-by: weijun ! src/java.security.jgss/windows/native/libw2k_lsa_auth/NativeCreds.c Changeset: b5707b03 Author: Eric Caspole Date: 2022-08-15 16:54:39 +0000 URL: https://git.openjdk.org/loom/commit/b5707b0376660cd8763e46d525ba614b08a59d7b 8292196: Reduce runtime of java.util.regex microbenchmarks Reviewed-by: rriggs ! test/micro/org/openjdk/bench/java/util/regex/Exponential.java ! test/micro/org/openjdk/bench/java/util/regex/PatternBench.java ! test/micro/org/openjdk/bench/java/util/regex/Primality.java ! test/micro/org/openjdk/bench/java/util/regex/Trim.java Changeset: ea2c82e7 Author: Xue-Lei Andrew Fan Date: 2022-08-15 17:00:15 +0000 URL: https://git.openjdk.org/loom/commit/ea2c82e74f5580f396920f9e561cbec80c03f373 8291949: Unexpected extending of SupportedGroups Reviewed-by: djelinski, wetmore ! src/java.base/share/classes/sun/security/ssl/SessionTicketExtension.java ! src/java.base/share/classes/sun/security/ssl/SupportedGroupsExtension.java Changeset: 6e6ae596 Author: Coleen Phillimore Date: 2022-08-15 21:53:02 +0000 URL: https://git.openjdk.org/loom/commit/6e6ae596d6bd73909b90911e01fbd0c16f6335e1 8292286: Convert PlaceholderTable to ResourceHashtable Reviewed-by: hseigel, iklam ! src/hotspot/share/classfile/loaderConstraints.cpp ! src/hotspot/share/classfile/loaderConstraints.hpp ! src/hotspot/share/classfile/placeholders.cpp ! src/hotspot/share/classfile/placeholders.hpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/utilities/hashtable.cpp Changeset: 21f4eb22 Author: Tejesh R Committer: Prasanta Sadhukhan Date: 2022-08-16 05:52:50 +0000 URL: https://git.openjdk.org/loom/commit/21f4eb2233a95be44a5db59b7791cd952ddbd56e 6521141: DebugGraphics NPE @ setFont(); Reviewed-by: prr ! src/java.desktop/share/classes/javax/swing/DebugGraphics.java + test/jdk/javax/swing/DebugGraphics/DebugGraphicsNPETest.java Changeset: d1edda8f Author: Fei Yang Date: 2022-08-16 07:18:30 +0000 URL: https://git.openjdk.org/loom/commit/d1edda8ff52e172a85d102d7d5062b9cc401beea 8292338: aarch64: Use cbnz instruction in gen_continuation_enter when possible Reviewed-by: haosun, shade, aph ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp Changeset: 4cc6cb9d Author: Jaikiran Pai Date: 2022-08-16 08:31:36 +0000 URL: https://git.openjdk.org/loom/commit/4cc6cb9d9ddbcc540baac7b81398f2af83f93340 8290041: ModuleDescriptor.hashCode is inconsistent Reviewed-by: alanb ! src/java.base/share/classes/java/lang/module/ModuleDescriptor.java ! test/jdk/java/lang/module/ModuleDescriptorHashCodeTest.java Changeset: ec53fba0 Author: Aleksey Shipilev Date: 2022-08-16 10:57:41 +0000 URL: https://git.openjdk.org/loom/commit/ec53fba03933446024028555b87c6023895a5dc6 8292361: Build failure on PPC64 BE after JDK-8290840 Reviewed-by: stefank, stuefe ! src/hotspot/os/linux/os_linux.hpp Changeset: 3e122419 Author: jquanC Committer: Weijun Wang Date: 2022-08-16 14:46:14 +0000 URL: https://git.openjdk.org/loom/commit/3e122419b2979235f57c0dd549ca63647ea73753 8290775: Some doc errors in DerOutputStream.java Reviewed-by: xuelei ! src/java.base/share/classes/sun/security/util/DerOutputStream.java Changeset: c3d3662e Author: Calvin Cheung Date: 2022-08-16 16:26:59 +0000 URL: https://git.openjdk.org/loom/commit/c3d3662e52de434adb267485982fbf8541bdc0c8 8292313: 2 runtime/cds/appcds tests fail after JDK-8284313 Reviewed-by: hseigel, iklam ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/runtime/cds/appcds/WrongClasspath.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/WrongTopClasspath.java Changeset: e44e3f0c Author: Joe Darcy Date: 2022-08-16 18:43:58 +0000 URL: https://git.openjdk.org/loom/commit/e44e3f0c1976a513c6637545f49f49de84cbac02 8289106: Add model of class file versions to core reflection Reviewed-by: rriggs ! src/java.base/share/classes/java/lang/reflect/AccessFlag.java + src/java.base/share/classes/java/lang/reflect/ClassFileFormatVersion.java ! src/java.compiler/share/classes/javax/lang/model/SourceVersion.java ! test/hotspot/jtreg/runtime/ClassFile/ClassFileVersionTest.java ! test/jdk/java/lang/reflect/AccessFlag/FieldAccessFlagTest.java + test/jdk/java/lang/reflect/AccessFlag/VersionedLocationsTest.java Changeset: 01b87ba8 Author: Phil Race Date: 2022-08-16 22:53:36 +0000 URL: https://git.openjdk.org/loom/commit/01b87ba8e2c48ad29c1f4771973ebbe938967448 8289616: Drop use of Thread.stop in AppContext Reviewed-by: alanb, iris, azvegint ! src/java.desktop/share/classes/sun/awt/AppContext.java - test/jdk/java/awt/AppContext/ApplicationThreadsStop/ApplicationThreadsStop.java Changeset: da477b13 Author: Daniel D. Daugherty Date: 2022-08-16 23:02:23 +0000 URL: https://git.openjdk.org/loom/commit/da477b13661b39e1f48b674f7fd9ea1d26521fc3 8292509: ProblemList java/lang/invoke/lambda/LogGeneratedClassesTest.java on windows 8292510: ProblemList runtime/cds/appcds/cacheObject/ArchivedEnumTest.java Reviewed-by: darcy ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 0cc66aea Author: Hao Sun Committer: Ningsheng Jian Date: 2022-08-17 03:51:46 +0000 URL: https://git.openjdk.org/loom/commit/0cc66aeae8cbf2d01be5f5ba38e46f1deb9ec7a6 8285790: AArch64: Merge C2 NEON and SVE matching rules Co-authored-by: Ningsheng Jian Co-authored-by: Eric Liu Reviewed-by: adinn, aph, xgong ! make/hotspot/gensrc/GensrcAdlc.gmk ! src/hotspot/cpu/aarch64/aarch64.ad - src/hotspot/cpu/aarch64/aarch64_neon.ad - src/hotspot/cpu/aarch64/aarch64_neon_ad.m4 - src/hotspot/cpu/aarch64/aarch64_sve.ad - src/hotspot/cpu/aarch64/aarch64_sve_ad.m4 + src/hotspot/cpu/aarch64/aarch64_vector.ad + src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp ! src/hotspot/cpu/aarch64/matcher_aarch64.hpp ! src/hotspot/cpu/aarch64/register_aarch64.hpp ! src/hotspot/cpu/aarch64/vm_version_aarch64.hpp ! src/hotspot/share/adlc/output_c.cpp ! src/hotspot/share/opto/machnode.hpp ! src/hotspot/share/opto/regmask.hpp ! test/hotspot/jtreg/compiler/vectorapi/AllBitsSetVectorMatchRuleTest.java ! test/hotspot/jtreg/compiler/vectorapi/VectorFusedMultiplyAddSubTest.java ! test/hotspot/jtreg/compiler/vectorapi/VectorMaskedNotTest.java Changeset: 1ef4e484 Author: Hannes Walln?fer Date: 2022-08-17 05:34:44 +0000 URL: https://git.openjdk.org/loom/commit/1ef4e484889c77cccadea44025924b2d010ba2cc 8273860: Javadoc Deprecated API list should not use italic font for description column Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/DeprecatedListWriter.java ! test/langtools/jdk/javadoc/doclet/testDeprecatedDocs/TestDeprecatedDocs.java ! test/langtools/jdk/javadoc/doclet/testHtmlTableTags/TestHtmlTableTags.java ! test/langtools/jdk/javadoc/doclet/testModules/TestModules.java ! test/langtools/jdk/javadoc/doclet/testRecordTypes/TestRecordTypes.java Changeset: a25e1dc5 Author: Roberto Casta?eda Lozano Date: 2022-08-17 06:25:25 +0000 URL: https://git.openjdk.org/loom/commit/a25e1dc53cecc5dd917ac0f76fd86ef1f074adba 8292285: C2: remove unreachable block after NeverBranch-to-Goto conversion Reviewed-by: thartmann, chagedorn, kvn ! src/hotspot/share/opto/block.cpp Changeset: 1d9c2f7a Author: Andrey Turbanov Date: 2022-08-17 07:18:29 +0000 URL: https://git.openjdk.org/loom/commit/1d9c2f7a6e3e897721ef99af8f383a07148b7c4e 8292279: (fs) Use try-with-resources to release NativeBuffer Reviewed-by: alanb ! src/java.base/linux/classes/sun/nio/fs/LinuxDosFileAttributeView.java ! src/java.base/linux/classes/sun/nio/fs/LinuxNativeDispatcher.java ! src/java.base/linux/classes/sun/nio/fs/LinuxWatchService.java ! src/java.base/macosx/classes/sun/nio/fs/BsdNativeDispatcher.java ! src/java.base/unix/classes/sun/nio/fs/UnixUserDefinedFileAttributeView.java ! src/java.base/windows/classes/sun/nio/fs/RegistryFileTypeDetector.java ! src/java.base/windows/classes/sun/nio/fs/WindowsAclFileAttributeView.java ! src/java.base/windows/classes/sun/nio/fs/WindowsFileAttributes.java ! src/java.base/windows/classes/sun/nio/fs/WindowsFileCopy.java ! src/java.base/windows/classes/sun/nio/fs/WindowsFileSystemProvider.java ! src/java.base/windows/classes/sun/nio/fs/WindowsLinkSupport.java ! src/java.base/windows/classes/sun/nio/fs/WindowsNativeDispatcher.java ! src/java.base/windows/classes/sun/nio/fs/WindowsUserPrincipals.java Changeset: 0bfb1216 Author: Alan Bateman Date: 2022-08-17 07:28:41 +0000 URL: https://git.openjdk.org/loom/commit/0bfb12162f6035559a114176115b91aff6df3b64 8292051: jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java failed "AssertionError: Expected terminated values: [666] but got: []" Co-authored-by: Peter Levart Reviewed-by: plevart ! test/jdk/ProblemList.txt ! test/jdk/jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java Changeset: e61f6fc3 Author: Ao Qi Committer: Alan Bateman Date: 2022-08-17 08:32:19 +0000 URL: https://git.openjdk.org/loom/commit/e61f6fc3940720f6ebc3ef360e25b880729cfa5a 8292362: java/lang/Thread/jni/AttachCurrentThread/AttachTest.java#id1 failed on some platforms Co-authored-by: Alan Bateman Reviewed-by: alanb ! test/jdk/java/lang/Thread/jni/AttachCurrentThread/ImplicitAttach.java Changeset: 802ef380 Author: Volker Simonis Date: 2022-08-17 09:34:41 +0000 URL: https://git.openjdk.org/loom/commit/802ef38060080254e55621e4c64fa31a6c0b7b18 8292327: java.io.EOFException in InflaterInputStream after JDK-8281962 Reviewed-by: alanb, lancea ! src/java.base/share/classes/java/util/zip/Inflater.java ! src/java.base/share/classes/java/util/zip/InflaterInputStream.java + test/jdk/java/util/zip/InflaterInputStream/UnexpectedEndOfZlibStream.java Changeset: f75da223 Author: Hao Sun Committer: Tobias Hartmann Date: 2022-08-17 10:30:18 +0000 URL: https://git.openjdk.org/loom/commit/f75da2235ab7e33927729fa060ec4d86fdb0240f 8292395: [testbug] VectorGatherScatterTest.java fails on SVE with -XX:MaxVectorSize=8 after JDK-8288397 Reviewed-by: chagedorn, thartmann ! test/hotspot/jtreg/compiler/vectorapi/VectorGatherScatterTest.java Changeset: e230719a Author: Coleen Phillimore Date: 2022-08-17 12:18:05 +0000 URL: https://git.openjdk.org/loom/commit/e230719ad3cc9e70511d7baa6338bb77cd038139 8292448: Convert BitMapFragmentTable to ResourceHashtable Reviewed-by: iklam, rehn ! src/hotspot/share/utilities/hashtable.cpp ! src/hotspot/share/utilities/objectBitSet.hpp ! src/hotspot/share/utilities/objectBitSet.inline.hpp Changeset: bf7d6d3a Author: Prasanta Sadhukhan Date: 2022-08-17 12:46:27 +0000 URL: https://git.openjdk.org/loom/commit/bf7d6d3a0f947ab4a30f27bce6650798289cc7fd 7132413: [macosx] closed/javax/swing/AbstractButton/5049549/bug5049549.java fails on MacOS Reviewed-by: azvegint, dnguyen ! src/java.desktop/macosx/classes/com/apple/laf/AquaButtonUI.java + test/jdk/javax/swing/AbstractButton/5049549/DE1.gif + test/jdk/javax/swing/AbstractButton/5049549/DI1.gif + test/jdk/javax/swing/AbstractButton/5049549/DS1.gif + test/jdk/javax/swing/AbstractButton/5049549/PR1.gif + test/jdk/javax/swing/AbstractButton/5049549/RO1.gif + test/jdk/javax/swing/AbstractButton/5049549/RS1.gif + test/jdk/javax/swing/AbstractButton/5049549/SE1.gif + test/jdk/javax/swing/AbstractButton/5049549/bug5049549.java + test/jdk/javax/swing/regtesthelpers/Blocker.java Changeset: 0c67fba1 Author: Aleksey Shipilev Date: 2022-08-17 12:52:17 +0000 URL: https://git.openjdk.org/loom/commit/0c67fba11f444cc3739f66c8a2d57564b5dcca72 8289049: x86_32 build fails with GCC 11 due to newString646_US warning Reviewed-by: alanb, stuefe ! src/java.base/share/native/libjava/jni_util.c Changeset: f45b8408 Author: Coleen Phillimore Date: 2022-08-17 12:53:05 +0000 URL: https://git.openjdk.org/loom/commit/f45b8408a0e66aee22a6ac60e3f24dfc8ac104e5 8292384: Convert AdapterHandlerTable to ResourceHashtable Reviewed-by: hseigel, rehn ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/sharedRuntime.hpp ! src/hotspot/share/utilities/hashtable.cpp Changeset: e81210f5 Author: Aleksey Shipilev Date: 2022-08-17 13:25:02 +0000 URL: https://git.openjdk.org/loom/commit/e81210f5fe03ea3dc9c9fb0dba2be79e1dcc03bc 8292352: 32-bit Windows build failures after JDK-8290059 Reviewed-by: stuefe ! test/lib/native/testlib_threads.h Changeset: 0fc92637 Author: Eric Caspole Date: 2022-08-17 15:00:02 +0000 URL: https://git.openjdk.org/loom/commit/0fc92637d297d9a1281df33089975bd6d5fdf809 8291828: Reduce runtime of java.util.stream microbenchmarks Reviewed-by: rriggs ! test/micro/org/openjdk/bench/java/util/stream/AllMatcher.java ! test/micro/org/openjdk/bench/java/util/stream/AnyMatcher.java ! test/micro/org/openjdk/bench/java/util/stream/Decomposition.java ! test/micro/org/openjdk/bench/java/util/stream/NoneMatcher.java ! test/micro/org/openjdk/bench/java/util/stream/Reducers.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/AllMatch.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/AllMatchShort.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/AnyMatch.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/AnyMatchShort.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/Filter.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/FindAny.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/FindFirst.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/ForEach.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/Limit.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/Map.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/NoneMatch.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/NoneMatchShort.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/Reduce.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/ReduceBase.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/SliceToList.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/Sorted.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/SortedUnique.java ! test/micro/org/openjdk/bench/java/util/stream/ops/ref/UniqueElements.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/AllMatch.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/AllMatchShort.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/AnyMatch.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/AnyMatchShort.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/Filter.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/FindAny.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/FindFirst.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/ForEach.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/Limit.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/Map.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/NoneMatch.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/NoneMatchShort.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/Reduce.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/ReduceBase.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/SizedCount.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/SizedSum.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/SliceToArray.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/Sorted.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/SortedUnique.java ! test/micro/org/openjdk/bench/java/util/stream/ops/value/UniqueElements.java ! test/micro/org/openjdk/bench/java/util/stream/pipeline/PipelineParMultiple.java ! test/micro/org/openjdk/bench/java/util/stream/pipeline/PipelineSeqMultiple.java ! test/micro/org/openjdk/bench/java/util/stream/pipeline/PipelineSetup.java ! test/micro/org/openjdk/bench/java/util/stream/pipeline/Terminal.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/DictionaryWordValue/Bulk.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/DictionaryWordValue/Lambda.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/IntegerDuplicate/Bulk.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/IntegerDuplicate/Lambda.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/IntegerMax/Bulk.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/IntegerMax/Lambda.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/IntegerMax/Xtras.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/IntegerSum/Bulk.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/IntegerSum/Lambda.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/PhoneCode/Bulk.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/PrimesFilter/t100/Bulk.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/PrimesFilter/t100/Lambda.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/PrimesFilter/t10000/Bulk.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/PrimesFilter/t10000/Lambda.java ! test/micro/org/openjdk/bench/java/util/stream/tasks/PrimesSieve/Bulk.java Changeset: 8b4e6ba0 Author: Hannes Walln?fer Date: 2022-08-17 17:14:34 +0000 URL: https://git.openjdk.org/loom/commit/8b4e6ba01ffef77d5f1b9a9aa3e978f4da431836 8289332: Auto-generate ids for user-defined headings Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlConfiguration.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlIds.java + test/langtools/jdk/javadoc/doclet/testAutoHeaderId/TestAutoHeaderId.java ! test/langtools/jdk/javadoc/doclet/testIndexInDocFiles/TestIndexInDocFiles.java Changeset: 494d3873 Author: Yi-Fan Tsai Committer: Paul Hohensee Date: 2022-08-17 17:35:02 +0000 URL: https://git.openjdk.org/loom/commit/494d3873b1d0f7e3ca0a063b44362e7242298dec 8280152: AArch64: Reuse runtime call trampolines Reviewed-by: aph, phh ! src/hotspot/cpu/aarch64/codeBuffer_aarch64.cpp ! src/hotspot/cpu/aarch64/codeBuffer_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/share/asm/codeBuffer.hpp + test/hotspot/jtreg/compiler/sharedstubs/SharedTrampolineTest.java Changeset: e8bc8795 Author: Aleksey Shipilev Date: 2022-08-17 18:13:49 +0000 URL: https://git.openjdk.org/loom/commit/e8bc87956abc92851de8694c56a78f6ecc546cbd 8292443: Weak CAS VarHandle/Unsafe tests should test always-failing cases Reviewed-by: psandoz ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestBoolean.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestByte.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestChar.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestDouble.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestFloat.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestInt.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestLong.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestObject.java ! test/hotspot/jtreg/compiler/unsafe/JdkInternalMiscUnsafeAccessTestShort.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestBoolean.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestByte.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestChar.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestDouble.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestFloat.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestInt.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestLong.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestObject.java ! test/hotspot/jtreg/compiler/unsafe/SunMiscUnsafeAccessTestShort.java ! test/hotspot/jtreg/compiler/unsafe/X-UnsafeAccessTest.java.template ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessBoolean.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessByte.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessChar.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessDouble.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessFloat.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessInt.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessLong.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessShort.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestAccessString.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsChar.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsDouble.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsFloat.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsInt.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsLong.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestByteArrayAsShort.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessBoolean.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessByte.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessChar.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessDouble.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessFloat.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessInt.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessLong.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessShort.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestMethodHandleAccessString.java ! test/jdk/java/lang/invoke/VarHandles/X-VarHandleTestAccess.java.template ! test/jdk/java/lang/invoke/VarHandles/X-VarHandleTestByteArrayView.java.template ! test/jdk/java/lang/invoke/VarHandles/X-VarHandleTestMethodHandleAccess.java.template Changeset: 5fde169c Author: Alan Bateman Date: 2022-08-18 16:40:15 +0000 URL: https://git.openjdk.org/loom/commit/5fde169c457ee33fa5372fc71bff7a6e89f95e40 Merge with jdk-20+11 ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt From aph-open at littlepinkcloud.com Wed Aug 24 16:09:33 2022 From: aph-open at littlepinkcloud.com (Andrew Haley) Date: Wed, 24 Aug 2022 17:09:33 +0100 Subject: AArch64 gen_continuation_enter Message-ID: I'm looking at this in gen_continuation_enter: __ call_VM_leaf(CAST_FROM_FN_PTR(address, SharedRuntime::exception_handler_for_return_address), rthread, c_rarg1); // see OptoRuntime::generate_exception_blob: r0 -- exception oop, r3 -- exception pc __ mov(r1, r0); // the exception handler __ mov(r0, r19); // restore return value contaning the exception oop __ verify_oop(r0); __ leave(); __ mov(r3, lr); __ br(r1); // the exception handler This read from LR looks wrong. Nothing defines LR at this point: as far as I can see it probably contains the address of the instruction after the call to SharedRuntime::exception_handler_for_return_address, but the platform ABI doesn't require that. -- Andrew Haley (he/him) Java Platform Lead Engineer Red Hat UK Ltd. https://keybase.io/andrewhaley EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671 From dean.long at oracle.com Wed Aug 24 18:01:16 2022 From: dean.long at oracle.com (dean.long at oracle.com) Date: Wed, 24 Aug 2022 11:01:16 -0700 Subject: AArch64 gen_continuation_enter In-Reply-To: References: Message-ID: <5afc7e2d-7dab-7610-fdf3-65947512f7dd@oracle.com> leave() restores rfp and lr. On 8/24/22 9:09 AM, Andrew Haley wrote: > I'm looking at this in gen_continuation_enter: > > ????? __ call_VM_leaf(CAST_FROM_FN_PTR(address, > SharedRuntime::exception_handler_for_return_address), rthread, c_rarg1); > > ????? // see OptoRuntime::generate_exception_blob: r0 -- exception oop, > r3 -- exception pc > > ????? __ mov(r1, r0); // the exception handler > ????? __ mov(r0, r19); // restore return value contaning the exception oop > ????? __ verify_oop(r0); > > ????? __ leave(); > ????? __ mov(r3, lr); > ????? __ br(r1); // the exception handler > > This read from LR looks wrong. Nothing defines LR at this point: as far > as I > can see it probably contains the address of the instruction after the > call to > SharedRuntime::exception_handler_for_return_address, but the platform ABI > doesn't require that. > From aph-open at littlepinkcloud.com Thu Aug 25 09:09:19 2022 From: aph-open at littlepinkcloud.com (Andrew Haley) Date: Thu, 25 Aug 2022 10:09:19 +0100 Subject: AArch64 gen_continuation_enter In-Reply-To: <5afc7e2d-7dab-7610-fdf3-65947512f7dd@oracle.com> References: <5afc7e2d-7dab-7610-fdf3-65947512f7dd@oracle.com> Message-ID: <36b52584-f6ea-4f2b-7d57-51c37fa83966@littlepinkcloud.com> On 8/24/22 19:01, dean.long at oracle.com wrote: > leave() restores rfp and lr. LOL! Sorry. :-) -- Andrew Haley (he/him) Java Platform Lead Engineer Red Hat UK Ltd. https://keybase.io/andrewhaley EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671 From anindyabandopadhyay at gmail.com Thu Aug 25 02:31:23 2022 From: anindyabandopadhyay at gmail.com (Anindya Bandopadhyay) Date: Thu, 25 Aug 2022 08:01:23 +0530 Subject: Query about heap memory consumption of Virtual Thread Message-ID: Hi, I am just curious about the heap memory consumption of Virtual Threads. [image: image.png] Code Link Here In the above code I am switching the thread factory in line number 10. I was just trying to analyze performance statistics and what I discovered is that virtual thread consumes a significant amount of heap memory (may be due to the continuation objects put into heap memory) with respect to platform thread. 1. Do we need to increase the size of heap memory if we are using virtual thread? 2. What do you mean by "virtual threads are lightweight" ? [image: image.png] Will be eagerly waiting for your reply. Regards; Anindya Bandopadhyay -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 303167 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 715436 bytes Desc: not available URL: From ron.pressler at oracle.com Thu Aug 25 15:54:36 2022 From: ron.pressler at oracle.com (Ron Pressler) Date: Thu, 25 Aug 2022 15:54:36 +0000 Subject: Query about heap memory consumption of Virtual Thread In-Reply-To: References: Message-ID: <6DAA9D90-5837-4A99-AC9B-B70DD477529E@oracle.com> Hi. The stack representation for virtual threads is currently not as compact as we?d like it to be, and we?re now working on reducing it, possibly drastically. So yes, it is possible that the application will require more heap space, but whether that?s the case, or by how much is very much application-dependent, so you?ll need to track the heap usage and allocate heap space appropriately. Virtual threads are lightweight in the sense that they consume much less precious resources than platform threads, and that is why you can have many more of them than platform threads. The resource consumption by platform threads is much more constrained than for virtual threads, even in their current state. We expect the heap consumption to be reduced in a future version. ? Ron On 25 Aug 2022, at 03:31, Anindya Bandopadhyay > wrote: Hi, I am just curious about the heap memory consumption of Virtual Threads. Code Link Here In the above code I am switching the thread factory in line number 10. I was just trying to analyze performance statistics and what I discovered is that virtual thread consumes a significant amount of heap memory (may be due to the continuation objects put into heap memory) with respect to platform thread. 1. Do we need to increase the size of heap memory if we are using virtual thread? 2. What do you mean by "virtual threads are lightweight" ? Will be eagerly waiting for your reply. Regards; Anindya Bandopadhyay [https://ci3.googleusercontent.com/mail-sig/AIorK4wc7vkRjiByaujRe_sUyynf3O1RAXCYCZ_SVWU_iA6uy5G3XlVt5h7gI-RWITqVnl9eiHFMQgY] -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alan.Bateman at oracle.com Thu Aug 25 16:48:52 2022 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Thu, 25 Aug 2022 17:48:52 +0100 Subject: Query about heap memory consumption of Virtual Thread In-Reply-To: <6DAA9D90-5837-4A99-AC9B-B70DD477529E@oracle.com> References: <6DAA9D90-5837-4A99-AC9B-B70DD477529E@oracle.com> Message-ID: On 25/08/2022 16:54, Ron Pressler wrote: > Hi. > > The stack representation for virtual threads is currently not as > compact as we?d like it to be, and we?re now working on reducing it, > possibly drastically. So yes, it is possible that the application will > require more heap space, but whether that?s the case, or by how much > is very much application-dependent, so you?ll need to track the heap > usage and allocate heap space appropriately. > > Virtual threads are lightweight in the sense that they consume much > less precious resources than platform threads, and that is why you can > have many more of them than platform threads. The resource consumption > by platform threads is much more constrained than for virtual threads, > even in their current state. We expect the heap consumption to be > reduced in a future version. > Also just to add that the jconsole screen shots are only showing the heap memory so you can't see the memory reserved/committed for the 3000+ platform threads that running in the VM corresponding to the left screen shot. -Alan From anindyabandopadhyay at gmail.com Sun Aug 28 04:31:39 2022 From: anindyabandopadhyay at gmail.com (Anindya Bandopadhyay) Date: Sun, 28 Aug 2022 10:01:39 +0530 Subject: Query about heap memory consumption of Virtual Thread In-Reply-To: References: <6DAA9D90-5837-4A99-AC9B-B70DD477529E@oracle.com> Message-ID: Thank you for the clarification. Regards; Anindya Bandopadhyay On Thu, 25 Aug 2022 at 22:19, Alan Bateman wrote: > > > On 25/08/2022 16:54, Ron Pressler wrote: > > Hi. > > > > The stack representation for virtual threads is currently not as > > compact as we?d like it to be, and we?re now working on reducing it, > > possibly drastically. So yes, it is possible that the application will > > require more heap space, but whether that?s the case, or by how much > > is very much application-dependent, so you?ll need to track the heap > > usage and allocate heap space appropriately. > > > > Virtual threads are lightweight in the sense that they consume much > > less precious resources than platform threads, and that is why you can > > have many more of them than platform threads. The resource consumption > > by platform threads is much more constrained than for virtual threads, > > even in their current state. We expect the heap consumption to be > > reduced in a future version. > > > Also just to add that the jconsole screen shots are only showing the > heap memory so you can't see the memory reserved/committed for the 3000+ > platform threads that running in the VM corresponding to the left screen > shot. > > -Alan > -------------- next part -------------- An HTML attachment was scrubbed... URL: From orionllmain at gmail.com Sun Aug 28 16:24:51 2022 From: orionllmain at gmail.com (Zheka Kozlov) Date: Sun, 28 Aug 2022 22:24:51 +0600 Subject: New candidate JEP: 429: Extent-Local Variables (Incubator) In-Reply-To: <20220812001813.98AD353FB98@eggemoggin.niobe.net> References: <20220812001813.98AD353FB98@eggemoggin.niobe.net> Message-ID: Just out of curiosity: why was a static where() method chosen? An instance method seems more natural: PRINCIPAL.where(principal).run(...) vs. ExtentLocal.where(PRINCIPAL, principal).run() Also, a couple of notes regarding Javadoc: 1. Two methods runWithBinding() and callWithBinding() are mentioned in the description. But ExtentLocal doesn't have such methods. It only has three overloads of where(). 2. The code example doesn't use a code snippet. It uses the old HTML formatting. On Fri, Aug 12, 2022 at 6:18 AM wrote: > https://openjdk.org/jeps/429 > > Summary: Introduce extent-local variables, which enable the sharing > of immutable data within and across threads. They are preferred to > thread-local variables, especially when using large numbers of virtual > threads. This is an incubating API. > > - Mark > -------------- next part -------------- An HTML attachment was scrubbed... URL: From duke at openjdk.org Tue Aug 30 15:03:56 2022 From: duke at openjdk.org (duke) Date: Tue, 30 Aug 2022 15:03:56 GMT Subject: git: openjdk/loom: fibers: 94 new changesets Message-ID: Changeset: 0d96546a Author: Harold Seigel Date: 2022-08-17 19:56:14 +0000 URL: https://git.openjdk.org/loom/commit/0d96546ab93600f17877e5db2770e4125916bcda 8292054: Test runtime/posixSig/TestPosixSig.java fails with 'Test failed, bad output.' Reviewed-by: coleenp, stuefe ! make/test/JtregNativeHotspot.gmk ! src/hotspot/os/posix/signals_posix.cpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/share/runtime/jniPeriodicChecker.cpp ! src/hotspot/share/runtime/os.hpp + test/hotspot/gtest/runtime/test_signals.cpp - test/hotspot/jtreg/runtime/posixSig/TestPosixSig.java - test/hotspot/jtreg/runtime/posixSig/libTestPsig.c Changeset: 32d675ca Author: Christian Hagedorn Date: 2022-08-18 07:35:14 +0000 URL: https://git.openjdk.org/loom/commit/32d675ca607d341ca3428efc32e212701775e3c6 8291775: C2: assert(r != __null && r->is_Region()) failed: this phi must have a region Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/stringopts.cpp ! test/hotspot/jtreg/compiler/c2/Test7179138_1.java Changeset: 2ee9491a Author: Christian Hagedorn Date: 2022-08-18 07:36:15 +0000 URL: https://git.openjdk.org/loom/commit/2ee9491a60c956da94debfbf0195f9339403ea98 8289051: C2: Cleanup PhaseCCP::analyze() Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/phaseX.hpp Changeset: d5435642 Author: Hannes Walln?fer Date: 2022-08-18 09:02:16 +0000 URL: https://git.openjdk.org/loom/commit/d5435642f9671766ecbcbf744ecd8e62fb929a69 8289334: Use CSS variables to define fonts and colors Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDoclet.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java - src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/jquery-ui.overrides.css ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DocPaths.java ! test/langtools/jdk/javadoc/doclet/AccessH1/AccessH1.java ! test/langtools/jdk/javadoc/doclet/checkStylesheetClasses/CheckStylesheetClasses.java ! test/langtools/jdk/javadoc/doclet/testDocEncoding/TestDocEncoding.java ! test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java ! test/langtools/jdk/javadoc/doclet/testStylesheet/TestStylesheet.java ! test/langtools/jdk/javadoc/tool/api/basic/APITest.java Changeset: f2773f64 Author: Coleen Phillimore Date: 2022-08-18 11:26:08 +0000 URL: https://git.openjdk.org/loom/commit/f2773f6404970481ed960ce132dac01feced2eac 8292556: Clean up unused Hashtable instantiations Reviewed-by: hseigel, dholmes ! src/hotspot/share/utilities/hashtable.cpp Changeset: d00e7b92 Author: Albert Mingkun Yang Date: 2022-08-18 14:00:36 +0000 URL: https://git.openjdk.org/loom/commit/d00e7b92b4a6d33f5db6e2aedce5e058832a23de 8292544: G1: Remove virtual specifier for methods in G1EdenRegions and G1SurvivorRegions Reviewed-by: lkorinth, tschatzl ! src/hotspot/share/gc/g1/g1EdenRegions.hpp ! src/hotspot/share/gc/g1/g1SurvivorRegions.hpp Changeset: f567fa0f Author: Joe Darcy Date: 2022-08-18 16:09:26 +0000 URL: https://git.openjdk.org/loom/commit/f567fa0fd53c519cdda1da8a7aaa0df895abc6e9 8292498: java/lang/invoke/lambda/LogGeneratedClassesTest.java failed with "AssertionError: only show error once expected [1] but found [0]" Reviewed-by: psandoz, mchung, jpai, rriggs ! src/java.base/share/classes/java/lang/reflect/AccessFlag.java ! test/jdk/ProblemList.txt Changeset: 20a3cb7c Author: chigiriki Committer: Erik Gahlin Date: 2022-08-18 16:46:16 +0000 URL: https://git.openjdk.org/loom/commit/20a3cb7ce348dabb71292d19a979a8c12cfe3c6d 8292488: JFR: Incorrect comment in ActiveRecordingEvent Reviewed-by: egahlin ! src/jdk.jfr/share/classes/jdk/jfr/events/ActiveRecordingEvent.java Changeset: 62a7fc60 Author: Christian Stein Committer: Vicente Romero Date: 2022-08-18 17:26:14 +0000 URL: https://git.openjdk.org/loom/commit/62a7fc60d3b3a27525fc01930834dab6f89bd451 8292315: Tests should not rely on specific JAR file names (hotspot) Reviewed-by: vromero ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/CDSStreamTestDriver.java Changeset: 833bf069 Author: Tyler Steele Date: 2022-08-18 18:02:46 +0000 URL: https://git.openjdk.org/loom/commit/833bf06905bb616782bdba6947b1edfaf479310f 8292608: [AIX] Broken build after 8291945 Reviewed-by: shade ! src/hotspot/os/aix/os_aix.cpp Changeset: 97e26894 Author: Tomas Zezula Committer: Doug Simon Date: 2022-08-18 21:53:04 +0000 URL: https://git.openjdk.org/loom/commit/97e26894702297009c5a6dfd0053e38cd5863400 8288121: [JVMCI] Re-export the TerminatingThreadLocal functionality to the graal compiler. Reviewed-by: dnsimon, never ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.services/src/jdk/vm/ci/services/Services.java Changeset: 1b756bfa Author: Jonathan Gibbons Date: 2022-08-18 21:57:05 +0000 URL: https://git.openjdk.org/loom/commit/1b756bfa3a1be2004af3ea12e86199ca0604c841 8236048: Cleanup use of Utils.normalizeNewlines Reviewed-by: hannesw ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractExecutableMemberWriter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/DocFilesHandlerImpl.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlLinkFactory.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/Signatures.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/SourceToHTMLConverter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/Table.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TableHeader.java ! 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/BodyContents.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Comment.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/ContentBuilder.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Entity.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlDocument.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlTree.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/RawHtml.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Script.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Text.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/TextBuilder.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/BaseOptions.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/Content.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DocFile.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DocletConstants.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Utils.java ! test/langtools/jdk/javadoc/doclet/testHtmlDocument/TestHtmlDocument.java Changeset: a1df2da6 Author: Daniel D. Daugherty Date: 2022-08-18 22:17:49 +0000 URL: https://git.openjdk.org/loom/commit/a1df2da6684ff9d934ddb2f4f4932b57af678dc2 8292632: compiler/sharedstubs/SharedTrampolineTest.java fails with "Error: VM option 'PrintRelocations' is develop and is available only in debug version of VM." Reviewed-by: dholmes ! test/hotspot/jtreg/compiler/sharedstubs/SharedTrampolineTest.java Changeset: 54ce1143 Author: Weijun Wang Date: 2022-08-18 22:35:13 +0000 URL: https://git.openjdk.org/loom/commit/54ce11431d194c23d3b674bcc54be1acf94e7f89 6587699: Document DigestInputStream behavior when skip() or mark() / reset() is used Reviewed-by: wetmore ! src/java.base/share/classes/java/security/DigestInputStream.java + test/jdk/java/security/DigestInputStream/TestSkipAndReset.java Changeset: 82dbe29f Author: Christian Stein Committer: Daniel D. Daugherty Date: 2022-08-18 23:29:39 +0000 URL: https://git.openjdk.org/loom/commit/82dbe29fc8327f6992703f54181c3e42beb99ccf 8292633: runtime/cds/appcds/dynamicArchive/CDSStreamTestDriver.java fails to compile Reviewed-by: dcubed, dholmes ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/CDSStreamTestDriver.java Changeset: f85411f2 Author: Kim Barrett Date: 2022-08-19 01:49:52 +0000 URL: https://git.openjdk.org/loom/commit/f85411f24a0cf55f8718aadd2297d95feb95564b 8292458: Atomic operations on scoped enums don't build with clang Reviewed-by: eosterlund, stefank ! src/hotspot/share/metaprogramming/primitiveConversions.hpp ! src/hotspot/share/runtime/atomic.hpp ! test/hotspot/gtest/metaprogramming/test_primitiveConversions.cpp + test/hotspot/gtest/runtime/test_atomic.cpp Changeset: 964aac28 Author: Ioi Lam Date: 2022-08-19 03:04:08 +0000 URL: https://git.openjdk.org/loom/commit/964aac28fe4a33f9e86cc07895a7ff4cdbaec3e6 8292499: CDS ArchivedEnumTest.java fails: object points to a static field that may be reinitialized Reviewed-by: dholmes, ccheung ! src/hotspot/share/cds/cdsHeapVerifier.cpp ! test/hotspot/jtreg/ProblemList.txt Changeset: 2edd5501 Author: Ioi Lam Date: 2022-08-19 03:05:13 +0000 URL: https://git.openjdk.org/loom/commit/2edd5501054df5792316bcd32208e603d43951c4 8292312: Work around memset() called operator new Reviewed-by: dcubed ! src/hotspot/share/runtime/synchronizer.cpp ! src/hotspot/share/runtime/synchronizer.hpp ! src/hotspot/share/utilities/resourceHash.hpp Changeset: 7d18ebd8 Author: Axel Boldt-Christmas Committer: Thomas Schatzl Date: 2022-08-19 08:29:36 +0000 URL: https://git.openjdk.org/loom/commit/7d18ebd870bb6aa409fd4e7b622400fd9a8f7d30 8292606: G1 and Epsilon header cleanup for JDK-8282729 Reviewed-by: ayang, shade, tschatzl ! src/hotspot/share/gc/epsilon/epsilonHeap.hpp ! src/hotspot/share/gc/g1/g1CollectionSetChooser.hpp ! src/hotspot/share/gc/g1/g1FullGCScope.cpp ! src/hotspot/share/gc/g1/g1HeapRegionEventSender.cpp ! src/hotspot/share/gc/g1/g1HeapSizingPolicy.cpp ! src/hotspot/share/gc/g1/g1MemoryPool.cpp ! src/hotspot/share/gc/g1/g1NUMA.cpp ! src/hotspot/share/gc/g1/g1RegionToSpaceMapper.cpp ! src/hotspot/share/gc/g1/g1SegmentedArrayFreeMemoryTask.cpp Changeset: 63a126aa Author: Albert Mingkun Yang Date: 2022-08-19 08:43:20 +0000 URL: https://git.openjdk.org/loom/commit/63a126aa2d6d7645c9cac6d3f9f0b87473cf7478 8292607: Remove unused dirty and dirty_card_range_after_reset in CardTable Reviewed-by: tschatzl ! src/hotspot/share/gc/shared/cardTable.cpp ! src/hotspot/share/gc/shared/cardTable.hpp Changeset: 1f484dae Author: Joe Committer: Fairoz Matte Date: 2022-08-19 08:55:58 +0000 URL: https://git.openjdk.org/loom/commit/1f484dae4efaa60cf18a3d4df947c05f1497bd5b 8289562: Change bugs.java.com and bugreport.java.com URL's to https Co-authored-by: Joe Cherian Reviewed-by: prr, jjg, naoto, iris ! src/java.desktop/macosx/native/libosxapp/AWT_debug.h ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac_de.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac_ja.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac_zh_CN.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets_de.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets_ja.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets_zh_CN.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/resources/javadoc.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/resources/javadoc_de.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/resources/javadoc_ja.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/resources/javadoc_zh_CN.properties ! src/jdk.jlink/share/classes/jdk/tools/jlink/resources/jlink.properties ! src/jdk.jlink/share/classes/jdk/tools/jlink/resources/jlink_de.properties ! src/jdk.jlink/share/classes/jdk/tools/jlink/resources/jlink_ja.properties ! src/jdk.jlink/share/classes/jdk/tools/jlink/resources/jlink_zh_CN.properties Changeset: f2f0cd86 Author: Pengfei Li Date: 2022-08-19 09:09:18 +0000 URL: https://git.openjdk.org/loom/commit/f2f0cd86bf4dce4633f484476077fd090549780e 8292511: AArch64: Align CPU feature name for NEON with hwcap Reviewed-by: aph, njian ! src/hotspot/cpu/aarch64/vm_version_aarch64.hpp ! test/hotspot/jtreg/compiler/vectorapi/AllBitsSetVectorMatchRuleTest.java ! test/hotspot/jtreg/compiler/vectorapi/TestReverseByteTransforms.java ! test/hotspot/jtreg/compiler/vectorapi/VectorLogicalOpIdentityTest.java ! test/hotspot/jtreg/compiler/vectorapi/reshape/TestVectorCastNeon.java Changeset: 37aa7c16 Author: Harold Seigel Date: 2022-08-19 12:19:35 +0000 URL: https://git.openjdk.org/loom/commit/37aa7c165dac13b7d6bb2b3c9814e1ec3fc4a730 8292559: Add test for -XX:+CheckJNICalls showing changed signal handlers Reviewed-by: stuefe, coleenp ! make/test/JtregNativeHotspot.gmk + test/hotspot/jtreg/runtime/posixSig/TestPosixSig.java + test/hotspot/jtreg/runtime/posixSig/libTestPsig.c Changeset: 5ca268ca Author: Brian Burkhalter Date: 2022-08-19 15:03:11 +0000 URL: https://git.openjdk.org/loom/commit/5ca268ca65f3619139abeddd1070306db406ccc1 8292636: (dc) Problem listing of java/nio/channels/DatagramChannel/Unref.java has incorrect issue ID Reviewed-by: jpai ! test/jdk/ProblemList.txt Changeset: 58aae340 Author: Joe Darcy Date: 2022-08-19 15:56:12 +0000 URL: https://git.openjdk.org/loom/commit/58aae340a9892889ef8784ef9360bb7e0af85ddd 8292576: Improve wording of AccessFlag-related specs Reviewed-by: alanb ! src/java.base/share/classes/java/lang/module/ModuleDescriptor.java ! src/java.base/share/classes/java/lang/reflect/AccessFlag.java Changeset: 45dec480 Author: Robbin Ehn Date: 2022-08-19 16:05:08 +0000 URL: https://git.openjdk.org/loom/commit/45dec480ef6f1d5509f4afbbf414c69584ac252e 8292592: JFR test TestNative is not reliable due to low rate of sampling. Reviewed-by: egahlin, shade + test/jdk/jdk/jfr/event/profiling/TestNative.java + test/jdk/jdk/jfr/event/profiling/TestSamplingLongPeriod.java - test/jdk/jdk/jfr/event/sampling/TestNative.java Changeset: 1f3578b7 Author: Johan Sj?l?n Committer: Coleen Phillimore Date: 2022-08-19 16:39:32 +0000 URL: https://git.openjdk.org/loom/commit/1f3578b79c6355b976d64756da7e4a8af32c2987 8292446: Make TableRateStatistics optional in CHT Reviewed-by: coleenp, rehn ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/classfile/symbolTable.cpp ! src/hotspot/share/gc/g1/g1CardSet.cpp ! src/hotspot/share/services/finalizerService.cpp ! src/hotspot/share/services/threadIdTable.cpp ! src/hotspot/share/utilities/concurrentHashTable.hpp ! src/hotspot/share/utilities/concurrentHashTable.inline.hpp ! src/hotspot/share/utilities/tableStatistics.hpp Changeset: 7244dd6f Author: Ioi Lam Date: 2022-08-19 17:25:12 +0000 URL: https://git.openjdk.org/loom/commit/7244dd6fab0c516ed76af594593b8378512620c8 8292267: Clean up synchronizer.hpp Reviewed-by: coleenp, dcubed, dholmes ! src/hotspot/cpu/aarch64/frame_aarch64.hpp ! src/hotspot/cpu/arm/frame_arm.hpp ! src/hotspot/cpu/ppc/frame_ppc.hpp ! src/hotspot/cpu/riscv/frame_riscv.hpp ! src/hotspot/cpu/s390/frame_s390.hpp ! src/hotspot/cpu/x86/frame_x86.hpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/gc/shenandoah/shenandoahPadding.hpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/oops/oop.cpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/prims/jvmtiExport.hpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/monitorChunk.hpp ! src/hotspot/share/runtime/monitorDeflationThread.cpp ! src/hotspot/share/runtime/synchronizer.cpp ! src/hotspot/share/runtime/synchronizer.hpp ! src/hotspot/share/runtime/vmOperations.hpp ! src/hotspot/share/services/threadService.hpp Changeset: 6a8a5313 Author: Vladimir Ivanov Date: 2022-08-19 19:13:26 +0000 URL: https://git.openjdk.org/loom/commit/6a8a531359295849113aa14fd6cba21c886decf3 8292564: x86: Remove redundant casts in Assembler usages Reviewed-by: iveresov, kvn, shade ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp ! src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c1_Runtime1_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/gc/g1/g1BarrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/gc/shared/barrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/gc/shenandoah/shenandoahBarrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/interp_masm_x86.cpp ! src/hotspot/cpu/x86/interp_masm_x86.hpp ! src/hotspot/cpu/x86/interpreterRT_x86_32.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.hpp ! src/hotspot/cpu/x86/sharedRuntime_x86.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_32.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/cpu/x86/templateInterpreterGenerator_x86.cpp ! src/hotspot/cpu/x86/templateTable_x86.cpp ! src/hotspot/cpu/x86/vtableStubs_x86_32.cpp ! src/hotspot/cpu/x86/vtableStubs_x86_64.cpp ! src/hotspot/cpu/x86/x86_64.ad Changeset: 57aac2ab Author: Ioi Lam Date: 2022-08-19 19:16:33 +0000 URL: https://git.openjdk.org/loom/commit/57aac2ab6569c18a56e9a36f174bb0bf09955f83 8290981: Enable CDS for zero builds Co-authored-by: Aleksey Shipilev Reviewed-by: erikj, shade, ihse ! make/Images.gmk ! make/autoconf/jvm-features.m4 ! src/hotspot/share/interpreter/zero/bytecodeInterpreter.cpp ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/JFRDynamicCDS.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveNoDefaultArchive.java Changeset: 74d3330e Author: Weijun Wang Date: 2022-08-19 19:57:42 +0000 URL: https://git.openjdk.org/loom/commit/74d3330e106f2f920bf264356e4f25f8f6c11580 8292682: Code change of JDK-8282730 not updated to reflect CSR update Reviewed-by: xuelei, hchao ! src/java.base/share/classes/javax/security/auth/spi/LoginModule.java Changeset: df5209e7 Author: Weijun Wang Date: 2022-08-19 19:58:44 +0000 URL: https://git.openjdk.org/loom/commit/df5209e70fd92ec6bda4e7356a3ad121732f6c66 8292683: Remove BadKeyUsageTest.java from Problem List Reviewed-by: xuelei, hchao ! test/jdk/ProblemList.txt Changeset: 235151ea Author: Weijun Wang Date: 2022-08-19 19:59:39 +0000 URL: https://git.openjdk.org/loom/commit/235151ead89f9102e3a57ba8f88807f180887866 8292676: Remove two kerberos tests from problem list Reviewed-by: xuelei, hchao ! test/jdk/ProblemList.txt Changeset: 07c9ba74 Author: Coleen Phillimore Date: 2022-08-19 20:47:24 +0000 URL: https://git.openjdk.org/loom/commit/07c9ba74fa3baebffcc15d3ee6ef941edf6be1a3 8292686: runtime/cds/appcds/TestWithProfiler.java SIGSEGV in TableStatistics ctr Reviewed-by: dcubed, hseigel ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/classfile/symbolTable.cpp Changeset: 44532009 Author: Vladimir Ivanov Date: 2022-08-20 00:38:38 +0000 URL: https://git.openjdk.org/loom/commit/44532009fff11884aa6f16a997b771c41cb01d2f 8292628: x86: Improve handling of constants in trigonometric stubs Reviewed-by: shade, kvn ! src/hotspot/cpu/x86/macroAssembler_x86.hpp + src/hotspot/cpu/x86/macroAssembler_x86_constants.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_cos.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_exp.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_log.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_log10.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_pow.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_sha.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_sin.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_tan.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_32.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/cpu/x86/stubRoutines_x86.cpp ! src/hotspot/cpu/x86/stubRoutines_x86.hpp Changeset: 37c0a136 Author: Andrey Turbanov Date: 2022-08-20 10:05:48 +0000 URL: https://git.openjdk.org/loom/commit/37c0a13647e74fd02823a3f621e986f96904b933 8292350: Use static methods for hashCode/toString primitives Reviewed-by: prr, rriggs, amenkov, jpai ! src/java.desktop/macosx/classes/com/apple/laf/ScreenMenu.java ! src/java.management/share/classes/javax/management/openmbean/ArrayType.java ! src/java.sql.rowset/share/classes/com/sun/rowset/internal/WebRowSetXmlWriter.java ! src/jdk.hotspot.agent/share/classes/com/sun/java/swing/ui/WizardDlg.java Changeset: 3601e30d Author: Kevin Walls Date: 2022-08-20 14:20:29 +0000 URL: https://git.openjdk.org/loom/commit/3601e30df794db122d8d04fb3c04868ccbaa0baf 8290909: MemoryPoolMBean/isUsageThresholdExceeded tests failed with "isUsageThresholdExceeded() returned false, and is still false, while threshold = MMMMMMM and used peak = NNNNNNN" Reviewed-by: cjplummer, amenkov ! test/hotspot/jtreg/vmTestbase/nsk/monitoring/MemoryPoolMBean/isUsageThresholdExceeded/isexceeded001.java Changeset: 2fbb9362 Author: Ioi Lam Date: 2022-08-20 23:17:57 +0000 URL: https://git.openjdk.org/loom/commit/2fbb9362032df26582c389b7114cf0a215ed3afd 8292691: Move CompilerConfig::is_xxx() inline functions out of compilerDefinitions.hpp Reviewed-by: kvn, iveresov ! src/hotspot/cpu/aarch64/c1_LIRGenerator_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/shenandoah/c1/shenandoahBarrierSetC1_aarch64.cpp ! src/hotspot/cpu/aarch64/templateTable_aarch64.cpp ! src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c1_Runtime1_x86.cpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/share/asm/codeBuffer.hpp ! src/hotspot/share/c1/c1_Compilation.hpp ! src/hotspot/share/c1/c1_LIRAssembler.cpp ! src/hotspot/share/c1/c1_LIRGenerator.cpp ! src/hotspot/share/ci/ciEnv.hpp ! src/hotspot/share/ci/ciMethod.cpp ! src/hotspot/share/ci/ciReplay.cpp ! src/hotspot/share/code/codeCache.cpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/compiler/compilerDefinitions.cpp ! src/hotspot/share/compiler/compilerDefinitions.hpp + src/hotspot/share/compiler/compilerDefinitions.inline.hpp ! src/hotspot/share/compiler/compilerDirectives.cpp ! src/hotspot/share/gc/shared/cardTableBarrierSet.cpp ! src/hotspot/share/gc/shared/referenceProcessor.cpp ! src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp ! src/hotspot/share/jvmci/jvmciCompiler.cpp ! src/hotspot/share/oops/methodData.cpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/flags/jvmFlagConstraintsCompiler.cpp Changeset: f9004fe4 Author: Thomas Stuefe Date: 2022-08-21 06:59:20 +0000 URL: https://git.openjdk.org/loom/commit/f9004fe4438c30eb639e3c36e6531c306b836e36 8292561: Make "ReplayCompiles" a diagnostic product switch Reviewed-by: kvn, xliu ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/ci/ciEnv.hpp ! src/hotspot/share/ci/ciMethod.cpp ! src/hotspot/share/ci/ciMethodData.cpp ! src/hotspot/share/ci/ciObjectFactory.cpp ! src/hotspot/share/ci/ciReplay.cpp ! src/hotspot/share/ci/ciReplay.hpp ! src/hotspot/share/compiler/compiler_globals.hpp ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/runtime/arguments.cpp + test/hotspot/jtreg/compiler/ciReplay/TestInvalidReplayFile.java Changeset: 9a65524e Author: Sergey Tsypanov Committer: Claes Redestad Date: 2022-08-21 17:22:10 +0000 URL: https://git.openjdk.org/loom/commit/9a65524e2f98c1b4e253dcb637a708cec7b591bc 8290300: Use standard String-joining tools where applicable Reviewed-by: naoto, rriggs, dfuchs ! src/java.base/share/classes/java/lang/ProcessBuilder.java ! src/java.base/share/classes/java/util/Locale.java ! src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java ! src/java.base/windows/classes/sun/nio/fs/WindowsPath.java Changeset: 27b0f772 Author: Ioi Lam Date: 2022-08-22 03:43:27 +0000 URL: https://git.openjdk.org/loom/commit/27b0f7726b70127c0ed714cfc1041d3da71a9dc3 8292318: Memory corruption in remove_dumptime_info Reviewed-by: coleenp, ccheung ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/hotspot/share/interpreter/rewriter.cpp ! src/hotspot/share/oops/cpCache.cpp ! src/hotspot/share/oops/cpCache.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! test/hotspot/jtreg/runtime/cds/MaxMetaspaceSize.java Changeset: a3ec0bb0 Author: Thomas Schatzl Date: 2022-08-22 08:48:52 +0000 URL: https://git.openjdk.org/loom/commit/a3ec0bb03a5de805fc4b45477925aa18b875bc79 8253413: [REDO] [REDO] G1 incorrectly limiting young gen size when using the reserve can result in repeated full gcs Reviewed-by: iwalulya, kbarrett ! src/hotspot/share/gc/g1/g1Analytics.cpp ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp Changeset: 07c79772 Author: Bhavana Kilambi Committer: Nick Gasson Date: 2022-08-22 09:01:08 +0000 URL: https://git.openjdk.org/loom/commit/07c797720d68d5a36d438f2e9da8b72f247f22fc 8290249: Vectorize signum on AArch64 Reviewed-by: aph, ngasson ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp ! test/hotspot/gtest/aarch64/aarch64-asmtest.py ! test/hotspot/gtest/aarch64/asmtest.out.h ! test/hotspot/jtreg/compiler/c2/cr6340864/TestDoubleVect.java ! test/hotspot/jtreg/compiler/c2/cr6340864/TestFloatVect.java ! test/hotspot/jtreg/compiler/vectorization/TestSignumVector.java Changeset: 7b5f9edb Author: Thomas Schatzl Date: 2022-08-22 09:07:34 +0000 URL: https://git.openjdk.org/loom/commit/7b5f9edb59ef763acca80724ca37f3624d720d06 8288966: Better handle very spiky promotion in G1 Reviewed-by: iwalulya, kbarrett ! src/hotspot/share/gc/g1/g1Allocator.cpp ! src/hotspot/share/gc/g1/g1Allocator.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp ! src/hotspot/share/gc/g1/g1EvacStats.cpp ! src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp ! src/hotspot/share/gc/g1/g1ParScanThreadState.cpp ! src/hotspot/share/gc/g1/g1ParScanThreadState.hpp Changeset: 79597f1e Author: KIRIYAMA Takuya Committer: Daniel Fuchs Date: 2022-08-22 09:22:59 +0000 URL: https://git.openjdk.org/loom/commit/79597f1ea6844f374beeeba219719cd9d5fe7d03 8272702: Resolving URI relative path with no / may lead to incorrect toString Reviewed-by: dfuchs, michaelm ! src/java.base/share/classes/java/net/URI.java ! test/jdk/java/net/URI/Test.java Changeset: 1ed03d82 Author: Julian Waters Committer: Magnus Ihse Bursie Date: 2022-08-22 11:00:17 +0000 URL: https://git.openjdk.org/loom/commit/1ed03d82b221d6fa54b855070944aec52366c658 8292226: Prepare make for better Link Time Optimization support Reviewed-by: ihse ! make/common/Utils.gmk ! make/hotspot/lib/JvmFeatures.gmk Changeset: a17fce75 Author: Prasanta Sadhukhan Date: 2022-08-22 11:13:33 +0000 URL: https://git.openjdk.org/loom/commit/a17fce7507c7d485d51f98fadd444235ea31058d 6445283: ProgressMonitorInputStream not large file aware (>2GB) Reviewed-by: azvegint, prr ! src/java.desktop/share/classes/javax/swing/ProgressMonitorInputStream.java + test/jdk/javax/swing/ProgressMonitor/ProgressTest.java Changeset: 476c484e Author: Albert Mingkun Yang Date: 2022-08-22 12:38:00 +0000 URL: https://git.openjdk.org/loom/commit/476c484e3778dddf2fb71f83524e691ce262370d 8292656: G1: Remove G1HotCardCache::_use_cache Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1FullGCPrepareTask.cpp ! src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp ! src/hotspot/share/gc/g1/g1HotCardCache.cpp ! src/hotspot/share/gc/g1/g1HotCardCache.hpp ! src/hotspot/share/gc/g1/g1RemSet.cpp ! src/hotspot/share/gc/g1/g1YoungCollector.cpp Changeset: c59f9b37 Author: Leo Korinth Date: 2022-08-22 12:52:31 +0000 URL: https://git.openjdk.org/loom/commit/c59f9b374b4497ab385675b0019c3647e6cddbbb 8287828: Fix so that one can select jtreg test case by ID from make Reviewed-by: erikj, iklam, ihse ! make/RunTests.gmk ! make/common/Utils.gmk Changeset: 16593cf5 Author: Magnus Ihse Bursie Date: 2022-08-22 13:07:23 +0000 URL: https://git.openjdk.org/loom/commit/16593cf51c3d994ba4a6d28ab97e519dfd53f37b 8292717: Clean up checking of testing requirements in configure Reviewed-by: erikj ! make/autoconf/configure.ac ! make/autoconf/jdk-options.m4 ! make/autoconf/lib-tests.m4 ! make/autoconf/toolchain.m4 Changeset: dcd78020 Author: Thomas Schatzl Date: 2022-08-22 13:16:38 +0000 URL: https://git.openjdk.org/loom/commit/dcd78020e4cd064061ac892c566c94fb744859c4 8292708: Rename G1ParScanThreadState::flush to flush_stats Reviewed-by: iwalulya, shade ! src/hotspot/share/gc/g1/g1ParScanThreadState.cpp ! src/hotspot/share/gc/g1/g1ParScanThreadState.hpp ! src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp Changeset: e5619339 Author: Eric Caspole Date: 2022-08-22 13:40:15 +0000 URL: https://git.openjdk.org/loom/commit/e561933907bbab0a42f1796fa12f582b3a347312 8292623: Reduce runtime of java.io microbenchmarks Reviewed-by: rriggs ! test/micro/org/openjdk/bench/java/io/DataOutputStreamTest.java ! test/micro/org/openjdk/bench/java/io/FileChannelRead.java ! test/micro/org/openjdk/bench/java/io/FileChannelWrite.java ! test/micro/org/openjdk/bench/java/io/FileRead.java ! test/micro/org/openjdk/bench/java/io/FileWrite.java ! test/micro/org/openjdk/bench/java/io/ObjectStreamClasses.java ! test/micro/org/openjdk/bench/java/io/RandomAccessRead.java ! test/micro/org/openjdk/bench/java/io/RandomAccessWrite.java ! test/micro/org/openjdk/bench/java/io/SerializationWriteReplace.java ! test/micro/org/openjdk/bench/java/io/UTF8.java Changeset: 256b5238 Author: Daniel Fuchs Date: 2022-08-22 14:14:41 +0000 URL: https://git.openjdk.org/loom/commit/256b52387b7267c234f03aac19422e59a77d956f 8292381: java/net/httpclient/SpecialHeadersTest.java fails with "ERROR: Shutting down connection: HTTP/2 client stopped" Reviewed-by: jpai ! test/jdk/java/net/httpclient/HttpServerAdapters.java ! test/jdk/java/net/httpclient/SpecialHeadersTest.java Changeset: db772276 Author: Harold Seigel Date: 2022-08-22 14:35:44 +0000 URL: https://git.openjdk.org/loom/commit/db772276848f6ad2d4d13e892bcd0eb3123d030f 8282684: Obsolete UseContainerCpuShares and PreferContainerQuotaForCPUCount flags Reviewed-by: dholmes, iklam, sgehwolf ! src/hotspot/os/linux/cgroupSubsystem_linux.cpp ! src/hotspot/os/linux/globals_linux.hpp ! src/jdk.management/unix/classes/com/sun/management/internal/OperatingSystemImpl.java ! test/hotspot/jtreg/containers/docker/TestCPUAwareness.java Changeset: 45c3e898 Author: Alexey Semenyuk Date: 2022-08-22 15:42:27 +0000 URL: https://git.openjdk.org/loom/commit/45c3e898ed538545921395372fe507e9111401e1 8292316: Tests should not rely on specific JAR file names (jpackage) Reviewed-by: almatvee ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/AppImageFileTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/ApplicationLayoutTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/CompareDottedVersionTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/DeployParamsTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/DottedVersionTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/EnquoterTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/InvalidDottedVersionTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/OverridableResourceTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/PathGroupTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/PlatformVersionTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/ToolValidatorTest.java - test/jdk/tools/jpackage/junit/junit.java - test/jdk/tools/jpackage/junit/run_junit.sh Changeset: f95ee796 Author: Brian Burkhalter Date: 2022-08-22 15:53:12 +0000 URL: https://git.openjdk.org/loom/commit/f95ee7960328410551a6948053d1ff0ec3d8c53d 8292566: Add reference to the java.nio.file package in java.nio package documentation Reviewed-by: iris, jpai, alanb ! src/java.base/share/classes/java/nio/package-info.java Changeset: aa9b8f04 Author: Naoto Sato Date: 2022-08-22 16:26:37 +0000 URL: https://git.openjdk.org/loom/commit/aa9b8f04bf74d5fa00f2b27895e7369abea3a930 8292043: Incorrect decoding near EOF for stateful decoders like UTF-16 Reviewed-by: joehw, alanb, lancea ! src/java.base/share/classes/sun/nio/cs/StreamDecoder.java + test/jdk/java/io/InputStreamReader/StatefulDecoderNearEOF.java Changeset: 8e8ee4b6 Author: Coleen Phillimore Date: 2022-08-22 18:43:51 +0000 URL: https://git.openjdk.org/loom/commit/8e8ee4b6f22657a7efba8d7998f3c309f334a086 8292596: Make SymbolHashMap a ResourceHashtable Reviewed-by: hseigel, dholmes ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/constantPool.hpp ! src/hotspot/share/prims/jvmtiClassFileReconstituter.cpp ! src/hotspot/share/prims/jvmtiClassFileReconstituter.hpp Changeset: 8a0c3e53 Author: Daniel D. Daugherty Date: 2022-08-22 19:29:58 +0000 URL: https://git.openjdk.org/loom/commit/8a0c3e53d541395ac32d656ac64d20ca0b9a187c 8292261: adjust timeouts in JLI GetObjectSizeIntrinsicsTest.java Reviewed-by: cjplummer ! test/jdk/java/lang/instrument/GetObjectSizeIntrinsicsTest.java Changeset: 54843b70 Author: Daniel D. Daugherty Date: 2022-08-22 19:30:50 +0000 URL: https://git.openjdk.org/loom/commit/54843b700a463e75cd23a23df8ec5dc73b80f105 8290211: jdk/internal/vm/Continuation/Fuzz.java failed with "AssertionError: Failed to compile int Fuzz.com_int(int,int) in 5000ms" Reviewed-by: lmesnik, alanb, jiefu ! test/jdk/jdk/internal/vm/Continuation/Fuzz.java Changeset: ab698859 Author: Daniel D. Daugherty Date: 2022-08-22 19:31:50 +0000 URL: https://git.openjdk.org/loom/commit/ab6988599cded028ebfc4c958bc9e88d1b365ad7 8292215: java/util/stream/boottest/java.base/java/util/stream/SpinedBufferTest.java times out with slowdebug Reviewed-by: rriggs, shade + test/jdk/java/util/stream/boottest/java.base/java/util/stream/AbstractSpinedBufferTest.java + test/jdk/java/util/stream/boottest/java.base/java/util/stream/SpinedBufferDoubleTest.java + test/jdk/java/util/stream/boottest/java.base/java/util/stream/SpinedBufferIntTest.java + test/jdk/java/util/stream/boottest/java.base/java/util/stream/SpinedBufferIntegerTest.java + test/jdk/java/util/stream/boottest/java.base/java/util/stream/SpinedBufferLongTest.java - test/jdk/java/util/stream/boottest/java.base/java/util/stream/SpinedBufferTest.java Changeset: f58aaab4 Author: Daniel D. Daugherty Date: 2022-08-22 19:32:40 +0000 URL: https://git.openjdk.org/loom/commit/f58aaab4a40f09be03d77a8df8dfefa94e47b320 8292262: adjust timeouts in several M&M tests Reviewed-by: cjplummer ! test/hotspot/jtreg/vmTestbase/nsk/monitoring/stress/classload/load008/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/monitoring/stress/classload/load009/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/monitoring/stress/classload/unload002/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/monitoring/stress/classload/unload008/TestDescription.java Changeset: 27af0144 Author: Coleen Phillimore Date: 2022-08-22 20:31:31 +0000 URL: https://git.openjdk.org/loom/commit/27af0144ea57e86d9b81c2b328fad66e4a046f61 8292743: Missing include resourceHash.hpp Reviewed-by: dcubed, stefank ! src/hotspot/share/oops/constantPool.hpp Changeset: 38a81913 Author: Jatin Bhateja Date: 2022-08-22 23:59:58 +0000 URL: https://git.openjdk.org/loom/commit/38a81913d33c856d64b7c26f934026815a482e43 8290322: Optimize Vector.rearrange over byte vectors for AVX512BW targets. Reviewed-by: kvn, sviswanathan ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.hpp ! src/hotspot/cpu/x86/x86.ad + test/micro/org/openjdk/bench/jdk/incubator/vector/RearrangeBytesBenchmark.java Changeset: 4da17458 Author: Xiaohong Gong Date: 2022-08-23 01:30:05 +0000 URL: https://git.openjdk.org/loom/commit/4da1745836550224306ca66201c35a5baaf30953 8291118: [vectorapi] Optimize the implementation of lanewise FIRST_NONZERO Reviewed-by: eliu, psandoz ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ByteVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/DoubleVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/FloatVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/IntVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/LongVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ShortVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/X-Vector.java.template Changeset: a85a7234 Author: Thomas Stuefe Date: 2022-08-23 05:05:15 +0000 URL: https://git.openjdk.org/loom/commit/a85a72341bd840b2c7b66ce32c8bbca920e519c8 8292351: tty should always live Reviewed-by: clanger, coleenp, dholmes ! src/hotspot/share/utilities/ostream.cpp ! src/hotspot/share/utilities/ostream.hpp Changeset: 259ba86c Author: Doug Simon Date: 2022-08-23 07:24:53 +0000 URL: https://git.openjdk.org/loom/commit/259ba86c60c9f17ac7302f73cd1e3532474c9f18 8290075: [JVMCI] only blessed methods can link against EventWriterFactory.getEventWriter Reviewed-by: mgronlun ! src/hotspot/share/jfr/instrumentation/jfrResolution.cpp ! src/hotspot/share/jfr/instrumentation/jfrResolution.hpp ! src/hotspot/share/jfr/jfr.cpp ! src/hotspot/share/jfr/jfr.hpp ! src/hotspot/share/jvmci/jvmciCompilerToVM.cpp ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/StackLockValue.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotConstantPool.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCICompilerConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ConstantPool.java ! test/hotspot/jtreg/compiler/jvmci/common/patches/jdk.internal.vm.ci/jdk/vm/ci/hotspot/CompilerToVMHelper.java ! test/jdk/jdk/jfr/jvm/TestGetEventWriter.java Changeset: 84936e92 Author: Matthias Baesken Date: 2022-08-23 07:31:43 +0000 URL: https://git.openjdk.org/loom/commit/84936e9278100fc641a9c6df3cc5fc18c0386c32 8292586: simplify cleanups in NTLMAuthSequence getCredentialsHandle Reviewed-by: michaelm ! src/java.base/windows/native/libnet/NTLMAuthSequence.c Changeset: b4e1aa87 Author: Andrey Turbanov Date: 2022-08-23 07:44:01 +0000 URL: https://git.openjdk.org/loom/commit/b4e1aa87e3caa56bde52120bb3d84da53e7ebaa3 8289658: Avoid redundant LinkedHashMap.get call in TagletManager.addNewSimpleCustomTag Reviewed-by: attila, prappo ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/TagletManager.java Changeset: 486f90c1 Author: Magnus Ihse Bursie Date: 2022-08-23 07:45:03 +0000 URL: https://git.openjdk.org/loom/commit/486f90c134f3b8562221839f8a3aefa74ae0d070 8292716: Configure should check that jtreg is of the required version Reviewed-by: erikj ! make/autoconf/lib-tests.m4 Changeset: d92e00a5 Author: Magnus Ihse Bursie Date: 2022-08-23 08:32:02 +0000 URL: https://git.openjdk.org/loom/commit/d92e00a5191e8b50a5a17e3cd0105dbfb5a00281 8292763: JDK-8292716 breaks configure without jtreg Reviewed-by: alanb ! make/autoconf/lib-tests.m4 Changeset: cf006774 Author: Martin Doerr Date: 2022-08-23 08:58:53 +0000 URL: https://git.openjdk.org/loom/commit/cf0067741249cc3260b1d220769dac408b614f22 8292368: [ppc64] internal error g1BarrierSet.inline.hpp assert(oopDesc::is_oop(pre_val, true)) failed: Error Reviewed-by: eosterlund, shade ! src/hotspot/share/gc/shared/barrierSetNMethod.cpp Changeset: cc287832 Author: Coleen Phillimore Date: 2022-08-23 13:42:37 +0000 URL: https://git.openjdk.org/loom/commit/cc287832c2f5e58a37468952fdcdb8c326d07118 8292777: Remove hashtable.hpp from dependencies.hpp Reviewed-by: chagedorn ! src/hotspot/share/code/dependencies.hpp Changeset: 8a45abd5 Author: Thomas Schatzl Date: 2022-08-23 13:54:10 +0000 URL: https://git.openjdk.org/loom/commit/8a45abd5f3bb224e564c8e6087bac618147f484e 8292654: G1 remembered set memory footprint regression after JDK-8286115 Reviewed-by: ayang, iwalulya ! src/hotspot/share/gc/g1/g1_globals.hpp Changeset: d24b7b70 Author: Roger Riggs Date: 2022-08-23 14:36:46 +0000 URL: https://git.openjdk.org/loom/commit/d24b7b7026cf85f1aecf44f60819762872cfd5c1 8276651: java/lang/ProcessHandle tests fail with "RuntimeException: Input/output error" in java.lang.ProcessHandleImpl$Info.info0 Reviewed-by: jpai, alanb ! src/java.base/macosx/native/libjava/ProcessHandleImpl_macosx.c Changeset: f3be6731 Author: Vladimir Ivanov Date: 2022-08-23 19:32:51 +0000 URL: https://git.openjdk.org/loom/commit/f3be6731d3fa4fb1b7fc42c5bcbe6a64a50eaf42 8292638: x86: Improve scratch register handling in VM stubs Co-authored-by: Aleksey Shipilev Reviewed-by: kvn, shade ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.hpp ! src/hotspot/cpu/x86/macroAssembler_x86_cos.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_exp.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_log.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_log10.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_pow.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_sha.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_sin.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_tan.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_32.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp Changeset: 926380d3 Author: Vladimir Ivanov Date: 2022-08-23 20:25:56 +0000 URL: https://git.openjdk.org/loom/commit/926380d3b748fd591f45abc99c497abc62c52565 8292640: C2: Remove unused scratch register usages on x86 Reviewed-by: kvn ! 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/x86.ad Changeset: fe0544f8 Author: Coleen Phillimore Date: 2022-08-23 20:39:25 +0000 URL: https://git.openjdk.org/loom/commit/fe0544f8a7db5bf0e93313e16b54b31bcdff946a 8292790: Remove hashtable.hpp from other files Reviewed-by: shade, hseigel ! src/hotspot/cpu/arm/assembler_arm.cpp ! src/hotspot/cpu/arm/assembler_arm_32.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/moduleEntry.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/runtime/vmStructs.cpp Changeset: 13c03696 Author: Christian Hagedorn Date: 2022-08-24 06:44:06 +0000 URL: https://git.openjdk.org/loom/commit/13c03696463cb3ba77663edfd2dfb78d3f45cbaa 8242181: [Linux] Show source information when printing native stack traces in hs_err files Reviewed-by: erikj, tschatzl, stuefe, ihse ! make/RunTests.gmk ! make/autoconf/flags-cflags.m4 ! make/conf/jib-profiles.js ! src/hotspot/os/windows/decoder_windows.cpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/utilities/decoder.cpp ! src/hotspot/share/utilities/decoder.hpp ! src/hotspot/share/utilities/decoder_elf.cpp ! src/hotspot/share/utilities/decoder_elf.hpp ! src/hotspot/share/utilities/elfFile.cpp ! src/hotspot/share/utilities/elfFile.hpp ! src/hotspot/share/utilities/nativeCallStack.cpp ! src/hotspot/share/utilities/vmError.cpp ! src/hotspot/share/utilities/vmError.hpp ! test/hotspot/gtest/runtime/test_os_linux.cpp + test/hotspot/jtreg/runtime/ErrorHandling/TestDwarf.java + test/hotspot/jtreg/runtime/ErrorHandling/libTestDwarf.c + test/hotspot/jtreg/runtime/ErrorHandling/libTestDwarfHelper.h Changeset: ad2e0c4d Author: Matthias Baesken Date: 2022-08-24 07:05:28 +0000 URL: https://git.openjdk.org/loom/commit/ad2e0c4df045261c04b00bfa1faf5c21392edc58 8292778: EncodingSupport_md.c convertUtf8ToPlatformString wrong placing of free Reviewed-by: rriggs, kevinw, amenkov ! src/java.instrument/windows/native/libinstrument/EncodingSupport_md.c Changeset: fa5cc4cc Author: Thomas Stuefe Date: 2022-08-24 07:58:54 +0000 URL: https://git.openjdk.org/loom/commit/fa5cc4cc8e1c7c1f627905191e311cfcb3d94b5e 8291878: NMT: Malloc limits Reviewed-by: kvn, shade ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/arguments.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/services/mallocTracker.cpp ! src/hotspot/share/services/mallocTracker.hpp ! src/hotspot/share/services/memTracker.cpp ! src/hotspot/share/services/nmtCommon.cpp ! src/hotspot/share/services/nmtCommon.hpp + test/hotspot/jtreg/runtime/NMT/MallocLimitTest.java Changeset: 0813a470 Author: Axel Boldt-Christmas Committer: Albert Mingkun Yang Date: 2022-08-24 09:50:17 +0000 URL: https://git.openjdk.org/loom/commit/0813a4705184e33f6bd175dcd9a17d3212890daf 8282729: Serial: Move BOT implementation to collector specific directory Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/serial/defNewGeneration.hpp = src/hotspot/share/gc/serial/serialBlockOffsetTable.cpp = src/hotspot/share/gc/serial/serialBlockOffsetTable.hpp = src/hotspot/share/gc/serial/serialBlockOffsetTable.inline.hpp ! src/hotspot/share/gc/serial/tenuredGeneration.cpp ! src/hotspot/share/gc/serial/vmStructs_serial.hpp ! src/hotspot/share/gc/shared/blockOffsetTable.cpp ! src/hotspot/share/gc/shared/blockOffsetTable.hpp ! src/hotspot/share/gc/shared/genCollectedHeap.cpp ! src/hotspot/share/gc/shared/generation.cpp ! src/hotspot/share/gc/shared/space.cpp ! src/hotspot/share/gc/shared/space.hpp ! src/hotspot/share/gc/shared/space.inline.hpp ! src/hotspot/share/gc/shared/vmStructs_gc.hpp Changeset: b653b9cc Author: Coleen Phillimore Date: 2022-08-24 11:39:25 +0000 URL: https://git.openjdk.org/loom/commit/b653b9cc274abb906d3ebe887827ef16b4e57be4 8291969: Convert LoaderConstraintsTable to ResourceHashtable Reviewed-by: dholmes, iklam ! src/hotspot/share/classfile/loaderConstraints.cpp ! src/hotspot/share/classfile/loaderConstraints.hpp ! src/hotspot/share/classfile/systemDictionary.cpp ! test/hotspot/jtreg/runtime/logging/loadLibraryTest/LoadLibraryTest.java Changeset: d3fed128 Author: Coleen Phillimore Date: 2022-08-24 12:40:10 +0000 URL: https://git.openjdk.org/loom/commit/d3fed128671312ae138a7ad5677c3c140de9a8f3 8292864: Remove resourceHash.hpp from header files Reviewed-by: stefank ! src/hotspot/share/cds/dynamicArchive.hpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/cds/runTimeClassInfo.hpp ! src/hotspot/share/classfile/defaultMethods.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp Changeset: a45a4b94 Author: Erik ?sterlund Date: 2022-08-24 13:11:23 +0000 URL: https://git.openjdk.org/loom/commit/a45a4b9465d7d01715425000c4fd47c0aa3e76ca 8292194: G1 nmethod entry barrier disarm value wraps around too early Reviewed-by: ayang, tschatzl ! src/hotspot/share/gc/shared/barrierSetNMethod.cpp Changeset: c0623972 Author: Aleksey Shipilev Date: 2022-08-24 13:19:43 +0000 URL: https://git.openjdk.org/loom/commit/c0623972cffdbcd7f80e84a1ec344fd382a4a5cc 8292713: Unsafe.allocateInstance should be intrinsified without UseUnalignedAccesses Reviewed-by: psandoz, kvn, fyang ! src/hotspot/share/classfile/vmIntrinsics.cpp Changeset: 71ab5c95 Author: Tyler Steele Date: 2022-08-24 13:43:55 +0000 URL: https://git.openjdk.org/loom/commit/71ab5c95af28497fb31aba8ba9597da71bc4d3d5 8292816: GPL Classpath exception missing from assemblyprefix.h Reviewed-by: stuefe, ihse ! make/data/autoheaders/assemblyprefix.h Changeset: 3c2289d6 Author: Jayashree Huttanagoudar Committer: Weijun Wang Date: 2022-08-24 15:47:12 +0000 URL: https://git.openjdk.org/loom/commit/3c2289d65157fca3f303d2fe703b31ef53b2f5bf 8215916: The failure reason of an optional JAAS LoginModule is not logged Reviewed-by: weijun ! src/java.base/share/classes/javax/security/auth/login/LoginContext.java + test/jdk/javax/security/auth/login/LoginContext/OptionalJaas/UnixNTPlatform.java Changeset: 69448f9c Author: Johan Sj?l?n Committer: Coleen Phillimore Date: 2022-08-24 15:50:21 +0000 URL: https://git.openjdk.org/loom/commit/69448f9c1a9b123be8ef63bb039111a8976a8da6 8292679: Simplify thread creation in gtest and port 2 tests to new way Reviewed-by: rehn, coleenp, stuefe ! test/hotspot/gtest/classfile/test_symbolTable.cpp ! test/hotspot/gtest/threadHelper.inline.hpp ! test/hotspot/gtest/utilities/test_globalCounter.cpp Changeset: 568be58e Author: Harshitha Onkar Committer: Alexey Ivanov Date: 2022-08-24 16:23:23 +0000 URL: https://git.openjdk.org/loom/commit/568be58e8521e5e87baca1872ba8cc1941607bb7 8290469: Add new positioning options to PassFailJFrame test framework Reviewed-by: prr, aivanov ! test/jdk/java/awt/Dialog/ModalDialogTest/ModalDialogTest.java ! test/jdk/java/awt/TrayIcon/TrayIconScalingTest.java ! test/jdk/java/awt/print/PrinterJob/ImagePrinting/ClippedImages.java ! test/jdk/java/awt/print/PrinterJob/PrintGlyphVectorTest.java ! test/jdk/java/awt/print/PrinterJob/PrintLatinCJKTest.java ! test/jdk/java/awt/regtesthelpers/PassFailJFrame.java ! test/jdk/javax/swing/JRadioButton/bug4380543.java ! test/jdk/javax/swing/JTabbedPane/4209065/bug4209065.java ! test/jdk/javax/swing/JTable/PrintAllPagesTest.java ! test/jdk/javax/swing/text/html/HtmlScriptTagParserTest.java Changeset: 14623c60 Author: Valerie Peng Date: 2022-08-24 18:23:19 +0000 URL: https://git.openjdk.org/loom/commit/14623c6087105a4228ff190e9e27372729b2bc4b 8292739: Invalid legacy entries may be returned by Provider.getServices() call Reviewed-by: weijun ! src/java.base/share/classes/java/security/Provider.java ! test/jdk/java/security/Provider/CaseSensitiveServices.java Changeset: 76ee5495 Author: Ioi Lam Date: 2022-08-24 22:39:52 +0000 URL: https://git.openjdk.org/loom/commit/76ee5495cd00f5546a5748051cc36965a8e936db 8292329: Enable CDS shared heap for zero builds Reviewed-by: shade, erikj, ihse ! make/Images.gmk Changeset: 7b81a9c7 Author: Ramkumar Sunderbabu Committer: Leonid Mesnik Date: 2022-08-25 01:37:54 +0000 URL: https://git.openjdk.org/loom/commit/7b81a9c75d60f6eb2727515bacfffcf7cf15e128 8289764: gc/lock tests failed with "OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects" Reviewed-by: lmesnik ! test/hotspot/jtreg/TEST.quick-groups ! test/hotspot/jtreg/vmTestbase/gc/lock/LockerTest.java ! test/hotspot/jtreg/vmTestbase/gc/lock/jni/jnilock001/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jni/jnilock002/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jni/jnilock002/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jni/jnilock003/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jni/jnilock003/TestDescription.java ! test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock01/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock02/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock02/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock03/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock03/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock04/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock04/TestDescription.java ! test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock01/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock02/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock02/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock03/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock03/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock04/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock04/TestDescription.java ! test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock01/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock02/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock02/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock03/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock03/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock04/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock04/TestDescription.java ! test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock01/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock02/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock02/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock03/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock03/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock04/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock04/TestDescription.java ! test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock01/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock02/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock02/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock03/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock03/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock04/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock04/TestDescription.java ! test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock01/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock02/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock02/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock03/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock03/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock04/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock04/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/share/gc/gp/GarbageUtils.java Changeset: 42a192f3 Author: Alan Bateman Date: 2022-08-30 15:00:34 +0000 URL: https://git.openjdk.org/loom/commit/42a192f360856c206b2d681cbd3a275d228f54e4 Merge with jdk-20+12 ! make/RunTests.gmk ! make/autoconf/configure.ac ! make/autoconf/lib-tests.m4 ! make/conf/jib-profiles.js ! src/hotspot/share/runtime/globals.hpp ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt ! make/RunTests.gmk ! make/autoconf/configure.ac ! make/autoconf/lib-tests.m4 ! make/conf/jib-profiles.js ! src/hotspot/share/runtime/globals.hpp ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt From duke at openjdk.org Tue Aug 30 15:09:21 2022 From: duke at openjdk.org (duke) Date: Tue, 30 Aug 2022 15:09:21 GMT Subject: git: openjdk/loom: master: 93 new changesets Message-ID: <926f41d3-3421-4177-ab70-ccb4b72e243b@openjdk.org> Changeset: 0d96546a Author: Harold Seigel Date: 2022-08-17 19:56:14 +0000 URL: https://git.openjdk.org/loom/commit/0d96546ab93600f17877e5db2770e4125916bcda 8292054: Test runtime/posixSig/TestPosixSig.java fails with 'Test failed, bad output.' Reviewed-by: coleenp, stuefe ! make/test/JtregNativeHotspot.gmk ! src/hotspot/os/posix/signals_posix.cpp ! src/hotspot/os/windows/os_windows.cpp ! src/hotspot/share/runtime/jniPeriodicChecker.cpp ! src/hotspot/share/runtime/os.hpp + test/hotspot/gtest/runtime/test_signals.cpp - test/hotspot/jtreg/runtime/posixSig/TestPosixSig.java - test/hotspot/jtreg/runtime/posixSig/libTestPsig.c Changeset: 32d675ca Author: Christian Hagedorn Date: 2022-08-18 07:35:14 +0000 URL: https://git.openjdk.org/loom/commit/32d675ca607d341ca3428efc32e212701775e3c6 8291775: C2: assert(r != __null && r->is_Region()) failed: this phi must have a region Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/stringopts.cpp ! test/hotspot/jtreg/compiler/c2/Test7179138_1.java Changeset: 2ee9491a Author: Christian Hagedorn Date: 2022-08-18 07:36:15 +0000 URL: https://git.openjdk.org/loom/commit/2ee9491a60c956da94debfbf0195f9339403ea98 8289051: C2: Cleanup PhaseCCP::analyze() Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/phaseX.hpp Changeset: d5435642 Author: Hannes Walln?fer Date: 2022-08-18 09:02:16 +0000 URL: https://git.openjdk.org/loom/commit/d5435642f9671766ecbcbf744ecd8e62fb929a69 8289334: Use CSS variables to define fonts and colors Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDoclet.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java - src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/jquery-ui.overrides.css ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DocPaths.java ! test/langtools/jdk/javadoc/doclet/AccessH1/AccessH1.java ! test/langtools/jdk/javadoc/doclet/checkStylesheetClasses/CheckStylesheetClasses.java ! test/langtools/jdk/javadoc/doclet/testDocEncoding/TestDocEncoding.java ! test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java ! test/langtools/jdk/javadoc/doclet/testStylesheet/TestStylesheet.java ! test/langtools/jdk/javadoc/tool/api/basic/APITest.java Changeset: f2773f64 Author: Coleen Phillimore Date: 2022-08-18 11:26:08 +0000 URL: https://git.openjdk.org/loom/commit/f2773f6404970481ed960ce132dac01feced2eac 8292556: Clean up unused Hashtable instantiations Reviewed-by: hseigel, dholmes ! src/hotspot/share/utilities/hashtable.cpp Changeset: d00e7b92 Author: Albert Mingkun Yang Date: 2022-08-18 14:00:36 +0000 URL: https://git.openjdk.org/loom/commit/d00e7b92b4a6d33f5db6e2aedce5e058832a23de 8292544: G1: Remove virtual specifier for methods in G1EdenRegions and G1SurvivorRegions Reviewed-by: lkorinth, tschatzl ! src/hotspot/share/gc/g1/g1EdenRegions.hpp ! src/hotspot/share/gc/g1/g1SurvivorRegions.hpp Changeset: f567fa0f Author: Joe Darcy Date: 2022-08-18 16:09:26 +0000 URL: https://git.openjdk.org/loom/commit/f567fa0fd53c519cdda1da8a7aaa0df895abc6e9 8292498: java/lang/invoke/lambda/LogGeneratedClassesTest.java failed with "AssertionError: only show error once expected [1] but found [0]" Reviewed-by: psandoz, mchung, jpai, rriggs ! src/java.base/share/classes/java/lang/reflect/AccessFlag.java ! test/jdk/ProblemList.txt Changeset: 20a3cb7c Author: chigiriki Committer: Erik Gahlin Date: 2022-08-18 16:46:16 +0000 URL: https://git.openjdk.org/loom/commit/20a3cb7ce348dabb71292d19a979a8c12cfe3c6d 8292488: JFR: Incorrect comment in ActiveRecordingEvent Reviewed-by: egahlin ! src/jdk.jfr/share/classes/jdk/jfr/events/ActiveRecordingEvent.java Changeset: 62a7fc60 Author: Christian Stein Committer: Vicente Romero Date: 2022-08-18 17:26:14 +0000 URL: https://git.openjdk.org/loom/commit/62a7fc60d3b3a27525fc01930834dab6f89bd451 8292315: Tests should not rely on specific JAR file names (hotspot) Reviewed-by: vromero ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/CDSStreamTestDriver.java Changeset: 833bf069 Author: Tyler Steele Date: 2022-08-18 18:02:46 +0000 URL: https://git.openjdk.org/loom/commit/833bf06905bb616782bdba6947b1edfaf479310f 8292608: [AIX] Broken build after 8291945 Reviewed-by: shade ! src/hotspot/os/aix/os_aix.cpp Changeset: 97e26894 Author: Tomas Zezula Committer: Doug Simon Date: 2022-08-18 21:53:04 +0000 URL: https://git.openjdk.org/loom/commit/97e26894702297009c5a6dfd0053e38cd5863400 8288121: [JVMCI] Re-export the TerminatingThreadLocal functionality to the graal compiler. Reviewed-by: dnsimon, never ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.services/src/jdk/vm/ci/services/Services.java Changeset: 1b756bfa Author: Jonathan Gibbons Date: 2022-08-18 21:57:05 +0000 URL: https://git.openjdk.org/loom/commit/1b756bfa3a1be2004af3ea12e86199ca0604c841 8236048: Cleanup use of Utils.normalizeNewlines Reviewed-by: hannesw ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/AbstractExecutableMemberWriter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/DocFilesHandlerImpl.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDocletWriter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlLinkFactory.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/Signatures.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/SourceToHTMLConverter.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/Table.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TableHeader.java ! 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/BodyContents.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Comment.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/ContentBuilder.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Entity.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Head.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlDocument.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlTree.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/RawHtml.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Script.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Text.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/TextBuilder.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/BaseOptions.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/Content.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DocFile.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DocletConstants.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Utils.java ! test/langtools/jdk/javadoc/doclet/testHtmlDocument/TestHtmlDocument.java Changeset: a1df2da6 Author: Daniel D. Daugherty Date: 2022-08-18 22:17:49 +0000 URL: https://git.openjdk.org/loom/commit/a1df2da6684ff9d934ddb2f4f4932b57af678dc2 8292632: compiler/sharedstubs/SharedTrampolineTest.java fails with "Error: VM option 'PrintRelocations' is develop and is available only in debug version of VM." Reviewed-by: dholmes ! test/hotspot/jtreg/compiler/sharedstubs/SharedTrampolineTest.java Changeset: 54ce1143 Author: Weijun Wang Date: 2022-08-18 22:35:13 +0000 URL: https://git.openjdk.org/loom/commit/54ce11431d194c23d3b674bcc54be1acf94e7f89 6587699: Document DigestInputStream behavior when skip() or mark() / reset() is used Reviewed-by: wetmore ! src/java.base/share/classes/java/security/DigestInputStream.java + test/jdk/java/security/DigestInputStream/TestSkipAndReset.java Changeset: 82dbe29f Author: Christian Stein Committer: Daniel D. Daugherty Date: 2022-08-18 23:29:39 +0000 URL: https://git.openjdk.org/loom/commit/82dbe29fc8327f6992703f54181c3e42beb99ccf 8292633: runtime/cds/appcds/dynamicArchive/CDSStreamTestDriver.java fails to compile Reviewed-by: dcubed, dholmes ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/CDSStreamTestDriver.java Changeset: f85411f2 Author: Kim Barrett Date: 2022-08-19 01:49:52 +0000 URL: https://git.openjdk.org/loom/commit/f85411f24a0cf55f8718aadd2297d95feb95564b 8292458: Atomic operations on scoped enums don't build with clang Reviewed-by: eosterlund, stefank ! src/hotspot/share/metaprogramming/primitiveConversions.hpp ! src/hotspot/share/runtime/atomic.hpp ! test/hotspot/gtest/metaprogramming/test_primitiveConversions.cpp + test/hotspot/gtest/runtime/test_atomic.cpp Changeset: 964aac28 Author: Ioi Lam Date: 2022-08-19 03:04:08 +0000 URL: https://git.openjdk.org/loom/commit/964aac28fe4a33f9e86cc07895a7ff4cdbaec3e6 8292499: CDS ArchivedEnumTest.java fails: object points to a static field that may be reinitialized Reviewed-by: dholmes, ccheung ! src/hotspot/share/cds/cdsHeapVerifier.cpp ! test/hotspot/jtreg/ProblemList.txt Changeset: 2edd5501 Author: Ioi Lam Date: 2022-08-19 03:05:13 +0000 URL: https://git.openjdk.org/loom/commit/2edd5501054df5792316bcd32208e603d43951c4 8292312: Work around memset() called operator new Reviewed-by: dcubed ! src/hotspot/share/runtime/synchronizer.cpp ! src/hotspot/share/runtime/synchronizer.hpp ! src/hotspot/share/utilities/resourceHash.hpp Changeset: 7d18ebd8 Author: Axel Boldt-Christmas Committer: Thomas Schatzl Date: 2022-08-19 08:29:36 +0000 URL: https://git.openjdk.org/loom/commit/7d18ebd870bb6aa409fd4e7b622400fd9a8f7d30 8292606: G1 and Epsilon header cleanup for JDK-8282729 Reviewed-by: ayang, shade, tschatzl ! src/hotspot/share/gc/epsilon/epsilonHeap.hpp ! src/hotspot/share/gc/g1/g1CollectionSetChooser.hpp ! src/hotspot/share/gc/g1/g1FullGCScope.cpp ! src/hotspot/share/gc/g1/g1HeapRegionEventSender.cpp ! src/hotspot/share/gc/g1/g1HeapSizingPolicy.cpp ! src/hotspot/share/gc/g1/g1MemoryPool.cpp ! src/hotspot/share/gc/g1/g1NUMA.cpp ! src/hotspot/share/gc/g1/g1RegionToSpaceMapper.cpp ! src/hotspot/share/gc/g1/g1SegmentedArrayFreeMemoryTask.cpp Changeset: 63a126aa Author: Albert Mingkun Yang Date: 2022-08-19 08:43:20 +0000 URL: https://git.openjdk.org/loom/commit/63a126aa2d6d7645c9cac6d3f9f0b87473cf7478 8292607: Remove unused dirty and dirty_card_range_after_reset in CardTable Reviewed-by: tschatzl ! src/hotspot/share/gc/shared/cardTable.cpp ! src/hotspot/share/gc/shared/cardTable.hpp Changeset: 1f484dae Author: Joe Committer: Fairoz Matte Date: 2022-08-19 08:55:58 +0000 URL: https://git.openjdk.org/loom/commit/1f484dae4efaa60cf18a3d4df947c05f1497bd5b 8289562: Change bugs.java.com and bugreport.java.com URL's to https Co-authored-by: Joe Cherian Reviewed-by: prr, jjg, naoto, iris ! src/java.desktop/macosx/native/libosxapp/AWT_debug.h ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac_de.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac_ja.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac_zh_CN.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets_de.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets_ja.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/doclets_zh_CN.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/resources/javadoc.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/resources/javadoc_de.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/resources/javadoc_ja.properties ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/tool/resources/javadoc_zh_CN.properties ! src/jdk.jlink/share/classes/jdk/tools/jlink/resources/jlink.properties ! src/jdk.jlink/share/classes/jdk/tools/jlink/resources/jlink_de.properties ! src/jdk.jlink/share/classes/jdk/tools/jlink/resources/jlink_ja.properties ! src/jdk.jlink/share/classes/jdk/tools/jlink/resources/jlink_zh_CN.properties Changeset: f2f0cd86 Author: Pengfei Li Date: 2022-08-19 09:09:18 +0000 URL: https://git.openjdk.org/loom/commit/f2f0cd86bf4dce4633f484476077fd090549780e 8292511: AArch64: Align CPU feature name for NEON with hwcap Reviewed-by: aph, njian ! src/hotspot/cpu/aarch64/vm_version_aarch64.hpp ! test/hotspot/jtreg/compiler/vectorapi/AllBitsSetVectorMatchRuleTest.java ! test/hotspot/jtreg/compiler/vectorapi/TestReverseByteTransforms.java ! test/hotspot/jtreg/compiler/vectorapi/VectorLogicalOpIdentityTest.java ! test/hotspot/jtreg/compiler/vectorapi/reshape/TestVectorCastNeon.java Changeset: 37aa7c16 Author: Harold Seigel Date: 2022-08-19 12:19:35 +0000 URL: https://git.openjdk.org/loom/commit/37aa7c165dac13b7d6bb2b3c9814e1ec3fc4a730 8292559: Add test for -XX:+CheckJNICalls showing changed signal handlers Reviewed-by: stuefe, coleenp ! make/test/JtregNativeHotspot.gmk + test/hotspot/jtreg/runtime/posixSig/TestPosixSig.java + test/hotspot/jtreg/runtime/posixSig/libTestPsig.c Changeset: 5ca268ca Author: Brian Burkhalter Date: 2022-08-19 15:03:11 +0000 URL: https://git.openjdk.org/loom/commit/5ca268ca65f3619139abeddd1070306db406ccc1 8292636: (dc) Problem listing of java/nio/channels/DatagramChannel/Unref.java has incorrect issue ID Reviewed-by: jpai ! test/jdk/ProblemList.txt Changeset: 58aae340 Author: Joe Darcy Date: 2022-08-19 15:56:12 +0000 URL: https://git.openjdk.org/loom/commit/58aae340a9892889ef8784ef9360bb7e0af85ddd 8292576: Improve wording of AccessFlag-related specs Reviewed-by: alanb ! src/java.base/share/classes/java/lang/module/ModuleDescriptor.java ! src/java.base/share/classes/java/lang/reflect/AccessFlag.java Changeset: 45dec480 Author: Robbin Ehn Date: 2022-08-19 16:05:08 +0000 URL: https://git.openjdk.org/loom/commit/45dec480ef6f1d5509f4afbbf414c69584ac252e 8292592: JFR test TestNative is not reliable due to low rate of sampling. Reviewed-by: egahlin, shade + test/jdk/jdk/jfr/event/profiling/TestNative.java + test/jdk/jdk/jfr/event/profiling/TestSamplingLongPeriod.java - test/jdk/jdk/jfr/event/sampling/TestNative.java Changeset: 1f3578b7 Author: Johan Sj?l?n Committer: Coleen Phillimore Date: 2022-08-19 16:39:32 +0000 URL: https://git.openjdk.org/loom/commit/1f3578b79c6355b976d64756da7e4a8af32c2987 8292446: Make TableRateStatistics optional in CHT Reviewed-by: coleenp, rehn ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/classfile/symbolTable.cpp ! src/hotspot/share/gc/g1/g1CardSet.cpp ! src/hotspot/share/services/finalizerService.cpp ! src/hotspot/share/services/threadIdTable.cpp ! src/hotspot/share/utilities/concurrentHashTable.hpp ! src/hotspot/share/utilities/concurrentHashTable.inline.hpp ! src/hotspot/share/utilities/tableStatistics.hpp Changeset: 7244dd6f Author: Ioi Lam Date: 2022-08-19 17:25:12 +0000 URL: https://git.openjdk.org/loom/commit/7244dd6fab0c516ed76af594593b8378512620c8 8292267: Clean up synchronizer.hpp Reviewed-by: coleenp, dcubed, dholmes ! src/hotspot/cpu/aarch64/frame_aarch64.hpp ! src/hotspot/cpu/arm/frame_arm.hpp ! src/hotspot/cpu/ppc/frame_ppc.hpp ! src/hotspot/cpu/riscv/frame_riscv.hpp ! src/hotspot/cpu/s390/frame_s390.hpp ! src/hotspot/cpu/x86/frame_x86.hpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/gc/shenandoah/shenandoahPadding.hpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/oops/oop.cpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/prims/jvmtiExport.hpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/monitorChunk.hpp ! src/hotspot/share/runtime/monitorDeflationThread.cpp ! src/hotspot/share/runtime/synchronizer.cpp ! src/hotspot/share/runtime/synchronizer.hpp ! src/hotspot/share/runtime/vmOperations.hpp ! src/hotspot/share/services/threadService.hpp Changeset: 6a8a5313 Author: Vladimir Ivanov Date: 2022-08-19 19:13:26 +0000 URL: https://git.openjdk.org/loom/commit/6a8a531359295849113aa14fd6cba21c886decf3 8292564: x86: Remove redundant casts in Assembler usages Reviewed-by: iveresov, kvn, shade ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp ! src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c1_Runtime1_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/gc/g1/g1BarrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/gc/shared/barrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/gc/shenandoah/shenandoahBarrierSetAssembler_x86.cpp ! src/hotspot/cpu/x86/interp_masm_x86.cpp ! src/hotspot/cpu/x86/interp_masm_x86.hpp ! src/hotspot/cpu/x86/interpreterRT_x86_32.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.hpp ! src/hotspot/cpu/x86/sharedRuntime_x86.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_32.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_32.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/cpu/x86/templateInterpreterGenerator_x86.cpp ! src/hotspot/cpu/x86/templateTable_x86.cpp ! src/hotspot/cpu/x86/vtableStubs_x86_32.cpp ! src/hotspot/cpu/x86/vtableStubs_x86_64.cpp ! src/hotspot/cpu/x86/x86_64.ad Changeset: 57aac2ab Author: Ioi Lam Date: 2022-08-19 19:16:33 +0000 URL: https://git.openjdk.org/loom/commit/57aac2ab6569c18a56e9a36f174bb0bf09955f83 8290981: Enable CDS for zero builds Co-authored-by: Aleksey Shipilev Reviewed-by: erikj, shade, ihse ! make/Images.gmk ! make/autoconf/jvm-features.m4 ! src/hotspot/share/interpreter/zero/bytecodeInterpreter.cpp ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/JFRDynamicCDS.java ! test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveNoDefaultArchive.java Changeset: 74d3330e Author: Weijun Wang Date: 2022-08-19 19:57:42 +0000 URL: https://git.openjdk.org/loom/commit/74d3330e106f2f920bf264356e4f25f8f6c11580 8292682: Code change of JDK-8282730 not updated to reflect CSR update Reviewed-by: xuelei, hchao ! src/java.base/share/classes/javax/security/auth/spi/LoginModule.java Changeset: df5209e7 Author: Weijun Wang Date: 2022-08-19 19:58:44 +0000 URL: https://git.openjdk.org/loom/commit/df5209e70fd92ec6bda4e7356a3ad121732f6c66 8292683: Remove BadKeyUsageTest.java from Problem List Reviewed-by: xuelei, hchao ! test/jdk/ProblemList.txt Changeset: 235151ea Author: Weijun Wang Date: 2022-08-19 19:59:39 +0000 URL: https://git.openjdk.org/loom/commit/235151ead89f9102e3a57ba8f88807f180887866 8292676: Remove two kerberos tests from problem list Reviewed-by: xuelei, hchao ! test/jdk/ProblemList.txt Changeset: 07c9ba74 Author: Coleen Phillimore Date: 2022-08-19 20:47:24 +0000 URL: https://git.openjdk.org/loom/commit/07c9ba74fa3baebffcc15d3ee6ef941edf6be1a3 8292686: runtime/cds/appcds/TestWithProfiler.java SIGSEGV in TableStatistics ctr Reviewed-by: dcubed, hseigel ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/classfile/symbolTable.cpp Changeset: 44532009 Author: Vladimir Ivanov Date: 2022-08-20 00:38:38 +0000 URL: https://git.openjdk.org/loom/commit/44532009fff11884aa6f16a997b771c41cb01d2f 8292628: x86: Improve handling of constants in trigonometric stubs Reviewed-by: shade, kvn ! src/hotspot/cpu/x86/macroAssembler_x86.hpp + src/hotspot/cpu/x86/macroAssembler_x86_constants.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_cos.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_exp.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_log.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_log10.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_pow.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_sha.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_sin.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_tan.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_32.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/cpu/x86/stubRoutines_x86.cpp ! src/hotspot/cpu/x86/stubRoutines_x86.hpp Changeset: 37c0a136 Author: Andrey Turbanov Date: 2022-08-20 10:05:48 +0000 URL: https://git.openjdk.org/loom/commit/37c0a13647e74fd02823a3f621e986f96904b933 8292350: Use static methods for hashCode/toString primitives Reviewed-by: prr, rriggs, amenkov, jpai ! src/java.desktop/macosx/classes/com/apple/laf/ScreenMenu.java ! src/java.management/share/classes/javax/management/openmbean/ArrayType.java ! src/java.sql.rowset/share/classes/com/sun/rowset/internal/WebRowSetXmlWriter.java ! src/jdk.hotspot.agent/share/classes/com/sun/java/swing/ui/WizardDlg.java Changeset: 3601e30d Author: Kevin Walls Date: 2022-08-20 14:20:29 +0000 URL: https://git.openjdk.org/loom/commit/3601e30df794db122d8d04fb3c04868ccbaa0baf 8290909: MemoryPoolMBean/isUsageThresholdExceeded tests failed with "isUsageThresholdExceeded() returned false, and is still false, while threshold = MMMMMMM and used peak = NNNNNNN" Reviewed-by: cjplummer, amenkov ! test/hotspot/jtreg/vmTestbase/nsk/monitoring/MemoryPoolMBean/isUsageThresholdExceeded/isexceeded001.java Changeset: 2fbb9362 Author: Ioi Lam Date: 2022-08-20 23:17:57 +0000 URL: https://git.openjdk.org/loom/commit/2fbb9362032df26582c389b7114cf0a215ed3afd 8292691: Move CompilerConfig::is_xxx() inline functions out of compilerDefinitions.hpp Reviewed-by: kvn, iveresov ! src/hotspot/cpu/aarch64/c1_LIRGenerator_aarch64.cpp ! src/hotspot/cpu/aarch64/gc/shenandoah/c1/shenandoahBarrierSetC1_aarch64.cpp ! src/hotspot/cpu/aarch64/templateTable_aarch64.cpp ! src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c1_Runtime1_x86.cpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/share/asm/codeBuffer.hpp ! src/hotspot/share/c1/c1_Compilation.hpp ! src/hotspot/share/c1/c1_LIRAssembler.cpp ! src/hotspot/share/c1/c1_LIRGenerator.cpp ! src/hotspot/share/ci/ciEnv.hpp ! src/hotspot/share/ci/ciMethod.cpp ! src/hotspot/share/ci/ciReplay.cpp ! src/hotspot/share/code/codeCache.cpp ! src/hotspot/share/compiler/compilationPolicy.cpp ! src/hotspot/share/compiler/compilerDefinitions.cpp ! src/hotspot/share/compiler/compilerDefinitions.hpp + src/hotspot/share/compiler/compilerDefinitions.inline.hpp ! src/hotspot/share/compiler/compilerDirectives.cpp ! src/hotspot/share/gc/shared/cardTableBarrierSet.cpp ! src/hotspot/share/gc/shared/referenceProcessor.cpp ! src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp ! src/hotspot/share/jvmci/jvmciCompiler.cpp ! src/hotspot/share/oops/methodData.cpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/flags/jvmFlagConstraintsCompiler.cpp Changeset: f9004fe4 Author: Thomas Stuefe Date: 2022-08-21 06:59:20 +0000 URL: https://git.openjdk.org/loom/commit/f9004fe4438c30eb639e3c36e6531c306b836e36 8292561: Make "ReplayCompiles" a diagnostic product switch Reviewed-by: kvn, xliu ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/ci/ciEnv.hpp ! src/hotspot/share/ci/ciMethod.cpp ! src/hotspot/share/ci/ciMethodData.cpp ! src/hotspot/share/ci/ciObjectFactory.cpp ! src/hotspot/share/ci/ciReplay.cpp ! src/hotspot/share/ci/ciReplay.hpp ! src/hotspot/share/compiler/compiler_globals.hpp ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/runtime/arguments.cpp + test/hotspot/jtreg/compiler/ciReplay/TestInvalidReplayFile.java Changeset: 9a65524e Author: Sergey Tsypanov Committer: Claes Redestad Date: 2022-08-21 17:22:10 +0000 URL: https://git.openjdk.org/loom/commit/9a65524e2f98c1b4e253dcb637a708cec7b591bc 8290300: Use standard String-joining tools where applicable Reviewed-by: naoto, rriggs, dfuchs ! src/java.base/share/classes/java/lang/ProcessBuilder.java ! src/java.base/share/classes/java/util/Locale.java ! src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java ! src/java.base/windows/classes/sun/nio/fs/WindowsPath.java Changeset: 27b0f772 Author: Ioi Lam Date: 2022-08-22 03:43:27 +0000 URL: https://git.openjdk.org/loom/commit/27b0f7726b70127c0ed714cfc1041d3da71a9dc3 8292318: Memory corruption in remove_dumptime_info Reviewed-by: coleenp, ccheung ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp ! src/hotspot/share/interpreter/rewriter.cpp ! src/hotspot/share/oops/cpCache.cpp ! src/hotspot/share/oops/cpCache.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! test/hotspot/jtreg/runtime/cds/MaxMetaspaceSize.java Changeset: a3ec0bb0 Author: Thomas Schatzl Date: 2022-08-22 08:48:52 +0000 URL: https://git.openjdk.org/loom/commit/a3ec0bb03a5de805fc4b45477925aa18b875bc79 8253413: [REDO] [REDO] G1 incorrectly limiting young gen size when using the reserve can result in repeated full gcs Reviewed-by: iwalulya, kbarrett ! src/hotspot/share/gc/g1/g1Analytics.cpp ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp Changeset: 07c79772 Author: Bhavana Kilambi Committer: Nick Gasson Date: 2022-08-22 09:01:08 +0000 URL: https://git.openjdk.org/loom/commit/07c797720d68d5a36d438f2e9da8b72f247f22fc 8290249: Vectorize signum on AArch64 Reviewed-by: aph, ngasson ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.hpp ! test/hotspot/gtest/aarch64/aarch64-asmtest.py ! test/hotspot/gtest/aarch64/asmtest.out.h ! test/hotspot/jtreg/compiler/c2/cr6340864/TestDoubleVect.java ! test/hotspot/jtreg/compiler/c2/cr6340864/TestFloatVect.java ! test/hotspot/jtreg/compiler/vectorization/TestSignumVector.java Changeset: 7b5f9edb Author: Thomas Schatzl Date: 2022-08-22 09:07:34 +0000 URL: https://git.openjdk.org/loom/commit/7b5f9edb59ef763acca80724ca37f3624d720d06 8288966: Better handle very spiky promotion in G1 Reviewed-by: iwalulya, kbarrett ! src/hotspot/share/gc/g1/g1Allocator.cpp ! src/hotspot/share/gc/g1/g1Allocator.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp ! src/hotspot/share/gc/g1/g1EvacStats.cpp ! src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp ! src/hotspot/share/gc/g1/g1ParScanThreadState.cpp ! src/hotspot/share/gc/g1/g1ParScanThreadState.hpp Changeset: 79597f1e Author: KIRIYAMA Takuya Committer: Daniel Fuchs Date: 2022-08-22 09:22:59 +0000 URL: https://git.openjdk.org/loom/commit/79597f1ea6844f374beeeba219719cd9d5fe7d03 8272702: Resolving URI relative path with no / may lead to incorrect toString Reviewed-by: dfuchs, michaelm ! src/java.base/share/classes/java/net/URI.java ! test/jdk/java/net/URI/Test.java Changeset: 1ed03d82 Author: Julian Waters Committer: Magnus Ihse Bursie Date: 2022-08-22 11:00:17 +0000 URL: https://git.openjdk.org/loom/commit/1ed03d82b221d6fa54b855070944aec52366c658 8292226: Prepare make for better Link Time Optimization support Reviewed-by: ihse ! make/common/Utils.gmk ! make/hotspot/lib/JvmFeatures.gmk Changeset: a17fce75 Author: Prasanta Sadhukhan Date: 2022-08-22 11:13:33 +0000 URL: https://git.openjdk.org/loom/commit/a17fce7507c7d485d51f98fadd444235ea31058d 6445283: ProgressMonitorInputStream not large file aware (>2GB) Reviewed-by: azvegint, prr ! src/java.desktop/share/classes/javax/swing/ProgressMonitorInputStream.java + test/jdk/javax/swing/ProgressMonitor/ProgressTest.java Changeset: 476c484e Author: Albert Mingkun Yang Date: 2022-08-22 12:38:00 +0000 URL: https://git.openjdk.org/loom/commit/476c484e3778dddf2fb71f83524e691ce262370d 8292656: G1: Remove G1HotCardCache::_use_cache Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1FullGCPrepareTask.cpp ! src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp ! src/hotspot/share/gc/g1/g1HotCardCache.cpp ! src/hotspot/share/gc/g1/g1HotCardCache.hpp ! src/hotspot/share/gc/g1/g1RemSet.cpp ! src/hotspot/share/gc/g1/g1YoungCollector.cpp Changeset: c59f9b37 Author: Leo Korinth Date: 2022-08-22 12:52:31 +0000 URL: https://git.openjdk.org/loom/commit/c59f9b374b4497ab385675b0019c3647e6cddbbb 8287828: Fix so that one can select jtreg test case by ID from make Reviewed-by: erikj, iklam, ihse ! make/RunTests.gmk ! make/common/Utils.gmk Changeset: 16593cf5 Author: Magnus Ihse Bursie Date: 2022-08-22 13:07:23 +0000 URL: https://git.openjdk.org/loom/commit/16593cf51c3d994ba4a6d28ab97e519dfd53f37b 8292717: Clean up checking of testing requirements in configure Reviewed-by: erikj ! make/autoconf/configure.ac ! make/autoconf/jdk-options.m4 ! make/autoconf/lib-tests.m4 ! make/autoconf/toolchain.m4 Changeset: dcd78020 Author: Thomas Schatzl Date: 2022-08-22 13:16:38 +0000 URL: https://git.openjdk.org/loom/commit/dcd78020e4cd064061ac892c566c94fb744859c4 8292708: Rename G1ParScanThreadState::flush to flush_stats Reviewed-by: iwalulya, shade ! src/hotspot/share/gc/g1/g1ParScanThreadState.cpp ! src/hotspot/share/gc/g1/g1ParScanThreadState.hpp ! src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp Changeset: e5619339 Author: Eric Caspole Date: 2022-08-22 13:40:15 +0000 URL: https://git.openjdk.org/loom/commit/e561933907bbab0a42f1796fa12f582b3a347312 8292623: Reduce runtime of java.io microbenchmarks Reviewed-by: rriggs ! test/micro/org/openjdk/bench/java/io/DataOutputStreamTest.java ! test/micro/org/openjdk/bench/java/io/FileChannelRead.java ! test/micro/org/openjdk/bench/java/io/FileChannelWrite.java ! test/micro/org/openjdk/bench/java/io/FileRead.java ! test/micro/org/openjdk/bench/java/io/FileWrite.java ! test/micro/org/openjdk/bench/java/io/ObjectStreamClasses.java ! test/micro/org/openjdk/bench/java/io/RandomAccessRead.java ! test/micro/org/openjdk/bench/java/io/RandomAccessWrite.java ! test/micro/org/openjdk/bench/java/io/SerializationWriteReplace.java ! test/micro/org/openjdk/bench/java/io/UTF8.java Changeset: 256b5238 Author: Daniel Fuchs Date: 2022-08-22 14:14:41 +0000 URL: https://git.openjdk.org/loom/commit/256b52387b7267c234f03aac19422e59a77d956f 8292381: java/net/httpclient/SpecialHeadersTest.java fails with "ERROR: Shutting down connection: HTTP/2 client stopped" Reviewed-by: jpai ! test/jdk/java/net/httpclient/HttpServerAdapters.java ! test/jdk/java/net/httpclient/SpecialHeadersTest.java Changeset: db772276 Author: Harold Seigel Date: 2022-08-22 14:35:44 +0000 URL: https://git.openjdk.org/loom/commit/db772276848f6ad2d4d13e892bcd0eb3123d030f 8282684: Obsolete UseContainerCpuShares and PreferContainerQuotaForCPUCount flags Reviewed-by: dholmes, iklam, sgehwolf ! src/hotspot/os/linux/cgroupSubsystem_linux.cpp ! src/hotspot/os/linux/globals_linux.hpp ! src/jdk.management/unix/classes/com/sun/management/internal/OperatingSystemImpl.java ! test/hotspot/jtreg/containers/docker/TestCPUAwareness.java Changeset: 45c3e898 Author: Alexey Semenyuk Date: 2022-08-22 15:42:27 +0000 URL: https://git.openjdk.org/loom/commit/45c3e898ed538545921395372fe507e9111401e1 8292316: Tests should not rely on specific JAR file names (jpackage) Reviewed-by: almatvee ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/AppImageFileTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/ApplicationLayoutTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/CompareDottedVersionTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/DeployParamsTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/DottedVersionTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/EnquoterTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/InvalidDottedVersionTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/OverridableResourceTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/PathGroupTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/PlatformVersionTest.java ! test/jdk/tools/jpackage/junit/jdk/jpackage/internal/ToolValidatorTest.java - test/jdk/tools/jpackage/junit/junit.java - test/jdk/tools/jpackage/junit/run_junit.sh Changeset: f95ee796 Author: Brian Burkhalter Date: 2022-08-22 15:53:12 +0000 URL: https://git.openjdk.org/loom/commit/f95ee7960328410551a6948053d1ff0ec3d8c53d 8292566: Add reference to the java.nio.file package in java.nio package documentation Reviewed-by: iris, jpai, alanb ! src/java.base/share/classes/java/nio/package-info.java Changeset: aa9b8f04 Author: Naoto Sato Date: 2022-08-22 16:26:37 +0000 URL: https://git.openjdk.org/loom/commit/aa9b8f04bf74d5fa00f2b27895e7369abea3a930 8292043: Incorrect decoding near EOF for stateful decoders like UTF-16 Reviewed-by: joehw, alanb, lancea ! src/java.base/share/classes/sun/nio/cs/StreamDecoder.java + test/jdk/java/io/InputStreamReader/StatefulDecoderNearEOF.java Changeset: 8e8ee4b6 Author: Coleen Phillimore Date: 2022-08-22 18:43:51 +0000 URL: https://git.openjdk.org/loom/commit/8e8ee4b6f22657a7efba8d7998f3c309f334a086 8292596: Make SymbolHashMap a ResourceHashtable Reviewed-by: hseigel, dholmes ! src/hotspot/share/oops/constantPool.cpp ! src/hotspot/share/oops/constantPool.hpp ! src/hotspot/share/prims/jvmtiClassFileReconstituter.cpp ! src/hotspot/share/prims/jvmtiClassFileReconstituter.hpp Changeset: 8a0c3e53 Author: Daniel D. Daugherty Date: 2022-08-22 19:29:58 +0000 URL: https://git.openjdk.org/loom/commit/8a0c3e53d541395ac32d656ac64d20ca0b9a187c 8292261: adjust timeouts in JLI GetObjectSizeIntrinsicsTest.java Reviewed-by: cjplummer ! test/jdk/java/lang/instrument/GetObjectSizeIntrinsicsTest.java Changeset: 54843b70 Author: Daniel D. Daugherty Date: 2022-08-22 19:30:50 +0000 URL: https://git.openjdk.org/loom/commit/54843b700a463e75cd23a23df8ec5dc73b80f105 8290211: jdk/internal/vm/Continuation/Fuzz.java failed with "AssertionError: Failed to compile int Fuzz.com_int(int,int) in 5000ms" Reviewed-by: lmesnik, alanb, jiefu ! test/jdk/jdk/internal/vm/Continuation/Fuzz.java Changeset: ab698859 Author: Daniel D. Daugherty Date: 2022-08-22 19:31:50 +0000 URL: https://git.openjdk.org/loom/commit/ab6988599cded028ebfc4c958bc9e88d1b365ad7 8292215: java/util/stream/boottest/java.base/java/util/stream/SpinedBufferTest.java times out with slowdebug Reviewed-by: rriggs, shade + test/jdk/java/util/stream/boottest/java.base/java/util/stream/AbstractSpinedBufferTest.java + test/jdk/java/util/stream/boottest/java.base/java/util/stream/SpinedBufferDoubleTest.java + test/jdk/java/util/stream/boottest/java.base/java/util/stream/SpinedBufferIntTest.java + test/jdk/java/util/stream/boottest/java.base/java/util/stream/SpinedBufferIntegerTest.java + test/jdk/java/util/stream/boottest/java.base/java/util/stream/SpinedBufferLongTest.java - test/jdk/java/util/stream/boottest/java.base/java/util/stream/SpinedBufferTest.java Changeset: f58aaab4 Author: Daniel D. Daugherty Date: 2022-08-22 19:32:40 +0000 URL: https://git.openjdk.org/loom/commit/f58aaab4a40f09be03d77a8df8dfefa94e47b320 8292262: adjust timeouts in several M&M tests Reviewed-by: cjplummer ! test/hotspot/jtreg/vmTestbase/nsk/monitoring/stress/classload/load008/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/monitoring/stress/classload/load009/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/monitoring/stress/classload/unload002/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/monitoring/stress/classload/unload008/TestDescription.java Changeset: 27af0144 Author: Coleen Phillimore Date: 2022-08-22 20:31:31 +0000 URL: https://git.openjdk.org/loom/commit/27af0144ea57e86d9b81c2b328fad66e4a046f61 8292743: Missing include resourceHash.hpp Reviewed-by: dcubed, stefank ! src/hotspot/share/oops/constantPool.hpp Changeset: 38a81913 Author: Jatin Bhateja Date: 2022-08-22 23:59:58 +0000 URL: https://git.openjdk.org/loom/commit/38a81913d33c856d64b7c26f934026815a482e43 8290322: Optimize Vector.rearrange over byte vectors for AVX512BW targets. Reviewed-by: kvn, sviswanathan ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.hpp ! src/hotspot/cpu/x86/x86.ad + test/micro/org/openjdk/bench/jdk/incubator/vector/RearrangeBytesBenchmark.java Changeset: 4da17458 Author: Xiaohong Gong Date: 2022-08-23 01:30:05 +0000 URL: https://git.openjdk.org/loom/commit/4da1745836550224306ca66201c35a5baaf30953 8291118: [vectorapi] Optimize the implementation of lanewise FIRST_NONZERO Reviewed-by: eliu, psandoz ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ByteVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/DoubleVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/FloatVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/IntVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/LongVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ShortVector.java ! src/jdk.incubator.vector/share/classes/jdk/incubator/vector/X-Vector.java.template Changeset: a85a7234 Author: Thomas Stuefe Date: 2022-08-23 05:05:15 +0000 URL: https://git.openjdk.org/loom/commit/a85a72341bd840b2c7b66ce32c8bbca920e519c8 8292351: tty should always live Reviewed-by: clanger, coleenp, dholmes ! src/hotspot/share/utilities/ostream.cpp ! src/hotspot/share/utilities/ostream.hpp Changeset: 259ba86c Author: Doug Simon Date: 2022-08-23 07:24:53 +0000 URL: https://git.openjdk.org/loom/commit/259ba86c60c9f17ac7302f73cd1e3532474c9f18 8290075: [JVMCI] only blessed methods can link against EventWriterFactory.getEventWriter Reviewed-by: mgronlun ! src/hotspot/share/jfr/instrumentation/jfrResolution.cpp ! src/hotspot/share/jfr/instrumentation/jfrResolution.hpp ! src/hotspot/share/jfr/jfr.cpp ! src/hotspot/share/jfr/jfr.hpp ! src/hotspot/share/jvmci/jvmciCompilerToVM.cpp ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code/StackLockValue.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotConstantPool.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCICompilerConfig.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/ConstantPool.java ! test/hotspot/jtreg/compiler/jvmci/common/patches/jdk.internal.vm.ci/jdk/vm/ci/hotspot/CompilerToVMHelper.java ! test/jdk/jdk/jfr/jvm/TestGetEventWriter.java Changeset: 84936e92 Author: Matthias Baesken Date: 2022-08-23 07:31:43 +0000 URL: https://git.openjdk.org/loom/commit/84936e9278100fc641a9c6df3cc5fc18c0386c32 8292586: simplify cleanups in NTLMAuthSequence getCredentialsHandle Reviewed-by: michaelm ! src/java.base/windows/native/libnet/NTLMAuthSequence.c Changeset: b4e1aa87 Author: Andrey Turbanov Date: 2022-08-23 07:44:01 +0000 URL: https://git.openjdk.org/loom/commit/b4e1aa87e3caa56bde52120bb3d84da53e7ebaa3 8289658: Avoid redundant LinkedHashMap.get call in TagletManager.addNewSimpleCustomTag Reviewed-by: attila, prappo ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/TagletManager.java Changeset: 486f90c1 Author: Magnus Ihse Bursie Date: 2022-08-23 07:45:03 +0000 URL: https://git.openjdk.org/loom/commit/486f90c134f3b8562221839f8a3aefa74ae0d070 8292716: Configure should check that jtreg is of the required version Reviewed-by: erikj ! make/autoconf/lib-tests.m4 Changeset: d92e00a5 Author: Magnus Ihse Bursie Date: 2022-08-23 08:32:02 +0000 URL: https://git.openjdk.org/loom/commit/d92e00a5191e8b50a5a17e3cd0105dbfb5a00281 8292763: JDK-8292716 breaks configure without jtreg Reviewed-by: alanb ! make/autoconf/lib-tests.m4 Changeset: cf006774 Author: Martin Doerr Date: 2022-08-23 08:58:53 +0000 URL: https://git.openjdk.org/loom/commit/cf0067741249cc3260b1d220769dac408b614f22 8292368: [ppc64] internal error g1BarrierSet.inline.hpp assert(oopDesc::is_oop(pre_val, true)) failed: Error Reviewed-by: eosterlund, shade ! src/hotspot/share/gc/shared/barrierSetNMethod.cpp Changeset: cc287832 Author: Coleen Phillimore Date: 2022-08-23 13:42:37 +0000 URL: https://git.openjdk.org/loom/commit/cc287832c2f5e58a37468952fdcdb8c326d07118 8292777: Remove hashtable.hpp from dependencies.hpp Reviewed-by: chagedorn ! src/hotspot/share/code/dependencies.hpp Changeset: 8a45abd5 Author: Thomas Schatzl Date: 2022-08-23 13:54:10 +0000 URL: https://git.openjdk.org/loom/commit/8a45abd5f3bb224e564c8e6087bac618147f484e 8292654: G1 remembered set memory footprint regression after JDK-8286115 Reviewed-by: ayang, iwalulya ! src/hotspot/share/gc/g1/g1_globals.hpp Changeset: d24b7b70 Author: Roger Riggs Date: 2022-08-23 14:36:46 +0000 URL: https://git.openjdk.org/loom/commit/d24b7b7026cf85f1aecf44f60819762872cfd5c1 8276651: java/lang/ProcessHandle tests fail with "RuntimeException: Input/output error" in java.lang.ProcessHandleImpl$Info.info0 Reviewed-by: jpai, alanb ! src/java.base/macosx/native/libjava/ProcessHandleImpl_macosx.c Changeset: f3be6731 Author: Vladimir Ivanov Date: 2022-08-23 19:32:51 +0000 URL: https://git.openjdk.org/loom/commit/f3be6731d3fa4fb1b7fc42c5bcbe6a64a50eaf42 8292638: x86: Improve scratch register handling in VM stubs Co-authored-by: Aleksey Shipilev Reviewed-by: kvn, shade ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.hpp ! src/hotspot/cpu/x86/macroAssembler_x86_cos.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_exp.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_log.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_log10.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_pow.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_sha.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_sin.cpp ! src/hotspot/cpu/x86/macroAssembler_x86_tan.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_32.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp Changeset: 926380d3 Author: Vladimir Ivanov Date: 2022-08-23 20:25:56 +0000 URL: https://git.openjdk.org/loom/commit/926380d3b748fd591f45abc99c497abc62c52565 8292640: C2: Remove unused scratch register usages on x86 Reviewed-by: kvn ! 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/x86.ad Changeset: fe0544f8 Author: Coleen Phillimore Date: 2022-08-23 20:39:25 +0000 URL: https://git.openjdk.org/loom/commit/fe0544f8a7db5bf0e93313e16b54b31bcdff946a 8292790: Remove hashtable.hpp from other files Reviewed-by: shade, hseigel ! src/hotspot/cpu/arm/assembler_arm.cpp ! src/hotspot/cpu/arm/assembler_arm_32.cpp ! src/hotspot/share/cds/archiveBuilder.cpp ! src/hotspot/share/cds/classListParser.cpp ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/moduleEntry.cpp ! src/hotspot/share/classfile/systemDictionaryShared.cpp ! src/hotspot/share/runtime/vmStructs.cpp Changeset: 13c03696 Author: Christian Hagedorn Date: 2022-08-24 06:44:06 +0000 URL: https://git.openjdk.org/loom/commit/13c03696463cb3ba77663edfd2dfb78d3f45cbaa 8242181: [Linux] Show source information when printing native stack traces in hs_err files Reviewed-by: erikj, tschatzl, stuefe, ihse ! make/RunTests.gmk ! make/autoconf/flags-cflags.m4 ! make/conf/jib-profiles.js ! src/hotspot/os/windows/decoder_windows.cpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/utilities/decoder.cpp ! src/hotspot/share/utilities/decoder.hpp ! src/hotspot/share/utilities/decoder_elf.cpp ! src/hotspot/share/utilities/decoder_elf.hpp ! src/hotspot/share/utilities/elfFile.cpp ! src/hotspot/share/utilities/elfFile.hpp ! src/hotspot/share/utilities/nativeCallStack.cpp ! src/hotspot/share/utilities/vmError.cpp ! src/hotspot/share/utilities/vmError.hpp ! test/hotspot/gtest/runtime/test_os_linux.cpp + test/hotspot/jtreg/runtime/ErrorHandling/TestDwarf.java + test/hotspot/jtreg/runtime/ErrorHandling/libTestDwarf.c + test/hotspot/jtreg/runtime/ErrorHandling/libTestDwarfHelper.h Changeset: ad2e0c4d Author: Matthias Baesken Date: 2022-08-24 07:05:28 +0000 URL: https://git.openjdk.org/loom/commit/ad2e0c4df045261c04b00bfa1faf5c21392edc58 8292778: EncodingSupport_md.c convertUtf8ToPlatformString wrong placing of free Reviewed-by: rriggs, kevinw, amenkov ! src/java.instrument/windows/native/libinstrument/EncodingSupport_md.c Changeset: fa5cc4cc Author: Thomas Stuefe Date: 2022-08-24 07:58:54 +0000 URL: https://git.openjdk.org/loom/commit/fa5cc4cc8e1c7c1f627905191e311cfcb3d94b5e 8291878: NMT: Malloc limits Reviewed-by: kvn, shade ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/arguments.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/services/mallocTracker.cpp ! src/hotspot/share/services/mallocTracker.hpp ! src/hotspot/share/services/memTracker.cpp ! src/hotspot/share/services/nmtCommon.cpp ! src/hotspot/share/services/nmtCommon.hpp + test/hotspot/jtreg/runtime/NMT/MallocLimitTest.java Changeset: 0813a470 Author: Axel Boldt-Christmas Committer: Albert Mingkun Yang Date: 2022-08-24 09:50:17 +0000 URL: https://git.openjdk.org/loom/commit/0813a4705184e33f6bd175dcd9a17d3212890daf 8282729: Serial: Move BOT implementation to collector specific directory Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/serial/defNewGeneration.hpp = src/hotspot/share/gc/serial/serialBlockOffsetTable.cpp = src/hotspot/share/gc/serial/serialBlockOffsetTable.hpp = src/hotspot/share/gc/serial/serialBlockOffsetTable.inline.hpp ! src/hotspot/share/gc/serial/tenuredGeneration.cpp ! src/hotspot/share/gc/serial/vmStructs_serial.hpp ! src/hotspot/share/gc/shared/blockOffsetTable.cpp ! src/hotspot/share/gc/shared/blockOffsetTable.hpp ! src/hotspot/share/gc/shared/genCollectedHeap.cpp ! src/hotspot/share/gc/shared/generation.cpp ! src/hotspot/share/gc/shared/space.cpp ! src/hotspot/share/gc/shared/space.hpp ! src/hotspot/share/gc/shared/space.inline.hpp ! src/hotspot/share/gc/shared/vmStructs_gc.hpp Changeset: b653b9cc Author: Coleen Phillimore Date: 2022-08-24 11:39:25 +0000 URL: https://git.openjdk.org/loom/commit/b653b9cc274abb906d3ebe887827ef16b4e57be4 8291969: Convert LoaderConstraintsTable to ResourceHashtable Reviewed-by: dholmes, iklam ! src/hotspot/share/classfile/loaderConstraints.cpp ! src/hotspot/share/classfile/loaderConstraints.hpp ! src/hotspot/share/classfile/systemDictionary.cpp ! test/hotspot/jtreg/runtime/logging/loadLibraryTest/LoadLibraryTest.java Changeset: d3fed128 Author: Coleen Phillimore Date: 2022-08-24 12:40:10 +0000 URL: https://git.openjdk.org/loom/commit/d3fed128671312ae138a7ad5677c3c140de9a8f3 8292864: Remove resourceHash.hpp from header files Reviewed-by: stefank ! src/hotspot/share/cds/dynamicArchive.hpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/cds/runTimeClassInfo.hpp ! src/hotspot/share/classfile/defaultMethods.cpp ! src/hotspot/share/classfile/systemDictionaryShared.hpp Changeset: a45a4b94 Author: Erik ?sterlund Date: 2022-08-24 13:11:23 +0000 URL: https://git.openjdk.org/loom/commit/a45a4b9465d7d01715425000c4fd47c0aa3e76ca 8292194: G1 nmethod entry barrier disarm value wraps around too early Reviewed-by: ayang, tschatzl ! src/hotspot/share/gc/shared/barrierSetNMethod.cpp Changeset: c0623972 Author: Aleksey Shipilev Date: 2022-08-24 13:19:43 +0000 URL: https://git.openjdk.org/loom/commit/c0623972cffdbcd7f80e84a1ec344fd382a4a5cc 8292713: Unsafe.allocateInstance should be intrinsified without UseUnalignedAccesses Reviewed-by: psandoz, kvn, fyang ! src/hotspot/share/classfile/vmIntrinsics.cpp Changeset: 71ab5c95 Author: Tyler Steele Date: 2022-08-24 13:43:55 +0000 URL: https://git.openjdk.org/loom/commit/71ab5c95af28497fb31aba8ba9597da71bc4d3d5 8292816: GPL Classpath exception missing from assemblyprefix.h Reviewed-by: stuefe, ihse ! make/data/autoheaders/assemblyprefix.h Changeset: 3c2289d6 Author: Jayashree Huttanagoudar Committer: Weijun Wang Date: 2022-08-24 15:47:12 +0000 URL: https://git.openjdk.org/loom/commit/3c2289d65157fca3f303d2fe703b31ef53b2f5bf 8215916: The failure reason of an optional JAAS LoginModule is not logged Reviewed-by: weijun ! src/java.base/share/classes/javax/security/auth/login/LoginContext.java + test/jdk/javax/security/auth/login/LoginContext/OptionalJaas/UnixNTPlatform.java Changeset: 69448f9c Author: Johan Sj?l?n Committer: Coleen Phillimore Date: 2022-08-24 15:50:21 +0000 URL: https://git.openjdk.org/loom/commit/69448f9c1a9b123be8ef63bb039111a8976a8da6 8292679: Simplify thread creation in gtest and port 2 tests to new way Reviewed-by: rehn, coleenp, stuefe ! test/hotspot/gtest/classfile/test_symbolTable.cpp ! test/hotspot/gtest/threadHelper.inline.hpp ! test/hotspot/gtest/utilities/test_globalCounter.cpp Changeset: 568be58e Author: Harshitha Onkar Committer: Alexey Ivanov Date: 2022-08-24 16:23:23 +0000 URL: https://git.openjdk.org/loom/commit/568be58e8521e5e87baca1872ba8cc1941607bb7 8290469: Add new positioning options to PassFailJFrame test framework Reviewed-by: prr, aivanov ! test/jdk/java/awt/Dialog/ModalDialogTest/ModalDialogTest.java ! test/jdk/java/awt/TrayIcon/TrayIconScalingTest.java ! test/jdk/java/awt/print/PrinterJob/ImagePrinting/ClippedImages.java ! test/jdk/java/awt/print/PrinterJob/PrintGlyphVectorTest.java ! test/jdk/java/awt/print/PrinterJob/PrintLatinCJKTest.java ! test/jdk/java/awt/regtesthelpers/PassFailJFrame.java ! test/jdk/javax/swing/JRadioButton/bug4380543.java ! test/jdk/javax/swing/JTabbedPane/4209065/bug4209065.java ! test/jdk/javax/swing/JTable/PrintAllPagesTest.java ! test/jdk/javax/swing/text/html/HtmlScriptTagParserTest.java Changeset: 14623c60 Author: Valerie Peng Date: 2022-08-24 18:23:19 +0000 URL: https://git.openjdk.org/loom/commit/14623c6087105a4228ff190e9e27372729b2bc4b 8292739: Invalid legacy entries may be returned by Provider.getServices() call Reviewed-by: weijun ! src/java.base/share/classes/java/security/Provider.java ! test/jdk/java/security/Provider/CaseSensitiveServices.java Changeset: 76ee5495 Author: Ioi Lam Date: 2022-08-24 22:39:52 +0000 URL: https://git.openjdk.org/loom/commit/76ee5495cd00f5546a5748051cc36965a8e936db 8292329: Enable CDS shared heap for zero builds Reviewed-by: shade, erikj, ihse ! make/Images.gmk Changeset: 7b81a9c7 Author: Ramkumar Sunderbabu Committer: Leonid Mesnik Date: 2022-08-25 01:37:54 +0000 URL: https://git.openjdk.org/loom/commit/7b81a9c75d60f6eb2727515bacfffcf7cf15e128 8289764: gc/lock tests failed with "OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects" Reviewed-by: lmesnik ! test/hotspot/jtreg/TEST.quick-groups ! test/hotspot/jtreg/vmTestbase/gc/lock/LockerTest.java ! test/hotspot/jtreg/vmTestbase/gc/lock/jni/jnilock001/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jni/jnilock002/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jni/jnilock002/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jni/jnilock003/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jni/jnilock003/TestDescription.java ! test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock01/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock02/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock02/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock03/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock03/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock04/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock04/TestDescription.java ! test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock01/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock02/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock02/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock03/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock03/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock04/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock04/TestDescription.java ! test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock01/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock02/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock02/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock03/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock03/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock04/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock04/TestDescription.java ! test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock01/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock02/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock02/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock03/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock03/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock04/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock04/TestDescription.java ! test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock01/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock02/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock02/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock03/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock03/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock04/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock04/TestDescription.java ! test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock01/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock02/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock02/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock03/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock03/TestDescription.java - test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock04/TEST.properties - test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock04/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/share/gc/gp/GarbageUtils.java From aph-open at littlepinkcloud.com Wed Aug 31 08:45:15 2022 From: aph-open at littlepinkcloud.com (Andrew Haley) Date: Wed, 31 Aug 2022 09:45:15 +0100 Subject: New candidate JEP: 429: Extent-Local Variables (Incubator) In-Reply-To: References: <20220812001813.98AD353FB98@eggemoggin.niobe.net> Message-ID: <7c9b501d-7dae-eec3-18c0-460e1276fc4e@littlepinkcloud.com> On 8/28/22 17:24, Zheka Kozlov wrote: > Just out of curiosity: why was a static where() method chosen? An instance > method seems more natural: > > PRINCIPAL.where(principal).run(...) > vs. > ExtentLocal.where(PRINCIPAL, principal).run() It doesn't chain so nicely. Consider PRINCIPAL.where(principal).also(PRINCIPAL2.where(principal2)).run(...) or PRINCIPAL.where(principal).also(PRINCIPAL2,principal2).run(...) or something. > Also, a couple of notes regarding Javadoc: > > 1. Two methods runWithBinding() and callWithBinding() are mentioned in > the description. But ExtentLocal doesn't have such methods. It only has > three overloads of where(). > 2. The code example doesn't use a code snippet. It uses the old HTML > formatting. Where is this? -- Andrew Haley (he/him) Java Platform Lead Engineer Red Hat UK Ltd. https://keybase.io/andrewhaley EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671 From archie.cobbs at gmail.com Wed Aug 31 21:50:17 2022 From: archie.cobbs at gmail.com (Archie Cobbs) Date: Wed, 31 Aug 2022 16:50:17 -0500 Subject: Can continuation support finally solve the "How do I stop this thread" problem? Message-ID: This question is somewhat tangential to Loom but I thought I'd ask in case the answer is an easy yes or no. Lately I've been reviewing various attempts at intra-JVM Java "sandboxing", none of which are fully satisfying. I think this is a missed opportunity for Java in general, but that's a separate discussion. The term "sandbox" has various meanings but for this question think of it simply as what you would need (for example) to build a web site that hosted a live JShell console for educational purposes but all running within a single JVM (there are some examples of this out there like tryjshell.org but those use separate processes or Docker). Obviously, execution of arbitrary Java code from random people on the Internet would have to be strictly controlled, and therefore JShell's ExecutionControl would have to run the code in some kind of airtight sandbox. I just want to focus on one small aspect of doing this: A basic requirement of such a sandbox is the ability to stop a running thread. But currently there's no 100% reliable way to do this in Java, even if you can rewrite the bytecode, because it's impossible to unblock a thread blocked in certain system calls. What about Thread.stop()? It only works sometimes. Plus it's deprecated (side node, the stated reasons for deprecating this method never made sense to me, because the trade-offs should be left to the programmer to evaluate, and moreover ThreadDeath is no more unsafe than StackOverflowError, which programmers seem to throw all the time :) FYI here's a simple example showing a thread that can't be stopped no matter what we try: public class ThreadNoStop { public static void main(String[] args) throws Exception { // Start unstoppable thread final Thread thread = new Thread(() -> { System.out.println("thread: reading stdin..."); try { System.in.read(); } catch (Throwable t) { System.out.println("thread: caught exception: " + t); } System.out.println("thread: done reading stdin..."); }); thread.start(); // Try to kill it any way possible Thread.sleep(500); System.out.println("main: invoking interrupt()..."); thread.interrupt(); System.out.println("main: invoking stop()..."); thread.stop(); System.out.println("main: closing System.in..."); System.in.close(); // hangs here until there's input System.out.println("main: joining thread..."); thread.join(); System.out.println("main: done."); } } [JEP 425 Virtual Threads] states: > The implementations of the networking APIs in the java.net and java.nio.channels packages now work with virtual threads: An operation on a virtual thread that blocks to, e.g., establish a network connection or read from a socket, releases the underlying platform thread to do other work. This makes it sounds like basically every blocking method is going to have to be adapted so that its state can be "detached" from the platform thread for continuation purposes...? If so, great! My question is this: could this work be leveraged to also finally solve the "How do I stop this thread" problem? Even if this new mechanism only worked for virtual threads (or only for platform threads) it would still be a big improvement. Again, my opinion here but it seems like there really ought to be some official equivalent of Process.destroyForcibly() for Java threads.... it's a basic control/fail-safe. On a related note - will [JEP 428 Structured Concurrency] guarantee that exiting a StructuredTaskScope never hangs indefinitely?? I guess not.. But a better stop mechanism would allow it to make that nice guarantee. This would give it an "automatic cleanup" feature analogous to how try-with-resources automatically hides any extra exceptions thrown by close(). We could also then add a new method ExecutorService.forceShutdown()... This seems like an obvious missing piece to me. Thoughts? -Archie -- Archie L. Cobbs -------------- next part -------------- An HTML attachment was scrubbed... URL: