RELEASE NOTES: JDK 21.0.4

Notes generated: Mon Jul 22 06:31:48 CEST 2024

JEPs

None.

RELEASE NOTES

security-libs/javax.security

Issue Description
JDK-8328638

Fallback Option For POST-only OCSP Requests


JDK 17 introduced a performance improvement that made OCSP clients unconditionally use GET requests for small requests, while doing POST requests for everything else. This is explicitly allowed and recommended by RFC 5019 and RFC 6960. However, we have seen OCSP responders that, despite RFC requirements, are not working well with GET requests.

This release introduces a new JDK system property to allow clients to fallback to POST-only behavior. This unblocks interactions with those OCSP responders through the use of -Dcom.sun.security.ocsp.useget={false,true}. This amends the original change that introduced GET OCSP requests (JDK-8179503). The default behavior is not changed; the option defaults to true. Set the option to false to disable GET OCSP requests. Any value other than false (case-insensitive) defaults to true.

This option is non-standard, and might go away once problematic OCSP responders get upgraded.


infrastructure/build

Issue Description
JDK-8326891

Native Executables and Libraries on Linux Use `RPATH` Instead of `RUNPATH`


Native executables and libraries on Linux have switched to using RPATH instead of RUNPATH in this release.

JDK native executables and libraries use embedded runtime search paths to locate other internal JDK native libraries. On Linux these can be defined as either RPATH or RUNPATH. The main difference is that the dynamic linker considers RPATH before the LD_LIBRARY_PATH environment variable, while RUNPATH is only considered after LD_LIBRARY_PATH.

By making the change to using RPATH, it is no longer possible to replace JDK internal native libraries using LD_LIBRARY_PATH.


security-libs/java.security

Issue Description
JDK-8281658

New Security Category for `-XshowSettings` Launcher Option


The -XshowSettings launcher has a new security category. Settings from security properties, security providers, and TLS related settings are displayed with this option. A security sub-category can be passed as an argument to the security category option. See the output from java -X:

` -XshowSettings:security show all security settings and continue -XshowSettings:security:*sub-category* show settings for the specified security sub-category and continue. Possible *sub-category* arguments for this option include: all: show all security settings and continue properties: show security properties and continue providers: show static security provider settings and continue tls: show TLS related security settings and continue `

Third party security provider details will be reported if they are included in the application class path or module path and such providers are configured in the java.security file.


JDK-8316138

Added GlobalSign R46 and E46 Root CA Certificates


The following root certificates have been added to the cacerts truststore: ``` + GlobalSign + globalsignr46 DN: CN=GlobalSign Root R46, O=GlobalSign nv-sa, C=BE

  • GlobalSign
  • globalsigne46 DN: CN=GlobalSign Root E46, O=GlobalSign nv-sa, C=BE ```

tools/jpackage

Issue Description
JDK-8295111

`jpackage` Apps May Fail to Build on Debian Linux Distros Due to Missing Shared Libraries


There is an issue on Debian Linux distros where jpackage could not always build an accurate list of required packages from shared libraries with symbolic links in their paths, causing installations to fail due to missing shared libraries.


`jpackage` May Produce an Inaccurate List of Required Packages on Debian Linux Distros


Fixed an issue on Debian Linux distros where jpackage could not always build an accurate list of required packages from shared libraries with symbolic links in their paths, causing installations to fail due to missing shared libraries.


hotspot/gc

Issue Description
JDK-8314573

G1: More Deterministic Heap Resize at Remark


During the Remark pause G1 adjusts the Java heap size to keep a minimum and maximum amount of free regions as set via the -XX:MinHeapFreeRatio and -XX:MaxHeapFreeRatio options.

Before this change, G1 considered Eden regions as occupied (full) for this calculation. This makes heap sizing very dependent on current Eden occupancy, although after the next garbage collection these regions will be empty. With this change, Eden regions are considered as empty (free) for matters of Java heap sizing. This new policy also aligns Java heap sizing to full GC heap sizing.

The effect is that G1 now expands the Java heap less aggressively and more deterministically, with corresponding memory savings but potentially executing more garbage collections.


JDK-8315503

G1: Balance Code Root Scan Phase During Garbage Collection


The Code Root Scan Phase during garbage collection finds references to Java objects in compiled code. To speed up this process, G1 maintains a remembered set for compiled code that contains references into the Java heap. That is, every region contains a set of compiled code that contains references into it.

Assuming that such references are few, previous code used a single thread per region to iterate over a particular region's references, which poses a scalability bottleneck if the distribution of these references is very unbalanced.

G1 now distributes this code root scan work across multiple threads within regions, removing this bottleneck.


FIXED ISSUES

client-libs

