Skip to content

Jdk 8333664 #2

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 1,493 commits into
base: decouple-junit
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1493 commits
Select commit Hold shift + click to select a range
04ad59d
8316397: StackTrace/Suspended/GetStackTraceSuspendedStressTest.java f…
Apr 12, 2025
ed756b9
8352922: Refactor client classes javadoc to use @throws instead of @e…
mrserb Apr 12, 2025
5d97608
8254622: Hide superclasses from conditionally exported packages
hns Apr 13, 2025
b539fb0
8352877: Opensource Several Font related tests - Batch 1
Apr 14, 2025
2595c47
8354231: x86: Purge FPU support from (Macro)Assembler after 32-bit x8…
shipilev Apr 14, 2025
337dacd
8354310: JFR: Inconsistent metadata in ZPageAllocation
jsikstro Apr 14, 2025
44245f3
8354215: Clean up Loom support after 32-bit x86 removal
shipilev Apr 14, 2025
cf27a42
8354426: [ubsan] applying non-zero offset 34359738368 to null pointer…
MBaesken Apr 14, 2025
f169fc5
8353175: Eliminate double iteration of stream in FieldDescriptor rein…
Apr 14, 2025
f8ae1d4
8354254: Remove the linux ppc64 -minsert-sched-nops=regroup_exact com…
MBaesken Apr 14, 2025
51ce312
8348645: IGV: visualize live ranges
robcasloz Apr 14, 2025
97e1075
8354358: ZGC: ZPartition::prime handle discontiguous reservations cor…
xmas92 Apr 14, 2025
16657db
8354449: Remove com/sun/org/apache/xml/internal/security/resource/xml…
seanjmullan Apr 14, 2025
313c34a
8354513: Bug in j.u.l.Handler deadlock test allows null pointer durin…
david-beaumont Apr 14, 2025
d748bb5
8343157: Examine large files for character encoding/decoding
naotoj Apr 14, 2025
43b1947
8344883: Force clients to explicitly pass mem_tag value, even if it i…
Apr 14, 2025
d684867
8346230: [perf] scalability issue for the specjvm2008::xml.transform …
Apr 14, 2025
46a6fc8
8353483: Open source some JProgressBar tests
prrace Apr 14, 2025
de0e648
8352724: Verify bounds for primitive array reads in JVMCI
pecimuth Apr 14, 2025
0da480a
8354535: [BACKOUT] Force clients to explicitly pass mem_tag value, ev…
Apr 14, 2025
f6d8c8c
8351339: WebSocket::sendBinary assume that user supplied buffers are …
Apr 14, 2025
9e7763d
8354536: Problem-list java/util/logging/LoggingDeadlock5.java due to …
dfuch Apr 14, 2025
5280b7b
8353592: Open source several scrollbar tests
Apr 14, 2025
92e52fe
8353946: Incorrect WINDOWS ifdef in os::build_agent_function_name
Apr 15, 2025
c7b70a1
8354111: JavaDoc states that Iterator.remove() is linear in the Linke…
kabutz Apr 15, 2025
76ff978
8354510: Skipped gtest cause test failure
xmas92 Apr 15, 2025
3090e21
8353572: x86: AMD platforms miss the check for CLWB feature flag
shipilev Apr 15, 2025
b783784
8354163: Open source Swing tests Batch 1
jayathirthrao Apr 15, 2025
24be888
8351833: Unexpected increase in live nodes when splitting Phis throug…
Apr 15, 2025
81d4c80
8354507: [ubsan] subnode.cpp:406:36: runtime error: negation of -9223…
MBaesken Apr 15, 2025
d7676c3
8354508: JFR: Strengthen metadata checks for labels
egahlin Apr 15, 2025
4e24dc0
8353185: Introduce the concept of upgradeable files in context of JEP…
jerboaa Apr 15, 2025
03fd43f
8353453: URLDecoder should use HexFormat
kilink Apr 15, 2025
5fc18f5
8350279: HttpClient: Add a new HttpResponse method to identify connec…
Apr 15, 2025
273a9a6
8354448: [REDO] Remove friends for ObjectMonitor
coleenp Apr 15, 2025
36864a2
8351491: Add info from release file to hserr file
MBaesken Apr 15, 2025
fc14647
8354320: Changes to jpackage.md cause pandoc warning
Apr 15, 2025
cec48ed
8354542: Clean up x86 stubs after 32-bit x86 removal
shipilev Apr 15, 2025
4e3f184
8353000: Open source several swing tests batch2
Apr 15, 2025
513c465
8354544: Fix bugs in increment and xor APX codegen
Apr 15, 2025
a2dc9c7
8352908: Open source several swing tests batch1
Apr 15, 2025
5526490
8354565: jtreg failure handler GatherProcessInfoTimeoutHandler has a …
jaikiran Apr 16, 2025
55afcb5
8352682: Opensource JComponent tests
prsadhuk Apr 16, 2025
2be5bc8
8354214: Open source Swing tests Batch 2
jayathirthrao Apr 16, 2025
9a5c7b3
8351162: Clean up x86 (Macro)Assembler after 32-bit x86 removal
shipilev Apr 16, 2025
43b2b0b
8343007: Enhance Buffered Image handling
prsadhuk Dec 2, 2024
cf871db
8342562: Enhance Deflater operations
jaikiran Dec 13, 2024
ef38a04
8337494: Clarify JarInputStream behavior
Jan 2, 2025
e91b3f0
8337692: Better TLS connection support
Jan 8, 2025
38afa4d
8338430: Improve compiler transformations
dafedafe Jan 20, 2025
ed30fce
8347847: Enhance jar file support
Jan 27, 2025
18d605f
8354629: Test tools/jlink/ClassFileInMetaInfo.java fails on builds wi…
jerboaa Apr 16, 2025
4c3c2b3
8354576: InetAddress.getLocalHost() on macos may return address of an…
jaikiran Apr 16, 2025
cfbbcd7
8350595: jshell <TAB> completion on arrays does not work for clone()
lahodaj Apr 16, 2025
8c6b611
8353832: Opensource FontClass, Selection and Icon tests
Apr 16, 2025
fe3bd5d
8354667: [TESTBUG] AccessZeroNKlassHitsProtectionZone cds tests requi…
robehn Apr 16, 2025
c6243fc
Merge
jaikiran Apr 16, 2025
7ffad35
8352568: Test gtest/AsyncLogGtest.java failed at droppingMessage_vm
jdksjolen Apr 16, 2025
1ad869f
8322706: AnnotationTypeMismatchException in javac with annotation pro…
lahodaj Apr 16, 2025
465c8e6
8349721: Add aarch64 intrinsics for ML-KEM
ferakocz Apr 16, 2025
c3de94c
8352942: jdk/jfr/startupargs/TestMemoryOptions.java fails with 32-bit…
tkiriyama Apr 16, 2025
84458ec
8353013: java.net.URI.create(String) may have low performance to scan…
Apr 16, 2025
7a107e2
8351603: Change to GCC 14.2.0 for building on Linux at Oracle
vidmik Apr 16, 2025
d80db00
8354873: javax/swing/plaf/metal/MetalIconFactory/bug4952462.java fail…
Apr 16, 2025
e433fa2
8352001: AOT cache should not contain classes injected into built-in …
iklam Apr 16, 2025
98dac46
8353589: Open source a few Swing menu-related tests
prrace Apr 16, 2025
0c34bf0
8354471: Assertion failure with -XX:-EnableX86ECoreOpts
Apr 16, 2025
a2d7f44
8295651: JFR: 'jfr scrub' should summarize what was removed
egahlin Apr 16, 2025
db2dffb
8354559: gc/g1/TestAllocationFailure.java doesn't need WB API
lmesnik Apr 16, 2025
07aad68
8329887: RISC-V: C2: Support Zvbb Vector And-Not instruction
Anjian-Wen Apr 17, 2025
a71f621
8353694: Resolved Class/Field/Method CP entries missing from AOT Conf…
iklam Apr 17, 2025
055b750
8354543: Set more meaningful names for "get_vm_result" and "get_vm_re…
Apr 17, 2025
af7a19a
8354802: MAX_SECS definition is unused in os_linux
MBaesken Apr 17, 2025
3d0feba
8352865: Open source several AWT TextComponent tests - Batch 2
Apr 17, 2025
e00355a
8353958: Open source several AWT ScrollPane tests - Batch 2
Apr 17, 2025
a4e9da3
8354191: GTK LaF should use pre-multiplied alpha same as cairo
Apr 17, 2025
fabf67c
8354625: Compile::igv_print_graph_to_network doesn't use its second p…
marc-chevalier Apr 17, 2025
1138a18
8344251: C2: remove blackholes with dead control input
marc-chevalier Apr 17, 2025
5125ceb
8349405: Redundant and confusing null checks on data from CP::resolve…
coleenp Apr 17, 2025
9502ab0
8354766: Test TestUnexported.java javac build fails
Apr 17, 2025
e9c8986
8354493: Opensource Several MultiScreen and Insets related tests
Apr 17, 2025
4c99489
8354285: Open source Swing tests Batch 3
jayathirthrao Apr 17, 2025
e21387e
8354365: Opensource few Modal and Full Screen related tests
Apr 17, 2025
dda4b5a
8354418: Open source Swing tests Batch 4
jayathirthrao Apr 17, 2025
abb2382
8350807: Certificates using MD5 algorithm that are disabled by defaul…
Apr 17, 2025
86f3eaf
8353009: Improve documentation for Windows AArch64 builds
swesonga Apr 17, 2025
cd8adf1
8354926: Remove remnants of debugging in the fix for JDK-8348561 and …
ferakocz Apr 17, 2025
d1d81dd
8353953: con/sun/jdi tests should be fixed to not always require incl…
plummercj Apr 17, 2025
e639cd6
8353213: Open source several swing tests batch3
Apr 17, 2025
5660922
8353070: Clean up and open source couple AWT Graphics related tests (…
Apr 17, 2025
04c32fc
8354522: Clones of DecimalFormat cause interferences when used concur…
j3graham Apr 17, 2025
e163a76
8354106: Clean up and open source KeyEvent related tests (Part 2)
Apr 17, 2025
3e3dff6
8354451: Open source some more Swing popup menu tests
prrace Apr 17, 2025
31e293b
8354552: Open source a few Swing tests
prrace Apr 17, 2025
4eae9b5
8354541: Remove Shenandoah post barrier expand loop opts
Apr 17, 2025
7b06188
8354464: Additional cleanup setting up native.encoding
Apr 17, 2025
1b4b317
8354789: Unnecessary null check in sun.awt.windows.WToolkit.getFontPeer
Apr 17, 2025
ad7c475
8353655: Clean up and open source KeyEvent related tests (Part 1)
Apr 17, 2025
38f138b
8354985: Add unit tests for Executor class from jpackage test lib
Apr 17, 2025
0995b94
8354815: RISC-V: Change type of bitwise rotation shift to iRegIorL2I
Anjian-Wen Apr 18, 2025
0feecb7
8351851: Update PmemTest to run on AMD64
Apr 18, 2025
eda7394
8354900: javax/swing/AbstractButton/bug4133768.java failing on macosx…
jayathirthrao Apr 18, 2025
22e8a97
8354988: Separate stderr and stdout in Executor class from jpackage t…
Apr 18, 2025
bb08a70
8355002: Clean up some mentions of "applet" in tests
prrace Apr 18, 2025
a551cc9
8353293: Open source several swing tests batch4
Apr 18, 2025
924638c
8353661: Open source several swing tests batch5
Apr 18, 2025
f8f1be3
8353552: Opensource Several Font related tests - Batch 3
Apr 18, 2025
abbf1a0
8355051: Problemlist java/awt/Graphics2D/CopyAreaOOB.java on macosx-a…
Apr 18, 2025
bf63f9f
8353319: Open source Swing tests - Set 3
Apr 18, 2025
38f9b3a
8353748: Open source several swing tests batch6
Apr 18, 2025
76dec47
8354340: Open source Swing Tests - Set 6
Apr 18, 2025
bd73127
8354532: Open source JFileChooser Tests - Set 7
Apr 18, 2025
4f58af0
8259540: MissingResourceException for key cvc-complex-type.2.4.d.1
Apr 19, 2025
c7c77eb
8354077: Get rid of offscreenSharingEnabled windows flag
mrserb Apr 19, 2025
128f2d1
8354572: Turn off AlwaysMergeDMB for Ampere CPU by default
limingliv Apr 19, 2025
4dd64b4
8354477: C2 SuperWord: make use of memory edges more explicit
eme64 Apr 21, 2025
cd2d49f
8354472: Clean up and open source KeyEvent related tests (Part 3)
Apr 21, 2025
ecb54a0
8354523: runtime/Monitor/SyncOnValueBasedClassTest.java triggers SIGSEGV
rkennke Apr 21, 2025
684d3b3
8354774: DocumentBuilderFactory getAttribute throws NPE
JoeWang-Java Apr 21, 2025
a7128d8
8354653: Clean up and open source KeyEvent related tests (Part 4)
Apr 21, 2025
8270cd0
8353470: Clean up and open source couple AWT Graphics related tests (…
Apr 21, 2025
1526dd8
8354344: Test behavior after cut-over for future ISO 4217 currency
Apr 21, 2025
f715518
8353011: Open source Swing JButton tests - Set 1
Apr 21, 2025
9a0cff6
8353942: Open source Swing Tests - Set 5
Apr 21, 2025
47f78a7
8354990: Improve negative tests coverage for jpackage signing
Apr 22, 2025
7a72f0f
8354465: Open some JTable bugs 8
Apr 22, 2025
ade67df
8354233: Open some JTable bugs 6
Apr 22, 2025
f880fa9
8352793: Open source several AWT TextComponent tests - Batch 1
Apr 22, 2025
0be3f16
8341608: jdeps in JDK 23 crashes when parsing signatures while jdeps …
liach Apr 22, 2025
e2cb646
8343977: Convert java/awt/TextArea/TextAreaCursorTest/HoveringAndDrag…
Apr 22, 2025
d1d7d25
8353957: Open source several AWT ScrollPane tests - Batch 1
Apr 22, 2025
33bdc80
8355241: Move NativeDialogToFrontBackTest.java PL test to manual cate…
Apr 22, 2025
a55ccd2
8352905: Open some JComboBox bugs 1
Apr 22, 2025
2f7806f
8355034: [JVMCI] assert(static_cast<int>(_jvmci_data_size) == align_u…
Apr 22, 2025
17b080b
8353446: Open source several AWT Menu tests - Batch 2
Apr 22, 2025
0b2a2f3
8353685: Open some JComboBox bugs 4
Apr 22, 2025
7eab2d9
8354095: Open some JTable bugs 5
Apr 22, 2025
367bcc5
8353445: Open source several AWT Menu tests - Batch 1
Apr 22, 2025
50358d1
8354929: ZGC: Update collection stats while holding page allocator lock
kstefanj Apr 22, 2025
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
3dbedea
Merge branch 'master' into JDK-8333664
alexeysemenyukoracle 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
eb92748
Bugfix for ErrorTest.testMacSigningIdentityValidation() and move "err…
alexeysemenyukoracle Apr 22, 2025
7b8dade
Move "error.certificate.expired" to SigningIdentityBuilder
alexeysemenyukoracle Apr 22, 2025
c778cfe
Better exception conv
alexeysemenyukoracle Apr 22, 2025
f8bd1a0
Remove dead code
alexeysemenyukoracle Apr 22, 2025
de38696
Fix "MacSignTest.testExpiredCertificate(MAC_PKG, [EXPIRED_SIGNING_KEY…
alexeysemenyukoracle Apr 23, 2025
d7478c8
Fix typo
alexeysemenyukoracle Apr 23, 2025
6227a4e
Fix BasicTest.testVerbose()
alexeysemenyukoracle Apr 23, 2025
847b51b
Remove redundant check from MacAppBundler.doValidate()
alexeysemenyukoracle Apr 23, 2025
c8fa2cc
Scrape MacAppImageBuilder
alexeysemenyukoracle Apr 23, 2025
0517315
Move MacBaseInstallerBundler.SIGNING_KEY_USER and MacBaseInstallerBun…
alexeysemenyukoracle Apr 23, 2025
3d907a4
Fix TempKeychain and make it work with multiple keychains
alexeysemenyukoracle Apr 23, 2025
32a597b
8355333: Some Problem list entries point to non-existent / wrong files
prrace Apr 23, 2025
f03c8c7
Remove jdk.jpackage.internal.cli package for now
alexeysemenyukoracle Apr 23, 2025
4f219fb
Bugfix
alexeysemenyukoracle 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
cdabdcf
Bugfix
alexeysemenyukoracle Apr 23, 2025
88e0b00
8353298: AOT cache creation asserts with _array_klasses in an unregis…
iklam Apr 23, 2025
f677334
EmptyFolderTest: bugfix
alexeysemenyukoracle 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
5e94889
PackageTest: fix to make it work when exe and msi packagings are both…
alexeysemenyukoracle Apr 23, 2025
6d907d3
Merge branch 'master' into JDK-8333664
alexeysemenyukoracle 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
9cee3bc
Bugfix
alexeysemenyukoracle Apr 24, 2025
351e4d0
Merge branch 'master' into JDK-8333664
alexeysemenyukoracle 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
9a4b9ee
Bugfix
alexeysemenyukoracle Apr 24, 2025
0f369a6
Better test
alexeysemenyukoracle Apr 24, 2025
e440d3d
Bugfix a regression from JDK-8354988
alexeysemenyukoracle Apr 24, 2025
e01e33d
8354424: java/util/logging/LoggingDeadlock5.java fails intermittently…
david-beaumont Apr 24, 2025
68dff6e
Added MacPackage.app() returning MacApplication for convenience
alexeysemenyukoracle Apr 24, 2025
4bb8d7d
Bugfix
alexeysemenyukoracle Apr 24, 2025
f70fb15
Merge branch 'master' into JDK-8333664
alexeysemenyukoracle Apr 24, 2025
3cd8add
Bugfix
alexeysemenyukoracle Apr 25, 2025
14c01b4
Better test coverage
alexeysemenyukoracle Apr 25, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
root = true

[*.{cpp,hpp,c,h,java,cc,hh,m,mm,S,md,properties,gmk,m4,ac}]
trim_trailing_whitespace = true

[Makefile]
trim_trailing_whitespace = true
4 changes: 2 additions & 2 deletions .github/actions/do-build/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2024, 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 @@ -42,7 +42,7 @@ runs:
- name: 'Build'
id: build
run: >
make LOG=info ${{ inputs.make-target }}
make -k LOG=info ${{ inputs.make-target }}
|| bash ./.github/scripts/gen-build-failure-report.sh "$GITHUB_STEP_SUMMARY"
shell: bash

Expand Down
5 changes: 4 additions & 1 deletion .github/actions/upload-bundles/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ inputs:
debug-suffix:
description: 'File name suffix denoting debug level, possibly empty'
required: false
bundle-suffix:
description: 'Bundle name suffix, possibly empty'
required: false

runs:
using: composite
Expand Down Expand Up @@ -75,7 +78,7 @@ runs:
- name: 'Upload bundles artifact'
uses: actions/upload-artifact@v4
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}${{ inputs.bundle-suffix }}
path: bundles
retention-days: 1
if: steps.bundles.outputs.bundles-found == 'true'
20 changes: 8 additions & 12 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ on:
make-arguments:
required: false
type: string
bundle-suffix:
required: false
type: string

jobs:
build-linux:
Expand All @@ -71,10 +74,6 @@ jobs:
fail-fast: false
matrix:
debug-level: ${{ fromJSON(inputs.debug-levels) }}
include:
- debug-level: debug
flags: --with-debug-level=fastdebug
suffix: -debug

steps:
- name: 'Checkout the JDK source'
Expand Down Expand Up @@ -118,7 +117,7 @@ jobs:
run: >
bash configure
--with-conf-name=${{ inputs.platform }}
${{ matrix.flags }}
${{ matrix.debug-level == 'debug' && '--with-debug-level=fastdebug' || '' }}
--with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
--with-boot-jdk=${{ steps.bootjdk.outputs.path }}
--with-jtreg=${{ steps.jtreg.outputs.path }}
Expand All @@ -133,17 +132,14 @@ jobs:
- name: 'Build'
id: build
uses: ./.github/actions/do-build
env:
# Only build static-libs-bundles for release builds.
# For debug builds, building static-libs often exceeds disk space.
STATIC_LIBS: ${{ matrix.debug-level == 'release' && 'static-libs-bundles' }}
with:
make-target: '${{ inputs.make-target }} ${STATIC_LIBS} ${{ inputs.make-arguments }}'
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'
debug-suffix: "${{ matrix.debug-level == 'debug' && '-debug' || '' }}"

- name: 'Upload bundles'
uses: ./.github/actions/upload-bundles
with:
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'
debug-suffix: "${{ matrix.debug-level == 'debug' && '-debug' || '' }}"
bundle-suffix: ${{ inputs.bundle-suffix }}
37 changes: 37 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,43 @@ jobs:
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.prepare.outputs.linux-x64-variants == 'true'

build-linux-x64-static:
name: linux-x64-static
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
make-target: 'static-jdk-image'
# There are issues with fastdebug static build in GHA due to space limit.
# Only do release build for now.
debug-levels: '[ "release" ]'
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
# It currently doesn't produce any bundles, but probably will do in
# the future.
bundle-suffix: "-static"
if: needs.prepare.outputs.linux-x64 == 'true'

build-linux-x64-static-libs:
name: linux-x64-static-libs
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
make-target: 'static-libs-bundles'
# Only build static-libs-bundles for release builds.
# For debug builds, building static-libs often exceeds disk space.
debug-levels: '[ "release" ]'
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
# Upload static libs bundles separately to avoid interference with normal linux-x64 bundle.
# This bundle is not used by testing jobs, but downstreams use it to check that
# dependent projects, e.g. libgraal, builds fine.
bundle-suffix: "-static-libs"
if: needs.prepare.outputs.linux-x64-variants == 'true'

build-linux-cross-compile:
name: linux-cross-compile
needs: prepare
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ NashornProfile.txt
/.cache
/.gdbinit
/.lldbinit
**/core.[0-9]*
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Contributing to the JDK

Please see the [OpenJDK Developers Guide](https://openjdk.org/guide/).
Please see the [OpenJDK Developers' Guide](https://openjdk.org/guide/).
18 changes: 16 additions & 2 deletions doc/building.html
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ <h2 id="native-compiler-toolchain-requirements">Native Compiler
<tbody>
<tr class="odd">
<td>Linux</td>
<td>gcc 13.2.0</td>
<td>gcc 14.2.0</td>
</tr>
<tr class="even">
<td>macOS</td>
Expand All @@ -604,7 +604,7 @@ <h3 id="gcc">gcc</h3>
<p>The minimum accepted version of gcc is 10.0. Older versions will not
be accepted by <code>configure</code>.</p>
<p>The JDK is currently known to compile successfully with gcc version
13.2 or newer.</p>
14.2 or newer.</p>
<p>In general, any version between these two should be usable.</p>
<h3 id="clang">clang</h3>
<p>The minimum accepted version of clang is 13. Older versions will not
Expand Down Expand Up @@ -1722,6 +1722,20 @@ <h4 id="building-for-musl">Building for musl</h4>
--with-devkit=$DEVKIT \
--with-sysroot=$SYSROOT</code></pre>
<p>and run <code>make</code> normally.</p>
<h4 id="building-for-windows-aarch64">Building for Windows AArch64</h4>
<p>The Visual Studio Build Tools can be used for building the JDK
without a full Visual Studio installation. To set up the Visual Studio
2022 Build Tools on a Windows AArch64 machine for a native build, launch
the installer as follows in a Windows command prompt:</p>
<pre><code>vs_buildtools.exe --quiet --wait --norestart --nocache ^
--installPath &quot;%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools&quot; ^
--add Microsoft.VisualStudio.Component.VC.CoreBuildTools ^
--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 ^
--add Microsoft.VisualStudio.Component.Windows11SDK.22621</code></pre>
<p>To generate Windows AArch64 builds using Cygwin on a Windows x64
machine, you must set the proper target platform by adding
<code>--openjdk-target=aarch64-unknown-cygwin</code> to your configure
command line.</p>
<h2 id="build-performance">Build Performance</h2>
<p>Building the JDK requires a lot of horsepower. Some of the build
tools can be adjusted to utilize more or less of resources such as
Expand Down
22 changes: 20 additions & 2 deletions doc/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ issues.

| Operating system | Toolchain version |
| ------------------ | ------------------------------------------- |
| Linux | gcc 13.2.0 |
| 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 |

Expand All @@ -404,7 +404,7 @@ C, and C++14 for C++.
The minimum accepted version of gcc is 10.0. Older versions will not be accepted
by `configure`.

The JDK is currently known to compile successfully with gcc version 13.2 or
The JDK is currently known to compile successfully with gcc version 14.2 or
newer.

In general, any version between these two should be usable.
Expand Down Expand Up @@ -1457,6 +1457,24 @@ sh ./configure --with-jvm-variants=server \

and run `make` normally.

#### Building for Windows AArch64
The Visual Studio Build Tools can be used for building the JDK without a full
Visual Studio installation. To set up the Visual Studio 2022 Build Tools on a
Windows AArch64 machine for a native build, launch the installer as follows
in a Windows command prompt:

```
vs_buildtools.exe --quiet --wait --norestart --nocache ^
--installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools" ^
--add Microsoft.VisualStudio.Component.VC.CoreBuildTools ^
--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 ^
--add Microsoft.VisualStudio.Component.Windows11SDK.22621
```

To generate Windows AArch64 builds using Cygwin on a Windows x64 machine,
you must set the proper target platform by adding
`--openjdk-target=aarch64-unknown-cygwin` to your configure command line.

## Build Performance

Building the JDK requires a lot of horsepower. Some of the build tools can be
Expand Down
29 changes: 22 additions & 7 deletions doc/hotspot-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,23 +207,38 @@ <h3 id="source-files">Source Files</h3>
<ul>
<li><p>All source files must have a globally unique basename. The build
system depends on this uniqueness.</p></li>
<li><p>Keep the include lines within a section alphabetically sorted by
their lowercase value. If an include must be out of order for
correctness, suffix with it a comment such as
<code>// do not reorder</code>. Source code processing tools can also
use this hint.</p></li>
<li><p>Put conditional inclusions (<code>#if ...</code>) at the end of
the section of HotSpot include lines. This also applies to
macro-expanded includes of platform dependent files.</p></li>
<li><p>Put system includes in a section after the HotSpot include lines
with a blank line separating the two sections.</p></li>
<li><p>Do not put non-trivial function implementations in .hpp files. If
the implementation depends on other .hpp files, put it in a .cpp or a
.inline.hpp file.</p></li>
<li><p>.inline.hpp files should only be included in .cpp or .inline.hpp
files.</p></li>
<li><p>All .inline.hpp files should include their corresponding .hpp
file as the first include line. Declarations needed by other files
should be put in the .hpp file, and not in the .inline.hpp file. This
rule exists to resolve problems with circular dependencies between
.inline.hpp files.</p></li>
file as the first include line with a blank line separating it from the
rest of the include lines. Declarations needed by other files should be
put in the .hpp file, and not in the .inline.hpp file. This rule exists
to resolve problems with circular dependencies between .inline.hpp
files.</p></li>
<li><p>Do not include a .hpp file if the corresponding .inline.hpp file
is included.</p></li>
<li><p>Use include guards for .hpp and .inline.hpp files. The name of
the defined guard should be derived from the full search path of the
file relative to the hotspot source directory. The guard should be all
upper case with all paths separators and periods replaced by
underscores.</p></li>
<li><p>Some build configurations use precompiled headers to speed up the
build times. The precompiled headers are included in the precompiled.hpp
file. Note that precompiled.hpp is just a build time optimization, so
don't rely on it to resolve include problems.</p></li>
<li><p>Keep the include lines alphabetically sorted.</p></li>
<li><p>Put conditional inclusions (<code>#if ...</code>) at the end of
the include list.</p></li>
</ul>
<h3 id="jtreg-tests">JTReg Tests</h3>
<ul>
Expand Down
32 changes: 24 additions & 8 deletions doc/hotspot-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,21 @@ change should be done with a "setter" accessor matched to the simple

### Source Files

* All source files must have a globally unique basename. The build
* All source files must have a globally unique basename. The build
system depends on this uniqueness.

* Keep the include lines within a section alphabetically sorted by their
lowercase value. If an include must be out of order for correctness,
suffix with it a comment such as `// do not reorder`. Source code
processing tools can also use this hint.

* Put conditional inclusions (`#if ...`) at the end of the section of HotSpot
include lines. This also applies to macro-expanded includes of platform
dependent files.

* Put system includes in a section after the HotSpot include lines with a blank
line separating the two sections.

* Do not put non-trivial function implementations in .hpp files. If
the implementation depends on other .hpp files, put it in a .cpp or
a .inline.hpp file.
Expand All @@ -146,19 +158,23 @@ a .inline.hpp file.
files.

* All .inline.hpp files should include their corresponding .hpp file as
the first include line. Declarations needed by other files should be put
in the .hpp file, and not in the .inline.hpp file. This rule exists to
resolve problems with circular dependencies between .inline.hpp files.
the first include line with a blank line separating it from the rest of the
include lines. Declarations needed by other files should be put in the .hpp
file, and not in the .inline.hpp file. This rule exists to resolve problems
with circular dependencies between .inline.hpp files.

* Do not include a .hpp file if the corresponding .inline.hpp file is included.

* Use include guards for .hpp and .inline.hpp files. The name of the defined
guard should be derived from the full search path of the file relative to the
hotspot source directory. The guard should be all upper case with all paths
separators and periods replaced by underscores.

* Some build configurations use precompiled headers to speed up the
build times. The precompiled headers are included in the precompiled.hpp
file. Note that precompiled.hpp is just a build time optimization, so
don't rely on it to resolve include problems.

* Keep the include lines alphabetically sorted.

* Put conditional inclusions (`#if ...`) at the end of the include list.

### JTReg Tests

* JTReg tests should have meaningful names.
Expand Down
14 changes: 7 additions & 7 deletions doc/hotspot-unit-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Prefer having checks inside test code.

Not only does having test logic outside, e.g. verification method,
depending on asserts in product code contradict with several items
above but also decreases tests readability and stability. It is much
above but also decreases test's readability and stability. It is much
easier to understand that a test is testing when all testing logic is
located inside a test or nearby in shared test libraries. As a rule of
thumb, the closer a check to a test, the better.
Expand All @@ -119,7 +119,7 @@ Prefer `EXPECT` over `ASSERT` if possible.

This is related to the [informativeness](#informativeness) property of
tests, information for other checks can help to better localize a
defects root-cause. One should use `ASSERT` if it is impossible to
defect's root-cause. One should use `ASSERT` if it is impossible to
continue test execution or if it does not make much sense. Later in
the text, `EXPECT` forms will be used to refer to both
`ASSERT/EXPECT`.
Expand Down Expand Up @@ -160,7 +160,7 @@ value of the difference between `v1` and `v2` is not greater than `eps`.

Use string special macros for C strings comparisons.

`EXPECT_EQ` just compares pointers values, which is hardly what one
`EXPECT_EQ` just compares pointers' values, which is hardly what one
wants comparing C strings. GoogleTest provides `EXPECT_STREQ` and
`EXPECT_STRNE` macros to compare C string contents. There are also
case-insensitive versions `EXPECT_STRCASEEQ`, `EXPECT_STRCASENE`.
Expand Down Expand Up @@ -226,7 +226,7 @@ subsystem, etc.

This naming scheme helps to find tests, filter them and simplifies
test failure analysis. For example, class `Foo` - test group `Foo`,
compiler logging subsystem - test group `CompilerLogging`, G1 GC test
compiler logging subsystem - test group `CompilerLogging`, G1 GC - test
group `G1GC`, and so forth.

### Filename
Expand Down Expand Up @@ -287,7 +287,7 @@ Fixture classes should be named after tested classes, subsystems, etc

All test purpose friends should have either `Test` or `Testable` suffix.

It greatly simplifies understanding of friendships purpose and allows
It greatly simplifies understanding of friendship's purpose and allows
statically check that private members are not exposed unexpectedly.
Having `FooTest` as a friend of `Foo` without any comments will be
understood as a necessary evil to get testability.
Expand Down Expand Up @@ -397,7 +397,7 @@ and filter out inapplicable tests.
Restore changed flags.

It is quite common for tests to configure JVM in a certain way
changing flags values. GoogleTest provides two ways to set up
changing flags' values. GoogleTest provides two ways to set up
environment before a test and restore it afterward: using either
constructor and destructor or `SetUp` and `TearDown` functions. Both ways
require to use a test fixture class, which sometimes is too wordy. The
Expand All @@ -406,7 +406,7 @@ be used in such cases to restore/set values.

Caveats:

* Changing a flags value could break the invariants between flags' values and hence could lead to unexpected/unsupported JVM state.
* Changing a flag's value could break the invariants between flags' values and hence could lead to unexpected/unsupported JVM state.

* `FLAG_SET_*` macros can change more than one flag (in order to
maintain invariants) so it is hard to predict what flags will be
Expand Down
Loading
Loading