git: openjdk/loom: fibers: 28 new changesets

duke duke at openjdk.org
Thu Jun 6 10:59:36 UTC 2024


Changeset: cbb6747e
Author:    Sonia Zaldana Calles <szaldana at openjdk.org>
Committer: Jaikiran Pai <jpai at openjdk.org>
Date:      2024-06-05 13:12:30 +0000
URL:       https://git.openjdk.org/loom/commit/cbb6747e6b9ce7e2b9e0ffb0a1f9499f7e0e13b0

8329581: Java launcher no longer prints a stack trace
8329420: Java 22 (and 23) launcher calls default constructor although main() is static
8330864: No error message when ExceptionInInitializerError thrown in static initializer

Reviewed-by: stuefe

! src/java.base/share/classes/sun/launcher/LauncherHelper.java
! src/java.base/share/native/libjli/java.c
! test/jdk/tools/launcher/InstanceMainTest.java
+ test/jdk/tools/launcher/LauncherExceptionTest.java

Changeset: 6882b381
Author:    Jaikiran Pai <jpai at openjdk.org>
Date:      2024-06-05 14:03:29 +0000
URL:       https://git.openjdk.org/loom/commit/6882b381e8662b5c134d3a1868c357eeb3523ea8

8333590: UnmodifiableHeaders.toString() returns a value that represents empty headers

Reviewed-by: dfuchs, michaelm

! src/jdk.httpserver/share/classes/sun/net/httpserver/UnmodifiableHeaders.java
! test/jdk/com/sun/net/httpserver/UnmodifiableHeadersTest.java

Changeset: 9a8096fe
Author:    Sonia Zaldana Calles <szaldana at openjdk.org>
Committer: Thomas Stuefe <stuefe at openjdk.org>
Date:      2024-06-05 14:14:14 +0000
URL:       https://git.openjdk.org/loom/commit/9a8096feb82991784cabede823f0248fe2f41e53

8330047: ASAN build error with gcc 13

Reviewed-by: aboldtch, stuefe

! src/hotspot/share/gc/z/zMarkStack.hpp

Changeset: 326dbb1b
Author:    Viktor Klang <vklang at openjdk.org>
Date:      2024-06-05 14:40:04 +0000
URL:       https://git.openjdk.org/loom/commit/326dbb1b139dd1ec1b8605339b91697cdf49da9a

8312436: CompletableFuture never completes when 'Throwable.toString()' method throws Exception

Reviewed-by: alanb

! src/java.base/share/classes/java/util/concurrent/CompletableFuture.java
! test/jdk/java/util/concurrent/tck/CompletableFutureTest.java

Changeset: d85b0ca5
Author:    Adam Sotona <asotona at openjdk.org>
Date:      2024-06-05 15:33:03 +0000
URL:       https://git.openjdk.org/loom/commit/d85b0ca5cdc1820a886c46bf555b2051fed7f167

8332457: Examine startup overheads from JDK-8294961
8229959: Convert proxy class to use constant dynamic

Reviewed-by: liach, redestad

! src/java.base/share/classes/java/lang/constant/ConstantDescs.java
! src/java.base/share/classes/java/lang/reflect/Proxy.java
! src/java.base/share/classes/java/lang/reflect/ProxyGenerator.java
! src/java.base/share/classes/jdk/internal/classfile/impl/StackMapDecoder.java
! src/java.base/share/classes/jdk/internal/classfile/impl/StackMapGenerator.java
! src/java.base/share/classes/jdk/internal/constant/ConstantUtils.java
! src/java.base/share/classes/jdk/internal/constant/MethodTypeDescImpl.java
! src/java.base/share/classes/jdk/internal/constant/ReferenceClassDescImpl.java
+ test/micro/org/openjdk/bench/java/lang/reflect/ProxyGenBench.java

Changeset: c5c08678
Author:    Christian Hagedorn <chagedorn at openjdk.org>
Date:      2024-06-05 15:37:31 +0000
URL:       https://git.openjdk.org/loom/commit/c5c0867881a43c81e88453274ac12e45454685a4

8333252: C2: assert(assertion_predicate_has_loop_opaque_node(iff)) failed: must find OpaqueLoop* nodes

Reviewed-by: kvn, epeter

