Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
213 commits
Select commit Hold shift + click to select a range
4a08996
8378107: Data cache zeroing is used even when it is prohibited
Feb 26, 2026
00064ee
8378239: C2: Incorrect check in StoreNode::Identity
merykitty Feb 26, 2026
7065a24
8378240: C2: MemNode::can_see_stored_value assumes this can never be …
merykitty Feb 26, 2026
1674006
8378631: Update Zlib Data Compression Library to Version 1.3.2
jaikiran Feb 26, 2026
173153e
8376403: Avoid loading ArrayDeque in java.util.zip.ZipFile
Feb 26, 2026
b13a291
8378268: Thread.join can wait on Thread, allows joinNanos to be removed
Feb 26, 2026
82ff025
8374910: Use of containsTypeEquivalent in array type equality test se…
Feb 26, 2026
3b8abd4
8378398: Modernize test/jdk/java/net/URLClassLoader/HttpTest.java
Feb 26, 2026
4f83d21
8368864: Confusing error message (or wrong error) when record compone…
Feb 26, 2026
94de898
8372382: Invalid RuntimeVisibleTypeAnnotations for compact record con…
Feb 26, 2026
71a1af7
8378377: Remove use of AppContext from JEditorPane
prrace Feb 26, 2026
fcc2a29
8378297: Remove AppContext from several Swing component and related c…
prrace Feb 26, 2026
8b80563
8376477: Avoid loading empty Lock classes in Shutdown and ReferenceQueue
Feb 26, 2026
aa6c06e
8309748: Improve host selection in `External Specifications` page
hns Feb 26, 2026
5e85d99
8378715: Use early field initialization for java.lang.invoke generate…
liach Feb 26, 2026
cd462a8
8378385: Remove AppContext from AWT Windows implementation classes
prrace Feb 26, 2026
871730a
8377862: Jtreg is unable to detect SkippedException because it is wra…
Feb 26, 2026
526228c
8377142: Jtreg test gc/shenandoah/oom/TestThreadFailure.java triggers…
kdnilsen Feb 26, 2026
4a6de12
8371438: jpackage should handle the case when "--mac-sign" is specifi…
Feb 26, 2026
d887e2e
8377713: Shenandoah: Convert ShenandoahReferenceProcessor to use Atom…
Feb 27, 2026
538bebf
8376253: [macOS] FileSystemView may not report system icons when -Xch…
mrserb Feb 27, 2026
1c6e7ff
8377845: Restore regtest for JDK-8324881 with DiagnoseSyncOnValueBase…
Feb 27, 2026
d7f4365
8378561: Mark gc/shenandoah/compiler/TestLinkToNativeRBP.java as /native
Feb 27, 2026
6daca7e
8268675: RTE from "Printable.print" propagates through "PrinterJob.pr…
Renjithkannath Feb 27, 2026
dc06fed
8373367: interp-only mechanism fails to work for carrier threads in a…
Feb 27, 2026
463b9e0
8078744: Right half of system menu icon on title bar does not activat…
prsadhuk Feb 27, 2026
f6c69ca
8378379: Remove reference to obsolete jdk.net.usePlainSocketImpl prop…
jaikiran Feb 27, 2026
94a34a3
8377895: Create sizeof_auto to reduce narrowing conversions
lkorinth Feb 27, 2026
4e15a4a
8378823: AIX build fails after zlib updated by JDK-8378631
MBaesken Feb 27, 2026
5606036
8378563: ConnectionRefusedMessage::testFinishConnect fails when jdk.i…
RealCLanger Feb 27, 2026
1fb608e
8378792: ObjectMethods.bootstrap missing getter validation
liach Feb 27, 2026
a436287
8377048: Shenandoah: shenandoahLock related improvments
Feb 27, 2026
3144b57
8378388: Add missing @Override annotations in "javax.print.attribute.…
mrserb Feb 27, 2026
e0b040a
8331994: Adapt MAKEFLAGS check for GNU Make 4.4.1
erikj79 Feb 27, 2026
4bee207
8377554: Load card table base and other values via AOTRuntimeConstant…
adinn Feb 27, 2026
b0318fe
8378865: After fix for JDK-8378385 two tests are failing on windows
prrace Feb 27, 2026
58a7ccf
8378798: Test tools/jpackage/junit/share/jdk.jpackage/jdk/jpackage/in…
Feb 27, 2026
e5aac09
8378752: Enable some subword vector casts IR matching tests for RISC-V
DingliZhang Feb 28, 2026
357f29d
8378312: [VectorAPI] libraryUnaryOp/libraryBinaryOp failed to intrinsify
YaSuenag Feb 28, 2026
20ac1b1
8378871: CPU feature flags are not properly set in vm_version_windows…
Feb 28, 2026
d62b9f7
8377992: (zipfs) Align ZipFileSystem END header validation with the Z…
Feb 28, 2026
f3d7ca3
8378607: GlyphLayout cache can prevent Fonts from being GC'd
prrace Feb 28, 2026
dbbb3b1
8378833: Improve offset arithmetic in ArraysSupport::mismatch
rgiulietti Mar 1, 2026
0540e98
8378642: Add src/utils/LogCompilation/logc.jar to .gitignore
Mar 1, 2026
9cf9fbe
8378389: Remove AppContext from the Swing RepaintManager
prrace Mar 1, 2026
d6246b3
8378386: Remove AppContext from AWT ModalEventFilter.java
prrace Mar 1, 2026
2069edc
8377454: TestZGCWithCDS.java should also test different combos of Use…
Arraying Mar 2, 2026
ae4df28
8378677: Inline clear into ContiguousSpace::initialize
albertnetymk Mar 2, 2026
8d370ce
8377937: [macos] GlyphMetrics advance does not consider font rotation
Mar 2, 2026
b12daa4
8378110: Add -XX: prefix to settings-file flags in RuntimeMXBean.getI…
olivergillespie Mar 2, 2026
b7d0cb5
8378888: jdk/incubator/vector/Float16OperationsBenchmark.java uses wr…
RealFYang Mar 2, 2026
29a40c3
8378793: Add ResolvedFieldEntry is_valid assert
coleenp Mar 2, 2026
373ad02
8378786: PeerConnectionId::cloneBuffer should use absolute bulk get
dfuch Mar 2, 2026
2c3e4f0
8378595: Refactor miscellaneous tests under test/jdk/java/net/httpcli…
dfuch Mar 2, 2026
2678fe4
8378870: Remove sun.awt.AWTAccessor from imports in ImageIcon
aivanov-jdk Mar 2, 2026
2adffe0
8378872: Mark waitList in FetcherInfo final
aivanov-jdk Mar 2, 2026
cc4ca9f
8378128: Make PLABStats data members private
dev-jonghoonpark Mar 2, 2026
da99f1a
8378897: assertion failure due to missing depends_only_on_test_impl d…
Mar 2, 2026
7b5b70c
8378565: Refactor test/jdk/java/net/httpclient/http3/*.java TestNG te…
dfuch Mar 2, 2026
4fbc291
8377777: Improve logging when rejecting assets from the AOT archive
Delawen Mar 2, 2026
c4e39ce
8373635: C2: Wrong constant in GraphKit::basic_plus_adr()
raneashay Mar 2, 2026
f2a52b7
8378880: GenShen: Fix typo in recent conversion to atomic field
Mar 2, 2026
0baeccd
8378111: Migrate java/util/jar tests to JUnit
Mar 2, 2026
63c1cb3
8378702: jdk.test.lib.Platform.isMusl() may return false negative on …
fthevenet Mar 2, 2026
8009a71
8378810: Enable missing FFM test via jtreg requires for RISC-V
DingliZhang Mar 3, 2026
9e24055
8372246: LogOutputList gtests should not use LogConfiguration LogOutputs
xmas92 Mar 3, 2026
545cf60
8372242: Gtest LogTagSet.defaults should run in OTHER VM
xmas92 Mar 3, 2026
f4da2d5
8378684: Fix -Wdeprecated-declarations warnings from gtest by clang23
Mar 3, 2026
7e9e649
8378083: Mark shenandoah/generational/TestOldGrowthTriggers.java as f…
Mar 3, 2026
c0c8bdd
8378948: Remove unused local variable in RunnerGSInserterThread
albertnetymk Mar 3, 2026
0b183bf
8312116: GenShen: make instantaneous allocation rate triggers more ti…
kdnilsen Mar 3, 2026
297812e
8378867: jpackage references non-existing "message.app-image-requires…
Mar 3, 2026
57db48c
8373290: Update FreeType to 2.14.1
jayathirthrao Mar 3, 2026
6674049
8378963: Test test/jdk/java/lang/management/RuntimeMXBean/InputArgume…
olivergillespie Mar 3, 2026
b28568f
8367478: Improve UseAVX setting and add cpu descriptions for zhaoxin …
Double-Minds-JV Mar 3, 2026
7dc97af
8378905: RISC-V: fastdebug build fails after JDK-8377554
DingliZhang Mar 3, 2026
6cf8b2e
8378845: Add NoSafepointVerifier to CriticalSection classes
Mar 3, 2026
364fd0e
8378971: Test jdk/jfr/event/runtime/TestVMInfoEvent.java fails after …
olivergillespie Mar 3, 2026
0ea7d89
8377903: ArraysSupport::mismatch should document that they return the…
rgiulietti Mar 3, 2026
df43ef9
8378883: Enable more vector reductions IR matching tests for RISC-V
DingliZhang Mar 3, 2026
86800eb
8378723: Locale variant delimiter is unclear
Mar 3, 2026
c13fdc0
8378877: jpackage: improve rebranding of exe files on Windows
Mar 3, 2026
a6db3f8
8378873: jpackage: remove macOS-specific code from jdk.jpackage.inter…
Mar 3, 2026
73363a0
8378874: jpackage: remove redundant messages
Mar 3, 2026
0729d1d
8379039: Build failure on vector API source generation after JDK-8378312
YaSuenag Mar 4, 2026
284d131
8378876: jpackage: facilitate testing with mocks
Mar 4, 2026
7f518de
8378584: (process) Investigate and fix Alpine errors in Basic.java Pr…
fthevenet Mar 4, 2026
d9e256d
8372245: GTest globalDefinitions.format_specifiers cannot run without VM
xmas92 Mar 4, 2026
3cd0b99
8372248: GTest istream.coverage depends on istream.basic
xmas92 Mar 4, 2026
39b1e9d
8372247: OSX: Semaphore.trywait requires os::Bsd::clock_init
xmas92 Mar 4, 2026
58d2c1d
8371155: Type annotations on local variables are classified after the…
lahodaj Mar 4, 2026
f7918df
8378779: NBody demo test times out with C1 stress testing
mhaessig Mar 4, 2026
5ab9ddf
8378138: G1: Assertion failure from G1CollectedHeap::block_start proc…
albertnetymk Mar 4, 2026
f26b379
8378927: H3MultipleConnectionsToSameHost.java#with-continuations inte…
djelinski Mar 4, 2026
d78a13a
8366138: Parse::jump_switch_ranges() could cause stack overflow when …
Mar 4, 2026
329e14b
8375688: C2: Missed Ideal optimization opportunity with VectorMaskToL…
Mar 4, 2026
a3b468c
8379119: G1: Move NoteStartOfMarkHRClosure out of global namespace
Mar 4, 2026
ff8b0ac
8214934: Wrong type annotation offset on casts on expressions
Mar 4, 2026
cb059a6
8378836: Enable linktime-gc by default on Linux ppc64le
MBaesken Mar 4, 2026
d8d543a
8379121: G1: Remove redundant const_cast in g1BlockOffsetTable
albertnetymk Mar 4, 2026
12af936
8377986: C2: New method to add specific users to the worklist
Mar 4, 2026
7c8f66c
8379041: Crash in ResolvedFieldEntry::assert_is_valid(): invalid put …
coleenp Mar 4, 2026
eb50630
8379013: Remove some unused code in generateOopMap.cpp
coleenp Mar 4, 2026
3531c78
8379196: delta apply fix for JDK-8214934
Mar 4, 2026
4d2c537
8378992: Case folding cache should not look up code point U+0000
naotoj Mar 4, 2026
8b91537
8379203: [BACKOUT] Remove some unused code in generateOopMap.cpp
mhaessig Mar 4, 2026
0fbf58d
8372353: API to compute the byte length of a String encoded in a give…
cushon Mar 4, 2026
c52d7b7
8378878: Refactor java/nio/channels/AsynchronousSocketChannel test to…
Mar 4, 2026
9d1d0c6
8379166: Upstream redundant diffs fixed in Valhalla - Part 1
liach Mar 4, 2026
08c8520
8378698: Optimize Base64.Encoder#encodeToString
kilink Mar 4, 2026
1f4a7bb
8379040: Remove inclusion of allocation.hpp from atomicAccess.hpp
Mar 4, 2026
c9da76b
8377449: Strengthen vector IR validation in TestVectorAlgorithms.java…
Mar 5, 2026
c87ecad
8379192: Use an initializer list in the ObjectWaiter constructor
fbredber Mar 5, 2026
28e8700
8378675: PPC64: increase instruction cache line size
dbriemann Mar 5, 2026
c9a0e36
8378376: DaCapo-h2-large regression after JDK-8238686
walulyai Mar 5, 2026
ec3b58b
8379162: AggregateRequestBodyTest.java intermittent fails "Connection…
dfuch Mar 5, 2026
8a9b63f
8378413: C2: Missed Ideal optimization opportunity in PhaseIterGVN fo…
Mar 5, 2026
97b78f0
8374349: [VectorAPI]: AArch64: Prefer merging mode SVE CPY instruction
Mar 5, 2026
fc77e3e
8378599: Refactor tests under test/jdk/java/net/httpclient/whitebox f…
dfuch Mar 5, 2026
a0c0a36
8378600: Refactor tests under test/jdk/java/net/httpclient/http2 from…
dfuch Mar 5, 2026
dfea6eb
8378598: Refactor tests under test/jdk/java/net/httpclient/websocket …
dfuch Mar 5, 2026
0668dab
8379114: HttpServer path prefix matching incorrectly matches paths th…
vy Mar 5, 2026
4d9d2c3
8284315: DocTrees.getElement is inconsistent with Elements.getTypeEle…
hns Mar 5, 2026
2cb177d
8371459: [REDO] AArch64: Use SHA3 GPR intrinsic where it's faster
Mar 5, 2026
9bd99b9
8378854: Disable SA tests when ZGC is being used
plummercj Mar 5, 2026
3d6856c
8374658: Consider use of "included" rather than "enclosed" in jx.a.p.…
jddarcy Mar 5, 2026
3363a16
8375045: Incorrect Interpretation of POSIX TZ Environment Variable on…
srutjay Mar 5, 2026
f266079
8378917: InputEvent checks for SystemClipboard access are unused
prrace Mar 5, 2026
c2f6bd8
8379334: jpackage: fix bug in DottedVersion.greedy() function
Mar 6, 2026
1a4825b
8379158: Update FreeType to 2.14.2
jayathirthrao Mar 6, 2026
c532dff
8379348: jpackage will use wrong arch suffix for RPM bundle when runn…
Mar 6, 2026
ad0f078
8379341: jpackage: consolidate modular app tests
Mar 6, 2026
a1b4ad0
8379345: jpackage: Fix issues in tests to improve their flexibility
Mar 6, 2026
e640664
8378758: [VectorAPI] Add Jtreg scalar operation wrappers for math ope…
Mar 6, 2026
310d5a1
8346256: Optimize UMIN/UMAX reduction operations for x86 targets
Mar 6, 2026
a2ad080
8379326: Use JUnit in lib-test/jdk tests, here MethodTemplateTest
sormuras Mar 6, 2026
dc6f701
8379202: Support linktime-gc on Linux with clang
MBaesken Mar 6, 2026
ca479be
8379363: FontInfo improvements
Mar 6, 2026
45fc141
8379230: JFR: Do not store leak context edge idx in markWord
Mar 6, 2026
374a94f
8379201: Wrong type annotation offset on casts on expressions (redo)
Mar 6, 2026
b349f66
8379191: SunX509KeyManagerImpl alias chooser methods returns null for…
artur-oracle Mar 6, 2026
0aa52d6
8379371: Proposed cleanups for JDK-8373595 A new ObjectMonitorTable i…
Mar 6, 2026
ea4a151
8379156: Specify behavior of Types.asElement() on array types
jddarcy Mar 6, 2026
779970f
8373626: [asan] read past end of buffer in sun.awt.image.ImagingLib.c…
prrace Mar 6, 2026
784dd56
8378999: BeanContextSupport.add(Object) synchronizes on its argument
prrace Mar 6, 2026
8ef39a2
8374490: Test jdk/jfr/event/runtime/TestSafepointEvents.java failed: …
Mar 7, 2026
7e5acdc
8378057: CAccessibility roleKey and AWTAccessor.AccessibleBundleAcces…
Mar 8, 2026
b159add
8379231: Assembler::mov64 always emits 10-byte movabs even for small …
Mar 8, 2026
8c4c8a1
8378417: Printing All pages results in NPE for 1.1 PrintJob
prsadhuk Mar 9, 2026
b2728d0
8376891: [VectorAlgorithms] add more if-conversion benchmarks and tests
eme64 Mar 9, 2026
c3dfceb
8379035: (tz) Update Timezone Data to 2026a
johnyjose30 Mar 9, 2026
08198e7
8379297: Serial: Replace CSpaceCounters with HSpaceCounters
albertnetymk Mar 9, 2026
e22c95c
8378746: ZGC: jdk/jfr/event/gc/detailed/TestZRelocationSetGroupEvent.…
Mar 9, 2026
321bf3f
8372273: C2: Extend the refactoring for IGV printing to include rest …
IntegralPilot Mar 9, 2026
d6943c5
8379193: Incorrect build ID path in SATestUtils.java
albertnetymk Mar 9, 2026
7101a05
8379404: G1: Hide ConcurrentMarkThread reference from outside Concurr…
Mar 9, 2026
695b833
8377148: Remove obsolete functions Matcher::is_spillable_arg() and Ma…
sarannat Mar 9, 2026
996033a
8378625: C2: Refactor MemNode::detect_access_independence to a separa…
merykitty Mar 9, 2026
f1be820
8379195: Refactor Arrays TestNG tests to use JUnit
rgiulietti Mar 9, 2026
23adf6a
8378569: Refactor test/jdk/java/net/httpclient/http3/H3ErrorHandlingT…
dfuch Mar 9, 2026
5e58808
8378744: Obsolete NewSizeThreadIncrease flag
albertnetymk Mar 9, 2026
2fc7bdc
8379411: Use TestFramework scenarios in 837841
Mar 9, 2026
e69fb77
8378177: AllowExtshm flag cleanup on AIX
april-ivy Mar 9, 2026
de47ffa
8379394: Confine array dimension setting to the ArrayKlass constructor
stefank Mar 9, 2026
ba0708c
8379331: Remove modular transition support settings from TEST.ROOT files
sormuras Mar 9, 2026
82430a7
8360121: Add -XX:+StressLoopPeeling to CTW
MadratMax Mar 9, 2026
e018cd6
8379441: Refactor jaxp/javax catalog tests to use JUnit
david-beaumont Mar 9, 2026
375f821
8379515: draft-ietf-lamps-kyber-certificates is now RFC 9935
wangweij Mar 9, 2026
b9e7ca9
8375130: [BACKOUT] Scalability issue when submitting virtual threads …
Mar 9, 2026
a6c5216
8379233: [REDO] Remove some unused code in generateOopMap.cpp
coleenp Mar 9, 2026
947d5b6
8376104: C2 crashes in PhiNode::Ideal(PhaseGVN*, bool) accessing NULL…
dlunde Mar 9, 2026
a278ad8
8379443: Correct build tags in some math tests
jddarcy Mar 9, 2026
0d2f7f6
8377995: ZGC: Fix implicit narrowing conversion in zBitField
lkorinth Mar 9, 2026
7b0024a
8378804: Shenandoah: Convert remaining components to Atomic<T>
Mar 9, 2026
9454f86
8379154: Refactor Selector TestNG tests to use JUnit
Mar 9, 2026
6b92183
8378879: Refactor java/nio/channels/Channels TestNG tests to use JUnit
Mar 9, 2026
93634b5
8379153: Refactor java/nio/channels/File{Channel,Lock} TestNG tests t…
Mar 9, 2026
a95799d
8379229: Remove AppContext from javax.swing.JComponent
prrace Mar 9, 2026
46a5ed9
8379137: Remove AppContext from javax.swing.JOptionPane
prrace Mar 9, 2026
6a8e953
8379442: GenShen: Fix two errors introduced by 29039
kdnilsen Mar 9, 2026
6a061f9
8379426: [macos] jpackage: runtime bundle version suffix is out of sy…
Mar 9, 2026
6808ba2
8378293: GenShen: Simplify selection of aged regions
Mar 10, 2026
3e9fc5d
8376164: Optimize AES/ECB implementation using full-message intrinsic…
Mar 10, 2026
9a26b4a
8379372: Enable some vector algorithms IR matching tests for RISC-V
DingliZhang Mar 10, 2026
61a9c71
8379180: C2: assert((ptr->bottom_type() == Type::TOP) || ((base == Co…
rwestrel Mar 10, 2026
ce7a890
8379200: G1: Remove G1HeapRegion completion facility
Mar 10, 2026
66e192c
8377602: Create automated test for PageRange
aivanov-jdk Mar 10, 2026
6aae92e
8379564: Hotspot fails to build with gcc 14 after JDK-8378804
RealFYang Mar 10, 2026
f95e813
8379412: JfrJavaSupport::new_string should return early if pending ex…
jsikstro Mar 10, 2026
bad59c5
8379437: Refactor ProcessBuilder and ProcessHandle tests to JUnit
Mar 10, 2026
4d42ce2
8379499: [AIX] headless-only build of libjawt.so fails
MBaesken Mar 10, 2026
34fa467
8379364: Shenandoah: Remove duplicate semicolons in GenShen code
mrserb Mar 10, 2026
5930149
8379487: Dangling static ref to fallback error in libinstrument's Jav…
jsikstro Mar 10, 2026
e24a8f0
8378201: [OGL] glXMakeContextCurrent() drops the buffers of the unbou…
mrserb Mar 10, 2026
5aa115b
8379622: Problemlist java/nio/channels/SocketChannel/OpenLeak.java an…
jaikiran Mar 10, 2026
680503c
8378470: Add future Intel family number
Mar 10, 2026
d3158e7
8379628: Refactor langtools/shellsupport/doc tests to use JUnit
sormuras Mar 10, 2026
46b93a0
8248165: Missing whitespace in jdb message printed when setting valu…
Mar 10, 2026
760f4b6
8379344: Compact the Unicode/CLDR version tables
naotoj Mar 10, 2026
73b13f9
8378808: Refactor java/nio/Buffer TestNG tests to use JUnit
Mar 10, 2026
b9220c9
8379552: Correct build tags in StrictMath/PowTests.java
jddarcy Mar 10, 2026
e00d6d2
8378899: Remove AppContext from java.awt.Toolkit implementation
prrace Mar 10, 2026
08c0a78
8378371: Default classlist not deterministic due to JIT activity
Mar 10, 2026
bf28e03
8374830: Improve Hotspot crash message in CDSTestUtils
Mar 10, 2026
e760171
8376521: Verifier: disallow acmp & ifnull on 'uninitialized' types
Mar 10, 2026
a4daabb
8237220: [macOS] AWT text test CorrectTextComponentSelectionTest.html…
Mar 10, 2026
9d04c8a
8379432: jpackage: Make default equals() in jdk.jpackage.test.CannedF…
Mar 10, 2026
8b8bb43
8379256: Update GIFlib to 6.1.1
Mar 11, 2026
58bf76a
8379464: Enable missing stack walking test via jtreg requires for RISC-V
DingliZhang Mar 11, 2026
20ae527
8379477: Tests in test/jdk/com/sun/net/httpserver/ may need to use ot…
jaikiran Mar 11, 2026
5e8bba3
8379456: Test jdk/jfr/event/runtime/TestVMInfoEvent.java now fails wi…
Mar 11, 2026
a741e29
8379284: Avoid the need to keep obsolete preview feature constants un…
lahodaj Mar 11, 2026
619fe63
8362239: Reconcile enter_internal and reenter_internal in the ObjectM…
toxaart Mar 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ NashornProfile.txt
**/JTreport/**
**/JTwork/**
/src/utils/LogCompilation/target/
/src/utils/LogCompilation/logc.jar
/.project/
/.settings/
/compile_commands.json
Expand Down
27 changes: 15 additions & 12 deletions make/CompileInterimLangtools.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2025, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2026, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -68,17 +68,19 @@ java.compiler.interim_EXTRA_FILES := \
TARGETS += $(BUILDTOOLS_OUTPUTDIR)/gensrc/java.compiler.interim/javax/tools/ToolProvider.java

################################################################################
# Use the up-to-date PreviewFeature.java and NoPreview.java from the current
# sources, instead of the versions from the boot JDK, as javac may be referring
# to constants from the up-to-date versions.

$(eval $(call SetupCopyFiles, COPY_PREVIEW_FEATURES, \
FILES := $(TOPDIR)/src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java \
$(TOPDIR)/src/java.base/share/classes/jdk/internal/javac/NoPreview.java, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/gensrc/java.base.interim/jdk/internal/javac/, \
))
# Create a hybrid PreviewFeature.java that combines constants
# from the current sources, as those can be used in javac APIs, and from the
# bootstrap JDK, as those can be used from bootstrap JDK classfiles.

$(BUILDTOOLS_OUTPUTDIR)/gensrc/java.base.interim/jdk/internal/javac/PreviewFeature.java: \
$(TOPDIR)/src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java
$(call LogInfo, Generating $@)
$(JAVA) $(TOPDIR)/make/langtools/tools/previewfeature/SetupPreviewFeature.java \
$(TOPDIR)/src/java.base/share/classes/jdk/internal/javac/PreviewFeature.java \
$@


TARGETS += $(COPY_PREVIEW_FEATURES)
TARGETS += $(BUILDTOOLS_OUTPUTDIR)/gensrc/java.base.interim/jdk/internal/javac/PreviewFeature.java

################################################################################
# Setup the rules to build interim langtools, which is compiled by the boot
Expand Down Expand Up @@ -123,7 +125,8 @@ define SetupInterimModule
$1_DEPS_INTERIM := $$(addsuffix .interim, $$(filter \
$$(INTERIM_LANGTOOLS_BASE_MODULES), $$(call FindTransitiveDepsForModule, $1)))

$$(BUILD_$1.interim): $$(foreach d, $$($1_DEPS_INTERIM), $$(BUILD_$$d)) $(COPY_PREVIEW_FEATURES)
$$(BUILD_$1.interim): $$(foreach d, $$($1_DEPS_INTERIM), $$(BUILD_$$d)) \
$(BUILDTOOLS_OUTPUTDIR)/gensrc/java.base.interim/jdk/internal/javac/PreviewFeature.java

TARGETS += $$(BUILD_$1.interim)
endef
Expand Down
4 changes: 4 additions & 0 deletions make/GenerateLinkOptData.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,15 @@ CLASSLIST_FILE_VM_OPTS = \

# Save the stderr output of the command and print it along with stdout in case
# something goes wrong.
# The classlists must be generated with -Xint to avoid non-determinism
# introduced by JIT compiled code
$(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST_JAR)
$(call MakeDir, $(LINK_OPT_DIR))
$(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $@))
$(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $(JLI_TRACE_FILE)))
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -XX:DumpLoadedClassList=$@.raw \
$(CLASSLIST_FILE_VM_OPTS) \
-Xint \
-Xlog:aot=off \
-Xlog:cds=off \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
Expand All @@ -90,6 +93,7 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST
-XX:SharedClassListFile=$@.interim -XX:SharedArchiveFile=$@.jsa \
-Djava.lang.invoke.MethodHandle.TRACE_RESOLVE=true \
$(CLASSLIST_FILE_VM_OPTS) \
-Xint \
--module-path $(SUPPORT_OUTPUTDIR)/classlist.jar \
-Xlog:aot=off \
-Xlog:cds=off \
Expand Down
5 changes: 3 additions & 2 deletions make/PreInit.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2026, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -66,7 +66,8 @@ CALLED_SPEC_TARGETS := $(filter-out $(ALL_GLOBAL_TARGETS), $(CALLED_TARGETS))
ifeq ($(CALLED_SPEC_TARGETS), )
SKIP_SPEC := true
endif
ifeq ($(findstring p, $(MAKEFLAGS))$(findstring q, $(MAKEFLAGS)), pq)
MFLAGS_SINGLE := $(filter-out --%, $(MFLAGS))
ifeq ($(findstring p, $(MFLAGS_SINGLE))$(findstring q, $(MFLAGS_SINGLE)), pq)
SKIP_SPEC := true
endif

Expand Down
5 changes: 5 additions & 0 deletions make/autoconf/flags-cflags.m4
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,11 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
TOOLCHAIN_CFLAGS_JDK_CONLY="-fno-strict-aliasing" # technically NOT for CXX
fi
if test "x$ENABLE_LINKTIME_GC" = xtrue; then
TOOLCHAIN_CFLAGS_JDK="$TOOLCHAIN_CFLAGS_JDK -ffunction-sections -fdata-sections"
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -ffunction-sections -fdata-sections"
fi
if test "x$OPENJDK_TARGET_OS" = xaix; then
TOOLCHAIN_CFLAGS_JVM="$TOOLCHAIN_CFLAGS_JVM -ffunction-sections -ftls-model -fno-math-errno"
TOOLCHAIN_CFLAGS_JDK="-ffunction-sections -fsigned-char"
Expand Down
4 changes: 4 additions & 0 deletions make/autoconf/flags-ldflags.m4
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
if test "x$CXX_IS_USER_SUPPLIED" = xfalse && test "x$CC_IS_USER_SUPPLIED" = xfalse; then
UTIL_REQUIRE_TOOLCHAIN_PROGS(LLD, lld)
fi

if test "x$ENABLE_LINKTIME_GC" = xtrue; then
BASIC_LDFLAGS_JDK_ONLY="$BASIC_LDFLAGS_JDK_ONLY -Wl,--gc-sections"
fi
fi
if test "x$OPENJDK_TARGET_OS" = xaix; then
BASIC_LDFLAGS="-Wl,-b64 -Wl,-brtl -Wl,-bnorwexec -Wl,-blibpath:/usr/lib:lib -Wl,-bnoexpall \
Expand Down
8 changes: 6 additions & 2 deletions make/autoconf/jdk-options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,12 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
AC_SUBST(ENABLE_HEADLESS_ONLY)
# should we linktime gc unused code sections in the JDK build ?
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = xs390x; then
LINKTIME_GC_DEFAULT=true
if test "x$OPENJDK_TARGET_OS" = "xlinux"; then
if test "x$OPENJDK_TARGET_CPU" = "xs390x" || test "x$OPENJDK_TARGET_CPU" = "xppc64le"; then
LINKTIME_GC_DEFAULT=true
else
LINKTIME_GC_DEFAULT=false
fi
else
LINKTIME_GC_DEFAULT=false
fi
Expand Down
4 changes: 2 additions & 2 deletions make/autoconf/lib-bundled.m4
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ AC_DEFUN_ONCE([LIB_SETUP_ZLIB],
LIBZ_LIBS=""
if test "x$USE_EXTERNAL_LIBZ" = "xfalse"; then
LIBZ_CFLAGS="$LIBZ_CFLAGS -I$TOPDIR/src/java.base/share/native/libzip/zlib"
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
LIBZ_CFLAGS="$LIBZ_CFLAGS -DHAVE_UNISTD_H"
if test "x$OPENJDK_TARGET_OS" = xmacosx -o "x$OPENJDK_TARGET_OS" = xaix -o "x$OPENJDK_TARGET_OS" = xlinux; then
LIBZ_CFLAGS="$LIBZ_CFLAGS -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1"
fi
else
LIBZ_LIBS="-lz"
Expand Down
4 changes: 4 additions & 0 deletions make/hotspot/lib/CompileGtest.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ $(eval $(call SetupJdkLibrary, BUILD_GTEST_LIBGTEST, \
unused-result zero-as-null-pointer-constant, \
DISABLED_WARNINGS_clang := format-nonliteral undef unused-result \
zero-as-null-pointer-constant, \
$(comment Disable deprecated-declarations warnings to workaround) \
$(comment clang18+glibc12 bug https://github.com/llvm/llvm-project/issues/76515) \
$(comment until the clang bug has been fixed) \
DISABLED_WARNINGS_clang_gtest-all.cc := deprecated-declarations, \
DISABLED_WARNINGS_microsoft := 4530, \
DEFAULT_CFLAGS := false, \
CFLAGS := $(JVM_CFLAGS) \
Expand Down
93 changes: 93 additions & 0 deletions make/langtools/tools/previewfeature/SetupPreviewFeature.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
/*
* Copyright (c) 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package previewfeature;

import com.sun.source.util.JavacTask;
import com.sun.source.util.Trees;
import java.io.StringWriter;
import java.lang.reflect.Field;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.HashSet;
import java.util.Set;
import java.util.stream.Collectors;
import javax.lang.model.element.ElementKind;
import javax.tools.ToolProvider;

/* Construct a hybrid PreviewFeature.Feature enum that includes constants both
* from the current JDK sources (so that they can be used in the javac API sources),
* and from the bootstrap JDK (so that they can be used in the bootstrap classfiles).
*
* This hybrid enum is only used for the interim javac.
*/
public class SetupPreviewFeature {
public static void main(String... args) throws Exception {
Class<?> runtimeFeature = Class.forName("jdk.internal.javac.PreviewFeature$Feature");
Set<String> constantsToAdd = new HashSet<>();
for (Field runtimeField : runtimeFeature.getDeclaredFields()) {
if (runtimeField.isEnumConstant()) {
constantsToAdd.add(runtimeField.getName());
}
}
var dummy = new StringWriter();
var compiler = ToolProvider.getSystemJavaCompiler();
var source = Path.of(args[0]);
try (var fm = compiler.getStandardFileManager(null, null, null)) {
JavacTask task =
(JavacTask) compiler.getTask(dummy, null, null, null, null, fm.getJavaFileObjects(source));
task.analyze();
var sourceFeature = task.getElements()
.getTypeElement("jdk.internal.javac.PreviewFeature.Feature");
int insertPosition = -1;
for (var el : sourceFeature.getEnclosedElements()) {
if (el.getKind() == ElementKind.ENUM_CONSTANT) {
constantsToAdd.remove(el.getSimpleName().toString());
if (insertPosition == (-1)) {
var trees = Trees.instance(task);
var elPath = trees.getPath(el);
insertPosition = (int) trees.getSourcePositions()
.getStartPosition(elPath.getCompilationUnit(),
elPath.getLeaf());
}
}
}
var target = Path.of(args[1]);
Files.createDirectories(target.getParent());
if (constantsToAdd.isEmpty()) {
Files.copy(source, target);
} else {
String sourceCode = Files.readString(source);
try (var out = Files.newBufferedWriter(target)) {
out.write(sourceCode, 0, insertPosition);
out.write(constantsToAdd.stream()
.collect(Collectors.joining(", ",
"/*compatibility constants:*/ ",
",\n")));
out.write(sourceCode, insertPosition, sourceCode.length() - insertPosition);
}
}
}
}
}
5 changes: 4 additions & 1 deletion make/modules/java.desktop/lib/AwtLibraries.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2026, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -423,6 +423,9 @@ endif
ifeq ($(call isTargetOs, linux)+$(ENABLE_HEADLESS_ONLY), true+true)
LIBJAWT_CFLAGS += -DHEADLESS
endif
ifeq ($(call isTargetOs, aix)+$(ENABLE_HEADLESS_ONLY), true+true)
LIBJAWT_CFLAGS += -DHEADLESS
endif

