From duke at openjdk.org Fri Dec 2 06:56:48 2022 From: duke at openjdk.org (Saint Wesonga) Date: Fri, 2 Dec 2022 06:56:48 GMT Subject: [foreign-memaccess+abi] RFR: Move Linux & MacOs CallArranger tests into separate files Message-ID: This separation was suggested in https://github.com/openjdk/panama-foreign/pull/754#discussion_r1032658310 ------------- Commit messages: - Move Linux & MacOs CallArranger tests into separate files Changes: https://git.openjdk.org/panama-foreign/pull/755/files Webrev: https://webrevs.openjdk.org/?repo=panama-foreign&pr=755&range=00 Stats: 1357 lines in 3 files changed: 710 ins; 647 del; 0 mod Patch: https://git.openjdk.org/panama-foreign/pull/755.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/755/head:pull/755 PR: https://git.openjdk.org/panama-foreign/pull/755 From duke at openjdk.org Fri Dec 2 11:09:52 2022 From: duke at openjdk.org (duke) Date: Fri, 2 Dec 2022 11:09:52 GMT Subject: git: openjdk/panama-foreign: master: 120 new changesets Message-ID: <13d9a493-cb21-453e-a174-8b24788c19fe@openjdk.org> Changeset: 4f655702 Author: Aggelos Biboudis Committer: Jan Lahoda Date: 2022-11-25 12:31:47 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4f65570204e2d38415e7761bd81660b081eae882 8294583: JShell: NPE in switch with non existing record pattern Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java + test/langtools/jdk/jshell/Test8294583.java Changeset: 08e6a820 Author: Severin Gehwolf Date: 2022-11-25 16:29:53 +0000 URL: https://git.openjdk.org/panama-foreign/commit/08e6a820bcb70e74a0faa28198493292e2993901 8297590: [TESTBUG] HotSpotResolvedJavaFieldTest does not run Reviewed-by: chagedorn, dnsimon ! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/HotSpotResolvedJavaFieldTest.java Changeset: 952e1005 Author: Doug Simon Date: 2022-11-25 17:39:21 +0000 URL: https://git.openjdk.org/panama-foreign/commit/952e10055135613e8ea2b818a4f35842936f5633 8297431: [JVMCI] HotSpotJVMCIRuntime.encodeThrowable should not throw an exception Reviewed-by: never ! src/hotspot/share/jvmci/jvmciEnv.cpp ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/TranslatedException.java Changeset: 85ddd8f2 Author: Ioi Lam Date: 2022-11-25 19:54:03 +0000 URL: https://git.openjdk.org/panama-foreign/commit/85ddd8f2af51fa5ea7f63027285509afb9a5c439 8295253: Remove kludge from v1_0/PerfDataBuffer.java Reviewed-by: sspitsyn, dholmes, cjplummer ! src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/v1_0/PerfDataBuffer.java Changeset: 099b42f3 Author: Per Minborg Committer: Alan Bateman Date: 2022-11-26 08:28:31 +0000 URL: https://git.openjdk.org/panama-foreign/commit/099b42f360a0e693a63f009e3e044307aab5c689 8297148: Add a @sealedGraph tag to CallSite Reviewed-by: darcy ! src/java.base/share/classes/java/lang/invoke/CallSite.java Changeset: 76a24c3f Author: Per Minborg Committer: Alan Bateman Date: 2022-11-26 08:29:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/76a24c3f90d8e0655bfcaa3dd5c2d1f74515ebc6 8297145: Add a @sealedGraph tag to ConstantDesc Reviewed-by: darcy ! src/java.base/share/classes/java/lang/constant/ConstantDesc.java Changeset: 6c05771b Author: Aggelos Biboudis Committer: Vicente Romero Date: 2022-11-26 15:53:00 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6c05771b9be3dd5cbcdb40d2e53cc53959926cdd 8295447: NullPointerException with invalid pattern matching construct in constructor call Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java + test/langtools/tools/javac/T8295447.java + test/langtools/tools/javac/T8295447.out Changeset: 99d3840d Author: Vladimir Kempik Date: 2022-11-26 16:15:55 +0000 URL: https://git.openjdk.org/panama-foreign/commit/99d3840d368f1d99af72250678a2cb0c55ee0957 8297359: RISC-V: improve performance of floating Max Min intrinsics Reviewed-by: fyang ! src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/riscv.ad Changeset: 50f9043c Author: Ryan Ernst Committer: Chris Hegarty Date: 2022-11-26 20:04:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/50f9043c6965360c426b187e47c49c42481a2549 8297451: ProcessHandleImpl should assert privilege when modifying reaper thread Reviewed-by: chegar, alanb ! src/java.base/share/classes/java/lang/ProcessHandleImpl.java ! test/jdk/java/lang/ProcessBuilder/SecurityManagerClinit.java Changeset: 2f83b5c4 Author: Emanuel Peter Date: 2022-11-27 13:41:26 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2f83b5c487f112c175d081ca5882f5032518937a 8297640: Increase buffer size for buf (insert_features_names) in Abstract_VM_Version::insert_features_names Reviewed-by: chagedorn, rehn ! src/hotspot/cpu/x86/vm_version_x86.cpp Changeset: d6102110 Author: Thomas Stuefe Date: 2022-11-28 07:31:18 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d6102110e1b48c065292db83744245a33e269cc2 8297408: Consolidate code in runtime/ErrorHandling Reviewed-by: dholmes, mbaesken ! test/hotspot/jtreg/runtime/ErrorHandling/BadNativeStackInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/HsErrFileUtils.java ! test/hotspot/jtreg/runtime/ErrorHandling/MachCodeFramesInErrorFile.java ! test/hotspot/jtreg/runtime/ErrorHandling/NestedThreadsListHandleInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/ResourceMarkTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/SafeFetchInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/SecondaryErrorTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/ShowRegistersOnAssertTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/TestCrashOnOutOfMemoryError.java ! test/hotspot/jtreg/runtime/ErrorHandling/TestDwarf.java ! test/hotspot/jtreg/runtime/ErrorHandling/ThreadsListHandleInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/TimeoutInErrorHandlingTest.java ! test/hotspot/jtreg/runtime/ErrorHandling/VeryEarlyAssertTest.java Changeset: 43d11736 Author: Richard Reingruber Date: 2022-11-28 08:09:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/43d1173605128126dda0dc39ffc376b84065cc65 8286302: Port JEP 425 to PPC64 Reviewed-by: tsteele, mdoerr + src/hotspot/cpu/aarch64/continuationEntry_aarch64.hpp ! src/hotspot/cpu/aarch64/continuationFreezeThaw_aarch64.inline.hpp ! src/hotspot/cpu/aarch64/continuationHelper_aarch64.inline.hpp ! src/hotspot/cpu/aarch64/frame_aarch64.hpp + src/hotspot/cpu/arm/continuationEntry_arm.hpp ! src/hotspot/cpu/arm/continuationFreezeThaw_arm.inline.hpp ! src/hotspot/cpu/arm/continuationHelper_arm.inline.hpp ! src/hotspot/cpu/arm/frame_arm.hpp ! src/hotspot/cpu/ppc/assembler_ppc.hpp ! src/hotspot/cpu/ppc/assembler_ppc.inline.hpp ! src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp ! src/hotspot/cpu/ppc/c1_MacroAssembler_ppc.cpp + src/hotspot/cpu/ppc/continuationEntry_ppc.hpp ! src/hotspot/cpu/ppc/continuationEntry_ppc.inline.hpp ! src/hotspot/cpu/ppc/continuationFreezeThaw_ppc.inline.hpp ! src/hotspot/cpu/ppc/continuationHelper_ppc.inline.hpp ! src/hotspot/cpu/ppc/frame_ppc.cpp ! src/hotspot/cpu/ppc/frame_ppc.hpp ! src/hotspot/cpu/ppc/frame_ppc.inline.hpp ! src/hotspot/cpu/ppc/globalDefinitions_ppc.hpp ! src/hotspot/cpu/ppc/globals_ppc.hpp ! src/hotspot/cpu/ppc/interp_masm_ppc.hpp ! src/hotspot/cpu/ppc/interp_masm_ppc_64.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.hpp ! src/hotspot/cpu/ppc/nativeInst_ppc.cpp ! src/hotspot/cpu/ppc/nativeInst_ppc.hpp ! src/hotspot/cpu/ppc/ppc.ad ! src/hotspot/cpu/ppc/register_ppc.hpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/ppc/smallRegisterMap_ppc.inline.hpp ! src/hotspot/cpu/ppc/stackChunkFrameStream_ppc.inline.hpp ! src/hotspot/cpu/ppc/stackChunkOop_ppc.inline.hpp ! src/hotspot/cpu/ppc/stubGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateInterpreterGenerator_ppc.cpp ! src/hotspot/cpu/ppc/templateTable_ppc_64.cpp + src/hotspot/cpu/riscv/continuationEntry_riscv.hpp ! src/hotspot/cpu/riscv/continuationFreezeThaw_riscv.inline.hpp ! src/hotspot/cpu/riscv/continuationHelper_riscv.inline.hpp ! src/hotspot/cpu/riscv/frame_riscv.hpp + src/hotspot/cpu/s390/continuationEntry_s390.hpp ! src/hotspot/cpu/s390/continuationFreezeThaw_s390.inline.hpp ! src/hotspot/cpu/s390/continuationHelper_s390.inline.hpp ! src/hotspot/cpu/s390/frame_s390.hpp + src/hotspot/cpu/x86/continuationEntry_x86.hpp ! src/hotspot/cpu/x86/continuationFreezeThaw_x86.inline.hpp ! src/hotspot/cpu/x86/continuationHelper_x86.inline.hpp ! src/hotspot/cpu/x86/frame_x86.hpp + src/hotspot/cpu/zero/continuationEntry_zero.hpp ! src/hotspot/cpu/zero/continuationFreezeThaw_zero.inline.hpp ! src/hotspot/cpu/zero/continuationHelper_zero.inline.hpp ! src/hotspot/cpu/zero/frame_zero.hpp ! src/hotspot/share/oops/instanceStackChunkKlass.hpp ! src/hotspot/share/oops/instanceStackChunkKlass.inline.hpp ! src/hotspot/share/oops/stackChunkOop.cpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/runtime/continuation.cpp ! src/hotspot/share/runtime/continuationEntry.hpp ! src/hotspot/share/runtime/continuationEntry.inline.hpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/continuationHelper.hpp ! src/hotspot/share/runtime/continuationWrapper.inline.hpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/stackChunkFrameStream.inline.hpp + test/jdk/jdk/internal/vm/Continuation/BasicExt.java Changeset: 012dafee Author: Martin Doerr Date: 2022-11-28 09:26:08 +0000 URL: https://git.openjdk.org/panama-foreign/commit/012dafee5bc035a2eb27ac5efab9658ade92bf90 8297082: Remove sun/tools/jhsdb/BasicLauncherTest.java from problem list Reviewed-by: rrich, cjplummer ! test/jdk/ProblemList.txt Changeset: 81eb5fbf Author: Johan Sj?len Date: 2022-11-28 09:30:53 +0000 URL: https://git.openjdk.org/panama-foreign/commit/81eb5fbff516e7470f7cc29a67047a048b525722 8297534: Specify the size of MEMFLAGS Reviewed-by: stuefe, tschatzl ! src/hotspot/share/memory/allocation.hpp ! src/hotspot/share/services/mallocHeader.hpp ! src/hotspot/share/services/mallocHeader.inline.hpp Changeset: b80f5af6 Author: Justin King Committer: Aleksey Shipilev Date: 2022-11-28 11:03:47 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b80f5af6981440aec14f4dedbc5ee46364d0254c 8297309: Memory leak in ShenandoahFullGC Reviewed-by: rkennke, shade ! src/hotspot/share/gc/shenandoah/shenandoahFullGC.cpp ! src/hotspot/share/gc/shenandoah/shenandoahFullGC.hpp Changeset: 6a856bc3 Author: Albert Mingkun Yang Date: 2022-11-28 11:57:18 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6a856bc3f67d539f858904667ee86cbed54f94f7 8297499: Parallel: Missing iteration over klass when marking objArrays/objArrayOops during Full GC Co-authored-by: Stefan Johansson Reviewed-by: sjohanss, tschatzl ! src/hotspot/share/gc/parallel/psCompactionManager.inline.hpp ! test/hotspot/jtreg/runtime/ClassUnload/UnloadTest.java Changeset: eff4c039 Author: Roland Westrelin Date: 2022-11-28 12:27:14 +0000 URL: https://git.openjdk.org/panama-foreign/commit/eff4c039dab99aa946dbdde1be8901929ebbfc6f 8297343: TestStress*.java fail with "got different traces for the same seed" Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/type.cpp ! test/hotspot/jtreg/ProblemList.txt Changeset: c05dc802 Author: Thomas Stuefe Date: 2022-11-28 12:45:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c05dc80234a6beff3fa4d2de3228928c639da083 8297660: x86: Redundant test+jump in C1 allocateArray Reviewed-by: aph, yyang ! src/hotspot/cpu/x86/c1_MacroAssembler_x86.cpp Changeset: ba0a2521 Author: Alan Bateman Date: 2022-11-28 13:27:18 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ba0a2521ba6d7db041580be7cda633311836b455 8297717: Remove jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java from ProblemList Reviewed-by: jpai ! test/jdk/ProblemList.txt Changeset: 405b1886 Author: Aleksey Shipilev Date: 2022-11-28 14:49:28 +0000 URL: https://git.openjdk.org/panama-foreign/commit/405b1886b3924a7b5d258b7e8190802d489c6ab5 8297570: jdk/jfr/threading/TestDeepVirtualStackTrace.java fails with -XX:-UseTLAB Reviewed-by: mgronlun ! test/jdk/jdk/jfr/threading/TestDeepVirtualStackTrace.java Changeset: a249a525 Author: Matias Saavedra Silva Committer: Ioi Lam Date: 2022-11-28 15:26:27 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a249a52501f3cd7d4fbe5293d14ac8d0d6ffcc69 8296754: AutoCreateSharedArchive in JDK 20 is not compatible with JDK 19 Reviewed-by: ccheung, iklam, erikj ! make/RunTests.gmk ! src/hotspot/share/cds/cdsConstants.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/include/cds.h + test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchiveUpgrade.java + test/hotspot/jtreg/runtime/cds/appcds/test-classes/HelloJDK8.java ! test/lib/jdk/test/lib/cds/CDSArchiveUtils.java Changeset: a80552e1 Author: Christian Stein Date: 2022-11-28 17:33:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a80552e1e15fba42e0e647248a3d50fa44c5bf53 8236919: Refactor com.sun.tools.javac.main.CommandLine into a reusable module for other JDK tools Reviewed-by: jjg = src/jdk.internal.opt/share/classes/jdk/internal/opt/CommandLine.java ! src/jdk.internal.opt/share/classes/module-info.java ! src/jdk.jartool/share/classes/module-info.java - src/jdk.jartool/share/classes/sun/tools/jar/CommandLine.java ! src/jdk.jartool/share/classes/sun/tools/jar/Main.java - src/jdk.jlink/share/classes/jdk/tools/jlink/internal/CommandLine.java ! src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java - src/jdk.jpackage/share/classes/jdk/jpackage/main/CommandLine.java ! src/jdk.jpackage/share/classes/jdk/jpackage/main/Main.java ! src/jdk.jpackage/share/classes/module-info.java Changeset: 105d9d75 Author: Smita Kamath Committer: Sandhya Viswanathan Date: 2022-11-28 19:24:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/105d9d75e84a46400f52fafda2ea00c99c14eaf0 8295351: java/lang/Float/Binary16Conversion.java fails with "Unexpected result of converting" Reviewed-by: sviswanathan, thartmann ! src/hotspot/share/runtime/sharedRuntime.cpp ! test/jdk/ProblemList-Xcomp.txt Changeset: cdf9ed07 Author: Weibing Xiao Committer: Roger Riggs Date: 2022-11-28 21:34:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/cdf9ed07de102ae388278163e3bf702d861fc30a 8297528: java/io/File/TempDirDoesNotExist.java test failing on windows-x64 Reviewed-by: rriggs, iris, bpb, naoto ! test/jdk/ProblemList.txt ! test/jdk/java/io/File/TempDirDoesNotExist.java Changeset: d450314b Author: Weijun Wang Date: 2022-11-28 22:02:54 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d450314bd35ae431de6131cd01db4fa992ce10a4 8297276: Remove thread text from Subject.current Reviewed-by: xuelei, rriggs, mullan ! src/java.base/share/classes/javax/security/auth/Subject.java Changeset: 05128c21 Author: David Holmes Date: 2022-11-28 22:04:07 +0000 URL: https://git.openjdk.org/panama-foreign/commit/05128c2110e1d64111a30d641898ed94925243d6 8286185: The Java manpage can be more platform inclusive Reviewed-by: sspitsyn, kvn, iklam ! src/java.base/share/man/java.1 Changeset: 692bedbc Author: David Holmes Date: 2022-11-29 02:03:49 +0000 URL: https://git.openjdk.org/panama-foreign/commit/692bedbc1df153f362b8e85693f20b089b5594e2 8297106: Remove the -Xcheck:jni local reference capacity checking Reviewed-by: dcubed, kevinw ! src/hotspot/share/prims/jniCheck.cpp ! src/hotspot/share/runtime/jniHandles.cpp ! src/hotspot/share/runtime/jniHandles.hpp ! src/java.base/share/man/java.1 - test/hotspot/jtreg/runtime/jni/checked/TestCheckedEnsureLocalCapacity.java - test/hotspot/jtreg/runtime/jni/checked/libTestCheckedEnsureLocalCapacity.c ! test/jdk/ProblemList.txt - test/jdk/com/sun/management/DiagnosticCommandMBean/DcmdMBeanTestCheckJni.java Changeset: 4e8e853b Author: Prasanta Sadhukhan Date: 2022-11-29 05:08:38 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4e8e853bc9b9ac3a89a9e25b9fec5381b8255806 6788481: CellEditorListener.editingCanceled is never called Reviewed-by: prr, azvegint, serb ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTableUI.java + test/jdk/javax/swing/JTable/BugCellEditorListener.java Changeset: 6f06f440 Author: Justin King Committer: Man Cao Date: 2022-11-29 06:53:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6f06f440bcf8a5db379b80e8765af38a15449356 8297242: Use-after-free during library unloading on Linux Reviewed-by: dholmes, jsjolen ! src/hotspot/os/posix/os_posix.cpp Changeset: 33dfc7d2 Author: Ivan Walulya Date: 2022-11-29 09:56:16 +0000 URL: https://git.openjdk.org/panama-foreign/commit/33dfc7d2eface68a6a1edbb507abefa74cc6180f 8296954: G1: Enable parallel scanning for heap region remset Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1CardSet.cpp ! src/hotspot/share/gc/g1/g1CardSet.hpp ! src/hotspot/share/gc/g1/g1RemSet.cpp ! src/hotspot/share/gc/g1/heapRegion.cpp ! src/hotspot/share/gc/g1/heapRegion.hpp ! src/hotspot/share/gc/g1/heapRegionRemSet.cpp ! src/hotspot/share/gc/g1/heapRegionRemSet.hpp ! src/hotspot/share/utilities/concurrentHashTableTasks.inline.hpp Changeset: b27a61e6 Author: Hannes Walln?fer Date: 2022-11-29 10:20:58 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b27a61e6240e19ae7802fc66894df90502508b9a 8297216: Search results omit some methods Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/search.js.template ! test/langtools/jdk/javadoc/doclet/testSearchScript/TestSearchScript.java Changeset: bd51b7ea Author: Aleksey Shipilev Date: 2022-11-29 11:09:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/bd51b7ea43b210ea07399b09d61c366594ac2cfd 8296645: org.openjdk.bench.javax.tools.Javac leaves class files in current directory Reviewed-by: redestad, jpai ! test/micro/org/openjdk/bench/javax/tools/Javac.java Changeset: 48017b1d Author: Michael McMahon Date: 2022-11-29 11:11:10 +0000 URL: https://git.openjdk.org/panama-foreign/commit/48017b1d9c3a7867984f54d61f17c7f034d213f5 8296804: Document HttpClient configuration properties in java.net.http module-info Reviewed-by: dfuchs, jpai ! src/java.net.http/share/classes/module-info.java Changeset: 1301fb0b Author: Axel Boldt-Christmas Date: 2022-11-29 11:38:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/1301fb0b5f998c9cf8bcd8a53e6a90d6ab5a7da9 8296470: Refactor VMError::report STEP macro to improve readability Reviewed-by: stuefe, coleenp ! src/hotspot/share/utilities/vmError.cpp Changeset: 42b60ed2 Author: Conor Cleary Date: 2022-11-29 11:42:51 +0000 URL: https://git.openjdk.org/panama-foreign/commit/42b60ed22c02663eb1377d1ce78a559fdbb4348d 8297030: Reduce Default Keep-Alive Timeout Value for httpclient Reviewed-by: dfuchs, michaelm, jpai ! src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java Changeset: 361b50e7 Author: Hannes Walln?fer Date: 2022-11-29 11:50:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/361b50e724f8c1177f89eaa93e38b69d244dadee 8292594: Use CSS custom properties for all fonts and colors Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css ! test/langtools/jdk/javadoc/doclet/testStylesheet/TestStylesheet.java Changeset: 5d2772a4 Author: Daniel Fuchs Date: 2022-11-29 12:36:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5d2772a43ef6409bf556cefb4eb4242594451674 8297424: java/net/httpclient/AsyncExecutorShutdown.java fails in AssertionError due to misplaced assert Reviewed-by: jpai ! src/java.net.http/share/classes/jdk/internal/net/http/ResponseSubscribers.java ! src/java.net.http/share/classes/jdk/internal/net/http/Stream.java Changeset: d83a07b7 Author: Daniel Fuchs Date: 2022-11-29 12:42:37 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d83a07b72cfd4dc42c5d4815262fcba05c653bd5 8297200: java/net/httpclient/SpecialHeadersTest.java failed once in AssertionError due to selector thread remaining alive Reviewed-by: jpai ! src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/OperationTrackers.java ! test/jdk/java/net/httpclient/ReferenceTracker.java ! test/jdk/java/net/httpclient/SpecialHeadersTest.java Changeset: 2deb318c Author: Weijun Wang Date: 2022-11-29 12:57:46 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2deb318c9f047ec5a4b160d66a4b52f93688ec42 8297065: DerOutputStream operations should not throw IOExceptions Reviewed-by: mullan, valeriep ! src/java.base/share/classes/com/sun/crypto/provider/DHPrivateKey.java ! src/java.base/share/classes/com/sun/crypto/provider/DHPublicKey.java ! src/java.base/share/classes/com/sun/crypto/provider/EncryptedPrivateKeyInfo.java ! src/java.base/share/classes/sun/security/pkcs/ContentInfo.java ! src/java.base/share/classes/sun/security/pkcs/EncryptedPrivateKeyInfo.java ! src/java.base/share/classes/sun/security/pkcs/PKCS7.java ! src/java.base/share/classes/sun/security/pkcs/PKCS8Key.java ! src/java.base/share/classes/sun/security/pkcs/PKCS9Attribute.java ! src/java.base/share/classes/sun/security/pkcs/PKCS9Attributes.java ! src/java.base/share/classes/sun/security/pkcs/SignerInfo.java ! src/java.base/share/classes/sun/security/pkcs10/PKCS10.java ! src/java.base/share/classes/sun/security/pkcs10/PKCS10Attribute.java ! src/java.base/share/classes/sun/security/pkcs10/PKCS10Attributes.java ! src/java.base/share/classes/sun/security/pkcs12/MacData.java ! src/java.base/share/classes/sun/security/pkcs12/PKCS12KeyStore.java ! src/java.base/share/classes/sun/security/provider/DSA.java ! src/java.base/share/classes/sun/security/provider/DSAPrivateKey.java ! src/java.base/share/classes/sun/security/provider/DSAPublicKey.java ! src/java.base/share/classes/sun/security/provider/KeyProtector.java ! src/java.base/share/classes/sun/security/provider/certpath/CertId.java ! src/java.base/share/classes/sun/security/rsa/RSAPrivateCrtKeyImpl.java ! src/java.base/share/classes/sun/security/rsa/RSAPrivateKeyImpl.java ! src/java.base/share/classes/sun/security/rsa/RSAPublicKeyImpl.java ! src/java.base/share/classes/sun/security/rsa/RSASignature.java ! src/java.base/share/classes/sun/security/rsa/RSAUtil.java ! src/java.base/share/classes/sun/security/util/DerEncoder.java ! src/java.base/share/classes/sun/security/util/DerOutputStream.java ! src/java.base/share/classes/sun/security/util/DerValue.java ! src/java.base/share/classes/sun/security/util/NamedCurve.java ! src/java.base/share/classes/sun/security/util/ObjectIdentifier.java ! src/java.base/share/classes/sun/security/x509/AVA.java ! src/java.base/share/classes/sun/security/x509/AccessDescription.java ! src/java.base/share/classes/sun/security/x509/AlgorithmId.java ! src/java.base/share/classes/sun/security/x509/AuthorityInfoAccessExtension.java ! src/java.base/share/classes/sun/security/x509/AuthorityKeyIdentifierExtension.java ! src/java.base/share/classes/sun/security/x509/BasicConstraintsExtension.java ! src/java.base/share/classes/sun/security/x509/CRLDistributionPointsExtension.java ! src/java.base/share/classes/sun/security/x509/CRLExtensions.java ! src/java.base/share/classes/sun/security/x509/CRLNumberExtension.java ! src/java.base/share/classes/sun/security/x509/CRLReasonCodeExtension.java ! src/java.base/share/classes/sun/security/x509/CertificateAlgorithmId.java ! src/java.base/share/classes/sun/security/x509/CertificateExtensions.java ! src/java.base/share/classes/sun/security/x509/CertificateIssuerExtension.java ! src/java.base/share/classes/sun/security/x509/CertificatePoliciesExtension.java ! src/java.base/share/classes/sun/security/x509/CertificatePolicyId.java ! src/java.base/share/classes/sun/security/x509/CertificatePolicyMap.java ! src/java.base/share/classes/sun/security/x509/CertificatePolicySet.java ! src/java.base/share/classes/sun/security/x509/CertificateSerialNumber.java ! src/java.base/share/classes/sun/security/x509/CertificateSubjectName.java ! src/java.base/share/classes/sun/security/x509/CertificateValidity.java ! src/java.base/share/classes/sun/security/x509/CertificateVersion.java ! src/java.base/share/classes/sun/security/x509/CertificateX509Key.java ! src/java.base/share/classes/sun/security/x509/DNSName.java ! src/java.base/share/classes/sun/security/x509/DeltaCRLIndicatorExtension.java ! src/java.base/share/classes/sun/security/x509/DistributionPoint.java ! src/java.base/share/classes/sun/security/x509/DistributionPointName.java ! src/java.base/share/classes/sun/security/x509/EDIPartyName.java ! src/java.base/share/classes/sun/security/x509/ExtendedKeyUsageExtension.java ! src/java.base/share/classes/sun/security/x509/Extension.java ! src/java.base/share/classes/sun/security/x509/FreshestCRLExtension.java ! src/java.base/share/classes/sun/security/x509/GeneralName.java ! src/java.base/share/classes/sun/security/x509/GeneralNameInterface.java ! src/java.base/share/classes/sun/security/x509/GeneralNames.java ! src/java.base/share/classes/sun/security/x509/GeneralSubtree.java ! src/java.base/share/classes/sun/security/x509/GeneralSubtrees.java ! src/java.base/share/classes/sun/security/x509/IPAddressName.java ! src/java.base/share/classes/sun/security/x509/InhibitAnyPolicyExtension.java ! src/java.base/share/classes/sun/security/x509/InvalidityDateExtension.java ! src/java.base/share/classes/sun/security/x509/IssuerAlternativeNameExtension.java ! src/java.base/share/classes/sun/security/x509/IssuingDistributionPointExtension.java ! src/java.base/share/classes/sun/security/x509/KeyIdentifier.java ! src/java.base/share/classes/sun/security/x509/KeyUsageExtension.java ! src/java.base/share/classes/sun/security/x509/NameConstraintsExtension.java ! src/java.base/share/classes/sun/security/x509/NetscapeCertTypeExtension.java ! src/java.base/share/classes/sun/security/x509/OIDName.java ! src/java.base/share/classes/sun/security/x509/OtherName.java ! src/java.base/share/classes/sun/security/x509/PolicyConstraintsExtension.java ! src/java.base/share/classes/sun/security/x509/PolicyInformation.java ! src/java.base/share/classes/sun/security/x509/PolicyMappingsExtension.java ! src/java.base/share/classes/sun/security/x509/PrivateKeyUsageExtension.java ! src/java.base/share/classes/sun/security/x509/RDN.java ! src/java.base/share/classes/sun/security/x509/RFC822Name.java ! src/java.base/share/classes/sun/security/x509/ReasonFlags.java ! src/java.base/share/classes/sun/security/x509/SerialNumber.java ! src/java.base/share/classes/sun/security/x509/SubjectAlternativeNameExtension.java ! src/java.base/share/classes/sun/security/x509/SubjectInfoAccessExtension.java ! src/java.base/share/classes/sun/security/x509/SubjectKeyIdentifierExtension.java ! src/java.base/share/classes/sun/security/x509/URIName.java ! src/java.base/share/classes/sun/security/x509/UniqueIdentity.java ! src/java.base/share/classes/sun/security/x509/X400Address.java ! src/java.base/share/classes/sun/security/x509/X500Name.java ! src/java.base/share/classes/sun/security/x509/X509CRLEntryImpl.java ! src/java.base/share/classes/sun/security/x509/X509CRLImpl.java ! src/java.base/share/classes/sun/security/x509/X509CertImpl.java ! src/java.base/share/classes/sun/security/x509/X509CertInfo.java ! src/java.base/share/classes/sun/security/x509/X509Key.java ! src/java.security.jgss/share/classes/org/ietf/jgss/Oid.java ! src/java.security.jgss/share/classes/sun/security/jgss/GSSHeader.java ! src/java.security.jgss/share/classes/sun/security/jgss/GSSNameImpl.java ! src/java.security.jgss/share/classes/sun/security/jgss/spnego/NegTokenInit.java ! src/java.security.jgss/share/classes/sun/security/jgss/spnego/NegTokenTarg.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11ECKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Signature.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ECPrivateKeyImpl.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/XDHPrivateKeyImpl.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/EdDSAPrivateKeyImpl.java ! test/langtools/tools/jdeps/jdkinternals/src/q/NoRepl.java ! test/lib/jdk/test/lib/security/timestamp/TsaSigner.java Changeset: 33587ffd Author: Bo Zhang Committer: Jan Lahoda Date: 2022-11-29 13:57:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/33587ffd35c568c1ef034f064e6f3f06fe9943c3 8292625: jshell crash on "var a = a" Reviewed-by: jlaskey, jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! test/langtools/jdk/jshell/ToolSimpleTest.java ! test/langtools/tools/javac/attr/AttrRecoveryTest.java Changeset: cd6bebbf Author: Jamil Nimeh Date: 2022-11-29 14:40:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/cd6bebbf34215723fad1d6bfe070a409351920c1 8247645: ChaCha20 intrinsics Reviewed-by: sviswanathan, ngasson, vlivanov, ascarpino ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp + src/hotspot/cpu/aarch64/macroAssembler_aarch64_chacha.cpp ! src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/cpu/x86/stubGenerator_x86_64.hpp + src/hotspot/cpu/x86/stubGenerator_x86_64_chacha.cpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/share/classfile/vmIntrinsics.cpp ! src/hotspot/share/classfile/vmIntrinsics.hpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/opto/escape.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/library_call.hpp ! src/hotspot/share/opto/runtime.cpp ! src/hotspot/share/opto/runtime.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/stubRoutines.cpp ! src/hotspot/share/runtime/stubRoutines.hpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/java.base/share/classes/com/sun/crypto/provider/ChaCha20Cipher.java + test/hotspot/jtreg/compiler/intrinsics/chacha/ExerciseChaCha20.java + test/hotspot/jtreg/compiler/intrinsics/chacha/TestChaCha20.java ! test/micro/org/openjdk/bench/javax/crypto/full/CipherBench.java Changeset: 69ede5ba Author: Hannes Walln?fer Date: 2022-11-29 14:46:35 +0000 URL: https://git.openjdk.org/panama-foreign/commit/69ede5baeda6645aa3e961a02cbd40db965fc6a1 8293177: Verify version numbers in legal files Reviewed-by: jjg + test/langtools/jdk/javadoc/doclet/checkLibraryVersions/CheckLibraryVersions.java Changeset: 54e6d6aa Author: Bhavana Kilambi Committer: Nick Gasson Date: 2022-11-29 17:17:15 +0000 URL: https://git.openjdk.org/panama-foreign/commit/54e6d6aaeb5dec2dc1b9fb3ac9b34c8621df506d 8293488: Add EOR3 backend rule for aarch64 SHA3 extension Reviewed-by: haosun, njian, eliu, aturbanov, ngasson ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! test/hotspot/gtest/aarch64/aarch64-asmtest.py ! test/hotspot/gtest/aarch64/asmtest.out.h + test/hotspot/jtreg/compiler/vectorization/TestEor3AArch64.java + test/micro/org/openjdk/bench/vm/compiler/TestEor3.java Changeset: b778cd52 Author: Xue-Lei Andrew Fan Date: 2022-11-29 17:39:40 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b778cd52b3fae013ecb21d90bcf940a4d947bd68 8295010: Reduce if required in EC limbs operations Reviewed-by: djelinski, jjiang ! src/java.base/share/classes/sun/security/util/math/MutableIntegerModuloP.java ! src/java.base/share/classes/sun/security/util/math/intpoly/IntegerPolynomial.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ECOperations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/Ed25519Operations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/Ed448Operations.java ! src/jdk.crypto.ec/share/classes/sun/security/ec/ed/EdDSAOperations.java ! test/jdk/sun/security/util/math/BigIntegerModuloP.java ! test/jdk/sun/security/util/math/TestIntegerModuloP.java Changeset: 3ce00421 Author: Alexander Zvegintsev Date: 2022-11-29 17:56:02 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3ce00421582bb75b722cb1a3dd13778fef95a710 8297780: Problem list java/awt/Frame/RestoreToOppositeScreen/RestoreToOppositeScreen.java Reviewed-by: aivanov ! test/jdk/ProblemList.txt Changeset: ae5b1f76 Author: Justin Lu Committer: Naoto Sato Date: 2022-11-29 18:32:44 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ae5b1f765678a9928696acb7228b197e293171be 8297685: Typo in NullPointerException description specified by Locale.lookup Reviewed-by: naoto, lancea, jpai ! src/java.base/share/classes/java/util/Locale.java Changeset: 7af6b4b5 Author: Aggelos Biboudis Committer: Vicente Romero Date: 2022-11-29 19:33:18 +0000 URL: https://git.openjdk.org/panama-foreign/commit/7af6b4b54cc2ead4f5dbd6bfa7fd343b84c1d8b5 8296012: jshell crashes on mismatched record pattern Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java + test/langtools/jdk/jshell/Test8296012.java Changeset: 20844511 Author: Abhishek Kumar Committer: Phil Race Date: 2022-11-29 21:49:50 +0000 URL: https://git.openjdk.org/panama-foreign/commit/20844511939779649e1a51970edf29eb21f137e1 8078471: Backspace does not work in JFileChooser with GTK L&F Reviewed-by: psadhukhan, prr ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKFileChooserUI.java ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKLookAndFeel.java + test/jdk/com/sun/java/swing/plaf/gtk/TestBackSpaceAction.java Changeset: f4063a3c Author: Per Minborg Committer: Phil Race Date: 2022-11-29 21:51:15 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f4063a3cfd11442c1db79c0d474fe91241f9d453 8297210: Add a @sealedGraph tag to selected java.desktop classes Reviewed-by: prr ! src/java.desktop/share/classes/java/awt/MultipleGradientPaint.java ! src/java.desktop/share/classes/java/awt/TextComponent.java ! src/java.desktop/share/classes/java/awt/desktop/AppEvent.java ! src/java.desktop/share/classes/java/awt/desktop/FilesEvent.java ! src/java.desktop/share/classes/java/awt/event/InputEvent.java ! src/java.desktop/share/classes/java/awt/geom/Path2D.java ! src/java.desktop/share/classes/javax/swing/text/StyleConstants.java Changeset: e2d71c0a Author: Srinivas Mandalika Committer: Phil Race Date: 2022-11-29 21:54:33 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e2d71c0a0d654841e3e591beeaa04b44c6e6b37f 8297481: Create a regression test for JDK-4424517 Reviewed-by: serb + test/jdk/java/awt/event/KeyEvent/KeyEventLocationTest.java Changeset: 0ce18272 Author: Jaikiran Pai Date: 2022-11-30 00:37:31 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0ce182723b8d3a98c71c1b71fa1d3f5a7479fba8 8294321: Fix typos in files under test/jdk/java, test/jdk/jdk, test/jdk/jni Co-authored-by: Michael Ernst Reviewed-by: alanb, lancea, dfuchs ! test/jdk/java/lang/Math/HyperbolicTests.java ! test/jdk/java/lang/annotation/Missing/B.java ! test/jdk/java/math/BigDecimal/DivideTests.java ! test/jdk/java/net/Socket/Timeouts.java ! test/jdk/java/net/URLConnection/DisconnectAfterEOF.java ! test/jdk/java/nio/channels/TestServers.java ! test/jdk/java/rmi/server/RMIClassLoader/loadProxyClasses/LoadProxyClasses.java ! test/jdk/java/security/testlibrary/SimpleOCSPServer.java ! test/jdk/java/sql/testng/test/sql/DriverManagerTests.java ! test/jdk/java/util/Properties/ConcurrentLoadAndStoreXML.java ! test/jdk/java/util/logging/LogManager/Configuration/updateConfiguration/SimpleUpdateConfigurationTest.java ! test/jdk/java/util/regex/RegExTest.java ! test/jdk/java/util/spi/ToolProviderTest.java ! test/jdk/jdk/internal/jimage/JImageReadTest.java ! test/jdk/jdk/internal/loader/ClassLoaderValue/ClassLoaderValueTest.java ! test/jdk/jdk/nio/zipfs/Basic.java ! test/jdk/jni/nullCaller/CallHelper.hpp ! test/jdk/tools/jlink/CheckExecutable.java ! test/lib/jdk/test/lib/format/ArrayDiff.java Changeset: e10778ac Author: Jaikiran Pai Date: 2022-11-30 00:42:40 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e10778accef05bb17eea20d589086b50e366dc4d 8297695: Fix typos in test/langtools files Co-authored-by: Michael Ernst Reviewed-by: prappo, jjg, iris ! test/langtools/jdk/javadoc/lib/javadoc/tester/JavadocTester.java ! test/langtools/tools/javac/VersionOpt.java ! test/langtools/tools/javac/annotations/typeAnnotations/classfile/CombinationsTargetTest2.java ! test/langtools/tools/javac/diags/ArgTypeCompilerFactory.java ! test/langtools/tools/javac/lambda/VoidCompatibility.java ! test/langtools/tools/javac/processing/filer/TestFilerConstraints.java ! test/langtools/tools/javac/scope/DupUnsharedTest.java ! test/langtools/tools/javac/tree/T8024415.java ! test/langtools/tools/javac/warnings/6594914/T6594914a.java ! test/langtools/tools/lib/builder/ClassBuilder.java Changeset: defe0607 Author: Sergey Bylokhov Date: 2022-11-30 01:00:44 +0000 URL: https://git.openjdk.org/panama-foreign/commit/defe0607e3ccd703c8c71b6fc9591d436817d306 8296905: Replace the native LCMS#getProfileID() method with the accessor Reviewed-by: prr ! src/java.desktop/share/classes/java/awt/color/ICC_Profile.java ! src/java.desktop/share/classes/sun/awt/AWTAccessor.java ! src/java.desktop/share/classes/sun/java2d/cmm/lcms/LCMS.java ! src/java.desktop/share/classes/sun/java2d/cmm/lcms/LCMSTransform.java ! src/java.desktop/share/native/liblcms/LCMS.c Changeset: 9ced2ea0 Author: Jaikiran Pai Date: 2022-11-30 01:11:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9ced2ea0abdc0646a23873ab8ca443b6ca3e2e0a 8297311: Improve exception message thrown by java.net.HostPortrange::toLowerCase(String s) Reviewed-by: dfuchs, michaelm, rriggs ! src/java.base/share/classes/java/net/HostPortrange.java + test/jdk/java/net/URLPermission/InvalidCharacterTest.java Changeset: 87f00f4a Author: Sergey Bylokhov Date: 2022-11-30 03:22:52 +0000 URL: https://git.openjdk.org/panama-foreign/commit/87f00f4a1bfb392be0684edcdfa0254caec4ca03 8296878: Document Filter attached to JPasswordField and setText("") is not cleared instead inserted characters replaced with unicode null characters Reviewed-by: prr, aivanov ! src/java.desktop/share/classes/javax/swing/JPasswordField.java + test/jdk/javax/swing/JPasswordField/OldPasswordInDocumentFilter.java Changeset: 37f613ba Author: Sergey Bylokhov Date: 2022-11-30 04:16:13 +0000 URL: https://git.openjdk.org/panama-foreign/commit/37f613bad3b01b40d518de34630e1e6d63737a4c 8297676: DataBuffer.TYPE_SHORT/TYPE_FLOAT/TYPE_DOUBLE are not placeholders Reviewed-by: azvegint, prr ! src/java.desktop/share/classes/java/awt/image/DataBuffer.java Changeset: c7a679fb Author: Ioi Lam Date: 2022-11-30 05:34:03 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c7a679fbdd7c775cdb931a560b498a17b9828f63 8297290: Use int indices to reference CDS archived primitive mirrors Reviewed-by: ccheung ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/heapShared.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/memory/universe.cpp ! src/hotspot/share/memory/universe.hpp Changeset: 5dcaf6cc Author: Johnny Lim Committer: Jaikiran Pai Date: 2022-11-30 06:15:07 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5dcaf6cc6c3e9d73229ca6c2cc3b90ee37f5723b 8297749: Remove duplicate space in the ProtocolException message being thrown from HttpURLConnection Reviewed-by: dfuchs, jpai ! src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java ! test/jdk/sun/net/www/protocol/http/NTLMTest.java Changeset: abe532a8 Author: Tobias Hartmann Date: 2022-11-30 06:39:27 +0000 URL: https://git.openjdk.org/panama-foreign/commit/abe532a89cbdd2b959789611cecbad7c94f6a870 8296924: C2: assert(is_valid_AArch64_address(dest.target())) failed: bad address Co-authored-by: Andrew Haley Reviewed-by: aph, kvn ! src/hotspot/cpu/aarch64/aarch64.ad + test/hotspot/jtreg/compiler/unsafe/TestBadBaseAddress.java Changeset: 8ffed34e Author: Sergey Bylokhov Date: 2022-11-30 07:29:32 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8ffed34e1da0ad2b9b6503f13831843dadfed319 8297681: Unnecessary color conversion during 4BYTE_ABGR_PRE to INT_ARGB_PRE blit Reviewed-by: prr ! src/java.desktop/share/native/libawt/java2d/loops/FourByteAbgrPre.c + test/jdk/sun/java2d/loops/SkipConversionIfPossible.java Changeset: 22f5d014 Author: Julian Waters Date: 2022-11-30 07:37:22 +0000 URL: https://git.openjdk.org/panama-foreign/commit/22f5d014287a5cae2c0503ab3f9730f64725605a 8252584: HotSpot Style Guide should permit alignas Co-authored-by: Kim Barrett Reviewed-by: kbarrett ! doc/hotspot-style.html ! doc/hotspot-style.md Changeset: f05bfb15 Author: Per Minborg Committer: Julian Waters Date: 2022-11-30 07:43:17 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f05bfb157837f5854efe1ce96070c615de21d1a9 8297515: serialVersionUID fields are not annotated with @Serial Reviewed-by: rriggs, lancea ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Config.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecureRandom.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/PKCS11RuntimeException.java Changeset: b3501fd1 Author: Aleksey Shipilev Date: 2022-11-30 09:09:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b3501fd11c59813515b46f80283e22b094c6e251 8297600: Check current thread in selected JRT_LEAF methods Reviewed-by: dholmes, coleenp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/gc/g1/g1BarrierSetRuntime.cpp ! src/hotspot/share/gc/shenandoah/shenandoahRuntime.cpp ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/sharedRuntime.cpp Changeset: 9e80cf9c Author: Jan Lahoda Date: 2022-11-30 09:47:48 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9e80cf9c37f4dbc6e176a59dce92817c109dd561 8296390: Incremental build failed with a NPE Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Modules.java ! test/langtools/tools/javac/modules/ModulesAndModuleSourcePathTest.java Changeset: b52611bc Author: Jan Lahoda Date: 2022-11-30 09:49:51 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b52611bc36d4fa7b62d1bb1618aa5185f75bf5d0 8295401: Error recovery in module-info.java could be improved Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java ! test/langtools/tools/javac/parser/JavacParserTest.java Changeset: 3f8882b2 Author: Jaikiran Pai Date: 2022-11-30 11:28:11 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3f8882b2ebeeb25fbfddc1be3a069181856c2e27 8297693: Fix typos in src/hotspot and test/hotspot files Co-authored-by: Michael Ernst Reviewed-by: kevinw, dholmes, sspitsyn ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp ! src/hotspot/cpu/ppc/frame_ppc.inline.hpp ! src/hotspot/cpu/s390/frame_s390.inline.hpp ! src/hotspot/share/gc/g1/g1YoungGCPostEvacuateTasks.cpp ! src/hotspot/share/opto/memnode.cpp ! src/hotspot/share/opto/stringopts.cpp ! src/hotspot/share/runtime/os.cpp ! test/hotspot/jtreg/vmTestbase/nsk/jdi/AttachingConnector/attach/attach003/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdwp/ClassType/SetValues/setvalues001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdwp/ObjectReference/SetValues/setvalues001/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/share/locks/DeadlockMaker.java ! test/hotspot/jtreg/vmTestbase/vm/share/options/package-info.java Changeset: 27b339d1 Author: Matthias Baesken Date: 2022-11-30 12:49:23 +0000 URL: https://git.openjdk.org/panama-foreign/commit/27b339d1893e60fc894ace9ae3c0e052ae858627 8297523: Various GetPrimitiveArrayCritical miss result - NULL check Reviewed-by: stuefe, jdv ! src/java.desktop/macosx/native/libawt_lwawt/awt/CClipboard.m ! src/java.desktop/macosx/native/libawt_lwawt/font/CCharToGlyphMapper.m ! src/java.desktop/macosx/native/libosxui/JRSUIController.m ! src/java.desktop/unix/native/libawt_xawt/awt/swing_GTKEngine.c ! src/java.desktop/windows/native/libawt/windows/ThemeReader.cpp ! src/java.desktop/windows/native/libawt/windows/awt_DataTransferer.cpp ! src/java.desktop/windows/native/libawt/windows/awt_Toolkit.cpp Changeset: 4d730f56 Author: Magnus Ihse Bursie Date: 2022-11-30 12:56:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4d730f561fc493a956386b053de492933933ff54 8297644: RISC-V: Compilation error when shenandoah is disabled Reviewed-by: fyang, yadongwang ! src/hotspot/cpu/riscv/riscv.ad Changeset: a97e7d98 Author: Albert Mingkun Yang Date: 2022-11-30 13:01:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a97e7d9887e448c88f59cf70bfb8ab72435ece9c 8297740: runtime/ClassUnload/UnloadTest.java failed with "Test failed: should still be live" Reviewed-by: dcubed ! test/hotspot/jtreg/runtime/ClassUnload/UnloadTest.java Changeset: 301cf52f Author: Coleen Phillimore Date: 2022-11-30 13:14:52 +0000 URL: https://git.openjdk.org/panama-foreign/commit/301cf52fa2a913eb6bda1e31cbcb8e438a64c56e 8297284: ResolutionErrorTable's key is wrong Reviewed-by: matsaave, iklam ! src/hotspot/share/classfile/resolutionErrors.cpp ! src/hotspot/share/classfile/resolutionErrors.hpp Changeset: be99e84c Author: Erik ?sterlund Date: 2022-11-30 14:08:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/be99e84c98786ff9c2c9ca1a979dc17ba810ae09 8296875: Generational ZGC: Refactor loom code Co-authored-by: Stefan Karlsson Co-authored-by: Axel Boldt-Christmas Reviewed-by: stefank, rrich, pchilanomate ! src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp ! src/hotspot/cpu/ppc/sharedRuntime_ppc.cpp ! src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp ! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp ! src/hotspot/share/gc/shared/barrierSet.cpp ! src/hotspot/share/gc/shared/barrierSet.hpp + src/hotspot/share/gc/shared/barrierSetStackChunk.cpp + src/hotspot/share/gc/shared/barrierSetStackChunk.hpp ! src/hotspot/share/gc/shared/memAllocator.cpp ! src/hotspot/share/gc/shared/memAllocator.hpp ! src/hotspot/share/gc/shared/modRefBarrierSet.hpp ! src/hotspot/share/gc/shenandoah/shenandoahBarrierSet.cpp + src/hotspot/share/gc/shenandoah/shenandoahBarrierSetStackChunk.cpp + src/hotspot/share/gc/shenandoah/shenandoahBarrierSetStackChunk.hpp ! src/hotspot/share/gc/z/zBarrierSet.cpp + src/hotspot/share/gc/z/zBarrierSetStackChunk.cpp + src/hotspot/share/gc/z/zBarrierSetStackChunk.hpp ! src/hotspot/share/memory/iterator.hpp ! src/hotspot/share/oops/instanceStackChunkKlass.hpp ! src/hotspot/share/oops/instanceStackChunkKlass.inline.hpp ! src/hotspot/share/oops/stackChunkOop.cpp ! src/hotspot/share/oops/stackChunkOop.hpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/prims/jvmtiEnvBase.cpp ! src/hotspot/share/prims/stackwalk.hpp ! src/hotspot/share/runtime/continuation.cpp ! src/hotspot/share/runtime/continuation.hpp ! src/hotspot/share/runtime/continuationEntry.cpp ! src/hotspot/share/runtime/continuationEntry.hpp ! src/hotspot/share/runtime/continuationEntry.inline.hpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/continuationJavaClasses.hpp ! src/hotspot/share/runtime/continuationJavaClasses.inline.hpp ! src/hotspot/share/runtime/continuationWrapper.cpp ! src/hotspot/share/runtime/continuationWrapper.inline.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/stackValue.cpp ! src/hotspot/share/runtime/stackValue.hpp ! src/hotspot/share/runtime/vframe.cpp ! src/hotspot/share/runtime/vframe.inline.hpp Changeset: be4245e8 Author: Erik ?sterlund Date: 2022-11-30 14:15:18 +0000 URL: https://git.openjdk.org/panama-foreign/commit/be4245e814cc29701cc425d8e66854e36eb3aef0 8294924: JvmtiExport::post_exception_throw() doesn't deal well with concurrent stack processing Reviewed-by: pchilanomate, sspitsyn, dholmes ! src/hotspot/share/prims/jvmtiExport.cpp Changeset: a1f4db55 Author: Stefan Johansson Date: 2022-11-30 14:51:31 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a1f4db55c517143f8dbf448c21448a08de3cbdd8 8297584: G1 parallel phase event for scan heap roots is sent too often Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1RemSet.cpp Changeset: dcf431db Author: Afshin Zafari Committer: Robbin Ehn Date: 2022-11-30 16:38:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/dcf431db0b88c33e574b5986f22df5ed6e9b8be4 8287400: Make BitMap range parameter names consistent Reviewed-by: dholmes, lkorinth ! src/hotspot/share/utilities/bitMap.cpp ! src/hotspot/share/utilities/bitMap.hpp Changeset: c6855691 Author: Joe Darcy Date: 2022-11-30 16:51:26 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c68556916ae7cc0301f3c89c05148547dcb44278 8297731: Remove redundant check in MutableBigInteger.divide Reviewed-by: bpb ! src/java.base/share/classes/java/math/MutableBigInteger.java Changeset: 1323e98d Author: Chris Plummer Date: 2022-11-30 18:08:19 +0000 URL: https://git.openjdk.org/panama-foreign/commit/1323e98df14f16310ca1349db198ee17409cda49 8297170: misc JCK tests fail with "FATAL ERROR in native method: JDWP Can't disable vthread end events, jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)" Reviewed-by: amenkov, dcubed, lmesnik, sspitsyn ! src/jdk.jdwp.agent/share/native/libjdwp/eventHandler.c Changeset: 53dd2143 Author: Alex Menkov Date: 2022-11-30 18:39:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/53dd214318c7367ceccc511f1a5220797c5e253f 8297742: Combine vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount tests Reviewed-by: dholmes, lmesnik, kevinw, sspitsyn ! test/hotspot/jtreg/TEST.quick-groups ! test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset001.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset001/TestDescription.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset002/TestDescription.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset003/TestDescription.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset004/TestDescription.java - test/hotspot/jtreg/vmTestbase/nsk/monitoring/ThreadMXBean/resetPeakThreadCount/reset005/TestDescription.java Changeset: 6bac3323 Author: Magnus Ihse Bursie Date: 2022-11-30 18:59:47 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6bac332371d4c0a8cdf31b6603f8cbb6d2490f65 8297853: windows-x86 test build broken Reviewed-by: jvernee ! test/micro/org/openjdk/bench/java/lang/foreign/libQSortJNI.c Changeset: 1a2ff587 Author: Jorn Vernee Date: 2022-11-30 19:59:43 +0000 URL: https://git.openjdk.org/panama-foreign/commit/1a2ff58761d755c2330dec46e3eb53bc6d9a9839 8297736: test/jdk/java/foreign/TestMatrix.java is broken 8291642: java/foreign/TestMatrix.java -few tests are failing due to JDK-8287158. Reviewed-by: mcimadamore ! test/jdk/java/foreign/TestMatrix.java Changeset: 1722f9cc Author: Jorn Vernee Date: 2022-11-30 20:00:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/1722f9cce346563923fcebd92b32ea2cb30ea744 8290231: java/foreign/malloc/TestMixedMallocFree.java crashed in JDK19 ATR run Reviewed-by: mcimadamore - test/jdk/java/foreign/malloc/TestMixedMallocFree.java - test/jdk/java/foreign/malloc/libMalloc.c Changeset: e9d501e4 Author: Per Minborg Committer: Weijun Wang Date: 2022-11-30 20:19:52 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e9d501e442f78bec8bda38bd4f2e019005597a91 8297519: Improve expressions and modernise code in PKCS Reviewed-by: weijun ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Config.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/KeyCache.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11AEADCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Cipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11DHKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11DSAKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Digest.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11ECDHKeyAgreement.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11ECKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyAgreement.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyPairGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyStore.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyWrapCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PSSSignature.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11RSACipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11RSAKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11SecretKeyFactory.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Signature.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11TlsMasterSecretGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11TlsPrfGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Secmod.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Session.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SessionManager.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SunPKCS11.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/TemplateManager.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java Changeset: 4485d4e5 Author: Claes Redestad Date: 2022-11-30 20:53:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4485d4e517b6dece7a9eeb5cf9a2180d84956da3 8297728: Cache invocation type rather than invoker in NamedFunction Reviewed-by: jvernee ! src/java.base/share/classes/java/lang/invoke/LambdaForm.java Changeset: 3b513a4f Author: Jonathan Gibbons Date: 2022-12-01 00:26:27 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3b513a4f5cc9b607f93dcc9d1ba52280a2cf42f0 8297802: display of @spec tags should mimic that of @see tags Reviewed-by: prappo ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/TagletWriterImpl.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/HtmlStyle.java ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/stylesheet.css ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/SpecTaglet.java ! test/langtools/jdk/javadoc/doclet/testConstructors/TestConstructors.java ! test/langtools/jdk/javadoc/doclet/testGenericTypeLink/TestGenericTypeLink.java ! test/langtools/jdk/javadoc/doclet/testHref/TestHref.java ! test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFX.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFXCombo.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFXMissingPropComments.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOption.java ! test/langtools/jdk/javadoc/doclet/testModules/TestModules.java ! test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/TestNewLanguageFeatures.java ! test/langtools/jdk/javadoc/doclet/testOverview/TestOverview.java ! test/langtools/jdk/javadoc/doclet/testProperty/TestProperty.java ! test/langtools/jdk/javadoc/doclet/testSeeTag/TestSeeTag.java ! test/langtools/jdk/javadoc/doclet/testSeeTag/TestSeeTagWithModule.java ! test/langtools/jdk/javadoc/doclet/testSerializedForm/TestSerializedForm.java ! test/langtools/jdk/javadoc/doclet/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java ! test/langtools/jdk/javadoc/doclet/testSingletonLists/TestSingletonLists.java ! test/langtools/jdk/javadoc/doclet/testSpecTag/TestSpecTag.java ! test/langtools/jdk/javadoc/doclet/testTagOrder/TestTagOrder.java Changeset: f49acd52 Author: Feilong Jiang Committer: Fei Yang Date: 2022-12-01 04:01:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f49acd52594be3ec1e9682bda3ad69970dfd750d 8297697: RISC-V: Add support for SATP mode detection Reviewed-by: fyang, luhenry ! src/hotspot/cpu/riscv/vm_version_riscv.cpp ! src/hotspot/cpu/riscv/vm_version_riscv.hpp ! src/hotspot/os_cpu/linux_riscv/vm_version_linux_riscv.cpp Changeset: 56048f97 Author: Julian Waters Date: 2022-12-01 04:21:52 +0000 URL: https://git.openjdk.org/panama-foreign/commit/56048f9718d1104227795a23c02fa144543c07d0 8297852: Backout 8252584 for the time being Reviewed-by: kbarrett ! doc/hotspot-style.html ! doc/hotspot-style.md Changeset: c6125120 Author: Prasanta Sadhukhan Date: 2022-12-01 07:57:10 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c61251201402f15bf0795564bf31545d9c72ee41 8296660: Swing HTML table with omitted closing tags misparsed Reviewed-by: prr, jdv ! src/java.desktop/share/classes/javax/swing/text/html/parser/Parser.java + test/jdk/javax/swing/text/html/parser/TestHtmlOptionalClosingTag.java Changeset: 756dd5bb Author: Jan Lahoda Date: 2022-12-01 08:02:40 +0000 URL: https://git.openjdk.org/panama-foreign/commit/756dd5bb0d2ab3f956ecc6cfcf2b87810c763572 8294942: Compiler implementation for Record Patterns (Second Preview) 8294945: Compiler implementation for Pattern Matching for switch (Fourth Preview) Co-authored-by: Aggelos Biboudis Co-authored-by: Maurizio Cimadamore Reviewed-by: mcimadamore, vromero ! src/jdk.compiler/share/classes/com/sun/source/tree/DeconstructionPatternTree.java ! src/jdk.compiler/share/classes/com/sun/source/tree/InstanceOfTree.java ! src/jdk.compiler/share/classes/com/sun/source/util/TreeScanner.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransPatterns.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/Pretty.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeCopier.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeMaker.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeScanner.java + test/langtools/tools/javac/diags/examples/DefaultLabelNotAllowed.java ! test/langtools/tools/javac/diags/examples/FlowsThroughToPattern.java + test/langtools/tools/javac/diags/examples/InvalidCaseLabelCombination.java + test/langtools/tools/javac/diags/examples/PatternTypeCannotInfer.java - test/langtools/tools/javac/diags/examples/RawDeconstructionPattern.java - test/langtools/tools/javac/patterns/CaseDefault.java - test/langtools/tools/javac/patterns/CaseDefault.out ! test/langtools/tools/javac/patterns/CaseStructureTest.java ! test/langtools/tools/javac/patterns/DeconstructionPatternErrors.java ! test/langtools/tools/javac/patterns/DeconstructionPatternErrors.out ! test/langtools/tools/javac/patterns/Exhaustiveness.java ! test/langtools/tools/javac/patterns/GenericRecordDeconstructionPattern.java ! test/langtools/tools/javac/patterns/Guards.java + test/langtools/tools/javac/patterns/InferenceUnitTest.java + test/langtools/tools/javac/patterns/NewCaseStructureTest.java ! test/langtools/tools/javac/patterns/NullSwitch.java ! test/langtools/tools/javac/patterns/PrettyTest.java ! test/langtools/tools/javac/patterns/SimpleDeconstructionPattern.java ! test/langtools/tools/javac/patterns/SimpleDeconstructionPatternNoPreview.out ! test/langtools/tools/javac/patterns/SwitchErrors.java ! test/langtools/tools/javac/patterns/SwitchErrors.out ! test/langtools/tools/javac/patterns/Switches.java ! test/langtools/tools/javac/switchnull/SwitchNull.java Changeset: ce048e7c Author: Abhishek Kumar Committer: Jayathirth D V Date: 2022-12-01 08:07:22 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ce048e7cb55517e2710dfe4e802602869d8c5cb8 8295006: Colored text is not shown on disabled checkbox and radio button with GTK LAF for bug4314194. Reviewed-by: prr, tr ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java ! test/jdk/ProblemList.txt Changeset: 34fcd83c Author: Aleksey Shipilev Date: 2022-12-01 08:11:54 +0000 URL: https://git.openjdk.org/panama-foreign/commit/34fcd83c5ea54f94b60ebda0a111d0fe8ea9cbec 8297821: jdk/jshell/Test8294583.java fails on some platforms Reviewed-by: alanb, jlahoda ! test/langtools/jdk/jshell/Test8294583.java Changeset: fa0c599a Author: Andrey Turbanov Date: 2022-12-01 08:16:55 +0000 URL: https://git.openjdk.org/panama-foreign/commit/fa0c599a003962cf3457bb49b9f771659532b5c3 8297750: Unnecessary Vector usage in IIORegistry Reviewed-by: prr, serb ! src/java.desktop/share/classes/javax/imageio/spi/IIORegistry.java Changeset: 9f24a6f4 Author: Tobias Hartmann Date: 2022-12-01 08:49:54 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9f24a6f43c6a5e1fa92275e0a87af4f1f0603ba3 8297389: resexhausted003 fails with assert(!thread->owns_locks()) failed: must release all locks when leaving VM Reviewed-by: dholmes, rrich, dlong ! src/hotspot/share/ci/ciReplay.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/methodData.cpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp Changeset: 79411478 Author: Albert Mingkun Yang Date: 2022-12-01 10:00:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/794114787b03e2a89ce7343b4fad94bb61494f94 8297503: Merge FilteringDCTOC into ContiguousSpaceDCTOC Reviewed-by: tschatzl, kbarrett ! src/hotspot/share/gc/shared/space.cpp ! src/hotspot/share/gc/shared/space.hpp Changeset: eea1a8a9 Author: Stefan Johansson Date: 2022-12-01 10:30:14 +0000 URL: https://git.openjdk.org/panama-foreign/commit/eea1a8a95e172ef5221ab622d171f46cc6cbb598 8297427: Avoid keeping class loaders alive when executing ClassLoaderStatsVMOperation Reviewed-by: eosterlund, stefank ! src/hotspot/share/classfile/classLoaderDataGraph.cpp ! src/hotspot/share/classfile/classLoaderDataGraph.hpp ! src/hotspot/share/classfile/classLoaderStats.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/javaClasses.hpp ! src/hotspot/share/prims/whitebox.cpp + test/hotspot/jtreg/runtime/ClassUnload/UnloadTestDuringClassLoaderStatsVMOperation.java + test/hotspot/jtreg/runtime/ClassUnload/classes/test/LoadInChild.java + test/hotspot/jtreg/runtime/ClassUnload/classes/test/LoadInParent.java ! test/lib/jdk/test/whitebox/WhiteBox.java Changeset: cd776093 Author: Alan Bateman Date: 2022-12-01 10:40:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/cd776093c79e9a1a4c40c0adfdbfeedf293d99c7 8294278: ForkJoinPool.getAndAddPoolIds should use Unsafe.staticFieldBase Reviewed-by: burban, chegar, martin ! src/java.base/share/classes/java/lang/Thread.java ! src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java Changeset: b60cce6f Author: Jan Lahoda Date: 2022-12-01 10:51:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b60cce6f3bf7dc96d632aa361a6eb10691dcf5c1 8297118: Change IncompatibleClassChangeError to MatchException for exhaustive switch statements and switch expressions Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java ! test/langtools/tools/javac/patterns/EnumTypeChanges.java + test/langtools/tools/javac/patterns/EnumTypeChangesNonPreview.java + test/langtools/tools/javac/patterns/MatchExceptionTest.java Changeset: fc9d419b Author: Jan Lahoda Date: 2022-12-01 11:46:13 +0000 URL: https://git.openjdk.org/panama-foreign/commit/fc9d419b4ff46e484fa8798304dae29d3946dcfb 8297928: Update jdk.internal.javac.PreviewFeature.Feature to reflect JEP 432 and JEP 433 Reviewed-by: alanb ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java Changeset: 2cb64a75 Author: Aggelos Biboudis Committer: Jan Lahoda Date: 2022-12-01 12:40:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2cb64a75578ccc15a1dfc8c2843aa11d05ca8aa7 8294943: Implement record patterns in enhanced for 8296802: Parse errors when deconstructing a record using the enhanced for loop of JEP 432 Co-authored-by: Jan Lahoda Co-authored-by: Aggelos Biboudis Co-authored-by: Maurizio Cimadamore Reviewed-by: mcimadamore, vromero ! src/jdk.compiler/share/classes/com/sun/source/tree/EnhancedForLoopTree.java ! src/jdk.compiler/share/classes/com/sun/source/util/TreeScanner.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Analyzer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransPatterns.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TreeDiffer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/CRTable.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/Pretty.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeCopier.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeMaker.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeScanner.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeTranslator.java + test/langtools/tools/javac/diags/examples/ForeachNotExhaustive.java ! test/langtools/tools/javac/lib/DPrinter.java ! test/langtools/tools/javac/patterns/DisambiguatePatterns.java + test/langtools/tools/javac/patterns/ForEachPatterns.java + test/langtools/tools/javac/patterns/ForEachPatternsErrors.java + test/langtools/tools/javac/patterns/ForEachPatternsErrors.out + test/langtools/tools/javac/patterns/ForEachTestAllAnalyzers.java ! test/langtools/tools/javac/patterns/GenericRecordDeconstructionPattern.java Changeset: 9430f3e6 Author: Roland Westrelin Date: 2022-12-01 14:19:28 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9430f3e65c4900e121858dc111b6f20207e0694f 8297934: [BACKOUT] Compiler should only use verified interface types for optimization Reviewed-by: thartmann, kvn ! src/hotspot/share/ci/ciArrayKlass.cpp ! src/hotspot/share/ci/ciArrayKlass.hpp ! src/hotspot/share/ci/ciInstanceKlass.cpp ! src/hotspot/share/ci/ciInstanceKlass.hpp ! src/hotspot/share/ci/ciObjectFactory.cpp ! src/hotspot/share/opto/castnode.cpp ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/doCall.cpp ! src/hotspot/share/opto/graphKit.cpp ! src/hotspot/share/opto/idealGraphPrinter.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/memnode.cpp ! src/hotspot/share/opto/node.cpp ! src/hotspot/share/opto/parse1.cpp ! src/hotspot/share/opto/parse3.cpp ! src/hotspot/share/opto/parseHelper.cpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/opto/type.cpp ! src/hotspot/share/opto/type.hpp ! test/hotspot/jtreg/compiler/intrinsics/klass/CastNullCheckDroppingsTest.java - test/hotspot/jtreg/compiler/types/TestExactArrayOfBasicType.java Changeset: eec24aa2 Author: Erik Gahlin Date: 2022-12-01 15:01:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/eec24aa2039658afd6d2fde790174d982eae6479 8295350: JFR: Add stop methods for recording streams Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingStream.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/snippet-files/Snippets.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/AbstractEventStream.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/EventDirectoryStream.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/management/ManagementSupport.java + src/jdk.jfr/share/classes/jdk/jfr/internal/management/StreamBarrier.java ! src/jdk.management.jfr/share/classes/jdk/management/jfr/DiskRepository.java ! src/jdk.management.jfr/share/classes/jdk/management/jfr/RemoteRecordingStream.java ! test/jdk/jdk/jfr/api/consumer/recordingstream/EventProducer.java ! test/jdk/jdk/jfr/api/consumer/recordingstream/TestDump.java + test/jdk/jdk/jfr/api/consumer/recordingstream/TestStop.java + test/jdk/jdk/jfr/jmx/streaming/TestStop.java Changeset: c6156f91 Author: Sergey Tsypanov Committer: Andrey Turbanov Date: 2022-12-01 15:28:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c6156f9123c02b814ce0615568499f60d95b461a 8297561: Redundant index check in String.offsetByCodePoints() Reviewed-by: aturbanov, rriggs, redestad ! src/java.base/share/classes/java/lang/String.java + test/micro/org/openjdk/bench/java/lang/StringOffsetByCodePoints.java Changeset: 5459b110 Author: Albert Mingkun Yang Date: 2022-12-01 15:32:27 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5459b1104fa9ae58c8dce40820b5dba1f68d14a4 8297033: G1: Improve logging for Remembered Sets Reviewed-by: tschatzl, kbarrett ! src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp ! src/hotspot/share/gc/g1/g1GCPhaseTimes.hpp ! src/hotspot/share/gc/g1/g1RemSet.cpp Changeset: 4899d782 Author: Matthijs Bijman Committer: Tobias Hartmann Date: 2022-12-01 15:57:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4899d7829246cf3c082ab3c0df9221853d1520a9 8293294: Remove dead code in Parse::check_interpreter_type Reviewed-by: vlivanov, thartmann ! src/hotspot/share/opto/parse1.cpp Changeset: c70d1e1b Author: Christian Stein Date: 2022-12-01 16:49:40 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c70d1e1bd32c71e0d2df635bc565201a09084a83 8296710: Update to use jtreg 7.1 Reviewed-by: erikj, alanb, jjg ! make/autoconf/lib-tests.m4 ! make/conf/github-actions.conf ! make/conf/jib-profiles.js ! test/hotspot/jtreg/TEST.ROOT ! test/jaxp/TEST.ROOT ! test/jdk/TEST.ROOT ! test/langtools/TEST.ROOT ! test/lib-test/TEST.ROOT Changeset: 9f94cbec Author: Alexander Zvegintsev Date: 2022-12-01 18:10:31 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9f94cbec51df7556d34fffa810e59dd9eb8521df 8271519: java/awt/event/SequencedEvent/MultipleContextsFunctionalTest.java failed with "Total [200] - Expected [400]" Reviewed-by: serb ! test/jdk/java/awt/event/SequencedEvent/MultipleContextsFunctionalTest.java Changeset: 09629570 Author: Harshitha Onkar Date: 2022-12-01 18:57:50 +0000 URL: https://git.openjdk.org/panama-foreign/commit/09629570f5d064dc2a5cd670de8d648156ac3991 8297449: Update JInternalFrame Metal Border code Reviewed-by: aivanov, kizune ! src/java.desktop/share/classes/javax/swing/plaf/metal/MetalBorders.java Changeset: 391599bc Author: Ioi Lam Date: 2022-12-01 19:59:14 +0000 URL: https://git.openjdk.org/panama-foreign/commit/391599bc9d6b28a88e86d37464bb76e1e5314ce3 8297313: Refactor APIs for calculating address of CDS archive heap regions Reviewed-by: matsaave, ccheung ! src/hotspot/share/cds/archiveHeapLoader.cpp ! src/hotspot/share/cds/archiveHeapLoader.hpp ! src/hotspot/share/cds/archiveHeapLoader.inline.hpp ! src/hotspot/share/cds/archiveUtils.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/cds/metaspaceShared.cpp ! src/hotspot/share/cds/metaspaceShared.hpp ! src/hotspot/share/classfile/stringTable.cpp ! src/hotspot/share/include/cds.h ! test/hotspot/jtreg/runtime/cds/appcds/TestSerialGCWithCDS.java Changeset: 5a5ced3a Author: Kim Barrett Date: 2022-12-01 20:15:14 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5a5ced3a900a81fd0b0757017f4138ce97e2521e 8297830: aarch64: Make Address a discriminated union internally Reviewed-by: aph, dcubed ! src/hotspot/cpu/aarch64/assembler_aarch64.cpp ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.hpp Changeset: c69aa42d Author: Andrew Haley Date: 2022-12-01 20:34:18 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c69aa42d02dba4612998d6ecdc57286774da9d33 8297968: Crash in PrintOptoAssembly Reviewed-by: kvn ! src/hotspot/share/opto/matcher.cpp Changeset: 770ff5a8 Author: Joe Darcy Date: 2022-12-01 20:38:16 +0000 URL: https://git.openjdk.org/panama-foreign/commit/770ff5a812d7b895ed2badfef9bb4e0b211d55bb 8297215: Update libs tests to use @enablePreview Reviewed-by: alanb, sspitsyn ! test/jdk/java/lang/Thread/BuilderTest.java ! test/jdk/java/lang/Thread/virtual/Collectable.java ! test/jdk/java/lang/Thread/virtual/CustomScheduler.java ! test/jdk/java/lang/Thread/virtual/GetStackTrace.java ! test/jdk/java/lang/Thread/virtual/GetStackTraceWhenRunnable.java ! test/jdk/java/lang/Thread/virtual/HoldsLock.java ! test/jdk/java/lang/Thread/virtual/JfrEvents.java ! test/jdk/java/lang/Thread/virtual/Locking.java ! test/jdk/java/lang/Thread/virtual/ParkWithFixedThreadPool.java ! test/jdk/java/lang/Thread/virtual/Parking.java ! test/jdk/java/lang/Thread/virtual/Reflection.java ! test/jdk/java/lang/Thread/virtual/ShutdownHook.java ! test/jdk/java/lang/Thread/virtual/StackTraces.java ! test/jdk/java/lang/Thread/virtual/ThreadLocals.java ! test/jdk/java/lang/Thread/virtual/WaitNotify.java ! test/jdk/java/lang/Thread/virtual/stress/GetStackTraceALot.java ! test/jdk/java/lang/runtime/SwitchBootstrapsTest.java ! test/jdk/java/net/Socket/Timeouts.java ! test/jdk/java/net/vthread/HttpALot.java ! test/jdk/java/net/vthread/InterruptHttp.java ! test/jdk/jdk/internal/vm/Continuation/Basic.java ! test/jdk/jdk/internal/vm/Continuation/ClassUnloading.java ! test/jdk/jdk/internal/vm/Continuation/HumongousStack.java ! test/jdk/jdk/internal/vm/Continuation/LiveFramesDriver.java ! test/jdk/jdk/internal/vm/Continuation/Scoped.java ! test/jdk/jdk/jfr/event/runtime/TestThreadEndEvent.java ! test/jdk/jdk/jfr/event/runtime/TestThreadSleepEvent.java ! test/jdk/jdk/jfr/event/runtime/TestThreadStartEvent.java ! test/jdk/jdk/jfr/event/runtime/TestVirtualThreadEndEvent.java ! test/jdk/jdk/jfr/event/runtime/TestVirtualThreadStartEvent.java ! test/jdk/jdk/jfr/jvm/TestThreadExclusion.java ! test/jdk/jdk/jfr/jvm/TestVirtualThreadExclusion.java ! test/jdk/jdk/jfr/threading/TestDeepVirtualStackTrace.java ! test/jdk/jdk/jfr/threading/TestManyVirtualThreads.java ! test/jdk/jdk/jfr/threading/TestNestedVirtualThreads.java Changeset: 337ca100 Author: Leonid Mesnik Date: 2022-12-01 21:29:18 +0000 URL: https://git.openjdk.org/panama-foreign/commit/337ca10085fcec125fb658167e51d2f35f1f0cda 8297978: Exclude vmTestbase/nsk/stress/except/except012.java until 8297977 is fixed Reviewed-by: dcubed ! test/hotspot/jtreg/ProblemList.txt Changeset: 82031d32 Author: Vicente Romero Date: 2022-12-01 21:57:55 +0000 URL: https://git.openjdk.org/panama-foreign/commit/82031d32a002d183d2a18bd1e50bd5826b65380c 8297294: compiler/c2/irTests/TestMulNodeIdealization.java failed compilation Reviewed-by: mcimadamore ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Infer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/InferenceContext.java Changeset: e846b043 Author: Liam Miller-Cushon Date: 2022-12-01 22:07:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e846b0438ca12f457ee763fed3a435d3a863c383 8297875: jar should not compress the manifest directory entry Reviewed-by: lancea ! src/jdk.jartool/share/classes/sun/tools/jar/Main.java + test/jdk/tools/jar/ManifestDirectoryCompression.java Changeset: 257aa15f Author: Magnus Ihse Bursie Date: 2022-12-01 23:41:58 +0000 URL: https://git.openjdk.org/panama-foreign/commit/257aa15f15bb835310132e6fb23e0362cafeb16a 8297444: Refactor the javacserver build tool Reviewed-by: erikj, cstein ! make/common/JavaCompilation.gmk - make/langtools/tools/javacserver/Log.java ! make/langtools/tools/javacserver/Main.java - make/langtools/tools/javacserver/Result.java - make/langtools/tools/javacserver/Util.java + make/langtools/tools/javacserver/client/Client.java + make/langtools/tools/javacserver/client/ClientConfiguration.java - make/langtools/tools/javacserver/client/ClientMain.java - make/langtools/tools/javacserver/client/SjavacClient.java - make/langtools/tools/javacserver/comp/PooledSjavac.java - make/langtools/tools/javacserver/comp/SjavacImpl.java - make/langtools/tools/javacserver/options/ArgumentIterator.java - make/langtools/tools/javacserver/options/CommandLine.java - make/langtools/tools/javacserver/options/Option.java - make/langtools/tools/javacserver/options/Options.java + make/langtools/tools/javacserver/server/CompilerThreadPool.java + make/langtools/tools/javacserver/server/IdleMonitor.java - make/langtools/tools/javacserver/server/IdleResetSjavac.java ! make/langtools/tools/javacserver/server/PortFileMonitor.java - make/langtools/tools/javacserver/server/RequestHandler.java + make/langtools/tools/javacserver/server/Server.java - make/langtools/tools/javacserver/server/ServerMain.java - make/langtools/tools/javacserver/server/Sjavac.java - make/langtools/tools/javacserver/server/SjavacServer.java - make/langtools/tools/javacserver/server/Terminable.java = make/langtools/tools/javacserver/shared/PortFile.java = make/langtools/tools/javacserver/shared/PortFileInaccessibleException.java + make/langtools/tools/javacserver/shared/Protocol.java + make/langtools/tools/javacserver/shared/Result.java = make/langtools/tools/javacserver/util/AutoFlushWriter.java = make/langtools/tools/javacserver/util/LazyInitFileLog.java + make/langtools/tools/javacserver/util/Log.java = make/langtools/tools/javacserver/util/LoggingOutputStream.java + make/langtools/tools/javacserver/util/RunnableTimerTask.java + make/langtools/tools/javacserver/util/Util.java Changeset: b035056d Author: Magnus Ihse Bursie Date: 2022-12-02 00:08:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b035056d28a1c6c738fed6dd7f3b4d9dac75c6c7 8297455: Use the official ToolProvider API to call javac Reviewed-by: erikj ! make/langtools/tools/javacserver/server/Server.java Changeset: 11ba7591 Author: Jie Fu Date: 2022-12-02 06:04:10 +0000 URL: https://git.openjdk.org/panama-foreign/commit/11ba7591dfd3f7ca58e2e1ac6d1b3e81391f5bfb 8297992: Tests fail after JDK-8297215 due to lack of @enablePreview Reviewed-by: darcy ! test/jdk/java/lang/Thread/virtual/HoldsLock.java ! test/jdk/java/lang/Thread/virtual/stress/GetStackTraceALot.java ! test/jdk/jdk/internal/vm/Continuation/Basic.java Changeset: 9bbcb546 Author: Aleksey Shipilev Date: 2022-12-02 07:29:27 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9bbcb546c86b40ae23d46e12a1a03aae7a7a6182 8297784: Optimize @Stable field for Method.isCallerSensitive Reviewed-by: redestad, jvernee, alanb ! src/java.base/share/classes/java/lang/reflect/Method.java Changeset: d50015af Author: Fei Yang Date: 2022-12-02 08:26:22 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d50015af99f44909bf71fd2de97546d47cda86d6 8297715: RISC-V: C2: Use single-bit instructions from the Zbs extension Reviewed-by: fjiang, yadongwang, shade ! src/hotspot/cpu/riscv/assembler_riscv.hpp ! src/hotspot/cpu/riscv/globals_riscv.hpp ! src/hotspot/cpu/riscv/riscv.ad ! src/hotspot/cpu/riscv/riscv_b.ad Changeset: 687fd714 Author: Dingli Zhang Committer: Fei Yang Date: 2022-12-02 08:30:00 +0000 URL: https://git.openjdk.org/panama-foreign/commit/687fd714bbc390f486272e05452f038bc3631be1 8297549: RISC-V: Add support for Vector API vector load const operation Reviewed-by: fyang, gcao ! src/hotspot/cpu/riscv/riscv_v.ad Changeset: 6d0fbb2c Author: Daniel Fuchs Date: 2022-12-02 10:44:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6d0fbb2c49d904ac353b4a2ebc694e3d1609bd76 8297645: Drop the test/jdk/java/net/httpclient/reactivestreams-tck-tests/TckDriver.java test Reviewed-by: alanb, jpai, michaelm - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersConcat.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersFromPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersNoBody.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfByteArray.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfByteArrays.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfFile.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfInputStream.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodyPublishersOfSubByteArray.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersBuffering.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersDiscarding.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersFromLineSubscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersFromSubscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersMapping.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfByteArray.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfByteArrayConsumer.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfFile.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfInputStream.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfLines.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfPublisher1.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfPublisherPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersOfString.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/BodySubscribersReplacing.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/S.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/SPublisherOfStream.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/STest.java - test/jdk/java/net/httpclient/reactivestreams-tck-tests/TckDriver.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/FlowAdapters.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/Processor.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/Publisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/Subscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/Subscription.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/AsyncIterablePublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/AsyncSubscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/InfiniteIncrementNumberPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/NumberIterablePublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/RangePublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/example/unicast/SyncSubscriber.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/IdentityProcessorVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/PublisherVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/SubscriberBlackboxVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/SubscriberWhiteboxVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/TestEnvironment.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/WithHelperPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/FlowPublisherVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/FlowSubscriberBlackboxVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/FlowSubscriberWhiteboxVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/IdentityFlowProcessorVerification.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/Function.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/HelperPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/InfiniteHelperPublisher.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/NonFatal.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/Optional.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/PublisherVerificationRules.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/SubscriberBlackboxVerificationRules.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/SubscriberBufferOverflowException.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/SubscriberWhiteboxVerificationRules.java - test/jdk/java/net/httpclient/reactivestreams-tck/org/reactivestreams/tck/flow/support/TestException.java Changeset: 5c5fa74a Author: duke Date: 2022-12-02 11:00:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5c5fa74a67c122e737006d0256f8f694b4540857 Automatic merge of jdk:master into master From duke at openjdk.org Fri Dec 2 11:11:05 2022 From: duke at openjdk.org (J. Duke) Date: Fri, 2 Dec 2022 11:11:05 GMT Subject: [foreign-memaccess+abi] RFR: Merge master Message-ID: Hi all, this is an _automatically_ generated pull request to notify you that there are 120 commits from the branch `master`that can **not** be merged into the branch `foreign-memaccess+abi`: The following file contains merge conflicts: - test/jdk/java/foreign/malloc/TestMixedMallocFree.java All Committers in this [project](https://openjdk.org/census#panama) have access to my [personal fork](https://github.com/openjdk-bot/panama-foreign) and can therefore help resolve these merge conflicts (you may want to coordinate who should do this). The following paragraphs will give an example on how to solve these merge conflicts and push the resulting merge commit to this pull request. The below commands should be run in a local clone of your [personal fork](https://wiki.openjdk.org/display/skara#Skara-Personalforks) of the [openjdk/panama-foreign](https://github.com/openjdk/panama-foreign) repository. # Ensure target branch is up to date $ git checkout foreign-memaccess+abi $ git pull https://github.com/openjdk/panama-foreign.git foreign-memaccess+abi # Fetch and checkout the branch for this pull request $ git fetch https://github.com/openjdk-bot/panama-foreign.git +129:openjdk-bot-129 $ git checkout openjdk-bot-129 # Merge the target branch $ git merge foreign-memaccess+abi When you have resolved the conflicts resulting from the `git merge` command above, run the following commands to create a merge commit: $ git add paths/to/files/with/conflicts $ git commit -m 'Merge master' When you have created the merge commit, run the following command to push the merge commit to this pull request: $ git push https://github.com/openjdk-bot/panama-foreign.git openjdk-bot-129:129 _Note_: if you are using SSH to push commits to GitHub, then change the URL in the above `git push` command accordingly. Thanks, J. Duke ------------- Commit messages: - Automatic merge of jdk:master into master - 8297645: Drop the test/jdk/java/net/httpclient/reactivestreams-tck-tests/TckDriver.java test - 8297549: RISC-V: Add support for Vector API vector load const operation - 8297715: RISC-V: C2: Use single-bit instructions from the Zbs extension - 8297784: Optimize @Stable field for Method.isCallerSensitive - 8297992: Tests fail after JDK-8297215 due to lack of @enablePreview - 8297455: Use the official ToolProvider API to call javac - 8297444: Refactor the javacserver build tool - 8297875: jar should not compress the manifest directory entry - 8297294: compiler/c2/irTests/TestMulNodeIdealization.java failed compilation - ... and 110 more: https://git.openjdk.org/panama-foreign/compare/b5c4e8ed...5c5fa74a The webrev contains the conflicts with foreign-memaccess+abi: - merge conflicts: https://webrevs.openjdk.org/?repo=panama-foreign&pr=756&range=00.conflicts Changes: https://git.openjdk.org/panama-foreign/pull/756/files Stats: 34237 lines in 772 files changed: 14047 ins; 16633 del; 3557 mod Patch: https://git.openjdk.org/panama-foreign/pull/756.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/756/head:pull/756 PR: https://git.openjdk.org/panama-foreign/pull/756 From grishka93 at gmail.com Fri Dec 2 11:20:04 2022 From: grishka93 at gmail.com (Gregory Klyushnikov) Date: Fri, 2 Dec 2022 14:20:04 +0300 Subject: Conversion between Java objects and native pointers Message-ID: <3AC80726-F44B-473D-A817-EB7AFCB24389@gmail.com> I'm trying to use the preview Panama API to build an FFI for Objective C, allowing Java to fully interoperate with native macOS libraries. Calling out to existing classes is simple: you just use objc_msgSend and sel_registerName a bunch with the right arguments. But many macOS APIs want you to create your own classes and override methods (NSApplicationDelegate is one example and you seemingly can't do GUI without creating one) ? which isn't as easy to do in a non-ugly way with the current Panama API. You *can* define a new Objective C class at runtime using objc_registerClassPair, but you don't have a good way of linking an ObjC object to its corresponding Java object. You can, obviously, store the pointer to the ObjC object in the Java object, but you can't do it the other way around, which poses a problem for overridden methods. The obvious solution to receiving calls to overridden methods would be: 1. Set their implementations as pointers to static methods 2. Create an instance variable in the ObjC object that would hold the pointer to its corresponding Java object 3. When a method is called, you'd get your Java `this` from that instance variable and forward the call to your Java object But I can't seem to find any way whatsoever, at least one that doesn't feel extremely hacky and thus unreliable, to convert a Java object to a native pointer and back. This would also be useful, in some circumstances, for those C APIs that take a function pointer and `void*` as the "context" and then pass that `void*` back to your function. Or are there better solutions that don't need this? From maurizio.cimadamore at oracle.com Fri Dec 2 12:33:42 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Fri, 2 Dec 2022 12:33:42 +0000 Subject: Conversion between Java objects and native pointers In-Reply-To: <3AC80726-F44B-473D-A817-EB7AFCB24389@gmail.com> References: <3AC80726-F44B-473D-A817-EB7AFCB24389@gmail.com> Message-ID: <591aabec-5716-7a13-437a-3f8ca4844383@oracle.com> To make sure I understand your use case (admittedly I'm not an expert in ObjC). You want to define an ObjC class whose methods end up invoking some piece of Java code? Would that be a fair description? In general, "Java objects" cannot be converted into native pointers. But, you can turn Java methods (method handles, to be precise) into native pointers, and pass those to the ObjC class implementation. Would that be enough? Maurizio On 02/12/2022 11:20, Gregory Klyushnikov wrote: > I'm trying to use the preview Panama API to build an FFI for Objective C, allowing Java to fully interoperate with native macOS libraries. Calling out to existing classes is simple: you just use objc_msgSend and sel_registerName a bunch with the right arguments. But many macOS APIs want you to create your own classes and override methods (NSApplicationDelegate is one example and you seemingly can't do GUI without creating one) ? which isn't as easy to do in a non-ugly way with the current Panama API. > > You *can* define a new Objective C class at runtime using objc_registerClassPair, but you don't have a good way of linking an ObjC object to its corresponding Java object. You can, obviously, store the pointer to the ObjC object in the Java object, but you can't do it the other way around, which poses a problem for overridden methods. The obvious solution to receiving calls to overridden methods would be: > 1. Set their implementations as pointers to static methods > 2. Create an instance variable in the ObjC object that would hold the pointer to its corresponding Java object > 3. When a method is called, you'd get your Java `this` from that instance variable and forward the call to your Java object > > But I can't seem to find any way whatsoever, at least one that doesn't feel extremely hacky and thus unreliable, to convert a Java object to a native pointer and back. This would also be useful, in some circumstances, for those C APIs that take a function pointer and `void*` as the "context" and then pass that `void*` back to your function. Or are there better solutions that don't need this? From sundararajan.athijegannathan at oracle.com Fri Dec 2 13:11:05 2022 From: sundararajan.athijegannathan at oracle.com (Sundararajan Athijegannathan) Date: Fri, 2 Dec 2022 13:11:05 +0000 Subject: Conversion between Java objects and native pointers In-Reply-To: <591aabec-5716-7a13-437a-3f8ca4844383@oracle.com> References: <3AC80726-F44B-473D-A817-EB7AFCB24389@gmail.com> <591aabec-5716-7a13-437a-3f8ca4844383@oracle.com> Message-ID: Suppose if you have to implement the same with JNI, would you use JNI handles? i.e., Pass a JNI handle as a void* to native callbacks and map it back to Java objects inside the callbacks? Panama does not support something like JNI handles. It's something we considered/discussed and so far the risk outweighed the benefits. One solution could be to pass "longs" to native API and have a Map of long to Java object on the Java side (to map 'native object' to Java mirror back). Thanks, -Sundar ________________________________ From: panama-dev on behalf of Maurizio Cimadamore Sent: 02 December 2022 18:03 To: Gregory Klyushnikov ; panama-dev at openjdk.org Subject: Re: Conversion between Java objects and native pointers To make sure I understand your use case (admittedly I'm not an expert in ObjC). You want to define an ObjC class whose methods end up invoking some piece of Java code? Would that be a fair description? In general, "Java objects" cannot be converted into native pointers. But, you can turn Java methods (method handles, to be precise) into native pointers, and pass those to the ObjC class implementation. Would that be enough? Maurizio On 02/12/2022 11:20, Gregory Klyushnikov wrote: > I'm trying to use the preview Panama API to build an FFI for Objective C, allowing Java to fully interoperate with native macOS libraries. Calling out to existing classes is simple: you just use objc_msgSend and sel_registerName a bunch with the right arguments. But many macOS APIs want you to create your own classes and override methods (NSApplicationDelegate is one example and you seemingly can't do GUI without creating one) ? which isn't as easy to do in a non-ugly way with the current Panama API. > > You *can* define a new Objective C class at runtime using objc_registerClassPair, but you don't have a good way of linking an ObjC object to its corresponding Java object. You can, obviously, store the pointer to the ObjC object in the Java object, but you can't do it the other way around, which poses a problem for overridden methods. The obvious solution to receiving calls to overridden methods would be: > 1. Set their implementations as pointers to static methods > 2. Create an instance variable in the ObjC object that would hold the pointer to its corresponding Java object > 3. When a method is called, you'd get your Java `this` from that instance variable and forward the call to your Java object > > But I can't seem to find any way whatsoever, at least one that doesn't feel extremely hacky and thus unreliable, to convert a Java object to a native pointer and back. This would also be useful, in some circumstances, for those C APIs that take a function pointer and `void*` as the "context" and then pass that `void*` back to your function. Or are there better solutions that don't need this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From maurizio.cimadamore at oracle.com Fri Dec 2 17:02:46 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Fri, 2 Dec 2022 17:02:46 +0000 Subject: Conversion between Java objects and native pointers In-Reply-To: <1613264E-63FA-4E43-AE28-483068F4D31B@gmail.com> References: <3AC80726-F44B-473D-A817-EB7AFCB24389@gmail.com> <591aabec-5716-7a13-437a-3f8ca4844383@oracle.com> <1613264E-63FA-4E43-AE28-483068F4D31B@gmail.com> Message-ID: On 02/12/2022 16:44, Gregory Klyushnikov wrote: > But since you say the decision to not allow native Java object handles > was intentional, I'll try it. Some background: if we start allowing Java instances being passed to native function, then we have to start worrying about the same class "spoofing" issues that JNI suffers from. That is, you can crete an handle for Foo in one class loader, then the handle is stored by the native code, and passed again to Java code in _another_ class loader, thus violating classloader constraints (maybe the class definition for Foo in that second class loader is different). For these reasons, JNI restricted library loading to a _single_ class loader. This restriction solves the spoofing issues, but comes at a price: any attempt to load same library from two loaders will fail. Frameworks have in the past resorted to various "tricks" (such as renaming libraries) to workaround this limitation. Since Panama doesn't allow passing Java objects _directly_ to native functions (you can pass memory segments, but they are either passed by reference - a long - or deconstructed into multiple primitive values which are then passed separately), it is not subject to same library loading limitations. That is, if you load a library with SymbolLookup::libraryLookup you can load it as many times as you like, from _any_ classloader you like. Which is nice to have. Of course I understand where you are coming from with this use case: you want to store an object pointer in the native code. We have considered APIs to allow developers to do that (e.g. temporarily turn a Java object into a native memory segment, controlled by a given memory session). But, as shown above, there are some safety consideration when going down that path. Now, in some cases, but not all, you can achieve a similar effect with the new scoped value feature: https://openjdk.org/jeps/429 E.g. you could "bind" a ScopedValue object before the native call takes place, so that the receiver class is set to some known instance. The method handle you upcall to would read the ScopedValue, fetch the receiver instance, and dispatch to that. This would be more efficient than using a Map (as ScopedValues have caches) - but your usage has to be "structured" for ScopedValue to be usable. Anyway, I thought I'd mention the connection, in case it's useful (if not for this use case, for others). Cheers Maurizio From duke at openjdk.org Fri Dec 2 19:49:29 2022 From: duke at openjdk.org (J. Duke) Date: Fri, 2 Dec 2022 19:49:29 GMT Subject: [foreign-memaccess+abi] RFR: Merge master [v2] In-Reply-To: References: Message-ID: <-vo4P2BRKfln67qVAw1PNjrmF3HxIzc838UPPObZJ0Y=.8227cfa5-8c59-4ff7-a09f-b20080551c02@github.com> > Hi all, > > this is an _automatically_ generated pull request to notify you that there are 120 commits from the branch `master`that can **not** be merged into the branch `foreign-memaccess+abi`: > > The following file contains merge conflicts: > > - test/jdk/java/foreign/malloc/TestMixedMallocFree.java > > All Committers in this [project](https://openjdk.org/census#panama) have access to my [personal fork](https://github.com/openjdk-bot/panama-foreign) and can therefore help resolve these merge conflicts (you may want to coordinate who should do this). > The following paragraphs will give an example on how to solve these merge conflicts and push the resulting merge commit to this pull request. > The below commands should be run in a local clone of your [personal fork](https://wiki.openjdk.org/display/skara#Skara-Personalforks) of the [openjdk/panama-foreign](https://github.com/openjdk/panama-foreign) repository. > > > # Ensure target branch is up to date > $ git checkout foreign-memaccess+abi > $ git pull https://github.com/openjdk/panama-foreign.git foreign-memaccess+abi > > # Fetch and checkout the branch for this pull request > $ git fetch https://github.com/openjdk-bot/panama-foreign.git +129:openjdk-bot-129 > $ git checkout openjdk-bot-129 > > # Merge the target branch > $ git merge foreign-memaccess+abi > > > When you have resolved the conflicts resulting from the `git merge` command above, run the following commands to create a merge commit: > > > $ git add paths/to/files/with/conflicts > $ git commit -m 'Merge master' > > > > When you have created the merge commit, run the following command to push the merge commit to this pull request: > > > $ git push https://github.com/openjdk-bot/panama-foreign.git openjdk-bot-129:129 > > > _Note_: if you are using SSH to push commits to GitHub, then change the URL in the above `git push` command accordingly. > > Thanks, > J. Duke J. Duke has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 121 commits: - Merge master - Automatic merge of jdk:master into master - 8297645: Drop the test/jdk/java/net/httpclient/reactivestreams-tck-tests/TckDriver.java test Reviewed-by: alanb, jpai, michaelm - 8297549: RISC-V: Add support for Vector API vector load const operation Reviewed-by: fyang, gcao - 8297715: RISC-V: C2: Use single-bit instructions from the Zbs extension Reviewed-by: fjiang, yadongwang, shade - 8297784: Optimize @Stable field for Method.isCallerSensitive Reviewed-by: redestad, jvernee, alanb - 8297992: Tests fail after JDK-8297215 due to lack of @enablePreview Reviewed-by: darcy - 8297455: Use the official ToolProvider API to call javac Reviewed-by: erikj - 8297444: Refactor the javacserver build tool Reviewed-by: erikj, cstein - 8297875: jar should not compress the manifest directory entry Reviewed-by: lancea - ... and 111 more: https://git.openjdk.org/panama-foreign/compare/cd169fdd...7dfc2af6 ------------- Changes: https://git.openjdk.org/panama-foreign/pull/756/files Webrev: https://webrevs.openjdk.org/?repo=panama-foreign&pr=756&range=01 Stats: 34235 lines in 772 files changed: 14047 ins; 16631 del; 3557 mod Patch: https://git.openjdk.org/panama-foreign/pull/756.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/756/head:pull/756 PR: https://git.openjdk.org/panama-foreign/pull/756 From duke at openjdk.org Fri Dec 2 20:01:39 2022 From: duke at openjdk.org (J. Duke) Date: Fri, 2 Dec 2022 20:01:39 GMT Subject: [foreign-memaccess+abi] Integrated: Merge master In-Reply-To: References: Message-ID: On Fri, 2 Dec 2022 11:00:52 GMT, J. Duke wrote: > Hi all, > > this is an _automatically_ generated pull request to notify you that there are 120 commits from the branch `master`that can **not** be merged into the branch `foreign-memaccess+abi`: > > The following file contains merge conflicts: > > - test/jdk/java/foreign/malloc/TestMixedMallocFree.java > > All Committers in this [project](https://openjdk.org/census#panama) have access to my [personal fork](https://github.com/openjdk-bot/panama-foreign) and can therefore help resolve these merge conflicts (you may want to coordinate who should do this). > The following paragraphs will give an example on how to solve these merge conflicts and push the resulting merge commit to this pull request. > The below commands should be run in a local clone of your [personal fork](https://wiki.openjdk.org/display/skara#Skara-Personalforks) of the [openjdk/panama-foreign](https://github.com/openjdk/panama-foreign) repository. > > > # Ensure target branch is up to date > $ git checkout foreign-memaccess+abi > $ git pull https://github.com/openjdk/panama-foreign.git foreign-memaccess+abi > > # Fetch and checkout the branch for this pull request > $ git fetch https://github.com/openjdk-bot/panama-foreign.git +129:openjdk-bot-129 > $ git checkout openjdk-bot-129 > > # Merge the target branch > $ git merge foreign-memaccess+abi > > > When you have resolved the conflicts resulting from the `git merge` command above, run the following commands to create a merge commit: > > > $ git add paths/to/files/with/conflicts > $ git commit -m 'Merge master' > > > > When you have created the merge commit, run the following command to push the merge commit to this pull request: > > > $ git push https://github.com/openjdk-bot/panama-foreign.git openjdk-bot-129:129 > > > _Note_: if you are using SSH to push commits to GitHub, then change the URL in the above `git push` command accordingly. > > Thanks, > J. Duke This pull request has now been integrated. Changeset: afb90473 Author: J. Duke Committer: Jorn Vernee URL: https://git.openjdk.org/panama-foreign/commit/afb904735b1afc26dfe3b81f2273f43f0dbef929 Stats: 34235 lines in 772 files changed: 14047 ins; 16631 del; 3557 mod Merge master ------------- PR: https://git.openjdk.org/panama-foreign/pull/756 From jvernee at openjdk.org Fri Dec 2 20:06:43 2022 From: jvernee at openjdk.org (Jorn Vernee) Date: Fri, 2 Dec 2022 20:06:43 GMT Subject: [foreign-memaccess+abi] RFR: 8295290: Add Windows ARM64 ABI support to the Foreign Function & Memory API In-Reply-To: References: Message-ID: On Tue, 22 Nov 2022 19:01:32 GMT, Saint Wesonga wrote: > There are 2 primary differences between the Windows ARM64 ABI and the macOS/Linux ARM64 ABI: variadic floating point arguments are passed in general purpose registers on Windows (instead of the vector registers). In addition to this, up to 64 bytes of a struct being passed to a variadic function can be placed in general purpose registers. This happens regardless of the type of struct (HFA or other generic struct). This means that a struct can be split across registers and the stack when invoking a variadic function. > > This change introduces tests that compute the sum of the fields of structs containing 1-4 ints, floats, and doubles to verify that each field is correctly assigned a register or stack location when invoking a variadic function (both when the struct can be passed entirely in registers as well as when the struct spills onto the stack). > > For details about the Foreign Function & Memory API, see JEP 434 defined at https://openjdk.org/jeps/434 > > The Windows ARM64 ABI conventions are documented at https://learn.microsoft.com/en-us/cpp/build/arm64-windows-abi-conventions > > This work builds on @lewurm / Bernhard's branch at https://github.com/lewurm/openjdk/commits/foreign-windows-aarch64 @swesonga I applied some fixes to test/jdk/java/foreign/TestMatrix.java [1] that were merged into this repo today. You might want to merge the latest `foreign-memaccess+abi` branch into this PR branch to get those changes as well. [1]: https://github.com/openjdk/jdk/pull/11398 ------------- PR: https://git.openjdk.org/panama-foreign/pull/754 From jvernee at openjdk.org Fri Dec 2 20:19:43 2022 From: jvernee at openjdk.org (Jorn Vernee) Date: Fri, 2 Dec 2022 20:19:43 GMT Subject: [foreign-memaccess+abi] RFR: Move Linux & MacOs CallArranger tests into separate files In-Reply-To: References: Message-ID: On Fri, 2 Dec 2022 06:48:00 GMT, Saint Wesonga wrote: > This separation was suggested in https://github.com/openjdk/panama-foreign/pull/754#discussion_r1032658310 LGTM, thanks for taking care of this ------------- Marked as reviewed by jvernee (Committer). PR: https://git.openjdk.org/panama-foreign/pull/755 From duke at openjdk.org Fri Dec 2 22:18:07 2022 From: duke at openjdk.org (Saint Wesonga) Date: Fri, 2 Dec 2022 22:18:07 GMT Subject: [foreign-memaccess+abi] Integrated: Move Linux & MacOs CallArranger tests into separate files In-Reply-To: References: Message-ID: On Fri, 2 Dec 2022 06:48:00 GMT, Saint Wesonga wrote: > This separation was suggested in https://github.com/openjdk/panama-foreign/pull/754#discussion_r1032658310 This pull request has now been integrated. Changeset: d379ca1c Author: Saint Wesonga Committer: Jorn Vernee URL: https://git.openjdk.org/panama-foreign/commit/d379ca1ca32926591fbf8a4afdae1a4a52b3cb63 Stats: 1357 lines in 3 files changed: 710 ins; 647 del; 0 mod Move Linux & MacOs CallArranger tests into separate files Reviewed-by: jvernee ------------- PR: https://git.openjdk.org/panama-foreign/pull/755 From jorn.vernee at oracle.com Sat Dec 3 17:59:03 2022 From: jorn.vernee at oracle.com (Jorn Vernee) Date: Sat, 3 Dec 2022 18:59:03 +0100 Subject: Conversion between Java objects and native pointers In-Reply-To: References: <3AC80726-F44B-473D-A817-EB7AFCB24389@gmail.com> <591aabec-5716-7a13-437a-3f8ca4844383@oracle.com> <1613264E-63FA-4E43-AE28-483068F4D31B@gmail.com> Message-ID: <14faa35a-5422-3c75-dfde-ad13417742bc@oracle.com> Note that in practice JNI also doesn't really allow you to pass objects to native code, what it actually passes is object handles. Semantically this is just a token that can be turned into an object again by the JNI runtime later. Something similar can be achieved with a simple object store [1] ??? static final ObjectStore STORE = new ObjectStore(); ... ??? Object objectToPass = ...; ??? int token = STORE.allocate(objectToPass); ??? // pass? 'token' to native code ... later: ??? int token = ...; // from native code ??? Object obj = STORE.resolve(token); // turn back into object ... when done: ??? STORE.free(token); Of course this is a simple example, but this is the basic principle: store your object in some store, and have a handle/token that you pass to native code instead. HTH, Jorn [1] : Simple example of an object store: public class ObjectStore { private final Deque freeList =new ArrayDeque<>(); private final List store =new ArrayList<>(); public int allocate(Object obj) { if (!freeList.isEmpty()) { Node n =freeList.pop(); n.obj = obj; return n.index; } int index =store.size(); store.add(new Node(index, obj)); return index; } public Object resolve(int token) { return store.get(token).obj; } public void free(int token) { Node n =store.get(token); n.obj =null; freeList.push(n); } private static class Node { final int index; Object obj; public Node(int index,Object obj) { this.index = index; this.obj = obj; } } } On 02/12/2022 18:02, Maurizio Cimadamore wrote: > > On 02/12/2022 16:44, Gregory Klyushnikov wrote: >> But since you say the decision to not allow native Java object >> handles was intentional, I'll try it. > > Some background: if we start allowing Java instances being passed to > native function, then we have to start worrying about the same class > "spoofing" issues that JNI suffers from. > > That is, you can crete an handle for Foo in one class loader, then the > handle is stored by the native code, and passed again to Java code in > _another_ class loader, thus violating classloader constraints (maybe > the class definition for Foo in that second class loader is different). > > For these reasons, JNI restricted library loading to a _single_ class > loader. This restriction solves the spoofing issues, but comes at a > price: any attempt to load same library from two loaders will fail. > Frameworks have in the past resorted to various "tricks" (such as > renaming libraries) to workaround this limitation. > > Since Panama doesn't allow passing Java objects _directly_ to native > functions (you can pass memory segments, but they are either passed by > reference - a long - or deconstructed into multiple primitive values > which are then passed separately), it is not subject to same library > loading limitations. That is, if you load a library with > SymbolLookup::libraryLookup you can load it as many times as you like, > from _any_ classloader you like. Which is nice to have. > > Of course I understand where you are coming from with this use case: > you want to store an object pointer in the native code. We have > considered APIs to allow developers to do that (e.g. temporarily turn > a Java object into a native memory segment, controlled by a given > memory session). But, as shown above, there are some safety > consideration when going down that path. > > Now, in some cases, but not all, you can achieve a similar effect with > the new scoped value feature: > > https://openjdk.org/jeps/429 > > E.g. you could "bind" a ScopedValue object before the native call > takes place, so that the receiver class is set to some known instance. > The method handle you upcall to would read the ScopedValue, fetch the > receiver instance, and dispatch to that. > > This would be more efficient than using a Map (as ScopedValues have > caches) - but your usage has to be "structured" for ScopedValue to be > usable. > > Anyway, I thought I'd mention the connection, in case it's useful (if > not for this use case, for others). > > Cheers > Maurizio > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From grishka93 at gmail.com Fri Dec 2 16:44:28 2022 From: grishka93 at gmail.com (Gregory Klyushnikov) Date: Fri, 2 Dec 2022 19:44:28 +0300 Subject: Conversion between Java objects and native pointers In-Reply-To: References: <3AC80726-F44B-473D-A817-EB7AFCB24389@gmail.com> <591aabec-5716-7a13-437a-3f8ca4844383@oracle.com> Message-ID: <1613264E-63FA-4E43-AE28-483068F4D31B@gmail.com> Yes, I do want ObjC methods invoking Java code. And yes I'd use JNI handles if I were using JNI. I looked into MethodHandles, of course, but the problem is that the ObjC runtime expects a pointer to a function that takes at least 2 arguments: the `self` on which the ObjC method was called, and the method selector (see https://developer.apple.com/documentation/objectivec/1418901-class_addmethod?language=objc ). So I can do it, but either I'd have to receive the calls in a static Java method with no way to link the ObjC `self` with the Java `this`, or I could use an instance method having to create a new ObjC class for each object because the MethodHandle would map to a different native function pointer for each different `this`. I considered the approach you suggest with a map of ints/longs to all currently allocated Java objects that represent ObjC objects, but I kinda dismissed it because it felt like that map would be a bottleneck. But since you say the decision to not allow native Java object handles was intentional, I'll try it. > 2 ???. 2022 ?., ? 16:11, Sundararajan Athijegannathan ???????(?): > > Suppose if you have to implement the same with JNI, would you use JNI handles? i.e., Pass a JNI handle as a void* to native callbacks and map it back to Java objects inside the callbacks? > > Panama does not support something like JNI handles. It's something we considered/discussed and so far the risk outweighed the benefits. > > One solution could be to pass "longs" to native API and have a Map of long to Java object on the Java side (to map 'native object' to Java mirror back). > > Thanks, > -Sundar > From: panama-dev on behalf of Maurizio Cimadamore > Sent: 02 December 2022 18:03 > To: Gregory Klyushnikov ; panama-dev at openjdk.org > Subject: Re: Conversion between Java objects and native pointers > > To make sure I understand your use case (admittedly I'm not an expert in > ObjC). You want to define an ObjC class whose methods end up invoking > some piece of Java code? Would that be a fair description? > > In general, "Java objects" cannot be converted into native pointers. > But, you can turn Java methods (method handles, to be precise) into > native pointers, and pass those to the ObjC class implementation. Would > that be enough? > > Maurizio > > On 02/12/2022 11:20, Gregory Klyushnikov wrote: > > I'm trying to use the preview Panama API to build an FFI for Objective C, allowing Java to fully interoperate with native macOS libraries. Calling out to existing classes is simple: you just use objc_msgSend and sel_registerName a bunch with the right arguments. But many macOS APIs want you to create your own classes and override methods (NSApplicationDelegate is one example and you seemingly can't do GUI without creating one) ? which isn't as easy to do in a non-ugly way with the current Panama API. > > > > You *can* define a new Objective C class at runtime using objc_registerClassPair, but you don't have a good way of linking an ObjC object to its corresponding Java object. You can, obviously, store the pointer to the ObjC object in the Java object, but you can't do it the other way around, which poses a problem for overridden methods. The obvious solution to receiving calls to overridden methods would be: > > 1. Set their implementations as pointers to static methods > > 2. Create an instance variable in the ObjC object that would hold the pointer to its corresponding Java object > > 3. When a method is called, you'd get your Java `this` from that instance variable and forward the call to your Java object > > > > But I can't seem to find any way whatsoever, at least one that doesn't feel extremely hacky and thus unreliable, to convert a Java object to a native pointer and back. This would also be useful, in some circumstances, for those C APIs that take a function pointer and `void*` as the "context" and then pass that `void*` back to your function. Or are there better solutions that don't need this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From anhmdq at gmail.com Tue Dec 6 16:28:50 2022 From: anhmdq at gmail.com (=?UTF-8?Q?Qu=C3=A2n_Anh_Mai?=) Date: Wed, 7 Dec 2022 00:28:50 +0800 Subject: Split MappedMemorySegment out of the hierarchy Message-ID: Hi Panama experts, The MemorySegment interface has several methods dedicated to supporting MappedMemorySegment such as isMapped, load, etc. May I ask if we can make it become a separate class that contains a NativeMemorySegment instead, and make the dedicated methods members of the encompassing class instead? I have taken a look at MappedMemorySegment and it seems that the only other methods that need to be mappedness-specific are asSlice and makeByteBuffer. And in that case, we can make asSlice and makeByteBuffer also methods for the encompassing class, too. This may make the interface clearer by not overloading MemorySegment with methods that it is not really capable of, and also helps the JIT to emit more optimised code for other operations with a more restricted hierarchy. Thanks a lot for your reading and I really appreciate your responses. -------------- next part -------------- An HTML attachment was scrubbed... URL: From maurizio.cimadamore at oracle.com Tue Dec 6 16:54:07 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Tue, 6 Dec 2022 16:54:07 +0000 Subject: Split MappedMemorySegment out of the hierarchy In-Reply-To: References: Message-ID: Hi, we have considered this approach - but it creates some asymmetries. For instance, the Spliterator method has to feature covariant return, etc. Also, if you have a subclass of memory segment, it means that cast would have to be inserted when interacting with downcall method handles. On balance, you get a marginal API simplification, but not clear to me that it's worth it. Another directon I've been thiking about lately is whether we need mapped segments at all - e.g. the semantics of load()/force() etc. is completely OS-specific (most of these methods are no-op on windows). While these methods used to make sense on MappedByteBuffer - are we sure they still make sense for memory segments? Wouldn't an advanced client using the FFM API prefer to use its own way to "force" mapped segments, using system-specific primitives? Maurizio On 06/12/2022 16:28, Qu?n Anh Mai wrote: > Hi Panama experts, > > The MemorySegment interface has several methods dedicated to > supporting MappedMemorySegment such as isMapped, load, etc. May I ask > if we can make it become a separate class that contains a > NativeMemorySegment instead, and make the dedicated methods members of > the encompassing class instead? I have taken a look at > MappedMemorySegment and it seems that the only other methods that > need?to be mappedness-specific are asSlice and makeByteBuffer. And in > that case, we can make asSlice and?makeByteBuffer also methods for the > encompassing?class, too. > > This may make the interface clearer by not overloading MemorySegment > with methods that it is not really capable of, and also helps the JIT > to emit more optimised code for other operations with a more > restricted hierarchy. > > Thanks a lot for?your reading and I really appreciate?your responses. From anhmdq at gmail.com Tue Dec 6 17:03:56 2022 From: anhmdq at gmail.com (=?UTF-8?Q?Qu=C3=A2n_Anh_Mai?=) Date: Wed, 7 Dec 2022 01:03:56 +0800 Subject: Split MappedMemorySegment out of the hierarchy In-Reply-To: References: Message-ID: Hi, What I mean is that to make MappedMemorySegment(Container) a separate hierarchy that contains a data segment, other operations will be performed through this.data apart from makeByteBuffer and asSlice which will be separate from that of a MemorySegment (i.e. this.data.asSlice will return a normal segment that acts similar to any other kind of memory, while this.asSlice will return a MappedMemorySegment(Container). I believe this situation can be seen as similar to an Arena which can allocate and deallocate memory, which contains a scope which can be used to keep track of the memory lifetime. Thanks, Quan Anh On Wed, 7 Dec 2022 at 00:54, Maurizio Cimadamore < maurizio.cimadamore at oracle.com> wrote: > Hi, > we have considered this approach - but it creates some asymmetries. For > instance, the Spliterator method has to feature covariant return, etc. > > Also, if you have a subclass of memory segment, it means that cast would > have to be inserted when interacting with downcall method handles. > > On balance, you get a marginal API simplification, but not clear to me > that it's worth it. > > Another directon I've been thiking about lately is whether we need > mapped segments at all - e.g. the semantics of load()/force() etc. is > completely OS-specific (most of these methods are no-op on windows). > > While these methods used to make sense on MappedByteBuffer - are we sure > they still make sense for memory segments? Wouldn't an advanced client > using the FFM API prefer to use its own way to "force" mapped segments, > using system-specific primitives? > > Maurizio > > On 06/12/2022 16:28, Qu?n Anh Mai wrote: > > Hi Panama experts, > > > > The MemorySegment interface has several methods dedicated to > > supporting MappedMemorySegment such as isMapped, load, etc. May I ask > > if we can make it become a separate class that contains a > > NativeMemorySegment instead, and make the dedicated methods members of > > the encompassing class instead? I have taken a look at > > MappedMemorySegment and it seems that the only other methods that > > need to be mappedness-specific are asSlice and makeByteBuffer. And in > > that case, we can make asSlice and makeByteBuffer also methods for the > > encompassing class, too. > > > > This may make the interface clearer by not overloading MemorySegment > > with methods that it is not really capable of, and also helps the JIT > > to emit more optimised code for other operations with a more > > restricted hierarchy. > > > > Thanks a lot for your reading and I really appreciate your responses. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From maurizio.cimadamore at oracle.com Tue Dec 6 17:16:10 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Tue, 6 Dec 2022 17:16:10 +0000 Subject: Split MappedMemorySegment out of the hierarchy In-Reply-To: References: Message-ID: <2b7eeb6f-a2c3-c2b5-11a5-9c2cfbd3a098@oracle.com> On 06/12/2022 16:54, Maurizio Cimadamore wrote: > Wouldn't an advanced client using the FFM API prefer to use its own > way to "force" mapped segments, using system-specific primitives? Also, for "easy" cases, users can always turn the segment into a buffer and call "force" there... Maurizio From maurizio.cimadamore at oracle.com Tue Dec 6 17:25:13 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Tue, 6 Dec 2022 17:25:13 +0000 Subject: Split MappedMemorySegment out of the hierarchy In-Reply-To: References: Message-ID: This seems even more complex. Now we have two unrelated types MemorySegment and MappedMemorySegment(XYZ) [why isn't MappedMemorySegment a MemorySegment], which feature similarly-looking methods... I think before we propose solutions it would be good to agree on what is the problem that we're trying to solve. MemorySegment has 5 methods that are related to "mappings": * isMapped() * load() * isLoaded() * force() * unload() By lumping native segments and mapped segments together (like BB does), we guarantee that mapped segments can be passed around just as if they were native segments (which they are). Result of the lumping is that the operations become partial. But these operations are so rare (and as I said, so not well supported across platforms), that I wonder why (a) why is this a big issue and (b) if these operations really add confusion to the API, why not removing them, since there are alternatives (Linker, or going to MappedByteBuffer). Adding a full-blown fist-class abstraction just for these methods (which I posit are used in 1% of times - because of the aforementioned problmes) seems like the wrong approach to me. It is also rather important that, no matter what buffer you have, you can create a segment out of it - so if your container is NOT a segment, MemorySegment::ofBuffer would no longer work (or be total). Which to me seems like _more_ complexity, not less. Maurizio On 06/12/2022 17:03, Qu?n Anh Mai wrote: > Hi, > > What I mean is that to make MappedMemorySegment(Container) a separate > hierarchy that contains a data segment, other operations will be > performed through this.data apart from makeByteBuffer and asSlice > which will be separate from that of a MemorySegment (i.e. > this.data.asSlice will return a normal segment that acts similar to > any other kind of memory, while this.asSlice will return a > MappedMemorySegment(Container). I believe this situation can be seen > as similar to an Arena which can allocate and deallocate memory, which > contains a scope which can be used to keep track of the memory lifetime. > > Thanks, > Quan Anh > > On Wed, 7 Dec 2022 at 00:54, Maurizio Cimadamore > wrote: > > Hi, > we have considered this approach - but it creates some > asymmetries. For > instance, the Spliterator method has to feature covariant return, etc. > > Also, if you have a subclass of memory segment, it means that cast > would > have to be inserted when interacting with downcall method handles. > > On balance, you get a marginal API simplification, but not clear > to me > that it's worth it. > > Another directon I've been thiking about lately is whether we need > mapped segments at all - e.g. the semantics of load()/force() etc. is > completely OS-specific (most of these methods are no-op on windows). > > While these methods used to make sense on MappedByteBuffer - are > we sure > they still make sense for memory segments? Wouldn't an advanced > client > using the FFM API prefer to use its own way to "force" mapped > segments, > using system-specific primitives? > > Maurizio > > On 06/12/2022 16:28, Qu?n Anh Mai wrote: > > Hi Panama experts, > > > > The MemorySegment interface has several methods dedicated to > > supporting MappedMemorySegment such as isMapped, load, etc. May > I ask > > if we can make it become a separate class that contains a > > NativeMemorySegment instead, and make the dedicated methods > members of > > the encompassing class instead? I have taken a look at > > MappedMemorySegment and it seems that the only other methods that > > need?to be mappedness-specific are asSlice and makeByteBuffer. > And in > > that case, we can make asSlice and?makeByteBuffer also methods > for the > > encompassing?class, too. > > > > This may make the interface clearer by not overloading > MemorySegment > > with methods that it is not really capable of, and also helps > the JIT > > to emit more optimised code for other operations with a more > > restricted hierarchy. > > > > Thanks a lot for?your reading and I really appreciate?your > responses. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From duke at openjdk.org Fri Dec 9 11:10:02 2022 From: duke at openjdk.org (J. Duke) Date: Fri, 9 Dec 2022 11:10:02 GMT Subject: [foreign-memaccess+abi] RFR: Merge master Message-ID: Hi all, this is an _automatically_ generated pull request to notify you that there are 136 commits from the branch `master`that can **not** be merged into the branch `foreign-memaccess+abi`: Over 180 files contains merge conflicts. All Committers in this [project](https://openjdk.org/census#panama) have access to my [personal fork](https://github.com/openjdk-bot/panama-foreign) and can therefore help resolve these merge conflicts (you may want to coordinate who should do this). The following paragraphs will give an example on how to solve these merge conflicts and push the resulting merge commit to this pull request. The below commands should be run in a local clone of your [personal fork](https://wiki.openjdk.org/display/skara#Skara-Personalforks) of the [openjdk/panama-foreign](https://github.com/openjdk/panama-foreign) repository. # Ensure target branch is up to date $ git checkout foreign-memaccess+abi $ git pull https://github.com/openjdk/panama-foreign.git foreign-memaccess+abi # Fetch and checkout the branch for this pull request $ git fetch https://github.com/openjdk-bot/panama-foreign.git +130:openjdk-bot-130 $ git checkout openjdk-bot-130 # Merge the target branch $ git merge foreign-memaccess+abi When you have resolved the conflicts resulting from the `git merge` command above, run the following commands to create a merge commit: $ git add paths/to/files/with/conflicts $ git commit -m 'Merge master' When you have created the merge commit, run the following command to push the merge commit to this pull request: $ git push https://github.com/openjdk-bot/panama-foreign.git openjdk-bot-130:130 _Note_: if you are using SSH to push commits to GitHub, then change the URL in the above `git push` command accordingly. Thanks, J. Duke ------------- Commit messages: - Automatic merge of jdk:master into master - 8297778: Modernize and improve module jdk.sctp - 8257197: Add additional verification code to PhaseCCP - 8297679: InvocationTargetException field named target is not declared final - 8298083: The "CheckBox/RadioButton[Enabled/Disabled].textForeground" stoped working - 8298138: Shenandoah: HdrSeq asserts "sub-bucket index (512) overflow for value ( 1.00)" - 8292289: [vectorapi] Improve the implementation of VectorTestNode - 8297295: Remove ThreadGroup.allowThreadSuspension - 8296149: Start of release updates for JDK 21 - 8297642: PhaseIdealLoop::only_has_infinite_loops must detect all loops that never lead to termination - ... and 126 more: https://git.openjdk.org/panama-foreign/compare/5c5fa74a...8cefa3d2 The webrev contains the conflicts with foreign-memaccess+abi: - merge conflicts: https://webrevs.openjdk.org/?repo=panama-foreign&pr=757&range=00.conflicts Changes: https://git.openjdk.org/panama-foreign/pull/757/files Stats: 41711 lines in 1003 files changed: 25265 ins; 10077 del; 6369 mod Patch: https://git.openjdk.org/panama-foreign/pull/757.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/757/head:pull/757 PR: https://git.openjdk.org/panama-foreign/pull/757 From duke at openjdk.org Fri Dec 9 11:10:23 2022 From: duke at openjdk.org (duke) Date: Fri, 9 Dec 2022 11:10:23 GMT Subject: git: openjdk/panama-foreign: master: 136 new changesets Message-ID: <92ee7fcd-9381-48a4-9173-3c0f2c5ec1ba@openjdk.org> Changeset: 5c0ff26f Author: Christoph Langer Date: 2022-12-02 11:03:53 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5c0ff26f321ad36daa34bfc5b2d013b6c4a03810 8291444: GHA builds/tests won't run manually if disabled from automatic running Reviewed-by: serb, erikj, ihse ! .github/workflows/main.yml Changeset: 1376f330 Author: Justin King Committer: Markus Gr?nlund Date: 2022-12-02 11:31:19 +0000 URL: https://git.openjdk.org/panama-foreign/commit/1376f330119c832d24a986cc915cb2f82768a02c 8297911: Memory leak in JfrUpcalls::on_retransform Reviewed-by: mgronlun ! src/hotspot/share/jfr/instrumentation/jfrEventClassTransformer.cpp ! src/hotspot/share/jfr/jni/jfrUpcalls.cpp Changeset: b73363fd Author: Erik Gahlin Date: 2022-12-02 11:35:15 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b73363fd7b3295635a2ccce0cea72586643c5bb4 8297686: JFR: Improve documentation of EventStream::onMetadata(Consumer) Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/consumer/EventStream.java ! src/jdk.jfr/share/classes/jdk/jfr/consumer/snippet-files/Snippets.java Changeset: 319faa5a Author: Prasanta Sadhukhan Date: 2022-12-02 11:48:28 +0000 URL: https://git.openjdk.org/panama-foreign/commit/319faa5afc37df5fd9ce4305e6e38a7bd4b39c65 8296084: javax/swing/JSpinner/4788637/bug4788637.java fails intermittently on a VM Reviewed-by: tr, serb ! test/jdk/ProblemList.txt ! test/jdk/javax/swing/JSpinner/4788637/bug4788637.java Changeset: 1370228c Author: Albert Mingkun Yang Date: 2022-12-02 12:30:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/1370228cd718736f0c822d50b85a0b27c8ca40de 8297941: Add override modifier in space.hpp Reviewed-by: kbarrett, tschatzl ! src/hotspot/share/gc/shared/space.hpp Changeset: 227364d5 Author: Feilong Jiang Committer: Fei Yang Date: 2022-12-02 12:48:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/227364d5927f94764fdb84f7d0b4c88c8dc25d89 8297953: Fix several C2 IR matching tests for RISC-V Reviewed-by: fyang, chagedorn ! test/hotspot/jtreg/compiler/c2/irTests/RotateLeftNodeIntIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/RotateLeftNodeLongIdealizationTests.java ! test/hotspot/jtreg/compiler/c2/irTests/TestFPComparison.java ! test/hotspot/jtreg/compiler/lib/ir_framework/TestFramework.java Changeset: df072556 Author: Magnus Ihse Bursie Date: 2022-12-02 14:00:44 +0000 URL: https://git.openjdk.org/panama-foreign/commit/df072556a5a155adfe89a2504c2cf680fe4ffac7 8297984: Turn on warnings as errors for javadoc Reviewed-by: serb, erikj ! .github/workflows/main.yml ! make/Docs.gmk ! src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingStream.java Changeset: 415cfd2e Author: Ashutosh Mehra Committer: Paul Hohensee Date: 2022-12-02 14:22:52 +0000 URL: https://git.openjdk.org/panama-foreign/commit/415cfd2e28e6b7613712ab63a1ab66522e9bf0f2 8297285: Shenandoah pacing causes assertion failure during VM initialization Reviewed-by: rkennke, phh ! src/hotspot/share/gc/shenandoah/shenandoahPacer.cpp Changeset: 6065696e Author: Leonid Mesnik Date: 2022-12-02 15:11:41 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6065696e5df2cde8c313083217ead3417d04c365 8297982: Exclude vmTestbase/nsk/monitoring/stress/lowmem/ with ZGC until 8297979 is fixed Reviewed-by: tschatzl ! test/hotspot/jtreg/ProblemList-zgc.txt Changeset: 1b924659 Author: Erik Gahlin Date: 2022-12-02 17:21:48 +0000 URL: https://git.openjdk.org/panama-foreign/commit/1b924659c87045796f62e66d69ff388b79c4467f 8297608: JFR: Incorrect duration after chunk rotation Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/internal/EventInstrumentation.java + test/jdk/jdk/jfr/jvm/TestEventDuration.java Changeset: fb6fd032 Author: Coleen Phillimore Date: 2022-12-02 19:09:05 +0000 URL: https://git.openjdk.org/panama-foreign/commit/fb6fd03233b0eb001e2995d20a079b6af31d2b9b 8291830: jvmti/RedefineClasses/StressRedefine failed: assert(!is_null(v)) failed: narrow klass value can never be zero Reviewed-by: sspitsyn, eosterlund, kbarrett ! src/hotspot/share/classfile/classLoaderData.cpp ! src/hotspot/share/oops/klass.cpp ! src/hotspot/share/oops/klass.hpp ! src/hotspot/share/oops/oopHandle.hpp ! src/hotspot/share/prims/jvmtiRedefineClasses.cpp Changeset: 2821fa98 Author: Alex Menkov Date: 2022-12-02 20:16:51 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2821fa9883cc9687b53e3bb5655732a614cff8fc 8280798: com.sun.jdi.ObjectReference::setValue spec should prohibit any final field modification Reviewed-by: alanb, cjplummer, sspitsyn ! src/jdk.jdi/share/classes/com/sun/jdi/ObjectReference.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue004.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue004/TestDescription.java ! test/hotspot/jtreg/vmTestbase/nsk/jdi/ObjectReference/setValue/setvalue004t.java Changeset: 562bc171 Author: Jorn Vernee Date: 2022-12-02 22:15:27 +0000 URL: https://git.openjdk.org/panama-foreign/commit/562bc171b971091421ee0a93665880682ae96c09 8291359: Specification of method j.l.foreign.VaList::skip still deserves clarification Reviewed-by: mcimadamore ! src/java.base/share/classes/java/lang/foreign/VaList.java Changeset: 6e547052 Author: Daniel D. Daugherty Date: 2022-12-02 22:29:21 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6e5470525d5236901c219146f363d4860e6b8008 8295424: adjust timeout for another JLI GetObjectSizeIntrinsicsTest.java subtest 8297367: disable TestRedirectLinks.java in slowdebug mode 8297369: disable Fuzz.java in slowdebug mode Reviewed-by: sspitsyn, jjg, cjplummer, lmesnik ! test/jdk/java/lang/instrument/GetObjectSizeIntrinsicsTest.java ! test/jdk/jdk/internal/vm/Continuation/Fuzz.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java Changeset: 6065516b Author: Daniel D. Daugherty Date: 2022-12-02 22:31:08 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6065516bb3e0e445e9383718f539ec48440d6290 8291418: adjust monitor deflation logging and deflate_idle_monitors use Reviewed-by: dholmes, stuefe, pchilanomate ! src/hotspot/share/runtime/synchronizer.cpp ! src/hotspot/share/runtime/vmOperations.cpp Changeset: 99e2ef49 Author: Daniel D. Daugherty Date: 2022-12-03 04:13:33 +0000 URL: https://git.openjdk.org/panama-foreign/commit/99e2ef49a87fe88212fc2090ec5b5f4b3493025a 8298054: ProblemList jdk/jfr/api/consumer/recordingstream/TestStop.java Reviewed-by: lmesnik ! test/jdk/ProblemList.txt Changeset: c67166f1 Author: Thomas Stuefe Date: 2022-12-03 06:53:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c67166f1205c1123497a8895c2952c4d9933645e 8298003: NMT: fatal block printout does not show the correct corruption address Reviewed-by: shade, mbaesken ! src/hotspot/share/services/mallocHeader.inline.hpp Changeset: 0edb5d08 Author: Andrey Turbanov Date: 2022-12-04 12:07:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0edb5d08055d8c06ed318a6c32e44a070ab4d002 8297683: Use enhanced-for cycle instead of Enumeration in java.security.jgss Reviewed-by: weijun ! src/java.security.jgss/share/classes/sun/security/jgss/GSSCredentialImpl.java ! src/java.security.jgss/share/classes/sun/security/jgss/ProviderList.java Changeset: 87572d43 Author: Daniel D. Daugherty Date: 2022-12-04 16:37:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/87572d43befd7d868489ba0a2cfefad5cd605ef3 8298068: ProblemList tests failing due to JDK-8297235 8298070: ProblemList jdk/internal/vm/Continuation/Fuzz.java#default with ZGC on X64 8298071: ProblemList tests failing due to JDK-8298059 8298072: ProblemList compiler/c1/TestPrintC1Statistics.java in Xcomp mode on linux-aarch64 Reviewed-by: azvegint ! test/hotspot/jtreg/ProblemList-Xcomp.txt ! test/hotspot/jtreg/ProblemList-zgc.txt ! test/jdk/ProblemList-zgc.txt Changeset: a71d91b9 Author: Julian Waters Date: 2022-12-04 17:32:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a71d91b96f7936dd1b84e4c1e167e2e5fa4ad4b1 8298067: Persistent test failures after 8296012 Reviewed-by: alanb ! test/langtools/jdk/jshell/Test8296012.java Changeset: 914ef07f Author: Michal Karm Babacek Committer: Jaikiran Pai Date: 2022-12-05 01:59:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/914ef07fed960f940e1591318b9f00938b37bf09 8297609: Add application/wasm MIME type for wasm file extension Reviewed-by: jpai, michaelm ! src/java.base/unix/classes/sun/net/www/content-types.properties ! src/java.base/windows/classes/sun/net/www/content-types.properties ! test/jdk/java/nio/file/Files/probeContentType/Basic.java Changeset: b49fd920 Author: Fei Yang Date: 2022-12-05 03:40:07 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b49fd920b6690a8b828c85e45c10e5c4c54d2022 8298055: AArch64: fastdebug build fails after JDK-8247645 Reviewed-by: aph, haosun ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp Changeset: a5739239 Author: Christian Hagedorn Date: 2022-12-05 07:09:04 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a57392390b0abe5db496775efcc369bafdf420f1 8297264: C2: Cast node is not processed again in CCP and keeps a wrong too narrow type which is later replaced by top Reviewed-by: thartmann, rcastanedalo, kvn ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/phaseX.hpp + test/hotspot/jtreg/compiler/ccp/TestCastIIWrongTypeCCP.java Changeset: 3b3bbe54 Author: Thomas Stuefe Date: 2022-12-05 07:10:31 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3b3bbe5487c0d86305f953528884b1ee78ca359f 8296907: VMError: add optional callstacks, siginfo for secondary errors Reviewed-by: aboldtch, rschmelter ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/utilities/debug.cpp ! src/hotspot/share/utilities/vmError.cpp ! src/hotspot/share/utilities/vmError.hpp ! test/hotspot/jtreg/runtime/ErrorHandling/SecondaryErrorTest.java Changeset: 61b70931 Author: Ivan Walulya Date: 2022-12-05 07:16:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/61b7093123b780f87509cffe286cf6949afbb45d 8297872: Non-local G1MonotonicArenaFreePool::_freelist_pool has non-trivial ctor/dtor Co-authored-by: Thomas Schatzl Reviewed-by: kbarrett, tschatzl ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectedHeap.hpp ! src/hotspot/share/gc/g1/g1ConcurrentMark.cpp ! src/hotspot/share/gc/g1/g1MonotonicArenaFreeMemoryTask.cpp ! src/hotspot/share/gc/g1/g1MonotonicArenaFreePool.cpp ! src/hotspot/share/gc/g1/g1MonotonicArenaFreePool.hpp ! src/hotspot/share/gc/g1/g1RemSetSummary.cpp ! src/hotspot/share/gc/g1/heapRegionRemSet.cpp ! src/hotspot/share/gc/g1/heapRegionRemSet.hpp Changeset: 82561de7 Author: sendaoYan Committer: Yi Yang Date: 2022-12-05 07:41:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/82561de722b9ca580c0c1a53050c711b64611352 8296384: [TESTBUG] sun/security/provider/SecureRandom/AbstractDrbg/SpecTest.java intermittently timeout Reviewed-by: weijun, wetmore ! test/jdk/java/security/SecureRandom/NoSync.java ! test/jdk/sun/security/provider/SecureRandom/AbstractDrbg/SpecTest.java Changeset: 619b68c5 Author: Emanuel Peter Date: 2022-12-05 08:30:31 +0000 URL: https://git.openjdk.org/panama-foreign/commit/619b68c5d1908de335cefd536963cadd57472925 8294540: Remove Opaque2Node: it is broken and triggers assert Reviewed-by: chagedorn, kvn ! src/hotspot/share/opto/classes.hpp ! src/hotspot/share/opto/compile.cpp ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/loopnode.hpp ! src/hotspot/share/opto/loopopts.cpp ! src/hotspot/share/opto/macro.cpp ! src/hotspot/share/opto/opaquenode.cpp ! src/hotspot/share/opto/opaquenode.hpp ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/runtime/vmStructs.cpp Changeset: 17666fbc Author: Kevin Walls Date: 2022-12-05 09:27:14 +0000 URL: https://git.openjdk.org/panama-foreign/commit/17666fbcae795a01ee462651c7694b5e4af30e32 8297794: Deprecate JMX Management Applets for Removal Reviewed-by: dfuchs, mullan, rriggs, alanb ! src/java.management/share/classes/javax/management/loading/MLet.java ! src/java.management/share/classes/javax/management/loading/MLetContent.java ! src/java.management/share/classes/javax/management/loading/MLetMBean.java ! src/java.management/share/classes/javax/management/loading/MLetObjectInputStream.java ! src/java.management/share/classes/javax/management/loading/MLetParser.java ! src/java.management/share/classes/javax/management/loading/PrivateMLet.java ! test/jdk/javax/management/Introspector/ClassLeakTest.java ! test/jdk/javax/management/MBeanServer/PostExceptionTest.java ! test/jdk/javax/management/loading/DocumentRootTest.java ! test/jdk/javax/management/loading/GetMBeansFromURLTest.java ! test/jdk/javax/management/loading/MLetCLR/MLetCommand.java ! test/jdk/javax/management/loading/MLetContentTest.java ! test/jdk/javax/management/loading/MLetInternalsTest.java ! test/jdk/javax/management/loading/MletParserLocaleTest.java ! test/jdk/javax/management/loading/ParserInfiniteLoopTest.java ! test/jdk/javax/management/mxbean/MXBeanLoadingTest1.java ! test/jdk/javax/management/relation/NonArrayListTest.java ! test/jdk/javax/management/remote/mandatory/loading/TargetMBeanTest.java ! test/jdk/javax/management/remote/mandatory/notif/NotificationBufferTest.java Changeset: 777fb52e Author: Jan Lahoda Date: 2022-12-05 09:33:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/777fb52ef5b0d95b756ce4fa71a7ddf2d7d2a8f1 8297974: ClassCastException in com.sun.tools.javac.comp.AttrRecover.doRecovery Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/AttrRecover.java + test/langtools/tools/javac/recovery/LambdaRecovery.java Changeset: d523d9d0 Author: Robbin Ehn Date: 2022-12-05 10:31:35 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d523d9d081a3bc698abcf493e038779a29eb47ea 8297864: Dead code elimination Reviewed-by: coleenp, pchilanomate ! src/hotspot/cpu/aarch64/continuationFreezeThaw_aarch64.inline.hpp ! src/hotspot/cpu/aarch64/stackChunkFrameStream_aarch64.inline.hpp ! src/hotspot/cpu/arm/continuationFreezeThaw_arm.inline.hpp ! src/hotspot/cpu/arm/stackChunkFrameStream_arm.inline.hpp ! src/hotspot/cpu/ppc/stackChunkFrameStream_ppc.inline.hpp ! src/hotspot/cpu/riscv/continuationFreezeThaw_riscv.inline.hpp ! src/hotspot/cpu/riscv/stackChunkFrameStream_riscv.inline.hpp ! src/hotspot/cpu/s390/continuationFreezeThaw_s390.inline.hpp ! src/hotspot/cpu/s390/stackChunkFrameStream_s390.inline.hpp ! src/hotspot/cpu/x86/continuationFreezeThaw_x86.inline.hpp ! src/hotspot/cpu/x86/stackChunkFrameStream_x86.inline.hpp ! src/hotspot/cpu/zero/continuationFreezeThaw_zero.inline.hpp ! src/hotspot/cpu/zero/stackChunkFrameStream_zero.inline.hpp ! src/hotspot/cpu/zero/stubGenerator_zero.cpp ! src/hotspot/share/prims/forte.cpp ! src/hotspot/share/runtime/abstract_vm_version.cpp ! src/hotspot/share/runtime/abstract_vm_version.hpp ! src/hotspot/share/runtime/arguments.cpp ! src/hotspot/share/runtime/arguments.hpp ! src/hotspot/share/runtime/continuationEntry.hpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/continuationHelper.hpp ! src/hotspot/share/runtime/continuationHelper.inline.hpp ! src/hotspot/share/runtime/continuationJavaClasses.hpp ! src/hotspot/share/runtime/continuationJavaClasses.inline.hpp ! src/hotspot/share/runtime/continuationWrapper.inline.hpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/deoptimization.hpp ! src/hotspot/share/runtime/escapeBarrier.hpp ! src/hotspot/share/runtime/fieldDescriptor.cpp ! src/hotspot/share/runtime/fieldDescriptor.hpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/frame.hpp ! src/hotspot/share/runtime/frame.inline.hpp ! src/hotspot/share/runtime/handles.hpp ! src/hotspot/share/runtime/java.hpp ! src/hotspot/share/runtime/javaCalls.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/jniHandles.cpp ! src/hotspot/share/runtime/jniHandles.hpp ! src/hotspot/share/runtime/jniPeriodicChecker.cpp ! src/hotspot/share/runtime/jniPeriodicChecker.hpp ! src/hotspot/share/runtime/keepStackGCProcessed.cpp ! src/hotspot/share/runtime/keepStackGCProcessed.hpp ! src/hotspot/share/runtime/monitorChunk.hpp ! src/hotspot/share/runtime/monitorDeflationThread.hpp ! src/hotspot/share/runtime/mutex.hpp ! src/hotspot/share/runtime/mutexLocker.cpp ! src/hotspot/share/runtime/mutexLocker.hpp ! src/hotspot/share/runtime/objectMonitor.hpp ! src/hotspot/share/runtime/objectMonitor.inline.hpp ! src/hotspot/share/runtime/os.hpp ! src/hotspot/share/runtime/os_perf.hpp ! src/hotspot/share/runtime/perfData.cpp ! src/hotspot/share/runtime/perfData.hpp ! src/hotspot/share/runtime/perfData.inline.hpp ! src/hotspot/share/runtime/reflectionUtils.hpp ! src/hotspot/share/runtime/registerMap.hpp ! src/hotspot/share/runtime/relocator.cpp ! src/hotspot/share/runtime/relocator.hpp ! src/hotspot/share/runtime/rtmLocking.hpp ! src/hotspot/share/runtime/safepoint.hpp ! src/hotspot/share/runtime/safepointMechanism.hpp ! src/hotspot/share/runtime/safepointMechanism.inline.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/sharedRuntime.hpp ! src/hotspot/share/runtime/signature.cpp ! src/hotspot/share/runtime/signature.hpp ! src/hotspot/share/runtime/stackChunkFrameStream.hpp ! src/hotspot/share/runtime/stackChunkFrameStream.inline.hpp ! src/hotspot/share/runtime/stackOverflow.cpp ! src/hotspot/share/runtime/stackOverflow.hpp ! src/hotspot/share/runtime/stackValueCollection.hpp ! src/hotspot/share/runtime/stackWatermark.hpp ! src/hotspot/share/runtime/stubCodeGenerator.cpp ! src/hotspot/share/runtime/stubCodeGenerator.hpp ! src/hotspot/share/runtime/stubRoutines.cpp ! src/hotspot/share/runtime/stubRoutines.hpp ! src/hotspot/share/runtime/suspendedThreadTask.hpp ! src/hotspot/share/runtime/synchronizer.cpp ! src/hotspot/share/runtime/synchronizer.hpp ! src/hotspot/share/runtime/thread.cpp ! src/hotspot/share/runtime/thread.hpp ! src/hotspot/share/runtime/threadHeapSampler.hpp ! src/hotspot/share/runtime/threadSMR.hpp ! src/hotspot/share/runtime/threadStatisticalInfo.hpp ! src/hotspot/share/runtime/threads.cpp ! src/hotspot/share/runtime/threads.hpp ! src/hotspot/share/runtime/timer.hpp ! src/hotspot/share/runtime/timerTrace.hpp ! src/hotspot/share/runtime/vframe.cpp ! src/hotspot/share/runtime/vframe.hpp ! src/hotspot/share/runtime/vframe.inline.hpp ! src/hotspot/share/runtime/vframeArray.cpp ! src/hotspot/share/runtime/vframeArray.hpp ! src/hotspot/share/runtime/vframe_hp.cpp ! src/hotspot/share/runtime/vframe_hp.hpp ! src/hotspot/share/runtime/vmOperations.cpp ! src/hotspot/share/runtime/vmStructs.cpp Changeset: dea2161f Author: Matthias Baesken Date: 2022-12-05 11:31:31 +0000 URL: https://git.openjdk.org/panama-foreign/commit/dea2161f069a88553bc514c7210dc1d31febd90a 8297959: Provide better descriptions for some Operating System JFR events Reviewed-by: stuefe ! src/hotspot/share/jfr/metadata/metadata.xml Changeset: eab0ada3 Author: Aleksey Shipilev Date: 2022-12-05 12:00:30 +0000 URL: https://git.openjdk.org/panama-foreign/commit/eab0ada3a16a432fdfd1f0b8fceca149c725451b 8296545: C2 Blackholes should allow load optimizations Reviewed-by: kvn, vlivanov ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/cfgnode.hpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/memnode.cpp ! src/hotspot/share/opto/memnode.hpp ! src/hotspot/share/runtime/vmStructs.cpp + test/hotspot/jtreg/compiler/c2/irTests/blackhole/BlackholeLoadOptoTest.java Changeset: 2300ed45 Author: Jan Lahoda Date: 2022-12-05 12:04:23 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2300ed458dcda568afad818d2d3133e545a58ad5 8291769: Translation of switch with record patterns could be improved Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransPatterns.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TreeDiffer.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeInfo.java ! test/langtools/tools/javac/annotations/typeAnnotations/classfile/Patterns.java + test/langtools/tools/javac/patterns/DeconstructionDesugaring.java ! test/langtools/tools/javac/patterns/Guards.java + test/langtools/tools/javac/patterns/PatternDesugaring.java ! test/langtools/tools/javac/patterns/Switches.java + test/langtools/tools/javac/patterns/TranslationTest.java ! test/langtools/tools/javac/patterns/TypedDeconstructionPatternExc.java Changeset: f9e0f1d5 Author: Xiaolin Zheng Committer: Tobias Hartmann Date: 2022-12-05 12:43:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f9e0f1d5b3663db5de0532e9d9ce41312bf35ed3 8297763: Fix missing stub code expansion before align() in shared trampolines Reviewed-by: fyang, luhenry ! src/hotspot/cpu/aarch64/codeBuffer_aarch64.cpp ! src/hotspot/cpu/riscv/codeBuffer_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp Changeset: e7e03548 Author: Coleen Phillimore Date: 2022-12-05 13:18:44 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e7e03548feabb3f200b4f6f5d04c392343adb131 8297767: Assert JNICritical_lock/safepoint-1 and AdapterHandlerLibrary_lock/safepoint-1 Reviewed-by: pchilanomate, rehn ! src/hotspot/share/runtime/mutexLocker.cpp Changeset: b9eec968 Author: Afshin Zafari Committer: Robbin Ehn Date: 2022-12-05 13:30:15 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b9eec96889abf7df6d2b479e294c7823fb3d5850 8281214: Unsafe use of long in VMThread::setup_periodic_safepoint_if_needed Reviewed-by: eastigeevich, shade ! src/hotspot/share/runtime/vmThread.cpp Changeset: bd381886 Author: Afshin Zafari Committer: Thomas Stuefe Date: 2022-12-05 13:31:15 +0000 URL: https://git.openjdk.org/panama-foreign/commit/bd381886e0f39d0e48b555b5e3167565d6a6b40d 8297766: Remove UseMallocOnly development option Reviewed-by: coleenp, stuefe, dholmes ! src/hotspot/share/memory/arena.cpp ! src/hotspot/share/memory/arena.hpp ! src/hotspot/share/memory/resourceArea.hpp ! src/hotspot/share/memory/resourceArea.inline.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/handles.hpp ! test/hotspot/gtest/memory/test_arena.cpp - test/hotspot/jtreg/gtest/ArenaGtests.java - test/hotspot/jtreg/runtime/8007475/StackMapFrameTest.java Changeset: 73baadce Author: Maurizio Cimadamore Date: 2022-12-05 13:49:53 +0000 URL: https://git.openjdk.org/panama-foreign/commit/73baadceb60029f6340c1327118aeb59971c2434 8295044: Implementation of Foreign Function and Memory API (Second Preview) Co-authored-by: Jorn Vernee Co-authored-by: Per Minborg Co-authored-by: Maurizio Cimadamore Reviewed-by: jvernee, pminborg, psandoz, alanb, sundar ! src/hotspot/cpu/aarch64/downcallLinker_aarch64.cpp ! src/hotspot/cpu/x86/downcallLinker_x86_64.cpp ! src/hotspot/share/ci/ciField.cpp ! src/java.base/share/classes/java/lang/Module.java ! src/java.base/share/classes/java/lang/ModuleLayer.java ! src/java.base/share/classes/java/lang/System.java - src/java.base/share/classes/java/lang/foreign/AbstractLayout.java - src/java.base/share/classes/java/lang/foreign/Addressable.java + src/java.base/share/classes/java/lang/foreign/Arena.java ! src/java.base/share/classes/java/lang/foreign/FunctionDescriptor.java ! src/java.base/share/classes/java/lang/foreign/GroupLayout.java ! src/java.base/share/classes/java/lang/foreign/Linker.java - src/java.base/share/classes/java/lang/foreign/MemoryAddress.java ! src/java.base/share/classes/java/lang/foreign/MemoryLayout.java ! src/java.base/share/classes/java/lang/foreign/MemorySegment.java - src/java.base/share/classes/java/lang/foreign/MemorySession.java ! src/java.base/share/classes/java/lang/foreign/PaddingLayout.java ! src/java.base/share/classes/java/lang/foreign/SegmentAllocator.java + src/java.base/share/classes/java/lang/foreign/SegmentScope.java ! src/java.base/share/classes/java/lang/foreign/SequenceLayout.java + src/java.base/share/classes/java/lang/foreign/StructLayout.java ! src/java.base/share/classes/java/lang/foreign/SymbolLookup.java + src/java.base/share/classes/java/lang/foreign/UnionLayout.java ! src/java.base/share/classes/java/lang/foreign/VaList.java ! src/java.base/share/classes/java/lang/foreign/ValueLayout.java ! src/java.base/share/classes/java/lang/foreign/package-info.java ! src/java.base/share/classes/java/lang/invoke/MethodHandles.java ! src/java.base/share/classes/java/lang/invoke/NativeMethodHandle.java ! src/java.base/share/classes/java/lang/invoke/X-VarHandleByteArrayView.java.template ! src/java.base/share/classes/java/nio/Direct-X-Buffer.java.template ! src/java.base/share/classes/java/nio/channels/FileChannel.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java ! src/java.base/share/classes/jdk/internal/foreign/AbstractMemorySegmentImpl.java - src/java.base/share/classes/jdk/internal/foreign/ArenaAllocator.java ! src/java.base/share/classes/jdk/internal/foreign/CABI.java ! src/java.base/share/classes/jdk/internal/foreign/ConfinedSession.java + src/java.base/share/classes/jdk/internal/foreign/FunctionDescriptorImpl.java + src/java.base/share/classes/jdk/internal/foreign/GlobalSession.java ! src/java.base/share/classes/jdk/internal/foreign/HeapMemorySegmentImpl.java + src/java.base/share/classes/jdk/internal/foreign/ImplicitSession.java ! src/java.base/share/classes/jdk/internal/foreign/LayoutPath.java ! src/java.base/share/classes/jdk/internal/foreign/MappedMemorySegmentImpl.java - src/java.base/share/classes/jdk/internal/foreign/MemoryAddressImpl.java ! src/java.base/share/classes/jdk/internal/foreign/MemorySessionImpl.java ! src/java.base/share/classes/jdk/internal/foreign/NativeMemorySegmentImpl.java ! src/java.base/share/classes/jdk/internal/foreign/PlatformLayouts.java - src/java.base/share/classes/jdk/internal/foreign/Scoped.java ! src/java.base/share/classes/jdk/internal/foreign/SharedSession.java + src/java.base/share/classes/jdk/internal/foreign/SlicingAllocator.java ! src/java.base/share/classes/jdk/internal/foreign/SystemLookup.java ! src/java.base/share/classes/jdk/internal/foreign/Utils.java ! src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/Binding.java ! src/java.base/share/classes/jdk/internal/foreign/abi/BindingSpecializer.java ! src/java.base/share/classes/jdk/internal/foreign/abi/CallingSequenceBuilder.java ! src/java.base/share/classes/jdk/internal/foreign/abi/DowncallLinker.java + src/java.base/share/classes/jdk/internal/foreign/abi/LinkerOptions.java ! src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java ! src/java.base/share/classes/jdk/internal/foreign/abi/SoftReferenceCache.java ! src/java.base/share/classes/jdk/internal/foreign/abi/UpcallLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/UpcallStubs.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/TypeClass.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/linux/LinuxAArch64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/linux/LinuxAArch64VaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/macos/MacOsAArch64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/macos/MacOsAArch64VaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVVaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVx64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/TypeClass.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/TypeClass.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/WinVaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/Windowsx64Linker.java + src/java.base/share/classes/jdk/internal/foreign/layout/AbstractGroupLayout.java + src/java.base/share/classes/jdk/internal/foreign/layout/AbstractLayout.java + src/java.base/share/classes/jdk/internal/foreign/layout/MemoryLayoutUtil.java + src/java.base/share/classes/jdk/internal/foreign/layout/PaddingLayoutImpl.java + src/java.base/share/classes/jdk/internal/foreign/layout/SequenceLayoutImpl.java + src/java.base/share/classes/jdk/internal/foreign/layout/StructLayoutImpl.java + src/java.base/share/classes/jdk/internal/foreign/layout/UnionLayoutImpl.java + src/java.base/share/classes/jdk/internal/foreign/layout/ValueLayouts.java ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java ! src/java.base/share/classes/jdk/internal/module/ModuleBootstrap.java ! src/java.base/share/classes/jdk/internal/reflect/Reflection.java ! src/java.base/share/classes/sun/nio/ch/FileChannelImpl.java ! test/hotspot/jtreg/gc/shenandoah/compiler/TestLinkToNativeRBP.java ! test/hotspot/jtreg/runtime/ClassFile/ClassFileVersionTest.java ! test/jdk/com/sun/jdi/JdbLastErrorTest.java ! test/jdk/java/foreign/CallGeneratorHelper.java ! test/jdk/java/foreign/LibraryLookupTest.java + test/jdk/java/foreign/MemoryLayoutPrincipalTotalityTest.java + test/jdk/java/foreign/MemoryLayoutTypeRetentionTest.java ! test/jdk/java/foreign/NativeTestHelper.java ! test/jdk/java/foreign/SafeFunctionAccessTest.java ! test/jdk/java/foreign/StdLibTest.java ! test/jdk/java/foreign/TestAdaptVarHandles.java ! test/jdk/java/foreign/TestArrays.java ! test/jdk/java/foreign/TestByteBuffer.java ! test/jdk/java/foreign/TestClassLoaderFindNative.java ! test/jdk/java/foreign/TestDowncallBase.java ! test/jdk/java/foreign/TestDowncallScope.java ! test/jdk/java/foreign/TestDowncallStack.java ! test/jdk/java/foreign/TestFallbackLookup.java ! test/jdk/java/foreign/TestFree.java ! test/jdk/java/foreign/TestFunctionDescriptor.java ! test/jdk/java/foreign/TestHandshake.java ! test/jdk/java/foreign/TestHeapAlignment.java ! test/jdk/java/foreign/TestIllegalLink.java ! test/jdk/java/foreign/TestIntrinsics.java + test/jdk/java/foreign/TestLargeSegmentCopy.java ! test/jdk/java/foreign/TestLayoutEquality.java ! test/jdk/java/foreign/TestLayoutPaths.java ! test/jdk/java/foreign/TestLayouts.java + test/jdk/java/foreign/TestLinker.java ! test/jdk/java/foreign/TestMemoryAccess.java ! test/jdk/java/foreign/TestMemoryAccessInstance.java ! test/jdk/java/foreign/TestMemoryAlignment.java ! test/jdk/java/foreign/TestMemoryDereference.java ! test/jdk/java/foreign/TestMemorySession.java ! test/jdk/java/foreign/TestMismatch.java ! test/jdk/java/foreign/TestNULLAddress.java ! test/jdk/java/foreign/TestNative.java ! test/jdk/java/foreign/TestNulls.java + test/jdk/java/foreign/TestOfBufferIssue.java ! test/jdk/java/foreign/TestScopedOperations.java ! test/jdk/java/foreign/TestSegmentAllocators.java ! test/jdk/java/foreign/TestSegmentCopy.java ! test/jdk/java/foreign/TestSegmentOffset.java ! test/jdk/java/foreign/TestSegmentOverlap.java ! test/jdk/java/foreign/TestSegments.java ! test/jdk/java/foreign/TestSharedAccess.java ! test/jdk/java/foreign/TestSlices.java ! test/jdk/java/foreign/TestSpliterator.java ! test/jdk/java/foreign/TestStringEncoding.java ! test/jdk/java/foreign/TestTypeAccess.java ! test/jdk/java/foreign/TestUnsupportedLinker.java ! test/jdk/java/foreign/TestUpcallAsync.java ! test/jdk/java/foreign/TestUpcallBase.java ! test/jdk/java/foreign/TestUpcallException.java ! test/jdk/java/foreign/TestUpcallHighArity.java ! test/jdk/java/foreign/TestUpcallScope.java ! test/jdk/java/foreign/TestUpcallStack.java ! test/jdk/java/foreign/TestUpcallStructScope.java + test/jdk/java/foreign/TestValueLayouts.java ! test/jdk/java/foreign/TestVarArgs.java ! test/jdk/java/foreign/TestVarHandleCombinators.java ! test/jdk/java/foreign/ThrowingUpcall.java + test/jdk/java/foreign/UpcallTestHelper.java ! test/jdk/java/foreign/callarranger/TestAarch64CallArranger.java ! test/jdk/java/foreign/callarranger/TestSysVCallArranger.java ! test/jdk/java/foreign/callarranger/TestWindowsCallArranger.java ! test/jdk/java/foreign/channels/AbstractChannelsTest.java ! test/jdk/java/foreign/channels/TestAsyncSocketChannels.java ! test/jdk/java/foreign/channels/TestSocketChannels.java + test/jdk/java/foreign/dontrelease/TestDontRelease.java + test/jdk/java/foreign/dontrelease/libDontRelease.c + test/jdk/java/foreign/enablenativeaccess/NativeAccessDynamicMain.java + test/jdk/java/foreign/enablenativeaccess/TestEnableNativeAccessDynamic.java ! test/jdk/java/foreign/enablenativeaccess/panama_module/org/openjdk/foreigntest/PanamaMainDirect.java ! test/jdk/java/foreign/enablenativeaccess/panama_module/org/openjdk/foreigntest/PanamaMainInvoke.java ! test/jdk/java/foreign/enablenativeaccess/panama_module/org/openjdk/foreigntest/PanamaMainReflection.java ! test/jdk/java/foreign/handles/invoker_module/handle/invoker/MethodHandleInvoker.java ! test/jdk/java/foreign/handles/lookup_module/handle/lookup/MethodHandleLookup.java + test/jdk/java/foreign/libNull.c ! test/jdk/java/foreign/loaderLookup/TestLoaderLookup.java ! test/jdk/java/foreign/loaderLookup/TestLoaderLookupJNI.java ! test/jdk/java/foreign/loaderLookup/invoker/Invoker.java ! test/jdk/java/foreign/loaderLookup/lookup/Lookup.java + test/jdk/java/foreign/normalize/TestNormalize.java + test/jdk/java/foreign/normalize/libNormalize.c + test/jdk/java/foreign/passheapsegment/TestPassHeapSegment.java + test/jdk/java/foreign/passheapsegment/libPassHeapSegment.c ! test/jdk/java/foreign/stackwalk/TestAsyncStackWalk.java ! test/jdk/java/foreign/stackwalk/TestStackWalk.java ! test/jdk/java/foreign/upcalldeopt/TestUpcallDeopt.java ! test/jdk/java/foreign/valist/VaListTest.java ! test/jdk/java/foreign/virtual/TestVirtualCalls.java ! test/jdk/java/lang/Thread/jni/AttachCurrentThread/ImplicitAttach.java ! test/jdk/java/lang/invoke/VarHandles/VarHandleTestExact.java ! test/jdk/java/nio/channels/FileChannel/LargeMapTest.java ! test/jdk/java/nio/channels/FileChannel/MapToMemorySegmentTest.java ! test/jdk/java/util/stream/test/org/openjdk/tests/java/util/stream/SpliteratorTest.java ! test/jdk/jdk/incubator/vector/AbstractVectorLoadStoreTest.java ! test/jdk/jdk/incubator/vector/Byte128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Byte64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/ByteMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Double64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/DoubleMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Float64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/FloatMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Int64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/IntMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Long64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/LongMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short128VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short256VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short512VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/Short64VectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/ShortMaxVectorLoadStoreTests.java ! test/jdk/jdk/incubator/vector/gen-template.sh ! test/jdk/jdk/incubator/vector/templates/X-LoadStoreTest.java.template ! test/micro/org/openjdk/bench/java/lang/foreign/BulkMismatchAcquire.java ! test/micro/org/openjdk/bench/java/lang/foreign/BulkOps.java ! test/micro/org/openjdk/bench/java/lang/foreign/CLayouts.java ! test/micro/org/openjdk/bench/java/lang/foreign/CallOverheadConstant.java ! test/micro/org/openjdk/bench/java/lang/foreign/CallOverheadHelper.java ! test/micro/org/openjdk/bench/java/lang/foreign/CallOverheadVirtual.java ! test/micro/org/openjdk/bench/java/lang/foreign/JavaLayouts.java ! test/micro/org/openjdk/bench/java/lang/foreign/LinkUpcall.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverConstant.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNew.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNewHeap.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstant.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstantFP.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstantHeap.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstantMapped.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstantShared.java + test/micro/org/openjdk/bench/java/lang/foreign/LoopOverOfAddress.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverPollutedSegments.java ! test/micro/org/openjdk/bench/java/lang/foreign/LoopOverSlice.java ! test/micro/org/openjdk/bench/java/lang/foreign/MemorySessionClose.java ! test/micro/org/openjdk/bench/java/lang/foreign/ParallelSum.java ! test/micro/org/openjdk/bench/java/lang/foreign/PointerInvoke.java ! test/micro/org/openjdk/bench/java/lang/foreign/QSort.java ! test/micro/org/openjdk/bench/java/lang/foreign/StrLenTest.java ! test/micro/org/openjdk/bench/java/lang/foreign/TestLoadBytes.java ! test/micro/org/openjdk/bench/java/lang/foreign/UnrolledAccess.java ! test/micro/org/openjdk/bench/java/lang/foreign/Upcalls.java ! test/micro/org/openjdk/bench/java/lang/foreign/VaList.java ! test/micro/org/openjdk/bench/java/lang/foreign/VarHandleExact.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/NativeType.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/Point.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/Pointer.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/PointerBench.java + test/micro/org/openjdk/bench/java/lang/foreign/pointers/Struct.java ! test/micro/org/openjdk/bench/java/lang/foreign/points/support/PanamaPoint.java ! test/micro/org/openjdk/bench/jdk/incubator/vector/MemorySegmentVectorAccess.java ! test/micro/org/openjdk/bench/jdk/incubator/vector/TestLoadStoreBytes.java ! test/micro/org/openjdk/bench/jdk/incubator/vector/TestLoadStoreShorts.java Changeset: 0452c39f Author: Jorn Vernee Date: 2022-12-05 14:47:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0452c39fecb7fa4962b00868cb20a50e5f7ab1a7 8296477: Foreign linker implementation update following JEP 434 Co-authored-by: Jorn Vernee Co-authored-by: Nick Gasson Co-authored-by: Per Minborg Reviewed-by: rehn, mcimadamore, vlivanov ! src/hotspot/cpu/aarch64/downcallLinker_aarch64.cpp ! src/hotspot/cpu/aarch64/foreignGlobals_aarch64.cpp ! src/hotspot/cpu/aarch64/foreignGlobals_aarch64.hpp ! src/hotspot/cpu/aarch64/register_aarch64.hpp ! src/hotspot/cpu/aarch64/upcallLinker_aarch64.cpp + src/hotspot/cpu/aarch64/vmstorage_aarch64.hpp ! src/hotspot/cpu/arm/downcallLinker_arm.cpp ! src/hotspot/cpu/arm/foreignGlobals_arm.cpp + src/hotspot/cpu/arm/vmstorage_arm.hpp ! src/hotspot/cpu/ppc/downcallLinker_ppc.cpp ! src/hotspot/cpu/ppc/foreignGlobals_ppc.cpp + src/hotspot/cpu/ppc/vmstorage_ppc.hpp ! src/hotspot/cpu/riscv/downcallLinker_riscv.cpp ! src/hotspot/cpu/riscv/foreignGlobals_riscv.cpp + src/hotspot/cpu/riscv/vmstorage_riscv.hpp ! src/hotspot/cpu/s390/downcallLinker_s390.cpp ! src/hotspot/cpu/s390/foreignGlobals_s390.cpp + src/hotspot/cpu/s390/vmstorage_s390.hpp ! src/hotspot/cpu/x86/downcallLinker_x86_32.cpp ! src/hotspot/cpu/x86/downcallLinker_x86_64.cpp ! src/hotspot/cpu/x86/foreignGlobals_x86.hpp ! src/hotspot/cpu/x86/foreignGlobals_x86_32.cpp ! src/hotspot/cpu/x86/foreignGlobals_x86_64.cpp ! src/hotspot/cpu/x86/register_x86.hpp ! src/hotspot/cpu/x86/upcallLinker_x86_64.cpp + src/hotspot/cpu/x86/vmstorage_x86.hpp ! src/hotspot/cpu/zero/downcallLinker_zero.cpp ! src/hotspot/cpu/zero/foreignGlobals_zero.cpp + src/hotspot/cpu/zero/vmstorage_zero.hpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/javaClasses.hpp ! src/hotspot/share/code/codeBlob.cpp ! src/hotspot/share/code/codeBlob.hpp + src/hotspot/share/prims/downcallLinker.cpp ! src/hotspot/share/prims/downcallLinker.hpp ! src/hotspot/share/prims/foreignGlobals.cpp ! src/hotspot/share/prims/foreignGlobals.hpp ! src/hotspot/share/prims/foreignGlobals.inline.hpp ! src/hotspot/share/prims/nativeEntryPoint.cpp + src/hotspot/share/prims/vmstorage.cpp + src/hotspot/share/prims/vmstorage.hpp ! src/hotspot/share/runtime/globals.hpp ! src/java.base/share/classes/java/lang/foreign/Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/ABIDescriptor.java ! src/java.base/share/classes/jdk/internal/foreign/abi/AbstractLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/Architecture.java ! src/java.base/share/classes/jdk/internal/foreign/abi/CallingSequence.java ! src/java.base/share/classes/jdk/internal/foreign/abi/CallingSequenceBuilder.java + src/java.base/share/classes/jdk/internal/foreign/abi/CapturableState.java ! src/java.base/share/classes/jdk/internal/foreign/abi/DowncallLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/LinkerOptions.java ! src/java.base/share/classes/jdk/internal/foreign/abi/NativeEntryPoint.java ! src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java + src/java.base/share/classes/jdk/internal/foreign/abi/StubLocations.java ! src/java.base/share/classes/jdk/internal/foreign/abi/VMStorage.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/AArch64Architecture.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/X86_64Architecture.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVx64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/CallArranger.java ! test/jdk/ProblemList.txt ! test/jdk/java/foreign/MemoryLayoutPrincipalTotalityTest.java ! test/jdk/java/foreign/MemoryLayoutTypeRetentionTest.java ! test/jdk/java/foreign/TestLargeSegmentCopy.java ! test/jdk/java/foreign/TestLinker.java ! test/jdk/java/foreign/callarranger/CallArrangerTestBase.java ! test/jdk/java/foreign/callarranger/TestAarch64CallArranger.java ! test/jdk/java/foreign/callarranger/TestSysVCallArranger.java ! test/jdk/java/foreign/callarranger/TestWindowsCallArranger.java + test/jdk/java/foreign/capturecallstate/TestCaptureCallState.java + test/jdk/java/foreign/capturecallstate/libCaptureCallState.c Changeset: 32884592 Author: Tyler Steele Date: 2022-12-05 14:53:52 +0000 URL: https://git.openjdk.org/panama-foreign/commit/328845926d3c1984f65450bfe01ebbc2c0315a69 8297606: [AIX] Broken build after JDK-8295475 Reviewed-by: mdoerr, stuefe ! make/autoconf/flags-cflags.m4 Changeset: 19d84988 Author: Alan Bateman Date: 2022-12-05 15:20:16 +0000 URL: https://git.openjdk.org/panama-foreign/commit/19d849884bd7a9718a5050b9709657f231a1ddbc 8297495: j.u.concurrent updates for JDK 20 Reviewed-by: jpai ! src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java ! src/java.base/share/classes/java/util/concurrent/ForkJoinWorkerThread.java + test/jdk/java/util/concurrent/tck/ForkJoinPool20Test.java ! test/jdk/java/util/concurrent/tck/JSR166TestCase.java Changeset: a38c63da Author: Jorn Vernee Date: 2022-12-05 15:28:51 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a38c63da5632fe727838ff1ed88d9601bf954801 8297733: Refactor Cast binding to enum Reviewed-by: mcimadamore ! src/java.base/share/classes/jdk/internal/foreign/abi/Binding.java ! src/java.base/share/classes/jdk/internal/foreign/abi/BindingSpecializer.java Changeset: 6a7a0db5 Author: Hannes Walln?fer Date: 2022-12-05 16:23:01 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6a7a0db587446160e77c9ac225669e5a0c9bc638 8296619: Upgrade jQuery to 3.6.1 Reviewed-by: jjg - src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/script-dir/jquery-3.6.0.min.js = src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/script-dir/jquery-3.6.1.js + src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/script-dir/jquery-3.6.1.min.js ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/DocPaths.java ! src/jdk.javadoc/share/legal/jquery.md ! test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java ! test/langtools/jdk/javadoc/tool/api/basic/APITest.java Changeset: 601264d9 Author: Phil Race Date: 2022-12-05 17:54:15 +0000 URL: https://git.openjdk.org/panama-foreign/commit/601264d97d5cb1a8feb4aebadcb58bf2364916b4 8273357: SecurityManager deprecation warning from java/awt/regtesthelpers/Util.java Reviewed-by: kizune, aivanov ! test/jdk/java/awt/regtesthelpers/Util.java Changeset: 7d20a60a Author: ravi.ra.gupta Committer: Alexey Ivanov Date: 2022-12-05 18:41:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/7d20a60a983e459ea1c4e843fbde70fb796c6249 8297489: Modify TextAreaTextEventTest.java as to verify the content change of TextComponent sends TextEvent Reviewed-by: honkar, aivanov - test/jdk/java/awt/event/ComponentEvent/TextAreaTextEventTest.java + test/jdk/java/awt/event/ComponentEvent/TextComponentTextEventTest.java Changeset: 9827b75c Author: Erik Gahlin Date: 2022-12-05 20:40:35 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9827b75c451100d2d5f3e068a8758468fd9189e0 8298043: jdk/jfr/api/consumer/recordingstream/TestStop.java failed with "Expected outer stream to have 3 events" Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/EventDirectoryStream.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/management/StreamBarrier.java ! test/jdk/ProblemList.txt ! test/jdk/jdk/jfr/api/consumer/recordingstream/TestStop.java ! test/jdk/jdk/jfr/jmx/streaming/TestStop.java Changeset: da0917a2 Author: Jorn Vernee Date: 2022-12-05 20:47:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/da0917a2ae148ccb415accffbe1117a3dc5fdf2d 8297729: Replace GrowableArray in ComputeMoveOrder with hash table Reviewed-by: coleenp, jsjolen ! src/hotspot/share/prims/foreignGlobals.cpp ! src/hotspot/share/prims/foreignGlobals.hpp Changeset: 8af6e8a6 Author: Phil Race Date: 2022-12-05 21:26:44 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8af6e8a67fc0355f11c270c3ea794366741856fa 8298123: Problem List MaximizedToIconified.java on macOS Reviewed-by: dcubed ! test/jdk/ProblemList.txt Changeset: 884b9ade Author: Alexey Semenyuk Date: 2022-12-06 00:13:22 +0000 URL: https://git.openjdk.org/panama-foreign/commit/884b9ade41c9803076f55f44cd5efd3530e92ab2 8293453: tools/jpackage/share/AddLShortcutTest.java "Failed: Check the number of mismatched pixels [1024] of [1024] is < [0.100000] threshold" Reviewed-by: almatvee ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/ExecutableRebrander.java ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources.properties ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_de.properties ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_ja.properties ! src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_zh_CN.properties ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/LauncherIconVerifier.java Changeset: 8d8a28ff Author: Alexey Semenyuk Date: 2022-12-06 00:14:31 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8d8a28ffcbd974bb1a5389839a7e3046a232f85d 8296489: tools/jpackage/windows/WinL10nTest.java fails with timeout Reviewed-by: almatvee ! test/jdk/tools/jpackage/windows/WinL10nTest.java Changeset: ba2d28e9 Author: Jayathirth D V Date: 2022-12-06 03:43:28 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ba2d28e911f4f523334f98fd0186680acafb6f0a 8298027: Remove SCCS id's from awt jtreg tests Reviewed-by: aivanov ! test/jdk/java/awt/font/TextLayout/TestOldHangul.java ! test/jdk/java/awt/font/TextLayout/TestTibetan.java Changeset: ee9ba745 Author: Srikanth Adayapalam Date: 2022-12-06 04:23:40 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ee9ba7456403c59a6e14d22cf9c2f53eef97ea57 8295184: Printing messages with a RecordComponentElement does not include position Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symbol.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TypeEnter.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeInfo.java + test/langtools/tools/javac/records/recordComponent/8295184/RecordComponentSourcePositionTest.java + test/langtools/tools/javac/records/recordComponent/8295184/ReproducingAP.java + test/langtools/tools/javac/records/recordComponent/8295184/TestWarning.java Changeset: 04012c43 Author: Thomas Stuefe Date: 2022-12-06 06:30:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/04012c4310806bb638737b577351851242950298 8298111: Cleanups after UseMallocOnly removal Reviewed-by: coleenp ! src/hotspot/share/memory/arena.hpp Changeset: e9754181 Author: Albert Mingkun Yang Date: 2022-12-06 06:48:21 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e9754181af17f77e066eaabba5aacf6b404dabaa 8298102: Remove DirtyCardToOopClosure::_last_explicit_min_done Reviewed-by: tschatzl ! src/hotspot/share/gc/shared/space.hpp Changeset: f5ad515d Author: Yude Lin Committer: Thomas Schatzl Date: 2022-12-06 07:16:27 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f5ad515db0b8f5545137c47200e81d78f89aa09c 8297247: Add GarbageCollectorMXBean for Remark and Cleanup pause time in G1 Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1FullGCScope.cpp ! src/hotspot/share/gc/g1/g1FullGCScope.hpp ! src/hotspot/share/gc/g1/g1MonitoringSupport.cpp ! src/hotspot/share/gc/g1/g1MonitoringSupport.hpp ! src/hotspot/share/gc/g1/g1VMOperations.cpp ! src/hotspot/share/gc/g1/g1YoungCollector.cpp ! test/hotspot/jtreg/gc/TestMemoryMXBeansAndPoolsPresence.java + test/hotspot/jtreg/gc/g1/TestRemarkCleanupMXBean.java ! test/hotspot/jtreg/gc/stringdedup/TestStringDeduplicationTools.java ! test/hotspot/jtreg/gc/testlibrary/g1/MixedGCProvoker.java ! test/jdk/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java ! test/jdk/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationTest.java ! test/jdk/java/lang/management/MemoryMXBean/MemoryTest.java ! test/lib/jdk/test/lib/jfr/GCHelper.java Changeset: 0bd04a65 Author: Christian Hagedorn Date: 2022-12-06 07:18:44 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0bd04a658963c1126faa776cb8a96c23beb5e3e6 8297951: C2: Create skeleton predicates for all If nodes in loop predication Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/loopPredicate.cpp + test/hotspot/jtreg/compiler/loopopts/TestMissingSkeletonPredicateForIfNode.java Changeset: 923c7466 Author: Alan Bateman Date: 2022-12-06 07:30:52 +0000 URL: https://git.openjdk.org/panama-foreign/commit/923c746650204e36053251c19cf91b7e41e938b0 8298057: (fs) Remove PollingWatchService.POLLING_INIT_DELAY Reviewed-by: bpb, jpai ! src/java.base/share/classes/sun/nio/fs/PollingWatchService.java Changeset: 2a243a33 Author: Daniel Jeli?ski Date: 2022-12-06 08:24:17 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2a243a33cc09f4674b232d89f36fb731055009d9 8267617: Certificate's IP x509 NameConstraints raises ArrayIndexOutOfBoundsException Reviewed-by: mullan ! src/java.base/share/classes/sun/security/x509/IPAddressName.java + test/jdk/sun/security/x509/IPAddressName/ConstrainsTest.java Changeset: f8f46305 Author: Julian Waters Date: 2022-12-06 08:42:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f8f46305ef0d1c12154075c7a7d4dc75f91529b5 8297963: Partially fix string expansion issues in UTIL_DEFUN_NAMED and related macros Reviewed-by: ihse ! make/autoconf/flags.m4 ! make/autoconf/util.m4 Changeset: a6139985 Author: Pengfei Li Date: 2022-12-06 09:16:47 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a61399854a9db8e3c0cb3f391fa557cb37e02571 8297689: Fix incorrect result of Short.reverseBytes() call in loops Reviewed-by: thartmann, jbhateja ! src/hotspot/share/opto/vectornode.cpp ! src/hotspot/share/prims/vectorSupport.cpp ! test/hotspot/jtreg/compiler/vectorization/TestReverseBytes.java + test/hotspot/jtreg/compiler/vectorization/TestSubwordReverseBytes.java ! test/hotspot/jtreg/compiler/vectorization/runner/BasicCharOpTest.java ! test/hotspot/jtreg/compiler/vectorization/runner/BasicShortOpTest.java Changeset: 4458de95 Author: Fei Gao Committer: Pengfei Li Date: 2022-12-06 09:35:27 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4458de95f845c036c1c8e28df7043e989beaee98 8297172: Fix some issues of auto-vectorization of `Long.bitCount/numberOfTrailingZeros/numberOfLeadingZeros()` Reviewed-by: kvn, thartmann ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/x86/x86.ad ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/superword.hpp ! src/hotspot/share/opto/vectornode.cpp ! src/hotspot/share/opto/vectornode.hpp ! test/hotspot/jtreg/compiler/c2/irTests/TestDisableAutoVectOpcodes.java ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java + test/hotspot/jtreg/compiler/vectorization/TestNumberOfContinuousZeros.java ! test/hotspot/jtreg/compiler/vectorization/TestPopCountVectorLong.java Changeset: a9e6c62b Author: Thomas Schatzl Date: 2022-12-06 10:09:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a9e6c62ba7df8d28cef9579c57a0386736bd9dbf 8297186: G1 triggers unnecessary full GCs when heap utilization is low Reviewed-by: kbarrett, sjohanss ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp + test/hotspot/jtreg/gc/g1/TestOneEdenRegionAfterGC.java ! test/hotspot/jtreg/runtime/cds/appcds/LotsOfClasses.java Changeset: 84b927a0 Author: Per Minborg Committer: Alan Bateman Date: 2022-12-06 10:42:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/84b927a05bcb7bf32a12829070ffd3a5670066d2 8296024: Usage of DirectBuffer::address should be guarded Reviewed-by: mcimadamore, alanb, psandoz, bpb ! src/java.base/share/classes/com/sun/crypto/provider/GaloisCounterMode.java ! src/java.base/share/classes/java/nio/Buffer.java ! src/java.base/share/classes/java/util/zip/Adler32.java ! src/java.base/share/classes/java/util/zip/CRC32.java ! src/java.base/share/classes/java/util/zip/CRC32C.java ! src/java.base/share/classes/java/util/zip/Deflater.java ! src/java.base/share/classes/java/util/zip/Inflater.java ! src/java.base/share/classes/java/util/zip/ZipUtils.java ! src/java.base/share/classes/jdk/internal/access/JavaNioAccess.java ! src/java.base/share/classes/module-info.java ! src/java.base/share/classes/sun/nio/ch/DatagramChannelImpl.java ! src/java.base/share/classes/sun/nio/ch/DirectBuffer.java ! src/java.base/share/classes/sun/nio/ch/IOUtil.java ! src/java.base/share/lib/security/default.policy ! src/java.base/unix/classes/sun/nio/fs/UnixUserDefinedFileAttributeView.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11AEADCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Cipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Digest.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyWrapCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Mac.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11PSSSignature.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Signature.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java Changeset: 2243646f Author: Albert Mingkun Yang Date: 2022-12-06 12:26:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2243646fe35226e6d12d478483264270537a83cc 8298145: Remove ContiguousSpace::capacity Reviewed-by: tschatzl ! src/hotspot/share/gc/shared/space.hpp Changeset: b0e54328 Author: Daniel Fuchs Date: 2022-12-06 12:46:01 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b0e54328c530faf8aae2f48a37ff378215142689 8297687: new URI(S,S,S,S) throws exception with incorrect index position reported in the error message Reviewed-by: jpai ! src/java.base/share/classes/java/net/URI.java ! test/jdk/java/net/URI/Test.java Changeset: 1e468320 Author: Aggelos Biboudis Committer: Jan Lahoda Date: 2022-12-06 13:00:10 +0000 URL: https://git.openjdk.org/panama-foreign/commit/1e468320dc6e495343dbdf392cbcbda79672c7ad 8297602: Compiler crash with type annotation and generic record during pattern matching Reviewed-by: jlahoda ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotations.java + test/langtools/tools/javac/T8297602.java Changeset: 203251ff Author: Volodymyr Paprotski Committer: Sandhya Viswanathan Date: 2022-12-06 16:47:45 +0000 URL: https://git.openjdk.org/panama-foreign/commit/203251ffc0ea8b9bb9c8b95c50434e4185020d84 8297379: Enable the ByteBuffer path of Poly1305 optimizations Reviewed-by: sviswanathan, ascarpino, jnimeh ! src/java.base/share/classes/com/sun/crypto/provider/Poly1305.java ! test/jdk/com/sun/crypto/provider/Cipher/ChaCha20/unittest/java.base/com/sun/crypto/provider/Poly1305IntrinsicFuzzTest.java ! test/micro/org/openjdk/bench/javax/crypto/full/Poly1305DigestBench.java Changeset: 0d2a9ee5 Author: Joe Darcy Date: 2022-12-06 16:55:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0d2a9ee5287779c2e33fc0bfda84aa6128d8f479 8298142: Update internal comment on language features in SourceVersion Reviewed-by: sundar, jlahoda ! src/java.compiler/share/classes/javax/lang/model/SourceVersion.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java Changeset: 336d230a Author: Thomas Stuefe Date: 2022-12-06 18:32:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/336d230a39e41eeed8b9d2ce3fec42e9de1d11fe 8297958: NMT: Display peak values Reviewed-by: jsjolen, sjohanss ! src/hotspot/share/services/mallocSiteTable.hpp ! src/hotspot/share/services/mallocTracker.cpp ! src/hotspot/share/services/mallocTracker.hpp ! src/hotspot/share/services/memReporter.cpp ! src/hotspot/share/services/memReporter.hpp Changeset: ea83cb96 Author: Rajat Mahajan Committer: Harshitha Onkar Date: 2022-12-06 18:43:02 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ea83cb960d07ffa9384aad6a1e2a0233e3ebbdd1 8297450: ScaledTextFieldBorderTest.java fails when run with -show parameter Reviewed-by: aivanov, honkar ! test/jdk/javax/swing/border/LineBorder/ScaledTextFieldBorderTest.java Changeset: 79d163d4 Author: Mark Powers Committer: Weijun Wang Date: 2022-12-06 20:36:50 +0000 URL: https://git.openjdk.org/panama-foreign/commit/79d163d4994d235266117b425498b0df3d16c3c4 8293412: Remove unnecessary java.security.egd overrides Reviewed-by: xuelei, djelinski ! test/jdk/sun/security/provider/SeedGenerator/SeedGeneratorChoice.java ! test/jdk/sun/security/tools/jarsigner/compatibility/Compatibility.java ! test/lib/jdk/test/lib/SecurityTools.java Changeset: 2cdc0195 Author: Christian Stein Date: 2022-12-06 20:51:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2cdc0195655317cb0b04f76fd8dce5e40bf52774 8298178: Update to use jtreg 7.1.1 Reviewed-by: erikj ! make/autoconf/lib-tests.m4 ! make/conf/github-actions.conf ! make/conf/jib-profiles.js ! test/hotspot/jtreg/TEST.ROOT ! test/jaxp/TEST.ROOT ! test/jdk/TEST.ROOT ! test/langtools/TEST.ROOT ! test/lib-test/TEST.ROOT Changeset: cd2182a9 Author: Martin Doerr Date: 2022-12-06 20:56:48 +0000 URL: https://git.openjdk.org/panama-foreign/commit/cd2182a9967917e733e486d918e9aeba3bd35ee8 8295724: VirtualMachineError: Out of space in CodeCache for method handle intrinsic Reviewed-by: kvn, dlong ! src/hotspot/share/code/nmethod.cpp ! src/hotspot/share/code/nmethod.hpp ! src/hotspot/share/gc/shared/gcBehaviours.cpp ! src/hotspot/share/oops/method.hpp + test/hotspot/jtreg/compiler/codecache/MHIntrinsicAllocFailureTest.java Changeset: b4da0ee7 Author: Anthony Scarpino Date: 2022-12-06 21:37:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b4da0ee706b6a274e6ba4e5483ef972f45c9f81e 8296507: GCM using more memory than necessary with in-place operations Reviewed-by: jnimeh ! src/java.base/share/classes/com/sun/crypto/provider/GaloisCounterMode.java Changeset: 16a59018 Author: Daniel D. Daugherty Date: 2022-12-06 22:01:45 +0000 URL: https://git.openjdk.org/panama-foreign/commit/16a5901845de170e2e6f9ea13f19bb2a34c1da85 8298214: ProblemList java/util/concurrent/forkjoin/AsyncShutdownNow.java 8298218: ProblemList java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java on windows-x64 8298222: ProblemList java/awt/Mixing/AWT_Mixing/ViewportOverlapping.java on windows-x64 8298220: ProblemList java/awt/Mixing/AWT_Mixing/OpaqueOverlapping.java on windows-x64 Reviewed-by: rriggs ! test/jdk/ProblemList.txt Changeset: 62baff50 Author: Chris Plummer Date: 2022-12-06 22:45:53 +0000 URL: https://git.openjdk.org/panama-foreign/commit/62baff503ef5562e02e1900525acffa5d4ca8534 8298221: Problem list gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java on macosx-aarch64 Reviewed-by: dcubed ! test/hotspot/jtreg/ProblemList.txt Changeset: ce896731 Author: Andrew John Hughes Date: 2022-12-07 00:34:00 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ce896731d38866c2bf99cd49525062e150d94160 8297804: (tz) Update Timezone Data to 2022g Reviewed-by: naoto ! make/data/cldr/common/bcp47/timezone.xml ! make/data/cldr/common/main/root.xml ! make/data/cldr/common/supplemental/metaZones.xml ! src/java.base/share/classes/sun/util/resources/TimeZoneNames.java ! src/java.base/share/data/tzdata/VERSION ! src/java.base/share/data/tzdata/africa ! src/java.base/share/data/tzdata/asia ! src/java.base/share/data/tzdata/backward ! src/java.base/share/data/tzdata/europe ! src/java.base/share/data/tzdata/iso3166.tab ! src/java.base/share/data/tzdata/northamerica ! src/java.base/share/data/tzdata/southamerica ! src/java.base/share/data/tzdata/zone.tab ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_de.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_es.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_fr.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_it.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_ja.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_ko.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_pt_BR.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_sv.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_zh_CN.java ! src/jdk.localedata/share/classes/sun/util/resources/ext/TimeZoneNames_zh_TW.java ! test/jdk/java/util/TimeZone/TimeZoneData/VERSION ! test/jdk/java/util/TimeZone/TimeZoneData/aliases.txt ! test/jdk/java/util/TimeZone/TimeZoneData/displaynames.txt Changeset: acf96c64 Author: Yi Yang Date: 2022-12-07 03:08:07 +0000 URL: https://git.openjdk.org/panama-foreign/commit/acf96c64b750b1a7badbb2cd1c7021dad36aae1e 8290432: C2 compilation fails with assert(node->_last_del == _last) failed: must have deleted the edge just produced Reviewed-by: kvn, thartmann, chagedorn ! src/hotspot/share/opto/loopnode.cpp + test/hotspot/jtreg/compiler/c2/TestUnexpectedParallelIV.java Changeset: 8ea369af Author: Denghui Dong Date: 2022-12-07 06:37:54 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8ea369afe6b23618086d074f1fad61effce3beec 8298171: Missing newline in the example output of -Xlog:help Reviewed-by: dholmes ! src/hotspot/share/logging/logConfiguration.cpp Changeset: 1c2a0939 Author: Thomas Stuefe Date: 2022-12-07 07:31:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/1c2a093988c69ae0b2c0030835d11469fa9fb852 8298147: Clang warns about pointless comparisons Reviewed-by: dholmes ! src/hotspot/os/linux/cgroupV1Subsystem_linux.cpp ! src/hotspot/os/linux/cgroupV2Subsystem_linux.cpp Changeset: 085f96cb Author: Axel Boldt-Christmas Date: 2022-12-07 08:28:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/085f96cb1a9be3e55da5801069a800e322649a8f 8295258: Add BasicType argument to AccessInternal::decorator_fixup Reviewed-by: stefank, eosterlund ! src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp ! src/hotspot/cpu/arm/macroAssembler_arm.cpp ! src/hotspot/cpu/ppc/macroAssembler_ppc.inline.hpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/s390/macroAssembler_s390.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/share/gc/shared/c1/barrierSetC1.hpp ! src/hotspot/share/gc/shared/c2/barrierSetC2.cpp ! src/hotspot/share/oops/accessDecorators.hpp Changeset: 27bbe7be Author: Daniel Jeli?ski Date: 2022-12-07 08:56:10 +0000 URL: https://git.openjdk.org/panama-foreign/commit/27bbe7be2c43a22e8cf55aa403d8018346ae3e37 8297976: Remove sun.net.ProgressMonitor and related classes 8240275: Occasional errors in HttpURLConnection due to race with GC Reviewed-by: jpai, dfuchs, michaelm - src/java.base/share/classes/sun/net/ProgressEvent.java - src/java.base/share/classes/sun/net/ProgressListener.java - src/java.base/share/classes/sun/net/ProgressMeteringPolicy.java - src/java.base/share/classes/sun/net/ProgressMonitor.java - src/java.base/share/classes/sun/net/ProgressSource.java ! src/java.base/share/classes/sun/net/www/MeteredStream.java ! src/java.base/share/classes/sun/net/www/http/HttpClient.java ! src/java.base/share/classes/sun/net/www/http/KeepAliveStream.java ! src/java.base/share/classes/sun/net/www/protocol/file/FileURLConnection.java ! src/java.base/share/classes/sun/net/www/protocol/ftp/FtpURLConnection.java ! src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java ! test/jdk/java/lang/reflect/Proxy/ProxyModuleMapping.java - test/jdk/sun/net/www/http/ChunkedInputStream/ChunkedEncodingWithProgressMonitorTest.java + test/jdk/sun/net/www/http/KeepAliveStream/KeepAliveStreamFinalizer.java Changeset: 5a3439db Author: Sergey Bylokhov Date: 2022-12-07 09:35:26 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5a3439db9fef3e54650df4019e31311b60a0ec1d 4677581: ColorModel.getComponentSize()-wrong conditions for ArrayIndexOutOfBoundsExceptio Reviewed-by: prr ! src/java.desktop/share/classes/java/awt/image/ColorModel.java + test/jdk/java/awt/image/ColorModel/GetComponentSizeAIOBE.java Changeset: ccc69af9 Author: Alan Bateman Date: 2022-12-07 10:12:40 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ccc69af966cf4395d75b2018490cafc47dcad90f 8296672: Implementation of Virtual Threads (Second Preview) Reviewed-by: mchung, jpai ! src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java Changeset: 221e1a42 Author: Andrew Haley Committer: Alan Bateman Date: 2022-12-07 10:14:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/221e1a426070088b819ddc37b7ca77d9d8626eb4 8286666: JEP 429: Implementation of Scoped Values (Incubator) Reviewed-by: psandoz, dlong, alanb, mcimadamore ! make/data/hotspot-symbols/symbols-unix ! src/hotspot/cpu/aarch64/aarch64.ad ! src/hotspot/cpu/x86/x86_64.ad ! src/hotspot/share/c1/c1_Compiler.cpp ! src/hotspot/share/c1/c1_LIRGenerator.cpp ! src/hotspot/share/c1/c1_LIRGenerator.hpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/classfile/javaClasses.hpp ! src/hotspot/share/classfile/vmIntrinsics.cpp ! src/hotspot/share/classfile/vmIntrinsics.hpp ! src/hotspot/share/classfile/vmSymbols.hpp ! src/hotspot/share/include/jvm.h ! src/hotspot/share/interpreter/interpreterRuntime.cpp ! src/hotspot/share/jvmci/jvmciCompilerToVM.cpp ! src/hotspot/share/jvmci/vmStructs_jvmci.cpp ! src/hotspot/share/oops/oopHandle.hpp ! src/hotspot/share/opto/c2compiler.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/opto/library_call.hpp ! src/hotspot/share/opto/memnode.cpp ! src/hotspot/share/prims/jvm.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.cpp ! src/hotspot/share/runtime/flags/jvmFlagConstraintsRuntime.hpp ! src/hotspot/share/runtime/globals.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/sharedRuntime.cpp ! src/hotspot/share/runtime/vframe_hp.cpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/hotspot/share/utilities/exceptions.cpp ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/java/lang/Thread.java ! src/java.base/share/classes/java/lang/VirtualThread.java ! src/java.base/share/classes/java/util/concurrent/ThreadLocalRandom.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java ! src/java.base/share/classes/jdk/internal/misc/ThreadFlock.java ! src/java.base/share/classes/jdk/internal/vm/Continuation.java - src/java.base/share/classes/jdk/internal/vm/ExtentLocalContainer.java + src/java.base/share/classes/jdk/internal/vm/ScopedValueContainer.java ! src/java.base/share/classes/jdk/internal/vm/ThreadContainer.java ! src/java.base/share/classes/module-info.java ! src/java.base/share/native/libjava/Thread.c + src/jdk.incubator.concurrent/share/classes/jdk/incubator/concurrent/ScopedValue.java ! src/jdk.incubator.concurrent/share/classes/jdk/incubator/concurrent/StructuredTaskScope.java ! test/hotspot/jtreg/serviceability/jvmti/thread/GetFrameCount/framecnt01/framecnt01.java ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/GetStackTraceCurrentThreadTest/libGetStackTraceCurrentThreadTest.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr03/libgetstacktr03.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr04/libgetstacktr04.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr05/libgetstacktr05.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr06/libgetstacktr06.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr07/libgetstacktr07.cpp ! test/hotspot/jtreg/serviceability/jvmti/thread/GetStackTrace/getstacktr08/libgetstacktr08.cpp ! test/jdk/ProblemList.txt + test/jdk/jdk/incubator/concurrent/ScopedValue/ManyBindings.java + test/jdk/jdk/incubator/concurrent/ScopedValue/ScopeValueAPI.java + test/jdk/jdk/incubator/concurrent/ScopedValue/StressStackOverflow.java + test/jdk/jdk/incubator/concurrent/StructuredTaskScope/WithScopedValue.java + test/jdk/jdk/internal/misc/ThreadFlock/WithScopedValue.java + test/micro/org/openjdk/bench/jdk/incubator/concurrent/ScopedValues.java + test/micro/org/openjdk/bench/jdk/incubator/concurrent/ScopedValuesData.java + test/micro/org/openjdk/bench/jdk/incubator/concurrent/ScopedValuesExecutorService.java Changeset: 80cbfab9 Author: Albert Mingkun Yang Date: 2022-12-07 10:35:43 +0000 URL: https://git.openjdk.org/panama-foreign/commit/80cbfab928eaace71c16a7a1d430980a730383ba 8298169: Remove unused methods in space.hpp Reviewed-by: stefank ! src/hotspot/share/gc/shared/space.hpp Changeset: 4da84116 Author: Severin Gehwolf Date: 2022-12-07 10:46:53 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4da8411674b7515310000bd8243860bc73f9a03d 8298108: Add a regression test for JDK-8297684 Reviewed-by: mullan + test/jdk/java/security/SignedJar/spi-calendar-provider/TestSPISigned.java + test/jdk/java/security/SignedJar/spi-calendar-provider/provider/baz/CalendarDataProviderImpl.java + test/jdk/java/security/SignedJar/spi-calendar-provider/provider/meta/META-INF/services/java.util.spi.CalendarDataProvider Changeset: 3e041eb9 Author: Thomas Stuefe Date: 2022-12-07 11:12:51 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3e041eb9093275bc658c02ae74cd39b4a74684ee 8298248: Limit sscanf output width in cgroup file parsers Reviewed-by: dholmes, sgehwolf ! src/hotspot/os/linux/cgroupV2Subsystem_linux.cpp Changeset: bfcc238e Author: Markus Gr?nlund Date: 2022-12-07 11:25:37 +0000 URL: https://git.openjdk.org/panama-foreign/commit/bfcc238ed09cb432e4a003b89a803c3c10e8ac80 8297964: Jetty.java fails "assert(_no_handle_mark_nesting == 0) failed: allocating handle inside NoHandleMark" Reviewed-by: egahlin ! src/hotspot/share/jfr/recorder/stacktrace/jfrStackTrace.cpp Changeset: 58170f65 Author: Matthias Baesken Date: 2022-12-07 11:57:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/58170f657c2ccc7afd1e9056d7630a3b564207ef 8298035: Provide better descriptions for JIT compiler JFR events Reviewed-by: clanger, stuefe ! src/hotspot/share/jfr/metadata/metadata.xml Changeset: cf63f2e3 Author: Jan Lahoda Date: 2022-12-07 12:03:50 +0000 URL: https://git.openjdk.org/panama-foreign/commit/cf63f2e3ea93cf339d08e2865034e128d683e515 8298184: Incorrect record component type in record patterns Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java ! test/langtools/tools/javac/patterns/GenericRecordDeconstructionPattern.java Changeset: 86270e30 Author: Roland Westrelin Date: 2022-12-07 14:16:50 +0000 URL: https://git.openjdk.org/panama-foreign/commit/86270e3068d3b2e80710227ae2dc79719df35788 8269820: C2 PhaseIdealLoop::do_unroll get wrong opaque node Reviewed-by: kvn, thartmann, chagedorn ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/classes.hpp ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/opaquenode.hpp ! src/hotspot/share/opto/split_if.cpp ! src/hotspot/share/opto/subnode.cpp + test/hotspot/jtreg/compiler/loopopts/TestCanonicalLoopEntryOpaqueOrder.java Changeset: 6ed36835 Author: Albert Mingkun Yang Date: 2022-12-07 15:14:32 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6ed36835ec9b3743430a8c1c71635f12c711f48a 8297209: Serial: Refactor GenCollectedHeap::full_process_roots Reviewed-by: tschatzl, iwalulya ! src/hotspot/share/gc/serial/genMarkSweep.cpp ! src/hotspot/share/gc/shared/genCollectedHeap.cpp ! src/hotspot/share/gc/shared/genCollectedHeap.hpp Changeset: 3de77509 Author: Claes Redestad Date: 2022-12-07 15:37:58 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3de775094dab3c375a32ddabdd24456d177d3009 8298177: Various java.lang.invoke cleanups 8284363: Redundant imports in BoundMethodHandle Reviewed-by: jvernee ! src/java.base/share/classes/java/lang/invoke/BoundMethodHandle.java ! src/java.base/share/classes/java/lang/invoke/ClassSpecializer.java ! src/java.base/share/classes/java/lang/invoke/DirectMethodHandle.java ! src/java.base/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java ! src/java.base/share/classes/java/lang/invoke/LambdaForm.java ! src/java.base/share/classes/java/lang/invoke/MemberName.java ! src/java.base/share/classes/java/lang/invoke/MethodHandleImpl.java ! src/java.base/share/classes/java/lang/invoke/NativeMethodHandle.java ! src/java.base/share/classes/sun/invoke/util/BytecodeDescriptor.java ! src/java.base/share/classes/sun/invoke/util/ValueConversions.java ! test/jdk/sun/invoke/util/ValueConversionsTest.java Changeset: 29f1c3c6 Author: Severin Gehwolf Date: 2022-12-07 15:45:35 +0000 URL: https://git.openjdk.org/panama-foreign/commit/29f1c3c6e39170e0f36949dc209edf183c2eb36b 8298274: Problem list TestSPISigned on Windows Reviewed-by: mullan, dcubed ! test/jdk/ProblemList.txt Changeset: dd7385d1 Author: Tyler Steele Date: 2022-12-07 16:24:51 +0000 URL: https://git.openjdk.org/panama-foreign/commit/dd7385d1e86afe8af79587e80c5046af5c84b5cd 8298202: [AIX] Dead code elimination removed jfr constructor used by AIX Reviewed-by: dholmes, stuefe ! src/hotspot/share/runtime/os_perf.hpp Changeset: 389b8f4b Author: Markus KARG Committer: Brian Burkhalter Date: 2022-12-07 16:29:43 +0000 URL: https://git.openjdk.org/panama-foreign/commit/389b8f4b788375821a8bb4b017e50f905abdad2d 8297298: SequenceInputStream should override transferTo Reviewed-by: bpb ! src/java.base/share/classes/java/io/SequenceInputStream.java = test/jdk/java/io/SequenceInputStream/TransferTo.java Changeset: 39344840 Author: Tyler Steele Date: 2022-12-07 16:54:10 +0000 URL: https://git.openjdk.org/panama-foreign/commit/39344840c7a5fbd37f6c6a972a89c3600396e878 8298205: Prefer Member Initialization Lists for JFR classes in os_perf.hpp Reviewed-by: dholmes, mgronlun ! src/hotspot/share/runtime/os_perf.hpp Changeset: 8edb98df Author: Olga Mikhaltsova Committer: Andrew Brygin Date: 2022-12-07 18:02:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8edb98df3dd393103f2c80e929b011bc6b7993a3 8165943: LineBreakMeasurer does not measure correctly if TextAttribute.TRACKING is set. Co-authored-by: Jason Fordham Reviewed-by: prr ! src/java.desktop/share/classes/sun/font/AttributeValues.java ! src/java.desktop/share/classes/sun/font/ExtendedTextSourceLabel.java ! src/java.desktop/share/classes/sun/font/StandardGlyphVector.java + test/jdk/java/awt/font/LineBreakMeasurer/LineBreakWithTracking.java + test/jdk/java/awt/font/LineBreakMeasurer/LineBreakWithTrackingAuto.java Changeset: e86f31b5 Author: Christian Hagedorn Date: 2022-12-07 18:32:28 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e86f31b5e71af00fea9cd989a86c1e75e3df1821 8298301: C2: assert(main_cmp->in(2)->Opcode() == Op_Opaque1) failed: main loop has no opaque node? Reviewed-by: thartmann ! src/hotspot/share/opto/loopTransform.cpp Changeset: 3b8c7ef8 Author: Stefan Johansson Date: 2022-12-07 18:43:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3b8c7ef8e705764942c4f3df872e3e47021a37f4 8157023: Integrate NMT with JFR Reviewed-by: stuefe, mgronlun, egahlin ! src/hotspot/share/jfr/metadata/metadata.xml ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/hotspot/share/services/mallocTracker.hpp + src/hotspot/share/services/memJfrReporter.cpp + src/hotspot/share/services/memJfrReporter.hpp ! src/hotspot/share/services/memReporter.cpp ! src/hotspot/share/services/memReporter.hpp + src/hotspot/share/services/nmtUsage.cpp + src/hotspot/share/services/nmtUsage.hpp ! src/hotspot/share/services/virtualMemoryTracker.hpp ! src/jdk.jfr/share/conf/jfr/default.jfc ! src/jdk.jfr/share/conf/jfr/profile.jfc + test/jdk/jdk/jfr/event/runtime/TestNativeMemoryUsageEvents.java ! test/lib/jdk/test/lib/jfr/EventNames.java Changeset: 10356e76 Author: Brian Burkhalter Date: 2022-12-07 18:54:18 +0000 URL: https://git.openjdk.org/panama-foreign/commit/10356e767a44632c5de142d4666bd85d4618bf71 8298303: (fs) temporarily remove Path.getExtension Reviewed-by: smarks, alanb ! src/java.base/share/classes/java/nio/file/Path.java - test/jdk/java/nio/file/Path/Extensions.java Changeset: 5d4c71c8 Author: Xue-Lei Andrew Fan Date: 2022-12-07 20:16:45 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5d4c71c8bd361af78c90777f17b79e95d8eb5afe 8281236: (D)TLS key exchange named groups Reviewed-by: mullan ! src/java.base/share/classes/javax/net/ssl/SSLParameters.java ! src/java.base/share/classes/sun/security/ssl/CertificateVerify.java ! src/java.base/share/classes/sun/security/ssl/DHKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/DHServerKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/ECDHKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/ECDHServerKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/HandshakeContext.java ! src/java.base/share/classes/sun/security/ssl/KeyShareExtension.java ! src/java.base/share/classes/sun/security/ssl/NamedGroup.java ! src/java.base/share/classes/sun/security/ssl/SSLConfiguration.java ! src/java.base/share/classes/sun/security/ssl/SSLKeyExchange.java ! src/java.base/share/classes/sun/security/ssl/SignatureScheme.java ! src/java.base/share/classes/sun/security/ssl/SupportedGroupsExtension.java ! src/java.base/share/classes/sun/security/ssl/X509Authentication.java + test/jdk/javax/net/ssl/DTLS/DTLSNamedGroups.java + test/jdk/javax/net/ssl/SSLParameters/NamedGroups.java + test/jdk/javax/net/ssl/SSLParameters/NamedGroupsSpec.java Changeset: 8a9911ef Author: Naoto Sato Date: 2022-12-07 20:49:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8a9911ef1762ae837e427ec9d91b1399ba33b6e4 8295803: Console should be usable in jshell and other environments Reviewed-by: jlaskey, alanb ! src/java.base/share/classes/java/io/Console.java ! src/java.base/share/classes/java/io/PrintWriter.java + src/java.base/share/classes/java/io/ProxyingConsole.java ! src/java.base/share/classes/java/lang/System.java ! src/java.base/share/classes/jdk/internal/access/JavaIOAccess.java ! src/java.base/share/classes/jdk/internal/access/JavaLangAccess.java + src/java.base/share/classes/jdk/internal/io/JdkConsole.java + src/java.base/share/classes/jdk/internal/io/JdkConsoleProvider.java ! src/java.base/share/classes/module-info.java ! src/java.base/share/classes/sun/security/util/Password.java + src/jdk.internal.le/share/classes/jdk/internal/org/jline/JdkConsoleProviderImpl.java ! src/jdk.internal.le/share/classes/module-info.java + test/jdk/java/io/Console/ModuleSelectionTest.java + test/jdk/java/io/Console/RedirectTest.java + test/jdk/java/io/Console/SecurityManagerTest.java + test/jdk/java/io/Console/input.txt + test/jdk/java/io/Console/test.policy Changeset: 8b69a2e4 Author: Doug Simon Date: 2022-12-07 22:11:11 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8b69a2e434ad2fa3369079622b57afb973d5bd9a 8298099: [JVMCI] decouple libgraal from JVMCI module at runtime Reviewed-by: never ! src/hotspot/share/classfile/classLoader.cpp ! src/hotspot/share/classfile/classLoader.hpp ! src/hotspot/share/classfile/vmSymbols.hpp ! src/hotspot/share/jvmci/jvmci.cpp ! src/hotspot/share/jvmci/jvmciCompilerToVM.cpp ! src/hotspot/share/jvmci/jvmciEnv.cpp ! src/hotspot/share/jvmci/jvmciEnv.hpp ! src/hotspot/share/jvmci/jvmciJavaClasses.cpp ! src/hotspot/share/jvmci/jvmciJavaClasses.hpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/jvmci/vmSymbols_jvmci.hpp ! src/hotspot/share/runtime/arguments.cpp + src/java.base/share/classes/jdk/internal/vm/TranslatedException.java ! src/java.base/share/classes/jdk/internal/vm/VMSupport.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java - src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/TranslatedException.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.services/src/jdk/vm/ci/services/Services.java - test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/TestServices.java - test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.hotspot.test/src/jdk/vm/ci/hotspot/test/TestTranslatedException.java + test/jdk/jdk/internal/vm/TestTranslatedException.java Changeset: af8fb7ee Author: Alexander Zuev Date: 2022-12-08 00:32:13 +0000 URL: https://git.openjdk.org/panama-foreign/commit/af8fb7eef7188ef762399cfb3faf5c8afd49efa7 8282578: AIOOBE in javax.sound.sampled.Clip Reviewed-by: prr, aivanov, azvegint ! src/java.desktop/share/classes/com/sun/media/sound/SoftMainMixer.java ! src/java.desktop/share/classes/com/sun/media/sound/SoftTuning.java + test/jdk/javax/sound/midi/SysexMessage/EmptySysExMessageTest.java + test/jdk/javax/sound/midi/SysexMessage/zerosysex.mid Changeset: 3aa4070d Author: Darragh Clarke Committer: Jaikiran Pai Date: 2022-12-08 01:39:07 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3aa4070d4ca21b9e90388995efbcde318892e25f 8294047: HttpResponseInputStream swallows interrupts Reviewed-by: dfuchs, vtewari, jpai ! src/java.net.http/share/classes/java/net/http/HttpResponse.java ! src/java.net.http/share/classes/jdk/internal/net/http/ResponseSubscribers.java + test/jdk/java/net/httpclient/HttpResponseInputStreamInterruptTest.java Changeset: 74f346b3 Author: Xiaolin Zheng Committer: Fei Yang Date: 2022-12-08 02:19:35 +0000 URL: https://git.openjdk.org/panama-foreign/commit/74f346b33f7fa053ad5c99ef85baa32b7fb12fa6 8298075: RISC-V: Implement post-call NOPs Reviewed-by: fyang, luhenry ! src/hotspot/cpu/riscv/c1_CodeStubs_riscv.cpp ! src/hotspot/cpu/riscv/c2_safepointPollStubTable_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp ! src/hotspot/cpu/riscv/macroAssembler_riscv.hpp ! src/hotspot/cpu/riscv/nativeInst_riscv.cpp ! src/hotspot/cpu/riscv/nativeInst_riscv.hpp Changeset: d5cf18e7 Author: Tejesh R Date: 2022-12-08 04:34:48 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d5cf18e7fb591185eecb042bfa015609ea7d15e0 8296198: JFileChooser throws InternalError java.lang.InternalError with Windows shortcuts Reviewed-by: serb, abhiscxk ! src/java.desktop/share/classes/javax/swing/plaf/basic/BasicFileChooserUI.java + test/jdk/javax/swing/JFileChooser/FileSystemView/CustomFSVLinkTest.java Changeset: 51759650 Author: Prasanta Sadhukhan Date: 2022-12-08 07:15:02 +0000 URL: https://git.openjdk.org/panama-foreign/commit/51759650e5593f48ce616a1a8abf51f5f8fd5302 8298323: trivial typo in JOptionPane.OK_OPTION Reviewed-by: iris ! src/java.desktop/share/classes/javax/swing/JOptionPane.java Changeset: 1166c8e2 Author: Alan Bateman Date: 2022-12-08 07:37:32 +0000 URL: https://git.openjdk.org/panama-foreign/commit/1166c8e2c0047869cd50b7ddc5355290ac2a695a 8296896: Change virtual Thread.yield to use external submit Reviewed-by: jpai, rpressler ! src/java.base/share/classes/java/lang/VirtualThread.java + test/jdk/java/lang/Thread/virtual/YieldQueuing.java ! test/jdk/java/lang/Thread/virtual/stress/YieldALot.java Changeset: 46cd457b Author: Stefan Johansson Date: 2022-12-08 09:33:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/46cd457b0f78996a3f26e44452de8f8a66041f58 8298341: Ensure heap growth in TestNativeMemoryUsageEvents.java Reviewed-by: egahlin, stuefe ! test/jdk/jdk/jfr/event/runtime/TestNativeMemoryUsageEvents.java Changeset: 073897c8 Author: Smita Kamath Committer: Jatin Bhateja Date: 2022-12-08 09:46:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/073897c88bbc430e8751a18baf7487f6474fd0c3 8294588: Auto vectorize half precision floating point conversion APIs Reviewed-by: sviswanathan, kvn, jbhateja, fgao, xgong ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/cpu/x86/x86.ad ! src/hotspot/share/adlc/formssel.cpp ! src/hotspot/share/opto/classes.hpp ! src/hotspot/share/opto/superword.cpp ! src/hotspot/share/opto/vectorIntrinsics.cpp ! src/hotspot/share/opto/vectornode.cpp ! src/hotspot/share/opto/vectornode.hpp ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java + test/hotspot/jtreg/compiler/vectorization/TestFloatConversionsVector.java Changeset: 297bf6a5 Author: Anthony Vanelverdinghe Committer: Julian Waters Date: 2022-12-08 10:19:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/297bf6a5965c4f01ca2091976b5e6ca675ab5395 8287397: Print top-level exception when snippet fails to read file Reviewed-by: jjg ! src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/taglets/SnippetTaglet.java Changeset: b9346e14 Author: Sergey Tsypanov Committer: Julian Waters Date: 2022-12-08 10:21:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b9346e149e6cfcaf18bfafbd262f6fed209dc644 8298033: Character.codePoint{At|Before}(char[], int, int) doesn't do JavaDoc-specified check Reviewed-by: rriggs ! src/java.base/share/classes/java/lang/Character.java ! test/jdk/java/lang/Character/Supplementary.java Changeset: 2f426cd6 Author: Jaikiran Pai Date: 2022-12-08 11:02:21 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2f426cd68b28c8bf50b7102f961b15fd47b63b6a 8298375: Bad copyright header in test/jdk/java/lang/Character/Supplementary.java Reviewed-by: alanb ! test/jdk/java/lang/Character/Supplementary.java Changeset: 49b86224 Author: Christian Hagedorn Date: 2022-12-08 11:23:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/49b86224aacc7fd8b4d3354a85d72ef636a18a12 8290850: C2: create_new_if_for_predicate() does not clone pinned phi input nodes resulting in a broken graph Reviewed-by: thartmann, kvn ! src/hotspot/share/opto/loopPredicate.cpp ! src/hotspot/share/opto/loopnode.hpp + test/hotspot/jtreg/compiler/loopopts/TestCreateNewIfForPredicateCloning.java Changeset: 94575d14 Author: Christian Hagedorn Date: 2022-12-08 12:00:01 +0000 URL: https://git.openjdk.org/panama-foreign/commit/94575d14f47e2dfb11b671bce26b69270b6bb3c8 8295116: C2: assert(dead->outcnt() == 0 && !dead->is_top()) failed: node must be dead Reviewed-by: thartmann, rcastanedalo ! src/hotspot/share/opto/ifnode.cpp Changeset: 9353899b Author: Erik Gahlin Date: 2022-12-08 12:02:13 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9353899bc5564827826ed94c0530497ff828e01b 8298175: JFR: Common timestamp for periodic events Reviewed-by: dholmes, mgronlun ! make/src/classes/build/tools/jfr/GenerateJfrFiles.java ! src/hotspot/share/jfr/jni/jfrJniMethod.cpp ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/hotspot/share/utilities/ticks.hpp ! src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java ! src/jdk.jfr/share/classes/jdk/jfr/internal/RequestEngine.java Changeset: d8ef60b4 Author: Tobias Hartmann Date: 2022-12-08 12:06:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d8ef60b406a9e8fe6cc6b7be0b74e45de38604c5 8298272: Clean up ProblemList Reviewed-by: chagedorn, kvn ! test/hotspot/jtreg/ProblemList.txt Changeset: fbe7b007 Author: Kevin Walls Date: 2022-12-08 12:10:26 +0000 URL: https://git.openjdk.org/panama-foreign/commit/fbe7b007383b034589e93d398706bebeb24461ee 8298173: GarbageCollectionNotificationContentTest test failed: no decrease in Eden usage Reviewed-by: dcubed, cjplummer, sspitsyn ! test/jdk/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java Changeset: 165dcdd2 Author: Johan Sj?len Date: 2022-12-08 12:32:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/165dcdd27de16824478ac9ebdfbd7b00fffe51e6 8297718: Make NMT free:ing protocol more granular Reviewed-by: stuefe, gziemski ! src/hotspot/share/runtime/os.cpp ! src/hotspot/share/services/mallocHeader.hpp ! src/hotspot/share/services/mallocHeader.inline.hpp ! src/hotspot/share/services/mallocTracker.cpp ! src/hotspot/share/services/mallocTracker.hpp ! src/hotspot/share/services/memTracker.hpp ! test/hotspot/gtest/nmt/test_nmt_cornercases.cpp Changeset: ea108f50 Author: Markus Gr?nlund Date: 2022-12-08 12:51:46 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ea108f504ccb63fc9651e804e3bbba1c108dcead 8298129: Let checkpoint event sizes grow beyond u4 limit Reviewed-by: egahlin ! src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointManager.cpp ! src/hotspot/share/jfr/writers/jfrEncoders.hpp ! src/hotspot/share/jfr/writers/jfrEncoding.hpp ! src/hotspot/share/jfr/writers/jfrWriterHost.hpp ! src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp ! src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/ChunkParser.java Changeset: c084431f Author: Markus Gr?nlund Date: 2022-12-08 14:37:18 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c084431fae8c9f9b5a157cdaca484f63cbd6691a 8298379: JFR: Some UNTIMED events only sets endTime Reviewed-by: ehelin, egahlin ! src/hotspot/share/gc/shared/gcTraceSend.cpp ! src/hotspot/share/gc/shared/objectCountEventSender.cpp ! src/hotspot/share/jfr/periodic/jfrFinalizerStatisticsEvent.cpp ! src/hotspot/share/jfr/periodic/jfrModuleEvent.cpp ! src/hotspot/share/jfr/periodic/jfrOSInterface.cpp ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! src/hotspot/share/jfr/periodic/jfrThreadCPULoadEvent.cpp Changeset: e555d547 Author: Erik Gahlin Date: 2022-12-08 14:42:04 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e555d5470536b8379179879ec7343e004be95e36 8298383: JFR: GenerateJfrFiles.java lacks copyright header Reviewed-by: mgronlun, erikj ! make/src/classes/build/tools/jfr/GenerateJfrFiles.java Changeset: fc52f21f Author: Matthias Baesken Date: 2022-12-08 15:05:45 +0000 URL: https://git.openjdk.org/panama-foreign/commit/fc52f21f9a30c5c34caa06f8524c8d5bd74f16f7 8298255: JFR provide information about dynamization of number of compiler threads Reviewed-by: stuefe, mgronlun, egahlin ! src/hotspot/share/jfr/metadata/metadata.xml ! src/hotspot/share/jfr/periodic/jfrPeriodic.cpp ! test/jdk/jdk/jfr/event/compiler/TestCompilerConfig.java ! test/jdk/jdk/jfr/event/metadata/TestEventMetadata.java Changeset: d562d3fc Author: Emanuel Peter Date: 2022-12-08 15:29:26 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d562d3fcbe22a0443037c5b447e1a41401275814 8297642: PhaseIdealLoop::only_has_infinite_loops must detect all loops that never lead to termination Reviewed-by: thartmann, roland ! src/hotspot/share/opto/loopnode.cpp + test/hotspot/jtreg/compiler/loopopts/TestOnlyInfiniteLoops.jasm + test/hotspot/jtreg/compiler/loopopts/TestOnlyInfiniteLoopsMain.java Changeset: 175e3d3f Author: Joe Darcy Committer: Jesper Wilhelmsson Date: 2022-12-08 16:04:00 +0000 URL: https://git.openjdk.org/panama-foreign/commit/175e3d3ff332be25cca9822c58c46f1e012953c2 8296149: Start of release updates for JDK 21 8296150: Add SourceVersion.RELEASE_21 8296151: Add source 21 and target 21 to javac Reviewed-by: dholmes, iris, erikj, vromero, jlahoda ! .jcheck/conf ! make/conf/version-numbers.conf ! src/hotspot/share/classfile/classFileParser.cpp ! src/java.base/share/classes/java/lang/reflect/ClassFileFormatVersion.java ! src/java.base/share/classes/jdk/internal/org/objectweb/asm/ClassReader.java ! src/java.base/share/classes/jdk/internal/org/objectweb/asm/Opcodes.java ! src/java.compiler/share/classes/javax/lang/model/SourceVersion.java ! src/java.compiler/share/classes/javax/lang/model/util/AbstractAnnotationValueVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/AbstractElementVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/AbstractTypeVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/ElementKindVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/ElementScanner14.java ! src/java.compiler/share/classes/javax/lang/model/util/SimpleAnnotationValueVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/SimpleElementVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/SimpleTypeVisitor14.java ! src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor14.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassFile.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Target.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java + src/jdk.compiler/share/data/symbols/java.base-K.sym.txt + src/jdk.compiler/share/data/symbols/java.compiler-K.sym.txt = src/jdk.compiler/share/data/symbols/java.datatransfer-K.sym.txt + src/jdk.compiler/share/data/symbols/java.desktop-K.sym.txt = src/jdk.compiler/share/data/symbols/java.instrument-K.sym.txt = src/jdk.compiler/share/data/symbols/java.logging-K.sym.txt + src/jdk.compiler/share/data/symbols/java.management-K.sym.txt = src/jdk.compiler/share/data/symbols/java.management.rmi-K.sym.txt + src/jdk.compiler/share/data/symbols/java.naming-K.sym.txt = src/jdk.compiler/share/data/symbols/java.rmi-K.sym.txt = src/jdk.compiler/share/data/symbols/java.scripting-K.sym.txt = src/jdk.compiler/share/data/symbols/java.security.jgss-K.sym.txt = src/jdk.compiler/share/data/symbols/java.security.sasl-K.sym.txt = src/jdk.compiler/share/data/symbols/java.smartcardio-K.sym.txt = src/jdk.compiler/share/data/symbols/java.sql-K.sym.txt + src/jdk.compiler/share/data/symbols/java.sql.rowset-K.sym.txt = src/jdk.compiler/share/data/symbols/java.xml-K.sym.txt = src/jdk.compiler/share/data/symbols/java.xml.crypto-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.accessibility-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.attach-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.compiler-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.dynalink-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.httpserver-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.incubator.concurrent-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.incubator.vector-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jartool-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.javadoc-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.jconsole-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jdi-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jfr-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jlink-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jpackage-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.jshell-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.jsobject-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.management-K.sym.txt + src/jdk.compiler/share/data/symbols/jdk.net-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.sctp-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.security.auth-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.security.jgss-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.unsupported-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.xml.dom-K.sym.txt ! src/jdk.compiler/share/data/symbols/symbols ! test/hotspot/jtreg/runtime/ClassFile/ClassFileVersionTest.java ! test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java ! test/langtools/tools/javac/api/TestGetSourceVersions.java ! test/langtools/tools/javac/classfiles/ClassVersionChecker.java ! test/langtools/tools/javac/lib/JavacTestingAbstractProcessor.java ! test/langtools/tools/javac/preview/classReaderTest/Client.nopreview.out ! test/langtools/tools/javac/preview/classReaderTest/Client.preview.out ! test/langtools/tools/javac/versions/Versions.java Changeset: d35e8400 Author: Alan Bateman Date: 2022-12-08 18:17:58 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d35e840024b80f9f686fb5522dc03b2c9233a6d3 8297295: Remove ThreadGroup.allowThreadSuspension Reviewed-by: jpai, smarks, chegar, darcy ! src/java.base/share/classes/java/lang/ThreadGroup.java ! test/jdk/java/lang/ThreadGroup/BasicTests.java Changeset: 3dfadeeb Author: Quan Anh Mai Date: 2022-12-08 20:25:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3dfadeebd023efb03a400f2b2656567a4154421a 8292289: [vectorapi] Improve the implementation of VectorTestNode Reviewed-by: xgong, kvn ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/aarch64/matcher_aarch64.hpp ! src/hotspot/cpu/arm/matcher_arm.hpp ! src/hotspot/cpu/ppc/matcher_ppc.hpp ! src/hotspot/cpu/riscv/matcher_riscv.hpp ! src/hotspot/cpu/s390/matcher_s390.hpp ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/cpu/x86/assembler_x86.hpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.hpp ! src/hotspot/cpu/x86/macroAssembler_x86.cpp ! src/hotspot/cpu/x86/macroAssembler_x86.hpp ! src/hotspot/cpu/x86/matcher_x86.hpp ! src/hotspot/cpu/x86/x86.ad ! src/hotspot/share/opto/matcher.hpp ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/opto/vectorIntrinsics.cpp ! src/hotspot/share/opto/vectornode.hpp ! src/hotspot/share/runtime/vmStructs.cpp ! test/hotspot/jtreg/compiler/lib/ir_framework/IRNode.java + test/hotspot/jtreg/compiler/vectorapi/TestVectorTest.java Changeset: c16eb89c Author: Y. Srinivas Ramakrishna Date: 2022-12-08 21:54:16 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c16eb89ce0d59f2ff83b6db0bee3e384ec8d5efe 8298138: Shenandoah: HdrSeq asserts "sub-bucket index (512) overflow for value ( 1.00)" Reviewed-by: rkennke, shade ! src/hotspot/share/gc/shenandoah/shenandoahNumberSeq.cpp ! src/hotspot/share/gc/shenandoah/shenandoahNumberSeq.hpp + test/hotspot/gtest/gc/shenandoah/test_shenandoahNumberSeq.cpp Changeset: 5540a8c5 Author: Sergey Bylokhov Date: 2022-12-08 23:28:48 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5540a8c5b7160ab5c67bb84631e3de54fa5aeceb 8298083: The "CheckBox/RadioButton[Enabled/Disabled].textForeground" stoped working Reviewed-by: psadhukhan ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java ! src/java.desktop/share/classes/javax/swing/plaf/synth/SynthStyle.java ! test/jdk/ProblemList.txt ! test/jdk/javax/swing/JRadioButton/4314194/bug4314194.java Changeset: 7f9c6ce3 Author: Joe Darcy Date: 2022-12-09 00:29:08 +0000 URL: https://git.openjdk.org/panama-foreign/commit/7f9c6ce3318aedfd85f12f4002dc442b0b468c27 8297679: InvocationTargetException field named target is not declared final Reviewed-by: alanb ! src/java.base/share/classes/java/lang/reflect/InvocationTargetException.java Changeset: 11aece21 Author: Emanuel Peter Date: 2022-12-09 07:11:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/11aece21f4eb5b18af357b265bc27b80bcdbfbcb 8257197: Add additional verification code to PhaseCCP Reviewed-by: chagedorn, kvn, thartmann ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/phaseX.hpp Changeset: cb766c55 Author: Per Minborg Committer: Daniel Fuchs Date: 2022-12-09 09:46:50 +0000 URL: https://git.openjdk.org/panama-foreign/commit/cb766c553557b718683d492280beba772d81bb5b 8297778: Modernize and improve module jdk.sctp Reviewed-by: dfuchs, stsypanov ! src/jdk.sctp/share/classes/com/sun/nio/sctp/HandlerResult.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/IllegalReceiveException.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/IllegalUnbindException.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/InvalidStreamException.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpStandardSocketOptions.java ! src/jdk.sctp/share/classes/com/sun/nio/sctp/SendFailedNotification.java ! src/jdk.sctp/share/classes/sun/nio/ch/sctp/MessageInfoImpl.java ! src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpStdSocketOption.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/AssociationChange.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/AssociationImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/PeerAddrChange.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/ResultContainer.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpNet.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpNotification.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/SendFailed.java ! src/jdk.sctp/unix/classes/sun/nio/ch/sctp/Shutdown.java Changeset: 8cefa3d2 Author: duke Date: 2022-12-09 11:00:35 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8cefa3d23ec1e964c129c2ec75a45b324fb74595 Automatic merge of jdk:master into master ! .jcheck/conf ! .jcheck/conf From duke at openjdk.org Fri Dec 9 15:11:46 2022 From: duke at openjdk.org (J. Duke) Date: Fri, 9 Dec 2022 15:11:46 GMT Subject: [foreign-memaccess+abi] RFR: Merge master [v2] In-Reply-To: References: Message-ID: > Hi all, > > this is an _automatically_ generated pull request to notify you that there are 136 commits from the branch `master`that can **not** be merged into the branch `foreign-memaccess+abi`: > > Over 180 files contains merge conflicts. > > All Committers in this [project](https://openjdk.org/census#panama) have access to my [personal fork](https://github.com/openjdk-bot/panama-foreign) and can therefore help resolve these merge conflicts (you may want to coordinate who should do this). > The following paragraphs will give an example on how to solve these merge conflicts and push the resulting merge commit to this pull request. > The below commands should be run in a local clone of your [personal fork](https://wiki.openjdk.org/display/skara#Skara-Personalforks) of the [openjdk/panama-foreign](https://github.com/openjdk/panama-foreign) repository. > > > # Ensure target branch is up to date > $ git checkout foreign-memaccess+abi > $ git pull https://github.com/openjdk/panama-foreign.git foreign-memaccess+abi > > # Fetch and checkout the branch for this pull request > $ git fetch https://github.com/openjdk-bot/panama-foreign.git +130:openjdk-bot-130 > $ git checkout openjdk-bot-130 > > # Merge the target branch > $ git merge foreign-memaccess+abi > > > When you have resolved the conflicts resulting from the `git merge` command above, run the following commands to create a merge commit: > > > $ git add paths/to/files/with/conflicts > $ git commit -m 'Merge master' > > > > When you have created the merge commit, run the following command to push the merge commit to this pull request: > > > $ git push https://github.com/openjdk-bot/panama-foreign.git openjdk-bot-130:130 > > > _Note_: if you are using SSH to push commits to GitHub, then change the URL in the above `git push` command accordingly. > > Thanks, > J. Duke J. Duke has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 137 commits: - Merge master - Automatic merge of jdk:master into master - 8297778: Modernize and improve module jdk.sctp Reviewed-by: dfuchs, stsypanov - 8257197: Add additional verification code to PhaseCCP Reviewed-by: chagedorn, kvn, thartmann - 8297679: InvocationTargetException field named target is not declared final Reviewed-by: alanb - 8298083: The "CheckBox/RadioButton[Enabled/Disabled].textForeground" stoped working Reviewed-by: psadhukhan - 8298138: Shenandoah: HdrSeq asserts "sub-bucket index (512) overflow for value ( 1.00)" Reviewed-by: rkennke, shade - 8292289: [vectorapi] Improve the implementation of VectorTestNode Reviewed-by: xgong, kvn - 8297295: Remove ThreadGroup.allowThreadSuspension Reviewed-by: jpai, smarks, chegar, darcy - 8296149: Start of release updates for JDK 21 8296150: Add SourceVersion.RELEASE_21 8296151: Add source 21 and target 21 to javac Reviewed-by: dholmes, iris, erikj, vromero, jlahoda - ... and 127 more: https://git.openjdk.org/panama-foreign/compare/d379ca1c...3ca4ba74 ------------- Changes: https://git.openjdk.org/panama-foreign/pull/757/files Webrev: https://webrevs.openjdk.org/?repo=panama-foreign&pr=757&range=01 Stats: 27804 lines in 921 files changed: 18181 ins; 5845 del; 3778 mod Patch: https://git.openjdk.org/panama-foreign/pull/757.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/757/head:pull/757 PR: https://git.openjdk.org/panama-foreign/pull/757 From duke at openjdk.org Fri Dec 9 15:26:41 2022 From: duke at openjdk.org (J. Duke) Date: Fri, 9 Dec 2022 15:26:41 GMT Subject: [foreign-memaccess+abi] Integrated: Merge master In-Reply-To: References: Message-ID: On Fri, 9 Dec 2022 11:01:01 GMT, J. Duke wrote: > Hi all, > > this is an _automatically_ generated pull request to notify you that there are 136 commits from the branch `master`that can **not** be merged into the branch `foreign-memaccess+abi`: > > Over 180 files contains merge conflicts. > > All Committers in this [project](https://openjdk.org/census#panama) have access to my [personal fork](https://github.com/openjdk-bot/panama-foreign) and can therefore help resolve these merge conflicts (you may want to coordinate who should do this). > The following paragraphs will give an example on how to solve these merge conflicts and push the resulting merge commit to this pull request. > The below commands should be run in a local clone of your [personal fork](https://wiki.openjdk.org/display/skara#Skara-Personalforks) of the [openjdk/panama-foreign](https://github.com/openjdk/panama-foreign) repository. > > > # Ensure target branch is up to date > $ git checkout foreign-memaccess+abi > $ git pull https://github.com/openjdk/panama-foreign.git foreign-memaccess+abi > > # Fetch and checkout the branch for this pull request > $ git fetch https://github.com/openjdk-bot/panama-foreign.git +130:openjdk-bot-130 > $ git checkout openjdk-bot-130 > > # Merge the target branch > $ git merge foreign-memaccess+abi > > > When you have resolved the conflicts resulting from the `git merge` command above, run the following commands to create a merge commit: > > > $ git add paths/to/files/with/conflicts > $ git commit -m 'Merge master' > > > > When you have created the merge commit, run the following command to push the merge commit to this pull request: > > > $ git push https://github.com/openjdk-bot/panama-foreign.git openjdk-bot-130:130 > > > _Note_: if you are using SSH to push commits to GitHub, then change the URL in the above `git push` command accordingly. > > Thanks, > J. Duke This pull request has now been integrated. Changeset: 59fd4863 Author: J. Duke Committer: Jorn Vernee URL: https://git.openjdk.org/panama-foreign/commit/59fd48632f59944c7ebd517e066cfa0cd29b16d5 Stats: 27804 lines in 921 files changed: 18181 ins; 5845 del; 3778 mod Merge master ------------- PR: https://git.openjdk.org/panama-foreign/pull/757 From mcimadamore at openjdk.org Fri Dec 9 17:38:04 2022 From: mcimadamore at openjdk.org (Maurizio Cimadamore) Date: Fri, 9 Dec 2022 17:38:04 GMT Subject: [foreign-memaccess+abi] RFR: Update foreign memory doc Message-ID: This patch updates the foreign memory document to reflect the latest API changes in Java 20. I've streamlined the document, removed some obsolete sections (as well as sections that didn't seem to add much), and re-ordered the various sections so that the narrative is now easier to follow. ------------- Commit messages: - Fix bad footnote link - Update FFM API foreign memory doc Changes: https://git.openjdk.org/panama-foreign/pull/758/files Webrev: https://webrevs.openjdk.org/?repo=panama-foreign&pr=758&range=00 Stats: 221 lines in 1 file changed: 57 ins; 134 del; 30 mod Patch: https://git.openjdk.org/panama-foreign/pull/758.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/758/head:pull/758 PR: https://git.openjdk.org/panama-foreign/pull/758 From chegar999 at gmail.com Mon Dec 12 14:33:40 2022 From: chegar999 at gmail.com (Chris Hegarty) Date: Mon, 12 Dec 2022 14:33:40 +0000 Subject: Vector API and dot product Message-ID: Hi, I'm sure that this must have come up before, but I cannot find it so I'm asking here. Over in Elasticsearch and Lucene we've been experimenting a little with the incubating Vector API, for use-cases relating to Approximate Nearest Neighbour vector search. We see approx 4x performance improvement in some experiments - which is amazing. Thank you. By far, our most significant use-case is dot product of two k dimensional vectors - float/double arrays. The Vector API is low-level and incredibly flexible, and will be a great addition to the Platform when it eventually moves out of incubation. But, since dot product is an extremely common operation it could be helpful to provide a "convenience" for it out-of-the-box, say Math.dot(float[], float[]) [*], etc. Ultimately, I believe that the Vector API is the right approach to supporting the rich set of linear algebra and machine learning algorithms, but there could be a sweet-spot for supporting a minimal set of extremely common functions too. I am explicitly not proposing that the JDK should become a linear algebra library! ;-) Additionally, `Math::dot` could be added to the platform now, no need to wait, or preview or incubate. The implementation could use already existing internal primitives (without an dependency on Vector API), and eventually become a "simple convenience", when the Vector API is finalized. I believe that this approach remains largely inline with the goals of the project (as I understand them), but just reframes the potential to deliver small improvements in this area incrementally. Yes, but whose goina do the work? If the idea is positively received, then I am happy to drive this non-trivial contribution. -Chris. [*] or some other location where it can be easily found and imported From adam.pocock at oracle.com Mon Dec 12 15:43:09 2022 From: adam.pocock at oracle.com (Adam Pocock) Date: Mon, 12 Dec 2022 15:43:09 +0000 Subject: Vector API and dot product In-Reply-To: References: Message-ID: I agree that this kind of primitive would be useful, but I?m unsure how it would be specified especially if it?s in java.lang.Math. There are a few different ways we could implement such a dot product (e.g. is fma the building block or mul + add as separate operations, and the order of accumulation/reduction), and I?ve already been bitten by methods in java.lang.Math producing slightly different outputs on different platforms resulting in different ML computations. I worry that specifying the dot product to the same level as java.lang.Math would prevent future optimizations, but also if it?s not specified that much then I?ll get different answers on different JVMs which also seems problematic (and those answers would be more different than any of the current methods in java.lang.Math, as differences would accumulate as a function of array length). For the ANN use case as you?ve already given up on the exact nature of the solution I guess it doesn?t matter so much, but it may be unexpected if a platform with a 256 bit vector width returned slightly different search results to one with a 512 bit vector width, or if a Vector API equipped version produced a different answer to a version without that. Thanks, Adam -- Adam Pocock Principal Member of Technical Staff Machine Learning Research Group Oracle Labs, Burlington, MA > On 12 Dec 2022, at 09:33, Chris Hegarty wrote: > > Hi, > > I'm sure that this must have come up before, but I cannot find it so I'm asking here. > > Over in Elasticsearch and Lucene we've been experimenting a little with the incubating Vector API, for use-cases relating to Approximate Nearest Neighbour vector search. We see approx 4x performance improvement in some experiments - which is amazing. Thank you. By far, our most significant use-case is dot product of two k dimensional vectors - float/double arrays. > > The Vector API is low-level and incredibly flexible, and will be a great addition to the Platform when it eventually moves out of incubation. But, since dot product is an extremely common operation it could be helpful to provide a "convenience" for it out-of-the-box, say Math.dot(float[], float[]) [*], etc. > > Ultimately, I believe that the Vector API is the right approach to supporting the rich set of linear algebra and machine learning algorithms, but there could be a sweet-spot for supporting a minimal set of extremely common functions too. I am explicitly not proposing that the JDK should become a linear algebra library! ;-) > > Additionally, `Math::dot` could be added to the platform now, no need to wait, or preview or incubate. The implementation could use already existing internal primitives (without an dependency on Vector API), and eventually become a "simple convenience", when the Vector API is finalized. > > I believe that this approach remains largely inline with the goals of the project (as I understand them), but just reframes the potential to deliver small improvements in this area incrementally. > > Yes, but whose goina do the work? If the idea is positively received, then I am happy to drive this non-trivial contribution. > > -Chris. > > [*] or some other location where it can be easily found and imported From chegar999 at gmail.com Mon Dec 12 16:27:44 2022 From: chegar999 at gmail.com (Chris Hegarty) Date: Mon, 12 Dec 2022 16:27:44 +0000 Subject: Vector API and dot product In-Reply-To: References: Message-ID: <24c29692-2772-1632-fe74-91be0d41d208@gmail.com> Hi Adam, Thanks for your reply Adam. Comments inline... On 12/12/2022 15:43, Adam Pocock wrote: > I agree that this kind of primitive would be useful, Great to hear that you would also find it useful. > but I?m unsure how it would be specified especially if it?s in java.lang.Math. I already regret making that concrete suggestion. ;-) Let's not get hung up on the possible location. I'm sure we can find somewhere more appropriate, if needed. Your point regarding accumulation ordering and slight variations in results is spot on. > There are a few different ways we could implement such a dot product (e.g. is fma the building block or mul + add as separate operations, and the order of accumulation/reduction), and I?ve already been bitten by methods in java.lang.Math producing slightly different outputs on different platforms resulting in different ML computations. I worry that specifying the dot product to the same level as java.lang.Math would prevent future optimizations, but also if it?s not specified that much then I?ll get different answers on different JVMs which also seems problematic (and those answers would be more different than any of the current methods in java.lang.Math, as differences would accumulate as a function of array length). My intuition is that the spec should not constrain potential optimizations resulting from accumulation order. And this should be explicit and clear. I'm sure we can find appropriate specification wording for this, and that it would not affect the usefulness of the method. > For the ANN use case as you?ve already given up on the exact nature of the solution I guess it doesn?t matter so much, but it may be unexpected if a platform with a 256 bit vector width returned slightly different search results to one with a 512 bit vector width, or if a Vector API equipped version produced a different answer to a version without that. Yes, for ANN the exact result is less important. Again, my intuition here is that this should be explicit in the API, and should follow precedent already set in the platform, e.g. DoubleStream::sum [1], and DoubleAdder::sum [2]. -Chris. > Thanks, > > Adam [1] https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/util/stream/DoubleStream.html#sum() [2] https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/util/concurrent/atomic/DoubleAdder.html#sum() > -- > Adam Pocock > Principal Member of Technical Staff > Machine Learning Research Group > Oracle Labs, Burlington, MA > >> On 12 Dec 2022, at 09:33, Chris Hegarty wrote: >> >> Hi, >> >> I'm sure that this must have come up before, but I cannot find it so I'm asking here. >> >> Over in Elasticsearch and Lucene we've been experimenting a little with the incubating Vector API, for use-cases relating to Approximate Nearest Neighbour vector search. We see approx 4x performance improvement in some experiments - which is amazing. Thank you. By far, our most significant use-case is dot product of two k dimensional vectors - float/double arrays. >> >> The Vector API is low-level and incredibly flexible, and will be a great addition to the Platform when it eventually moves out of incubation. But, since dot product is an extremely common operation it could be helpful to provide a "convenience" for it out-of-the-box, say Math.dot(float[], float[]) [*], etc. >> >> Ultimately, I believe that the Vector API is the right approach to supporting the rich set of linear algebra and machine learning algorithms, but there could be a sweet-spot for supporting a minimal set of extremely common functions too. I am explicitly not proposing that the JDK should become a linear algebra library! ;-) >> >> Additionally, `Math::dot` could be added to the platform now, no need to wait, or preview or incubate. The implementation could use already existing internal primitives (without an dependency on Vector API), and eventually become a "simple convenience", when the Vector API is finalized. >> >> I believe that this approach remains largely inline with the goals of the project (as I understand them), but just reframes the potential to deliver small improvements in this area incrementally. >> >> Yes, but whose goina do the work? If the idea is positively received, then I am happy to drive this non-trivial contribution. >> >> -Chris. >> >> [*] or some other location where it can be easily found and imported > From pminborg at openjdk.org Tue Dec 13 11:31:29 2022 From: pminborg at openjdk.org (Per Minborg) Date: Tue, 13 Dec 2022 11:31:29 GMT Subject: [foreign-memaccess+abi] RFR: 8298532: Declare private constructors for FFM internal Architecture implementations Message-ID: This PR proposes declaring AArch64Architecture and X86_64Architecture final and creating a private constructor so that this redundant byte code can be eliminated: public jdk.internal.foreign.abi.x64.X86_64Architecture(); Code: 0: aload_0 1: invokespecial #1 // Method java/lang/Object."":()V 4: return public jdk.internal.foreign.abi.aarch64.AArch64Architectur(); Code: 0: aload_0 1: invokespecial #1 // Method java/lang/Object."":()V 4: return and other potential optimizations can be unlocked. ------------- Commit messages: - Update src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/AArch64Architecture.java - Declare private constructors Changes: https://git.openjdk.org/panama-foreign/pull/760/files Webrev: https://webrevs.openjdk.org/?repo=panama-foreign&pr=760&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8298532 Stats: 8 lines in 2 files changed: 6 ins; 0 del; 2 mod Patch: https://git.openjdk.org/panama-foreign/pull/760.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/760/head:pull/760 PR: https://git.openjdk.org/panama-foreign/pull/760 From jvernee at openjdk.org Tue Dec 13 11:31:30 2022 From: jvernee at openjdk.org (Jorn Vernee) Date: Tue, 13 Dec 2022 11:31:30 GMT Subject: [foreign-memaccess+abi] RFR: 8298532: Declare private constructors for FFM internal Architecture implementations In-Reply-To: References: Message-ID: <7baHl8VbNuvVDRQr5VWsjxC4IH8mHwC1ZHgj4x7DWpg=.61219566-9b9b-463b-b8d5-4152ca22ea66@github.com> On Tue, 13 Dec 2022 11:24:21 GMT, Per Minborg wrote: > This PR proposes declaring AArch64Architecture and X86_64Architecture final and creating a private constructor so that this redundant byte code can be eliminated: > > > public jdk.internal.foreign.abi.x64.X86_64Architecture(); > Code: > 0: aload_0 > 1: invokespecial #1 // Method java/lang/Object."":()V > 4: return > > public jdk.internal.foreign.abi.aarch64.AArch64Architectur(); > Code: > 0: aload_0 > 1: invokespecial #1 // Method java/lang/Object."":()V > 4: return > > > and other potential optimizations can be unlocked. Marked as reviewed by jvernee (Committer). src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/AArch64Architecture.java line 43: > 41: > 42: // Suppresses default constructor, ensuring non-instantiability. > 43: public AArch64Architecture() {} Suggestion: private AArch64Architecture() {} ------------- PR: https://git.openjdk.org/panama-foreign/pull/760 From pminborg at openjdk.org Tue Dec 13 11:33:42 2022 From: pminborg at openjdk.org (Per Minborg) Date: Tue, 13 Dec 2022 11:33:42 GMT Subject: [foreign-memaccess+abi] Integrated: 8298532: Declare private constructors for FFM internal Architecture implementations In-Reply-To: References: Message-ID: On Tue, 13 Dec 2022 11:24:21 GMT, Per Minborg wrote: > This PR proposes declaring AArch64Architecture and X86_64Architecture final and creating a private constructor so that this redundant byte code can be eliminated: > > > public jdk.internal.foreign.abi.x64.X86_64Architecture(); > Code: > 0: aload_0 > 1: invokespecial #1 // Method java/lang/Object."":()V > 4: return > > public jdk.internal.foreign.abi.aarch64.AArch64Architectur(); > Code: > 0: aload_0 > 1: invokespecial #1 // Method java/lang/Object."":()V > 4: return > > > and other potential optimizations can be unlocked. This pull request has now been integrated. Changeset: 7f33d1c7 Author: Per Minborg URL: https://git.openjdk.org/panama-foreign/commit/7f33d1c700a1407cfe4c09d6cac3caf943343cae Stats: 8 lines in 2 files changed: 6 ins; 0 del; 2 mod 8298532: Declare private constructors for FFM internal Architecture implementations Reviewed-by: jvernee ------------- PR: https://git.openjdk.org/panama-foreign/pull/760 From mcimadamore at openjdk.org Tue Dec 13 12:12:39 2022 From: mcimadamore at openjdk.org (Maurizio Cimadamore) Date: Tue, 13 Dec 2022 12:12:39 GMT Subject: [foreign-memaccess+abi] RFR: 8298532: Declare private constructors for FFM internal Architecture implementations In-Reply-To: References: Message-ID: <5D6YtVmGKwWP4-WXRe0GeaQBI8Ly3pPbrzXzyUFJs3Y=.361bfc8b-ea09-4484-b6a3-02652d39189c@github.com> On Tue, 13 Dec 2022 11:24:21 GMT, Per Minborg wrote: > This PR proposes declaring AArch64Architecture and X86_64Architecture final and creating a private constructor so that this redundant byte code can be eliminated: > > > public jdk.internal.foreign.abi.x64.X86_64Architecture(); > Code: > 0: aload_0 > 1: invokespecial #1 // Method java/lang/Object."":()V > 4: return > > public jdk.internal.foreign.abi.aarch64.AArch64Architectur(); > Code: > 0: aload_0 > 1: invokespecial #1 // Method java/lang/Object."":()V > 4: return > > > and other potential optimizations can be unlocked. Just a quick clarification: this change does not alter the shape of the bytecode. That is, a constructor is still emitted by javac (with the corresponding supercall to `Object::`). The only difference is that the constructor is now `private`, so it doesn't show up with a simple `javap` or even with `javap -v`, because `javap` filters out non-public members by default. To show all members, `javap -p -v` should be used instead, which would then reveal the private constructor. That said, this change makes the nature of the class (as a bag of statics) more explicit, so I still support it. ------------- PR: https://git.openjdk.org/panama-foreign/pull/760 From mcimadamore at openjdk.org Tue Dec 13 15:17:02 2022 From: mcimadamore at openjdk.org (Maurizio Cimadamore) Date: Tue, 13 Dec 2022 15:17:02 GMT Subject: [foreign-memaccess+abi] RFR: Update foreign linker doc Message-ID: This patch refreshes the document describing the Foreign Linker API. The biggest change is at the beginning, as we have to deal with the concept of zero-length memory segments (we had a section on memory addresses here). Other than that, it's mostly cosmetic changes to rename `MemorySession` to `Arena`. ------------- Commit messages: - Fix more whitespaces - Fix whitespaces - Update foreign linker doc Changes: https://git.openjdk.org/panama-foreign/pull/759/files Webrev: https://webrevs.openjdk.org/?repo=panama-foreign&pr=759&range=00 Stats: 103 lines in 1 file changed: 7 ins; 8 del; 88 mod Patch: https://git.openjdk.org/panama-foreign/pull/759.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/759/head:pull/759 PR: https://git.openjdk.org/panama-foreign/pull/759 From jvernee at openjdk.org Tue Dec 13 15:17:03 2022 From: jvernee at openjdk.org (Jorn Vernee) Date: Tue, 13 Dec 2022 15:17:03 GMT Subject: [foreign-memaccess+abi] RFR: Update foreign linker doc In-Reply-To: References: Message-ID: On Fri, 9 Dec 2022 18:24:17 GMT, Maurizio Cimadamore wrote: > This patch refreshes the document describing the Foreign Linker API. > > The biggest change is at the beginning, as we have to deal with the concept of zero-length memory segments (we had a section on memory addresses here). > > Other than that, it's mostly cosmetic changes to rename `MemorySession` to `Arena`. Marked as reviewed by jvernee (Committer). doc/panama_ffi.md line 68: > 66: In the above code, the arena acts as a *native* allocator (that is, an allocator built on top of `MemorySegment::allocateNative`). The arena is then used to create a native array, initialized to the values `0, 1, 2, 3, 4`. The array initialization is more efficient, compared to the previous snippet, as the Java array is copied *in bulk* into the memory region associated with the newly allocated memory segment. The returned segment is associated with the scope of the arena which performed the allocation, meaning that the segment will no longer be accessible after the try-with-resource construct. > 67: > 68: Custom segment allocators are also critical to achieve optimal allocation performance; for this reason, a number of predefined allocators are available via factories in the `SegmentAllocator` interface. or example, the following code creates a *slicing* allocator and uses it to allocate a segment whose content is initialized from a Java `int` array: Suggestion: Custom segment allocators are also critical to achieve optimal allocation performance; for this reason, a number of predefined allocators are available via factories in the `SegmentAllocator` interface. For example, the following code creates a *slicing* allocator and uses it to allocate a segment whose content is initialized from a Java `int` array: doc/panama_ffi.md line 137: > 135: Both C structs/unions and pointers are modelled using the `MemorySegment` carrier type. However, C structs/unions are modelled in function descriptors with memory layouts of type `GroupLayout`, whereas pointers are modelled using the `ADDRESS` value layout constant (whose size is platform-specific). Moreover, the behavior of a downcall method handle returning a struct/union type is radically different from that of a downcall method handle returning a C pointer: > 136: > 137: * donwcall method handles returning C pointers will wrap the pointer address into a fresh zero-length memory segment (unless an unbounded address layout is specified); Suggestion: * downcall method handles returning C pointers will wrap the pointer address into a fresh zero-length memory segment (unless an unbounded address layout is specified); ------------- PR: https://git.openjdk.org/panama-foreign/pull/759 From mcimadamore at openjdk.org Tue Dec 13 15:27:47 2022 From: mcimadamore at openjdk.org (Maurizio Cimadamore) Date: Tue, 13 Dec 2022 15:27:47 GMT Subject: [foreign-memaccess+abi] RFR: Update foreign linker doc [v2] In-Reply-To: References: Message-ID: <_yhCqvg5QT4wFh3mtonnuyA0fLd52Tn8x3WTCASEvb4=.eb12da4c-91cf-480e-b5a1-c40a2175d680@github.com> > This patch refreshes the document describing the Foreign Linker API. > > The biggest change is at the beginning, as we have to deal with the concept of zero-length memory segments (we had a section on memory addresses here). > > Other than that, it's mostly cosmetic changes to rename `MemorySession` to `Arena`. Maurizio Cimadamore has updated the pull request incrementally with two additional commits since the last revision: - Update doc/panama_ffi.md Co-authored-by: Jorn Vernee - Update doc/panama_ffi.md Co-authored-by: Jorn Vernee ------------- Changes: - all: https://git.openjdk.org/panama-foreign/pull/759/files - new: https://git.openjdk.org/panama-foreign/pull/759/files/91d38893..dd4bfb80 Webrevs: - full: https://webrevs.openjdk.org/?repo=panama-foreign&pr=759&range=01 - incr: https://webrevs.openjdk.org/?repo=panama-foreign&pr=759&range=00-01 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/panama-foreign/pull/759.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/759/head:pull/759 PR: https://git.openjdk.org/panama-foreign/pull/759 From mcimadamore at openjdk.org Tue Dec 13 15:30:52 2022 From: mcimadamore at openjdk.org (Maurizio Cimadamore) Date: Tue, 13 Dec 2022 15:30:52 GMT Subject: [foreign-memaccess+abi] RFR: Update foreign linker doc [v3] In-Reply-To: References: Message-ID: > This patch refreshes the document describing the Foreign Linker API. > > The biggest change is at the beginning, as we have to deal with the concept of zero-length memory segments (we had a section on memory addresses here). > > Other than that, it's mostly cosmetic changes to rename `MemorySession` to `Arena`. Maurizio Cimadamore has refreshed the contents of this pull request, and previous commits have been removed. Incremental views are not available. The pull request now contains four commits: - Update doc/panama_ffi.md Co-authored-by: Jorn Vernee - Fix more whitespaces - Fix whitespaces - Update foreign linker doc ------------- Changes: - all: https://git.openjdk.org/panama-foreign/pull/759/files - new: https://git.openjdk.org/panama-foreign/pull/759/files/dd4bfb80..c25a2d5c Webrevs: - full: https://webrevs.openjdk.org/?repo=panama-foreign&pr=759&range=02 - incr: https://webrevs.openjdk.org/?repo=panama-foreign&pr=759&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/panama-foreign/pull/759.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/759/head:pull/759 PR: https://git.openjdk.org/panama-foreign/pull/759 From mcimadamore at openjdk.org Tue Dec 13 16:08:59 2022 From: mcimadamore at openjdk.org (Maurizio Cimadamore) Date: Tue, 13 Dec 2022 16:08:59 GMT Subject: [foreign-memaccess+abi] Integrated: Update foreign linker doc In-Reply-To: References: Message-ID: On Fri, 9 Dec 2022 18:24:17 GMT, Maurizio Cimadamore wrote: > This patch refreshes the document describing the Foreign Linker API. > > The biggest change is at the beginning, as we have to deal with the concept of zero-length memory segments (we had a section on memory addresses here). > > Other than that, it's mostly cosmetic changes to rename `MemorySession` to `Arena`. This pull request has now been integrated. Changeset: 78d460f0 Author: Maurizio Cimadamore URL: https://git.openjdk.org/panama-foreign/commit/78d460f04d93f3df8e8f703e78780a152793f44a Stats: 103 lines in 1 file changed: 7 ins; 8 del; 88 mod Update foreign linker doc Reviewed-by: jvernee ------------- PR: https://git.openjdk.org/panama-foreign/pull/759 From jvernee at openjdk.org Tue Dec 13 18:55:36 2022 From: jvernee at openjdk.org (Jorn Vernee) Date: Tue, 13 Dec 2022 18:55:36 GMT Subject: [foreign-memaccess+abi] RFR: Update foreign memory doc In-Reply-To: References: Message-ID: On Fri, 9 Dec 2022 17:30:21 GMT, Maurizio Cimadamore wrote: > This patch updates the foreign memory document to reflect the latest API changes in Java 20. > > I've streamlined the document, removed some obsolete sections (as well as sections that didn't seem to add much), and re-ordered the various sections so that the narrative is now easier to follow. Marked as reviewed by jvernee (Committer). doc/panama_memaccess.md line 29: > 27: Segments associated with an automatic scope are alive as long as they are determined to be reachable by the garbage collector. In other words, the above snippet creates a native segment whose behavior closely matches that of a `ByteBuffer` allocated with the `allocateDirect` factory. > 28: > 29: There are cases, however, where automatic deallocation is not enough: consider the case where a large memory segment is mapped from a file (this is possible using `MemorySegment::map`); in this case, an application would probably prefer to release (e.g. `unmap`) the memory associated with this segment in a *deterministic* fashion, to ensure that memory doesn't remain available for longer than in needs to. Suggestion: There are cases, however, where automatic deallocation is not enough: consider the case where a large memory segment is mapped from a file (this is possible using `MemorySegment::map`); in this case, an application would probably prefer to release (e.g. `unmap`) the memory associated with this segment in a *deterministic* fashion, to ensure that memory doesn't remain available for longer than it needs to. doc/panama_memaccess.md line 42: > 40: ``` > 41: > 42: When the arena is closed (above, this is done with the *try-with-resources* construct) the arena scope is no longer alive, all the segments associated with it are invalidated, and the regions of memory backing the segments are deallocated atomically. We don't deallocate atomically, but we invalidate atomically. So I think this should be: Suggestion: When the arena is closed (above, this is done with the *try-with-resources* construct) the arena scope is no longer alive, all the segments associated with it are invalidated atomically, and the regions of memory backing the segments are deallocated. doc/panama_memaccess.md line 46: > 44: ### Thread-confinement > 45: > 46: Arenas provide a strong temporal safety guarantee: memory segments associated with an arena scope cannot be accessed after the arena is closed, since the arena scope is no longer alive. If an arena is opened and closed by the same thread, and all memory segments allocated with the arena's scope are accessed only by that thread, then ensuring correctness is straightforward. However, if memory segments allocated with the arena scope are accessed by multiple threads then ensuring correctness is complex. For example, a segment allocated with arena scope might be accessed by one thread while another thread attempts to close the arena. To guarantee temporal safety without making single-threaded clients pay undue cost, there are two kinds of arenas: *confined* and *shared*. Suggestion: Arenas provide a strong temporal safety guarantee: memory segments associated with an arena scope cannot be accessed after the arena is closed, since the arena scope is no longer alive. If an arena is opened and closed by the same thread, and all memory segments allocated with the arena's scope are accessed only by that thread, then ensuring correctness is straightforward. However, if memory segments allocated with the arena scope are accessed by multiple threads then ensuring correctness is complex. For example, a segment allocated with an arena scope might be accessed by one thread while another thread attempts to close the arena. To guarantee temporal safety without making single-threaded clients pay undue cost, there are two kinds of arenas: *confined* and *shared*. doc/panama_memaccess.md line 162: > 160: The above code creates a memory access var handle which reads/writes `int` values at a certain byte offset in a segment. To create this var handle we have to specify a carrier type ? the type we want to use e.g. to extract values from memory, as well as whether any byte swapping should be applied when contents are read from or stored to memory. Additionally, the user might want to impose additional constraints on how memory dereferences should occur; for instance, a client might want to prevent access to misaligned 32 bit values. Of course, all this information can be succinctly derived from the provided value layout (`JAVA_INT` in the above example). > 161: > 162: The attentive reader might have noted how rich the var handles obtains from memory layouts are, compared to the simple memory access var handle we have constructed here. How do we go from a simple access var handle that takes a byte offset to a var handle that can dereference a complex layout path? The answer is, by using var handle *combinators*. Developers familiar with the method handles know how simpler method handles can be combined into more complex ones using the various combinator methods in the `MethodHandles` class. These methods allow, for instance, to insert (or bind) arguments into a target method handle, filter return values, permute arguments and much more. Suggestion: The attentive reader might have noted how rich the var handles obtained from memory layouts are, compared to the simple memory access var handle we have constructed here. How do we go from a simple access var handle that takes a byte offset to a var handle that can dereference a complex layout path? The answer is, by using var handle *combinators*. Developers familiar with the method handles know how simpler method handles can be combined into more complex ones using the various combinator methods in the `MethodHandles` class. These methods allow, for instance, to insert (or bind) arguments into a target method handle, filter return values, permute arguments and much more. doc/panama_memaccess.md line 183: > 181: ### Unsafe segments > 182: > 183: The FFM API provides basic safety guarantees for all memory segments created using the API. More specifically, a memory dereference operation should either succeed, or result in a runtime exception ? but, crucially, should never result in a VM crash, or, more subtly, in memory corruption occurring *outside* the region of memory associated with a memory segment. This is indeed the case, as all memory segments feature immutable *spatial bounds*, and, as we have seen, are associated with a segment scope which make sure that segments cannot be dereferenced after their backing region of memory have been deallocated. Suggestion: The FFM API provides basic safety guarantees for all memory segments created using the API. More specifically, a memory dereference operation should either succeed, or result in a runtime exception ? but, crucially, should never result in a VM crash, or, more subtly, in memory corruption occurring *outside* the region of memory associated with a memory segment. This is indeed the case, as all memory segments feature immutable *spatial bounds*, and, as we have seen, are associated with a segment scope which make sure that segments cannot be dereferenced after their backing regions of memory have been deallocated. doc/panama_memaccess.md line 205: > 203: For these reasons, `MemorySegment::ofAddress` is a *restricted method* in the FFM API. The first time a restricted method is invoked, a runtime warning is generated. Developers can get rid of warnings by specifying the set of modules that are allowed to call restricted methods. This is done by specifying the option `--enable-native-access=M`, where `M` is a module name. Multiple module names can be specified in a comma-separated list, where the special name `ALL-UNNAMED` is used to enable restricted access for all code on the class path. If the `--enable-native-access` option is specified, any attempt to call restricted operations from a module not listed in the option will fail with a runtime exception. > 204: > 205: * (1): Shared arenas rely on VM thread-local handshakes (JEP [312](https://openjdk.java.net/jeps/312)) to implement lock-free, safe, shared memory access; that is, when it comes to memory access, there should no difference in performance between a shared segment and a confined segment. On the other hand, `Arena::close` might be slower on shared arenas than on confined ones. Suggestion: * (1): Shared arenas rely on VM thread-local handshakes (JEP [312](https://openjdk.java.net/jeps/312)) to implement lock-free, safe, shared memory access; that is, when it comes to memory access, there should be no difference in performance between a shared segment and a confined segment. On the other hand, `Arena::close` might be slower on shared arenas than on confined ones. ------------- PR: https://git.openjdk.org/panama-foreign/pull/758 From mcimadamore at openjdk.org Tue Dec 13 19:10:26 2022 From: mcimadamore at openjdk.org (Maurizio Cimadamore) Date: Tue, 13 Dec 2022 19:10:26 GMT Subject: [foreign-memaccess+abi] RFR: Update foreign memory doc [v2] In-Reply-To: References: Message-ID: > This patch updates the foreign memory document to reflect the latest API changes in Java 20. > > I've streamlined the document, removed some obsolete sections (as well as sections that didn't seem to add much), and re-ordered the various sections so that the narrative is now easier to follow. Maurizio Cimadamore has updated the pull request incrementally with four additional commits since the last revision: - Update doc/panama_memaccess.md Co-authored-by: Jorn Vernee - Update doc/panama_memaccess.md Co-authored-by: Jorn Vernee - Update doc/panama_memaccess.md Co-authored-by: Jorn Vernee - Update doc/panama_memaccess.md Co-authored-by: Jorn Vernee ------------- Changes: - all: https://git.openjdk.org/panama-foreign/pull/758/files - new: https://git.openjdk.org/panama-foreign/pull/758/files/84093026..a3eed0fa Webrevs: - full: https://webrevs.openjdk.org/?repo=panama-foreign&pr=758&range=01 - incr: https://webrevs.openjdk.org/?repo=panama-foreign&pr=758&range=00-01 Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod Patch: https://git.openjdk.org/panama-foreign/pull/758.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/758/head:pull/758 PR: https://git.openjdk.org/panama-foreign/pull/758 From mcimadamore at openjdk.org Tue Dec 13 19:14:04 2022 From: mcimadamore at openjdk.org (Maurizio Cimadamore) Date: Tue, 13 Dec 2022 19:14:04 GMT Subject: [foreign-memaccess+abi] RFR: Update foreign memory doc [v3] In-Reply-To: References: Message-ID: > This patch updates the foreign memory document to reflect the latest API changes in Java 20. > > I've streamlined the document, removed some obsolete sections (as well as sections that didn't seem to add much), and re-ordered the various sections so that the narrative is now easier to follow. Maurizio Cimadamore has updated the pull request incrementally with two additional commits since the last revision: - Update doc/panama_memaccess.md Co-authored-by: Jorn Vernee - Update doc/panama_memaccess.md Co-authored-by: Jorn Vernee ------------- Changes: - all: https://git.openjdk.org/panama-foreign/pull/758/files - new: https://git.openjdk.org/panama-foreign/pull/758/files/a3eed0fa..7b9a3844 Webrevs: - full: https://webrevs.openjdk.org/?repo=panama-foreign&pr=758&range=02 - incr: https://webrevs.openjdk.org/?repo=panama-foreign&pr=758&range=01-02 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/panama-foreign/pull/758.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/758/head:pull/758 PR: https://git.openjdk.org/panama-foreign/pull/758 From mcimadamore at openjdk.org Tue Dec 13 22:14:10 2022 From: mcimadamore at openjdk.org (Maurizio Cimadamore) Date: Tue, 13 Dec 2022 22:14:10 GMT Subject: [foreign-memaccess+abi] Integrated: Update foreign memory doc In-Reply-To: References: Message-ID: On Fri, 9 Dec 2022 17:30:21 GMT, Maurizio Cimadamore wrote: > This patch updates the foreign memory document to reflect the latest API changes in Java 20. > > I've streamlined the document, removed some obsolete sections (as well as sections that didn't seem to add much), and re-ordered the various sections so that the narrative is now easier to follow. This pull request has now been integrated. Changeset: 4d988e44 Author: Maurizio Cimadamore URL: https://git.openjdk.org/panama-foreign/commit/4d988e44011caf10200b7a31954e072927cc6a1b Stats: 221 lines in 1 file changed: 57 ins; 134 del; 30 mod Update foreign memory doc Reviewed-by: jvernee ------------- PR: https://git.openjdk.org/panama-foreign/pull/758 From ray.gavin97 at gmail.com Wed Dec 14 16:50:37 2022 From: ray.gavin97 at gmail.com (Gavin Ray) Date: Wed, 14 Dec 2022 11:50:37 -0500 Subject: Possible to get another preview build of Panama FFM? Message-ID: Hey all, Do you think it'd be possible to cut another preview release of Panama sometime in the near-ish future? If not, does anyone have a recent-ish Linux build they could put up on a Google Drive and post here? (If nobody does, I will do it and attach to this thread later today/this week) Also, just out of curiosity, why does OpenJDK not have CI builds? If someone writes Github Actions to build OpenJDK, would that have any chance of being integrated? Thank you =) - Gavin -------------- next part -------------- An HTML attachment was scrubbed... URL: From maurizio.cimadamore at oracle.com Wed Dec 14 16:58:22 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Wed, 14 Dec 2022 16:58:22 +0000 Subject: Possible to get another preview build of Panama FFM? In-Reply-To: References: Message-ID: Hi Gavin, note that instead of a Panama build, you can just grab a Java 20 EA build here: https://jdk.java.net/20/ This should contains all the changes in JEP 434. Cheers Maurizio On 14/12/2022 16:50, Gavin Ray wrote: > Hey all, > > Do you think it'd be possible to cut another preview release of Panama > sometime in the near-ish future? > If not, does anyone have a recent-ish Linux build they could put up on > a Google Drive and post here? > > (If nobody does, I will do it and attach to this thread later > today/this week) > > Also, just out of curiosity, why does OpenJDK not have CI builds? > If someone writes Github Actions to build OpenJDK, would that have any > chance of being integrated? > > Thank you =) > - Gavin From ray.gavin97 at gmail.com Wed Dec 14 17:07:48 2022 From: ray.gavin97 at gmail.com (Gavin Ray) Date: Wed, 14 Dec 2022 12:07:48 -0500 Subject: Possible to get another preview build of Panama FFM? In-Reply-To: References: Message-ID: Oh, well that'd make sense why there's no new build then, wouldn't it! D'oh Thanks Maurizio On Wed, Dec 14, 2022 at 11:58 AM Maurizio Cimadamore < maurizio.cimadamore at oracle.com> wrote: > Hi Gavin, > note that instead of a Panama build, you can just grab a Java 20 EA > build here: > > https://jdk.java.net/20/ > > This should contains all the changes in JEP 434. > > Cheers > Maurizio > > On 14/12/2022 16:50, Gavin Ray wrote: > > Hey all, > > > > Do you think it'd be possible to cut another preview release of Panama > > sometime in the near-ish future? > > If not, does anyone have a recent-ish Linux build they could put up on > > a Google Drive and post here? > > > > (If nobody does, I will do it and attach to this thread later > > today/this week) > > > > Also, just out of curiosity, why does OpenJDK not have CI builds? > > If someone writes Github Actions to build OpenJDK, would that have any > > chance of being integrated? > > > > Thank you =) > > - Gavin > -------------- next part -------------- An HTML attachment was scrubbed... URL: From forax at univ-mlv.fr Wed Dec 14 18:56:14 2022 From: forax at univ-mlv.fr (Remi Forax) Date: Wed, 14 Dec 2022 19:56:14 +0100 (CET) Subject: Possible to get another preview build of Panama FFM? In-Reply-To: References: Message-ID: <2127929824.66921205.1671044174860.JavaMail.zimbra@u-pem.fr> > From: "Gavin Ray" > To: "Maurizio Cimadamore" > Cc: "panama-dev" > Sent: Wednesday, December 14, 2022 6:07:48 PM > Subject: Re: Possible to get another preview build of Panama FFM? > Oh, well that'd make sense why there's no new build then, wouldn't it! D'oh > Thanks Maurizio Otherwise, Aleksey Shipilev builds several "nightly" versions of the OpenJDK for Linux [ https://builds.shipilev.net/ | https://builds.shipilev.net/ ] regards, R?mi > On Wed, Dec 14, 2022 at 11:58 AM Maurizio Cimadamore < [ > mailto:maurizio.cimadamore at oracle.com | maurizio.cimadamore at oracle.com ] > > wrote: >> Hi Gavin, >> note that instead of a Panama build, you can just grab a Java 20 EA >> build here: >> [ https://jdk.java.net/20/ | https://jdk.java.net/20/ ] >> This should contains all the changes in JEP 434. >> Cheers >> Maurizio >> On 14/12/2022 16:50, Gavin Ray wrote: >> > Hey all, >> > Do you think it'd be possible to cut another preview release of Panama >> > sometime in the near-ish future? >> > If not, does anyone have a recent-ish Linux build they could put up on >> > a Google Drive and post here? >> > (If nobody does, I will do it and attach to this thread later >> > today/this week) >> > Also, just out of curiosity, why does OpenJDK not have CI builds? >> > If someone writes Github Actions to build OpenJDK, would that have any >> > chance of being integrated? >> > Thank you =) >> > - Gavin -------------- next part -------------- An HTML attachment was scrubbed... URL: From svkamath at openjdk.org Wed Dec 14 19:59:20 2022 From: svkamath at openjdk.org (Smita Kamath) Date: Wed, 14 Dec 2022 19:59:20 GMT Subject: [vectorIntrinsics+fp16] RFR: 8290204: FP16 initial backend implementation [v2] In-Reply-To: References: Message-ID: > Initial backend implementation for enabling FP16. Smita Kamath has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision: - Merge vectorIntrinsics+fp16 - Initial fp16 backend implementation ------------- Changes: - all: https://git.openjdk.org/panama-vector/pull/204/files - new: https://git.openjdk.org/panama-vector/pull/204/files/e4183337..90ff380c Webrevs: - full: https://webrevs.openjdk.org/?repo=panama-vector&pr=204&range=01 - incr: https://webrevs.openjdk.org/?repo=panama-vector&pr=204&range=00-01 Stats: 14102 lines in 29 files changed: 13579 ins; 157 del; 366 mod Patch: https://git.openjdk.org/panama-vector/pull/204.diff Fetch: git fetch https://git.openjdk.org/panama-vector pull/204/head:pull/204 PR: https://git.openjdk.org/panama-vector/pull/204 From Xiaohong.Gong at arm.com Fri Dec 16 02:50:02 2022 From: Xiaohong.Gong at arm.com (Xiaohong Gong) Date: Fri, 16 Dec 2022 02:50:02 +0000 Subject: [VectorAPI] Enhancement of floating-point math vector API implementation Message-ID: Hi, This is a proposal to do following enhancement for Vector API floating-point vector math operations: 1. Intrinsify the vector math APIs for AArch64 platform by calling a third party library SLEEF [1][2]. 2. Fix the interpreter and c2 compiler inconsistent result issue [3]. We created a prototype [4] to do the above enhancement as well as some cleanup to make the shared code platform independent. - Background - 1. Optimize the math APIs for AArch64 platform Currently the floating-point math APIs like "SIN/COS/TAN..." are not intrinsified on AArch64 platform. This makes these APIs have large performance gap on AArch64. Note that those APIs are intrinsified by C2 compiler on X86 platforms. They are implemented by calling the Intel's SVML library [5]. We'd like to optimize these APIs for AArch64 by intrinsifying them with a vector library, such as SLEEF. 2. Fix the inconsistent result issue from different code paths As discussed before [3], it is a potential issue of Vector API's FP math operations: the results may be different when the same API is executed with C2 and interpreter on x86 systems. The main reason is the API's default implementation (used by interpreter) calls different library with the vector intrinsics (used by C2). The default implementation calls the scalar java.lang.Math APIs, while the intrinsics calls the vector library (i.e. SVML) on X86. The same to AArch64 if these APIs are intrinsified by calling a different vector library like SLEEF. The implementations are all guaranteed to be in 1.0 ulp error bound which follows the API's specification. And it sounds reasonable that the different implementations generate different results for the same input. Even so, we argue that it's still confusing and problematic to see the different results on different runs (could be interpreter or c2), and it would be better if we can fix this. One straightforward fix is to align the different implementations between interpreter and C2. Here we propose to update the APIs' default implementation, by using the native vector library via JNI if it is supported and falling back to the scalar implementation if not. Here shows the new code of the default implementation: ``` @ForceInline final FloatVector mathUOpTemplate(int opd, VectorMask m, FUnOp f) { if (VectorSupport.hasNativeImpl(opd, float.class, length())) { float[] vec = vec(); Object obj = VectorSupport.nativeImpl(opd, float.class, length(), vec, null); if (obj != null) { float[] res = (float[]) obj; if (m != null) { boolean[] mbits = ((AbstractMask)m).getBits(); for (int i = 0; i < res.length; i++) { res[i] = mbits[i] ? res[i] : vec[i]; } } return vectorFactory(res); } } return uOpTemplate(m, f); } ``` The first if-stmt checks whether the given operation can be vectorized with a vector math library on current hardware. If yes, calls the library via JNI. Otherwise, falls back to the original scalar implementation, i.e. uOpTemplate(m, f). It's worth noting that the check and the vector library we use for the default implementation are identical to those for C2 vector intrinsics. In this way, we can guarantee both interpreter and C2 use the same implementation and then produce the same result. - Prototype - We created one prototype [4] to do the above enhancement. Here are the main changes: 1. Optimize these math APIs by calling SLEEF for AArch64 NEON and SVE: - We choose 1.0 ULP accuracy with FMA instructions used versions for most of the operations by default. For those APIs that SLEEF does not support 1.0 ULP, we choose 0.5 ULP instead. - We didn't use the version that can give consistent results across all platforms in the prototype. - We add the vector calling convention for AArch64 NEON and SVE. - The system library (i.e. libsleef-dev [2]) should be installed before using SLEEF. If not installed, the math vector call will still use current default scalar version without error. 2. Fix the result difference issue from the following sides: 1) Java API - Add two native methods "hasNativeImpl()" and "nativeImpl()". The former determines whether the underlying hardware supports the vectorized native implementation for the given op and vector type. And given the op, vector type and vector inputs, the latter returns the result by calling the native library. - Change the floating point math APIs' default implementation. 2) Hotspot - Add the implementation to the two native methods via JNI. - Add a stub routine (i.e. _vector_math_wrapper). It is a wrapper to call the native vector implementation to handle ABI difference. Because the inputs and output of the native method are array address, while they are vector registers in the vector implementation. We need to do the vector load before calling the vector library, and do a vector store to save the result. - Add the initial code generation to "_vector_math_wrapper" for X86 and AArch64 platforms. 3) Test - Change the existing Jtreg test cases. Each API with the same input would be run two times, with and without loop warmup phase. And the computation results between these two runs are compared. Without the new changes to the APIs' default implementation, these tests will fail on X86 and AArch64. - Performance - After enabling SLEEF for AArch64, the performance of these APIs' JMH benchmarks [6] improves about 1.5x ~ 12x on NEON, and 3x ~ 62x on SVE with 512-bit vector size. [1] https://sleef.org/ [2] https://packages.debian.org/bookworm/libsleef-dev [3] https://mail.openjdk.org/pipermail/panama-dev/2022-August/017372.html [4] https://github.com/XiaohongGong/jdk/tree/vectorapi-fp-math [5] https://github.com/openjdk/jdk/pull/3638 [6] https://github.com/openjdk/panama-vector/blob/vectorIntrinsics/test/micro/org/openjdk/bench/jdk/incubator/vector/operation/FloatMaxVector.java Any feedback is appreciated! Thanks in advance! Best Regards, Xiaohong Gong From duke at openjdk.org Fri Dec 16 11:08:40 2022 From: duke at openjdk.org (duke) Date: Fri, 16 Dec 2022 11:08:40 GMT Subject: git: openjdk/panama-foreign: foreign-memaccess+abi: 98 new changesets Message-ID: <0a596da9-fad6-4b97-8395-2026f8cfc565@openjdk.org> Changeset: 33d955ad Author: Gui Cao Committer: Julian Waters Date: 2022-12-09 12:43:47 +0000 URL: https://git.openjdk.org/panama-foreign/commit/33d955ad6e46eecd947e958ce295f6a6c348b2a6 8298345: Fix another two C2 IR matching tests for RISC-V Reviewed-by: fyang, dzhang, fjiang ! test/hotspot/jtreg/compiler/c2/irTests/TestAutoVectorization2DArray.java ! test/hotspot/jtreg/compiler/lib/ir_framework/TestFramework.java ! test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java Changeset: e3c6cf8e Author: Sergey Tsypanov Committer: Julian Waters Date: 2022-12-09 12:50:55 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e3c6cf8eaf931d9eb46b429a5ba8d3bbded3728a 8298380: Clean up redundant array length checks in JDK code base Reviewed-by: dholmes, amenkov, serb, vtewari ! src/java.base/linux/classes/sun/nio/fs/LinuxWatchService.java ! src/java.base/share/classes/java/nio/file/spi/FileSystemProvider.java ! src/java.base/share/classes/jdk/internal/jrtfs/JrtPath.java ! src/java.base/share/classes/sun/nio/fs/PollingWatchService.java ! src/java.desktop/macosx/classes/com/apple/laf/AquaFileChooserUI.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/Assumptions.java ! src/jdk.jconsole/share/classes/sun/tools/jconsole/inspector/XTree.java ! src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipPath.java Changeset: 05b0a018 Author: Albert Mingkun Yang Date: 2022-12-09 13:26:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/05b0a018c736f79acc99043d5e0e556658b93ab8 8298281: Serial: Refactor MarkAndPushClosure Reviewed-by: stefank, sjohanss ! src/hotspot/share/gc/serial/markSweep.cpp ! src/hotspot/share/gc/serial/markSweep.hpp ! src/hotspot/share/gc/serial/markSweep.inline.hpp Changeset: b30b464d Author: Roman Kennke Date: 2022-12-09 14:52:27 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b30b464d054716bbc3d4d70633b740b227b8775d 8297036: Generalize C2 stub mechanism Co-authored-by: Aleksey Shipilev Co-authored-by: Xiaolin Zheng Reviewed-by: eosterlund, kvn, fyang ! src/hotspot/cpu/aarch64/aarch64.ad + src/hotspot/cpu/aarch64/c2_CodeStubs_aarch64.cpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp - src/hotspot/cpu/aarch64/c2_safepointPollStubTable_aarch64.cpp + src/hotspot/cpu/ppc/c2_CodeStubs_ppc.cpp - src/hotspot/cpu/ppc/c2_safepointPollStubTable_ppc.cpp ! src/hotspot/cpu/ppc/ppc.ad + src/hotspot/cpu/riscv/c2_CodeStubs_riscv.cpp ! src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp - src/hotspot/cpu/riscv/c2_safepointPollStubTable_riscv.cpp ! src/hotspot/cpu/riscv/riscv.ad + src/hotspot/cpu/x86/c2_CodeStubs_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp - src/hotspot/cpu/x86/c2_safepointPollStubTable_x86.cpp ! src/hotspot/cpu/x86/x86_32.ad ! src/hotspot/cpu/x86/x86_64.ad + src/hotspot/share/opto/c2_CodeStubs.cpp + src/hotspot/share/opto/c2_CodeStubs.hpp ! src/hotspot/share/opto/c2_MacroAssembler.hpp ! src/hotspot/share/opto/output.cpp ! src/hotspot/share/opto/output.hpp Changeset: 93465354 Author: Xin Liu Date: 2022-12-09 16:49:47 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9346535415b158aaaa679ef8c3c147595b5206e9 8298320: Typo in the comment block of catch_inline_exception Reviewed-by: thartmann ! src/hotspot/share/opto/doCall.cpp Changeset: f729f5b6 Author: Thomas Stuefe Date: 2022-12-09 17:46:28 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f729f5b6d01b0d3a0ee21f50199ca30935c8237a 8298298: NMT: count deltas are printed with 32-bit signed size Reviewed-by: shade, dholmes ! src/hotspot/share/services/memReporter.cpp ! src/hotspot/share/utilities/globalDefinitions.hpp ! src/hotspot/share/utilities/globalDefinitions_visCPP.hpp ! test/hotspot/gtest/utilities/test_globalDefinitions.cpp Changeset: 99a6c478 Author: Chris Plummer Date: 2022-12-09 18:42:35 +0000 URL: https://git.openjdk.org/panama-foreign/commit/99a6c47855ad82e81a80726cf3aa4522c547716d 8298073: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java causes test task timeout on macosx 8241293: CompressedClassSpaceSizeInJmapHeap.java time out after 8 minutes Reviewed-by: ayang, sspitsyn ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java Changeset: 7dbdd83d Author: Joe Darcy Date: 2022-12-09 19:54:46 +0000 URL: https://git.openjdk.org/panama-foreign/commit/7dbdd83da0eefd56927bdb68d7aedfee5c0c0ab5 8298190: Update --release 20 symbol information for JDK 20 build 27 Reviewed-by: iris ! src/jdk.compiler/share/data/symbols/java.base-K.sym.txt ! src/jdk.compiler/share/data/symbols/java.management-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.compiler-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.incubator.concurrent-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.incubator.vector-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.jfr-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.management.jfr-K.sym.txt ! src/jdk.compiler/share/data/symbols/symbols Changeset: 9749a436 Author: Artem Semenov Date: 2022-12-09 20:05:19 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9749a436418a2e2bcd1571e2fd6f16e3461cf883 8298457: Instructions in a11y manual tests need to be updated Reviewed-by: kizune, serb ! test/jdk/java/awt/a11y/AccessibleActionsTest.java ! test/jdk/java/awt/a11y/AccessibleJTabbedPaneTest.java ! test/jdk/java/awt/a11y/AccessibleTextTest.java Changeset: 553ba65d Author: Daniel D. Daugherty Date: 2022-12-08 20:19:18 +0000 URL: https://git.openjdk.org/panama-foreign/commit/553ba65dc44b601e048c53cd1c48d668de9dcf1e 8298402: ProblemList javax/swing/JFileChooser/4847375/bug4847375.java on windows-x64 8298414: ProblemList gc/TestFullGCCount.java on linux-x64 8298417: ProblemList vmTestbase/nsk/stress/strace/strace004.java on 2 platforms 8298419: ProblemList vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Multi/Multi005/TestDescription.java on windows-x64 Reviewed-by: rriggs ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 133ad8e1 Author: Jan Lahoda Date: 2022-12-09 11:11:46 +0000 URL: https://git.openjdk.org/panama-foreign/commit/133ad8e1734f002f013dd3c73d496e323e9e881e 8297988: NPE in JavacTypes.getOverriddenMethods from doclint Reviewed-by: vromero, jjg ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java ! test/langtools/tools/javac/modules/EdgeCases.java Changeset: 5a92bee1 Author: Erik Gahlin Date: 2022-12-09 15:21:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5a92bee1858f4d08392158217302d3703bb3c770 8298455: JFR: Add logging to TestClose.java Reviewed-by: mgronlun ! test/jdk/jdk/jfr/api/consumer/recordingstream/TestClose.java Changeset: 05d67f69 Author: Daniel Fuchs Date: 2022-12-09 15:23:22 +0000 URL: https://git.openjdk.org/panama-foreign/commit/05d67f69e34a76702406b36436ddb5db18e8fa68 8298340: java/net/httpclient/CancelRequestTest.java fails with AssertionError: Found some subscribers for testPostInterrupt Reviewed-by: jpai ! src/java.net.http/share/classes/jdk/internal/net/http/Http2Connection.java ! src/java.net.http/share/classes/jdk/internal/net/http/Stream.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/HttpBodySubscriberWrapper.java ! test/jdk/java/net/httpclient/CancelRequestTest.java Changeset: b7b996cb Author: Roland Westrelin Date: 2022-12-09 15:33:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b7b996cb9475f8191d4085a2f7f68187b6f015d5 8298353: C2 fails with assert(opaq->outcnt() == 1 && opaq->in(1) == limit) failed Reviewed-by: chagedorn, thartmann, kvn ! src/hotspot/share/opto/loopopts.cpp + test/hotspot/jtreg/compiler/loopopts/TestBadCountedLoopLimit.java Changeset: 52fffdd2 Author: Jan Lahoda Date: 2022-12-09 16:41:26 +0000 URL: https://git.openjdk.org/panama-foreign/commit/52fffdd2c8426e98d3a0198ef4607750732bab93 8298463: tools/javac/modules/EdgeCases.java fails on Windows after JDK-8297988 Reviewed-by: jjg ! test/langtools/tools/javac/modules/EdgeCases.java Changeset: a8946490 Author: Tyler Steele Date: 2022-12-09 17:04:11 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a8946490e2b362d241c61cc459dbaba93fc93ca4 8298225: [AIX] Disable PPC64LE continuations on AIX Reviewed-by: rrich, mdoerr ! src/hotspot/cpu/ppc/globals_ppc.hpp ! src/hotspot/cpu/ppc/ppc.ad Changeset: 715bf704 Author: Jesper Wilhelmsson Date: 2022-12-09 22:00:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/715bf7045968e341182e61343651f464a437f83f Merge ! src/hotspot/cpu/ppc/ppc.ad ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt ! src/hotspot/cpu/ppc/ppc.ad ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 478ef389 Author: Xue-Lei Andrew Fan Date: 2022-12-09 22:37:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/478ef389dc3767edfbe21d10a7f7f1522c648c2e 8296812: sprintf is deprecated in Xcode 14 Reviewed-by: stuefe, prr, kbarrett, lucy ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp ! src/hotspot/os/bsd/attachListener_bsd.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/share/adlc/adlc.hpp ! src/hotspot/share/adlc/adlparse.cpp ! src/hotspot/share/adlc/archDesc.cpp ! src/hotspot/share/adlc/dfa.cpp ! src/hotspot/share/adlc/formssel.cpp ! src/hotspot/share/adlc/main.cpp ! src/hotspot/share/adlc/output_c.cpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/code/dependencies.cpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/interpreter/bootstrapInfo.cpp ! src/hotspot/share/jfr/support/jfrSymbolTable.cpp ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp ! src/hotspot/share/prims/wbtestmethods/parserTests.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/os.cpp ! src/hotspot/share/runtime/os.hpp ! src/hotspot/share/runtime/perfData.cpp ! src/hotspot/share/utilities/debug.cpp ! src/hotspot/share/utilities/utf8.cpp ! src/java.desktop/macosx/native/libjsound/PLATFORM_API_MacOSX_Ports.cpp Changeset: 8ea2a677 Author: Sangheon Kim Date: 2022-12-09 23:31:17 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8ea2a6777b68986df9d191f1bf983549d72cb3f8 8292265: Add old gen used field at G1HeapSummary JFR event Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/shared/gcHeapSummary.hpp ! src/hotspot/share/gc/shared/gcTraceSend.cpp ! src/hotspot/share/jfr/metadata/metadata.xml Changeset: a37de62d Author: Ioi Lam Date: 2022-12-11 02:58:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a37de62d9ddadf1490ee59bd03224e8cea70a75b 8298126: Print statistics for objects in CDS archive heap Reviewed-by: ccheung ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/heapShared.hpp Changeset: d646e32b Author: Andrey Turbanov Date: 2022-12-12 07:36:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d646e32b7a0f8e4a66f06e15e289d4ed70b8250e 8298090: Use String.join() instead of manual loop in DescriptorSupport.toString Reviewed-by: stsypanov, sspitsyn, lmesnik ! src/java.management/share/classes/javax/management/modelmbean/DescriptorSupport.java Changeset: 8e5c3319 Author: Albert Mingkun Yang Date: 2022-12-12 11:17:22 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8e5c3319d0c494eb60aa043f3daf3566d78a9f7b 8298471: Parallel: Don't keep alive nmethods in Young GC Reviewed-by: stefank, iwalulya ! src/hotspot/share/gc/parallel/psScavenge.cpp Changeset: 6c23b4fd Author: Albert Mingkun Yang Date: 2022-12-12 11:18:33 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6c23b4fd0d7883bdcdf20438c21fe226c8de19f5 8298480: Remove unused KlassRemSet Reviewed-by: stefank ! src/hotspot/share/gc/shared/genOopClosures.hpp Changeset: fabda246 Author: Emanuel Peter Date: 2022-12-12 12:11:02 +0000 URL: https://git.openjdk.org/panama-foreign/commit/fabda246960cfdfff13c5a87de53d97169248172 8296389: C2: PhaseCFG::convert_NeverBranch_to_Goto must handle both orders of successors Reviewed-by: thartmann, chagedorn ! src/hotspot/share/gc/g1/c2/g1BarrierSetC2.cpp ! src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp ! src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp ! src/hotspot/share/opto/block.cpp ! src/hotspot/share/opto/cfgnode.hpp ! src/hotspot/share/opto/loopPredicate.cpp ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/loopopts.cpp ! src/hotspot/share/opto/node.hpp + test/hotspot/jtreg/compiler/loopopts/TestPhaseCFGNeverBranchToGoto.jasm + test/hotspot/jtreg/compiler/loopopts/TestPhaseCFGNeverBranchToGotoMain.java Changeset: 56c438bf Author: Per Minborg Committer: Daniel Fuchs Date: 2022-12-12 13:33:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/56c438bfc278307ec1f97dfba60253ae6b64df44 8297822: De-duplicate code in module jdk.sctp Reviewed-by: dfuchs, rriggs ! make/modules/jdk.sctp/Java.gmk - src/jdk.sctp/aix/classes/sun/nio/ch/sctp/SctpChannelImpl.java - src/jdk.sctp/aix/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java - src/jdk.sctp/aix/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java - src/jdk.sctp/macosx/classes/sun/nio/ch/sctp/SctpChannelImpl.java - src/jdk.sctp/macosx/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java - src/jdk.sctp/macosx/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/UnsupportedUtil.java - src/jdk.sctp/windows/classes/sun/nio/ch/sctp/SctpChannelImpl.java - src/jdk.sctp/windows/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java - src/jdk.sctp/windows/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java Changeset: 81f57d56 Author: Per Minborg Committer: Roger Riggs Date: 2022-12-12 17:06:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/81f57d568fc687a484f96a8638fa4cdd29374f0e 8298567: Make field in RandomAccessFile final Reviewed-by: rriggs, chegar ! src/java.base/share/classes/java/io/RandomAccessFile.java Changeset: 9ff85f65 Author: Per Minborg Committer: Daniel Fuchs Date: 2022-12-12 17:22:17 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9ff85f65774c0a81ed10500d3591cd79b440aed0 8298589: java/net/SctpSanity.java fail with NoClassDefFoundError: sun/nio/ch/sctp/UnsupportedUtil Reviewed-by: alanb ! make/modules/jdk.sctp/Java.gmk Changeset: 781a2e0b Author: Chris Plummer Date: 2022-12-12 18:29:58 +0000 URL: https://git.openjdk.org/panama-foreign/commit/781a2e0b2d7d0f36387837de6f50ff087502d317 8298343: "Could not confirm if TargetJDK is hardened." warning for SA tests on macosx-aarch64-debug Reviewed-by: amenkov, kevinw ! test/lib/jdk/test/lib/Platform.java Changeset: c7aca731 Author: Brent Christian Date: 2022-12-12 19:36:55 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c7aca73177339f931f7dfb6627365548a32874f7 8295857: Clarify that cleanup code can be skipped when the JVM terminates (e.g. when calling halt()) Reviewed-by: lancea, bpb, naoto, dholmes, smarks ! src/java.base/share/classes/java/lang/Runtime.java Changeset: c3bc4fcb Author: Per Minborg Committer: Valerie Peng Date: 2022-12-12 21:51:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c3bc4fcb3d0a8bd2eb308fae90a4cb865b216cb8 8297505: Declare fields in some sun.security.pkcs11 classes as final Reviewed-by: valeriep ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Config.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11AEADCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyWrapCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11RSACipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Util.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Session.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SessionManager.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java Changeset: be69930d Author: David Holmes Date: 2022-12-12 22:20:16 +0000 URL: https://git.openjdk.org/panama-foreign/commit/be69930d9d72fe5b1c2b642943cc7d4347979ca6 8288287: Remove expired flags in JDK 21 Reviewed-by: kvn, rehn ! src/hotspot/share/runtime/arguments.cpp ! src/java.base/share/man/java.1 Changeset: 829cbc2c Author: David Holmes Date: 2022-12-13 00:04:38 +0000 URL: https://git.openjdk.org/panama-foreign/commit/829cbc2cb16cfe4ad23df934768cb820e79511d8 8292674: ReportJNIFatalError should print all java frames Reviewed-by: pchilanomate ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/prims/jniCheck.cpp ! src/hotspot/share/prims/jniCheck.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! test/hotspot/jtreg/runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java Changeset: 173778e2 Author: Fei Yang Date: 2022-12-13 00:57:02 +0000 URL: https://git.openjdk.org/panama-foreign/commit/173778e2fee58e47d35197b78eb23f46154b5b2b 8298568: Fastdebug build fails after JDK-8296389 Reviewed-by: rkennke, kvn, haosun ! src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp Changeset: 3b1142a2 Author: Prasanta Sadhukhan Date: 2022-12-13 10:21:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3b1142a280d66b2f5f7b4afbc76e940fdc30b463 8298618: Typo in JPEGImageReader and JPEGImageWriter Reviewed-by: iris, jdv, abhiscxk ! src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java ! src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java Changeset: dbcfe7bc Author: Yude Lin Committer: Thomas Schatzl Date: 2022-12-13 10:26:05 +0000 URL: https://git.openjdk.org/panama-foreign/commit/dbcfe7bc335846cd154dd78822fb64b7970ff9d2 8298521: Rename members in G1MonitoringSupport Reviewed-by: ayang, tschatzl ! src/hotspot/share/gc/g1/g1MonitoringSupport.cpp ! src/hotspot/share/gc/g1/g1MonitoringSupport.hpp Changeset: c612f93e Author: Albert Mingkun Yang Date: 2022-12-13 13:37:33 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c612f93e5a63cc94da6634c3cf361eb87582f129 8298576: Serial: Move some MarkSweep method definitions to cpp Reviewed-by: stefank, tschatzl ! src/hotspot/share/gc/serial/markSweep.cpp ! src/hotspot/share/gc/serial/markSweep.inline.hpp Changeset: 216775ff Author: Albert Mingkun Yang Date: 2022-12-13 14:28:40 +0000 URL: https://git.openjdk.org/panama-foreign/commit/216775ff22e98dadac9ecd9d2cd756d136fd3bd0 8298144: Remove Space::new_dcto_cl Reviewed-by: stefank, tschatzl ! src/hotspot/share/gc/shared/cardTableRS.cpp ! src/hotspot/share/gc/shared/cardTableRS.hpp ! src/hotspot/share/gc/shared/space.cpp ! src/hotspot/share/gc/shared/space.hpp Changeset: 4081bba8 Author: Albert Mingkun Yang Date: 2022-12-13 14:29:46 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4081bba86900d03f195258ca88d51321d31d3678 8297960: G1: Move Root Region Scan Waiting outside collection in logs Reviewed-by: iwalulya, tschatzl ! src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp Changeset: 042b7062 Author: Axel Boldt-Christmas Date: 2022-12-13 15:43:16 +0000 URL: https://git.openjdk.org/panama-foreign/commit/042b7062f19b313f31b228bd96d2a74cc1165ab9 8297235: ZGC: assert(regs[i] != regs[j]) failed: Multiple uses of register: rax Reviewed-by: eosterlund, ayang, rcastanedalo ! src/hotspot/cpu/x86/gc/z/z_x86_64.ad ! test/jdk/ProblemList-zgc.txt Changeset: d624debe Author: Christoph Langer Date: 2022-12-11 13:50:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d624debe23f60d778d7be43f28d06e9454057217 8298459: Fix msys2 linking and handling out of tree build directory for source zip creation Reviewed-by: erikj ! make/ZipSource.gmk ! make/common/MakeBase.gmk Changeset: cf93933e Author: Severin Gehwolf Date: 2022-12-12 15:49:31 +0000 URL: https://git.openjdk.org/panama-foreign/commit/cf93933e21d146fe296b1e4b8e2ef06b699175d6 8298271: java/security/SignedJar/spi-calendar-provider/TestSPISigned.java failing on Windows Reviewed-by: mullan ! test/jdk/ProblemList.txt ! test/jdk/java/security/SignedJar/spi-calendar-provider/TestSPISigned.java Changeset: 0267aa52 Author: Naoto Sato Date: 2022-12-12 17:59:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0267aa528b83be9914fee4bea8f548b8404b31f8 8297288: Example code in Scanner class Reviewed-by: lancea, bpb, alanb ! src/java.base/share/classes/java/util/Scanner.java Changeset: 8962c723 Author: Alexander Matveev Date: 2022-12-12 22:51:02 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8962c723a8ae62a8638e9e0a89c20001aea1549a 8298488: [macos13] tools/jpackage tests failing with "Exit code: 137" on macOS Reviewed-by: asemenyuk ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageBuilder.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TKit.java ! test/jdk/tools/jpackage/share/AppContentTest.java Changeset: d4531903 Author: Coleen Phillimore Date: 2022-12-13 00:49:16 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d4531903007dbe8dcdd163e423d23e8cefba61c8 8296955: Kitchensink.java failed with "double free or corruption (!prev): " Reviewed-by: kbarrett, eosterlund, sspitsyn, dcubed ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/method.hpp Changeset: 04b8d0cf Author: Coleen Phillimore Date: 2022-12-13 13:02:23 +0000 URL: https://git.openjdk.org/panama-foreign/commit/04b8d0cf5c964e16c583b66d9ab43a8c9a85fd72 8298084: Memory leak in Method::build_profiling_method_data Co-authored-by: Justin King Reviewed-by: kbarrett, eosterlund, dholmes, jcking, thartmann ! src/hotspot/share/memory/metadataFactory.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/methodData.cpp ! src/hotspot/share/oops/methodData.hpp Changeset: 23e18275 Author: Jesper Wilhelmsson Date: 2022-12-13 16:42:35 +0000 URL: https://git.openjdk.org/panama-foreign/commit/23e18275ac2a7297ba806a1835fabb7141949967 Merge ! test/jdk/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 68022770 Author: Ioi Lam Date: 2022-12-13 19:35:30 +0000 URL: https://git.openjdk.org/panama-foreign/commit/68022770dedb78f9e6d26c17d76ea6df2f17600b 8298524: Debug function to trace reachability of CDS archived heap objects Reviewed-by: ccheung ! src/hotspot/share/cds/cdsHeapVerifier.cpp ! src/hotspot/share/cds/cdsHeapVerifier.hpp Changeset: a120764c Author: Alex Menkov Date: 2022-12-13 19:49:16 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a120764cc4636b3b0cd128d43de148bdc3f4513b 8298514: vmTestbase/nsk/jdi/EventRequestManager/threadDeathRequests/thrdeathreq002/TestDescription.java fails with usage tracker Reviewed-by: cjplummer, sspitsyn ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/threadDeathRequests/thrdeathreq002.java Changeset: 220781fa Author: Alex Menkov Date: 2022-12-13 19:50:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/220781fa56a9c8d3b64c5c6578ffd76b9edb795c 8298513: vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy009/TestDescription.java fails with usage tracker Reviewed-by: cjplummer, sspitsyn, lmesnik ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy009.java Changeset: b754aa5e Author: Stefan Karlsson Date: 2022-12-14 11:04:49 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b754aa5e3f231aea8da5274c330dc55dd78b0f67 8298371: monitors_on_stack extracts unprocessed oops Reviewed-by: pchilanomate, rehn ! src/hotspot/share/runtime/continuationFreezeThaw.cpp Changeset: d32d6c02 Author: Matthijs Bijman Committer: Tobias Hartmann Date: 2022-12-14 11:30:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d32d6c028de4aed8d1f1ef70734d43f056a0ff34 8297791: update _max_classes in node type system Reviewed-by: thartmann ! src/hotspot/share/opto/node.hpp Changeset: ceca4fc9 Author: Albert Mingkun Yang Date: 2022-12-14 12:45:17 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ceca4fc9ec33808873a6e4f5d13619db455ce214 8298264: Merge OffsetTableContigSpace into TenuredSpace Reviewed-by: stefank, tschatzl ! src/hotspot/share/gc/serial/vmStructs_serial.hpp ! src/hotspot/share/gc/shared/space.cpp ! src/hotspot/share/gc/shared/space.hpp ! src/hotspot/share/gc/shared/space.inline.hpp - src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/OffsetTableContigSpace.java ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/TenuredSpace.java Changeset: 9ee50370 Author: Albert Mingkun Yang Date: 2022-12-14 12:46:15 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9ee5037055a85a5d457a31392dc4ce1ca6c47768 8298636: Fix return value in WB_CountAliveClasses and WB_GetSymbolRefcount Reviewed-by: dholmes ! src/hotspot/share/prims/whitebox.cpp Changeset: 2e801e16 Author: Coleen Phillimore Date: 2022-12-14 12:47:08 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2e801e16ec40ce0e25d8679e21d7da347c52d7be 8298475: Remove JVM_ACC_PROMOTED_FLAGS Reviewed-by: sspitsyn, dcubed, dholmes ! src/hotspot/share/classfile/classFileParser.cpp ! src/hotspot/share/classfile/classFileParser.hpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/instanceKlassMiscStatus.cpp ! src/hotspot/share/oops/instanceKlassMiscStatus.hpp ! src/hotspot/share/prims/jvmtiEnv.cpp ! src/hotspot/share/prims/jvmtiRedefineClasses.cpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/hotspot/share/utilities/accessFlags.hpp ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/ClassConstants.java Changeset: ed8a2120 Author: Stefan Karlsson Date: 2022-12-14 14:34:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ed8a2120ca1e9756c6ab5eeebfe24c15d549f04e 8298376: ZGC: thaws stackChunk with stale oops Reviewed-by: eosterlund, pchilanomate ! src/hotspot/share/oops/stackChunkOop.hpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/runtime/continuationJavaClasses.hpp ! src/hotspot/share/runtime/continuationJavaClasses.inline.hpp Changeset: 0dce5b81 Author: Daniel Fuchs Date: 2022-12-14 16:39:32 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0dce5b811d64ac17b9580d6a2d8eca1df70990a1 8296610: java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java failed with "BindException: Address already in use: connect" Reviewed-by: michaelm ! test/jdk/java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java ! test/jdk/java/net/HttpURLConnection/SetAuthenticator/HTTPTestClient.java Changeset: c05dbac3 Author: Alexander Zvegintsev Date: 2022-12-14 16:51:41 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c05dbac3cbd8de3822191bcb5c34832c997bc4a9 8193547: Regression automated test '/open/test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.java' fails Reviewed-by: serb ! test/jdk/ProblemList.txt ! test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.java ! test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.sh Changeset: 736fcd49 Author: Emanuel Peter Date: 2022-12-14 17:25:49 +0000 URL: https://git.openjdk.org/panama-foreign/commit/736fcd49f7cd3aa6f226b2e088415eaf05f97ee8 8296318: use-def assert: special case undetected loops nested in infinite loops Reviewed-by: chagedorn, kvn ! src/hotspot/share/opto/block.cpp ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/cfgnode.hpp ! src/hotspot/share/opto/loopnode.cpp + test/hotspot/jtreg/compiler/loopopts/TestUndetectedLoopInInfiniteLoop.java Changeset: 7241e358 Author: Chris Plummer Date: 2022-12-14 17:53:11 +0000 URL: https://git.openjdk.org/panama-foreign/commit/7241e358bfbb004897b84da3c154d7bdd96cb560 8298692: Fix typos in test/jdk/com/sun/jdi files Reviewed-by: amenkov, sspitsyn ! test/jdk/com/sun/jdi/ArgumentValuesTest.java ! test/jdk/com/sun/jdi/connect/spi/GeneratedConnectors.java ! test/jdk/com/sun/jdi/lib/jdb/Jdb.java Changeset: 8ff2928a Author: Thomas Schatzl Date: 2022-12-14 17:55:15 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8ff2928a04aeec8c09ff4a1ec4e83d4c9010950e 8297639: Remove preventive GCs in G1 Reviewed-by: ayang, iwalulya ! src/hotspot/share/gc/g1/g1AllocRegion.hpp ! src/hotspot/share/gc/g1/g1Allocator.cpp ! src/hotspot/share/gc/g1/g1Allocator.hpp ! src/hotspot/share/gc/g1/g1Allocator.inline.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectionSet.cpp ! src/hotspot/share/gc/g1/g1CollectionSet.hpp ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp ! src/hotspot/share/gc/g1/g1VMOperations.cpp ! src/hotspot/share/gc/g1/g1VMOperations.hpp ! src/hotspot/share/gc/shared/gcCause.cpp ! src/hotspot/share/gc/shared/gcCause.hpp ! test/hotspot/jtreg/gc/g1/TestEvacuationFailure.java ! test/hotspot/jtreg/gc/g1/TestGCLogMessages.java ! test/hotspot/jtreg/gc/g1/TestVerifyGCType.java Changeset: ccb94acc Author: Chris Plummer Date: 2022-12-14 19:37:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ccb94acc442767a7047756806c8dc7ecacd8bae9 8287812: Cleanup JDWP agent GetEnv initialization Reviewed-by: alanb, sspitsyn ! src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c ! src/jdk.jdwp.agent/share/native/libjdwp/util.c Changeset: bf78f716 Author: Brent Christian Date: 2022-12-13 19:07:44 +0000 URL: https://git.openjdk.org/panama-foreign/commit/bf78f716bd3e58df24ff1e6f4a0104025379f821 8295857: Clarify that cleanup code can be skipped when the JVM terminates (e.g. when calling halt()) Reviewed-by: iris Backport-of: c7aca73177339f931f7dfb6627365548a32874f7 ! src/java.base/share/classes/java/lang/Runtime.java Changeset: c6f22b41 Author: Joe Darcy Date: 2022-12-13 20:48:13 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c6f22b416072a9be5436f45e2f595ceea228f3bd 8297305: Clarify that javax.lang.model.util.Elements.overrides is irreflexive Reviewed-by: jjg ! src/java.compiler/share/classes/javax/lang/model/util/Elements.java Changeset: 61ab16f7 Author: Jonathan Gibbons Date: 2022-12-13 23:20:43 +0000 URL: https://git.openjdk.org/panama-foreign/commit/61ab16f79a735a98b3c095daf1b541f4fc5413c0 8298700: Typo in DocTree comment Reviewed-by: darcy ! src/jdk.compiler/share/classes/com/sun/source/doctree/DocTree.java Changeset: 51f0a1ce Author: Christoph Langer Date: 2022-12-14 07:32:28 +0000 URL: https://git.openjdk.org/panama-foreign/commit/51f0a1ce4b0d72cf7e82e01f7014274d8b7d1575 8298527: Cygwin's uname -m returns different string than before Reviewed-by: erikj ! make/autoconf/build-aux/config.guess Changeset: 27d49711 Author: Roland Westrelin Date: 2022-12-14 10:03:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/27d4971182ab1cbe7e6bc40cd22c1c70661a3ab2 8298520: C2: assert(found_opaque == res) failed: wrong pattern Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/loopnode.hpp Changeset: 9bcdfc42 Author: Jan Lahoda Date: 2022-12-14 11:36:04 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9bcdfc428597e1465c8a014d816ef671420d22df 8298425: System.console().readLine() hangs in jshell Reviewed-by: naoto, alanb ! src/jdk.jshell/share/classes/jdk/jshell/execution/JdiDefaultExecutionControl.java + test/langtools/jdk/jshell/ConsoleTest.java Changeset: 0bbc4181 Author: Andrew Haley Date: 2022-12-14 13:32:21 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0bbc4181cdbccfc3a542f306ce1902cc2e9f36cb 8294902: Undefined Behavior in C2 regalloc with null references Reviewed-by: kvn, vlivanov ! src/hotspot/share/memory/arena.cpp ! src/hotspot/share/opto/bytecodeInfo.cpp ! src/hotspot/share/opto/chaitin.hpp ! src/hotspot/share/opto/postaloc.cpp ! src/hotspot/share/runtime/vmStructs.hpp ! src/hotspot/share/utilities/globalDefinitions.hpp ! src/hotspot/share/utilities/globalDefinitions_gcc.hpp Changeset: 27917014 Author: Kim Barrett Date: 2022-12-14 13:36:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/279170147a10ec2da2242b4dcb3279c41c471000 8298296: gc/TestFullGCCount.java fails with "System.gc collections miscounted." Reviewed-by: tschatzl, ayang ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/gc/TestFullGCCount.java Changeset: 0eeaf6b2 Author: Erik Gahlin Date: 2022-12-14 13:40:15 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0eeaf6b219758563712d951b3c6ff160ebeff52d 8298649: JFR: RemoteRecordingStream support for checkpoint event sizes beyond u4 Reviewed-by: mgronlun ! src/jdk.management.jfr/share/classes/jdk/management/jfr/DiskRepository.java Changeset: 581f9f23 Author: Axel Boldt-Christmas Date: 2022-12-14 14:10:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/581f9f2306835680cd6d5dbbe37f610fb4de4677 8297235: ZGC: assert(regs[i] != regs[j]) failed: Multiple uses of register: rax Reviewed-by: thartmann, rcastanedalo Backport-of: 042b7062f19b313f31b228bd96d2a74cc1165ab9 ! src/hotspot/cpu/x86/gc/z/z_x86_64.ad ! test/jdk/ProblemList-zgc.txt Changeset: a130c8a6 Author: Jesper Wilhelmsson Date: 2022-12-14 21:47:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a130c8a6688fcdda92e0f6295ec06f1591382328 Merge ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/utilities/globalDefinitions.hpp ! test/hotspot/jtreg/ProblemList.txt ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/utilities/globalDefinitions.hpp ! test/hotspot/jtreg/ProblemList.txt Changeset: 0ed6d0b4 Author: Alisen Chung Date: 2022-12-14 22:10:01 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0ed6d0b456e58e4122b97c3d12faabada0d8c530 8297296: java/awt/Mouse/EnterExitEvents/DragWindowTest.java fails with "No MouseReleased event on label!" Reviewed-by: psadhukhan, dnguyen ! test/jdk/ProblemList.txt ! test/jdk/java/awt/Mouse/EnterExitEvents/DragWindowTest.java Changeset: 3ef38241 Author: Coleen Phillimore Date: 2022-12-14 23:08:32 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3ef382416f5ff38cd44fa8d4e552f1935156e765 8298794: Remove JVM_ACC_PROMOTED_FLAGS breaks minimal build Reviewed-by: ayang, dcubed ! src/hotspot/share/oops/instanceKlassMiscStatus.cpp Changeset: d1085d1b Author: Matias Saavedra Silva Committer: Ioi Lam Date: 2022-12-15 05:03:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d1085d1be7bc798ced8d539062fa7a9a3ab0341c 8281946: VM.native_memory should report size of shareable memory Reviewed-by: stuefe, iklam ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/services/memReporter.cpp ! test/hotspot/jtreg/runtime/NMT/SummarySanityCheck.java Changeset: ebc47104 Author: Per Minborg Committer: Maurizio Cimadamore Date: 2022-12-14 21:40:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ebc471040e03dc41829d57e1280cabd75b2ad53a 8298277: Replace "session" with "scope" for FFM access Reviewed-by: mcimadamore ! src/java.base/share/classes/jdk/internal/foreign/AbstractMemorySegmentImpl.java ! src/java.base/share/classes/jdk/internal/foreign/HeapMemorySegmentImpl.java ! src/java.base/share/classes/jdk/internal/foreign/MappedMemorySegmentImpl.java ! src/java.base/share/classes/jdk/internal/foreign/MemorySessionImpl.java ! src/java.base/share/classes/jdk/internal/foreign/NativeMemorySegmentImpl.java ! src/java.base/share/classes/jdk/internal/foreign/abi/Binding.java ! src/java.base/share/classes/jdk/internal/foreign/abi/BindingSpecializer.java ! src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java ! src/java.base/share/classes/jdk/internal/foreign/abi/UpcallLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/UpcallStubs.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/linux/LinuxAArch64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/linux/LinuxAArch64VaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/macos/MacOsAArch64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVVaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVx64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/WinVaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/Windowsx64Linker.java Changeset: 80cadd40 Author: Kim Barrett Date: 2022-12-14 21:57:55 +0000 URL: https://git.openjdk.org/panama-foreign/commit/80cadd40103cf1f490a5d70be784652e27588114 8298785: gc/TestFullGCCount.java fails with "invalid boolean value: `null' for expression `vm.opt.ExplicitGCInvokesConcurrent'" Reviewed-by: dcubed ! test/hotspot/jtreg/gc/TestFullGCCount.java Changeset: 10bc86cc Author: Jesper Wilhelmsson Date: 2022-12-15 06:36:55 +0000 URL: https://git.openjdk.org/panama-foreign/commit/10bc86cc260fac48bf10f67dd56aa73c6954f026 Merge Changeset: b9074fa1 Author: Daniel Jeli?ski Date: 2022-12-15 06:54:33 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b9074fa1ed489993d60ce873fd8105a95d30782a 8298249: Excessive memory allocation in CipherInputStream AEAD decryption Reviewed-by: ascarpino, valeriep ! src/java.base/share/classes/javax/crypto/CipherInputStream.java + test/micro/org/openjdk/bench/javax/crypto/full/AESGCMCipherInputStream.java Changeset: 3ae71872 Author: Daniel Jeli?ski Date: 2022-12-15 06:55:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3ae718725a72cc2758331e932130d846cfba64e4 8298498: sun/net/www/http/KeepAliveCache/B8291637.java fails with "Server exception terminating: java.net.SocketException: Socket closed" Reviewed-by: dfuchs, jpai ! test/jdk/sun/net/www/http/KeepAliveCache/B8291637.java Changeset: 5f63f7a7 Author: Alan Bateman Date: 2022-12-15 07:14:02 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5f63f7a742a1071a87ca69463bae6e04a44fe462 8298726: (fs) Change PollingWatchService to record last modified time as FileTime rather than milliseconds Reviewed-by: bpb, jpai ! src/java.base/share/classes/sun/nio/fs/PollingWatchService.java Changeset: 98fa48c3 Author: Matthias Baesken Date: 2022-12-15 08:11:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/98fa48c330941efe6588a907b383802a11ed0e6b 8298093: improve cleanup and error handling of awt_parseColorModel in awt_parseImage.c Reviewed-by: lucy, clanger ! src/java.desktop/share/native/libawt/awt/image/awt_parseImage.c Changeset: b17c5242 Author: Erik ?sterlund Date: 2022-12-15 09:26:13 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b17c52422c91ad1e7ff35844676f6269a1b87f79 8298059: Linked stack watermarks don't support nesting Reviewed-by: stefank, sspitsyn, rehn, pchilanomate ! src/hotspot/share/runtime/keepStackGCProcessed.cpp ! src/hotspot/share/runtime/stackWatermark.cpp ! src/hotspot/share/runtime/stackWatermark.hpp ! test/hotspot/jtreg/ProblemList-zgc.txt Changeset: 0288210f Author: Alexander Zvegintsev Date: 2022-12-15 16:43:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0288210f25e3d56870d1aa58ad076c97aad1c232 8298859: ProblemList java/awt/Mouse/EnterExitEvents/DragWindowTest.java on macosx-all Reviewed-by: jdv ! test/jdk/ProblemList.txt Changeset: 831b35fa Author: Brian Burkhalter Date: 2022-12-15 17:27:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/831b35fad352887717d5cc8f001ad822ac9a5c46 7093322: (fs spec) Files.newBufferedWriter should be clear when coding errors are detected Reviewed-by: alanb ! src/java.base/share/classes/java/nio/file/Files.java Changeset: 0ef35392 Author: Naoto Sato Date: 2022-12-15 19:20:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0ef353925e645dd519e17aeb7a83e927271f8b95 8298416: Console should be declared `sealed` Reviewed-by: jpai, alanb ! src/java.base/share/classes/java/io/Console.java + src/java.base/share/classes/java/io/ConsoleImpl.java ! src/java.base/unix/native/libjava/Console_md.c Changeset: ae8988e8 Author: Julian Waters Committer: Vladimir Kozlov Date: 2022-12-15 19:38:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ae8988e834032d9d6a4b644c3ebf9ee1957c9522 8297912: HotSpot Style Guide should permit alignas (Second Proposal Attempt) Reviewed-by: kbarrett, stuefe, kvn ! doc/hotspot-style.html ! doc/hotspot-style.md Changeset: 4b313b51 Author: Matthew Donovan Committer: Rajan Halade Date: 2022-12-15 19:48:35 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4b313b51b1787113961c289a41708e31fa19cacc 8297798: Timeout with DTLSOverDatagram test template Reviewed-by: jnimeh, rhalade ! test/jdk/ProblemList.txt ! test/jdk/javax/net/ssl/DTLS/DTLSOverDatagram.java ! test/jdk/javax/net/ssl/DTLS/InvalidRecords.java Changeset: 10737e16 Author: Coleen Phillimore Date: 2022-12-15 19:54:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/10737e168c967a08e257927251861bf2c14795ab 8298468: Clean up class_loader parameters Reviewed-by: dholmes, iklam ! src/hotspot/share/cds/cdsProtectionDomain.cpp ! src/hotspot/share/classfile/loaderConstraints.cpp ! src/hotspot/share/classfile/loaderConstraints.hpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/classfile/systemDictionary.hpp Changeset: 3cdbd878 Author: David Holmes Date: 2022-12-15 21:15:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3cdbd878e68dc1131093137a7357710ad303ae8c 8298241: Replace C-style casts with JavaThread::cast Reviewed-by: coleenp, stefank, sspitsyn ! src/hotspot/cpu/aarch64/frame_aarch64.cpp ! src/hotspot/os/posix/signals_posix.cpp ! src/hotspot/os_cpu/bsd_aarch64/javaThread_bsd_aarch64.cpp ! src/hotspot/os_cpu/windows_aarch64/javaThread_windows_aarch64.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/jvmci/jvmci.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/oops/instanceStackChunkKlass.cpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/prims/jvmtiEnv.cpp ! src/hotspot/share/prims/jvmtiEnvBase.cpp ! src/hotspot/share/prims/jvmtiImpl.cpp ! src/hotspot/share/prims/scopedMemoryAccess.cpp ! src/hotspot/share/runtime/continuation.cpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/objectMonitor.cpp ! src/hotspot/share/runtime/synchronizer.cpp Changeset: 54124394 Author: Brian Burkhalter Date: 2022-12-15 22:47:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5412439445fadcf66101018a9bd051f8e5d751e8 8298187: (fs) BsdFileAttributeViews::setTimes does not support lastAccessTime on HFS+ Reviewed-by: alanb ! src/java.base/macosx/classes/sun/nio/fs/BsdFileAttributeViews.java ! src/java.base/macosx/classes/sun/nio/fs/BsdNativeDispatcher.java ! src/java.base/macosx/native/libnio/fs/BsdNativeDispatcher.c ! src/java.base/share/classes/java/nio/file/attribute/BasicFileAttributeView.java ! src/java.base/unix/classes/sun/nio/fs/UnixConstants.java.template Changeset: 2bb727c4 Author: Sergey Bylokhov Date: 2022-12-16 00:43:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2bb727c4eaf8a948f17f6416a1e6fbaeade4d7ce 8290899: java/lang/String/StringRepeat.java test requests too much heap on windows x86 Reviewed-by: jpai, phh ! test/jdk/java/lang/String/StringRepeat.java Changeset: a3364612 Author: David Holmes Date: 2022-12-16 01:08:30 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a3364612f7d49f3633661b9ba4e9b721534cafad 8298081: DiagnoseSyncOnValueBasedClasses doesn't report useful information for virtual threads Reviewed-by: gziemski, pchilanomate ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/synchronizer.cpp ! test/hotspot/jtreg/runtime/Monitor/SyncOnValueBasedClassTest.java Changeset: e41686b4 Author: Jaikiran Pai Date: 2022-12-16 05:16:40 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e41686b4050d6b32fb451de8af39a78ec8bed0fd 8298710: Fix typos in test/jdk/sun/security/tools/jarsigner/ Co-authored-by: Michael Ernst Reviewed-by: lancea ! test/jdk/javax/security/auth/x500/X500Principal/EscapedChars.java ! test/jdk/sun/security/tools/jarsigner/DigestDontIgnoreCase.java ! test/jdk/sun/security/tools/jarsigner/FindHeaderEndVsManifestDigesterFindFirstSection.java Changeset: fa322e40 Author: Jaikiran Pai Date: 2022-12-16 07:10:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/fa322e40b68abf0a253040d14414d41f4e01e028 8298709: Fix typos in src/java.desktop/ and various test classes of client component Co-authored-by: Michael Ernst Reviewed-by: iris, prr ! src/java.desktop/share/classes/javax/swing/text/Document.java ! test/jdk/java/awt/Multiscreen/DeviceIdentificationTest/DeviceIdentificationTest.java ! test/jdk/java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest.java ! test/jdk/java/awt/print/PrinterJob/PageFormatChange.java ! test/jdk/javax/imageio/stream/DeleteOnExitTest.sh ! test/jdk/javax/print/attribute/ServiceDlgPageRangeTest.java ! test/jdk/javax/sound/midi/Sequencer/SequencerState.java ! test/jdk/javax/swing/JColorChooser/Test4193384.java ! test/jdk/sanity/client/SwingSet/src/EditorPaneDemoTest.java ! test/jdk/sanity/client/SwingSet/src/TabbedPaneDemoTest.java ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/tree/resources/TreeDemo.properties ! test/jdk/sanity/client/lib/jemmy/src/org/netbeans/jemmy/WindowWaiter.java ! test/jdk/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/ComponentOperator.java ! test/jdk/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/JTreeOperator.java ! test/jdk/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/Operator.java ! test/jdk/sun/java2d/pipe/hw/RSLAPITest/RSLAPITest.java Changeset: 226e579c Author: Fei Yang Date: 2022-12-16 08:45:52 +0000 URL: https://git.openjdk.org/panama-foreign/commit/226e579c3004a37a09f3329a8ef09c0933126bd6 8298088: RISC-V: Make Address a discriminated union internally Reviewed-by: fjiang, yadongwang, shade ! src/hotspot/cpu/riscv/assembler_riscv.cpp ! src/hotspot/cpu/riscv/assembler_riscv.hpp Changeset: 4e9fca49 Author: duke Date: 2022-12-16 11:00:17 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4e9fca49424214cba26549c2fa0d02ae142ddb73 Automatic merge of jdk:master into master Changeset: f13fc898 Author: duke Date: 2022-12-16 11:00:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f13fc898ab92dbfffae9241befe620a56b7c2b1e Automatic merge of master into foreign-memaccess+abi ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVx64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVx64Linker.java From duke at openjdk.org Fri Dec 16 11:14:18 2022 From: duke at openjdk.org (duke) Date: Fri, 16 Dec 2022 11:14:18 GMT Subject: git: openjdk/panama-foreign: master: 97 new changesets Message-ID: Changeset: 33d955ad Author: Gui Cao Committer: Julian Waters Date: 2022-12-09 12:43:47 +0000 URL: https://git.openjdk.org/panama-foreign/commit/33d955ad6e46eecd947e958ce295f6a6c348b2a6 8298345: Fix another two C2 IR matching tests for RISC-V Reviewed-by: fyang, dzhang, fjiang ! test/hotspot/jtreg/compiler/c2/irTests/TestAutoVectorization2DArray.java ! test/hotspot/jtreg/compiler/lib/ir_framework/TestFramework.java ! test/hotspot/jtreg/compiler/vectorization/TestAutoVecIntMinMax.java Changeset: e3c6cf8e Author: Sergey Tsypanov Committer: Julian Waters Date: 2022-12-09 12:50:55 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e3c6cf8eaf931d9eb46b429a5ba8d3bbded3728a 8298380: Clean up redundant array length checks in JDK code base Reviewed-by: dholmes, amenkov, serb, vtewari ! src/java.base/linux/classes/sun/nio/fs/LinuxWatchService.java ! src/java.base/share/classes/java/nio/file/spi/FileSystemProvider.java ! src/java.base/share/classes/jdk/internal/jrtfs/JrtPath.java ! src/java.base/share/classes/sun/nio/fs/PollingWatchService.java ! src/java.desktop/macosx/classes/com/apple/laf/AquaFileChooserUI.java ! src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/Assumptions.java ! src/jdk.jconsole/share/classes/sun/tools/jconsole/inspector/XTree.java ! src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipPath.java Changeset: 05b0a018 Author: Albert Mingkun Yang Date: 2022-12-09 13:26:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/05b0a018c736f79acc99043d5e0e556658b93ab8 8298281: Serial: Refactor MarkAndPushClosure Reviewed-by: stefank, sjohanss ! src/hotspot/share/gc/serial/markSweep.cpp ! src/hotspot/share/gc/serial/markSweep.hpp ! src/hotspot/share/gc/serial/markSweep.inline.hpp Changeset: b30b464d Author: Roman Kennke Date: 2022-12-09 14:52:27 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b30b464d054716bbc3d4d70633b740b227b8775d 8297036: Generalize C2 stub mechanism Co-authored-by: Aleksey Shipilev Co-authored-by: Xiaolin Zheng Reviewed-by: eosterlund, kvn, fyang ! src/hotspot/cpu/aarch64/aarch64.ad + src/hotspot/cpu/aarch64/c2_CodeStubs_aarch64.cpp ! src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp - src/hotspot/cpu/aarch64/c2_safepointPollStubTable_aarch64.cpp + src/hotspot/cpu/ppc/c2_CodeStubs_ppc.cpp - src/hotspot/cpu/ppc/c2_safepointPollStubTable_ppc.cpp ! src/hotspot/cpu/ppc/ppc.ad + src/hotspot/cpu/riscv/c2_CodeStubs_riscv.cpp ! src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp - src/hotspot/cpu/riscv/c2_safepointPollStubTable_riscv.cpp ! src/hotspot/cpu/riscv/riscv.ad + src/hotspot/cpu/x86/c2_CodeStubs_x86.cpp ! src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp - src/hotspot/cpu/x86/c2_safepointPollStubTable_x86.cpp ! src/hotspot/cpu/x86/x86_32.ad ! src/hotspot/cpu/x86/x86_64.ad + src/hotspot/share/opto/c2_CodeStubs.cpp + src/hotspot/share/opto/c2_CodeStubs.hpp ! src/hotspot/share/opto/c2_MacroAssembler.hpp ! src/hotspot/share/opto/output.cpp ! src/hotspot/share/opto/output.hpp Changeset: 93465354 Author: Xin Liu Date: 2022-12-09 16:49:47 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9346535415b158aaaa679ef8c3c147595b5206e9 8298320: Typo in the comment block of catch_inline_exception Reviewed-by: thartmann ! src/hotspot/share/opto/doCall.cpp Changeset: f729f5b6 Author: Thomas Stuefe Date: 2022-12-09 17:46:28 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f729f5b6d01b0d3a0ee21f50199ca30935c8237a 8298298: NMT: count deltas are printed with 32-bit signed size Reviewed-by: shade, dholmes ! src/hotspot/share/services/memReporter.cpp ! src/hotspot/share/utilities/globalDefinitions.hpp ! src/hotspot/share/utilities/globalDefinitions_visCPP.hpp ! test/hotspot/gtest/utilities/test_globalDefinitions.cpp Changeset: 99a6c478 Author: Chris Plummer Date: 2022-12-09 18:42:35 +0000 URL: https://git.openjdk.org/panama-foreign/commit/99a6c47855ad82e81a80726cf3aa4522c547716d 8298073: gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java causes test task timeout on macosx 8241293: CompressedClassSpaceSizeInJmapHeap.java time out after 8 minutes Reviewed-by: ayang, sspitsyn ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java Changeset: 7dbdd83d Author: Joe Darcy Date: 2022-12-09 19:54:46 +0000 URL: https://git.openjdk.org/panama-foreign/commit/7dbdd83da0eefd56927bdb68d7aedfee5c0c0ab5 8298190: Update --release 20 symbol information for JDK 20 build 27 Reviewed-by: iris ! src/jdk.compiler/share/data/symbols/java.base-K.sym.txt ! src/jdk.compiler/share/data/symbols/java.management-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.compiler-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.incubator.concurrent-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.incubator.vector-K.sym.txt ! src/jdk.compiler/share/data/symbols/jdk.jfr-K.sym.txt = src/jdk.compiler/share/data/symbols/jdk.management.jfr-K.sym.txt ! src/jdk.compiler/share/data/symbols/symbols Changeset: 9749a436 Author: Artem Semenov Date: 2022-12-09 20:05:19 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9749a436418a2e2bcd1571e2fd6f16e3461cf883 8298457: Instructions in a11y manual tests need to be updated Reviewed-by: kizune, serb ! test/jdk/java/awt/a11y/AccessibleActionsTest.java ! test/jdk/java/awt/a11y/AccessibleJTabbedPaneTest.java ! test/jdk/java/awt/a11y/AccessibleTextTest.java Changeset: 553ba65d Author: Daniel D. Daugherty Date: 2022-12-08 20:19:18 +0000 URL: https://git.openjdk.org/panama-foreign/commit/553ba65dc44b601e048c53cd1c48d668de9dcf1e 8298402: ProblemList javax/swing/JFileChooser/4847375/bug4847375.java on windows-x64 8298414: ProblemList gc/TestFullGCCount.java on linux-x64 8298417: ProblemList vmTestbase/nsk/stress/strace/strace004.java on 2 platforms 8298419: ProblemList vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Multi/Multi005/TestDescription.java on windows-x64 Reviewed-by: rriggs ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 133ad8e1 Author: Jan Lahoda Date: 2022-12-09 11:11:46 +0000 URL: https://git.openjdk.org/panama-foreign/commit/133ad8e1734f002f013dd3c73d496e323e9e881e 8297988: NPE in JavacTypes.getOverriddenMethods from doclint Reviewed-by: vromero, jjg ! src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java ! test/langtools/tools/javac/modules/EdgeCases.java Changeset: 5a92bee1 Author: Erik Gahlin Date: 2022-12-09 15:21:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5a92bee1858f4d08392158217302d3703bb3c770 8298455: JFR: Add logging to TestClose.java Reviewed-by: mgronlun ! test/jdk/jdk/jfr/api/consumer/recordingstream/TestClose.java Changeset: 05d67f69 Author: Daniel Fuchs Date: 2022-12-09 15:23:22 +0000 URL: https://git.openjdk.org/panama-foreign/commit/05d67f69e34a76702406b36436ddb5db18e8fa68 8298340: java/net/httpclient/CancelRequestTest.java fails with AssertionError: Found some subscribers for testPostInterrupt Reviewed-by: jpai ! src/java.net.http/share/classes/jdk/internal/net/http/Http2Connection.java ! src/java.net.http/share/classes/jdk/internal/net/http/Stream.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/HttpBodySubscriberWrapper.java ! test/jdk/java/net/httpclient/CancelRequestTest.java Changeset: b7b996cb Author: Roland Westrelin Date: 2022-12-09 15:33:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b7b996cb9475f8191d4085a2f7f68187b6f015d5 8298353: C2 fails with assert(opaq->outcnt() == 1 && opaq->in(1) == limit) failed Reviewed-by: chagedorn, thartmann, kvn ! src/hotspot/share/opto/loopopts.cpp + test/hotspot/jtreg/compiler/loopopts/TestBadCountedLoopLimit.java Changeset: 52fffdd2 Author: Jan Lahoda Date: 2022-12-09 16:41:26 +0000 URL: https://git.openjdk.org/panama-foreign/commit/52fffdd2c8426e98d3a0198ef4607750732bab93 8298463: tools/javac/modules/EdgeCases.java fails on Windows after JDK-8297988 Reviewed-by: jjg ! test/langtools/tools/javac/modules/EdgeCases.java Changeset: a8946490 Author: Tyler Steele Date: 2022-12-09 17:04:11 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a8946490e2b362d241c61cc459dbaba93fc93ca4 8298225: [AIX] Disable PPC64LE continuations on AIX Reviewed-by: rrich, mdoerr ! src/hotspot/cpu/ppc/globals_ppc.hpp ! src/hotspot/cpu/ppc/ppc.ad Changeset: 715bf704 Author: Jesper Wilhelmsson Date: 2022-12-09 22:00:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/715bf7045968e341182e61343651f464a437f83f Merge ! src/hotspot/cpu/ppc/ppc.ad ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt ! src/hotspot/cpu/ppc/ppc.ad ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 478ef389 Author: Xue-Lei Andrew Fan Date: 2022-12-09 22:37:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/478ef389dc3767edfbe21d10a7f7f1522c648c2e 8296812: sprintf is deprecated in Xcode 14 Reviewed-by: stuefe, prr, kbarrett, lucy ! src/hotspot/cpu/aarch64/vm_version_aarch64.cpp ! src/hotspot/os/bsd/attachListener_bsd.cpp ! src/hotspot/os/bsd/os_bsd.cpp ! src/hotspot/share/adlc/adlc.hpp ! src/hotspot/share/adlc/adlparse.cpp ! src/hotspot/share/adlc/archDesc.cpp ! src/hotspot/share/adlc/dfa.cpp ! src/hotspot/share/adlc/formssel.cpp ! src/hotspot/share/adlc/main.cpp ! src/hotspot/share/adlc/output_c.cpp ! src/hotspot/share/c1/c1_Runtime1.cpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/code/dependencies.cpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/interpreter/bootstrapInfo.cpp ! src/hotspot/share/jfr/support/jfrSymbolTable.cpp ! src/hotspot/share/jvmci/jvmciCompilerToVMInit.cpp ! src/hotspot/share/prims/wbtestmethods/parserTests.cpp ! src/hotspot/share/runtime/deoptimization.cpp ! src/hotspot/share/runtime/os.cpp ! src/hotspot/share/runtime/os.hpp ! src/hotspot/share/runtime/perfData.cpp ! src/hotspot/share/utilities/debug.cpp ! src/hotspot/share/utilities/utf8.cpp ! src/java.desktop/macosx/native/libjsound/PLATFORM_API_MacOSX_Ports.cpp Changeset: 8ea2a677 Author: Sangheon Kim Date: 2022-12-09 23:31:17 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8ea2a6777b68986df9d191f1bf983549d72cb3f8 8292265: Add old gen used field at G1HeapSummary JFR event Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/shared/gcHeapSummary.hpp ! src/hotspot/share/gc/shared/gcTraceSend.cpp ! src/hotspot/share/jfr/metadata/metadata.xml Changeset: a37de62d Author: Ioi Lam Date: 2022-12-11 02:58:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a37de62d9ddadf1490ee59bd03224e8cea70a75b 8298126: Print statistics for objects in CDS archive heap Reviewed-by: ccheung ! src/hotspot/share/cds/heapShared.cpp ! src/hotspot/share/cds/heapShared.hpp Changeset: d646e32b Author: Andrey Turbanov Date: 2022-12-12 07:36:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d646e32b7a0f8e4a66f06e15e289d4ed70b8250e 8298090: Use String.join() instead of manual loop in DescriptorSupport.toString Reviewed-by: stsypanov, sspitsyn, lmesnik ! src/java.management/share/classes/javax/management/modelmbean/DescriptorSupport.java Changeset: 8e5c3319 Author: Albert Mingkun Yang Date: 2022-12-12 11:17:22 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8e5c3319d0c494eb60aa043f3daf3566d78a9f7b 8298471: Parallel: Don't keep alive nmethods in Young GC Reviewed-by: stefank, iwalulya ! src/hotspot/share/gc/parallel/psScavenge.cpp Changeset: 6c23b4fd Author: Albert Mingkun Yang Date: 2022-12-12 11:18:33 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6c23b4fd0d7883bdcdf20438c21fe226c8de19f5 8298480: Remove unused KlassRemSet Reviewed-by: stefank ! src/hotspot/share/gc/shared/genOopClosures.hpp Changeset: fabda246 Author: Emanuel Peter Date: 2022-12-12 12:11:02 +0000 URL: https://git.openjdk.org/panama-foreign/commit/fabda246960cfdfff13c5a87de53d97169248172 8296389: C2: PhaseCFG::convert_NeverBranch_to_Goto must handle both orders of successors Reviewed-by: thartmann, chagedorn ! src/hotspot/share/gc/g1/c2/g1BarrierSetC2.cpp ! src/hotspot/share/gc/shenandoah/c2/shenandoahBarrierSetC2.cpp ! src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp ! src/hotspot/share/opto/block.cpp ! src/hotspot/share/opto/cfgnode.hpp ! src/hotspot/share/opto/loopPredicate.cpp ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/loopopts.cpp ! src/hotspot/share/opto/node.hpp + test/hotspot/jtreg/compiler/loopopts/TestPhaseCFGNeverBranchToGoto.jasm + test/hotspot/jtreg/compiler/loopopts/TestPhaseCFGNeverBranchToGotoMain.java Changeset: 56c438bf Author: Per Minborg Committer: Daniel Fuchs Date: 2022-12-12 13:33:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/56c438bfc278307ec1f97dfba60253ae6b64df44 8297822: De-duplicate code in module jdk.sctp Reviewed-by: dfuchs, rriggs ! make/modules/jdk.sctp/Java.gmk - src/jdk.sctp/aix/classes/sun/nio/ch/sctp/SctpChannelImpl.java - src/jdk.sctp/aix/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java - src/jdk.sctp/aix/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java - src/jdk.sctp/macosx/classes/sun/nio/ch/sctp/SctpChannelImpl.java - src/jdk.sctp/macosx/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java - src/jdk.sctp/macosx/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java + src/jdk.sctp/share/classes/sun/nio/ch/sctp/UnsupportedUtil.java - src/jdk.sctp/windows/classes/sun/nio/ch/sctp/SctpChannelImpl.java - src/jdk.sctp/windows/classes/sun/nio/ch/sctp/SctpMultiChannelImpl.java - src/jdk.sctp/windows/classes/sun/nio/ch/sctp/SctpServerChannelImpl.java Changeset: 81f57d56 Author: Per Minborg Committer: Roger Riggs Date: 2022-12-12 17:06:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/81f57d568fc687a484f96a8638fa4cdd29374f0e 8298567: Make field in RandomAccessFile final Reviewed-by: rriggs, chegar ! src/java.base/share/classes/java/io/RandomAccessFile.java Changeset: 9ff85f65 Author: Per Minborg Committer: Daniel Fuchs Date: 2022-12-12 17:22:17 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9ff85f65774c0a81ed10500d3591cd79b440aed0 8298589: java/net/SctpSanity.java fail with NoClassDefFoundError: sun/nio/ch/sctp/UnsupportedUtil Reviewed-by: alanb ! make/modules/jdk.sctp/Java.gmk Changeset: 781a2e0b Author: Chris Plummer Date: 2022-12-12 18:29:58 +0000 URL: https://git.openjdk.org/panama-foreign/commit/781a2e0b2d7d0f36387837de6f50ff087502d317 8298343: "Could not confirm if TargetJDK is hardened." warning for SA tests on macosx-aarch64-debug Reviewed-by: amenkov, kevinw ! test/lib/jdk/test/lib/Platform.java Changeset: c7aca731 Author: Brent Christian Date: 2022-12-12 19:36:55 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c7aca73177339f931f7dfb6627365548a32874f7 8295857: Clarify that cleanup code can be skipped when the JVM terminates (e.g. when calling halt()) Reviewed-by: lancea, bpb, naoto, dholmes, smarks ! src/java.base/share/classes/java/lang/Runtime.java Changeset: c3bc4fcb Author: Per Minborg Committer: Valerie Peng Date: 2022-12-12 21:51:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c3bc4fcb3d0a8bd2eb308fae90a4cb865b216cb8 8297505: Declare fields in some sun.security.pkcs11 classes as final Reviewed-by: valeriep ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Config.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11AEADCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Key.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11KeyWrapCipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11RSACipher.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11TlsRsaPremasterSecretGenerator.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11Util.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Session.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/SessionManager.java ! src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/Token.java Changeset: be69930d Author: David Holmes Date: 2022-12-12 22:20:16 +0000 URL: https://git.openjdk.org/panama-foreign/commit/be69930d9d72fe5b1c2b642943cc7d4347979ca6 8288287: Remove expired flags in JDK 21 Reviewed-by: kvn, rehn ! src/hotspot/share/runtime/arguments.cpp ! src/java.base/share/man/java.1 Changeset: 829cbc2c Author: David Holmes Date: 2022-12-13 00:04:38 +0000 URL: https://git.openjdk.org/panama-foreign/commit/829cbc2cb16cfe4ad23df934768cb820e79511d8 8292674: ReportJNIFatalError should print all java frames Reviewed-by: pchilanomate ! src/hotspot/share/prims/jni.cpp ! src/hotspot/share/prims/jniCheck.cpp ! src/hotspot/share/prims/jniCheck.hpp ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! test/hotspot/jtreg/runtime/jni/checked/TestPrimitiveArrayCriticalWithBadParam.java Changeset: 173778e2 Author: Fei Yang Date: 2022-12-13 00:57:02 +0000 URL: https://git.openjdk.org/panama-foreign/commit/173778e2fee58e47d35197b78eb23f46154b5b2b 8298568: Fastdebug build fails after JDK-8296389 Reviewed-by: rkennke, kvn, haosun ! src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp Changeset: 3b1142a2 Author: Prasanta Sadhukhan Date: 2022-12-13 10:21:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3b1142a280d66b2f5f7b4afbc76e940fdc30b463 8298618: Typo in JPEGImageReader and JPEGImageWriter Reviewed-by: iris, jdv, abhiscxk ! src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageReader.java ! src/java.desktop/share/classes/com/sun/imageio/plugins/jpeg/JPEGImageWriter.java Changeset: dbcfe7bc Author: Yude Lin Committer: Thomas Schatzl Date: 2022-12-13 10:26:05 +0000 URL: https://git.openjdk.org/panama-foreign/commit/dbcfe7bc335846cd154dd78822fb64b7970ff9d2 8298521: Rename members in G1MonitoringSupport Reviewed-by: ayang, tschatzl ! src/hotspot/share/gc/g1/g1MonitoringSupport.cpp ! src/hotspot/share/gc/g1/g1MonitoringSupport.hpp Changeset: c612f93e Author: Albert Mingkun Yang Date: 2022-12-13 13:37:33 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c612f93e5a63cc94da6634c3cf361eb87582f129 8298576: Serial: Move some MarkSweep method definitions to cpp Reviewed-by: stefank, tschatzl ! src/hotspot/share/gc/serial/markSweep.cpp ! src/hotspot/share/gc/serial/markSweep.inline.hpp Changeset: 216775ff Author: Albert Mingkun Yang Date: 2022-12-13 14:28:40 +0000 URL: https://git.openjdk.org/panama-foreign/commit/216775ff22e98dadac9ecd9d2cd756d136fd3bd0 8298144: Remove Space::new_dcto_cl Reviewed-by: stefank, tschatzl ! src/hotspot/share/gc/shared/cardTableRS.cpp ! src/hotspot/share/gc/shared/cardTableRS.hpp ! src/hotspot/share/gc/shared/space.cpp ! src/hotspot/share/gc/shared/space.hpp Changeset: 4081bba8 Author: Albert Mingkun Yang Date: 2022-12-13 14:29:46 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4081bba86900d03f195258ca88d51321d31d3678 8297960: G1: Move Root Region Scan Waiting outside collection in logs Reviewed-by: iwalulya, tschatzl ! src/hotspot/share/gc/g1/g1GCPhaseTimes.cpp Changeset: 042b7062 Author: Axel Boldt-Christmas Date: 2022-12-13 15:43:16 +0000 URL: https://git.openjdk.org/panama-foreign/commit/042b7062f19b313f31b228bd96d2a74cc1165ab9 8297235: ZGC: assert(regs[i] != regs[j]) failed: Multiple uses of register: rax Reviewed-by: eosterlund, ayang, rcastanedalo ! src/hotspot/cpu/x86/gc/z/z_x86_64.ad ! test/jdk/ProblemList-zgc.txt Changeset: d624debe Author: Christoph Langer Date: 2022-12-11 13:50:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d624debe23f60d778d7be43f28d06e9454057217 8298459: Fix msys2 linking and handling out of tree build directory for source zip creation Reviewed-by: erikj ! make/ZipSource.gmk ! make/common/MakeBase.gmk Changeset: cf93933e Author: Severin Gehwolf Date: 2022-12-12 15:49:31 +0000 URL: https://git.openjdk.org/panama-foreign/commit/cf93933e21d146fe296b1e4b8e2ef06b699175d6 8298271: java/security/SignedJar/spi-calendar-provider/TestSPISigned.java failing on Windows Reviewed-by: mullan ! test/jdk/ProblemList.txt ! test/jdk/java/security/SignedJar/spi-calendar-provider/TestSPISigned.java Changeset: 0267aa52 Author: Naoto Sato Date: 2022-12-12 17:59:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0267aa528b83be9914fee4bea8f548b8404b31f8 8297288: Example code in Scanner class Reviewed-by: lancea, bpb, alanb ! src/java.base/share/classes/java/util/Scanner.java Changeset: 8962c723 Author: Alexander Matveev Date: 2022-12-12 22:51:02 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8962c723a8ae62a8638e9e0a89c20001aea1549a 8298488: [macos13] tools/jpackage tests failing with "Exit code: 137" on macOS Reviewed-by: asemenyuk ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacAppImageBuilder.java ! test/jdk/tools/jpackage/helpers/jdk/jpackage/test/TKit.java ! test/jdk/tools/jpackage/share/AppContentTest.java Changeset: d4531903 Author: Coleen Phillimore Date: 2022-12-13 00:49:16 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d4531903007dbe8dcdd163e423d23e8cefba61c8 8296955: Kitchensink.java failed with "double free or corruption (!prev): " Reviewed-by: kbarrett, eosterlund, sspitsyn, dcubed ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/method.hpp Changeset: 04b8d0cf Author: Coleen Phillimore Date: 2022-12-13 13:02:23 +0000 URL: https://git.openjdk.org/panama-foreign/commit/04b8d0cf5c964e16c583b66d9ab43a8c9a85fd72 8298084: Memory leak in Method::build_profiling_method_data Co-authored-by: Justin King Reviewed-by: kbarrett, eosterlund, dholmes, jcking, thartmann ! src/hotspot/share/memory/metadataFactory.hpp ! src/hotspot/share/oops/instanceKlass.cpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/method.cpp ! src/hotspot/share/oops/methodData.cpp ! src/hotspot/share/oops/methodData.hpp Changeset: 23e18275 Author: Jesper Wilhelmsson Date: 2022-12-13 16:42:35 +0000 URL: https://git.openjdk.org/panama-foreign/commit/23e18275ac2a7297ba806a1835fabb7141949967 Merge ! test/jdk/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 68022770 Author: Ioi Lam Date: 2022-12-13 19:35:30 +0000 URL: https://git.openjdk.org/panama-foreign/commit/68022770dedb78f9e6d26c17d76ea6df2f17600b 8298524: Debug function to trace reachability of CDS archived heap objects Reviewed-by: ccheung ! src/hotspot/share/cds/cdsHeapVerifier.cpp ! src/hotspot/share/cds/cdsHeapVerifier.hpp Changeset: a120764c Author: Alex Menkov Date: 2022-12-13 19:49:16 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a120764cc4636b3b0cd128d43de148bdc3f4513b 8298514: vmTestbase/nsk/jdi/EventRequestManager/threadDeathRequests/thrdeathreq002/TestDescription.java fails with usage tracker Reviewed-by: cjplummer, sspitsyn ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventRequestManager/threadDeathRequests/thrdeathreq002.java Changeset: 220781fa Author: Alex Menkov Date: 2022-12-13 19:50:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/220781fa56a9c8d3b64c5c6578ffd76b9edb795c 8298513: vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy009/TestDescription.java fails with usage tracker Reviewed-by: cjplummer, sspitsyn, lmesnik ! test/hotspot/jtreg/vmTestbase/nsk/jdi/EventSet/suspendPolicy/suspendpolicy009.java Changeset: b754aa5e Author: Stefan Karlsson Date: 2022-12-14 11:04:49 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b754aa5e3f231aea8da5274c330dc55dd78b0f67 8298371: monitors_on_stack extracts unprocessed oops Reviewed-by: pchilanomate, rehn ! src/hotspot/share/runtime/continuationFreezeThaw.cpp Changeset: d32d6c02 Author: Matthijs Bijman Committer: Tobias Hartmann Date: 2022-12-14 11:30:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d32d6c028de4aed8d1f1ef70734d43f056a0ff34 8297791: update _max_classes in node type system Reviewed-by: thartmann ! src/hotspot/share/opto/node.hpp Changeset: ceca4fc9 Author: Albert Mingkun Yang Date: 2022-12-14 12:45:17 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ceca4fc9ec33808873a6e4f5d13619db455ce214 8298264: Merge OffsetTableContigSpace into TenuredSpace Reviewed-by: stefank, tschatzl ! src/hotspot/share/gc/serial/vmStructs_serial.hpp ! src/hotspot/share/gc/shared/space.cpp ! src/hotspot/share/gc/shared/space.hpp ! src/hotspot/share/gc/shared/space.inline.hpp - src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/OffsetTableContigSpace.java ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/shared/TenuredSpace.java Changeset: 9ee50370 Author: Albert Mingkun Yang Date: 2022-12-14 12:46:15 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9ee5037055a85a5d457a31392dc4ce1ca6c47768 8298636: Fix return value in WB_CountAliveClasses and WB_GetSymbolRefcount Reviewed-by: dholmes ! src/hotspot/share/prims/whitebox.cpp Changeset: 2e801e16 Author: Coleen Phillimore Date: 2022-12-14 12:47:08 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2e801e16ec40ce0e25d8679e21d7da347c52d7be 8298475: Remove JVM_ACC_PROMOTED_FLAGS Reviewed-by: sspitsyn, dcubed, dholmes ! src/hotspot/share/classfile/classFileParser.cpp ! src/hotspot/share/classfile/classFileParser.hpp ! src/hotspot/share/oops/instanceKlass.hpp ! src/hotspot/share/oops/instanceKlassMiscStatus.cpp ! src/hotspot/share/oops/instanceKlassMiscStatus.hpp ! src/hotspot/share/prims/jvmtiEnv.cpp ! src/hotspot/share/prims/jvmtiRedefineClasses.cpp ! src/hotspot/share/runtime/vmStructs.cpp ! src/hotspot/share/utilities/accessFlags.hpp ! src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/ClassConstants.java Changeset: ed8a2120 Author: Stefan Karlsson Date: 2022-12-14 14:34:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ed8a2120ca1e9756c6ab5eeebfe24c15d549f04e 8298376: ZGC: thaws stackChunk with stale oops Reviewed-by: eosterlund, pchilanomate ! src/hotspot/share/oops/stackChunkOop.hpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/runtime/continuationJavaClasses.hpp ! src/hotspot/share/runtime/continuationJavaClasses.inline.hpp Changeset: 0dce5b81 Author: Daniel Fuchs Date: 2022-12-14 16:39:32 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0dce5b811d64ac17b9580d6a2d8eca1df70990a1 8296610: java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java failed with "BindException: Address already in use: connect" Reviewed-by: michaelm ! test/jdk/java/net/HttpURLConnection/SetAuthenticator/HTTPSetAuthenticatorTest.java ! test/jdk/java/net/HttpURLConnection/SetAuthenticator/HTTPTestClient.java Changeset: c05dbac3 Author: Alexander Zvegintsev Date: 2022-12-14 16:51:41 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c05dbac3cbd8de3822191bcb5c34832c997bc4a9 8193547: Regression automated test '/open/test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.java' fails Reviewed-by: serb ! test/jdk/ProblemList.txt ! test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.java ! test/jdk/java/awt/Toolkit/DesktopProperties/rfe4758438.sh Changeset: 736fcd49 Author: Emanuel Peter Date: 2022-12-14 17:25:49 +0000 URL: https://git.openjdk.org/panama-foreign/commit/736fcd49f7cd3aa6f226b2e088415eaf05f97ee8 8296318: use-def assert: special case undetected loops nested in infinite loops Reviewed-by: chagedorn, kvn ! src/hotspot/share/opto/block.cpp ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/cfgnode.hpp ! src/hotspot/share/opto/loopnode.cpp + test/hotspot/jtreg/compiler/loopopts/TestUndetectedLoopInInfiniteLoop.java Changeset: 7241e358 Author: Chris Plummer Date: 2022-12-14 17:53:11 +0000 URL: https://git.openjdk.org/panama-foreign/commit/7241e358bfbb004897b84da3c154d7bdd96cb560 8298692: Fix typos in test/jdk/com/sun/jdi files Reviewed-by: amenkov, sspitsyn ! test/jdk/com/sun/jdi/ArgumentValuesTest.java ! test/jdk/com/sun/jdi/connect/spi/GeneratedConnectors.java ! test/jdk/com/sun/jdi/lib/jdb/Jdb.java Changeset: 8ff2928a Author: Thomas Schatzl Date: 2022-12-14 17:55:15 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8ff2928a04aeec8c09ff4a1ec4e83d4c9010950e 8297639: Remove preventive GCs in G1 Reviewed-by: ayang, iwalulya ! src/hotspot/share/gc/g1/g1AllocRegion.hpp ! src/hotspot/share/gc/g1/g1Allocator.cpp ! src/hotspot/share/gc/g1/g1Allocator.hpp ! src/hotspot/share/gc/g1/g1Allocator.inline.hpp ! src/hotspot/share/gc/g1/g1CollectedHeap.cpp ! src/hotspot/share/gc/g1/g1CollectionSet.cpp ! src/hotspot/share/gc/g1/g1CollectionSet.hpp ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp ! src/hotspot/share/gc/g1/g1VMOperations.cpp ! src/hotspot/share/gc/g1/g1VMOperations.hpp ! src/hotspot/share/gc/shared/gcCause.cpp ! src/hotspot/share/gc/shared/gcCause.hpp ! test/hotspot/jtreg/gc/g1/TestEvacuationFailure.java ! test/hotspot/jtreg/gc/g1/TestGCLogMessages.java ! test/hotspot/jtreg/gc/g1/TestVerifyGCType.java Changeset: ccb94acc Author: Chris Plummer Date: 2022-12-14 19:37:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ccb94acc442767a7047756806c8dc7ecacd8bae9 8287812: Cleanup JDWP agent GetEnv initialization Reviewed-by: alanb, sspitsyn ! src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c ! src/jdk.jdwp.agent/share/native/libjdwp/util.c Changeset: bf78f716 Author: Brent Christian Date: 2022-12-13 19:07:44 +0000 URL: https://git.openjdk.org/panama-foreign/commit/bf78f716bd3e58df24ff1e6f4a0104025379f821 8295857: Clarify that cleanup code can be skipped when the JVM terminates (e.g. when calling halt()) Reviewed-by: iris Backport-of: c7aca73177339f931f7dfb6627365548a32874f7 ! src/java.base/share/classes/java/lang/Runtime.java Changeset: c6f22b41 Author: Joe Darcy Date: 2022-12-13 20:48:13 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c6f22b416072a9be5436f45e2f595ceea228f3bd 8297305: Clarify that javax.lang.model.util.Elements.overrides is irreflexive Reviewed-by: jjg ! src/java.compiler/share/classes/javax/lang/model/util/Elements.java Changeset: 61ab16f7 Author: Jonathan Gibbons Date: 2022-12-13 23:20:43 +0000 URL: https://git.openjdk.org/panama-foreign/commit/61ab16f79a735a98b3c095daf1b541f4fc5413c0 8298700: Typo in DocTree comment Reviewed-by: darcy ! src/jdk.compiler/share/classes/com/sun/source/doctree/DocTree.java Changeset: 51f0a1ce Author: Christoph Langer Date: 2022-12-14 07:32:28 +0000 URL: https://git.openjdk.org/panama-foreign/commit/51f0a1ce4b0d72cf7e82e01f7014274d8b7d1575 8298527: Cygwin's uname -m returns different string than before Reviewed-by: erikj ! make/autoconf/build-aux/config.guess Changeset: 27d49711 Author: Roland Westrelin Date: 2022-12-14 10:03:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/27d4971182ab1cbe7e6bc40cd22c1c70661a3ab2 8298520: C2: assert(found_opaque == res) failed: wrong pattern Reviewed-by: thartmann, chagedorn ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/loopnode.hpp Changeset: 9bcdfc42 Author: Jan Lahoda Date: 2022-12-14 11:36:04 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9bcdfc428597e1465c8a014d816ef671420d22df 8298425: System.console().readLine() hangs in jshell Reviewed-by: naoto, alanb ! src/jdk.jshell/share/classes/jdk/jshell/execution/JdiDefaultExecutionControl.java + test/langtools/jdk/jshell/ConsoleTest.java Changeset: 0bbc4181 Author: Andrew Haley Date: 2022-12-14 13:32:21 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0bbc4181cdbccfc3a542f306ce1902cc2e9f36cb 8294902: Undefined Behavior in C2 regalloc with null references Reviewed-by: kvn, vlivanov ! src/hotspot/share/memory/arena.cpp ! src/hotspot/share/opto/bytecodeInfo.cpp ! src/hotspot/share/opto/chaitin.hpp ! src/hotspot/share/opto/postaloc.cpp ! src/hotspot/share/runtime/vmStructs.hpp ! src/hotspot/share/utilities/globalDefinitions.hpp ! src/hotspot/share/utilities/globalDefinitions_gcc.hpp Changeset: 27917014 Author: Kim Barrett Date: 2022-12-14 13:36:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/279170147a10ec2da2242b4dcb3279c41c471000 8298296: gc/TestFullGCCount.java fails with "System.gc collections miscounted." Reviewed-by: tschatzl, ayang ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/gc/TestFullGCCount.java Changeset: 0eeaf6b2 Author: Erik Gahlin Date: 2022-12-14 13:40:15 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0eeaf6b219758563712d951b3c6ff160ebeff52d 8298649: JFR: RemoteRecordingStream support for checkpoint event sizes beyond u4 Reviewed-by: mgronlun ! src/jdk.management.jfr/share/classes/jdk/management/jfr/DiskRepository.java Changeset: 581f9f23 Author: Axel Boldt-Christmas Date: 2022-12-14 14:10:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/581f9f2306835680cd6d5dbbe37f610fb4de4677 8297235: ZGC: assert(regs[i] != regs[j]) failed: Multiple uses of register: rax Reviewed-by: thartmann, rcastanedalo Backport-of: 042b7062f19b313f31b228bd96d2a74cc1165ab9 ! src/hotspot/cpu/x86/gc/z/z_x86_64.ad ! test/jdk/ProblemList-zgc.txt Changeset: a130c8a6 Author: Jesper Wilhelmsson Date: 2022-12-14 21:47:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a130c8a6688fcdda92e0f6295ec06f1591382328 Merge ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/utilities/globalDefinitions.hpp ! test/hotspot/jtreg/ProblemList.txt ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/utilities/globalDefinitions.hpp ! test/hotspot/jtreg/ProblemList.txt Changeset: 0ed6d0b4 Author: Alisen Chung Date: 2022-12-14 22:10:01 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0ed6d0b456e58e4122b97c3d12faabada0d8c530 8297296: java/awt/Mouse/EnterExitEvents/DragWindowTest.java fails with "No MouseReleased event on label!" Reviewed-by: psadhukhan, dnguyen ! test/jdk/ProblemList.txt ! test/jdk/java/awt/Mouse/EnterExitEvents/DragWindowTest.java Changeset: 3ef38241 Author: Coleen Phillimore Date: 2022-12-14 23:08:32 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3ef382416f5ff38cd44fa8d4e552f1935156e765 8298794: Remove JVM_ACC_PROMOTED_FLAGS breaks minimal build Reviewed-by: ayang, dcubed ! src/hotspot/share/oops/instanceKlassMiscStatus.cpp Changeset: d1085d1b Author: Matias Saavedra Silva Committer: Ioi Lam Date: 2022-12-15 05:03:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d1085d1be7bc798ced8d539062fa7a9a3ab0341c 8281946: VM.native_memory should report size of shareable memory Reviewed-by: stuefe, iklam ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! src/hotspot/share/services/memReporter.cpp ! test/hotspot/jtreg/runtime/NMT/SummarySanityCheck.java Changeset: ebc47104 Author: Per Minborg Committer: Maurizio Cimadamore Date: 2022-12-14 21:40:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ebc471040e03dc41829d57e1280cabd75b2ad53a 8298277: Replace "session" with "scope" for FFM access Reviewed-by: mcimadamore ! src/java.base/share/classes/jdk/internal/foreign/AbstractMemorySegmentImpl.java ! src/java.base/share/classes/jdk/internal/foreign/HeapMemorySegmentImpl.java ! src/java.base/share/classes/jdk/internal/foreign/MappedMemorySegmentImpl.java ! src/java.base/share/classes/jdk/internal/foreign/MemorySessionImpl.java ! src/java.base/share/classes/jdk/internal/foreign/NativeMemorySegmentImpl.java ! src/java.base/share/classes/jdk/internal/foreign/abi/Binding.java ! src/java.base/share/classes/jdk/internal/foreign/abi/BindingSpecializer.java ! src/java.base/share/classes/jdk/internal/foreign/abi/SharedUtils.java ! src/java.base/share/classes/jdk/internal/foreign/abi/UpcallLinker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/UpcallStubs.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/linux/LinuxAArch64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/linux/LinuxAArch64VaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/aarch64/macos/MacOsAArch64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVVaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/sysv/SysVx64Linker.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/CallArranger.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/WinVaList.java ! src/java.base/share/classes/jdk/internal/foreign/abi/x64/windows/Windowsx64Linker.java Changeset: 80cadd40 Author: Kim Barrett Date: 2022-12-14 21:57:55 +0000 URL: https://git.openjdk.org/panama-foreign/commit/80cadd40103cf1f490a5d70be784652e27588114 8298785: gc/TestFullGCCount.java fails with "invalid boolean value: `null' for expression `vm.opt.ExplicitGCInvokesConcurrent'" Reviewed-by: dcubed ! test/hotspot/jtreg/gc/TestFullGCCount.java Changeset: 10bc86cc Author: Jesper Wilhelmsson Date: 2022-12-15 06:36:55 +0000 URL: https://git.openjdk.org/panama-foreign/commit/10bc86cc260fac48bf10f67dd56aa73c6954f026 Merge Changeset: b9074fa1 Author: Daniel Jeli?ski Date: 2022-12-15 06:54:33 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b9074fa1ed489993d60ce873fd8105a95d30782a 8298249: Excessive memory allocation in CipherInputStream AEAD decryption Reviewed-by: ascarpino, valeriep ! src/java.base/share/classes/javax/crypto/CipherInputStream.java + test/micro/org/openjdk/bench/javax/crypto/full/AESGCMCipherInputStream.java Changeset: 3ae71872 Author: Daniel Jeli?ski Date: 2022-12-15 06:55:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3ae718725a72cc2758331e932130d846cfba64e4 8298498: sun/net/www/http/KeepAliveCache/B8291637.java fails with "Server exception terminating: java.net.SocketException: Socket closed" Reviewed-by: dfuchs, jpai ! test/jdk/sun/net/www/http/KeepAliveCache/B8291637.java Changeset: 5f63f7a7 Author: Alan Bateman Date: 2022-12-15 07:14:02 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5f63f7a742a1071a87ca69463bae6e04a44fe462 8298726: (fs) Change PollingWatchService to record last modified time as FileTime rather than milliseconds Reviewed-by: bpb, jpai ! src/java.base/share/classes/sun/nio/fs/PollingWatchService.java Changeset: 98fa48c3 Author: Matthias Baesken Date: 2022-12-15 08:11:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/98fa48c330941efe6588a907b383802a11ed0e6b 8298093: improve cleanup and error handling of awt_parseColorModel in awt_parseImage.c Reviewed-by: lucy, clanger ! src/java.desktop/share/native/libawt/awt/image/awt_parseImage.c Changeset: b17c5242 Author: Erik ?sterlund Date: 2022-12-15 09:26:13 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b17c52422c91ad1e7ff35844676f6269a1b87f79 8298059: Linked stack watermarks don't support nesting Reviewed-by: stefank, sspitsyn, rehn, pchilanomate ! src/hotspot/share/runtime/keepStackGCProcessed.cpp ! src/hotspot/share/runtime/stackWatermark.cpp ! src/hotspot/share/runtime/stackWatermark.hpp ! test/hotspot/jtreg/ProblemList-zgc.txt Changeset: 0288210f Author: Alexander Zvegintsev Date: 2022-12-15 16:43:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0288210f25e3d56870d1aa58ad076c97aad1c232 8298859: ProblemList java/awt/Mouse/EnterExitEvents/DragWindowTest.java on macosx-all Reviewed-by: jdv ! test/jdk/ProblemList.txt Changeset: 831b35fa Author: Brian Burkhalter Date: 2022-12-15 17:27:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/831b35fad352887717d5cc8f001ad822ac9a5c46 7093322: (fs spec) Files.newBufferedWriter should be clear when coding errors are detected Reviewed-by: alanb ! src/java.base/share/classes/java/nio/file/Files.java Changeset: 0ef35392 Author: Naoto Sato Date: 2022-12-15 19:20:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0ef353925e645dd519e17aeb7a83e927271f8b95 8298416: Console should be declared `sealed` Reviewed-by: jpai, alanb ! src/java.base/share/classes/java/io/Console.java + src/java.base/share/classes/java/io/ConsoleImpl.java ! src/java.base/unix/native/libjava/Console_md.c Changeset: ae8988e8 Author: Julian Waters Committer: Vladimir Kozlov Date: 2022-12-15 19:38:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ae8988e834032d9d6a4b644c3ebf9ee1957c9522 8297912: HotSpot Style Guide should permit alignas (Second Proposal Attempt) Reviewed-by: kbarrett, stuefe, kvn ! doc/hotspot-style.html ! doc/hotspot-style.md Changeset: 4b313b51 Author: Matthew Donovan Committer: Rajan Halade Date: 2022-12-15 19:48:35 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4b313b51b1787113961c289a41708e31fa19cacc 8297798: Timeout with DTLSOverDatagram test template Reviewed-by: jnimeh, rhalade ! test/jdk/ProblemList.txt ! test/jdk/javax/net/ssl/DTLS/DTLSOverDatagram.java ! test/jdk/javax/net/ssl/DTLS/InvalidRecords.java Changeset: 10737e16 Author: Coleen Phillimore Date: 2022-12-15 19:54:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/10737e168c967a08e257927251861bf2c14795ab 8298468: Clean up class_loader parameters Reviewed-by: dholmes, iklam ! src/hotspot/share/cds/cdsProtectionDomain.cpp ! src/hotspot/share/classfile/loaderConstraints.cpp ! src/hotspot/share/classfile/loaderConstraints.hpp ! src/hotspot/share/classfile/systemDictionary.cpp ! src/hotspot/share/classfile/systemDictionary.hpp Changeset: 3cdbd878 Author: David Holmes Date: 2022-12-15 21:15:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3cdbd878e68dc1131093137a7357710ad303ae8c 8298241: Replace C-style casts with JavaThread::cast Reviewed-by: coleenp, stefank, sspitsyn ! src/hotspot/cpu/aarch64/frame_aarch64.cpp ! src/hotspot/os/posix/signals_posix.cpp ! src/hotspot/os_cpu/bsd_aarch64/javaThread_bsd_aarch64.cpp ! src/hotspot/os_cpu/windows_aarch64/javaThread_windows_aarch64.cpp ! src/hotspot/share/classfile/javaClasses.cpp ! src/hotspot/share/jvmci/jvmci.cpp ! src/hotspot/share/jvmci/jvmciRuntime.cpp ! src/hotspot/share/oops/instanceStackChunkKlass.cpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/prims/jvmtiEnv.cpp ! src/hotspot/share/prims/jvmtiEnvBase.cpp ! src/hotspot/share/prims/jvmtiImpl.cpp ! src/hotspot/share/prims/scopedMemoryAccess.cpp ! src/hotspot/share/runtime/continuation.cpp ! src/hotspot/share/runtime/continuationFreezeThaw.cpp ! src/hotspot/share/runtime/frame.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/objectMonitor.cpp ! src/hotspot/share/runtime/synchronizer.cpp Changeset: 54124394 Author: Brian Burkhalter Date: 2022-12-15 22:47:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5412439445fadcf66101018a9bd051f8e5d751e8 8298187: (fs) BsdFileAttributeViews::setTimes does not support lastAccessTime on HFS+ Reviewed-by: alanb ! src/java.base/macosx/classes/sun/nio/fs/BsdFileAttributeViews.java ! src/java.base/macosx/classes/sun/nio/fs/BsdNativeDispatcher.java ! src/java.base/macosx/native/libnio/fs/BsdNativeDispatcher.c ! src/java.base/share/classes/java/nio/file/attribute/BasicFileAttributeView.java ! src/java.base/unix/classes/sun/nio/fs/UnixConstants.java.template Changeset: 2bb727c4 Author: Sergey Bylokhov Date: 2022-12-16 00:43:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2bb727c4eaf8a948f17f6416a1e6fbaeade4d7ce 8290899: java/lang/String/StringRepeat.java test requests too much heap on windows x86 Reviewed-by: jpai, phh ! test/jdk/java/lang/String/StringRepeat.java Changeset: a3364612 Author: David Holmes Date: 2022-12-16 01:08:30 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a3364612f7d49f3633661b9ba4e9b721534cafad 8298081: DiagnoseSyncOnValueBasedClasses doesn't report useful information for virtual threads Reviewed-by: gziemski, pchilanomate ! src/hotspot/share/runtime/javaThread.cpp ! src/hotspot/share/runtime/javaThread.hpp ! src/hotspot/share/runtime/synchronizer.cpp ! test/hotspot/jtreg/runtime/Monitor/SyncOnValueBasedClassTest.java Changeset: e41686b4 Author: Jaikiran Pai Date: 2022-12-16 05:16:40 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e41686b4050d6b32fb451de8af39a78ec8bed0fd 8298710: Fix typos in test/jdk/sun/security/tools/jarsigner/ Co-authored-by: Michael Ernst Reviewed-by: lancea ! test/jdk/javax/security/auth/x500/X500Principal/EscapedChars.java ! test/jdk/sun/security/tools/jarsigner/DigestDontIgnoreCase.java ! test/jdk/sun/security/tools/jarsigner/FindHeaderEndVsManifestDigesterFindFirstSection.java Changeset: fa322e40 Author: Jaikiran Pai Date: 2022-12-16 07:10:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/fa322e40b68abf0a253040d14414d41f4e01e028 8298709: Fix typos in src/java.desktop/ and various test classes of client component Co-authored-by: Michael Ernst Reviewed-by: iris, prr ! src/java.desktop/share/classes/javax/swing/text/Document.java ! test/jdk/java/awt/Multiscreen/DeviceIdentificationTest/DeviceIdentificationTest.java ! test/jdk/java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest.java ! test/jdk/java/awt/print/PrinterJob/PageFormatChange.java ! test/jdk/javax/imageio/stream/DeleteOnExitTest.sh ! test/jdk/javax/print/attribute/ServiceDlgPageRangeTest.java ! test/jdk/javax/sound/midi/Sequencer/SequencerState.java ! test/jdk/javax/swing/JColorChooser/Test4193384.java ! test/jdk/sanity/client/SwingSet/src/EditorPaneDemoTest.java ! test/jdk/sanity/client/SwingSet/src/TabbedPaneDemoTest.java ! test/jdk/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/tree/resources/TreeDemo.properties ! test/jdk/sanity/client/lib/jemmy/src/org/netbeans/jemmy/WindowWaiter.java ! test/jdk/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/ComponentOperator.java ! test/jdk/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/JTreeOperator.java ! test/jdk/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/Operator.java ! test/jdk/sun/java2d/pipe/hw/RSLAPITest/RSLAPITest.java Changeset: 226e579c Author: Fei Yang Date: 2022-12-16 08:45:52 +0000 URL: https://git.openjdk.org/panama-foreign/commit/226e579c3004a37a09f3329a8ef09c0933126bd6 8298088: RISC-V: Make Address a discriminated union internally Reviewed-by: fjiang, yadongwang, shade ! src/hotspot/cpu/riscv/assembler_riscv.cpp ! src/hotspot/cpu/riscv/assembler_riscv.hpp Changeset: 4e9fca49 Author: duke Date: 2022-12-16 11:00:17 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4e9fca49424214cba26549c2fa0d02ae142ddb73 Automatic merge of jdk:master into master From pminborg at openjdk.org Fri Dec 16 12:43:01 2022 From: pminborg at openjdk.org (Per Minborg) Date: Fri, 16 Dec 2022 12:43:01 GMT Subject: [foreign-memaccess+abi] RFR: Add benchmark Message-ID: This PR proposed to add a new benchmark outlining potential performance gains with the FFM API in internal JDK classes. ------------- Commit messages: - Add benchmark Changes: https://git.openjdk.org/panama-foreign/pull/761/files Webrev: https://webrevs.openjdk.org/?repo=panama-foreign&pr=761&range=00 Stats: 143 lines in 1 file changed: 143 ins; 0 del; 0 mod Patch: https://git.openjdk.org/panama-foreign/pull/761.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/761/head:pull/761 PR: https://git.openjdk.org/panama-foreign/pull/761 From mcimadamore at openjdk.org Fri Dec 16 12:58:13 2022 From: mcimadamore at openjdk.org (Maurizio Cimadamore) Date: Fri, 16 Dec 2022 12:58:13 GMT Subject: [foreign-memaccess+abi] RFR: Add benchmark In-Reply-To: References: Message-ID: On Fri, 16 Dec 2022 12:35:23 GMT, Per Minborg wrote: > This PR proposed to add a new benchmark outlining potential performance gains with the FFM API in internal JDK classes. Looks good! test/micro/org/openjdk/bench/java/lang/foreign/MemorySegmentVsBits.java line 2: > 1: /* > 2: * Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved. Nit: should this be 2022? test/micro/org/openjdk/bench/java/lang/foreign/MemorySegmentVsBits.java line 100: > 98: @Benchmark > 99: public void panamaHeap() { > 100: // for (int i = 0, o = 0; i < size; i++, o += 8) { Should we drop this line? ------------- Marked as reviewed by mcimadamore (Committer). PR: https://git.openjdk.org/panama-foreign/pull/761 From pminborg at openjdk.org Mon Dec 19 08:30:15 2022 From: pminborg at openjdk.org (Per Minborg) Date: Mon, 19 Dec 2022 08:30:15 GMT Subject: [foreign-memaccess+abi] RFR: Add benchmark In-Reply-To: References: Message-ID: On Fri, 16 Dec 2022 12:35:23 GMT, Per Minborg wrote: > This PR proposed to add a new benchmark outlining potential performance gains with the FFM API in internal JDK classes. Here is a run on a MacBook Pro (16-inch, 2021) M1 Max, , macOS 12.6.1: Benchmark (size) Mode Cnt Score Error Units MemorySegmentVsBits.bitsEquivalent 2 avgt 30 3,597 ? 0,021 ns/op MemorySegmentVsBits.bitsEquivalent 16 avgt 30 20,074 ? 0,082 ns/op MemorySegmentVsBits.bitsEquivalent 64 avgt 30 81,934 ? 0,328 ns/op MemorySegmentVsBits.bitsEquivalent 256 avgt 30 322,905 ? 1,041 ns/op MemorySegmentVsBits.panamaHeap 2 avgt 30 4,538 ? 0,021 ns/op MemorySegmentVsBits.panamaHeap 16 avgt 30 7,040 ? 0,078 ns/op MemorySegmentVsBits.panamaHeap 64 avgt 30 16,027 ? 0,022 ns/op MemorySegmentVsBits.panamaHeap 256 avgt 30 43,778 ? 0,090 ns/op MemorySegmentVsBits.panamaNative 2 avgt 30 4,564 ? 0,040 ns/op MemorySegmentVsBits.panamaNative 16 avgt 30 7,036 ? 0,059 ns/op MemorySegmentVsBits.panamaNative 64 avgt 30 17,237 ? 0,066 ns/op MemorySegmentVsBits.panamaNative 256 avgt 30 31,617 ? 0,129 ns/op MemorySegmentVsBits.panamaNativeUnaligned 2 avgt 30 4,334 ? 0,016 ns/op MemorySegmentVsBits.panamaNativeUnaligned 16 avgt 30 6,944 ? 0,044 ns/op MemorySegmentVsBits.panamaNativeUnaligned 64 avgt 30 17,220 ? 0,102 ns/op MemorySegmentVsBits.panamaNativeUnaligned 256 avgt 30 31,272 ? 0,184 ns/op ------------- PR: https://git.openjdk.org/panama-foreign/pull/761 From pminborg at openjdk.org Mon Dec 19 08:59:13 2022 From: pminborg at openjdk.org (Per Minborg) Date: Mon, 19 Dec 2022 08:59:13 GMT Subject: [foreign-memaccess+abi] RFR: Add benchmark [v2] In-Reply-To: References: Message-ID: > This PR proposed to add a new benchmark outlining potential performance gains with the FFM API in internal JDK classes. Per Minborg has updated the pull request incrementally with one additional commit since the last revision: Cleanup after comments ------------- Changes: - all: https://git.openjdk.org/panama-foreign/pull/761/files - new: https://git.openjdk.org/panama-foreign/pull/761/files/bd8531ff..3b27bcf6 Webrevs: - full: https://webrevs.openjdk.org/?repo=panama-foreign&pr=761&range=01 - incr: https://webrevs.openjdk.org/?repo=panama-foreign&pr=761&range=00-01 Stats: 3 lines in 1 file changed: 0 ins; 1 del; 2 mod Patch: https://git.openjdk.org/panama-foreign/pull/761.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/761/head:pull/761 PR: https://git.openjdk.org/panama-foreign/pull/761 From pminborg at openjdk.org Mon Dec 19 08:59:14 2022 From: pminborg at openjdk.org (Per Minborg) Date: Mon, 19 Dec 2022 08:59:14 GMT Subject: [foreign-memaccess+abi] RFR: Add benchmark In-Reply-To: References: Message-ID: <0_DedxHkQr3OZLI9jm2iAWtuale8QvyrDeYtW1CS76k=.2faeb17c-f989-4da9-b4af-fd02a4bbb9a7@github.com> On Fri, 16 Dec 2022 12:35:23 GMT, Per Minborg wrote: > This PR proposed to add a new benchmark outlining potential performance gains with the FFM API in internal JDK classes. All sizes: ![image](https://user-images.githubusercontent.com/7457876/208385153-e72654ab-69d4-470e-9d54-77cfac41c06a.png) Smaller sizes: ![image](https://user-images.githubusercontent.com/7457876/208385543-b0fe0e48-952d-4120-ba6d-895bd191fcb0.png) ------------- PR: https://git.openjdk.org/panama-foreign/pull/761 From pminborg at openjdk.org Mon Dec 19 11:59:44 2022 From: pminborg at openjdk.org (Per Minborg) Date: Mon, 19 Dec 2022 11:59:44 GMT Subject: [foreign-memaccess+abi] RFR: Add benchmark [v3] In-Reply-To: References: Message-ID: > This PR proposed to add a new benchmark outlining potential performance gains with the FFM API in internal JDK classes. Per Minborg has updated the pull request incrementally with one additional commit since the last revision: Add case for singel invocation ------------- Changes: - all: https://git.openjdk.org/panama-foreign/pull/761/files - new: https://git.openjdk.org/panama-foreign/pull/761/files/3b27bcf6..b953b24a Webrevs: - full: https://webrevs.openjdk.org/?repo=panama-foreign&pr=761&range=02 - incr: https://webrevs.openjdk.org/?repo=panama-foreign&pr=761&range=01-02 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/panama-foreign/pull/761.diff Fetch: git fetch https://git.openjdk.org/panama-foreign pull/761/head:pull/761 PR: https://git.openjdk.org/panama-foreign/pull/761 From remm at apache.org Tue Dec 20 08:59:55 2022 From: remm at apache.org (=?UTF-8?Q?R=C3=A9my_Maucherat?=) Date: Tue, 20 Dec 2022 09:59:55 +0100 Subject: Possible to get another preview build of Panama FFM? In-Reply-To: References: Message-ID: On Wed, Dec 14, 2022 at 5:58 PM Maurizio Cimadamore wrote: > > Hi Gavin, > note that instead of a Panama build, you can just grab a Java 20 EA > build here: > > https://jdk.java.net/20/ > > This should contains all the changes in JEP 434. Since preview 2 seems to be integrated in Java 20 and working fine, could we get a roadmap update ? Thanks, R?my > Cheers > Maurizio > > On 14/12/2022 16:50, Gavin Ray wrote: > > Hey all, > > > > Do you think it'd be possible to cut another preview release of Panama > > sometime in the near-ish future? > > If not, does anyone have a recent-ish Linux build they could put up on > > a Google Drive and post here? > > > > (If nobody does, I will do it and attach to this thread later > > today/this week) > > > > Also, just out of curiosity, why does OpenJDK not have CI builds? > > If someone writes Github Actions to build OpenJDK, would that have any > > chance of being integrated? > > > > Thank you =) > > - Gavin From maurizio.cimadamore at oracle.com Tue Dec 20 14:00:53 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Tue, 20 Dec 2022 14:00:53 +0000 Subject: Time for pudding... and another Panama update Message-ID: <9185fe40-d138-7a0c-5e6b-01c5b2624b9e@oracle.com> Hi all, with JEP 434 [25] integrated into Java 20, it is time for another Panama update. The Foreign Function & Memory API has been a Preview API since Java 19. Since then, the already biggie number of applications using Panama has been growing steadily [1-14]. As always, we are thankful for all the feedback provided through this and other channels. In all projects, but especially in a hydra-like project like this, feedback is essential, so please do keep this up! After the first preview in Java 19, while most of the FFM API was in a very stable state, it was also clear that there were two areas of uncertainties. The first had to do with the split between MemoryAddress and MemorySegment. While this split made logical sense when it was introduced, it also made a lot of application code more verbose, and for no good reason. The new FFM API iteration in Java 20 rectifies this issue, by doubling down on memory segments [15]: in Java 20 memory segments act both as buffers, *and* as addresses (e.g. when their size is zero). As recently demonstrated [16] this leads to significant simplifications in client code using jextract. The other area of uncertainty in the FFM API revolved around the MemorySession abstraction, which was trying to do too many things at once. The new iteration of the FFM API splits MemorySession into two abstractions [17]: an Arena, which is used to allocate and deterministically release memory in a try-with-resource statement, and a SegmentScope, which is used to indicate the temporal bounds associated with a memory segment. This split leads to a more principled API, and one that is much easier to build upon (as a result of this split, the Arena interface has been made non-sealed and can be extended to define custom allocators). Some long standing issues, such as lack of encapsulation w.r.t. MemorySession::close have also been addressed. Overall, we believe this is a good improvement, but it's fair to say that more time (and feedback) is required to understand if lifetime management in the FFM API has reached its lowest energy state (which might, in turn, affect our chances to finalize the FFM API in 21). This is perhaps not surprising: one of the main challenges of the FFM API is that to bring timely *and* safe deallocation in a programming language that is built around the idea of *implicit* deallocation, managed by a garbage collector. As such, we should make sure we get this absolutely right. As pointed out in [18], we realized that some classes that are currently part of the FFM API (yes, we're looking at you VaList!) are too hopelessly platform specific, and, while handy, they probably do not deserve to be part of a Java SE API. The current thinking, confirmed by the feedback received in this mailing list (thanks!) is that we will likely drop VaList and VaList.Builder from Java 21. As for the rest of the Linker API, it's all looking very good and stable. Java 20 adds the concept of "linker option", which we used to model variadic calls, and also to capture the state of "errno" and other runtime-dependent variables in a fairly general way [19]. We have plans to add more linker options in the future, perhaps to remove the cost of state transitions in trivial calls, or to allow Java code to pass _heap_ segments directly to native calls (pinning), or to add custom signal handlers for native functions (as some native functions like to report errors that way). We believe that these improvement can be delivered incrementally, even *after* the FFM API is finalized. Last but not least, we have made solid progress on the jextract front. A year ago the jextract tool was still part of the Panama repo [20]. Since then, we have moved jextract in its own repository [21] and started offering jextract binaries [22], so as to help developers getting started. Overall, the jextract tool has benefited from this split, and the number of external contributions has increased steadily (as the process for building standalone jextract is much simpler, thanks to the new Gradle build). Over the last few months we have been working on a number of usability improvements, such as the ability to generate javadoc with C-like signatures for all the generates structs and functions [23]. But, of course, in a tool like jextract there is always some tinkering left to do: possible areas of improvement include adding first class support for capturing errno (using the linker option machinery described above), improving the mapping for C structs, and investigate ways to reduce the static footprint of the jextract generated code (perhaps in combination with some explorations happening as part of Project Leyden [24]). This sums up where we are, and should provide some guidance of where things are headed in the various areas touched by this project. Cheers Maurizio [1] - https://github.com/manuelbl/JavaDoesUSB [2] - https://github.com/BlueGoliath/Envious-FX [3] - https://github.com/boulder-on/JPassport [4] - https://github.com/carldea/panama4newbies [5] - https://github.com/rmaucher/openssl-panama-foreign [6] - https://github.com/openjdk/jextract [7] - https://github.com/netty/netty-incubator-buffer-api [8] - https://github.com/apache/lucene [9] - https://github.com/cryptomator/jfuse [10] - https://github.com/jzy3d/panama-gl [11] - https://github.com/hhu-bsinfo/infinileap [12] - https://gitlab.com/mhammons/slinc [13] - https://github.com/IGJoshua/coffi [14] - https://github.com/brcolow/java-vulkan [15] - https://mail.openjdk.org/pipermail/panama-dev/2022-July/017181.html [16] - https://github.com/brcolow/java-vulkan/commit/171f167782eea538b19b60d5fa73e9f75a112f6d [17] - https://mail.openjdk.org/pipermail/panama-dev/2022-November/017991.html [18] - https://mail.openjdk.org/pipermail/panama-dev/2022-November/018096.html [19] - https://git.openjdk.org/panama-foreign/pull/742 [20] - https://github.com/openjdk/panama-foreign [21] - https://github.com/openjdk/jextract [22] - https://jdk.java.net/jextract/ [23] - https://git.openjdk.org/jextract/pull/85 [24] - https://mail.openjdk.org/pipermail/leyden-dev/2022-November/000092.html [25] - https://openjdk.org/jeps/434 From maurizio.cimadamore at oracle.com Tue Dec 20 14:03:26 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Tue, 20 Dec 2022 14:03:26 +0000 Subject: Possible to get another preview build of Panama FFM? In-Reply-To: References: Message-ID: <2ca0d53e-3130-89ed-f679-8643779416b6@oracle.com> On 20/12/2022 08:59, R?my Maucherat wrote: > On Wed, Dec 14, 2022 at 5:58 PM Maurizio Cimadamore > wrote: >> Hi Gavin, >> note that instead of a Panama build, you can just grab a Java 20 EA >> build here: >> >> https://jdk.java.net/20/ >> >> This should contains all the changes in JEP 434. > Since preview 2 seems to be integrated in Java 20 and working fine, > could we get a roadmap update ? Hi Remy, I agree it's time for an update. Instead of providing one in this specific email thread, I've started a new one: https://mail.openjdk.org/pipermail/panama-dev/2022-December/018182.html Cheers Maurizio > > Thanks, > R?my > >> Cheers >> Maurizio >> >> On 14/12/2022 16:50, Gavin Ray wrote: >>> Hey all, >>> >>> Do you think it'd be possible to cut another preview release of Panama >>> sometime in the near-ish future? >>> If not, does anyone have a recent-ish Linux build they could put up on >>> a Google Drive and post here? >>> >>> (If nobody does, I will do it and attach to this thread later >>> today/this week) >>> >>> Also, just out of curiosity, why does OpenJDK not have CI builds? >>> If someone writes Github Actions to build OpenJDK, would that have any >>> chance of being integrated? >>> >>> Thank you =) >>> - Gavin From martin.pernollet at protonmail.com Tue Dec 20 15:04:57 2022 From: martin.pernollet at protonmail.com (Martin Pernollet) Date: Tue, 20 Dec 2022 15:04:57 +0000 Subject: Generating a common interface for multiple platform specific binding Message-ID: <74cJVGa9pM5ITkWNNcQWqDEttFfBMlhbKsdBGH25SduiUtoPEsY2Parc7F9Ei4EEzNVd6LSIYgu_vUyjGKY_H8LxU7m4OhgQVZ7AW_VNjPg=@protonmail.com> Hi everyone, I am back on track with OpenGL binding with Panama! I have one code design / tooling question related to JExtract : is it possible to generate a common interface that would be implemented by all platform specific binding generated by JExtract since JDK 19 or 20? Here's my use case in more detail : I've been advised to generate different binding for different OS (and maybe version). For OpenGL, this lead me to a glut_h binding for macOS, one for Windows and one for Linux. To let the user/developer face a single entry point, I manually write a [GL interface](https://github.com/jzy3d/panama-gl/blob/feature/fbo/src/main/java/opengl/GL.java). I then define a [GL_macOS_10_15_3](https://github.com/jzy3d/panama-gl/blob/feature/fbo/src/main/java/opengl/macos/GL_macOS_10_15_3.java) class that wraps the binding (!). When I expand the prototype to Windows, I should copy paste this to GL_Windows_10 and modify the imports to reference the appropriate bindings. The goal is to write code like this GL gl = Platform.selectAmong(GL_macOS_10_15_3.class, GL_windows_10.class, ...) gl.glDoSomething() I don't think there would be another way to have java developer write applications that ignore the target hardware. However my approach is stupid : time consuming and error prone because manual. A real life case may have 10 implementations and 1000 functions. Does JExtract provide a solution to this? Should I create this tool by myself based on all generated bindings ? Would anyone recommend something smarter? Regards, Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From maurizio.cimadamore at oracle.com Tue Dec 20 15:51:39 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Tue, 20 Dec 2022 15:51:39 +0000 Subject: Generating a common interface for multiple platform specific binding In-Reply-To: <74cJVGa9pM5ITkWNNcQWqDEttFfBMlhbKsdBGH25SduiUtoPEsY2Parc7F9Ei4EEzNVd6LSIYgu_vUyjGKY_H8LxU7m4OhgQVZ7AW_VNjPg=@protonmail.com> References: <74cJVGa9pM5ITkWNNcQWqDEttFfBMlhbKsdBGH25SduiUtoPEsY2Parc7F9Ei4EEzNVd6LSIYgu_vUyjGKY_H8LxU7m4OhgQVZ7AW_VNjPg=@protonmail.com> Message-ID: <690e5e0f-4768-7477-b8ad-2ba3737cf580@oracle.com> Hi Martin, at the time of writing, jextract does not have a solution for this. I also believe that a general solution might not even exist - sometimes the bindings can vary quite wildly across different platforms, and there could be significant layout mismatches which would be hard to reconcile. For instance on Windows, C_LONG is a layout with type ValueLayout.OfInt, whereas on Linux x64 the type is ValueLayout.OfLong. On top of that, some subset of native functions might only be available on some platforms but not in others, etc. Considering all this, while some automated solution might be possible for the use case you have in mind, most surely it would fail to scale to the general case - so the general recommendation is to generate different bindings (one per platform) and then come up with some abstraction layer on top (which is sort of what you are trying to do). Another approach that might work would be to work at a lower level - and generate ad-hoc downcall method handles which automagically fix up mismatches that can arise across platforms (e.g. if a function is available in two platforms with a parameter mismatch int vs. long, adapt the int-accepting method handle to take a long, so that a uniform signature can be used). Note that jextract should expose the method handles it generates, so perhaps this adaptation can be done semi-automatically based on what comes out of jextract (and based on what the mismatches really are in your use case). I know that e.g. the JavaDoesUSB [1] project has faced similar issues, so perhaps their authors might want to share some insights here. Cheers Maurizio [1] - https://github.com/manuelbl/JavaDoesUSB On 20/12/2022 15:04, Martin Pernollet wrote: > Hi everyone, > > I am back on track with OpenGL binding with Panama! > > I have one code design / tooling question related to JExtract : is it > possible to *generate a common interface that would be implemented by > all platform specific binding* generated by JExtract since JDK 19 or 20? > > Here's my use case in more detail : I've been advised to generate > *different binding for different OS* (and maybe version). For OpenGL, > this lead me to a glut_h binding for macOS, one for Windows and one > for Linux. > > To let *the user/developer face a single entry point*, I manually > write a GL interface > . > I then define a GL_macOS_10_15_3 > > class that wraps the binding (!). When I expand the prototype to > Windows, I should copy paste this to GL_Windows_10 and modify the > imports to reference the appropriate bindings. The goal is to write > code like this > > GL gl = Platform.selectAmong(GL_macOS_10_15_3.class, > GL_windows_10.class, ...) > gl.glDoSomething() > > I don't think there would be another way to have java developer write > *applications that ignore the target hardware*. However my approach is > stupid : time consuming and error prone?because manual. A real life > case may have 10 implementations and 1000 functions. > > *Does JExtract provide a solution to this*? Should I create this tool > by myself based on all generated bindings ? Would anyone *recommend > something smarter*? > > Regards, > > Martin > -------------- next part -------------- An HTML attachment was scrubbed... URL: From svkamath at openjdk.org Wed Dec 21 21:26:28 2022 From: svkamath at openjdk.org (Smita Kamath) Date: Wed, 21 Dec 2022 21:26:28 GMT Subject: [vectorIntrinsics+fp16] RFR: 8290204: FP16 initial backend implementation [v3] In-Reply-To: References: Message-ID: > Initial backend implementation for enabling FP16. Smita Kamath has updated the pull request incrementally with one additional commit since the last revision: Addressed review comments ------------- Changes: - all: https://git.openjdk.org/panama-vector/pull/204/files - new: https://git.openjdk.org/panama-vector/pull/204/files/90ff380c..6cb10daf Webrevs: - full: https://webrevs.openjdk.org/?repo=panama-vector&pr=204&range=02 - incr: https://webrevs.openjdk.org/?repo=panama-vector&pr=204&range=01-02 Stats: 95 lines in 6 files changed: 35 ins; 52 del; 8 mod Patch: https://git.openjdk.org/panama-vector/pull/204.diff Fetch: git fetch https://git.openjdk.org/panama-vector pull/204/head:pull/204 PR: https://git.openjdk.org/panama-vector/pull/204 From svkamath at openjdk.org Wed Dec 21 22:19:19 2022 From: svkamath at openjdk.org (Smita Kamath) Date: Wed, 21 Dec 2022 22:19:19 GMT Subject: [vectorIntrinsics+fp16] RFR: 8290204: FP16 initial backend implementation [v3] In-Reply-To: <_mzGy6V_eOX3VyXN4O4ajl02LZJQNdzLp4VHqnp0SvU=.4e7a00d4-0e24-4163-a000-157d6e2d50a5@github.com> References: <_mzGy6V_eOX3VyXN4O4ajl02LZJQNdzLp4VHqnp0SvU=.4e7a00d4-0e24-4163-a000-157d6e2d50a5@github.com> Message-ID: On Thu, 14 Jul 2022 17:53:15 GMT, Jatin Bhateja wrote: >> Smita Kamath has updated the pull request incrementally with one additional commit since the last revision: >> >> Addressed review comments > > src/hotspot/cpu/x86/stubGenerator_x86_64.cpp line 7765: > >> 7763: StubRoutines::x86::_vector_halffloat_sign_mask = generate_vector_fp_mask("vector_halffloat_sign_mask", 0x7FFF7FFF7FFF7FFF); >> 7764: StubRoutines::x86::_vector_halffloat_sign_flip = generate_vector_fp_mask("vector_halffloat_sign_flip", 0x8000800080008000); >> 7765: > > Should be added to 32 bit stubGenerators also. done > src/hotspot/cpu/x86/vm_version_x86.hpp line 369: > >> 367: decl(GFNI, "gfni", 48) /* Vector GFNI instructions */ \ >> 368: decl(AVX512_BITALG, "avx512_bitalg", 49) /* Vector sub-word popcount and bit gather instructions */\ >> 369: decl(AVX512_FP16, "avx512_fp16", 50) /* Vector FP16 instructions*/ > > Please also handle the newly added feature in > src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.amd64/src/jdk/vm/ci/amd64/AMD64.java done ------------- PR: https://git.openjdk.org/panama-vector/pull/204 From svkamath at openjdk.org Wed Dec 21 22:19:19 2022 From: svkamath at openjdk.org (Smita Kamath) Date: Wed, 21 Dec 2022 22:19:19 GMT Subject: [vectorIntrinsics+fp16] RFR: 8290204: FP16 initial backend implementation [v3] In-Reply-To: References: Message-ID: On Thu, 20 Oct 2022 10:28:17 GMT, Bhavana Kilambi wrote: >> Smita Kamath has updated the pull request incrementally with one additional commit since the last revision: >> >> Addressed review comments > > src/hotspot/share/opto/vectornode.cpp line 295: > >> 293: // Return the vector operator for the specified scalar operation >> 294: // and vector length for half float >> 295: int VectorNode::opcode(int sopc) { > > Hi, where is this function being referenced ? Should extra handling be added in this method - https://github.com/openjdk/panama-vector/blob/113ec5d22a8f1eff42e84e7c30472c78f89d7a36/src/hotspot/share/opto/vectorIntrinsics.cpp#L349 to generate a call to this function - VectorNode::opcode(int sopc) added in this PR ? Hi Bhavana, apologies for the delay in responding to your comment. The code to stitch everything together will be added later. ------------- PR: https://git.openjdk.org/panama-vector/pull/204 From svkamath at openjdk.org Thu Dec 22 20:45:32 2022 From: svkamath at openjdk.org (Smita Kamath) Date: Thu, 22 Dec 2022 20:45:32 GMT Subject: [vectorIntrinsics+fp16] RFR: 8290204: FP16 initial backend implementation [v4] In-Reply-To: References: Message-ID: > Initial backend implementation for enabling FP16. Smita Kamath has updated the pull request incrementally with one additional commit since the last revision: Updated leaf level assembly routines as per review comment ------------- Changes: - all: https://git.openjdk.org/panama-vector/pull/204/files - new: https://git.openjdk.org/panama-vector/pull/204/files/6cb10daf..7677dbb2 Webrevs: - full: https://webrevs.openjdk.org/?repo=panama-vector&pr=204&range=03 - incr: https://webrevs.openjdk.org/?repo=panama-vector&pr=204&range=02-03 Stats: 110 lines in 3 files changed: 69 ins; 9 del; 32 mod Patch: https://git.openjdk.org/panama-vector/pull/204.diff Fetch: git fetch https://git.openjdk.org/panama-vector pull/204/head:pull/204 PR: https://git.openjdk.org/panama-vector/pull/204 From duke at openjdk.org Fri Dec 23 11:08:20 2022 From: duke at openjdk.org (duke) Date: Fri, 23 Dec 2022 11:08:20 GMT Subject: git: openjdk/panama-foreign: foreign-memaccess+abi: 92 new changesets Message-ID: Changeset: 909d0cb4 Author: Michal Karm Babacek Committer: Jaikiran Pai Date: 2022-12-16 12:28:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/909d0cb4d9475fd367b8bc64a6b50c5a324e9a01 8298588: WebSockets: HandshakeUrlEncodingTest unnecessarily depends on a response body Reviewed-by: dfuchs ! test/jdk/java/net/httpclient/websocket/HandshakeUrlEncodingTest.java Changeset: ac2fcf3f Author: Ivan Walulya Date: 2022-12-16 12:59:44 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ac2fcf3f7598caf8384282ec1178ec0b66c8408a 8296374: Check for young region in G1BarrierSet::invalidate instead of card-by-card check Reviewed-by: ayang, tschatzl ! src/hotspot/share/gc/g1/g1BarrierSet.cpp Changeset: f4caaca1 Author: Justin King Committer: Coleen Phillimore Date: 2022-12-16 14:00:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f4caaca100d334b671eed56287dfe7a1009c47d7 8298852: Use of uninitialized memory in MetadataFactory::free_metadata Reviewed-by: coleenp, stefank, dholmes ! src/hotspot/share/memory/metadataFactory.hpp Changeset: 323e574a Author: Stefan Karlsson Date: 2022-12-15 11:28:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/323e574a50520735f41549f36907563e1b4a1040 8298371: monitors_on_stack extracts unprocessed oops Backport-of: b754aa5e3f231aea8da5274c330dc55dd78b0f67 ! src/hotspot/share/runtime/continuationFreezeThaw.cpp Changeset: 22a6b591 Author: Jan Lahoda Date: 2022-12-15 11:33:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/22a6b5910290cb8a3876f94213ba60db86e60718 8298727: Trees.getPath may crash for unnamed package Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Enter.java + test/langtools/tools/javac/processing/model/EmptyPackageInfo.java Changeset: 48f61273 Author: Stefan Karlsson Date: 2022-12-15 11:44:21 +0000 URL: https://git.openjdk.org/panama-foreign/commit/48f6127325108e573b41d19213e65af99956a31f 8298376: ZGC: thaws stackChunk with stale oops Backport-of: ed8a2120ca1e9756c6ab5eeebfe24c15d549f04e ! src/hotspot/share/oops/stackChunkOop.hpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/runtime/continuationJavaClasses.hpp ! src/hotspot/share/runtime/continuationJavaClasses.inline.hpp Changeset: 2c424992 Author: Per Minborg Committer: Joe Darcy Date: 2022-12-15 15:46:05 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2c42499266377a32aa0ff96a0241d76d7517cf2e 8298050: Add links to graph output for javadoc Reviewed-by: darcy ! make/jdk/src/classes/build/tools/taglet/SealedGraph.java Changeset: ca39eb90 Author: Brian Burkhalter Date: 2022-12-15 17:27:08 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ca39eb906692568347e7f264520593188f9276cf 7093322: (fs spec) Files.newBufferedWriter should be clear when coding errors are detected Reviewed-by: alanb ! src/java.base/share/classes/java/nio/file/Files.java Changeset: c7d7e7e3 Author: Daniel D. Daugherty Date: 2022-12-16 00:01:08 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c7d7e7e3be768b35447d65661ec328204aeb40e4 8298888: ProblemList gc/g1/TestVerifyGCType.java on linux and macosx 8298889: ProblemList runtime/StackGuardPages/TestStackGuardPages.java on linux 8298891: ProblemList vmTestbase/nsk/monitoring/MemoryPoolMBean/isCollectionUsageThresholdExceeded/isexceeded002/TestDescription.java with ZGC 8298892: ProblemList vmTestbase/nsk/sysdict/vm/stress/chain/chain008/chain008.java with ZGC Reviewed-by: bpb, lmesnik ! test/hotspot/jtreg/ProblemList-zgc.txt ! test/hotspot/jtreg/ProblemList.txt Changeset: 03a694af Author: Sergey Bylokhov Date: 2022-12-16 06:33:08 +0000 URL: https://git.openjdk.org/panama-foreign/commit/03a694afda81f575f8a24e655d53b2b029e3d968 8298083: The "CheckBox/RadioButton[Enabled/Disabled].textForeground" stoped working Reviewed-by: prr Backport-of: 5540a8c5b7160ab5c67bb84631e3de54fa5aeceb ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java ! src/java.desktop/share/classes/javax/swing/plaf/synth/SynthStyle.java ! test/jdk/ProblemList.txt ! test/jdk/javax/swing/JRadioButton/4314194/bug4314194.java Changeset: c47e64e4 Author: Stefan Johansson Date: 2022-12-16 08:06:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c47e64e4f3be80f434dd4dea9b6e8d282b2c2b32 8297979: ZGC: Ensure consistent MemoryUsage from MemoryMXBean.getHeapMemoryUsage() Reviewed-by: stefank, ayang ! src/hotspot/share/gc/z/zCollectedHeap.cpp ! src/hotspot/share/gc/z/zCollectedHeap.hpp ! test/hotspot/jtreg/ProblemList-zgc.txt Changeset: 0ba47348 Author: Markus Gr?nlund Date: 2022-12-16 10:46:37 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0ba473489151d74c8a15b75ff4964ac480fecb28 8287699: jdk/jfr/api/consumer/TestRecordingFileWrite.java fails with exception: java.lang.Exception: Found event that should not be there. Reviewed-by: egahlin ! src/hotspot/share/jfr/support/jfrThreadLocal.cpp ! test/jdk/ProblemList.txt Changeset: f771c56e Author: Maurizio Cimadamore Date: 2022-12-16 10:49:22 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f771c56e16a39724712ca0d8c2dd55b9ce260f4d 8298797: Specification of some restricted methods is incorrect Reviewed-by: jvernee, pminborg ! src/java.base/share/classes/java/lang/foreign/Linker.java ! src/java.base/share/classes/java/lang/foreign/MemorySegment.java ! src/java.base/share/classes/java/lang/foreign/SymbolLookup.java ! src/java.base/share/classes/java/lang/foreign/VaList.java ! src/java.base/share/classes/java/lang/foreign/ValueLayout.java ! test/jdk/java/foreign/handles/lookup_module/handle/lookup/MethodHandleLookup.java Changeset: 3696711e Author: Jesper Wilhelmsson Date: 2022-12-16 15:48:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3696711efa566fb776d6923da86e17b0e1e22964 Merge ! test/hotspot/jtreg/ProblemList-zgc.txt ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt ! test/hotspot/jtreg/ProblemList-zgc.txt ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 81e23ab3 Author: Eric Caspole Date: 2022-12-16 16:30:31 +0000 URL: https://git.openjdk.org/panama-foreign/commit/81e23ab3403a983ccddf27b1169a49e2ca061296 8298809: Clean up vm/compiler/InterfaceCalls JMH Reviewed-by: kvn ! test/micro/org/openjdk/bench/vm/compiler/InterfaceCalls.java Changeset: 0eeaeb8e Author: Naoto Sato Date: 2022-12-16 17:16:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0eeaeb8e7ba40be5e93eb87c7e3dc94230062746 8298808: Check `script` code on detecting the base locales Reviewed-by: joehw ! make/jdk/src/classes/build/tools/cldrconverter/CLDRConverter.java ! make/jdk/src/classes/build/tools/cldrconverter/ResourceBundleGenerator.java Changeset: bf9a8ce0 Author: Matthew Donovan Committer: Rajan Halade Date: 2022-12-16 17:51:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/bf9a8ce0bb975a3d50e92148f92850ef930d64b0 8249826: 5 javax/net/ssl/SSLEngine tests use @ignore w/o bug-id Reviewed-by: xuelei, rhalade, ssahoo ! test/jdk/ProblemList.txt ! test/jdk/javax/net/ssl/SSLEngine/Basics.java ! test/jdk/javax/net/ssl/SSLEngine/CheckStatus.java ! test/jdk/javax/net/ssl/SSLEngine/ConnectionTest.java ! test/jdk/javax/net/ssl/SSLEngine/EngineCloseOnAlert.java ! test/jdk/javax/net/ssl/SSLEngine/IllegalHandshakeMessage.java ! test/jdk/javax/net/ssl/SSLEngine/IllegalRecordVersion.java ! test/jdk/javax/net/ssl/SSLEngine/TestAllSuites.java Changeset: bfa921ae Author: Kim Barrett Date: 2022-12-16 20:47:40 +0000 URL: https://git.openjdk.org/panama-foreign/commit/bfa921ae6ce068c53dfa708d6d3d2cddbad5fc33 8160404: RelocationHolder constructors have bugs Reviewed-by: kvn, jrose, jvernee ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/share/code/relocInfo.cpp ! src/hotspot/share/code/relocInfo.hpp Changeset: 7938f8c3 Author: Per Minborg Committer: Alan Bateman Date: 2022-12-18 20:25:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/7938f8c32a1c0ecdd3bcc8cd1a2652df248a2213 8298639: Perform I/O operations in bulk for RandomAccessFile Co-authored-by: Sergey Tsypanov Reviewed-by: alanb, bpb ! src/java.base/share/classes/java/io/RandomAccessFile.java ! test/jdk/java/io/File/Basic.java + test/micro/org/openjdk/bench/java/io/RandomAccessFileBenchmark.java Changeset: ba942c24 Author: Fei Gao Committer: Ningsheng Jian Date: 2022-12-19 01:11:19 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ba942c24e8894f4422870fb53253f5946dc4f0d1 8298244: AArch64: Optimize vector implementation of AddReduction for floating point Reviewed-by: aph, xgong ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! test/hotspot/gtest/aarch64/aarch64-asmtest.py ! test/hotspot/gtest/aarch64/asmtest.out.h Changeset: 5e678f75 Author: Christian Hagedorn Date: 2022-12-19 07:10:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5e678f7500e514f04637c546959613d4688f989c 8298824: C2 crash: assert(is_Bool()) failed: invalid node class: ConI Reviewed-by: roland, kvn, thartmann ! src/hotspot/share/opto/subnode.cpp + test/hotspot/jtreg/compiler/c2/TestCMoveIConAsBool.java Changeset: 36376605 Author: sunguoyun Committer: Tobias Hartmann Date: 2022-12-19 07:56:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/36376605215ba3380bfc07752eec043af04a5c29 8298813: [C2] Converting double to float cause a loss of precision and resulting crypto.aes scores fluctuate Reviewed-by: thartmann ! src/hotspot/share/opto/chaitin.hpp Changeset: 16225630 Author: Damon Fenacci Committer: Tobias Hartmann Date: 2022-12-19 08:35:00 +0000 URL: https://git.openjdk.org/panama-foreign/commit/16225630ec3d4943e359f7a8b0f531429bb434c8 8265688: Unused ciMethodType::ptype_at should be removed Reviewed-by: thartmann, kvn ! src/hotspot/share/ci/ciMethodType.cpp ! src/hotspot/share/ci/ciMethodType.hpp Changeset: ec959914 Author: Damon Fenacci Committer: Tobias Hartmann Date: 2022-12-19 08:47:04 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ec95991470a99c917f757614fc6d2cd883bdb39b 8298736: Revisit usages of log10 in compiler code Reviewed-by: thartmann, chagedorn, epeter ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/node.cpp Changeset: 86d588b0 Author: Damon Fenacci Committer: Tobias Hartmann Date: 2022-12-19 08:48:41 +0000 URL: https://git.openjdk.org/panama-foreign/commit/86d588b035d09141d807dbed6b91d9909782d61a 8283740: C1: Convert flag TwoOperandLIRForm to a constant on all platforms Reviewed-by: thartmann, chagedorn ! src/hotspot/cpu/aarch64/c1_Defs_aarch64.hpp ! src/hotspot/cpu/aarch64/c1_globals_aarch64.hpp ! src/hotspot/cpu/arm/c1_Defs_arm.hpp ! src/hotspot/cpu/arm/c1_globals_arm.hpp ! src/hotspot/cpu/ppc/c1_Defs_ppc.hpp ! src/hotspot/cpu/ppc/c1_globals_ppc.hpp ! src/hotspot/cpu/riscv/c1_Defs_riscv.hpp ! src/hotspot/cpu/riscv/c1_globals_riscv.hpp ! src/hotspot/cpu/s390/c1_Defs_s390.hpp ! src/hotspot/cpu/s390/c1_globals_s390.hpp ! src/hotspot/cpu/x86/c1_Defs_x86.hpp ! src/hotspot/cpu/x86/c1_globals_x86.hpp ! src/hotspot/share/c1/c1_Defs.hpp ! src/hotspot/share/c1/c1_LIR.cpp ! src/hotspot/share/c1/c1_LIRGenerator.cpp ! src/hotspot/share/c1/c1_globals.hpp ! src/hotspot/share/gc/g1/c1/g1BarrierSetC1.cpp ! src/hotspot/share/gc/shared/c1/cardTableBarrierSetC1.cpp ! src/hotspot/share/gc/shenandoah/c1/shenandoahBarrierSetC1.cpp Changeset: 8e49fcdd Author: Damon Fenacci Committer: Tobias Hartmann Date: 2022-12-19 08:50:44 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8e49fcdde4fef5a8db36823b35d409ba2c9ec47b 8295661: CompileTask::compile_id() should be passed as int Reviewed-by: thartmann, dnsimon, never ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/ci/ciEnv.hpp ! src/hotspot/share/code/codeHeapState.cpp ! src/hotspot/share/code/codeHeapState.hpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compileBroker.hpp ! src/hotspot/share/compiler/compileTask.hpp ! src/hotspot/share/jfr/metadata/metadata.xml ! src/hotspot/share/runtime/vmStructs.cpp Changeset: da38d43f Author: Emanuel Peter Date: 2022-12-19 12:21:50 +0000 URL: https://git.openjdk.org/panama-foreign/commit/da38d43fcc640ea9852db6c7c23817dcef7080d5 8296412: Special case infinite loops with unmerged backedges in IdealLoopTree::check_safepts Reviewed-by: chagedorn, kvn, thartmann ! src/hotspot/share/opto/loopnode.cpp + test/hotspot/jtreg/compiler/loopopts/TestInfiniteLoopWithUnmergedBackedges.jasm + test/hotspot/jtreg/compiler/loopopts/TestInfiniteLoopWithUnmergedBackedgesMain.java Changeset: de0ce792 Author: Damon Fenacci Committer: Christian Hagedorn Date: 2022-12-19 15:44:38 +0000 URL: https://git.openjdk.org/panama-foreign/commit/de0ce792c1865f80b6bcfce6741681cb74d75cef 8297801: printnm crashes with invalid address due to null pointer dereference Reviewed-by: thartmann, chagedorn, kvn ! src/hotspot/share/utilities/debug.cpp Changeset: 756a06d4 Author: Matthias Baesken Date: 2022-12-19 16:20:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/756a06d4c239966ed68bbbe8ee4c6b6d02154c02 8299022: Linux ppc64le and s390x build issues after JDK-8160404 Reviewed-by: mdoerr, lucy ! src/hotspot/cpu/ppc/assembler_ppc.hpp ! src/hotspot/cpu/s390/assembler_s390.hpp Changeset: 4c927df7 Author: Coleen Phillimore Date: 2022-12-19 17:13:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4c927df7125f3c9d4c24dc587ad99d7fa1d1ccb3 8298470: Short cut java.lang.Object super class loading Reviewed-by: dholmes, iklam ! src/hotspot/share/classfile/classFileParser.cpp Changeset: 9194e915 Author: Chris Plummer Date: 2022-12-19 18:02:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9194e915495434c154ff4cf142d527b163026b3c 8298701: Cleanup SA entries in ProblemList-zgc.txt. Reviewed-by: sspitsyn, amenkov ! test/hotspot/jtreg/ProblemList-zgc.txt Changeset: 40cb431f Author: Archie L. Cobbs Committer: Jonathan Gibbons Date: 2022-12-19 19:48:13 +0000 URL: https://git.openjdk.org/panama-foreign/commit/40cb431fee7c1f193b2f445c397c1444ed2e0015 8298943: Missing escapes for single quote marks in compiler.properties Reviewed-by: jjg ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/langtools/tools/javac/diags/CheckResourceKeys.java Changeset: 5d330f52 Author: Jonathan Gibbons Date: 2022-12-19 21:09:01 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5d330f5285b535b37dde5cd4e42374d92fafb550 8299045: tools/doclint/BadPackageCommentTest.java fails after JDK-8298943 Reviewed-by: vromero ! test/langtools/tools/doclint/BadPackageCommentTest.out Changeset: abc12976 Author: lawrence.andrews Committer: Harshitha Onkar Date: 2022-12-19 23:26:01 +0000 URL: https://git.openjdk.org/panama-foreign/commit/abc1297643b03ea9b4a03a12ce681971784774fb 8299044: test/jdk/javax/swing/JComboBox/JComboBoxBorderTest.java fails on non mac Reviewed-by: serb, honkar ! test/jdk/javax/swing/JComboBox/JComboBoxBorderTest.java Changeset: 05f9e767 Author: Phil Race Date: 2022-12-19 23:32:58 +0000 URL: https://git.openjdk.org/panama-foreign/commit/05f9e7676ea457cd5ef44acca9a1706b5dd0d093 8298974: Add ftcolor.c to imported freetype sources Reviewed-by: serb + src/java.desktop/share/native/libfreetype/src/base/ftcolor.c Changeset: dd15d306 Author: lawrence.andrews Committer: Sergey Bylokhov Date: 2022-12-20 01:16:37 +0000 URL: https://git.openjdk.org/panama-foreign/commit/dd15d306a68caa02659dd95d16b71d0f1a437bc6 8299043: test/jdk/javax/swing/AbstractButton/5049549/bug5049549.java fails with java.lang.NullPointerException Reviewed-by: serb ! test/jdk/javax/swing/AbstractButton/5049549/bug5049549.java Changeset: 36de61c4 Author: Daniel Jeli?ski Date: 2022-12-20 10:27:33 +0000 URL: https://git.openjdk.org/panama-foreign/commit/36de61c460d7038019294293143e420dfcce2936 8298865: Excessive memory allocation in CipherOutputStream AEAD decryption Reviewed-by: valeriep, ascarpino ! src/java.base/share/classes/javax/crypto/CipherInputStream.java ! src/java.base/share/classes/javax/crypto/CipherOutputStream.java + test/micro/org/openjdk/bench/javax/crypto/full/AESGCMCipherOutputStream.java Changeset: 5df00d34 Author: Daniel Fuchs Date: 2022-12-20 11:05:38 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5df00d34fe83648fb833dac738a45653865ca426 8298931: java/net/httpclient/CancelStreamedBodyTest.java fails with AssertionError due to Pending TCP connections: 1 Reviewed-by: jpai ! test/jdk/java/net/httpclient/CancelStreamedBodyTest.java ! test/jdk/java/net/httpclient/ISO_8859_1_Test.java ! test/jdk/java/net/httpclient/ReferenceTracker.java Changeset: e5edb10d Author: Daniel Fuchs Date: 2022-12-20 11:06:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e5edb10dc56d9edac8e050e0f8e6c116743975d6 8299018: java/net/httpclient/HttpsTunnelAuthTest.java fails with java.io.IOException: HTTP/1.1 header parser received no bytes Reviewed-by: djelinski, jpai ! test/jdk/java/net/httpclient/ProxyServer.java Changeset: b14794db Author: Coleen Phillimore Date: 2022-12-16 14:09:55 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b14794db00ded878dbfc7080f9d57a0f65c02dee 8298852: Use of uninitialized memory in MetadataFactory::free_metadata Backport-of: f4caaca100d334b671eed56287dfe7a1009c47d7 ! src/hotspot/share/memory/metadataFactory.hpp Changeset: 9e10f00e Author: Tobias Hartmann Date: 2022-12-16 14:39:48 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9e10f00edbf37e5e5db8efc4f1e0c2a76541aab2 8298919: Add a regression test for JDK-8298520 Reviewed-by: chagedorn, roland + test/hotspot/jtreg/compiler/loopopts/TestUnexpectedOpaque1.java Changeset: c997b5bf Author: Damon Nguyen Committer: Naoto Sato Date: 2022-12-16 21:15:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c997b5bffd0ebbd6d68332572639c8cea05ccdb1 8298133: JDK 20 RDP1 L10n resource files update - msgdrop 10 Reviewed-by: achung, naoto, joehw, cjplummer, almatvee ! src/java.base/share/classes/sun/launcher/resources/launcher_de.properties ! src/java.base/share/classes/sun/launcher/resources/launcher_ja.properties ! src/java.base/share/classes/sun/launcher/resources/launcher_zh_CN.properties ! 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.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/xalan/internal/res/XSLTErrorResources_de.java ! src/java.xml/share/classes/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_ja.java ! src/java.xml/share/classes/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_zh_CN.java ! src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_de.java ! src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_ja.java ! src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_zh_CN.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/DOMMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/DOMMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/DOMMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/DatatypeMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/DatatypeMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/DatatypeMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/JAXPValidationMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/JAXPValidationMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/JAXPValidationMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/SAXMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/SAXMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/SAXMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XIncludeMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XIncludeMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XIncludeMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLSchemaMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLSchemaMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLSchemaMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLSerializerMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLSerializerMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLSerializerMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XPointerMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XPointerMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XPointerMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_de.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_ja.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_zh_CN.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/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.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.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.jdeps/share/classes/com/sun/tools/javap/resources/javap_de.properties ! src/jdk.jdeps/share/classes/com/sun/tools/javap/resources/javap_ja.properties ! src/jdk.jdeps/share/classes/com/sun/tools/javap/resources/javap_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.jdi/share/classes/com/sun/tools/jdi/resources/jdi_de.properties ! src/jdk.jdi/share/classes/com/sun/tools/jdi/resources/jdi_ja.properties ! src/jdk.jdi/share/classes/com/sun/tools/jdi/resources/jdi_zh_CN.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 ! src/jdk.jlink/share/classes/jdk/tools/jmod/resources/jmod_de.properties ! src/jdk.jlink/share/classes/jdk/tools/jmod/resources/jmod_ja.properties ! src/jdk.jlink/share/classes/jdk/tools/jmod/resources/jmod_zh_CN.properties ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/LinuxResources_de.properties ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/LinuxResources_ja.properties ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/LinuxResources_zh_CN.properties ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacResources_de.properties ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacResources_ja.properties ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacResources_zh_CN.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.jpackage/share/classes/jdk/jpackage/internal/resources/MainResources_de.properties ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/MainResources_ja.properties ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/MainResources_zh_CN.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 Changeset: 0ecad28d Author: Daniel D. Daugherty Date: 2022-12-16 21:17:04 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0ecad28daa64ae1a0e6194e207ae57486b06e484 8298976: ProblemList java/util/concurrent/ExecutorService/CloseTest.java on macosx-aarch64 8298977: ProblemList vmTestbase/nsk/stress/strace/strace002.java on 2 platforms 8298978: ProblemList vmTestbase/nsk/stress/strace/strace003.java on 2 platforms Reviewed-by: kbarrett, iris ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 3b7970ca Author: Ajit Ghaisas Date: 2022-12-17 06:37:18 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3b7970cab39a67eabcde331822f0432f71d9186b 8298217: Regressions 30-110% in SwingMark on MacOS, more so on aarch64 Reviewed-by: avu, prr, jdv ! 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 - test/jdk/java/awt/Graphics2D/DrawPrimitivesTest.java Changeset: 41cc0443 Author: Alexander Zvegintsev Date: 2022-12-17 13:28:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/41cc04430ab9e6db31ea26b5254668c9ab18966d 8298970: Problem list java/awt/event/KeyEvent/KeyTyped/CtrlASCII.java Reviewed-by: serb ! test/jdk/ProblemList.txt Changeset: d1026720 Author: Alexander Zvegintsev Date: 2022-12-17 13:30:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d1026720d323d0acd9bd8d85d5caba7185107863 8298905: Test "java/awt/print/PrinterJob/ImagePrinting/PrintARGBImage.java" fails because the frames of instruction does not display Reviewed-by: honkar, serb ! test/jdk/java/awt/print/PrinterJob/ImagePrinting/PrintARGBImage.java ! test/jdk/java/awt/print/PrinterJob/PageRangesDlgTest.java ! test/jdk/javax/swing/ProgressMonitor/ProgressTest.java Changeset: 34105556 Author: Daniel D. Daugherty Date: 2022-12-17 16:13:03 +0000 URL: https://git.openjdk.org/panama-foreign/commit/34105556d16774439195076f22f37f275d0d8873 8298987: ProblemList jdk/internal/vm/Continuation/Fuzz.java#default with ZGC on X64 8298989: ProblemList vmTestbase/nsk/jvmti/InterruptThread/intrpthrd003/TestDescription.java on macosx-x64 8298990: ProblemList java/lang/Thread/virtual/stress/Skynet.java subtests with ZGC Reviewed-by: azvegint ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList-zgc.txt Changeset: 2c69c41d Author: Alan Bateman Date: 2022-12-19 18:06:19 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2c69c41d48fddcbeb40a374f691b7e5faba3c99a 8298894: java/lang/Thread/virtual/stress/Skynet.java timed out and threw OutOfMemoryError Reviewed-by: eosterlund ! test/jdk/ProblemList-zgc.txt ! test/jdk/java/lang/Thread/virtual/stress/Skynet.java Changeset: 188aaef3 Author: Hannes Walln?fer Date: 2022-12-19 19:13:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/188aaef38594658288e9222ed815d5af4b8d3dad 8277074: Qualified exported types show up in JavaDoc Reviewed-by: psandoz ! src/java.base/share/classes/jdk/internal/event/Event.java ! src/java.base/share/classes/jdk/internal/vm/vector/VectorSupport.java Changeset: 3e17e3c1 Author: Alexander Zuev Date: 2022-12-19 22:16:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3e17e3c1c12d71461213bf15cdb72d4d93c88460 4512626: Non-editable JTextArea provides no visual indication of keyboard focus 8194048: Regression automated test '/open/test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java' fails 8213562: Test javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java fails Reviewed-by: aivanov, azvegint ! src/java.desktop/share/classes/javax/swing/text/DefaultCaret.java ! test/jdk/ProblemList.txt ! test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java ! test/jdk/javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java Changeset: f07acfc1 Author: Daniel D. Daugherty Date: 2022-12-19 23:08:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f07acfc166e1261f830e63629e76303ec6235377 8298699: java/lang/reflect/IllegalArgumentsTest.java times out with slowdebug bits Reviewed-by: iris ! test/jdk/java/lang/reflect/IllegalArgumentsTest.java Changeset: d0a7679d Author: Roger Riggs Date: 2022-12-19 23:10:30 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d0a7679d2e9c86ee2fc6edf2e37c1729c833ae11 4958969: ObjectOutputStream example leads to non-working code Reviewed-by: lancea, naoto ! src/java.base/share/classes/java/io/ObjectInputFilter.java ! src/java.base/share/classes/java/io/ObjectInputStream.java ! src/java.base/share/classes/java/io/ObjectOutputStream.java Changeset: ea40f299 Author: Kim Barrett Date: 2022-12-20 00:13:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ea40f299397f19f1bbedd4eeb4d24802a709a912 8298215: gc/g1/TestVerifyGCType.java failed with "Missing expected verification pattern Verifying After GC for: Pause Young (Prepare Mixed): expected true, was false" Reviewed-by: iwalulya, tschatzl ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/gc/g1/TestVerifyGCType.java Changeset: 3dd2cfab Author: Erik Gahlin Date: 2022-12-20 10:52:11 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3dd2cfabdcd91cf9e53d977ef76d0c81b3a072eb 8298784: JFR: Test chunk integrity Reviewed-by: mgronlun + test/jdk/jdk/jfr/jvm/TestChunkIntegrity.java Changeset: c5a4a7a6 Author: Jesper Wilhelmsson Date: 2022-12-20 11:40:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c5a4a7a679ec76cb08a999a198e5c73e9cd9d2f0 Merge ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/gc/g1/TestVerifyGCType.java ! test/jdk/ProblemList.txt ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/gc/g1/TestVerifyGCType.java ! test/jdk/ProblemList.txt Changeset: 318526b0 Author: Erik Gahlin Date: 2022-12-20 12:22:01 +0000 URL: https://git.openjdk.org/panama-foreign/commit/318526b01e45698cd1fa2c930a97f8c2aa84fb2d 8299031: JFR: Clean up jdk.management.jfr Reviewed-by: mgronlun ! src/jdk.management.jfr/share/classes/jdk/management/jfr/ConfigurationInfo.java ! src/jdk.management.jfr/share/classes/jdk/management/jfr/EventTypeInfo.java ! src/jdk.management.jfr/share/classes/jdk/management/jfr/RecordingInfo.java ! src/jdk.management.jfr/share/classes/jdk/management/jfr/RemoteRecordingStream.java Changeset: de8153ca Author: Erik Gahlin Date: 2022-12-20 13:07:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/de8153cab76606350eb0ecc4302b23c52f0565a6 8298526: JFR: Generate missing filename for time-bound recordings Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/internal/dcmd/DCmdStart.java ! test/jdk/jdk/jfr/startupargs/TestStartDuration.java Changeset: 8dfb6d76 Author: Albert Mingkun Yang Date: 2022-12-20 19:36:52 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8dfb6d76e8528af2c5dd6a1354ba9175f5369fe5 8298651: Serial: Remove MarkSweep::follow_klass Reviewed-by: kbarrett, tschatzl ! src/hotspot/share/gc/serial/markSweep.cpp ! src/hotspot/share/gc/serial/markSweep.hpp Changeset: 65fc0588 Author: Albert Mingkun Yang Date: 2022-12-20 12:43:53 +0000 URL: https://git.openjdk.org/panama-foreign/commit/65fc05884bc96ce0b6f572034ae085c933f85c61 8298968: G1: Incorrect merged remset stats Reviewed-by: tschatzl, kbarrett ! src/hotspot/share/gc/g1/g1RemSet.cpp Changeset: 03d99272 Author: Coleen Phillimore Date: 2022-12-20 13:21:50 +0000 URL: https://git.openjdk.org/panama-foreign/commit/03d992728e27bd3dcd00d1af8a7b7179281e626f 8298061: vmTestbase/nsk/sysdict/vm/stress/btree/btree012/btree012.java failed with "fatal error: refcount has gone to zero" Reviewed-by: iklam, dholmes ! src/hotspot/share/classfile/placeholders.hpp Changeset: 03afec16 Author: Coleen Phillimore Date: 2022-12-20 14:09:22 +0000 URL: https://git.openjdk.org/panama-foreign/commit/03afec16f8abecb845eb14db5b51eaac9131a3c8 8298162: Test PrintClasses hits assert when run with code that retransform classes Reviewed-by: dholmes, mgronlun ! src/hotspot/share/runtime/fieldDescriptor.cpp ! test/hotspot/jtreg/runtime/CommandLine/PrintClasses.java Changeset: f4d7f433 Author: Daniel D. Daugherty Date: 2022-12-20 16:20:50 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f4d7f433942219704072a3fef156fe0fa7864f66 8299123: [BACKOUT] 4512626 Non-editable JTextArea provides no visual indication of keyboard focus Reviewed-by: tschatzl ! src/java.desktop/share/classes/javax/swing/text/DefaultCaret.java ! test/jdk/ProblemList.txt ! test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java ! test/jdk/javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java Changeset: 386db071 Author: Jesper Wilhelmsson Date: 2022-12-20 20:20:17 +0000 URL: https://git.openjdk.org/panama-foreign/commit/386db07143883f85307138eca2f0305d997a2171 Merge ! test/jdk/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 396a9bff Author: Kim Barrett Date: 2022-12-21 01:22:11 +0000 URL: https://git.openjdk.org/panama-foreign/commit/396a9bff68cd25331ff88927264eae51c583bf48 8298913: Add override qualifiers to Relocation classes Reviewed-by: kvn, aboldtch ! src/hotspot/share/code/relocInfo.hpp Changeset: f56285c3 Author: Xue-Lei Andrew Fan Date: 2022-12-21 01:47:50 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f56285c3613bb127e22f544bd4b461a0584e9d2a 8299146: No copyright statement on ArtifactResolverException.java Reviewed-by: erikj ! test/lib/jdk/test/lib/artifacts/ArtifactResolverException.java Changeset: f36e1449 Author: Matthias Baesken Date: 2022-12-21 08:05:37 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f36e144923da431a9c47faf5ae6577714fcf3adf 8299025: BMPImageReader.java readColorPalette could use staggeredReadByteStream Reviewed-by: clanger ! src/java.desktop/share/classes/com/sun/imageio/plugins/bmp/BMPImageReader.java Changeset: 85f9b37d Author: Andrey Turbanov Date: 2022-12-21 08:15:11 +0000 URL: https://git.openjdk.org/panama-foreign/commit/85f9b37d71852d35a75d404e1657db0562dacac5 8297682: Use Collections.emptyIterator where applicable Reviewed-by: stsypanov, alanb, jpai ! src/java.base/unix/classes/sun/nio/fs/UnixFileSystem.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java Changeset: b005013a Author: Naveen Narayanan Committer: Alexey Ivanov Date: 2022-12-21 10:48:27 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b005013a0015656b7f6ccc26f8a13c44d61f77b9 8296275: Write a test to verify setAccelerator method of JMenuItem Reviewed-by: mvs, aivanov + test/jdk/javax/swing/JMenuItem/JMenuItemSetAcceleratorTest.java Changeset: a7d6de71 Author: Chris Hegarty Date: 2022-12-21 12:19:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a7d6de71bb83c8715654f61dd166aad6e8dab847 8299015: Ensure that HttpResponse.BodySubscribers.ofFile writes all bytes Co-authored-by: Daniel Jeli?ski Reviewed-by: dfuchs, djelinski, jpai ! src/java.net.http/share/classes/jdk/internal/net/http/ResponseSubscribers.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/Utils.java ! test/jdk/java/net/httpclient/PathSubscriber/BodySubscriberOfFileTest.java Changeset: 88bfe4d3 Author: Roland Westrelin Date: 2022-12-21 14:46:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/88bfe4d3bff5504bb6061d1484325dd6a55f06a2 8297724: Loop strip mining prevents some empty loops from being eliminated Reviewed-by: kvn, thartmann ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/loopnode.hpp + test/hotspot/jtreg/compiler/c2/irTests/TestLSMMissedEmptyLoop.java Changeset: 65442a2e Author: Matias Saavedra Silva Committer: Ioi Lam Date: 2022-12-21 15:33:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/65442a2e26afa7c31b5949e7e20606e4066ced3b 8269736: Optimize CDS PatchEmbeddedPointers::do_bit() Reviewed-by: ccheung, iklam ! src/hotspot/share/cds/archiveHeapLoader.cpp ! src/hotspot/share/cds/archiveHeapLoader.hpp ! src/hotspot/share/cds/archiveHeapLoader.inline.hpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! test/hotspot/jtreg/runtime/cds/appcds/cacheObject/DifferentHeapSizes.java Changeset: 10d62fa2 Author: Xin Liu Date: 2022-12-21 16:48:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/10d62fa2183c0ed252ad0a9a743ae6a7710f9a95 8299061: Using lambda to optimize GraphKit::compute_stack_effects() Reviewed-by: kbarrett, thartmann ! src/hotspot/share/opto/graphKit.cpp Changeset: 7e59a0ec Author: Naoto Sato Date: 2022-12-21 18:09:21 +0000 URL: https://git.openjdk.org/panama-foreign/commit/7e59a0ecb672292814abdf7f2e31a5f5868c43d8 8298971: Move Console implementation into jdk internal package Reviewed-by: jpai ! src/java.base/share/classes/java/io/Console.java = src/java.base/share/classes/jdk/internal/io/JdkConsoleImpl.java ! src/java.base/unix/native/libjava/Console_md.c + src/java.base/unix/native/libjava/JdkConsoleImpl_md.c Changeset: f80faced Author: Damon Nguyen Committer: Harshitha Onkar Date: 2022-12-21 20:10:52 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f80faced6e6c6c1b10541a8b0c91625215c9ef43 8202931: [macos] java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java fails Reviewed-by: serb, honkar ! test/jdk/ProblemList.txt ! test/jdk/java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java Changeset: e85d00f6 Author: Jonathan Gibbons Date: 2022-12-20 21:33:53 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e85d00f6c32c9938fbc9529b055d90082f565fa3 8299147: Minor accessibility errors in the specs and man index pages Reviewed-by: mchung, erikj ! make/Docs.gmk Changeset: 3d4d9fd6 Author: Martin Doerr Date: 2022-12-20 22:02:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3d4d9fd6e6de037950f94482d4e33f178eb15daa 8298947: compiler/codecache/MHIntrinsicAllocFailureTest.java fails intermittently Reviewed-by: kvn, chagedorn ! test/hotspot/jtreg/compiler/codecache/MHIntrinsicAllocFailureTest.java Changeset: f7be5b53 Author: Jonathan Gibbons Date: 2022-12-20 22:53:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f7be5b530d10005ba928309870c9adc42afdf66a 8299156: Broken link in jdk.compiler/module-info.java Reviewed-by: iris ! src/jdk.compiler/share/classes/module-info.java Changeset: 92fe304f Author: Christoph Langer Date: 2022-12-21 10:57:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/92fe304f08b406cb0f87cf32497aea2f5ce9c5ea 8298588: WebSockets: HandshakeUrlEncodingTest unnecessarily depends on a response body Backport-of: 909d0cb4d9475fd367b8bc64a6b50c5a324e9a01 ! test/jdk/java/net/httpclient/websocket/HandshakeUrlEncodingTest.java Changeset: 81933b7a Author: Nick Gasson Date: 2022-12-21 11:00:48 +0000 URL: https://git.openjdk.org/panama-foreign/commit/81933b7a927c1579eda7b6678901e5d2bc1c1aed 8298642: ParallelGC -XX:+UseNUMA eden spaces allocated on wrong node Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/parallel/mutableNUMASpace.cpp Changeset: 9adc349c Author: Tyler Steele Date: 2022-12-21 18:17:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9adc349cbb38ccc23096c4504c7b4b70009c660f 8298726: (fs) Change PollingWatchService to record last modified time as FileTime rather than milliseconds Backport-of: 5f63f7a742a1071a87ca69463bae6e04a44fe462 ! src/java.base/share/classes/sun/nio/fs/PollingWatchService.java Changeset: 22007a1e Author: Volodymyr Paprotski Committer: Sandhya Viswanathan Date: 2022-12-21 18:43:40 +0000 URL: https://git.openjdk.org/panama-foreign/commit/22007a1e387a1b8e897c6fbb056377b7ddc6ec00 8298893: Rename option UsePolyIntrinsics to UsePoly1305Intrinsics Reviewed-by: jnimeh, chagedorn, thartmann ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/share/classfile/vmIntrinsics.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/runtime/globals.hpp Changeset: 34cdda5b Author: Jesper Wilhelmsson Date: 2022-12-21 23:50:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/34cdda5b8359cce33c2d4f92a41a620aea4f96e7 Merge Changeset: 50120396 Author: Sergey Bylokhov Date: 2022-12-22 07:20:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/50120396b6cca1219fb5dd42a11e4b29b79bd3bd 8298887: On the latest macOS+XCode the Robot API may report wrong colors Reviewed-by: azvegint ! src/java.desktop/macosx/native/libawt_lwawt/awt/CRobot.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/QuartzSurfaceData.h ! test/jdk/java/awt/AlphaComposite/WindowAlphaCompositeTest.java ! test/jdk/java/awt/Robot/CheckCommonColors/CheckCommonColors.java ! test/jdk/java/awt/font/GlyphVector/MultiSlotFontTest.java Changeset: a3693ccc Author: Bill Huang Date: 2022-12-22 16:50:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a3693ccc617d06137a61050b34646e8a90ed3d7e 8295087: Manual Test to Automated Test Conversion Reviewed-by: ssahoo, rhalade ! test/jdk/ProblemList.txt ! test/jdk/TEST.groups ! test/jdk/java/security/Policy/Root/Root.java ! test/jdk/javax/crypto/CryptoPermissions/InconsistentEntries.java + test/jdk/javax/crypto/CryptoPermissions/default_local.policy ! test/jdk/sun/security/provider/PolicyParser/ExtDirs.java ! test/jdk/sun/security/provider/PolicyParser/ExtDirs.policy ! test/jdk/sun/security/provider/PolicyParser/ExtDirs1.policy ! test/jdk/sun/security/provider/PolicyParser/ExtDirs2.policy ! test/jdk/sun/security/provider/PolicyParser/ExtDirs3.policy ! test/jdk/sun/security/provider/PolicyParser/ExtDirsChange.java ! test/jdk/sun/security/provider/PolicyParser/ExtDirsChange.policy ! test/jdk/sun/security/provider/PolicyParser/ExtDirsDefaultPolicy.java Changeset: 62a033ec Author: Kim Barrett Date: 2022-12-22 17:30:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/62a033ecd7058f4a4354ebdcd667b3d7991e1f3d 8299191: Unnecessarily global friend functions for relocInfo Reviewed-by: chagedorn, kvn ! src/hotspot/share/asm/codeBuffer.cpp ! src/hotspot/share/code/relocInfo.cpp ! src/hotspot/share/code/relocInfo.hpp Changeset: b378381a Author: Andrey Turbanov Date: 2022-12-22 19:09:37 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b378381a9c5abf555c4ccf87d387d2cd77196e04 8299199: Avoid redundant split calls in FontConfiguration.initReorderMap implementations Reviewed-by: aivanov ! src/java.desktop/share/classes/sun/awt/FontConfiguration.java ! src/java.desktop/unix/classes/sun/font/MFontConfiguration.java ! src/java.desktop/windows/classes/sun/awt/windows/WFontConfiguration.java Changeset: 6ccee839 Author: Ioi Lam Date: 2022-12-22 20:50:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6ccee839580fd9dc4cd4941b44dbbe3105202561 8292206: TestCgroupMetrics.java fails as getMemoryUsage() is lower than expected Reviewed-by: dholmes, sgehwolf ! test/jdk/jdk/internal/platform/cgroup/TestCgroupMetrics.java ! test/jdk/jdk/internal/platform/docker/TestSystemMetrics.java ! test/lib/jdk/test/lib/containers/cgroup/MetricsTester.java Changeset: 5e2de896 Author: Ichiroh Takiguchi Date: 2022-12-22 21:07:01 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5e2de89628aaf6acb8e458fb417426ca5e477bea 8299194: CustomTzIDCheckDST.java may fail at future date Reviewed-by: naoto ! test/jdk/java/util/TimeZone/CustomTzIDCheckDST.java Changeset: 2294f225 Author: Jonathan Gibbons Date: 2022-12-22 21:20:43 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2294f225c074516abd2fecf5c64e2e1a2453bc6f 8286311: remove boilerplate from use of runTests Reviewed-by: hannesw ! test/langtools/jdk/javadoc/doclet/5093723/T5093723.java ! test/langtools/jdk/javadoc/doclet/AccessAsciiArt/AccessAsciiArt.java ! test/langtools/jdk/javadoc/doclet/AccessH1/AccessH1.java ! test/langtools/jdk/javadoc/doclet/AccessSkipNav/AccessSkipNav.java ! test/langtools/jdk/javadoc/doclet/AccessSummary/AccessSummary.java ! test/langtools/jdk/javadoc/doclet/AuthorDD/AuthorDD.java ! test/langtools/jdk/javadoc/doclet/DocRootSlash/DocRootSlash.java ! test/langtools/jdk/javadoc/doclet/InheritDocForUserTags/DocTest.java ! test/langtools/jdk/javadoc/doclet/JavascriptWinTitle/JavascriptWinTitle.java ! test/langtools/jdk/javadoc/doclet/MetaTag/MetaTag.java ! test/langtools/jdk/javadoc/doclet/T6735320/T6735320.java ! test/langtools/jdk/javadoc/doclet/ValidHtml/ValidHtml.java ! test/langtools/jdk/javadoc/doclet/VersionNumber/VersionNumber.java ! test/langtools/jdk/javadoc/doclet/WindowTitles/WindowTitles.java ! test/langtools/jdk/javadoc/doclet/constantValues/TestConstantValuesDriver.java ! test/langtools/jdk/javadoc/doclet/dupThrowsTags/TestDupThrowsTags.java ! test/langtools/jdk/javadoc/doclet/testAbsLinkPath/TestAbsLinkPath.java ! test/langtools/jdk/javadoc/doclet/testAbstractMethod/TestAbstractMethod.java ! test/langtools/jdk/javadoc/doclet/testAnchorNames/TestAnchorNames.java ! test/langtools/jdk/javadoc/doclet/testAnnotationOptional/TestAnnotationOptional.java ! test/langtools/jdk/javadoc/doclet/testAnnotationTypes/TestAnnotationTypes.java ! test/langtools/jdk/javadoc/doclet/testAuthor/TestAuthor.java ! test/langtools/jdk/javadoc/doclet/testAutoHeaderId/TestAutoHeaderId.java ! test/langtools/jdk/javadoc/doclet/testAutoLoadTaglets/TestAutoLoadTaglets.java ! test/langtools/jdk/javadoc/doclet/testBackSlashInLink/TestBackSlashInLink.java ! test/langtools/jdk/javadoc/doclet/testBadHtml/TestBadHtml.java ! test/langtools/jdk/javadoc/doclet/testBadPackageFileInJar/TestBadPackageFileInJar.java ! test/langtools/jdk/javadoc/doclet/testBadSourceFile/TestBadSourceFile.java ! test/langtools/jdk/javadoc/doclet/testBaseClass/TestBaseClass.java ! test/langtools/jdk/javadoc/doclet/testBimodalTaglets/TestBimodalTaglets.java ! test/langtools/jdk/javadoc/doclet/testBreakIterator/TestBreakIterator.java ! test/langtools/jdk/javadoc/doclet/testCRLineSeparator/TestCRLineSeparator.java ! test/langtools/jdk/javadoc/doclet/testCharset/TestCharset.java ! test/langtools/jdk/javadoc/doclet/testCharsetDocencodingOptions/TestCharsetDocencodingOptions.java ! test/langtools/jdk/javadoc/doclet/testClassCrossReferences/TestClassCrossReferences.java ! test/langtools/jdk/javadoc/doclet/testClassLinks/TestClassLinks.java ! test/langtools/jdk/javadoc/doclet/testClassTree/TestClassTree.java ! test/langtools/jdk/javadoc/doclet/testCmndLineClass/TestCmndLineClass.java ! test/langtools/jdk/javadoc/doclet/testCompletionFailure/TestCompletionFailure.java ! test/langtools/jdk/javadoc/doclet/testConditionalPages/TestConditionalPages.java ! test/langtools/jdk/javadoc/doclet/testConstantValuesPage/TestConstantValuesPage.java ! test/langtools/jdk/javadoc/doclet/testConstructorIndent/TestConstructorIndent.java ! test/langtools/jdk/javadoc/doclet/testConstructors/TestConstructors.java ! test/langtools/jdk/javadoc/doclet/testCopyFiles/TestCopyFiles.java ! test/langtools/jdk/javadoc/doclet/testCustomTagletRegistration/TestRegistrationErrors.java ! test/langtools/jdk/javadoc/doclet/testDateOption/TestDateOption.java ! test/langtools/jdk/javadoc/doclet/testDeprecatedDocs/TestDeprecatedDocs.java ! test/langtools/jdk/javadoc/doclet/testDiagsLineCaret/TestDiagsLineCaret.java ! test/langtools/jdk/javadoc/doclet/testDocEncoding/TestDocEncoding.java ! test/langtools/jdk/javadoc/doclet/testDocErrorReporter/TestDocErrorReporter.java ! test/langtools/jdk/javadoc/doclet/testDocFileDir/TestDocFileDir.java ! test/langtools/jdk/javadoc/doclet/testDocFiles/TestDocFiles.java ! test/langtools/jdk/javadoc/doclet/testDocLintOption/TestDocLintOption.java ! test/langtools/jdk/javadoc/doclet/testDocPaths/TestDocPaths.java ! test/langtools/jdk/javadoc/doclet/testDocRootInlineTag/TestDocRootInlineTag.java ! test/langtools/jdk/javadoc/doclet/testDocRootLink/TestDocRootLink.java ! test/langtools/jdk/javadoc/doclet/testDocTreeDiags/TestDocTreeDiags.java ! test/langtools/jdk/javadoc/doclet/testDoclintDocletMessages/TestDocLintDocletMessages.java ! test/langtools/jdk/javadoc/doclet/testDupParamWarn/TestDupParamWarn.java ! test/langtools/jdk/javadoc/doclet/testEmptyClass/TestEmptyClass.java ! test/langtools/jdk/javadoc/doclet/testEmptyInheritDoc/TestEmptyInheritDoc.java ! test/langtools/jdk/javadoc/doclet/testEnclosingClass/TestEnclosingClass.java ! test/langtools/jdk/javadoc/doclet/testEncoding/TestEncoding.java ! test/langtools/jdk/javadoc/doclet/testEnumConstructor/TestEnumConstructor.java ! test/langtools/jdk/javadoc/doclet/testExceptionInheritance/TestExceptionInheritance.java ! test/langtools/jdk/javadoc/doclet/testExternalOverriddenMethod/TestExternalOverriddenMethod.java ! test/langtools/jdk/javadoc/doclet/testGeneratedBy/TestGeneratedBy.java ! test/langtools/jdk/javadoc/doclet/testGeneratedClasses/TestGeneratedClasses.java ! test/langtools/jdk/javadoc/doclet/testGenericMethodLinkTaglet/TestGenericMethodLinkTaglet.java ! test/langtools/jdk/javadoc/doclet/testGrandParentTypes/TestGrandParentTypes.java ! test/langtools/jdk/javadoc/doclet/testGroupName/TestGroupName.java ! test/langtools/jdk/javadoc/doclet/testGroupOption/TestGroupOption.java ! test/langtools/jdk/javadoc/doclet/testHeadTag/TestHeadTag.java ! test/langtools/jdk/javadoc/doclet/testHeadings/TestHeadings.java ! test/langtools/jdk/javadoc/doclet/testHelpFile/TestHelpFile.java ! test/langtools/jdk/javadoc/doclet/testHelpOption/TestHelpOption.java ! test/langtools/jdk/javadoc/doclet/testHelpPage/TestHelpPage.java ! test/langtools/jdk/javadoc/doclet/testHiddenMembers/TestHiddenMembers.java ! test/langtools/jdk/javadoc/doclet/testHiddenTag/TestHiddenTag.java ! test/langtools/jdk/javadoc/doclet/testHref/TestHref.java ! test/langtools/jdk/javadoc/doclet/testHrefInDocComment/TestHrefInDocComment.java ! test/langtools/jdk/javadoc/doclet/testHtml4Removal/TestHtml4Removal.java ! test/langtools/jdk/javadoc/doclet/testHtmlComments/TestHtmlComments.java ! test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java ! test/langtools/jdk/javadoc/doclet/testHtmlDocument/TestHtmlDocument.java ! test/langtools/jdk/javadoc/doclet/testHtmlLandmarkRegions/TestHtmlLandmarkRegions.java ! test/langtools/jdk/javadoc/doclet/testHtmlStrongTag/TestHtmlStrongTag.java ! test/langtools/jdk/javadoc/doclet/testHtmlTableStyles/TestHtmlTableStyles.java ! test/langtools/jdk/javadoc/doclet/testHtmlTableTags/TestHtmlTableTags.java ! test/langtools/jdk/javadoc/doclet/testHtmlTag/TestHtmlTag.java ! test/langtools/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java ! test/langtools/jdk/javadoc/doclet/testIOException/TestIOException.java ! test/langtools/jdk/javadoc/doclet/testIncluded/TestIncluded.java ! test/langtools/jdk/javadoc/doclet/testIndentation/TestIndentation.java ! test/langtools/jdk/javadoc/doclet/testIndex/TestIndex.java ! test/langtools/jdk/javadoc/doclet/testIndexFiles/TestIndexFiles.java ! test/langtools/jdk/javadoc/doclet/testIndexInDocFiles/TestIndexInDocFiles.java ! test/langtools/jdk/javadoc/doclet/testIndexInPackageFiles/TestIndexInPackageFiles.java ! test/langtools/jdk/javadoc/doclet/testIndexTaglet/TestIndexTaglet.java ! test/langtools/jdk/javadoc/doclet/testIndexWithModules/TestIndexWithModules.java ! test/langtools/jdk/javadoc/doclet/testInheritDocWithinInappropriateTag/TestInheritDocWithinInappropriateTag.java ! test/langtools/jdk/javadoc/doclet/testInherited/TestInherited.java ! test/langtools/jdk/javadoc/doclet/testInlineLinkLabel/TestInlineLinkLabel.java ! test/langtools/jdk/javadoc/doclet/testInterface/TestInterface.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestFxProperties.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFX.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFXCombo.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFXMissingPropComments.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFxMode.java ! test/langtools/jdk/javadoc/doclet/testJavaPackage/TestJavaPackage.java ! test/langtools/jdk/javadoc/doclet/testJavascript/TestJavascript.java ! test/langtools/jdk/javadoc/doclet/testLeadingSpaces/LeadingSpaces.java ! test/langtools/jdk/javadoc/doclet/testLegacyTaglet/TestLegacyTaglet.java ! test/langtools/jdk/javadoc/doclet/testLegalNotices/TestLegalNotices.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestBadLinkOption.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOption.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOptionWithAutomaticModule.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOptionWithModule.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestNewLineInLink.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestOptionOrder.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java ! test/langtools/jdk/javadoc/doclet/testLinkPlatform/TestLinkPlatform.java ! test/langtools/jdk/javadoc/doclet/testLinkTaglet/TestLinkNotFound.java ! test/langtools/jdk/javadoc/doclet/testLinkTaglet/TestLinkTaglet.java ! test/langtools/jdk/javadoc/doclet/testLinkTaglet/TestLinkTagletPrimitive.java ! test/langtools/jdk/javadoc/doclet/testLinkTaglet/TestLinkTagletWithModule.java ! test/langtools/jdk/javadoc/doclet/testLinkToSerialForm/TestLinkToSerialForm.java ! test/langtools/jdk/javadoc/doclet/testLinksWithNoDeprecatedOption/TestLinksWithNoDeprecatedOption.java ! test/langtools/jdk/javadoc/doclet/testLists/TestLists.java ! test/langtools/jdk/javadoc/doclet/testLiteralCodeInPre/TestLiteralCodeInPre.java ! test/langtools/jdk/javadoc/doclet/testMemberInheritance/TestMemberInheritance.java ! test/langtools/jdk/javadoc/doclet/testMemberSummary/TestMemberSummary.java ! test/langtools/jdk/javadoc/doclet/testMetadata/TestMetadata.java ! test/langtools/jdk/javadoc/doclet/testMethodId/TestMethodId.java ! test/langtools/jdk/javadoc/doclet/testMethodSignature/TestMethodSignature.java ! test/langtools/jdk/javadoc/doclet/testMethodTypes/TestMethodTypes.java ! test/langtools/jdk/javadoc/doclet/testMissingComment/TestMissingComment.java ! test/langtools/jdk/javadoc/doclet/testMissingType/TestMissingType.java ! test/langtools/jdk/javadoc/doclet/testModifierEx/TestModifierEx.java ! test/langtools/jdk/javadoc/doclet/testModuleDirs/TestModuleDirs.java ! test/langtools/jdk/javadoc/doclet/testModuleSpecificStylesheet/TestModuleSpecificStylesheet.java ! test/langtools/jdk/javadoc/doclet/testModules/TestEmptyModule.java ! test/langtools/jdk/javadoc/doclet/testModules/TestIndirectExportsOpens.java ! test/langtools/jdk/javadoc/doclet/testModules/TestModulePackages.java ! test/langtools/jdk/javadoc/doclet/testModules/TestModuleServices.java ! test/langtools/jdk/javadoc/doclet/testModules/TestModuleServicesLink.java ! test/langtools/jdk/javadoc/doclet/testModules/TestModules.java ! test/langtools/jdk/javadoc/doclet/testNavigation/TestModuleNavigation.java ! test/langtools/jdk/javadoc/doclet/testNavigation/TestNavigation.java ! test/langtools/jdk/javadoc/doclet/testNestedClasses/TestNestedClasses.java ! test/langtools/jdk/javadoc/doclet/testNestedGenerics/TestNestedGenerics.java ! test/langtools/jdk/javadoc/doclet/testNestedInlineTags/TestNestedIndexTag.java ! test/langtools/jdk/javadoc/doclet/testNestedInlineTags/TestNestedLinkTag.java ! test/langtools/jdk/javadoc/doclet/testNestedInlineTags/TestNestedReturnTag.java ! test/langtools/jdk/javadoc/doclet/testNestedInlineTags/TestNestedSummaryTag.java ! test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/TestNewLanguageFeatures.java ! test/langtools/jdk/javadoc/doclet/testNoFrames/TestNoFrames.java ! test/langtools/jdk/javadoc/doclet/testNoPackagesFile/TestNoPackagesFile.java ! test/langtools/jdk/javadoc/doclet/testNonInlineHtmlTagRemoval/TestNonInlineHtmlTagRemoval.java ! test/langtools/jdk/javadoc/doclet/testNotifications/TestNotifications.java ! test/langtools/jdk/javadoc/doclet/testOptions/TestOptions.java ! test/langtools/jdk/javadoc/doclet/testOrdering/TestOrdering.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestBadOverride.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestMultiInheritance.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverriddenDeprecatedMethods.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverriddenMethodDocCopy.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverriddenPrivateMethods.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverriddenPrivateMethodsWithPackageFlag.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverriddenPrivateMethodsWithPrivateFlag.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverrideMethods.java ! test/langtools/jdk/javadoc/doclet/testOverview/TestOverview.java ! test/langtools/jdk/javadoc/doclet/testPackageAnnotation/TestPackageAnnotation.java ! test/langtools/jdk/javadoc/doclet/testPackageDeprecation/TestPackageDeprecation.java ! test/langtools/jdk/javadoc/doclet/testPackageDescription/TestPackageDescription.java ! test/langtools/jdk/javadoc/doclet/testPackageHtml/TestPackageHtml.java ! test/langtools/jdk/javadoc/doclet/testPackagePage/TestPackagePage.java ! test/langtools/jdk/javadoc/doclet/testPackageSpecificStylesheet/TestPackageSpecificStylesheet.java ! test/langtools/jdk/javadoc/doclet/testPackageSummary/TestPackageSummary.java ! test/langtools/jdk/javadoc/doclet/testParamTaglet/TestParamTaglet.java ! test/langtools/jdk/javadoc/doclet/testPreview/TestPreview.java ! test/langtools/jdk/javadoc/doclet/testPrivateClasses/TestPrivateClasses.java ! test/langtools/jdk/javadoc/doclet/testProperty/TestProperty.java ! test/langtools/jdk/javadoc/doclet/testRecordLinks/TestRecordLinks.java ! test/langtools/jdk/javadoc/doclet/testRecordTypes/TestRecordTypes.java ! test/langtools/jdk/javadoc/doclet/testRecurseSubPackages/TestRecurseSubPackages.java ! test/langtools/jdk/javadoc/doclet/testRelatedPackages/TestRelatedPackages.java ! test/langtools/jdk/javadoc/doclet/testRelativeLinks/TestRelativeLinks.java ! test/langtools/jdk/javadoc/doclet/testRelativeLinks/TestRelativeModuleLinks.java ! test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/TestRepeatedAnnotations.java ! test/langtools/jdk/javadoc/doclet/testReporterStreams/TestReporterStreams.java ! test/langtools/jdk/javadoc/doclet/testReturnTag/TestReturnTag.java ! test/langtools/jdk/javadoc/doclet/testSealedTypes/TestSealedTypes.java ! test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java ! test/langtools/jdk/javadoc/doclet/testSearchScript/TestSearchScript.java ! test/langtools/jdk/javadoc/doclet/testSeeLinkAnchor/TestSeeLinkAnchor.java ! test/langtools/jdk/javadoc/doclet/testSeeTag/TestSeeTag.java ! test/langtools/jdk/javadoc/doclet/testSeeTag/TestSeeTagWithModule.java ! test/langtools/jdk/javadoc/doclet/testSerialMissing/TestSerialMissing.java ! test/langtools/jdk/javadoc/doclet/testSerialTag/TestSerialTag.java ! test/langtools/jdk/javadoc/doclet/testSerialVersionUID/TestSerialVersionUID.java ! test/langtools/jdk/javadoc/doclet/testSerialWithLink/TestSerialWithLink.java ! test/langtools/jdk/javadoc/doclet/testSerializedForm/TestSerializedForm.java ! test/langtools/jdk/javadoc/doclet/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java ! test/langtools/jdk/javadoc/doclet/testSerializedFormWithClassFile/TestSerializedFormWithClassFile.java ! test/langtools/jdk/javadoc/doclet/testSerializedFormWithSee/TestSerializedFormWithSee.java ! test/langtools/jdk/javadoc/doclet/testSimpleTag/TestSimpleTag.java ! test/langtools/jdk/javadoc/doclet/testSimpleTagExclude/TestSimpleTagExclude.java ! test/langtools/jdk/javadoc/doclet/testSimpleTagInherit/TestSimpleTagInherit.java ! test/langtools/jdk/javadoc/doclet/testSinceTag/TestSinceTag.java ! test/langtools/jdk/javadoc/doclet/testSingleQuotedLink/TestSingleQuotedLink.java ! test/langtools/jdk/javadoc/doclet/testSingletonLists/TestSingletonLists.java ! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestLangProperties.java ! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetMarkup.java ! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetPathOption.java ! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java ! test/langtools/jdk/javadoc/doclet/testSourceTab/TestSourceTab.java ! test/langtools/jdk/javadoc/doclet/testSpecTag/TestSpecTag.java ! test/langtools/jdk/javadoc/doclet/testStylesheet/TestStylesheet.java ! test/langtools/jdk/javadoc/doclet/testStylesheetOverwrite/TestStylesheetOverwrite.java ! test/langtools/jdk/javadoc/doclet/testSubTitle/TestSubTitle.java ! test/langtools/jdk/javadoc/doclet/testSummaryHeading/TestSummaryHeading.java ! test/langtools/jdk/javadoc/doclet/testSummaryTag/TestSummaryTag.java ! test/langtools/jdk/javadoc/doclet/testSuperclassInSerialForm/TestSuperClassInSerialForm.java ! test/langtools/jdk/javadoc/doclet/testSupplementary/TestSupplementary.java ! test/langtools/jdk/javadoc/doclet/testSystemPropertyPage/TestSystemPropertyPage.java ! test/langtools/jdk/javadoc/doclet/testSystemPropertyTaglet/TestSystemPropertyTaglet.java ! test/langtools/jdk/javadoc/doclet/testTagInheritance/TestTagInheritance.java ! test/langtools/jdk/javadoc/doclet/testTagMisuse/TestTagMisuse.java ! test/langtools/jdk/javadoc/doclet/testTagOrder/TestTagOrder.java ! test/langtools/jdk/javadoc/doclet/testTagOutput/TestTagOutput.java ! test/langtools/jdk/javadoc/doclet/testTaglets/TestTaglets.java ! test/langtools/jdk/javadoc/doclet/testTerminology/TestTerminology.java ! test/langtools/jdk/javadoc/doclet/testThrows/TestThrows.java ! test/langtools/jdk/javadoc/doclet/testThrowsHead/TestThrowsHead.java ! test/langtools/jdk/javadoc/doclet/testThrowsInheritance/TestThrowsTagInheritance.java ! test/langtools/jdk/javadoc/doclet/testThrowsInheritanceMatching/TestExceptionTypeMatching.java ! test/langtools/jdk/javadoc/doclet/testThrowsInheritanceMultiple/TestOneToMany.java ! test/langtools/jdk/javadoc/doclet/testThrowsTag/TestThrowsTag.java ! test/langtools/jdk/javadoc/doclet/testTitleInHref/TestTitleInHref.java ! test/langtools/jdk/javadoc/doclet/testTopOption/TestTopOption.java ! test/langtools/jdk/javadoc/doclet/testTypeAnnotations/TestTypeAnnotations.java ! test/langtools/jdk/javadoc/doclet/testTypeParams/TestTypeParameters.java ! test/langtools/jdk/javadoc/doclet/testTypeVariableLinks/TestTypeVariableLinks.java ! test/langtools/jdk/javadoc/doclet/testUnicode/TestUnicode.java ! test/langtools/jdk/javadoc/doclet/testUnnamedPackage/TestUnnamedPackage.java ! test/langtools/jdk/javadoc/doclet/testUseOption/TestUseOption.java ! test/langtools/jdk/javadoc/doclet/testUserTaglet/TestUserTaglet.java ! test/langtools/jdk/javadoc/doclet/testValueTag/TestValueFormats.java ! test/langtools/jdk/javadoc/doclet/testValueTag/TestValueTag.java ! test/langtools/jdk/javadoc/doclet/testValueTag/TestValueTagInModule.java ! test/langtools/jdk/javadoc/doclet/testVersionOption/TestVersionOption.java ! test/langtools/jdk/javadoc/doclet/testVersionTag/TestVersionTag.java ! test/langtools/jdk/javadoc/doclet/testVisibleMembers/TestVisibleMembers.java ! test/langtools/jdk/javadoc/doclet/testWarnBadParamNames/TestWarnBadParamNames.java ! test/langtools/jdk/javadoc/doclet/testWarnings/TestWarnings.java ! test/langtools/jdk/javadoc/doclet/testXOption/TestXOption.java ! test/langtools/jdk/javadoc/doclet/typeAnnotations/smoke/TestSmoke.java ! test/langtools/jdk/javadoc/lib/javadoc/tester/JavadocTester.java ! test/langtools/jdk/javadoc/testJavadocTester/TestJavadocTester.java ! test/langtools/jdk/javadoc/testJavadocTester/TestJavadocTesterCrash.java ! test/langtools/jdk/javadoc/testTFMBuilder/TestTFMBuilder.java ! test/langtools/jdk/javadoc/tool/8224612/OptionsTest.java ! test/langtools/jdk/javadoc/tool/8224613/OptionProcessingFailureTest.java ! test/langtools/jdk/javadoc/tool/CommandLineHelpTest.java ! test/langtools/jdk/javadoc/tool/exceptionHandling/TestExceptionHandling.java ! test/langtools/jdk/javadoc/tool/removeOldDoclet/RemoveOldDoclet.java ! test/langtools/jdk/javadoc/tool/reporter_generates_warnings/ReporterGeneratesWarningsInsteadOfNotes.java ! test/langtools/jdk/javadoc/tool/testToolStreams/TestToolStreams.java ! test/langtools/jdk/javadoc/tool/testWErrorOption/TestWErrorOption.java Changeset: 2f4098e1 Author: Xiaolin Zheng Committer: Fei Yang Date: 2022-12-23 09:22:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2f4098e1dc9c97e706d70008e473f9c4496cbc8a 8299168: RISC-V: Fix MachNode size mismatch for MacroAssembler::_verify_oops* Reviewed-by: fyang ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp Changeset: c0bd143b Author: duke Date: 2022-12-23 11:00:26 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c0bd143bf0eceb443779f7f05df67bfdce8be8a8 Automatic merge of jdk:master into master Changeset: 00b8ac5b Author: duke Date: 2022-12-23 11:00:45 +0000 URL: https://git.openjdk.org/panama-foreign/commit/00b8ac5b55e97f45f7138495a57f56b61d2958da Automatic merge of master into foreign-memaccess+abi From duke at openjdk.org Fri Dec 23 11:13:37 2022 From: duke at openjdk.org (duke) Date: Fri, 23 Dec 2022 11:13:37 GMT Subject: git: openjdk/panama-foreign: master: 91 new changesets Message-ID: <8cee73a7-3c04-449d-b2fc-fdf956862111@openjdk.org> Changeset: 909d0cb4 Author: Michal Karm Babacek Committer: Jaikiran Pai Date: 2022-12-16 12:28:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/909d0cb4d9475fd367b8bc64a6b50c5a324e9a01 8298588: WebSockets: HandshakeUrlEncodingTest unnecessarily depends on a response body Reviewed-by: dfuchs ! test/jdk/java/net/httpclient/websocket/HandshakeUrlEncodingTest.java Changeset: ac2fcf3f Author: Ivan Walulya Date: 2022-12-16 12:59:44 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ac2fcf3f7598caf8384282ec1178ec0b66c8408a 8296374: Check for young region in G1BarrierSet::invalidate instead of card-by-card check Reviewed-by: ayang, tschatzl ! src/hotspot/share/gc/g1/g1BarrierSet.cpp Changeset: f4caaca1 Author: Justin King Committer: Coleen Phillimore Date: 2022-12-16 14:00:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f4caaca100d334b671eed56287dfe7a1009c47d7 8298852: Use of uninitialized memory in MetadataFactory::free_metadata Reviewed-by: coleenp, stefank, dholmes ! src/hotspot/share/memory/metadataFactory.hpp Changeset: 323e574a Author: Stefan Karlsson Date: 2022-12-15 11:28:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/323e574a50520735f41549f36907563e1b4a1040 8298371: monitors_on_stack extracts unprocessed oops Backport-of: b754aa5e3f231aea8da5274c330dc55dd78b0f67 ! src/hotspot/share/runtime/continuationFreezeThaw.cpp Changeset: 22a6b591 Author: Jan Lahoda Date: 2022-12-15 11:33:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/22a6b5910290cb8a3876f94213ba60db86e60718 8298727: Trees.getPath may crash for unnamed package Reviewed-by: vromero ! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Enter.java + test/langtools/tools/javac/processing/model/EmptyPackageInfo.java Changeset: 48f61273 Author: Stefan Karlsson Date: 2022-12-15 11:44:21 +0000 URL: https://git.openjdk.org/panama-foreign/commit/48f6127325108e573b41d19213e65af99956a31f 8298376: ZGC: thaws stackChunk with stale oops Backport-of: ed8a2120ca1e9756c6ab5eeebfe24c15d549f04e ! src/hotspot/share/oops/stackChunkOop.hpp ! src/hotspot/share/oops/stackChunkOop.inline.hpp ! src/hotspot/share/runtime/continuationJavaClasses.hpp ! src/hotspot/share/runtime/continuationJavaClasses.inline.hpp Changeset: 2c424992 Author: Per Minborg Committer: Joe Darcy Date: 2022-12-15 15:46:05 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2c42499266377a32aa0ff96a0241d76d7517cf2e 8298050: Add links to graph output for javadoc Reviewed-by: darcy ! make/jdk/src/classes/build/tools/taglet/SealedGraph.java Changeset: ca39eb90 Author: Brian Burkhalter Date: 2022-12-15 17:27:08 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ca39eb906692568347e7f264520593188f9276cf 7093322: (fs spec) Files.newBufferedWriter should be clear when coding errors are detected Reviewed-by: alanb ! src/java.base/share/classes/java/nio/file/Files.java Changeset: c7d7e7e3 Author: Daniel D. Daugherty Date: 2022-12-16 00:01:08 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c7d7e7e3be768b35447d65661ec328204aeb40e4 8298888: ProblemList gc/g1/TestVerifyGCType.java on linux and macosx 8298889: ProblemList runtime/StackGuardPages/TestStackGuardPages.java on linux 8298891: ProblemList vmTestbase/nsk/monitoring/MemoryPoolMBean/isCollectionUsageThresholdExceeded/isexceeded002/TestDescription.java with ZGC 8298892: ProblemList vmTestbase/nsk/sysdict/vm/stress/chain/chain008/chain008.java with ZGC Reviewed-by: bpb, lmesnik ! test/hotspot/jtreg/ProblemList-zgc.txt ! test/hotspot/jtreg/ProblemList.txt Changeset: 03a694af Author: Sergey Bylokhov Date: 2022-12-16 06:33:08 +0000 URL: https://git.openjdk.org/panama-foreign/commit/03a694afda81f575f8a24e655d53b2b029e3d968 8298083: The "CheckBox/RadioButton[Enabled/Disabled].textForeground" stoped working Reviewed-by: prr Backport-of: 5540a8c5b7160ab5c67bb84631e3de54fa5aeceb ! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java ! src/java.desktop/share/classes/javax/swing/plaf/synth/SynthStyle.java ! test/jdk/ProblemList.txt ! test/jdk/javax/swing/JRadioButton/4314194/bug4314194.java Changeset: c47e64e4 Author: Stefan Johansson Date: 2022-12-16 08:06:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c47e64e4f3be80f434dd4dea9b6e8d282b2c2b32 8297979: ZGC: Ensure consistent MemoryUsage from MemoryMXBean.getHeapMemoryUsage() Reviewed-by: stefank, ayang ! src/hotspot/share/gc/z/zCollectedHeap.cpp ! src/hotspot/share/gc/z/zCollectedHeap.hpp ! test/hotspot/jtreg/ProblemList-zgc.txt Changeset: 0ba47348 Author: Markus Gr?nlund Date: 2022-12-16 10:46:37 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0ba473489151d74c8a15b75ff4964ac480fecb28 8287699: jdk/jfr/api/consumer/TestRecordingFileWrite.java fails with exception: java.lang.Exception: Found event that should not be there. Reviewed-by: egahlin ! src/hotspot/share/jfr/support/jfrThreadLocal.cpp ! test/jdk/ProblemList.txt Changeset: f771c56e Author: Maurizio Cimadamore Date: 2022-12-16 10:49:22 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f771c56e16a39724712ca0d8c2dd55b9ce260f4d 8298797: Specification of some restricted methods is incorrect Reviewed-by: jvernee, pminborg ! src/java.base/share/classes/java/lang/foreign/Linker.java ! src/java.base/share/classes/java/lang/foreign/MemorySegment.java ! src/java.base/share/classes/java/lang/foreign/SymbolLookup.java ! src/java.base/share/classes/java/lang/foreign/VaList.java ! src/java.base/share/classes/java/lang/foreign/ValueLayout.java ! test/jdk/java/foreign/handles/lookup_module/handle/lookup/MethodHandleLookup.java Changeset: 3696711e Author: Jesper Wilhelmsson Date: 2022-12-16 15:48:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3696711efa566fb776d6923da86e17b0e1e22964 Merge ! test/hotspot/jtreg/ProblemList-zgc.txt ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt ! test/hotspot/jtreg/ProblemList-zgc.txt ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 81e23ab3 Author: Eric Caspole Date: 2022-12-16 16:30:31 +0000 URL: https://git.openjdk.org/panama-foreign/commit/81e23ab3403a983ccddf27b1169a49e2ca061296 8298809: Clean up vm/compiler/InterfaceCalls JMH Reviewed-by: kvn ! test/micro/org/openjdk/bench/vm/compiler/InterfaceCalls.java Changeset: 0eeaeb8e Author: Naoto Sato Date: 2022-12-16 17:16:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0eeaeb8e7ba40be5e93eb87c7e3dc94230062746 8298808: Check `script` code on detecting the base locales Reviewed-by: joehw ! make/jdk/src/classes/build/tools/cldrconverter/CLDRConverter.java ! make/jdk/src/classes/build/tools/cldrconverter/ResourceBundleGenerator.java Changeset: bf9a8ce0 Author: Matthew Donovan Committer: Rajan Halade Date: 2022-12-16 17:51:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/bf9a8ce0bb975a3d50e92148f92850ef930d64b0 8249826: 5 javax/net/ssl/SSLEngine tests use @ignore w/o bug-id Reviewed-by: xuelei, rhalade, ssahoo ! test/jdk/ProblemList.txt ! test/jdk/javax/net/ssl/SSLEngine/Basics.java ! test/jdk/javax/net/ssl/SSLEngine/CheckStatus.java ! test/jdk/javax/net/ssl/SSLEngine/ConnectionTest.java ! test/jdk/javax/net/ssl/SSLEngine/EngineCloseOnAlert.java ! test/jdk/javax/net/ssl/SSLEngine/IllegalHandshakeMessage.java ! test/jdk/javax/net/ssl/SSLEngine/IllegalRecordVersion.java ! test/jdk/javax/net/ssl/SSLEngine/TestAllSuites.java Changeset: bfa921ae Author: Kim Barrett Date: 2022-12-16 20:47:40 +0000 URL: https://git.openjdk.org/panama-foreign/commit/bfa921ae6ce068c53dfa708d6d3d2cddbad5fc33 8160404: RelocationHolder constructors have bugs Reviewed-by: kvn, jrose, jvernee ! src/hotspot/cpu/x86/assembler_x86.cpp ! src/hotspot/share/code/relocInfo.cpp ! src/hotspot/share/code/relocInfo.hpp Changeset: 7938f8c3 Author: Per Minborg Committer: Alan Bateman Date: 2022-12-18 20:25:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/7938f8c32a1c0ecdd3bcc8cd1a2652df248a2213 8298639: Perform I/O operations in bulk for RandomAccessFile Co-authored-by: Sergey Tsypanov Reviewed-by: alanb, bpb ! src/java.base/share/classes/java/io/RandomAccessFile.java ! test/jdk/java/io/File/Basic.java + test/micro/org/openjdk/bench/java/io/RandomAccessFileBenchmark.java Changeset: ba942c24 Author: Fei Gao Committer: Ningsheng Jian Date: 2022-12-19 01:11:19 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ba942c24e8894f4422870fb53253f5946dc4f0d1 8298244: AArch64: Optimize vector implementation of AddReduction for floating point Reviewed-by: aph, xgong ! src/hotspot/cpu/aarch64/aarch64_vector.ad ! src/hotspot/cpu/aarch64/aarch64_vector_ad.m4 ! src/hotspot/cpu/aarch64/assembler_aarch64.hpp ! test/hotspot/gtest/aarch64/aarch64-asmtest.py ! test/hotspot/gtest/aarch64/asmtest.out.h Changeset: 5e678f75 Author: Christian Hagedorn Date: 2022-12-19 07:10:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5e678f7500e514f04637c546959613d4688f989c 8298824: C2 crash: assert(is_Bool()) failed: invalid node class: ConI Reviewed-by: roland, kvn, thartmann ! src/hotspot/share/opto/subnode.cpp + test/hotspot/jtreg/compiler/c2/TestCMoveIConAsBool.java Changeset: 36376605 Author: sunguoyun Committer: Tobias Hartmann Date: 2022-12-19 07:56:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/36376605215ba3380bfc07752eec043af04a5c29 8298813: [C2] Converting double to float cause a loss of precision and resulting crypto.aes scores fluctuate Reviewed-by: thartmann ! src/hotspot/share/opto/chaitin.hpp Changeset: 16225630 Author: Damon Fenacci Committer: Tobias Hartmann Date: 2022-12-19 08:35:00 +0000 URL: https://git.openjdk.org/panama-foreign/commit/16225630ec3d4943e359f7a8b0f531429bb434c8 8265688: Unused ciMethodType::ptype_at should be removed Reviewed-by: thartmann, kvn ! src/hotspot/share/ci/ciMethodType.cpp ! src/hotspot/share/ci/ciMethodType.hpp Changeset: ec959914 Author: Damon Fenacci Committer: Tobias Hartmann Date: 2022-12-19 08:47:04 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ec95991470a99c917f757614fc6d2cd883bdb39b 8298736: Revisit usages of log10 in compiler code Reviewed-by: thartmann, chagedorn, epeter ! src/hotspot/share/opto/loopnode.cpp ! src/hotspot/share/opto/node.cpp Changeset: 86d588b0 Author: Damon Fenacci Committer: Tobias Hartmann Date: 2022-12-19 08:48:41 +0000 URL: https://git.openjdk.org/panama-foreign/commit/86d588b035d09141d807dbed6b91d9909782d61a 8283740: C1: Convert flag TwoOperandLIRForm to a constant on all platforms Reviewed-by: thartmann, chagedorn ! src/hotspot/cpu/aarch64/c1_Defs_aarch64.hpp ! src/hotspot/cpu/aarch64/c1_globals_aarch64.hpp ! src/hotspot/cpu/arm/c1_Defs_arm.hpp ! src/hotspot/cpu/arm/c1_globals_arm.hpp ! src/hotspot/cpu/ppc/c1_Defs_ppc.hpp ! src/hotspot/cpu/ppc/c1_globals_ppc.hpp ! src/hotspot/cpu/riscv/c1_Defs_riscv.hpp ! src/hotspot/cpu/riscv/c1_globals_riscv.hpp ! src/hotspot/cpu/s390/c1_Defs_s390.hpp ! src/hotspot/cpu/s390/c1_globals_s390.hpp ! src/hotspot/cpu/x86/c1_Defs_x86.hpp ! src/hotspot/cpu/x86/c1_globals_x86.hpp ! src/hotspot/share/c1/c1_Defs.hpp ! src/hotspot/share/c1/c1_LIR.cpp ! src/hotspot/share/c1/c1_LIRGenerator.cpp ! src/hotspot/share/c1/c1_globals.hpp ! src/hotspot/share/gc/g1/c1/g1BarrierSetC1.cpp ! src/hotspot/share/gc/shared/c1/cardTableBarrierSetC1.cpp ! src/hotspot/share/gc/shenandoah/c1/shenandoahBarrierSetC1.cpp Changeset: 8e49fcdd Author: Damon Fenacci Committer: Tobias Hartmann Date: 2022-12-19 08:50:44 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8e49fcdde4fef5a8db36823b35d409ba2c9ec47b 8295661: CompileTask::compile_id() should be passed as int Reviewed-by: thartmann, dnsimon, never ! src/hotspot/share/ci/ciEnv.cpp ! src/hotspot/share/ci/ciEnv.hpp ! src/hotspot/share/code/codeHeapState.cpp ! src/hotspot/share/code/codeHeapState.hpp ! src/hotspot/share/compiler/compileBroker.cpp ! src/hotspot/share/compiler/compileBroker.hpp ! src/hotspot/share/compiler/compileTask.hpp ! src/hotspot/share/jfr/metadata/metadata.xml ! src/hotspot/share/runtime/vmStructs.cpp Changeset: da38d43f Author: Emanuel Peter Date: 2022-12-19 12:21:50 +0000 URL: https://git.openjdk.org/panama-foreign/commit/da38d43fcc640ea9852db6c7c23817dcef7080d5 8296412: Special case infinite loops with unmerged backedges in IdealLoopTree::check_safepts Reviewed-by: chagedorn, kvn, thartmann ! src/hotspot/share/opto/loopnode.cpp + test/hotspot/jtreg/compiler/loopopts/TestInfiniteLoopWithUnmergedBackedges.jasm + test/hotspot/jtreg/compiler/loopopts/TestInfiniteLoopWithUnmergedBackedgesMain.java Changeset: de0ce792 Author: Damon Fenacci Committer: Christian Hagedorn Date: 2022-12-19 15:44:38 +0000 URL: https://git.openjdk.org/panama-foreign/commit/de0ce792c1865f80b6bcfce6741681cb74d75cef 8297801: printnm crashes with invalid address due to null pointer dereference Reviewed-by: thartmann, chagedorn, kvn ! src/hotspot/share/utilities/debug.cpp Changeset: 756a06d4 Author: Matthias Baesken Date: 2022-12-19 16:20:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/756a06d4c239966ed68bbbe8ee4c6b6d02154c02 8299022: Linux ppc64le and s390x build issues after JDK-8160404 Reviewed-by: mdoerr, lucy ! src/hotspot/cpu/ppc/assembler_ppc.hpp ! src/hotspot/cpu/s390/assembler_s390.hpp Changeset: 4c927df7 Author: Coleen Phillimore Date: 2022-12-19 17:13:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4c927df7125f3c9d4c24dc587ad99d7fa1d1ccb3 8298470: Short cut java.lang.Object super class loading Reviewed-by: dholmes, iklam ! src/hotspot/share/classfile/classFileParser.cpp Changeset: 9194e915 Author: Chris Plummer Date: 2022-12-19 18:02:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9194e915495434c154ff4cf142d527b163026b3c 8298701: Cleanup SA entries in ProblemList-zgc.txt. Reviewed-by: sspitsyn, amenkov ! test/hotspot/jtreg/ProblemList-zgc.txt Changeset: 40cb431f Author: Archie L. Cobbs Committer: Jonathan Gibbons Date: 2022-12-19 19:48:13 +0000 URL: https://git.openjdk.org/panama-foreign/commit/40cb431fee7c1f193b2f445c397c1444ed2e0015 8298943: Missing escapes for single quote marks in compiler.properties Reviewed-by: jjg ! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/langtools/tools/javac/diags/CheckResourceKeys.java Changeset: 5d330f52 Author: Jonathan Gibbons Date: 2022-12-19 21:09:01 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5d330f5285b535b37dde5cd4e42374d92fafb550 8299045: tools/doclint/BadPackageCommentTest.java fails after JDK-8298943 Reviewed-by: vromero ! test/langtools/tools/doclint/BadPackageCommentTest.out Changeset: abc12976 Author: lawrence.andrews Committer: Harshitha Onkar Date: 2022-12-19 23:26:01 +0000 URL: https://git.openjdk.org/panama-foreign/commit/abc1297643b03ea9b4a03a12ce681971784774fb 8299044: test/jdk/javax/swing/JComboBox/JComboBoxBorderTest.java fails on non mac Reviewed-by: serb, honkar ! test/jdk/javax/swing/JComboBox/JComboBoxBorderTest.java Changeset: 05f9e767 Author: Phil Race Date: 2022-12-19 23:32:58 +0000 URL: https://git.openjdk.org/panama-foreign/commit/05f9e7676ea457cd5ef44acca9a1706b5dd0d093 8298974: Add ftcolor.c to imported freetype sources Reviewed-by: serb + src/java.desktop/share/native/libfreetype/src/base/ftcolor.c Changeset: dd15d306 Author: lawrence.andrews Committer: Sergey Bylokhov Date: 2022-12-20 01:16:37 +0000 URL: https://git.openjdk.org/panama-foreign/commit/dd15d306a68caa02659dd95d16b71d0f1a437bc6 8299043: test/jdk/javax/swing/AbstractButton/5049549/bug5049549.java fails with java.lang.NullPointerException Reviewed-by: serb ! test/jdk/javax/swing/AbstractButton/5049549/bug5049549.java Changeset: 36de61c4 Author: Daniel Jeli?ski Date: 2022-12-20 10:27:33 +0000 URL: https://git.openjdk.org/panama-foreign/commit/36de61c460d7038019294293143e420dfcce2936 8298865: Excessive memory allocation in CipherOutputStream AEAD decryption Reviewed-by: valeriep, ascarpino ! src/java.base/share/classes/javax/crypto/CipherInputStream.java ! src/java.base/share/classes/javax/crypto/CipherOutputStream.java + test/micro/org/openjdk/bench/javax/crypto/full/AESGCMCipherOutputStream.java Changeset: 5df00d34 Author: Daniel Fuchs Date: 2022-12-20 11:05:38 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5df00d34fe83648fb833dac738a45653865ca426 8298931: java/net/httpclient/CancelStreamedBodyTest.java fails with AssertionError due to Pending TCP connections: 1 Reviewed-by: jpai ! test/jdk/java/net/httpclient/CancelStreamedBodyTest.java ! test/jdk/java/net/httpclient/ISO_8859_1_Test.java ! test/jdk/java/net/httpclient/ReferenceTracker.java Changeset: e5edb10d Author: Daniel Fuchs Date: 2022-12-20 11:06:36 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e5edb10dc56d9edac8e050e0f8e6c116743975d6 8299018: java/net/httpclient/HttpsTunnelAuthTest.java fails with java.io.IOException: HTTP/1.1 header parser received no bytes Reviewed-by: djelinski, jpai ! test/jdk/java/net/httpclient/ProxyServer.java Changeset: b14794db Author: Coleen Phillimore Date: 2022-12-16 14:09:55 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b14794db00ded878dbfc7080f9d57a0f65c02dee 8298852: Use of uninitialized memory in MetadataFactory::free_metadata Backport-of: f4caaca100d334b671eed56287dfe7a1009c47d7 ! src/hotspot/share/memory/metadataFactory.hpp Changeset: 9e10f00e Author: Tobias Hartmann Date: 2022-12-16 14:39:48 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9e10f00edbf37e5e5db8efc4f1e0c2a76541aab2 8298919: Add a regression test for JDK-8298520 Reviewed-by: chagedorn, roland + test/hotspot/jtreg/compiler/loopopts/TestUnexpectedOpaque1.java Changeset: c997b5bf Author: Damon Nguyen Committer: Naoto Sato Date: 2022-12-16 21:15:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c997b5bffd0ebbd6d68332572639c8cea05ccdb1 8298133: JDK 20 RDP1 L10n resource files update - msgdrop 10 Reviewed-by: achung, naoto, joehw, cjplummer, almatvee ! src/java.base/share/classes/sun/launcher/resources/launcher_de.properties ! src/java.base/share/classes/sun/launcher/resources/launcher_ja.properties ! src/java.base/share/classes/sun/launcher/resources/launcher_zh_CN.properties ! 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.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/xalan/internal/res/XSLTErrorResources_de.java ! src/java.xml/share/classes/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_ja.java ! src/java.xml/share/classes/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_zh_CN.java ! src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_de.java ! src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_ja.java ! src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_zh_CN.java ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/DOMMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/DOMMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/DOMMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/DatatypeMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/DatatypeMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/DatatypeMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/JAXPValidationMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/JAXPValidationMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/JAXPValidationMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/SAXMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/SAXMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/SAXMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XIncludeMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XIncludeMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XIncludeMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLSchemaMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLSchemaMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLSchemaMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLSerializerMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLSerializerMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XMLSerializerMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XPointerMessages_de.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XPointerMessages_ja.properties ! src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/msg/XPointerMessages_zh_CN.properties ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_de.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_ja.java ! src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_zh_CN.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/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.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.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.jdeps/share/classes/com/sun/tools/javap/resources/javap_de.properties ! src/jdk.jdeps/share/classes/com/sun/tools/javap/resources/javap_ja.properties ! src/jdk.jdeps/share/classes/com/sun/tools/javap/resources/javap_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.jdi/share/classes/com/sun/tools/jdi/resources/jdi_de.properties ! src/jdk.jdi/share/classes/com/sun/tools/jdi/resources/jdi_ja.properties ! src/jdk.jdi/share/classes/com/sun/tools/jdi/resources/jdi_zh_CN.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 ! src/jdk.jlink/share/classes/jdk/tools/jmod/resources/jmod_de.properties ! src/jdk.jlink/share/classes/jdk/tools/jmod/resources/jmod_ja.properties ! src/jdk.jlink/share/classes/jdk/tools/jmod/resources/jmod_zh_CN.properties ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/LinuxResources_de.properties ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/LinuxResources_ja.properties ! src/jdk.jpackage/linux/classes/jdk/jpackage/internal/resources/LinuxResources_zh_CN.properties ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacResources_de.properties ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacResources_ja.properties ! src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/resources/MacResources_zh_CN.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.jpackage/share/classes/jdk/jpackage/internal/resources/MainResources_de.properties ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/MainResources_ja.properties ! src/jdk.jpackage/share/classes/jdk/jpackage/internal/resources/MainResources_zh_CN.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 Changeset: 0ecad28d Author: Daniel D. Daugherty Date: 2022-12-16 21:17:04 +0000 URL: https://git.openjdk.org/panama-foreign/commit/0ecad28daa64ae1a0e6194e207ae57486b06e484 8298976: ProblemList java/util/concurrent/ExecutorService/CloseTest.java on macosx-aarch64 8298977: ProblemList vmTestbase/nsk/stress/strace/strace002.java on 2 platforms 8298978: ProblemList vmTestbase/nsk/stress/strace/strace003.java on 2 platforms Reviewed-by: kbarrett, iris ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 3b7970ca Author: Ajit Ghaisas Date: 2022-12-17 06:37:18 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3b7970cab39a67eabcde331822f0432f71d9186b 8298217: Regressions 30-110% in SwingMark on MacOS, more so on aarch64 Reviewed-by: avu, prr, jdv ! 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 - test/jdk/java/awt/Graphics2D/DrawPrimitivesTest.java Changeset: 41cc0443 Author: Alexander Zvegintsev Date: 2022-12-17 13:28:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/41cc04430ab9e6db31ea26b5254668c9ab18966d 8298970: Problem list java/awt/event/KeyEvent/KeyTyped/CtrlASCII.java Reviewed-by: serb ! test/jdk/ProblemList.txt Changeset: d1026720 Author: Alexander Zvegintsev Date: 2022-12-17 13:30:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d1026720d323d0acd9bd8d85d5caba7185107863 8298905: Test "java/awt/print/PrinterJob/ImagePrinting/PrintARGBImage.java" fails because the frames of instruction does not display Reviewed-by: honkar, serb ! test/jdk/java/awt/print/PrinterJob/ImagePrinting/PrintARGBImage.java ! test/jdk/java/awt/print/PrinterJob/PageRangesDlgTest.java ! test/jdk/javax/swing/ProgressMonitor/ProgressTest.java Changeset: 34105556 Author: Daniel D. Daugherty Date: 2022-12-17 16:13:03 +0000 URL: https://git.openjdk.org/panama-foreign/commit/34105556d16774439195076f22f37f275d0d8873 8298987: ProblemList jdk/internal/vm/Continuation/Fuzz.java#default with ZGC on X64 8298989: ProblemList vmTestbase/nsk/jvmti/InterruptThread/intrpthrd003/TestDescription.java on macosx-x64 8298990: ProblemList java/lang/Thread/virtual/stress/Skynet.java subtests with ZGC Reviewed-by: azvegint ! test/hotspot/jtreg/ProblemList.txt ! test/jdk/ProblemList-zgc.txt Changeset: 2c69c41d Author: Alan Bateman Date: 2022-12-19 18:06:19 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2c69c41d48fddcbeb40a374f691b7e5faba3c99a 8298894: java/lang/Thread/virtual/stress/Skynet.java timed out and threw OutOfMemoryError Reviewed-by: eosterlund ! test/jdk/ProblemList-zgc.txt ! test/jdk/java/lang/Thread/virtual/stress/Skynet.java Changeset: 188aaef3 Author: Hannes Walln?fer Date: 2022-12-19 19:13:29 +0000 URL: https://git.openjdk.org/panama-foreign/commit/188aaef38594658288e9222ed815d5af4b8d3dad 8277074: Qualified exported types show up in JavaDoc Reviewed-by: psandoz ! src/java.base/share/classes/jdk/internal/event/Event.java ! src/java.base/share/classes/jdk/internal/vm/vector/VectorSupport.java Changeset: 3e17e3c1 Author: Alexander Zuev Date: 2022-12-19 22:16:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3e17e3c1c12d71461213bf15cdb72d4d93c88460 4512626: Non-editable JTextArea provides no visual indication of keyboard focus 8194048: Regression automated test '/open/test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java' fails 8213562: Test javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java fails Reviewed-by: aivanov, azvegint ! src/java.desktop/share/classes/javax/swing/text/DefaultCaret.java ! test/jdk/ProblemList.txt ! test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java ! test/jdk/javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java Changeset: f07acfc1 Author: Daniel D. Daugherty Date: 2022-12-19 23:08:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f07acfc166e1261f830e63629e76303ec6235377 8298699: java/lang/reflect/IllegalArgumentsTest.java times out with slowdebug bits Reviewed-by: iris ! test/jdk/java/lang/reflect/IllegalArgumentsTest.java Changeset: d0a7679d Author: Roger Riggs Date: 2022-12-19 23:10:30 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d0a7679d2e9c86ee2fc6edf2e37c1729c833ae11 4958969: ObjectOutputStream example leads to non-working code Reviewed-by: lancea, naoto ! src/java.base/share/classes/java/io/ObjectInputFilter.java ! src/java.base/share/classes/java/io/ObjectInputStream.java ! src/java.base/share/classes/java/io/ObjectOutputStream.java Changeset: ea40f299 Author: Kim Barrett Date: 2022-12-20 00:13:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/ea40f299397f19f1bbedd4eeb4d24802a709a912 8298215: gc/g1/TestVerifyGCType.java failed with "Missing expected verification pattern Verifying After GC for: Pause Young (Prepare Mixed): expected true, was false" Reviewed-by: iwalulya, tschatzl ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/gc/g1/TestVerifyGCType.java Changeset: 3dd2cfab Author: Erik Gahlin Date: 2022-12-20 10:52:11 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3dd2cfabdcd91cf9e53d977ef76d0c81b3a072eb 8298784: JFR: Test chunk integrity Reviewed-by: mgronlun + test/jdk/jdk/jfr/jvm/TestChunkIntegrity.java Changeset: c5a4a7a6 Author: Jesper Wilhelmsson Date: 2022-12-20 11:40:56 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c5a4a7a679ec76cb08a999a198e5c73e9cd9d2f0 Merge ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/gc/g1/TestVerifyGCType.java ! test/jdk/ProblemList.txt ! src/hotspot/share/gc/g1/g1Policy.cpp ! src/hotspot/share/gc/g1/g1Policy.hpp ! test/hotspot/jtreg/ProblemList.txt ! test/hotspot/jtreg/gc/g1/TestVerifyGCType.java ! test/jdk/ProblemList.txt Changeset: 318526b0 Author: Erik Gahlin Date: 2022-12-20 12:22:01 +0000 URL: https://git.openjdk.org/panama-foreign/commit/318526b01e45698cd1fa2c930a97f8c2aa84fb2d 8299031: JFR: Clean up jdk.management.jfr Reviewed-by: mgronlun ! src/jdk.management.jfr/share/classes/jdk/management/jfr/ConfigurationInfo.java ! src/jdk.management.jfr/share/classes/jdk/management/jfr/EventTypeInfo.java ! src/jdk.management.jfr/share/classes/jdk/management/jfr/RecordingInfo.java ! src/jdk.management.jfr/share/classes/jdk/management/jfr/RemoteRecordingStream.java Changeset: de8153ca Author: Erik Gahlin Date: 2022-12-20 13:07:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/de8153cab76606350eb0ecc4302b23c52f0565a6 8298526: JFR: Generate missing filename for time-bound recordings Reviewed-by: mgronlun ! src/jdk.jfr/share/classes/jdk/jfr/internal/dcmd/DCmdStart.java ! test/jdk/jdk/jfr/startupargs/TestStartDuration.java Changeset: 8dfb6d76 Author: Albert Mingkun Yang Date: 2022-12-20 19:36:52 +0000 URL: https://git.openjdk.org/panama-foreign/commit/8dfb6d76e8528af2c5dd6a1354ba9175f5369fe5 8298651: Serial: Remove MarkSweep::follow_klass Reviewed-by: kbarrett, tschatzl ! src/hotspot/share/gc/serial/markSweep.cpp ! src/hotspot/share/gc/serial/markSweep.hpp Changeset: 65fc0588 Author: Albert Mingkun Yang Date: 2022-12-20 12:43:53 +0000 URL: https://git.openjdk.org/panama-foreign/commit/65fc05884bc96ce0b6f572034ae085c933f85c61 8298968: G1: Incorrect merged remset stats Reviewed-by: tschatzl, kbarrett ! src/hotspot/share/gc/g1/g1RemSet.cpp Changeset: 03d99272 Author: Coleen Phillimore Date: 2022-12-20 13:21:50 +0000 URL: https://git.openjdk.org/panama-foreign/commit/03d992728e27bd3dcd00d1af8a7b7179281e626f 8298061: vmTestbase/nsk/sysdict/vm/stress/btree/btree012/btree012.java failed with "fatal error: refcount has gone to zero" Reviewed-by: iklam, dholmes ! src/hotspot/share/classfile/placeholders.hpp Changeset: 03afec16 Author: Coleen Phillimore Date: 2022-12-20 14:09:22 +0000 URL: https://git.openjdk.org/panama-foreign/commit/03afec16f8abecb845eb14db5b51eaac9131a3c8 8298162: Test PrintClasses hits assert when run with code that retransform classes Reviewed-by: dholmes, mgronlun ! src/hotspot/share/runtime/fieldDescriptor.cpp ! test/hotspot/jtreg/runtime/CommandLine/PrintClasses.java Changeset: f4d7f433 Author: Daniel D. Daugherty Date: 2022-12-20 16:20:50 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f4d7f433942219704072a3fef156fe0fa7864f66 8299123: [BACKOUT] 4512626 Non-editable JTextArea provides no visual indication of keyboard focus Reviewed-by: tschatzl ! src/java.desktop/share/classes/javax/swing/text/DefaultCaret.java ! test/jdk/ProblemList.txt ! test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java ! test/jdk/javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java Changeset: 386db071 Author: Jesper Wilhelmsson Date: 2022-12-20 20:20:17 +0000 URL: https://git.openjdk.org/panama-foreign/commit/386db07143883f85307138eca2f0305d997a2171 Merge ! test/jdk/ProblemList.txt ! test/jdk/ProblemList.txt Changeset: 396a9bff Author: Kim Barrett Date: 2022-12-21 01:22:11 +0000 URL: https://git.openjdk.org/panama-foreign/commit/396a9bff68cd25331ff88927264eae51c583bf48 8298913: Add override qualifiers to Relocation classes Reviewed-by: kvn, aboldtch ! src/hotspot/share/code/relocInfo.hpp Changeset: f56285c3 Author: Xue-Lei Andrew Fan Date: 2022-12-21 01:47:50 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f56285c3613bb127e22f544bd4b461a0584e9d2a 8299146: No copyright statement on ArtifactResolverException.java Reviewed-by: erikj ! test/lib/jdk/test/lib/artifacts/ArtifactResolverException.java Changeset: f36e1449 Author: Matthias Baesken Date: 2022-12-21 08:05:37 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f36e144923da431a9c47faf5ae6577714fcf3adf 8299025: BMPImageReader.java readColorPalette could use staggeredReadByteStream Reviewed-by: clanger ! src/java.desktop/share/classes/com/sun/imageio/plugins/bmp/BMPImageReader.java Changeset: 85f9b37d Author: Andrey Turbanov Date: 2022-12-21 08:15:11 +0000 URL: https://git.openjdk.org/panama-foreign/commit/85f9b37d71852d35a75d404e1657db0562dacac5 8297682: Use Collections.emptyIterator where applicable Reviewed-by: stsypanov, alanb, jpai ! src/java.base/unix/classes/sun/nio/fs/UnixFileSystem.java ! src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java Changeset: b005013a Author: Naveen Narayanan Committer: Alexey Ivanov Date: 2022-12-21 10:48:27 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b005013a0015656b7f6ccc26f8a13c44d61f77b9 8296275: Write a test to verify setAccelerator method of JMenuItem Reviewed-by: mvs, aivanov + test/jdk/javax/swing/JMenuItem/JMenuItemSetAcceleratorTest.java Changeset: a7d6de71 Author: Chris Hegarty Date: 2022-12-21 12:19:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a7d6de71bb83c8715654f61dd166aad6e8dab847 8299015: Ensure that HttpResponse.BodySubscribers.ofFile writes all bytes Co-authored-by: Daniel Jeli?ski Reviewed-by: dfuchs, djelinski, jpai ! src/java.net.http/share/classes/jdk/internal/net/http/ResponseSubscribers.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/Utils.java ! test/jdk/java/net/httpclient/PathSubscriber/BodySubscriberOfFileTest.java Changeset: 88bfe4d3 Author: Roland Westrelin Date: 2022-12-21 14:46:57 +0000 URL: https://git.openjdk.org/panama-foreign/commit/88bfe4d3bff5504bb6061d1484325dd6a55f06a2 8297724: Loop strip mining prevents some empty loops from being eliminated Reviewed-by: kvn, thartmann ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/loopnode.hpp + test/hotspot/jtreg/compiler/c2/irTests/TestLSMMissedEmptyLoop.java Changeset: 65442a2e Author: Matias Saavedra Silva Committer: Ioi Lam Date: 2022-12-21 15:33:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/65442a2e26afa7c31b5949e7e20606e4066ced3b 8269736: Optimize CDS PatchEmbeddedPointers::do_bit() Reviewed-by: ccheung, iklam ! src/hotspot/share/cds/archiveHeapLoader.cpp ! src/hotspot/share/cds/archiveHeapLoader.hpp ! src/hotspot/share/cds/archiveHeapLoader.inline.hpp ! src/hotspot/share/cds/filemap.cpp ! src/hotspot/share/cds/filemap.hpp ! test/hotspot/jtreg/runtime/cds/appcds/cacheObject/DifferentHeapSizes.java Changeset: 10d62fa2 Author: Xin Liu Date: 2022-12-21 16:48:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/10d62fa2183c0ed252ad0a9a743ae6a7710f9a95 8299061: Using lambda to optimize GraphKit::compute_stack_effects() Reviewed-by: kbarrett, thartmann ! src/hotspot/share/opto/graphKit.cpp Changeset: 7e59a0ec Author: Naoto Sato Date: 2022-12-21 18:09:21 +0000 URL: https://git.openjdk.org/panama-foreign/commit/7e59a0ecb672292814abdf7f2e31a5f5868c43d8 8298971: Move Console implementation into jdk internal package Reviewed-by: jpai ! src/java.base/share/classes/java/io/Console.java = src/java.base/share/classes/jdk/internal/io/JdkConsoleImpl.java ! src/java.base/unix/native/libjava/Console_md.c + src/java.base/unix/native/libjava/JdkConsoleImpl_md.c Changeset: f80faced Author: Damon Nguyen Committer: Harshitha Onkar Date: 2022-12-21 20:10:52 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f80faced6e6c6c1b10541a8b0c91625215c9ef43 8202931: [macos] java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java fails Reviewed-by: serb, honkar ! test/jdk/ProblemList.txt ! test/jdk/java/awt/Choice/ChoicePopupLocation/ChoicePopupLocation.java Changeset: e85d00f6 Author: Jonathan Gibbons Date: 2022-12-20 21:33:53 +0000 URL: https://git.openjdk.org/panama-foreign/commit/e85d00f6c32c9938fbc9529b055d90082f565fa3 8299147: Minor accessibility errors in the specs and man index pages Reviewed-by: mchung, erikj ! make/Docs.gmk Changeset: 3d4d9fd6 Author: Martin Doerr Date: 2022-12-20 22:02:34 +0000 URL: https://git.openjdk.org/panama-foreign/commit/3d4d9fd6e6de037950f94482d4e33f178eb15daa 8298947: compiler/codecache/MHIntrinsicAllocFailureTest.java fails intermittently Reviewed-by: kvn, chagedorn ! test/hotspot/jtreg/compiler/codecache/MHIntrinsicAllocFailureTest.java Changeset: f7be5b53 Author: Jonathan Gibbons Date: 2022-12-20 22:53:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/f7be5b530d10005ba928309870c9adc42afdf66a 8299156: Broken link in jdk.compiler/module-info.java Reviewed-by: iris ! src/jdk.compiler/share/classes/module-info.java Changeset: 92fe304f Author: Christoph Langer Date: 2022-12-21 10:57:24 +0000 URL: https://git.openjdk.org/panama-foreign/commit/92fe304f08b406cb0f87cf32497aea2f5ce9c5ea 8298588: WebSockets: HandshakeUrlEncodingTest unnecessarily depends on a response body Backport-of: 909d0cb4d9475fd367b8bc64a6b50c5a324e9a01 ! test/jdk/java/net/httpclient/websocket/HandshakeUrlEncodingTest.java Changeset: 81933b7a Author: Nick Gasson Date: 2022-12-21 11:00:48 +0000 URL: https://git.openjdk.org/panama-foreign/commit/81933b7a927c1579eda7b6678901e5d2bc1c1aed 8298642: ParallelGC -XX:+UseNUMA eden spaces allocated on wrong node Reviewed-by: tschatzl, ayang ! src/hotspot/share/gc/parallel/mutableNUMASpace.cpp Changeset: 9adc349c Author: Tyler Steele Date: 2022-12-21 18:17:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9adc349cbb38ccc23096c4504c7b4b70009c660f 8298726: (fs) Change PollingWatchService to record last modified time as FileTime rather than milliseconds Backport-of: 5f63f7a742a1071a87ca69463bae6e04a44fe462 ! src/java.base/share/classes/sun/nio/fs/PollingWatchService.java Changeset: 22007a1e Author: Volodymyr Paprotski Committer: Sandhya Viswanathan Date: 2022-12-21 18:43:40 +0000 URL: https://git.openjdk.org/panama-foreign/commit/22007a1e387a1b8e897c6fbb056377b7ddc6ec00 8298893: Rename option UsePolyIntrinsics to UsePoly1305Intrinsics Reviewed-by: jnimeh, chagedorn, thartmann ! src/hotspot/cpu/x86/stubGenerator_x86_64.cpp ! src/hotspot/cpu/x86/vm_version_x86.cpp ! src/hotspot/share/classfile/vmIntrinsics.cpp ! src/hotspot/share/opto/library_call.cpp ! src/hotspot/share/runtime/globals.hpp Changeset: 34cdda5b Author: Jesper Wilhelmsson Date: 2022-12-21 23:50:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/34cdda5b8359cce33c2d4f92a41a620aea4f96e7 Merge Changeset: 50120396 Author: Sergey Bylokhov Date: 2022-12-22 07:20:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/50120396b6cca1219fb5dd42a11e4b29b79bd3bd 8298887: On the latest macOS+XCode the Robot API may report wrong colors Reviewed-by: azvegint ! src/java.desktop/macosx/native/libawt_lwawt/awt/CRobot.m ! src/java.desktop/macosx/native/libawt_lwawt/awt/QuartzSurfaceData.h ! test/jdk/java/awt/AlphaComposite/WindowAlphaCompositeTest.java ! test/jdk/java/awt/Robot/CheckCommonColors/CheckCommonColors.java ! test/jdk/java/awt/font/GlyphVector/MultiSlotFontTest.java Changeset: a3693ccc Author: Bill Huang Date: 2022-12-22 16:50:59 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a3693ccc617d06137a61050b34646e8a90ed3d7e 8295087: Manual Test to Automated Test Conversion Reviewed-by: ssahoo, rhalade ! test/jdk/ProblemList.txt ! test/jdk/TEST.groups ! test/jdk/java/security/Policy/Root/Root.java ! test/jdk/javax/crypto/CryptoPermissions/InconsistentEntries.java + test/jdk/javax/crypto/CryptoPermissions/default_local.policy ! test/jdk/sun/security/provider/PolicyParser/ExtDirs.java ! test/jdk/sun/security/provider/PolicyParser/ExtDirs.policy ! test/jdk/sun/security/provider/PolicyParser/ExtDirs1.policy ! test/jdk/sun/security/provider/PolicyParser/ExtDirs2.policy ! test/jdk/sun/security/provider/PolicyParser/ExtDirs3.policy ! test/jdk/sun/security/provider/PolicyParser/ExtDirsChange.java ! test/jdk/sun/security/provider/PolicyParser/ExtDirsChange.policy ! test/jdk/sun/security/provider/PolicyParser/ExtDirsDefaultPolicy.java Changeset: 62a033ec Author: Kim Barrett Date: 2022-12-22 17:30:09 +0000 URL: https://git.openjdk.org/panama-foreign/commit/62a033ecd7058f4a4354ebdcd667b3d7991e1f3d 8299191: Unnecessarily global friend functions for relocInfo Reviewed-by: chagedorn, kvn ! src/hotspot/share/asm/codeBuffer.cpp ! src/hotspot/share/code/relocInfo.cpp ! src/hotspot/share/code/relocInfo.hpp Changeset: b378381a Author: Andrey Turbanov Date: 2022-12-22 19:09:37 +0000 URL: https://git.openjdk.org/panama-foreign/commit/b378381a9c5abf555c4ccf87d387d2cd77196e04 8299199: Avoid redundant split calls in FontConfiguration.initReorderMap implementations Reviewed-by: aivanov ! src/java.desktop/share/classes/sun/awt/FontConfiguration.java ! src/java.desktop/unix/classes/sun/font/MFontConfiguration.java ! src/java.desktop/windows/classes/sun/awt/windows/WFontConfiguration.java Changeset: 6ccee839 Author: Ioi Lam Date: 2022-12-22 20:50:20 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6ccee839580fd9dc4cd4941b44dbbe3105202561 8292206: TestCgroupMetrics.java fails as getMemoryUsage() is lower than expected Reviewed-by: dholmes, sgehwolf ! test/jdk/jdk/internal/platform/cgroup/TestCgroupMetrics.java ! test/jdk/jdk/internal/platform/docker/TestSystemMetrics.java ! test/lib/jdk/test/lib/containers/cgroup/MetricsTester.java Changeset: 5e2de896 Author: Ichiroh Takiguchi Date: 2022-12-22 21:07:01 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5e2de89628aaf6acb8e458fb417426ca5e477bea 8299194: CustomTzIDCheckDST.java may fail at future date Reviewed-by: naoto ! test/jdk/java/util/TimeZone/CustomTzIDCheckDST.java Changeset: 2294f225 Author: Jonathan Gibbons Date: 2022-12-22 21:20:43 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2294f225c074516abd2fecf5c64e2e1a2453bc6f 8286311: remove boilerplate from use of runTests Reviewed-by: hannesw ! test/langtools/jdk/javadoc/doclet/5093723/T5093723.java ! test/langtools/jdk/javadoc/doclet/AccessAsciiArt/AccessAsciiArt.java ! test/langtools/jdk/javadoc/doclet/AccessH1/AccessH1.java ! test/langtools/jdk/javadoc/doclet/AccessSkipNav/AccessSkipNav.java ! test/langtools/jdk/javadoc/doclet/AccessSummary/AccessSummary.java ! test/langtools/jdk/javadoc/doclet/AuthorDD/AuthorDD.java ! test/langtools/jdk/javadoc/doclet/DocRootSlash/DocRootSlash.java ! test/langtools/jdk/javadoc/doclet/InheritDocForUserTags/DocTest.java ! test/langtools/jdk/javadoc/doclet/JavascriptWinTitle/JavascriptWinTitle.java ! test/langtools/jdk/javadoc/doclet/MetaTag/MetaTag.java ! test/langtools/jdk/javadoc/doclet/T6735320/T6735320.java ! test/langtools/jdk/javadoc/doclet/ValidHtml/ValidHtml.java ! test/langtools/jdk/javadoc/doclet/VersionNumber/VersionNumber.java ! test/langtools/jdk/javadoc/doclet/WindowTitles/WindowTitles.java ! test/langtools/jdk/javadoc/doclet/constantValues/TestConstantValuesDriver.java ! test/langtools/jdk/javadoc/doclet/dupThrowsTags/TestDupThrowsTags.java ! test/langtools/jdk/javadoc/doclet/testAbsLinkPath/TestAbsLinkPath.java ! test/langtools/jdk/javadoc/doclet/testAbstractMethod/TestAbstractMethod.java ! test/langtools/jdk/javadoc/doclet/testAnchorNames/TestAnchorNames.java ! test/langtools/jdk/javadoc/doclet/testAnnotationOptional/TestAnnotationOptional.java ! test/langtools/jdk/javadoc/doclet/testAnnotationTypes/TestAnnotationTypes.java ! test/langtools/jdk/javadoc/doclet/testAuthor/TestAuthor.java ! test/langtools/jdk/javadoc/doclet/testAutoHeaderId/TestAutoHeaderId.java ! test/langtools/jdk/javadoc/doclet/testAutoLoadTaglets/TestAutoLoadTaglets.java ! test/langtools/jdk/javadoc/doclet/testBackSlashInLink/TestBackSlashInLink.java ! test/langtools/jdk/javadoc/doclet/testBadHtml/TestBadHtml.java ! test/langtools/jdk/javadoc/doclet/testBadPackageFileInJar/TestBadPackageFileInJar.java ! test/langtools/jdk/javadoc/doclet/testBadSourceFile/TestBadSourceFile.java ! test/langtools/jdk/javadoc/doclet/testBaseClass/TestBaseClass.java ! test/langtools/jdk/javadoc/doclet/testBimodalTaglets/TestBimodalTaglets.java ! test/langtools/jdk/javadoc/doclet/testBreakIterator/TestBreakIterator.java ! test/langtools/jdk/javadoc/doclet/testCRLineSeparator/TestCRLineSeparator.java ! test/langtools/jdk/javadoc/doclet/testCharset/TestCharset.java ! test/langtools/jdk/javadoc/doclet/testCharsetDocencodingOptions/TestCharsetDocencodingOptions.java ! test/langtools/jdk/javadoc/doclet/testClassCrossReferences/TestClassCrossReferences.java ! test/langtools/jdk/javadoc/doclet/testClassLinks/TestClassLinks.java ! test/langtools/jdk/javadoc/doclet/testClassTree/TestClassTree.java ! test/langtools/jdk/javadoc/doclet/testCmndLineClass/TestCmndLineClass.java ! test/langtools/jdk/javadoc/doclet/testCompletionFailure/TestCompletionFailure.java ! test/langtools/jdk/javadoc/doclet/testConditionalPages/TestConditionalPages.java ! test/langtools/jdk/javadoc/doclet/testConstantValuesPage/TestConstantValuesPage.java ! test/langtools/jdk/javadoc/doclet/testConstructorIndent/TestConstructorIndent.java ! test/langtools/jdk/javadoc/doclet/testConstructors/TestConstructors.java ! test/langtools/jdk/javadoc/doclet/testCopyFiles/TestCopyFiles.java ! test/langtools/jdk/javadoc/doclet/testCustomTagletRegistration/TestRegistrationErrors.java ! test/langtools/jdk/javadoc/doclet/testDateOption/TestDateOption.java ! test/langtools/jdk/javadoc/doclet/testDeprecatedDocs/TestDeprecatedDocs.java ! test/langtools/jdk/javadoc/doclet/testDiagsLineCaret/TestDiagsLineCaret.java ! test/langtools/jdk/javadoc/doclet/testDocEncoding/TestDocEncoding.java ! test/langtools/jdk/javadoc/doclet/testDocErrorReporter/TestDocErrorReporter.java ! test/langtools/jdk/javadoc/doclet/testDocFileDir/TestDocFileDir.java ! test/langtools/jdk/javadoc/doclet/testDocFiles/TestDocFiles.java ! test/langtools/jdk/javadoc/doclet/testDocLintOption/TestDocLintOption.java ! test/langtools/jdk/javadoc/doclet/testDocPaths/TestDocPaths.java ! test/langtools/jdk/javadoc/doclet/testDocRootInlineTag/TestDocRootInlineTag.java ! test/langtools/jdk/javadoc/doclet/testDocRootLink/TestDocRootLink.java ! test/langtools/jdk/javadoc/doclet/testDocTreeDiags/TestDocTreeDiags.java ! test/langtools/jdk/javadoc/doclet/testDoclintDocletMessages/TestDocLintDocletMessages.java ! test/langtools/jdk/javadoc/doclet/testDupParamWarn/TestDupParamWarn.java ! test/langtools/jdk/javadoc/doclet/testEmptyClass/TestEmptyClass.java ! test/langtools/jdk/javadoc/doclet/testEmptyInheritDoc/TestEmptyInheritDoc.java ! test/langtools/jdk/javadoc/doclet/testEnclosingClass/TestEnclosingClass.java ! test/langtools/jdk/javadoc/doclet/testEncoding/TestEncoding.java ! test/langtools/jdk/javadoc/doclet/testEnumConstructor/TestEnumConstructor.java ! test/langtools/jdk/javadoc/doclet/testExceptionInheritance/TestExceptionInheritance.java ! test/langtools/jdk/javadoc/doclet/testExternalOverriddenMethod/TestExternalOverriddenMethod.java ! test/langtools/jdk/javadoc/doclet/testGeneratedBy/TestGeneratedBy.java ! test/langtools/jdk/javadoc/doclet/testGeneratedClasses/TestGeneratedClasses.java ! test/langtools/jdk/javadoc/doclet/testGenericMethodLinkTaglet/TestGenericMethodLinkTaglet.java ! test/langtools/jdk/javadoc/doclet/testGrandParentTypes/TestGrandParentTypes.java ! test/langtools/jdk/javadoc/doclet/testGroupName/TestGroupName.java ! test/langtools/jdk/javadoc/doclet/testGroupOption/TestGroupOption.java ! test/langtools/jdk/javadoc/doclet/testHeadTag/TestHeadTag.java ! test/langtools/jdk/javadoc/doclet/testHeadings/TestHeadings.java ! test/langtools/jdk/javadoc/doclet/testHelpFile/TestHelpFile.java ! test/langtools/jdk/javadoc/doclet/testHelpOption/TestHelpOption.java ! test/langtools/jdk/javadoc/doclet/testHelpPage/TestHelpPage.java ! test/langtools/jdk/javadoc/doclet/testHiddenMembers/TestHiddenMembers.java ! test/langtools/jdk/javadoc/doclet/testHiddenTag/TestHiddenTag.java ! test/langtools/jdk/javadoc/doclet/testHref/TestHref.java ! test/langtools/jdk/javadoc/doclet/testHrefInDocComment/TestHrefInDocComment.java ! test/langtools/jdk/javadoc/doclet/testHtml4Removal/TestHtml4Removal.java ! test/langtools/jdk/javadoc/doclet/testHtmlComments/TestHtmlComments.java ! test/langtools/jdk/javadoc/doclet/testHtmlDefinitionListTag/TestHtmlDefinitionListTag.java ! test/langtools/jdk/javadoc/doclet/testHtmlDocument/TestHtmlDocument.java ! test/langtools/jdk/javadoc/doclet/testHtmlLandmarkRegions/TestHtmlLandmarkRegions.java ! test/langtools/jdk/javadoc/doclet/testHtmlStrongTag/TestHtmlStrongTag.java ! test/langtools/jdk/javadoc/doclet/testHtmlTableStyles/TestHtmlTableStyles.java ! test/langtools/jdk/javadoc/doclet/testHtmlTableTags/TestHtmlTableTags.java ! test/langtools/jdk/javadoc/doclet/testHtmlTag/TestHtmlTag.java ! test/langtools/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java ! test/langtools/jdk/javadoc/doclet/testIOException/TestIOException.java ! test/langtools/jdk/javadoc/doclet/testIncluded/TestIncluded.java ! test/langtools/jdk/javadoc/doclet/testIndentation/TestIndentation.java ! test/langtools/jdk/javadoc/doclet/testIndex/TestIndex.java ! test/langtools/jdk/javadoc/doclet/testIndexFiles/TestIndexFiles.java ! test/langtools/jdk/javadoc/doclet/testIndexInDocFiles/TestIndexInDocFiles.java ! test/langtools/jdk/javadoc/doclet/testIndexInPackageFiles/TestIndexInPackageFiles.java ! test/langtools/jdk/javadoc/doclet/testIndexTaglet/TestIndexTaglet.java ! test/langtools/jdk/javadoc/doclet/testIndexWithModules/TestIndexWithModules.java ! test/langtools/jdk/javadoc/doclet/testInheritDocWithinInappropriateTag/TestInheritDocWithinInappropriateTag.java ! test/langtools/jdk/javadoc/doclet/testInherited/TestInherited.java ! test/langtools/jdk/javadoc/doclet/testInlineLinkLabel/TestInlineLinkLabel.java ! test/langtools/jdk/javadoc/doclet/testInterface/TestInterface.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestFxProperties.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFX.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFXCombo.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFXMissingPropComments.java ! test/langtools/jdk/javadoc/doclet/testJavaFX/TestJavaFxMode.java ! test/langtools/jdk/javadoc/doclet/testJavaPackage/TestJavaPackage.java ! test/langtools/jdk/javadoc/doclet/testJavascript/TestJavascript.java ! test/langtools/jdk/javadoc/doclet/testLeadingSpaces/LeadingSpaces.java ! test/langtools/jdk/javadoc/doclet/testLegacyTaglet/TestLegacyTaglet.java ! test/langtools/jdk/javadoc/doclet/testLegalNotices/TestLegalNotices.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestBadLinkOption.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOption.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOptionWithAutomaticModule.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestLinkOptionWithModule.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestNewLineInLink.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestOptionOrder.java ! test/langtools/jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java ! test/langtools/jdk/javadoc/doclet/testLinkPlatform/TestLinkPlatform.java ! test/langtools/jdk/javadoc/doclet/testLinkTaglet/TestLinkNotFound.java ! test/langtools/jdk/javadoc/doclet/testLinkTaglet/TestLinkTaglet.java ! test/langtools/jdk/javadoc/doclet/testLinkTaglet/TestLinkTagletPrimitive.java ! test/langtools/jdk/javadoc/doclet/testLinkTaglet/TestLinkTagletWithModule.java ! test/langtools/jdk/javadoc/doclet/testLinkToSerialForm/TestLinkToSerialForm.java ! test/langtools/jdk/javadoc/doclet/testLinksWithNoDeprecatedOption/TestLinksWithNoDeprecatedOption.java ! test/langtools/jdk/javadoc/doclet/testLists/TestLists.java ! test/langtools/jdk/javadoc/doclet/testLiteralCodeInPre/TestLiteralCodeInPre.java ! test/langtools/jdk/javadoc/doclet/testMemberInheritance/TestMemberInheritance.java ! test/langtools/jdk/javadoc/doclet/testMemberSummary/TestMemberSummary.java ! test/langtools/jdk/javadoc/doclet/testMetadata/TestMetadata.java ! test/langtools/jdk/javadoc/doclet/testMethodId/TestMethodId.java ! test/langtools/jdk/javadoc/doclet/testMethodSignature/TestMethodSignature.java ! test/langtools/jdk/javadoc/doclet/testMethodTypes/TestMethodTypes.java ! test/langtools/jdk/javadoc/doclet/testMissingComment/TestMissingComment.java ! test/langtools/jdk/javadoc/doclet/testMissingType/TestMissingType.java ! test/langtools/jdk/javadoc/doclet/testModifierEx/TestModifierEx.java ! test/langtools/jdk/javadoc/doclet/testModuleDirs/TestModuleDirs.java ! test/langtools/jdk/javadoc/doclet/testModuleSpecificStylesheet/TestModuleSpecificStylesheet.java ! test/langtools/jdk/javadoc/doclet/testModules/TestEmptyModule.java ! test/langtools/jdk/javadoc/doclet/testModules/TestIndirectExportsOpens.java ! test/langtools/jdk/javadoc/doclet/testModules/TestModulePackages.java ! test/langtools/jdk/javadoc/doclet/testModules/TestModuleServices.java ! test/langtools/jdk/javadoc/doclet/testModules/TestModuleServicesLink.java ! test/langtools/jdk/javadoc/doclet/testModules/TestModules.java ! test/langtools/jdk/javadoc/doclet/testNavigation/TestModuleNavigation.java ! test/langtools/jdk/javadoc/doclet/testNavigation/TestNavigation.java ! test/langtools/jdk/javadoc/doclet/testNestedClasses/TestNestedClasses.java ! test/langtools/jdk/javadoc/doclet/testNestedGenerics/TestNestedGenerics.java ! test/langtools/jdk/javadoc/doclet/testNestedInlineTags/TestNestedIndexTag.java ! test/langtools/jdk/javadoc/doclet/testNestedInlineTags/TestNestedLinkTag.java ! test/langtools/jdk/javadoc/doclet/testNestedInlineTags/TestNestedReturnTag.java ! test/langtools/jdk/javadoc/doclet/testNestedInlineTags/TestNestedSummaryTag.java ! test/langtools/jdk/javadoc/doclet/testNewLanguageFeatures/TestNewLanguageFeatures.java ! test/langtools/jdk/javadoc/doclet/testNoFrames/TestNoFrames.java ! test/langtools/jdk/javadoc/doclet/testNoPackagesFile/TestNoPackagesFile.java ! test/langtools/jdk/javadoc/doclet/testNonInlineHtmlTagRemoval/TestNonInlineHtmlTagRemoval.java ! test/langtools/jdk/javadoc/doclet/testNotifications/TestNotifications.java ! test/langtools/jdk/javadoc/doclet/testOptions/TestOptions.java ! test/langtools/jdk/javadoc/doclet/testOrdering/TestOrdering.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestBadOverride.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestMultiInheritance.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverriddenDeprecatedMethods.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverriddenMethodDocCopy.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverriddenPrivateMethods.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverriddenPrivateMethodsWithPackageFlag.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverriddenPrivateMethodsWithPrivateFlag.java ! test/langtools/jdk/javadoc/doclet/testOverriddenMethods/TestOverrideMethods.java ! test/langtools/jdk/javadoc/doclet/testOverview/TestOverview.java ! test/langtools/jdk/javadoc/doclet/testPackageAnnotation/TestPackageAnnotation.java ! test/langtools/jdk/javadoc/doclet/testPackageDeprecation/TestPackageDeprecation.java ! test/langtools/jdk/javadoc/doclet/testPackageDescription/TestPackageDescription.java ! test/langtools/jdk/javadoc/doclet/testPackageHtml/TestPackageHtml.java ! test/langtools/jdk/javadoc/doclet/testPackagePage/TestPackagePage.java ! test/langtools/jdk/javadoc/doclet/testPackageSpecificStylesheet/TestPackageSpecificStylesheet.java ! test/langtools/jdk/javadoc/doclet/testPackageSummary/TestPackageSummary.java ! test/langtools/jdk/javadoc/doclet/testParamTaglet/TestParamTaglet.java ! test/langtools/jdk/javadoc/doclet/testPreview/TestPreview.java ! test/langtools/jdk/javadoc/doclet/testPrivateClasses/TestPrivateClasses.java ! test/langtools/jdk/javadoc/doclet/testProperty/TestProperty.java ! test/langtools/jdk/javadoc/doclet/testRecordLinks/TestRecordLinks.java ! test/langtools/jdk/javadoc/doclet/testRecordTypes/TestRecordTypes.java ! test/langtools/jdk/javadoc/doclet/testRecurseSubPackages/TestRecurseSubPackages.java ! test/langtools/jdk/javadoc/doclet/testRelatedPackages/TestRelatedPackages.java ! test/langtools/jdk/javadoc/doclet/testRelativeLinks/TestRelativeLinks.java ! test/langtools/jdk/javadoc/doclet/testRelativeLinks/TestRelativeModuleLinks.java ! test/langtools/jdk/javadoc/doclet/testRepeatedAnnotations/TestRepeatedAnnotations.java ! test/langtools/jdk/javadoc/doclet/testReporterStreams/TestReporterStreams.java ! test/langtools/jdk/javadoc/doclet/testReturnTag/TestReturnTag.java ! test/langtools/jdk/javadoc/doclet/testSealedTypes/TestSealedTypes.java ! test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java ! test/langtools/jdk/javadoc/doclet/testSearchScript/TestSearchScript.java ! test/langtools/jdk/javadoc/doclet/testSeeLinkAnchor/TestSeeLinkAnchor.java ! test/langtools/jdk/javadoc/doclet/testSeeTag/TestSeeTag.java ! test/langtools/jdk/javadoc/doclet/testSeeTag/TestSeeTagWithModule.java ! test/langtools/jdk/javadoc/doclet/testSerialMissing/TestSerialMissing.java ! test/langtools/jdk/javadoc/doclet/testSerialTag/TestSerialTag.java ! test/langtools/jdk/javadoc/doclet/testSerialVersionUID/TestSerialVersionUID.java ! test/langtools/jdk/javadoc/doclet/testSerialWithLink/TestSerialWithLink.java ! test/langtools/jdk/javadoc/doclet/testSerializedForm/TestSerializedForm.java ! test/langtools/jdk/javadoc/doclet/testSerializedFormDeprecationInfo/TestSerializedFormDeprecationInfo.java ! test/langtools/jdk/javadoc/doclet/testSerializedFormWithClassFile/TestSerializedFormWithClassFile.java ! test/langtools/jdk/javadoc/doclet/testSerializedFormWithSee/TestSerializedFormWithSee.java ! test/langtools/jdk/javadoc/doclet/testSimpleTag/TestSimpleTag.java ! test/langtools/jdk/javadoc/doclet/testSimpleTagExclude/TestSimpleTagExclude.java ! test/langtools/jdk/javadoc/doclet/testSimpleTagInherit/TestSimpleTagInherit.java ! test/langtools/jdk/javadoc/doclet/testSinceTag/TestSinceTag.java ! test/langtools/jdk/javadoc/doclet/testSingleQuotedLink/TestSingleQuotedLink.java ! test/langtools/jdk/javadoc/doclet/testSingletonLists/TestSingletonLists.java ! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestLangProperties.java ! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetMarkup.java ! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetPathOption.java ! test/langtools/jdk/javadoc/doclet/testSnippetTag/TestSnippetTag.java ! test/langtools/jdk/javadoc/doclet/testSourceTab/TestSourceTab.java ! test/langtools/jdk/javadoc/doclet/testSpecTag/TestSpecTag.java ! test/langtools/jdk/javadoc/doclet/testStylesheet/TestStylesheet.java ! test/langtools/jdk/javadoc/doclet/testStylesheetOverwrite/TestStylesheetOverwrite.java ! test/langtools/jdk/javadoc/doclet/testSubTitle/TestSubTitle.java ! test/langtools/jdk/javadoc/doclet/testSummaryHeading/TestSummaryHeading.java ! test/langtools/jdk/javadoc/doclet/testSummaryTag/TestSummaryTag.java ! test/langtools/jdk/javadoc/doclet/testSuperclassInSerialForm/TestSuperClassInSerialForm.java ! test/langtools/jdk/javadoc/doclet/testSupplementary/TestSupplementary.java ! test/langtools/jdk/javadoc/doclet/testSystemPropertyPage/TestSystemPropertyPage.java ! test/langtools/jdk/javadoc/doclet/testSystemPropertyTaglet/TestSystemPropertyTaglet.java ! test/langtools/jdk/javadoc/doclet/testTagInheritance/TestTagInheritance.java ! test/langtools/jdk/javadoc/doclet/testTagMisuse/TestTagMisuse.java ! test/langtools/jdk/javadoc/doclet/testTagOrder/TestTagOrder.java ! test/langtools/jdk/javadoc/doclet/testTagOutput/TestTagOutput.java ! test/langtools/jdk/javadoc/doclet/testTaglets/TestTaglets.java ! test/langtools/jdk/javadoc/doclet/testTerminology/TestTerminology.java ! test/langtools/jdk/javadoc/doclet/testThrows/TestThrows.java ! test/langtools/jdk/javadoc/doclet/testThrowsHead/TestThrowsHead.java ! test/langtools/jdk/javadoc/doclet/testThrowsInheritance/TestThrowsTagInheritance.java ! test/langtools/jdk/javadoc/doclet/testThrowsInheritanceMatching/TestExceptionTypeMatching.java ! test/langtools/jdk/javadoc/doclet/testThrowsInheritanceMultiple/TestOneToMany.java ! test/langtools/jdk/javadoc/doclet/testThrowsTag/TestThrowsTag.java ! test/langtools/jdk/javadoc/doclet/testTitleInHref/TestTitleInHref.java ! test/langtools/jdk/javadoc/doclet/testTopOption/TestTopOption.java ! test/langtools/jdk/javadoc/doclet/testTypeAnnotations/TestTypeAnnotations.java ! test/langtools/jdk/javadoc/doclet/testTypeParams/TestTypeParameters.java ! test/langtools/jdk/javadoc/doclet/testTypeVariableLinks/TestTypeVariableLinks.java ! test/langtools/jdk/javadoc/doclet/testUnicode/TestUnicode.java ! test/langtools/jdk/javadoc/doclet/testUnnamedPackage/TestUnnamedPackage.java ! test/langtools/jdk/javadoc/doclet/testUseOption/TestUseOption.java ! test/langtools/jdk/javadoc/doclet/testUserTaglet/TestUserTaglet.java ! test/langtools/jdk/javadoc/doclet/testValueTag/TestValueFormats.java ! test/langtools/jdk/javadoc/doclet/testValueTag/TestValueTag.java ! test/langtools/jdk/javadoc/doclet/testValueTag/TestValueTagInModule.java ! test/langtools/jdk/javadoc/doclet/testVersionOption/TestVersionOption.java ! test/langtools/jdk/javadoc/doclet/testVersionTag/TestVersionTag.java ! test/langtools/jdk/javadoc/doclet/testVisibleMembers/TestVisibleMembers.java ! test/langtools/jdk/javadoc/doclet/testWarnBadParamNames/TestWarnBadParamNames.java ! test/langtools/jdk/javadoc/doclet/testWarnings/TestWarnings.java ! test/langtools/jdk/javadoc/doclet/testXOption/TestXOption.java ! test/langtools/jdk/javadoc/doclet/typeAnnotations/smoke/TestSmoke.java ! test/langtools/jdk/javadoc/lib/javadoc/tester/JavadocTester.java ! test/langtools/jdk/javadoc/testJavadocTester/TestJavadocTester.java ! test/langtools/jdk/javadoc/testJavadocTester/TestJavadocTesterCrash.java ! test/langtools/jdk/javadoc/testTFMBuilder/TestTFMBuilder.java ! test/langtools/jdk/javadoc/tool/8224612/OptionsTest.java ! test/langtools/jdk/javadoc/tool/8224613/OptionProcessingFailureTest.java ! test/langtools/jdk/javadoc/tool/CommandLineHelpTest.java ! test/langtools/jdk/javadoc/tool/exceptionHandling/TestExceptionHandling.java ! test/langtools/jdk/javadoc/tool/removeOldDoclet/RemoveOldDoclet.java ! test/langtools/jdk/javadoc/tool/reporter_generates_warnings/ReporterGeneratesWarningsInsteadOfNotes.java ! test/langtools/jdk/javadoc/tool/testToolStreams/TestToolStreams.java ! test/langtools/jdk/javadoc/tool/testWErrorOption/TestWErrorOption.java Changeset: 2f4098e1 Author: Xiaolin Zheng Committer: Fei Yang Date: 2022-12-23 09:22:39 +0000 URL: https://git.openjdk.org/panama-foreign/commit/2f4098e1dc9c97e706d70008e473f9c4496cbc8a 8299168: RISC-V: Fix MachNode size mismatch for MacroAssembler::_verify_oops* Reviewed-by: fyang ! src/hotspot/cpu/riscv/macroAssembler_riscv.cpp Changeset: c0bd143b Author: duke Date: 2022-12-23 11:00:26 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c0bd143bf0eceb443779f7f05df67bfdce8be8a8 Automatic merge of jdk:master into master From martin.pernollet at protonmail.com Fri Dec 23 16:20:06 2022 From: martin.pernollet at protonmail.com (Martin Pernollet) Date: Fri, 23 Dec 2022 16:20:06 +0000 Subject: From Panama 17 to 19, ability to get M1? Message-ID: <2LW-wXhOpJvTdPl-Xf_PbxptkED52CmZbZlnTvIkuPE_ZjsK856uktmsoysSJKtKN1MgcE6_GpGcYEhs92t9COeSUu9olgSuBKvpV1MBxE8=@protonmail.com> Hi, Would anyone suggest examples showing how to use Panama 19 instead of 17? A couple of things have changed ( e.g. how to use the new locator .allocateArray( new ValueLayout.OfDouble( , and deal with all other datatypes, strings, etc). One additional question : when will ARM be supported to run panama on Apple M1? Regards, Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From ray.gavin97 at gmail.com Sun Dec 25 19:24:03 2022 From: ray.gavin97 at gmail.com (Gavin Ray) Date: Sun, 25 Dec 2022 14:24:03 -0500 Subject: Modeling C-Strings with MemoryLayout? Message-ID: Is it possible to model C-Strings with MemoryLayouts? I was thinking of using "MemoryLayout.sequenceLayout(0, C_CHAR)" and computing the length at runtime, plus manually adding the null-terminator. Would this work alright, or is there some better way to do this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From maurizio.cimadamore at oracle.com Wed Dec 28 13:34:44 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Wed, 28 Dec 2022 13:34:44 +0000 Subject: From Panama 17 to 19, ability to get M1? In-Reply-To: <2LW-wXhOpJvTdPl-Xf_PbxptkED52CmZbZlnTvIkuPE_ZjsK856uktmsoysSJKtKN1MgcE6_GpGcYEhs92t9COeSUu9olgSuBKvpV1MBxE8=@protonmail.com> References: <2LW-wXhOpJvTdPl-Xf_PbxptkED52CmZbZlnTvIkuPE_ZjsK856uktmsoysSJKtKN1MgcE6_GpGcYEhs92t9COeSUu9olgSuBKvpV1MBxE8=@protonmail.com> Message-ID: Hi, I suggest you start looking at some of the documents we have available to get started - for JDK 19 you can look here: https://github.com/openjdk/panama-foreign/blob/21452ec32b27ba906ec06253e4a7af9037728174/doc/panama_memaccess.md In short, you always need to provide a layout constant of the right kind when doing allocation using an allocator (and also when doing dereference). Value layout constants are provided in the ValueLayout class (e.g. ValueLayout.JAVA_DOUBLE). If you use jextract, additional constants (e.g. C_INT, C_LONG, ...) will be provided. On 23/12/2022 16:20, Martin Pernollet wrote: > Hi, > > Would anyone suggest examples showing how to use Panama 19 instead of > 17? A couple of things have changed ( e.g. how to use the new > locator.allocateArray(new ValueLayout.OfDouble( > , and deal with all other datatypes, strings, etc). > > One additional question : when will ARM be supported to run panama on > Apple M1? Apple M1 is mostly supported on JDK 19 - modulo few corner cases which have been addressed in Java 20. Maurizio > > Regards, > > Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From maurizio.cimadamore at oracle.com Wed Dec 28 13:40:06 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Wed, 28 Dec 2022 13:40:06 +0000 Subject: Modeling C-Strings with MemoryLayout? In-Reply-To: References: Message-ID: <72c44fb4-61ff-8f0e-8081-c47a25c5f66b@oracle.com> Hi Gavin, while something like that is possible, that would not be the best way to use memory layouts. I believe the sweet spot for memory layout is to capture data types whose size can be determined statically. Variable-length data structures don't fall in this case (another relatively common case is C struct which end with a variable-length array). While it would be possible, with some heroics, to enhance var handles to take extra dynamic access coordinates at runtimes, the condition under which this would be possible are very limited. Perhaps it would be better to understand what you are trying to achieve by modelling a C string with a memory layout? Often, passing strings as opaque pointer just works. Note also that the FFM API provides some helper functions to allocate and dereference NULL terminated strings - see MemorySegment::get/setUtf8String, as well as SegmentAllocator::allocateUtf8String. Cheers Maurizio On 25/12/2022 19:24, Gavin Ray wrote: > Is it possible to model C-Strings with MemoryLayouts? > > I was thinking of using "MemoryLayout.sequenceLayout(0, C_CHAR)" and > computing the > length at runtime, plus manually adding the null-terminator. > > Would this work alright, or is there some better way to do this? From duke at openjdk.org Wed Dec 28 15:04:52 2022 From: duke at openjdk.org (Swati Sharma) Date: Wed, 28 Dec 2022 15:04:52 GMT Subject: [vectorIntrinsics+fp16] RFR: 8299373: Extend vector conversion APIs for Halffloat type. Message-ID: Hi All, The patch contains the below changes: - Extended existing conversion APIs (convertShape, castShape, convert) for half float vectors. - Define new conversion operators for casting to/from halffloat type. - Extended existing JTREG conversion tests for half float types. Please review and provide your feedback. Thanks, Swati ------------- Commit messages: - 8299373: Extend vector conversion APIs for Halffloat type. Changes: https://git.openjdk.org/panama-vector/pull/208/files Webrev: https://webrevs.openjdk.org/?repo=panama-vector&pr=208&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8299373 Stats: 123 lines in 5 files changed: 106 ins; 1 del; 16 mod Patch: https://git.openjdk.org/panama-vector/pull/208.diff Fetch: git fetch https://git.openjdk.org/panama-vector pull/208/head:pull/208 PR: https://git.openjdk.org/panama-vector/pull/208 From ray.gavin97 at gmail.com Wed Dec 28 15:57:23 2022 From: ray.gavin97 at gmail.com (Gavin Ray) Date: Wed, 28 Dec 2022 10:57:23 -0500 Subject: Modeling C-Strings with MemoryLayout? In-Reply-To: <72c44fb4-61ff-8f0e-8081-c47a25c5f66b@oracle.com> References: <72c44fb4-61ff-8f0e-8081-c47a25c5f66b@oracle.com> Message-ID: Ah, I was afraid the answer might be something like that My interest was in trying to model the types of Postgres Wire Protocol as MemoryLayout types Unfortunately, several of the types have variable-length strength fields in them If you ctrl+f here, there are some ~30-ish fields in total which are "String" null-terminated C-string types =/ PostgreSQL: Documentation: 15: 55.7. Message Formats Of course for these specific fields/types exceptions can be made but it triggers my OCD, ha On Wed, Dec 28, 2022 at 8:40 AM Maurizio Cimadamore < maurizio.cimadamore at oracle.com> wrote: > Hi Gavin, > while something like that is possible, that would not be the best way to > use memory layouts. I believe the sweet spot for memory layout is to > capture data types whose size can be determined statically. > Variable-length data structures don't fall in this case (another > relatively common case is C struct which end with a variable-length > array). While it would be possible, with some heroics, to enhance var > handles to take extra dynamic access coordinates at runtimes, the > condition under which this would be possible are very limited. > > Perhaps it would be better to understand what you are trying to achieve > by modelling a C string with a memory layout? Often, passing strings as > opaque pointer just works. Note also that the FFM API provides some > helper functions to allocate and dereference NULL terminated strings - > see MemorySegment::get/setUtf8String, as well as > SegmentAllocator::allocateUtf8String. > > Cheers > Maurizio > > > > On 25/12/2022 19:24, Gavin Ray wrote: > > Is it possible to model C-Strings with MemoryLayouts? > > > > I was thinking of using "MemoryLayout.sequenceLayout(0, C_CHAR)" and > > computing the > > length at runtime, plus manually adding the null-terminator. > > > > Would this work alright, or is there some better way to do this? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.pernollet at protonmail.com Wed Dec 28 16:01:57 2022 From: martin.pernollet at protonmail.com (Martin Pernollet) Date: Wed, 28 Dec 2022 16:01:57 +0000 Subject: From Panama 17 to 19, ability to get M1? In-Reply-To: References: <2LW-wXhOpJvTdPl-Xf_PbxptkED52CmZbZlnTvIkuPE_ZjsK856uktmsoysSJKtKN1MgcE6_GpGcYEhs92t9COeSUu9olgSuBKvpV1MBxE8=@protonmail.com> Message-ID: Thank you. I know these documents and rather lacks complete exemples that can work for an identified JDK version. I went back to JExtract samples, especially the opengl [teapot](https://github.com/openjdk/jextract/blob/master/samples/opengl/Teapot.java), but I can't compile it with JDK 19... seamingly the [imports refer to the JDK 20 package names](https://github.com/openjdk/jextract/blob/master/samples/opengl/Teapot.java#L32). What I still miss is import static jdk.incubator.foreign.CLinker.C_INT and other C_TYPE. They where static constants in JDK17 but then have gone. Where should we find this as of JDK19? Thanks in advance! ------- Original Message ------- Le mercredi 28 d?cembre 2022 ? 14:34, Maurizio Cimadamore a ?crit : > Hi, > I suggest you start looking at some of the documents we have available to get started - for JDK 19 you can look here: > > https://github.com/openjdk/panama-foreign/blob/21452ec32b27ba906ec06253e4a7af9037728174/doc/panama_memaccess.md > > In short, you always need to provide a layout constant of the right kind when doing allocation using an allocator (and also when doing dereference). > > Value layout constants are provided in the ValueLayout class (e.g. ValueLayout.JAVA_DOUBLE). > > If you use jextract, additional constants (e.g. C_INT, C_LONG, ...) will be provided. > > On 23/12/2022 16:20, Martin Pernollet wrote: > >> Hi, >> >> Would anyone suggest examples showing how to use Panama 19 instead of 17? A couple of things have changed ( e.g. how to use the new >> >> locator >> >> .allocateArray( >> >> new >> >> ValueLayout.OfDouble( >> >> , and deal with all other datatypes, strings, etc). >> >> One additional question : when will ARM be supported to run panama on Apple M1? > > Apple M1 is mostly supported on JDK 19 - modulo few corner cases which have been addressed in Java 20. > > Maurizio > >> Regards, >> >> Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.pernollet at protonmail.com Wed Dec 28 16:06:07 2022 From: martin.pernollet at protonmail.com (Martin Pernollet) Date: Wed, 28 Dec 2022 16:06:07 +0000 Subject: Generating a common interface for multiple platform specific binding In-Reply-To: <690e5e0f-4768-7477-b8ad-2ba3737cf580@oracle.com> References: <74cJVGa9pM5ITkWNNcQWqDEttFfBMlhbKsdBGH25SduiUtoPEsY2Parc7F9Ei4EEzNVd6LSIYgu_vUyjGKY_H8LxU7m4OhgQVZ7AW_VNjPg=@protonmail.com> <690e5e0f-4768-7477-b8ad-2ba3737cf580@oracle.com> Message-ID: Thank you for these advices! I complemented my [last year notes](https://github.com/jzy3d/panama-gl/issues/14) on this topic with your suggestions. Do you have in mind code samples - demonstrating ways to reconcile such cases, - which could provide a larger view of the number of specific cases one might encounter when building multi-platform native projects? > Another approach that might work would be to work at a lower level - and generate ad-hoc downcall method handles which automagically fix up mismatches that can arise across platforms. Note that jextract should expose the method handles it generates, so perhaps this adaptation can be done semi-automatically based on what comes out of jextract (and based on what the mismatches really are in your use case). > > I know that e.g. the JavaDoesUSB [1] project has faced similar issues, so perhaps their authors might want to share some insights here. > > Cheers > Maurizio > > [1] - https://github.com/manuelbl/JavaDoesUSB > > On 20/12/2022 15:04, Martin Pernollet wrote: > >> Hi everyone, >> >> I am back on track with OpenGL binding with Panama! >> >> I have one code design / tooling question related to JExtract : is it possible to generate a common interface that would be implemented by all platform specific binding generated by JExtract since JDK 19 or 20? >> >> Here's my use case in more detail : I've been advised to generate different binding for different OS (and maybe version). For OpenGL, this lead me to a glut_h binding for macOS, one for Windows and one for Linux. >> >> To let the user/developer face a single entry point, I manually write a [GL interface](https://github.com/jzy3d/panama-gl/blob/feature/fbo/src/main/java/opengl/GL.java). I then define a [GL_macOS_10_15_3](https://github.com/jzy3d/panama-gl/blob/feature/fbo/src/main/java/opengl/macos/GL_macOS_10_15_3.java) class that wraps the binding (!). When I expand the prototype to Windows, I should copy paste this to GL_Windows_10 and modify the imports to reference the appropriate bindings. The goal is to write code like this >> >> GL gl = Platform.selectAmong(GL_macOS_10_15_3.class, GL_windows_10.class, ...) >> gl.glDoSomething() >> >> I don't think there would be another way to have java developer write applications that ignore the target hardware. However my approach is stupid : time consuming and error prone because manual. A real life case may have 10 implementations and 1000 functions. >> >> Does JExtract provide a solution to this? Should I create this tool by myself based on all generated bindings ? Would anyone recommend something smarter? >> >> Regards, >> >> Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.pernollet at protonmail.com Wed Dec 28 16:23:39 2022 From: martin.pernollet at protonmail.com (Martin Pernollet) Date: Wed, 28 Dec 2022 16:23:39 +0000 Subject: From Panama 17 to 19, ability to get M1? In-Reply-To: References: <2LW-wXhOpJvTdPl-Xf_PbxptkED52CmZbZlnTvIkuPE_ZjsK856uktmsoysSJKtKN1MgcE6_GpGcYEhs92t9COeSUu9olgSuBKvpV1MBxE8=@protonmail.com> Message-ID: Hi, About JExtract containing samples seamingly to JDK20 : where can I find JDK20 for Panama? I just downloaded [JDK20 EA Build here](https://jdk.java.net/20/) but jextract was not part of the distribution. Thanks, Martin Envoy? avec la messagerie s?curis?e [Proton Mail](https://proton.me/). ------- Original Message ------- Le mercredi 28 d?cembre 2022 ? 17:01, Martin Pernollet a ?crit : > Thank you. I know these documents and rather lacks complete exemples that can work for an identified JDK version. > > I went back to JExtract samples, especially the opengl [teapot](https://github.com/openjdk/jextract/blob/master/samples/opengl/Teapot.java), but I can't compile it with JDK 19... seamingly the [imports refer to the JDK 20 package names](https://github.com/openjdk/jextract/blob/master/samples/opengl/Teapot.java#L32). > > What I still miss is > > import static jdk.incubator.foreign.CLinker.C_INT > > and other C_TYPE. > > They where static constants in JDK17 but then have gone. Where should we find this as of JDK19? > > Thanks in advance! > > ------- Original Message ------- > Le mercredi 28 d?cembre 2022 ? 14:34, Maurizio Cimadamore a ?crit : > >> Hi, >> I suggest you start looking at some of the documents we have available to get started - for JDK 19 you can look here: >> >> https://github.com/openjdk/panama-foreign/blob/21452ec32b27ba906ec06253e4a7af9037728174/doc/panama_memaccess.md >> >> In short, you always need to provide a layout constant of the right kind when doing allocation using an allocator (and also when doing dereference). >> >> Value layout constants are provided in the ValueLayout class (e.g. ValueLayout.JAVA_DOUBLE). >> >> If you use jextract, additional constants (e.g. C_INT, C_LONG, ...) will be provided. >> >> On 23/12/2022 16:20, Martin Pernollet wrote: >> >>> Hi, >>> >>> Would anyone suggest examples showing how to use Panama 19 instead of 17? A couple of things have changed ( e.g. how to use the new >>> >>> locator >>> >>> .allocateArray( >>> >>> new >>> >>> ValueLayout.OfDouble( >>> >>> , and deal with all other datatypes, strings, etc). >>> >>> One additional question : when will ARM be supported to run panama on Apple M1? >> >> Apple M1 is mostly supported on JDK 19 - modulo few corner cases which have been addressed in Java 20. >> >> Maurizio >> >>> Regards, >>> >>> Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From ray.gavin97 at gmail.com Wed Dec 28 16:25:41 2022 From: ray.gavin97 at gmail.com (Gavin Ray) Date: Wed, 28 Dec 2022 11:25:41 -0500 Subject: From Panama 17 to 19, ability to get M1? In-Reply-To: References: <2LW-wXhOpJvTdPl-Xf_PbxptkED52CmZbZlnTvIkuPE_ZjsK856uktmsoysSJKtKN1MgcE6_GpGcYEhs92t9COeSUu9olgSuBKvpV1MBxE8=@protonmail.com> Message-ID: There is no jextract for JDK 20 or Panama JDK20 Preview API with the Arena refactor available at the moment, you'll have to build both of them from source unfortunately The OpenJDK 20 EA26 builds don't contain the Arena changes or the jextract tool On Wed, Dec 28, 2022 at 11:24 AM Martin Pernollet < martin.pernollet at protonmail.com> wrote: > Hi, > > About JExtract containing samples seamingly to JDK20 : where can I find > JDK20 for Panama? > > I just downloaded JDK20 EA Build here but > jextract was not part of the distribution. > > Thanks, > > Martin > > Envoy? avec la messagerie s?curis?e Proton Mail . > > ------- Original Message ------- > Le mercredi 28 d?cembre 2022 ? 17:01, Martin Pernollet < > martin.pernollet at protonmail.com> a ?crit : > > Thank you. I know these documents and rather lacks complete exemples that > can work for an identified JDK version. > > I went back to JExtract samples, especially the opengl teapot > , > but I can't compile it with JDK 19... seamingly the imports refer to the > JDK 20 package names > > . > > What I still miss is > > import static jdk.incubator.foreign.CLinker.C_INT > > > and other C_TYPE. > > > They where static constants in JDK17 but then have gone. Where should we > find this as of JDK19? > > Thanks in advance! > > ------- Original Message ------- > Le mercredi 28 d?cembre 2022 ? 14:34, Maurizio Cimadamore < > maurizio.cimadamore at oracle.com> a ?crit : > > Hi, > I suggest you start looking at some of the documents we have available to > get started - for JDK 19 you can look here: > > > https://github.com/openjdk/panama-foreign/blob/21452ec32b27ba906ec06253e4a7af9037728174/doc/panama_memaccess.md > > In short, you always need to provide a layout constant of the right kind > when doing allocation using an allocator (and also when doing dereference). > > Value layout constants are provided in the ValueLayout class (e.g. > ValueLayout.JAVA_DOUBLE). > > If you use jextract, additional constants (e.g. C_INT, C_LONG, ...) will > be provided. > On 23/12/2022 16:20, Martin Pernollet wrote: > > Hi, > > Would anyone suggest examples showing how to use Panama 19 instead of 17? > A couple of things have changed ( e.g. how to use the new > > locator.allocateArray(new ValueLayout.OfDouble( > > , and deal with all other datatypes, strings, etc). > > One additional question : when will ARM be supported to run panama on > Apple M1? > > Apple M1 is mostly supported on JDK 19 - modulo few corner cases which > have been addressed in Java 20. > > Maurizio > > > Regards, > > Martin > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From maurizio.cimadamore at oracle.com Wed Dec 28 21:55:34 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Wed, 28 Dec 2022 21:55:34 +0000 Subject: From Panama 17 to 19, ability to get M1? In-Reply-To: References: <2LW-wXhOpJvTdPl-Xf_PbxptkED52CmZbZlnTvIkuPE_ZjsK856uktmsoysSJKtKN1MgcE6_GpGcYEhs92t9COeSUu9olgSuBKvpV1MBxE8=@protonmail.com> Message-ID: <16391ef8-d68e-1b6c-eb53-0e89fe7e4da0@oracle.com> Hi Martin, jextract has multiple branches - you should switch to the jdk19 branch, and then you will find all the samples working against jdk19. I suggest you do that first before doing jdk20 (for which there's no available downloadable jextract binaries yet). A binary build for jextract is available here: https://jdk.java.net/jextract/ Note that this page contains links to the correct bits of the documentation (including jextract branch and samples). This should be enough to get started with 19. As soon as Java 20 ships, the same will be available for Java 20. Maurizio On 28/12/2022 16:01, Martin Pernollet wrote: > Thank you. I know these documents and rather lacks complete exemples > that can work for an identified JDK version. > > I went back to JExtract samples, especially the opengl teapot > , > but I can't compile it with JDK 19... seamingly the imports refer to > the JDK 20 package names > . > > What I still miss is > > import static jdk.incubator.foreign.CLinker.C_INT > > > and other C_TYPE. > > > They where static constants in JDK17 but then have gone. Where should > we find this as of JDK19? > > > Thanks in advance! > > ------- Original Message ------- > Le mercredi 28 d?cembre 2022 ? 14:34, Maurizio Cimadamore > a ?crit?: > >> Hi, >> I suggest you start looking at some of the documents we have >> available to get started - for JDK 19 you can look here: >> >> https://github.com/openjdk/panama-foreign/blob/21452ec32b27ba906ec06253e4a7af9037728174/doc/panama_memaccess.md >> >> In short, you always need to provide a layout constant of the right >> kind when doing allocation using an allocator (and also when doing >> dereference). >> >> Value layout constants are provided in the ValueLayout class (e.g. >> ValueLayout.JAVA_DOUBLE). >> >> If you use jextract, additional constants (e.g. C_INT, C_LONG, ...) >> will be provided. >> >> On 23/12/2022 16:20, Martin Pernollet wrote: >>> Hi, >>> >>> Would anyone suggest examples showing how to use Panama 19 instead >>> of 17? A couple of things have changed ( e.g. how to use the new >>> locator.allocateArray(new ValueLayout.OfDouble( >>> , and deal with all other datatypes, strings, etc). >>> >>> One additional question : when will ARM be supported to run panama >>> on Apple M1? >> >> Apple M1 is mostly supported on JDK 19 - modulo few corner cases >> which have been addressed in Java 20. >> >> Maurizio >> >>> >>> Regards, >>> >>> Martin > -------------- next part -------------- An HTML attachment was scrubbed... URL: From maurizio.cimadamore at oracle.com Wed Dec 28 21:58:38 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Wed, 28 Dec 2022 21:58:38 +0000 Subject: From Panama 17 to 19, ability to get M1? In-Reply-To: References: <2LW-wXhOpJvTdPl-Xf_PbxptkED52CmZbZlnTvIkuPE_ZjsK856uktmsoysSJKtKN1MgcE6_GpGcYEhs92t9COeSUu9olgSuBKvpV1MBxE8=@protonmail.com> Message-ID: <187649f0-b965-c840-a662-f49ce4515505@oracle.com> On 28/12/2022 16:25, Gavin Ray wrote: > The OpenJDK 20 EA26 builds don't contain the Arena changes or the > jextract tool This is partially incorrect. The OpenJDK build available here: https://jdk.java.net/20/ Does contain the Arena changes, see below javadoc (which can be accessed from the download page): https://download.java.net/java/early_access/jdk20/docs/api/java.base/java/lang/foreign/Arena.html But of course there's no jextract to go with it (see my other email on the topic) Maurizio From maurizio.cimadamore at oracle.com Wed Dec 28 22:02:38 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Wed, 28 Dec 2022 22:02:38 +0000 Subject: Generating a common interface for multiple platform specific binding In-Reply-To: References: <74cJVGa9pM5ITkWNNcQWqDEttFfBMlhbKsdBGH25SduiUtoPEsY2Parc7F9Ei4EEzNVd6LSIYgu_vUyjGKY_H8LxU7m4OhgQVZ7AW_VNjPg=@protonmail.com> <690e5e0f-4768-7477-b8ad-2ba3737cf580@oracle.com> Message-ID: We do not have concrete examples showing this yet - but, if desirable, we can cook up something in that direction. Maurizio On 28/12/2022 16:06, Martin Pernollet wrote: > Thank you for these advices! I complemented my last year notes > > on this topic with your suggestions. > > Do you have in mind code samples > > * demonstrating ways to reconcile such cases, > * which could provide a larger view of the number of specific cases > one might encounter when building multi-platform native projects? > > > > >> Another approach that might work would be to work at a lower level - >> and generate ad-hoc downcall method handles which automagically fix >> up mismatches that can arise across platforms. Note that jextract >> should expose the method handles it generates, so perhaps this >> adaptation can be done semi-automatically based on what comes out of >> jextract (and based on what the mismatches really are in your use case). >> >> I know that e.g. the JavaDoesUSB [1] project has faced similar >> issues, so perhaps their authors might want to share some insights here. >> >> Cheers >> Maurizio >> >> [1] - https://github.com/manuelbl/JavaDoesUSB >> >> On 20/12/2022 15:04, Martin Pernollet wrote: >>> Hi everyone, >>> >>> I am back on track with OpenGL binding with Panama! >>> >>> I have one code design / tooling question related to JExtract : is >>> it possible to *generate a common interface that would be >>> implemented by all platform specific binding* generated by JExtract >>> since JDK 19 or 20? >>> >>> Here's my use case in more detail : I've been advised to generate >>> *different binding for different OS* (and maybe version). For >>> OpenGL, this lead me to a glut_h binding for macOS, one for Windows >>> and one for Linux. >>> >>> To let *the user/developer face a single entry point*, I manually >>> write a GL interface >>> . >>> I then define a GL_macOS_10_15_3 >>> >>> class that wraps the binding (!). When I expand the prototype to >>> Windows, I should copy paste this to GL_Windows_10 and modify the >>> imports to reference the appropriate bindings. The goal is to write >>> code like this >>> >>> GL gl = Platform.selectAmong(GL_macOS_10_15_3.class, >>> GL_windows_10.class, ...) >>> gl.glDoSomething() >>> >>> I don't think there would be another way to have java developer >>> write *applications that ignore the target hardware*. However my >>> approach is stupid : time consuming and error prone?because manual. >>> A real life case may have 10 implementations and 1000 functions. >>> >>> *Does JExtract provide a solution to this*? Should I create this >>> tool by myself based on all generated bindings ? Would anyone >>> *recommend something smarter*? >>> >>> Regards, >>> >>> Martin >>> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcimadamore at openjdk.org Wed Dec 28 22:03:14 2022 From: mcimadamore at openjdk.org (Maurizio Cimadamore) Date: Wed, 28 Dec 2022 22:03:14 GMT Subject: [foreign-memaccess+abi] RFR: Add benchmark [v3] In-Reply-To: References: Message-ID: On Mon, 19 Dec 2022 11:59:44 GMT, Per Minborg wrote: >> This PR proposed to add a new benchmark outlining potential performance gains with the FFM API in internal JDK classes. > > Per Minborg has updated the pull request incrementally with one additional commit since the last revision: > > Add case for singel invocation Marked as reviewed by mcimadamore (Committer). ------------- PR: https://git.openjdk.org/panama-foreign/pull/761 From maurizio.cimadamore at oracle.com Wed Dec 28 22:16:36 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Wed, 28 Dec 2022 22:16:36 +0000 Subject: Modeling C-Strings with MemoryLayout? In-Reply-To: References: <72c44fb4-61ff-8f0e-8081-c47a25c5f66b@oracle.com> Message-ID: <611b40f8-ff27-4800-539f-24ec6233d715@oracle.com> On 28/12/2022 15:57, Gavin Ray wrote: > Ah, I was afraid the answer might be something like that > > My interest was in trying to model the types of Postgres Wire Protocol > as MemoryLayout types > Unfortunately, several of the types have variable-length strength > fields in them > > If you ctrl+f here, there are some ~30-ish fields in total which are > "String" null-terminated C-string types =/ > PostgreSQL: Documentation: 15: 55.7.?Message Formats > Yeah - this problem has been explored during some early explorations. If you have a message like this: source : String destination : String And both strings are variable-length - how big is the size of the entire message? You'll quickly discover that layouts are not that helpful when you start working with things like these. Let's say we add another field: source : String destination : String timestamp : Long What is the offset of the "timestamp" field? Well, it depends on the length of the first string *and* on the length of the second string. Both lengths are buried _somewhere_ inside the string. If you are lucky, as in ProtoBuf, the length is encoded as part of the string. If you are unlucky, as it seems the case for Postgre, you have to scan both strings to figure out what the offset is! Needless to say, this kind of operation is already very far from what a VarHandle can do. Assuming we'd even implement such a monstruosity, how would we go about providing atomic access, etc? The only solution that's kind of sensible here is to admit that the string layout has a size hole. So, to access "timestamp" you'd have to fill (dynamically) two holes (for the sizes of the two strings). While this is more doable, it adds complexity to the layout API. While complexity is not bad per se, using a dummy layout with a size hole seems a bit of roundabout way to do things. That is, the crux of this issue is that you don't know the layout, or better, that the layout depends on the data you want to pass (dependent layouts). My feelings, when looking at this kind of things is that they always seem to fall outside the sweet spot of the problems the layout API wants to solve. Maurizio > Of course for these specific fields/types exceptions can be made but > it triggers my OCD, ha > > On Wed, Dec 28, 2022 at 8:40 AM Maurizio Cimadamore > wrote: > > Hi Gavin, > while something like that is possible, that would not be the best > way to > use memory layouts. I believe the sweet spot for memory layout is to > capture data types whose size can be determined statically. > Variable-length data structures don't fall in this case (another > relatively common case is C struct which end with a variable-length > array). While it would be possible, with some heroics, to enhance var > handles to take extra dynamic access coordinates at runtimes, the > condition under which this would be possible are very limited. > > Perhaps it would be better to understand what you are trying to > achieve > by modelling a C string with a memory layout? Often, passing > strings as > opaque pointer just works. Note also that the FFM API provides some > helper functions to allocate and dereference NULL terminated > strings - > see MemorySegment::get/setUtf8String, as well as > SegmentAllocator::allocateUtf8String. > > Cheers > Maurizio > > > > On 25/12/2022 19:24, Gavin Ray wrote: > > Is it possible to model C-Strings with MemoryLayouts? > > > > I was thinking of using "MemoryLayout.sequenceLayout(0, C_CHAR)" > and > > computing the > > length at runtime, plus manually adding the null-terminator. > > > > Would this work alright, or is there some better way to do this? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.pernollet at protonmail.com Thu Dec 29 12:22:35 2022 From: martin.pernollet at protonmail.com (Martin Pernollet) Date: Thu, 29 Dec 2022 12:22:35 +0000 Subject: From Panama 17 to 19, ability to get M1? In-Reply-To: <16391ef8-d68e-1b6c-eb53-0e89fe7e4da0@oracle.com> References: <2LW-wXhOpJvTdPl-Xf_PbxptkED52CmZbZlnTvIkuPE_ZjsK856uktmsoysSJKtKN1MgcE6_GpGcYEhs92t9COeSUu9olgSuBKvpV1MBxE8=@protonmail.com> <16391ef8-d68e-1b6c-eb53-0e89fe7e4da0@oracle.com> Message-ID: Hi Maurizio, I indeed tried to find that branch, but only found jdk18 and jdk20 branches here : https://github.com/openjdk/jextract/branches/all Is this a forgotten push? Or maybe I should refer to the branch named "panama"? Regards, Martin Envoy? avec la messagerie s?curis?e [Proton Mail](https://proton.me/). ------- Original Message ------- Le mercredi 28 d?cembre 2022 ? 22:55, Maurizio Cimadamore a ?crit : > Hi Martin, > jextract has multiple branches - you should switch to the jdk19 branch, and then you will find all the samples working against jdk19. > > I suggest you do that first before doing jdk20 (for which there's no available downloadable jextract binaries yet). > > A binary build for jextract is available here: > > https://jdk.java.net/jextract/ > > Note that this page contains links to the correct bits of the documentation (including jextract branch and samples). > > This should be enough to get started with 19. As soon as Java 20 ships, the same will be available for Java 20. > > Maurizio > > On 28/12/2022 16:01, Martin Pernollet wrote: > >> Thank you. I know these documents and rather lacks complete exemples that can work for an identified JDK version. >> >> I went back to JExtract samples, especially the opengl [teapot](https://urldefense.com/v3/__https://github.com/openjdk/jextract/blob/master/samples/opengl/Teapot.java__;!!ACWV5N9M2RV99hQ!Kerbjc2UKkc4goX1QR-WkkEnACuyafoEWQ0nochEnCQ0VbVq_Ro15__pJVthqwsrTgatzLaSx9ddWt-hfVVYruFAS-H77hIGI1Mhfg$), but I can't compile it with JDK 19... seamingly the [imports refer to the JDK 20 package names](https://urldefense.com/v3/__https://github.com/openjdk/jextract/blob/master/samples/opengl/Teapot.java*L32__;Iw!!ACWV5N9M2RV99hQ!Kerbjc2UKkc4goX1QR-WkkEnACuyafoEWQ0nochEnCQ0VbVq_Ro15__pJVthqwsrTgatzLaSx9ddWt-hfVVYruFAS-H77hL2GhS8mg$). >> >> What I still miss is >> >> import static jdk.incubator.foreign.CLinker.C_INT >> >> and other C_TYPE. >> >> They where static constants in JDK17 but then have gone. Where should we find this as of JDK19? >> >> Thanks in advance! >> >> ------- Original Message ------- >> Le mercredi 28 d?cembre 2022 ? 14:34, Maurizio Cimadamore [](mailto:maurizio.cimadamore at oracle.com) a ?crit : >> >>> Hi, >>> I suggest you start looking at some of the documents we have available to get started - for JDK 19 you can look here: >>> >>> [https://github.com/openjdk/panama-foreign/blob/21452ec32b27ba906ec06253e4a7af9037728174/doc/panama_memaccess.md](https://urldefense.com/v3/__https://github.com/openjdk/panama-foreign/blob/21452ec32b27ba906ec06253e4a7af9037728174/doc/panama_memaccess.md__;!!ACWV5N9M2RV99hQ!Kerbjc2UKkc4goX1QR-WkkEnACuyafoEWQ0nochEnCQ0VbVq_Ro15__pJVthqwsrTgatzLaSx9ddWt-hfVVYruFAS-H77hJVqw6NUw$) >>> >>> In short, you always need to provide a layout constant of the right kind when doing allocation using an allocator (and also when doing dereference). >>> >>> Value layout constants are provided in the ValueLayout class (e.g. ValueLayout.JAVA_DOUBLE). >>> >>> If you use jextract, additional constants (e.g. C_INT, C_LONG, ...) will be provided. >>> >>> On 23/12/2022 16:20, Martin Pernollet wrote: >>> >>>> Hi, >>>> >>>> Would anyone suggest examples showing how to use Panama 19 instead of 17? A couple of things have changed ( e.g. how to use the new >>>> >>>> locator >>>> >>>> .allocateArray( >>>> >>>> new >>>> >>>> ValueLayout.OfDouble( >>>> >>>> , and deal with all other datatypes, strings, etc). >>>> >>>> One additional question : when will ARM be supported to run panama on Apple M1? >>> >>> Apple M1 is mostly supported on JDK 19 - modulo few corner cases which have been addressed in Java 20. >>> >>> Maurizio >>> >>>> Regards, >>>> >>>> Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.pernollet at protonmail.com Thu Dec 29 12:25:01 2022 From: martin.pernollet at protonmail.com (Martin Pernollet) Date: Thu, 29 Dec 2022 12:25:01 +0000 Subject: Generating a common interface for multiple platform specific binding In-Reply-To: References: <74cJVGa9pM5ITkWNNcQWqDEttFfBMlhbKsdBGH25SduiUtoPEsY2Parc7F9Ei4EEzNVd6LSIYgu_vUyjGKY_H8LxU7m4OhgQVZ7AW_VNjPg=@protonmail.com> <690e5e0f-4768-7477-b8ad-2ba3737cf580@oracle.com> Message-ID: That would be very valuable to have such guide. I am currently going further with OpenGL on macOS platform mainly, but I'll soon catch up on Ubuntu - and on Windows when I have migrated to JDK 19. When back on Ubuntu/Windows, I'll be happy to read this guide (and participate if this makes sense). Envoy? avec la messagerie s?curis?e [Proton Mail](https://proton.me/). ------- Original Message ------- Le mercredi 28 d?cembre 2022 ? 23:02, Maurizio Cimadamore a ?crit : > We do not have concrete examples showing this yet - but, if desirable, we can cook up something in that direction. > > Maurizio > > On 28/12/2022 16:06, Martin Pernollet wrote: > >> Thank you for these advices! I complemented my [last year notes](https://urldefense.com/v3/__https://github.com/jzy3d/panama-gl/issues/14__;!!ACWV5N9M2RV99hQ!N1IqZWbHmbyQKeD-bZ56aFuRVi5ggyH3P29fbW4qQWw5aUZA5FGUXzIA2_xKtJLsPq5eP2TSyTzgXDKBuZ0Um11CORVuaFUbcokSgQ$) on this topic with your suggestions. >> >> Do you have in mind code samples >> >> - demonstrating ways to reconcile such cases, >> - which could provide a larger view of the number of specific cases one might encounter when building multi-platform native projects? >> >>> Another approach that might work would be to work at a lower level - and generate ad-hoc downcall method handles which automagically fix up mismatches that can arise across platforms. Note that jextract should expose the method handles it generates, so perhaps this adaptation can be done semi-automatically based on what comes out of jextract (and based on what the mismatches really are in your use case). >>> >>> I know that e.g. the JavaDoesUSB [1] project has faced similar issues, so perhaps their authors might want to share some insights here. >>> >>> Cheers >>> Maurizio >>> >>> [1] - [https://github.com/manuelbl/JavaDoesUSB](https://urldefense.com/v3/__https://github.com/manuelbl/JavaDoesUSB__;!!ACWV5N9M2RV99hQ!N1IqZWbHmbyQKeD-bZ56aFuRVi5ggyH3P29fbW4qQWw5aUZA5FGUXzIA2_xKtJLsPq5eP2TSyTzgXDKBuZ0Um11CORVuaFXTRYCSxg$) >>> >>> On 20/12/2022 15:04, Martin Pernollet wrote: >>> >>>> Hi everyone, >>>> >>>> I am back on track with OpenGL binding with Panama! >>>> >>>> I have one code design / tooling question related to JExtract : is it possible to generate a common interface that would be implemented by all platform specific binding generated by JExtract since JDK 19 or 20? >>>> >>>> Here's my use case in more detail : I've been advised to generate different binding for different OS (and maybe version). For OpenGL, this lead me to a glut_h binding for macOS, one for Windows and one for Linux. >>>> >>>> To let the user/developer face a single entry point, I manually write a [GL interface](https://urldefense.com/v3/__https://github.com/jzy3d/panama-gl/blob/feature/fbo/src/main/java/opengl/GL.java__;!!ACWV5N9M2RV99hQ!N1IqZWbHmbyQKeD-bZ56aFuRVi5ggyH3P29fbW4qQWw5aUZA5FGUXzIA2_xKtJLsPq5eP2TSyTzgXDKBuZ0Um11CORVuaFXTDX0_Zw$). I then define a [GL_macOS_10_15_3](https://urldefense.com/v3/__https://github.com/jzy3d/panama-gl/blob/feature/fbo/src/main/java/opengl/macos/GL_macOS_10_15_3.java__;!!ACWV5N9M2RV99hQ!N1IqZWbHmbyQKeD-bZ56aFuRVi5ggyH3P29fbW4qQWw5aUZA5FGUXzIA2_xKtJLsPq5eP2TSyTzgXDKBuZ0Um11CORVuaFWtFaPP-w$) class that wraps the binding (!). When I expand the prototype to Windows, I should copy paste this to GL_Windows_10 and modify the imports to reference the appropriate bindings. The goal is to write code like this >>>> >>>> GL gl = Platform.selectAmong(GL_macOS_10_15_3.class, GL_windows_10.class, ...) >>>> gl.glDoSomething() >>>> >>>> I don't think there would be another way to have java developer write applications that ignore the target hardware. However my approach is stupid : time consuming and error prone because manual. A real life case may have 10 implementations and 1000 functions. >>>> >>>> Does JExtract provide a solution to this? Should I create this tool by myself based on all generated bindings ? Would anyone recommend something smarter? >>>> >>>> Regards, >>>> >>>> Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From maurizio.cimadamore at oracle.com Thu Dec 29 12:34:04 2022 From: maurizio.cimadamore at oracle.com (Maurizio Cimadamore) Date: Thu, 29 Dec 2022 12:34:04 +0000 Subject: From Panama 17 to 19, ability to get M1? In-Reply-To: References: <2LW-wXhOpJvTdPl-Xf_PbxptkED52CmZbZlnTvIkuPE_ZjsK856uktmsoysSJKtKN1MgcE6_GpGcYEhs92t9COeSUu9olgSuBKvpV1MBxE8=@protonmail.com> <16391ef8-d68e-1b6c-eb53-0e89fe7e4da0@oracle.com> Message-ID: My bad - the "master" branch points to the latest released version, JDK 19 in this case. The "panama" branch points at bits that are compatible with what's on the Panama repo (bleeding edge) The "jdk18" branch points at bits that are compatible with JDK 18. When 20 will come out, we will create a new "jdk19" branch which is a snapshot of current master, and master will contain the 20 bits. Hope this helps. In short, if you want to use jdk19, use the "master" branch. Maurizio On 29/12/2022 12:22, Martin Pernollet wrote: > Hi Maurizio, > > I indeed tried to find that branch, but only found jdk18 and jdk20 > branches here : https://github.com/openjdk/jextract/branches/all > > > Is this a forgotten push? Or maybe I should refer to the branch named > "panama"? > > Regards, > > Martin > > Envoy? avec la messagerie s?curis?e Proton Mail > . > > > ------- Original Message ------- > Le mercredi 28 d?cembre 2022 ? 22:55, Maurizio Cimadamore > a ?crit?: > >> Hi Martin, >> jextract has multiple branches - you should switch to the jdk19 >> branch, and then you will find all the samples working against jdk19. >> >> I suggest you do that first before doing jdk20 (for which there's no >> available downloadable jextract binaries yet). >> >> A binary build for jextract is available here: >> >> https://jdk.java.net/jextract/ >> >> Note that this page contains links to the correct bits of the >> documentation (including jextract branch and samples). >> >> This should be enough to get started with 19. As soon as Java 20 >> ships, the same will be available for Java 20. >> >> Maurizio >> >> On 28/12/2022 16:01, Martin Pernollet wrote: >>> Thank you. I know these documents and rather lacks complete exemples >>> that can work for an identified JDK version. >>> >>> I went back to JExtract samples, especially the opengl teapot >>> , >>> but I can't compile it with JDK 19... seamingly the imports refer to >>> the JDK 20 package names >>> . >>> >>> What I still miss is >>> >>> import static jdk.incubator.foreign.CLinker.C_INT >>> >>> >>> and other C_TYPE. >>> >>> >>> They where static constants in JDK17 but then have gone. Where >>> should we find this as of JDK19? >>> >>> >>> Thanks in advance! >>> >>> ------- Original Message ------- >>> Le mercredi 28 d?cembre 2022 ? 14:34, Maurizio Cimadamore >>> a ?crit?: >>> >>>> Hi, >>>> I suggest you start looking at some of the documents we have >>>> available to get started - for JDK 19 you can look here: >>>> >>>> https://github.com/openjdk/panama-foreign/blob/21452ec32b27ba906ec06253e4a7af9037728174/doc/panama_memaccess.md >>>> >>>> In short, you always need to provide a layout constant of the right >>>> kind when doing allocation using an allocator (and also when doing >>>> dereference). >>>> >>>> Value layout constants are provided in the ValueLayout class (e.g. >>>> ValueLayout.JAVA_DOUBLE). >>>> >>>> If you use jextract, additional constants (e.g. C_INT, C_LONG, ...) >>>> will be provided. >>>> >>>> On 23/12/2022 16:20, Martin Pernollet wrote: >>>>> Hi, >>>>> >>>>> Would anyone suggest examples showing how to use Panama 19 instead >>>>> of 17? A couple of things have changed ( e.g. how to use the new >>>>> locator.allocateArray(new ValueLayout.OfDouble( >>>>> , and deal with all other datatypes, strings, etc). >>>>> >>>>> One additional question : when will ARM be supported to run panama >>>>> on Apple M1? >>>> >>>> Apple M1 is mostly supported on JDK 19 - modulo few corner cases >>>> which have been addressed in Java 20. >>>> >>>> Maurizio >>>> >>>>> >>>>> Regards, >>>>> >>>>> Martin >>> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mail at smogura.eu Thu Dec 29 12:37:19 2022 From: mail at smogura.eu (=?utf-8?B?UmFkb3PFgmF3IFNtb2d1cmE=?=) Date: Thu, 29 Dec 2022 12:37:19 +0000 Subject: Generating a common interface for multiple platform specific binding In-Reply-To: References: <74cJVGa9pM5ITkWNNcQWqDEttFfBMlhbKsdBGH25SduiUtoPEsY2Parc7F9Ei4EEzNVd6LSIYgu_vUyjGKY_H8LxU7m4OhgQVZ7AW_VNjPg=@protonmail.com> <690e5e0f-4768-7477-b8ad-2ba3737cf580@oracle.com> Message-ID: Hi all, I run in same issue before, I think some solution could be to create Map of symbols from JExtract, or instance classes (there?s risk of missed inlining). However JExtract could generate code like this Class BindingOSX extends ClassNameProvidedByUser { static final BindingOSX INSTANCE; static final VarHandle copyVH; copy() {copyVH.invoke()}; } Class BindingWin extends ClassNameProvidedByUser { static final BindingOSX INSTANCE; static final VarHandle copyVH; copy() {copyVH.invoke()}; } // Created manually Then on runtime in static initialisation we could choose implementation, this way we would only risk missed inlining due to additional call depth. Class PlatformBinding { static final ClassNameProvidedByUser IMPL; static { if (isOsx) IMPL = BindingOSX.INSTANCE; else if (isWin) IMPL = BindingWin.INSTANCE; } copy() { IMPL.copy(); } } Could be as well achieved with HashMaps, but would required more work from developer side. Best regards, Radoslaw Smogura On 29 Dec 2022, at 13:25, Martin Pernollet wrote: That would be very valuable to have such guide. I am currently going further with OpenGL on macOS platform mainly, but I'll soon catch up on Ubuntu - and on Windows when I have migrated to JDK 19. When back on Ubuntu/Windows, I'll be happy to read this guide (and participate if this makes sense). Envoy? avec la messagerie s?curis?e Proton Mail. ------- Original Message ------- Le mercredi 28 d?cembre 2022 ? 23:02, Maurizio Cimadamore a ?crit : We do not have concrete examples showing this yet - but, if desirable, we can cook up something in that direction. Maurizio On 28/12/2022 16:06, Martin Pernollet wrote: Thank you for these advices! I complemented my last year notes on this topic with your suggestions. Do you have in mind code samples * demonstrating ways to reconcile such cases, * which could provide a larger view of the number of specific cases one might encounter when building multi-platform native projects? Another approach that might work would be to work at a lower level - and generate ad-hoc downcall method handles which automagically fix up mismatches that can arise across platforms. Note that jextract should expose the method handles it generates, so perhaps this adaptation can be done semi-automatically based on what comes out of jextract (and based on what the mismatches really are in your use case). I know that e.g. the JavaDoesUSB [1] project has faced similar issues, so perhaps their authors might want to share some insights here. Cheers Maurizio [1] - https://github.com/manuelbl/JavaDoesUSB On 20/12/2022 15:04, Martin Pernollet wrote: Hi everyone, I am back on track with OpenGL binding with Panama! I have one code design / tooling question related to JExtract : is it possible to generate a common interface that would be implemented by all platform specific binding generated by JExtract since JDK 19 or 20? Here's my use case in more detail : I've been advised to generate different binding for different OS (and maybe version). For OpenGL, this lead me to a glut_h binding for macOS, one for Windows and one for Linux. To let the user/developer face a single entry point, I manually write a GL interface. I then define a GL_macOS_10_15_3 class that wraps the binding (!). When I expand the prototype to Windows, I should copy paste this to GL_Windows_10 and modify the imports to reference the appropriate bindings. The goal is to write code like this GL gl = Platform.selectAmong(GL_macOS_10_15_3.class, GL_windows_10.class, ...) gl.glDoSomething() I don't think there would be another way to have java developer write applications that ignore the target hardware. However my approach is stupid : time consuming and error prone because manual. A real life case may have 10 implementations and 1000 functions. Does JExtract provide a solution to this? Should I create this tool by myself based on all generated bindings ? Would anyone recommend something smarter? Regards, Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From duke at openjdk.org Fri Dec 30 11:04:07 2022 From: duke at openjdk.org (duke) Date: Fri, 30 Dec 2022 11:04:07 GMT Subject: git: openjdk/panama-foreign: foreign-memaccess+abi: 21 new changesets Message-ID: <45ef8f0f-83bd-4ff9-ad70-5aa71ef50ec5@openjdk.org> Changeset: fef70d78 Author: Alexander Zuev Date: 2022-12-22 00:12:15 +0000 URL: https://git.openjdk.org/panama-foreign/commit/fef70d78baec9ce11d50b9a4c1fb26a1b854ccbf 8299077: [REDO] JDK-4512626 Non-editable JTextArea provides no visual indication of keyboard focus 8299127: [REDO] JDK-8194048 Regression automated test '/open/test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java' fails 8299128: [REDO] JDK-8213562 Test javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java fails Reviewed-by: aivanov, azvegint ! src/java.desktop/share/classes/javax/swing/text/DefaultCaret.java ! test/jdk/ProblemList.txt ! test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java ! test/jdk/javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java Changeset: a0a09d56 Author: Roland Westrelin Date: 2022-12-22 08:56:00 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a0a09d56ba4fc6133b423ad29d86fc99dd6dc19b 8298176: remove OpaqueZeroTripGuardPostLoop once main-loop disappears Reviewed-by: thartmann, chagedorn, kvn ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/opaquenode.hpp ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/phaseX.hpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/opto/subnode.hpp + test/hotspot/jtreg/compiler/loopopts/TestOpaqueZeroTripGuardPostLoopRemoval.java Changeset: 5e001d6f Author: Ajit Ghaisas Date: 2022-12-22 10:38:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5e001d6ff34e2cc954f824117a73dd39f09a81c1 8299207: [Testbug] Add back test/jdk/java/awt/Graphics2D/DrawPrimitivesTest.java Co-authored-by: Alexey Ushakov Reviewed-by: jdv + test/jdk/java/awt/Graphics2D/DrawPrimitivesTest.java Changeset: 9863f59e Author: Chris Hegarty Date: 2022-12-22 12:49:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9863f59e1db84f55dc9a1670cd73ec4bfc07bcb0 8299015: Ensure that HttpResponse.BodySubscribers.ofFile writes all bytes Backport-of: a7d6de71bb83c8715654f61dd166aad6e8dab847 ! src/java.net.http/share/classes/jdk/internal/net/http/ResponseSubscribers.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/Utils.java ! test/jdk/java/net/httpclient/PathSubscriber/BodySubscriberOfFileTest.java Changeset: a80c91d0 Author: Mark Powers Committer: Sean Mullan Date: 2022-12-22 15:29:53 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a80c91d0360864e34569b684cf159e2dcdebeaaf 8299230: Use https: in links Reviewed-by: jjg, mullan, xuelei ! src/java.base/share/classes/java/security/DrbgParameters.java ! src/java.base/share/classes/java/security/SecureRandom.java Changeset: 33042a49 Author: Stuart Marks Date: 2022-12-22 21:56:04 +0000 URL: https://git.openjdk.org/panama-foreign/commit/33042a49d75011958e5030679433e6b2a779d90a 8299237: add ArraysSupport.newLength test to a test group Reviewed-by: naoto ! test/jdk/TEST.groups Changeset: 19ce23c6 Author: Jesper Wilhelmsson Date: 2022-12-23 11:25:10 +0000 URL: https://git.openjdk.org/panama-foreign/commit/19ce23c6459a452c8d3856b9ed96bfa54a8346ae Merge ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/phaseX.hpp ! src/hotspot/share/opto/subnode.cpp ! test/jdk/ProblemList.txt ! test/jdk/TEST.groups ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/phaseX.hpp ! src/hotspot/share/opto/subnode.cpp ! test/jdk/ProblemList.txt ! test/jdk/TEST.groups Changeset: da75de31 Author: Xiaolin Zheng Committer: Fei Yang Date: 2022-12-23 11:54:00 +0000 URL: https://git.openjdk.org/panama-foreign/commit/da75de31841e4b50477774e9efc4f554e1f3e4c0 8299172: RISC-V: [TESTBUG] Fix stack alignment logic in jvmci RISCV64TestAssembler.java Reviewed-by: fyang ! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/riscv64/RISCV64TestAssembler.java Changeset: fd746a2f Author: Artem Semenov Date: 2022-12-23 22:07:14 +0000 URL: https://git.openjdk.org/panama-foreign/commit/fd746a2fe0e4c1c056065da93e2be2d8bb4e5428 8298643: JNI call of getAccessibleRowWithIndex and getAccessibleColumnWithIndex on a wrong thread Reviewed-by: serb, kizune ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/TableAccessibility.m Changeset: 5e861e39 Author: Artem Semenov Date: 2022-12-23 22:28:41 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5e861e3965ce110889c8a1782ab0260937dee6ee 8298645: JNI works with accessibleSelection on a wrong thread Reviewed-by: serb, kizune ! src/java.desktop/macosx/classes/sun/lwawt/macosx/CAccessibility.java ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/ComboBoxAccessibility.m Changeset: 26868c1a Author: Toshio Nakamura Date: 2022-12-24 14:26:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/26868c1ac471c3b305b1d15e3075de0baa9319d2 8299255: Unexpected round errors in FreetypeFontScaler Reviewed-by: prr, serb ! src/java.desktop/share/native/libfontmanager/freetypeScaler.c + test/jdk/java/awt/FontClass/FontScalerRoundTest.java Changeset: 188911c9 Author: Daniel D. Daugherty Date: 2022-12-23 13:51:58 +0000 URL: https://git.openjdk.org/panama-foreign/commit/188911c925e4067c7f912c5ddb6f715bad7a3892 8299241: jdk/jfr/api/consumer/streaming/TestJVMCrash.java generates unnecessary core file Reviewed-by: coleenp ! test/jdk/jdk/jfr/api/consumer/streaming/TestJVMCrash.java ! test/jdk/jdk/jfr/api/consumer/streaming/TestProcess.java Changeset: 19373b2f Author: Jesper Wilhelmsson Date: 2022-12-25 01:56:28 +0000 URL: https://git.openjdk.org/panama-foreign/commit/19373b2ff0cd795afa262c17dcb3388fd6a5be59 Merge Changeset: 04591595 Author: Yi Yang Date: 2022-12-26 02:16:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/04591595374e84cfbfe38d92bff4409105b28009 8288204: GVN Crash: assert() failed: correct memory chain Reviewed-by: kvn, thartmann ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/memnode.cpp + test/hotspot/jtreg/compiler/c2/TestGVNCrash.java Changeset: 11fd651a Author: Alan Bateman Date: 2022-12-27 07:51:04 +0000 URL: https://git.openjdk.org/panama-foreign/commit/11fd651ab1820770e3c65cd49589416098987a87 8298875: A module requiring "java.base" with flags ACC_SYNTHETIC should be rejected Reviewed-by: jpai, mchung ! src/java.base/share/classes/jdk/internal/module/ModuleInfo.java ! test/jdk/java/lang/module/ModuleDescriptorTest.java Changeset: d490f15e Author: Matthias Baesken Date: 2022-12-28 08:28:02 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d490f15e3b8222d0ba80e2161cc3f063092fc460 8235297: sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java fails intermittent Reviewed-by: xuelei ! test/jdk/sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java Changeset: 6f85a9c9 Author: Matthias Baesken Date: 2022-12-28 14:22:43 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6f85a9c9a8ea3f76575acb4964cd80219822f073 8299387: CompressedClassPointers.java still fails on ppc with 'Narrow klass shift: 0' missing Reviewed-by: mdoerr ! test/hotspot/jtreg/runtime/CompressedOops/CompressedClassPointers.java Changeset: 684e5069 Author: Daniel Jeli?ski Date: 2022-12-30 06:40:27 +0000 URL: https://git.openjdk.org/panama-foreign/commit/684e50690c54fb93cb411553a8798cce041faac9 8299260: libawt and libfreetype should export only explicitly requested symbols Reviewed-by: prr, aivanov, serb ! make/common/modules/LibCommon.gmk ! make/modules/java.desktop/lib/Awt2dLibraries.gmk Changeset: c2e3d728 Author: Matthias Baesken Date: 2022-12-30 07:43:32 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c2e3d7284814cd6b49f44b4de18e0f92310422b0 8299388: java/util/regex/NegativeArraySize.java fails on Alpine and sometimes Windows Reviewed-by: mdoerr, alanb ! test/jdk/java/util/regex/NegativeArraySize.java Changeset: 4d81dd26 Author: duke Date: 2022-12-30 11:00:14 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4d81dd26dc06146945550d8106dba998ab3fca88 Automatic merge of jdk:master into master Changeset: 1f33f4a1 Author: duke Date: 2022-12-30 11:00:33 +0000 URL: https://git.openjdk.org/panama-foreign/commit/1f33f4a1a2f65e763e22c87c29ee2489fd1bed1e Automatic merge of master into foreign-memaccess+abi From duke at openjdk.org Fri Dec 30 11:05:20 2022 From: duke at openjdk.org (duke) Date: Fri, 30 Dec 2022 11:05:20 GMT Subject: git: openjdk/panama-foreign: master: 20 new changesets Message-ID: <8e53f730-60bd-4be2-a3e9-4a74bed3985e@openjdk.org> Changeset: fef70d78 Author: Alexander Zuev Date: 2022-12-22 00:12:15 +0000 URL: https://git.openjdk.org/panama-foreign/commit/fef70d78baec9ce11d50b9a4c1fb26a1b854ccbf 8299077: [REDO] JDK-4512626 Non-editable JTextArea provides no visual indication of keyboard focus 8299127: [REDO] JDK-8194048 Regression automated test '/open/test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java' fails 8299128: [REDO] JDK-8213562 Test javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java fails Reviewed-by: aivanov, azvegint ! src/java.desktop/share/classes/javax/swing/text/DefaultCaret.java ! test/jdk/ProblemList.txt ! test/jdk/javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java ! test/jdk/javax/swing/text/DefaultCaret/HidingSelection/MultiSelectionTest.java Changeset: a0a09d56 Author: Roland Westrelin Date: 2022-12-22 08:56:00 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a0a09d56ba4fc6133b423ad29d86fc99dd6dc19b 8298176: remove OpaqueZeroTripGuardPostLoop once main-loop disappears Reviewed-by: thartmann, chagedorn, kvn ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/opaquenode.hpp ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/phaseX.hpp ! src/hotspot/share/opto/subnode.cpp ! src/hotspot/share/opto/subnode.hpp + test/hotspot/jtreg/compiler/loopopts/TestOpaqueZeroTripGuardPostLoopRemoval.java Changeset: 5e001d6f Author: Ajit Ghaisas Date: 2022-12-22 10:38:12 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5e001d6ff34e2cc954f824117a73dd39f09a81c1 8299207: [Testbug] Add back test/jdk/java/awt/Graphics2D/DrawPrimitivesTest.java Co-authored-by: Alexey Ushakov Reviewed-by: jdv + test/jdk/java/awt/Graphics2D/DrawPrimitivesTest.java Changeset: 9863f59e Author: Chris Hegarty Date: 2022-12-22 12:49:25 +0000 URL: https://git.openjdk.org/panama-foreign/commit/9863f59e1db84f55dc9a1670cd73ec4bfc07bcb0 8299015: Ensure that HttpResponse.BodySubscribers.ofFile writes all bytes Backport-of: a7d6de71bb83c8715654f61dd166aad6e8dab847 ! src/java.net.http/share/classes/jdk/internal/net/http/ResponseSubscribers.java ! src/java.net.http/share/classes/jdk/internal/net/http/common/Utils.java ! test/jdk/java/net/httpclient/PathSubscriber/BodySubscriberOfFileTest.java Changeset: a80c91d0 Author: Mark Powers Committer: Sean Mullan Date: 2022-12-22 15:29:53 +0000 URL: https://git.openjdk.org/panama-foreign/commit/a80c91d0360864e34569b684cf159e2dcdebeaaf 8299230: Use https: in links Reviewed-by: jjg, mullan, xuelei ! src/java.base/share/classes/java/security/DrbgParameters.java ! src/java.base/share/classes/java/security/SecureRandom.java Changeset: 33042a49 Author: Stuart Marks Date: 2022-12-22 21:56:04 +0000 URL: https://git.openjdk.org/panama-foreign/commit/33042a49d75011958e5030679433e6b2a779d90a 8299237: add ArraysSupport.newLength test to a test group Reviewed-by: naoto ! test/jdk/TEST.groups Changeset: 19ce23c6 Author: Jesper Wilhelmsson Date: 2022-12-23 11:25:10 +0000 URL: https://git.openjdk.org/panama-foreign/commit/19ce23c6459a452c8d3856b9ed96bfa54a8346ae Merge ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/phaseX.hpp ! src/hotspot/share/opto/subnode.cpp ! test/jdk/ProblemList.txt ! test/jdk/TEST.groups ! src/hotspot/share/opto/loopTransform.cpp ! src/hotspot/share/opto/phaseX.cpp ! src/hotspot/share/opto/phaseX.hpp ! src/hotspot/share/opto/subnode.cpp ! test/jdk/ProblemList.txt ! test/jdk/TEST.groups Changeset: da75de31 Author: Xiaolin Zheng Committer: Fei Yang Date: 2022-12-23 11:54:00 +0000 URL: https://git.openjdk.org/panama-foreign/commit/da75de31841e4b50477774e9efc4f554e1f3e4c0 8299172: RISC-V: [TESTBUG] Fix stack alignment logic in jvmci RISCV64TestAssembler.java Reviewed-by: fyang ! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/riscv64/RISCV64TestAssembler.java Changeset: fd746a2f Author: Artem Semenov Date: 2022-12-23 22:07:14 +0000 URL: https://git.openjdk.org/panama-foreign/commit/fd746a2fe0e4c1c056065da93e2be2d8bb4e5428 8298643: JNI call of getAccessibleRowWithIndex and getAccessibleColumnWithIndex on a wrong thread Reviewed-by: serb, kizune ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/TableAccessibility.m Changeset: 5e861e39 Author: Artem Semenov Date: 2022-12-23 22:28:41 +0000 URL: https://git.openjdk.org/panama-foreign/commit/5e861e3965ce110889c8a1782ab0260937dee6ee 8298645: JNI works with accessibleSelection on a wrong thread Reviewed-by: serb, kizune ! src/java.desktop/macosx/classes/sun/lwawt/macosx/CAccessibility.java ! src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/ComboBoxAccessibility.m Changeset: 26868c1a Author: Toshio Nakamura Date: 2022-12-24 14:26:42 +0000 URL: https://git.openjdk.org/panama-foreign/commit/26868c1ac471c3b305b1d15e3075de0baa9319d2 8299255: Unexpected round errors in FreetypeFontScaler Reviewed-by: prr, serb ! src/java.desktop/share/native/libfontmanager/freetypeScaler.c + test/jdk/java/awt/FontClass/FontScalerRoundTest.java Changeset: 188911c9 Author: Daniel D. Daugherty Date: 2022-12-23 13:51:58 +0000 URL: https://git.openjdk.org/panama-foreign/commit/188911c925e4067c7f912c5ddb6f715bad7a3892 8299241: jdk/jfr/api/consumer/streaming/TestJVMCrash.java generates unnecessary core file Reviewed-by: coleenp ! test/jdk/jdk/jfr/api/consumer/streaming/TestJVMCrash.java ! test/jdk/jdk/jfr/api/consumer/streaming/TestProcess.java Changeset: 19373b2f Author: Jesper Wilhelmsson Date: 2022-12-25 01:56:28 +0000 URL: https://git.openjdk.org/panama-foreign/commit/19373b2ff0cd795afa262c17dcb3388fd6a5be59 Merge Changeset: 04591595 Author: Yi Yang Date: 2022-12-26 02:16:06 +0000 URL: https://git.openjdk.org/panama-foreign/commit/04591595374e84cfbfe38d92bff4409105b28009 8288204: GVN Crash: assert() failed: correct memory chain Reviewed-by: kvn, thartmann ! src/hotspot/share/opto/cfgnode.cpp ! src/hotspot/share/opto/memnode.cpp + test/hotspot/jtreg/compiler/c2/TestGVNCrash.java Changeset: 11fd651a Author: Alan Bateman Date: 2022-12-27 07:51:04 +0000 URL: https://git.openjdk.org/panama-foreign/commit/11fd651ab1820770e3c65cd49589416098987a87 8298875: A module requiring "java.base" with flags ACC_SYNTHETIC should be rejected Reviewed-by: jpai, mchung ! src/java.base/share/classes/jdk/internal/module/ModuleInfo.java ! test/jdk/java/lang/module/ModuleDescriptorTest.java Changeset: d490f15e Author: Matthias Baesken Date: 2022-12-28 08:28:02 +0000 URL: https://git.openjdk.org/panama-foreign/commit/d490f15e3b8222d0ba80e2161cc3f063092fc460 8235297: sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java fails intermittent Reviewed-by: xuelei ! test/jdk/sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java Changeset: 6f85a9c9 Author: Matthias Baesken Date: 2022-12-28 14:22:43 +0000 URL: https://git.openjdk.org/panama-foreign/commit/6f85a9c9a8ea3f76575acb4964cd80219822f073 8299387: CompressedClassPointers.java still fails on ppc with 'Narrow klass shift: 0' missing Reviewed-by: mdoerr ! test/hotspot/jtreg/runtime/CompressedOops/CompressedClassPointers.java Changeset: 684e5069 Author: Daniel Jeli?ski Date: 2022-12-30 06:40:27 +0000 URL: https://git.openjdk.org/panama-foreign/commit/684e50690c54fb93cb411553a8798cce041faac9 8299260: libawt and libfreetype should export only explicitly requested symbols Reviewed-by: prr, aivanov, serb ! make/common/modules/LibCommon.gmk ! make/modules/java.desktop/lib/Awt2dLibraries.gmk Changeset: c2e3d728 Author: Matthias Baesken Date: 2022-12-30 07:43:32 +0000 URL: https://git.openjdk.org/panama-foreign/commit/c2e3d7284814cd6b49f44b4de18e0f92310422b0 8299388: java/util/regex/NegativeArraySize.java fails on Alpine and sometimes Windows Reviewed-by: mdoerr, alanb ! test/jdk/java/util/regex/NegativeArraySize.java Changeset: 4d81dd26 Author: duke Date: 2022-12-30 11:00:14 +0000 URL: https://git.openjdk.org/panama-foreign/commit/4d81dd26dc06146945550d8106dba998ab3fca88 Automatic merge of jdk:master into master