! src/hotspot/share/opto/loopPredicate.cpp
+ test/hotspot/jtreg/compiler/predicates/assertion/TestTemplateWithoutOpaqueLoopNodes.java

Changeset: 7acfba28
Author:    Mark Sheppard <msheppar at openjdk.org>
Date:      2024-06-05 15:47:52 +0000
URL:       https://git.openjdk.org/loom/commit/7acfba288ff4d1f43cc36506b2bd2d32107b00c2

8327650: Test java/nio/channels/DatagramChannel/StressNativeSignal.java timed out

Reviewed-by: bpb

! test/jdk/java/nio/channels/DatagramChannel/StressNativeSignal.java

Changeset: d7d1afb0
Author:    Jaikiran Pai <jpai at openjdk.org>
Date:      2024-06-05 15:55:20 +0000
URL:       https://git.openjdk.org/loom/commit/d7d1afb0a84e771870e9f43e08c4a63c8fdccdd9

8206447: InflaterInputStream.skip receives long but it's limited to Integer.MAX_VALUE

Reviewed-by: lancea, alanb

! src/java.base/share/classes/java/util/zip/DeflaterInputStream.java
! src/java.base/share/classes/java/util/zip/InflaterInputStream.java

Changeset: 438121be
Author:    Sonia Zaldana Calles <szaldana at openjdk.org>
Committer: Thomas Stuefe <stuefe at openjdk.org>
Date:      2024-06-05 15:58:59 +0000
URL:       https://git.openjdk.org/loom/commit/438121be6bdb085fa13ad14ec53b09ecdbd4757d

8332785: Replace naked uses of UseSharedSpaces with CDSConfig::is_using_archive

Reviewed-by: dholmes, stuefe, sspitsyn

! src/hotspot/cpu/ppc/templateTable_ppc_64.cpp
! src/hotspot/os/posix/vmError_posix.cpp
! src/hotspot/os/windows/vmError_windows.cpp
! src/hotspot/share/cds/cdsConfig.cpp
! src/hotspot/share/cds/dynamicArchive.cpp
! src/hotspot/share/cds/filemap.cpp
! src/hotspot/share/cds/heapShared.cpp
! src/hotspot/share/cds/metaspaceShared.cpp
! src/hotspot/share/classfile/classLoader.cpp
! src/hotspot/share/classfile/classLoaderDataShared.cpp
! src/hotspot/share/classfile/classLoaderExt.cpp
! src/hotspot/share/classfile/javaClasses.cpp
! src/hotspot/share/classfile/moduleEntry.cpp
! src/hotspot/share/classfile/packageEntry.cpp
! src/hotspot/share/classfile/systemDictionary.cpp
! src/hotspot/share/classfile/systemDictionaryShared.cpp
! src/hotspot/share/classfile/vmClasses.cpp
! src/hotspot/share/classfile/vmSymbols.cpp
! src/hotspot/share/interpreter/zero/bytecodeInterpreter.cpp
! src/hotspot/share/memory/metaspace.cpp
! src/hotspot/share/memory/metaspace/metaspaceReporter.cpp
! src/hotspot/share/memory/universe.cpp
! src/hotspot/share/oops/arrayKlass.cpp
! src/hotspot/share/oops/constantPool.cpp
! src/hotspot/share/oops/instanceClassLoaderKlass.cpp
! src/hotspot/share/oops/instanceKlass.cpp
! src/hotspot/share/oops/instanceMirrorKlass.cpp
! src/hotspot/share/oops/instanceRefKlass.cpp
! src/hotspot/share/oops/instanceStackChunkKlass.cpp
! src/hotspot/share/oops/klass.cpp
! src/hotspot/share/prims/jvmtiRedefineClasses.cpp
! src/hotspot/share/prims/whitebox.cpp
! src/hotspot/share/runtime/abstract_vm_version.cpp
! src/hotspot/share/runtime/arguments.cpp
! src/hotspot/share/services/diagnosticCommand.cpp

Changeset: 5dcb7a62
Author:    Abhishek Kumar <abhiscxk at openjdk.org>
Date:      2024-06-05 16:03:35 +0000
URL:       https://git.openjdk.org/loom/commit/5dcb7a627e1cfb360719a25722588180e5de9d09

8160755: bug6492108.java test fails with exception Image comparison failed at (0, 0) for image 4 in GTK L&F