Priority Bug Summary
P4 JDK-8324243 Compilation failures in java.desktop module with gcc 14
P4 JDK-8326948 Force English locale for timeout formatting
P4 JDK-8320365 IPPPrintService.getAttributes() causes blanket re-initialisation
P4 JDK-8311881 jdk/javax/swing/ProgressMonitor/ProgressTest.java does not show the ProgressMonitorInputStream all the time
P4 JDK-8315071 Modify TrayIconScalingTest.java, PrintLatinCJKTest.java to use new PassFailJFrame's builder pattern usage

client-libs/2d

Priority Bug Summary
P3 JDK-7001133 OutOfMemoryError by CustomMediaSizeName implementation
P3 JDK-8326661 sun/java2d/cmm/ColorConvertOp/ColConvTest.java assumes profiles were generated by LCMS
P3 JDK-8321489 Update LCMS to 2.16
P4 JDK-8328194 Add a test to check default rendering engine
P4 JDK-8323170 j2dbench is using outdated javac source/target to be able to build by itself
P4 JDK-8323210 Update the usage of cmsFLAGS_COPY_ALPHA

client-libs/java.awt

Priority Bug Summary
P2 JDK-8318854 [macos14] Running any AWT app prints Secure coding warning
P3 JDK-8317287 [macos14] InterJVMGetDropSuccessTest.java: Child VM: abnormal termination
P3 JDK-8185862 AWT Assertion Failure in ::GetDIBits(hBMDC, hBM, 0, 1, 0, gpBitmapInfo, 0) 'awt_Win32GraphicsDevice.cpp', at line 185
P4 JDK-8320113 [macos14] : ShapeNotSetSometimes.java fails intermittently on macOS 14
P4 JDK-8324238 [macOS] java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails with the shape has not been applied msg
P4 JDK-8328555 hidpi problems for test java/awt/Dialog/DialogAnotherThread/JaWSTest.java
P4 JDK-8266242 java/awt/GraphicsDevice/CheckDisplayModes.java failing on macOS 11 ARM
P4 JDK-8315663 Open source misc awt tests
P4 JDK-8305645 System Tray icons get corrupted when Windows primary monitor changes
P4 JDK-8320342 Use PassFailJFrame for TruncatedPopupMenuTest.java

client-libs/javax.accessibility

Priority Bug Summary
P4 JDK-8326140 src/jdk.accessibility/windows/native/libjavaaccessbridge/AccessBridgeJavaEntryPoints.cpp ReleaseStringChars might be missing in early returns

client-libs/javax.swing

Priority Bug Summary
P3 JDK-8322239 [macos] a11y : java.lang.NullPointerException is thrown when focus is moved on the JTabbedPane
P3 JDK-8187759 Background not refreshed when painting over a transparent JFrame
P3 JDK-8320692 Null icon returned for .exe without custom icon
P4 JDK-8318580 "javax/swing/MultiMonitor/MultimonVImage.java failing with Error. Can't find library: /open/test/jdk/java/awt/regtesthelpers" after JDK-8316053
P4 JDK-8320343 Generate GIF images for AbstractButton/5049549/bug5049549.java
P4 JDK-8316053 Open some swing tests 3
P4 JDK-8315609 Open source few more swing text/html tests
P4 JDK-8315677 Open source few swing JFileChooser and other tests
P4 JDK-8315741 Open source few swing JFormattedTextField and JPopupMenu tests
P4 JDK-8315889 Open source several Swing HTMLDocument related tests
P4 JDK-8315834 Open source several Swing JSpinner related tests
P4 JDK-8315824 Open source several Swing Text/HTML related tests
P4 JDK-8315898 Open source swing JMenu tests
P4 JDK-8316164 Opensource JMenuBar manual test
P4 JDK-8316154 Opensource JTextArea manual tests
P4 JDK-8316242 Opensource SwingGraphics manual test
P4 JDK-8320349 Simplify FileChooserSymLinkTest.java by using single-window testUI
P4 JDK-8328540 test javax/swing/JSplitPane/4885629/bug4885629.java fails on windows hidpi

core-libs

Priority Bug Summary
P3 JDK-8328037 Test java/util/Formatter/Padding.java has unnecessary high heap requirement after JDK-8326718
P4 JDK-8327474 Review use of java.io.tmpdir in jdk tests
P4 JDK-8319571 Update jni/nullCaller/NullCallerTest.java to accept flags or mark as flagless
P4 JDK-8326351 Update the Zlib version in open/src/java.base/share/legal/zlib.md to 1.3.1

core-libs/java.io:serialization

Priority Bug Summary
P4 JDK-8327180 Failed: java/io/ObjectStreamClass/ObjectStreamClassCaching.java#G1

core-libs/java.lang

