> This PR refactors `PhaseIdealLoop::is_counted_loop()` into (mostly) 
> `CountedLoopConverter::is_counted_loop()` and 
> `CountedLoopConverter::convert()` to decouple the detection and conversion 
> code. This enables us to try different loop configurations easily and finally 
> convert once a counted loop is found. 
> 
> A nested `PhaseIdealLoop::CountedLoopConverter` class is created to handle 
> the context, but I'm not if this is the best name or place for it. Please let 
> me know what you think.
> 
> Blocks [JDK-8336759](https://bugs.openjdk.org/browse/JDK-8336759).

Kangcheng Xu has updated the pull request incrementally with one additional 
commit since the last revision:

  Merge remote-tracking branch 'origin/master' into counted-loop-refactor (#4)
  
  * 8375359: Improve GC serviceability init staging
  
  Reviewed-by: ayang, tschatzl, stefank
  
  * 8377433: Test 
com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java 
failed
  
  Reviewed-by: sspitsyn
  
  * 8377652: C2: Simplify Compile::flatten_alias_type for array
  
  Reviewed-by: roland, mhaessig
  
  * 8308637: AssertionError when using Trees.getScope in plug-in
  
  Reviewed-by: vromero
  
  * 8378397: Disable usage of system level jshell history in 
test/hotspot/jtreg/runtime/os/TestWXHealing.java
  
  Reviewed-by: dholmes, jlahoda
  
  * 8378348: Obsolete ParallelRefProcEnabled
  
  Reviewed-by: jsikstro, tschatzl
  
  * 8378353: [PPC64] StringCoding.countPositives causes errors when the length 
is not a proper 32 bit int
  
  Reviewed-by: mbaesken, dbriemann
  
  * 8373944: ObjectMonitor::ExitOnSuspend can call 
java_lang_VirtualThread::set_onWaitingList() while in safepoint
  
  Reviewed-by: dholmes, fbredberg
  
  * 8377745: VoiceOver Identifies Hyperlink as Text
  
  Reviewed-by: kizune, dnguyen
  
  * 8376125: Out of memory in the CDS archive error with lot of classes
  
  Co-authored-by: Ioi Lam <[email protected]>
  Reviewed-by: iklam, jiangli
  
  * 8377897: jpackage: make jdk.jpackage.internal.MockUtils available from 
other packages
  
  Reviewed-by: almatvee
  
  * 8378115: (fs) sun.nio.fs.NativeBuffer no longer needs a cleaner
  
  Reviewed-by: alanb
  
  * 8378202: Remove AppContext from XAWT classes
  
  Reviewed-by: serb, azvegint
  
  * 8337853: Remove SunLayoutEngineKey and SunLayoutEngineFactory and its cache.
  
  Reviewed-by: azvegint, dnguyen
  
  * 8378197: Remove AppContext from sun/swing/plaf/DesktopProperty.java
  
  Reviewed-by: serb, kizune
  
  * 8377924: Inconsistent parsing of XBM files after JDK-8361748
  8377826: Eliminate code duplication in XbmImageDecoder
  
  Reviewed-by: dnguyen, prr, dmarkov
  
  * 8377905: gcc.md included with every build
  
  Reviewed-by: erikj, jsjolen, prr, dholmes
  
  * 8378378: Remove references to obsolete jdk.net.usePlainDatagramSocketImpl 
property from tests
  
  Reviewed-by: alanb, vyazici, dfuchs
  
  * 8306591: SA and hotspot generate different hprof records for GC roots
  
  Reviewed-by: cjplummer, dholmes
  
  * 8377863: [s390x] Increase inlining thresholds to the same as other platforms
  
  Reviewed-by: aph, lucy
  
  * 8378118: Test tools/jimage/JImageBadFileTest.java failed on Windows
  
  Reviewed-by: rriggs, alanb
  
  * 8375457: Test 
serviceability/jvmti/vthread/SelfSuspendDisablerTest/SelfSuspendDisablerTest.java#default
 timed out
  
  Reviewed-by: pchilanomate, amenkov
  
  * 8376291: [IR Framework] Create classes for separate Test VM messages
  
  Reviewed-by: mchevalier, dfenacci, epeter
  
  * 8373251: C2: Ideal() returns nullptr for shift nodes after having modified 
the shift amount input
  
  Reviewed-by: chagedorn, mchevalier
  
  * 8378266: Update atomicAccess include after Atomic<T> changes
  
  Reviewed-by: ayang, kbarrett
  
  * 8378439: Remove unused methods in HSpaceCounters
  
  Reviewed-by: tschatzl
  
  * 8378347: AIX version checks for 7.1 and 5.X are obsolete
  
  Reviewed-by: mdoerr, asteiner
  
  * 8377996: [REDO] NMT: Consolidate [Virtual/Committed/Reserved]Regions into 
one structure
  
  Reviewed-by: phubner, jsjolen
  
  * 8378319: Obsolete the MaxRAM flag
  
  Reviewed-by: ayang, tschatzl
  
  * 8372231: Test gtest/NMTGtests.java#nmt-summary crashed
  
  Reviewed-by: phubner, jsjolen
  
  * 8376892: Allow conversion warnings in subsets of the code base
  
  Reviewed-by: kbarrett, erikj, azafari
  
  * 8370044: TraceBytecodes shouldn't break up lines
  
  Reviewed-by: dholmes, coleenp, jsjolen
  
  * 8378354: Faulty assertion in checkInvariants method of ConcurrentHashMap
  
  Reviewed-by: alanb, vklang
  
  * 8377702: Disable AArch64 SpinPause tests on Windows
  
  Reviewed-by: dholmes, aph
  
  * 8378330: Do not malloc the GrowableArrays in async_get_stack_trace
  
  Reviewed-by: dholmes, cnorrbin
  
  * 8377309: Remove PhaseIterGVN::verify_Identity_for exclusion for Min/Max 
find identity op
  
  Reviewed-by: mhaessig, chagedorn
  
  * 8377944: LowMemoryTest2.java#id1 intermittent fails OOME: Metaspace
  
  Reviewed-by: dholmes, cjplummer
  
  * 8378164: test/jdk/java/net/httpclient/http3/*.java: convert tests that use 
ITestContext to JUnit
  
  Reviewed-by: vyazici
  
  * 8378344: Refactor test/jdk/java/net/httpclient/*.java TestNG tests to JUnit
  
  Reviewed-by: vyazici
  
  * 8377914: Typos in HKDFParameterSpec.Builder::thenExpand
  
  Reviewed-by: hchao
  
  * 8378549: Incorrect assert in JvmtiThreadState::update_for_pop_top_frame
  
  Reviewed-by: lmesnik
  
  * 8376295: "assert(BytecodeVerificationRemote) failed: Should not be here" 
when running class redefinition test with -XX:-BytecodeVerificationRemote
  
  Reviewed-by: dholmes, coleenp, sspitsyn
  
  * 8378387: Remove AppContext from several macOS AWT classes
  
  Reviewed-by: serb, dnguyen
  
  * 8377671: Step Over doesn't stop after receiving MethodExitEvent
  
  Reviewed-by: sspitsyn, amenkov
  
  * 8362268: NPE thrown from SASL GSSAPI impl when  TLS is  used with QOP 
auth-int against Active Directory
  
  Reviewed-by: dfuchs, aefimov
  
  * 8377726: Remove unused macros in register.hpp
  
  Reviewed-by: ayang, mhaessig
  
  * 8373690: Unexpected Keystore message using jdk.crypto.disabledAlgorithms
  
  Reviewed-by: mullan, coffeys
  
  * 8371683: TYPE_USE annotation on var lambda parameter should be rejected
  
  Reviewed-by: vromero
  
  * 8377880: Enable unused function warnings in hotspot with clang too
  
  Reviewed-by: azafari, syan, clanger, lucy
  
  * 8373595: A new ObjectMonitorTable implementation
  
  Co-authored-by: Anton Artemov <[email protected]>
  Co-authored-by: Erik Österlund <[email protected]>
  Co-authored-by: Roman Kennke <[email protected]>
  Reviewed-by: aboldtch, amitkumar, aartemov, rkennke, coleenp, eosterlund
  
  * 8280283: Dead compiler code found during the JDK-8272058 code review
  
  Reviewed-by: bulasevich, dcubed, phh
  
  * 8376650: os::release_memory_special may not be needed anymore
  
  Reviewed-by: coleenp, sjohanss
  
  * 8376113: PPC64: Implement special MachNodes for floating point Min / Max
  
  Reviewed-by: mdoerr, rrich
  
  * 8378578: Add final to XbmColormap and XbmHints in XbmImageDecoder
  
  Reviewed-by: dmarkov, serb, prr, dnguyen
  
  * 8378585: Mark fields in MediaTracker final
  
  Reviewed-by: serb, prr
  
  * 8378442: RBTreeCHeap does not deallocate removed nodes when using 
remove_at_cursor
  
  Reviewed-by: jsikstro, jsjolen
  
  * 8378100: Unused code in rewriter.hpp
  
  Reviewed-by: shade, matsaave
  
  * 8373731: C2: Missed optimization opportunity for AddI
  
  Reviewed-by: bmaillard, epeter, dlong
  
  * 8378535: Parallel: Replace SpaceCounters with HSpaceCounters
  
  Reviewed-by: iwalulya, tschatzl
  
  * 8371333: Optimize static initialization of SSLContextImpl classes and 
improve logging
  
  Reviewed-by: hchao, jnimeh
  
  * 8374807: Crash in MethodData::extra_data_lock()+0x0 when running 
-XX:+TraceDeoptimization -XX:-ProfileTraps -XX:-TieredCompilation -Xcomp 
-version
  
  Reviewed-by: vlivanov, epeter
  
  * 8377909: Replace SummaryDiff's array implementation with a hashtable
  
  Reviewed-by: azafari, phubner
  
  * 8376234: Migrate java/lang/constant tests away from TestNG
  
  Reviewed-by: rriggs, alanb
  
  * 8377438: [VectorAPI] Add new carrier type to LaneType class
  
  Reviewed-by: psandoz, liach
  
  * 8378641: Test 
serviceability/jvmti/RedefineClasses/RedefineVerifyError.java‎ missing 
UnlockDiagnosticVMOptions after 8376295
  
  Reviewed-by: ayang, dholmes, syan
  
  * 8376152: Test javax/sound/sampled/Clip/bug5070081.java timed out then 
completed
  
  Reviewed-by: syan, aivanov, azvegint
  
  * 8374222: jpackage will exit with error if it fails to clean the temp 
directory
  
  Reviewed-by: almatvee
  
  * 6434110: Color constructor parameter name is misleading
  
  Reviewed-by: prr, aivanov
  
  * 8377948: The ThreadWXEnable use of PerfTraceTime is not safe during VM 
shutdown
  
  Reviewed-by: aph, aartemov, fbredberg
  
  * 8377947: Test serviceability/sa/TestJhsdbJstackMixedCore.java failed on 
linux-x64
  
  Reviewed-by: cjplummer, kevinw
  
  * 8377011: Shenandoah: assert_bounds should be only called when boundaries 
have changed
  
  Reviewed-by: wkemper, kdnilsen
  
  * 8378194: Protect process_pending_interp_only() work with 
JvmtiThreadState_lock
  
  Reviewed-by: amenkov, lmesnik
  
  * 8377526: Update Libpng to 1.6.55
  
  Reviewed-by: azvegint, prr, serb
  
  * 8342095: Add autovectorizer support for subword vector casts
  
  Reviewed-by: epeter, qamai
  
  * 8378623: Use unique font names in FormatCharAdvanceTest
  
  Reviewed-by: psadhukhan
  
  * 8378166: C2 VectorAPI: NBody / particle life demo
  
  Co-authored-by: Paul Sandoz <[email protected]>
  Reviewed-by: sviswanathan, psandoz, jbhateja
  
  * 8268850: AST model for 'var' variables should more closely adhere to the 
source code
  
  Reviewed-by: vromero
  
  * 8364393: Allow templates to have # character without variable replacement
  
  Reviewed-by: epeter, chagedorn
  
  * 8378107: Data cache zeroing is used even when it is prohibited
  
  Reviewed-by: shade, adinn
  
  * 8378239: C2: Incorrect check in StoreNode::Identity
  
  Reviewed-by: epeter, rcastanedalo
  
  * 8378240: C2: MemNode::can_see_stored_value assumes this can never be a 
StoreVector
  
  Reviewed-by: chagedorn, epeter
  
  * 8378631: Update Zlib Data Compression Library to Version 1.3.2
  
  Reviewed-by: alanb, erikj, lancea
  
  * 8376403: Avoid loading ArrayDeque in java.util.zip.ZipFile
  
  Reviewed-by: lancea, jpai
  
  * 8378268: Thread.join can wait on Thread, allows joinNanos to be removed
  
  Reviewed-by: jpai, vklang
  
  * 8374910: Use of containsTypeEquivalent in array type equality test seems 
bogus
  
  Reviewed-by: liach
  
  * 8378398: Modernize test/jdk/java/net/URLClassLoader/HttpTest.java
  
  Reviewed-by: dfuchs
  
  * 8368864: Confusing error message (or wrong error) when record component has 
@deprecated Javadoc tag
  
  Reviewed-by: jlahoda
  
  * 8372382: Invalid RuntimeVisibleTypeAnnotations for compact record 
constructor
  
  Reviewed-by: liach
  
  * 8378377: Remove use of AppContext from JEditorPane
  
  Reviewed-by: serb, dnguyen, psadhukhan
  
  * 8378297: Remove AppContext from several Swing component and related classes
  
  Reviewed-by: azvegint, psadhukhan, dnguyen
  
  * 8376477: Avoid loading empty Lock classes in Shutdown and ReferenceQueue
  
  Reviewed-by: rriggs, shade
  
  * 8309748: Improve host selection in `External Specifications` page
  
  Reviewed-by: nbenalla
  
  * 8378715: Use early field initialization for java.lang.invoke generated code
  
  Reviewed-by: jvernee
  
  * 8378385: Remove AppContext from AWT Windows implementation classes
  
  Reviewed-by: dnguyen, serb
  
  * 8377862: Jtreg is unable to detect SkippedException because it is wrapped 
by CompileFramework
  
  Reviewed-by: mhaessig, epeter
  
  * 8377142: Jtreg test gc/shenandoah/oom/TestThreadFailure.java triggers 
assert(young_reserve + reserve_for_mixed + reserve_for_promo <= old_available + 
young_available) failed
  
  Reviewed-by: wkemper
  
  * 8371438: jpackage should handle the case when "--mac-sign" is specified 
without signing identity options
  
  Reviewed-by: almatvee
  
  * 8377713: Shenandoah: Convert ShenandoahReferenceProcessor to use Atomic<T>
  
  Reviewed-by: shade, wkemper
  
  * 8376253: [macOS] FileSystemView may not report system icons when 
-Xcheck:jni is enabled
  
  Reviewed-by: prr, dnguyen
  
  * 8377845: Restore regtest for JDK-8324881 with 
DiagnoseSyncOnValueBasedClasses=2
  
  Reviewed-by: sspitsyn, lmesnik
  
  * 8378561: Mark gc/shenandoah/compiler/TestLinkToNativeRBP.java as /native
  
  Reviewed-by: shade, wkemper
  
  * 8268675: RTE from "Printable.print" propagates through "PrinterJob.print"
  
  Reviewed-by: psadhukhan, prr
  
  * 8373367: interp-only mechanism fails to work for carrier threads in a 
corner case
  
  Reviewed-by: amenkov, lmesnik
  
  * 8078744: Right half of system menu icon on title bar does not activate when 
clicked in Metal L&F
  
  Reviewed-by: tr, dnguyen
  
  * 8378379: Remove reference to obsolete jdk.net.usePlainSocketImpl property 
from SSLSocketReset test
  
  Reviewed-by: coffeys
  
  * 8377895: Create sizeof_auto to reduce narrowing conversions
  
  Reviewed-by: kbarrett, jsjolen, dlong, aboldtch, stefank, ayang
  
  * 8378823: AIX build fails after zlib updated by JDK-8378631
  
  Reviewed-by: mdoerr, jpai, stuefe
  
  * 8378563: ConnectionRefusedMessage::testFinishConnect fails when 
jdk.includeInExceptions contains hostInfo
  
  Reviewed-by: mdoerr, mbaesken, dfuchs
  
  * 8378792: ObjectMethods.bootstrap missing getter validation
  
  Reviewed-by: rriggs, jvernee
  
  * 8377048: Shenandoah: shenandoahLock related improvments
  
  Reviewed-by: kdnilsen, wkemper
  
  * 8378388: Add missing @Override annotations in 
"javax.print.attribute.standard" package part 1
  
  Reviewed-by: prr, azvegint
  
  * 8331994: Adapt MAKEFLAGS check for GNU Make 4.4.1
  
  Reviewed-by: jpai, dholmes
  
  * 8377554: Load card table base and other values via AOTRuntimeConstants in 
AOT code
  
  Reviewed-by: kvn, asmehra
  
  * 8378865: After fix for JDK-8378385 two tests are failing on windows
  
  Reviewed-by: kizune
  
  * 8378798: Test 
tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/internal/util/CommandOutputControlTest.java
 failed: missing IOException
  
  Reviewed-by: almatvee
  
  * 8378752: Enable some subword vector casts IR matching tests for RISC-V
  
  Reviewed-by: fyang, jkarthikeyan
  
  * 8378312: [VectorAPI] libraryUnaryOp/libraryBinaryOp failed to intrinsify
  
  Reviewed-by: psandoz, sherman
  
  * 8378871: CPU feature flags are not properly set in 
vm_version_windows_aarch64.cpp
  
  Reviewed-by: kvn
  
  * 8377992: (zipfs) Align ZipFileSystem END header validation with the ZipFile 
implementation
  
  Reviewed-by: lancea
  
  * 8378607: GlyphLayout cache can prevent Fonts from being GC'd
  
  Reviewed-by: jdv, tr
  
  * 8378833: Improve offset arithmetic in ArraysSupport::mismatch
  
  Reviewed-by: liach, alanb, rriggs
  
  * 8378642: Add src/utils/LogCompilation/logc.jar to .gitignore
  
  Reviewed-by: erikj
  
  * 8378389: Remove AppContext from the Swing RepaintManager
  
  Reviewed-by: azvegint, serb
  
  * 8378386: Remove AppContext from AWT ModalEventFilter.java
  
  Reviewed-by: serb, dnguyen
  
  * 8377454: TestZGCWithCDS.java should also test different combos of 
UseCompactObjectHeaders
  
  Reviewed-by: dholmes, stuefe
  
  * 8378677: Inline clear into ContiguousSpace::initialize
  
  Reviewed-by: kbarrett
  
  * 8377937: [macos] GlyphMetrics advance does not consider font rotation
  
  Reviewed-by: prr, serb, psadhukhan
  
  * 8378110: Add -XX: prefix to settings-file flags in 
RuntimeMXBean.getInputArguments()
  
  Reviewed-by: kevinw, dholmes
  
  * 8378888: jdk/incubator/vector/Float16OperationsBenchmark.java uses wrong 
package name
  
  Reviewed-by: jiefu, jbhateja, syan, liach
  
  * 8378793: Add ResolvedFieldEntry is_valid assert
  
  Reviewed-by: dholmes, dsimms, matsaave
  
  * 8378786: PeerConnectionId::cloneBuffer should use absolute bulk get
  
  Reviewed-by: vyazici, djelinski
  
  * 8378595: Refactor miscellaneous tests under test/jdk/java/net/httpclient 
from TestNG to JUnit
  
  Reviewed-by: syan, vyazici
  
  * 8378870: Remove sun.awt.AWTAccessor from imports in ImageIcon
  
  Reviewed-by: serb, kizune, azvegint
  
  * 8378872: Mark waitList in FetcherInfo final
  
  Reviewed-by: prr, azvegint
  
  * 8378128: Make PLABStats data members private
  
  Reviewed-by: tschatzl, ayang, jwaters
  
  * 8378897: assertion failure due to missing depends_only_on_test_impl 
definition in SqrtHFNode
  
  Reviewed-by: qamai
  
  * 8378565: Refactor test/jdk/java/net/httpclient/http3/*.java TestNG tests to 
JUnit
  
  Reviewed-by: vyazici
  
  * 8377777: Improve logging when rejecting assets from the AOT archive
  
  Reviewed-by: adinn, iklam, stuefe
  
  * 8373635: C2: Wrong constant in GraphKit::basic_plus_adr()
  
  Reviewed-by: qamai, mhaessig
  
  * 8378880: GenShen: Fix typo in recent conversion to atomic field
  
  Reviewed-by: kdnilsen, xpeng, ysr
  
  * 8378111: Migrate java/util/jar tests to JUnit
  
  Reviewed-by: lancea
  
  * 8378702: jdk.test.lib.Platform.isMusl() may return false negative on Alpine 
Linux
  
  Reviewed-by: stuefe, rriggs
  
  * 8378810: Enable missing FFM test via jtreg requires for RISC-V
  
  Reviewed-by: fyang
  
  * 8372246: LogOutputList gtests should not use LogConfiguration LogOutputs
  
  Reviewed-by: jsjolen, aartemov
  
  * 8372242: Gtest LogTagSet.defaults should run in OTHER VM
  
  Reviewed-by: jsjolen, aartemov
  
  * 8378684: Fix -Wdeprecated-declarations warnings from gtest by clang23
  
  Reviewed-by: erikj, kbarrett
  
  * 8378083: Mark shenandoah/generational/TestOldGrowthTriggers.java as flagless
  
  Reviewed-by: wkemper
  
  * 8378948: Remove unused local variable in RunnerGSInserterThread
  
  Reviewed-by: syan, jiefu
  
  * 8312116: GenShen: make instantaneous allocation rate triggers more timely
  
  Reviewed-by: wkemper
  
  * 8378867: jpackage references non-existing 
"message.app-image-requires-identifier" l10n key
  
  Reviewed-by: almatvee
  
  * 8373290: Update FreeType to 2.14.1
  
  Reviewed-by: azvegint, serb, prr
  
  * 8378963: Test 
test/jdk/java/lang/management/RuntimeMXBean/InputArgument.java#id4 failed
  
  Reviewed-by: kevinw, dholmes
  
  * 8367478: Improve UseAVX setting and add cpu descriptions for zhaoxin 
processors
  
  Reviewed-by: jiefu, dholmes
  
  * 8378905: RISC-V: fastdebug build fails after JDK-8377554
  
  Reviewed-by: fyang, wenanjian
  
  * 8378845: Add NoSafepointVerifier to CriticalSection classes
  
  Reviewed-by: dholmes, iwalulya
  
  * 8378971: Test jdk/jfr/event/runtime/TestVMInfoEvent.java fails after 
JDK-8378110 (RuntimeMXBean.getInputArguments())
  
  Reviewed-by: syan, kevinw
  
  * 8377903: ArraysSupport::mismatch should document that they return the 
smallest index
  
  Reviewed-by: rriggs, vyazici
  
  * 8378883: Enable more vector reductions IR matching tests for RISC-V
  
  Reviewed-by: fyang
  
  * 8378723: Locale variant delimiter is unclear
  
  Reviewed-by: naoto
  
  * 8378877: jpackage: improve rebranding of exe files on Windows
  
  Reviewed-by: almatvee
  
  * 8378873: jpackage: remove macOS-specific code from 
jdk.jpackage.internal.ModuleInfo
  
  Reviewed-by: almatvee
  
  * 8378874: jpackage: remove redundant messages
  
  Reviewed-by: almatvee
  
  * 8379039: Build failure on vector API source generation after JDK-8378312
  
  Reviewed-by: jbhateja, psandoz
  
  * 8378876: jpackage: facilitate testing with mocks
  
  Reviewed-by: almatvee
  
  * 8378584: (process) Investigate and fix Alpine errors in Basic.java 
ProcessBuilder test, and re-enable tests
  
  Reviewed-by: stuefe
  
  * 8372245: GTest globalDefinitions.format_specifiers cannot run without VM
  
  Reviewed-by: kbarrett, iwalulya
  
  * 8372248: GTest istream.coverage depends on istream.basic
  
  Reviewed-by: kbarrett, iwalulya
  
  * 8372247: OSX: Semaphore.trywait requires os::Bsd::clock_init
  
  Reviewed-by: dholmes, kbarrett
  
  * 8371155: Type annotations on local variables are classified after the local 
var initializer has been type checked
  
  Reviewed-by: vromero
  
  * 8378779: NBody demo test times out with C1 stress testing
  
  Reviewed-by: epeter, dfenacci
  
  * 8378138: G1: Assertion failure from G1CollectedHeap::block_start processing 
during error reporting
  
  Co-authored-by: Yasumasa Suenaga <[email protected]>
  Reviewed-by: ysuenaga, iwalulya
  
  * 8378927: H3MultipleConnectionsToSameHost.java#with-continuations 
intermittent fails
  
  Reviewed-by: syan, dfuchs
  
  * 8366138: Parse::jump_switch_ranges() could cause stack overflow when 
compiling huge switch statement
  
  Reviewed-by: rasbold, dfenacci, mchevalier
  
  * 8375688: C2: Missed Ideal optimization opportunity with VectorMaskToLong 
and -XX:+StressIncrementalInlining
  
  Reviewed-by: qamai, dfenacci
  
  * 8379119: G1: Move NoteStartOfMarkHRClosure out of global namespace
  
  Reviewed-by: aboldtch, ayang
  
  * 8214934: Wrong type annotation offset on casts on expressions
  
  Reviewed-by: jlahoda
  
  * 8378836: Enable linktime-gc by default on Linux ppc64le
  
  Reviewed-by: erikj, jwaters, mdoerr
  
  * 8379121: G1: Remove redundant const_cast in g1BlockOffsetTable
  
  Reviewed-by: tschatzl, aboldtch
  
  * 8377986: C2: New method to add specific users to the worklist
  
  Reviewed-by: qamai, mchevalier, dfenacci, bmaillard
  
  * 8379041: Crash in ResolvedFieldEntry::assert_is_valid(): invalid put 
bytecode 0
  
  Reviewed-by: matsaave, dholmes
  
  * 8379013: Remove some unused code in generateOopMap.cpp
  
  Reviewed-by: matsaave, dholmes
  
  * 8379196: delta apply fix for JDK-8214934
  
  Reviewed-by: jlahoda
  
  * 8378992: Case folding cache should not look up code point U+0000
  
  Reviewed-by: sherman, rriggs
  
  * 8379203: [BACKOUT] Remove some unused code in generateOopMap.cpp
  
  Reviewed-by: liach, coleenp
  
  * 8372353: API to compute the byte length of a String encoded in a given 
Charset
  
  Reviewed-by: rriggs, naoto, vyazici
  
  * 8378878: Refactor java/nio/channels/AsynchronousSocketChannel test to use 
JUnit
  
  Reviewed-by: alanb
  
  * 8379166: Upstream redundant diffs fixed in Valhalla - Part 1
  
  Reviewed-by: rriggs
  
  * 8378698: Optimize Base64.Encoder#encodeToString
  
  Reviewed-by: liach, rriggs
  
  * 8379040: Remove inclusion of allocation.hpp from atomicAccess.hpp
  
  Reviewed-by: iwalulya, dholmes
  
  * 8377449: Strengthen vector IR validation in TestVectorAlgorithms.java for 
AArch64
  
  Reviewed-by: mhaessig, epeter
  
  * 8379192: Use an initializer list in the ObjectWaiter constructor
  
  Reviewed-by: coleenp, dholmes, aartemov
  
  * 8378675: PPC64: increase instruction cache line size
  
  Reviewed-by: mdoerr
  
  * 8378376: DaCapo-h2-large regression after JDK-8238686
  
  Reviewed-by: kbarrett, tschatzl
  
  * 8379162: AggregateRequestBodyTest.java intermittent fails "Connection 
closed by client peer: APPLICATION_ERROR"
  
  Reviewed-by: jpai, syan, djelinski
  
  * 8378413: C2: Missed Ideal optimization opportunity in PhaseIterGVN for 
URShiftI  still exists
  
  Reviewed-by: qamai, dlong
  
  * 8374349: [VectorAPI]: AArch64: Prefer merging mode SVE CPY instruction
  
  Reviewed-by: aph
  
  * 8378599: Refactor tests under test/jdk/java/net/httpclient/whitebox from 
TestNG to JUnit
  
  Reviewed-by: vyazici, syan
  
  * 8378600: Refactor tests under test/jdk/java/net/httpclient/http2 from 
TestNG to JUnit
  
  Reviewed-by: vyazici
  
  * 8378598: Refactor tests under test/jdk/java/net/httpclient/websocket from 
TestNG to JUnit
  
  Reviewed-by: vyazici
  
  * 8379114: HttpServer path prefix matching incorrectly matches paths that are 
not slash-prefixed
  
  Reviewed-by: dfuchs
  
  * 8284315: DocTrees.getElement is inconsistent with Elements.getTypeElement
  
  Reviewed-by: jlahoda, vromero
  
  * 8371459: [REDO] AArch64: Use SHA3 GPR intrinsic where it's faster
  
  Reviewed-by: phh, bperez
  
  * 8378854: Disable SA tests when ZGC is being used
  
  Reviewed-by: ysuenaga, kevinw, syan, stefank
  
  * 8374658: Consider use of "included" rather than "enclosed" in 
jx.a.p.Processor
  
  Reviewed-by: vromero
  
  * 8375045: Incorrect Interpretation of POSIX TZ Environment Variable on AIX
  
  Reviewed-by: naoto
  
  * 8378917: InputEvent checks for SystemClipboard access are unused
  
  Reviewed-by: dmarkov, serb
  
  * 8379334: jpackage: fix bug in DottedVersion.greedy() function
  
  Reviewed-by: almatvee
  
  * 8379158: Update FreeType to 2.14.2
  
  Reviewed-by: azvegint, prr, serb
  
  * 8379348: jpackage will use wrong arch suffix for RPM bundle when running on 
Debian Linux
  
  Reviewed-by: almatvee
  
  * 8379341: jpackage: consolidate modular app tests
  
  Reviewed-by: almatvee
  
  * 8379345: jpackage: Fix issues in tests to improve their flexibility
  
  Reviewed-by: almatvee
  
  * 8378758: [VectorAPI] Add Jtreg scalar operation wrappers for math operators 
and APIs
  
  Reviewed-by: sherman
  
  * 8346256: Optimize UMIN/UMAX reduction operations for x86 targets
  
  Reviewed-by: qamai, sviswanathan
  
  * 8379326: Use JUnit in lib-test/jdk tests, here MethodTemplateTest
  
  Reviewed-by: dfuchs, rriggs
  
  * 8379202: Support linktime-gc on Linux with clang
  
  Reviewed-by: jwaters, clanger, erikj
  
  * 8379363: FontInfo improvements
  
  Reviewed-by: prr, serb
  
  * 8379230: JFR: Do not store leak context edge idx in markWord
  
  Reviewed-by: egahlin
  
  * 8379201: Wrong type annotation offset on casts on expressions (redo)
  
  Reviewed-by: jlahoda
  
  * 8379191: SunX509KeyManagerImpl alias chooser methods returns null for EC_EC
  
  Reviewed-by: myankelevich, mullan
  
  * 8379371: Proposed cleanups for JDK-8373595 A new ObjectMonitorTable 
implementation
  
  Reviewed-by: stefank, fbredberg
  
  * 8379156: Specify behavior of Types.asElement() on array types
  
  Reviewed-by: hannesw, liach
  
  * 8373626: [asan] read past end of buffer in 
sun.awt.image.ImagingLib.convolveBI
  
  Reviewed-by: jdv
  
  * 8378999: BeanContextSupport.add(Object) synchronizes on its argument
  
  Reviewed-by: aivanov, serb
  
  * 8374490: Test jdk/jfr/event/runtime/TestSafepointEvents.java failed: 
Expected event 'jdk.SafepointStateSynchronization' to be present
  
  Reviewed-by: egahlin
  
  * 8378057: CAccessibility roleKey and AWTAccessor.AccessibleBundleAccessor 
are Redundant
  
  Reviewed-by: kizune, serb
  
  * 8379231: Assembler::mov64 always emits 10-byte movabs even for small 
immediates
  
  Reviewed-by: qamai, dlong
  
  * 8378417: Printing All pages results in NPE for 1.1 PrintJob
  
  Reviewed-by: prr, aivanov
  
  * 8376891: [VectorAlgorithms] add more if-conversion benchmarks and tests
  
  Reviewed-by: qamai, psandoz, xgong, jbhateja
  
  * 8379035: (tz) Update Timezone Data to 2026a
  
  Reviewed-by: coffeys, naoto
  
  * 8379297: Serial: Replace CSpaceCounters with HSpaceCounters
  
  Reviewed-by: stefank, tschatzl
  
  * 8378746: ZGC: jdk/jfr/event/gc/detailed/TestZRelocationSetGroupEvent.java 
intermittent OOME
  
  Reviewed-by: stefank, ayang
  
  * 8372273: C2: Extend the refactoring for IGV printing to include rest of the 
node properties
  
  Reviewed-by: chagedorn, snatarajan
  
  * 8379193: Incorrect build ID path in SATestUtils.java
  
  Reviewed-by: kevinw, ysuenaga
  
  * 8379404: G1: Hide ConcurrentMarkThread reference from outside ConcurrentMark
  
  Reviewed-by: stefank, iwalulya
  
  * 8377148: Remove obsolete functions Matcher::is_spillable_arg() and 
Matcher::interpreter_frame_pointer_reg()
  
  Reviewed-by: dfenacci, rcastanedalo, mdoerr, fyang, amitkumar, mbaesken
  
  * 8378625: C2: Refactor MemNode::detect_access_independence to a separate 
method
  
  Reviewed-by: mhaessig, chagedorn, aseoane
  
  * 8379195: Refactor Arrays TestNG tests to use JUnit
  
  Reviewed-by: alanb
  
  * 8378569: Refactor 
test/jdk/java/net/httpclient/http3/H3ErrorHandlingTest.java to use JUnit
  
  Reviewed-by: jpai, djelinski
  
  * 8378744: Obsolete NewSizeThreadIncrease flag
  
  Reviewed-by: tschatzl, iwalulya, sjohanss
  
  * 8379411: Use TestFramework scenarios in 837841
  
  Reviewed-by: qamai, dfenacci, chagedorn
  
  * 8378177: AllowExtshm flag cleanup on AIX
  
  Reviewed-by: mdoerr, stuefe
  
  * 8379394: Confine array dimension setting to the ArrayKlass constructor
  
  Reviewed-by: coleenp, ayang
  
  * 8379331: Remove modular transition support settings from TEST.ROOT files
  
  Reviewed-by: jvernee, alanb
  
  * 8360121: Add -XX:+StressLoopPeeling to CTW
  
  Reviewed-by: mchevalier, chagedorn
  
  * 8379441: Refactor jaxp/javax catalog tests to use JUnit
  
  Reviewed-by: joehw, dfuchs
  
  * 8379515: draft-ietf-lamps-kyber-certificates is now RFC 9935
  
  Reviewed-by: mullan
  
  * 8375130: [BACKOUT] Scalability issue when submitting virtual threads with 
almost empty tasks
  
  Reviewed-by: alanb
  
  * 8379233: [REDO] Remove some unused code in generateOopMap.cpp
  
  Reviewed-by: matsaave, dholmes
  
  * 8376104: C2 crashes in PhiNode::Ideal(PhaseGVN*, bool) accessing NULL 
pointer
  
  Co-authored-by: Roman Marchenko <[email protected]>
  Reviewed-by: mhaessig, dfenacci, rcastanedalo
  
  * 8379443: Correct build tags in some math tests
  
  Reviewed-by: iris
  
  ---------
  
  Co-authored-by: Aleksey Shipilev <[email protected]>
  Co-authored-by: Kevin Walls <[email protected]>
  Co-authored-by: Quan Anh Mai <[email protected]>
  Co-authored-by: Jan Lahoda <[email protected]>
  Co-authored-by: Jaikiran Pai <[email protected]>
  Co-authored-by: Albert Mingkun Yang <[email protected]>
  Co-authored-by: Martin Doerr <[email protected]>
  Co-authored-by: Patricio Chilano Mateo <[email protected]>
  Co-authored-by: Jeremy Wood <[email protected]>
  Co-authored-by: Xue-Lei Andrew Fan <[email protected]>
  Co-authored-by: Ioi Lam <[email protected]>
  Co-authored-by: Alexey Semenyuk <[email protected]>
  Co-authored-by: Brian Burkhalter <[email protected]>
  Co-authored-by: Phil Race <[email protected]>
  Co-authored-by: Alexey Ivanov <[email protected]>
  Co-authored-by: Mikael Vidstedt <[email protected]>
  Co-authored-by: Yasumasa Suenaga <[email protected]>
  Co-authored-by: Amit Kumar <[email protected]>
  Co-authored-by: David Beaumont <[email protected]>
  Co-authored-by: Serguei Spitsyn <[email protected]>
  Co-authored-by: Christian Hagedorn <[email protected]>
  Co-authored-by: Benoît Maillard <[email protected]>
  Co-authored-by: Thomas Schatzl <[email protected]>
  Co-authored-by: Matthias Baesken <[email protected]>
  Co-authored-by: Afshin Zafari <[email protected]>
  Co-authored-by: Joel Sikström <[email protected]>
  Co-authored-by: Leo Korinth <[email protected]>
  Co-authored-by: Paul Hübner <[email protected]>
  Co-authored-by: cdw200806 <[email protected]>
  Co-authored-by: Saint Wesonga <[email protected]>
  Co-authored-by: Johan Sjölen <[email protected]>
  Co-authored-by: jonghoonpark <[email protected]>
  Co-authored-by: SendaoYan <[email protected]>
  Co-authored-by: Daniel Fuchs <[email protected]>
  Co-authored-by: Bradford Wetmore <[email protected]>
  Co-authored-by: Leonid Mesnik <[email protected]>
  Co-authored-by: Chris Plummer <[email protected]>
  Co-authored-by: Kim Barrett <[email protected]>
  Co-authored-by: Valerie Peng <[email protected]>
  Co-authored-by: Fredrik Bredberg <[email protected]>
  Co-authored-by: Anton Artemov <[email protected]>
  Co-authored-by: Erik Österlund <[email protected]>
  Co-authored-by: Roman Kennke <[email protected]>
  Co-authored-by: Anton Seoane Ampudia <[email protected]>
  Co-authored-by: Casper Norrbin <[email protected]>
  Co-authored-by: David Briemann <[email protected]>
  Co-authored-by: Guanqiang Han <[email protected]>
  Co-authored-by: Sean Coffey <[email protected]>
  Co-authored-by: Chen Liang <[email protected]>
  Co-authored-by: Jatin Bhateja <[email protected]>
  Co-authored-by: Sergey Bylokhov <[email protected]>
  Co-authored-by: David Holmes <[email protected]>
  Co-authored-by: Xiaolong Peng <[email protected]>
  Co-authored-by: Jayathirth D V <[email protected]>
  Co-authored-by: Jasmine Karthikeyan <[email protected]>
  Co-authored-by: Emanuel Peter <[email protected]>
  Co-authored-by: Paul Sandoz <[email protected]>
  Co-authored-by: Manuel Hässig <[email protected]>
  Co-authored-by: Andrew Haley <[email protected]>
  Co-authored-by: Eirik Bjørsnøs <[email protected]>
  Co-authored-by: Alan Bateman <[email protected]>
  Co-authored-by: Vicente Romero <[email protected]>
  Co-authored-by: Hannes Wallnöfer <[email protected]>
  Co-authored-by: Kirill Shirokov <[email protected]>
  Co-authored-by: Kelvin Nilsen <[email protected]>
  Co-authored-by: Ben Taylor <[email protected]>
  Co-authored-by: Alex Menkov <[email protected]>
  Co-authored-by: Renjith Kannath Pariyangad <[email protected]>
  Co-authored-by: Prasanta Sadhukhan <[email protected]>
  Co-authored-by: Christoph Langer <[email protected]>
  Co-authored-by: Erik Joelsson <[email protected]>
  Co-authored-by: Andrew Dinn <[email protected]>
  Co-authored-by: Dingli Zhang <[email protected]>
  Co-authored-by: Ashutosh Mehra <[email protected]>
  Co-authored-by: Raffaello Giulietti <[email protected]>
  Co-authored-by: Daniel Gredler <[email protected]>
  Co-authored-by: Oli Gillespie <[email protected]>
  Co-authored-by: Fei Yang <[email protected]>
  Co-authored-by: Coleen Phillimore <[email protected]>
  Co-authored-by: María Arias de Reyna Domínguez <[email protected]>
  Co-authored-by: Ashay Rane <[email protected]>
  Co-authored-by: William Kemper <[email protected]>
  Co-authored-by: Justin Lu <[email protected]>
  Co-authored-by: Frederic Thevenet <[email protected]>
  Co-authored-by: Axel Boldt-Christmas <[email protected]>
  Co-authored-by: Vic Wang <[email protected]>
  Co-authored-by: Daniel Jeliński <[email protected]>
  Co-authored-by: Kerem Kat <[email protected]>
  Co-authored-by: Naoto Sato <[email protected]>
  Co-authored-by: Liam Miller-Cushon <[email protected]>
  Co-authored-by: Patrick Strawderman <[email protected]>
  Co-authored-by: Xiaohong Gong <[email protected]>
  Co-authored-by: Ivan Walulya <[email protected]>
  Co-authored-by: Eric Fang <[email protected]>
  Co-authored-by: Volkan Yazici <[email protected]>
  Co-authored-by: Boris Ulasevich <[email protected]>
  Co-authored-by: Joe Darcy <[email protected]>
  Co-authored-by: Sruthy Jayan <[email protected]>
  Co-authored-by: Christian Stein <[email protected]>
  Co-authored-by: Markus Grönlund <[email protected]>
  Co-authored-by: Artur Barashev <[email protected]>
  Co-authored-by: Daniel D. Daugherty <[email protected]>
  Co-authored-by: Johny Jose <[email protected]>
  Co-authored-by: Michael Reeves <[email protected]>
  Co-authored-by: Saranya Natarajan <[email protected]>
  Co-authored-by: April <[email protected]>
  Co-authored-by: Stefan Karlsson <[email protected]>
  Co-authored-by: Maksim Gaidideev <[email protected]>
  Co-authored-by: Weijun Wang <[email protected]>
  Co-authored-by: Viktor Klang <[email protected]>
  Co-authored-by: Daniel Lundén <[email protected]>
  Co-authored-by: Roman Marchenko <[email protected]>

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/24458/files
  - new: https://git.openjdk.org/jdk/pull/24458/files/b0260496..edc29d47

Webrevs:
 - full: Webrev is not available because diff is too large
 - incr: Webrev is not available because diff is too large

  Stats: 544655 lines in 2160 files changed: 277501 ins; 250648 del; 16506 mod
  Patch: https://git.openjdk.org/jdk/pull/24458.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24458/head:pull/24458

PR: https://git.openjdk.org/jdk/pull/24458

Reply via email to