Skip to content

collaborater #25022

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 214 commits into
base: pr/24814
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
bcc33d5
8352504: RISC-V: implement and enable CMoveI/L
Apr 22, 2025
7cd084c
8350442: Update copyright
Apr 22, 2025
9eeb86d
8354341: Open some JTable bugs 7
Apr 22, 2025
0f1c448
8354922: ZGC: Use MAP_FIXED_NOREPLACE when reserving memory
stefank Apr 22, 2025
f2587d9
8354938: ZGC: Disable UseNUMA when ZFakeNUMA is used
stefank Apr 22, 2025
5264d80
8350661: PKCS11 HKDF throws ProviderException when requesting a 31-by…
martinuy Apr 22, 2025
072b827
8354300: Mark String.hash field @Stable
minborg Apr 22, 2025
da16c83
8354466: Open some misc Swing bugs 9
Apr 22, 2025
a4c5ed8
8354561: Open source several swing tests batch0
Apr 22, 2025
477da16
8352638: Enhance code consistency: java.desktop/windows
mrserb Apr 22, 2025
1889dac
8353007: Open some JComboBox bugs 2
Apr 22, 2025
6a31061
8354248: Open source several AWT GridBagLayout and List tests
Apr 22, 2025
d783a94
8332368: ubsan aarch64: immediate_aarch64.cpp:298:31: runtime error: …
Apr 22, 2025
594b265
8350126: Regression ~3% on Crypto-ChaCha20Poly1305.encrypt for MacOSX…
Apr 22, 2025
e020752
8354484: SIGSEGV when supertype of an AOT-cached class is excluded
iklam Apr 22, 2025
f98af0a
8354701: Open source few JToolTip tests
Apr 22, 2025
486a664
8353486: Open source Swing Tests - Set 4
Apr 22, 2025
d61765f
8353488: Open some JComboBox bugs 3
Apr 22, 2025
239760a
8355233: Add a DMB related benchmark
Apr 22, 2025
1b8f760
8354928: Clean up and open source some miscellaneous AWT tests
Apr 22, 2025
cc9148d
8354695: Open source several swing tests batch7
Apr 22, 2025
b7e8952
8355071: Fix nsk/jdi test to not require lookup of main thread in ord…
plummercj Apr 22, 2025
5392488
8355332: Fix failing semi-manual test EDT issue
Apr 23, 2025
4c37370
8354668: Missing REX2 prefix accounting in ZGC barriers leads to inco…
Apr 23, 2025
a8c6ff1
8355239: RISC-V: Do not support subword scatter store
RealFYang Apr 23, 2025
bc518a6
8355240: Remove unused Import in StringUTF16
wenshao Apr 23, 2025
8c89fb9
8355179: Reinstate javax/swing/JScrollBar/4865918/bug4865918.java hea…
prsadhuk Apr 23, 2025
9a2b425
8354920: SA core file support on Linux only prints error messages whe…
djelinski Apr 23, 2025
27faf45
8354826: Make ResolverConfigurationImpl.lock field final
Apr 23, 2025
263983d
8298733: Reconsider monitors_on_stack assert
Apr 23, 2025
c2e90bc
8355363: [BACKOUT] 8354668: Missing REX2 prefix accounting in ZGC bar…
TobiHartmann Apr 23, 2025
e76f203
8354309: Sort GC includes
stefank Apr 23, 2025
82c2494
8354228: Parallel: Set correct minimum of InitialSurvivorRatio
albertnetymk Apr 23, 2025
ef0cd18
8354949: JFR: Split up the EventInstrumentation class
egahlin Apr 23, 2025
44c5aca
8341491: Reserve and commit memory operations should be protected by …
roberttoyonaga Apr 23, 2025
c873837
8355300: Add final to BitSieve
wenshao Apr 23, 2025
a372937
8350983: JShell LocalExecutionControl only needs stopCheck() on backw…
archiecobbs Apr 23, 2025
3c7f78c
8341833: incomplete snippet from loaded files from command line is ig…
lahodaj Apr 23, 2025
e8a1a64
8355401: Remove unused HWperKB
stefank Apr 23, 2025
023f30b
8355394: ZGC: Windows compile error in ZUtils
stefank Apr 23, 2025
6befc18
8355278: Improve debuggability of com/sun/jndi/ldap/LdapPoolTimeoutTe…
jaikiran Apr 23, 2025
12c3a23
8354898: jdk/internal/loader/NativeLibraries/Main.java fails on stati…
jianglizhou Apr 23, 2025
32a597b
8355333: Some Problem list entries point to non-existent / wrong files
prrace Apr 23, 2025
1a72feb
8355228: Improve runtime/CompressedOops/CompressedClassPointersEncodi…
lmesnik Apr 23, 2025
f097aa9
8355215: Add @spec tags to Emoji related methods
naotoj Apr 23, 2025
2ec61f0
8353214: Add testing with --enable-preview
lmesnik Apr 23, 2025
8bd5645
8346568: G1: Other time can be negative
Apr 23, 2025
ac41bc3
8354343: Hardening of Currency tests for not yet defined future ISO 4…
Apr 23, 2025
3571664
8353478: Update crypto microbenchmarks to cover ML-DSA, ML-KEM, and H…
Apr 23, 2025
bf8a881
8352733: Improve RotFontBoundsTest test
aivanov-jdk Apr 23, 2025
adcaf01
8355237: Upstream AOT test cases from Leyden repo to mainline
iklam Apr 23, 2025
88e0b00
8353298: AOT cache creation asserts with _array_klasses in an unregis…
iklam Apr 23, 2025
ffe6a4f
8355335: Avoid pattern matching switches in core ClassFile API
liach Apr 23, 2025
bd1c53e
8354899: Reduce overhead associated with type switches
liach Apr 23, 2025
669d4d6
8355328: Improve negative tests coverage for jpackage signing
Apr 23, 2025
3b7f43f
8355429: Open source ProgressMonitor test
Apr 23, 2025
4873eec
8354554: Open source several clipboard tests batch1
Apr 23, 2025
ac17449
8353596: GenShen: Test TestClone.java#generational-no-coops intermitt…
Apr 23, 2025
b10a304
8354553: Open source several clipboard tests batch0
Apr 23, 2025
bbec3c0
8354558: -XX:AOTMode=record crashes with boot loader package-info class
iklam Apr 24, 2025
428334b
8353216: Improve VerifyMethodHandles for method handle linkers
Apr 24, 2025
188c236
8353558: x86: Use better instructions for ICache sync when available
shipilev Apr 24, 2025
7bfbb9a
8348928: Check for case label validity are misbehaving when binding p…
lahodaj Apr 24, 2025
953eef4
8347337: ZGC: String dedups short-lived strings
stefank Apr 24, 2025
84e9264
8346552: C2: Add IR tests to check that Predicate cloning in Loop Uns…
mhaessig Apr 24, 2025
290d24d
8355400: Better git detection in update_copyright_year.sh
mhaessig Apr 24, 2025
be6e440
8349139: C2: Div looses dependency on condition that guarantees divis…
rwestrel Apr 24, 2025
74a2c83
8352620: C2: rename MemNode::memory_type() to MemNode::value_basic_ty…
sarannat Apr 24, 2025
6254046
8320909: C2: Adapt IGVN's enqueuing logic to match idealization of An…
marc-chevalier Apr 24, 2025
d3f31b0
8347719: [REDO] Portable implementation of FORBID_C_FUNCTION and ALLO…
Apr 24, 2025
1ec6481
8350582: Correct the parsing of the ssl value in javax.net.debug
coffeys Apr 24, 2025
34c4d89
8353190: Use "/native" Run Option for TestAvailableProcessors Execution
asilichenko Apr 24, 2025
0537c69
8355492: MissedOptCastII is missing UnlockDiagnosticVMOptions flag
marc-chevalier Apr 24, 2025
cf96b10
8354362: Use automatic indentation in CollectedHeap printing
jsikstro Apr 24, 2025
356c4d9
8355369: Remove setAccessible usage for setting final fields in java.…
Apr 24, 2025
0edd018
8355432: Remove CompileTask from SA
shipilev Apr 24, 2025
751e039
8355235: Clean out old versions from Tools.gmk
vidmik Apr 24, 2025
8e51ff7
8315113: Print request Chromaticity.MONOCHROME attribute does not wor…
GennadiyKrivoshein Apr 24, 2025
3270a7d
8355476: RISC-V: using zext_w directly in vector_update_crc32 could t…
Apr 24, 2025
862797f
8355293: [TEST] RISC-V: enable more ir tests
Apr 24, 2025
29f1070
8355211: nsk/jdi/EventRequest/disable/disable001.java should use JDIB…
plummercj Apr 24, 2025
370e611
8355221: Get rid of unnecessary override of JDIBase.breakpointForComm…
plummercj Apr 24, 2025
e01e33d
8354424: java/util/logging/LoggingDeadlock5.java fails intermittently…
david-beaumont Apr 24, 2025
8a39f07
8354431: gc/logging/TestGCId fails on Shenandoah
Apr 24, 2025
ed60403
8346836: C2: Verify CastII/CastLL bounds at runtime
Apr 25, 2025
f27fc01
8355576: Problem list compiler/c2/TestVerifyConstraintCasts.java unti…
TobiHartmann Apr 25, 2025
70030ba
8354803: ALL_64_BITS is the same across platforms
MBaesken Apr 25, 2025
dbd2fb0
8355473: Clean up x86 globals/VM_Version after 32-bit x86 removal
shipilev Apr 25, 2025
b41e0b1
8355387: [jittester] Disable downcasts by default
Apr 25, 2025
89f9268
8355524: Only every second line in upgradeable files is being used
jerboaa Apr 25, 2025
f66b9ba
8346785: Potential infinite loop in JavadocTokenizer.ensures
nizarbenalla Apr 25, 2025
e6cea40
8355475: UNCTest should use an existing UNC path
Apr 25, 2025
a2f9c24
8354327: Rewrite runtime/LoadClass/LoadClassNegative.java
toxaart Apr 25, 2025
5c06723
8355074: RISC-V: C2: Support Vector-Scalar version of Zvbb Vector And…
Anjian-Wen Apr 25, 2025
597bcc6
8352003: Support --add-opens with -XX:+AOTClassLinking
calvinccheung Apr 25, 2025
77f5a24
8355214: nsk/jdi/ThreadStartRequest/addThreadFilter/addthreadfilter00…
plummercj Apr 25, 2025
15f42e3
8350703: Add standard system property stdin.encoding
Apr 25, 2025
ac05002
8354877: DirectClassBuilder default flags should include ACC_SUPER
liach Apr 25, 2025
d8f012e
8305186: Reference.waitForReferenceProcessing should be more accessib…
Apr 25, 2025
4b88029
8355439: Some hotspot/jtreg/serviceability/sa/* tests fail on static …
jianglizhou Apr 25, 2025
2785570
8355366: Fix the wrong usage of PassFailJFrame.forcePass() in some ma…
Apr 25, 2025
5db62ab
8315719: Adapt AOTClassLinking test case for dynamic CDS archive
iklam Apr 25, 2025
e57fd71
8353786: Migrate Vector API math library support to FFM API
Apr 25, 2025
91a9043
8355562: RISC-V: Cleanup names of vector-scalar instructions in riscv…
Anjian-Wen Apr 26, 2025
3b3a055
8342676: Unsigned Vector Min / Max transforms
Apr 26, 2025
21b0f5e
8355637: SSLSessionImpl's "serialization" list documentation is incor…
Apr 26, 2025
898d479
8355077: Compiler error at splashscreen_gif.c due to unterminated str…
YaSuenag Apr 27, 2025
4e7b513
8351333: [ubsan] CDSMapLogger::log_region applying non-zero offset to…
iklam Apr 27, 2025
04bb5dc
8355203: [macos] AquaButtonUI and AquaRootPaneUI repaint default butt…
mickleness Apr 27, 2025
9c86ac2
8354495: Open source several AWT DataTransfer tests
Apr 27, 2025
cd6f0d1
8355336: GenShen: Resume Old GC even with back-to-back Young GC triggers
kdnilsen Apr 27, 2025
1f228e5
8354119: Missing C2 proper allocation failure handling during initial…
dafedafe Apr 28, 2025
40e7986
8355611: Get rid of SurfaceManagerFactory
YaaZ Apr 28, 2025
7df1bfe
8354811: clock_tics_per_sec code duplication between os_linux and os_…
MBaesken Apr 28, 2025
a05ff55
8355657: RISC-V: Improve PrintOptoAssembly output of vector-scalar in…
Anjian-Wen Apr 28, 2025
3140de4
8345125: Aarch64: Add aarch64 backend for Float16 scalar operations
Apr 28, 2025
db6fa59
8355617: Remove historical debug_only macro in favor of DEBUG_ONLY
shipilev Apr 28, 2025
2447b98
8355498: [AIX] Adapt code for C++ VLA rule
Apr 28, 2025
b0c3485
8348282: Add option for syntax highlighting in javadoc snippets
hns Apr 28, 2025
a7359a5
8354453: Don't strcpy in os::strdup, use memcpy instead
toxaart Apr 28, 2025
3eaec04
8355635: Do not collect C strings in C2 scratch buffer
Apr 28, 2025
e7a4162
8355717: Problem list tests until JDK-8355708 is fixed
TobiHartmann Apr 28, 2025
66358fa
8355616: Incorrect ifdef in compilationMemoryStatistic.cpp
jsikstro Apr 28, 2025
b1e778d
8354686: [AIX] now ubsan is possible
Apr 28, 2025
c0dc314
8355558: SJIS.java test is always ignored
naotoj Apr 28, 2025
a090aa3
8354902: Change to Visual Studio 17.13.2 for building on Windows at O…
vidmik Apr 28, 2025
2f84480
8354053: Remove unused JavaIOFilePermissionAccess
Apr 28, 2025
acd93df
8355080: java.base/jdk.internal.foreign.SystemLookup.find() doesn't w…
jianglizhou Apr 28, 2025
af4388a
8355649: Missing ResourceMark in ExceptionMark::check_no_pending_exce…
lmesnik Apr 28, 2025
62d165d
8355669: Add static-jdk-bundles make target
jianglizhou Apr 28, 2025
1fd136c
8354335: No longer deprecate wrapper class constructors for removal
Apr 28, 2025
62ef706
8355648: Thread.SpinAcquire()'s lock name parameter is not used
zhengyu123 Apr 28, 2025
ea3cf1b
8355668: RISC-V: jdk/incubator/vector/Int256VectorTests.java fails wh…
zifeihan Apr 29, 2025
7cf190f
8345225: AARCH64: VM crashes with -NearCpool +UseShenandoahGC options
Apr 29, 2025
7bde2bb
8355654: RISC-V: Relax register constraint for some vector-scalar ins…
zifeihan Apr 29, 2025
e4cb49f
8342206: Convenience method to check if a constant pool entry matches…
liach Apr 29, 2025
44374a5
8350542: Optional.orElseThrow(Supplier) does not specify behavior whe…
gustavosimon Apr 29, 2025
841989b
8318730: MonitorVmStartTerminate.java still times out after JDK-8209595
kevinjwalls Apr 29, 2025
108078a
8338194: ubsan: mulnode.cpp:862:59: runtime error: shift exponent 64 …
marc-chevalier Apr 29, 2025
31e70e4
8355697: Create windows devkit on wsl and msys2
kuaiwei Apr 29, 2025
6a0c24f
8355472: Clean up x86 nativeInst after 32-bit x86 removal
mhaessig Apr 29, 2025
edf8ce8
8355739: AssertionError: Invalid CPU feature name after 8353786
dbriemann Apr 29, 2025
9f42ff8
8355594: Warnings occur when building with clang and enabling ubsan
MBaesken Apr 29, 2025
2ed7ad4
8355667: RISC-V: Add backend implementation for unsigned vector Min /…
RealFYang Apr 29, 2025
b5156bb
8355065: ConcurrentModificationException in RichDiagnosticFormatter
cushon Apr 29, 2025
fa2a9d1
8354919: Move HotSpot .editorconfig into the global .editorconfig
TheShermanTanker Apr 29, 2025
5d2d1ab
8354996: Reduce dynamic code generation for a single downcall
liach Apr 29, 2025
bd7561c
8355441: Remove antipattern from PassFailJFrame.forcePass javadoc
Apr 29, 2025
ead6757
8342283: CDS cannot handle a large number of classes
shipilev Apr 29, 2025
c2485d5
8351113: RC2ParameterSpec throws IllegalArgumentException when offset…
Apr 29, 2025
bf52eb0
8355632: WhiteBox.waitForReferenceProcessing() fails assert for retur…
Apr 29, 2025
8b16897
8355262: Test sun/security/ssl/SSLSessionImpl/NoInvalidateSocketExcep…
artur-oracle Apr 29, 2025
6850757
8355689: Wrong native entry name for FloatMaxVector vector math stubs…
Apr 29, 2025
5e27547
8355789: GenShen: assert(_degen_point == ShenandoahGC::_degenerated_u…
Apr 29, 2025
1652948
8355442: Reference field lambda forms with type casts are not generated
liach Apr 29, 2025
83d0bd8
8355069: Allocation::check_out_of_memory() should support CheckUnhand…
lmesnik Apr 29, 2025
dcffd9d
8347471: Provide valid flags and mask in AccessFlag.Location
liach Apr 30, 2025
1a9a928
8355651: Issues with post-image hook
Apr 30, 2025
375ac6d
8355796: RISC-V: compiler/vectorapi/AllBitsSetVectorMatchRuleTest.jav…
Anjian-Wen Apr 30, 2025
7d9a438
8355370: Include server name in HTTP test server thread names to impr…
Apr 30, 2025
d802fd0
8352422: [ubsan] Out-of-range reported in ciMethod.cpp:917:20: runtim…
marc-chevalier Apr 30, 2025
765cef4
8355878: RISC-V: jdk/incubator/vector/DoubleMaxVectorTests.java fails…
zifeihan Apr 30, 2025
526951d
8354145: G1: UseCompressedOops boundary is calculated on maximum heap…
tbzhang Apr 30, 2025
0110aca
8354791: Use Hashtable.putIfAbsent in CSS constructor
Apr 30, 2025
482538b
8351884: Refactor bug8033699.java test code
rajamah Apr 30, 2025
4c695fa
8351000: StringBuilder getChar and putChar robustness
Apr 30, 2025
fbc4691
8351565: Implement JEP 502: Stable Values (Preview)
minborg Apr 30, 2025
6612281
8342886: Update MET timezone in TimeZoneNames files
gauthamkrishnanibm Apr 30, 2025
486acc0
8355453: nsk.share.jdi.Debugee.waitingEvent() does not timeout properly
plummercj Apr 30, 2025
50145bb
8355773: Some nsk/jdi tests can fetch ThreadReference from static fie…
plummercj Apr 30, 2025
18983b6
8355391: Use Long::hashCode in java.time
Apr 30, 2025
9a2a2c5
8354547: REDO: Force clients to explicitly pass mem_tag value, even i…
Apr 30, 2025
1ff7e81
8354897: Support Soft/Weak Reference in AOT cache
Apr 30, 2025
1313349
8350498: Remove two Camerfirma root CA certificates
rhalade Apr 30, 2025
bccf057
8355971: Build warnings after the changes for JDK-8354996
liach Apr 30, 2025
4cc19ba
8355650: Remove unused fields in ParkEvent
zhengyu123 Apr 30, 2025
24bc714
8355956: Prepare javap for class file format aware access flag parsing
liach Apr 30, 2025
e36756b
8297727: Forcing LF interpretation lead to StackOverflowError in refl…
liach Apr 30, 2025
e2ae50d
8355569: Some nsk/jdi tests can glean the "main" thread by using the …
plummercj Apr 30, 2025
8ef7e25
8355769: Optimize nmethod dependency recording
shipilev May 1, 2025
b218410
8354292: Remove unused PRAGMA_FORMAT_IGNORED
gustavosimon May 1, 2025
0a697f6
8344708: Implement JEP 511: Module Import Declarations
lahodaj May 1, 2025
0cd0afb
8355913: RISC-V: improve hotspot/jtreg/compiler/vectorization/runner/…
May 1, 2025
7b31762
8354235: Test javax/net/ssl/SSLSocket/Tls13PacketSize.java failed wit…
May 1, 2025
34807df
8355779: When no "signature_algorithms_cert" extension is present we …
artur-oracle May 1, 2025
bee273d
8297271: AccessFlag.maskToAccessFlags should be specific to class fil…
liach May 1, 2025
2ad639f
8356021: Use Double::hashCode in java.util.Locale::hashCode
wenshao May 1, 2025
09cae5f
8354407: Test com/sun/management/OperatingSystemMXBean/GetProcessCpuL…
kevinjwalls May 1, 2025
6b553ac
8277424: javax/net/ssl/TLSCommon/TLSTest.java fails with connection …
myankelev May 1, 2025
cf0db96
8354084: Streamline XPath API's extension function control
JoeWang-Java May 1, 2025
394961c
8328914: Document the java.security.debug property in javadoc
koushikthirupattur May 1, 2025
9e26b9f
8355372: GenShen: Test gc/shenandoah/generational/TestOldGrowthTrigge…
May 1, 2025
c116b18
8355559: Benchmark modification/extension shouldn't affect the behavi…
May 1, 2025
aae2bb6
8350209: Preserve adapters in AOT cache
May 1, 2025
6536430
8348732: SunJCE and SunPKCS11 have different PBE key encodings
slumericanB May 1, 2025
494ef6c
8354305: SHAKE128 and SHAKE256 MessageDigest algorithms
wangweij May 1, 2025
c514f13
8356051: Update SignatureUtil.java with the new KnownOIDs
wangweij May 2, 2025
bd7c778
8350549: MethodHandleProxies.WRAPPER_TYPES is not thread-safe
liach May 2, 2025
d29700c
8344706: Implement JEP 512: Compact Source Files and Instance Main Me…
lahodaj May 2, 2025
811f117
8355980: RISC-V: remove vmclr_m before vmsXX and vmfXX
May 2, 2025
afb9134
8355627: Don't use ThreadCritical for EventLog list
coleenp May 2, 2025
cdad6d7
8216437: PPC64: Add intrinsic for GHASH algorithm
May 2, 2025
cf2f9ce
8356032: createAutoconfBundle.sh downloads to local directory
Domest0s May 2, 2025
995d541
8355681: G1HeapRegionManager::find_contiguous_allow_expand ignores fr…
May 2, 2025
9f9e73d
8349146: [REDO] Implement a better allocator for downcalls
minborg May 2, 2025
01fd49f
8355446: Change to Xcode 15.4 for building on macOS at Oracle
vidmik May 2, 2025
5faa559
8355444: [java.io] Use @requires tag instead of exiting based on "os.…
May 2, 2025
4826a91
8355443: [java.io] Use @requires tag instead of exiting based on File…
May 2, 2025
84f570c
8355445: [java.nio] Use @requires tag instead of exiting based on "os…
May 2, 2025
c8bbcaf
8348638: Performance regression in Math.tanh
missa-prime May 2, 2025
60ba81d
8354347: Increase the default padding size for aarch64 in JDK code.
May 2, 2025
56468c4
8322810: Lambda expression types can't be classes
May 2, 2025
4d2d129
8355962: RISCV64 cross build fails after 8354996
liach May 2, 2025
03f0ec4
8183348: Better cleanup for jdk/test/sun/security/pkcs12/P12SecretKey…
myankelev May 2, 2025
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
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ trim_trailing_whitespace = true

[Makefile]
trim_trailing_whitespace = true

[src/hotspot/**.{cpp,hpp,h}]
indent_style = space
indent_size = 2
10 changes: 5 additions & 5 deletions doc/building.html
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ <h2 id="operating-system-requirements">Operating System
</tr>
<tr class="odd">
<td>macOS</td>
<td>macOS 13.x (Ventura)</td>
<td>macOS 14.x</td>
</tr>
<tr class="even">
<td>Windows</td>
Expand Down Expand Up @@ -513,8 +513,8 @@ <h3 id="macos">macOS</h3>
a continuously updated machine running macOS. See the section on <a
href="#apple-xcode">Apple Xcode</a> on some strategies to deal with
this.</p>
<p>It is recommended that you use at least macOS 13 (Ventura) and Xcode
14, but earlier versions may also work.</p>
<p>It is recommended that you use at least macOS 14 and Xcode 15.4, but
earlier versions may also work.</p>
<p>The standard macOS environment contains the basic tooling needed to
build, but for external libraries a package manager is recommended. The
JDK uses <a href="https://brew.sh/">homebrew</a> in the examples, but
Expand Down Expand Up @@ -590,11 +590,11 @@ <h2 id="native-compiler-toolchain-requirements">Native Compiler
</tr>
<tr class="even">
<td>macOS</td>
<td>Apple Xcode 14.3.1 (using clang 14.0.3)</td>
<td>Apple Xcode 15.4 (using clang 15.0.0)</td>
</tr>
<tr class="odd">
<td>Windows</td>
<td>Microsoft Visual Studio 2022 version 17.6.5</td>
<td>Microsoft Visual Studio 2022 version 17.13.2</td>
</tr>
</tbody>
</table>
Expand Down
14 changes: 7 additions & 7 deletions doc/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ time of writing.
| ----------------- | ---------------------------------- |
| Linux/x64 | Oracle Enterprise Linux 6.4 / 8.x |
| Linux/aarch64 | Oracle Enterprise Linux 7.6 / 8.x |
| macOS | macOS 13.x (Ventura) |
| macOS | macOS 14.x |
| Windows | Windows Server 2016 |

The double version numbers for Linux are due to the hybrid model used at
Expand Down Expand Up @@ -327,7 +327,7 @@ difficult for a project such as the JDK to keep pace with a continuously
updated machine running macOS. See the section on [Apple Xcode](#apple-xcode)
on some strategies to deal with this.

It is recommended that you use at least macOS 13 (Ventura) and Xcode 14, but
It is recommended that you use at least macOS 14 and Xcode 15.4, but
earlier versions may also work.

The standard macOS environment contains the basic tooling needed to build, but
Expand Down Expand Up @@ -390,11 +390,11 @@ possible to compile the JDK with both older and newer versions, but the closer
you stay to this list, the more likely you are to compile successfully without
issues.

| Operating system | Toolchain version |
| ------------------ | ------------------------------------------- |
| Linux | gcc 14.2.0 |
| macOS | Apple Xcode 14.3.1 (using clang 14.0.3) |
| Windows | Microsoft Visual Studio 2022 version 17.6.5 |
| Operating system | Toolchain version |
| ------------------ | -------------------------------------------- |
| Linux | gcc 14.2.0 |
| macOS | Apple Xcode 15.4 (using clang 15.0.0) |
| Windows | Microsoft Visual Studio 2022 version 17.13.2 |

All compilers are expected to be able to handle the C11 language standard for
C, and C++14 for C++.
Expand Down
20 changes: 19 additions & 1 deletion make/Bundles.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,11 @@ else
JRE_IMAGE_HOMEDIR := $(JRE_IMAGE_DIR)
JDK_BUNDLE_SUBDIR := jdk-$(VERSION_NUMBER)
JRE_BUNDLE_SUBDIR := jre-$(VERSION_NUMBER)
STATIC_JDK_BUNDLE_SUBDIR := static-jdk-$(VERSION_NUMBER)
ifneq ($(DEBUG_LEVEL), release)
JDK_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
JRE_BUNDLE_SUBDIR := $(JRE_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
STATIC_JDK_BUNDLE_SUBDIR := $(STATIC_JDK_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
endif
# In certain situations, the JDK_IMAGE_DIR points to an image without the
# the symbols and demos. If so, the symobls and demos can be found in a
Expand Down Expand Up @@ -500,6 +502,21 @@ ifneq ($(filter static-libs-graal-bundles, $(MAKECMDGOALS)), )
STATIC_LIBS_GRAAL_TARGETS += $(BUILD_STATIC_LIBS_GRAAL_BUNDLE)
endif

#################################################################################

ifneq ($(filter static-jdk-bundles, $(MAKECMDGOALS)), )
STATIC_JDK_BUNDLE_FILES := $(call FindFiles, $(STATIC_JDK_IMAGE_DIR))

$(eval $(call SetupBundleFile, BUILD_STATIC_JDK_BUNDLE, \
BUNDLE_NAME := $(STATIC_JDK_BUNDLE_NAME), \
FILES := $(STATIC_JDK_BUNDLE_FILES), \
BASE_DIRS := $(STATIC_JDK_IMAGE_DIR), \
SUBDIR := $(STATIC_JDK_BUNDLE_SUBDIR), \
))

STATIC_JDK_TARGETS += $(BUILD_STATIC_JDK_BUNDLE)
endif

################################################################################

product-bundles: $(PRODUCT_TARGETS)
Expand All @@ -510,11 +527,12 @@ docs-javase-bundles: $(DOCS_JAVASE_TARGETS)
docs-reference-bundles: $(DOCS_REFERENCE_TARGETS)
static-libs-bundles: $(STATIC_LIBS_TARGETS)
static-libs-graal-bundles: $(STATIC_LIBS_GRAAL_TARGETS)
static-jdk-bundles: $(STATIC_JDK_TARGETS)
jcov-bundles: $(JCOV_TARGETS)

.PHONY: product-bundles test-bundles \
docs-jdk-bundles docs-javase-bundles docs-reference-bundles \
static-libs-bundles static-libs-graal-bundles jcov-bundles
static-libs-bundles static-libs-graal-bundles static-jdk-bundles jcov-bundles

################################################################################

Expand Down
2 changes: 1 addition & 1 deletion make/Docs.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ JAVADOC_DISABLED_DOCLINT_PACKAGES := org.w3c.* javax.smartcardio
JAVADOC_OPTIONS := -use -keywords -notimestamp \
-serialwarn -encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
-splitIndex --system none -javafx --expand-requires transitive \
--override-methods=summary
--override-methods=summary --syntax-highlight

# The reference options must stay stable to allow for comparisons across the
# development cycle.
Expand Down
6 changes: 6 additions & 0 deletions make/Main.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,12 @@ $(eval $(call SetupTarget, static-libs-graal-bundles, \
DEPS := static-libs-graal-image, \
))

$(eval $(call SetupTarget, static-jdk-bundles, \
MAKEFILE := Bundles, \
TARGET := static-jdk-bundles, \
DEPS := static-jdk-image, \
))

ifeq ($(JCOV_ENABLED), true)
$(eval $(call SetupTarget, jcov-bundles, \
MAKEFILE := Bundles, \
Expand Down
5 changes: 5 additions & 0 deletions make/RunTests.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,11 @@ define SetupRunJtregTestBody
JTREG_AUTO_PROBLEM_LISTS += ProblemList-shenandoah.txt
endif

ifneq ($$(findstring --enable-preview, $$(JTREG_ALL_OPTIONS)), )
JTREG_AUTO_PROBLEM_LISTS += ProblemList-enable-preview.txt
endif


ifneq ($$(JTREG_EXTRA_PROBLEM_LISTS), )
# Accept both absolute paths as well as relative to the current test root.
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \
Expand Down
15 changes: 14 additions & 1 deletion make/autoconf/jdk-options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -520,8 +520,21 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_UNDEFINED_BEHAVIOR_SANITIZER],
# Silence them for now.
UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base -fno-sanitize=alignment \
$ADDITIONAL_UBSAN_CHECKS"
UBSAN_CFLAGS="$UBSAN_CHECKS -Wno-stringop-truncation -Wno-format-overflow -Wno-array-bounds -Wno-stringop-overflow -fno-omit-frame-pointer -DUNDEFINED_BEHAVIOR_SANITIZER"
UBSAN_CFLAGS="$UBSAN_CHECKS -Wno-array-bounds -fno-omit-frame-pointer -DUNDEFINED_BEHAVIOR_SANITIZER"
if test "x$TOOLCHAIN_TYPE" = "xgcc"; then
UBSAN_CFLAGS="$UBSAN_CFLAGS -Wno-format-overflow -Wno-stringop-overflow -Wno-stringop-truncation"
fi
UBSAN_LDFLAGS="$UBSAN_CHECKS"
# On AIX, the llvm_symbolizer is not found out of the box, so we have to provide the
# full qualified llvm_symbolizer path in the __ubsan_default_options() function in
# make/data/ubsan/ubsan_default_options.c. To get it there we compile our sources
# with an additional define LLVM_SYMBOLIZER, which we set here.
# To calculate the correct llvm_symbolizer path we can use the location of the compiler, because
# their relation is fixed.
if test "x$TOOLCHAIN_TYPE" = "xclang" && test "x$OPENJDK_TARGET_OS" = "xaix"; then
UBSAN_CFLAGS="$UBSAN_CFLAGS -fno-sanitize=function,vptr -DLLVM_SYMBOLIZER=$(dirname $(dirname $CC))/tools/ibm-llvm-symbolizer"
UBSAN_LDFLAGS="$UBSAN_LDFLAGS -fno-sanitize=function,vptr -Wl,-bbigtoc"
fi
UTIL_ARG_ENABLE(NAME: ubsan, DEFAULT: false, RESULT: UBSAN_ENABLED,
DESC: [enable UndefinedBehaviorSanitizer],
CHECK_AVAILABLE: [
Expand Down
4 changes: 4 additions & 0 deletions make/autoconf/spec.gmk.template
Original file line number Diff line number Diff line change
Expand Up @@ -846,10 +846,12 @@ SVE_CFLAGS := @SVE_CFLAGS@
JDK_IMAGE_SUBDIR := jdk
JRE_IMAGE_SUBDIR := jre
JCOV_IMAGE_SUBDIR := jdk-jcov
STATIC_JDK_IMAGE_SUBDIR := static-jdk

# Colon left out to be able to override output dir for bootcycle-images
JDK_IMAGE_DIR = $(IMAGES_OUTPUTDIR)/$(JDK_IMAGE_SUBDIR)
JRE_IMAGE_DIR = $(IMAGES_OUTPUTDIR)/$(JRE_IMAGE_SUBDIR)
STATIC_JDK_IMAGE_DIR = $(IMAGES_OUTPUTDIR)/$(STATIC_JDK_IMAGE_SUBDIR)
JCOV_IMAGE_DIR = $(IMAGES_OUTPUTDIR)/$(JCOV_IMAGE_SUBDIR)

# Test image, as above
Expand Down Expand Up @@ -929,6 +931,7 @@ DOCS_JAVASE_BUNDLE_NAME := javase-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
DOCS_REFERENCE_BUNDLE_NAME := jdk-reference-$(BASE_NAME)_doc-api-spec$(DEBUG_PART).tar.gz
STATIC_LIBS_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-static-libs$(DEBUG_PART).tar.gz
STATIC_LIBS_GRAAL_BUNDLE_NAME := jdk-$(BASE_NAME)_bin-static-libs-graal$(DEBUG_PART).tar.gz
STATIC_JDK_BUNDLE_NAME := static-jdk-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION)
JCOV_BUNDLE_NAME := jdk-jcov-$(BASE_NAME)_bin$(DEBUG_PART).$(JDK_BUNDLE_EXTENSION)

JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JDK_BUNDLE_NAME)
Expand All @@ -939,6 +942,7 @@ TEST_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(TEST_BUNDLE_NAME)
DOCS_JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(DOCS_JDK_BUNDLE_NAME)
DOCS_JAVASE_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(DOCS_JAVASE_BUNDLE_NAME)
DOCS_REFERENCE_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(DOCS_REFERENCE_BUNDLE_NAME)
STATIC_JDK_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(STATIC_JDK_BUNDLE_NAME)
JCOV_BUNDLE := $(BUNDLES_OUTPUTDIR)/$(JCOV_BUNDLE_NAME)

# This macro is called to allow inclusion of closed source counterparts.
Expand Down
4 changes: 2 additions & 2 deletions make/conf/jib-profiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -1089,8 +1089,8 @@ var getJibProfilesDependencies = function (input, common) {

var devkit_platform_revisions = {
linux_x64: "gcc14.2.0-OL6.4+1.0",
macosx: "Xcode14.3.1+1.0",
windows_x64: "VS2022-17.6.5+1.0",
macosx: "Xcode15.4+1.0",
windows_x64: "VS2022-17.13.2+1.0",
linux_aarch64: "gcc14.2.0-OL7.6+1.0",
linux_arm: "gcc8.2.0-Fedora27+1.0",
linux_ppc64le: "gcc14.2.0-Fedora_41+1.0",
Expand Down
16 changes: 14 additions & 2 deletions make/data/ubsan/ubsan_default_options.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2022, 2025, 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 @@ -43,12 +43,24 @@
#define ATTRIBUTE_USED
#endif

// On AIX, the llvm_symbolizer is not found out of the box, so we have to provide the
// full qualified llvm_symbolizer path in the __ubsan_default_options() function.
// To get it here we compile our sources with an additional define LLVM_SYMBOLIZER
// containing the path, which we set in make/autoconf/jdk-options.m4.
#ifdef LLVM_SYMBOLIZER
#define _LLVM_SYMBOLIZER(X) ",external_symbolizer_path=" X_LLVM_SYMBOLIZER(X)
#define X_LLVM_SYMBOLIZER(X) #X
#else
#define LLVM_SYMBOLIZER
#define _LLVM_SYMBOLIZER(X)
#endif

// Override weak symbol exposed by UBSan to override default options. This is called by UBSan
// extremely early during library loading, before main is called. We need to override the default
// options because by default UBSan only prints a warning for each occurrence. We want jtreg tests
// to fail when undefined behavior is encountered. We also want a full stack trace for the offending
// thread so it is easier to track down. You can override these options by setting the environment
// variable UBSAN_OPTIONS.
ATTRIBUTE_DEFAULT_VISIBILITY ATTRIBUTE_USED const char* __ubsan_default_options() {
return "halt_on_error=1,print_stacktrace=1";
return "halt_on_error=1,print_stacktrace=1" _LLVM_SYMBOLIZER(LLVM_SYMBOLIZER);
}
Loading