Priority Bug Summary
P3 JDK-8320570 NegativeArraySizeException decoding >1G UTF8 bytes with non-ascii characters
P3 JDK-8322846 Running with -Djdk.tracePinnedThreads set can hang
P3 JDK-8322818 Thread::getStackTrace can fail with InternalError if virtual thread is timed-parked when pinned
P3 JDK-8312498 Thread::getState and JVM TI GetThreadState should return TIMED_WAITING virtual thread is timed parked
P3 JDK-8321270 Virtual Thread.yield consumes parking permit
P4 JDK-8328524 [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
P4 JDK-8324998 Add test cases for String.regionMatches comparing Turkic dotted/dotless I with uppercase latin I
P4 JDK-8315373 Change VirtualThread to unmount after freezing, re-mount before thawing
P4 JDK-8327998 Enable java/lang/ProcessBuilder/JspawnhelperProtocol.java on Mac
P4 JDK-8319574 Exec/process tests should be marked as flagless
P4 JDK-8325621 Improve jspawnhelper version checks
P4 JDK-8323296 java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java#id1 timed out
P4 JDK-8316924 java/lang/Thread/virtual/stress/ParkALot.java times out
P4 JDK-8325567 jspawnhelper without args fails with segfault
P4 JDK-8327261 Parsing test for Double/Float succeeds w/o testing all bad cases
P4 JDK-8319677 Test jdk/internal/misc/VM/RuntimeArguments.java should be marked as flagless
P4 JDK-8323002 test/jdk/java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java times out on macosx-x64
P4 JDK-8320707 Virtual thread test updates

core-libs/java.lang.invoke

Priority Bug Summary
P4 JDK-8319567 Update java/lang/invoke tests to support vm flags

core-libs/java.lang.module

Priority Bug Summary
P4 JDK-8319676 A couple of jdk/modules/incubator/ tests ignore VM flags

core-libs/java.lang:class_loading

Priority Bug Summary
P2 JDK-8319265 TestLoadLibraryDeadlock.java fails on windows-x64 "Unable to load b.jar"
P4 JDK-8309763 Move tests in test/jdk/sun/misc/URLClassPath directory to test/jdk/jdk/internal/loader
P4 JDK-8319672 Several classloader tests ignore VM flags
P4 JDK-8317965 TestLoadLibraryDeadlock.java fails with "Unable to load native library.: expected true, was false"

core-libs/java.lang:reflect

Priority Bug Summary
P4 JDK-8319568 Update java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java to accept vm flags

core-libs/java.net

Priority Bug Summary
P3 JDK-8306040 HttpResponseInputStream.available() returns 1 on empty stream
P3 JDK-8318599 HttpURLConnection cache issues leading to crashes in JGSS w/ native GSS introduced by 8303809
P4 JDK-8310731 Configure a javax.net.ssl.SNIMatcher for the HTTP/1.1 test servers in java/net/httpclient tests
P4 JDK-8327989 java/net/httpclient/ManyRequest.java should not use "localhost" in URIs
P4 JDK-8223696 java/net/httpclient/MaxStreams.java failed with didn't finish within the time-out
P4 JDK-8311792 java/net/httpclient/ResponsePublisher.java fails intermittently with AssertionError: Found some outstanding operations
P4 JDK-8330523 Reduce runtime and improve efficiency of KeepAliveTest
P4 JDK-8319651 Several network tests ignore vm flags when start java process
P4 JDK-8323276 StressDirListings.java fails on AIX
P4 JDK-8308144 Uncontrolled memory consumption in SSLFlowDelegate.Reader
P4 JDK-8330815 Use pattern matching for instanceof in KeepAliveCache

core-libs/java.nio

Priority Bug Summary
P4 JDK-8325028 (ch) Pipe channels should lazily set socket to non-blocking mode on first use by virtual thread
P4 JDK-8327096 (fc) java/nio/channels/FileChannel/Size.java fails on partition incapable of creating large files
P4 JDK-8315485 (fs) Move java/nio/file/Path/Misc.java tests into java/nio/file/Path/PathOps.java
P4 JDK-8301183 (zipfs) jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java failing with ZipException:R0 on OL9
P4 JDK-8303972 (zipfs) Make test/jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java independent of the zip command line
P4 JDK-8319757 java/nio/channels/DatagramChannel/InterruptibleOrNot.java failed: wrong exception thrown
P4 JDK-8325743 test/jdk/java/nio/channels/unixdomain/SocketOptions.java enhance user name output in error case

core-libs/java.rmi

Priority Bug Summary
P4 JDK-8303525 Refactor/cleanup open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.java

core-libs/java.text

Priority Bug Summary
P4 JDK-8325908 Finish removal of IntlTest and CollatorTest
P4 JDK-8317631 Refactor ChoiceFormat tests to use JUnit
P4 JDK-8316696 Remove the testing base classes: IntlTest and CollatorTest

core-libs/java.util

Priority Bug Summary
P3 JDK-8325255 jdk.internal.util.ReferencedKeySet::add using wrong test
P3 JDK-8310913 Move ReferencedKeyMap to jdk.internal so it may be shared
P4 JDK-8326718 Test java/util/Formatter/Padding.java should timeout on large inputs before fix in JDK-8299677

core-libs/java.util.concurrent

Priority Bug Summary
P3 JDK-8278527 java/util/concurrent/tck/JSR166TestCase.java fails nanoTime test

core-libs/java.util.jar

Priority Bug Summary
P3 JDK-8259866 two java.util tests failed with "IOException: There is not enough space on the disk"
P4 JDK-8330615 avoid signed integer overflows in zip_util.c readCen / hashN
P4 JDK-8303891 Speed up Zip64SizeTest using a small ZIP64 file
P4 JDK-8315117 Update Zlib Data Compression Library to Version 1.3
P4 JDK-8324632 Update Zlib Data Compression Library to Version 1.3.1

core-libs/java.util.logging

Priority Bug Summary
P4 JDK-8319647 Few java/lang/System/LoggerFinder/modules tests ignore vm flags
P4 JDK-8329013 StackOverflowError when starting Apache Tomcat with signed jar

core-libs/java.util:collections

Priority Bug Summary
P4 JDK-8328066 WhiteBoxResizeTest failure on linux-x86: Could not reserve enough space for 2097152KB object heap

core-libs/java.util:i18n

Priority Bug Summary
P4 JDK-8320714 java/util/Locale/LocaleProvidersRun.java and java/util/ResourceBundle/modules/visibility/VisibilityTest.java timeout after passing
P4 JDK-8327486 java/util/Properties/PropertiesStoreTest.java fails "Text 'xxx' could not be parsed at index 20" after 8174269
P4 JDK-8310234 Refactor Locale tests to use JUnit
P4 JDK-8310818 Refactor more Locale tests to use JUnit
P4 JDK-8316559 Refactor some util/Calendar tests to JUnit
P4 JDK-8313702 Update IANA Language Subtag Registry to Version 2023-08-02
P4 JDK-8318322 Update IANA Language Subtag Registry to Version 2023-10-16
P4 JDK-8327631 Update IANA Language Subtag Registry to Version 2024-03-07

core-libs/javax.naming

Priority Bug Summary
P3 JDK-8325579 Inconsistent behavior in com.sun.jndi.ldap.Connection::createSocket

core-libs/javax.script

Priority Bug Summary
P4 JDK-8320712 Rewrite BadFactoryTest in pure Java

core-svc/debugger

Priority Bug Summary
P4 JDK-8309757 com/sun/jdi/ReferrersTest.java fails with virtual test thread factory
P4 JDK-8309752 com/sun/jdi/SetLocalWhileThreadInNative.java fails with virtual test thread factory due to OpaqueFrameException
P4 JDK-8304839 Move TestScaffold.main() to the separate class DebugeeWrapper

core-svc/java.lang.instrument

Priority Bug Summary
P4 JDK-8316451 6 java/lang/instrument/PremainClass tests ignore VM flags
P5 JDK-8319578 Few java/lang/instrument ignore test.java.opts and accept test.vm.opts only

core-svc/java.lang.management

Priority Bug Summary
P4 JDK-8319876 Reduce memory consumption of VM_ThreadDump::doit

core-svc/javax.management

Priority Bug Summary
P4 JDK-8316460 4 javax/management tests ignore VM flags

core-svc/tools

Priority Bug Summary
P4 JDK-8327468 Do not restart close if errno is EINTR [macOS/linux]

docs/guides

Priority Bug Summary
P4 JDK-8331331 :tier1 target explanation in doc/testing.md is incorrect

hotspot/compiler

Priority Bug Summary
P2 JDK-8328702 C2: Crash during parsing because sub type check is not folded
P3 JDK-8325326 [PPC64] Don't relocate in case of allocation failure
P3 JDK-8326101 [PPC64] Need to bailout cleanly if creation of stubs fails when code cache is out of space
P3 JDK-8326201 [S390] Need to bailout cleanly if creation of stubs fails when code cache is out of space
P3 JDK-8328938 C2 SuperWord: disable vectorization for large stride and scale
P3 JDK-8328822 C2: "negative trip count?" assert failure in profile predicate code
P3 JDK-8326638 Crash in PhaseIdealLoop::remix_address_expressions due to unexpected Region instead of Loop
P3 JDK-8313899 JVMCI exception Translation can fail in TranslatedException.
P3 JDK-8324121 SIGFPE in PhaseIdealLoop::extract_long_range_checks
P4 JDK-8310513 [s390x] Intrinsify recursive ObjectMonitor locking
P4 JDK-8323519 Add applications/ctw/modules to Hotspot tiered testing
P4 JDK-8321107 Add more test cases for JDK-8319372
P4 JDK-8325095 C2: bailout message broken: ResourceArea allocated string used after free
P4 JDK-8329163 C2: possible overflow in PhaseIdealLoop::extract_long_range_checks()
P4 JDK-8325137 com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java can fail in Xcomp with out of expected range
P4 JDK-8322858 compiler/c2/aarch64/TestFarJump.java fails on AArch64 due to unexpected PrintAssembly output
P4 JDK-8324236 compiler/ciReplay/TestInliningProtectionDomain.java failed with RuntimeException: should only dump inline information for ... expected true, was false
P4 JDK-8325613 CTW: Stale method cleanup requires GC after Sweeper removal
P4 JDK-8325432 enhance assert message "relocation addr must be in this section"
P4 JDK-8318455 Fix the compiler/sharedstubs/SharedTrampolineTest.java and SharedStubToInterpTest.java
P4 JDK-8328165 improve assert(idx < _maxlrg) failed: oob
P4 JDK-8316959 Improve InlineCacheBuffer pending queue management
P4 JDK-8320715 Improve the tests of test/hotspot/jtreg/compiler/intrinsics/float16
P4 JDK-8317809 Insertion of free code blobs into code cache can be very slow during class unloading
P4 JDK-8327136 javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java fails on libgraal
P4 JDK-8293069 Make -XX:+Verbose less verbose
P4 JDK-8326974 ODR violation in macroAssembler_aarch64.cpp
P4 JDK-8312218 Print additional debug information when hitting assert(in_hash)
P4 JDK-8317235 Remove Access API use in nmethod class
P4 JDK-8316670 Remove effectively unused nmethodBucket::_count
P4 JDK-8329823 RISC-V: Need to sync CPU features with related JVM flags
P4 JDK-8330094 RISC-V: Save and restore FRM in the call stub
P4 JDK-8325372 Shenandoah: SIGSEGV crash in unnecessary_acquire due to LoadStore split through phi
P4 JDK-8311964 Some jtreg tests failing on x86 with error 'unrecognized VM options' (C2 flags)
P4 JDK-8317677 Specialize Vtablestubs::entry_for() for VtableBlob
P4 JDK-8317600 VtableStubs::stub_containing() table load not ordered wrt to stores
P5 JDK-8324123 aarch64: fix prfm literal encoding in assembler
P5 JDK-8316669 ImmutableOopMapSet destructor not called
P5 JDK-8326824 Test: remove redundant test in compiler/vectorapi/reshape/utils/TestCastMethods.java

hotspot/gc

Priority Bug Summary
P2 JDK-8330275 Crash in XMark::follow_array
P2 JDK-8328166 Epsilon: 'EpsilonHeap::allocate_work' misuses the parameter 'size' as size in bytes
P2 JDK-8328168 Epsilon: Premature OOM when allocating object larger than uncommitted heap size
P2 JDK-8317440 Lock rank checking fails when code root set is modified with the Servicelock held after JDK-8315503
P2 JDK-8328744 Parallel: Parallel GC throws OOM before heap is fully expanded
P2 JDK-8318109 Writing JFR records while a CHT has taken its lock asserts in rank checking
P3 JDK-8314573 G1: Heap resizing at Remark does not take existing eden regions into account
P3 JDK-8318720 G1: Memory leak in G1CodeRootSet after JDK-8315503
P3 JDK-8324817 Parallel GC does not pre-touch all heap pages when AlwaysPreTouch enabled and large page disabled
P3 JDK-8329223 Parallel: Parallel GC resizes heap even if -Xms = -Xmx
P3 JDK-8329109 Threads::print_on() tries to print CPU time for terminated GC threads
P4 JDK-8317007 Add bulk removal of dead nmethods during class unloading
P4 JDK-8316608 Enable parallelism in vmTestbase/gc/vector tests
P4 JDK-8318727 Enable parallelism in vmTestbase/vm/gc/concurrent tests
P4 JDK-8329840 Fix ZPhysicalMemorySegment::_end type
P4 JDK-8320331 G1 Full GC Heap verification relies on metadata not reset before verification
P4 JDK-8315605 G1: Add number of nmethods in code roots scanning statistics
P4 JDK-8315503 G1: Code root scan causes long GC pauses due to imbalanced iteration
P4 JDK-8329570 G1: Excessive is_obj_dead_cond calls in verification
P4 JDK-8320525 G1: G1UpdateRemSetTrackingBeforeRebuild::distribute_marked_bytes accesses partially unloaded klass
P4 JDK-8321713 Harmonize executeTestJvm with create[Limited]TestJavaProcessBuilder
P4 JDK-8317350 Move code cache purging out of CodeCache::UnloadingScope
P4 JDK-8319713 Parallel: Remove PSAdaptiveSizePolicy::should_full_GC
P4 JDK-8319376 ParallelGC: Forwarded objects found during heap inspection
P4 JDK-8321718 ProcessTools.executeProcess calls waitFor before logging
P4 JDK-8318585 Rename CodeCache::UnloadingScope to UnlinkingScope
P4 JDK-8322503 Shenandoah: Clarify gc state usage
P4 JDK-8321815 Shenandoah: gc state should be synchronized to java threads only once per safepoint
P4 JDK-8323635 Test gc/g1/TestHumongousAllocConcurrentStart.java fails with -XX:TieredStopAtLevel=3
P4 JDK-8299023 TestPLABResize.java and TestPLABPromotion.java are failing intermittently
P4 JDK-8309890 TestStringDeduplicationInterned.java waits for the wrong condition
P4 JDK-8321812 Update GC tests to use execute[Limited]TestJava

hotspot/jfr

Priority Bug Summary
P3 JDK-8309871 jdk/jfr/api/consumer/recordingstream/TestSetEndTime.java timed out
P3 JDK-8326446 The User and System of jdk.CPULoad on Apple M1 are inaccurate
P3 JDK-8288936 Wrong lock ordering writing G1HeapRegionTypeChange JFR event
P4 JDK-8313394 Array Elements in OldObjectSample event has the incorrect description
P4 JDK-8305931 jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java failed with "Expected chains but found none"
P4 JDK-8327799 JFR view: the "Park Until" field of jdk.ThreadPark is invalid if the parking method is not absolute
P4 JDK-8326521 JFR: CompilerPhase event test fails on windows 32 bit
P4 JDK-8326529 JFR: Test for CompilerCompile events fails due to time out
P4 JDK-8311823 JFR: Uninitialized EventEmitter::_thread_id field
P5 JDK-8313710 jcmd: typo in the documentation of JFR.start and JFR.dump

hotspot/jvmti

Priority Bug Summary
P3 JDK-8312777 notifyJvmtiMount before notifyJvmtiUnmount
P4 JDK-8314824 Fix serviceability/jvmti/8036666/GetObjectLockCount.java to use vm flags

hotspot/other

Priority Bug Summary
P4 JDK-8330011 [s390x] update block-comments to make code consistent
P4 JDK-8318962 Update ProcessTools javadoc with suggestions in 8315097

hotspot/runtime

Priority Bug Summary
P2 JDK-8329545 [s390x] Fix garbage value being passed in Argument Register
P2 JDK-8321276 runtime/cds/appcds/dynamicArchive/DynamicSharedSymbols.java failed with "'17 2: jdk/test/lib/apps ' missing from stdout/stderr"
P2 JDK-8318757 VM_ThreadDump asserts in interleaved ObjectMonitor::deflate_monitor calls
P3 JDK-8329850 [AIX] Allow loading of different members of same shared library archive
P3 JDK-8327036 [macosx-aarch64] SIGBUS in MarkActivationClosure::do_code_blob reached from Unsafe_CopySwapMemory0
P3 JDK-8320275 assert(_chunk->bitmap().at(index)) failed: Bit not set at index
P3 JDK-8320515 assert(monitor->object_peek() != nullptr) failed: Owned monitors should not have a dead object
P3 JDK-8315559 Delay TempSymbol cleanup to avoid symbol table churn
P3 JDK-8318986 Improve GenericWaitBarrier performance
P3 JDK-8323595 is_aligned(p, alignof(OopT))) assertion fails in Jetty without compressed OOPs
P3 JDK-8332253 Linux arm32 build fails after 8292591
P3 JDK-8328812 Update and move siphash license
P4 JDK-8328776 [AIX] remove checked_vmgetinfo, use vmgetinfo directly
P4 JDK-8320061 [nmt] Multiple issues with peak accounting
P4 JDK-8312014 [s390x] TestSigInfoInHsErrFile.java Failure
P4 JDK-8326496 [test] checkHsErrFileContent support printing hserr in error case
P4 JDK-8324824 AArch64: Detect Ampere-1B core and update default options for Ampere CPUs
P4 JDK-8328709 AIX os::get_summary_cpu_info support Power 10
P4 JDK-8320005 Allow loading of shared objects with .a extension on AIX
P4 JDK-8331298 avoid alignment checks in UBSAN enabled build
P4 JDK-8329961 Buffer overflow in os::Linux::kernel_version
P4 JDK-8324933 ConcurrentHashTable::statistics_calculate synchronization is expensive
P4 JDK-8314832 Few runtime/os tests ignore vm flags
P4 JDK-8280056 gtest/LargePageGtests.java#use-large-pages failed "os.release_one_mapping_multi_commits_vm"
P4 JDK-8329605 hs errfile generic events - move memory protections and nmethod flushes to separate sections
P4 JDK-8329663 hs_err file event log entry for thread adding/removing should print current thread
P4 JDK-8330464 hserr generic events - add entry for the before_exit calls
P4 JDK-8319955 Improve dependencies removal during class unloading
P4 JDK-8310228 Improve error reporting for uncaught native exceptions on Windows
P4 JDK-8330524 Linux ppc64le compile warning with clang in os_linux_ppc.cpp
P4 JDK-8319048 Monitor deflation unlink phase prolongs time to safepoint
P4 JDK-8310355 Move the stub test from initialize_final_stubs() to test/hotspot/gtest
P4 JDK-8327971 Multiple ASAN errors reported for metaspace
P4 JDK-8293850 need a largest_committed metric for each category of NMT's output
P4 JDK-8319437 NMT should show library names in call stacks
P4 JDK-8320370 NMT: Change MallocMemorySnapshot to simplify code.
P4 JDK-8331942 On Linux aarch64, CDS archives should be using 64K alignment by default
P4 JDK-8327059 os::Linux::print_proc_sys_info add swappiness information
P4 JDK-8323685 PrintSystemDictionaryAtExit has mutex rank assert
P4 JDK-8315998 Remove dead ClassLoaderDataGraphKlassIteratorStatic
P4 JDK-8319896 Remove monitor deflation from final audit
P4 JDK-8328604 remove on_aix() function
P4 JDK-8316002 Remove unnecessary seen_dead_loader in ClassLoaderDataGraph::do_unloading
P4 JDK-8328997 Remove unnecessary template parameter lists in GrowableArray
P4 JDK-8315652 RISC-V: Features string uses wrong separator for jtreg
P4 JDK-8326936 RISC-V: Shenandoah GC crashes due to incorrect atomic memory operations
P4 JDK-8330242 RISC-V: Simplify and remove CORRECT_COMPILER_ATOMIC_SUPPORT in atomic_linux_riscv.hpp
P4 JDK-8321075 RISC-V: UseSystemMemoryBarrier lacking proper OS support
P4 JDK-8325437 Safepoint polling in monitor deflation can cause massive logs
P4 JDK-8325862 set -XX:+ErrorFileToStderr when executing java in containers for some container related jtreg tests
P4 JDK-8331167 UBSan enabled build fails in adlc on macOS
P4 JDK-8328589 unify os::breakpoint among posix platforms
P4 JDK-8331031 unify os::dont_yield and os::naked_yield across Posix platforms
P4 JDK-8322962 Upcall stub might go undetected when freezing frames
P4 JDK-8327988 When running ASAN, disable dangerous NMT test
P5 JDK-8330156 RISC-V: Range check auipc + signed 12 imm instruction
P5 JDK-8316186 RISC-V: Remove PlatformCmpxchg<4>