Reviewed-by: aivanov, dnguyen, tr

! src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKStyle.java
+ test/jdk/com/sun/java/swing/plaf/gtk/bug6492108.java

Changeset: f73922b2
Author:    Leonid Mesnik <lmesnik at openjdk.org>
Date:      2024-06-05 16:05:20 +0000
URL:       https://git.openjdk.org/loom/commit/f73922b27d126314fc3127ee25aa40b6258c8a6b

8333235: vmTestbase/nsk/jdb/kill/kill001/kill001.java fails with C1

Reviewed-by: cjplummer, sspitsyn

! test/hotspot/jtreg/vmTestbase/nsk/jdb/kill/kill001/kill001a.java

Changeset: 9b3694c4
Author:    Andrew Haley <aph at openjdk.org>
Date:      2024-06-05 17:09:55 +0000
URL:       https://git.openjdk.org/loom/commit/9b3694c4fcc3cf46c0d827427ae8aadb477e8e22

8319822: Use a linear-time algorithm for assert_different_registers()

Reviewed-by: kbarrett, stefank, stuefe

! src/hotspot/cpu/aarch64/register_aarch64.hpp
! src/hotspot/cpu/x86/register_x86.hpp
! src/hotspot/share/asm/register.hpp
! src/hotspot/share/utilities/population_count.hpp

Changeset: f7dbb98f
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2024-06-05 17:20:44 +0000
URL:       https://git.openjdk.org/loom/commit/f7dbb98fe69eb98f8544577d81550b4fd817864b

8333086: Using Console.println is unnecessarily slow due to JLine initalization

Reviewed-by: asotona, naoto

! src/jdk.internal.le/share/classes/jdk/internal/org/jline/JdkConsoleProviderImpl.java
+ test/jdk/jdk/internal/jline/LazyJdkConsoleProvider.java

Changeset: 4c09d9f8
Author:    Jatin Bhateja <jbhateja at openjdk.org>
Date:      2024-06-05 18:36:49 +0000
URL:       https://git.openjdk.org/loom/commit/4c09d9f8280092949a9fe0f26ee516e699f7ba84

8332119: Incorrect IllegalArgumentException for C2 compiled permute kernel

Reviewed-by: sviswanathan, kvn

! src/hotspot/share/opto/library_call.hpp
! src/hotspot/share/opto/vectorIntrinsics.cpp
+ test/hotspot/jtreg/compiler/vectorapi/TestTwoVectorPermute.java

Changeset: 7564949a
Author:    Liam Miller-Cushon <cushon at openjdk.org>
Date:      2024-06-05 19:10:13 +0000
URL:       https://git.openjdk.org/loom/commit/7564949a56b533b9d955ff5feee75afd18e51f74

8291643: Consider omitting type annotations from type error diagnostics

Reviewed-by: vromero

! make/langtools/tools/propertiesparser/parser/MessageType.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
+ test/langtools/tools/javac/annotations/typeAnnotations/failures/IncompatibleTypes.java
+ test/langtools/tools/javac/annotations/typeAnnotations/failures/IncompatibleTypes.out
! test/langtools/tools/javac/lambda/LambdaConv25.out
! test/langtools/tools/javac/warnings/6747671/T6747671.out

Changeset: 60ea17e8
Author:    Serguei Spitsyn <sspitsyn at openjdk.org>
Date:      2024-06-05 21:46:41 +0000
URL:       https://git.openjdk.org/loom/commit/60ea17e8482936a6acbc442bb1be199e01008072

8311177: Switching to interpreter only mode in carrier thread can lead to crashes

Reviewed-by: pchilanomate, amenkov

! src/hotspot/share/prims/jvmtiEventController.cpp
! src/hotspot/share/prims/jvmtiEventController.hpp
! src/hotspot/share/prims/jvmtiThreadState.cpp
! src/hotspot/share/prims/jvmtiThreadState.hpp
! src/hotspot/share/prims/jvmtiThreadState.inline.hpp
! src/hotspot/share/runtime/javaThread.cpp
+ test/hotspot/jtreg/serviceability/jvmti/vthread/CarrierThreadEventNotification/CarrierThreadEventNotification.java
+ test/hotspot/jtreg/serviceability/jvmti/vthread/CarrierThreadEventNotification/libCarrierThreadEventNotification.cpp
! test/hotspot/jtreg/serviceability/jvmti/vthread/MethodExitTest/libMethodExitTest.cpp