ifeq ($(call isTargetOs, windows)+$(call isTargetCpu, x86), true+true)
LIBJAWT_LIBS_windows := kernel32.lib
Expand Down
48 changes: 32 additions & 16 deletions src/hotspot/cpu/aarch64/aarch64.ad
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2003, 2025, Oracle and/or its affiliates. All rights reserved.
// Copyright (c) 2003, 2026, Oracle and/or its affiliates. All rights reserved.
// Copyright (c) 2014, 2024, Red Hat, Inc. All rights reserved.
// Copyright 2025 Arm Limited and/or its affiliates.
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
Expand Down Expand Up @@ -2467,11 +2467,8 @@ bool Matcher::is_generic_vector(MachOper* opnd) {
return opnd->opcode() == VREG;
}

#ifdef ASSERT
// Return whether or not this register is ever used as an argument.
// This function is used on startup to build the trampoline stubs in
// generateOptoStub. Registers not mentioned will be killed by the VM
// call in the trampoline, and arguments in those registers not be
// available to the callee.
bool Matcher::can_be_java_arg(int reg)
{
return
Expand All @@ -2492,11 +2489,7 @@ bool Matcher::can_be_java_arg(int reg)
reg == V6_num || reg == V6_H_num ||
reg == V7_num || reg == V7_H_num;
}