hotspot/svc

Priority Bug Summary
P1 JDK-8316228 jcmd tests are broken by 8314828
P4 JDK-8328592 hprof tests fail with -XX:-CompactStrings
P4 JDK-8320924 Improve heap dump performance by optimizing archived object checks
P4 JDK-8319650 Improve heap dump performance with class metadata caching
P4 JDK-8314828 Mark 3 jcmd command-line options test as vm.flagless

hotspot/test

Priority Bug Summary
P3 JDK-8312194 test/hotspot/jtreg/applications/ctw/modules/jdk_crypto_ec.java cannot handle empty modules
P4 JDK-8326006 Allow TEST_VM_FLAGLESS to set flagless mode
P4 JDK-8319153 Fix: Class is a raw type in ProcessTools
P4 JDK-8323994 gtest runner repeats test name for every single gtest assertion
P4 JDK-8303773 Replace "main.wrapper" with "test.thread.factory" property in test code
P4 JDK-8322920 Some ProcessTools.execute* functions are declared to throw Throwable
P5 JDK-8320129 "top" command during jtreg failure handler does not display CPU usage on OSX

infrastructure/build

Priority Bug Summary
P1 JDK-8328948 GHA: Restoring sysroot from cache skips the build after JDK-8326960
P3 JDK-8325972 Add -x to bash for building with LOG=debug
P4 JDK-8331639 [21u]: Bump GHA bootstrap JDK to 21.0.3
P4 JDK-8331113 createJMHBundle.sh support configurable maven repo mirror
P4 JDK-8331352 error: template-id not allowed for constructor/destructor in C++20
P4 JDK-8325213 Flags introduced by configure script are not passed to ADLC build
P4 JDK-8328705 GHA: Cross-compilation jobs do not require build JDK
P4 JDK-8326960 GHA: RISC-V sysroot cannot be debootstrapped due to ongoing Debian t64 transition
P4 JDK-8324723 GHA: Upgrade some actions to avoid deprecated Node 16
P4 JDK-8326685 Linux builds not reproducible if two builds configured in different build folders
P4 JDK-8326891 Prefer RPATH over RUNPATH for $ORIGIN rpaths in internal JDK binaries
P4 JDK-8324834 Use _LARGE_FILES on AIX