Changeset: ca939075
Author:    David Holmes <dholmes at openjdk.org>
Date:      2024-06-06 00:15:43 +0000
URL:       https://git.openjdk.org/loom/commit/ca9390755bc652251bdcfd9ec2a583680a63fddf

8256828: ostream::print_cr() truncates buffer in copy-through case

Reviewed-by: stuefe, matsaave

! src/hotspot/share/utilities/ostream.cpp
! src/hotspot/share/utilities/ostream.hpp
! test/hotspot/gtest/utilities/test_ostream.cpp

Changeset: 30894126
Author:    Serguei Spitsyn <sspitsyn at openjdk.org>
Date:      2024-06-06 04:20:59 +0000
URL:       https://git.openjdk.org/loom/commit/30894126a4ba8bc41c333c923ff3007503257688

8326716: JVMTI spec: clarify what nullptr means for C/C++ developers

Reviewed-by: kbarrett, cjplummer

! src/hotspot/share/prims/jvmti.xml
! src/hotspot/share/prims/jvmti.xsl
! src/hotspot/share/prims/jvmtiEnv.xsl
! src/hotspot/share/prims/jvmtiLib.xsl

Changeset: b3f540d3
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2024-06-06 04:43:36 +0000
URL:       https://git.openjdk.org/loom/commit/b3f540d354c4a4e2f2199019a2b880a373699560

8332921: Ctrl+C does not call shutdown hooks after JLine upgrade

Reviewed-by: asotona, vromero

! src/jdk.internal.le/share/classes/jdk/internal/org/jline/JdkConsoleProviderImpl.java
! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java

Changeset: b351b5f6
Author:    Cesar Soares Lucas <cslucas at openjdk.org>
Committer: Tobias Hartmann <thartmann at openjdk.org>
Date:      2024-06-06 05:21:09 +0000
URL:       https://git.openjdk.org/loom/commit/b351b5f60ed836e6e21aa4ce5681e573a6057eb6

8331736: C2: Live Node limit exceeded limit after JDK-8316991

Reviewed-by: thartmann, chagedorn

! src/hotspot/share/opto/escape.cpp
+ test/hotspot/jtreg/compiler/c2/TestScalarReplacementMaxLiveNodes.java

Changeset: 6f690a5b
Author:    Tobias Hartmann <thartmann at openjdk.org>
Date:      2024-06-06 05:39:28 +0000
URL:       https://git.openjdk.org/loom/commit/6f690a5b01c3d438ba0a2a848a3909e43db650d8

8333177: Invalid value used for enum Cell in ciTypeFlow::get_start_state

Reviewed-by: kvn, chagedorn

! src/hotspot/share/ci/ciTypeFlow.cpp

Changeset: 8f078532
Author:    Kuai Wei <kuaiwei.kw at alibaba-inc.com>
Committer: Julian Waters <jwaters at openjdk.org>
Date:      2024-06-06 06:25:43 +0000
URL:       https://git.openjdk.org/loom/commit/8f0785325d54fb5b68867788d1fa3b20a238eaad

8333410: [AArch64] Clean unused classes in nativeInst_aarch64.hpp

Reviewed-by: aph, chagedorn

! src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp
! src/hotspot/cpu/aarch64/nativeInst_aarch64.hpp

Changeset: 7ef28312
Author:    Christian Hagedorn <chagedorn at openjdk.org>
Date:      2024-06-06 06:58:05 +0000
URL:       https://git.openjdk.org/loom/commit/7ef283129388413b362942fb45af48d1f7393b67

8333644: C2: assert(is_Bool()) failed: invalid node class: Phi

Reviewed-by: thartmann, kvn

! src/hotspot/share/opto/loopopts.cpp
! test/hotspot/jtreg/compiler/predicates/assertion/TestOpaqueInitializedAssertionPredicateNode.java

Changeset: c7d2841f
Author:    Nizar Benalla <nbenalla at openjdk.org>
Committer: Jaikiran Pai <jpai at openjdk.org>
Date:      2024-06-06 07:27:58 +0000
URL:       https://git.openjdk.org/loom/commit/c7d2841fb4ac97c0edec175cf37abd90167ea56e