bool Matcher::is_spillable_arg(int reg)
{
return can_be_java_arg(reg);
}
#endif

uint Matcher::int_pressure_limit()
{
Expand Down Expand Up @@ -3403,11 +3396,13 @@ encode %{
} else if (rtype == relocInfo::metadata_type) {
__ mov_metadata(dst_reg, (Metadata*)con);
} else {
assert(rtype == relocInfo::none, "unexpected reloc type");
assert(rtype == relocInfo::none || rtype == relocInfo::external_word_type, "unexpected reloc type");
// load fake address constants using a normal move
if (! __ is_valid_AArch64_address(con) ||
con < (address)(uintptr_t)os::vm_page_size()) {
__ mov(dst_reg, con);
} else {
// no reloc so just use adrp and add
uint64_t offset;
__ adrp(dst_reg, con, offset);
__ add(dst_reg, dst_reg, offset);
Expand Down Expand Up @@ -3812,11 +3807,6 @@ frame %{
// Compiled code's Frame Pointer
frame_pointer(R31);

// Interpreter stores its frame pointer in a register which is
// stored to the stack by I2CAdaptors.
// I2CAdaptors convert from interpreted java to compiled java.
interpreter_frame_pointer(R29);

// Stack alignment requirement
stack_alignment(StackAlignmentInBytes); // Alignment size in bytes (128-bit -> 16 bytes)

Expand Down Expand Up @@ -4535,6 +4525,18 @@ operand immP_1()
interface(CONST_INTER);
%}

// AOT Runtime Constants Address
operand immAOTRuntimeConstantsAddress()
%{
// Check if the address is in the range of AOT Runtime Constants
predicate(AOTRuntimeConstants::contains((address)(n->get_ptr())));
match(ConP);

op_cost(0);
format %{ %}
interface(CONST_INTER);
%}

// Float and Double operands
// Double Immediate
operand immD()
Expand Down Expand Up @@ -6898,6 +6900,20 @@ instruct loadConP1(iRegPNoSp dst, immP_1 con)
ins_pipe(ialu_imm);
%}

instruct loadAOTRCAddress(iRegPNoSp dst, immAOTRuntimeConstantsAddress con)
%{
match(Set dst con);

ins_cost(INSN_COST);
format %{ "adr $dst, $con\t# AOT Runtime Constants Address" %}

ins_encode %{
__ load_aotrc_address($dst$$Register, (address)$con$$constant);
%}

ins_pipe(ialu_imm);
%}

// Load Narrow Pointer Constant

instruct loadConN(iRegNNoSp dst, immN con)
Expand Down
8 changes: 4 additions & 4 deletions src/hotspot/cpu/aarch64/assembler_aarch64.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3814,8 +3814,8 @@ template<typename R, typename... Rx>
}

private:
void sve_cpy(FloatRegister Zd, SIMD_RegVariant T, PRegister Pg, int imm8,
bool isMerge, bool isFloat) {
void _sve_cpy(FloatRegister Zd, SIMD_RegVariant T, PRegister Pg, int imm8,
bool isMerge, bool isFloat) {
starti;
assert(T != Q, "invalid size");
int sh = 0;
Expand All @@ -3839,11 +3839,11 @@ template<typename R, typename... Rx>
public:
// SVE copy signed integer immediate to vector elements (predicated)
void sve_cpy(FloatRegister Zd, SIMD_RegVariant T, PRegister Pg, int imm8, bool isMerge) {
sve_cpy(Zd, T, Pg, imm8, isMerge, /*isFloat*/false);
_sve_cpy(Zd, T, Pg, imm8, isMerge, /*isFloat*/false);
}
// SVE copy floating-point immediate to vector elements (predicated)
void sve_cpy(FloatRegister Zd, SIMD_RegVariant T, PRegister Pg, double d) {
sve_cpy(Zd, T, Pg, checked_cast<uint8_t>(pack(d)), /*isMerge*/true, /*isFloat*/true);
_sve_cpy(Zd, T, Pg, checked_cast<uint8_t>(pack(d)), /*isMerge*/true, /*isFloat*/true);
}

// SVE conditionally select elements from two vectors
Expand Down
Loading
Loading