infrastructure/release_eng

Priority Bug Summary
P4 JDK-8335960 [21u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 21.0.4
P4 JDK-8326773 Bump update version for OpenJDK: jdk-21.0.4

other-libs/other

Priority Bug Summary
P4 JDK-8321163 [test] OutputAnalyzer.getExitValue() unnecessarily logs even when process has already completed

security-libs

Priority Bug Summary
P4 JDK-8328957 Update PKCS11Test.java to not use hardcoded path

security-libs/java.security

Priority Bug Summary
P3 JDK-8281658 Add a security category to the java -XshowSettings option
P3 JDK-8316138 Add GlobalSign 2 TLS root certificates
P3 JDK-8328825 Google CAInterop test failures
P3 JDK-8326643 JDK server does not send a dummy change_cipher_spec record after HelloRetryRequest message
P3 JDK-8321925 sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
P4 JDK-8324646 Avoid Class.forName in SecureRandom constructor
P4 JDK-8324648 Avoid NoSuchMethodError when instantiating NativePRNG
P4 JDK-8308453 Convert JKS test keystores in test/jdk/javax/net/ssl/etc to PKCS12
P4 JDK-8319648 java/lang/SecurityManager tests ignore vm flags
P5 JDK-8325024 java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java incorrect comment information

security-libs/javax.net.ssl

Priority Bug Summary
P4 JDK-8312383 Log X509ExtendedKeyManager implementation class name in TLS/SSL connection
P4 JDK-8294985 SSLEngine throws IAE during parsing of X500Principal
P4 JDK-8310070 Test: javax/net/ssl/DTLS/DTLSWontNegotiateV10.java timed out

security-libs/javax.security

Priority Bug Summary
P4 JDK-8329213 Better validation for com.sun.security.ocsp.useget option
P4 JDK-8328638 Fallback option for POST-only OCSP requests

security-libs/jdk.security

Priority Bug Summary
P3 JDK-8334441 Mark tests in jdk_security_infra group as manual

tools

Priority Bug Summary
P3 JDK-8288989 Make tests not depend on the source code
P4 JDK-8328703 Illegal accesses in Java_jdk_internal_org_jline_terminal_impl_jna_linux_CLibraryImpl_ioctl0
P4 JDK-8313612 Use JUnit in lib-test/jdk tests

tools/javac

Priority Bug Summary
P4 JDK-8322477 order of subclasses in the permits clause can differ between compilations
P4 JDK-8309142 Refactor test/langtools/tools/javac/versions/Versions.java
P4 JDK-8321182 SourceExample.SOURCE_14 comment should refer to 'switch expressions' instead of 'text blocks'

tools/javadoc(tool)

Priority Bug Summary
P3 JDK-8314975 JavadocTester should set source path if not specified

tools/jlink

Priority Bug Summary
P4 JDK-8159927 Add a test to verify JMOD files created in the images do not have debug symbols
P4 JDK-8326591 New test JmodExcludedFiles.java fails on Windows when --with-external-symbols-in-bundles=public is used

tools/jpackage

Priority Bug Summary
P2 JDK-8295111 dpkg appears to have problems resolving symbolically linked native libraries
P3 JDK-8294699 Launcher causes lingering busy cursor
P3 JDK-8325203 System.exit(0) kills the launched 3rd party application
P4 JDK-8320681 [macos] Test tools/jpackage/macosx/MacAppStoreJlinkOptionsTest.java timed out on macOS
P4 JDK-8316563 test tools/jpackage/linux/LinuxResourceTest.java fails on CentOS Linux release 8.5.2111 and Fedora 27
P4 JDK-8319338 tools/jpackage/share/RuntimeImageTest.java fails with -XX:+UseZGC
P4 JDK-8303959 tools/jpackage/share/RuntimePackageTest.java fails with java.lang.AssertionError missing files

tools/launcher

Priority Bug Summary
P4 JDK-8329862 libjli GetApplicationHome cleanups and enhance jli tracing