8332070: Convert package.html files in `java.management` to package-info.java

Reviewed-by: alanb

+ src/java.management/share/classes/java/lang/management/package-info.java
- src/java.management/share/classes/java/lang/management/package.html
+ src/java.management/share/classes/javax/management/loading/package-info.java
- src/java.management/share/classes/javax/management/loading/package.html
+ src/java.management/share/classes/javax/management/modelmbean/package-info.java
- src/java.management/share/classes/javax/management/modelmbean/package.html
+ src/java.management/share/classes/javax/management/monitor/package-info.java
- src/java.management/share/classes/javax/management/monitor/package.html
+ src/java.management/share/classes/javax/management/openmbean/package-info.java
- src/java.management/share/classes/javax/management/openmbean/package.html
+ src/java.management/share/classes/javax/management/package-info.java
- src/java.management/share/classes/javax/management/package.html
+ src/java.management/share/classes/javax/management/relation/package-info.java
- src/java.management/share/classes/javax/management/relation/package.html
+ src/java.management/share/classes/javax/management/remote/package-info.java
- src/java.management/share/classes/javax/management/remote/package.html
+ src/java.management/share/classes/javax/management/timer/package-info.java
- src/java.management/share/classes/javax/management/timer/package.html

Changeset: 880c6b42
Author:    Matthias Baesken <mbaesken at openjdk.org>
Date:      2024-06-06 07:46:35 +0000
URL:       https://git.openjdk.org/loom/commit/880c6b42ba74884690daa5c23f6605876f29aece

8333178: ubsan: jvmti_tools.cpp:149:16: runtime error: null pointer passed as argument 2, which is declared to never be null

Reviewed-by: cjplummer, sspitsyn

! test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_tools.cpp

Changeset: d232a67b
Author:    Alan Bateman <alan.bateman at oracle.com>
Date:      2024-06-06 09:20:25 +0000
URL:       https://git.openjdk.org/loom/commit/d232a67b9d651a449d07b72e884455e9975bf1f1

Merge

! src/hotspot/share/classfile/javaClasses.cpp
! src/hotspot/share/oops/instanceKlass.cpp
! src/hotspot/share/oops/instanceStackChunkKlass.cpp
! src/hotspot/share/opto/library_call.hpp
! src/hotspot/share/prims/jvmtiThreadState.cpp
! src/hotspot/share/runtime/javaThread.cpp
! src/hotspot/share/services/diagnosticCommand.cpp
! src/hotspot/share/classfile/javaClasses.cpp
! src/hotspot/share/oops/instanceKlass.cpp
! src/hotspot/share/oops/instanceStackChunkKlass.cpp
! src/hotspot/share/opto/library_call.hpp
! src/hotspot/share/prims/jvmtiThreadState.cpp
! src/hotspot/share/runtime/javaThread.cpp
! src/hotspot/share/services/diagnosticCommand.cpp

Changeset: b2b4a867
Author:    Alan Bateman <alan.bateman at oracle.com>
Date:      2024-06-06 11:32:35 +0000
URL:       https://git.openjdk.org/loom/commit/b2b4a86703271cf2c52b4cc1763f501e0d549019

Fix up enter_interp_only_mode usages

! src/hotspot/share/prims/jvmtiExport.cpp
! src/hotspot/share/runtime/continuationFreezeThaw.cpp

Changeset: fe211bb4
Author:    Alan Bateman <alan.bateman at oracle.com>
Date:      2024-06-06 11:33:27 +0000
URL:       https://git.openjdk.org/loom/commit/fe211bb49980c0810ad524cb570d9c8e794df402

JNIEnv can't be saved as static

! test/hotspot/jtreg/serviceability/jvmti/events/MonitorContendedEnter/mcontenter01/libmcontenter01.cpp
! test/hotspot/jtreg/serviceability/jvmti/events/MonitorContendedEntered/mcontentered01/libmcontentered01.cpp
! test/hotspot/jtreg/serviceability/jvmti/events/MonitorWaited/monitorwaited01/libmonitorwaited01.cpp
! test/hotspot/jtreg/serviceability/jvmti/events/MonitorWaited/monitorwaited01/monitorwaited01.java



More information about the loom-dev mailing list