Compare commits

...

4387 Commits

Author SHA1 Message Date
Alexey Semenyuk
3e20a9392f 8370156: Fix jpackage IconTest
Reviewed-by: almatvee
2025-10-22 23:50:39 +00:00
Damon Nguyen
be18e7ecfd 8064922: [macos] Test javax/swing/JTabbedPane/4624207/bug4624207.java fails
Reviewed-by: tr, honkar, psadhukhan
2025-10-22 22:42:46 +00:00
Dean Long
0744db8366 8367002: Missing compiled exception handler for "recursive" exception
Reviewed-by: thartmann, kvn
2025-10-22 22:01:31 +00:00
Francesco Andreuzzi
2a8cbd944b 8359472: JVM crashes when attaching a dynamic agent before JVMTI_PHASE_LIVE
Reviewed-by: lmesnik, sspitsyn, amenkov
2025-10-22 21:47:06 +00:00
Matias Saavedra Silva
45e145fac2 8359057: AbstractInterpreter::is_not_reached returns incorrectly with invokedynamic
Reviewed-by: vlivanov
2025-10-22 21:06:25 +00:00
Koushik Thirupattur
4377e7c9e8 8367008: Algorithm identifiers for HmacSHA* should always have NULL as params
Reviewed-by: weijun
2025-10-22 21:00:18 +00:00
Ashutosh Mehra
d8ebe38759 8370377: Avoid resolving constant pool entries during preimage generation in the training run
Reviewed-by: adinn, iklam
2025-10-22 19:11:37 +00:00
Alexey Semenyuk
a925461395 8370442: Compilation error in jpackage EntitlementsTest test
Reviewed-by: almatvee
2025-10-22 18:08:19 +00:00
Markus Grönlund
afba636869 8369991: Thread blocking during JFR emergency dump must be in safepoint safe state
Reviewed-by: fandreuzzi, egahlin
2025-10-22 17:39:41 +00:00
Coleen Phillimore
92e380c59c 8361451: Test vmTestbase/metaspace/stressHierarchy/stressHierarchy012/TestDescription.java fails with OutOfMemoryError: Metaspace
Reviewed-by: dholmes, lmesnik, iklam, syan
2025-10-22 12:34:17 +00:00
Erik Gahlin
65b3239418 8370242: JFR: Clear event reference eagerly when using EventStream
Reviewed-by: mgronlun
2025-10-22 11:27:11 +00:00
Volkan Yazici
cbbb0a8630 8367976: Validate and clamp jdk.httpclient.bufsize
Reviewed-by: dfuchs
2025-10-22 11:20:43 +00:00
Matthias Baesken
763d4252f8 8368781: PerfMemory - make issues more transparent
Reviewed-by: dholmes, goetz
2025-10-22 11:11:42 +00:00
Tobias Hartmann
60104575b2 8370378: Some compiler tests inadvertently exclude particular platforms
Reviewed-by: chagedorn, mchevalier
2025-10-22 10:36:23 +00:00
Francesco Andreuzzi
b8d3c9049c 8370229: Remove unused method declarations after JDK-8322630
Reviewed-by: ayang, dholmes
2025-10-22 09:35:24 +00:00
Anton Seoane Ampudia
bdfd5e843a 8367690: C2: Unneeded branch in reduce_phi
Reviewed-by: rcastanedalo, chagedorn
2025-10-22 09:08:26 +00:00
Martin Doerr
6bf3581bba 8369946: Bytecode rewriting causes Java heap corruption on PPC
Reviewed-by: rrich, dbriemann
2025-10-22 08:35:05 +00:00
Hamlin Li
27c83c730d 8370225: RISC-V: cleanup verify_xxx in interp_masm_riscv.hpp
Reviewed-by: fyang
2025-10-22 08:12:10 +00:00
Mikhail Yankelevich
8d9b2fa6af 8365072: Refactor tests to use PEM API (Phase 2)
Reviewed-by: ascarpino
2025-10-22 07:50:38 +00:00
Saint Wesonga
eff4b11033 8369322: Implement native stack printing for Windows-AArch64
Reviewed-by: dholmes, karianna
2025-10-22 07:45:40 +00:00
Ioi Lam
70e786154f 8370248: AOTMapLogger should check if pointer is in AOTMetaspace
Reviewed-by: kvn, adinn
2025-10-22 06:01:11 +00:00
Alexey Semenyuk
94c0611b95 8370122: jpackage test lib improvements
Reviewed-by: almatvee
2025-10-22 02:41:27 +00:00
Sergey Bylokhov
ed153ee2c4 8369032: Add test to ensure serialized ICC_Profile stores only necessary optional data
Reviewed-by: honkar
2025-10-21 22:10:01 +00:00
Alexander Matveev
cac2519fc6 8356578: Test --mac-entitlements
Reviewed-by: asemenyuk
2025-10-21 21:34:38 +00:00
David Holmes
aab3fc54e6 8370207: Test sun/misc/SunMiscSignalTest.java crashes after JDK-8369631
Reviewed-by: kbarrett, coleenp
2025-10-21 20:49:53 +00:00
Chen Liang
43e036ba89 8366424: Missing type profiling in generated Record Object methods
Reviewed-by: jvernee
2025-10-21 19:00:51 +00:00
Brent Christian
b68fa4354c Merge
Reviewed-by: kcr, prr
2025-10-21 18:40:24 +00:00
Ana Maria Mihalceanu
d55e1b4a11 8370222: Wrong output for a command in jlink man page
Reviewed-by: alanb
2025-10-21 16:46:50 +00:00
Andrew Haley
9a88d7f468 8369211: AArch64: Devirtualize class RelocActions
Reviewed-by: adinn, asmehra
2025-10-21 14:27:02 +00:00
Sorna Sarathi N
b77b9103c3 8369349: Add missing CPE headers
Reviewed-by: asemenyuk
2025-10-21 14:09:33 +00:00
Albert Mingkun Yang
0529a58a73 8370326: Parallel: Remove unused ParCompactionManager::push
Reviewed-by: fandreuzzi, tschatzl
2025-10-21 13:43:48 +00:00
Daniel Lundén
2af4d20abf 8370031: Make RegMask copy constructor explicit and replace RegMask operator= with named function
Reviewed-by: mhaessig, rcastanedalo
2025-10-21 13:17:14 +00:00
Albert Mingkun Yang
517d54373f 8370234: Remove CardTableBarrierSet::write_region
Reviewed-by: tschatzl, fandreuzzi
2025-10-21 13:01:50 +00:00
David Briemann
d4c0239746 8370240: [PPC64] jhsdb jstack cannot handle continuation stub
Reviewed-by: mdoerr, rrich
2025-10-21 12:54:59 +00:00
Gennadiy Krivoshein
ea7186a87f 8020207: jconsole fails connecting over SSL using service:jmx:rmi://...jndi...
Reviewed-by: kevinw
2025-10-21 10:33:19 +00:00
Albert Mingkun Yang
a0c4124432 8370078: Remove unnecessary argument in ContiguousSpace::initialize
Reviewed-by: fandreuzzi, jsikstro
2025-10-21 09:01:27 +00:00
Albert Mingkun Yang
2be273f20f 8346005: Parallel: Incorrect page size calculation with UseLargePages
Co-authored-by: Joel Sikström <jsikstro@openjdk.org>
Reviewed-by: jsikstro, fandreuzzi
2025-10-21 08:13:06 +00:00
Pavel Rappo
ec13c283c4 8366829: Add java.time.Duration constants MIN and MAX
Reviewed-by: rriggs, naoto, scolebourne
2025-10-21 07:47:57 +00:00
Jan Lahoda
430041d366 8367499: Refactor exhaustiveness computation from Flow into a separate class
Reviewed-by: vromero
2025-10-21 07:21:53 +00:00
David Holmes
b6b0f051d5 8370262: Add jdk/javadoc/doccheck/checks/jdkCheckLinks.java to the ProblemList
Reviewed-by: jpai
2025-10-21 06:31:55 +00:00
Alexey Semenyuk
2aa0efd425 8370126: Improve jpackage signing testing
Reviewed-by: almatvee
2025-10-21 06:21:11 +00:00
Emanuel Peter
634746a0f1 8369898: C2 SuperWord: assert(has_ctrl(i)) failed: should be control, not loop
Reviewed-by: chagedorn, kvn
2025-10-21 05:43:08 +00:00
Emanuel Peter
207fe55d90 8369902: C2 SuperWord: wrong result because filterin NaN instead of zero in MemPointerParser::canonicalize_raw_summands
Co-authored-by: Manuel Hässig <mhaessig@openjdk.org>
Reviewed-by: mhaessig, kvn
2025-10-21 05:42:50 +00:00
David Holmes
eee2908853 8370257: Remove ProblemListed tests from ProblemList.txt
Reviewed-by: cjplummer
2025-10-21 04:04:50 +00:00
erifan
2de8d58552 8366333: AArch64: Enhance SVE subword type implementation of vector compress
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: jbhateja, xgong, galder, vlivanov
2025-10-21 01:20:38 +00:00
Alexey Semenyuk
0522cf2ed9 8370123: Minor jpackage refactoring
Reviewed-by: almatvee
2025-10-21 01:02:34 +00:00
Alexey Semenyuk
c781a2ff31 8370136: Support async execution of jpackage tests
Reviewed-by: almatvee
2025-10-21 00:07:12 +00:00
Sean Mullan
e1d1fa91cf 8360937: Enhance certificate handling
Reviewed-by: ahgross, rhalade, jnibedita, ascarpino, naoto
2025-10-20 16:42:01 -07:00
Raffaello Giulietti
c448505914 8359454: Enhance String handling
Reviewed-by: rhalade, rriggs
2025-10-20 16:42:01 -07:00
Joe Wang
d9dad578b8 8356294: Enhance Path Factories
Reviewed-by: ahgross, rriggs, rhalade, lancea, naoto
2025-10-20 16:42:01 -07:00
Matias Saavedra Silva
8145cfac8c 8352637: Enhance bytecode verification
Reviewed-by: rhalade, mschoene, dlong, coleenp
2025-10-20 16:42:00 -07:00
Alexey Ivanov
a1302e5fbc 8365625: Can't change accelerator colors in Windows L&F
Reviewed-by: psadhukhan, kizune
2025-10-20 18:16:49 +00:00
Brian Burkhalter
a1be297911 8369854: (ch) Refine specification of behavior of {Gathering,Writable}ByteChannel.write
Reviewed-by: alanb
2025-10-20 15:25:49 +00:00
Albert Mingkun Yang
257bb2b279 8370079: Re-enable vmTestbase/gc/vector/CircularListLow and LinearListLow with SerialGC
Reviewed-by: tschatzl
2025-10-20 15:21:41 +00:00
Afshin Zafari
dc6858f336 8370230: Bad copyright in NMTPrintMallocSiteOfCorruptedMemory.java after JDK-8369527
Reviewed-by: thartmann
2025-10-20 15:09:43 +00:00
Afshin Zafari
c867971340 8369527: NMT: print malloc-site when a malloc'd memory detected as corrupted
Reviewed-by: dholmes, jsjolen
2025-10-20 11:32:48 +00:00
Joel Sikström
73923601d8 8369811: ZGC: Robust NUMA configuration detection
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: aboldtch, sjohanss
2025-10-20 10:29:21 +00:00
Sean Coffey
ee353201d1 8370071: Clarify jcmd Thread.print help message
Reviewed-by: kevinw
2025-10-20 09:47:34 +00:00
Albert Mingkun Yang
8c775e299d 8370074: Remove unused code in AbstractDebuggeeTest.java
Reviewed-by: fandreuzzi, cjplummer, lmesnik
2025-10-20 09:20:03 +00:00
Nizar Benalla
f158451c25 8361366: Allow sorting of member details in lexicographical order
Reviewed-by: hannesw
2025-10-20 08:51:42 +00:00
Vladimir Petko
5609ee11a2 8370049: [s390x] G1 barrier compareAndExchange does not return old value when compareExchange fails
Reviewed-by: amitkumar, aph, rcastanedalo
2025-10-20 08:05:51 +00:00
Daniel Lundén
39211e7fac 8369569: Rename methods in regmask.hpp to conform with HotSpot coding style
Reviewed-by: aseoane, rcastanedalo, epeter
2025-10-20 07:49:01 +00:00
David Holmes
2148dbbe75 8370213: Add sun/misc/SunMiscSignalTest.java to ProblemList
Reviewed-by: alanb
2025-10-20 07:29:49 +00:00
SendaoYan
7e068cc8d5 8343340: Swapping checking do not work for MetricsMemoryTester failcount
Reviewed-by: sgehwolf
2025-10-20 07:16:00 +00:00
David Holmes
680414d0f9 8369631: Assess and remedy any unsafe usage of the sr_semaphore Semaphore in the Posix signal code
Reviewed-by: stefank, kbarrett
2025-10-20 00:07:08 +00:00
Anass Baya
c2fde517b4 8357390: java/awt/Toolkit/ScreenInsetsTest/ScreenInsetsTest.java Test failing on Ubuntu 24.04 Vm Hosts used by Oracle's internal CI system
Reviewed-by: honkar, serb
2025-10-19 11:47:55 +00:00
Alexey Semenyuk
eff6439e75 8370120: Make jpackage tests output more stable
Reviewed-by: almatvee
2025-10-18 01:14:42 +00:00
Alexey Semenyuk
b0af41d667 8370134: Fix minor jpackage issues
Reviewed-by: almatvee
2025-10-18 01:11:19 +00:00
Feilong Jiang
4625199358 8369947: Bytecode rewriting causes Java heap corruption on RISC-V
Reviewed-by: aph, jcking, fyang
2025-10-18 01:09:41 +00:00
Leonid Mesnik
181657084a 8321687: Test vmTestbase/nsk/jvmti/scenarios/contention/TC03/tc03t002/TestDescription.java failed: JVMTI_ERROR_THREAD_NOT_ALIVE
Reviewed-by: amenkov, cjplummer, sspitsyn
2025-10-18 00:50:38 +00:00
William Kemper
926f61f2e3 8369447: GenShen: Regulator thread may observe inconsistent states
Reviewed-by: kdnilsen, ysr
2025-10-17 23:50:06 +00:00
Alexey Semenyuk
49b17dd5c9 8356575: Test order in which jpackage fills app image
Reviewed-by: almatvee
2025-10-17 22:58:26 +00:00
Joe Darcy
0cc88e4ad4 8370028: Remove author tags from mathematical classes
Reviewed-by: bpb, rriggs
2025-10-17 20:38:37 +00:00
Ioi Lam
6cd7f30d8d 8369742: Link AOT-linked classes at JVM bootstrap
Reviewed-by: kvn, asmehra
2025-10-17 19:50:04 +00:00
Chad Rakoczy
0cb8ccd89a 8369642: [ubsan] nmethod::nmethod null pointer passed as argument 2 to memcpy
Reviewed-by: kvn, mbaesken
2025-10-17 18:03:01 +00:00
Phil Race
0103f21635 8365077: java.awt.font.NumericShaper violates equals/hashCode contract
Reviewed-by: kizune, psadhukhan
2025-10-17 17:57:21 +00:00
Kelvin Nilsen
a3e41ea6c6 8368681: Shenandoah: Add documentation comments for ShenandoahAllocationRate
Reviewed-by: wkemper, xpeng
2025-10-17 17:17:03 +00:00
William Kemper
f84be36dd5 8241066: Shenandoah: fix or cleanup SH::do_full_collection
Reviewed-by: shade
2025-10-17 16:54:20 +00:00
Justin Lu
1e5e17a10a 8369590: LocaleEnhanceTest has incorrectly passing test case
Reviewed-by: naoto
2025-10-17 16:19:35 +00:00
Leonid Mesnik
28bf9176b8 8348844: Remove remaining JVMTI tests from ProblemList-Virtual, use requires instead
Reviewed-by: dholmes, alanb, syan, sspitsyn
2025-10-17 16:03:24 +00:00
Brian Burkhalter
cc6f8f1307 8369997: Tests that use custom scheduler should use jdk.test.lib.thread.VThreadScheduler
Reviewed-by: sspitsyn, alanb
2025-10-17 15:12:27 +00:00
Francesco Andreuzzi
b159ca097a 8369980: Use ThreadsClaimTokenScope in ShenandoahThreadRoots
Reviewed-by: ayang, wkemper
2025-10-17 14:19:21 +00:00
Hamlin Li
e8e2aadd9e 8369685: RISC-V: refactor code related to RVFeatureValue::enabled
Reviewed-by: fyang, rehn
2025-10-17 11:22:23 +00:00
Albert Mingkun Yang
0a97bef840 8369814: G1: Relax card mark and store ordering
Reviewed-by: tschatzl, fandreuzzi
2025-10-17 09:32:40 +00:00
Albert Mingkun Yang
e62a7fa383 8342659: Test vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects002/referringObjects002.java failed: Class nsk.share.jdi.TestClass1 was not unloaded
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Reviewed-by: sspitsyn, cjplummer
2025-10-17 09:02:09 +00:00
David Briemann
9b9559a2e3 8369979: Flag UsePopCountInstruction was accidentally disabled on PPC64
Reviewed-by: aph, mdoerr
2025-10-17 08:59:55 +00:00
Kevin Walls
a22438ddc5 8369924: Remove test/jdk/javax/management/remote/mandatory/loading/MissingClassTest.java from problemlist
Reviewed-by: sspitsyn
2025-10-17 08:16:59 +00:00
Laurent Bourgès
46c23bb1a2 8341381: Random lines appear in graphic causing by the fix of JDK-8297230
Reviewed-by: prr
2025-10-17 05:43:10 +00:00
Prasanta Sadhukhan
31beb7d3b3 8068310: [TEST_BUG] Test javax/swing/JColorChooser/Test4234761.java fails with GTKL&F
Reviewed-by: serb
2025-10-17 01:33:30 +00:00
Prasanta Sadhukhan
55787fe5f5 8342401: [TESTBUG] javax/swing/JSpinner/8223788/JSpinnerButtonFocusTest.java test fails in ubuntu 22.04 on SBR Hosts
Reviewed-by: honkar, serb
2025-10-17 01:31:39 +00:00
Ioi Lam
bd7315648f 8369856: AOT map does not include unregistered classes
Co-authored-by: Ashutosh Mehra <asmehra@openjdk.org>
Reviewed-by: kvn, matsaave
2025-10-17 00:36:54 +00:00
William Kemper
4d20f7696c 8370050: Shenandoah: Obsolete ShenandoahPacing option
Reviewed-by: ysr
2025-10-17 00:15:37 +00:00
Francesco Andreuzzi
0bdd6f0640 8369734: JvmtiExport::post_class_file_load_hook return value is never used
Reviewed-by: dholmes, sspitsyn
2025-10-16 22:04:40 +00:00
Patricio Chilano Mateo
0c1c86e68e 8370036: TestJhsdbJstackWithVirtualThread.java fails when run with -showversion
Reviewed-by: ayang, cjplummer
2025-10-16 21:20:42 +00:00
Justin King
18fd047702 8369506: Bytecode rewriting causes Java heap corruption on AArch64
Co-authored-by: Man Cao <manc@openjdk.org>
Co-authored-by: Chuck Rasbold <rasbold@openjdk.org>
Reviewed-by: shade, aph, manc
2025-10-16 19:59:13 +00:00
Albert Mingkun Yang
1392a0b460 8368740: Serial: Swap eden and survivor spaces position in young generation
Reviewed-by: gli, fandreuzzi
2025-10-16 19:55:07 +00:00
Chen Liang
3248aaf3c4 8356548: Use ClassFile API instead of ASM to transform classes in tests
Reviewed-by: sspitsyn, lmesnik, coleenp, iklam
2025-10-16 19:45:57 +00:00
Mikael Vidstedt
9589a29d25 8355752: Bump minimum boot jdk to JDK 25
Reviewed-by: darcy, shade, ihse, iris
2025-10-16 19:43:44 +00:00
William Kemper
d4472979c4 8367709: GenShen: Dirty cards for objects that get promoted by safepoint that intervenes between allocation and stores
Reviewed-by: ysr
2025-10-16 17:49:08 +00:00
Phil Race
844118a9d8 8369146: java/awt/PrintJob/GetGraphicsTest.java: Parse Exception: Invalid or unrecognized bugid: 50510568367702
Reviewed-by: syan, azvegint, kizune, jdv
2025-10-16 16:58:56 +00:00
Phil Race
d7b525ab99 8364673: Remove duplicate font mapping for itcavantgarde in psfontj2d.properties
Reviewed-by: azvegint, kizune
2025-10-16 16:58:38 +00:00
Chris Plummer
873666d157 8369451: Debug agent support for USE_ITERATE_THROUGH_HEAP is broken and should be removed
Reviewed-by: sspitsyn, amenkov
2025-10-16 16:53:47 +00:00
Joe Darcy
7e03240974 8369858: Remove darcy author tags from jdk tests
Reviewed-by: rriggs, iris, lancea
2025-10-16 16:38:18 +00:00
Christian Hagedorn
e56db37734 8369232: testlibrary_tests/ir_framework/tests/TestScenariosCrossProduct.java timed out
Reviewed-by: dfenacci, epeter
2025-10-16 16:02:26 +00:00
Roger Riggs
95380e1ea5 8362637: Convert java.nio.ByteOrder to an enum
Reviewed-by: alanb, liach, bpb
2025-10-16 15:54:22 +00:00
Arno Zeller
87092ef1d9 8183336: Better cleanup for jdk/test/java/lang/module/customfs/ModulesInCustomFileSystem.java
Reviewed-by: alanb, syan
2025-10-16 15:15:19 +00:00
Daniel Lundén
303eb1096c 8369573: Add missing compile commands help documentation for the signature part of method patterns
Reviewed-by: rcastanedalo, aseoane, thartmann
2025-10-16 15:02:32 +00:00
Emanuel Peter
f2a998326a 8369804: TestGenerators.java fails with IllegalArgumentException: bound must be greater than origin
Reviewed-by: chagedorn, thartmann
2025-10-16 14:22:15 +00:00
Emanuel Peter
5dfe115ce1 8369912: [TESTBUG] testlibrary_tests/template_framework/examples/TestExpressions.java fails with ArithmeticException: / by zero - forgot to respect Expression.info
Reviewed-by: kvn, mhaessig
2025-10-16 14:10:14 +00:00
Hamlin Li
f475eb8ee7 8368950: RISC-V: fail to catch out of order declarations among dependent cpu extensions/flags
Reviewed-by: fyang, luhenry
2025-10-16 14:04:45 +00:00
Yasumasa Suenaga
1653999871 8369505: jhsdb jstack cannot handle continuation stub
Reviewed-by: cjplummer, pchilanomate
2025-10-16 12:45:05 +00:00
Stefan Karlsson
5fc3904bfe 8369491: Temporarily revert default TIMEOUT_FACTOR back to 4
Reviewed-by: lkorinth, cstein, jpai, syan, serb, prr
2025-10-16 11:16:05 +00:00
Daniel Jeliński
ead35a754b 8358942: HttpClient adds Content-Length: 0 for a GET request with a BodyPublishers.noBody()
Reviewed-by: dfuchs, vyazici
2025-10-16 11:05:13 +00:00
Erik Gahlin
d6c122b3ff 8369982: ProblemList jdk/jfr/jvm/TestWaste.java
Reviewed-by: tschatzl, dholmes
2025-10-16 09:57:11 +00:00
Martin Doerr
6e911d819e 8368205: [TESTBUG] VectorMaskCompareNotTest.java crashes when MaxVectorSize=8
Reviewed-by: dzhang, epeter, rrich
2025-10-16 09:40:55 +00:00
Viktor Klang
b5b83247da 8369656: Calling CompletableFuture.join() could execute task in common pool
Reviewed-by: alanb, dl
2025-10-16 08:28:22 +00:00
Christoph Langer
17c13e53af 8369683: Exclude runtime/Monitor/MonitorWithDeadObjectTest.java#DumpThreadsBeforeDetach on Alpine Linux debug
Reviewed-by: mbaesken, dholmes
2025-10-16 07:54:23 +00:00
Roland Westrelin
ff6a0170f0 8369258: C2: enable ReassociateInvariants for all loop types
Reviewed-by: epeter, qamai
2025-10-16 07:35:41 +00:00
Artem Semenov
aed42a16ba 8365609: Fix several potential NULL native pointer dereferences in the desktop module
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Artem Semenov Artem Semenov <savoptik@altlinux.org>

Reviewed-by: azvegint, prr, serb
2025-10-16 07:28:13 +00:00
Roland Westrelin
7fe0665730 8369167: C2: refactor LShiftINode/LShiftLNode Value/Identity/Ideal
Reviewed-by: epeter, mchevalier
2025-10-16 07:23:41 +00:00
Emanuel Peter
aa194c6a5a 8369881: C2: Unexpected node in SuperWord truncation: ReverseBytesS, ReverseBytesUS
Reviewed-by: chagedorn, kvn
2025-10-16 06:45:10 +00:00
Jan Lahoda
5696d60663 8357809: Test jdk/jshell/JdiListeningExecutionControlTest.java failed with com.sun.jdi.connect.TransportTimeoutException
Reviewed-by: asotona
2025-10-16 06:21:26 +00:00
Thomas Schatzl
0168687fc3 8368940: Missing ResourceMark when stalling for shutdown
Reviewed-by: shade, syan
2025-10-16 05:32:00 +00:00
Prasanta Sadhukhan
4ed364033d 8369251: Opensource few tests
Reviewed-by: honkar
2025-10-16 02:02:16 +00:00
Weijun Wang
a7a3a660e3 8354469: Keytool exposes the password in plain text when command is piped using | grep
Reviewed-by: mullan, smarks, naoto, hchao
2025-10-15 20:47:46 +00:00
David Briemann
c9cbd31f85 8307495: Specialize atomic bitset functions for aix-ppc
Reviewed-by: mdoerr, rrich
2025-10-15 18:29:23 +00:00
David Briemann
bfe6937244 8369444: JavaFrameAnchor on PPC64 has unnecessary barriers
Reviewed-by: mdoerr, dlong
2025-10-15 18:28:56 +00:00
Matias Saavedra Silva
1bd814c3b2 8364660: ClassVerifier::ends_in_athrow() should be removed
Reviewed-by: liach, dlong
2025-10-15 14:34:38 +00:00
Matias Saavedra Silva
784af438ef 8351595: JVM_FindClassFromCaller: unused var may be removed
Reviewed-by: dholmes, alanb, liach, fandreuzzi
2025-10-15 14:09:22 +00:00
Kevin Walls
5191d72092 8369894: Remove javax/management/remote/mandatory/loading/RMIDownloadTest.java from problemlist
Reviewed-by: alanb
2025-10-15 14:06:38 +00:00
Thomas Schatzl
1af37e5c3f 8369793: G1: Remove unused G1FreeIdSet
Reviewed-by: stefank, sjohanss, kbarrett
2025-10-15 11:27:18 +00:00
Thomas Schatzl
159452e85a 8369809: G1: Merge G1CollectedHeap::do_collection_pause_at_safepoint[_helper]
Reviewed-by: ayang, iwalulya
2025-10-15 11:25:31 +00:00
Thomas Schatzl
c53ab10dae 8369818: G1: Add missing region types in gc+heap=debug heap output
Reviewed-by: ayang, iwalulya
2025-10-15 11:25:09 +00:00
Albert Mingkun Yang
9d11787799 8369681: Parallel: Remove conditional check in ParallelScavengeHeap::verify
Reviewed-by: fandreuzzi, tschatzl
2025-10-15 09:18:46 +00:00
Martin Doerr
112d88523d 8334247: [PPC64] Consider trap based nmethod entry barriers
Reviewed-by: ssarathi, rrich
2025-10-15 09:18:22 +00:00
Francesco Andreuzzi
008d8d914c 8369817: [TESTBUG] EmptyPath::toString is ignored
Reviewed-by: jpai, ayang
2025-10-15 09:17:49 +00:00
María Arias de Reyna Domínguez
355cb45943 8369559: Identify owning method for MethodTrainingData and CompileTrainingData in AOT map output
Reviewed-by: adinn, iklam
2025-10-15 09:17:25 +00:00
Jaikiran Pai
42b2999c31 8369812: HttpClient doesn't handle H3_REQUEST_REJECTED correctly
Reviewed-by: dfuchs, djelinski
2025-10-15 02:01:11 +00:00
Erik Gahlin
c82c892063 8282427: jdk/jfr/jvm/TestWaste.java is failing with "exit code 139"
Reviewed-by: mgronlun
2025-10-15 00:58:34 +00:00
Ioi Lam
3d95c83b14 8358597: [asan] Buffer overflow in ArchiveBuilder::make_shallow_copy with Symbols
Reviewed-by: mbaesken, jsjolen
2025-10-14 23:50:55 +00:00
Alexey Semenyuk
95def24b02 8369853: jpackage signing tests fail after JDK-8358723
Reviewed-by: almatvee
2025-10-14 22:31:17 +00:00
Joe Darcy
70528bd399 8369851: Remove darcy author tags from langtools tests
Reviewed-by: vromero, iris
2025-10-14 21:29:04 +00:00
Ioi Lam
ad2d04733b 8367449: Test runtime/cds/CDSMapTest.java timed out but passed
Reviewed-by: dholmes
2025-10-14 20:03:18 +00:00
Ashutosh Mehra
622a611c33 8369296: Add fast class init checks in interpreter for resolving ConstantPool entries for static field
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: mdoerr, vlivanov, kvn, amitkumar, fyang, mli
2025-10-14 18:15:06 +00:00
Brian Burkhalter
09e87971e8 8368633: (fs) Path.toRealPath(NOFOLLOW_LINKS) very slow on macOS
Reviewed-by: alanb
2025-10-14 17:48:37 +00:00
Brian Burkhalter
65b8fe62b4 8368907: (fs) Windows Error code 1314 not translated to AccessDeniedException (win)
Reviewed-by: alanb
2025-10-14 17:48:15 +00:00
Phil Race
d6537c6d3e 8344918: Unused private variables in SwingUtilities.java
Reviewed-by: azvegint
2025-10-14 17:36:54 +00:00
Harshitha Onkar
bbbb9c5f15 8365423: [macos26] java/awt/MenuBar/8007006/bug8007006.java fails on macOS 26
Reviewed-by: kizune, prr
2025-10-14 16:31:21 +00:00
Joe Darcy
7ed93cf40e 8369312: Refactor Float.toHexString() to avoid use of regex
Reviewed-by: rgiulietti
2025-10-14 16:04:27 +00:00
Ramkumar Sunderbabu
64ff7062c1 8369806: Remove nsk/jvmti/AttachOnDemand/attach020 from problemlist
Reviewed-by: lmesnik, chagedorn
2025-10-14 15:33:49 +00:00
Joachim Kern
4b85ba9067 8369657: [AIX] TOC overflow in static-launcher build when building slowdebug after JDK-8352064
Reviewed-by: mdoerr, erikj, clanger, mbaesken
2025-10-14 14:04:36 +00:00
Feilong Jiang
72663695da 8369616: JavaFrameAnchor on RISC-V has unnecessary barriers and wrong store order in MacroAssembler
Reviewed-by: fyang, luhenry
2025-10-14 13:50:19 +00:00
Daniel Jeliński
6d1529cd70 8369593: Test H3MalformedResponseTest.testMalformedResponse still times out
Reviewed-by: jpai, vyazici, dfuchs
2025-10-14 12:23:48 +00:00
jonghoonpark
90cf3a2086 8366716: Move SmapsParser from runtime/os/TestTracePageSizes.java into testlib
Co-authored-by: Stefan Johansson <sjohanss@openjdk.org>
Reviewed-by: sjohanss, syan
2025-10-14 09:09:58 +00:00
Christian Stein
702179e785 8369488: Update to use jtreg 8.1
Reviewed-by: iris, erikj, jpai, syan
2025-10-14 08:54:42 +00:00
Emanuel Peter
4786f8bee5 8369448: C2 SuperWord: refactor VTransform to do move_unordered_reduction_out_of_loop during VTransform::optimize
Reviewed-by: chagedorn, kvn
2025-10-14 08:32:32 +00:00
Matthias Baesken
a3ee821f38 8369305: Adjust usage of CDS in the boot JDK
Reviewed-by: erikj, clanger
2025-10-14 07:28:28 +00:00
Jaikiran Pai
2eb0898fef 8367157: Remove jrunscript tool
Reviewed-by: erikj, ayang, ihse, alanb
2025-10-14 06:10:09 +00:00
Serguei Spitsyn
5bf1bab5b3 8369482: JVMTI + Loom: JDK-8368159 introduced safepoint poll in disallowed state
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Reviewed-by: sspitsyn, pchilanomate
2025-10-14 05:40:07 +00:00
Axel Boldt-Christmas
be0e49b7e2 8369467: Rdtsc: Remove experimental support for non invariant tsc
Reviewed-by: dholmes, mgronlun
2025-10-14 05:38:13 +00:00
Jatin Bhateja
449641813a 8365205: C2: Optimize popcount value computation using knownbits
Reviewed-by: epeter, hgreule, qamai
2025-10-14 03:35:11 +00:00
Phil Race
d6ca382f4e 8369335: Two sun/java2d/OpenGL tests fail on Windows after JDK-8358058
Reviewed-by: jdv
2025-10-14 03:33:23 +00:00
Xueming Shen
4ca4485e9a 8365588: defineClass that accepts a ByteBuffer does not work as expected
Reviewed-by: alanb
2025-10-13 20:29:06 +00:00
Justin Lu
1d6cafdc52 8369452: Locale.Builder.setLanguageTag(String) does not clear on empty or null String
Reviewed-by: naoto
2025-10-13 16:11:09 +00:00
Ravi.Patel8
9b1633ded0 8368606: Printer lookup returns empty on AIX platform due to uninitialized results list
Reviewed-by: honkar, serb
2025-10-13 16:10:48 +00:00
Brian Burkhalter
8b1cf8eefe 8368098: (aio) java/nio/channels/Channels/AsyncCloseStreams.java fails in junit timeout
Reviewed-by: alanb
2025-10-13 16:03:43 +00:00
Erik Gahlin
1668162319 8369510: JFR: Remove flush handler from Dispatcher lookup
Reviewed-by: mgronlun
2025-10-13 15:17:36 +00:00
Henry Jen
b83e7939dd 8347007: --strip-debug removes parameter names included with -parameters
Reviewed-by: alanb
2025-10-13 15:05:53 +00:00
Xiaolong Peng
551cd03b99 8369611: Remove safepoint synchronization from ParallelScavengeHeap and SerialHeap
Reviewed-by: kbarrett, ayang, shade, tschatzl
2025-10-13 15:03:01 +00:00
Thomas Schatzl
f292d7c66c 8048180: G1: Eager reclaim of humongous objects with references
Co-authored-by: Ivan Walulya <iwalulya@openjdk.org>
Reviewed-by: iwalulya, ayang
2025-10-13 14:51:08 +00:00
Patricio Chilano Mateo
9feb8f21b5 8369019: Improve timed-park mechanism in ObjectMonitor for virtual thread support
Reviewed-by: dholmes, alanb
2025-10-13 14:07:40 +00:00
Emanuel Peter
0496806102 8359412: Template-Framework Library: Operations and Expressions
Reviewed-by: chagedorn, mhaessig, galder
2025-10-13 13:59:48 +00:00
Axel Boldt-Christmas
d47e6b713c 8369469: Rdtsc: Remove potential races in Rdtsc::initialize
Reviewed-by: dholmes, stefank
2025-10-13 12:16:54 +00:00
Alexey Ivanov
d278043ddb 8367772: Refactor createUI in PassFailJFrame
Reviewed-by: dnguyen, honkar
2025-10-13 12:09:38 +00:00
Markus Grönlund
62fa971f31 8369255: Assess and remedy any unsafe usage of the Semaphores used by JFR
Reviewed-by: egahlin
2025-10-13 11:34:30 +00:00
Darragh Clarke
0db4702891 8368877: Generate Jextract bindings for Kqueue
Reviewed-by: alanb, aefimov
2025-10-13 11:03:49 +00:00
Hamlin Li
28460ca330 8368897: RISC-V: Cleanup RV_EXT_FEATURE_FLAGS & RV_NON_EXT_FEATURE_FLAGS
Reviewed-by: fyang, rehn
2025-10-13 10:32:48 +00:00
Matthias Baesken
0af959a340 8369560: Slowdebug build without CDS fails
Reviewed-by: mdoerr, kvn
2025-10-13 10:15:39 +00:00
Matthias Baesken
98e1d2fab1 8369563: Gtest dll_address_to_function_and_library_name has issues with stripped pdb files
Reviewed-by: clanger, lucy
2025-10-13 10:13:00 +00:00
Albert Mingkun Yang
4728f746a8 8369571: Parallel: Use ThreadsClaimTokenScope in PSAdjustTask
Reviewed-by: fandreuzzi, tschatzl
2025-10-13 09:23:48 +00:00
Kevin Walls
1605e8392e 8369574: Remove javax/management/remote/mandatory/connection/BrokenConnectionTest.java from ProblemList-Virtual.txt
Reviewed-by: ayang
2025-10-13 08:13:37 +00:00
Axel Boldt-Christmas
a6f624b074 8369468: Rdtsc: Move getCPUIDBrandString_stub into VM_Version stub area
Reviewed-by: mgronlun, kvn
2025-10-13 07:48:54 +00:00
Francesco Andreuzzi
9b99bc8ef5 8369440: Remove RootResolverMarkScope and RootSetClosureMarkScope
Reviewed-by: ayang
2025-10-11 06:13:13 +00:00
SendaoYan
2dfe4586f7 8369490: Remove unused Runinfo parameters in compiler/c2/gvn/TestBitCompressValueTransform.java
Reviewed-by: chagedorn, mhaessig
2025-10-11 05:58:14 +00:00
Albert Mingkun Yang
7e29d294e5 8369097: Parallel: Support allocation in from space when heap is too full
Reviewed-by: tschatzl, fandreuzzi
2025-10-10 18:01:09 +00:00
Justin Lu
376d77e8a7 8369050: DecimalFormat Rounding Errors for Fractional Ties Near Zero
Reviewed-by: naoto
2025-10-10 16:27:56 +00:00
Francesco Andreuzzi
fc49a1b502 8368846: java/io/File/createTempFile/TargetDirectory fails when run by root user
Reviewed-by: bpb
2025-10-10 15:39:27 +00:00
Kangcheng Xu
f6d77cb332 8347555: [REDO] C2: implement optimization for series of Add of unique value
Reviewed-by: roland, epeter
2025-10-10 14:04:51 +00:00
Aleksei Voitylov
5594d6bc88 8368522: (fs) BasicFileAttributes Linux musl 1.2.5 incompatibility with statx
Reviewed-by: sgehwolf, bpb
2025-10-10 13:33:12 +00:00
Albert Mingkun Yang
afda8ad460 8369501: Parallel: Add UseAdaptiveSizePolicy requirement to TestDynShrinkHeap.java
Reviewed-by: jsikstro, tschatzl
2025-10-10 10:18:45 +00:00
María Arias de Reyna Domínguez
f52aed6f81 8369418: Identify owning class for KlassTrainingData in AOT map output
Reviewed-by: iklam, adinn
2025-10-10 09:46:37 +00:00
Chris Dennis
d5a207994b 8362123: ClassLoader Leak via Executors.newSingleThreadExecutor(...)
Reviewed-by: vklang, alanb
2025-10-10 09:19:55 +00:00
Severin Gehwolf
a1a37bd7b2 8369441: Two container tests fail after JDK-8292984
Reviewed-by: mbaesken, cnorrbin, syan
2025-10-10 08:14:06 +00:00
Joel Sikström
1159b53bfc 8369483: Cleanup dead code in HandleArea
Reviewed-by: fandreuzzi, stefank
2025-10-10 08:10:07 +00:00
Zhengyu Gu
b00720edd7 8369419: Error reporting of JFR JNI method registration crash on MacOSX
Reviewed-by: jbachorik, egahlin
2025-10-10 07:37:09 +00:00
Mikhail Yankelevich
b6e5ef4ad0 8360373: src/java.base/share/classes/sun/security/util/Debug.java implement negative testing
Reviewed-by: coffeys
2025-10-10 06:54:58 +00:00
Yasumasa Suenaga
be10722436 8366847: JFR reports incorrect number of cores on hybrid CPU
Reviewed-by: dholmes, egahlin
2025-10-10 05:02:56 +00:00
Phil Race
5a32966d42 8369516: Delete duplicate imaging test
Reviewed-by: serb
2025-10-10 04:30:14 +00:00
Saint Wesonga
f4209dff3b 8348862: runtime/ErrorHandling/CreateCoredumpOnCrash fails on Windows aarch64
Reviewed-by: dholmes, mbeckwit
2025-10-10 03:55:47 +00:00
Alexey Semenyuk
2311ec394d 8363979: Add JDK bundle/image validation for --runtime-image option
Reviewed-by: almatvee
2025-10-10 02:42:11 +00:00
Alexander Matveev
1873b45948 8356047: [macos] jpackage produces confusing post- and pre- installation PKG scripts
Reviewed-by: asemenyuk
2025-10-10 01:11:35 +00:00
Alexander Matveev
52b02edaba 8362598: [macos] Add tests for custom info plist files
Reviewed-by: asemenyuk
2025-10-10 01:11:10 +00:00
William Kemper
d6e2d4eb1f 8367646: [GenShen] Control thread may overwrite gc cancellation cause set by mutator
Reviewed-by: ysr, kdnilsen
2025-10-10 00:16:10 +00:00
Mikael Vidstedt
cd1ce5883d 8369454: Verify checksums of downloaded source bundles when creating devkit
Reviewed-by: erikj
2025-10-09 19:55:49 +00:00
Albert Mingkun Yang
1cdd241ff3 8369420: Parallel: Use multiple workers for class unloading
Reviewed-by: fandreuzzi, tschatzl, zgu
2025-10-09 19:39:06 +00:00
Vladimir Petko
b73228b51c 8369450: [Ubuntu 25.10] openjdk fails to build due to rust-coreutils date
Reviewed-by: erikj
2025-10-09 19:38:44 +00:00
Aleksey Shipilev
1992b69a47 8369283: Improve trace logs in safepoint machinery
Reviewed-by: fbredberg, dholmes, rehn
2025-10-09 18:47:43 +00:00
William Kemper
501fa2041a 8368501: Shenandoah: GC progress evaluation does not use generation
Reviewed-by: ysr
2025-10-09 18:25:47 +00:00
Naoto Sato
37b725d9c1 8369184: SimpleTimeZone equals() Returns True for Unequal Instances with Different hashCode Values
Reviewed-by: prappo, jlu, rriggs, iris
2025-10-09 16:20:59 +00:00
Jeremy Wood
7c75cb312c 8367376: Bad ButtonUI prevents other components from updating when system changes desktop properties
Reviewed-by: aivanov, prr, psadhukhan
2025-10-09 16:02:01 +00:00
Daniel Fuchs
9891cd69e4 8369313: java/net/httpclient/TimeoutBasic.java should accept that HttpTimeoutException should be somewhere down the cause chain
Reviewed-by: vyazici, jpai
2025-10-09 15:52:28 +00:00
Daniel Fuchs
48d21b50fa 8369434: java/net/httpclient/AltServiceUsageTest.java fails intermittently
Reviewed-by: vyazici, jpai
2025-10-09 15:08:46 +00:00
SendaoYan
13f460c395 8368677: acvp test should throw SkippedException when no ACVP-Server available
Reviewed-by: weijun, shade
2025-10-09 14:27:09 +00:00
Artur Barashev
233d3a8d43 8366244: TLS1.3 ChangeCipherSpec message received after the client's Finished message should trigger a connection abort with "unexpected message"
Reviewed-by: hchao
2025-10-09 13:59:31 +00:00
Christian Hagedorn
005877b063 8369236: testlibrary_tests/ir_framework/tests/TestCompileThreshold.java timed out
Reviewed-by: ayang, dfenacci
2025-10-09 13:33:53 +00:00
Christian Hagedorn
dd410e0b77 8369423: Reduce execution time of testlibrary_tests/ir_framework/tests/TestDFlags.java
Reviewed-by: thartmann, dfenacci
2025-10-09 13:33:18 +00:00
Justin King
fd29677479 8369190: JavaFrameAnchor on AArch64 has unnecessary barriers and wrong store order in MacroAssembler
Reviewed-by: aph, dlong
2025-10-09 13:30:02 +00:00
Matthew Donovan
5bb9fed9de 8351354: Enhance java -XshowSettings:security:tls to show enabled TLS groups
Reviewed-by: mullan, coffeys
2025-10-09 13:20:34 +00:00
Francesco Andreuzzi
9def7bfea2 8369433: G1: Replace G1MarkScope with NMethodMarkingScope
Reviewed-by: tschatzl, ayang
2025-10-09 12:42:24 +00:00
Manuel Hässig
7e3e55a576 8368573: MultiBranchNode::required_outcnt should return an unsigned int
Reviewed-by: chagedorn, dfenacci, fandreuzzi
2025-10-09 10:24:27 +00:00
Joachim Kern
692c20ce1d 8368997: AIX allows reading from address zero which leads to several ubsan findings
Reviewed-by: mdoerr, mbaesken
2025-10-09 09:46:01 +00:00
Prasanta Sadhukhan
285d16a3a3 8365886: JSplitPane loses track of the left component when the component orientation is changed
Reviewed-by: tr, kizune
2025-10-09 09:42:27 +00:00
Daniel Jeliński
b37a1a33ae 8369291: Test java/net/httpclient/http3/H3DataLimitsTest.java fails in quic connection timeout with linux fastdebug builds
Reviewed-by: jpai, dfuchs, vyazici
2025-10-09 09:20:14 +00:00
Joel Sikström
af2fbd5a71 8367413: Fix potential truncation error in Arguments::set_heap_size()
Reviewed-by: ayang, lkorinth
2025-10-09 08:17:45 +00:00
Damon Fenacci
991f8e6f38 8360031: C2 compilation asserts in MemBarNode::remove
Reviewed-by: dlong, kvn, shade
2025-10-09 06:21:08 +00:00
Ramkumar Sunderbabu
1b11bea76b 8286865: vmTestbase/vm/mlvm/meth/stress/jni/nativeAndMH/Test.java fails with Out of space in CodeCache
Reviewed-by: dlong, chagedorn
2025-10-09 06:19:00 +00:00
Daniel Jeliński
914b44e277 8368694: PKCS11-NSS generic keys generated by DH have leading zeroes stripped
Reviewed-by: valeriep
2025-10-09 06:01:25 +00:00
Lei Zhu
0b81db1d38 8364346: Typo in IR framework README
Reviewed-by: thartmann, fandreuzzi, chagedorn
2025-10-09 05:28:27 +00:00
Archie Cobbs
5873c4b5d6 8369039: JDK-8348611 caused regression in Javac-Hot-Generate
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: jlahoda, redestad
2025-10-09 01:32:02 +00:00
Emanuel Peter
0e5655e668 8367657: C2 SuperWord: NormalMapping demo from JVMLS 2025
Reviewed-by: chagedorn, galder
2025-10-08 23:09:37 +00:00
Chris Plummer
1aa62dcafd 8369230: com/sun/jdi/SimulResumerTest.java timed out
Reviewed-by: sspitsyn
2025-10-08 20:38:30 +00:00
David Holmes
4d0da18ab6 8369250: Assess and remedy any unsafe usage of the Semaphore used by NonJavaThread::List
Reviewed-by: kbarrett, stefank
2025-10-08 20:28:21 +00:00
William Kemper
92f2ab2e1b 8264851: Shenandoah: Rework control loop mechanics to use timed waits
Reviewed-by: kdnilsen, shade
2025-10-08 18:14:26 +00:00
Valerie Peng
ac73e688b1 8368984: Extra slashes in Cipher transformation leads to NSPE instead of NSAE
Reviewed-by: weijun
2025-10-08 17:36:03 +00:00
Richard Reingruber
79bcc7b8ec 8369257: PPC: compiler/whitebox/RelocateNMethodMultiplePaths.java fails with assertion
Reviewed-by: mdoerr
2025-10-08 15:56:58 +00:00
Francesco Andreuzzi
927aa3f8da 8369178: G1: Use NMethodMarkingScope and ThreadsClaimTokenScope in G1RootProcessor
Reviewed-by: ayang, tschatzl
2025-10-08 14:20:23 +00:00
Ruben Ayrapetyan
23fcbb0bad 8365153: AArch64: Set JVM flags for Neoverse N3 and V3 cores
Reviewed-by: eastigeevich, aph
2025-10-08 12:13:04 +00:00
Albert Mingkun Yang
c12f0e74a9 8369286: Parallel: Assertion failure in mutableNUMASpace
Reviewed-by: jsikstro, tschatzl
2025-10-08 11:21:22 +00:00
Afshin Zafari
6a4c2676a6 8365385: [asan] os::pretouch_memory() is not compatible with ASAN
Reviewed-by: stuefe, jsjolen
2025-10-08 09:49:48 +00:00
Albert Mingkun Yang
c66950643e 8369277: Remove unused CodeCacheUnloadingTask::_num_workers
Reviewed-by: shade, tschatzl
2025-10-08 09:29:24 +00:00
Suchismith Roy
d45e65bab4 8030957: AIX: Implement OperatingSystemMXBean.getSystemCpuLoad() and .getProcessCpuLoad() on AIX
Reviewed-by: jkern, mdoerr, mbaesken
2025-10-08 09:15:23 +00:00
Antón Seoane Ampudia
f58e17fd27 8368780: IGV: Upgrade to Netbeans Platform 27
Reviewed-by: rcastanedalo, chagedorn
2025-10-08 08:58:58 +00:00
Johannes Bechberger
d27649fe22 8367302: New test jdk/jfr/event/profiling/TestCPUTimeSampleQueueAutoSizes.java from JDK-8366082 is failing
Reviewed-by: dholmes, apangin
2025-10-08 08:03:32 +00:00
Matthias Baesken
bd25db1fb8 8368960: Adjust java UL logging in the build
Reviewed-by: erikj, dholmes
2025-10-08 07:02:34 +00:00
Jan Lahoda
862119565d 8363917: SwitchBootstraps.enumSwitch() args not checked as documented
Reviewed-by: liach
2025-10-08 05:32:51 +00:00
Emanuel Peter
2ac24bf1ba 8367389: C2 SuperWord: refactor VTransform to model the whole loop instead of just the basic block
Reviewed-by: roland, mhaessig
2025-10-08 03:06:29 +00:00
Prasanta Sadhukhan
650fd35b3b 8335646: Nimbus : JLabel not painted with LAF defined foreground color on Ubuntu 24.04
Reviewed-by: aivanov, dnguyen, serb
2025-10-08 03:00:30 +00:00
Mikael Vidstedt
4ee6079b11 8369328: Use uppercase variable names in the devkit makefiles
Reviewed-by: erikj
2025-10-08 02:05:20 +00:00
Archie Cobbs
910bb68e51 8349847: Support configuring individual lint categories as errors
Reviewed-by: vromero
2025-10-07 19:32:08 +00:00
Phil Race
6bfd018bea 8366002: Beans.instantiate needs to describe the lookup procedure
Reviewed-by: serb, aivanov
2025-10-07 19:08:22 +00:00
Mikael Vidstedt
7f070d356c 8369246: Use https in make/devkit scripts
Reviewed-by: ayang, erikj
2025-10-07 17:37:31 +00:00
Naoto Sato
6b3162620b 8368845: x-IBM930 uses incorrect character for Hex 42 60
Reviewed-by: sherman, rriggs, iris
2025-10-07 17:21:13 +00:00
Aleksey Shipilev
1ea8cfa6dc 8369226: GHA: Switch to MacOS 15
Reviewed-by: erikj, ayang, sgehwolf
2025-10-07 16:54:36 +00:00
Phil Race
ebeb77baae 8358058: sun/java2d/OpenGL/DrawImageBg.java Test fails intermittently
Reviewed-by: azvegint, serb, psadhukhan
2025-10-07 16:47:43 +00:00
Joe Darcy
4ca3ab6275 8369123: Still more small Float16 refactorings
Reviewed-by: rgiulietti
2025-10-07 16:41:45 +00:00
Volkan Yazici
eb835e05f9 8366040: Change URL.lookupViaProviders to use ScopedValue to detect recursive lookup
Reviewed-by: alanb, dfuchs
2025-10-07 15:57:31 +00:00
Erik Gahlin
eb729f0aaa 8247776: JFR: TestThreadContextSwitches.java failed "RuntimeException: No events: expected false, was true"
Reviewed-by: mgronlun
2025-10-07 15:38:58 +00:00
Hannes Wallnöfer
8a20656ed0 8367321: Fix CSS bugs in dark theme
8366942: Dark mode pages briefly blink before going dark

Reviewed-by: nbenalla, liach
2025-10-07 15:16:08 +00:00
jonghoonpark
0f2a95c15d 8365782: Remove unnecessary inclusion of <stdlib.h> in jfrOSInterface.cpp
Reviewed-by: ayang, tschatzl
2025-10-07 15:13:23 +00:00
Albert Mingkun Yang
a9c93f865b 8369263: Parallel: Inline PSPromotionManager::push_depth
Reviewed-by: iwalulya, shade, fandreuzzi
2025-10-07 13:40:19 +00:00
Johny Jose
4b4d0cd35a 8365398: TEST_BUG: java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java failing intermittently
Reviewed-by: msheppar, smarks, jpai
2025-10-07 13:13:42 +00:00
Yasumasa Suenaga
9c46febcac 8245234: Still seeing missing mixed stack traces, even after JDK-8234624
Reviewed-by: kevinw, cjplummer
2025-10-07 12:47:40 +00:00
Alexey Ivanov
6bec42adcc 8368892: Make JEditorPane/TestBrowserBGColor.java headless
Reviewed-by: serb, azvegint
2025-10-07 10:21:33 +00:00
Andrew Haley
aed9485bbb 8368303: AlwaysAtomicAccesses is excessively strict
Reviewed-by: shade, vlivanov, dlong
2025-10-07 10:09:23 +00:00
Daniel Skantz
c06d6805aa 8362394: C2: Repeated stacked string concatenation fails with "Hit MemLimit" and other resourcing errors
Reviewed-by: chagedorn, rcastanedalo
2025-10-07 09:04:39 +00:00
Benoît Maillard
07549f3e15 8360389: Support printing from C2 compiled code
Reviewed-by: kvn, thartmann, mhaessig
2025-10-07 07:43:43 +00:00
Prasanta Sadhukhan
e783c524c1 8368185: Test javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java failed: Synth ButtonUI does not handle PRESSED & MOUSE_OVER state
Reviewed-by: tr, aivanov
2025-10-07 04:08:32 +00:00
Mikael Vidstedt
eb34a11793 8369242: Rename URL variables in devkit/Tools.gmk
Reviewed-by: erikj
2025-10-07 00:52:38 +00:00
Erik Gahlin
2376a9e972 8365630: jdk/jfr/tool/TestPrintContextual.java fails with wrong spanId
Reviewed-by: shade
2025-10-06 17:30:42 +00:00
Justin Lu
0f406c420e 8369078: Fix faulty test conversion in IllegalCharsetName.java
Reviewed-by: naoto, alanb
2025-10-06 16:11:59 +00:00
Albert Mingkun Yang
596af0a7cc 8369041: Release memory after testing in ThreadsRunner.java
Reviewed-by: shade, tschatzl
2025-10-06 15:44:13 +00:00
Mahendra Chhipa
b6a4cfecb7 8367114: Update jdk.test.lib.net.SimpleHttpServer to use SimpleFileServer
Reviewed-by: dfuchs, vyazici
2025-10-06 15:26:59 +00:00
Nizar Benalla
e3320a9df5 8367610: Test tools/sincechecker/modules/java.base/JavaBaseCheckSince.java timed out on Windows
Reviewed-by: liach
2025-10-06 13:32:46 +00:00
jonghoonpark
2bfada3f58 8364927: Add @requires annotation to TestReclaimStringsLeaksMemory.java
Reviewed-by: tschatzl, stefank, ayang
2025-10-06 11:53:14 +00:00
SendaoYan
2c114d676d 8367899: compiler/c2/gvn/TestBitCompressValueTransform.java intermittent timed out
Reviewed-by: dfenacci, chagedorn
2025-10-06 09:26:51 +00:00
Francesco Andreuzzi
baf8bc5701 8369038: Parallel: Use NMethodMarkingScope and ThreadsClaimTokenScope in psParallelCompact
Reviewed-by: ayang, shade
2025-10-06 08:14:44 +00:00
Roberto Castañeda Lozano
59e87437b4 8368753: IGV: improve CFG view of difference graphs
Reviewed-by: chagedorn, mhaessig, dfenacci
2025-10-06 08:14:24 +00:00
Fredrik Bredberg
e6781fd949 8367601: Remove held_monitor_count
Reviewed-by: mdoerr, pchilanomate, fyang
2025-10-06 08:10:11 +00:00
Johan Sjölen
069c569a71 8368097: [asan] heap-buffer-overflow reported in ClassFileParser::skip_over_field_signature
Reviewed-by: dholmes, mbaesken
2025-10-06 07:48:45 +00:00
Damon Fenacci
85877e2022 8355354: C2 crashed: assert(_callee == nullptr || _callee == m) failed: repeated inline attempt with different callee
Reviewed-by: vlivanov, dlong
2025-10-06 06:17:48 +00:00
Vladimir Ivanov
ba7bf43c76 8365290: [perf] x86 ArrayFill intrinsic generates SPLIT_STORE for unaligned arrays
Reviewed-by: sviswanathan, vpaprotski, kvn
2025-10-05 23:55:53 +00:00
Vladimir Kozlov
5d9f94e05e 8369152: Problem list new tests from JDK-8316694
Reviewed-by: jpai, dholmes, serb
2025-10-05 16:20:53 +00:00
Chad Rakoczy
f740cd2aad 8316694: Implement relocation of nmethod within CodeCache
Reviewed-by: kvn, eosterlund, never, eastigeevich, bulasevich
2025-10-04 21:17:26 +00:00
Jaikiran Pai
76dba201fa 8368821: Test java/net/httpclient/http3/GetHTTP3Test.java intermittently fails with java.io.IOException: QUIC endpoint closed
Reviewed-by: dfuchs
2025-10-04 08:09:09 +00:00
Sergey Bylokhov
c3fbbfabcc 8369027: Apply java.io.Serial annotations in java.scripting
Reviewed-by: rriggs
2025-10-03 23:16:41 +00:00
Daniel D. Daugherty
e6868c6248 8369138: New test compiler/loopstripmining/MissingStoreAfterOuterStripMinedLoop.java fails
Reviewed-by: kvn
2025-10-03 22:17:01 +00:00
Daniel D. Daugherty
837f634bf2 8369128: ProblemList jdk/jfr/event/profiling/TestCPUTimeSampleQueueAutoSizes.java in Xcomp configs
8369132: Disable vmTestbase/gc/vector/CircularListLow and LinearListLow with SerialGC
8369133: Disable gc/g1/TestShrinkAuxiliaryDataRunner.java with UseLargePages option

Reviewed-by: ayang, dholmes
2025-10-03 21:11:33 +00:00
Roger Riggs
012e079d11 8356202: Cleanup Source code in String Implementation Classes
Reviewed-by: jpai, rgiulietti, liach
2025-10-03 18:45:34 +00:00
Sergey Bylokhov
0e98ec3662 8367384: The ICC_Profile class may throw exceptions during serialization
Reviewed-by: honkar, prr
2025-10-03 17:49:59 +00:00
Mikael Vidstedt
0935b76c6b 8369080: Use uname -m for devkit cpu detection
Reviewed-by: iris, erikj
2025-10-03 17:40:37 +00:00
Harshitha Onkar
aee73d3568 8365424: [macos26] java/awt/Frame/DisposeTest.java fails on macOS 26
Reviewed-by: serb, azvegint
2025-10-03 17:32:51 +00:00
Justin Lu
23a65644ae 8368981: Case Fold Locale Legacy Tags On Demand
Reviewed-by: rriggs, naoto
2025-10-03 16:25:55 +00:00
Hannes Wallnöfer
f81c7c592b 8276966: Improve diagnostic output for the mismatching parts of a hybrid snippet
Reviewed-by: prappo
2025-10-03 15:53:37 +00:00
Benoît Maillard
7231916754 8364757: Missing Store nodes caused by bad wiring in PhaseIdealLoop::insert_post_loop
Reviewed-by: mhaessig, roland
2025-10-03 10:40:50 +00:00
Yuri Gaevsky
134b63f0e8 8322174: RISC-V: C2 VectorizedHashCode RVV Version
Reviewed-by: fyang, rehn
2025-10-03 09:44:56 +00:00
María Arias de Reyna Domínguez
2e783963d2 8369037: Identify owning method for MethodData and MethodCounters in AOT map output
Reviewed-by: iklam, asmehra, adinn, macarte
2025-10-03 07:57:24 +00:00
Mikhail Yankelevich
ebb6fd7d78 8360562: sun/security/tools/keytool/i18n.java add an ability to add comment for failures
Reviewed-by: rhalade
2025-10-03 07:37:17 +00:00
Joe Wang
3790965df3 8336695: Update Commons BCEL to Version 6.10.0
Reviewed-by: lancea, naoto, iris
2025-10-03 03:50:01 +00:00
Ashutosh Mehra
f62b9eca08 8364929: Assign unique id to each AdapterBlob stored in AOTCodeCache
Reviewed-by: kvn, iklam
2025-10-03 02:43:14 +00:00
Alex Menkov
854b384b12 8304811: vmTestbase/vm/mlvm/indy/func/jvmti/stepBreakPopReturn/INDIFY_Test.java fails with JVMTI_ERROR_TYPE_MISMATCH
Reviewed-by: lmesnik, dholmes, sspitsyn
2025-10-02 23:39:37 +00:00
Dean Long
da7121aff9 8366461: Remove obsolete method handle invoke logic
Reviewed-by: vlivanov, mhaessig
2025-10-02 22:21:13 +00:00
Damon Nguyen
fa6e884105 8298823: [macos] java/awt/Mouse/EnterExitEvents/DragWindowTest.java continues to fail with "No MouseReleased event on label!"
Reviewed-by: aivanov, azvegint
2025-10-02 22:09:14 +00:00
Ioi Lam
3f27a03bba 8368727: CDS custom loader support causes asserts during class unloading
Reviewed-by: coleenp, dholmes
2025-10-02 20:00:58 +00:00
Francesco Andreuzzi
1d55adee11 8368989: Use NMethodMarkingScope and ThreadsClaimTokenScope in shenandoahSTWMark
Reviewed-by: shade, ayang
2025-10-02 18:49:00 +00:00
Joe Darcy
3d113af9e3 8369051: More small Float16 refactorings
Reviewed-by: rgiulietti
2025-10-02 16:43:01 +00:00
Erik Gahlin
5fccabff15 8368670: Deadlock in JFR on event register + class load
Reviewed-by: mgronlun
2025-10-02 15:51:46 +00:00
Igor Veresov
1a03a1fbb1 8369033: Remove dead code in training data
Reviewed-by: rcastanedalo, kvn
2025-10-02 15:38:51 +00:00
Daniel Fuchs
7ad9bdef1e 8368630: java/net/httpclient/http3/H3ServerPushTest.java succeeds but fails in jtreg timeout
Reviewed-by: syan, jpai
2025-10-02 15:19:26 +00:00
Casper Norrbin
5252262349 8292984: Refactor internal container-related interfaces for clarity
Reviewed-by: sgehwolf, eosterlund
2025-10-02 13:38:41 +00:00
Shaojin Wen
2c7f7380ea 8368825: Use switch expression for DateTimeFormatterBuilder pattern character lookup
Reviewed-by: rriggs, naoto, scolebourne
2025-10-02 13:32:09 +00:00
Daniel Jeliński
56baf64ada 8368520: TLS 1.3 KeyUpdate fails with SunPKCS11 provider
Reviewed-by: valeriep
2025-10-02 13:29:45 +00:00
SendaoYan
cc563c87cd 8368866: compiler/codecache/stress/UnexpectedDeoptimizationTest.java intermittent timed out
Reviewed-by: shade, mhaessig
2025-10-02 12:37:27 +00:00
Francesco Andreuzzi
8be16160d2 8367609: serviceability/sa/ClhsdbPmap.java fails when built with Clang
Reviewed-by: kevinw, cjplummer
2025-10-02 11:41:30 +00:00
Francesco Andreuzzi
dfd383224d 8368966: Remove spurious VMStructs friends
Reviewed-by: stefank, ayang
2025-10-02 08:58:54 +00:00
Jan Lahoda
5251405ce9 8368848: JShell's code completion not always working for multi-snippet inputs
Reviewed-by: asotona
2025-10-02 06:52:59 +00:00
Boris Ulasevich
fa3af820ad 8338197: [ubsan] ad_x86.hpp:6417:11: runtime error: shift exponent 100 is too large for 32-bit type 'unsigned int'
Reviewed-by: kvn, dlong
2025-10-01 23:49:03 +00:00
Igor Veresov
4df41d2a75 8368698: runtime/cds/appcds/aotCache/OldClassSupport.java assert(can_add()) failed: Cannot add TrainingData objects
Reviewed-by: heidinga, iklam
2025-10-01 23:15:13 +00:00
Johannes Graham
db6320df98 8368968: FloatingDecimal: Clean up unused code
Reviewed-by: rgiulietti
2025-10-01 20:00:43 +00:00
Joe Darcy
ef724f40c1 8368985: Small Float16 refactorings
Reviewed-by: rgiulietti, jbhateja
2025-10-01 19:56:05 +00:00
Justin Lu
6b72b77803 6177299: [Fmt-Nu] NumberFormat.getPercentInstance() does not work correctly
Reviewed-by: naoto
2025-10-01 17:57:43 +00:00
Pavel Rappo
e44ef0c32b 8367704: Fix minor documentation issues in java.time.**
Reviewed-by: naoto, rriggs
2025-10-01 16:05:31 +00:00
Francesco Andreuzzi
c54dcefbfd 8368938: Remove ObjectWaiter::badObjectWaiterPtr
Reviewed-by: shade, ayang
2025-10-01 14:59:14 +00:00
Roberto Castañeda Lozano
182fbc2b83 8368675: IGV: nodes are wrongly marked as changed in the difference view
Reviewed-by: mchevalier, mhaessig, dfenacci, tholenstein
2025-10-01 13:55:18 +00:00
Justin King
c69456e87a 8368962: hotspot/cpu/aarch64/bytecodes_aarch64.{hpp,cpp} is unused
Reviewed-by: aph, mhaessig
2025-10-01 13:23:13 +00:00
Jan Lahoda
3607e9986f 8367279: Test tools/javac/tree/TreePosTest.java timed out
Reviewed-by: asotona
2025-10-01 11:16:44 +00:00
Richard Reingruber
5a2700f231 8368861: [TEST] compiler/floatingpoint/ScalarFPtoIntCastTest.java expects x86 IR on non-x86 platforms
Reviewed-by: sviswanathan, mdoerr
2025-10-01 09:26:43 +00:00
Johan Sjölen
84e5d63b9f 8368885: NMT CommandLine tests can check for error better
Reviewed-by: phubner, azafari, shade
2025-10-01 09:01:19 +00:00
Hamlin Li
f49849a5ed 8368893: RISC-V: crash after JDK-8352673 on fastdebug version
Reviewed-by: fyang, dzhang
2025-10-01 08:22:02 +00:00
Thomas Schatzl
6c2d383492 8368953: Document the reason why Serial/Parallel/G1 use zero as dirty card value
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Reviewed-by: ayang, iwalulya
2025-10-01 08:08:19 +00:00
Thomas Schatzl
1188ca55f5 8368954: G1: Document why G1 uses TLS storage for the current card table reference
Reviewed-by: ayang, rcastanedalo, iwalulya
2025-10-01 08:07:59 +00:00
Kim Barrett
394eb80a48 8368957: Remove metaprogramming/logical.hpp in favor of C++17 facilities
Reviewed-by: mchevalier, iwalulya
2025-10-01 06:12:05 +00:00
Kim Barrett
8c3ca024c7 8368817: Convert JDK_Version::to_string to use stringStream instead of jio_snprintf-chain
Reviewed-by: fandreuzzi, jsjolen
2025-10-01 03:58:49 +00:00
Jaikiran Pai
17d8fa8e42 8367026: Reorder the timeout failure handler commands to have jstack run before the rest
Reviewed-by: erikj, lmesnik
2025-10-01 01:40:06 +00:00
SendaoYan
0366d8823b 8354894: java/lang/Thread/virtual/Starvation.java timeout on server with high CPUs
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: jpai
2025-10-01 00:52:30 +00:00
Mohamed Issa
9b02896b47 8360558: Use hex literals instead of decimal literals in math intrinsic constants
Reviewed-by: mhaessig, sparasa, jbhateja
2025-09-30 21:08:06 +00:00
Francesco Andreuzzi
fe9dbcc496 8368599: ShenandoahConcurrentMark could use ThreadsClaimTokenScope
Reviewed-by: ayang, shade, wkemper
2025-09-30 16:15:21 +00:00
Robbin Ehn
07ecc93dbd 8367692: RISC-V: Align post call nop
Reviewed-by: fyang, fjiang, mli
2025-09-30 15:10:30 +00:00
Erik Gahlin
6b4b10200e 8368809: JFR: Remove events from testSettingConfiguration in TestActiveSettingEvent
Reviewed-by: mgronlun
2025-09-30 14:24:05 +00:00
Erik Gahlin
8cc54ec6b8 8368563: JFR: Improve jfr query help text
Reviewed-by: mgronlun
2025-09-30 14:14:53 +00:00
Anass Baya
07ea907e4f 8361606: ConsumeNextMnemonicKeyTypedTest.java fails on Windows: character typed with VK_A: a
8321303: Intermittent open/test/jdk/java/awt/KeyboardFocusmanager/ConsumeNextMnemonicKeyTypedTest/ConsumeNextMnemonicKeyTypedTest.java failure on Linux

Reviewed-by: dnguyen, honkar, aivanov
2025-09-30 13:57:07 +00:00
Albert Mingkun Yang
444007fc23 8368842: Parallel: Refactor PCAddThreadRootsMarkingTaskClosure
Reviewed-by: fandreuzzi, tschatzl
2025-09-30 12:27:22 +00:00
Jan Lahoda
8606d3f840 8365060: Historical data for JDK 8 should include the jdk.net package
Reviewed-by: shade, liach
2025-09-30 11:54:37 +00:00
Yasumasa Suenaga
64c46d8efc 8367953: JFR sampler threads does not appear in thread dump
Reviewed-by: mgronlun
2025-09-30 11:32:44 +00:00
Francesco Andreuzzi
ba0a6eed1a 8368357: Some source files have initial blank lines
Reviewed-by: stefank, ayang, serb, jwaters, jpai
2025-09-30 10:41:13 +00:00
Markus Grönlund
b19e872192 8362573: Incorrect weight of the first ObjectAllocationSample JFR event (regression)
Reviewed-by: egahlin
2025-09-30 10:35:23 +00:00
Afshin Zafari
aea71ccab7 8342730: Get rid of SummaryDiff in VMATree
Reviewed-by: jsjolen, phubner
2025-09-30 08:54:53 +00:00
Thomas Schatzl
586167cff5 8363932: G1: Better distribute KlassCleaningTask
Reviewed-by: ayang, coleenp
2025-09-30 08:49:08 +00:00
Hamlin Li
c0a4c0ba97 8367981: Update CompactHashtable for readability
Reviewed-by: iklam, matsaave
2025-09-30 08:11:02 +00:00
Anton Artemov
2746c1a555 8367485: os::physical_memory is broken in 32-bit JVMs when running on 64-bit OSes
Reviewed-by: jsikstro, sgehwolf, stefank, stuefe, aph
2025-09-30 05:09:33 +00:00
Sergey Bylokhov
89af6e13f2 8362204: test/jdk/sun/awt/font/TestDevTransform.java fails on Ubuntu 24.04
Reviewed-by: avu, prr
2025-09-30 03:10:41 +00:00
Fei Yang
538a722c2e 8368732: RISC-V: Detect support for misaligned vector access via hwprobe
Reviewed-by: mli, dzhang
2025-09-30 01:40:35 +00:00
Alexey Semenyuk
c57003c9b8 8368890: open/test/jdk/tools/jpackage/macosx/NameWithSpaceTest.java fails randomly
Reviewed-by: almatvee
2025-09-29 21:39:42 +00:00
Afshin Zafari
2f29b3f24a 8366884: NMT fails with MallocLimit: reached category "mtCompiler" limit
Reviewed-by: phubner, jsjolen
2025-09-29 19:24:28 +00:00
Hannes Greule
59e76af47b 8367967: C2: "fatal error: Not monotonic" with Mod nodes
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: bmaillard, vlivanov, chagedorn, shade
2025-09-29 18:40:43 +00:00
Chen Liang
6c8e384c63 8356022: Migrate descriptor parsing from generics to BytecodeDescriptor
Reviewed-by: rriggs
2025-09-29 18:22:24 +00:00
Chris Plummer
3d97e17a31 8367318: Test vmTestbase/nsk/jdi/MethodEntryRequest/addClassFilter_rt/filter_rt001/TestDescription.java timed out after passing
Reviewed-by: amenkov, sspitsyn
2025-09-29 17:46:17 +00:00
Brian Burkhalter
aabf699dd0 8355339: Test java/io/File/GetCanonicalPath.java failed: The specified network name is no longer available
Reviewed-by: alanb
2025-09-29 17:43:35 +00:00
Hamlin Li
9d71af108e 8367253: RISC-V: refactor dependent cpu extensions
Reviewed-by: fyang, luhenry
2025-09-29 16:04:54 +00:00
Joe Darcy
63688d894e 8368822: Refactor Float16.valueOf(double)
Reviewed-by: rgiulietti
2025-09-29 14:48:04 +00:00
Roger Riggs
9d9c0e0670 8368793: java/lang/StringBuilder/RacingSBThreads.java timed out in Xcomp subtest
Reviewed-by: iris, alanb, syan
2025-09-29 13:55:49 +00:00
Daniel Gredler
fdbba049a2 8368775: Remove outdated comment in OutlineTextRenderer
Reviewed-by: prr, dnguyen, serb
2025-09-29 10:39:25 +00:00
Daniel Gredler
6165921449 7156751: [macosx] Problem with printing
Reviewed-by: prr, serb
2025-09-29 10:28:45 +00:00
Thomas Schatzl
08b677bba4 8071277: G1: Merge commits and uncommits of contiguous memory
Reviewed-by: iwalulya, ayang
2025-09-29 10:05:45 +00:00
Albert Mingkun Yang
75269fdb49 8368715: Serial: Add GCTraceTime for marking from roots subphases during full gc marking
Reviewed-by: fandreuzzi, tschatzl, iwalulya
2025-09-29 07:26:43 +00:00
Jan Lahoda
d53190ac44 8366582: Test jdk/jshell/ToolSimpleTest.java failed: provider not found
Reviewed-by: asotona
2025-09-29 05:36:18 +00:00
Axel Boldt-Christmas
e19ec6f785 8368754: runtime/cds/appcds/SignedJar.java log regex is too strict
Reviewed-by: iklam, dholmes
2025-09-29 05:19:56 +00:00
Sergey Bylokhov
320230db5f 8367795: HeadlessMalfunctionTest may fail due to timeout
Reviewed-by: prr
2025-09-28 04:49:58 +00:00
Kelvin Nilsen
af8fb20ac0 8368307: Shenandoah: get_next_bit_impl should special case weak and strong mark bits
Reviewed-by: wkemper
2025-09-27 04:07:29 +00:00
SendaoYan
9093d3a04c 8368668: Several vmTestbase/vm/gc/compact tests timed out on large memory machine
Reviewed-by: lmesnik
2025-09-27 02:37:39 +00:00
Archie Cobbs
5b1ebbb271 8366561: Improve documentation for how the -Xlint flag works
Reviewed-by: vromero
2025-09-27 02:34:27 +00:00
Mohamed Issa
37f0e74d32 8364305: Support AVX10 saturating floating point conversion instructions
Reviewed-by: sviswanathan, sparasa, jbhateja
2025-09-26 21:10:30 +00:00
Alex Menkov
cedc0117ac 8365057: Add support for java.util.concurrent lock information to Thread.dump_to_file
Co-authored-by: Alex Menkov <amenkov@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: sspitsyn, alanb
2025-09-26 20:49:36 +00:00
Justin Lu
12c0f29b97 8368498: Use JUnit instead of TestNG for jdk_text tests
Reviewed-by: naoto
2025-09-26 20:12:48 +00:00
Francesco Andreuzzi
c6cecc581f 8283198: Remove src/jdk.hotspot.agent/test
Reviewed-by: amenkov, ayang, sspitsyn
2025-09-26 19:51:04 +00:00
Leonid Mesnik
62cc347242 8368699: nsk/jvmti/scenarios/events/EM04/em04t001/em04t001.cpp destroys jvmti monitor when VM is dead
Reviewed-by: sspitsyn
2025-09-26 19:36:00 +00:00
Leonid Mesnik
556dfddac8 8308027: GetThreadListStackTraces/OneGetThreadListStackTraces.java should be skipped when thread factory is used
Reviewed-by: dholmes, sspitsyn
2025-09-26 19:34:04 +00:00
Naoto Sato
bdf6853cfd 8368328: CompactNumberFormat.clone does not produce independent instances
Reviewed-by: rgiulietti, jlu
2025-09-26 16:50:05 +00:00
Ashutosh Mehra
aa6ff45052 8368693: Duplicate methods in vmClasses
Reviewed-by: liach, coleenp, dholmes
2025-09-26 14:56:03 +00:00
Albert Mingkun Yang
25abdd85c4 8368752: Serial: Remove unused arg of DefNewGeneration::gc_epilogue
Reviewed-by: tschatzl, fandreuzzi
2025-09-26 14:48:26 +00:00
Manuel Hässig
501b2b3ebc 8368615: VSCode IDE: Oracle Java extension routinely runs out of memory
Reviewed-by: erikj
2025-09-26 14:28:35 +00:00
Roger Riggs
2360542e89 8368683: [process] Increase jtreg debug output maxOutputSize for TreeTest
Reviewed-by: msheppar
2025-09-26 14:19:12 +00:00
Alexey Semenyuk
bdb7d25ac1 8358723: jpackage signing issues: the main launcher doesn't have entitlements
Reviewed-by: almatvee
2025-09-26 13:59:39 +00:00
Joachim Kern
f0e1078c71 8368250: [AIX] now ubsan vptr check is also possible (follow up of JDK-8354686)
Reviewed-by: erikj, stuefe, mbaesken
2025-09-26 12:14:58 +00:00
Matthias Baesken
7bfdb01207 8368565: Adjust comment regarding dependency of libjvm.so to librt
Reviewed-by: dholmes
2025-09-26 09:00:59 +00:00
Matthias Baesken
a80ba6260e 8357691: File blocked.certs contains bad content when boot jdk 25 is used, sun/security/lib/CheckBlockedCerts.java failing
Reviewed-by: erikj, iklam
2025-09-26 07:56:40 +00:00
Arno Zeller
b90799c0e9 8368616: runtime/cds/appcds/aotCache/JavaAgent.java#dynamic fails on non CDS platforms/builds after JDK-8362561
Reviewed-by: mbaesken, shade, iklam
2025-09-26 07:47:26 +00:00
Albert Mingkun Yang
873078028b 8368006: Parallel: Skip full regions in dense prefix during Full GC
Reviewed-by: gli, fandreuzzi
2025-09-26 07:27:51 +00:00
Thomas Stuefe
a663812121 8368124: Show useful thread names in ASAN reports
Reviewed-by: dholmes, mbaesken
2025-09-26 06:14:28 +00:00
Alexey Semenyuk
ca03080c9f 8368030: Make package bundlers stateless
Reviewed-by: almatvee
2025-09-26 00:10:21 +00:00
Daniel D. Daugherty
648582ab78 8368714: [BACKOUT] JDK-8368468 Split out everything but configure results from spec.gmk
Reviewed-by: ihse
2025-09-25 20:55:05 +00:00
Ioi Lam
52e777845f 8367910: Reduce warnings about unsupported classes in AOT cache creation
Reviewed-by: dholmes, kvn, shade
2025-09-25 19:59:52 +00:00
Daniel Jeliński
3c9fd7688f 8368514: TLS stateless session ticket decryption fails on some providers
Reviewed-by: valeriep, abarashev
2025-09-25 18:47:32 +00:00
Johannes Graham
a48538dd63 8367324: Avoid redundant parsing when formatting with DigitList
Reviewed-by: jlu, rgiulietti
2025-09-25 18:23:13 +00:00
Daniel Jeliński
80cb0ead50 8367133: DTLS: fragmentation of Finished message results in handshake failure
Reviewed-by: jnimeh
2025-09-25 18:17:19 +00:00
Valerie Peng
5c596e2a95 8360463: Ambiguity in Cipher.getInstance() specification between NoSuchAlgorithmException and NoSuchPaddingException
Reviewed-by: mullan
2025-09-25 18:10:58 +00:00
Magnus Ihse Bursie
32ab0dbc0b 8368674: Incremental builds keep rebuilding interim jmod
Reviewed-by: cstein, erikj
2025-09-25 17:44:55 +00:00
Magnus Ihse Bursie
de1f5a3c43 8368468: Split out everything but configure results from spec.gmk
Reviewed-by: erikj
2025-09-25 17:42:46 +00:00
Albert Mingkun Yang
741221988e 8368261: Serial: Use more precise nmethod scope during Full GC marking
Reviewed-by: stefank, fandreuzzi
2025-09-25 16:47:22 +00:00
William Kemper
8ca1feaf7e 8368499: GenShen: Do not collect age census during evac when adaptive tenuring is disabled
Reviewed-by: kdnilsen, ysr
2025-09-25 15:37:02 +00:00
Artur Barashev
569e78080b 8365820: Apply certificate scope constraints to algorithms in "signature_algorithms" extension when "signature_algorithms_cert" extension is not being sent
Reviewed-by: hchao
2025-09-25 14:44:06 +00:00
SendaoYan
043aeaf02a 8368552: H3ErrorHandlingTest.testCloseControlStream intermittent timed out
Reviewed-by: dfuchs
2025-09-25 14:30:47 +00:00
Boris Ulasevich
2b451131a5 8359378: aarch64: crash when using -XX:+UseFPUForSpilling
Reviewed-by: aph, rcastanedalo
2025-09-25 13:35:36 +00:00
Hamlin Li
d1ea6ea22d 8367103: RISC-V: store cpu features in a bitmap
Reviewed-by: fyang, luhenry
2025-09-25 12:42:18 +00:00
Matthew Donovan
26b5708c47 8360882: Tests throw SkippedException when they should fail
Reviewed-by: mullan
2025-09-25 12:15:09 +00:00
Erik Gahlin
77a71c5b09 8366896: JFR: Use GarbageCollection.name in gc view
Reviewed-by: mgronlun
2025-09-25 12:08:39 +00:00
Guanqiang Han
52e5504627 8368089: G1: G1PeriodicGCTask::should_start_periodic_gc may use uninitialised value if os::loadavg is unsupported
Reviewed-by: ayang, tschatzl, iwalulya
2025-09-25 11:55:18 +00:00
Daniel Gredler
2407eb0522 8367867: [macosx] Ignorable whitespace in text not removed when printing
Reviewed-by: prr, serb
2025-09-25 10:08:56 +00:00
Dingli Zhang
67cb53d088 8368206: RISC-V: compiler/vectorapi/VectorMaskCompareNotTest.java fails when running without RVV
Reviewed-by: fyang, mhaessig, mli
2025-09-25 10:06:57 +00:00
Amit Kumar
44cb9cad26 8368518: [s390x] test failure with failed: wrong size of mach node
Reviewed-by: dlong, mdoerr, lucy
2025-09-25 09:59:37 +00:00
Serhiy Sachkov
4f4030a423 8333526: Restructure java/nio/channels/DatagramChannel/StressNativeSignal.java to a fail fast exception handling policy
Reviewed-by: dfuchs
2025-09-25 09:51:51 +00:00
Daniel Fuchs
d85e410c19 8368546: java/net/httpclient/RedirectTimeoutTest.java fails intermittently for HTTP/3 in tier7
Reviewed-by: jpai, syan, djelinski, vyazici
2025-09-25 09:42:53 +00:00
Joel Sikström
d407ef6510 8368251: Parallel: Refactor lgrp_id used in MutableNUMASpace
Reviewed-by: lkorinth, ayang, tschatzl
2025-09-25 09:38:43 +00:00
Alice Pellegrini
ba44656b97 8366454: TLS1.3 server fails with bad_record_mac when receiving encrypted records with empty body
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Reviewed-by: djelinski
2025-09-25 08:44:14 +00:00
Fredrik Bredberg
847b107df8 8365191: Cleanup after removing LockingMode related code
Reviewed-by: coleenp, dholmes, yzheng, mdoerr, ayang, fyang, amitkumar
2025-09-25 08:15:45 +00:00
Hamlin Li
e6ddb39635 8368525: nmethod ic cleanup
Reviewed-by: chagedorn, mhaessig
2025-09-25 08:11:15 +00:00
Serguei Spitsyn
17244c699a 8368159: Significant performance overhead when started with jdwp agent and unattached debugger
Reviewed-by: lmesnik, cjplummer
2025-09-25 05:41:32 +00:00
Igor Veresov
2aafda1968 8366948: AOT cache creation crashes when iterating training data
Reviewed-by: vlivanov, iklam
2025-09-24 23:07:44 +00:00
Kelvin Nilsen
a2870d6b49 8368015: Shenandoah: fix error in computation of average allocation rate
Reviewed-by: wkemper
2025-09-24 22:49:01 +00:00
Ioi Lam
17accf4a06 8368174: Proactive initialization of @AOTSafeClassInitializer classes
Reviewed-by: liach, adinn, asmehra
2025-09-24 20:58:26 +00:00
Ioi Lam
8f87fdce0b 8368182: AOT cache creation fails with class defined by JNI
Reviewed-by: dholmes, matsaave
2025-09-24 20:52:28 +00:00
Justin Lu
5d93242028 8368335: Refactor the rest of Locale TestNG based tests to JUnit
Reviewed-by: naoto, liach
2025-09-24 19:29:07 +00:00
Brian Burkhalter
4141534e4a 8368156: java/nio/file/Files/IsSameFile.java failing (win)
Reviewed-by: vyazici, jpai
2025-09-24 18:47:42 +00:00
Mahendra Chhipa
7fe71a7813 8318662: Refactor some jdk/java/net/httpclient/http2 tests to JUnit
Reviewed-by: dfuchs
2025-09-24 17:48:11 +00:00
Phil Race
52a923f20c 8367702: PrintJob.getGraphics() should return null after PrintJob.end
Reviewed-by: azvegint
2025-09-24 16:28:44 +00:00
Phil Race
f489598d43 8221451: PIT: sun/java2d/X11SurfaceData/SharedMemoryPixmapsTest/SharedMemoryPixmapsTest.sh fails
7184899: Test sun/java2d/X11SurfaceData/SharedMemoryPixmapsTest/SharedMemoryPixmapsTest.sh fail

Reviewed-by: psadhukhan, azvegint
2025-09-24 16:11:43 +00:00
Justin Lu
85f5bf3f41 8368308: ISO 4217 Amendment 180 Update
Reviewed-by: naoto, iris, coffeys
2025-09-24 16:06:41 +00:00
Daniel Lundén
faf6df5462 8325467: Support methods with many arguments in C2
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: rcastanedalo, kvn, epeter
2025-09-24 15:02:40 +00:00
Guanqiang Han
735afd93bb 8366421: ModifiedUtf.utfLen may overflow for giant string
Reviewed-by: liach, rriggs
2025-09-24 14:10:19 +00:00
Ashutosh Mehra
156eb767f1 8366905: Store AdapterBlob pointer in AdapterHandlerEntry
Reviewed-by: kvn, adinn
2025-09-24 13:37:58 +00:00
Thomas Schatzl
ed31023fc5 8368367: Test jdk/jfr/event/gc/detailed/TestGCHeapMemoryUsageEvent.java fails jdk.GCHeapMemoryUsage "expected 0 > 0"
Reviewed-by: iwalulya, ayang, syan
2025-09-24 13:37:33 +00:00
Thomas Schatzl
f7c9fef914 8352069: Renamings after JEP 522: G1 GC: Improve Throughput by Reducing Synchronization
Reviewed-by: iwalulya, ayang
2025-09-24 13:37:16 +00:00
Mikhail Yankelevich
2a232d0210 8360979: Remove use of Thread.stop in krb5/auto/KDC.java
Reviewed-by: weijun
2025-09-24 13:21:31 +00:00
Chen Liang
1cd186c7f7 8368331: ClassFile Signature parsing fails for type parameter with no supertype
Reviewed-by: asotona
2025-09-24 13:14:32 +00:00
Matthias Baesken
0a64358aa8 8368273: LIBPTHREAD dependency is not needed for some jdk libs
Reviewed-by: ihse
2025-09-24 13:07:45 +00:00
Alan Bateman
727d41d288 8368226: Remove Thread.stop
Reviewed-by: vklang, jpai, lancea, serb
2025-09-24 13:03:34 +00:00
Coleen Phillimore
e8adc1f816 8367989: Remove InstanceKlass::allocate_objArray and ArrayKlass::allocate_arrayArray
Reviewed-by: stefank, fparain
2025-09-24 12:51:50 +00:00
Fei Yang
2313f8e4eb 8368366: RISC-V: AlignVector is mistakenly set to AvoidUnalignedAccesses
Reviewed-by: fjiang, rehn, mli
2025-09-24 11:31:09 +00:00
Volkan Yazici
288822a5c2 8367068: Remove redundant HttpRequest.BodyPublisher tests
Reviewed-by: dfuchs
2025-09-24 08:07:58 +00:00
Joachim Kern
f993f90c86 8360401: [AIX] java/lang/ProcessBuilder/FDLeakTest/FDLeakTest.java fails since JDK-8210549
Reviewed-by: mdoerr, stuefe
2025-09-24 07:38:23 +00:00
Axel Boldt-Christmas
303686684c 8367972: ZGC: Reduce ZBarrierSet includes
Reviewed-by: stefank, eosterlund
2025-09-24 06:28:13 +00:00
Daniel Jeliński
3183a13f66 8368073: PKCS11 HKDF can't use byte array IKM in FIPS mode
Reviewed-by: valeriep
2025-09-24 06:19:24 +00:00
SendaoYan
5350ce1059 8368373: Test H3MalformedResponseTest.testMalformedResponse intermittent timed out
Reviewed-by: dfuchs, djelinski
2025-09-24 06:03:59 +00:00
Prasanta Sadhukhan
7d3452b37e 8368181: ProblemList java/awt/Dialog/ModalExcludedTest/ModalExcludedTest.java
Reviewed-by: serb, azvegint
2025-09-24 02:50:09 +00:00
erifan
528f93f8cb 8367391: Loss of precision on implicit conversion in vectornode.cpp
Reviewed-by: chagedorn, roland
2025-09-24 01:35:51 +00:00
William Kemper
f36c33c86d 8368152: Shenandoah: Incorrect behavior at end of degenerated cycle
Reviewed-by: kdnilsen, ysr
2025-09-24 00:46:45 +00:00
Mohamed Issa
f68cba3d2f 8367611: Enable vblendvp[sd] on Future ECore
Reviewed-by: mhaessig, sviswanathan, vpaprotski
2025-09-23 20:20:49 +00:00
Damon Nguyen
f1ee1b4a3d 8366844: Update and automate MouseDraggedOriginatedByScrollBarTest.java
Reviewed-by: aivanov, honkar
2025-09-23 17:36:55 +00:00
Roger Riggs
218e82c875 8368192: Test java/lang/ProcessBuilder/Basic.java#id0 fails with Exception: Stack trace
Reviewed-by: jpai, stuefe
2025-09-23 16:59:00 +00:00
Matthias Baesken
82bdef1639 8367913: LIBDL dependency seems to be not needed for some jdk libs
Reviewed-by: aivanov, ihse, clanger, mdoerr
2025-09-23 15:07:59 +00:00
Erik Gahlin
4df04a2543 8366809: JFR: Use factory for aggregator functions
Reviewed-by: mgronlun
2025-09-23 14:53:04 +00:00
Ioi Lam
fd30ae988b 8350550: Preload classes from AOT cache during VM bootstrap
Reviewed-by: kvn, heidinga, asmehra
2025-09-23 14:43:16 +00:00
Viktor Klang
61acdf6512 8365065: cancelled ForkJoinPool tasks no longer throw CancellationException
Co-authored-by: Doug Lea <dl@openjdk.org>
Reviewed-by: alanb
2025-09-23 13:09:15 +00:00
Chen Liang
f9b91a7836 8368050: Validation missing in ClassFile signature factories
Reviewed-by: asotona
2025-09-23 12:47:56 +00:00
Erik Gahlin
4bc86a26db 8367948: JFR: MethodTrace threshold setting has no effect
Reviewed-by: shade
2025-09-23 12:36:13 +00:00
Thomas Schatzl
02c78bb47e 8367731: G1: Make G1CollectionSet manage the young gen cset group
Reviewed-by: iwalulya, ayang
2025-09-23 11:46:37 +00:00
Magnus Ihse Bursie
dbf787c6b7 8368326: Don't export unresolved make variables from configure
Reviewed-by: erikj
2025-09-23 11:42:20 +00:00
Shaojin Wen
e122f4dd0d 8368024: Remove StringConcatFactory#generateMHInlineCopy
Reviewed-by: redestad
2025-09-23 09:46:56 +00:00
Jaikiran Pai
29908148f8 8367598: Switch to CRC32C for SEED calculation in jdk.test.lib.Utils
Reviewed-by: weijun
2025-09-23 09:42:56 +00:00
Francesco Andreuzzi
b48f51932f 8368345: Remove leftover includes of strongRootsScope.hpp
Reviewed-by: stefank, tschatzl, ayang
2025-09-23 09:40:28 +00:00
Adam Sotona
d316d3f74f 8366926: Unexpected exception occurs when executing code in a "local" JShell environment
Reviewed-by: liach, jlahoda
2025-09-23 09:09:46 +00:00
Thomas Schatzl
2e99ed6422 8368080: G1: Unnecessary initialization of G1CMTask's mark stats table
Reviewed-by: iwalulya, shade
2025-09-23 09:07:09 +00:00
Ivan Walulya
3e5094ed12 8366865: Allocation GC Pauses Triggered after JVM has started shutdown
Reviewed-by: ayang, tschatzl
2025-09-23 08:19:12 +00:00
Shawn M Emery
360b6af1b1 8364657: Crash for SecureRandom.generateSeed(0) on Windows x86-64
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: weijun, jpai
2025-09-23 07:54:51 +00:00
Axel Boldt-Christmas
47ed1a8d17 8368213: ZGC: Cleanup dead code, unimplemented declarations, unused private fields
Reviewed-by: stefank, jsikstro
2025-09-23 07:15:06 +00:00
Axel Boldt-Christmas
7ed72d943b 8368212: ZGC: Fix spelling and typos in comments
Reviewed-by: jsikstro, stefank
2025-09-23 07:12:27 +00:00
Axel Boldt-Christmas
43531064c2 8368214: ZGC: Remove double newlines
Reviewed-by: stefank, jsikstro
2025-09-23 07:11:56 +00:00
Dingli Zhang
942b21772a 8368247: RISC-V: enable vectorapi test for expand operation
Reviewed-by: mli, fyang
2025-09-23 07:00:17 +00:00
SendaoYan
61c5245bf7 8367869: Test java/io/FileDescriptor/Sync.java timed out
Reviewed-by: jpai, shade, rriggs
2025-09-23 00:33:05 +00:00
Alexey Semenyuk
b11b1f1186 8343221: IOUtils.copyRecursive() doesn't create parent directories
Reviewed-by: almatvee
2025-09-22 23:56:49 +00:00
Joe Darcy
4882559ae3 8367942: Add API note discussing Double.compareTo total order and IEEE 754 total order
Reviewed-by: rgiulietti
2025-09-22 21:30:47 +00:00
Magnus Ihse Bursie
d0fe8f7ede 8368312: Move CC_OUT_OPTION out of spec.gmk
Reviewed-by: erikj
2025-09-22 21:03:15 +00:00
Damon Nguyen
9f7b9887cb 8366149: JNI exception pending in Java_sun_awt_X11GraphicsDevice_pGetBounds of awt_GraphicsEnv.c:1484
Reviewed-by: aivanov, prr
2025-09-22 20:29:48 +00:00
Sean Coffey
47efe3c794 8343395: SSLLogger doesn't work for formatted messages
Reviewed-by: weijun
2025-09-22 18:41:07 +00:00
Man Cao
bdfe05b595 8368071: Compilation throughput regressed 2X-8X after JDK-8355003
Reviewed-by: iveresov, shade
2025-09-22 18:05:48 +00:00
Chris Plummer
c3aaa8751a 8361955: [GCC static analyzer] libjdwp/threadControl.c threadControl_setPendingInterrupt error: dereference of NULL 'node'
Reviewed-by: dholmes, sspitsyn, lmesnik
2025-09-22 17:22:01 +00:00
Harshitha Onkar
58270b757c 8346839: [TESTBUG] "java/awt/textfield/setechochartest4/setechochartest4.java" failed because the test frame disappears on clicking "Click Several Times" button
Reviewed-by: psadhukhan, serb
2025-09-22 17:02:17 +00:00
Justin Lu
ced3f13f4e 8367901: Calendar.roll(hour, 24) returns wrong result
Reviewed-by: naoto, iris
2025-09-22 16:58:00 +00:00
Kerem Kat
2f74e14334 8367862: debug.cpp: Do not print help message for methods ifdef'd out
Reviewed-by: mhaessig, kevinw, shade, phh
2025-09-22 15:31:21 +00:00
Alexey Ivanov
e365b7d69c 8366369: Add @requires linux for GTK L&F tests
Reviewed-by: serb, prr, tr
2025-09-22 15:08:45 +00:00
Roger Riggs
2b28c28384 8368298: ProblemList: Test java/lang/ProcessBuilder/Basic.java
Reviewed-by: jpai
2025-09-22 15:05:07 +00:00
Leo Korinth
bf726e8217 8285984: G1: Use standard idiom for inlined payload in G1MonotonicArena::Segment
Reviewed-by: aboldtch, tschatzl
2025-09-22 14:22:57 +00:00
Magnus Ihse Bursie
3c6ef5e27a 8368102: Don't store macros in spec.gmk
Reviewed-by: erikj
2025-09-22 14:15:51 +00:00
Thomas Schatzl
8d5c005642 8342382: Implement JEP 522: G1 GC: Improve Throughput by Reducing Synchronization
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Carlo Refice <carlo.refice@oracle.com>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: iwalulya, rcastanedalo, aph, ayang
2025-09-22 13:47:45 +00:00
Magnus Ihse Bursie
ca182912a3 8368094: Fix problem list errors
Reviewed-by: dholmes, dcubed, syan
2025-09-22 13:35:35 +00:00
Casper Norrbin
2131584add 8367536: Change RBTree to use C++17 features
Reviewed-by: kbarrett, ayang
2025-09-22 12:57:01 +00:00
Albert Mingkun Yang
f779ad64ac 8368104: Parallel: Refactor PSThreadRootsTaskClosure
Reviewed-by: stefank, fandreuzzi
2025-09-22 12:56:31 +00:00
Manuel Hässig
0ba4141cb1 8366878: Improve flags of compiler/loopopts/superword/TestAlignVectorFuzzer.java
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: epeter, mchevalier
2025-09-22 11:24:30 +00:00
Daniel Fuchs
e8db14f584 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Bradford Wetmore <wetmore@openjdk.org>
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Co-authored-by: Darragh Clarke <dclarke@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Co-authored-by: Michael McMahon <michaelm@openjdk.org>
Co-authored-by: Volkan Yazici <vyazici@openjdk.org>
Co-authored-by: Conor Cleary <conor.cleary@oracle.com>
Co-authored-by: Patrick Concannon <patrick.concannon@oracle.com>
Co-authored-by: Rahul Yadav <rahul.r.yadav@oracle.com>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Reviewed-by: djelinski, jpai, aefimov, abarashev, michaelm
2025-09-22 10:12:12 +00:00
Leo Korinth
433d2ec534 8367409: G1: Remove unused G1MonotonicArena::Segment::copy_to()
Reviewed-by: ayang, tschatzl
2025-09-22 09:53:56 +00:00
Albert Mingkun Yang
44454633eb 8368086: G1: Use ThreadsClaimTokenScope in G1CMRemarkTask
Reviewed-by: fandreuzzi, stefank, iwalulya
2025-09-22 07:54:25 +00:00
Albert Mingkun Yang
f10fbe1fb4 8368072: Remove redundant arguments of MarkingNMethodClosure
Reviewed-by: stefank, fandreuzzi
2025-09-22 07:20:00 +00:00
Johan Sjölen
258fcf9f5e 8367987: Memory leak in MemBaseline: Must delete _vma_allocations
Reviewed-by: phubner, azafari
2025-09-22 07:15:41 +00:00
Christian Stein
682fd7846c 8366678: Use JUnit in test/langtools/tools/javac
Reviewed-by: liach
2025-09-22 06:02:20 +00:00
Axel Boldt-Christmas
5efaa9970a 8367298: ZGC: Enhance zaddress type system's assert messages
Reviewed-by: stefank, tschatzl
2025-09-22 05:32:11 +00:00
Axel Boldt-Christmas
a1b43c3046 8368087: ZGC: Make ZStatLoad::print() logging conditional on os::loadavg support
Reviewed-by: eosterlund, stefank, jsikstro
2025-09-22 05:06:25 +00:00
Tejesh R
5e12ff9ff6 8213530: Test java/awt/Modal/ToFront/DialogToFrontModeless1Test.java fails on Linux
Reviewed-by: psadhukhan, dnguyen
2025-09-22 03:45:37 +00:00
erifan
e6f8450d95 8363989: AArch64: Add missing backend support of VectorAPI expand operation
Reviewed-by: epeter, eliu, xgong
2025-09-22 02:03:03 +00:00
Ioi Lam
cc65836d00 8367719: Refactor JNI code that uses class_to_verify_considering_redefinition()
Reviewed-by: coleenp, dholmes, sspitsyn
2025-09-20 17:28:05 +00:00
Ioi Lam
d21e73dee3 8366941: Excessive logging in serviceability tests causes timeout
Reviewed-by: lmesnik, sspitsyn
2025-09-20 17:26:07 +00:00
Francesco Andreuzzi
b03b6f54c5 8367988: NewFileSystemTests.readOnlyZipFileFailure fails when run by root user
Reviewed-by: jpai, bpb
2025-09-20 14:02:31 +00:00
Francesco Andreuzzi
5a684e3196 8368029: Several tests in httpserver/simpleserver should throw SkipException
Reviewed-by: djelinski, dfuchs
2025-09-20 06:48:54 +00:00
Renjith Kannath Pariyangad
4b544f93ad 8365379: SU3.applyInsets may produce wrong results
Reviewed-by: aivanov, prr, serb
2025-09-19 21:39:41 +00:00
Man Cao
25a4e26320 8367613: Test compiler/runtime/TestDontCompileHugeMethods.java failed
Reviewed-by: chagedorn, dfenacci
2025-09-19 19:53:33 +00:00
Srinivas Vamsi Parasa
3d4e049194 8367780: Enable UseAPX on Intel CPUs only when both APX_F and APX_NCI_NDD_NF cpuid features are present
Reviewed-by: sviswanathan, vpaprotski
2025-09-19 18:18:53 +00:00
Brian Burkhalter
bca1e6e9c3 8365626: (fs) Improve handling of broken links in Files.isSameFile() (win)
Reviewed-by: alanb
2025-09-19 17:06:23 +00:00
Leonid Mesnik
695e36b003 8367927: Remove 8043571-related tests from problemlists
Reviewed-by: dholmes, sspitsyn
2025-09-19 15:49:18 +00:00
Leonid Mesnik
16458b60c9 8367725: Incorrect reading of oop in SuspendResumeManager::suspend while thread is blocked
Reviewed-by: pchilanomate, dholmes, sspitsyn
2025-09-19 15:20:34 +00:00
Aleksey Shipilev
1512d889de 8348278: Trim InitialRAMPercentage to improve startup in default modes
Reviewed-by: eosterlund, sjohanss
2025-09-19 14:26:05 +00:00
Albert Mingkun Yang
54206943a1 8367651: Parallel: Remove workers number checking in constructor of PSAdjustTask
Reviewed-by: iwalulya, tschatzl
2025-09-19 14:15:37 +00:00
Artur Barashev
3798dcf75b 8367104: Check for RSASSA-PSS parameters when validating certificates against algorithm constraints
Reviewed-by: mullan
2025-09-19 13:06:25 +00:00
Magnus Ihse Bursie
2b7eee4a4c 8366899: SetupExecute should add the command line to vardeps
Reviewed-by: erikj
2025-09-19 13:04:18 +00:00
Volkan Yazici
87d50425fc 8367067: Improve exception handling in HttpRequest.BodyPublishers
Reviewed-by: jpai, dfuchs
2025-09-19 12:07:27 +00:00
Erik Gahlin
802d9c23dc 8367107: JFR: Refactor policy tests out of TestRemoteDump
Reviewed-by: mgronlun
2025-09-19 12:03:43 +00:00
Coleen Phillimore
fa00b24954 8365823: Revert storing abstract and interface Klasses to non-class metaspace
Reviewed-by: kvn, shade, stuefe
2025-09-19 11:54:34 +00:00
Thomas Schatzl
2bff4174e5 8367759: G1: Move G1UpdateRegionLivenessAndSelectForRebuildTask into its own file
Reviewed-by: ayang, iwalulya
2025-09-19 11:48:10 +00:00
Francisco Ferrari Bihurriet
1b9a11682d 8367782: VerifyJarEntryName.java: Fix modifyJarEntryName to operate on bytes and re-introduce verifySignatureEntryName
Reviewed-by: hchao
2025-09-19 10:23:04 +00:00
Magnus Ihse Bursie
65aea48588 8367859: Remove nio exception gensrc
Reviewed-by: naoto, erikj, bpb
2025-09-19 10:06:02 +00:00
Manuel Hässig
94a301a70e 8366875: CompileTaskTimeout should be reset for each iteration of RepeatCompilation
Reviewed-by: dlong, epeter
2025-09-19 09:08:29 +00:00
Stefan Johansson
937e19e86a 8366780: Enhance ProcSmapsParser and Printer to handle THPeligible field
Reviewed-by: stuefe, ayang
2025-09-19 08:48:35 +00:00
Kevin Walls
930d724923 8367983: javax/management/monitor/ThreadPoolTest.java and StartStopTest.java fail with Unexpected Maximum Pool Size Overflow!
Reviewed-by: cjplummer, dholmes
2025-09-19 08:15:28 +00:00
Albert Mingkun Yang
28879d3d03 8367848: Parallel: Use NMethodToOopClosure during Young GC
Reviewed-by: stefank, tschatzl
2025-09-19 07:37:14 +00:00
Tagir F. Valeev
48d394a245 8356995: Provide default methods min(T, T) and max(T, T) in Comparator interface
Reviewed-by: rriggs, smarks
2025-09-19 07:19:03 +00:00
Amit Kumar
898fcff037 8367325: [s390x] build failure due to JDK-8361376
Reviewed-by: mdoerr, dlong
2025-09-19 04:33:48 +00:00
Prasanta Sadhukhan
5855fd2f65 8367784: java/awt/Focus/InitialFocusTest/InitialFocusTest1.java failed with Wrong focus owner
Reviewed-by: honkar, dnguyen
2025-09-19 02:58:02 +00:00
SendaoYan
c0815e40b6 8367904: Test java/net/InetAddress/ptr/Lookup.java should throw SkippedException
Reviewed-by: fandreuzzi, dfuchs
2025-09-19 01:50:20 +00:00
Jaikiran Pai
7ec3fa5f0a 8367801: jtreg failure_handler - don't use the -L option for ps command
Reviewed-by: ayang, shade
2025-09-19 01:36:41 +00:00
Ioi Lam
e3a4c28409 8362657: Make tables used in AOT assembly phase GC-safe
Reviewed-by: shade, dholmes
2025-09-19 01:04:28 +00:00
William Kemper
6e4e966d9b 8365792: GenShen: assertion "Generations aren't reconciled"
Reviewed-by: xpeng, ysr
2025-09-18 21:18:37 +00:00
William Kemper
e4cb86df2b 8367473: Shenandoah: Make the detailed evacuation metrics a runtime diagnostic option
8367722: [GenShen] ShenandoahEvacuationStats is always empty

Reviewed-by: ysr, phh
2025-09-18 18:53:08 +00:00
William Kemper
4be4826ddb 8367450: Shenandoah: Log the composition of the collection set
Reviewed-by: ysr, kdnilsen, phh
2025-09-18 18:50:44 +00:00
Albert Mingkun Yang
14b9f53bb3 8367626: Parallel: Remove ParallelCompactData::summarize_dense_prefix
Reviewed-by: gli, fandreuzzi
2025-09-18 17:22:45 +00:00
Ioi Lam
000569da60 8362561: Remove diagnostic option AllowArchivingWithJavaAgent
Reviewed-by: sspitsyn, shade, dholmes, ayang
2025-09-18 16:09:26 +00:00
Kelvin Nilsen
c597384ad6 8367708: GenShen: Reduce total evacuation burden
Reviewed-by: wkemper
2025-09-18 16:06:59 +00:00
Chris Plummer
b8f2c7387f 8367614: Test vmTestbase/nsk/jdi/stress/serial/heapwalking001/TestDescription.java failed, passed and timed-out
Reviewed-by: dholmes, sspitsyn
2025-09-18 15:35:32 +00:00
Ben Perez
72e5ad3d21 8365581: Optimize Java implementation of P256 arithmetic
Reviewed-by: jnimeh
2025-09-18 15:23:05 +00:00
Albert Mingkun Yang
c927291ecf 8367739: Serial: Retry allocation after lock acquire in mem_allocate_work
Reviewed-by: fandreuzzi, tschatzl
2025-09-18 15:08:37 +00:00
Johan Sjölen
feaa654b1b 8367249: [REDO] MemBaseline accesses VMT without using lock
Reviewed-by: azafari, cnorrbin
2025-09-18 12:26:50 +00:00
Christian Stein
5db1dfe5c8 8361950: Update to use jtreg 8
Reviewed-by: jpai, iris, joehw, erikj, ihse, liach, alanb
2025-09-18 12:09:47 +00:00
Emanuel Peter
a49856bb04 8367969: C2: compiler/vectorapi/TestVectorMathLib.java fails without UnlockDiagnosticVMOptions
Reviewed-by: shade, mhaessig
2025-09-18 11:09:40 +00:00
Francesco Andreuzzi
4c7c009dd6 8367740: assembler_<cpu>.inline.hpp should not include assembler.inline.hpp
Reviewed-by: dfenacci, ayang
2025-09-18 09:09:27 +00:00
Manuel Hässig
04dcaa3412 8367721: Test compiler/arguments/TestCompileTaskTimeout.java crashed: SIGSEGV
Reviewed-by: mchevalier, chagedorn
2025-09-18 08:30:05 +00:00
Francesco Andreuzzi
4c5e901c96 8367689: Revert removal of several compilation-related vmStructs fields
Reviewed-by: kevinw, coleenp
2025-09-18 08:25:05 +00:00
Srinivas Mandalika
a306f88a84 8339791: Refactor MiscUndecorated/ActiveAWTWindowTest.java
Reviewed-by: psadhukhan
2025-09-18 06:41:20 +00:00
Damon Fenacci
a355edbbe4 8367278: Test compiler/startup/StartupOutput.java timed out after completion on Windows
Reviewed-by: syan, chagedorn
2025-09-18 06:24:49 +00:00
Ioi Lam
91a979430e 8367366: Do not support -XX:+AOTClassLinking for dynamic CDS archive
Reviewed-by: kvn, asmehra
2025-09-18 02:49:10 +00:00
Vladimir Ivanov
aa36799acb 8367333: C2: Vector math operation intrinsification failure
Reviewed-by: epeter, shade, jbhateja
2025-09-17 21:34:15 +00:00
Joe Darcy
919f5faa46 8367787: Expand use of representation equivalence terminology in Float16
Reviewed-by: psandoz
2025-09-17 20:47:11 +00:00
Kim Barrett
f682f07007 8367796: Rename AtomicAccess gtests
Reviewed-by: ayang, tschatzl
2025-09-17 20:20:17 +00:00
Roger Riggs
0756ecb214 8367031: [backout] Change java.time month/day field types to 'byte'
Reviewed-by: alanb, liach, naoto, iris
2025-09-17 19:49:22 +00:00
Alexey Semenyuk
f7ce3a1b5f 8365790: Shutdown hook for application image does not work on Windows
Reviewed-by: almatvee
2025-09-17 19:22:30 +00:00
Damon Nguyen
18dc186a8f 8367790: Remove java/awt/PopupMenu/PopupMenuLocation.java from ProblemList
Reviewed-by: aivanov, azvegint
2025-09-17 18:07:29 +00:00
Cesar Soares Lucas
6f493b4d2e 8361699: C2: assert(can_reduce_phi(n->as_Phi())) failed: Sanity: previous reducible Phi is no longer reducible before SUT
Reviewed-by: rcastanedalo
2025-09-17 16:52:13 +00:00
Stefan Karlsson
01d7554b87 8367486: Change prefix for platform-dependent AtomicAccess files
Reviewed-by: kbarrett, ayang
2025-09-17 15:17:30 +00:00
David Beaumont
9949ee3163 8367005: ImageReader refactor caused performance regressions for startup and footprint
Reviewed-by: alanb, rriggs, jpai
2025-09-17 14:46:47 +00:00
Daniel Jeliński
d7eeacf2a0 8367112: HttpClient does not support Named Groups set on SSLParameters
Reviewed-by: jpai, dfuchs
2025-09-17 14:01:32 +00:00
Albert Mingkun Yang
91afdaff80 8367860: Remove unused NMethodToOopClosure::fix_relocations
Reviewed-by: fandreuzzi, tschatzl
2025-09-17 13:58:06 +00:00
Matthias Baesken
1ba841410b 8367573: JNI exception pending in os_getCmdlineAndUserInfo of ProcessHandleImpl_aix.c
Reviewed-by: rriggs
2025-09-17 13:46:52 +00:00
Roberto Castañeda Lozano
b00e0dae9b 8367728: IGV: dump node address type
Reviewed-by: mchevalier, dfenacci, chagedorn
2025-09-17 12:47:59 +00:00
Aleksey Shipilev
7e738f0d90 8367313: CTW: Execute in AWT headless mode
Reviewed-by: epeter, kvn
2025-09-17 11:36:23 +00:00
SendaoYan
4719ed671a 8366777: Build fails unknown pseudo-op with old AS on linux-aarch64
Reviewed-by: erikj, ihse
2025-09-17 11:25:49 +00:00
Albert Mingkun Yang
c28142e7c1 8367737: Parallel: Retry allocation after lock acquire in mem_allocate_work
Reviewed-by: fandreuzzi, tschatzl, iwalulya
2025-09-17 10:26:26 +00:00
Saranya Natarajan
6df01178c0 8356779: IGV: dump the index of the SafePointNode containing the current JVMS during parsing
Reviewed-by: epeter, chagedorn, qamai
2025-09-17 09:45:30 +00:00
Andrew Dinn
faebec63a9 8367532: Declare all stubgen stub entries including internal cross-stub entries
Reviewed-by: fyang, asmehra
2025-09-17 09:42:01 +00:00
Thomas Schatzl
005f3a392f 8367743: G1: Use named constants for G1CSetCandidateGroup group ids
Reviewed-by: ayang, iwalulya
2025-09-17 09:41:44 +00:00
Daniel Gredler
5730e908c6 4138921: TextLayout handling of empty strings
Reviewed-by: prr, serb
2025-09-17 09:16:41 +00:00
Francesco Andreuzzi
976207df1f 8367476: Shenandoah: Remove use of CollectedHeap::_soft_ref_policy
Reviewed-by: ayang, wkemper
2025-09-17 08:26:31 +00:00
Albert Mingkun Yang
d0ea6686eb 8367417: Serial: Use NMethodToOopClosure during Young GC
Reviewed-by: fandreuzzi, stefank, tschatzl
2025-09-17 08:21:20 +00:00
Alexander Zvegintsev
9c0f41e997 8225787: java/awt/Window/GetScreenLocation/GetScreenLocationTest.java fails on Ubuntu
8203004: UnixMultiResolutionSplashTest.java fails on Ubuntu16.04

Reviewed-by: psadhukhan, serb
2025-09-17 08:07:50 +00:00
erifan
45cc515f45 8354242: VectorAPI: combine vector not operation with compare
Reviewed-by: epeter, jbhateja, xgong
2025-09-17 07:32:19 +00:00
Kim Barrett
c2c44a061a 8367724: Remove Trailing Return Types from undecided list
Reviewed-by: stefank, phubner
2025-09-17 05:51:51 +00:00
Sergey Bylokhov
e1071797a4 8367017: Remove legacy checks from WrappedToolkitTest and convert from bash
Reviewed-by: prr
2025-09-16 21:51:47 +00:00
Paul Hübner
b75e35cb94 8365858: FilteredJavaFieldStream is unnecessary
Reviewed-by: liach, jsjolen, coleenp, amenkov
2025-09-16 19:17:53 +00:00
Srinivas Vamsi Parasa
e883dec6be 8367694: Fix jtreg test failure when Intel APX is enabled for KNL platforms
Reviewed-by: sviswanathan, epeter
2025-09-16 18:14:07 +00:00
Srinivas Vamsi Parasa
c41add8d3e 8354348: Enable Extended EVEX to REX2/REX demotion for commutative operations with same dst and src2
Reviewed-by: jbhateja, epeter, sviswanathan
2025-09-16 18:13:34 +00:00
Paul Hübner
075ebb4ee5 8366229: runtime/Thread/TooSmallStackSize.java runs with all collectors
Reviewed-by: dholmes, shade
2025-09-16 16:53:21 +00:00
Koushik Thirupattur
15d42c6d77 8366978: dead code in SunCertPathBuilder
Reviewed-by: mullan, hchao
2025-09-16 16:24:19 +00:00
Guanqiang Han
58007c0bcc 8367619: String.format in outOfRangeException uses wrong format specifier for String argument
Reviewed-by: fandreuzzi, rriggs, liach
2025-09-16 14:57:42 +00:00
Manuel Hässig
c82070e635 8366775: TestCompileTaskTimeout should use timeoutFactor
Reviewed-by: chagedorn, rcastanedalo, mbaesken
2025-09-16 13:19:12 +00:00
Jaikiran Pai
0bc3705948 8367597: Runtime.exit logging failed: Cannot invoke "java.lang.Module.getClassLoader()" because "m" is null
Reviewed-by: alanb, rriggs
2025-09-16 13:16:48 +00:00
Hannes Greule
c7f014ed49 8356813: Improve Mod(I|L)Node::Value
Reviewed-by: epeter, qamai
2025-09-16 12:33:32 +00:00
Thomas Schatzl
ca89cd06d3 8367410: ZGC: Remove unused ZNmethodTable::wait_until_iteration_done()
Reviewed-by: stefank, fandreuzzi
2025-09-16 08:46:18 +00:00
Francesco Andreuzzi
eb26865c36 8367552: JCmdTestFileSafety.java fails when run by root user
Reviewed-by: dcubed, ayang, phubner
2025-09-16 08:00:32 +00:00
Guanqiang Han
3ba2e748d6 8366925: Improper std::nothrow new expression in NativeHeapTrimmerThread ctor
Reviewed-by: ayang, kbarrett, dholmes
2025-09-16 08:00:09 +00:00
Andreas Steiner
73df06c80c 8359104: gc/TestAlwaysPreTouchBehavior.java#<gcname> fails on Linux
Reviewed-by: mbaesken, ayang
2025-09-16 07:17:53 +00:00
Prasanta Sadhukhan
60e9222fe1 8015444: java/awt/Focus/KeyStrokeTest.java sometimes fails
Reviewed-by: tr
2025-09-16 06:30:53 +00:00
Axel Boldt-Christmas
76e464bcd5 8367150: Add a header line to improve VMErrorCallback printing
Reviewed-by: stefank, ayang
2025-09-16 05:06:17 +00:00
Kim Barrett
0fbae8050b 8252582: HotSpot Style Guide should permit variable templates
Reviewed-by: dholmes, stefank, kvn
2025-09-16 04:42:50 +00:00
Dingli Zhang
90e81c2bee 8367616: RISC-V: Auto-enable Zicboz extension for debug builds
Reviewed-by: fyang, fjiang
2025-09-16 01:11:04 +00:00
Ioi Lam
2425584849 8367142: Avoid InstanceKlass::cast when converting java mirror to InstanceKlass
Reviewed-by: dholmes, coleenp
2025-09-16 01:04:48 +00:00
Justin Lu
64155dfac0 8367237: Thread-Safety Usage Warning for java.text.Collator Classes
Reviewed-by: iris, naoto
2025-09-15 21:10:26 +00:00
Guy Abossolo Foh - ScientificWare
729f4f9b16 8314731: Add support for the alt attribute in the image type input HTML tag
Reviewed-by: aivanov, prr, tr
2025-09-15 19:22:47 +00:00
Chris Plummer
11cdafb821 8367297: Test com/sun/jdi/JdbStopInNotificationThreadTest.java can still fail after JDK-8366850
Reviewed-by: ayang, kevinw
2025-09-15 18:53:26 +00:00
Roland Westrelin
f8ba02f229 8361702: C2: assert(is_dominator(compute_early_ctrl(limit, limit_ctrl), pre_end)) failed: node pinned on loop exit test?
Reviewed-by: epeter, chagedorn, mhaessig
2025-09-15 18:13:09 +00:00
Daniel Lundén
60930a3e19 8367397: Improve naming and terminology in regmask.hpp and regmask.cpp
Reviewed-by: epeter, rcastanedalo, dlong
2025-09-15 17:43:25 +00:00
Joe Darcy
58c9fbc93d 8367382: Expand use of representation equivalence terminology
Reviewed-by: rgiulietti
2025-09-15 16:22:35 +00:00
Albert Mingkun Yang
e8dda2b675 8367629: Parallel: Remove logging in PSAdjustWeakRootsClosure
Reviewed-by: stefank
2025-09-15 15:25:00 +00:00
Johan Sjölen
a7dc011ac4 8366658: Add missing locks when accessing the VirtualMemoryTracker instance in tests and MemMapPrinter
Reviewed-by: azafari, phubner
2025-09-15 11:24:26 +00:00
Thomas Fitzsimmons
1cb1267ce8 8361711: Add library name configurability to PKCS11Test.java
Reviewed-by: valeriep
2025-09-15 09:59:10 +00:00
Alexander Zvegintsev
3db3c06218 8366852: java/awt/Choice/ChoiceMouseWheelTest/ChoiceMouseWheelTest.java test is failing
Reviewed-by: psadhukhan, honkar
2025-09-15 08:49:01 +00:00
Francesco Andreuzzi
c16462b3b4 8367576: JvmtiThreadState::_debuggable is unused
Reviewed-by: amenkov, ayang, shade
2025-09-15 08:02:27 +00:00
Albert Mingkun Yang
9ca7b24421 8367422: Parallel: Refactor local variables names in copy_unmarked_to_survivor_space
Reviewed-by: fandreuzzi, tschatzl
2025-09-15 07:48:38 +00:00
Albert Mingkun Yang
2c13c66cf9 8367507: Parallel: Remove PSPromotionManager::drain_stacks_depth
Reviewed-by: fandreuzzi, tschatzl
2025-09-15 07:48:15 +00:00
Emanuel Peter
cf00f96fd4 8366940: Test compiler/loopopts/superword/TestAliasingFuzzer.java timed out
Reviewed-by: syan, chagedorn
2025-09-15 06:59:56 +00:00
Prasanta Sadhukhan
5271448b3a 8023263: [TESTBUG] Test closed/java/awt/Focus/InactiveWindowTest/InactiveFocusRace fails due to not enough time to initialize graphic components
Reviewed-by: serb
2025-09-14 04:29:30 +00:00
Prasanta Sadhukhan
21c985f2d7 8256289: java/awt/Focus/AppletInitialFocusTest/AppletInitialFocusTest1.java failed with "RuntimeException: Wrong focus owner: java.awt.Button[button1,41,36,56x23,label=Button1]"
Reviewed-by: honkar, prr, azvegint, serb
2025-09-14 04:24:32 +00:00
Ioi Lam
c85c5cb50e 8367475: Incorrect lock usage in LambdaFormInvokers::regenerate_holder_classes
Reviewed-by: dholmes, matsaave, liach
2025-09-13 20:43:40 +00:00
Matthias Baesken
ef291d2d5d 8359423: Improve error message in case of missing jsa shared archive
Reviewed-by: mdoerr, asteiner, eastigeevich
2025-09-13 20:20:10 +00:00
Jaikiran Pai
ff538c7f56 8367583: sun/security/util/AlgorithmConstraints/InvalidCryptoDisabledAlgos.java fails after JDK-8244336
Reviewed-by: weijun
2025-09-13 13:51:17 +00:00
Jaikiran Pai
e2eaa2ecf3 8357708: com.sun.jndi.ldap.Connection ignores queued LDAP replies if Connection is subsequently closed
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Reviewed-by: aefimov, dfuchs
2025-09-13 02:03:38 +00:00
Jamil Nimeh
3eb3e0dcb0 8366833: Poly1305 does not always correctly update position for array-backed ByteBuffers after processMultipleBlocks
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: weijun, jpai
2025-09-12 20:39:15 +00:00
Valerie Peng
35dabb1a5f 8244336: Restrict algorithms at JCE layer
Reviewed-by: mullan, ascarpino, abarashev
2025-09-12 20:16:33 +00:00
Coleen Phillimore
84aa295227 8367368: Add message for verify_legal_class_modifiers for inner classes
Reviewed-by: dholmes, fparain
2025-09-12 18:58:56 +00:00
Kim Barrett
4e59c63ec5 8367282: FORBID_C_FUNCTION needs exception spec consistent with library declaration
Reviewed-by: dholmes, mbaesken
2025-09-12 18:57:12 +00:00
William Kemper
850f904a84 8367451: GenShen: Remove the option to compute age census during evacuation
Reviewed-by: kdnilsen, xpeng, phh
2025-09-12 16:50:43 +00:00
William Kemper
11df28916a 8367378: GenShen: Missing timing stats when old mark buffers are flushed during final update refs
Reviewed-by: kdnilsen, xpeng, phh
2025-09-12 16:50:23 +00:00
Justin Lu
aeffce7c22 8367271: Add parsing tests to DateFormat JMH benchmark
Reviewed-by: naoto
2025-09-12 16:31:03 +00:00
Guanqiang Han
44aad0786b 8328874: Class::forName0 should validate the class name length early
Reviewed-by: rriggs, liach, ayang
2025-09-12 14:46:12 +00:00
Paul Hübner
10fea86002 8367371: Remove @requires vm.opt.UseLargePages from InternSharedString.java test
Reviewed-by: jsikstro, ayang, iklam
2025-09-12 14:23:46 +00:00
Emanuel Peter
02d7281b93 8367483: C2 crash in PhaseValues::type: assert(t != nullptr) failed: must set before get - missing notification for CastX2P(SubL(x, y))
Reviewed-by: chagedorn, bmaillard
2025-09-12 12:06:18 +00:00
Prasanta Sadhukhan
15dd96f7a6 8144124: [macosx] The tabs can't be aligned when we pressing the key of 'R','B','L','C' or 'T'.
Reviewed-by: azvegint
2025-09-12 10:42:13 +00:00
Hamlin Li
d13769d6c1 8367501: RISC-V: build broken after JDK-8365926
Reviewed-by: rehn
2025-09-12 10:40:20 +00:00
Francesco Andreuzzi
5f43345d6e 8367472: Swap conditions order in PSScavengeCLDOopClosure::do_oop(oop*)
Reviewed-by: stefank, tschatzl, mli
2025-09-12 08:32:56 +00:00
Satyen Subramaniam
0f535aeb0a 8367372: Test test/hotspot/jtreg/gc/TestObjectAlignmentCardSize.java fails on 32 bit systems
Reviewed-by: stefank, tschatzl, mli
2025-09-12 08:30:20 +00:00
Guanqiang Han
e0ad4a6696 8367424: Cleanup unused time_remaining_ms update in G1CollectionSet::select_optional_groups
Reviewed-by: tschatzl, mli
2025-09-12 08:29:59 +00:00
Robbin Ehn
5c1865a4fc 8365926: RISC-V: Performance regression in renaissance (chi-square)
Reviewed-by: fyang, mli
2025-09-12 08:01:50 +00:00
Kim Barrett
9e843f56ec 8367014: Rename class Atomic to AtomicAccess
Reviewed-by: dholmes, aph, stefank
2025-09-12 06:35:55 +00:00
Dingli Zhang
5abd18426d 8367137: RISC-V: Detect Zicboz block size via hwprobe
Reviewed-by: fyang, mli, rehn
2025-09-12 03:35:32 +00:00
Guanqiang Han
e172e6a4e3 8352969: G1: Improve testability of optional collections
Reviewed-by: ayang, tschatzl
2025-09-11 15:08:42 +00:00
Brian Burkhalter
7603e96fa2 8366911: (fs) Remove support for normalizing file names to Unicode normalized form D (macOS)
Reviewed-by: alanb
2025-09-11 15:06:01 +00:00
Raffaello Giulietti
8b92af7d4a 8367365: java/math/BigInteger/BigIntegerTest.java failed in jtreg timeout
Reviewed-by: dfuchs, jpai
2025-09-11 14:59:30 +00:00
Francesco Andreuzzi
ec7432331b 8367347: Serial: Refactor CLDScanClosure
Reviewed-by: stefank, ayang, tschatzl
2025-09-11 14:38:10 +00:00
Fernando Guallini
fc3e3e26c5 8201778: Speed up test javax/net/ssl/DTLS/PacketLossRetransmission.java
Reviewed-by: djelinski
2025-09-11 14:28:58 +00:00
Pasam Soujanya
781f2b2f81 8366278: Form control element <select> has no associated label
Reviewed-by: hannesw
2025-09-11 13:58:51 +00:00
Artur Barashev
4ea8979b93 8365953: Key manager returns no certificates when handshakeSession is not an ExtendedSSLSession
Reviewed-by: djelinski, wetmore
2025-09-11 13:53:08 +00:00
Roger Riggs
56f2f7a3af 8367138: JNI exception pending in os_getCmdlineAndUserInfo of ProcessHandleImpl_macosx.c
Reviewed-by: bpb, naoto, jpai, lancea
2025-09-11 13:22:20 +00:00
Albert Mingkun Yang
a2d272a02a 8367339: Parallel: Remove PSScavenge::should_scavenge
Reviewed-by: tschatzl, fandreuzzi
2025-09-11 11:22:29 +00:00
Albert Mingkun Yang
063f970f0f 8367401: Parallel: Remove unused field in PSKeepAliveClosure
Reviewed-by: stefank, fandreuzzi
2025-09-11 11:22:12 +00:00
Jan Lahoda
3355a9d3fa 8285150: Improve tab completion for annotations
Reviewed-by: liach
2025-09-11 10:43:25 +00:00
Joel Sikström
3d679087b0 8367268: Remove unused os::numa_topology_changed()
Reviewed-by: ayang, dholmes
2025-09-11 08:53:09 +00:00
Hamlin Li
0b3a303053 8367066: RISC-V: refine register selection in MacroAssembler:: decode_klass_not_null
Reviewed-by: fyang, fjiang
2025-09-11 08:07:25 +00:00
Johan Sjölen
8ba0db0de8 8366951: Test runtime/logging/StressAsyncUL.java is timing out
Reviewed-by: ayang, lkorinth, dholmes, syan
2025-09-11 07:42:39 +00:00
Mikhail Yankelevich
7690a45f77 8366342: Key generator and key pair generator tests skipping, but showing as passed
Reviewed-by: weijun
2025-09-11 06:55:32 +00:00
Emanuel Peter
2826d17025 8367243: Format issues with dist dump debug output in PhaseGVN::dead_loop_check
Reviewed-by: thartmann
2025-09-11 05:05:30 +00:00
Emanuel Peter
4cc75be80e 8366702: C2 SuperWord: refactor VTransform vector nodes
Reviewed-by: chagedorn, galder
2025-09-11 05:03:21 +00:00
Phil Race
eb9e04598d 8361530: Test javax/swing/GraphicsConfigNotifier/StalePreferredSize.java timed out
Reviewed-by: psadhukhan
2025-09-11 04:59:07 +00:00
Dingli Zhang
134c3ef41e 8367293: RISC-V: enable vectorapi test for VectorMask.laneIsSet
Reviewed-by: fyang, epeter
2025-09-11 00:05:02 +00:00
William Kemper
7fcce27096 8365956: GenShen: Adaptive tenuring threshold algorithm may raise threshold prematurely
Reviewed-by: kdnilsen, phh
2025-09-10 22:12:04 +00:00
Chen Liang
85996572b6 8365676: javac incorrectly allows calling interface static method via type variable
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: vromero
2025-09-10 21:23:45 +00:00
Ioi Lam
85715e1050 8317269: Store old classes in linked state in AOT cache
Reviewed-by: coleenp, matsaave
2025-09-10 19:21:00 +00:00
Sergey Bylokhov
fdc11a1569 8367131: Test com/sun/jdi/ThreadMemoryLeakTest.java fails on 32 bits
Reviewed-by: lmesnik, cjplummer, shade
2025-09-10 18:41:42 +00:00
Man Cao
4e2a85f750 8366118: DontCompileHugeMethods is not respected with -XX:-TieredCompilation
Co-authored-by: Chuck Rasbold <rasbold@openjdk.org>
Co-authored-by: Justin King <jcking@openjdk.org>
Reviewed-by: rasbold, iveresov, jiangli
2025-09-10 17:42:15 +00:00
Weijun Wang
7a3025e3d7 8367348: Enhance PassFailJFrame to support links in HTML
Reviewed-by: aivanov
2025-09-10 17:24:53 +00:00
Hannes Wallnöfer
af18ff8d7c 8367007: javadoc generation of JavaFX docs fails after fix for JDK-8350920
Reviewed-by: liach, nbenalla
2025-09-10 16:43:40 +00:00
Prasanta Sadhukhan
34c3ac0316 8162380: [TEST_BUG] MouseEvent/.../AltGraphModifierTest.java has only "Fail" button
Reviewed-by: azvegint, aivanov
2025-09-10 16:00:28 +00:00
Kerem Kat
5cd7721ad4 8366154: Validate thread type requirements in debug commands
Reviewed-by: dholmes, simonis, kevinw
2025-09-10 14:36:11 +00:00
Casper Norrbin
c968a672c0 8362282: runtime/logging/StressAsyncUL.java failed with exitValue = 134
Reviewed-by: jsjolen, dholmes
2025-09-10 13:45:06 +00:00
Albert Mingkun Yang
385c132989 8367240: Parallel: Refactor PSScavengeCLDClosure
Reviewed-by: stefank
2025-09-10 12:49:38 +00:00
Evgeny Astigeevich
46ae1ee871 8277444: Data race between JvmtiClassFileReconstituter::copy_bytecodes and class linking
Reviewed-by: dholmes, amenkov, coleenp
2025-09-10 12:33:06 +00:00
Stefan Karlsson
703d930e4d 8366980: TestTransparentHugePagesHeap.java fails when run with -UseCompressedOops
Reviewed-by: aboldtch, tschatzl
2025-09-10 11:55:31 +00:00
David Beaumont
4d4e51c41f 8365483: Test sun/rmi/runtime/Log/6409194/NoConsoleOutput.java sometimes fails
Reviewed-by: dfuchs, jpai
2025-09-10 11:49:02 +00:00
Magnus Ihse Bursie
edae355e95 8246325: Add DRYRUN facility to SetupExecute
Reviewed-by: erikj
2025-09-10 10:27:38 +00:00
Magnus Ihse Bursie
33244c8244 8344030: Improved handling of TOOLCHAIN_PATH
Reviewed-by: erikj
2025-09-10 10:00:15 +00:00
Magnus Ihse Bursie
5c9f60dc5a 8367259: Clean up make/scripts and bin directory
Reviewed-by: erikj
2025-09-10 09:57:44 +00:00
Daniel Fuchs
1d3364b007 8365239: Spec Clarification - InterfaceAddress:getBroadcast() returning null for loop back address
Reviewed-by: msheppar, djelinski, jpai
2025-09-10 09:45:05 +00:00
David Holmes
f3de386263 8367309: Test runtime/os/windows/TestAvailableProcessors.java fails to compile after mis-merge
Reviewed-by: shade, alanb
2025-09-10 08:46:07 +00:00
Kazuhisa Takakuri
9e3fa3216f 8349288: runtime/os/windows/TestAvailableProcessors.java fails on localized Windows platform
Reviewed-by: dholmes, alanb
2025-09-10 06:37:17 +00:00
Daniel Jeliński
b7b01d6f56 8366984: Remove delay slot support
Reviewed-by: dlong, epeter
2025-09-10 06:16:39 +00:00
Disha
2705e880b6 8366764: Deproblemlist java/awt/ScrollPane/ScrollPositionTest.java
Reviewed-by: azvegint
2025-09-10 06:16:12 +00:00
David Holmes
8ab8d02e40 8366938: Test runtime/handshake/HandshakeTimeoutTest.java crashed
Reviewed-by: kbarrett
2025-09-10 05:45:31 +00:00
Kim Barrett
af9b9050ec 8366057: HotSpot Style Guide should permit trailing return types
Reviewed-by: dholmes, stefank, kvn, adinn, jsjolen
2025-09-10 03:30:16 +00:00
erifan
53b3e0567d 8366588: VectorAPI: Re-intrinsify VectorMask.laneIsSet where the input index is a variable
Reviewed-by: shade, xgong, epeter
2025-09-10 01:49:55 +00:00
Leonid Mesnik
8cd4e7d856 8365192: post_meth_exit should be in vm state when calling get_jvmti_thread_state
Reviewed-by: mdoerr, dholmes
2025-09-09 23:50:33 +00:00
Dean Long
f96403986b 8361376: Regressions 1-6% in several Renaissance in 26-b4 only MacOSX aarch64
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: mdoerr, aph, eosterlund
2025-09-09 23:27:33 +00:00
Justin Lu
24a734938e 8366733: Re-examine older java.text NF, DF, and DFS serialization tests
Reviewed-by: naoto
2025-09-09 22:03:25 +00:00
Naoto Sato
a12e9fcebd 8366261: Provide utility methods for sun.security.util.Password
Reviewed-by: smarks, weijun
2025-09-09 19:37:57 +00:00
Daniel Jeliński
cc6d34b2fa 8366971: C2: Remove unused nop_list from PhaseOutput::init_buffer
Reviewed-by: epeter, dlong
2025-09-09 15:08:30 +00:00
Kim Barrett
b653ae92d5 8367051: Build failure with clang on linux and AIX after switch to C++17
Reviewed-by: dholmes, ayang, mbaesken, mdoerr
2025-09-09 15:02:54 +00:00
Saint Wesonga
f10c85fbc3 8367027: java/lang/ProcessBuilder/Basic.java fails on Windows AArch64
Reviewed-by: rriggs
2025-09-09 13:13:08 +00:00
Marc Chevalier
0632617670 8367135: Test compiler/loopstripmining/CheckLoopStripMining.java needs internal timeouts adjusted
Reviewed-by: thartmann, chagedorn
2025-09-09 11:17:48 +00:00
Stefan Karlsson
a1ab12b772 8366854: Extend jtreg failure handler with THP info
Reviewed-by: ayang, shade, tschatzl, lmesnik, sjohanss
2025-09-09 11:17:33 +00:00
Magnus Ihse Bursie
a25dde6279 8365231: Don't build gtest with /EHsc
Reviewed-by: kbarrett, stuefe
2025-09-09 10:58:21 +00:00
Johannes Bechberger
002f936ef2 8366082: Improve queue size computation in CPU-time sampler
Reviewed-by: jbachorik
2025-09-09 10:16:22 +00:00
Johannes Bechberger
4fc917c250 8366486: Test jdk/jfr/event/profiling/TestCPUTimeSampleMultipleRecordings.java is timing out
Reviewed-by: jbachorik
2025-09-09 10:15:53 +00:00
Hamlin Li
f51e442b0e 8367098: RISC-V: sync CPU features with related JVM flags for dependant ones
Reviewed-by: fyang
2025-09-09 09:29:23 +00:00
Paul Hübner
cfb809344c 8364103: Convert existing sprintf-chains to stringStream
Reviewed-by: kbarrett, dholmes, iklam
2025-09-09 09:01:46 +00:00
Johan Sjölen
e16c510071 8367231: [BACKOUT] JDK-8366363: MemBaseline accesses VMT without using lock
Reviewed-by: kbarrett, dholmes
2025-09-09 08:14:55 +00:00
Francesco Andreuzzi
67bb22f3d6 8367085: Sort os/posix includes
Reviewed-by: ayang, dholmes
2025-09-09 07:36:57 +00:00
Johan Sjölen
ecfba66d3d 8366363: MemBaseline accesses VMT without using lock
Co-authored-by: Casper Norrbin <cnorrbin@openjdk.org>
Reviewed-by: azafari, cnorrbin
2025-09-09 07:31:14 +00:00
erifan
680bf75898 8365911: AArch64: Fix encoding error in sve_cpy for negative floats
Reviewed-by: aph, epeter
2025-09-09 06:58:00 +00:00
Dingli Zhang
0aee7bf24d 8367048: RISC-V: Correct pipeline descriptions of the architecture
Reviewed-by: fyang, fjiang, mli
2025-09-09 00:38:15 +00:00
Chris Plummer
4ec63e8f5d 8366850: Test com/sun/jdi/JdbStopInNotificationThreadTest.java failed
Reviewed-by: ayang, lmesnik, syan
2025-09-09 00:05:56 +00:00
Cesar Soares Lucas
81a1e8e136 8364936: Shenandoah: Switch nmethod entry barriers to conc_instruction_and_data_patch
Reviewed-by: fyang, dzhang, kdnilsen, wkemper
2025-09-08 21:44:18 +00:00
Erik Joelsson
56e37352d5 8367130: JDK builds broken by 8366837: Clean up gensrc by spp.Spp
Reviewed-by: liach
2025-09-08 20:52:31 +00:00
Albert Mingkun Yang
3e68d7d99f 8366881: Parallel: Obsolete HeapMaximumCompactionInterval
Reviewed-by: iwalulya
2025-09-08 19:13:55 +00:00
Albert Mingkun Yang
85441cec35 8367101: Remove unused includes in cardTable.cpp
Reviewed-by: stefank
2025-09-08 18:30:18 +00:00
Magnus Ihse Bursie
cb58e6560a 8330341: Wrap call to MT in ExecuteWithLog
Reviewed-by: erikj
2025-09-08 16:48:35 +00:00
Magnus Ihse Bursie
55af9d8380 8366837: Clean up gensrc by spp.Spp
Reviewed-by: erikj
2025-09-08 16:48:14 +00:00
Magnus Ihse Bursie
323b02016e 8367034: [REDO] Protect ExecuteWithLog from running with redirection without a subshell
Reviewed-by: erikj
2025-09-08 16:46:30 +00:00
Naoto Sato
48831c65b5 8367021: Regression in LocaleDataTest refactoring
Reviewed-by: jlu, joehw
2025-09-08 16:23:26 +00:00
Fabio Romano
ab12fbfda2 8077587: BigInteger Roots
Reviewed-by: rgiulietti
2025-09-08 16:10:22 +00:00
Coleen Phillimore
6765a9d775 8366908: Use a different class for testing JDK-8351654
Reviewed-by: liach, lmesnik
2025-09-08 15:50:09 +00:00
Mikhail Yankelevich
166ef5e7b1 8366159: SkippedException is treated as a pass for pkcs11/KeyStore, pkcs11/SecretKeyFactory and pkcs11/SecureRandom
Reviewed-by: weijun
2025-09-08 14:37:25 +00:00
Volker Simonis
bcff857ba0 8361381: GlyphLayout behavior differs on JDK 11+ compared to JDK 8
Reviewed-by: prr, serb
2025-09-08 13:30:45 +00:00
Jan Lahoda
03c54d4288 8365689: Elements.getFileObjectOf fails with a NullPointerException when an erroneous Element is passed in
Reviewed-by: darcy, vromero
2025-09-08 12:26:58 +00:00
Fredrik Bredberg
a272696813 8365190: Remove LockingMode related code from share
Reviewed-by: aboldtch, dholmes, ayang, coleenp, lmesnik, rcastanedalo
2025-09-08 10:28:18 +00:00
Guanqiang Han
5e423e034f 8367025: zIndexDistributor.hpp uses angle-bracket inclusion of globalDefinitions.hpp
Reviewed-by: aboldtch, tschatzl, jwaters
2025-09-08 09:37:36 +00:00
Richard Reingruber
bea2b029a7 8360219: [AIX] assert(locals_base >= l2) failed: bad placement
Reviewed-by: dlong, mdoerr
2025-09-08 08:30:03 +00:00
Francesco Andreuzzi
051f39e12c 8366864: Sort os/linux includes
Reviewed-by: ayang, dholmes
2025-09-08 07:10:12 +00:00
Joel Sikström
fb1924d2e3 8366874: Test gc/arguments/TestParallelGCErgo.java fails with UseTransparentHugePages
Reviewed-by: ayang, shade, stefank, tschatzl
2025-09-08 06:33:49 +00:00
Jan Lahoda
f9dc640ef0 8351260: java.lang.AssertionError: Unexpected type tree: (ERROR) = (ERROR)
Reviewed-by: vromero
2025-09-08 06:33:30 +00:00
Jan Lahoda
b0ca9bf61e 8365776: Convert JShell tests to use JUnit instead of TestNG
Reviewed-by: vromero
2025-09-08 04:35:05 +00:00
Francesco Andreuzzi
8a6b8751e1 8354871: Replace stack map frame type magics with constants
Reviewed-by: liach
2025-09-07 23:20:22 +00:00
Sergey Bylokhov
14a40fd579 8361533: Apply java.io.Serial annotations in java.logging
Reviewed-by: rriggs
2025-09-07 23:18:07 +00:00
David Holmes
6bb15a542b 8367035: [BACKOUT] Protect ExecuteWithLog from running with redirection without a subshell
Reviewed-by: kbarrett
2025-09-07 20:21:23 +00:00
Magnus Ihse Bursie
e8c7d2aaf3 8332872: SetupExecute should cd to temp directory
Reviewed-by: erikj
2025-09-06 09:00:51 +00:00
Ioi Lam
dbf4ffffe3 8366477: Refactor AOT-related flag bits in klass.hpp
Reviewed-by: liach, asmehra, kvn
2025-09-05 23:55:13 +00:00
Chen Liang
cdc8b5eb83 8366455: Move VarHandles.GuardMethodGenerator to execute on build
Reviewed-by: psandoz, redestad, erikj
2025-09-05 21:08:29 +00:00
Kim Barrett
1ebe949507 8314488: Compiling the JDK with C++17
Reviewed-by: dholmes, stefank, ayang, kvn, iwalulya, jsjolen, ihse
2025-09-05 20:47:48 +00:00
Sarvesh Kumar Jain
b674a42553 8366750: Remove test 'java/awt/Choice/ChoiceMouseWheelTest/ChoiceMouseWheelTest.java' from problemlist
Reviewed-by: psadhukhan, serb
2025-09-05 20:35:30 +00:00
Naoto Sato
3824c7cd06 8366517: Refine null locale processing of ctor/factory methods in Date/DecimalFormatSymbols
Reviewed-by: jlu, rriggs
2025-09-05 20:20:11 +00:00
Manuel Hässig
4ab2b5bdb4 8366569: Disable CompileTaskTimeout for known long-running test cases
Reviewed-by: dlong
2025-09-05 19:59:03 +00:00
Manukumar V S
e2a503e26e 8347277: java/awt/Focus/ComponentLostFocusTest.java fails intermittently
Reviewed-by: serb
2025-09-05 19:50:52 +00:00
Afshin Zafari
c6c451ac39 8353468: [ubsan] arguments.cpp:2422:23: runtime error: 2.14748e+11 is outside the range of representable values of type 'int'
Reviewed-by: stefank, dholmes
2025-09-05 18:42:58 +00:00
Phil Race
a17058b5bb 8365569: Remove finalize from JavaSoundAudioClip.java
Reviewed-by: kizune, tr
2025-09-05 17:45:37 +00:00
Vladimir Ivanov
9cca4f7c76 8358751: C2: Recursive inlining check for compiled lambda forms is broken
Reviewed-by: dlong, roland
2025-09-05 16:44:08 +00:00
Chen Liang
9f4d5b2398 8365428: Unclear comments on java.lang.invoke Holder classes
Reviewed-by: iklam, jvernee
2025-09-05 15:55:19 +00:00
Christian Hagedorn
ceacf6f785 8366890: C2: Split through phi printing with TraceLoopOpts misses line break
Reviewed-by: rcastanedalo, mhaessig, epeter
2025-09-05 15:26:13 +00:00
Archie Cobbs
1e90af08ab 8359383: Incorrect starting positions for implicitly typed variables
Reviewed-by: vromero
2025-09-05 14:30:40 +00:00
Guoxiong Li
33794d1614 8357188: Remove the field MemAllocator::Allocation::_overhead_limit_exceeded and the related code
Reviewed-by: ayang, shade
2025-09-05 13:34:45 +00:00
Magnus Ihse Bursie
124fcf1d9a 8233115: Protect ExecuteWithLog from running with redirection without a subshell
Reviewed-by: erikj
2025-09-05 13:31:23 +00:00
Aleksey Shipilev
0dad3f1ae8 8366893: java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java timed out on macos-aarch64
Reviewed-by: alanb, jpai
2025-09-05 10:55:41 +00:00
Emanuel Peter
e6fa8aae61 8366845: C2 SuperWord: wrong VectorCast after VectorReinterpret with swapped src/dst type
Reviewed-by: thartmann, galder, vlivanov
2025-09-05 08:46:56 +00:00
Volkan Yazici
a2f8d3c4c2 8366765: [REDO] Rename JavaLangAccess::*NoRepl methods
Reviewed-by: rriggs, liach, alanb
2025-09-05 06:40:33 +00:00
Anjian Wen
0d7f8f83c7 8366747: RISC-V: Improve VerifyMethodHandles for method handle linkers
Reviewed-by: fyang, dzhang
2025-09-05 06:13:44 +00:00
David Holmes
40a602520b 8364735: [asan] heap-use-after-free error detected in defaultStream::writer during VM shutdown
Reviewed-by: jsjolen, stuefe
2025-09-05 00:26:44 +00:00
Leonid Mesnik
b7b64bb6c8 8365937: post_method_exit might incorrectly set was_popped_by_exception and value in the middle of stack unwinding
Reviewed-by: dholmes, pchilanomate
2025-09-04 22:35:21 +00:00
Brian Burkhalter
581070715a 8366102: Clarification Needed: Symbolic Link Handling in File API Specifications
Reviewed-by: alanb
2025-09-04 21:58:08 +00:00
Casper Norrbin
945aaf8932 8366897: RBTreeTest.IntrusiveCustomVerifyTest and RBTreeTest.CustomVerify tests fail on non-debug builds
Reviewed-by: ayang
2025-09-04 19:00:39 +00:00
Vladimir Ivanov
1dc1d56f79 8363858: [perf] OptimizeFill may use wide set of intrinsics
Reviewed-by: roland, sviswanathan
2025-09-04 16:57:36 +00:00
Vladimir Ivanov
8520fd3f6a 8366365: [test] test/lib-test/jdk/test/whitebox/CPUInfoTest.java should be updated
Reviewed-by: kvn, sviswanathan
2025-09-04 16:50:58 +00:00
Ioi Lam
f90d520308 8366475: Rename MetaspaceShared class to AOTMetaspace
Reviewed-by: kvn, asmehra
2025-09-04 16:23:46 +00:00
Ioi Lam
79a1a98cab 8366498: Simplify ClassFileParser::parse_super_class
Reviewed-by: dholmes, coleenp
2025-09-04 16:19:35 +00:00
David Beaumont
e190355777 8365467: Issues with jrtfs implementation for exploded run-time images
Reviewed-by: rriggs, sundar
2025-09-04 13:19:12 +00:00
Magnus Ihse Bursie
80873a09bf 8366836: Don't execute post-IncludeCustomExtension if file was not included
Reviewed-by: erikj
2025-09-04 13:17:29 +00:00
Casper Norrbin
8c50bed867 8366872: Wrong number of template arguments in test in test_rbtree.cpp
Reviewed-by: ayang, syan
2025-09-04 10:48:57 +00:00
Casper Norrbin
53d4e928ef 8366238: Improve RBTree API with stricter comparator semantics and pluggable validation/printing hooks
Reviewed-by: jsjolen, ayang
2025-09-04 09:47:42 +00:00
Matthias Baesken
ab9f70dd5a 8366420: AOTMapTest fails when default jsa is missing from JDK
Reviewed-by: iklam, azeller
2025-09-04 08:01:01 +00:00
SendaoYan
986ecff5f9 8366849: Problemlist jdk/jshell/ToolSimpleTest.java as generic-all
Reviewed-by: liach, jlahoda
2025-09-04 07:14:59 +00:00
Francesco Andreuzzi
1495dd94e9 8366778: Sort share/asm, share/gc, share/include includes
Reviewed-by: shade, ayang, jsikstro
2025-09-04 07:13:41 +00:00
Thomas Schatzl
222ae365c8 8366688: G1: Rename G1HeapRegionRemSet::is_added_to_cset_group() to has_cset_group()
Reviewed-by: ayang, iwalulya
2025-09-04 07:03:28 +00:00
Arno Zeller
49fd6a0cb4 8366558: Gtests leave /tmp/cgroups-test* files
Reviewed-by: mbaesken, stuefe, lmesnik
2025-09-04 07:03:10 +00:00
Emanuel Peter
2527e9e58d 8366490: C2 SuperWord: wrong result because CastP2X is missing ctrl and floats over SafePoint creating stale oops
Reviewed-by: thartmann, chagedorn, mhaessig
2025-09-04 06:53:35 +00:00
Stefan Johansson
a03302d41b 8366434: THP not working properly with G1 after JDK-8345655
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Stefan Johansson <sjohanss@openjdk.org>
Reviewed-by: stefank, shade
2025-09-04 06:33:57 +00:00
Kim Barrett
62bc7b7c42 8300080: offset_of for GCC/Clang exhibits undefined behavior and is not always a compile-time constant
Reviewed-by: stefank, jsjolen
2025-09-04 05:42:18 +00:00
Ioi Lam
90a2db1ecb 8366474: Rename MetaspaceObj::is_shared() to MetaspaceObj::in_aot_cache()
Reviewed-by: liach, kvn
2025-09-04 04:47:48 +00:00
Anton Artemov
4d1dfabcb4 8366038: Thread::SpinRelease should use Atomic::release_store
Reviewed-by: dholmes, ayang
2025-09-04 04:35:51 +00:00
Ioi Lam
f4d73d2a3d 8366584: Add an InstanceKlass::super() method that returns InstanceKlass*
Reviewed-by: dholmes, coleenp
2025-09-04 02:31:12 +00:00
SendaoYan
11743b1ed3 8366695: Test sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java timed out
Reviewed-by: lmesnik, kevinw
2025-09-04 01:37:42 +00:00
SendaoYan
ed62bda2e0 8366694: Test JdbStopInNotificationThreadTest.java timed out after 60 second
Reviewed-by: cjplummer, ayang, lmesnik
2025-09-04 01:29:34 +00:00
SendaoYan
02dd21196e 8366692: Several gc/shenandoah tests timed out
Reviewed-by: shade, wkemper
2025-09-04 01:28:25 +00:00
Justin Lu
becc35f287 8366400: JCK test api/java_text/DecimalFormat/Parse.html fails after JDK-8363972
Reviewed-by: naoto
2025-09-03 21:58:26 +00:00
Chen Liang
431f467246 8361635: Missing List length validation in the Class-File API
Reviewed-by: asotona
2025-09-03 19:21:38 +00:00
Albert Mingkun Yang
8d236615b7 8366155: Serial: Obsolete PretenureSizeThreshold
Reviewed-by: tschatzl
2025-09-03 18:47:58 +00:00
Justin Lu
e3b36e3bab 8366401: JCK test api/java_text/DecimalFormatSymbols/serial/InputTests.html fails after JDK-8363972
Reviewed-by: naoto
2025-09-03 18:00:13 +00:00
Vanitha B P
a40afdd08f 8366537: Test "java/util/TimeZone/DefaultTimeZoneTest.java" is not updating the zone ID as expected
Reviewed-by: naoto, jlu
2025-09-03 15:31:15 +00:00
SendaoYan
d5935af228 8366768: Problemlist jdk/jshell/ToolSimpleTest.java
Reviewed-by: jlahoda
2025-09-03 14:40:23 +00:00
Stefan Karlsson
3abaa83610 8366298: FDLeakTest sometimes takes minutes to complete on Linux
Reviewed-by: lkorinth, rriggs, stuefe
2025-09-03 13:51:17 +00:00
Aleksey Shipilev
2a5f149bb8 8363966: GHA: Switch cross-compiling sysroots to Debian trixie
Reviewed-by: ayang, fyang, erikj
2025-09-03 12:41:24 +00:00
Leo Korinth
3b2f3e53d7 8366803: Bump timeout on sun/tools/jhsdb/BasicLauncherTest.java
Reviewed-by: stefank
2025-09-03 12:36:36 +00:00
Albert Mingkun Yang
6dda2f6fad 8366543: Clean up include headers in numberSeq
Reviewed-by: tschatzl
2025-09-03 07:52:28 +00:00
Francesco Andreuzzi
7c70e73414 8366660: Sort share/nmt includes
Reviewed-by: ayang, shade
2025-09-03 06:45:02 +00:00
Galder Zamarreño
8c4090c2cf 8329077: C2 SuperWord: Add MoveD2L, MoveL2D, MoveF2I, MoveI2F
Reviewed-by: epeter, qamai
2025-09-03 06:38:27 +00:00
SendaoYan
e268563a10 8366476: Test gc/z/TestSmallHeap.java fails OOM with many NUMA nodes
Reviewed-by: jsikstro, aboldtch
2025-09-03 00:57:52 +00:00
Rui Li
5052a7eee5 8246037: Shenandoah: update man pages to mention -XX:+UseShenandoahGC
Reviewed-by: ysr, wkemper, cslucas
2025-09-02 23:49:23 +00:00
Saint Wesonga
b50c11f907 8366195: Remove unnecessary quotes around -Ta ml64 assembler argument
Reviewed-by: erikj
2025-09-02 23:04:52 +00:00
Igor Veresov
991ac9e616 8365407: Race condition in MethodTrainingData::verify()
Reviewed-by: kvn, vlivanov, iklam
2025-09-02 21:28:22 +00:00
Justin Lu
80fb7088a1 8365175: Replace Unicode extension anchor elements with link tag
Reviewed-by: liach, iris, naoto
2025-09-02 20:43:38 +00:00
Henry Jen
0d85f076cc 8359174: tools/jlink/JLink20000Packages.java timed out
Co-authored-by: Vicente Romero <vromero@openjdk.org>
Co-authored-by: Eirik Bjørsnøs <eirbjo@openjdk.org>
Reviewed-by: jpai, liach
2025-09-02 18:03:09 +00:00
Naoto Sato
c935d1ce1c 8366375: Collator example for SECONDARY uses wrong code point
Reviewed-by: jlu, joehw, smarks
2025-09-02 17:11:34 +00:00
Leo Korinth
48ba8ed243 8366704: Bump timeout on TestInheritFD
Reviewed-by: lmesnik
2025-09-02 17:00:33 +00:00
Volkan Yazici
ecf05ca541 8366693: Backout recent JavaLangAccess changes breaking the build
Reviewed-by: jpai, serb, alanb, syan, rriggs, jwaters
2025-09-02 15:26:48 +00:00
Ashutosh Mehra
444a8fa14e 8365501: Remove special AdapterHandlerEntry for abstract methods
Reviewed-by: kvn, adinn
2025-09-02 14:54:50 +00:00
SendaoYan
a029245a4e 8365983: Tests should throw SkippedException when SCTP not supported
Reviewed-by: jpai
2025-09-02 13:25:32 +00:00
Albert Mingkun Yang
710354369e 8366063: Parallel: Refactor copy_unmarked_to_survivor_space
Reviewed-by: tschatzl, iwalulya
2025-09-02 13:09:33 +00:00
Albert Mingkun Yang
1feb9bd559 8365557: Parallel: Refactor ParallelScavengeHeap::mem_allocate_work
Reviewed-by: tschatzl, iwalulya
2025-09-02 12:46:59 +00:00
Volkan Yazici
eea50fbc1b 8356439: Rename JavaLangAccess::*NoRepl methods
Reviewed-by: alanb, liach, rriggs
2025-09-02 12:42:46 +00:00
Matthew Donovan
31847149c1 8325766: Extend CertificateBuilder to create trust and end entity certificates programmatically
Reviewed-by: mullan, abarashev
2025-09-02 11:17:56 +00:00
Leo Korinth
e66ed4d729 8366666: Bump timeout on StressAsyncUL
Reviewed-by: stefank
2025-09-02 09:30:29 +00:00
Afshin Zafari
ef7872cc31 8365163: [ubsan] left-shift issue in globalDefinitions.hpp
Reviewed-by: kbarrett, stefank, aph
2025-09-02 09:08:26 +00:00
Anton Artemov
523bc77981 8364816: GetLastError() in os_windows.cpp should not store value to errno
Reviewed-by: dholmes, jsikstro
2025-09-02 08:15:27 +00:00
Joakim Nordström
af532cc1b2 8365913: Support latest MSC_VER in abstract_vm_version.cpp
Reviewed-by: dholmes
2025-09-02 07:58:38 +00:00
Francesco Andreuzzi
d19eab4f08 8366556: Sort share/runtime includes
Reviewed-by: dholmes, ayang
2025-09-02 07:57:03 +00:00
Albert Mingkun Yang
3fb9246af9 8366544: Parallel: Inline PSParallelCompact::invoke_no_policy
Reviewed-by: tschatzl
2025-09-02 07:54:36 +00:00
Leo Korinth
55e7af0560 8260555: Change the default TIMEOUT_FACTOR from 4 to 1
Reviewed-by: alanb, sspitsyn, lmesnik, ihse
2025-09-02 07:27:12 +00:00
SendaoYan
efb81dafaf 8366031: Mark com/sun/nio/sctp/SctpChannel/CloseDescriptors.java as intermittent
Reviewed-by: jpai
2025-09-02 06:50:15 +00:00
Philippe Marschall
8f11d83a01 8362893: Improve performance for MemorySegment::getString
Reviewed-by: pminborg, mcimadamore
2025-09-02 05:49:06 +00:00
Saint Wesonga
f58d612b61 8366483: ShowRegistersOnAssertTest uses wrong register pattern string for Windows on AArch64
Reviewed-by: dholmes, shade
2025-09-02 04:01:32 +00:00
Kevin Walls
b06459d3a8 8364227: MBeanServer registerMBean throws NPE
Reviewed-by: alanb
2025-09-01 14:21:33 +00:00
Emanuel Peter
99223eea03 8366427: C2 SuperWord: refactor VTransform scalar nodes
Reviewed-by: mhaessig, chagedorn, kvn
2025-09-01 13:48:25 +00:00
Albert Mingkun Yang
5110d54d93 8365922: Parallel: Group uses of GCTimeRatio to a single location
Reviewed-by: tschatzl, phh
2025-09-01 13:08:53 +00:00
Johan Sjölen
98af18921a 8366456: Allow AllocFailStrategy for RBTree
Reviewed-by: cnorrbin, aboldtch
2025-09-01 09:24:52 +00:00
Bhavana Kilambi
7f0cd6488b 8361582: AArch64: Some ConH values cannot be replicated with SVE
Reviewed-by: shade, epeter, aph
2025-09-01 09:18:29 +00:00
Roberto Castañeda Lozano
fc77e7600f 8365791: IGV: Update build dependencies
Reviewed-by: chagedorn, ayang
2025-09-01 08:55:23 +00:00
Volkan Yazici
dacd9af9a0 8329829: HttpClient: Add a BodyPublishers.ofFileChannel method
Reviewed-by: dfuchs, jpai, michaelm
2025-09-01 08:50:08 +00:00
Emanuel Peter
56713817c0 8366361: C2 SuperWord: rename VTransformNode::set_req -> init_req, analogue to Node::init_req
Reviewed-by: kvn, chagedorn
2025-09-01 08:47:19 +00:00
Jayathirth D V
fe4c7a0429 8364135: JPEGImageReader.getImageTypes() should throw exception for negative image index
Reviewed-by: aivanov, prr, psadhukhan
2025-09-01 08:07:08 +00:00
Matthias Baesken
3ca44c8dea 8364352: Some tests fail when using a limited number of pregenerated .jsa CDS archives
Reviewed-by: dholmes, stuefe
2025-09-01 08:03:34 +00:00
Anton Artemov
48f70d7ad8 8361370: runtime/Thread/TestThreadDumpMonitorContention.java fails due to time out on Windows
Reviewed-by: dholmes, amenkov
2025-09-01 07:50:35 +00:00
Axel Boldt-Christmas
a9f3cb23d1 8366462: Test gc/z/TestCommitFailure.java#Normal failed: expected output missing
Reviewed-by: dholmes, eosterlund
2025-09-01 07:47:44 +00:00
Anton Artemov
d5d94db12a 8357086: os::xxx functions returning memory size should return size_t
Reviewed-by: stefank, dholmes
2025-09-01 07:43:25 +00:00
Emanuel Peter
dbac620b99 8366357: C2 SuperWord: refactor VTransformNode::apply with VTransformApplyState
Reviewed-by: chagedorn, kvn, mhaessig
2025-09-01 06:56:48 +00:00
Matthias Baesken
a6e2a329a0 8366092: [GCC static analyzer] UnixOperatingSystem.c warning: use of uninitialized value 'systemTicks'
Reviewed-by: kevinw, asteiner
2025-09-01 06:48:48 +00:00
Matthias Baesken
ba90ccc6a8 8362516: Support of GCC static analyzer (-fanalyzer)
Reviewed-by: erikj
2025-09-01 06:46:23 +00:00
Jonas Norlinder
86f48ab559 8366157: Clarify in man pages that only G1 and Parallel supports MaxGCPauseMillis
Reviewed-by: tschatzl, sjohanss
2025-09-01 06:35:10 +00:00
Francesco Andreuzzi
12dc568b3d 8366331: Sort share/prims includes
Reviewed-by: shade, lmesnik
2025-09-01 06:28:10 +00:00
Aleksey Shipilev
685da0323b 8345810: Custom launchers must be linked with pthread to avoid dynamic linker issues
Reviewed-by: asemenyuk, erikj, dholmes
2025-09-01 06:25:45 +00:00
Jan Lahoda
2894240602 8177650: JShell tool: packages in classpath don't appear in completions
Reviewed-by: asotona
2025-09-01 05:55:08 +00:00
Shaojin Wen
a668f437e4 8365620: Using enhanced switch in MethodHandleDesc
Reviewed-by: liach
2025-09-01 05:54:54 +00:00
Ioi Lam
2427c901b3 8366024: Remove unnecessary InstanceKlass::cast()
Reviewed-by: coleenp, dholmes
2025-09-01 04:03:08 +00:00
David Holmes
80ab094a75 8347707: Standardise the use of os::snprintf and os::snprintf_checked
Reviewed-by: kbarrett, fbredberg
2025-08-31 21:34:16 +00:00
Anass Baya
bdc39818ce 8361521: BogusFocusableWindowState.java fails with StackOverflowError on Linux
Reviewed-by: aivanov, serb
2025-08-31 04:34:04 +00:00
Francesco Andreuzzi
9339a6a232 8361593: Commented dead code in JDK-8342868 can be removed
Reviewed-by: jlu, naoto, jwaters, jpai
2025-08-31 00:35:09 +00:00
Sergey Bylokhov
12e6a0b6d0 8366208: Unexpected exception in sun.java2d.cmm.lcms.LCMSImageLayout
Reviewed-by: aivanov, prr
2025-08-30 19:26:45 +00:00
Chen Liang
0e7399318b 8366264: tools/javac/launcher/SourceLauncherStackTraceTest.java does not cover the scenario for 8362237
Reviewed-by: cstein, jlahoda
2025-08-30 14:03:56 +00:00
SendaoYan
f23c150709 8366359: Test should throw SkippedException when there is no lpstat
Reviewed-by: aivanov, prr
2025-08-30 02:20:44 +00:00
Chen Liang
d4ce630cea 8366399: Allow custom base reference for update_copyright_year.sh
Reviewed-by: erikj
2025-08-29 20:44:09 +00:00
Anthony Scarpino
849570a94a 8365288: PEMDecoder should throw ClassCastException
Reviewed-by: weijun
2025-08-29 17:04:37 +00:00
David Holmes
d594ef3a3e 8366121: Hotspot Style Guide should document conventions for lock-free code
Reviewed-by: stefank, ayang, jsjolen, jwaters, kvn, kbarrett
2025-08-29 16:31:13 +00:00
Chen Liang
ae9607725c 8361614: Missing sub-int value validation in the Class-File API
Reviewed-by: asotona
2025-08-29 14:35:45 +00:00
Chen Liang
937d61bfba 8364751: ConstantBootstraps.explicitCast contradictory specification for null-to-primitive
Reviewed-by: jvernee, rriggs
2025-08-29 14:35:26 +00:00
Axel Boldt-Christmas
86d6a2e05e 8366147: ZGC: ZPageAllocator::cleanup_failed_commit_single_partition may leak memory
Reviewed-by: stefank, sjohanss, jsikstro
2025-08-29 07:35:03 +00:00
Volkan Yazici
a2da75a6b6 8362884: [GCC static analyzer] unix NetworkInterface.c addif leak on early returns
Reviewed-by: dfuchs, mbaesken
2025-08-29 06:13:34 +00:00
Jaikiran Pai
b8cdf31a2e 8365898: Specification of java.lang.module.ModuleDescriptor.packages() method can be improved
Reviewed-by: alanb, liach
2025-08-29 00:46:53 +00:00
Alexander Matveev
05da2137f1 8362335: [macos] Change value of CFBundleDevelopmentRegion from "English" to "en-US"
Reviewed-by: asemenyuk
2025-08-28 21:23:15 +00:00
Ioi Lam
9f70965bb9 8366193: Add comments about ResolvedFieldEntry::copy_from()
Reviewed-by: adinn, coleenp
2025-08-28 18:08:55 +00:00
Brian Burkhalter
aaac8c0636 8366254: (fs) UnixException.translateToIOException should translate ELOOP to FileSystemLoopException
Reviewed-by: vyazici, alanb
2025-08-28 17:38:09 +00:00
Hai-May Chao
33d00a77f3 8294035: Remove null ids checking from keytool -gencrl
Reviewed-by: weijun
2025-08-28 16:36:14 +00:00
Aleksey Shipilev
8c6d12250b 8333783: java/nio/channels/FileChannel/directio/DirectIOTest.java is unstable with AV software
Reviewed-by: bpb
2025-08-28 15:58:50 +00:00
Igor Veresov
452b052fe3 8365726: Test crashed with assert in C1 thread: Possible safepoint reached by thread that does not allow it
Reviewed-by: dlong, shade
2025-08-28 15:45:17 +00:00
Mikhail Yankelevich
993babb326 8365863: /test/jdk/sun/security/pkcs11/Cipher tests skip without SkippedException
Reviewed-by: weijun, djelinski
2025-08-28 13:54:21 +00:00
Rui Li
8051aaf068 8342640: GenShen: Silently ignoring ShenandoahGCHeuristics considered poor user-experience
Reviewed-by: ysr, wkemper
2025-08-28 13:54:03 +00:00
Alexey Ivanov
afa8e79ba1 8365615: Improve JMenuBar/RightLeftOrientation.java
Reviewed-by: prr, psadhukhan
2025-08-28 13:13:10 +00:00
Alexey Ivanov
22ae137400 8365711: Declare menuBarHeight and hotTrackingOn private
Reviewed-by: serb, prr, kizune
2025-08-28 13:11:20 +00:00
Alexey Ivanov
79d8a34a92 8365708: Add missing @Override annotations to WindowsMenuItemUIAccessor
Reviewed-by: serb, kizune
2025-08-28 13:09:46 +00:00
Manuel Hässig
8f864fd563 8366222: TestCompileTaskTimeout causes asserts after JDK-8365909
Reviewed-by: chagedorn, thartmann
2025-08-28 12:48:29 +00:00
Johan Sjölen
5c78c7cd83 8366341: [BACKOUT] JDK-8365256: RelocIterator should use indexes instead of pointers
Reviewed-by: ayang
2025-08-28 12:15:03 +00:00
Leo Korinth
b0f5b23ed2 8366145: G1: Help diagnose ubsan division by zero in computing pause time ratios (g1Analytics.cpp)
Reviewed-by: tschatzl, kbarrett
2025-08-28 11:37:48 +00:00
Francesco Andreuzzi
a5a2340054 8365053: Refresh hotspot precompiled.hpp with headers based on current frequency
Reviewed-by: shade, ihse, erikj, qamai
2025-08-28 09:28:58 +00:00
Thomas Schatzl
7469a274bb 8365939: [Redo] G1: Move collection set related full gc reset code into abandon_collection_set() method
Reviewed-by: ayang, iwalulya
2025-08-28 09:21:52 +00:00
Thomas Schatzl
d06c66f7f5 8365055: G1: Merge Heap Roots phase incorrectly clears young gen remembered set every time
Reviewed-by: kbarrett, iwalulya
2025-08-28 09:21:26 +00:00
David Beaumont
ab1f2af4f0 8366255: Remove 'package_to_module' function from imageFile.cpp
Reviewed-by: rriggs, coleenp
2025-08-28 06:57:57 +00:00
Manuel Hässig
57df267e42 8365262: [IR-Framework] Add simple way to add cross-product of flags
Reviewed-by: bmaillard, epeter
2025-08-28 06:30:25 +00:00
Emanuel Peter
443b172638 8324751: C2 SuperWord: Aliasing Analysis runtime check
Reviewed-by: kvn, mhaessig
2025-08-28 05:53:23 +00:00
Axel Boldt-Christmas
501e6aed44 8366223: ZGC: ZPageAllocator::cleanup_failed_commit_multi_partition is broken
Reviewed-by: stefank, jsikstro
2025-08-28 05:02:25 +00:00
Weijun Wang
075ddef831 8364039: Adding implNote to DOMSignContext and DOMValidateContext on JDK-specific properties
Reviewed-by: mullan
2025-08-27 17:49:17 +00:00
Nizar Benalla
bd4c0f4a7d 8358618: UnsupportedOperationException constructors javadoc is not clear
Reviewed-by: liach, aivanov, rriggs
2025-08-27 15:30:17 +00:00
Brian Burkhalter
f1c0b4ed72 8361495: (fc) Async close of streams connected to uninterruptible FileChannel doesn't throw AsynchronousCloseException in all cases
Reviewed-by: alanb
2025-08-27 15:30:01 +00:00
Manuel Hässig
b43c2c6635 8366225: Linux Alpine (fast)debug build fails after JDK-8365909
Reviewed-by: mbaesken, thartmann
2025-08-27 14:48:33 +00:00
Francesco Andreuzzi
79cea6dd17 8365975: Sort share/memory includes
Reviewed-by: shade, ayang, jwaters
2025-08-27 14:37:39 +00:00
Chen Liang
1d53ac30f1 8366028: MethodType::fromMethodDescriptorString should not throw UnsupportedOperationException for invalid descriptors
Reviewed-by: jvernee
2025-08-27 14:25:39 +00:00
Ivan Walulya
124575b4c2 8359348: G1: Improve cpu usage measurements for heap sizing
Reviewed-by: tschatzl, ayang, manc
2025-08-27 11:45:43 +00:00
Hamlin Li
32df2d17f3 8365772: RISC-V: correctly prereserve NaN payload when converting from float to float16 in vector way
Reviewed-by: fyang, rehn
2025-08-27 10:15:25 +00:00
Per Minborg
19f0755c48 8365203: defineClass with direct buffer can cause use-after-free
Reviewed-by: jpai
2025-08-27 09:41:12 +00:00
Albert Mingkun Yang
0ca38bdc4d 8365919: Replace currentTimeMillis with nanoTime in Stresser.java
Reviewed-by: tschatzl, phh
2025-08-27 09:30:48 +00:00
Joel Sikström
b39c73696d 8359683: ZGC: NUMA-Aware Relocation
Reviewed-by: aboldtch, sjohanss
2025-08-27 09:08:13 +00:00
Johan Sjölen
88c3979367 8365256: RelocIterator should use indexes instead of pointers
Reviewed-by: kvn, dlong
2025-08-27 07:55:57 +00:00
Ioi Lam
aaff9dec24 8362566: Use -Xlog:aot+map to print contents of existing AOT cache
Reviewed-by: vlivanov, kvn
2025-08-27 04:27:43 +00:00
Dingli Zhang
0d54329304 8366127: RISC-V: compiler/intrinsics/TestVerifyIntrinsicChecks.java fails when running without RVV
Reviewed-by: fyang, fjiang
2025-08-27 02:15:02 +00:00
Yasumasa Suenaga
1aca920f59 8365673: Incorrect number of cores are reported on Ryzen CPU
Reviewed-by: dholmes, kvn
2025-08-26 23:57:20 +00:00
Thomas Stuefe
82289f6559 8365611: Use lookup table for JfrEventThrottler
Reviewed-by: mgronlun
2025-08-26 22:30:32 +00:00
Naoto Sato
1ff73cb2ec 8364752: java.time.Instant should be able to parse ISO 8601 offsets of the form HH:mm:ss
Reviewed-by: rriggs, vyazici, scolebourne
2025-08-26 21:51:53 +00:00
Naoto Sato
69645fd4ba 8361972: Clarify the condition of System.console() about standard input/output
Reviewed-by: smarks, jlu, joehw
2025-08-26 21:51:32 +00:00
Naoto Sato
23670fd418 8363972: Lenient parsing of minus sign pattern in DecimalFormat/CompactNumberFormat
Reviewed-by: jlu, rriggs
2025-08-26 21:49:57 +00:00
Chen Liang
b426151a33 8365885: Clean up constant pool reflection native code
Reviewed-by: iklam, alanb
2025-08-26 20:54:27 +00:00
Phil Race
c755345177 8365197: javax.imageio.stream MemoryCache based streams no longer need a disposer.
Reviewed-by: psadhukhan, jdv, serb
2025-08-26 18:54:16 +00:00
Kim Barrett
c203e7093e 8366037: Remove oopDesc::mark_addr()
Reviewed-by: shade, stefank, tschatzl
2025-08-26 18:37:22 +00:00
Brian Burkhalter
2b44ed7070 8365807: (fs) Two-arg UnixFileAttributes.getIfExists should not use exception for control flow
Reviewed-by: alanb
2025-08-26 17:42:27 +00:00
Weijun Wang
6a480ad07a 8366126: Feedback on two errors in JSR 400
Reviewed-by: hchao, wetmore
2025-08-26 16:58:54 +00:00
Hannes Wallnöfer
caaef3a04c 8350920: Allow inherited member summaries to be viewed inline
Reviewed-by: liach, nbenalla
2025-08-26 15:00:20 +00:00
Johny Jose
173dedfb24 8366131: ProblemList java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java
Reviewed-by: alanb, jpai, smarks
2025-08-26 13:53:34 +00:00
Manuel Hässig
aae13af04b 8365909: [REDO] Add a compilation timeout flag to catch long running compilations
Co-authored-by: Dean Long <dlong@openjdk.org>
Reviewed-by: chagedorn, dlong
2025-08-26 13:24:05 +00:00
Jaikiran Pai
22d3a6dd34 8366128: jdk/jdk/nio/zipfs/TestPosix.java::testJarFile uses wrong file
Reviewed-by: alanb
2025-08-26 11:55:01 +00:00
Hamlin Li
28602f3d3e 8365206: RISC-V: compiler/c2/irTests/TestFloat16ScalarOperations.java is failing on riscv64
Reviewed-by: fyang, rehn, dzhang
2025-08-26 09:54:41 +00:00
Joel Sikström
3641c32c11 8365994: ZGC: Incorrect type signature in ZMappedCache comparator
Reviewed-by: cnorrbin, aboldtch
2025-08-26 08:55:08 +00:00
Guanqiang Han
2ae3ea2ad9 8366035: Simplify CPUTimeCounters::publish_gc_total_cpu_time
Reviewed-by: ayang, kbarrett
2025-08-26 08:35:52 +00:00
Volker Simonis
68abf76e90 8366105: Update link to the external RuleBasedBreakIterator documentation
Reviewed-by: naoto, jlu, iris
2025-08-26 07:08:45 +00:00
Yasumasa Suenaga
5013d69d96 8365633: Incorrect info is reported on hybrid CPU
Reviewed-by: kvn, dholmes
2025-08-26 07:05:02 +00:00
Thomas Schatzl
e38c6f9827 8365656: [ubsan] G1CSetCandidateGroup::liveness() reports division by 0
Reviewed-by: iwalulya, ayang
2025-08-26 06:57:44 +00:00
Marc Philipp
deec6aa76d 8365394: Stylesheet must not load fonts on --no-fonts output
Reviewed-by: hannesw
2025-08-26 06:37:48 +00:00
Matthias Baesken
e5ec464120 8365442: [asan] runtime/ErrorHandling/CreateCoredumpOnCrash.java fails
Reviewed-by: jsjolen
2025-08-26 06:13:33 +00:00
Prasanta Sadhukhan
98e64cffff 8159055: Clarify handling of null and invalid image data for ImageIcon constructors and setImage method
Reviewed-by: aivanov, prr, abhiscxk, kizune, serb
2025-08-26 05:29:16 +00:00
Phil Race
e7d2a52d35 8344333: Spurious System.err.flush() in LWCToolkit.java
Reviewed-by: psadhukhan
2025-08-26 05:09:05 +00:00
Renjith Kannath Pariyangad
0f7c0e956e 8302057: Wrong BeanProperty description for JTable.setShowGrid
Reviewed-by: aivanov, serb, azvegint, prr, psadhukhan
2025-08-26 03:56:35 +00:00
Prasanta Sadhukhan
e5077660c4 8361610: Avoid wasted work in ImageIcon(Image) for setting description
Reviewed-by: kizune, aivanov
2025-08-26 02:53:44 +00:00
Ravi Gupta
21efd25c11 8361067: Test ExtraButtonDrag.java requires frame.dispose in finally block
Reviewed-by: abhiscxk, dnguyen, mvs, prr
2025-08-26 02:51:22 +00:00
Saint Wesonga
a629424248 8365579: ml64.exe is not the right assembler for Windows aarch64
Reviewed-by: jwaters, ihse, erikj
2025-08-26 01:13:56 +00:00
Paul Hohensee
1a7ac16d23 8364382: Remove sun/tools/jstat/jstatLineCountsX.sh from ProblemList on linux-ppc64le and aix due to JDK-8248691
Reviewed-by: eastigeevich, cjplummer, mbaesken
2025-08-25 19:34:43 +00:00
Phil Race
63faa50428 8365291: Remove finalize() method from sun/awt/X11InputMethodBase.java
Reviewed-by: tr, azvegint
2025-08-25 19:32:03 +00:00
Phil Race
040cc7aee0 8365292: Remove javax.imageio.spi.ServiceRegistry.finalize()
8359391: Remove ThreadGroup sandboxing from javax.imageio

Reviewed-by: serb, jdv, azvegint
2025-08-25 17:01:43 +00:00
Erik Gahlin
d24449f696 8365815: JFR: Update metadata.xml with 'jfr query' examples
Reviewed-by: mgronlun
2025-08-25 15:10:50 +00:00
Thomas Schatzl
45726a1f8b 8365052: G1: Remove G1CollectionSet::groups() accessors
Reviewed-by: ayang, kbarrett
2025-08-25 10:18:36 +00:00
Paul Hübner
5cc8673841 8365765: thread.inline.hpp includes the wrong primary header file
Reviewed-by: stefank, ayang, jwaters
2025-08-25 09:13:35 +00:00
Thomas Schatzl
57434c73ea 8365976: G1: Full gc should mark nmethods on stack
Reviewed-by: ayang, iwalulya
2025-08-25 07:44:20 +00:00
Thomas Schatzl
28bd29f396 8365034: G1: Remove num_groups_selected in G1CollectionSet::select_candidates_from_optional_groups as it is unnecessary
Reviewed-by: ayang, iwalulya
2025-08-25 07:43:12 +00:00
Thomas Schatzl
7fa501e398 8365040: G1: Remove sorting at end of collection set selection
Reviewed-by: iwalulya, ayang
2025-08-25 07:42:55 +00:00
Jan Lahoda
d99fb09a20 8359497: IllegalArgumentException thrown by SourceCodeAnalysisImpl.highlights()
Reviewed-by: vromero
2025-08-25 07:15:44 +00:00
Marc Chevalier
1f0dfdbcca 8360561: PhaseIdealLoop::create_new_if_for_predicate hits "must be a uct if pattern" assert
Reviewed-by: mhaessig, thartmann, qamai
2025-08-25 06:51:28 +00:00
Fredrik Bredberg
0b8ae26028 8365189: Remove LockingMode related code from arm32
Reviewed-by: aboldtch, coleenp
2025-08-25 06:47:57 +00:00
Ioi Lam
15601b4718 8366029: Do not add -XX:VerifyArchivedFields by default to CDS tests
Reviewed-by: kvn
2025-08-25 04:01:00 +00:00
Alan Bateman
58e7581527 8365893: test/jdk/java/lang/Thread/virtual/JfrEvents.java failing intermittently
Reviewed-by: jpai
2025-08-24 16:22:21 +00:00
SendaoYan
09aad0aea8 8365834: Mark java/net/httpclient/ManyRequests.java as intermittent
Reviewed-by: jpai
2025-08-23 02:43:23 +00:00
Alexander Matveev
7b9969dc8f 8356218: [macos] Document --app-content
Reviewed-by: asemenyuk
2025-08-22 22:24:39 +00:00
Cesar Soares Lucas
f28f618972 8356289: Shenandoah: Clean up SATB barrier runtime entry points
Reviewed-by: kdnilsen, ysr, wkemper
2025-08-22 21:51:21 +00:00
Phil Race
603526b55b 8364768: JDK javax.imageio ImageWriters do not all flush the output stream
Reviewed-by: psadhukhan, azvegint
2025-08-22 20:50:34 +00:00
Ioi Lam
c01b4fc348 8365814: Consolidate has_been_archived() and has_been_buffered() in ArchiveBuilder
Reviewed-by: kvn, coleenp
2025-08-22 20:41:21 +00:00
Naoto Sato
ae0dac43c0 8361613: System.console() should only be available for interactive terminal
Reviewed-by: jlahoda, smarks, alanb
2025-08-22 17:50:22 +00:00
Francesco Andreuzzi
19882220ec 8365829: Multiple definitions of static 'phase_names'
Reviewed-by: kbarrett
2025-08-22 17:36:52 +00:00
altrisi
e916ce8ce9 8365878: jshell TOOLING's javap should use binary names
Reviewed-by: liach, cstein
2025-08-22 17:10:40 +00:00
Shaojin Wen
dba0d54505 8365832: Optimize FloatingDecimal and DigitList with byte[] and cleanup
Reviewed-by: rgiulietti, liach
2025-08-22 16:44:47 +00:00
Shaojin Wen
f5f414f9fc 8365186: Reduce size of j.t.f.DateTimePrintContext::adjust
Reviewed-by: rriggs
2025-08-22 15:57:11 +00:00
Martin Doerr
e1c58f858a 8360540: nmethod entry barriers of new nmethods should be disarmed
Reviewed-by: eosterlund, tschatzl
2025-08-22 09:01:21 +00:00
Alan Bateman
f0498c2aed 8364764: java/nio/channels/vthread/BlockingChannelOps.java subtests timed out
Reviewed-by: jpai
2025-08-22 08:16:55 +00:00
Phil Race
8e44856992 8365180: Remove sun.awt.windows.WInputMethod.finalize()
Reviewed-by: serb, azvegint
2025-08-22 04:28:56 +00:00
Amit Kumar
558d06399c 8361536: [s390x] Saving return_pc at wrong offset
Reviewed-by: lucy, mdoerr
2025-08-22 03:43:01 +00:00
Dingli Zhang
584137cf96 8365844: RISC-V: TestBadFormat.java fails when running without RVV
Reviewed-by: fjiang, chagedorn, epeter, fyang
2025-08-22 01:42:57 +00:00
Phil Race
3468c6e5ef 8365389: Remove static color fields from SwingUtilities3 and WindowsMenuItemUI
Reviewed-by: psadhukhan, aivanov, dnguyen
2025-08-21 20:49:04 +00:00
Brian Burkhalter
52747256bb 8154364: (fs) Files.isSameFile() throws NoSuchFileException with broken symbolic links
Reviewed-by: alanb
2025-08-21 19:56:46 +00:00
Francesco Andreuzzi
11eccfc85f 8365917: Sort share/logging includes
Reviewed-by: ayang, phh
2025-08-21 18:58:27 +00:00
Prasanta Sadhukhan
bdf9834b81 8365425: [macos26] javax/swing/JInternalFrame/8160248/JInternalFrameDraggingTest.java fails on macOS 26
Reviewed-by: dnguyen, kizune
2025-08-21 16:46:19 +00:00
Vladimir Kozlov
d757246823 8365891: failed: Completed task should not be in the queue
Reviewed-by: dlong
2025-08-21 16:37:07 +00:00
Thomas Schatzl
cf70cb70bc 8365024: G1: Make G1CollectionSet::_inc_build_state assert-only
Reviewed-by: ayang, kbarrett
2025-08-21 15:32:25 +00:00
Jonas Norlinder
fb651fd6d2 8364638: Refactor and make accumulated GC CPU time code generic
Reviewed-by: ayang, sjohanss
2025-08-21 14:05:36 +00:00
Paul Hübner
1548ac4f54 8365378: Redundant code in Deoptimization::print_statistics
Reviewed-by: jsjolen, coleenp
2025-08-21 14:00:18 +00:00
Thomas Schatzl
02fe095d29 8364934: G1: Rename members of G1CollectionSet
Reviewed-by: ayang, kbarrett
2025-08-21 11:53:57 +00:00
Thomas Schatzl
a3fd4248b7 8365115: G1: Refactor rem set statistics gather code for group
Reviewed-by: kbarrett, ayang
2025-08-21 09:46:02 +00:00
Thomas Schatzl
f61b247fe3 8364962: G1: Inline G1CollectionSet::finalize_incremental_building
Reviewed-by: ayang, kbarrett
2025-08-21 09:44:41 +00:00
Thomas Schatzl
ed260e8cae 8365026: G1: Initialization should start a "full" new collection set
Reviewed-by: ayang, kbarrett
2025-08-21 09:37:34 +00:00
Thomas Schatzl
f0e706698d 8364414: G1: Use simpler data structure for holding collection set candidates during calculation
Reviewed-by: ayang, iwalulya
2025-08-21 09:36:16 +00:00
Thomas Schatzl
9439d76309 8364532: G1: In liveness tracing, print more significant digits for the liveness value
Reviewed-by: ayang, iwalulya
2025-08-21 09:35:57 +00:00
Thomas Schatzl
b735ef99b2 8364925: G1: Improve program flow around incremental collection set building
Reviewed-by: ayang, iwalulya
2025-08-21 09:19:14 +00:00
Thomas Schatzl
5ede5b47d4 8364650: G1: Use InvalidCSetIndex instead of UINT_MAX for "invalid" sentinel value of young_index_in_cset
Reviewed-by: ayang, iwalulya
2025-08-21 09:18:58 +00:00
Manuel Hässig
5febc4e3bb 8365910: [BACKOUT] Add a compilation timeout flag to catch long running compilations
Reviewed-by: chagedorn, dholmes
2025-08-21 08:23:32 +00:00
Fredrik Bredberg
a7c0f4b845 8365146: Remove LockingMode related code from ppc64
Reviewed-by: aboldtch, mdoerr
2025-08-21 07:47:26 +00:00
Manuel Hässig
c74c60fb8b 8308094: Add a compilation timeout flag to catch long running compilations
Co-authored-by: Dean Long <dlong@openjdk.org>
Reviewed-by: dlong, chagedorn
2025-08-21 07:09:25 +00:00
Amit Kumar
78d50c0215 8358756: [s390x] Test StartupOutput.java crash due to CodeCache size
Reviewed-by: lucy, dfenacci
2025-08-21 03:53:30 +00:00
Dingli Zhang
2e06a91765 8365841: RISC-V: Several IR verification tests fail after JDK-8350960 without Zvfh
Reviewed-by: fyang, fjiang, mli
2025-08-21 01:20:16 +00:00
Francesco Andreuzzi
ecab52c09b 8365610: Sort share/jfr includes
Reviewed-by: shade, mgronlun
2025-08-20 17:21:22 +00:00
Francesco Andreuzzi
ed7d5fe840 8360304: Redundant condition in LibraryCallKit::inline_vector_nary_operation
Reviewed-by: shade, vlivanov
2025-08-20 17:16:38 +00:00
Alan Bateman
be6c15ecb4 8365671: Typo in Joiner.allUntil example
Reviewed-by: liach
2025-08-20 16:07:38 +00:00
Chris Plummer
9041f4c47f 8309400: JDI spec needs to clarify when OpaqueFrameException and NativeMethodException are thrown
Reviewed-by: sspitsyn, alanb, amenkov
2025-08-20 15:32:17 +00:00
Archie Cobbs
3e60ab51fe 8348611: Eliminate DeferredLintHandler and emit warnings after attribution
8224228: No way to locally suppress lint warnings in parser/tokenizer or preview features
8353758: Missing calls to Log.useSource() in JavacTrees

Reviewed-by: mcimadamore, vromero, jlahoda
2025-08-20 15:04:48 +00:00
Hannes Wallnöfer
5ca8d7c2a7 8284499: Add the ability to right-click and open in new tab JavaDoc Search results
Reviewed-by: liach
2025-08-20 14:52:04 +00:00
Patricio Chilano Mateo
ebf5ae8435 8359222: [asan] jvmti/vthread/ToggleNotifyJvmtiTest/ToggleNotifyJvmtiTest triggers stack-buffer-overflow error
Reviewed-by: dholmes, fbredberg, coleenp
2025-08-20 14:49:16 +00:00
Afshin Zafari
e912977a66 8353444: NMT: rename 'category' to 'MemTag' in malloc tracker
Reviewed-by: jsjolen
2025-08-20 13:40:13 +00:00
Volkan Yazici
1383b8ef87 8362243: Devkit creation for Fedora base OS is broken
Reviewed-by: ihse, erikj, shade
2025-08-20 13:14:04 +00:00
Fei Gao
51d710e3cc 8364184: [REDO] AArch64: [VectorAPI] sve vector math operations are not supported after JDK-8353217
Reviewed-by: ihse, aph
2025-08-20 11:35:31 +00:00
Hannes Wallnöfer
908f3c9697 8356411: Comment tree not reporting correct position for label
Reviewed-by: liach
2025-08-20 08:38:06 +00:00
Fredrik Bredberg
169d145e99 8365188: Remove LockingMode related code from s390
Reviewed-by: ayang, aboldtch, amitkumar
2025-08-20 08:25:01 +00:00
Anton Artemov
70f3469310 8365556: ObjectMonitor::try_lock_or_add_to_entry_list() returns true with the wrong state of the node
Reviewed-by: pchilanomate, dholmes, fbredberg
2025-08-20 08:13:07 +00:00
Ivan Walulya
9c338f6f87 8365780: G1: Remset for young regions are cleared too early during Full GC
Reviewed-by: sjohanss, ayang
2025-08-20 07:51:47 +00:00
Anton Artemov
4ffd2a8aa4 8364819: Post-integration cleanups for JDK-8359820
Reviewed-by: dholmes, ayang, shade
2025-08-20 07:28:36 +00:00
Daniel Gredler
c220a6c7bb 8359955: Regressions ~7% in several J2DBench in 25-b26
Reviewed-by: prr, serb
2025-08-20 07:26:02 +00:00
Yagmur Eren
40bc083267 8358748: Large page size initialization fails with assert "page_size must be a power of 2"
Reviewed-by: ayang, dholmes
2025-08-20 07:16:36 +00:00
Matthias Baesken
320235ccb8 8365700: Jar --validate without any --file option leaves around a temporary file /tmp/tmpJar<number>.jar
Reviewed-by: jpai, asteiner
2025-08-20 06:47:36 +00:00
Jaikiran Pai
b453eb63c6 8365811: test/jdk/java/net/CookieHandler/B6644726.java failure - "Should have 5 cookies. Got only 4, expires probably didn't parse correctly"
Reviewed-by: syan, alanb
2025-08-20 06:07:20 +00:00
Koichi Sakata
506625b768 8356324: JVM crash (SIGSEGV at ClassListParser::resolve_indy_impl) during -Xshare:dump starting from 21.0.5
Reviewed-by: coleenp, matsaave
2025-08-20 04:47:04 +00:00
Valerie Peng
640b71da48 8365168: Use 64-bit aligned addresses for CK_ULONG access in PKCS11 native key code
Reviewed-by: coffeys
2025-08-20 04:20:22 +00:00
Weijun Wang
eca2032c06 8365559: jarsigner shows files non-existent if signed with a weak algorithm
Reviewed-by: abarashev, wetmore
2025-08-20 00:04:38 +00:00
Samuel Chee
95577ca97f 8361890: Aarch64: Removal of redundant dmb from C1 AtomicLong methods
Reviewed-by: aph, dlong
2025-08-19 23:48:57 +00:00
Roger Riggs
55e7494dee 8365703: Refactor ZipCoder to use common JLA.uncheckedNewStringNoRepl
Reviewed-by: lancea, vyazici
2025-08-19 23:33:40 +00:00
Brett Okken
3bbaa772b0 8364320: String encodeUTF8 latin1 with negatives
Reviewed-by: liach, rriggs
2025-08-19 20:31:17 +00:00
Phil Race
0858743dee 8277585: Remove the terminally deprecated finalize() method from javax.imageio.stream APIs
Reviewed-by: achung, azvegint, serb
2025-08-19 20:03:52 +00:00
Roger Riggs
884076f6e2 8365719: Refactor uses of JLA.uncheckedNewStringNoRepl
Reviewed-by: liach, vyazici
2025-08-19 19:06:20 +00:00
Erik Gahlin
024292ac4d 8365614: JFR: Improve PrettyWriter::printValue
Reviewed-by: mgronlun
2025-08-19 16:08:12 +00:00
Hannes Wallnöfer
0755477c9a 8342705: Add dark mode for docs
Reviewed-by: liach
2025-08-19 16:01:12 +00:00
Chris Plummer
4ed268ff9a 8362304: Fix JDWP spec w.r.t. OPAQUE_FRAME and INVALID_SLOT errors
Reviewed-by: sspitsyn, alanb, amenkov
2025-08-19 15:05:25 +00:00
Erik Gahlin
0b2d0817f1 8365636: JFR: Minor cleanup
Reviewed-by: shade
2025-08-19 14:45:37 +00:00
Fei Gao
999761d0f6 8365312: GCC 12 cannot compile SVE on aarch64 with auto-var-init pattern
Reviewed-by: kbarrett, ihse, erikj
2025-08-19 08:22:40 +00:00
Manjunath Matti
812434c420 8359114: [s390x] Add z17 detection code
Reviewed-by: amitkumar, aph
2025-08-19 07:57:00 +00:00
Manuel Hässig
626bea80ab 8356176: C2 MemorySegment: missing RCE with byteSize() in Loop Exit Check inside the for Expression
Co-authored-by: Quan Anh Mai <qamai@openjdk.org>
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Co-authored-by: Tobias Hartmann <thartmann@openjdk.org>
Reviewed-by: epeter, qamai
2025-08-19 06:37:52 +00:00
Sergey Bylokhov
4c80780f6a 8359380: Rework deferral profile logic after JDK-8346465
Reviewed-by: prr
2025-08-19 06:33:12 +00:00
Volkan Yazici
655dc516c2 8361842: Move input validation checks to Java for java.lang.StringCoding intrinsics
Reviewed-by: rriggs, liach, dfenacci, thartmann, redestad, jrose
2025-08-19 05:06:50 +00:00
Boris Ulasevich
f2f7a490c0 8365071: ARM32: JFR intrinsic jvm_commit triggers C2 regalloc assert
Reviewed-by: mgronlun
2025-08-19 04:40:45 +00:00
Shawn M Emery
e04a310375 8364806: Test sun/security/krb5/config/IncludeRandom.java times out on Windows
Reviewed-by: mbaesken
2025-08-18 23:54:06 +00:00
Mikhail Yankelevich
ec7361e082 8365660: test/jdk/sun/security/pkcs11/KeyAgreement/ tests skipped without SkipExceprion
Reviewed-by: rhalade
2025-08-18 23:07:57 +00:00
Justin Lu
a0053012a4 8364780: Unicode extension clarifications for NumberFormat/DecimalFormatSymbols
Reviewed-by: naoto
2025-08-18 22:10:20 +00:00
David Alayachew
bad38a0f92 8365643: JShell EditPad out of bounds on Windows
Reviewed-by: liach, aivanov, cstein, jlahoda
2025-08-18 20:47:02 +00:00
Raffaello Giulietti
285adff24e 8362448: Make use of the Double.toString(double) algorithm in java.text.DecimalFormat
Reviewed-by: naoto, jlu
2025-08-18 16:12:34 +00:00
Aleksey Shipilev
c9ecedd226 8365594: Strengthen Universe klasses asserts to catch bootstrapping errors earlier
Reviewed-by: coleenp, ayang
2025-08-18 15:51:08 +00:00
Erik Gahlin
2a16cc890b 8365550: JFR: The active-settings view should not use LAST_BATCH
Reviewed-by: shade, mgronlun
2025-08-18 15:42:31 +00:00
Jaikiran Pai
81c6ed3882 8365533: Remove outdated jdk.internal.javac package export to several modules from java.base
Reviewed-by: alanb, liach
2025-08-18 13:40:42 +00:00
Matthew Donovan
c1198bba0e 8357277: Update OpenSSL library for interop tests
Reviewed-by: rhalade
2025-08-18 11:08:36 +00:00
Erik Gahlin
a42ba1ff1a 8365638: JFR: Add --exact for debugging out-of-order events
Reviewed-by: shade
2025-08-18 10:36:35 +00:00
Pasam Soujanya
6e91ccd1c3 8365305: The ARIA role ‘contentinfo’ is not valid for the element <footer>
Reviewed-by: hannesw
2025-08-18 09:37:58 +00:00
Saranya Natarajan
2b756ab1e8 8358781: C2 fails with assert "bad profile data type" when TypeProfileCasts is disabled
Reviewed-by: mhaessig, kvn, dfenacci
2025-08-18 08:16:32 +00:00
Aleksey Shipilev
ca753ebad6 8365165: Zap C-heap memory at delete/free
Reviewed-by: kvn, kbarrett
2025-08-18 08:12:20 +00:00
Volkan Yazici
190e113031 8364263: HttpClient: Improve encapsulation of ProxyServer
Reviewed-by: dfuchs, jpai
2025-08-18 08:11:19 +00:00
Matthias Baesken
166ea12d73 8365543: UnixNativeDispatcher.init should lookup open64at and stat64at on AIX
Co-authored-by: Joachim Kern <jkern@openjdk.org>
Reviewed-by: jkern, stuefe, goetz, alanb
2025-08-18 07:14:09 +00:00
David Beaumont
e7ca8c7d55 8365436: ImageReaderTest fails when jmods directory not present
Reviewed-by: sgehwolf, alanb
2025-08-18 07:08:19 +00:00
Per Minborg
f364fcab79 8359119: Change Charset to use StableValue
Reviewed-by: alanb, rriggs
2025-08-18 05:32:03 +00:00
Kim Barrett
bd65d483df 8365245: Move size reducing operations to GrowableArrayWithAllocator
Reviewed-by: jsjolen, stefank
2025-08-17 12:56:42 +00:00
Alexey Semenyuk
57210af9bc 8365555: Cleanup redundancies in jpackage implementation
Reviewed-by: almatvee
2025-08-16 04:41:25 +00:00
Leonid Mesnik
a70521c62e 8364973: Add JVMTI stress testing mode
Reviewed-by: erikj, ihse, sspitsyn
2025-08-15 22:45:01 +00:00
Andrew Dinn
b023fea062 8365558: Fix stub entry init and blob creation on Zero
Reviewed-by: asmehra, kvn
2025-08-15 22:12:57 +00:00
Phil Race
b69a3849b2 8365198: Remove unnecessary mention of finalize in ImageIO reader/writer docs
Reviewed-by: bchristi, azvegint
2025-08-15 20:02:43 +00:00
William Kemper
6e760b9b74 8365622: Shenandoah: Fix Shenandoah simple bit map test
Reviewed-by: ysr
2025-08-15 20:00:01 +00:00
Dean Long
39a3652968 8278874: tighten VerifyStack constraints
Co-authored-by: Tom Rodriguez <never@openjdk.org>
Reviewed-by: mhaessig, never
2025-08-15 18:52:45 +00:00
William Kemper
08db4b9962 8365571: GenShen: PLAB promotions may remain disabled for evacuation threads
Reviewed-by: kdnilsen, ysr, shade
2025-08-15 17:56:47 +00:00
Francesco Andreuzzi
dbae90c950 8364723: Sort share/interpreter includes
Reviewed-by: shade, ayang
2025-08-15 10:45:00 +00:00
Volkan Yazici
059b49b955 8365244: Some test control variables are undocumented in doc/testing.md
Reviewed-by: erikj
2025-08-15 10:37:26 +00:00
Guanqiang Han
b6d5f49b8d 8365296: Build failure with Clang due to -Wformat warning after JDK-8364611
Reviewed-by: ayang, mbaesken
2025-08-15 09:41:17 +00:00
Markus Grönlund
5856dc34c8 8365199: Use a set instead of a list as the intermediary Klass* storage to reduce typeset processing
Reviewed-by: egahlin
2025-08-15 09:32:51 +00:00
Manuel Hässig
fa2eb61648 8365491: VSCode IDE: add basic configuration for the Oracle Java extension
Reviewed-by: ihse, jlahoda
2025-08-15 08:55:11 +00:00
Doug Simon
e3aeebec17 8365468: EagerJVMCI should only apply to the CompilerBroker JVMCI runtime
Reviewed-by: never
2025-08-15 07:35:52 +00:00
Chen Liang
6fb6f3d39b 8361638: java.lang.classfile.CodeBuilder.CatchBuilder should not throw IllegalArgumentException for representable exception handlers
Reviewed-by: asotona
2025-08-15 04:25:37 +00:00
David Beaumont
44b19c01ac 8365532: java/lang/module/ModuleReader/ModuleReaderTest.testImage fails
Reviewed-by: alanb
2025-08-15 02:53:42 +00:00
Vladimir Kozlov
a65f200220 8365512: Replace -Xcomp with -Xmixed for AOT assembly phase
Reviewed-by: shade
2025-08-14 23:59:34 +00:00
Chen Liang
8c363b3e3e 8364319: Move java.lang.constant.AsTypeMethodHandleDesc to jdk.internal
Reviewed-by: redestad
2025-08-14 21:41:14 +00:00
Chen Liang
c5cbcac828 8361730: The CodeBuilder.trying(BlockCodeBuilder,CatchBuilder) method generates corrupted bytecode in certain cases
Reviewed-by: asotona
2025-08-14 20:27:08 +00:00
William Kemper
dccca0fb7a 8365572: Shenandoah: Remove unused thread local _paced_time field
Reviewed-by: shade
2025-08-14 19:58:54 +00:00
David Beaumont
ba23105231 8365048: idea.sh script does not correctly detect/handle git worktrees
Reviewed-by: shade, vyazici, erikj, mcimadamore, ihse
2025-08-14 17:02:05 +00:00
Igor Veresov
26ccb3cef1 8362530: VM crash with -XX:+PrintTieredEvents when collecting AOT profiling
Reviewed-by: chagedorn, kvn
2025-08-14 16:59:05 +00:00
Phil Race
b0f98df75a 8365416: java.desktop no longer needs preview feature access
Reviewed-by: alanb, jpai
2025-08-14 15:20:47 +00:00
Albert Mingkun Yang
dd113c8df0 8364628: Serial: Refactor SerialHeap::mem_allocate_work
Reviewed-by: phh, kbarrett
2025-08-14 14:50:56 +00:00
Roman Marchenko
41520998aa 8365098: make/RunTests.gmk generates a wrong path to test artifacts on Alpine
Reviewed-by: erikj, ihse
2025-08-14 12:31:20 +00:00
Matthias Baesken
98f54d90ea 8365487: [asan] some oops (mode) related tests fail
Reviewed-by: kbarrett, syan
2025-08-14 11:11:47 +00:00
Erik Gahlin
7698c373a6 8364556: JFR: Disable SymbolTableStatistics and StringTableStatistics in default.jfc
Reviewed-by: mgronlun
2025-08-14 10:43:21 +00:00
Yudi Zheng
e320162815 8365218: [JVMCI] AArch64 CPU features are not computed correctly after 8364128
Reviewed-by: dnsimon
2025-08-14 07:39:49 +00:00
Joel Sikström
3e3298509f 8365317: ZGC: Setting ZYoungGCThreads lower than ZOldGCThreads may result in a crash
Reviewed-by: tschatzl, eosterlund
2025-08-14 07:37:10 +00:00
Jan Lahoda
a6be228642 8365314: javac fails with an exception for erroneous source
Reviewed-by: vromero
2025-08-14 07:04:40 +00:00
Jan Lahoda
c22e01d776 8341342: Elements.getAllModuleElements() does not work properly before JavacTask.analyze()
Reviewed-by: vromero, liach
2025-08-14 07:02:08 +00:00
Prasanta Sadhukhan
9dcc502cc8 8365375: Method SU3.setAcceleratorSelectionForeground assigns to acceleratorForeground
Reviewed-by: aivanov, prr, kizune
2025-08-14 04:55:02 +00:00
Aleksey Shipilev
9c266ae83c 8365229: ARM32: c2i_no_clinit_check_entry assert failed after JDK-8364269
Reviewed-by: kvn, adinn, bulasevich, phh
2025-08-13 20:49:16 +00:00
Justin Lu
9660320041 8364781: Re-examine DigitList digits resizing during parsing
Reviewed-by: liach, naoto
2025-08-13 20:43:46 +00:00
Johan Sjölen
4680dc9831 8365264: Rename ResourceHashtable to HashTable
Reviewed-by: iklam, ayang
2025-08-13 18:41:57 +00:00
Alex Menkov
ecbdd3405a 8361103: java_lang_Thread::async_get_stack_trace does not properly protect JavaThread
Reviewed-by: sspitsyn, dholmes
2025-08-13 18:24:56 +00:00
Srinivas Vamsi Parasa
38a261415d 8365265: x86 short forward jump exceeds 8-bit offset in methodHandles_x86.cpp when using Intel APX
Reviewed-by: shade, jbhateja, aph
2025-08-13 17:53:05 +00:00
Nikita Gubarkov
899e13f40a 8364434: Inconsistent BufferedContext state after GC
Reviewed-by: jdv, azvegint, avu
2025-08-13 17:36:07 +00:00
Boris Ulasevich
001aaa1e49 8365166: ARM32: missing os::fetch_bcp_from_context implementation
Reviewed-by: shade
2025-08-13 12:45:48 +00:00
Guanqiang Han
f3b34d32d6 8359235: C1 compilation fails with "assert(is_single_stack() && !is_virtual()) failed: type check"
Reviewed-by: thartmann, dlong
2025-08-13 10:52:54 +00:00
Fredrik Bredberg
e77cdd93ea 8364570: Remove LockingMode related code from riscv64
Reviewed-by: fyang, fjiang
2025-08-13 08:47:08 +00:00
Jan Lahoda
72e22b4de5 8362885: A more formal way to mark javac's Flags that belong to a specific Symbol type only
Reviewed-by: ihse, liach, vromero, mcimadamore, erikj
2025-08-13 08:07:45 +00:00
Ramkumar Sunderbabu
25480f0011 8365184: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java Re-enable SerialGC flag on debuggee process
Reviewed-by: lmesnik, cjplummer, sspitsyn
2025-08-13 01:45:49 +00:00
Dingli Zhang
636c61a386 8365302: RISC-V: compiler/loopopts/superword/TestAlignVector.java fails when vlen=128
Reviewed-by: fyang, fjiang
2025-08-13 01:24:39 +00:00
Erik Gahlin
87d734012e 8364756: JFR: Improve slow tests
Reviewed-by: mgronlun
2025-08-12 17:44:34 +00:00
Brian Burkhalter
d023982600 8361209: (bf) Use CharSequence::getChars for StringCharBuffer bulk get methods
Reviewed-by: rriggs, alanb
2025-08-12 17:39:14 +00:00
Coleen Phillimore
4c03e5938d 8364750: Remove unused declaration in jvm.h
Reviewed-by: shade
2025-08-12 16:30:09 +00:00
Ioi Lam
ad0fd13f20 8364454: ProblemList runtime/cds/DeterministicDump.java on macos for JDK-8363986
Reviewed-by: ccheung
2025-08-12 16:20:00 +00:00
Erik Gahlin
a382996bb4 8364993: JFR: Disable jdk.ModuleExport in default.jfc
Reviewed-by: mgronlun
2025-08-12 13:42:53 +00:00
Matthias Baesken
391ea15118 8365307: AIX make fails after JDK-8364611
Reviewed-by: clanger, asteiner
2025-08-12 13:16:54 +00:00
Albert Mingkun Yang
19a76a45e9 8365316: Remove unnecessary default arg value in gcVMOperations
Reviewed-by: tschatzl
2025-08-12 11:58:37 +00:00
Albert Mingkun Yang
95b7a8b3e3 8365237: Remove unused SoftRefPolicy::_all_soft_refs_clear
Reviewed-by: tschatzl, kbarrett
2025-08-12 11:29:43 +00:00
Thomas Schatzl
16e461ef31 8365122: G1: Minor clean up of G1SurvivorRegions
Reviewed-by: sangheki, kbarrett
2025-08-12 08:52:37 +00:00
Fredrik Bredberg
3c0eed8e47 8364406: Remove LockingMode related code from aarch64
Reviewed-by: aph, dholmes
2025-08-12 08:45:36 +00:00
Fredrik Bredberg
f155f7d6e5 8364141: Remove LockingMode related code from x86
Reviewed-by: aboldtch, dholmes, coleenp
2025-08-12 08:45:02 +00:00
David Beaumont
b81f4faed7 8360037: Refactor ImageReader in preparation for Valhalla support
Reviewed-by: alanb, rriggs, jpai
2025-08-12 08:34:26 +00:00
Johny Jose
5a442197d2 7191877: TEST_BUG: java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java failing intermittently
Reviewed-by: smarks, coffeys
2025-08-12 08:26:42 +00:00
Afshin Zafari
db12f1934a 8364280: NMTCommittedVirtualMemoryTracker.test_committed_virtualmemory_region_vm fails with assertion "negative distance"
Reviewed-by: gziemski, jsjolen
2025-08-12 08:03:18 +00:00
Matthias Baesken
d78fa5a9f6 8365240: [asan] exclude some tests when using asan enabled binaries
Reviewed-by: lmesnik, sspitsyn
2025-08-12 07:16:57 +00:00
Alexey Semenyuk
72d3a2a977 8308349: missing working directory option for launcher when invoked from shortcuts
Reviewed-by: almatvee
2025-08-12 03:15:49 +00:00
Dingli Zhang
6927fc3904 8365200: RISC-V: compiler/loopopts/superword/TestGeneralizedReductions.java fails with Zvbb and vlen=128
Reviewed-by: fyang, fjiang
2025-08-12 01:25:35 +00:00
Joe Darcy
9593730a23 8362376: Use @Stable annotation in Java FDLIBM implementation
Reviewed-by: liach, rgiulietti
2025-08-11 23:45:24 +00:00
Brian Burkhalter
8cd79752c6 8364761: (aio) AsynchronousChannelGroup.execute doesn't check null command
Reviewed-by: alanb, vyazici
2025-08-11 18:50:39 +00:00
Aleksey Shipilev
958383d69c 8364501: Compiler shutdown crashes on access to deleted CompileTask
Reviewed-by: kvn, mhaessig
2025-08-11 18:49:37 +00:00
Francesco Andreuzzi
e9e331b2a9 8365238: 'jfr' feature requires 'services' with 'custom' build variant
Reviewed-by: erikj, shade, ihse
2025-08-11 17:10:10 +00:00
Thomas Stuefe
bdb1646a1e 8364611: (process) Child process SIGPIPE signal disposition should be default
Reviewed-by: erikj, rriggs
2025-08-11 15:37:31 +00:00
Magnus Ihse Bursie
23985c29b4 8357979: Compile jdk.internal.vm.ci targeting the Boot JDK version
Reviewed-by: erikj, dnsimon
2025-08-11 14:12:55 +00:00
Casper Norrbin
0ad919c1e5 8352067: Remove the NMT treap and replace its uses with the utilities red-black tree
Reviewed-by: jsjolen, ayang
2025-08-11 12:22:52 +00:00
Darragh Clarke
43cfd80c1c 8352502: Response message is null if expect 100 assertion fails with non 100
Reviewed-by: dfuchs
2025-08-11 11:57:08 +00:00
Benoît Maillard
a60e523f88 8349191: Test compiler/ciReplay/TestIncrementalInlining.java failed
Reviewed-by: mhaessig, dfenacci, chagedorn
2025-08-11 11:15:34 +00:00
Albert Mingkun Yang
fd766b27b9 8364541: Parallel: Support allocation in old generation when heap is almost full
Reviewed-by: phh, tschatzl
2025-08-11 10:49:47 +00:00
Jan Lahoda
8b5bb01355 8364987: javac fails with an exception when looking for diamond creation
Reviewed-by: vromero
2025-08-11 10:28:59 +00:00
Magnus Ihse Bursie
1fc0b01601 8361142: Improve custom hooks for makefiles
Reviewed-by: erikj
2025-08-11 09:44:49 +00:00
Albert Mingkun Yang
0c39228ec1 8364767: G1: Remove use of CollectedHeap::_soft_ref_policy
Reviewed-by: tschatzl, sangheki
2025-08-11 09:42:12 +00:00
Dmitry Cherepanov
10762d408b 8365044: Missing copyright header in Contextual.java
Reviewed-by: egahlin
2025-08-11 08:19:02 +00:00
Joel Sikström
f28126ebc2 8365050: Too verbose warning in os::commit_memory_limit() on Windows
Reviewed-by: dholmes, mbaesken
2025-08-11 08:18:28 +00:00
Volkan Yazici
c31f4861fb 8364365: HKSCS encoder does not properly set the replacement character
Reviewed-by: sherman
2025-08-11 07:10:38 +00:00
Matthias Baesken
15e8609a2c 8364996: java/awt/font/FontNames/LocaleFamilyNames.java times out on Windows
Reviewed-by: clanger, prr, asteiner
2025-08-11 07:08:03 +00:00
Jaikiran Pai
022e29a775 8365086: CookieStore.getURIs() and get(URI) should return an immutable List
Reviewed-by: liach, vyazici, dfuchs
2025-08-10 04:22:10 +00:00
Chen Liang
e13b4c8de9 8358535: Changes in ClassValue (JDK-8351996) caused a 1-9% regression in Renaissance-PageRank
Reviewed-by: jrose, shade
2025-08-09 23:44:21 +00:00
Jaikiran Pai
f83454cd61 8364786: Test java/net/vthread/HttpALot.java intermittently fails - 24999 handled, expected 25000
Reviewed-by: dfuchs, alanb, vyazici
2025-08-09 02:00:58 +00:00
Alexey Semenyuk
8ad1fcc48a 8364564: Shortcut configuration is not recorded in .jpackage.xml file
Reviewed-by: almatvee
2025-08-08 22:11:52 +00:00
Alexey Semenyuk
c1c0155604 8364129: Rename libwixhelper
Reviewed-by: erikj, almatvee
2025-08-08 21:41:44 +00:00
Chen Liang
cd50d78d44 8361300: Document exceptions for Unsafe offset methods
Reviewed-by: jrose, vyazici
2025-08-08 17:17:21 +00:00
Andrew Dinn
241808e13f 8364269: Simplify code cache API by storing adapter entry offsets in blob
Reviewed-by: kvn, shade, asmehra
2025-08-08 09:12:08 +00:00
Afshin Zafari
1b3e23110b 8360048: NMT crash in gtest/NMTGtests.java: fatal error: NMT corruption: Block at 0x0000017748307120: header canary broken
Reviewed-by: jsjolen, gziemski
2025-08-08 09:06:43 +00:00
Thomas Schatzl
a26a6f3152 8364649: G1: Move collection set related full gc reset code into abandon_collection_set() method
Reviewed-by: ayang, sangheki
2025-08-08 08:06:56 +00:00
Thomas Schatzl
47017e3864 8364760: G1: Remove obsolete code in G1MergeCardSetClosure
Reviewed-by: ayang, sangheki
2025-08-08 07:57:06 +00:00
Thomas Schatzl
bcca5cee2d 8364642: G1: Remove parameter in G1CollectedHeap::abandon_collection_set()
Reviewed-by: ayang
2025-08-08 07:56:29 +00:00
Thomas Schatzl
198782c957 8364877: G1: Inline G1CollectedHeap::set_region_short_lived_locked
Reviewed-by: ayang, sangheki
2025-08-08 07:54:23 +00:00
Andrey Turbanov
d0624f8b62 8364808: Make BasicDesktopPaneUI.Actions.MOVE_RESIZE_INCREMENT static
Reviewed-by: tr, azvegint, kizune, aivanov
2025-08-08 05:03:55 +00:00
John Jiang
4c9eaddaef 8364597: Replace THL A29 Limited with Tencent
Reviewed-by: jiefu
2025-08-08 02:27:30 +00:00
Harshitha Onkar
c71be802b5 8361748: Enforce limits on the size of an XBM image
Reviewed-by: prr, jdv
2025-08-07 21:19:47 +00:00
Ayush Rigal
b8acbc3ed8 8364315: Remove unused xml files from test/jaxp/javax/xml/jaxp/functional/javax/xml/transform/xmlfiles
Reviewed-by: jpai, joehw
2025-08-07 21:11:26 +00:00
Alexey Semenyuk
244e6293c3 8364984: Many jpackage tests are failing on Linux after JDK-8334238
Reviewed-by: almatvee
2025-08-07 19:55:41 +00:00
Liam Miller-Cushon
c0e6ffabc2 8364954: (bf) CleaningThread should be InnocuousThread
Reviewed-by: rriggs, alanb
2025-08-07 19:43:45 +00:00
Brett Okken
5116d9e5fe 8364213: (bf) Improve java/nio/Buffer/CharBufferAsCharSequenceTest test comments
8364345: Test java/nio/Buffer/CharBufferAsCharSequenceTest.java failed

Reviewed-by: bpb, rriggs
2025-08-07 19:27:28 +00:00
Phil Race
78117eff56 8364230: javax/swing/text/StringContent can be migrated away from using finalize
Reviewed-by: psadhukhan, abhiscxk, kizune
2025-08-07 18:58:28 +00:00
Brian Burkhalter
02e187119d 8364277: (fs) BasicFileAttributes.isDirectory and isOther return true for NTFS directory junctions when links not followed
Reviewed-by: alanb
2025-08-07 18:24:22 +00:00
Andrew Dinn
90ea42f716 8364558: Failure to generate compiler stubs from compiler thread should not crash VM when compilation disabled due to full CodeCache
Reviewed-by: kvn, shade
2025-08-07 16:23:32 +00:00
Prasanta Sadhukhan
e29346dbd6 8348760: RadioButton is not shown if JRadioButtonMenuItem is rendered with ImageIcon in WindowsLookAndFeel
Reviewed-by: prr, kizune, abhiscxk
2025-08-07 16:03:12 +00:00
Francesco Andreuzzi
e606278fc8 8358598: PhaseIterGVN::PhaseIterGVN(PhaseGVN* gvn) doesn't use its parameter
Reviewed-by: galder, mhaessig, shade
2025-08-07 15:43:36 +00:00
Guanqiang Han
83953c458e 8364822: Comment cleanup, stale references to closeDescriptors and UNIXProcess.c
Reviewed-by: kevinw, rriggs
2025-08-07 14:11:46 +00:00
Ashutosh Mehra
bc3d865640 8364128: Improve gathering of cpu feature names using stringStream
Co-authored-by: Johan Sjölen <jsjolen@openjdk.org>
Reviewed-by: kvn, jsjolen
2025-08-07 13:26:33 +00:00
Jeremy Wood
8d73fe91bc 8358813: JPasswordField identifies spaces in password via delete shortcuts
Reviewed-by: aivanov, dnguyen
2025-08-07 10:21:54 +00:00
Thomas Schatzl
c56fb0b6ef 8364503: gc/g1/TestCodeCacheUnloadDuringConcCycle.java fails because of race printing to stdout
Reviewed-by: ayang, dholmes
2025-08-07 08:40:42 +00:00
Johannes Bechberger
487cc3c5be 8359690: New test TestCPUTimeSampleThrottling still fails intermittently
Reviewed-by: mbaesken
2025-08-07 07:52:48 +00:00
David Holmes
078d0d4968 8364235: Fix for JDK-8361447 breaks the alignment requirements for GuardedMemory
Co-authored-by: Johan Sjölen <jsjolen@openjdk.org>
Reviewed-by: dcubed, jsjolen, aboldtch
2025-08-07 04:37:21 +00:00
Alexey Semenyuk
7e484e2a63 8334238: Enhance AddLShortcutTest jpackage test
Reviewed-by: almatvee
2025-08-07 02:02:36 +00:00
Guanqiang Han
f95af744b0 8364312: debug agent should set FD_CLOEXEC flag rather than explicitly closing every open file
Reviewed-by: cjplummer, kevinw
2025-08-06 15:37:31 +00:00
Albert Mingkun Yang
72d1066ae3 8364722: Parallel: Move CLDG mark clearing to the end of full GC
Reviewed-by: tschatzl, zgu
2025-08-06 12:21:16 +00:00
David Beaumont
0ceb366dc2 8356645: Javac should utilize new ZIP file system read-only access mode
Reviewed-by: jlahoda
2025-08-06 08:55:47 +00:00
Per Minborg
9dffbc9c4c 8364540: Apply @Stable to Shared Secrets
Reviewed-by: rriggs
2025-08-06 08:52:14 +00:00
Aleksey Shipilev
e304d37996 8361211: C2: Final graph reshaping generates unencodeable klass constants
Reviewed-by: kvn, qamai, thartmann, mdoerr
2025-08-06 08:32:25 +00:00
Joel Sikström
8d529bc4f3 8364518: Support for Job Objects in os::commit_memory_limit() on Windows
Reviewed-by: ayang, dholmes
2025-08-06 07:54:44 +00:00
Koushik Thirupattur
ca41644538 8355379: Annotate lazy fields in java.security @Stable
Reviewed-by: pminborg
2025-08-06 06:40:40 +00:00
Anton Artemov
6656e767db 8359820: Improve handshake/safepoint timeout diagnostic messages
Reviewed-by: dholmes, stuefe
2025-08-06 04:45:35 +00:00
Aleksey Shipilev
68a35511eb 8364212: Shenandoah: Rework archived objects loading
Reviewed-by: wkemper, kdnilsen
2025-08-05 18:34:07 +00:00
Thomas Schatzl
d906e45026 8364531: G1: Factor out liveness tracing code
Reviewed-by: ayang, sangheki
2025-08-05 16:13:53 +00:00
Erik Gahlin
8a571ee7f2 8364667: JFR: Throttle doesn't work with dynamic events
Reviewed-by: mgronlun
2025-08-05 14:33:30 +00:00
Albert Mingkun Yang
ba0ae4cb28 8364254: Serial: Remove soft ref policy update in WhiteBox FullGC
Reviewed-by: tschatzl, sangheki
2025-08-05 10:43:30 +00:00
Francesco Andreuzzi
df736eb582 8364618: Sort share/code includes
Reviewed-by: shade, mhaessig
2025-08-05 10:23:54 +00:00
Saranya Natarajan
d25b9befe0 8325482: Test that distinct seeds produce distinct traces for compiler stress flags
Reviewed-by: chagedorn, dfenacci
2025-08-05 08:39:47 +00:00
Matthias Baesken
67ba8b45dd 8364514: [asan] runtime/jni/checked/TestCharArrayReleasing.java heap-buffer-overflow
Reviewed-by: dholmes
2025-08-05 08:02:54 +00:00
Joel Sikström
febd4b26b2 8360515: PROPERFMTARGS should always use size_t template specialization for unit
Reviewed-by: dholmes, stuefe
2025-08-05 07:41:11 +00:00
Alexey Semenyuk
c0c7d39b59 8364587: Update jpackage internal javadoc
Reviewed-by: almatvee
2025-08-05 01:42:45 +00:00
Alexey Semenyuk
6b360ac99a 8359756: Bug in RuntimePackageTest.testName test
Reviewed-by: almatvee
2025-08-05 01:09:56 +00:00
Alexey Semenyuk
0f4c3dc944 8362352: Fix references to non-existing resource strings
Reviewed-by: almatvee
2025-08-05 01:04:38 +00:00
David Holmes
84a4a3647c 8364314: java_lang_Thread::get_thread_status fails assert(base != nullptr) failed: Invalid base
Reviewed-by: amenkov, shade, dcubed, pchilanomate, sspitsyn
2025-08-04 21:48:38 +00:00
Mohamed Issa
f96b6bcd4d 8364666: Tier1 builds broken by JDK-8360559
Reviewed-by: sviswanathan
2025-08-04 21:31:35 +00:00
Phil Race
dc4d9b4849 8362898: Remove finalize() methods from javax.imageio TIFF classes
Reviewed-by: azvegint, jdv
2025-08-04 20:25:41 +00:00
Coleen Phillimore
da3a5da81b 8343218: Add option to disable allocating interface and abstract classes in non-class metaspace
Reviewed-by: shade, kvn, yzheng, stuefe, dholmes
2025-08-04 20:13:03 +00:00
Phil Race
0d0d93e8f6 8210765: Remove finalize method in CStrike.java
Reviewed-by: psadhukhan, achung, azvegint
2025-08-04 19:29:03 +00:00
Phil Race
d1e362e9a8 8363889: Update sun.print.PrintJob2D to use Disposer
Reviewed-by: azvegint, psadhukhan
2025-08-04 19:27:23 +00:00
Mohamed Issa
05f8a6fca8 8360559: Optimize Math.sinh for x86 64 bit platforms
Reviewed-by: sviswanathan, sparasa
2025-08-04 18:47:57 +00:00
Kevin Driver
b5f450a599 8364226: Better ECDSASignature Memory Management
Reviewed-by: ascarpino, hchao
2025-08-04 15:59:57 +00:00
Artur Barashev
6c52b73465 8209992: Align SSLSocket and SSLEngine Javadocs
Reviewed-by: wetmore
2025-08-04 13:55:58 +00:00
Galder Zamarreño
567c0c9335 8354244: Use random data in MinMaxRed_Long data arrays
Reviewed-by: chagedorn, mhaessig
2025-08-04 13:51:14 +00:00
Albert Mingkun Yang
fc4755535d 8364516: Serial: Move class unloading logic inside SerialFullGC::invoke_at_safepoint
Reviewed-by: tschatzl, sangheki
2025-08-04 12:59:26 +00:00
Ao Qi
a9f3d3a290 8364177: JDK fails to build due to undefined symbol in libpng on LoongArch64
Reviewed-by: prr, aivanov, erikj
2025-08-04 12:37:11 +00:00
Jasmine Karthikeyan
500462fb69 8364580: Test compiler/vectorization/TestSubwordTruncation.java fails on platforms without RoundF/RoundD
Reviewed-by: chagedorn, shade
2025-08-04 12:11:10 +00:00
Erik Gahlin
68a4396dbc 8364316: JFR: Incorrect validation of mirror fields
Reviewed-by: shade, mgronlun
2025-08-04 10:53:40 +00:00
Erik Gahlin
da0d9598d0 8364190: JFR: RemoteRecordingStream withers don't work
Reviewed-by: mgronlun
2025-08-04 10:41:21 +00:00
Erik Gahlin
b96b9c3d5b 8364461: JFR: Default constructor may not be first in setting control
Reviewed-by: mgronlun
2025-08-04 10:25:14 +00:00
Markus Grönlund
3bc449797e 8364258: ThreadGroup constant pool serialization is not normalized
Reviewed-by: egahlin
2025-08-04 09:42:05 +00:00
Erik Gahlin
cf5a25538e 8364427: JFR: Possible resource leak in Recording::getStream
Reviewed-by: mgronlun
2025-08-04 09:12:12 +00:00
Erik Gahlin
ea7e943874 8364257: JFR: User-defined events and settings with a one-letter name cannot be configured
Reviewed-by: mgronlun
2025-08-04 08:50:35 +00:00
Francesco Andreuzzi
3387b3195c 8364519: Sort share/classfile includes
Reviewed-by: shade, ayang
2025-08-04 08:20:22 +00:00
Andrey Turbanov
8269fdc78e 8362067: Remove unnecessary List.contains key from SpringLayout.Constraints.pushConstraint
Reviewed-by: aivanov
2025-08-04 08:15:09 +00:00
Abhishek Kumar
57553ca1db 8361298: SwingUtilities/bug4967768.java fails where character P is not underline
Reviewed-by: dnguyen, psadhukhan, achung, azvegint
2025-08-04 04:17:16 +00:00
David Holmes
158e59ab91 8364106: Include java.runtime.version in thread dump output
Reviewed-by: alanb, coffeys
2025-08-03 22:28:12 +00:00
Chen Liang
1a206d2a6c 8364545: tools/javac/launcher/SourceLauncherTest.java fails frequently
Reviewed-by: cstein, jpai
2025-08-03 13:23:43 +00:00
DarraghConway
a5e0c9d0c5 8363720: Follow up to JDK-8360411 with post review comments
Reviewed-by: bpb, rriggs
2025-08-03 11:03:15 +00:00
Thomas Stuefe
819de07117 8363998: Implement Compressed Class Pointers for 32-bit
Reviewed-by: rkennke, coleenp
2025-08-03 06:43:31 +00:00
erfang
f40381e41d 8356760: VectorAPI: Optimize VectorMask.fromLong for all-true/all-false cases
Reviewed-by: xgong, jbhateja
2025-08-02 07:54:42 +00:00
Serguei Spitsyn
e801e51311 8306324: StopThread results in thread being marked as interrupted, leading to unexpected InterruptedException
Reviewed-by: pchilanomate, alanb
2025-08-02 04:21:42 +00:00
Volkan Yazici
7ea08d3928 8362244: Devkit's Oracle Linux base OS keyword is incorrectly documented
Reviewed-by: erikj
2025-08-01 20:36:17 +00:00
Justin Lu
8e921aee5a 8364370: java.text.DecimalFormat specification indentation correction
Reviewed-by: liach, naoto
2025-08-01 18:43:02 +00:00
Mikhail Yankelevich
6d0bbc8a18 8357470: src/java.base/share/classes/sun/security/util/Debug.java implement the test for args.toLowerCase
Reviewed-by: coffeys
2025-08-01 18:42:41 +00:00
Coleen Phillimore
ee3665bca0 8364187: Make getClassAccessFlagsRaw non-native
Reviewed-by: thartmann, rriggs, liach
2025-08-01 15:21:45 +00:00
Bhavana Kilambi
2ba8a06f0c 8348868: AArch64: Add backend support for SelectFromTwoVector
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: haosun, aph, sviswanathan, xgong
2025-08-01 13:11:21 +00:00
Christian Stein
8ac4a88f3c 8362237: IllegalArgumentException in the launcher when exception without stack trace is thrown
Reviewed-by: kcr, vromero
2025-08-01 11:01:56 +00:00
Oli Gillespie
6c5804722b 8364296: Set IntelJccErratumMitigation flag ergonomically
Reviewed-by: shade, jbhateja
2025-08-01 10:27:08 +00:00
Matthias Baesken
812bd8e94d 8364199: Enhance list of environment variables printed in hserr/hsinfo file
Reviewed-by: lucy, clanger
2025-08-01 10:24:11 +00:00
Prasanta Sadhukhan
7fbeede14c 4938801: The popup does not go when the component is removed
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: dnguyen, abhiscxk
2025-08-01 09:15:52 +00:00
Hannes Wallnöfer
d80b5c8728 8361316: javadoc tool fails with an exception for an inheritdoc on throws clause of a constructor
Reviewed-by: nbenalla, liach
2025-08-01 08:39:29 +00:00
Hannes Wallnöfer
7d63c9fa4d 8294074: Make other specs more discoverable from the API docs
Reviewed-by: mr
2025-08-01 08:35:10 +00:00
Thomas Schatzl
beda14e3cb 8364423: G1: Refactor G1UpdateRegionLivenessAndSelectForRebuildTask
Reviewed-by: sangheki, ayang
2025-08-01 08:22:04 +00:00
Joel Sikström
ae11d8f446 8364248: Separate commit and reservation limit detection
Reviewed-by: stuefe, ayang
2025-08-01 07:42:45 +00:00
Joel Sikström
e82d7f5810 8364351: ZGC: Replace usages of ZPageAgeRange() with ZPageAgeRangeAll
Reviewed-by: stefank, aboldtch
2025-08-01 07:11:11 +00:00
Aleksey Shipilev
577ac0610a 8358340: Support CDS heap archive with Generational Shenandoah
Reviewed-by: xpeng, wkemper
2025-08-01 06:28:29 +00:00
Francesco Andreuzzi
c9b8bd6ff4 8364359: Sort share/cds includes
Reviewed-by: shade, iklam
2025-08-01 06:27:02 +00:00
Albert Mingkun Yang
913d318c97 8364504: [BACKOUT] JDK-8364176 Serial: Group all class unloading logic at the end of marking phase
Reviewed-by: dholmes
2025-08-01 05:59:33 +00:00
Artur Barashev
724e8c076e 8364484: misc tests fail with Received fatal alert: handshake_failure
Reviewed-by: ascarpino
2025-07-31 21:24:09 +00:00
Albert Mingkun Yang
e0e82066fe 8364166: Parallel: Remove the use of soft_ref_policy in Full GC
Reviewed-by: tschatzl, sangheki
2025-07-31 18:53:07 +00:00
Albert Mingkun Yang
443afdc77f 8364176: Serial: Group all class unloading logic at the end of marking phase
Reviewed-by: tschatzl, sangheki
2025-07-31 18:52:44 +00:00
Chen Liang
fe09e93b8f 8364317: Explicitly document some assumptions of StringUTF16
Reviewed-by: rgiulietti, rriggs, vyazici
2025-07-31 18:26:28 +00:00
Johannes Graham
d19442399c 8358880: Performance of parsing with DecimalFormat can be improved
Reviewed-by: jlu, liach, rgiulietti
2025-07-31 17:50:18 +00:00
Anton Artemov
c4fbfa2103 8363949: Incorrect jtreg header in MonitorWithDeadObjectTest.java
Reviewed-by: stefank, coleenp, ayang
2025-07-31 15:39:38 +00:00
Aleksey Shipilev
1b9efaa11e 8364183: Shenandoah: Improve commit/uncommit handling
Reviewed-by: wkemper, xpeng
2025-07-31 15:17:51 +00:00
Weijun Wang
b2b56cfc00 8359395: XML signature generation does not support user provided SecureRandom
Reviewed-by: mullan
2025-07-31 14:45:31 +00:00
Francesco Andreuzzi
53d152e7db 8364087: Amend comment in globalDefinitions.hpp on "classfile_constants.h" include
Reviewed-by: stefank, ayang
2025-07-31 14:43:10 +00:00
DarraghConway
d4705947d8 8360408: [TEST] Use @requires tag instead of exiting based on "os.name" property value for sun/net/www/protocol/file/FileURLTest.java
Reviewed-by: vyazici, rriggs
2025-07-31 14:41:13 +00:00
Thomas Schatzl
5f357fa27d 8364197: G1: Sort G1 mutex locks by name and group them together
Reviewed-by: coleenp, ayang
2025-07-31 14:08:40 +00:00
Artur Barashev
e544cd9920 8359956: Support algorithm constraints and certificate checks in SunX509 key manager
Reviewed-by: mullan
2025-07-31 13:57:19 +00:00
Lei Zhu
458f033d4d 8362533: Tests sun/management/jmxremote/bootstrap/* duplicate VM flags
Reviewed-by: lmesnik, sspitsyn, kevinw
2025-07-31 13:11:59 +00:00
Axel Boldt-Christmas
3f21c8bd1f 8361897: gc/z/TestUncommit.java fails with Uncommitted too slow
Reviewed-by: stefank, jsikstro
2025-07-31 13:08:29 +00:00
Manuel Hässig
ddb64836e5 8364409: [BACKOUT] Consolidate Identity of self-inverse operations
Reviewed-by: thartmann, bmaillard, hgreule
2025-07-31 12:12:15 +00:00
Yasumasa Suenaga
8ed214f3b1 8364090: Dump JFR recording on CrashOnOutOfMemoryError
Reviewed-by: egahlin, stuefe
2025-07-31 12:10:43 +00:00
Joel Sikström
b9f7caed77 8364282: ZGC: Improve ZPageAllocation JFR event sending
Reviewed-by: stefank, aboldtch
2025-07-31 07:40:22 +00:00
Aleksey Shipilev
ebb7f5d39b 8364111: InstanceMirrorKlass iterators should handle CDS and hidden classes consistently
Reviewed-by: stuefe, ayang, coleenp
2025-07-31 06:07:17 +00:00
Alexander Zvegintsev
05c63e8009 8361524: [XWayland] possible JavaFX interop hang
Reviewed-by: psadhukhan, serb, prr, kizune, kcr
2025-07-31 06:04:22 +00:00
SendaoYan
559795b0eb 8362501: Update test/hotspot/jtreg/applications/jcstress/README
Reviewed-by: shade, lmesnik
2025-07-31 01:38:25 +00:00
Koushik Thirupattur
413ac74ecc 8357682: sun.security.provider.certpath.Builder#getMatchingPolicies always returns null
Reviewed-by: mullan
2025-07-30 19:56:38 +00:00
Rajan Halade
3bdac53178 8361212: Remove AffirmTrust root CAs
Reviewed-by: mullan
2025-07-30 17:56:00 +00:00
Ian Graves
57d02d9ac5 8362279: [vectorapi] VECTOR_OP_SUADD needs reduction support
Reviewed-by: jbhateja, qamai
2025-07-30 15:51:53 +00:00
Francesco Andreuzzi
a2e86ff3c5 8364037: Sort share includes: adlc, libadt, metaprogramming
Reviewed-by: ayang, chagedorn
2025-07-30 13:43:47 +00:00
Shaojin Wen
e2feff8599 8355177: Speed up StringBuilder::append(char[]) via Unsafe::copyMemory
Reviewed-by: rriggs, rgiulietti
2025-07-30 13:16:27 +00:00
Matthias Baesken
16da81eb43 8360817: [ubsan] zDirector select_worker_threads - outside the range of representable values issue
Reviewed-by: aboldtch, lucy
2025-07-30 12:28:14 +00:00
Francesco Andreuzzi
c851735631 8364115: Sort share/services includes
Reviewed-by: sspitsyn, ayang, shade
2025-07-30 10:28:38 +00:00
Thomas Stuefe
317dacc308 8364159: Shenandoah assertions after JDK-8361712
Reviewed-by: mbaesken, shade
2025-07-30 10:11:49 +00:00
Andrew Dinn
a6fb87dbe8 8364042: UnsafeMemoryAccess will not work with AOT cached code stubs
Reviewed-by: asmehra, kvn
2025-07-30 10:08:33 +00:00
Thomas Schatzl
7af3cd9558 8156755: [TESTBUG] Fix gc/g1/humongousObjects/objectGraphTest/TestObjectGraphAfterGC.java
Reviewed-by: ayang
2025-07-30 08:11:46 +00:00
Thomas Schatzl
4da1c9df52 8364196: G1: Fix typo in "cset_groud_gid" local variable in G1FlushHumongousCandidateRemSets
Reviewed-by: ayang
2025-07-30 08:11:27 +00:00
Thomas Schatzl
302508df9e 8364249: G1: Fix some comments about "maximum_collection"
Reviewed-by: shade, sangheki
2025-07-30 07:45:10 +00:00
David Holmes
c6d64edfbe 8364325: ProblemList com/sun/management/HotSpotDiagnosticMXBean/DumpThreads.java
Reviewed-by: kbarrett
2025-07-30 06:09:37 +00:00
Lei Zhu
1be412dca0 8363920: JVMTI Documentation for GetLocalDouble is wrong: refers to long
Reviewed-by: alanb, amenkov, sspitsyn
2025-07-30 05:18:32 +00:00
Thomas Stuefe
164d0368f6 8364202: CDS without G1 gives build error in slowdebug, asserts in fastdebug
Reviewed-by: ccheung, iklam
2025-07-30 04:55:03 +00:00
Alisen Chung
c671089d6e 8364089: JDK 25 RDP2 L10n resource files update
Reviewed-by: jlu, naoto, dnguyen, asemenyuk
2025-07-30 01:54:50 +00:00
Fei Yang
3488f53d2c 8364150: RISC-V: Leftover for JDK-8343430 removing old trampoline call
Reviewed-by: mli, fjiang
2025-07-30 01:02:31 +00:00
Chen Liang
330ee87131 8360163: Replace hard-coded checks with AOTRuntimeSetup and AOTSafeClassInitializer
Reviewed-by: jrose, iklam
2025-07-29 20:42:57 +00:00
Chris Plummer
d5d311f026 8361873: [GCC static analyzer] exec_md.c forkedChildProcess potential double 'close' of file descriptor '3'
Reviewed-by: jpai, stuefe, mbaesken
2025-07-29 19:43:13 +00:00
Calvin Cheung
ea754316fd 8363928: Specifying AOTCacheOutput with a blank path causes the JVM to crash
Reviewed-by: kvn, iklam
2025-07-29 17:41:30 +00:00
Jiangli Zhou
c239c0ab00 8362564: hotspot/jtreg/compiler/c2/TestLWLockingCodeGen.java fails on static JDK on x86_64 with AVX instruction extensions
Reviewed-by: rasbold
2025-07-29 14:48:52 +00:00
Thomas Stuefe
0226c0298f 8364004: Expose VMError::controlledCrash via Whitebox
Reviewed-by: kbarrett, mbaesken, dholmes
2025-07-29 12:35:17 +00:00
Joel Sikström
965b68107f 8358586: ZGC: Combine ZAllocator and ZObjectAllocator
Reviewed-by: aboldtch, stefank
2025-07-29 10:21:54 +00:00
Markus Grönlund
a34994476e 8356587: Missing object ID X in pool jdk.types.Method
Reviewed-by: egahlin
2025-07-29 09:51:24 +00:00
Johan Sjölen
2202156acc 8364198: NMT should have a better corruption message
Reviewed-by: kvn, stuefe
2025-07-29 08:37:35 +00:00
Aleksey Shipilev
3fe0d29ec3 8363965: GHA: Switch cross-compiling sysroots to Debian bookworm
Reviewed-by: clanger, jwaters
2025-07-29 08:11:37 +00:00
Benoît Maillard
28297411b1 8359603: Missed optimization in PhaseIterGVN for redundant ConvX2Y->ConvY2X->ConvX2Y sequences due to missing notification in PhaseIterGVN::add_users_of_use_to_worklist
Reviewed-by: chagedorn, thartmann
2025-07-29 07:32:52 +00:00
David Holmes
4669005123 8361912: ThreadsListHandle::cv_internal_thread_to_JavaThread does not deal with a virtual thread's carrier thread
Reviewed-by: pchilanomate, dcubed, amenkov, sspitsyn
2025-07-28 23:47:51 +00:00
Rui Li
3e4e5dd06f 8364081: Shenandoah & GenShen logging improvement
Reviewed-by: ysr, wkemper
2025-07-28 23:26:53 +00:00
Jasmine Karthikeyan
ea0b49c36d 8362979: C2 fails with unexpected node in SuperWord truncation: CmpLTMask, RoundF
Reviewed-by: chagedorn, thartmann
2025-07-28 17:14:02 +00:00
Alexander Matveev
fe4d7f8c1b 8360507: JPKG002-006: SigningPackageTest: appOutput.txt cannot be found in user home directory and output doesn't contain: origin=Developer ID Application: jpackage.openjdk.java.net
Reviewed-by: asemenyuk
2025-07-28 17:05:15 +00:00
Sean Coffey
f53d0519b9 8340312: sun.security.ssl.SSLLogger uses incorrect log level ALL for finest log events
Reviewed-by: wetmore
2025-07-28 16:32:58 +00:00
Albert Mingkun Yang
70ebb5e8c9 8364019: Add alignment precondition to Universe::reserve_heap
Reviewed-by: tschatzl, jsikstro
2025-07-28 14:18:47 +00:00
Richard Reingruber
b4028c91d5 8362482: [TESTBUG] serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java: System.gc() does not provide full GC
Reviewed-by: sspitsyn, clanger
2025-07-28 13:16:34 +00:00
Brett Okken
08b0b34623 8361715: (bf) Improve java/nio/Buffer/GetChars.java and migrate to JUnit
Reviewed-by: bpb, rriggs
2025-07-28 13:05:33 +00:00
Hamlin Li
7bf4c608e7 8364120: RISC-V: unify the usage of MacroAssembler::instruction_size
Reviewed-by: fyang
2025-07-28 12:59:50 +00:00
Jaikiran Pai
b7703f7948 8364185: [BACKOUT] AArch64: [VectorAPI] sve vector math operations are not supported after JDK-8353217
Reviewed-by: ayang
2025-07-28 11:50:42 +00:00
Matthias Baesken
d25ad881eb 8363676: [GCC static analyzer] missing return value check of malloc in OGLContext_SetTransform
Reviewed-by: psadhukhan
2025-07-28 11:33:27 +00:00
Fei Gao
011de4c894 8363063: AArch64: [VectorAPI] sve vector math operations are not supported after JDK-8353217
Reviewed-by: shade, aph
2025-07-28 08:44:01 +00:00
Hamlin Li
3e2d12d85a 8362515: RISC-V: cleanup NativeFarCall
Reviewed-by: fyang, fjiang
2025-07-28 08:40:58 +00:00
Thomas Schatzl
bdc1ef2021 8363929: G1: Add G1 prefix to various G1 specific global locks
Reviewed-by: shade, ayang
2025-07-28 07:57:28 +00:00
Albert Mingkun Yang
af5932efb5 8361055: Serial: Inline SerialHeap::process_roots
Reviewed-by: tschatzl, kbarrett, stefank
2025-07-28 07:15:40 +00:00
SendaoYan
3b0da29879 8364114: Test TestHugePageDecisionsAtVMStartup.java#LP_enabled fails when no free hugepage
Reviewed-by: stuefe, dholmes
2025-07-28 06:54:42 +00:00
Francesco Andreuzzi
e307b5cca8 8363584: Sort share/utilities includes
Reviewed-by: kbarrett, dholmes, shade
2025-07-28 05:17:52 +00:00
Yuri Gaevsky
4189fcbac4 8362596: RISC-V: Improve _vectorizedHashCode intrinsic
Reviewed-by: fyang, fjiang
2025-07-27 14:54:52 +00:00
Jaikiran Pai
3263361a28 8360981: Remove use of Thread.stop in test/jdk/java/net/Socket/DeadlockTest.java
Reviewed-by: alanb
2025-07-27 06:44:09 +00:00
SendaoYan
8fcbb110e9 8362855: Test java/net/ipv6tests/TcpTest.java should report SkippedException when there no ia4addr or ia6addr
Reviewed-by: jpai
2025-07-27 01:19:06 +00:00
Michael McMahon
de59da27a6 8362581: Timeouts in java/nio/channels/SocketChannel/OpenLeak.java on UNIX
Reviewed-by: jpai, alanb, djelinski
2025-07-26 22:22:36 +00:00
Jaikiran Pai
d288ca28be 8358048: java/net/httpclient/HttpsTunnelAuthTest.java incorrectly calls Thread::stop
Reviewed-by: djelinski, alanb, vyazici
2025-07-26 02:17:13 +00:00
William Kemper
e756c0dbbb 8361726: Shenandoah: More detailed evacuation instrumentation
Reviewed-by: ysr, kdnilsen
2025-07-25 17:59:46 +00:00
Vladimir Kozlov
89fe586edd 8363837: Make StubRoutines::crc_table_adr() into platform-specific method
Reviewed-by: adinn, yzheng
2025-07-25 16:47:09 +00:00
Albert Mingkun Yang
9e209fef86 8364110: Remove unused methods in GCCause
Reviewed-by: kbarrett
2025-07-25 14:50:55 +00:00
Thomas Stuefe
75ff7e15fe 8361712: Improve ShenandoahAsserts printing
Reviewed-by: rkennke, asmehra
2025-07-25 13:34:30 +00:00
Sean Mullan
06fdb61e1c 8361964: Remove outdated algorithms from requirements and add PBES2 algorithms
Reviewed-by: hchao
2025-07-25 12:55:39 +00:00
Matthias Baesken
41c94eed37 8363910: Avoid tuning for Power10 CPUs on Linux ppc64le when gcc < 10 is used
Reviewed-by: stuefe
2025-07-25 11:34:37 +00:00
Matthias Baesken
518d5f4bbb 8361871: [GCC static analyzer] complains about use of uninitialized value ckpObject in p11_util.c
Reviewed-by: lucy
2025-07-25 08:26:57 +00:00
Alan Bateman
f79bd54bbb 8362882: Update SubmissionPublisher() specification to reflect use of ForkJoinPool.asyncCommonPool()
Reviewed-by: jpai, dl
2025-07-25 08:11:55 +00:00
Albert Mingkun Yang
52155dbbb0 8364082: jdk/jfr/event/gc/heapsummary/TestHeapSummaryEventPSParOld.java Eden should be placed first in young
Reviewed-by: dholmes
2025-07-25 07:22:34 +00:00
Thomas Stuefe
ac9e51023f 8320836: jtreg gtest runs should limit heap size
Reviewed-by: dholmes, cslucas
2025-07-25 06:40:37 +00:00
Phil Race
971ea23c95 8362289: [macOS] Remove finalize method in JRSUIControls.java
Reviewed-by: bchristi, serb
2025-07-24 20:53:22 +00:00
Rui Li
4e53a9d9df 8357818: Shenandoah doesn't use shared API for printing heap before/after GC
Reviewed-by: wkemper, kdnilsen
2025-07-24 18:34:26 +00:00
Aleksey Shipilev
8477630970 8360679: Shenandoah: AOT saved adapter calls into broken GC barrier stub
Reviewed-by: kvn, adinn, aph
2025-07-24 15:53:29 +00:00
Ayush Rigal
2f1aed2a16 8361423: Add IPSupport::printPlatformSupport to java/net/NetworkInterface/IPv4Only.java
Reviewed-by: jpai
2025-07-24 14:57:33 +00:00
Marc Chevalier
67e93281a4 8363357: Remove unused flag VerifyAdapterCalls
Reviewed-by: chagedorn, thartmann
2025-07-24 09:21:57 +00:00
Aleksey Shipilev
ed9066bdf4 8361478: GHA: Use MSYS2 from GHA runners
Reviewed-by: jwaters, ihse
2025-07-24 05:59:24 +00:00
Thomas Stuefe
7a22b76b73 8362591: Wrong argument warning when heap size larger than coops threshold
Reviewed-by: dholmes
2025-07-24 05:09:31 +00:00
Feilong Jiang
0ba2942c6e 8362838: RISC-V: Incorrect matching rule leading to improper oop instruction encoding
Reviewed-by: fyang, yadongwang
2025-07-24 02:21:53 +00:00
SendaoYan
fc8038441d 8359827: Test runtime/Thread/ThreadCountLimit.java need loop increasing the limit
Co-authored-by: David Holmes <dholmes@openjdk.org>
Reviewed-by: dholmes
2025-07-24 01:47:58 +00:00
Dingli Zhang
b746701e57 8363898: RISC-V: TestRangeCheckHoistingScaledIV.java fails after JDK-8355293 when running without RVV
Reviewed-by: fyang, mli, syan
2025-07-24 01:37:33 +00:00
Ao Qi
2da0cdadb8 8363895: Minimal build fails with slowdebug builds after JDK-8354887
Reviewed-by: kvn, shade
2025-07-24 01:33:38 +00:00
Albert Mingkun Yang
ad510fb25e 8338977: Parallel: Improve heap resizing heuristics
Reviewed-by: zgu, gli, iwalulya
2025-07-23 20:09:36 +00:00
Thomas Schatzl
2292246f8c 8350621: Code cache stops scheduling GC
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Alexandre Jacob <alexandre.jacob@mirakl.com>
Reviewed-by: kbarrett, ayang
2025-07-23 17:02:31 +00:00
Edoardo Patti
03e9ea169b 8358530: Properties#list should warn against non-String values
Reviewed-by: jlu, liach
2025-07-23 16:31:14 +00:00
Kevin Rushforth
594c080b2b 8359760: Remove the jdk.jsobject module
Reviewed-by: rriggs, iris, alanb
2025-07-23 15:46:47 +00:00
Anthony Scarpino
e6ebefaa40 8333857: Test sun/security/ssl/SSLSessionImpl/ResumeChecksServer.java failed: Existing session was used
Reviewed-by: hchao
2025-07-23 15:24:38 +00:00
Coleen Phillimore
38cd860daa 8363816: Refactor array name creation
Reviewed-by: shade, ccheung, dholmes
2025-07-23 14:48:49 +00:00
Evgeny Astigeevich
743c821289 8362193: Re-work MacOS/AArch64 SpinPause to handle SB
Reviewed-by: shade, aph
2025-07-23 13:51:49 +00:00
Jatin Bhateja
b02c125676 8350896: Integer/Long.compress gets wrong type from CompressBitsNode::Value
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: thartmann
2025-07-23 13:31:15 +00:00
Weijun Wang
06f9ff047f 8356997: /etc/krb5.conf parser should not forbid include/includedir directives after sections
Reviewed-by: valeriep
2025-07-23 12:24:28 +00:00
Feilong Jiang
e6ac956a7a 8360520: RISC-V: C1: Fix primitive array clone intrinsic regression after JDK-8333154
Reviewed-by: fyang, galder, dlong
2025-07-23 09:35:26 +00:00
Wang Haomin
9f796da377 8362972: C2 fails with unexpected node in SuperWord truncation: IsFiniteF, IsFiniteD
Reviewed-by: thartmann, jkarthikeyan
2025-07-23 08:08:05 +00:00
Matthias Baesken
ceb0c0fc39 8360941: [ubsan] MemRegion::end() shows runtime error: applying non-zero offset 8388608 to null pointer
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: kbarrett, lucy
2025-07-23 07:49:11 +00:00
Matthias Baesken
5160cfb496 8362889: [GCC static analyzer] leak in libstringPlatformChars.c
Reviewed-by: rriggs, dholmes
2025-07-23 07:12:12 +00:00
David Holmes
0735dc27c7 8362846: Windows error reporting for dll_load doesn't check for a null buffer
8362954: Missing error buffer null check in os::dll_load on Linux/BSD

Reviewed-by: mgronlun, kbarrett
2025-07-23 00:36:35 +00:00
Y. Srinivas Ramakrishna
79f9d8d832 8350050: Shenandoah: Disable and purge allocation pacing support
Reviewed-by: wkemper, shade, kdnilsen
2025-07-23 00:23:20 +00:00
Srinivas Vamsi Parasa
4994bd5942 8359965: Enable paired pushp and popp instruction usage for APX enabled CPUs
Reviewed-by: sviswanathan, vpaprotski
2025-07-22 22:37:45 +00:00
DarraghConway
016694bf74 8360411: [TEST] open/test/jdk/java/io/File/MaxPathLength.java Refactor extract method to encapsulate Windows specific test logic
Reviewed-by: msheppar
2025-07-22 21:59:11 +00:00
Justin Lu
5540a7859b 8360416: Incorrect l10n test case in sun/security/tools/keytool/i18n.java
Reviewed-by: weijun, rhalade
2025-07-22 20:23:20 +00:00
Ioi Lam
aae9902234 8360555: Archive all unnamed modules in CDS full module graph
Reviewed-by: coleenp, vlivanov
2025-07-22 20:17:31 +00:00
Chen Liang
ea6674fec8 8315131: Clarify VarHandle set/get access on 32-bit platforms
Reviewed-by: rgiulietti, mcimadamore, jrose, shade, psandoz
2025-07-22 17:25:00 +00:00
Sean Mullan
d714b5d3da 8356557: Update CodeSource::implies API documentation and deprecate java.net.SocketPermission class for removal
Reviewed-by: jpai
2025-07-22 15:13:06 +00:00
Albert Mingkun Yang
ce02836232 8363229: Parallel: Remove develop flag GCExpandToAllocateDelayMillis
Reviewed-by: shade, tschatzl
2025-07-22 13:29:07 +00:00
Xiaohong Gong
ac141c2fa1 8359419: AArch64: Relax min vector length to 32-bit for short vectors
Reviewed-by: aph, fgao, bkilambi, dlunden
2025-07-22 09:06:02 +00:00
Marc Chevalier
ed70910b0f 8347901: C2 should remove unused leaf / pure runtime calls
Reviewed-by: thartmann, vlivanov
2025-07-22 08:48:07 +00:00
Roland Westrelin
f155661151 8342692: C2: long counted loop/long range checks: don't create loop-nest for short running loops
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: chagedorn, thartmann
2025-07-22 08:35:36 +00:00
Koushik Thirupattur
c68697e178 8362957: Fix jdk/javadoc/doccheck/checks/jdkCheckHtml.java (docs) failure
Reviewed-by: ascarpino
2025-07-22 02:48:11 +00:00
Yadong Wang
dccb1782ec 8361892: AArch64: Incorrect matching rule leading to improper oop instruction encoding
Reviewed-by: shade, adinn
2025-07-22 01:23:37 +00:00
SendaoYan
699b8112f8 8362834: Several runtime/Thread tests should mark as /native
Reviewed-by: dholmes
2025-07-22 01:05:35 +00:00
David Holmes
0385975f44 8356941: AbstractMethodError in HotSpot Due to Incorrect Handling of Private Method
Reviewed-by: coleenp, heidinga
2025-07-22 00:39:01 +00:00
Sergey Bylokhov
7d7d308d9a 8362572: Delete the usage of "sun.java2d.reftype" from the sun.java2d.Disposer
Reviewed-by: prr, aivanov
2025-07-22 00:38:28 +00:00
Phil Race
eceb3bbc80 8362452: [macOS] Remove CPrinterJob.finalize()
Reviewed-by: serb, psadhukhan, kizune
2025-07-21 21:03:17 +00:00
Phil Race
3acdba38ce 8362557: [macOS] Remove CFont.finalize()
Reviewed-by: serb, psadhukhan, kizune
2025-07-21 21:02:47 +00:00
Phil Race
523993e9e8 8362291: [macOS] Remove finalize method in CGraphicsEnvironment.java
Reviewed-by: bchristi, serb, kizune
2025-07-21 21:00:43 +00:00
Phil Race
b8da9695f0 8362659: Remove sun.print.PrintJob2D.finalize()
Reviewed-by: serb
2025-07-21 19:51:56 +00:00
Koushik Thirupattur
48ba9d415f 8349946: Cipher javadoc could describe AEAD reuse better
Reviewed-by: ascarpino
2025-07-21 19:30:03 +00:00
Andrew Haley
9dd93c6a2c 8361497: Scoped Values: orElse and orElseThrow do not access the cache
Reviewed-by: alanb
2025-07-21 17:05:50 +00:00
David Briemann
f8c8bcf4fd 8362602: Add test.timeout.factor to CompileFactory to avoid test timeouts
Reviewed-by: mhaessig, mbaesken, clanger
2025-07-21 15:48:06 +00:00
Dingli Zhang
15b5b54ac7 8357694: RISC-V: Several IR verification tests fail when vlen=128
Reviewed-by: mhaessig, fyang, mli
2025-07-21 13:34:24 +00:00
Lei Zhu
644e400cd1 8362611: [GCC static analyzer] memory leak in ps_core.c core_handle_note
Reviewed-by: dholmes, mbaesken
2025-07-21 12:24:49 +00:00
Hamlin Li
fd7f78a535 8362493: Cleanup CodeBuffer::copy_relocations_to
Reviewed-by: mhaessig, kvn
2025-07-21 11:10:20 +00:00
Erik Gahlin
1b94a3466e 8362836: JFR: Broken pipe in jdk/jfr/event/io/TestIOTopFrame.java
Reviewed-by: mgronlun
2025-07-21 10:35:43 +00:00
Lei Zhu
13bab09bff 8362532: Test gc/g1/plab/* duplicate command-line options
Reviewed-by: tschatzl, ayang
2025-07-21 09:59:52 +00:00
Shaojin Wen
8f1bb59e1a 8357913: Add @Stable to BigInteger and BigDecimal
Reviewed-by: rgiulietti, liach
2025-07-21 09:37:56 +00:00
Aleksey Shipilev
1bd683b588 8362582: GHA: Increase bundle retention time to deal with infra overload better
Reviewed-by: goetz, jwaters, clanger
2025-07-21 09:21:48 +00:00
Francesco Andreuzzi
37b70707bd 8362587: Sort share/oops includes
Reviewed-by: shade, dholmes
2025-07-21 08:43:30 +00:00
Benoît Maillard
62a58062e5 8361700: Missed optimization in PhaseIterGVN for mask and shift patterns due to missing notification in PhaseIterGVN::add_users_of_use_to_worklist
Reviewed-by: thartmann, mchevalier, mhaessig, jkarthikeyan
2025-07-21 07:37:31 +00:00
Aleksey Shipilev
9609f57cef 8361752: Double free in CompileQueue::delete_all after JDK-8357473
Reviewed-by: kvn, vlivanov
2025-07-21 06:04:17 +00:00
Erik Gahlin
441dbde2c3 8362556: New test jdk/jfr/event/io/TestIOTopFrame.java is failing on all platforms
Reviewed-by: mgronlun, shade
2025-07-19 15:09:28 +00:00
SendaoYan
ee0bcc5526 8362379: Test serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java should mark as /native
Reviewed-by: sspitsyn, cjplummer
2025-07-19 13:26:37 +00:00
Ioi Lam
ceb51d4444 8362829: Exclude CDS test cases after JDK-8361725
Reviewed-by: ccheung
2025-07-19 02:05:17 +00:00
John R Rose
d83346dcff 8345836: Stable annotation documentation is incomplete
Reviewed-by: liach
2025-07-18 21:31:42 +00:00
Ioi Lam
9334fe2eca 8361725: Do not load Java agent with "-Xshare:dump -XX:+AOTClassLinking"
Reviewed-by: matsaave, ccheung
2025-07-18 21:30:21 +00:00
Alexander Matveev
03230f8565 8351073: [macos] jpackage produces invalid Java runtime DMG bundles
Reviewed-by: asemenyuk
2025-07-18 20:44:20 +00:00
Alex Menkov
a3843e8e6e 8361751: Test sun/tools/jcmd/TestJcmdSanity.java timed out on Windows
Reviewed-by: cjplummer, dholmes, sspitsyn
2025-07-18 18:38:26 +00:00
Jan Kratochvil
60c29ff57b 8362524: Fix confusing but harmless typos in x86 CPU Features
Reviewed-by: kbarrett, kvn
2025-07-18 17:13:25 +00:00
Roger Riggs
30d2003698 8357380: java/lang/StringBuilder/RacingSBThreads.java times out with C1
Reviewed-by: jpai
2025-07-18 16:40:28 +00:00
Jorn Vernee
9dc62825b5 8362169: Pointer passed to upcall may get wrong scope
Reviewed-by: mcimadamore
2025-07-18 14:54:10 +00:00
Albert Mingkun Yang
6949e34575 8362592: Remove unused argument in nmethod::oops_do
Reviewed-by: zgu
2025-07-18 13:48:44 +00:00
Shawn M Emery
7da274ded4 8361961: Typo in ProtectionDomain.implies
Reviewed-by: mullan, jpai, hchao
2025-07-18 10:02:25 +00:00
Abhishek Kumar
4e0b03580d 8338282: javax/swing/JMenuBar/TestMenuMnemonicLinuxAndMac.java test failed on macOS and Ubuntu
Reviewed-by: tr, dnguyen, serb
2025-07-18 06:13:26 +00:00
Abhishek Kumar
a23987fecb 8361283: [Accessibility,macOS,VoiceOver] VoiceOver announced Tab items of JTabbedPane as RadioButton on macOS
Reviewed-by: asemenov, kizune
2025-07-18 06:13:06 +00:00
David Holmes
04c0b130f0 8362565: ProblemList jdk/jfr/event/io/TestIOTopFrame.java
Reviewed-by: egahlin
2025-07-18 02:35:09 +00:00
Archie Cobbs
cab515962b 8361424: Eliminate Log methods mandatoryWarning() and mandatoryNote()
Reviewed-by: mcimadamore
2025-07-18 01:43:49 +00:00
Leonid Mesnik
bd55d7a495 8362203: assert(state == nullptr || state->get_thread_oop() != nullptr) failed: incomplete state
Reviewed-by: sspitsyn, amenkov
2025-07-17 16:25:40 +00:00
Doug Simon
2b11a28997 8362306: HotSpotJVMCIRuntime.getMirror can crash
Reviewed-by: gdub, never, cslucas
2025-07-17 16:19:52 +00:00
Albert Mingkun Yang
5ed72775a7 8361404: Parallel: Group all class unloading logc at the end of marking phase
Reviewed-by: tschatzl, iwalulya
2025-07-17 13:55:47 +00:00
Pooja-DP
dc08cf016e 8361697: Remove duplicate message in MainResources.properties
Reviewed-by: rriggs, asemenyuk
2025-07-17 13:53:01 +00:00
Thomas Schatzl
ea774b74e8 8347052: Update java man page documentation to reflect current state of the UseNUMA flag
Reviewed-by: drwhite, ayang
2025-07-17 13:47:57 +00:00
Hannes Wallnöfer
365660e667 8356975: Provide alternative way to generate preview API docs
8355933: Change section title for permanent APIs affected by preview features

Reviewed-by: liach
2025-07-17 13:45:24 +00:00
Benoît Maillard
1d73f8842a 8358573: Remove the -XX:-InstallMethods debug flag
Reviewed-by: dlong, thartmann, shade
2025-07-17 12:39:46 +00:00
Ivan Walulya
cb9358b561 8362278: G1: Consolidate functions for recording pause start time
Reviewed-by: tschatzl, ayang
2025-07-17 12:22:55 +00:00
Albert Mingkun Yang
bc9ece9698 8361204: Parallel: Skip visiting per-thread nmethods during young GC
Reviewed-by: tschatzl, iwalulya
2025-07-17 12:12:16 +00:00
Matthias Baesken
1cde536b98 8361868: [GCC static analyzer] complains about missing calloc - NULL checks in p11_util.c
Reviewed-by: lucy, stuefe
2025-07-17 11:24:40 +00:00
Erik Gahlin
1a6cbe421f 8361639: JFR: Incorrect top frame for I/O events
Reviewed-by: mgronlun
2025-07-17 11:21:00 +00:00
Hamlin Li
3fd89be6d1 8362284: RISC-V: cleanup NativeMovRegMem
Reviewed-by: fyang, luhenry
2025-07-17 10:45:46 +00:00
Matthias Baesken
18190519e7 8362390: AIX make fails in awt_GraphicsEnv.c
Reviewed-by: prr, serb, clanger
2025-07-17 07:11:03 +00:00
Brian Burkhalter
be0161a8e6 8362429: AssertionError in File.listFiles(FileFilter | FilenameFilter)
Reviewed-by: alanb
2025-07-17 06:31:34 +00:00
Thomas Stuefe
bc72f476d1 8362088: CompressedKlassPointers::encode should be const correct
Reviewed-by: dholmes
2025-07-17 04:01:24 +00:00
Serguei Spitsyn
a65d9532ed 8309399: JVMTI spec needs to clarify when OPAQUE_FRAME is thrown for reasons other than a native method
Reviewed-by: cjplummer
2025-07-17 01:29:40 +00:00
Andrey Turbanov
20b5f09777 8357226: Remove unnecessary List.indexOf from RepaintManager.removeInvalidComponent
Reviewed-by: azvegint, serb
2025-07-16 21:04:24 +00:00
William Kemper
3b44d7bfa4 8360288: Shenandoah crash at size_given_klass in op_degenerated
Reviewed-by: shade
2025-07-16 17:30:42 +00:00
Calvin Cheung
8193856af8 8362336: Revert changes in metaspaceShared.cpp done via JDK-8356807
Reviewed-by: iklam
2025-07-16 16:02:44 +00:00
Gerard Ziemski
10ae602944 8362276: NMT tests should have locks for the entire tests
Reviewed-by: shade, coleenp
2025-07-16 15:27:29 +00:00
David Beaumont
770d2b41d1 8361076: Add benchmark for ImageReader in preparation for Valhalla changes
Reviewed-by: rriggs, liach, ihse
2025-07-16 14:31:53 +00:00
Jasmine Karthikeyan
70c1ff7e15 8362171: C2 fails with unexpected node in SuperWord truncation: ModI
Reviewed-by: thartmann, chagedorn
2025-07-16 12:59:55 +00:00
Boris Ulasevich
6ed81641b1 8362250: ARM32: forward_exception_entry missing return address
Reviewed-by: shade
2025-07-16 11:58:34 +00:00
Aggelos Biboudis
5e4a2ead71 8357653: Inner classes of type parameters emitted as raw types in signatures
8357472: NPE in Types.containsType for type variable used as a qualifier

Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, vromero, liach
2025-07-16 10:52:26 +00:00
Maurizio Cimadamore
b787ad6f69 8361401: Warnings for use of Sun APIs should not be mandatory
Reviewed-by: jlahoda, vromero
2025-07-16 09:55:08 +00:00
Saranya Natarajan
6b4a5ef105 8358641: C1 option -XX:+TimeEachLinearScan is broken
Reviewed-by: chagedorn, thartmann
2025-07-16 07:57:21 +00:00
Saranya Natarajan
9f7dc19ffd 8353276: C2: simplify PhaseMacroExpand::opt_bits_test
Reviewed-by: chagedorn, thartmann
2025-07-16 07:48:21 +00:00
Saranya Natarajan
805f1deebc 8342941: IGV: Add various new graph dumps during loop opts
Reviewed-by: chagedorn, dlunden
2025-07-16 07:44:57 +00:00
Matthias Baesken
b85440d085 8361888: [GCC static analyzer] ProcessImpl_md.c Java_java_lang_ProcessImpl_forkAndExec error: use of uninitialized value '*(ChildStuff *)p.mode
Reviewed-by: rriggs, syan
2025-07-16 07:21:52 +00:00
Thomas Schatzl
fd2ee0844a 8361705: Clean up KlassCleaningTask
Reviewed-by: shade, ayang
2025-07-16 07:20:15 +00:00
Thomas Schatzl
27c58c06cf 8362271: G1: Improve G1CollectorState::clearing_bitmap name
Reviewed-by: sangheki
2025-07-16 07:01:16 +00:00
Richard Reingruber
cbb3d23e19 8361827: [TESTBUG] serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java throws OutOfMemoryError
Reviewed-by: clanger, syan
2025-07-16 06:12:07 +00:00
Joe Darcy
6e368e0c69 8362207: Add more test cases for possible double-rounding in fma
Reviewed-by: rgiulietti, syan
2025-07-16 05:48:19 +00:00
Guanqiang Han
e1b2229b0b 8358592: Assert in Assembler::ptest due to missing SSE42 support
Reviewed-by: kvn
2025-07-16 05:44:24 +00:00
Dingli Zhang
bdd37b0e5e 8361836: RISC-V: Relax min vector length to 32-bit for short vectors
Reviewed-by: fyang, fjiang
2025-07-16 05:36:12 +00:00
Brent Christian
5ddeb56759 Merge
Reviewed-by: jpai, liach
2025-07-16 03:57:54 +00:00
Leonid Mesnik
a5c9bc7032 8358004: Delete applications/scimark/Scimark.java test
Reviewed-by: syan, coleenp
2025-07-16 00:29:15 +00:00
Bradford Wetmore
5fd2b7d61a 8353925: Remove Sun Microsystems JCE Code Signing Root CA
Reviewed-by: mullan, valeriep
2025-07-15 22:45:43 +00:00
Erik Gahlin
9bef2d1610 8361640: JFR: RandomAccessFile::readLine emits events for each character
Reviewed-by: rriggs, alanb, mgronlun
2025-07-15 20:33:24 +00:00
Sergey Bylokhov
6fc032de2c 8358468: Enhance code consistency: java.desktop/macos
Reviewed-by: prr, azvegint
2025-07-15 20:28:19 +00:00
Phil Race
413c6bd040 8360147: Better Glyph drawing redux
Reviewed-by: rhalade, ahgross, psadhukhan, jdv
2025-07-15 12:02:14 -07:00
Phil Race
2eaddd5b0a 8355884: [macos] java/awt/Frame/I18NTitle.java fails on MacOS
Reviewed-by: kcr, dmarkov, aivanov, honkar, kizune
2025-07-15 12:02:14 -07:00
Darragh Clarke
7db8bff9e1 8350991: Improve HTTP client header handling
Reviewed-by: rhalade, dfuchs, michaelm
2025-07-15 12:02:14 -07:00
Kevin Driver
5ad102ca3f 8349594: Enhance TLS protocol support
Reviewed-by: rhalade, ahgross, wetmore, jnimeh
2025-07-15 12:02:14 -07:00
Christian Hagedorn
a56cd371a2 8349584: Improve compiler processing
Reviewed-by: rhalade, ahgross, epeter, thartmann
2025-07-15 12:02:14 -07:00
Prasanta Sadhukhan
d3429ada8f 8349111: Enhance Swing supports
Reviewed-by: rhalade, jdv, prr
2025-07-15 12:02:14 -07:00
Phil Race
db3f6eabb5 8348989: Better Glyph drawing
Reviewed-by: mschoene, psadhukhan, jdv, rhalade
2025-07-15 12:02:14 -07:00
Volkan Yazici
017dc093ac 8349551: Failures in tests after JDK-8345625
Reviewed-by: jpai, dfuchs
2025-07-15 12:02:14 -07:00
Volkan Yazici
1d8cca2b84 8345625: Better HTTP connections
Reviewed-by: skoivu, rhalade, ahgross, dfuchs, jpai, aefimov
2025-07-15 12:02:14 -07:00
Brian Burkhalter
eefbfdce31 8361587: AssertionError in File.listFiles() when path is empty and -esa is enabled
Reviewed-by: alanb
2025-07-15 18:15:16 +00:00
Xueming Shen
401af27b9d 8360459: UNICODE_CASE and character class with non-ASCII range does not match ASCII char
Reviewed-by: naoto
2025-07-15 17:57:13 +00:00
Calvin Cheung
38af17d078 8356807: Change log_info(cds) to MetaspaceShared::report_loading_error()
Reviewed-by: matsaave, iklam
2025-07-15 17:27:17 +00:00
Daniel Lundén
820263e48a 8360701: Add bailout when the register allocator interference graph grows unreasonably large
Reviewed-by: mhaessig, thartmann
2025-07-15 15:37:27 +00:00
Ian Graves
b65fdf5af0 8358768: [vectorapi] Make VectorOperators.SUADD an Associative
Reviewed-by: psandoz
2025-07-15 14:33:37 +00:00
Johannes Bechberger
d2082c58ff 8358621: Reduce busy waiting in worse case at the synchronization point returning from native in CPU Time Profiler
Reviewed-by: shade, jbachorik, egahlin
2025-07-15 14:23:11 +00:00
Raffaello Giulietti
563e876246 8358540: Enhance MathUtils in view of FloatingDecimal enhancements
Reviewed-by: darcy
2025-07-15 13:21:35 +00:00
Johannes Bechberger
c70258ca1c 8358619: Fix interval recomputation in CPU Time Profiler
Reviewed-by: jbachorik, mgronlun
2025-07-15 10:58:02 +00:00
Thomas Schatzl
9697e5bf74 8362151: Remove unnecessary ClassLoaderDataGraph friend classes
Reviewed-by: coleenp, shade
2025-07-15 09:03:56 +00:00
Albert Mingkun Yang
c9ecc82666 8362162: Use bool for caller of os::must_commit_stack_guard_pages()
Reviewed-by: shade, kbarrett
2025-07-15 07:51:45 +00:00
Matthias Baesken
bf225c201f 8361959: [GCC static analyzer] java_props_md.c leak of 'temp' variable is reported
Reviewed-by: shade, kbarrett, rriggs
2025-07-15 07:18:15 +00:00
Hannes Greule
e5ab210713 8359678: C2: assert(static_cast<T1>(result) == thing) caused by ReverseBytesNode::Value()
Reviewed-by: mhaessig, dlong, thartmann
2025-07-15 06:28:03 +00:00
Alexander Zvegintsev
18c2e40de7 8354415: [Ubuntu25.04] api/java_awt/GraphicsDevice/indexTGF.html#SetDisplayMode - setDisplayMode_REFRESH_RATE_UNKNOWN fails: Height is different on vnc
Reviewed-by: honkar, kizune
2025-07-15 06:21:48 +00:00
Jan Lahoda
40d159d4a9 8362116: System.in.read() etc. don't accept input once immediate Ctrl+D pressed in JShell
Reviewed-by: liach, cstein
2025-07-15 06:13:45 +00:00
Erik Gahlin
25e509b0db 8362097: JFR: Active Settings view broken
Reviewed-by: mgronlun
2025-07-15 05:14:44 +00:00
Chen Liang
0acd065bf5 8361909: ConstantPoolBuilder::loadableConstantEntry and constantValueEntry should throw NPE
Reviewed-by: asotona
2025-07-14 23:35:05 +00:00
David Holmes
f36147b326 8356942: invokeinterface Throws AbstractMethodError Instead of IncompatibleClassChangeError
Reviewed-by: coleenp, iklam
2025-07-14 22:53:45 +00:00
Phil Race
5cf672e778 8359053: Implement JEP 504 - Remove the Applet API
Reviewed-by: aivanov, kizune, kcr, achung, serb
2025-07-14 20:23:38 +00:00
Alexander Matveev
a10ee46e6d 8361224: [macos] MacSignTest.testMultipleCertificates failed
Reviewed-by: asemenyuk
2025-07-14 15:07:43 +00:00
Aleksey Shipilev
6cff49c0fe 8361380: ARM32: Atomic stubs should be in pre-universe
Co-authored-by: Andrew Dinn <adinn@openjdk.org>
Reviewed-by: kvn, adinn
2025-07-14 14:30:02 +00:00
Marc Chevalier
ebb1095805 8361492: [IR Framework] Has too restrictive regex for load and store
Reviewed-by: chagedorn, dfenacci
2025-07-14 13:37:19 +00:00
Nizar Benalla
bcd86d575f 8358627: tools/sincechecker/modules/java.base/JavaBaseCheckSince.java fails with JDK 26
Reviewed-by: liach, syan
2025-07-14 12:36:37 +00:00
Dingli Zhang
5edd546585 8361449: RISC-V: Code cleanup for native call
Reviewed-by: fyang, fjiang
2025-07-14 11:56:07 +00:00
Benoît Maillard
a531c9aece 8361144: Strenghten the Ideal Verification in PhaseIterGVN::verify_Ideal_for by comparing the hash of a node before and after Ideal
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: galder, dfenacci, epeter
2025-07-14 11:40:00 +00:00
Thomas Schatzl
99c299f098 8361706: Parallel weak klass link cleaning does not clean out previous klasses
Reviewed-by: eosterlund, coleenp
2025-07-14 09:39:06 +00:00
Thomas Schatzl
272e66d017 8361952: Installation of MethodData::extra_data_lock() misses synchronization on reader side
Reviewed-by: shade, coleenp, dholmes
2025-07-14 08:59:35 +00:00
han gq
14c79be161 8361140: Missing OptimizePtrCompare check in ConnectionGraph::reduce_phi_on_cmp
Reviewed-by: chagedorn, cslucas
2025-07-14 07:39:04 +00:00
Tobias Hartmann
7c34bdf73c 8362122: Problem list TestStressBailout until JDK-8361752 is fixed
Reviewed-by: chagedorn
2025-07-14 07:27:12 +00:00
Alexander Zvegintsev
0029554d20 8360647: [XWayland] [OL10] NumPad keys are not triggered
Reviewed-by: honkar, serb
2025-07-14 03:43:54 +00:00
Jasmine Karthikeyan
77bd417c99 8350177: C2 SuperWord: Integer.numberOfLeadingZeros, numberOfTrailingZeros, reverse and bitCount have input types wrongly truncated for byte and short
Reviewed-by: epeter, thartmann
2025-07-13 21:28:39 +00:00
Prasanta Sadhukhan
bc828c8fb6 6955128: Spec for javax.swing.plaf.basic.BasicTextUI.getVisibleEditorRect contains inappropriate wording
Reviewed-by: aivanov, prr, dnguyen, abhiscxk, tr
2025-07-13 11:02:19 +00:00
Richard Reingruber
917d0182cb 8361602: [TESTBUG] serviceability/HeapDump/UnmountedVThreadNativeMethodAtTop.java deadlocks on exception
Reviewed-by: cjplummer, clanger, dholmes
2025-07-12 05:40:51 +00:00
SendaoYan
3bacf7ea85 8361869: Tests which call ThreadController should mark as /native
Reviewed-by: sspitsyn, lmesnik
2025-07-12 01:50:40 +00:00
Calvin Cheung
4a351e3e57 8361328: cds/appcds/dynamicArchive/TestAutoCreateSharedArchive.java archive timestamps comparison failed
Reviewed-by: iklam, matsaave
2025-07-12 00:18:51 +00:00
Chen Liang
189017f750 8361908: Mix and match of dead and valid exception handler leads to malformed class file
Reviewed-by: asotona
2025-07-11 22:52:26 +00:00
Chen Liang
3f59eae3d0 8361102: java.lang.classfile.CodeBuilder.branch(Opcode op, Label target) doesn't throw IllegalArgumentException - if op is not of Opcode.Kind.BRANCH
Reviewed-by: asotona
2025-07-11 22:52:10 +00:00
Xiaolong Peng
46988e1073 8361948: Shenandoah: region free capacity unit mismatch
Reviewed-by: shade, wkemper
2025-07-11 20:09:50 +00:00
Chris Plummer
f7e8d255cc 8361905: Problem list serviceability/sa/ClhsdbThreadContext.java on Windows due to JDK-8356704
Reviewed-by: amenkov, sspitsyn
2025-07-11 19:29:07 +00:00
Srinivas Vamsi Parasa
26b002805a 8360776: Disable Intel APX by default and enable it with -XX:+UnlockExperimentalVMOptions -XX:+UseAPX in all builds
Reviewed-by: sviswanathan, dholmes, jbhateja
2025-07-11 18:55:11 +00:00
Alex Menkov
8c00c374ec 8361314: Test serviceability/jvmti/VMEvent/MyPackage/VMEventRecursionTest.java FATAL ERROR in native method: Failed during the GetClassSignature call
Reviewed-by: cjplummer, sspitsyn
2025-07-11 18:33:03 +00:00
Igor Veresov
59bec29c35 8358580: Rethink how classes are kept alive in training data
Reviewed-by: coleenp, shade
2025-07-11 18:07:13 +00:00
Evgeny Astigeevich
a86dd56de3 8360936: Test compiler/onSpinWait/TestOnSpinWaitAArch64.java fails after JDK-8359435
Reviewed-by: shade, aph
2025-07-11 15:25:22 +00:00
Marc Chevalier
76442f39b9 8361494: [IR Framework] Escape too much in replacement of placeholder
Reviewed-by: mhaessig, chagedorn
2025-07-11 10:41:31 +00:00
Thomas Stuefe
445e5ecd98 8361342: Shenandoah: Evacuation may assert on invalid mirror object after JDK-8340297
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: shade, rkennke
2025-07-11 08:02:52 +00:00
Marc Chevalier
3ffc5b9ef7 8359344: C2: Malformed control flow after intrinsic bailout
Reviewed-by: thartmann, kvn
2025-07-11 07:07:27 +00:00
jeremy
529049be6b 8356137: GifImageDecode can produce opaque image when disposal method changes
Reviewed-by: jdv, prr
2025-07-11 05:47:29 +00:00
Kim Barrett
eddfc6449f 8361383: LogFileStreamOutput::write_decorations uses wrong type for format precisions
Reviewed-by: dholmes, iklam
2025-07-11 05:30:29 +00:00
Dingli Zhang
2e7e272d7b 8361829: [TESTBUG] RISC-V: compiler/vectorization/runner/BasicIntOpTest.java fails with RVV but not Zvbb
Reviewed-by: fyang, fjiang
2025-07-11 02:40:33 +00:00
Ioi Lam
ee0d309bbd 8313395: LotsUnloadTest.java fails with OOME transiently with libgraal
Reviewed-by: dnsimon
2025-07-10 21:40:11 +00:00
Alex Menkov
2300a212dd 8358679: [asan] vmTestbase/nsk/jvmti tests show memory issues
Reviewed-by: cjplummer, sspitsyn
2025-07-10 19:57:27 +00:00
Andrew Dinn
3d74cbe0ac 8361844: Build without C1 or C2 fails after 8360707
Reviewed-by: kvn
2025-07-10 17:23:10 +00:00
Naoto Sato
f5afbbd32a 8361717: Refactor Collections.emptyList() in Locale related classes
Reviewed-by: bpb, jlu, liach, cstein
2025-07-10 16:08:05 +00:00
Kevin Walls
cbc7090b91 8359809: AttributeList, RoleList and UnresolvedRoleList should never accept other types of Object
Reviewed-by: sspitsyn
2025-07-10 15:21:04 +00:00
Anass Baya
f735275021 8361839: Problemlist BogusFocusableWindowState due to failures in the CI pipeline
Reviewed-by: aivanov
2025-07-10 13:07:13 +00:00
Thomas Schatzl
3d37c4e37a 8361693: Remove Klass::clean_subklass_tree()
Reviewed-by: zgu, kbarrett
2025-07-10 13:00:48 +00:00
Nizar Benalla
73ab54e4c3 8360302: Update --release 25 symbol information for JDK 25 build 29
Reviewed-by: darcy, iris
2025-07-10 11:25:41 +00:00
Vicente Romero
80662a485a 8361499: Intersection type cast causes javac crash with -Xjcov
Reviewed-by: mcimadamore
2025-07-10 10:38:31 +00:00
Albert Mingkun Yang
c118543efe 8361704: Parallel: Simplify logic condition in MutableNUMASpace::initialize
Reviewed-by: tschatzl
2025-07-10 09:18:35 +00:00
Kevin Walls
13e0f99626 8351413: Remove XML interchange in java.management/javax/management/modelmbean/DescriptorSupport
Reviewed-by: dfuchs, sspitsyn
2025-07-10 08:19:06 +00:00
Matthias Baesken
bf3cfbeff4 8351487: [ubsan] jvmti.h runtime error: load of value which is not a valid value
Reviewed-by: cjplummer, amenkov, sspitsyn
2025-07-10 07:08:26 +00:00
David Holmes
2a53f5a5c2 8361754: New test runtime/jni/checked/TestCharArrayReleasing.java can cause disk full errors
Reviewed-by: jpai, darcy
2025-07-10 05:07:33 +00:00
David Holmes
f67e435431 8361447: [REDO] Checked version of JNI Release<type>ArrayElements needs to filter out known wrapped arrays
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: mdoerr, stuefe, coleenp
2025-07-10 01:59:49 +00:00
David Holmes
c28bb8bf7a 8361647: Report the error reason on failed semaphore calls on macOS
Reviewed-by: shade, ayang, jwaters
2025-07-10 01:54:39 +00:00
Matias Saavedra Silva
518536c607 8344073: Test runtime/cds/appcds/TestParallelGCWithCDS.java#id0 failed
Reviewed-by: ccheung, iklam
2025-07-09 20:45:13 +00:00
Gustavo Simon
0f7808f333 8360122: Fix java.sql\Connection.java indentation
Reviewed-by: liach, lancea
2025-07-09 19:55:20 +00:00
Chen Liang
c9bea77342 8361615: CodeBuilder::parameterSlot throws undocumented IOOBE
Reviewed-by: asotona
2025-07-09 19:29:25 +00:00
Yudi Zheng
6681fc72d3 8361569: [JVMCI] Further refine JVMCI-compiled nmethod that should not collect deoptimization profile
Reviewed-by: dnsimon, gdub
2025-07-09 19:12:37 +00:00
Eric Caspole
7282f68cee 8361216: Do not fork javac in J2DBench ant build
Reviewed-by: prr
2025-07-09 18:47:38 +00:00
Brian Burkhalter
6e203384f8 8358533: Improve performance of java.io.Reader.readAllLines
Reviewed-by: rriggs, sherman
2025-07-09 16:15:36 +00:00
Brian Burkhalter
6249259c80 8361299: (bf) CharBuffer.getChars(int,int,char[],int) violates pre-existing specification
Reviewed-by: alanb, liach
2025-07-09 16:15:21 +00:00
Aleksey Shipilev
a41d35073e 8357473: Compilation spike leaves many CompileTasks in free list
Reviewed-by: kvn, chagedorn
2025-07-09 14:49:20 +00:00
Nizar Benalla
7daf9813c0 8346884: Add since checker test to jdk.editpad
Reviewed-by: jpai
2025-07-09 13:49:15 +00:00
Aleksey Shipilev
a201be8555 8361255: CTW: Tolerate more NCDFE problems
Reviewed-by: kvn, thartmann
2025-07-09 12:42:25 +00:00
Manuel Hässig
db4b4a5b35 8360175: C2 crash: assert(edge_from_to(prior_use,n)) failed: before block local scheduling
Reviewed-by: kvn, chagedorn
2025-07-09 12:34:10 +00:00
Chen Liang
d886ae12a2 8357185: Redundant local variables with unconditionally matching primitive patterns
Reviewed-by: jlahoda, abimpoudis
2025-07-09 12:14:14 +00:00
Albert Mingkun Yang
eec04dd010 8361680: Use correct enum Claim value in VM_HeapWalkOperation::collect_simple_roots
Reviewed-by: shade
2025-07-09 12:00:51 +00:00
Aleksey Shipilev
a9bd1ad40c 8361520: Stabilize SystemGC benchmarks
Reviewed-by: tschatzl, ayang
2025-07-09 08:56:44 +00:00
Andrew Dinn
b1fa1ecc98 8360707: Globally enumerate all blobs, stubs and entries
Reviewed-by: kvn, fyang, asmehra
2025-07-09 08:48:07 +00:00
David Briemann
83feb7a238 8361599: [PPC64] enable missing tests via jtreg requires
Reviewed-by: mdoerr
2025-07-09 08:27:55 +00:00
Andrej Pecimuth
963b83fcf1 8357689: Refactor JVMCI to enable replay compilation in Graal
Reviewed-by: dnsimon
2025-07-09 08:19:49 +00:00
Thomas Schatzl
68b27b88b5 8361349: Fix visibility of CollectedHeap::stop() and ::print_tracing_info()
Reviewed-by: iwalulya, ayang
2025-07-09 08:10:43 +00:00
Dingli Zhang
e0245682c8 8361532: RISC-V: Several vector tests fail after JDK-8354383
Reviewed-by: fyang, fjiang, gcao
2025-07-09 05:57:38 +00:00
Ivan Walulya
4761479608 8238687: Investigate memory uncommit during young collections in G1
8247843: Reconsider G1 default GCTimeRatio value
8248324: G1: Remove resizing during Remark

Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: kbarrett, tschatzl
2025-07-09 05:44:42 +00:00
Thomas Stuefe
fe26467633 8361363: ShenandoahAsserts::print_obj() does not work for forwarded objects and UseCompactObjectHeaders
Reviewed-by: rkennke, shade
2025-07-09 05:17:05 +00:00
Chen Liang
e2c5d03546 8361526: Synchronize ClassFile API verifier with hotspot
Reviewed-by: asotona
2025-07-09 03:34:44 +00:00
Ravi-Patel8
19bb6ebfaf 8361484: Remove duplicate font filename mappings in fontconfig.properties for AIX
Reviewed-by: serb, azvegint
2025-07-09 03:12:43 +00:00
Feilong Jiang
54e37629f6 8361504: RISC-V: Make C1 clone intrinsic platform guard more specific
Reviewed-by: fyang, gcao
2025-07-09 01:20:18 +00:00
Rui Li
974ad4e8cd 8359868: Shenandoah: Free threshold heuristic does not use SoftMaxHeapSize
Reviewed-by: wkemper
2025-07-08 21:58:22 +00:00
Kim Barrett
117f0b4051 8361426: (ref) Remove jdk.internal.ref.Cleaner
Reviewed-by: jpai, vklang
2025-07-08 19:48:54 +00:00
Vladimir Kozlov
dedcce0450 8360942: [ubsan] aotCache tests trigger runtime error: applying non-zero offset 16 to null pointer in CodeBlob::relocation_end()
Reviewed-by: adinn, mbaesken
2025-07-08 19:34:39 +00:00
Alex Menkov
03526e250d 8355960: JvmtiAgentList::Iterator dtor double free with -fno-elide-constructors
Reviewed-by: dholmes, sspitsyn
2025-07-08 19:30:07 +00:00
Kelvin Nilsen
1de2acea77 8361529: GenShen: Fix bad assert in swap card tables
Reviewed-by: wkemper
2025-07-08 18:59:11 +00:00
Rui Li
fa32bfe113 8358529: GenShen: Heuristics do not respond to changes in SoftMaxHeapSize
Reviewed-by: wkemper
2025-07-08 18:34:18 +00:00
Koushik Thirupattur
91df797879 8357915: SecureRandom nextLong memory usage
Reviewed-by: wetmore
2025-07-08 18:24:26 +00:00
Ioi Lam
92712ef45d 8361367: AOT ExcludedClasses.java test failed with missing constant pool logs
Reviewed-by: dholmes, kvn
2025-07-08 17:34:58 +00:00
Naoto Sato
5850bf4488 8361519: Obsolete Unicode Scalar Value link in Character class
Reviewed-by: iris
2025-07-08 17:13:59 +00:00
Jan Lahoda
853319439e 8361570: Incorrect 'sealed is not allowed here' compile-time error
Reviewed-by: mcimadamore, vromero
2025-07-08 14:33:14 +00:00
Erik Gahlin
63e08d4af7 8361175: JFR: Document differences between method sample events
Reviewed-by: mgronlun
2025-07-08 14:04:17 +00:00
David Briemann
5c67e3d6e5 8361353: [PPC64] C2: Add nodes UMulHiL, CmpUL3, UMinV, UMaxV, NegVI
Reviewed-by: mdoerr, rrich
2025-07-08 12:58:44 +00:00
Manuel Hässig
2349304bb1 8361040: compiler/codegen/TestRedundantLea.java#StringInflate fails with failed IR rules
Co-authored-by: Matthias Baesken <mbaesken@openjdk.org>
Reviewed-by: chagedorn, mbaesken
2025-07-08 12:44:36 +00:00
Jan Lahoda
0bd2f9cba2 8361445: javac crashes on unresolvable constant in @SuppressWarnings
Reviewed-by: asotona, liach
2025-07-08 12:04:08 +00:00
han gq
27e6a4d2f7 8344548: Incorrect StartAggressiveSweepingAt doc for segmented code cache
Reviewed-by: kvn, eastigeevich
2025-07-08 11:50:09 +00:00
Maurizio Cimadamore
1934bd8d2c 8361481: Flexible Constructor Bodies generates a compilation error when compiling a user supplied java.lang.Object class
Reviewed-by: vromero, liach, jlahoda
2025-07-08 10:38:59 +00:00
Aleksey Shipilev
7b255b8a62 8361397: Rework CompileLog list synchronization
Reviewed-by: kvn, chagedorn
2025-07-08 08:23:11 +00:00
Kevin Walls
310ef85667 8305567: serviceability/tmtools/jstat/GcTest01.java failed utils.JstatGcResults.assertConsistency
Reviewed-by: cjplummer, lmesnik
2025-07-08 06:38:16 +00:00
Prasanta Sadhukhan
5205eae6ff 8346753: Test javax/swing/JMenuItem/RightLeftOrientation/RightLeftOrientation.java fails on Windows Server 2025 x64 because the icons of RBMenuItem and CBMenuItem are not visible in Nimbus LookAndFeel
Reviewed-by: abhiscxk
2025-07-08 03:12:37 +00:00
Julian Waters
bbc5c98b14 8342868: Errors related to unused code on Windows after 8339120 in core libs
Reviewed-by: naoto, jlu
2025-07-08 01:29:20 +00:00
Julian Waters
563a3358f6 8342682: Errors related to unused code on Windows after 8339120 in dt_shmem jdwp security and jpackage
Reviewed-by: cjplummer, asemenyuk, almatvee
2025-07-08 01:27:11 +00:00
Valerie Peng
ec7c6be6a9 8359388: Stricter checking for cipher transformations
Reviewed-by: mullan
2025-07-07 23:36:19 +00:00
Justin Lu
197fde5363 8361303: L10n comment for javac.opt.Xlint.desc.synchronization in javac.properties
Reviewed-by: naoto, liach
2025-07-07 21:55:10 +00:00
Sergey Bylokhov
ec3bb93d79 8358623: Avoid unnecessary data copying in ICC_Profile
Reviewed-by: honkar, prr
2025-07-07 19:32:17 +00:00
Chris Plummer
39c9de2ace 8359958: Cleanup "local" debuggee references after JDK-8333117 removed support for non-local debuggees
Reviewed-by: lmesnik, sspitsyn, amenkov
2025-07-07 18:50:00 +00:00
Vicente Romero
05c9eec8d0 8361214: An anonymous class is erroneously being classify as an abstract class
Reviewed-by: liach, mcimadamore
2025-07-07 14:56:53 +00:00
Richard Reingruber
fea73c1d40 8360599: [TESTBUG] DumpThreadsWithEliminatedLock.java fails because of unstable inlining
Reviewed-by: alanb, mdoerr, lmesnik
2025-07-07 13:21:11 +00:00
Roger Riggs
afb4a1be9e 8354872: Clarify java.lang.Process resource cleanup
Reviewed-by: jpai
2025-07-07 12:43:28 +00:00
ANUPAM DEV
7c13a2cd9a 8361463: Render method of javax.swing.text.AbstractDocument uses 'currency' instead of 'concurrency'
Reviewed-by: psadhukhan, tr, abhiscxk, aivanov
2025-07-07 12:15:44 +00:00
Andrew Haley
4df9c87345 8360884: Better scoped values
Reviewed-by: liach, alanb
2025-07-07 09:16:39 +00:00
Christian Stein
9449fea2cd 8358552: EndOfFileException in System.in.read() and IO.readln() etc. in JShell
Reviewed-by: jlahoda
2025-07-07 08:59:50 +00:00
Aleksey Shipilev
1fa772e814 8343546: GHA: Cache required dependencies in master-branch workflow
Reviewed-by: ihse
2025-07-07 08:24:24 +00:00
Daniel Fuchs
8ad4836883 8361249: PlainHttpConnection connection logic can be simplified
Reviewed-by: djelinski, vyazici, michaelm, jpai
2025-07-07 08:22:05 +00:00
Xiaohong Gong
d75ea7e679 8355563: VectorAPI: Refactor current implementation of subword gather load API
Reviewed-by: epeter, psandoz, sviswanathan, jbhateja
2025-07-07 06:52:29 +00:00
Artem Semenov
e9a434165a 8360664: Null pointer dereference in src/hotspot/share/prims/jvmtiTagMap.cpp in IterateOverHeapObjectClosure::do_object()
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Artem Semenov <savoptik@altlinux.org>.

Reviewed-by: sspitsyn, amenkov, cjplummer
2025-07-07 06:11:50 +00:00
hanguanqiang
45300dd123 8358568: Purge obsolete/broken GenerateSynchronizationCode flag
Reviewed-by: thartmann, shade
2025-07-07 05:22:44 +00:00
Anass Baya
44cff9d6ab 8346952: GetGraphicsStressTest.java fails: Native resources unavailable
Reviewed-by: serb
2025-07-07 04:58:17 +00:00
David Holmes
3bcbcc5747 8361439: [BACKOUT] 8357601: Checked version of JNI Release<type>ArrayElements needs to filter out known wrapped arrays
Reviewed-by: lmesnik
2025-07-06 21:45:03 +00:00
Erik Gahlin
f3e0588d0b 8361338: JFR: Min and max time in MethodTime event is confusing
Reviewed-by: mgronlun
2025-07-06 15:21:35 +00:00
Nizar Benalla
f2d2eef988 8177100: APIs duplicated in JavaDoc
Reviewed-by: liach, hannesw
2025-07-04 15:10:22 +00:00
Srinivas Vamsi Parasa
1c560727b8 8360775: Fix Shenandoah GC test failures when APX is enabled
Reviewed-by: sviswanathan, jbhateja, epeter
2025-07-04 15:08:57 +00:00
Manuel Hässig
f153e415d7 8361253: CommandLineOptionTest library should report observed values on failure
Reviewed-by: dholmes, shade
2025-07-04 13:06:36 +00:00
Magnus Ihse Bursie
fba74f796e 8361306: jdk.compiler-gendata needs to depend on java.base-launchers
Reviewed-by: shade
2025-07-04 12:19:24 +00:00
Jonas Norlinder
56ebb8c1b9 8359110: Log accumulated GC and process CPU time upon VM exit
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Jonas Norlinder <jnorlinder@openjdk.org>
Reviewed-by: tschatzl, ayang
2025-07-04 10:16:55 +00:00
Doug Simon
5cf349c3b0 8361355: Negative cases of Annotated.getAnnotationData implementations are broken
Reviewed-by: never
2025-07-04 07:37:20 +00:00
Kim Barrett
21f2e9a71c 8344332: (bf) Migrate DirectByteBuffer away from jdk.internal.ref.Cleaner
Reviewed-by: rriggs, bchristi
2025-07-04 04:08:42 +00:00
Ioi Lam
854de8c9c6 8336147: Clarify CDS documentation about static vs dynamic archive
Reviewed-by: ccheung, shade
2025-07-03 23:54:05 +00:00
Manukumar V S
16af473397 8361115: javax/swing/JComboBox/bug4276920.java unnecessarily throws Error instead of RuntimeException
Reviewed-by: prr
2025-07-03 22:32:23 +00:00
David Holmes
da0a51ce97 8357601: Checked version of JNI Release<type>ArrayElements needs to filter out known wrapped arrays
Reviewed-by: coleenp, jsjolen
2025-07-03 21:02:28 +00:00
Chen Liang
566279af49 8360022: ClassRefDupInConstantPoolTest.java fails when running in repeat
Reviewed-by: vromero
2025-07-03 20:49:05 +00:00
Erik Gahlin
77e69e02eb 8358750: JFR: EventInstrumentation MASK_THROTTLE* constants should be computed in longs
Reviewed-by: mgronlun
2025-07-03 20:01:33 +00:00
Eric Caspole
dcc7254a38 8361213: J2DAnalyzer should emit the score as a decimal
Reviewed-by: prr
2025-07-03 19:43:30 +00:00
Calvin Cheung
003be0dee2 8361325: Refactor ClassLoaderExt
Reviewed-by: coleenp, sspitsyn
2025-07-03 19:40:22 +00:00
Brian Burkhalter
2d9f0324ba 8360028: (fs) Path.relativize throws StringIndexOutOfBoundsException (win)
Reviewed-by: alanb
2025-07-03 18:53:59 +00:00
Archie Cobbs
25ed36f3ef 8359493: Refactor how aggregated mandatory warnings are handled in the compiler
8350514: Refactor MandatoryWarningHandler to support dynamic verbosity

Reviewed-by: mcimadamore
2025-07-03 18:13:07 +00:00
Evgeny Nikitin
a2315ddd2a 8357739: [jittester] disable the hashCode method
Reviewed-by: lmesnik
2025-07-03 16:58:30 +00:00
Ioi Lam
66836d40b8 8361292: Rename ModuleEntry::module() to module_oop()
Reviewed-by: coleenp, ccheung, sspitsyn
2025-07-03 16:52:19 +00:00
Ioi Lam
3daa03c30f 8358680: AOT cache creation fails: no strings should have been added
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: coleenp, shade
2025-07-03 15:31:34 +00:00
Rajat Mahajan
24117c6e9a 8349188: LineBorder does not scale correctly
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, serb
2025-07-03 14:24:52 +00:00
Thomas Schatzl
5e40fb6bda 8277394: Remove the use of safepoint_workers in reference processor
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Reviewed-by: ayang, iwalulya
2025-07-03 11:43:35 +00:00
Matthias Baesken
2528c620a6 8361198: [AIX] fix misleading error output in thread_cpu_time_unchecked
Reviewed-by: mdoerr, azeller
2025-07-03 11:35:54 +00:00
Jaikiran Pai
1be29bd725 8361060: Keep track of the origin server against which a jdk.internal.net.http.HttpConnection was constructed
Reviewed-by: dfuchs
2025-07-03 09:32:09 +00:00
Jatin Bhateja
2f683fdc4a 8361037: [ubsan] compiler/c2/irTests/TestFloat16ScalarOperations division by 0
Reviewed-by: mhaessig, sviswanathan
2025-07-03 08:03:55 +00:00
Benoît Maillard
c75df634be 8359602: Ideal optimizations depending on input type are missed because of missing notification mechanism from CCP
Reviewed-by: epeter, thartmann
2025-07-03 07:28:11 +00:00
Jan Lahoda
fd13e1ce98 8358801: javac produces class that does not pass verifier.
Reviewed-by: mcimadamore, liach
2025-07-03 07:17:59 +00:00
Thomas Schatzl
6c9236c80c 8361238: G1 tries to get CPU info from terminated threads at shutdown
Reviewed-by: kbarrett, sangheki
2025-07-03 06:59:00 +00:00
Takuya Kiriyama
1926aeb1a3 8352016: Improve java/lang/RuntimeTests/RuntimeExitLogTest.java
Reviewed-by: rriggs
2025-07-03 06:47:11 +00:00
Boris Ulasevich
74822ce12a 8358183: [JVMCI] crash accessing nmethod::jvmci_name in CodeCache::aggregate
Reviewed-by: eastigeevich, phh
2025-07-02 21:15:46 +00:00
Yudi Zheng
ea86a20e6d 8357424: [JVMCI] Avoid incrementing decompilation count for hosted compiled nmethod
Reviewed-by: dnsimon, never, cslucas
2025-07-02 18:38:31 +00:00
Jatin Bhateja
5e30bf6835 8360116: Add support for AVX10 floating point minmax instruction
Reviewed-by: mhaessig, sviswanathan
2025-07-02 17:47:20 +00:00
Hamlin Li
c50370599e 8360090: [TEST] RISC-V: disable some cds tests on qemu
Reviewed-by: lmesnik, rehn
2025-07-02 17:16:12 +00:00
Martin Doerr
c460f842bf 8361183: JDK-8360887 needs fixes to avoid cycles and better tests (aix)
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: alanb, jkern
2025-07-02 15:31:29 +00:00
Joe Darcy
549b875866 8361112: Use exact float -> Float16 conversion method in Float16 tests
Reviewed-by: liach, rgiulietti
2025-07-02 15:24:29 +00:00
Albert Mingkun Yang
832bfbc0dd 8338474: Parallel: Deprecate and obsolete PSChunkLargeArrays
Reviewed-by: tschatzl, kbarrett
2025-07-02 13:39:16 +00:00
Ashutosh Mehra
3066a67e62 8361101: AOTCodeAddressTable::_stubs_addr not initialized/freed properly
Reviewed-by: kvn, shade
2025-07-02 13:25:00 +00:00
Taizo Kurashige
ce9986991d 8359120: Improve warning message when fail to load hsdis library
Reviewed-by: mhaessig, thartmann
2025-07-02 09:21:57 +00:00
Saranya Natarajan
eac8f5d2c9 8325478: Restructure the macro expansion compiler phase to not include macro elimination
Reviewed-by: kvn, dlunden
2025-07-02 08:38:31 +00:00
Manuel Hässig
2304044ab2 8360641: TestCompilerCounts fails after 8354727
Reviewed-by: kvn, dfenacci, mdoerr
2025-07-02 08:35:51 +00:00
Anton Artemov
0f1cd987b3 8284016: Normalize handshake closure names
Reviewed-by: coleenp, sspitsyn
2025-07-02 06:49:36 +00:00
Aleksey Shipilev
1ac7489874 8361180: Disable CompiledDirectCall verification with -VerifyInlineCaches
Reviewed-by: kvn, thartmann
2025-07-02 05:38:28 +00:00
Ioi Lam
055d2ffa69 8361215: Add AOT test case: verification constraint classes are excluded
Reviewed-by: ccheung
2025-07-02 04:24:55 +00:00
Prasanta Sadhukhan
2bff8e0a13 8360462: [macosx] row selection not working with Ctrl+Shift+Down/Up in AquaL&F
Reviewed-by: dnguyen, abhiscxk
2025-07-02 03:07:07 +00:00
Kim Barrett
c6448dc3af 8361086: JVMCIGlobals::check_jvmci_flags_are_consistent has incorrect format string
Reviewed-by: kvn, mhaessig, yzheng
2025-07-02 00:28:24 +00:00
Kim Barrett
1703915d3f 8361085: MemoryReserver log_on_large_pages_failure has incorrect format usage
Reviewed-by: stefank, dholmes
2025-07-02 00:25:26 +00:00
Kim Barrett
a910b20b51 8346914: UB issue in scalbnA
Reviewed-by: aph, tschatzl
2025-07-02 00:17:19 +00:00
Ioi Lam
7d7e60c8ae 8360164: AOT cache creation crashes in ~ThreadTotalCPUTimeClosure()
Reviewed-by: ccheung, kvn, dholmes
2025-07-01 20:22:13 +00:00
Calvin Cheung
534d2b33dc 8357064: cds/appcds/ArchiveRelocationTest.java failed with missing expected output
Reviewed-by: shade, iklam
2025-07-01 19:52:06 +00:00
Daniel Jeliński
e9a62d79cd 8361125: Fix typo in onTradAbsence
Reviewed-by: hchao, mullan, shade
2025-07-01 19:19:25 +00:00
Kevin Walls
13a3927855 8359870: JVM crashes in AccessInternal::PostRuntimeDispatch
Reviewed-by: amenkov, dholmes, sspitsyn
2025-07-01 19:07:49 +00:00
Leonid Mesnik
282ee40a56 8359366: RunThese30M.java EXCEPTION_ACCESS_VIOLATION in JvmtiBreakpoints::clearall_in_class_at_safepoint
Reviewed-by: coleenp, dholmes, sspitsyn
2025-07-01 17:22:33 +00:00
Coleen Phillimore
e7a450038a 8359707: Add classfile modification code to RedefineClassHelper
Reviewed-by: lmesnik, dholmes, sspitsyn
2025-07-01 17:14:36 +00:00
Mohamed Issa
38f59f84c9 8358179: Performance regression in Math.cbrt
Reviewed-by: sviswanathan, sparasa, epeter
2025-07-01 15:34:37 +00:00
Jaikiran Pai
e1681c4828 8359477: com/sun/net/httpserver/Test12.java appears to have a temp file race
Reviewed-by: dfuchs, vyazici
2025-07-01 15:32:26 +00:00
Aleksey Shipilev
e138297323 8359436: AOTCompileEagerly should not be diagnostic
Reviewed-by: kvn, syan, dholmes
2025-07-01 14:30:20 +00:00
Jaikiran Pai
7583a7b857 8359337: XML/JAXP tests that make network connections should ensure that no proxy is selected
Reviewed-by: lancea, iris, joehw
2025-07-01 11:39:20 +00:00
Thomas Schatzl
e85c7d09df 8360790: G1: Improve HRRSStatsIter name
Reviewed-by: kbarrett, ayang
2025-07-01 10:40:33 +00:00
Albert Mingkun Yang
eec1153993 8361056: Parallel: Use correct is_par argument in ScavengeRootsTask
Reviewed-by: tschatzl
2025-07-01 10:14:25 +00:00
Albert Mingkun Yang
fc739fee53 8360206: Refactor ReferenceProcessor::balance_queues
Reviewed-by: sangheki, kbarrett, tschatzl
2025-07-01 10:13:17 +00:00
Matthias Baesken
aeca49e43f 8360791: [ubsan] Adjust signal handling
Reviewed-by: ihse, lucy
2025-07-01 09:56:42 +00:00
Matthias Baesken
54c95cf226 8361043: [ubsan] os::print_hex_dump runtime error: applying non-zero offset 8 to null pointer
Reviewed-by: mdoerr, lucy
2025-07-01 09:19:35 +00:00
Aleksey Shipilev
cd6caedd0a 8360783: CTW: Skip deoptimization between tiers
Reviewed-by: thartmann, mhaessig, dfenacci
2025-07-01 07:58:12 +00:00
Manuel Hässig
b32ccf2cb2 8361092: Remove trailing spaces in x86 ad files
Reviewed-by: kvn, sviswanathan
2025-07-01 06:47:48 +00:00
Martin Doerr
0572b6ece7 8360887: (fs) Files.getFileAttributeView returns unusable FileAttributeView if UserDefinedFileAttributeView unavailable (aix)
Co-authored-by: Joachim Kern <jkern@openjdk.org>
Reviewed-by: bpb, mbaesken
2025-07-01 06:09:50 +00:00
Anass Baya
d1052c70cb 8355478: DoubleActionESC.java fails intermittently
Reviewed-by: aivanov, abhiscxk
2025-07-01 04:40:43 +00:00
Xueming Shen
61a590e9be 8354490: Pattern.CANON_EQ causes a pattern to not match a string with a UNICODE variation
Reviewed-by: rriggs, naoto
2025-07-01 00:58:43 +00:00
Calvin Cheung
9d518b3213 8310831: Some methods are missing from CDS regenerated JLI holder class
Reviewed-by: iklam, liach
2025-06-30 17:52:28 +00:00
Calvin Cheung
1dda79cfab 8360743: Enables regeneration of JLI holder classes for CDS static dump
Reviewed-by: iklam, liach
2025-06-30 17:51:20 +00:00
Aleksey Shipilev
aa1911191c 8360867: CTW: Disable inline cache verification
Reviewed-by: kvn, thartmann
2025-06-30 12:55:36 +00:00
Thomas Schatzl
00adbbe553 8274051: Remove supports_vtime()/elapsedVTime()
Reviewed-by: kbarrett, iwalulya
2025-06-30 11:22:46 +00:00
Tobias Hartmann
c2d76f9844 8361032: Problem list TestOnSpinWaitAArch64 until JDK-8360936 is fixed
Reviewed-by: alanb
2025-06-30 05:41:37 +00:00
Jaikiran Pai
4dd1b3a610 8330940: Impossible to create a socket backlog greater than 200 on Windows 8+
Reviewed-by: michaelm, dfuchs, alanb
2025-06-30 01:58:54 +00:00
Sergey Bylokhov
240541e1c1 8359266: Delete the usage of AppContext in the GraphicsDevice
Reviewed-by: aivanov, azvegint
2025-06-29 19:44:01 +00:00
Matthias Baesken
a23de2ec09 8360478: libjsig related tier3 jtreg tests fail when asan is configured
Reviewed-by: dholmes, ihse
2025-06-27 19:10:02 +00:00
Archie Cobbs
3525a40f39 8359596: Behavior change when both -Xlint:options and -Xlint:-options flags are given
Reviewed-by: mcimadamore, uschindler
2025-06-27 18:25:27 +00:00
Chris Plummer
712d866b72 8360312: Serviceability Agent tests fail with JFR enabled due to unknown thread type JfrRecorderThread
Reviewed-by: sspitsyn, kevinw, dholmes
2025-06-27 17:19:22 +00:00
Alisen Chung
da7080fffb 8359761: JDK 25 RDP1 L10n resource files update
Reviewed-by: aivanov, almatvee, nbenalla, jlu, dnguyen, cstein, naoto
2025-06-27 16:13:03 +00:00
Coleen Phillimore
4edf791aec 8295851: Do not use ttyLock in BytecodeTracer::trace
Reviewed-by: dholmes, matsaave
2025-06-27 16:11:41 +00:00
Kevin Walls
12196baf67 8358624: ImmutableDescriptor violates equals/hashCode contract after deserialization
Reviewed-by: cjplummer, sspitsyn
2025-06-27 14:54:12 +00:00
Artur Barashev
a471fe992f 8360539: DTLS handshakes fails due to improper cookie validation logic
Reviewed-by: ascarpino, hchao
2025-06-27 14:15:55 +00:00
Shaojin Wen
839cede1a4 8357289: Break down the String constructor into smaller methods
Reviewed-by: liach, rriggs
2025-06-27 14:06:12 +00:00
Evgeny Astigeevich
ecd2d83096 8359435: AArch64: add support for SB instruction to MacroAssembler::spin_wait
Reviewed-by: shade, aph
2025-06-27 12:49:20 +00:00
Coleen Phillimore
d8f9b188fa 8268406: Deallocate jmethodID native memory
Reviewed-by: dholmes, sspitsyn, dcubed, eosterlund, aboldtch
2025-06-27 11:20:49 +00:00
Qizheng Xing
aa26cede63 8360474: Add missing include guards for some HotSpot headers
Reviewed-by: mhaessig, stefank, dholmes
2025-06-27 08:17:13 +00:00
Andrey Turbanov
20e983a97c 8360487: Remove unnecessary List.indexOf key from AbstractMidiDevice.TransmitterList.remove
Reviewed-by: azvegint, serb, aivanov
2025-06-27 07:53:49 +00:00
Matthias Baesken
97ec9d3e0a 8360533: ContainerRuntimeVersionTestUtils fromVersionString fails with some docker versions
Reviewed-by: lucy, mdoerr, dholmes
2025-06-27 07:37:44 +00:00
Matthias Baesken
01b15bc1f9 8360518: Docker tests do not work when asan is configured
Reviewed-by: sgehwolf
2025-06-27 06:43:50 +00:00
Luigi Montoya
6d05a1d3f4 8357079: Fix Windows AArch64 DevKit Creation
Reviewed-by: erikj, ihse
2025-06-27 06:11:33 +00:00
Erik Gahlin
8ea544c33f 8360287: JFR: PlatformTracer class should be loaded lazily
Reviewed-by: mgronlun
2025-06-26 22:18:56 +00:00
David Holmes
334683e634 8358645: Access violation in ThreadsSMRSupport::print_info_on during thread dump
Reviewed-by: fbredberg, shade, dcubed
2025-06-26 21:48:46 +00:00
Ioi Lam
20e0055e20 8344165: Trace exceptions with a complete call-stack
Reviewed-by: coleenp, dholmes
2025-06-26 17:23:55 +00:00
Naoto Sato
83fe688d80 8360554: Use the title from the JSON RFC for the @spec tag
Reviewed-by: alanb, kevinw
2025-06-26 16:35:43 +00:00
Jatin Bhateja
a49ecb26c5 8352635: Improve inferencing of Float16 operations with constant inputs
Reviewed-by: epeter, sviswanathan
2025-06-26 15:42:43 +00:00
Kim Barrett
7f702cf483 8360458: Rename Deferred<> to DeferredStatic<> and improve usage description
Reviewed-by: jsikstro, jsjolen, stefank
2025-06-26 15:12:35 +00:00
Ivan Walulya
bd666f90eb 8360522: G1: Flag constraint functions for G1SATBBufferSize and G1UpdateBufferSize are skipped during argument validation
Reviewed-by: tschatzl, ayang
2025-06-26 15:01:56 +00:00
Kelvin Nilsen
a0c3efa6a8 8359947: GenShen: use smaller TLABs by default
Reviewed-by: phh, xpeng
2025-06-26 14:36:33 +00:00
Damon Nguyen
7576064a10 8359061: Update and ProblemList manual test java/awt/Cursor/CursorDragTest/ListDragCursor.java
Reviewed-by: honkar, aivanov
2025-06-26 14:09:27 +00:00
Jaikiran Pai
8df6b2c4a3 8359830: Incorrect os.version reported on macOS Tahoe 26 (Beta)
Reviewed-by: rriggs, lancea, kcr
2025-06-26 13:37:13 +00:00
Doug Lea
ff24088c86 8359919: Minor java.util.concurrent doc improvements
8187775: AtomicReferenceFieldUpdater does not support static fields
8254060: SubmissionPublisher close hangs if a publication is pending
8210149: Example in JavaDoc for java.util.concurrent.Flow violates Reactive Streams spec
8199501: Improve documentation of CompletableFuture, CompletionStage
8233050: CompletableFuture `whenComplete` and `thenApply` change exceptional result
8210312: JavaDoc example in SubmissionPublisher will potentially crash
8292365: CompletableFuture and CompletionStage should document Memory Model guarantees
8356304: Define "enabled" in ScheduledExecutorService
8353155: FutureTask#run(): doc implies synchronous, implementation is async
8186959: Clarify that Executors.newScheduledThreadPool() is fixed-size
8190889: TimeUnit.wait should document IllegalMonitorStateException
6351533: CyclicBarrier reset() should return the number of awaiters
6317534: CyclicBarrier should have a cancel() method
8195628: Documentation for lock(), trylock(), lockInterruptibly​()  of ReentrantReadWriteLock.WriteLock needs to be corrected
8333172: Document a recommendation to use VarHandles instead of java.util.concurrent.atomic.*FieldUpdater
6374942: Improve thread safety of collection .equals() methods
7176957: ExecutorService submit method javaDoc enhancement
8172177: Improve documentation for CompletionException handling
6714849: ReentrantReadWriteLock: Abnormal behavior in non-fair mode
6625724: Allow ReentrantReadWriteLock to not track per-thread read holds
6526284: Improve AbstractExecutorService javadoc
8137156: Javadoc for Future is misleading with respect to cancellation
6663476: FutureTask.get() may return null if set() is not called from run()
8311131: ConcurrentHashMap.forEachKey parallelismThreshold description could be clearer

Reviewed-by: alanb
2025-06-26 12:04:42 +00:00
Albert Mingkun Yang
5a1301df19 8360548: Parallel: Remove outdated comments in MutableNUMASpace::bias_region
Reviewed-by: tschatzl
2025-06-26 09:15:32 +00:00
Anton Artemov
5039b42de1 8359437: Make users and test suite not able to set LockingMode flag
8358542: Remove RTM test VMProps

Co-authored-by: Fredrik Bredberg <fbredberg@openjdk.org>
Reviewed-by: coleenp, lmesnik, fbredberg, alanb, dholmes
2025-06-26 07:41:22 +00:00
David Holmes
1ca008fd02 8360255: runtime/jni/checked/TestLargeUTF8Length.java fails with -XX:-CompactStrings
Reviewed-by: shade, kbarrett
2025-06-26 01:02:03 +00:00
Dean Long
cf75f1f9c6 8358821: patch_verified_entry causes problems, use nmethod entry barriers instead
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: mdoerr, eosterlund
2025-06-25 19:25:34 +00:00
Serguei Spitsyn
52526080ba 8225354: serviceability/jvmti/ModuleAwareAgents/ThreadStart failed with Didn't get ThreadStart events in VM early start phase!
Reviewed-by: amenkov, cjplummer
2025-06-25 19:21:14 +00:00
Chen Liang
f799cf180a 8360303: Remove two unused invoke files
Reviewed-by: rriggs, jrose
2025-06-25 18:48:47 +00:00
Kim Barrett
56c75453cd 8352565: Add native method implementation of Reference.get()
Reviewed-by: vlivanov, tschatzl, lmesnik
2025-06-25 18:22:06 +00:00
Naoto Sato
7447276475 8360045: StringTokenizer.hasMoreTokens() throws NPE after nextToken(null)
Reviewed-by: liach, alanb
2025-06-25 16:02:47 +00:00
Paul Hohensee
c90c31b07e 8279005: sun/tools/jstat tests do not check for test case exit codes after JDK-8245129
Reviewed-by: cjplummer, rkennke
2025-06-25 15:52:30 +00:00
Suchismith Roy
52c6044fe4 8349077: Rename GenerationCounters::update_all
Reviewed-by: ayang, stefank
2025-06-25 15:39:57 +00:00
Albert Mingkun Yang
4e1bf31368 8360523: Parallel: Remove unused local variable in MutableNUMASpace::initialize
Reviewed-by: stefank, kbarrett
2025-06-25 15:36:02 +00:00
Kim Barrett
878497fb85 8360178: TestArguments.atojulong gtest has incorrect format string
Reviewed-by: dholmes
2025-06-25 15:16:44 +00:00
Manuel Hässig
f2ef809719 8354727: CompilationPolicy creates too many compiler threads when code cache space is scarce
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: kvn, shade
2025-06-25 13:00:08 +00:00
Michael McMahon
1fa090524a 8359268: 3 JNI exception pending defect groups in 2 files
Reviewed-by: djelinski
2025-06-25 09:45:57 +00:00
Martin Doerr
f71d64fbeb 8360405: [PPC64] some environments don't support mfdscr instruction
Reviewed-by: haosun, rrich
2025-06-25 08:59:46 +00:00
Casper Norrbin
850bc20306 8356868: Not all cgroup parameters are made available
Reviewed-by: sgehwolf, gziemski
2025-06-25 08:32:51 +00:00
Roman Kennke
75ce44aa84 8355319: Update Manpage for Compact Object Headers (Production)
Reviewed-by: coleenp, dholmes, phh
2025-06-25 08:09:03 +00:00
Igor Veresov
5c4f92ba9a 8359788: Internal Error: assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded
Reviewed-by: kvn, thartmann
2025-06-25 06:45:32 +00:00
Amit Kumar
263e32bb85 8358694: VM asserts if CodeCacheSegmentSize is not a power of 2
Reviewed-by: shade, dfenacci
2025-06-25 04:39:07 +00:00
Xiaohong Gong
7d6c902ce8 8357726: Improve C2 to recognize counted loops with multiple casts in trip counter
Reviewed-by: chagedorn, epeter, galder
2025-06-25 01:16:08 +00:00
Brian Burkhalter
5091057614 8351010: Test java/io/File/GetXSpace.java failed: / usable space 56380809216 > free space 14912244940
Reviewed-by: lancea, rriggs
2025-06-24 23:50:35 +00:00
David Beaumont
ba0c12231b 8359808: JavaRuntimeURLConnection should only connect to non-directory resources
Reviewed-by: alanb, rriggs
2025-06-24 18:40:24 +00:00
Markus Grönlund
cbcf401170 8360403: Disable constant pool ID assert during troubleshooting
Reviewed-by: egahlin
2025-06-24 16:11:40 +00:00
Hannes Wallnöfer
f8de5bc582 8328848: Inaccuracy in the documentation of the -group option
Reviewed-by: liach
2025-06-24 15:50:51 +00:00
Hannes Wallnöfer
9a726df373 8359024: Accessibility bugs in API documentation
Reviewed-by: vyazici, liach
2025-06-24 15:48:31 +00:00
Artur Barashev
2af869b193 8156715: TrustStoreManager does not buffer keystore input stream
Reviewed-by: ascarpino
2025-06-24 15:32:13 +00:00
Aleksey Shipilev
5c1f77fab1 8360201: JFR: Initialize JfrThreadLocal::_sampling_critical_section
Reviewed-by: zgu, mgronlun
2025-06-24 15:05:40 +00:00
Gautham Krishnan
54acadbe66 8294226: Document missing UnsupportedTemporalTypeException
Reviewed-by: rriggs, naoto
2025-06-24 14:53:14 +00:00
Kim Barrett
0514cee6c8 8360177: ParallelArguments::initialize has incorrect format string
Reviewed-by: tschatzl, sangheki
2025-06-24 14:27:47 +00:00
Coleen Phillimore
28e96e333b 8359920: Use names for frame types in stackmaps
Reviewed-by: dholmes, jsjolen, matsaave, sspitsyn
2025-06-24 12:31:04 +00:00
Afshin Zafari
f5201ac117 8359959: Test runtime/NMT/VirtualAllocTestType.java failed: '\\[0x[0]*7f7dc4043000 - 0x[0]*7f7dc4083000\\] reserved 256KB for Test' missing from stdout/stderr
Reviewed-by: jsjolen, dholmes
2025-06-24 11:17:48 +00:00
Albert Mingkun Yang
a3609ba5ac 8360324: Parallel: Remove unused local variable in MutableNUMASpace::set_top
Reviewed-by: tschatzl
2025-06-24 10:34:14 +00:00
Michael McMahon
116b8543b0 8351983: HttpCookie Parser Incorrectly Handles Cookies with Expires Attribute
Reviewed-by: dfuchs, vyazici
2025-06-24 09:15:58 +00:00
David Beaumont
fdfc557878 8360131: Remove use of soon-to-be-removed APIs by CTW framework
Reviewed-by: liach, thartmann
2025-06-24 08:09:53 +00:00
Albert Mingkun Yang
54fec2b98b 8360220: Deprecate and obsolete ParallelRefProcBalancingEnabled
Reviewed-by: kbarrett, tschatzl
2025-06-24 07:34:15 +00:00
Manuel Hässig
03d66d9ee2 8358572: C1 hits "need debug information" assert with -XX:-DeoptC1
Reviewed-by: shade, aph
2025-06-24 07:00:45 +00:00
Manuel Hässig
f6ff38ab42 8353815: [ubsan] compilationPolicy.cpp: division by zero related to tiered compilation flags
Reviewed-by: mbaesken, kvn
2025-06-24 06:55:05 +00:00
Daniel Jeliński
dbbfa76b73 8131136: java/awt/font/JNICheck/JNICheck.sh issue warning on core-libs code
Reviewed-by: aivanov, prr, serb
2025-06-24 06:09:17 +00:00
Jaikiran Pai
9af36b13c5 8360307: Problemlist tools/sincechecker/modules/jdk.management.jfr/JdkManagementJfrCheckSince.java
Reviewed-by: dholmes, liach
2025-06-24 05:19:18 +00:00
Anjian Wen
34412da52b 8360179: RISC-V: Only enable BigInteger intrinsics when AvoidUnalignedAccess == false
Reviewed-by: fjiang, fyang
2025-06-24 03:08:50 +00:00
Chad Rakoczy
a350a1115a 8358655: AArch64: Simplify Interpreter::profile_taken_branch
Reviewed-by: shade, aph
2025-06-24 02:34:53 +00:00
Manukumar V S
bcad87eacb 8358697: TextLayout/MyanmarTextTest.java passes if no Myanmar font is found
Reviewed-by: aivanov
2025-06-24 02:20:49 +00:00
Nizar Benalla
2a70a6dc58 8346886: Add since checker test to jdk.management.jfr
Reviewed-by: egahlin
2025-06-23 22:24:57 +00:00
Kim Barrett
6df0f5e390 8360281: VMError::error_string has incorrect format usage
Reviewed-by: coleenp
2025-06-23 18:19:01 +00:00
Naoto Sato
9c3eaa49f7 8359732: Make standard i/o encoding related system properties StaticProperty
Reviewed-by: rriggs, alanb, vyazici
2025-06-23 16:16:28 +00:00
Justin Lu
dfcea0547e 8358729: jdk/internal/loader/URLClassPath/ClassnameCharTest.java depends on Applet
Reviewed-by: jpai, lancea
2025-06-23 14:26:02 +00:00
Jonas Norlinder
c748d358b2 8360024: Reorganize GC VM operations and implement is_gc_operation
Reviewed-by: tschatzl, dholmes
2025-06-23 12:49:59 +00:00
Aleksey Shipilev
72679c94ee 8360042: GHA: Bump MSVC to 14.44
Reviewed-by: erikj, ihse
2025-06-23 12:46:32 +00:00
Erik Gahlin
10e6eec9e6 8360039: JFR: Improve parser logging of constants
Reviewed-by: mgronlun
2025-06-23 11:09:11 +00:00
Nikita Gubarkov
251f2ac785 8355904: Use variadic macros for J2dTrace
Reviewed-by: aivanov, serb, prr, avu
2025-06-23 10:52:07 +00:00
Andrey Turbanov
fe7ec31259 8359996: Remove unnecessary List.indexOf key from Track.remove
Reviewed-by: aivanov, liach, azvegint
2025-06-23 08:32:02 +00:00
Albert Mingkun Yang
516197f50b 8359924: Deprecate and obsolete ParallelRefProcEnabled
Reviewed-by: tschatzl, kbarrett, dholmes
2025-06-23 08:27:13 +00:00
Dingli Zhang
ad1033d68f 8360169: Problem list CodeInvalidationReasonTest.java on linux-riscv64 until JDK-8360168 is fixed
Reviewed-by: fyang, fjiang, syan, dnsimon
2025-06-23 08:02:40 +00:00
Benoît Maillard
c220b1358c 8356865: C2: Unreasonable values for debug flag FastAllocateSizeLimit can lead to left-shift-overflow, which is UB
Reviewed-by: epeter, mhaessig
2025-06-23 07:52:02 +00:00
Manuel Hässig
9ae39b62b9 8355276: Sort C2 includes
Reviewed-by: kvn, thartmann
2025-06-23 07:47:17 +00:00
Johan Sjölen
3d35b408e1 8357220: Introduce a BSMAttributeEntry struct
Co-authored-by: John R Rose <jrose@openjdk.org>
Reviewed-by: sspitsyn, coleenp, matsaave
2025-06-23 07:05:33 +00:00
Srinivas Mandalika
de34bb8e66 8359687: Use PassFailJFrame for java/awt/print/Dialog/DialogType.java
Reviewed-by: abhiscxk, aivanov
2025-06-23 04:54:43 +00:00
Anjian Wen
620df7ec34 8359801: RISC-V: Simplify Interpreter::profile_taken_branch
Reviewed-by: fyang, fjiang
2025-06-23 02:31:53 +00:00
Fei Yang
6b4393917a 8359270: C2: alignment check should consider base offset when emitting arraycopy runtime call
Reviewed-by: thartmann, kvn
2025-06-23 00:33:34 +00:00
Phil Race
81985d422d 8358526: Clarify behavior of java.awt.HeadlessException constructed with no-args
Reviewed-by: aivanov, honkar
2025-06-20 22:22:41 +00:00
Daniel D. Daugherty
d627282f0c 8360143: ProblemList runtime/NMT/VirtualAllocTestType.java
Reviewed-by: rriggs
2025-06-20 19:53:17 +00:00
Kim Barrett
96f71a9a6b 8255082: HotSpot Style Guide should permit noexcept
Reviewed-by: kvn, dholmes, dcubed
2025-06-20 19:48:41 +00:00
William Kemper
17cf49746d 8357550: GenShen crashes during freeze: assert(!chunk->requires_barriers()) failed
Reviewed-by: kdnilsen, shade
2025-06-20 17:08:08 +00:00
Vladimir Petko
c6ab63d306 8359735: [Ubuntu 25.10] java/lang/ProcessBuilder/Basic.java, java/lang/ProcessHandle/InfoTest.java fail due to rust-coreutils
Reviewed-by: rriggs
2025-06-20 13:51:55 +00:00
Doug Simon
ff54a6493a 8360049: CodeInvalidationReasonTest.java fails with ZGC on AArch64
Reviewed-by: aph, shade
2025-06-20 13:25:38 +00:00
Roland Westrelin
c11f36e620 8356708: C2: loop strip mining expansion doesn't take sunk stores into account
Reviewed-by: rcastanedalo, epeter
2025-06-20 11:24:17 +00:00
Shruthi
8f121a173c 8317801: java/net/Socket/asyncClose/Race.java fails intermittently (aix)
Reviewed-by: alanb, jkern
2025-06-20 10:13:01 +00:00
Tobias Hartmann
33970629ac 8360069: Problem list CodeInvalidationReasonTest.java until JDK-8360049 is fixed
Reviewed-by: dholmes
2025-06-20 05:35:10 +00:00
Prasanta Sadhukhan
c51bed739d 8335986: Test javax/swing/JCheckBox/4449413/bug4449413.java fails on Windows 11 x64 because RBMenuItem's and CBMenuItem's checkmark on the left side are not visible
Reviewed-by: tr
2025-06-20 03:09:57 +00:00
Manuel Hässig
a6464b74a8 8358578: Small -XX:NMethodSizeLimit triggers "not in CodeBuffer memory" assert in C1
Reviewed-by: kvn, syan, thartmann
2025-06-20 01:33:54 +00:00
Albert Mingkun Yang
0dd50dbb3e 8359825: Parallel: Simplify MutableNUMASpace::ensure_parsability
Reviewed-by: tschatzl, sangheki
2025-06-19 19:43:24 +00:00
William Kemper
dec42bebb8 8359394: GC cause cleanup
Reviewed-by: shade, ysr, stefank
2025-06-19 18:40:32 +00:00
Cesar Soares Lucas
2fe1298447 8359064: Expose reason for marking nmethod non-entrant to JVMCI client
Reviewed-by: dnsimon, never
2025-06-19 18:02:41 +00:00
Yudi Zheng
2e3bdec985 8358686: CDS and AOT can cause buffer truncation warning even when logging is disabled
Reviewed-by: dnsimon, iklam
2025-06-19 15:49:49 +00:00
Nizar Benalla
c4fb00a7be 8358769: Update --release 25 symbol information for JDK 25 build 26
Reviewed-by: darcy, iris
2025-06-19 10:38:24 +00:00
Kim Barrett
01d4b772de 8319242: HotSpot Style Guide should discourage non-local variables with non-trivial initialization or destruction
Reviewed-by: stefank, dcubed, dholmes
2025-06-19 10:20:49 +00:00
Manuel Hässig
c7125aa2af 8020282: Generated code quality: redundant LEAs in the chained dereferences
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: kvn, rcastanedalo
2025-06-19 09:36:29 +00:00
Ana Maria Mihalceanu
0dce98b716 8359123: Misleading examples in jmod man page
Reviewed-by: cstein, alanb, iris
2025-06-19 07:45:04 +00:00
Tobias Hartmann
08b1fa4cb3 8359972: Problem list TestStaticCallStub until JDK-8359963 is fixed
Reviewed-by: mchevalier, chagedorn
2025-06-19 05:35:51 +00:00
Sergey Bylokhov
23e1e2ff4a 8359180: Apply java.io.Serial annotations in java.instrument
Reviewed-by: phh, sspitsyn
2025-06-18 22:54:05 +00:00
Andrey Turbanov
5a62e99523 8357686: Remove unnecessary Map.get from AWTAutoShutdown.unregisterPeer
Reviewed-by: serb, aivanov
2025-06-18 20:58:01 +00:00
Chris Plummer
982064e50c 8359167: Remove unused test/hotspot/jtreg/vmTestbase/nsk/share/jpda/BindServer.java
Reviewed-by: sspitsyn, lmesnik
2025-06-18 18:43:38 +00:00
Srinivas Vamsi Parasa
b52af182c4 8359386: Fix incorrect value for max_size of C2CodeStub when APX is used
Reviewed-by: thartmann, shade, jbhateja, sviswanathan
2025-06-18 18:30:06 +00:00
Kim Barrett
7bc0d82450 8359227: Code cache/heap size options should be size_t
Reviewed-by: mhaessig, tschatzl
2025-06-18 18:05:18 +00:00
Manukumar V S
b7fcd0b235 8359889: java/awt/MenuItem/SetLabelTest.java inadvertently triggers clicks on items pinned to the taskbar
Reviewed-by: aivanov, kizune
2025-06-18 16:41:31 +00:00
Erik Gahlin
984d7f9cdf 8359895: JFR: method-timing view doesn't work
Reviewed-by: mgronlun
2025-06-18 14:43:55 +00:00
Joel Sikström
42d3604a31 8359923: Const accessors for the Deferred class
Reviewed-by: jsjolen
2025-06-18 14:07:25 +00:00
Casper Norrbin
cf78925859 8358891: Remove the PerfDataSamplingIntervalFunc code
Reviewed-by: shade, jwilhelm
2025-06-18 13:58:45 +00:00
Mikhail Ablakatov
ba32b78bfa 8358329: AArch64: emit direct branches in static stubs for small code caches
Reviewed-by: aph, eastigeevich
2025-06-18 11:48:45 +00:00
Afshin Zafari
547ce03016 8337217: Port VirtualMemoryTracker to use VMATree
Reviewed-by: jsjolen, gziemski
2025-06-18 11:37:48 +00:00
He-Pin(kerr)
f07f5ce984 8359067: Fix typo in DelayScheduler.java
Reviewed-by: syan, dl, rriggs, vklang
2025-06-18 11:26:00 +00:00
Matthew Donovan
cabd7c1f7a 8356897: Update NSS library to 3.111
Reviewed-by: rhalade
2025-06-18 11:24:54 +00:00
Jaikiran Pai
57266064a7 8359709: java.net.HttpURLConnection sends unexpected "Host" request header in some cases after JDK-8344190
Reviewed-by: dfuchs, djelinski, michaelm, vyazici
2025-06-18 09:03:25 +00:00
Prasanta Sadhukhan
2b94b70ef5 8359428: Test 'javax/swing/JTabbedPane/bug4499556.java' failed because after selecting one of L&F items, the test case automatically failed when clicking on L&F Menu button again
Reviewed-by: abhiscxk
2025-06-18 05:08:06 +00:00
Prasanta Sadhukhan
1130c1bc33 6798061: The removal of System.out.println from KeyboardManager
Reviewed-by: prr
2025-06-18 02:56:48 +00:00
Jaikiran Pai
2f63d3aee5 7116990: (spec) Socket.connect(addr,timeout) not clear if IOException because of TCP timeout
Reviewed-by: alanb, dfuchs
2025-06-18 02:06:22 +00:00
William Kemper
382f870cd5 8357976: GenShen crash in swap_card_tables: Should be clean
Reviewed-by: kdnilsen, cslucas, ysr, xpeng
2025-06-17 21:15:25 +00:00
lawrence.andrews
8c760e78b9 8359418: Test "javax/swing/text/GlyphView/bug4188841.java" failed because the phrase of text pane does not match the instructions
Reviewed-by: honkar
2025-06-17 20:42:42 +00:00
Thomas Stuefe
afa52e4681 8210549: Runtime.exec: in closeDescriptors(), use FD_CLOEXEC instead of close()
Reviewed-by: rriggs
2025-06-17 20:23:20 +00:00
Serguei Spitsyn
164cae469c 8359733: UnProblemList serviceability/jvmti/vthread/SuspendWithInterruptLock
Reviewed-by: syan, dholmes, lmesnik
2025-06-17 19:22:14 +00:00
dermster
49a82d8806 8359449: [TEST] open/test/jdk/java/io/File/SymLinks.java Refactor extract method for Windows specific test
Reviewed-by: bpb
2025-06-17 18:21:40 +00:00
Vladimir Kozlov
96070212ad 8359646: C1 crash in AOTCodeAddressTable::add_C_string
Reviewed-by: adinn, iklam
2025-06-17 15:55:14 +00:00
Alexey Ivanov
53a83d15a1 8357799: Improve instructions for JFileChooser/HTMLFileName.java
Reviewed-by: honkar, tr, kizune
2025-06-17 14:09:11 +00:00
Christian Stein
21b72dea78 8357862: Java argument file is parsed unexpectedly with trailing comment
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Reviewed-by: vromero
2025-06-17 14:01:06 +00:00
SendaoYan
51877f568b 8359207: Remove runtime/signal/TestSigusr2.java since it is always skipped
Reviewed-by: dcubed, dholmes
2025-06-17 13:50:01 +00:00
Anton Artemov
c1deb9eebf 8356556: AArch64: No need for acquire fence in safepoint poll in FFM
Reviewed-by: dholmes, pchilanomate
2025-06-17 13:46:13 +00:00
Albert Mingkun Yang
f62f1178aa 8359701: G1: Move heap expansion time tracking of G1CollectedHeap:expand to call site
Reviewed-by: tschatzl, iwalulya
2025-06-17 12:32:17 +00:00
David Briemann
a08208283b 8354650: [PPC64] Try to reduce register definitions
Reviewed-by: mdoerr, sroy
2025-06-17 10:01:36 +00:00
Jaikiran Pai
f7cd3fad24 8332623: Remove setTTL()/getTTL() methods from DatagramSocketImpl/MulticastSocket and MulticastSocket.send(DatagramPacket, byte)
Reviewed-by: dfuchs, alanb
2025-06-17 08:32:17 +00:00
Jatin Bhateja
ff75f763c0 8351645: C2: Assertion failures in Expand/CompressBits idealizations with TOP
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: epeter, sviswanathan
2025-06-17 07:16:19 +00:00
SendaoYan
a16d23557b 8359402: Test CloseDescriptors.java should throw SkippedException when there is no lsof/sctp
Reviewed-by: vyazici, jpai
2025-06-17 05:38:59 +00:00
Volkan Yazici
e55ddabffa 8359223: HttpClient: Remove leftovers from the SecurityManager cleanup
Reviewed-by: dfuchs
2025-06-16 18:20:28 +00:00
Brian Burkhalter
9a1c1f2efb 8357847: (ch) AsynchronousFileChannel implementations should support FFM Buffers
Reviewed-by: alanb
2025-06-16 17:56:27 +00:00
Erik Gahlin
e57a214e2a 8359242: JFR: Missing help text for method trace and timing
Reviewed-by: mgronlun
2025-06-16 16:52:17 +00:00
Erik Gahlin
2f2acb2e3f 8359593: JFR: Instrumentation of java.lang.String corrupts recording
Reviewed-by: mgronlun
2025-06-16 16:10:59 +00:00
Stuart Marks
06d804a0f0 8338140: (str) Add notes to String.trim and String.isEmpty pointing to newer APIs
Reviewed-by: naoto, bpb
2025-06-16 15:56:08 +00:00
Vladimir Kozlov
6e390ef17c 8358690: Some initialization code asks for AOT cache status way too early
Reviewed-by: asmehra, adinn
2025-06-16 15:55:51 +00:00
Kevin Walls
9652ae9a8d 8347114: JMXServiceURL should require an explicit protocol
Reviewed-by: dfuchs, sspitsyn
2025-06-16 15:25:51 +00:00
Albert Mingkun Yang
59460ff700 8359664: G1: Remove default arg for pretouch_workers of G1CollectedHeap::expand
Reviewed-by: tschatzl
2025-06-16 15:20:48 +00:00
Hamlin Li
9d060574e5 8358892: RISC-V: jvm crash when running dacapo sunflow after JDK-8352504
8359045: RISC-V: construct test to verify invocation of C2_MacroAssembler::enc_cmove_cmp_fp => BoolTest::ge/gt

Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: fyang, fjiang
2025-06-16 10:20:25 +00:00
Erik Gahlin
fedd0a0ee3 8359248: JFR: Help text for-XX:StartFlightRecording:report-on-exit should explain option can be repeated
Reviewed-by: mgronlun
2025-06-16 09:09:55 +00:00
Suchismith Roy
79497ef7f5 8348574: Simplify c1/c2_globals inclusions
Reviewed-by: mhaessig, kbarrett
2025-06-16 08:30:41 +00:00
Kevin Walls
8416ca3104 8346982: Remove JMX javadoc duplication that was in place due to JDK-6369229
Reviewed-by: amenkov
2025-06-16 07:29:24 +00:00
Benoît Maillard
d8c3533a91 8357816: Add test from JDK-8350576
Co-authored-by: Tobias Hartmann <thartmann@openjdk.org>
Reviewed-by: syan, thartmann, epeter
2025-06-16 07:29:06 +00:00
Volkan Yazici
eacfcd86d3 8357995: Use "stdin.encoding" for reading System.in with InputStreamReader/Scanner [core]
Reviewed-by: naoto, cjplummer
2025-06-16 07:27:05 +00:00
Damon Fenacci
534a8605e5 8358129: compiler/startup/StartupOutput.java runs into out of memory on Windows after JDK-8347406
Reviewed-by: thartmann, epeter
2025-06-16 06:11:08 +00:00
Tejesh R
6fe9143bbb 8358532: JFileChooser in GTK L&F still displays HTML filename
Reviewed-by: aivanov, dnguyen, kizune
2025-06-16 05:27:52 +00:00
Anjian Wen
1a01839f8c 8359105: RISC-V: No need for acquire fence in safepoint poll during JNI calls
Reviewed-by: rehn, fyang, fjiang
2025-06-16 03:32:40 +00:00
Raffaello Giulietti
26848a7d6c 8358804: Improve the API Note of BigDecimal.valueOf(double)
Reviewed-by: bpb, darcy, iris
2025-06-14 08:15:12 +00:00
Archie Cobbs
0e725c6fb1 8354447: Missing test for retroactive @SuppressWarnings("dangling-doc-comments") behavior
Reviewed-by: darcy
2025-06-13 21:42:17 +00:00
Alex Menkov
b3f56086c9 8358094: Test vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java still times out after JDK-8357282
Reviewed-by: sspitsyn, cjplummer, lmesnik
2025-06-13 17:15:41 +00:00
Andrew Dinn
ee35f6384f 8359373: Split stubgen initial blob into pre and post-universe blobs
Reviewed-by: kvn
2025-06-13 16:52:40 +00:00
Vladimir Kozlov
12a0dd03b8 8358738: AOT cache created without graal jit should not be used with graal jit
Reviewed-by: iklam, ccheung
2025-06-13 16:20:11 +00:00
Ioi Lam
366650a438 8355556: JVM crash because archived method handle intrinsics are not restored
Reviewed-by: adinn, vlivanov, shade
2025-06-13 16:11:49 +00:00
dermster
78b1360e7d 8359127: Amend java/nio/channels/DatagramChannel/PromiscuousIPv6.java to use @requires for OS platform selection
Reviewed-by: djelinski, dfuchs
2025-06-13 15:57:00 +00:00
Albert Mingkun Yang
417f8ecf07 8359224: G1: Incorrect size unit in logging of G1CollectedHeap::alloc_archive_region
Reviewed-by: tschatzl, shade
2025-06-13 13:40:43 +00:00
Daniel Fuchs
57cabc6d74 8359364: java/net/URL/EarlyOrDelayedParsing test fails intermittently
Reviewed-by: vyazici, syan, alanb
2025-06-13 13:15:47 +00:00
Manuel Hässig
b4c4496ef8 8354196: C2: reorder and capitalize phase definition
Reviewed-by: chagedorn, mchevalier
2025-06-13 13:02:27 +00:00
Sean Mullan
b5334fe237 8314180: Disable XPath in XML Signatures
Reviewed-by: weijun
2025-06-13 12:15:27 +00:00
Manuel Hässig
e8ef93ae9d 8357782: JVM JIT Causes Static Initialization Order Issue
Co-authored-by: Tobias Hartmann <thartmann@openjdk.org>
Reviewed-by: thartmann, dlong, dfenacci
2025-06-13 11:16:36 +00:00
Erik Gahlin
25b22c9b55 8358602: JFR: Annotations in jdk.jfr package should not use "not null" in specification
Reviewed-by: mgronlun
2025-06-13 10:47:26 +00:00
Prateek Nima
ead4529c92 8340182: Java HttpClient does not follow default retry limit of 3 retries
Reviewed-by: dfuchs
2025-06-13 10:32:50 +00:00
Volkan Yazici
3a1887269b 8359225: Remove unused test/jdk/javax/script/MyContext.java
Reviewed-by: sundar
2025-06-13 09:12:02 +00:00
Jatin Bhateja
e7f63ba310 8359327: Incorrect AVX3Threshold results into code buffer overflows on APX targets
Reviewed-by: sviswanathan
2025-06-13 09:01:09 +00:00
SendaoYan
a0fb35c837 8359272: Several vmTestbase/compact tests timed out on large memory machine
Reviewed-by: tschatzl, ayang
2025-06-13 08:46:12 +00:00
Albert Mingkun Yang
032ead1d90 8358483: G1: Remove G1HeapRegionManager::num_available_regions
Reviewed-by: tschatzl, sangheki
2025-06-13 08:03:33 +00:00
Doug Simon
a8b4284848 8359293: Make TestNoNULL extensible
Reviewed-by: kbarrett
2025-06-13 08:01:18 +00:00
Tobias Hartmann
ed39e17e34 8359200: Memory corruption in MStack::push
Reviewed-by: shade, kvn
2025-06-13 07:45:18 +00:00
Emanuel Peter
6749c62b9e 8358772: Template-Framework Library: Primitive Types
Reviewed-by: mhaessig, chagedorn
2025-06-13 06:55:48 +00:00
Alan Bateman
9aeacf2de5 8358958: (aio) AsynchronousByteChannel.read/write should throw IAE if buffer is thread-confined
Reviewed-by: jpai, bpb
2025-06-13 06:33:42 +00:00
Quan Anh Mai
991097b7bf 8315066: Add unsigned bounds and known bits to TypeInt/Long
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: epeter, kvn, jbhateja
2025-06-13 01:05:44 +00:00
Kevin Walls
523a4efe1c 8358970: CounterMonitorMBean.getDerivedGaugeTimeStamp() JavaDoc incorrectly documents null
Reviewed-by: sspitsyn, lmesnik
2025-06-12 20:23:28 +00:00
Brian Burkhalter
0dd7c69b9e 8357286: (bf) Remove obsolete instanceof checks in CharBuffer.append
Reviewed-by: alanb
2025-06-12 20:21:50 +00:00
Kevin Walls
66535fe26d 8358701: Remove misleading javax.management.remote API doc wording about JMX spec, and historic link to JMXMP
Reviewed-by: alanb, sspitsyn
2025-06-12 20:06:19 +00:00
Koushik Thirupattur
db7af2b3c3 8349550: Improve SASL random usage
Reviewed-by: mullan
2025-06-12 19:31:15 +00:00
Naoto Sato
99829950f6 8358819: The first year is not displayed correctly in Japanese Calendar
Reviewed-by: jlu, joehw, iris
2025-06-12 18:04:14 +00:00
Volkan Yazici
0ef0986731 8359168: Revert stdin.encoding usage in test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach010/attach010Agent00.java
Reviewed-by: cjplummer
2025-06-12 17:12:04 +00:00
Volkan Yazici
610a18e7b3 8358688: HttpClient: Simplify file streaming in RequestPublishers.FilePublisher
Reviewed-by: dfuchs, jpai
2025-06-12 17:10:57 +00:00
jeremy
8d33ea7395 8354646: java.awt.TextField allows to identify the spaces in a password when double clicked at the starting and end of the text
Reviewed-by: aivanov, kizune, tr, psadhukhan
2025-06-12 16:11:35 +00:00
David Briemann
3c53057fa6 8359232: [PPC64] C2: Clean up ppc.ad: add instr sizes, remove comments
Reviewed-by: mdoerr
2025-06-12 15:27:44 +00:00
Roland Westrelin
1fcede053c 8358334: C2/Shenandoah: incorrect execution with Unsafe
Reviewed-by: wkemper, shade
2025-06-12 15:02:38 +00:00
Afshin Zafari
fae9c7a3f0 8351661: NMT: VMATree should support separate call-stacks for reserve and commit operations
Reviewed-by: gziemski, jsjolen
2025-06-12 14:46:39 +00:00
Emanuel Peter
dd68829017 8347273: C2: VerifyIterativeGVN for Ideal and Identity
Reviewed-by: chagedorn, mhaessig
2025-06-12 14:19:08 +00:00
Emanuel Peter
b85fe02be5 8358600: Template-Framework Library: Template for TestFramework test class
Reviewed-by: chagedorn, mhaessig
2025-06-12 14:12:14 +00:00
Radim Vansa
e18277b470 8352075: Perf regression accessing fields
Reviewed-by: coleenp, iklam, jsjolen
2025-06-12 12:29:15 +00:00
Rohitash Kumar
e5ce5c57c8 8357959: (bf) ByteBuffer.allocateDirect initialization can result in large TTSP spikes
Reviewed-by: shade, alanb
2025-06-12 12:23:42 +00:00
kabutz
91fdd72c97 8355726: LinkedBlockingDeque fixes and improvements
Reviewed-by: vklang, dl
2025-06-12 11:44:04 +00:00
Marc Chevalier
b6ec93b038 8359121: C2: Region added by vectorizedMismatch intrinsic can survive as a dead node after IGVN
Reviewed-by: thartmann, chagedorn
2025-06-12 11:40:31 +00:00
Anjian Wen
65e63b6ab4 8359218: RISC-V: Only enable CRC32 intrinsic when AvoidUnalignedAccess == false
Reviewed-by: fyang, fjiang
2025-06-12 10:44:47 +00:00
Johannes Bechberger
3f0fef2c9c 8359135: New test TestCPUTimeSampleThrottling fails intermittently
Reviewed-by: mdoerr
2025-06-12 08:54:21 +00:00
SendaoYan
3e0ef832cc 8359083: Test jdkCheckHtml.java should report SkippedException rather than report fails when miss tidy
Reviewed-by: hannesw
2025-06-12 08:18:00 +00:00
SendaoYan
7b7136b4ec 8359181: Error messages generated by configure --help after 8301197
Reviewed-by: erikj, ihse
2025-06-12 08:10:27 +00:00
SendaoYan
5886ef728f 8359182: Use @requires instead of SkippedException for MaxPath.java
Reviewed-by: bpb, bchristi
2025-06-12 07:51:29 +00:00
Matthias Baesken
d7aa349820 8357826: Avoid running some jtreg tests when asan is configured
Reviewed-by: sspitsyn, amitkumar, lmesnik, syan, lucy, cjplummer
2025-06-12 07:08:39 +00:00
Ioi Lam
3b32f6a8ec 8344556: [Graal] compiler/intrinsics/bmi/* fail when AOTCache cannot be loaded
Reviewed-by: dnsimon, kvn
2025-06-12 00:41:39 +00:00
Serguei Spitsyn
8f73357004 8358815: Exception event spec has stale reference to catch_klass parameter
Reviewed-by: cjplummer, alanb
2025-06-11 18:51:54 +00:00
Calvin Cheung
429158218b 8357382: runtime/cds/appcds/aotClassLinking/BulkLoaderTest.java#aot fails with Xcomp and C1
Reviewed-by: iklam, kvn
2025-06-11 18:10:34 +00:00
Mohamed Issa
ef4cbec6fb 8358556: Assert when running with -XX:-UseLibmIntrinsic
Reviewed-by: sviswanathan, kvn
2025-06-11 17:47:03 +00:00
Naoto Sato
e9216efefc 8358734: Remove JavaTimeSupplementary resource bundles
Reviewed-by: jlu, joehw, iris
2025-06-11 16:04:26 +00:00
Alan Bateman
e5196fc24d 8358764: (sc) SocketChannel.close when thread blocked in read causes connection to be reset (win)
Reviewed-by: jpai, vyazici
2025-06-11 14:09:45 +00:00
Jatin Bhateja
c98dffa186 8357982: Fix several failing BMI tests with -XX:+UseAPX
Reviewed-by: epeter, sviswanathan
2025-06-11 13:48:56 +00:00
Matthias Baesken
7d7fc69355 8357570: [macOS] os::Bsd::available_memory() might return too low values
Reviewed-by: clanger, mdoerr, lucy
2025-06-11 13:32:57 +00:00
Anton Artemov
42ab8fcfb9 8265754: Move suspend/resume API from HandshakeState
Reviewed-by: coleenp, dholmes, pchilanomate
2025-06-11 12:42:57 +00:00
Benoît Maillard
bf7d40d048 8356751: IGV: clean up redundant field _should_send_method
Co-authored-by: Manuel Hässig <mhaessig@openjdk.org>
Reviewed-by: mhaessig, thartmann, dfenacci
2025-06-11 11:08:38 +00:00
Khalid Boulanouare
5ae32c4c86 8352149: Test java/awt/Frame/MultiScreenTest.java fails: Window list is empty
Reviewed-by: aivanov, abhiscxk
2025-06-11 10:25:28 +00:00
Martin Doerr
56ce70c5df 8359165: AIX build broken after 8358799
Reviewed-by: kbarrett, jkern
2025-06-11 08:28:48 +00:00
Martin Doerr
abc76c6b5b 8359126: [AIX] new test TestImplicitNullChecks.java fails
Reviewed-by: rcastanedalo, dbriemann
2025-06-11 08:28:31 +00:00
Rajan Halade
9586817cea 8359170: Add 2 TLS and 2 CS Sectigo roots
Reviewed-by: mullan
2025-06-10 21:59:29 +00:00
Albert Mingkun Yang
38b877e941 8358294: Remove unnecessary GenAlignment
Reviewed-by: iwalulya, tschatzl
2025-06-10 20:10:19 +00:00
Alex Menkov
8f487d26c0 8358577: Test serviceability/jvmti/thread/GetCurrentContendedMonitor/contmon01/contmon01.java failed: unexpexcted monitor object
Reviewed-by: cjplummer, syan, sspitsyn
2025-06-10 19:05:08 +00:00
Calvin Cheung
500a3a2d0a 8358799: Refactor os::jvm_path()
Reviewed-by: dholmes, jsjolen
2025-06-10 16:20:33 +00:00
Roland Westrelin
a2f99fd88b 8354383: C2: enable sinking of Type nodes out of loop
Reviewed-by: chagedorn, thartmann
2025-06-10 14:19:19 +00:00
Daniel Fuchs
0582bd290d 8357639: DigestEchoClient fails intermittently due to: java.io.IOException: Data received while in pool
Reviewed-by: djelinski
2025-06-10 11:01:50 +00:00
Varada M
3ff83ec49e 8358159: Empty mode/padding in cipher transformations
Reviewed-by: amitkumar, valeriep
2025-06-10 08:17:52 +00:00
Benoît Maillard
7c9c8ba363 8356780: PhaseMacroExpand::_has_locks is unused
Reviewed-by: mhaessig, chagedorn, kvn, mchevalier
2025-06-10 07:27:10 +00:00
Aleksey Shipilev
ca7b885873 8358749: Fix input checks in Vector API intrinsics
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: vlivanov, sviswanathan
2025-06-10 06:15:13 +00:00
Matthias Bläsing
92be7821f5 8353950: Clipboard interaction on Windows is unstable
8332271: Reading data from the clipboard from multiple threads crashes the JVM

Reviewed-by: abhiscxk, dnguyen
2025-06-10 00:21:18 +00:00
David Holmes
bcf860703d 8355792: Remove expired flags in JDK 26
Reviewed-by: coleenp, kvn
2025-06-09 22:25:20 +00:00
Ioi Lam
d186dacdb7 8357591: Re-enable CDS test cases for jvmci after JDK-8345826
Reviewed-by: dholmes, kvn
2025-06-09 21:54:55 +00:00
David Holmes
ef45c8154c 8346237: Obsolete the UseOprofile flag
Reviewed-by: coleenp, kvn
2025-06-09 20:59:30 +00:00
Justin Lu
cd9b1bc820 8358426: Improve lazy computation in Locale
Reviewed-by: naoto, liach
2025-06-09 20:49:33 +00:00
Naoto Sato
fcb68ea22d 8358626: Emit UTF-8 CLDR resources
Reviewed-by: erikj, vyazici
2025-06-09 19:03:21 +00:00
Coleen Phillimore
eb256deb80 8358326: Use oopFactory array allocation
Reviewed-by: fparain, stefank
2025-06-09 18:33:00 +00:00
Magnus Ihse Bursie
156187accc 8356978: Convert unicode sequences in Java source code to UTF-8
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: naoto, prr, joehw
2025-06-09 17:58:49 +00:00
kieran-farrell
a377773fa7 8358617: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails with 403 due to system proxies
Reviewed-by: dfuchs
2025-06-09 17:39:39 +00:00
Jiangli Zhou
cae1fd3385 8357632: CDS test failures on static JDK
Reviewed-by: ccheung, dholmes
2025-06-09 16:08:18 +00:00
Phil Race
eb8ee8bdc7 8358731: Remove jdk.internal.access.JavaAWTAccess.java
Reviewed-by: dfuchs, serb
2025-06-09 16:01:18 +00:00
Alexander Zvegintsev
2103dc15cb 8358452: JNI exception pending in Java_sun_awt_screencast_ScreencastHelper_remoteDesktopKeyImpl of screencast_pipewire.c:1214 (ID: 51119)
Reviewed-by: psadhukhan, serb, aivanov, avu
2025-06-09 13:35:01 +00:00
Joel Sikström
1c72b350e4 8357053: ZGC: Improved utility for ZPageAge
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: sjohanss, stefank
2025-06-09 09:03:12 +00:00
Per Minborg
52338c94f6 8358520: Improve lazy computation in BreakIteratorResourceBundle and related classes
Reviewed-by: naoto, jlu
2025-06-09 07:00:51 +00:00
Roberto Castañeda Lozano
91f12600d2 8345067: C2: enable implicit null checks for ZGC reads
Reviewed-by: aboldtch, kvn, epeter
2025-06-09 06:23:17 +00:00
Daniel Skantz
6c616c71ec 8357822: C2: Multiple string optimization tests are no longer testing string concatenation optimizations
Reviewed-by: rcastanedalo, epeter
2025-06-09 06:11:05 +00:00
Kim Barrett
e94ad551c6 8342639: Global operator new in adlc has wrong exception spec
Reviewed-by: kvn, mdoerr
2025-06-07 20:34:34 +00:00
Rajan Halade
d735255919 8345414: Google CAInterop test failures
Reviewed-by: weijun
Backport-of: 8e9ba788ae
2025-06-06 21:35:21 +00:00
Stuart Marks
d024f58e61 8358809: Improve link to stdin.encoding from java.lang.IO
Reviewed-by: naoto
2025-06-06 20:07:43 +00:00
Alexandre Iline
026975a1aa 8358721: Update JCov for class file version 70
Reviewed-by: iris, alanb, erikj
2025-06-06 15:05:43 +00:00
Vicente Romero
8adb052b46 8341778: Some javac tests ignore the result of JavacTask::call
Reviewed-by: shade
2025-06-06 14:11:27 +00:00
Hamlin Li
9658cecde3 8358685: [TEST] AOTLoggingTag.java failed with missing log message
Reviewed-by: iklam, shade
2025-06-06 13:59:17 +00:00
Fernando Guallini
b2e7cda6a0 8358171: Additional code coverage for PEM API
Reviewed-by: ascarpino
2025-06-06 09:53:25 +00:00
Harald Eilertsen
65fda5c02a 8358593: Add ucontext accessors for *BSD on Aarch64
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kurt Miller <bsdkurt@gmail.com>
Reviewed-by: aph
2025-06-06 08:16:37 +00:00
Benoît Maillard
d1b788005b 8357951: Remove the IdealLoopTree* loop parameter from PhaseIdealLoop::loop_iv_phi
Reviewed-by: thartmann, mhaessig
2025-06-06 08:16:15 +00:00
Volkan Yazici
bb2611ad43 8357993: Use "stdin.encoding" for reading System.in with InputStreamReader/Scanner [hotspot]
Reviewed-by: cjplummer, sspitsyn
2025-06-06 06:53:10 +00:00
Volkan Yazici
e918a59b1d 8357821: Revert incorrectly named JavaLangAccess::unchecked* methods
Reviewed-by: pminborg
2025-06-06 06:26:09 +00:00
Amit Kumar
28acca609b 8358653: [s390] Clean up comments regarding frame manager
Reviewed-by: mdoerr
2025-06-06 03:50:06 +00:00
Jaikiran Pai
029e3bf8f5 8349914: ZipFile::entries and ZipFile::getInputStream not consistent with each other when there are duplicate entries
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Reviewed-by: lancea
2025-06-06 02:07:51 +00:00
Anthony Scarpino
78158f30ae 8358099: PEM spec updates
Reviewed-by: mullan
2025-06-05 22:13:24 +00:00
Archie Cobbs
c793de989f 8350212: Track source end positions of declarations that support @SuppressWarnings
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: mcimadamore
2025-06-05 21:57:33 +00:00
Andrey Turbanov
15178aa298 8357688: Remove unnecessary List.get before remove in PopupFactory
Reviewed-by: azvegint, kizune, serb
2025-06-05 20:19:53 +00:00
Christian Stein
fe3be498b8 8357141: Update to use jtreg 7.5.2
Reviewed-by: erikj, ihse, iris
2025-06-05 17:30:01 +00:00
Cesar Soares Lucas
62fde68708 8357396: Refactor nmethod::make_not_entrant to use Enum instead of "const char*"
Reviewed-by: mhaessig, shade
2025-06-05 16:43:29 +00:00
Nizar Benalla
af87035b71 8355746: Start of release updates for JDK 26
8355748: Add SourceVersion.RELEASE_26
8355751: Add source 26 and target 26 to javac

Co-authored-by: Joe Darcy <darcy@openjdk.org>
Reviewed-by: iris, coleenp, darcy
2025-06-05 16:01:32 +00:00
Patricio Chilano Mateo
c59e44a7aa 8357914: TestEmptyBootstrapMethodsAttr.java fails when run with TEST_THREAD_FACTORY=Virtual
Reviewed-by: lmesnik, dholmes, sspitsyn, syan
2025-06-05 15:02:02 +00:00
Dmitry Chuyko
23f1d4f9a9 8337666: AArch64: SHA3 GPR intrinsic
Reviewed-by: aph
2025-06-05 14:28:27 +00:00
Erik Gahlin
33ed7c1842 8358689: test/micro/org/openjdk/bench/java/net/SocketEventOverhead.java does not build after JDK-8351594
Reviewed-by: alanb
2025-06-05 13:08:48 +00:00
Viktor Klang
782bbca439 8358633: Test ThreadPoolExecutorTest::testTimedInvokeAnyNullTimeUnit is broken by JDK-8347491
Reviewed-by: alanb
2025-06-05 12:04:57 +00:00
Erik Gahlin
6cdfd36ac8 8358590: JFR: Include min and max in MethodTiming event
Reviewed-by: mgronlun
2025-06-05 11:42:31 +00:00
Erik Gahlin
eb770a060a 8351594: JFR: Rate-limited sampling of Java events
Reviewed-by: mgronlun, alanb
2025-06-05 11:36:08 +00:00
Nizar Benalla
c5daf89053 8349369: test/docs/jdk/javadoc/doccheck/checks/jdkCheckLinks.java did not report on missing man page files
Reviewed-by: hannesw
2025-06-05 11:05:52 +00:00
Nizar Benalla
bd08932d5b 8356633: Incorrect use of {@link} in jdk.jshell
Reviewed-by: rgiulietti, vyazici
2025-06-05 10:31:23 +00:00
Markus Grönlund
d450e341c7 8357962: JFR Cooperative Sampling reveals inconsistent interpreter frames as part of JVMTI PopFrame
Reviewed-by: dholmes, eosterlund
2025-06-05 10:14:41 +00:00
Magnus Ihse Bursie
66feb490bd 8358543: Remove CommentChecker.java and DirDiff.java
Reviewed-by: erikj
2025-06-05 09:30:44 +00:00
Aleksey Shipilev
dc949003de 8358588: ThreadSnapshot.ThreadLock should be static nested class
Reviewed-by: alanb, sspitsyn, amenkov
2025-06-05 09:02:23 +00:00
Johannes Bechberger
ace70a6d6a 8358666: [REDO] Implement JEP 509: JFR CPU-Time Profiling
Reviewed-by: mgronlun
2025-06-05 08:18:18 +00:00
Dingli Zhang
48b97ac0e0 8358634: RISC-V: Fix several broken documentation web-links
Reviewed-by: fyang
2025-06-05 07:34:48 +00:00
Jaikiran Pai
08023481ed 8358558: (zipfs) Reorder the listing of "accessMode" property in the ZIP file system's documentation
Reviewed-by: dfuchs, vyazici, alanb, lancea
2025-06-05 04:24:05 +00:00
Vladimir Kozlov
849655a145 8358632: [asan] reports heap-buffer-overflow in AOTCodeCache::copy_bytes
Reviewed-by: vlivanov, iveresov
2025-06-05 03:25:46 +00:00
Hannes Greule
575806c0e5 8358078: javap crashes with NPE on preview class file
Reviewed-by: liach
2025-06-05 01:41:21 +00:00
David Holmes
8f8b367ae3 8350029: Illegal invokespecial interface not caught by verification
Reviewed-by: coleenp, matsaave
2025-06-05 00:35:26 +00:00
Markus Grönlund
9186cc7310 8358628: [BACKOUT] 8342818: Implement JEP 509: JFR CPU-Time Profiling
Reviewed-by: pchilanomate, dholmes
2025-06-04 23:55:18 +00:00
Magnus Ihse Bursie
b787ff6def 8358538: Update GHA Windows runner to 2025
Reviewed-by: shade
2025-06-04 23:19:33 +00:00
Johannes Bechberger
5b27e9c2df 8342818: Implement JEP 509: JFR CPU-Time Profiling
Reviewed-by: mgronlun, mdoerr, pchilanomate, apangin, shade
2025-06-04 22:08:58 +00:00
Aleksey Shipilev
3cf3e4bbec 8358339: Handle MethodCounters::_method backlinks after JDK-8355003
Reviewed-by: coleenp, kvn, iveresov
2025-06-04 21:32:29 +00:00
Joe Darcy
77c110c309 8357000: Write overview documentation for start of release changes
Reviewed-by: erikj, iris, ihse, dholmes
2025-06-04 20:03:48 +00:00
Ian Graves
901144ee0d 8358217: jdk/incubator/vector/PreferredSpeciesTest.java#id0 failures - expected [128] but found [256]
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: syan, psandoz
2025-06-04 19:46:30 +00:00
Justin Lu
8f821175cc 8358170: Repurpose testCompat in test/jdk/java/util/TimeZone/Bug8167143.java
Reviewed-by: naoto
2025-06-04 18:46:31 +00:00
Matthew Donovan
5ed246d17d 8357592: Update output parsing in test/jdk/sun/security/tools/jarsigner/compatibility/Compatibility.java
Reviewed-by: rhalade
2025-06-04 18:07:07 +00:00
Sergey Bylokhov
8939acc8ab 8358057: Update validation of ICC_Profile header data
Reviewed-by: honkar
2025-06-04 17:53:17 +00:00
Ashutosh Mehra
fd0ab04367 8358330: AsmRemarks and DbgStrings clear() method may not get called before their destructor
Reviewed-by: kvn
2025-06-04 16:52:38 +00:00
Justin Lu
8a79ac8863 8358449: Locale.getISOCountries does not specify the returned set is unmodifiable
Reviewed-by: naoto
2025-06-04 16:40:22 +00:00
Stuart Marks
ef47635d5a 8358015: Fix SequencedMap sequenced view method specifications
Reviewed-by: jpai, bchristi
2025-06-04 16:14:31 +00:00
Stefan Karlsson
c909216446 8357443: ZGC: Optimize old page iteration in remap remembered phase
Reviewed-by: aboldtch, eosterlund
2025-06-04 14:56:20 +00:00
Aleksey Shipilev
4e314cb9e0 8356000: C1/C2-only modes use 2 compiler threads on low CPU count machines
Reviewed-by: kvn, dfenacci, galder
2025-06-04 14:21:34 +00:00
Matias Saavedra Silva
a2723d91df 8345347: Test runtime/cds/TestDefaultArchiveLoading.java should accept VM flags or be marked as flagless
Reviewed-by: lmesnik, stefank, ccheung
2025-06-04 14:16:20 +00:00
Igor Veresov
ae1892fb0f 8358003: KlassTrainingData initializer reads garbage holder
Reviewed-by: coleenp, shade, vlivanov
2025-06-04 14:07:49 +00:00
Tom Shull
0352477ff5 8357660: [JVMCI] Add support for retrieving all BootstrapMethodInvocations directly from ConstantPool
Reviewed-by: dnsimon, yzheng
2025-06-04 13:50:36 +00:00
Erik Gahlin
a653ff4893 8358536: jdk/jfr/api/consumer/TestRecordingFileWrite.java times out
Reviewed-by: mgronlun
2025-06-04 13:39:31 +00:00
Emanuel Peter
248341d372 8344942: Template-Based Testing Framework
Co-authored-by: Tobias Hartmann <thartmann@openjdk.org>
Co-authored-by: Tobias Holenstein <tholenstein@openjdk.org>
Co-authored-by: Theo Weidmann <tweidmann@openjdk.org>
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Co-authored-by: Manuel Hässig <mhaessig@openjdk.org>
Reviewed-by: chagedorn, mhaessig, rcastanedalo
2025-06-04 13:16:24 +00:00
Archie Cobbs
09ec4de74d 8358066: Non-ascii package names gives compilation error "import requires canonical name"
Reviewed-by: jlahoda, naoto
2025-06-04 12:56:18 +00:00
Robbin Ehn
dc961609f8 8356159: RISC-V: Add Zabha
Reviewed-by: fyang, fjiang
2025-06-04 12:43:23 +00:00
Alan Bateman
7838321b74 8358496: Concurrent reading from Socket with timeout executes sequentially
Reviewed-by: dfuchs
2025-06-04 09:52:45 +00:00
Sean Coffey
42f48a39e8 8350689: Turn on timestamp and thread metadata by default for java.security.debug
Reviewed-by: mullan
2025-06-04 09:41:51 +00:00
Matthias Baesken
cd16b68962 8357155: [asan] ZGC does not work (x86_64 and ppc64)
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: mdoerr, aboldtch
2025-06-04 09:06:46 +00:00
Martin Doerr
ab23500034 8354636: [PPC64] Clean up comments regarding frame manager
Reviewed-by: amitkumar, rrich
2025-06-04 08:31:37 +00:00
He-Pin(kerr)
f141674d16 8347491: IllegalArgumentationException thrown by ThreadPoolExecutor doesn't have a useful message
Reviewed-by: vklang, liach, pminborg
2025-06-04 08:28:29 +00:00
Markus Grönlund
b6d60280e7 8358429: JFR: minimize the time the Threads_lock is held for sampling
Reviewed-by: egahlin
2025-06-04 08:20:48 +00:00
Markus Grönlund
955bfcd550 8357671: JFR: Remove JfrTraceIdEpoch synchronizing
Reviewed-by: egahlin
2025-06-04 08:19:24 +00:00
Magnus Ihse Bursie
edf92721c2 8356977: UTF-8 cleanups
Reviewed-by: naoto, prr
2025-06-04 08:10:42 +00:00
Jaikiran Pai
b5cfd76c04 8358456: ZipFile.getInputStream(ZipEntry) throws unspecified IllegalArgumentException
Reviewed-by: lancea
2025-06-04 06:38:06 +00:00
Aleksey Shipilev
683319f25c 8357798: ReverseOrderListView uses Boolean boxes after JDK-8356080
Reviewed-by: liach, smarks
2025-06-04 06:04:05 +00:00
Aleksey Shipilev
b918dc84ec 8357434: x86: Simplify Interpreter::profile_taken_branch
Reviewed-by: kvn, vlivanov
2025-06-04 06:02:49 +00:00
Alan Bateman
f17b2bc06a 8356870: HotSpotDiagnosticMXBean.dumpThreads and jcmd Thread.dump_to_file updates
Reviewed-by: sspitsyn, kevinw
2025-06-04 04:10:10 +00:00
Vladimir Kozlov
ebd85288ce 8358289: [asan] runtime/cds/appcds/aotCode/AOTCodeFlags.java reports heap-buffer-overflow in ArchiveBuilder
Reviewed-by: shade, iklam, asmehra
2025-06-04 02:14:17 +00:00
Anjian Wen
939521b8e4 8358105: RISC-V: Optimize interpreter profile updates
Reviewed-by: fjiang, fyang
2025-06-04 02:03:22 +00:00
Cesar Soares Lucas
2345065166 8357600: Patch nmethod flushing message to include more details
Reviewed-by: shade, kvn
2025-06-03 23:39:32 +00:00
Naoto Sato
9c74d54514 8358158: test/jdk/java/io/Console/CharsetTest.java failing with NoClassDefFoundError: jtreg/SkippedException
Reviewed-by: joehw, jlu, iris
2025-06-03 23:28:00 +00:00
Daniel Gredler
939753579b 8356803: Test TextLayout/TestControls fails on windows & linux: line and paragraph separator show non-zero advance
8356812: Create an automated version of TextLayout/TestControls

Reviewed-by: prr, honkar
2025-06-03 23:27:44 +00:00
Alex Menkov
da49fa5e15 8354460: Streaming output for attach API should be turned on by default
Reviewed-by: sspitsyn, kevinw
2025-06-03 20:47:17 +00:00
Cesar Soares Lucas
704b5990a7 8358534: Bailout in Conv2B::Ideal when type of cmp input is not supported
Reviewed-by: shade
2025-06-03 20:15:20 +00:00
Tom Shull
e235b61a8b 8357987: [JVMCI] Add support for retrieving all methods of a ResolvedJavaType
Reviewed-by: dnsimon, yzheng, never
2025-06-03 19:38:58 +00:00
Magnus Ihse Bursie
a44a470052 8358515: make cmp-baseline is broken after JDK-8349665
Reviewed-by: erikj
2025-06-03 19:23:29 +00:00
Stefan Lobbenmeier
cc11b7d1f5 8356128: Correct documentation for --linux-package-deps
Reviewed-by: asemenyuk, almatvee
2025-06-03 19:22:52 +00:00
Alex Menkov
406f1bc5b9 8357650: ThreadSnapshot to take snapshot of thread for thread dumps
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Alex Menkov <amenkov@openjdk.org>
Reviewed-by: sspitsyn, kevinw
2025-06-03 18:46:55 +00:00
Daniel D. Daugherty
e984fa7997 8358539: ProblemList jdk/jfr/api/consumer/TestRecordingFileWrite.java
Reviewed-by: ayang, bpb
2025-06-03 18:41:05 +00:00
Alisen Chung
461cb84277 8345538: Robot.mouseMove doesn't clamp bounds on macOS when trying to move mouse off screen
Reviewed-by: honkar, prr
2025-06-03 18:02:47 +00:00
Chris Plummer
c382da5798 8358178: Some nsk/jdi tests should be run with includevirtualthreads=y even though they pass without
Reviewed-by: sspitsyn, lmesnik
2025-06-03 17:19:31 +00:00
Larry Cable
44d62c8e21 8358077: sun.tools.attach.VirtualMachineImpl::checkCatchesAndSendQuitTo on Linux leaks file handles after JDK-8327114
Reviewed-by: kevinw, sspitsyn, syan
2025-06-03 17:13:22 +00:00
Jatin Bhateja
d7e58ac480 8351635: C2 ROR/ROL: assert failed: Long constant expected
Reviewed-by: thartmann, chagedorn
2025-06-03 17:00:54 +00:00
Brian Burkhalter
57862005f9 8354450: A File should be invalid if an element of its name sequence ends with a space
Reviewed-by: alanb
2025-06-03 16:32:12 +00:00
Justin Lu
04c15466f6 8358095: Cleanup tests with explicit locale provider set to only CLDR
Reviewed-by: bpb, naoto
2025-06-03 16:13:14 +00:00
Patricio Chilano Mateo
16e120b008 8357910: LoaderConstraintsTest.java fails when run with TEST_THREAD_FACTORY=Virtual
Reviewed-by: dholmes, coleenp
2025-06-03 16:12:53 +00:00
Erik Gahlin
d7def20afa 8358448: JFR: Incorrect time unit for MethodTiming event
Reviewed-by: mgronlun, ayang
2025-06-03 16:02:14 +00:00
Brian Burkhalter
4604c86d2f 8357425: (fs) SecureDirectoryStream setPermissions should use fchmodat
Reviewed-by: alanb
2025-06-03 15:43:26 +00:00
Michael McMahon
b6f827ef05 8348986: Improve coverage of enhanced exception messages
Reviewed-by: dfuchs
2025-06-03 15:36:29 +00:00
Igor Veresov
01f01b6f7b 8358283: Inconsistent failure mode for MetaspaceObj::operator new(size_t, MemTag)
Reviewed-by: kvn, kbarrett
2025-06-03 15:31:07 +00:00
Yudi Zheng
faf19abd31 8358333: Use VEX2 prefix in Assembler::psllq
Reviewed-by: jbhateja, thartmann
2025-06-03 15:10:53 +00:00
Archie Cobbs
e2f736658f 8329951: var emits deprecation warnings that do not point to the file or position
Reviewed-by: vromero
2025-06-03 14:35:17 +00:00
Erik Österlund
d3f54dae30 8357954: G1: No SATB barriers applied for runtime IN_NATIVE atomics
Reviewed-by: shade, kbarrett, tschatzl
2025-06-03 14:27:41 +00:00
Axel Boldt-Christmas
4618374269 8358310: ZGC: riscv, ppc ZPlatformAddressOffsetBits may return a too large value
Reviewed-by: eosterlund, mdoerr, fyang
2025-06-03 12:15:08 +00:00
Joel Sikström
78a392aa3b 8356880: ZGC: Backoff in ZLiveMap::reset spin-loop
Reviewed-by: stefank, eosterlund, aboldtch
2025-06-03 11:42:10 +00:00
Kim Barrett
c1a81cfb51 8358284: doc/testing.html is not up to date after JDK-8355003
Reviewed-by: jwaters, dholmes, erikj
2025-06-03 10:08:32 +00:00
Axel Boldt-Christmas
def7355cc9 8356716: ZGC: Cleanup Uncommit Logic
Reviewed-by: eosterlund, jsikstro
2025-06-03 09:36:21 +00:00
Martin Doerr
457d9de81d 8358013: [PPC64] VSX has poor performance on Power8
Reviewed-by: dbriemann, clanger
2025-06-03 09:24:13 +00:00
Chad Rakoczy
4402527683 8357223: AArch64: Optimize interpreter profile updates
Reviewed-by: shade, aph
2025-06-03 08:55:34 +00:00
Aleksey Shipilev
8674f49127 8358318: JFR: Tighten up PlatformTracer initialization
Reviewed-by: egahlin
2025-06-03 08:30:17 +00:00
Aleksey Shipilev
6f783e5fab 8358319: Pem.decode should cache the Pattern
Reviewed-by: ascarpino
2025-06-03 08:14:23 +00:00
Aleksey Shipilev
cff75eb606 8358316: PKCS8Key.getEncoded() can throw NPE after JDK-8298420
Reviewed-by: ascarpino
2025-06-03 08:14:05 +00:00
Marc Chevalier
be923a8b72 8353266: C2: Wrong execution with Integer.bitCount(int) intrinsic on AArch64
Reviewed-by: aph, thartmann
2025-06-03 08:06:43 +00:00
Albert Mingkun Yang
dbf562c725 8358313: G1: Refactor G1CollectedHeap::is_maximal_no_gc
Reviewed-by: jsikstro, tschatzl
2025-06-03 07:25:54 +00:00
Doug Simon
6cfd4057dc 8357619: [JVMCI] Revisit phantom_ref parameter in JVMCINMethodData::get_nmethod_mirror
Reviewed-by: eosterlund, never
2025-06-03 06:20:29 +00:00
Doug Simon
497a1822ca 8358254: [AOT] runtime/cds/appcds/applications/JavacBench.java#aot crashes with SEGV in ClassLoaderData::holder
Reviewed-by: never
2025-06-03 06:19:23 +00:00
Roman Marchenko
c5f235c000 8347826: Introspector shows wrong method list after 8071693
Reviewed-by: azvegint, serb, aivanov
2025-06-03 06:00:28 +00:00
David Beaumont
832c5b06e8 8350880: (zipfs) Add support for read-only zip file systems
Reviewed-by: lancea, alanb, jpai
2025-06-03 04:01:09 +00:00
Manuel Hässig
24edd3b2c1 8354930: IGV: dump C2 graph before and after live range stretching
Reviewed-by: rcastanedalo, chagedorn
2025-06-03 03:19:19 +00:00
Qizheng Xing
c96803dc8b 8358035: Remove unused compute_fingerprint declaration in ClassFileStream
Reviewed-by: ccheung, iklam
2025-06-03 03:09:18 +00:00
Harshitha Onkar
e490b4f04d 8357082: Stabilize and add debug logs to CopyAreaOOB.java
Reviewed-by: serb
2025-06-02 21:52:08 +00:00
Sergey Bylokhov
0418b3295a 8357696: Enhance code consistency: java.desktop/unix
Reviewed-by: prr
2025-06-02 20:23:14 +00:00
Chris Plummer
5243f3851b 8357924: Remove runtime/ErrorHandling/CreateCoredumpOnCrash.java from problem list for macosx-x64
Reviewed-by: syan, dholmes
2025-06-02 19:07:29 +00:00
Erik Gahlin
1373ceb7f3 8356698: JFR: @Contextual
Reviewed-by: mgronlun
2025-06-02 18:22:35 +00:00
Alex Menkov
ec02a87aee 8345745: Update mode of the Attach API communication pipe.
Reviewed-by: sspitsyn, kevinw
2025-06-02 18:13:24 +00:00
Magnus Ihse Bursie
a7671e7360 8358337: JDK-8357991 was committed with incorrect indentation
Reviewed-by: shade
2025-06-02 17:06:45 +00:00
Ioi Lam
bce2bd24ef 8356308: Assert with -Xlog:class+path when classpath has an empty element
Reviewed-by: dholmes, ccheung
2025-06-02 16:52:05 +00:00
Calvin Cheung
8b6a11f7e0 8352187: Don't start management agent during AOT cache creation
Reviewed-by: shade, iklam, kvn
2025-06-02 16:51:44 +00:00
Magnus Ihse Bursie
ab5de45636 8357991: make bootcycle-images is broken after JDK-8349665
Reviewed-by: erikj
2025-06-02 16:50:10 +00:00
William Kemper
99a4b22ae7 8358102: GenShen: Age tables could be seeded with cumulative values
Reviewed-by: ysr
2025-06-02 16:48:16 +00:00
Matias Saavedra Silva
1b6ae2059b 8357576: FieldInfo::_index is not initialized by the constructor
Reviewed-by: coleenp, dholmes
2025-06-02 15:29:30 +00:00
Hannes Wallnöfer
daab7b5cee 8357796: Stylesheet adjustments after JDK-8357452
Reviewed-by: rriggs
2025-06-02 15:27:14 +00:00
Phil Race
a4eb15195c 8357672: Extreme font sizes can cause font substitution
Reviewed-by: dmarkov, jdv
2025-06-02 15:24:09 +00:00
Aleksey Shipilev
b3594c9e55 8357481: Excessive CompileTask wait/notify monitor creation
Reviewed-by: vlivanov, kvn
2025-06-02 13:08:41 +00:00
Erik Österlund
83b15da2eb 8351997: AArch64: Interpreter volatile reference stores with G1 are not sequentially consistent
Reviewed-by: shade, aph, fbredberg
2025-06-02 12:26:08 +00:00
Coleen Phillimore
c22af0c29e 8358205: Remove unused JFR array allocation code
Reviewed-by: kbarrett, mgronlun
2025-06-02 11:50:50 +00:00
Viktor Klang
83cb0c6de5 8358151: Harden JSR166 Test case testShutdownNow_delayedTasks
Reviewed-by: alanb, shade
2025-06-02 09:22:37 +00:00
Martin Doerr
612f2c0c0b 8357981: [PPC64] Remove old instructions from VM_Version::determine_features()
Reviewed-by: dbriemann, mbaesken
2025-06-02 09:21:31 +00:00
Roman Kennke
eb9badd8a4 8358169: Shenandoah/JVMCI: Export GC state constants
Reviewed-by: dnsimon, shade
2025-06-02 08:57:16 +00:00
Guoxiong Li
a9e7a74d00 8357109: Parallel: Fix typo in YoungedGeneration
Reviewed-by: ayang, zgu, tschatzl
2025-06-02 08:47:36 +00:00
Martin Doerr
ba9f44c90f 8357793: [PPC64] VM crashes with -XX:-UseSIGTRAP -XX:-ImplicitNullChecks
Reviewed-by: shade, dbriemann
2025-06-02 08:31:10 +00:00
Martin Doerr
40ce05d408 8358231: Template interpreter generator crashes with ShouldNotReachHere on some platforms after 8353686
Reviewed-by: shade, amitkumar, mbaesken, kvn
2025-06-02 08:28:10 +00:00
Albert Mingkun Yang
6418306211 8357944: Remove unused CollectedHeap::is_maximal_no_gc
Reviewed-by: jsikstro, tschatzl
2025-06-02 08:23:06 +00:00
Thomas Schatzl
3f59bfd2e1 8334759: gc/g1/TestMixedGCLiveThreshold.java fails on Windows with JTREG_TEST_THREAD_FACTORY=Virtual due to extra memory allocation
Reviewed-by: ayang, iwalulya
2025-06-02 07:59:10 +00:00
Robbin Ehn
c5a1543ee3 8357968: RISC-V: Interpreter volatile reference stores with G1 are not sequentially consistent
Reviewed-by: eosterlund, fbredberg, shade, fyang
2025-06-02 05:43:20 +00:00
Prasanta Sadhukhan
90d6ad0157 8356594: JSplitPane loses divider location when reopened via JOptionPane.createDialog()
Reviewed-by: kizune
2025-06-02 02:06:06 +00:00
David Holmes
3193a28c53 8358259: ProblemList compiler/startup/StartupOutput.java on Windows
Reviewed-by: darcy
2025-06-01 23:36:25 +00:00
Igor Veresov
85e36d7924 8358236: [AOT] Graal crashes when trying to use persisted MDOs
Reviewed-by: kvn
2025-06-01 21:21:27 +00:00
Matthias Baesken
c1b5f62a8c 8358136: Make langtools/jdk/javadoc/doclet/testLinkOption/TestRedirectLinks.java intermittent
Reviewed-by: jpai, nbenalla, syan
2025-06-01 09:06:04 +00:00
Alan Bateman
ac9af69eee 8357637: Native resources cached in thread locals not released when FJP common pool threads clears thread locals
Reviewed-by: vklang
2025-06-01 06:17:50 +00:00
Vladimir Kozlov
e3eb089d47 8357175: Failure to generate or load AOT code should be handled gracefully
Reviewed-by: iveresov, asmehra
2025-06-01 03:57:28 +00:00
Mikhail Yankelevich
470ffeedda 8230016: re-visit test sun/security/pkcs11/Serialize/SerializeProvider.java
Reviewed-by: rhalade
2025-06-01 03:50:39 +00:00
Ashutosh Mehra
59dc849909 8358230: Incorrect location for the assert for blob != nullptr in CodeBlob::create
Reviewed-by: kvn
2025-06-01 01:04:54 +00:00
Srinivas Vamsi Parasa
fc3d3d9b30 8351994: Enable Extended EVEX to REX2/REX demotion when src and dst are the same
Reviewed-by: sviswanathan, jbhateja, epeter
2025-05-31 23:07:55 +00:00
Jaikiran Pai
a3f9e22263 8358218: Problemlist jdk/incubator/vector/PreferredSpeciesTest.java#id0
Reviewed-by: psandoz
2025-05-31 16:31:24 +00:00
Jaikiran Pai
84002d12ed 8228773: URLClassLoader constructors should include API note warning that the parent should not be null
Reviewed-by: alanb, mullan
2025-05-31 13:02:58 +00:00
Sergey Bylokhov
3a3ea7e17f 8357598: Toolkit.removeAWTEventListener should handle null listener in AWTEventListenerProxy
Reviewed-by: aivanov, dnguyen
2025-05-31 07:06:08 +00:00
Chad Rakoczy
19360a904b 8356949: AArch64: Tighten up template interpreter method entry code
Reviewed-by: aph, shade
2025-05-31 02:48:33 +00:00
David Briemann
061b24d4f9 8357304: [PPC64] C2: Implement MinV, MaxV and Reduction nodes
Reviewed-by: mdoerr, varadam
2025-05-31 02:47:26 +00:00
Ian Graves
c62223a5af 8358215: ProblemList jdk/incubator/vector/PreferredSpeciesTest.java
Reviewed-by: psandoz
2025-05-31 00:41:16 +00:00
Serguei Spitsyn
c67fc73595 8320189: vmTestbase/nsk/jvmti/scenarios/bcinstr/BI02/bi02t001 memory corruption when using -Xcheck:jni
Reviewed-by: lmesnik, amenkov
2025-05-31 00:40:23 +00:00
Sergey Bylokhov
d9d00d33a6 8358107: Rollback JDK-8357299 changeset
Reviewed-by: psadhukhan
2025-05-31 00:26:50 +00:00
Sergey Bylokhov
5ad02c98f1 8355004: Apply java.io.Serial annotations in java.compiler
Reviewed-by: liach, darcy
2025-05-31 00:16:40 +00:00
Bradford Wetmore
2926435d22 8341346: Add support for exporting TLS Keying Material
Reviewed-by: hchao, jnimeh, weijun
2025-05-30 23:06:36 +00:00
Mohamed Issa
0df8c9684b 8353686: Optimize Math.cbrt for x86 64 bit platforms
Reviewed-by: sviswanathan, sparasa, jbhateja
2025-05-30 21:47:20 +00:00
Alex Menkov
db340e54f8 8356222: Thread.print command reports waiting on the Class initialization monitor for both carrier and virtual threads
Reviewed-by: alanb, sspitsyn
2025-05-30 21:11:58 +00:00
Ian Graves
09301c1dc0 8356634: VectorShape#largestShapeFor should have public access
Reviewed-by: psandoz
2025-05-30 21:11:38 +00:00
Alex Menkov
abbffc0103 8358202: ProblemList vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java
Reviewed-by: sspitsyn, cjplummer
2025-05-30 21:00:34 +00:00
Chris Plummer
14e41ab055 8357172: Extend try block in nsk/jdi tests to capture exceptions thrown by Debuggee.classByName()
Reviewed-by: lmesnik, sspitsyn
2025-05-30 20:14:14 +00:00
Anthony Scarpino
c9d6e01233 8358076: KeyFactory.getInstance("EdDSA").generatePublic(null) throws NPE
Reviewed-by: weijun
2025-05-30 20:13:00 +00:00
Daniel Gredler
94039e22bb 8353230: Emoji rendering regression after JDK-8208377
Reviewed-by: prr, honkar
2025-05-30 19:16:17 +00:00
Ashutosh Mehra
b7ca672d5c 8357047: [ubsan] AdapterFingerPrint::AdapterFingerPrint runtime error: index 3 out of bounds
Reviewed-by: kvn, adinn
2025-05-30 18:26:19 +00:00
Chris Plummer
82807d43f8 8357184: Test vmTestbase/nsk/jdi/ExceptionEvent/_itself_/exevent008/TestDescription.java fails with unreported exception
Reviewed-by: lmesnik, sspitsyn
2025-05-30 17:58:46 +00:00
Chris Plummer
3cc630985d 8353955: nsk/jdi tests should be fixed to not always require includevirtualthreads=y
Reviewed-by: sspitsyn, amenkov, lmesnik
2025-05-30 17:36:03 +00:00
Naoto Sato
4fa4f15122 8357882: Use UTF-8 encoded data in LocaleDataTest
Reviewed-by: jlu, joehw
2025-05-30 17:23:52 +00:00
Naoto Sato
eaf7815ea6 8357886: Remove TimeZoneNames_* of the COMPAT locale data provider
Reviewed-by: joehw, jlu
2025-05-30 17:22:51 +00:00
Justin Lu
81464cd114 8358089: Remove the GenerateKeyList.java test tool
Reviewed-by: naoto
2025-05-30 17:13:04 +00:00
Artur Barashev
99048c3d4a 8357033: Reduce stateless session ticket size
Reviewed-by: wetmore, djelinski, ascarpino
2025-05-30 16:03:13 +00:00
Archie Cobbs
26275a10b2 8355753: @SuppressWarnings("this-escape") not respected for indirect leak via field
Reviewed-by: vromero
2025-05-30 14:42:36 +00:00
Thomas Stuefe
ae3d96a4ec 8357683: (process) SIGQUIT still blocked after JDK-8234262 with jdk.lang.Process.launchMechanism=FORK or VFORK
Reviewed-by: rriggs
2025-05-30 13:40:25 +00:00
Alexey Ivanov
12ee80cac7 8357675: Amend headless message
Reviewed-by: prr, shade
2025-05-30 13:31:35 +00:00
Anjian Wen
acd64ba24a 8357626: RISC-V: Tighten up template interpreter method entry code
Reviewed-by: fyang, fjiang
2025-05-30 10:56:37 +00:00
Qizheng Xing
a0eb1900c9 8358104: Fix ZGC compilation error on GCC 10.2
Reviewed-by: kbarrett, jsikstro
2025-05-30 09:41:08 +00:00
nibjen
566e3b21ed 8357253: Test test/jdk/sun/security/ssl/SSLSessionImpl/ResumeClientTLS12withSNI.java writes in src dir
Reviewed-by: coffeys
2025-05-30 09:22:16 +00:00
Abhishek Kumar
e33eeeea04 8341311: [Accessibility,macOS,VoiceOver] VoiceOver announces incorrect number of items in submenu of JPopupMenu
Reviewed-by: asemenov, kizune
2025-05-30 06:25:08 +00:00
Daniel Skantz
6f9e1175a9 8356246: C2: Compilation fails with "assert(bol->is_Bool()) failed: unexpected if shape" in StringConcat::eliminate_unneeded_control
Reviewed-by: rcastanedalo, kvn
2025-05-30 06:23:11 +00:00
Amit Kumar
20005511e3 8353500: [s390x] Intrinsify Unsafe::setMemory
Reviewed-by: lucy, mdoerr
2025-05-30 03:50:43 +00:00
Alexander Matveev
fd51b03910 8351369: [macos] Use --install-dir option with DMG packaging
Reviewed-by: asemenyuk
2025-05-30 03:07:04 +00:00
Prasanta Sadhukhan
64503c784b 8357299: Graphics copyArea doesn't copy any pixels when there is overflow
Reviewed-by: achung, kizune, prr
2025-05-30 02:06:56 +00:00
Alexey Semenyuk
a05f9dea18 8358017: Various enhancements of jpackage test helpers
Reviewed-by: almatvee
2025-05-29 21:44:47 +00:00
Dean Long
648c337bea 8356648: runtime/Thread/AsyncExceptionTest.java fails with +StressCompiledExceptionHandlers
Reviewed-by: thartmann, kvn
2025-05-29 21:41:49 +00:00
Boris Ulasevich
cb8eea4ecd 8356095: AArch64: Obsolete -XX:+NearCPool option
Reviewed-by: aph
2025-05-29 21:29:35 +00:00
Shaojin Wen
727412d1b5 8357690: Add @Stable and final to java.lang.CharacterDataLatin1 and other CharacterData classes
Reviewed-by: naoto
2025-05-29 20:09:58 +00:00
Shaojin Wen
d922e318bc 8349400: Improve startup speed via eliminating nested classes
Reviewed-by: valeriep, rriggs
2025-05-29 20:09:01 +00:00
Justin Lu
e509997fe8 8357275: Locale.Builder.setLanguageTag should mention conversions made on language tag
Reviewed-by: naoto
2025-05-29 17:39:08 +00:00
Ioi Lam
e306367813 8357693: AOTCodeCompressedOopsTest.java failed with -XX:+UseLargePages
Reviewed-by: kvn, shade
2025-05-29 17:06:42 +00:00
Justin Lu
f318868268 8348328: Update IANA Language Subtag Registry to Version 2025-05-15
Reviewed-by: iris, naoto
2025-05-29 17:01:28 +00:00
Brian Burkhalter
79aff26c28 8354724: Methods in java.io.Reader to read all characters and all lines
Reviewed-by: rriggs, smarks, jpai, alanb
2025-05-29 15:20:39 +00:00
Aleksey Shipilev
d8a783020d 8357999: SA: FileMapInfo.metadataTypeArray initialization issue after JDK-8355003
Reviewed-by: ayang, iklam, kvn, sspitsyn
2025-05-29 15:06:51 +00:00
Thomas Stuefe
4cf729cfac 8323497: On x64, use 32-bit immediate moves for narrow klass base if possible
Reviewed-by: shade, kvn, rkennke
2025-05-29 10:42:50 +00:00
Hannes Wallnöfer
a2743bab4f 8357458: Missing Highlight.js license file
Reviewed-by: jlahoda
2025-05-29 09:19:02 +00:00
Erik Gahlin
07f5b762a0 8352738: Implement JEP 520: JFR Method Timing and Tracing
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Reviewed-by: shade, mgronlun
2025-05-29 08:31:17 +00:00
Adam Sotona
d43f588db1 8357955: java.lang.classfile.Signature.ArrayTypeSig.of IAE not thrown for dims > 255
Reviewed-by: jlahoda
2025-05-29 07:03:26 +00:00
Phil Race
04e0fe00ab 8356049: Need a simple way to play back a sound clip
Reviewed-by: serb, aivanov, kizune
2025-05-29 05:52:12 +00:00
Lei Zhu
83a2804858 8357408: runtime/interpreter/CountBytecodesTest.java should be flagless
Reviewed-by: shade, syan, lmesnik
2025-05-29 05:40:36 +00:00
Ioi Lam
2ec6ab347a 8357525: Default CDS archive becomes non-deterministic after JDK-8305895
Reviewed-by: shade, coleenp
2025-05-28 22:58:34 +00:00
Ioi Lam
dede3532f7 8355798: Implement JEP 514: Ahead-of-Time Command Line Ergonomics
Reviewed-by: erikj, kvn, asmehra
2025-05-28 22:12:14 +00:00
Shaojin Wen
b7f0f480ce 8357681: Fixed the DigitList::toString method causing incorrect results during debugging
Reviewed-by: jlu, naoto
2025-05-28 20:36:44 +00:00
Anthony Scarpino
bb2c80c0e9 8298420: Implement JEP 470: PEM Encodings of Cryptographic Objects (Preview)
Reviewed-by: weijun, mr, mullan, jnimeh
2025-05-28 19:52:18 +00:00
Gerard Ziemski
28f509317d 8356233: NMT: tty->print_cr should not be used in VirtualMemoryTracker::add_reserved_region()
Reviewed-by: jsjolen, dholmes
2025-05-28 19:14:36 +00:00
Henry Jen
cd052c72cd 8345431: Improve jar --validate to detect duplicate or invalid entries
Reviewed-by: lancea, jpai
2025-05-28 17:22:41 +00:00
Naoto Sato
b2a61a9972 8356985: Use "stdin.encoding" in Console's read*() methods
Reviewed-by: jlu, smarks, alanb, vyazici
2025-05-28 16:24:04 +00:00
Alexey Semenyuk
8949c07484 8357930: Amendment for JDK-8333664
Reviewed-by: almatvee
2025-05-28 16:18:46 +00:00
PAWAN CHAWDHARY
e579cca619 8354475: TestDockerMemoryMetricsSubgroup.java fails with exitValue = 1
Reviewed-by: lmesnik, mseledtsov
2025-05-28 15:59:37 +00:00
Thomas Schatzl
2e6838a20d 8357307: VM GC operations should have a public gc_succeeded()
Reviewed-by: ayang, iwalulya
2025-05-28 15:49:34 +00:00
gauthamkrishnanibm
4ced4e73fc 8334742: Change java.time month/day field types to 'byte'
Reviewed-by: rriggs
2025-05-28 15:38:00 +00:00
Igor Veresov
e3f85c961b 8355003: Implement JEP 515: Ahead-of-Time Method Profiling
Co-authored-by: John R Rose <jrose@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Co-authored-by: Vladimir Kozlov <kvn@openjdk.org>
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: kvn, ihse, cjplummer, iklam
2025-05-28 15:15:03 +00:00
Magnus Ihse Bursie
63d0e7ff11 8355725: SPEC_FILTER stopped working
Reviewed-by: erikj
2025-05-28 14:42:35 +00:00
Magnus Ihse Bursie
a4f870df55 8357510: [REDO] RunTest variables should always be assigned
Reviewed-by: erikj
2025-05-28 14:42:21 +00:00
Magnus Ihse Bursie
7bd8375fe4 8357920: Add .rej and .orig to .gitignore
Reviewed-by: syan, erikj
2025-05-28 14:25:12 +00:00
Viktor Klang
18285fc136 8356553: Incorrect uses of {@link} in AbstractQueuedLongSynchronizer and AbstractQueuedSynchronizer
Reviewed-by: alanb
2025-05-28 14:23:23 +00:00
Markus Grönlund
1a65719ab3 8357911: JFR: Fix subtle xor method tagging bug
Reviewed-by: egahlin
2025-05-28 13:51:40 +00:00
Markus Grönlund
016cc4f333 8357830: JfrVframeStream::_cont_entry shadows super-class field
Reviewed-by: egahlin
2025-05-28 13:51:24 +00:00
Marc Chevalier
4b9290af0a 8356647: C2: Excessively strict assert in PhaseIdealLoop::do_unroll
Reviewed-by: chagedorn, epeter, dlong
2025-05-28 13:26:15 +00:00
Fabio Romano
c9e6c4d017 8356891: Some code simplifications in BigInteger
Reviewed-by: rgiulietti
2025-05-28 12:48:47 +00:00
Casper Norrbin
6ebae6cded 8241678: Remove PerfData sampling via StatSampler
Reviewed-by: jsjolen, ayang
2025-05-28 12:00:15 +00:00
Serguei Spitsyn
f30e15411f 8357673: remove test serviceability/jvmti/vthread/TestPinCaseWithCFLH
Reviewed-by: amenkov, lmesnik
2025-05-28 11:38:20 +00:00
Per Minborg
0671309de5 8357919: Arena::allocate returns segments with address zero if the segment length is zero after JDK-8345687
Reviewed-by: mcimadamore
2025-05-28 10:57:57 +00:00
Mikhail Yankelevich
627ef34498 8304065: HttpServer.stop should terminate immediately if no exchanges are in progress
Co-authored-by: Eirik Bjørsnøs <eirbjo@openjdk.org>
Reviewed-by: dfuchs, michaelm
2025-05-28 10:34:50 +00:00
Hannes Wallnöfer
39714b6030 8357869: Remove PreviewNote taglet in its current form
Reviewed-by: erikj
2025-05-28 09:46:49 +00:00
Andrew Haley
4e1878ca45 8355022: Implement JEP 506: Scoped Values
Reviewed-by: liach, alanb
2025-05-28 09:41:37 +00:00
Markus Grönlund
f02190bc30 8357829: Commented out sample limit in JfrSamplerThread::task_stacktrace
Reviewed-by: shade
2025-05-28 08:57:04 +00:00
Albert Mingkun Yang
1e0caedb9a 8357854: Parallel: Inline args of PSOldGen::initialize_performance_counters
Reviewed-by: tschatzl, jsikstro
2025-05-28 08:47:36 +00:00
Axel Boldt-Christmas
f74fbfe5de 8357449: ZGC: Multiple medium page sizes
Reviewed-by: stefank, jsikstro
2025-05-28 08:20:48 +00:00
Raffaello Giulietti
efeb050e00 8357808: Add a command line option for specifying a counter in TestRandomFloatingDecimal
Reviewed-by: liach
2025-05-28 08:13:02 +00:00
Marc Chevalier
1d57ff8ad4 8357781: Deep recursion in PhaseCFG::set_next_call leads to stack overflow
Reviewed-by: thartmann, kvn, mhaessig
2025-05-28 07:52:17 +00:00
Thomas Schatzl
db51556687 8354428: [ubsan] g1BiasedArray.hpp: pointer overflow in address calculation
Reviewed-by: ayang, kbarrett, mbaesken
2025-05-28 06:55:20 +00:00
Matthias Baesken
670ef8cc52 8357561: BootstrapLoggerTest does not work on Ubuntu 24 with LANG de_DE.UTF-8
Reviewed-by: dfuchs
2025-05-28 05:54:10 +00:00
Ioi Lam
72b9aafd5a 8357917: Assert in MetaspaceShared::preload_and_dump() when printing exception
Reviewed-by: kvn, jrose
2025-05-28 02:39:59 +00:00
Dingli Zhang
96fb31e2db 8357695: RISC-V: Move vector intrinsic condition checks into match_rule_supported_vector
Reviewed-by: fyang, fjiang
2025-05-28 02:27:06 +00:00
Steffen Nießing
4cad437956 8357597: Proxy.getInvocationHandler throws NullPointerException instead of IllegalArgumentException for null
Reviewed-by: rriggs, jpai, liach
2025-05-28 01:54:48 +00:00
Alex Menkov
c110623d38 8357282: Test vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java fails after ClassNotFoundException
Reviewed-by: lmesnik, sspitsyn
2025-05-27 23:23:26 +00:00
Magnus Ihse Bursie
f25f4a3eb2 8349665: Make clean removes module-deps.gmk
Reviewed-by: erikj
2025-05-27 22:41:39 +00:00
William Kemper
2e8b195a96 8354078: Implement JEP 521: Generational Shenandoah
Reviewed-by: ysr
2025-05-27 21:40:27 +00:00
Andrey Turbanov
11ad1733f8 8354944: Remove unnecessary PartiallyOrderedSet.nodes
Reviewed-by: serb, aivanov
2025-05-27 20:43:09 +00:00
Brian Burkhalter
4755276f36 8357912: (fs) Remove @since tag from java.nio.file.FileSystems.newFileSystem(Path,ClassLoader)
Reviewed-by: lancea, alanb
2025-05-27 19:47:56 +00:00
Per Minborg
da228e0693 8357145: CRC/Inflater/Deflater/Adler32 methods that take a ByteBuffer throw UOE if backed by shared memory segment
Reviewed-by: alanb
2025-05-27 19:15:40 +00:00
Per Minborg
d4b923d175 8357268: Use JavaNioAccess.getBufferAddress rather than DirectBuffer.address()
Reviewed-by: alanb, valeriep
2025-05-27 19:11:12 +00:00
Brian Burkhalter
c1f066e17e 8356888: (fs) FileSystems.newFileSystem that take an env must specify IllegalArgumentException
Reviewed-by: lancea, alanb, jpai
2025-05-27 17:11:24 +00:00
Aleksey Shipilev
c29537740e 8357800: Initialize JvmtiThreadState bool fields with bool literals
Reviewed-by: alanb, stefank
2025-05-27 14:44:40 +00:00
Albert Mingkun Yang
cdff7b963c 8357801: Parallel: Remove deprecated PSVirtualSpace methods
Reviewed-by: tschatzl, iwalulya
2025-05-27 14:33:35 +00:00
Magnus Ihse Bursie
72a3022dc6 8357842: PandocFilter misses copyright header
Reviewed-by: syan, erikj
2025-05-27 12:35:31 +00:00
Serhiy Sachkov
b4b11d7771 8356443: Update open/test/jdk/TEST.groups manual test groups definitions with missing manual test
Reviewed-by: msheppar
2025-05-27 11:38:08 +00:00
Ivan Walulya
67d4ed173a 8357559: G1HeapRegionManager refactor rename functions related to the number of regions in different states
Reviewed-by: ayang, tschatzl
2025-05-27 10:43:16 +00:00
Jan Lahoda
9c191cc0fa 8356245: stdin.encoding and stdout.encoding in jshell don't respect console code pages
Reviewed-by: asotona, cstein, liach
2025-05-27 09:49:26 +00:00
Aleksey Shipilev
b9db99d7f7 8357797: Use StructuredTaskScopeImpl.ST_NEW for state init
Reviewed-by: alanb
2025-05-27 09:43:07 +00:00
Viktor Klang
aea32ec506 8357647: Stream gatherers forward upstream size information to downstream
Reviewed-by: liach, alanb
2025-05-27 09:17:29 +00:00
Arno Zeller
f62b9780c3 8357448: AOT crashes on linux musl with AddReads.java
Reviewed-by: mbaesken, shade, mdoerr
2025-05-27 09:11:00 +00:00
Michael McMahon
7cb6e5eb3e 8353124: java/lang/Thread/virtual/stress/Skynet.java#Z times out on macosx-x64-debug
Reviewed-by: alanb
2025-05-27 08:37:32 +00:00
Jatin Bhateja
5924c2d6c7 8357267: ZGC: Handle APX EGPRs spilling in ZRuntimeCallSpill
Reviewed-by: rcastanedalo, sviswanathan
2025-05-27 08:28:55 +00:00
Bhavana Kilambi
7bc315fa6a 8355585: Aarch64: Add aarch64 backend for Float16 vector operations
Reviewed-by: epeter, haosun, xgong, aph
2025-05-27 08:17:02 +00:00
Joel Sikström
85af573cb6 8356848: Separate Metaspace and GC printing
Reviewed-by: stefank, stuefe
2025-05-27 06:58:57 +00:00
Feilong Jiang
78d0dc7502 8357460: RISC-V: Optimize array fill stub for small size
Reviewed-by: wenanjian, fyang
2025-05-27 03:39:28 +00:00
Jasmine Karthikeyan
37d04a1e36 8355512: Test compiler/vectorization/TestVectorZeroCount.java times out with -XX:TieredStopAtLevel=3
Reviewed-by: chagedorn, epeter
2025-05-27 02:05:46 +00:00
Doug Lea
2c034f57d6 8357146: ForkJoinPool:schedule(*) does not throw RejectedExecutionException when pool is shutdown
Reviewed-by: alanb
2025-05-26 22:37:42 +00:00
Markus Grönlund
bbceab0725 8352251: Implement JEP 518: JFR Cooperative Sampling
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Boris Ulasevich <bulasevich@openjdk.org>
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: eosterlund, egahlin
2025-05-26 18:37:55 +00:00
Emanuel Peter
e8eff4d25b 8357530: C2 SuperWord: Diagnostic flag AutoVectorizationOverrideProfitability
Reviewed-by: thartmann, kvn
2025-05-26 18:31:19 +00:00
Daniel Skantz
a300c35655 8357105: C2: compilation fails with "assert(false) failed: empty program detected during loop optimization"
Reviewed-by: syan, rcastanedalo
2025-05-26 14:22:12 +00:00
Nizar Benalla
bd095896dd 8356632: Fix remaining {@link/@linkplain} tags with refer to private/protected types in java.base
Reviewed-by: weijun, liach
2025-05-26 12:40:49 +00:00
Robbin Ehn
daa8eda530 8357056: RISC-V: Asm fixes - load/store width
Reviewed-by: fjiang, mli, luhenry, fyang
2025-05-26 11:52:32 +00:00
Jatin Bhateja
7002233ed9 8351950: C2: AVX512 vector assembler routines causing SIGFPE / no valid evex tuple_table entry
Reviewed-by: epeter, sviswanathan
2025-05-26 11:16:59 +00:00
Kieran Farrell
f825a51198 7046003: Default value of Authenticator.getRequestingURL() is not specified
Reviewed-by: michaelm, jpai
2025-05-26 11:12:49 +00:00
Roland Westrelin
ed4cd2acd2 8356989: Unexpected null in C2 compiled code
Reviewed-by: chagedorn, kvn, thartmann
2025-05-26 08:33:37 +00:00
Thomas Schatzl
9946c85e2f 8357621: G1: Clean up G1BiasedArray
Reviewed-by: sjohanss, ayang
2025-05-26 08:27:30 +00:00
Suchismith Roy
5cdeef81dd 8331859: [PPC64] Remove support for Power7 and older
Reviewed-by: mdoerr
2025-05-26 08:25:46 +00:00
Manuel Hässig
a37e8265b5 8357649: IGV: add block index to the supplemental node properties
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: rcastanedalo, chagedorn
2025-05-26 07:51:23 +00:00
Magnus Ihse Bursie
3dbd2d3d2d 8347570: Configure fails on macOS if directory name do not have correct case
Reviewed-by: erikj
2025-05-26 07:40:51 +00:00
Christian Hagedorn
99f33b4d9b 8357568: IGV: Show NULL and numbers up to 4 characters in "Condense graph" filter
Reviewed-by: thartmann, mchevalier, mhaessig
2025-05-26 07:24:25 +00:00
Jayathirth D V
a50d3bee12 8312198: [macos] metal pipeline - window rendering stops after display sleep
Reviewed-by: serb, avu, prr
2025-05-26 06:03:28 +00:00
Jan Lahoda
aac287ebac 8353581: Support for import module in JShell's code completion
Reviewed-by: asotona
2025-05-26 04:41:02 +00:00
Shaojin Wen
4a4209ffef 8357685: Change the type of Integer::digits from char[] to byte[]
Reviewed-by: rgiulietti, liach
2025-05-25 17:39:53 +00:00
Nizar Benalla
b034710b2a 8356629: Incorrect use of {@linkplain} in java.sql
Reviewed-by: lancea
2025-05-25 12:56:55 +00:00
Shaojin Wen
b037353734 8357081: Removed unused methods of HexDigits
Reviewed-by: rriggs, jpai
2025-05-24 17:08:03 +00:00
Sorna Sarathi N
1f24a5414d 8357644: Add missing CPE statements
Reviewed-by: asemenyuk
2025-05-24 15:06:25 +00:00
Thomas Stuefe
e89330579d 8334513: New test gc/TestAlwaysPreTouchBehavior.java is failing on MacOS aarch64
Reviewed-by: mbaesken, aph
2025-05-24 09:51:53 +00:00
Chen Liang
070c84cd22 8357178: Simplify Class::componentType
Reviewed-by: rriggs
2025-05-23 22:58:09 +00:00
Dean Long
66747710a4 8357468: [asan] heap buffer overflow reported in PcDesc::pc_offset() pcDesc.hpp:57
Reviewed-by: kvn, thartmann
2025-05-23 19:29:09 +00:00
Sergey Bylokhov
236e1b6d52 8357401: BigDecimal: Constants ONE_TENTH and ONE_HALF are unused after JDK-8341402
Reviewed-by: bpb, liach, darcy
2025-05-23 18:17:40 +00:00
Harshitha Onkar
85ca0813f1 8354316: clang/linux build fails with -Wunused-result warning at XToolkit.c:695:9
Reviewed-by: aivanov, ihse, serb, kizune, syan, erikj
2025-05-23 17:59:47 +00:00
Justin Lu
2f530f89e0 8357281: sun.util.Locale.LanguageTag should be immutable
Reviewed-by: naoto, liach
2025-05-23 17:44:39 +00:00
Tejesh R
917c1546f3 8139228: JFileChooser renders file names as HTML document
Reviewed-by: prr, serb, aivanov
2025-05-23 16:59:17 +00:00
Doug Simon
2b6b7661b9 8357581: [JVMCI] Add HotSpotProfilingInfo
Reviewed-by: kvn, never
2025-05-23 16:29:57 +00:00
Aleksey Shipilev
a58bfb93ff 8357638: Problemlist more Hotspot tests for static JDK
Reviewed-by: kvn
2025-05-23 16:20:19 +00:00
Aggelos Biboudis
90e076b2a1 8357654: [BACKOUT] JDK-8343580: Type error with inner classes of generic classes in functions generic by outer
Reviewed-by: mcimadamore, liach, vromero
2025-05-23 14:55:57 +00:00
Viktor Klang
6a07820483 8357285: JSR166 Test case testShutdownNow_delayedTasks failed
Reviewed-by: alanb
2025-05-23 14:53:44 +00:00
Alexey Semenyuk
b07da7bcdc 8357171: Test tools/jpackage/windows/WinOSConditionTest.java fails for non administrator
Reviewed-by: erikj
2025-05-23 13:53:07 +00:00
Archie Cobbs
d0402ddad7 8355323: JShell LocalExecutionControl should add stopCheck() at method entry
Reviewed-by: liach, jlahoda
2025-05-23 13:34:32 +00:00
Thomas Schatzl
48df41b699 8357306: G1: Remove _gc_succeeded from VM_G1CollectForAllocation because it is always true
Reviewed-by: ayang, sjohanss
2025-05-23 12:01:45 +00:00
Renjith Kannath Pariyangad
f5e6d2c93c 8334016: Make PrintNullString.java automatic
Reviewed-by: aivanov, prr, dnguyen
2025-05-23 11:57:35 +00:00
Manukumar V S
84a67e83e3 8341370: Test java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails intermittently on macOS-aarch64
Reviewed-by: kizune, dnguyen
2025-05-23 11:56:25 +00:00
Daniel Jeliński
488e4ea5c6 8357539: TimeSource.now() is not monotonic
Reviewed-by: dfuchs, jpai
2025-05-23 11:55:21 +00:00
Stefan Karlsson
68ee06f0c9 8357563: Shenandoah headers leak un-prefixed defines
Reviewed-by: shade, kbarrett
2025-05-23 09:42:25 +00:00
Aggelos Biboudis
02995887b2 8343580: Type error with inner classes of generic classes in functions generic by outer
Reviewed-by: vromero
2025-05-23 09:07:58 +00:00
Albert Mingkun Yang
36f6d155e3 8354517: Parallel: JDK-8339668 causes up to 3.7x slowdown in openjdk.bench.vm.gc.systemgc
Reviewed-by: tschatzl, aboldtch, zgu
2025-05-23 08:22:50 +00:00
Kim Barrett
ae7ae847d4 8356016: Build fails by clang(XCode 16.3) on macOS after JDK-8347719
Reviewed-by: shade, mgronlun
2025-05-23 06:54:51 +00:00
Doug Simon
d6e4c5f659 8357506: [JVMCI] Consolidate eager JVMCI initialization code
Reviewed-by: kvn, yzheng
2025-05-23 06:32:56 +00:00
Jan Lahoda
9d9e41f5b4 8356894: Adjust CreateSymbols to properly handle the newly added @jdk.internal.RequiresIdentity
Reviewed-by: vromero, liach
2025-05-23 04:35:29 +00:00
Abhishek Kumar
99e01301cd 8356145: ListEnterExitTest.java fails on macos
Reviewed-by: aivanov, jdv, kizune
2025-05-23 04:35:11 +00:00
Anjian-Wen
1fd65b7a7b 8351140: RISC-V: Intrinsify Unsafe::setMemory
Reviewed-by: fjiang, fyang
2025-05-23 03:48:09 +00:00
jeremy
4193d052c0 8356061: [macos] com/apple/laf/RootPane/RootPaneDefaultButtonTest.java test fails on macosx-aarch64 machine
Reviewed-by: jdv, serb
2025-05-23 02:25:12 +00:00
Manukumar V S
a94d1a0407 8357305: Compilation failure in javax/swing/JMenuItem/bug6197830.java
Reviewed-by: aivanov
2025-05-23 02:24:09 +00:00
Ioi Lam
8402469565 8355236: AOT Assembly crash with unregistered class and -Xlog:cds+resolve=trace
Reviewed-by: shade, kvn
2025-05-23 00:21:29 +00:00
Shaojin Wen
796ec5e7cf 8353741: Eliminate table lookup in UUID.toString
Reviewed-by: rriggs
2025-05-22 23:35:13 +00:00
Daniel Gredler
fdda766190 8356814: LineBreakMeasurer.nextLayout() slower than necessary when no break needed
Reviewed-by: prr, dnguyen, honkar
2025-05-22 21:25:33 +00:00
Phil Race
139a05d059 8357176: java.awt javadoc code examples still use Applet API
Reviewed-by: aivanov, serb
2025-05-22 19:19:45 +00:00
Vladimir Kozlov
b1b786a3be 8357402: Crash in AdapterHandlerLibrary::lookup
Reviewed-by: shade, iveresov
2025-05-22 18:59:37 +00:00
pawan chawdhary
9ca1004e76 8352926: New test TestDockerMemoryMetricsSubgroup.java fails
Reviewed-by: mseledtsov, lmesnik
2025-05-22 17:08:08 +00:00
Doug Simon
1258af42be 8357135: java.lang.OutOfMemoryError: Error creating or attaching to libjvmci after JDK-8356447
Reviewed-by: never, yzheng
2025-05-22 17:01:48 +00:00
Jiangli Zhou
16d4551134 8355452: GHA: Test jtreg tier1 on linux-x64 static-jdk
Reviewed-by: ihse, shade
2025-05-22 15:34:12 +00:00
Brian Burkhalter
72e440d06e 8357303: (fs) UnixSecureDirectoryStream.implDelete has unused haveFlags parameter
Reviewed-by: alanb, shade
2025-05-22 15:17:34 +00:00
Chen Liang
12efc1fe33 8357165: test java/lang/invoke/ClassValueTest.java fails intermittently
Reviewed-by: jpai
2025-05-22 14:24:59 +00:00
Serhiy Sachkov
428d33ef3c 8357462: Amend open/test/jdk//java/foreign/TestMatrix.java test scenario to run as manual
Reviewed-by: jvernee, syan
2025-05-22 12:30:26 +00:00
Roman Kennke
1e57648abd 8350457: Implement JEP 519: Compact Object Headers
Reviewed-by: mdoerr, coleenp, zgu
2025-05-22 10:48:50 +00:00
Jaikiran Pai
26053fe783 8357406: Remove usages of jdk.tracePinnedThreads system property from httpclient tests
Reviewed-by: vyazici, djelinski, dfuchs, syan
2025-05-22 10:44:21 +00:00
Aggelos Biboudis
c0665efd4f 8354323: Safeguard SwitchBootstraps.typeSwitch when used outside the compiler
Reviewed-by: jlahoda, liach
2025-05-22 08:36:47 +00:00
Anton Artemov
85b24c3c4e 8350869: os::stat doesn't follow symlinks on Windows
Reviewed-by: dholmes, mgronlun
2025-05-22 07:56:34 +00:00
Jason Zaugg
d9b6e4b132 8352642: Set zipinfo-time=false when constructing zipfs FileSystem in com.sun.tools.javac.file.JavacFileManager$ArchiveContainer for better performance
Reviewed-by: liach, jpai, jlahoda, lancea
2025-05-22 07:25:43 +00:00
Marc Chevalier
e348aa071d 8351958: Some compile commands should be made diagnostic
Reviewed-by: thartmann, kvn
2025-05-22 06:55:48 +00:00
Stefan Karlsson
a919f6d04e 8356372: JVMTI heap sampling not working properly with outside TLAB allocations
Co-authored-by: Stefan Johansson <sjohanss@openjdk.org>
Reviewed-by: sjohanss, sspitsyn
2025-05-22 06:39:55 +00:00
Vladimir Kozlov
8184ce39a8 8357514: Disable AOT caching for runtime stubs
Reviewed-by: iveresov, iklam
2025-05-22 06:09:34 +00:00
Jan Lahoda
061b5cc6b9 8347050: Console.readLine() drops '\' when reading through JLine
Reviewed-by: naoto
2025-05-22 05:59:19 +00:00
Jan Lahoda
ec6706520b 8357361: Exception when compiling switch expression with inferred type
Reviewed-by: vromero
2025-05-22 05:56:17 +00:00
Sergey Bylokhov
68c1d305e7 8357287: Unify usage of ICC profile "header size" constants in CMM-related code
Reviewed-by: honkar, prr
2025-05-22 04:31:46 +00:00
Ioi Lam
3bebb1fa76 8357504: Refactor the assignment of loader bits in InstanceKlassFlags
Reviewed-by: matsaave, ccheung
2025-05-22 04:04:54 +00:00
Zdenek Zambersky
ee6891456e 8343618: Stack smashing in awt_InputMethod.c on Linux s390x
Co-authored-by: Ichiroh Takiguchi <itakiguchi@openjdk.org>
Reviewed-by: prr, aph, amitkumar
2025-05-22 03:39:47 +00:00
Mikael Vidstedt
b685ea5408 8357511: [BACKOUT] 8357048: RunTest variables should always be assigned
Reviewed-by: dholmes, erikj
2025-05-22 00:37:54 +00:00
Shaojin Wen
07871cd78a 8357063: Document preconditions for DecimalDigits methods
Reviewed-by: vyazici, liach, rriggs
2025-05-21 22:39:11 +00:00
Calvin Cheung
f687cac889 8353504: CDS archives are not found when JVM is in non-variant location
Reviewed-by: iklam, shade
2025-05-21 22:13:07 +00:00
Alexey Semenyuk
3ee14471e1 8357503: gcbasher fails with java.lang.IllegalArgumentException: Unknown constant pool type
Reviewed-by: dholmes
2025-05-21 21:56:41 +00:00
Ian Graves
4d7068923c 8351993: VectorShuffle access to and from MemorySegments
Reviewed-by: psandoz
2025-05-21 21:11:34 +00:00
Erik Joelsson
afcbf6b2f4 8357173: Split jtreg test group jdk tier3
Reviewed-by: mikael
2025-05-21 19:49:51 +00:00
Doug Simon
81536830ed 8345826: Do not automatically resolve jdk.internal.vm.ci when libgraal is used
Reviewed-by: iklam, never, kvn
2025-05-21 19:21:20 +00:00
Jiangli Zhou
400c935082 8356904: Skip jdk/test/lib/process/TestNativeProcessBuilder on static-jdk
Reviewed-by: henryjen, rriggs
2025-05-21 18:55:56 +00:00
Alexander Zvegintsev
2dfbf41d2a 8351907: [XWayland] [OL10] Robot.mousePress() is delivered to wrong place
Reviewed-by: honkar, prr
2025-05-21 17:21:05 +00:00
Hannes Wallnöfer
f1eead6035 8357452: Remove code span highlight in JavaDoc default stylesheet
Reviewed-by: nbenalla, jjg, liach
2025-05-21 17:20:46 +00:00
Alexey Semenyuk
6546de1d3a 8357478: Fix copyright header in src/jdk.jpackage/share/classes/jdk/jpackage/internal/AppImageDesc.java
Reviewed-by: jpai
2025-05-21 16:32:36 +00:00
Brian Burkhalter
275cfd323b 8357280: (bf) Remove @requires tags from java/nio/Buffer/LimitDirectMemory[NegativeTest].java
Reviewed-by: alanb
2025-05-21 15:21:49 +00:00
Hannes Wallnöfer
254713ab59 8338833: Error on reference not found for a snippet target
Reviewed-by: prappo
2025-05-21 14:37:30 +00:00
Alexey Semenyuk
21c1282207 8333664: Decouple command line parsing and package building in jpackage
Reviewed-by: almatvee
2025-05-21 14:37:14 +00:00
Chihiro Ito
b63ec0ab58 8356945: jdk/jfr/event/os/TestProcessStart failed on Windows Subsystem for Linux
Reviewed-by: egahlin
2025-05-21 14:05:33 +00:00
Hannes Wallnöfer
a07150af11 8357376: Disable syntax highlighting for JDK API docs
Reviewed-by: erikj
2025-05-21 13:24:39 +00:00
Thomas Schatzl
a175767ccf 8357018: Guidance for ParallelRefProcEnabled is wrong in the man pages
Reviewed-by: kbarrett, iwalulya
2025-05-21 12:54:05 +00:00
Dingli Zhang
108e454a04 8356924: RISC-V: Clean up cost for vector instructions
Reviewed-by: fjiang, fyang, gcao
2025-05-21 11:43:13 +00:00
Vicente Romero
a4f66f5439 8325859: Potential information loss during type inference
Reviewed-by: mcimadamore
2025-05-21 11:27:05 +00:00
Roman Kennke
2c126f1954 8357370: Export supported GCs in JVMCI
Reviewed-by: dnsimon
2025-05-21 11:11:58 +00:00
Aleksey Shipilev
b8057cf103 8357436: Change jspawnhelper warning recommendation from VFORK to FORK
Reviewed-by: stuefe, alanb
2025-05-21 10:54:40 +00:00
Magnus Ihse Bursie
7c82e09b50 8357048: RunTest variables should always be assigned
Reviewed-by: erikj
2025-05-21 09:23:23 +00:00
Sergey Bylokhov
5f38d1bb94 8357193: [VS 2022 17.14] Warning C5287 in debugInit.c: enum type mismatch during build
Reviewed-by: sspitsyn
2025-05-21 08:57:55 +00:00
Yudi Zheng
735c7899d1 8334717: Add JVMCI support for APX EGPRs
Reviewed-by: dnsimon
2025-05-21 08:54:19 +00:00
Andrey Turbanov
a0cdf36bdf 8357224: Avoid redundant WeakHashMap.get in Toolkit.removeAWTEventListener
Reviewed-by: liach, aivanov, serb
2025-05-21 08:39:43 +00:00
Ivan Walulya
91194517c7 8355756: G1HeapSizingPolicy::full_collection_resize_amount should consider allocation size
Reviewed-by: ayang, tschatzl
2025-05-21 08:07:17 +00:00
Aggelos Biboudis
50a7755fa4 8347530: Improve error message with invalid permits clauses
Reviewed-by: jlahoda
2025-05-21 06:44:54 +00:00
Axel Boldt-Christmas
50e873f0e8 8356455: ZGC: Replace ZIntrusiveRBTree with IntrusiveRBTree
Reviewed-by: stefank, eosterlund, jsikstro
2025-05-21 05:59:52 +00:00
Thomas Stuefe
74fc4e4ee7 8357179: Deprecate VFORK launch mechanism from Process implementation (linux)
Reviewed-by: rriggs
2025-05-21 04:39:35 +00:00
Vladimir Kozlov
cedd1a5343 8357250: assert(shift >= 0 && shift < 4) failed: unexpected compressd klass shift!
Reviewed-by: asmehra, mdoerr
2025-05-20 20:11:56 +00:00
Ferenc Rakoczi
972f2ebe97 8351412: Add AVX-512 intrinsics for ML-KEM
Reviewed-by: sviswanathan
2025-05-20 19:06:22 +00:00
Patrick Strawderman
e9d1d87b34 8357013: HttpURLConnection#getResponseCode can avoid substring call when parsing to int
Reviewed-by: dfuchs
2025-05-20 17:20:49 +00:00
Brian Burkhalter
bcf5cd6941 8355954: File.delete removes read-only files (win)
Reviewed-by: alanb
2025-05-20 15:49:51 +00:00
Weijun Wang
6162e2c521 8357062: Update Public Suffix List to 823beb1
Reviewed-by: mullan
2025-05-20 14:50:46 +00:00
Roland Westrelin
62d155e8c3 8355230: Crash in fuzzer tests: assert(n != nullptr) failed: must not be null
Reviewed-by: thartmann, epeter
2025-05-20 14:18:41 +00:00
Emanuel Peter
277bb208a2 8355094: Performance drop in auto-vectorized kernel due to split store
Reviewed-by: vlivanov, thartmann
2025-05-20 13:51:47 +00:00
Albert Mingkun Yang
e6750a5bb0 8357218: G1: Remove loop in G1CollectedHeap::try_collect_fullgc
Reviewed-by: kbarrett, tschatzl
2025-05-20 13:15:43 +00:00
Manukumar V S
1a97eb429b 8355515: Clarify the purpose of forcePass() and forceFail() methods
Reviewed-by: aivanov, kizune
2025-05-20 12:06:35 +00:00
Anton Artemov
ab985a7c5d 8341544: Restore fence() in Mutex
Reviewed-by: eosterlund, dholmes
2025-05-20 10:44:34 +00:00
Anton Artemov
0db5511ce6 8354969: Add strdup function for ResourceArea
Reviewed-by: dholmes, iklam
2025-05-20 10:20:59 +00:00
Arno Zeller
f8fc7eeb24 8357052: java/io/File/GetXSpace.java prints wrong values in exception
Reviewed-by: bpb
2025-05-20 10:19:22 +00:00
Jan Lahoda
e961b13cd6 8356165: System.in in jshell replace supplementary characters with ??
Reviewed-by: cstein, asotona
2025-05-20 06:04:33 +00:00
Ioi Lam
f8d7f663c1 8356998: Convert -Xlog:cds to -Xlog:aot (step 2)
Reviewed-by: ccheung, matsaave
2025-05-20 05:46:34 +00:00
Ioi Lam
7077535c0b 8356595: Convert -Xlog:cds to -Xlog:aot (step1)
Reviewed-by: ccheung, dholmes, jsjolen, matsaave
2025-05-20 03:44:25 +00:00
Jan Lahoda
39d8d109dd 8348906: InstanceOfTree#getType doesn't specify when it returns null
Reviewed-by: liach
2025-05-20 02:40:05 +00:00
Sergey Bylokhov
890456f0f7 8355078: java.awt.Color.createContext() uses unnecessary synchronization
Reviewed-by: prr
2025-05-19 23:43:19 +00:00
Vicente Romero
637e9d16dd 8354556: Expand value-based class warnings to java.lang.ref API
Co-authored-by: Archie Cobbs <acobbs@openjdk.org>
Reviewed-by: jlahoda
2025-05-19 22:47:13 +00:00
Sergey Bylokhov
fbeea1daef 8356844: Missing @Serial annotation for sun.print.CustomOutputBin#serialVersionUID
Reviewed-by: aivanov, prr
2025-05-19 21:33:22 +00:00
Yannik Stradmann
27a4243561 8354560: Exponentially delay subsequent native thread creation in case of EAGAIN
Reviewed-by: dholmes, fbredberg
2025-05-19 21:28:02 +00:00
Leonid Mesnik
bd99525633 8356193: Remove tests from ProblemList-enable-preview.txt fixed by JDK-8344706
Reviewed-by: rriggs
2025-05-19 17:09:15 +00:00
Stuart Marks
6818dcc08e 8351230: Collections.synchronizedList returns a list that is not thread-safe
Reviewed-by: jpai
2025-05-19 16:53:13 +00:00
Vladimir Kozlov
6a58af310a 8357143: New test AOTCodeCompressedOopsTest.java fails on platforms without AOT Code Cache support
Reviewed-by: asmehra, fyang, shade, mdoerr
2025-05-19 15:00:54 +00:00
Vladimir Kozlov
84a98ab43f 8357166: Many AOT tests failed with VM crash
Reviewed-by: thartmann, shade
2025-05-19 14:53:52 +00:00
Mikhail Yankelevich
fbc12be732 8349151: Refactor test/java/security/cert/CertificateFactory/slowstream.sh to java test
Reviewed-by: weijun
2025-05-19 14:33:12 +00:00
Erik Gahlin
265d630125 8357187: JFR: User-defined defaults should be respected when an incorrect setting is set
Reviewed-by: mgronlun
2025-05-19 13:38:38 +00:00
Hamlin Li
92fd44992b 8350960: RISC-V: Add riscv backend for Float16 operations - vectorization
Reviewed-by: fyang, dzhang, luhenry
2025-05-19 13:32:17 +00:00
Hamlin Li
2e26b43158 8356875: RISC-V: extension flag UseZvfh should depends on UseZfh
Reviewed-by: fyang, luhenry
2025-05-19 13:32:03 +00:00
Daniel Gredler
3acfa9e4e7 8356966: java/awt/Graphics2D/DrawString/IgnoredWhitespaceTest.java fails on Linux after JDK-8350203
Reviewed-by: honkar, aivanov
2025-05-19 11:28:54 +00:00
Roland Westrelin
26cb016b75 8350329: C2: Div looses dependency on condition that guarantees divisor not zero in counted loop after peeling
Reviewed-by: thartmann, chagedorn
2025-05-19 11:06:03 +00:00
Johan Sjölen
7f7add1e56 8355608: Async UL should take the file lock of stream when outputting
Reviewed-by: aboldtch, iklam
2025-05-19 10:52:41 +00:00
Sorna Sarathi N
afcaf84022 8357106: Add missing classpath exception copyright headers
Reviewed-by: jpai
2025-05-19 10:17:13 +00:00
Manuel Hässig
36c9be70e2 8356974: tools/launcher/ToolsOpts.java fails if the build id contains "-J"
Reviewed-by: jpai, thartmann
2025-05-19 10:15:56 +00:00
Johan Sjölen
133c6fb4f3 8355481: Clean up MHN_copyOutBootstrapArguments
Reviewed-by: dholmes, coleenp
2025-05-19 10:04:32 +00:00
Serhiy Sachkov
effe40a24c 8351843: change test/jdk/com/sun/net/httpserver/simpleserver/RootDirPermissionsTest.java to a manual test
Reviewed-by: dfuchs
2025-05-19 09:08:33 +00:00
Andrey Turbanov
2fb3329d71 8356846: Remove unnecessary List.contains key from TIFFDirectory.removeTagSet
Reviewed-by: aivanov, serb
2025-05-19 08:08:09 +00:00
Aleksey Shipilev
67fb1ee7f1 8356946: x86: Optimize interpreter profile updates
Reviewed-by: kvn, jsjolen
2025-05-19 08:04:44 +00:00
Manuel Hässig
50a7c61d28 8355970: C2: Add command line option to print the compile phases
Reviewed-by: chagedorn, kvn, mchevalier
2025-05-19 07:39:42 +00:00
Jan Lahoda
77a3e04ffc 8357016: Candidate main methods not computed properly
Reviewed-by: jpai, vromero
2025-05-19 07:29:25 +00:00
Albert Mingkun Yang
969708bd8f 8356157: Remove retry loop in collect of SerialHeap and ParallelScavengeHeap
Reviewed-by: tschatzl, zgu
2025-05-19 05:17:05 +00:00
Kuai Wei
9927ec0b91 8356328: Some C2 IR nodes miss size_of() function
Reviewed-by: thartmann, chagedorn
2025-05-18 23:28:01 +00:00
Matthias Baesken
6c42856b8d 8356778: Compiler add event logging in case of failures
Reviewed-by: lucy
2025-05-18 11:32:37 +00:00
Calvin Cheung
76570c627d 8357149: Test runtime/cds/appcds/aotCode/AOTCodeFlags.java is broken after JDK-8354887
Reviewed-by: kvn, iklam
2025-05-16 22:12:59 +00:00
Chris Plummer
10258dc56e 8356811: Some nsk/jdi tests can fetch ThreadReference from static field in the debuggee: part 4
Reviewed-by: sspitsyn, amenkov
2025-05-16 20:45:21 +00:00
Naoto Sato
3dd3451700 8357075: Remove leftover COMPAT locale data tests
Reviewed-by: joehw, iris, jlu
2025-05-16 18:02:42 +00:00
Ashutosh Mehra
63ef90be97 8357084: Zero build fails after JDK-8354887
Reviewed-by: ccheung, kvn
2025-05-16 17:21:16 +00:00
Evgeny Nikitin
d524509224 8356702: CTW: Update modules
Reviewed-by: lmesnik
2025-05-16 16:20:52 +00:00
Evgeny Nikitin
413843cf8e 8356649: Update JCStress test suite
Reviewed-by: lmesnik
2025-05-16 16:20:37 +00:00
Timofei Pushkin
46a12e781e 8315130: java.lang.IllegalAccessError when processing classlist to create CDS archive
Reviewed-by: iklam, ccheung
2025-05-16 13:51:58 +00:00
Christian Stein
bca293d012 8336470: Source launcher should work with service loader SPI in unnamed module
Reviewed-by: alanb
2025-05-16 13:19:01 +00:00
Weijun Wang
079fccfa9a 8353888: Implement JEP 510: Key Derivation Function API
Reviewed-by: valeriep, mullan, liach
2025-05-16 12:25:04 +00:00
Marc Chevalier
0d8675780f 8355488: Add stress mode for C2 loop peeling
Reviewed-by: thartmann, chagedorn
2025-05-16 11:32:01 +00:00
Marc Chevalier
a0a3060709 8353638: C2: deoptimization and re-execution cycle with StringBuilder
Reviewed-by: thartmann, chagedorn
2025-05-16 11:31:37 +00:00
Andrew Haley
a6ebcf61eb 8354674: AArch64: Intrinsify Unsafe::setMemory
Reviewed-by: adinn
2025-05-16 09:28:35 +00:00
kieran-farrell
a8d8ffa8ad 8356395: Spec needs to be clarified for InterfaceAddress class level API documentation and getBroadcast() method
Reviewed-by: dfuchs
2025-05-16 07:33:17 +00:00
Paul H
f6b0f016f6 8332947: [macos] OpenURIHandler events not received when AWT is embedded in another toolkit
Reviewed-by: kcr, honkar, prr
2025-05-15 22:35:48 +00:00
Calvin Cheung
efdbb6afce 8354083: Support --add-reads with -XX:+AOTClassLinking
Reviewed-by: iklam, alanb
2025-05-15 21:14:42 +00:00
Alex Menkov
fe790cb319 8356177: Regression after JDK-8352180
Reviewed-by: sspitsyn, cjplummer, lmesnik
2025-05-15 20:39:48 +00:00
Chen Liang
9223ed788a 8351996: Behavioral updates for ClassValue::remove
Co-authored-by: John R Rose <jrose@openjdk.org>
Reviewed-by: vklang, jrose
2025-05-15 20:32:02 +00:00
Ashutosh Mehra
c59debb384 8354887: Preserve runtime blobs in AOT code cache
Co-authored-by: Andrew Dinn <adinn@openjdk.org>
Reviewed-by: kvn, adinn
2025-05-15 17:18:56 +00:00
Archie Cobbs
850c789a82 8349754: Invalid "early reference" error when class extends an outer class
Reviewed-by: mcimadamore
2025-05-15 16:35:16 +00:00
Johannes Graham
1e61352b54 8356709: Avoid redundant String formatting in BigDecimal.valueOf(double)
Reviewed-by: rgiulietti
2025-05-15 16:33:35 +00:00
Naoto Sato
e056bbec92 8356822: Refactor HTML anchor tags to javadoc in Charset
Reviewed-by: iris, liach
2025-05-15 16:14:13 +00:00
Leo Korinth
b3e856f9b3 8356847: Problem list two test cases for JDK-8284234
Reviewed-by: tschatzl
2025-05-15 16:03:43 +00:00
Amit Kumar
a1c7e494c8 8350482: [s390x] Relativize esp in interpreter frames
Reviewed-by: lucy, rrich
2025-05-15 15:38:56 +00:00
Volkan Yazici
8fcfddb2d2 8353197: Document preconditions for JavaLangAccess methods
Reviewed-by: pminborg, liach
2025-05-15 14:54:27 +00:00
Brian Burkhalter
3df8ca1eba 8356678: (fs) Files.readAttributes should map ENOTDIR to NoSuchFileException where possible (unix)
Reviewed-by: alanb, cstein
2025-05-15 14:47:02 +00:00
Jiangli Zhou
073af3bbaa 8356892: runtime/jni/CalleeSavedRegisters/FPRegs.java fails on static-jdk
Reviewed-by: dholmes, shade
2025-05-15 14:39:52 +00:00
Volkan Yazici
81e8e670ce 8351347: HttpClient Improve logging of response headers
Reviewed-by: dfuchs, michaelm
2025-05-15 14:10:16 +00:00
Daniel Lundén
5cb231714f 8351568: Improve source code documentation for PhaseCFG::insert_anti_dependences
Reviewed-by: rcastanedalo, chagedorn
2025-05-15 12:54:49 +00:00
Adam Sotona
1d36f173c4 8351232: NPE: Cannot invoke "getDeclarationAttributes" because "sym" is null
Reviewed-by: liach
2025-05-15 12:04:17 +00:00
Aleksei Voitylov
883e52aa10 8353237: [AArch64] Incorrect result of VectorizedHashCode intrinsic on Cortex-A53
Reviewed-by: aph
2025-05-15 11:06:22 +00:00
Leo Korinth
13b3541467 8356866: Cleanup hotspot/jtreg/ProblemList.txt
Reviewed-by: syan, tschatzl
2025-05-15 09:20:56 +00:00
Thomas Schatzl
b8d2bdb465 8355743: G1: Collection set clearing is not recorded as part of "Free Collection Set Time"
Reviewed-by: iwalulya, shade
2025-05-15 08:03:44 +00:00
Andrey Turbanov
e557b6956b 8356843: Avoid redundant HashMap.get to obtain old value in Toolkit.setDesktopProperty
Reviewed-by: aivanov, serb
2025-05-15 07:57:14 +00:00
Arno Zeller
dc881ee369 8354530: AIX: sporadic unexpected errno when calling setsockopt in Net.joinOrDrop
Reviewed-by: alanb, clanger
2025-05-15 07:50:28 +00:00
Ioi Lam
5e50a58474 8356838: AOT incorrectly sets a cached class's loader type to boot
Reviewed-by: ccheung, iveresov
2025-05-14 23:11:46 +00:00
Ioi Lam
b66ab8ebe2 8356693: AOT assembly phase fails with -javaagent
Reviewed-by: asmehra, ccheung, shade
2025-05-14 22:00:46 +00:00
Yudi Zheng
948ade8e70 8356971: [JVMCI] Export VM_Version::supports_avx512_simd_sort to JVMCI compiler
Reviewed-by: dnsimon
2025-05-14 19:47:38 +00:00
Ben Perez
ecabea6cd3 8347608: Optimize Java implementation of ML-KEM
Reviewed-by: weijun
2025-05-14 19:38:34 +00:00
Alisen Chung
e91088a9e8 8343739: Test java/awt/event/KeyEvent/ExtendedKeyCode/ExtendedKeyCodeTest.java failed: Wrong extended key code
Reviewed-by: serb, prr
2025-05-14 18:47:42 +00:00
Chris Plummer
75504a35ee 8356588: Some nsk/jdi tests can fetch ThreadReference from static field in the debuggee: part 3
Reviewed-by: amenkov, sspitsyn
2025-05-14 18:12:35 +00:00
Naoto Sato
7c8e273fde 8356420: Provide examples on wrapping System.in
Reviewed-by: liach, smarks, alanb, bpb, iris
2025-05-14 17:41:42 +00:00
Chris Plummer
a2628357a9 8356641: Test com/sun/jdi/EarlyThreadGroupChildrenTest.java fails sometimes on macOS
Reviewed-by: kevinw, amenkov, sspitsyn
2025-05-14 17:07:28 +00:00
Srinivas Vamsi Parasa
10436c1e1d 8356281: Fix for TestFPComparison failure due to incorrect result
Reviewed-by: sviswanathan, thartmann, jbhateja
2025-05-14 15:39:09 +00:00
Jiangli Zhou
1afd887b13 8356102: TestJcmdOutput, JcmdWithNMTDisabled and DumpSharedDictionary hs/tier1 tests fail on static-jdk
Reviewed-by: dholmes
2025-05-14 14:58:29 +00:00
Manuel Hässig
97b0dd2167 8336906: C2: assert(bb->is_reachable()) failed: getting result from unreachable basicblock
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Co-authored-by: Dean Long <dlong@openjdk.org>
Reviewed-by: epeter, dlong
2025-05-14 14:12:10 +00:00
Jaikiran Pai
a989245a24 8327466: ct.sym zip not reproducible across build environment timezones
Reviewed-by: erikj, jlahoda
2025-05-14 12:38:40 +00:00
Coleen Phillimore
3270b00957 8356173: Remove ThreadCritical
Reviewed-by: dholmes, kbarrett, jsjolen
2025-05-14 12:00:23 +00:00
Aleksey Shipilev
5c73dfc28c 8352533: Report useful IOExceptions when jspawnhelper fails
Reviewed-by: simonis, rriggs, stuefe
2025-05-14 09:05:49 +00:00
Fernando Guallini
86f39ab5bb 8249825: Tests sun/security/ssl/SSLSocketImpl/SetClientMode.java and NonAutoClose.java marked with @ignore
Reviewed-by: abarashev, rhalade
2025-05-14 08:39:21 +00:00
Martin Doerr
fc6f4da8e7 8351666: [PPC64] Make non-volatile VectorRegisters available for C2 register allocation
Reviewed-by: rrich
2025-05-14 08:38:01 +00:00
Anjian-Wen
b76b610788 8356869: RISC-V: Improve tail handling of array fill stub
Reviewed-by: fyang, fjiang, mli
2025-05-14 08:28:11 +00:00
Serguei Spitsyn
265bc5f47d 8353496: SuspendResume1.java and SuspendResume2.java timeout after JDK-8319447
Reviewed-by: cjplummer, alanb
2025-05-14 08:21:54 +00:00
Raffaello Giulietti
d1032d71bf 8343829: Unify decimal and hexadecimal parsing in FloatingDecimal
Reviewed-by: darcy
2025-05-14 07:59:19 +00:00
Marc Chevalier
3b27198166 8325647: [IR framework] Only prints stdout if exitCode is 134
Reviewed-by: chagedorn, thartmann
2025-05-14 07:57:53 +00:00
Magnus Ihse Bursie
a3e094e1a0 8354968: Replace unicode sequences in comment text with UTF-8 characters
Reviewed-by: naoto
2025-05-14 06:42:07 +00:00
Magnus Ihse Bursie
dd2515993b 8356644: Update encoding declaration to UTF-8
Reviewed-by: prr, naoto
2025-05-14 06:32:54 +00:00
Alexander Zuev
e07c65b892 8323545: java/awt/GraphicsDevice/CheckDisplayModes.java fails with "exit code: 133"
Reviewed-by: achung, serb
2025-05-14 04:59:44 +00:00
Jaikiran Pai
2c4e8d211a 8347712: IllegalStateException on multithreaded ZipFile access with non-UTF8 charset
8355975: ZipFile uses incorrect Charset if another instance for the same ZIP file was constructed with a different Charset

Co-authored-by: Eirik Bjørsnøs <eirbjo@openjdk.org>
Reviewed-by: eirbjo, lancea, redestad, alanb
2025-05-14 01:53:19 +00:00
Kim Barrett
530d14a16e 8356686: doc/building.html is not up to date after JDK-8301971
Reviewed-by: jwaters, shade, erikj
2025-05-14 00:51:49 +00:00
Kim Barrett
dd2aba98f5 8356689: Make HotSpot Style Guide change process more prominent
Reviewed-by: dholmes, shade, stefank, kvn
2025-05-14 00:50:38 +00:00
Chihiro Ito
0c4bc48928 8356820: fixpath should allow + in paths on Windows
Reviewed-by: erikj
2025-05-14 00:25:59 +00:00
Chen Liang
a96424b24c 8356694: Removed unused subclass audits in ObjectInput/OutputStream
Reviewed-by: alanb, rriggs
2025-05-14 00:03:20 +00:00
Valerie Peng
4c0a0ab6bc 8353578: Refactor existing usage of internal HKDF impl to use the KDF API
Co-authored-by: Kevin Driver <kdriver@openjdk.org>
Reviewed-by: djelinski, wetmore, mullan, kdriver, weijun
2025-05-13 22:43:31 +00:00
Ben Perez
10dcdf1b47 8347606: Optimize Java implementation of ML-DSA
Reviewed-by: weijun
2025-05-13 22:31:55 +00:00
Shaojin Wen
1bded7188f 8356605: JRSUIControl.hashCode and JRSUIState.hashCode can use Long.hashCode
Reviewed-by: prr, serb
2025-05-13 22:16:42 +00:00
Igor Veresov
89242eecd2 8356885: Don't emit C1 profiling for casts if TypeProfileCasts is off
Reviewed-by: vlivanov, kvn
2025-05-13 21:49:46 +00:00
Justin Lu
e149bd3a0c 8352755: Misconceptions about j.text.DecimalFormat digits during parsing
Reviewed-by: naoto
2025-05-13 20:23:10 +00:00
Kelvin Nilsen
e7ce661adb 8356667: GenShen: Eliminate races with ShenandoahFreeSet::available()
Reviewed-by: wkemper
2025-05-13 18:08:10 +00:00
Alexander Matveev
1569925af4 8356819: [macos] MacSign should use "openssl" and "faketime" from Homebrew by default
Reviewed-by: asemenyuk
2025-05-13 18:06:32 +00:00
Brent Christian
d1543429ff 8356107: [java.lang] Use @requires tag instead of exiting based on os.name or separatorChar property
Reviewed-by: naoto, bpb
2025-05-13 17:05:15 +00:00
Doug Simon
08b2df80c6 8356447: Change default for EagerJVMCI to true
Reviewed-by: yzheng, kvn, never
2025-05-13 15:58:59 +00:00
Brian Burkhalter
0318e49500 8351415: (fs) Path::toAbsolutePath should specify if an absolute path has a root component
Reviewed-by: alanb
2025-05-13 15:21:30 +00:00
Archie Cobbs
b8c69dfb2a 8356551: Javac rejects receiver parameter in constructor of local class in early construction context
Reviewed-by: mcimadamore
2025-05-13 14:31:17 +00:00
Raffaello Giulietti
64a858c7b8 8355992: Add unsignedMultiplyExact and *powExact methods to Math and StrictMath
Reviewed-by: darcy
2025-05-13 14:04:53 +00:00
Per Minborg
066477de80 8356080: Address post-integration comments for Stable Values
Reviewed-by: liach
2025-05-13 13:40:48 +00:00
Alan Bateman
fa419489d3 8350765: Need to pin when accessing thread container from virtual thread
Reviewed-by: vklang, jpai
2025-05-13 13:35:40 +00:00
Aleksey Shipilev
48d2acb386 8356783: CompilerTask hot_method is redundant
Reviewed-by: kvn, cslucas
2025-05-13 13:17:12 +00:00
Aleksey Shipilev
de10644721 8356631: OopHandle replacement methods should not be called on empty handles
Reviewed-by: coleenp, eosterlund
2025-05-13 12:46:52 +00:00
Erik Gahlin
14d372b15b 8356816: JFR: Move printing of metadata into separate class
Reviewed-by: mgronlun
2025-05-13 12:40:14 +00:00
Marc Chevalier
d930dc5df3 8356275: TestCodeEntryAlignment fails with "Alignment must be <= CodeEntryAlignment"
Reviewed-by: thartmann
2025-05-13 11:26:36 +00:00
Volkan Yazici
7dcc386af9 8354024: [JMH] Create ephemeral UnixDomainSocketAddress provider with thread-safe close semantics
Reviewed-by: michaelm
2025-05-13 11:08:16 +00:00
Daniel Gredler
85db4631ae 8350203: [macos] Newlines and tabs are not ignored when drawing text to a Graphics2D object
8353187: Test TextLayout/TestControls fails on macOS: width of 0x9, 0xa, 0xd isn't zero

Reviewed-by: honkar, aivanov, prr
2025-05-13 10:37:57 +00:00
Severin Gehwolf
38bb8adf4f 8354941: Build failure with glibc 2.42 due to uabs() name collision
Reviewed-by: kbarrett, thartmann
2025-05-13 09:59:49 +00:00
Andrew Dinn
8ffc121b2f 8356774: AArch64: StubGen final stubs buffer too small for ZGC on Cavium CPU
Reviewed-by: shade
2025-05-13 09:42:44 +00:00
Alan Bateman
132a890a9b 8342486: Implement JEP 505: Structured Concurrency (Fifth Preview)
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Viktor Klang <vklang@openjdk.org>
Reviewed-by: vklang
2025-05-13 08:43:26 +00:00
Andrey Turbanov
522c7b446f 8356175: Remove unnecessary Map.get from XWM.getInsets
Reviewed-by: tr, aivanov, serb
2025-05-13 08:10:11 +00:00
Volkan Yazici
ad161a4ef8 8355360: -d option of jwebserver command should accept relative paths
Reviewed-by: dfuchs, michaelm
2025-05-13 07:58:36 +00:00
Stefan Johansson
526f543adf 8353184: ZGC: Simplify and correct tlab_used() tracking
Reviewed-by: stefank, aboldtch
2025-05-13 07:44:30 +00:00
Jan Lahoda
03dca0323d 8354908: javac mishandles supplementary character in character literal
Reviewed-by: naoto, vromero
2025-05-13 06:16:34 +00:00
Per Minborg
6e0846918c 8356658: java/foreign/TestBufferStackStress2.java failed again with junit action timed out
Reviewed-by: jpai, alanb
2025-05-13 05:47:17 +00:00
Jan Lahoda
24d77adee9 8356057: PrintingProcessor (-Xprint) does not print type variable bounds and type annotations for Object supertypes
Reviewed-by: darcy, vromero
2025-05-13 04:44:07 +00:00
Valerie Peng
4fc10a1e7e 8356087: Problematic KeyInfo check using key algorithm in P11SecretKeyFactory class
Reviewed-by: weijun
2025-05-13 03:46:30 +00:00
Anjian-Wen
adebfa7ffd 8356700: RISC-V: Declare incompressible scope in fill_words / zero_memory assembler routines
Reviewed-by: fyang, fjiang
2025-05-13 03:06:36 +00:00
Bhavana Kilambi
303f4101d4 8355708: Two Float16 IR tests fail after JDK-8345125
Reviewed-by: jbhateja, haosun, mhaessig
2025-05-12 23:21:17 +00:00
Kelvin Nilsen
c23469df16 8355340: GenShen: Remove unneeded log messages related to remembered set write table
Reviewed-by: wkemper, ysr
2025-05-12 23:14:27 +00:00
Justin Lu
b6b5ac1ef9 8348351: Improve lazy initialization of the available currencies set
Reviewed-by: liach, naoto
2025-05-12 20:35:13 +00:00
Vladimir Kozlov
2595fcc7cc 8356192: Enable AOT code caching only on supported platforms
Reviewed-by: shade, mdoerr, fyang
2025-05-12 20:29:42 +00:00
Roger Riggs
0f5c608143 8356695: java/lang/StringBuilder/HugeCapacity.java failing with OOME
Reviewed-by: liach, lancea, rgiulietti
2025-05-12 20:01:43 +00:00
Daniel Fuchs
45dfc2c6d6 8353642: Deprecate URL::getPermission method and networking permission classes for removal
Reviewed-by: djelinski, iris, mullan, michaelm
2025-05-12 16:49:42 +00:00
Brian Burkhalter
8d7866ef5f 8356606: (fs) PosixFileAttributes.permissions() implementations should return an EnumSet
Reviewed-by: liach, alanb
2025-05-12 16:48:13 +00:00
Mikael Vidstedt
50dced88ff 8356656: Drop unused DEVKIT_HOME from jib-profiles.js
Reviewed-by: erikj
2025-05-12 16:31:24 +00:00
Mikael Vidstedt
e463895428 8356657: Use stable source-date for cmp-baseline jib profiles
Reviewed-by: liach, iris, alanb, jpai, erikj
2025-05-12 16:31:12 +00:00
Joel Sikström
8128f638fa 8355692: Refactor stream indentation
Reviewed-by: stefank, cnorrbin
2025-05-12 15:49:38 +00:00
Archie Cobbs
f5525ecf58 8348410: Preview flag not checked during compilation resulting in runtime crash
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: jlahoda, mcimadamore
2025-05-12 14:42:27 +00:00
Johan Sjölen
7ae52ce572 8356390: Rename ResolvedIndyEntry::set_flags to set_has_appendix
Co-authored-by: John R Rose <jrose@openjdk.org>
Reviewed-by: coleenp, dholmes
2025-05-12 12:34:28 +00:00
Hamlin Li
8545e13571 8356642: RISC-V: enable hotspot/jtreg/compiler/vectorapi/VectorFusedMultiplyAddSubTest.java
Reviewed-by: fyang, fjiang, mhaessig
2025-05-12 12:25:13 +00:00
Abhishek Kumar
ab8c808ed8 8356752: Log mouse enter and exit events for debugging
Reviewed-by: jdv, tr
2025-05-12 09:15:13 +00:00
Daniel Lundén
2b32541609 8354767: Test crashed: assert(increase < max_live_nodes_increase_per_iteration) failed: excessive live node increase in single iteration of IGVN: 4470 (should be at most 4000)
Reviewed-by: chagedorn, dfenacci, rcastanedalo, epeter
2025-05-12 09:02:25 +00:00
Saranya Natarajan
0258d9998e 8347515: C2: assert(!success || (C->macro_count() == (old_macro_count - 1))) failed: elimination must have deleted one node from macro list
Reviewed-by: thartmann, chagedorn
2025-05-12 08:50:01 +00:00
Fredrik Bredberg
39a28ffe4e 8355646: Optimize ObjectMonitor::exit
Reviewed-by: pchilanomate, coleenp
2025-05-12 08:16:15 +00:00
Ivan Walulya
a3afc9f7ce 8308854: G1 archive region allocation may expand/shrink the heap above/below -Xms
Reviewed-by: tschatzl, ayang
2025-05-12 08:15:53 +00:00
Per Minborg
43008b42cf 8356486: ReverseOrderListView should override reversed() to return base
Reviewed-by: liach, smarks
2025-05-12 07:12:19 +00:00
Per Minborg
45cf32bd2c 8347408: Create an internal method handle adapter for system calls with errno
Reviewed-by: mcimadamore
2025-05-12 06:59:41 +00:00
Hannes Greule
de801fea76 8353551: C2: Constant folding for ReverseBytes nodes
Reviewed-by: epeter, vlivanov
2025-05-12 06:43:52 +00:00
Anjian-Wen
d7cb933b89 8356593: RISC-V: Small improvement to array fill stub
Reviewed-by: fyang
2025-05-12 03:01:46 +00:00
Erik Gahlin
74f047b84d 8356224: JFR: Default value of @Registered is ignored
Reviewed-by: mgronlun
2025-05-11 22:40:29 +00:00
Sergey Bylokhov
97d2a37927 8355790: Enhance code consistency: java.desktop/unix:sun.awt
Reviewed-by: achung, prr
2025-05-11 07:39:15 +00:00
Ioi Lam
436960308c 8356597: AOT cache and CDS archive should not be created in read-only mode
Reviewed-by: shade, kvn
2025-05-10 15:16:19 +00:00
Alexander Matveev
fa7c5a65ba 8356664: [macos] AppContentTest fails after JDK-8352480
Reviewed-by: asemenyuk
2025-05-10 02:59:05 +00:00
Jatin Bhateja
3b336a9da0 8352675: Support Intel AVX10 converged vector ISA feature detection
Reviewed-by: sviswanathan, vlivanov, yzheng
2025-05-09 23:33:32 +00:00
Chen Liang
0f2a6c266b 8356577: Migrate ClassFileVersionTest to be feature-agnostic
Reviewed-by: dholmes, alanb
2025-05-09 21:58:24 +00:00
Roger Riggs
8fadf295b0 8351443: Improve robustness of StringBuilder
Reviewed-by: liach, rgiulietti, bchristi, jpai
2025-05-09 21:48:16 +00:00
Koushik Thirupattur
68a118509a 8310003: Improve logging when default truststore is inaccessible
Reviewed-by: mullan
2025-05-09 19:20:17 +00:00
Calvin Cheung
3b20bed6e2 8356229: cmp-baseline build fail due to lib/modules difference
Reviewed-by: iklam, erikj, liach
2025-05-09 18:22:45 +00:00
Phil Race
30cb94d6b0 8346683: Problem list automated tests that fail on macOS15
Reviewed-by: dmarkov
2025-05-09 18:10:18 +00:00
Sergey Bylokhov
375f3dc9ed 8356053: Test java/awt/Toolkit/Headless/HeadlessToolkit.java fails by timeout
Reviewed-by: prr, kizune
2025-05-09 17:50:51 +00:00
Joe Wang
66f0442713 8353232: Standardizing and Unifying XML Component Configurations
Reviewed-by: lancea
2025-05-09 17:12:53 +00:00
Fabio Romano
1c5eb370b7 8355719: Reduce memory consumption of BigInteger.pow()
Reviewed-by: rgiulietti
2025-05-09 17:06:33 +00:00
Alexander Matveev
601f05e06d 8352480: Don't follow symlinks in additional content for app images
Reviewed-by: asemenyuk
2025-05-09 16:47:06 +00:00
Shaojin Wen
2661f62ca2 8356036: (fs) FileKey.hashCode and UnixFileStore.hashCode implementations can use Long.hashCode
Reviewed-by: liach, bpb
2025-05-09 16:42:49 +00:00
Joe Darcy
bed29a03d1 8356555: Incorrect use of {@link} in BigDecimal
Reviewed-by: bpb, nbenalla, liach, iris
2025-05-09 16:35:51 +00:00
Calvin Cheung
dd25799c21 8356212: runtime/cds/appcds/LotsOfSyntheticClasses.java timed out with -XX:+AOTClassLinking
Reviewed-by: iklam, shade, syan
2025-05-09 16:17:14 +00:00
Naoto Sato
5f00c877e2 8356450: NPE in CLDRTimeZoneNameProviderImpl for tzdata downgrades after JDK-8342550
Reviewed-by: bpb, jlu, joehw
2025-05-09 16:16:56 +00:00
Liam Miller-Cushon
0e0bd642ab 8356441: IllegalStateException in RichDiagnosticFormatter after JDK-8355065
Reviewed-by: liach, mcimadamore
2025-05-09 15:45:25 +00:00
Patricio Chilano Mateo
9ebb5d42d4 8346255: java/lang/management/ThreadMXBean/VirtualThreadDeadlocks.java finds no deadlock
Reviewed-by: kevinw, dholmes, alanb
2025-05-09 15:05:09 +00:00
Serguei Spitsyn
411a63ea1b 8356251: Need minor cleanup for interp_only_mode
Reviewed-by: lmesnik, cjplummer
2025-05-09 12:24:28 +00:00
Magnus Ihse Bursie
568dcc15cb 8334391: JDK build should exclude *-files directories for Java source
Reviewed-by: erikj
2025-05-09 10:05:23 +00:00
Magnus Ihse Bursie
a091e2f281 8351029: IncludeCustomExtension does not work on cygwin with source code below /home
Reviewed-by: erikj
2025-05-09 09:10:06 +00:00
Magnus Ihse Bursie
3aa2ea7e67 8301971: Make JDK source code UTF-8
8338973: Document need to have UTF-8 locale available to build the JDK

Reviewed-by: erikj, naoto, mbaesken
2025-05-09 09:05:10 +00:00
Yudi Zheng
74e981e855 8353735: [JVMCI] Allow specifying storage kind of the callee save register
Reviewed-by: dnsimon, cslucas
2025-05-09 08:39:16 +00:00
Matthias Baesken
c88f94c9d7 8356394: Remove USE_LIBRARY_BASED_TLS_ONLY macro
Reviewed-by: dholmes, kbarrett, lucy
2025-05-09 07:12:51 +00:00
Ioi Lam
591e71ebe5 8354890: AOT-initialize j.l.i.MethodHandleImpl and inner classes
Reviewed-by: liach, vlivanov
2025-05-09 06:00:23 +00:00
Jatin Bhateja
53ad4b2ad2 8355364: [REDO] Missing REX2 prefix accounting in ZGC barriers leads to incorrect encoding
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: aboldtch, sviswanathan
2025-05-09 05:28:56 +00:00
Sergey Bylokhov
9a0e6f338f 8356571: Re-enable -Wtype-limits for GCC in LCMS
Reviewed-by: jwaters, prr
2025-05-09 02:08:29 +00:00
Alexey Semenyuk
cc3a366e2a 8333568: Test that jpackage doesn't modify R/O files/directories
Reviewed-by: almatvee
2025-05-09 00:06:26 +00:00
Alexey Semenyuk
8a8893ec03 8356562: SigningAppImageTwoStepsTest test fails
Reviewed-by: almatvee
2025-05-08 22:18:56 +00:00
Julian Waters
c2a4fa1d83 8355573: Remove kludge_c++11.h from jpackage code
Reviewed-by: asemenyuk, almatvee
2025-05-08 22:11:37 +00:00
Ioi Lam
4379e2d26b 8356125: Interned strings are omitted from AOT cache
Reviewed-by: shade, ccheung
2025-05-08 17:54:47 +00:00
Vladimir Ivanov
b7b437d5bd 8356453: C2: assert(!vbox->is_Phi()) during vector box expansion
Reviewed-by: thartmann, kvn
2025-05-08 17:53:27 +00:00
Naoto Sato
e4ecda2b25 8356221: Clarify Console.charset() method description
Reviewed-by: bpb
2025-05-08 17:52:05 +00:00
Chris Plummer
9273094538 8356023: Some nsk/jdi tests can fetch ThreadReference from static field in the debuggee: part 2
Reviewed-by: amenkov, sspitsyn, lmesnik
2025-05-08 17:48:26 +00:00
Joe Darcy
24d84cf66a 8354091: Update RELEASE_25 description for Flexible Constructor Bodies
Reviewed-by: iris, liach, vromero
2025-05-08 16:30:01 +00:00
Casper Norrbin
1e8927dded 8354433: Assert in AbstractRBTree::visit_range_in_order(const K& from, const K& to, F f) is wrong
Reviewed-by: jsjolen, aboldtch
2025-05-08 16:21:14 +00:00
Casper Norrbin
7f3191a630 8354878: File Leak in CgroupSubsystemFactory::determine_type of cgroupSubsystem_linux.cpp:300
Reviewed-by: sgehwolf, jsjolen, dholmes
2025-05-08 16:20:53 +00:00
Roman Kennke
6b1e88a946 8356329: Report compact object headers in hs_err
Reviewed-by: stuefe, lmesnik, zgu
2025-05-08 16:07:25 +00:00
Maurizio Cimadamore
c6ffacb575 8344703: Compiler Implementation for Flexible Constructor Bodies
Reviewed-by: vromero, liach, jlahoda
2025-05-08 15:14:35 +00:00
Eirik Bjørsnøs
2ea629f3f2 8353440: Disable FTP fallback for non-local file URLs by default
Reviewed-by: dfuchs
2025-05-08 14:52:53 +00:00
Magnus Ihse Bursie
57297e60de 8354278: Revert use of non-POSIX echo -n introduced in JDK-8301197
Reviewed-by: iris
2025-05-08 13:33:57 +00:00
Kevin Walls
900b3ff7ee 8351359: OperatingSystemMXBean: values from getCpuLoad and getProcessCpuLoad are stale after 24.8 days (Windows)
Reviewed-by: amenkov, sspitsyn
2025-05-08 13:18:02 +00:00
Christian Hagedorn
ad07426fab 8356084: C2: Data is wrongly rewired to Initialized Assertion Predicates instead of Template Assertion Predicates
Reviewed-by: epeter, kvn
2025-05-08 11:34:46 +00:00
Christian Hagedorn
b47b2062a2 8355674: C2: Partial Peeling should not introduce Phi nodes above OpaqueInitializedAssertionPredicate nodes
Reviewed-by: epeter, thartmann
2025-05-08 11:33:31 +00:00
Amit Kumar
5df7089c3e 8350398: [s390x] Relativize initial_sp/monitors in interpreter frames
Reviewed-by: lucy, aph
2025-05-08 10:56:01 +00:00
nibjen
2c1eb339d6 8350830: Values converted incorrectly when reading TLS session tickets
Reviewed-by: djelinski, ascarpino
2025-05-08 09:06:19 +00:00
Andrew Dinn
daf6fa1e61 8356085: AArch64: compiler stub buffer size wrongly depends on ZGC
Reviewed-by: shade, kvn
2025-05-08 07:44:42 +00:00
Anass Baya
223eec5501 8354219: Automate javax/swing/JComboBox/ComboPopupBug.java
Reviewed-by: aivanov, achung
2025-05-08 07:30:40 +00:00
Jaikiran Pai
52a5583d69 8356154: Respecify java.net.Socket constructors that allow creating UDP sockets to throw IllegalArgumentException
Reviewed-by: dfuchs, alanb
2025-05-08 03:56:45 +00:00
Ioi Lam
3e258cbddf 8356407: Part of class verification is skipped in AOT training run
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: matsaave, coleenp
2025-05-08 01:08:52 +00:00
Markus KARG
7642556a5a 8343110: Add getChars(int, int, char[], int) to CharSequence and CharBuffer
Reviewed-by: liach, jpai, rriggs
2025-05-08 00:58:10 +00:00
Magnus Ihse Bursie
493ac93606 8244533: Configure should abort on missing short names in Windows
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: erikj
2025-05-07 21:33:39 +00:00
Chen Liang
8c1b915c7e 8356126: Duplication handling and optimization of CaptureCallState
Reviewed-by: jvernee
2025-05-07 18:11:03 +00:00
Chen Liang
3f6b17777f 8332934: Do loop with continue with subsequent switch leads to incorrect stack maps
Reviewed-by: vromero
2025-05-07 18:09:23 +00:00
Alex Menkov
cb02158090 8354461: Update tests to disable streaming output for attach tools
Reviewed-by: sspitsyn, cjplummer
2025-05-07 18:05:48 +00:00
Ioi Lam
28e6b7cb74 8351313: VM crashes when AOTMode/AOTCache/AOTConfiguration are empty
Reviewed-by: ccheung, shade, kvn
2025-05-07 17:40:44 +00:00
Ioi Lam
40f696dbe4 8356318: Unexpected VerifyError in AOT training run
Reviewed-by: shade, kvn
2025-05-07 17:36:37 +00:00
Thomas Stuefe
da5dc5287b 8356025: Provide a PrintVMInfoAtExit diagnostic switch
Reviewed-by: mbaesken, jsikstro
2025-05-07 16:52:45 +00:00
Leonid Mesnik
c8a30c2aab 8347004: vmTestbase/metaspace/shrink_grow/ShrinkGrowTest/ShrinkGrowTest.java fails with CDS disabled
Reviewed-by: coleenp
2025-05-07 15:42:00 +00:00
Gergö Barany
90f0f1b88b 8354443: [Graal] crash after deopt in TestG1BarrierGeneration.java
Reviewed-by: dnsimon, yzheng
2025-05-07 14:49:37 +00:00
Chen Liang
d7e648bb27 8355775: Improve symbolic sharing in dynamic constant pool entries
Reviewed-by: asotona
2025-05-07 14:08:21 +00:00
Magnus Ihse Bursie
ca5e0b1848 8282493: Add --with-jcov-modules convenience option
Reviewed-by: erikj
2025-05-07 13:28:46 +00:00
Magnus Ihse Bursie
a72f7506bf 8356379: Need a proper way to test existence of binary from configure
Reviewed-by: erikj
2025-05-07 13:23:28 +00:00
Magnus Ihse Bursie
fa765e7d34 8356335: Remove linux-x86 from jib profiles
Reviewed-by: erikj
2025-05-07 13:23:16 +00:00
Volkan Yazici
60a4594b9f 8355578: [java.net] Use @requires tag instead of exiting based on "os.name" property value
Reviewed-by: dfuchs
2025-05-07 12:07:47 +00:00
Sergey Bylokhov
0844745e7b 8339561: The test/jdk/java/awt/Paint/ListRepaint.java may fail after JDK-8327401
Reviewed-by: azvegint
2025-05-07 09:21:58 +00:00
Per Minborg
1bdff3ccd0 8356114: java/foreign/TestBufferStackStress2.java failed with junit action timed out
Reviewed-by: djelinski, alanb
2025-05-07 09:12:44 +00:00
Hamlin Li
50554fa198 8355704: RISC-V: enable TestIRFma.java
Reviewed-by: rehn, luhenry
2025-05-07 08:34:03 +00:00
Hamlin Li
1a4bbb0027 8355699: RISC-V: support SUADD/SADD/SUSUB/SSUB
Reviewed-by: fyang, luhenry
2025-05-07 08:33:49 +00:00
Hamlin Li
da004cb657 8356030: RISC-V: enable (part of) BasicDoubleOpTest.java
Reviewed-by: fyang, luhenry
2025-05-07 08:33:35 +00:00
Manuel Hässig
b5fd289f53 8356310: compiler/print/TestPrintAssemblyDeoptRace.java fails with Improperly specified VM option 'DeoptimizeALot'
Reviewed-by: epeter, mchevalier, thartmann, chagedorn, rcastanedalo
2025-05-07 08:16:35 +00:00
Ivan Bereziuk
328715d84c 8356187: TestJcmd.java may incorrectly parse podman version
Reviewed-by: sgehwolf
2025-05-07 08:06:29 +00:00
Aleksey Shipilev
50895835e0 8356259: Lift basic -Xlog:jit* logging to "info" level
Reviewed-by: kvn
2025-05-07 07:44:05 +00:00
Matthias Baesken
21f01e0c89 8356269: Fix broken web-links after JDK-8295470
Reviewed-by: chagedorn, epeter
2025-05-07 07:19:42 +00:00
Christian Stein
910d77d39e 8354260: Launcher help text is wrong for -Xms
Reviewed-by: jsikstro, jlahoda
2025-05-07 06:55:29 +00:00
Daishi Tabata
4458719a10 8355249: Remove the use of WMIC from the entire source code
Reviewed-by: erikj, ihse, asemenyuk
2025-05-07 06:19:56 +00:00
Galder Zamarreño
772c97039e 8354257: xctracenorm profiler not working with JDK JMH benchmarks
Reviewed-by: ihse
2025-05-07 06:17:50 +00:00
Phil Race
4e3ec3c04c 8356208: Remove obsolete code in PSPrinterJob for plugin printing
Reviewed-by: serb
2025-05-07 05:36:00 +00:00
Amit Kumar
0eb680ca46 8350308: [s390x] Relativize last_sp (and top_frame_sp) in interpreter frames
Reviewed-by: lucy, rrich
2025-05-07 04:12:56 +00:00
Sergey Bylokhov
762423d64d 8355561: [macos] Build failure with Xcode 16.3
Reviewed-by: kizune, prr
2025-05-07 02:54:41 +00:00
Dingli Zhang
acad0b4968 8356188: RISC-V: Cleanup effect of vmaskcmp_fp
Reviewed-by: fyang, gcao
2025-05-07 00:58:19 +00:00
Alexey Semenyuk
cbbab07d23 8356309: Fix issues uncovered after running jpackage tests locally with installing test packages
Reviewed-by: almatvee
2025-05-06 23:40:48 +00:00
Patricio Chilano Mateo
9a23f721c7 8316682: serviceability/jvmti/vthread/SelfSuspendDisablerTest timed out
Reviewed-by: lmesnik, pchilanomate
2025-05-06 22:08:51 +00:00
Jiangli Zhou
bed5114e3a 8356209: Problemlist failed gtests on static-jdk
Reviewed-by: alanb
2025-05-06 19:38:39 +00:00
Alexandre Iline
e2df9cdeb0 8356226: JCov Grabber server didn't respond
Reviewed-by: erikj
2025-05-06 19:19:10 +00:00
Coleen Phillimore
4977588d5e 8330022: Failure test/hotspot/jtreg/vmTestbase/nsk/sysdict/share/BTreeTest.java: Could not initialize class java.util.concurrent.ThreadLocalRandom
Co-authored-by: David Leopoldseder <davleopo@openjdk.org>
Reviewed-by: tschatzl, matsaave
2025-05-06 19:00:06 +00:00
Brent Christian
fe29cad5e0 8298783: java/lang/ref/FinalizerHistogramTest.java failed with "RuntimeException: MyObject is not found in test output"
Reviewed-by: kbarrett, jpai
2025-05-06 18:40:33 +00:00
Justin Lu
0cb355ee92 8356096: ISO 4217 Amendment 179 Update
Reviewed-by: naoto, iris
2025-05-06 18:27:20 +00:00
Koushik Thirupattur
5d17a28c4e 8353001: Remove leftover Security Manager parsing code in sun.security.util.Debug
Reviewed-by: mullan
2025-05-06 18:10:46 +00:00
Magnus Ihse Bursie
08dd4a75c5 8354273: Replace even more Unicode characters with ASCII
Reviewed-by: naoto
2025-05-06 18:00:57 +00:00
Alexey Semenyuk
9c43871fd1 8356219: jpackage places libapplauncher.so in incorrect location in the app image
Reviewed-by: almatvee
2025-05-06 17:57:23 +00:00
Jiangli Zhou
064b036ebd 8356050: Problemlist jdk, langtools & lib-test tier1 tests requiring runtime usages of <jdk>/bin/tools for static-jdk
Reviewed-by: ihse
2025-05-06 17:56:03 +00:00
Raffaello Giulietti
052e2522b6 8356152: String.concat can throw StringIndexOutOfBoundsException
Reviewed-by: liach, aturbanov, redestad, rriggs
2025-05-06 17:32:36 +00:00
Harshitha Onkar
b21b3a38a5 8355528: Update HarfBuzz to 11.2.0
Reviewed-by: dnguyen, prr
2025-05-06 16:50:14 +00:00
Volodymyr Paprotski
a6995a3d42 8354473: Incorrect results for compress/expand tests with -XX:+EnableX86ECoreOpts
Reviewed-by: jbhateja, sviswanathan, epeter
2025-05-06 16:26:21 +00:00
Hannes Wallnöfer
9477c42215 8356276: JavaScript error in script.js after JDK-8348282
Reviewed-by: liach
2025-05-06 16:01:44 +00:00
Matthias Baesken
088825ed88 8355979: ATTRIBUTE_NO_UBSAN needs to be extended to handle float divisions by zero on AIX
Reviewed-by: jkern, lucy
2025-05-06 14:15:37 +00:00
Roman Kennke
bfdafb7626 8356266: Fix non-Shenandoah build after JDK-8356075
Reviewed-by: dnsimon, shade
2025-05-06 13:25:07 +00:00
Coleen Phillimore
ddd07b107e 8356172: IdealGraphPrinter doesn't need ThreadCritical
Reviewed-by: rcastanedalo, chagedorn
2025-05-06 11:48:02 +00:00
Roman Kennke
614ba9fc41 8356075: Support Shenandoah GC in JVMCI
Reviewed-by: shade, dnsimon, cslucas
2025-05-06 11:08:51 +00:00
Joel Sikström
ecfaf354d7 8356083: ZGC: Duplicate ZTestEntry symbols in gtests
Reviewed-by: aboldtch, tschatzl
2025-05-06 09:50:44 +00:00
Manuel Hässig
1eee15eea6 8258229: Crash in nmethod::reloc_string_for
Reviewed-by: galder, thartmann
2025-05-06 09:05:37 +00:00
Harald Eilertsen
8c4f2ff21e 8356182: Build fails on aarch64 without ZGC
This work was sponsored by The FreeBSD Foundation

Reviewed-by: stefank, chagedorn
2025-05-06 08:28:31 +00:00
Roberto Castañeda Lozano
def907ab89 8354520: IGV: dump contextual information
Reviewed-by: epeter, dfenacci
2025-05-06 08:16:09 +00:00
Emanuel Peter
9f8fbf2922 8352869: Verify.checkEQ: extension for NaN, VectorAPI and arbitrary Objects
Reviewed-by: chagedorn, thartmann
2025-05-06 06:26:09 +00:00
Manukumar V S
e09d2e275b 8288471: java/awt/ScrollPane/bug8077409Test.java is unstable and fails intermittently in CI
Reviewed-by: abhiscxk, serb
2025-05-06 02:51:23 +00:00
Leonid Mesnik
64b58f6a54 8356089: java/lang/IO/IO.java fails with -XX:+AOTClassLinking
Reviewed-by: epavlova, iklam
2025-05-06 01:59:33 +00:00
Calvin Cheung
7f6ea27d3e 8356020: Failed assert in virtualMemoryTracker.cpp
Reviewed-by: iklam, gziemski
2025-05-06 01:34:50 +00:00
Boris Ulasevich
aea2837143 8355896: Lossy narrowing cast of JVMCINMethodData::size
Reviewed-by: kvn, dnsimon
2025-05-06 01:26:15 +00:00
Nizar Benalla
606f2012b0 8174840: Elements.overrides does not check the return type of the methods
Co-authored-by: Pavel Rappo <prappo@openjdk.org>
Reviewed-by: liach, darcy
2025-05-05 21:52:25 +00:00
Steffen Nießing
2a4f37cc16 8356119: Typo in bytecode behavior for Lookup.findGetter
Reviewed-by: liach
2025-05-05 20:52:13 +00:00
Archie Cobbs
ca7e4c4e05 8352612: No way to add back lint categories after "none"
Reviewed-by: mcimadamore
2025-05-05 20:40:45 +00:00
Calvin Cheung
620f81671a 8327495: Print more warning with -Xshare:auto when CDS fails to use archive
Reviewed-by: iklam, matsaave
2025-05-05 19:36:26 +00:00
Oleksii Sylichenko
6bcbc3b0a2 8353489: Increase timeout and improve Windows compatibility in test/jdk/java/lang/ProcessBuilder/Basic.java
Reviewed-by: rriggs
2025-05-05 18:56:48 +00:00
Roger Riggs
65f188f29f 8354334: Remove @ValueBased from ProcessHandle
Reviewed-by: liach
2025-05-05 18:35:46 +00:00
Tom Rodriguez
cc34135fff 8343158: [JVMCI] ZGC should deoptimize on old gen allocation
Reviewed-by: aboldtch, eosterlund
2025-05-05 17:26:01 +00:00
Justin Lu
32f67a3e38 8356040: java/util/PluggableLocale/LocaleNameProviderTest.java timed out
Reviewed-by: naoto
2025-05-05 16:42:44 +00:00
Aleksey Shipilev
f68764490c 8356153: Shenandoah stubs are missing in AOT Code Cache addresses table
Reviewed-by: kvn
2025-05-05 16:30:25 +00:00
Joe Darcy
6719b9214f 8356108: Update SourceVersion.RELEASE_25 description for JEPs 511 and 512
Reviewed-by: vromero, liach, iris, jlahoda
2025-05-05 15:42:19 +00:00
Aleksey Shipilev
1501a5e41e 8356122: Client build fails after JDK-8350209
Reviewed-by: chagedorn
2025-05-05 12:51:02 +00:00
Coleen Phillimore
a8cd01f6e2 8355353: File Leak in os::read_image_release_file of os.cpp:1552
Reviewed-by: zgu, jsjolen
2025-05-05 11:57:01 +00:00
Robbin Ehn
026479767c 8352730: RISC-V: Disable tests in qemu-user
Reviewed-by: fyang, mli
2025-05-05 11:43:45 +00:00
Jan Lahoda
f1e06c3c05 8299934: LocalExecutionControl replaces default uncaught exception handler
Reviewed-by: liach
2025-05-05 09:00:59 +00:00
Anton Artemov
6dd5553823 8354329: Rewrite runtime/ClassFile/JsrRewriting.java and OomWhileParsingRepeatedJsr.java tests
Reviewed-by: matsaave, coleenp
2025-05-05 08:52:52 +00:00
Johan Sjölen
8511220f9d 8355490: Make VM_RedefineClasses::merge_constant_pools only take reference arguments
Reviewed-by: amenkov, sspitsyn, coleenp
2025-05-05 07:15:46 +00:00
Johan Sjölen
f04e556d47 8355711: Remove incorrect overflow check in RawBytecodeStream::raw_next
Reviewed-by: dlong, matsaave
2025-05-05 07:14:24 +00:00
Johan Sjölen
604225fb0c 8354954: Typed static memory for late initialization of static class members in Hotspot
Reviewed-by: qamai, kbarrett, jvernee
2025-05-05 06:58:20 +00:00
Marc Chevalier
69d0f7a395 8354284: Add more compiler test folders to tier1 runs
Reviewed-by: chagedorn, kvn
2025-05-05 06:57:09 +00:00
Daniel Jeliński
c94a7ae11e 8354276: Strict HTTP header validation
Reviewed-by: dfuchs, jpai
2025-05-05 05:29:06 +00:00
Jan Lahoda
a5f4366a7f 8353565: Javac throws "inconsistent stack types at join point" exception
Reviewed-by: vromero, liach, mcimadamore
2025-05-05 05:04:17 +00:00
Tatsunori Uchino
c8ce61c8ca 8355371: NegativeArraySizeException in print methods in IO or System.console() in JShell
8354910: Output by java.io.IO or System.console() corrupted for some non-ASCII characters

Reviewed-by: liach, jlahoda
2025-05-05 05:03:15 +00:00
Amit Kumar
5b3ae92105 8350182: [s390x] Relativize locals in interpreter frames
Reviewed-by: lucy, rrich
2025-05-05 04:02:51 +00:00
Mikhail Yankelevich
03f0ec4a35 8183348: Better cleanup for jdk/test/sun/security/pkcs12/P12SecretKey.java
Reviewed-by: rhalade, weijun
2025-05-02 23:15:26 +00:00
Chen Liang
4d2d12987f 8355962: RISCV64 cross build fails after 8354996
Reviewed-by: erikj, manc
2025-05-02 22:34:10 +00:00
Vicente Romero
56468c42be 8322810: Lambda expression types can't be classes
Reviewed-by: mcimadamore
2025-05-02 20:44:22 +00:00
Peter B. Kessler
60ba81d77f 8354347: Increase the default padding size for aarch64 in JDK code.
Reviewed-by: aph, ecaspole
2025-05-02 18:54:11 +00:00
Mohamed Issa
c8bbcaf5de 8348638: Performance regression in Math.tanh
Reviewed-by: jbhateja, epeter, sviswanathan
2025-05-02 17:21:50 +00:00
Brian Burkhalter
84f570c573 8355445: [java.nio] Use @requires tag instead of exiting based on "os.name" property value
Reviewed-by: lancea, jpai, iris
2025-05-02 17:00:12 +00:00
Brian Burkhalter
4826a91e7a 8355443: [java.io] Use @requires tag instead of exiting based on File.separatorChar value
Reviewed-by: naoto, vyazici
2025-05-02 16:59:56 +00:00
Brian Burkhalter
5faa559022 8355444: [java.io] Use @requires tag instead of exiting based on "os.name" property value
Reviewed-by: jpai, lancea
2025-05-02 16:59:41 +00:00
Mikael Vidstedt
01fd49ffb3 8355446: Change to Xcode 15.4 for building on macOS at Oracle
Reviewed-by: erikj, ihse
2025-05-02 16:56:05 +00:00
Per Minborg
9f9e73d5f9 8349146: [REDO] Implement a better allocator for downcalls
Reviewed-by: mcimadamore, jvernee, liach
2025-05-02 14:14:59 +00:00
Ivan Walulya
995d54161f 8355681: G1HeapRegionManager::find_contiguous_allow_expand ignores free regions when checking regions available for allocation
Reviewed-by: tschatzl, ayang
2025-05-02 12:54:09 +00:00
Ivan Bereziuk
cf2f9ce820 8356032: createAutoconfBundle.sh downloads to local directory
Reviewed-by: erikj
2025-05-02 12:49:03 +00:00
Suchismith Roy
cdad6d788d 8216437: PPC64: Add intrinsic for GHASH algorithm
Reviewed-by: mdoerr, amitkumar
2025-05-02 12:30:32 +00:00
Coleen Phillimore
afb9134a31 8355627: Don't use ThreadCritical for EventLog list
Reviewed-by: shade, lmesnik, zgu
2025-05-02 11:40:19 +00:00
Hamlin Li
811f117ce3 8355980: RISC-V: remove vmclr_m before vmsXX and vmfXX
Reviewed-by: dzhang, fyang
2025-05-02 08:28:57 +00:00
Jan Lahoda
d29700cc80 8344706: Implement JEP 512: Compact Source Files and Instance Main Methods
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Reviewed-by: liach, cstein, vromero, naoto
2025-05-02 06:10:48 +00:00
Chen Liang
bd7c77898a 8350549: MethodHandleProxies.WRAPPER_TYPES is not thread-safe
Reviewed-by: jpai, jvernee
2025-05-02 01:30:47 +00:00
Weijun Wang
c514f135cc 8356051: Update SignatureUtil.java with the new KnownOIDs
Reviewed-by: rhalade
2025-05-02 00:25:19 +00:00
Weijun Wang
494ef6cb8c 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms
Reviewed-by: valeriep, mullan
2025-05-01 23:34:35 +00:00
Valerie Peng
6536430a3b 8348732: SunJCE and SunPKCS11 have different PBE key encodings
Reviewed-by: weijun, fferrari
2025-05-01 23:08:16 +00:00
Vladimir Kozlov
aae2bb6249 8350209: Preserve adapters in AOT cache
Co-authored-by: Ashutosh Mehra <asmehra@openjdk.org>
Reviewed-by: vlivanov, asmehra, ihse, iklam
2025-05-01 21:03:24 +00:00
Sergey Kuksenko
c116b18b89 8355559: Benchmark modification/extension shouldn't affect the behavior of other benchmarks
Reviewed-by: ecaspole
2025-05-01 18:45:20 +00:00
William Kemper
9e26b9facb 8355372: GenShen: Test gc/shenandoah/generational/TestOldGrowthTriggers.java fails with UseCompactObjectHeaders enabled
Reviewed-by: ysr, kdnilsen
2025-05-01 17:40:57 +00:00
Koushik Thirupattur
394961c8fe 8328914: Document the java.security.debug property in javadoc
Reviewed-by: mullan
2025-05-01 17:26:32 +00:00
Joe Wang
cf0db96314 8354084: Streamline XPath API's extension function control
Reviewed-by: rriggs, naoto
2025-05-01 17:03:29 +00:00
Mikhail Yankelevich
6b553acbaa 8277424: javax/net/ssl/TLSCommon/TLSTest.java fails with connection refused
Reviewed-by: rhalade
2025-05-01 16:16:25 +00:00
Kevin Walls
09cae5fd8f 8354407: Test com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java still fails on Windows
Reviewed-by: cjplummer, lmesnik
2025-05-01 16:05:59 +00:00
Shaojin Wen
2ad639f1b3 8356021: Use Double::hashCode in java.util.Locale::hashCode
Reviewed-by: rriggs, liach
2025-05-01 15:47:01 +00:00
Chen Liang
bee273d6b4 8297271: AccessFlag.maskToAccessFlags should be specific to class file version
Reviewed-by: rriggs
2025-05-01 14:37:26 +00:00
Artur Barashev
34807df762 8355779: When no "signature_algorithms_cert" extension is present we do not apply certificate scope constraints to algorithms in "signature_algorithms" extension
Reviewed-by: mullan
2025-05-01 13:09:14 +00:00
Matthew Donovan
7b31762375 8354235: Test javax/net/ssl/SSLSocket/Tls13PacketSize.java failed with java.net.SocketException: An established connection was aborted by the software in your host machine
Reviewed-by: rhalade
2025-05-01 11:04:33 +00:00
Hamlin Li
0cd0afb2b3 8355913: RISC-V: improve hotspot/jtreg/compiler/vectorization/runner/BasicFloatOpTest.java
Reviewed-by: fyang, rehn
2025-05-01 08:15:24 +00:00
Jan Lahoda
0a697f6ff4 8344708: Implement JEP 511: Module Import Declarations
Reviewed-by: mcimadamore, vromero, alanb
2025-05-01 07:42:38 +00:00
Gustavo Simon
b218410508 8354292: Remove unused PRAGMA_FORMAT_IGNORED
Reviewed-by: mbaesken, kbarrett, shade
2025-05-01 07:32:10 +00:00
Aleksey Shipilev
8ef7e256a0 8355769: Optimize nmethod dependency recording
Reviewed-by: adinn, vlivanov, kvn
2025-05-01 07:29:56 +00:00
Chris Plummer
e2ae50d877 8355569: Some nsk/jdi tests can glean the "main" thread by using the ClassPrepareEvent for the debuggee main class
Reviewed-by: sspitsyn, amenkov
2025-04-30 22:53:31 +00:00
Chen Liang
e36756b264 8297727: Forcing LF interpretation lead to StackOverflowError in reflection code
Reviewed-by: jvernee
2025-04-30 21:56:13 +00:00
Chen Liang
24bc714d5e 8355956: Prepare javap for class file format aware access flag parsing
Reviewed-by: vromero
2025-04-30 21:55:57 +00:00
Zhengyu Gu
4cc19ba5e3 8355650: Remove unused fields in ParkEvent
Reviewed-by: coleenp
2025-04-30 20:24:54 +00:00
Chen Liang
bccf057fa4 8355971: Build warnings after the changes for JDK-8354996
Reviewed-by: shade, erikj
2025-04-30 19:26:27 +00:00
Rajan Halade
1313349a2e 8350498: Remove two Camerfirma root CA certificates
Reviewed-by: mullan
2025-04-30 18:14:10 +00:00
Mat Carter
1ff7e813e3 8354897: Support Soft/Weak Reference in AOT cache
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: liach, eosterlund
2025-04-30 18:05:59 +00:00
Gerard Ziemski
9a2a2c5bb1 8354547: REDO: Force clients to explicitly pass mem_tag value, even if it is mtNone
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Reviewed-by: stefank, coleenp, jsjolen
2025-04-30 17:57:00 +00:00
Volkan Yazici
18983b635f 8355391: Use Long::hashCode in java.time
Reviewed-by: rriggs, pminborg, naoto
2025-04-30 17:52:55 +00:00
Chris Plummer
50145bb74a 8355773: Some nsk/jdi tests can fetch ThreadReference from static field in the debuggee
Reviewed-by: sspitsyn, amenkov
2025-04-30 17:15:52 +00:00
Chris Plummer
486acc06e0 8355453: nsk.share.jdi.Debugee.waitingEvent() does not timeout properly
Reviewed-by: lmesnik, amenkov, sspitsyn
2025-04-30 17:09:53 +00:00
Gautham Krishnan
66122811aa 8342886: Update MET timezone in TimeZoneNames files
Reviewed-by: naoto
2025-04-30 16:06:22 +00:00
Per Minborg
fbc4691bfa 8351565: Implement JEP 502: Stable Values (Preview)
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: vklang, jvernee, alanb, liach
2025-04-30 16:03:25 +00:00
Roger Riggs
4c695fa8a4 8351000: StringBuilder getChar and putChar robustness
Reviewed-by: liach, lancea, rgiulietti, pminborg
2025-04-30 13:50:57 +00:00
Rajat Mahajan
482538b100 8351884: Refactor bug8033699.java test code
Reviewed-by: aivanov, honkar, dmarkov
2025-04-30 12:23:24 +00:00
Andrey Turbanov
0110acaa90 8354791: Use Hashtable.putIfAbsent in CSS constructor
Reviewed-by: serb, aivanov
2025-04-30 11:29:06 +00:00
Tongbao Zhang
526951dba7 8354145: G1: UseCompressedOops boundary is calculated on maximum heap region size instead of maxiumum ergonomic heap region size
Reviewed-by: tschatzl, ayang
2025-04-30 09:57:23 +00:00
Gui Cao
765cef4546 8355878: RISC-V: jdk/incubator/vector/DoubleMaxVectorTests.java fails when using RVV
Reviewed-by: fyang, dzhang
2025-04-30 09:04:54 +00:00
Marc Chevalier
d802fd0da2 8352422: [ubsan] Out-of-range reported in ciMethod.cpp:917:20: runtime error: 2.68435e+09 is outside the range of representable values of type 'int'
Reviewed-by: epeter, dlong
2025-04-30 08:45:54 +00:00
Volkan Yazici
7d9a43839a 8355370: Include server name in HTTP test server thread names to improve diagnostics
Reviewed-by: dfuchs, jpai
2025-04-30 08:15:21 +00:00
Anjian-Wen
375ac6d446 8355796: RISC-V: compiler/vectorapi/AllBitsSetVectorMatchRuleTest.java fails after JDK-8355657
Reviewed-by: fyang, gcao
2025-04-30 01:58:41 +00:00
Alexey Semenyuk
1a9a9288a6 8355651: Issues with post-image hook
Reviewed-by: almatvee
2025-04-30 01:14:51 +00:00
Chen Liang
dcffd9d9ac 8347471: Provide valid flags and mask in AccessFlag.Location
Reviewed-by: rriggs
2025-04-30 00:39:02 +00:00
Leonid Mesnik
83d0bd85af 8355069: Allocation::check_out_of_memory() should support CheckUnhandledOops mode
Reviewed-by: sspitsyn
2025-04-29 23:44:45 +00:00
Chen Liang
1652948862 8355442: Reference field lambda forms with type casts are not generated
Reviewed-by: jvernee
2025-04-29 23:07:14 +00:00
William Kemper
5e27547e2d 8355789: GenShen: assert(_degen_point == ShenandoahGC::_degenerated_unset) failed: Should not be set yet: Outside of Cycle
Reviewed-by: kdnilsen, ysr
2025-04-29 22:56:19 +00:00
Vladimir Ivanov
6850757fe6 8355689: Wrong native entry name for FloatMaxVector vector math stubs with -XX:MaxVectorSize=8
Reviewed-by: psandoz, haosun, kvn
2025-04-29 22:25:20 +00:00
Artur Barashev
8b16897b74 8355262: Test sun/security/ssl/SSLSessionImpl/NoInvalidateSocketException.java failed: accept timed out
Reviewed-by: jnimeh, wetmore
2025-04-29 20:42:37 +00:00
Brent Christian
bf52eb0358 8355632: WhiteBox.waitForReferenceProcessing() fails assert for return type
Reviewed-by: kbarrett
2025-04-29 20:15:00 +00:00
Mark Powers
c2485d5f7d 8351113: RC2ParameterSpec throws IllegalArgumentException when offset is negative
Reviewed-by: mullan
2025-04-29 19:12:52 +00:00
Aleksey Shipilev
ead6757486 8342283: CDS cannot handle a large number of classes
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: iklam, lmesnik, ccheung
2025-04-29 18:08:28 +00:00
Manukumar V S
bd7561c315 8355441: Remove antipattern from PassFailJFrame.forcePass javadoc
Reviewed-by: aivanov, honkar
2025-04-29 16:43:15 +00:00
Chen Liang
5d2d1ab574 8354996: Reduce dynamic code generation for a single downcall
Reviewed-by: jvernee
2025-04-29 15:42:08 +00:00
Julian Waters
fa2a9d1e10 8354919: Move HotSpot .editorconfig into the global .editorconfig
Reviewed-by: erikj, ihse
2025-04-29 15:37:16 +00:00
Liam Miller-Cushon
b5156bb16a 8355065: ConcurrentModificationException in RichDiagnosticFormatter
Reviewed-by: vromero
2025-04-29 14:32:38 +00:00
Fei Yang
2ed7ad4b5c 8355667: RISC-V: Add backend implementation for unsigned vector Min / Max operations
Reviewed-by: mli, gcao
2025-04-29 13:41:04 +00:00
Matthias Baesken
9f42ff8960 8355594: Warnings occur when building with clang and enabling ubsan
Reviewed-by: erikj, jkern, ihse
2025-04-29 13:26:51 +00:00
David Linus Briemann
edf8ce8db1 8355739: AssertionError: Invalid CPU feature name after 8353786
Reviewed-by: vlivanov, shade, mdoerr
2025-04-29 11:57:37 +00:00
Manuel Hässig
6a0c24f9db 8355472: Clean up x86 nativeInst after 32-bit x86 removal
Reviewed-by: shade, rcastanedalo, jwaters
2025-04-29 09:22:18 +00:00
Kuai Wei
31e70e41d5 8355697: Create windows devkit on wsl and msys2
Reviewed-by: ihse, erikj
2025-04-29 08:31:20 +00:00
Marc Chevalier
108078a681 8338194: ubsan: mulnode.cpp:862:59: runtime error: shift exponent 64 is too large for 64-bit type 'long unsigned int'
Reviewed-by: dlong, dfenacci
2025-04-29 07:43:37 +00:00
Kevin Walls
841989b270 8318730: MonitorVmStartTerminate.java still times out after JDK-8209595
Reviewed-by: lmesnik, sspitsyn, cjplummer
2025-04-29 06:57:33 +00:00
Gustavo Simon
44374a5720 8350542: Optional.orElseThrow(Supplier) does not specify behavior when supplier returns null
Reviewed-by: liach, clanger
2025-04-29 04:17:00 +00:00
Chen Liang
e4cb49fc85 8342206: Convenience method to check if a constant pool entry matches nominal descriptors
Reviewed-by: asotona
2025-04-29 03:06:23 +00:00
Gui Cao
7bde2bb571 8355654: RISC-V: Relax register constraint for some vector-scalar instructions
Reviewed-by: fyang, dzhang
2025-04-29 02:12:04 +00:00
Boris Ulasevich
7cf190fbb0 8345225: AARCH64: VM crashes with -NearCpool +UseShenandoahGC options
Reviewed-by: aph, shade
2025-04-29 01:50:23 +00:00
Gui Cao
ea3cf1b882 8355668: RISC-V: jdk/incubator/vector/Int256VectorTests.java fails when using RVV
Reviewed-by: fyang
2025-04-29 01:23:47 +00:00
Zhengyu Gu
62ef706dd1 8355648: Thread.SpinAcquire()'s lock name parameter is not used
Reviewed-by: shade, coleenp
2025-04-28 23:31:54 +00:00
Roger Riggs
1fd136cd6b 8354335: No longer deprecate wrapper class constructors for removal
Reviewed-by: liach, bchristi, iris
2025-04-28 21:36:14 +00:00
Jiangli Zhou
62d165d0e4 8355669: Add static-jdk-bundles make target
Reviewed-by: ihse
2025-04-28 19:44:04 +00:00
Leonid Mesnik
af4388abf2 8355649: Missing ResourceMark in ExceptionMark::check_no_pending_exception
Reviewed-by: jsjolen, shade
2025-04-28 19:24:09 +00:00
Jiangli Zhou
acd93df612 8355080: java.base/jdk.internal.foreign.SystemLookup.find() doesn't work on static JDK
Reviewed-by: mcimadamore, jvernee
2025-04-28 18:55:26 +00:00
Roger Riggs
2f8448034f 8354053: Remove unused JavaIOFilePermissionAccess
Reviewed-by: liach, weijun
2025-04-28 18:21:46 +00:00
Mikael Vidstedt
a090aa3ff8 8354902: Change to Visual Studio 17.13.2 for building on Windows at Oracle
Reviewed-by: erikj, ihse
2025-04-28 17:13:44 +00:00
Naoto Sato
c0dc31422d 8355558: SJIS.java test is always ignored
Reviewed-by: bpb
2025-04-28 16:03:40 +00:00
Joachim Kern
b1e778d9d2 8354686: [AIX] now ubsan is possible
Reviewed-by: mbaesken, clanger
2025-04-28 14:38:59 +00:00
Joel Sikström
66358fa2c0 8355616: Incorrect ifdef in compilationMemoryStatistic.cpp
Reviewed-by: shade, stuefe, jwaters
2025-04-28 14:08:59 +00:00
Tobias Hartmann
e7a416254b 8355717: Problem list tests until JDK-8355708 is fixed
Reviewed-by: chagedorn
2025-04-28 13:54:41 +00:00
Vladimir Kozlov
3eaec040b4 8355635: Do not collect C strings in C2 scratch buffer
Reviewed-by: jrose, thartmann, shade
2025-04-28 13:29:51 +00:00
Anton Artemov
a7359a5091 8354453: Don't strcpy in os::strdup, use memcpy instead
Reviewed-by: jsjolen, kbarrett
2025-04-28 12:12:50 +00:00
Hannes Wallnöfer
b0c3485d6c 8348282: Add option for syntax highlighting in javadoc snippets
Reviewed-by: liach, nbenalla, erikj
2025-04-28 10:04:20 +00:00
Suchismith Roy
2447b9812a 8355498: [AIX] Adapt code for C++ VLA rule
Reviewed-by: jkern, mdoerr
2025-04-28 08:44:36 +00:00
Aleksey Shipilev
db6fa5923c 8355617: Remove historical debug_only macro in favor of DEBUG_ONLY
Reviewed-by: stefank, kbarrett, jwaters
2025-04-28 08:43:14 +00:00
Bhavana Kilambi
3140de411b 8345125: Aarch64: Add aarch64 backend for Float16 scalar operations
Reviewed-by: aph, haosun
2025-04-28 08:08:42 +00:00
Anjian-Wen
a05ff55be4 8355657: RISC-V: Improve PrintOptoAssembly output of vector-scalar instructions
Reviewed-by: fyang, gcao
2025-04-28 07:15:41 +00:00
Matthias Baesken
7df1bfe27b 8354811: clock_tics_per_sec code duplication between os_linux and os_posix
Reviewed-by: lucy, clanger, asteiner
2025-04-28 06:56:09 +00:00
Nikita Gubarkov
40e7986c41 8355611: Get rid of SurfaceManagerFactory
Reviewed-by: serb, prr
2025-04-28 06:44:16 +00:00
Damon Fenacci
1f228e5539 8354119: Missing C2 proper allocation failure handling during initialization (during generate_uncommon_trap_blob)
Reviewed-by: kvn, chagedorn, mdoerr, amitkumar, fyang, bulasevich
2025-04-28 06:18:53 +00:00
Kelvin Nilsen
cd6f0d19d5 8355336: GenShen: Resume Old GC even with back-to-back Young GC triggers
Reviewed-by: wkemper
2025-04-27 20:10:20 +00:00
Tejesh R
9c86ac2723 8354495: Open source several AWT DataTransfer tests
Reviewed-by: azvegint
2025-04-27 11:44:40 +00:00
jeremy
04bb5dcf57 8355203: [macos] AquaButtonUI and AquaRootPaneUI repaint default button unnecessarily
Reviewed-by: serb, prr
2025-04-27 11:24:29 +00:00
Ioi Lam
4e7b513372 8351333: [ubsan] CDSMapLogger::log_region applying non-zero offset to null pointer
Reviewed-by: ccheung
2025-04-27 06:05:50 +00:00
Yasumasa Suenaga
898d479800 8355077: Compiler error at splashscreen_gif.c due to unterminated string initialization
Reviewed-by: prr
2025-04-27 02:29:44 +00:00
Bradford Wetmore
21b0f5ea15 8355637: SSLSessionImpl's "serialization" list documentation is incorrectly ordered
Reviewed-by: ascarpino
2025-04-26 05:46:05 +00:00
Jatin Bhateja
3b3a055d76 8342676: Unsigned Vector Min / Max transforms
Reviewed-by: sviswanathan, epeter
2025-04-26 03:31:21 +00:00
Anjian-Wen
91a9043f9d 8355562: RISC-V: Cleanup names of vector-scalar instructions in riscv_v.ad
Reviewed-by: fyang, fjiang
2025-04-26 02:58:51 +00:00
Vladimir Ivanov
e57fd71049 8353786: Migrate Vector API math library support to FFM API
Reviewed-by: jbhateja, kvn, psandoz, xgong, jvernee, mli
2025-04-25 21:22:37 +00:00
Ioi Lam
5db62abb42 8315719: Adapt AOTClassLinking test case for dynamic CDS archive
Reviewed-by: ccheung
2025-04-25 20:58:40 +00:00
Manukumar V S
2785570f56 8355366: Fix the wrong usage of PassFailJFrame.forcePass() in some manual tests
Reviewed-by: honkar, aivanov, prr
2025-04-25 20:12:45 +00:00
Jiangli Zhou
4b88029988 8355439: Some hotspot/jtreg/serviceability/sa/* tests fail on static JDK due to explicit checks for shared libraries in process memory map
Reviewed-by: sspitsyn, cjplummer
2025-04-25 17:11:54 +00:00
Brent Christian
d8f012ea2a 8305186: Reference.waitForReferenceProcessing should be more accessible to tests
Reviewed-by: kbarrett
2025-04-25 17:06:26 +00:00
Chen Liang
ac05002cbe 8354877: DirectClassBuilder default flags should include ACC_SUPER
Reviewed-by: asotona
2025-04-25 16:34:52 +00:00
Stuart Marks
15f42e348d 8350703: Add standard system property stdin.encoding
Reviewed-by: naoto, alanb
2025-04-25 16:32:42 +00:00
Chris Plummer
77f5a24648 8355214: nsk/jdi/ThreadStartRequest/addThreadFilter/addthreadfilter001.java should use JDIBase superclass
Reviewed-by: lmesnik, sspitsyn
2025-04-25 16:30:26 +00:00
Calvin Cheung
597bcc6953 8352003: Support --add-opens with -XX:+AOTClassLinking
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: iklam, alanb, matsaave
2025-04-25 16:12:35 +00:00
Anjian-Wen
5c067232bf 8355074: RISC-V: C2: Support Vector-Scalar version of Zvbb Vector And-Not instruction
Reviewed-by: fjiang, fyang
2025-04-25 12:50:12 +00:00
Anton Artemov
a2f9c24844 8354327: Rewrite runtime/LoadClass/LoadClassNegative.java
Reviewed-by: coleenp, lmesnik
2025-04-25 11:31:10 +00:00
Eirik Bjørsnøs
e6cea4025b 8355475: UNCTest should use an existing UNC path
Reviewed-by: dfuchs
2025-04-25 11:17:15 +00:00
Nizar Benalla
f66b9ba7bc 8346785: Potential infinite loop in JavadocTokenizer.ensures
Reviewed-by: liach, hannesw
2025-04-25 10:08:37 +00:00
Severin Gehwolf
89f9268ed7 8355524: Only every second line in upgradeable files is being used
Reviewed-by: shade, alanb
2025-04-25 08:20:51 +00:00
Evgeny Nikitin
b41e0b1749 8355387: [jittester] Disable downcasts by default
Reviewed-by: thartmann, chagedorn
2025-04-25 07:20:25 +00:00
Aleksey Shipilev
dbd2fb0e5a 8355473: Clean up x86 globals/VM_Version after 32-bit x86 removal
Reviewed-by: chagedorn, coleenp, jwaters
2025-04-25 07:11:24 +00:00
Matthias Baesken
70030bac04 8354803: ALL_64_BITS is the same across platforms
Reviewed-by: stefank, lucy
2025-04-25 07:09:37 +00:00
Tobias Hartmann
f27fc010f6 8355576: Problem list compiler/c2/TestVerifyConstraintCasts.java until JDK-8355574 is fixed
Reviewed-by: chagedorn
2025-04-25 07:09:10 +00:00
Quan Anh Mai
ed604038ff 8346836: C2: Verify CastII/CastLL bounds at runtime
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: vlivanov, epeter
2025-04-25 02:09:58 +00:00
Xiaolong Peng
8a39f07d07 8354431: gc/logging/TestGCId fails on Shenandoah
Reviewed-by: wkemper, phh
2025-04-24 23:23:58 +00:00
David Beaumont
e01e33d19b 8354424: java/util/logging/LoggingDeadlock5.java fails intermittently in tier6
Reviewed-by: dfuchs, smarks
2025-04-24 19:18:13 +00:00
Chris Plummer
370e6113de 8355221: Get rid of unnecessary override of JDIBase.breakpointForCommunication in nsk/jdi tests
Reviewed-by: lmesnik, amenkov
2025-04-24 17:19:15 +00:00
Chris Plummer
29f10700e7 8355211: nsk/jdi/EventRequest/disable/disable001.java should use JDIBase superclass
Reviewed-by: lmesnik, amenkov
2025-04-24 17:17:54 +00:00
Hamlin Li
862797f0c1 8355293: [TEST] RISC-V: enable more ir tests
Reviewed-by: fyang, luhenry
2025-04-24 16:23:12 +00:00
Hamlin Li
3270a7d359 8355476: RISC-V: using zext_w directly in vector_update_crc32 could trigger assert
Reviewed-by: fyang, fjiang
2025-04-24 16:21:44 +00:00
Gennadiy Krivoshein
8e51ff70d8 8315113: Print request Chromaticity.MONOCHROME attribute does not work on macOS
Reviewed-by: prr, psadhukhan
2025-04-24 16:06:29 +00:00
Mikael Vidstedt
751e0392bc 8355235: Clean out old versions from Tools.gmk
Reviewed-by: erikj
2025-04-24 15:55:05 +00:00
Aleksey Shipilev
0edd018a48 8355432: Remove CompileTask from SA
Reviewed-by: cjplummer, lmesnik
2025-04-24 14:48:00 +00:00
Viktor Klang
356c4d9ca9 8355369: Remove setAccessible usage for setting final fields in java.util.concurrent
Reviewed-by: pminborg, dl, rgiulietti, alanb
2025-04-24 14:14:24 +00:00
Joel Sikström
cf96b107d5 8354362: Use automatic indentation in CollectedHeap printing
Reviewed-by: stefank, lkorinth, stuefe
2025-04-24 14:14:10 +00:00
Marc Chevalier
0537c6927d 8355492: MissedOptCastII is missing UnlockDiagnosticVMOptions flag
Reviewed-by: rcastanedalo, chagedorn, thartmann
2025-04-24 13:39:43 +00:00
Oleksii Sylichenko
34c4d895ca 8353190: Use "/native" Run Option for TestAvailableProcessors Execution
Reviewed-by: dholmes
2025-04-24 12:50:03 +00:00
Sean Coffey
1ec64811a3 8350582: Correct the parsing of the ssl value in javax.net.debug
Reviewed-by: wetmore, hchao
2025-04-24 12:01:34 +00:00
Kim Barrett
d3f31b0d8e 8347719: [REDO] Portable implementation of FORBID_C_FUNCTION and ALLOW_C_FUNCTION
Reviewed-by: tschatzl, jsjolen
2025-04-24 11:43:53 +00:00
Marc Chevalier
6254046f50 8320909: C2: Adapt IGVN's enqueuing logic to match idealization of AndNode with LShift operand
Reviewed-by: epeter, thartmann
2025-04-24 10:27:50 +00:00
Saranya Natarajan
74a2c831a2 8352620: C2: rename MemNode::memory_type() to MemNode::value_basic_type()
Reviewed-by: rcastanedalo, thartmann
2025-04-24 09:33:15 +00:00
Roland Westrelin
be6e4406d8 8349139: C2: Div looses dependency on condition that guarantees divisor not zero in counted loop
Reviewed-by: chagedorn, epeter, qamai
2025-04-24 09:10:43 +00:00
Manuel Hässig
290d24d16a 8355400: Better git detection in update_copyright_year.sh
Reviewed-by: erikj, chagedorn
2025-04-24 08:36:35 +00:00
Manuel Hässig
84e9264e76 8346552: C2: Add IR tests to check that Predicate cloning in Loop Unswitching works as expected
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: chagedorn, epeter
2025-04-24 08:29:08 +00:00
Stefan Karlsson
953eef4f11 8347337: ZGC: String dedups short-lived strings
Reviewed-by: kbarrett, aboldtch, eosterlund
2025-04-24 07:20:25 +00:00
Jan Lahoda
7bfbb9a515 8348928: Check for case label validity are misbehaving when binding patterns with unnamed bindings are present
Reviewed-by: asotona, abimpoudis, vromero
2025-04-24 06:58:37 +00:00
Aleksey Shipilev
188c236071 8353558: x86: Use better instructions for ICache sync when available
Reviewed-by: kvn, adinn
2025-04-24 06:58:21 +00:00
Vladimir Ivanov
428334b616 8353216: Improve VerifyMethodHandles for method handle linkers
Reviewed-by: dlong
2025-04-24 01:09:17 +00:00
Ioi Lam
bbec3c0730 8354558: -XX:AOTMode=record crashes with boot loader package-info class
Reviewed-by: ccheung, matsaave
2025-04-24 00:00:36 +00:00
Alexander Zvegintsev
b10a304b2b 8354553: Open source several clipboard tests batch0
Reviewed-by: serb, prr
2025-04-23 23:03:22 +00:00
William Kemper
ac17449bdb 8353596: GenShen: Test TestClone.java#generational-no-coops intermittent timed out
Reviewed-by: kdnilsen, ysr
2025-04-23 22:58:47 +00:00
Alexander Zvegintsev
4873eec06f 8354554: Open source several clipboard tests batch1
Reviewed-by: serb, prr
2025-04-23 22:57:42 +00:00
Harshitha Onkar
3b7f43f95e 8355429: Open source ProgressMonitor test
Reviewed-by: azvegint
2025-04-23 22:41:31 +00:00
Alexey Semenyuk
669d4d6bfa 8355328: Improve negative tests coverage for jpackage signing
Reviewed-by: almatvee
2025-04-23 22:29:59 +00:00
Chen Liang
bd1c53e960 8354899: Reduce overhead associated with type switches
Reviewed-by: asotona
2025-04-23 21:40:50 +00:00
Chen Liang
ffe6a4f9e1 8355335: Avoid pattern matching switches in core ClassFile API
Reviewed-by: asotona
2025-04-23 21:39:55 +00:00
Ioi Lam
88e0b00a46 8353298: AOT cache creation asserts with _array_klasses in an unregistered InstanceKlass
Reviewed-by: ccheung, kvn
2025-04-23 21:25:30 +00:00
Ioi Lam
adcaf01b4f 8355237: Upstream AOT test cases from Leyden repo to mainline
Reviewed-by: ccheung, kvn, lmesnik, shade
2025-04-23 20:19:02 +00:00
Alexey Ivanov
bf8a881f02 8352733: Improve RotFontBoundsTest test
Use PassFailJFrame framework for creating manual test UI.

Provide check boxes for each degree of rotation which allow
hiding and showing the specified rotation.
Provide 'Select All' and 'Clear All' buttons.
Display Java version at the bottom of the test.

Reviewed-by: prr, azvegint, abhiscxk, honkar
2025-04-23 18:47:11 +00:00
Sergey Kuksenko
35716647b5 8353478: Update crypto microbenchmarks to cover ML-DSA, ML-KEM, and HSS algorithms
Reviewed-by: ecaspole
2025-04-23 17:03:37 +00:00
Justin Lu
ac41bc31c9 8354343: Hardening of Currency tests for not yet defined future ISO 4217 currency
Reviewed-by: naoto
2025-04-23 16:52:42 +00:00
Sangheon Kim
8bd5645218 8346568: G1: Other time can be negative
Reviewed-by: tschatzl, iwalulya
2025-04-23 16:37:07 +00:00
Leonid Mesnik
2ec61f0f34 8353214: Add testing with --enable-preview
Reviewed-by: erikj
2025-04-23 16:13:23 +00:00
Naoto Sato
f097aa90c9 8355215: Add @spec tags to Emoji related methods
Reviewed-by: joehw, iris, jlu
2025-04-23 16:07:36 +00:00
Leonid Mesnik
1a72febc97 8355228: Improve runtime/CompressedOops/CompressedClassPointersEncodingScheme.java to support JDK build with -XX:+UseCompactObjectHeaders
Reviewed-by: syan, stuefe, coleenp
2025-04-23 16:04:40 +00:00
Phil Race
32a597b36f 8355333: Some Problem list entries point to non-existent / wrong files
Reviewed-by: serb
2025-04-23 15:44:56 +00:00
Jiangli Zhou
12c3a231e6 8354898: jdk/internal/loader/NativeLibraries/Main.java fails on static JDK
Reviewed-by: jpai
2025-04-23 14:55:15 +00:00
Jaikiran Pai
6befc18974 8355278: Improve debuggability of com/sun/jndi/ldap/LdapPoolTimeoutTest.java test
Reviewed-by: aefimov
2025-04-23 14:23:38 +00:00
Stefan Karlsson
023f30bcaa 8355394: ZGC: Windows compile error in ZUtils
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: aboldtch, tschatzl
2025-04-23 14:10:04 +00:00
Stefan Karlsson
e8a1a6462d 8355401: Remove unused HWperKB
Reviewed-by: ayang, tschatzl
2025-04-23 14:08:20 +00:00
Jan Lahoda
3c7f78c066 8341833: incomplete snippet from loaded files from command line is ignored
Reviewed-by: liach, asotona
2025-04-23 13:26:22 +00:00
Archie Cobbs
a372937d84 8350983: JShell LocalExecutionControl only needs stopCheck() on backward branches
Reviewed-by: jlahoda, liach, asotona
2025-04-23 13:22:57 +00:00
Shaojin Wen
c873837da6 8355300: Add final to BitSieve
Reviewed-by: liach, pminborg
2025-04-23 13:01:42 +00:00
Robert Toyonaga
44c5aca54d 8341491: Reserve and commit memory operations should be protected by NMT lock
Reviewed-by: stuefe, stefank
2025-04-23 11:53:09 +00:00
Erik Gahlin
ef0cd1823d 8354949: JFR: Split up the EventInstrumentation class
Reviewed-by: mgronlun, liach
2025-04-23 11:48:48 +00:00
Albert Mingkun Yang
82c249446f 8354228: Parallel: Set correct minimum of InitialSurvivorRatio
Reviewed-by: tschatzl, gli
2025-04-23 10:40:45 +00:00
Stefan Karlsson
e76f20301c 8354309: Sort GC includes
Reviewed-by: eosterlund, iwalulya, kbarrett
2025-04-23 10:13:26 +00:00
Tobias Hartmann
c2e90bcc80 8355363: [BACKOUT] 8354668: Missing REX2 prefix accounting in ZGC barriers leads to incorrect encoding
Reviewed-by: chagedorn
2025-04-23 08:21:07 +00:00
Fredrik Bredberg
263983d0fb 8298733: Reconsider monitors_on_stack assert
Reviewed-by: pchilanomate, coleenp
2025-04-23 08:04:57 +00:00
Andrey Turbanov
27faf45422 8354826: Make ResolverConfigurationImpl.lock field final
Reviewed-by: dfuchs, jpai
2025-04-23 06:22:30 +00:00
Daniel Jeliński
9a2b425b13 8354920: SA core file support on Linux only prints error messages when debug logging is enabled
Reviewed-by: cjplummer, kevinw
2025-04-23 05:17:41 +00:00
Prasanta Sadhukhan
8c89fb9535 8355179: Reinstate javax/swing/JScrollBar/4865918/bug4865918.java headful and macos run
Reviewed-by: abhiscxk, serb
2025-04-23 03:40:26 +00:00
Shaojin Wen
bc518a6cbb 8355240: Remove unused Import in StringUTF16
Reviewed-by: rgiulietti
2025-04-23 02:32:36 +00:00
Fei Yang
a8c6ff161c 8355239: RISC-V: Do not support subword scatter store
Reviewed-by: mli, fjiang
2025-04-23 02:10:25 +00:00
Jatin Bhateja
4c373703d9 8354668: Missing REX2 prefix accounting in ZGC barriers leads to incorrect encoding
Reviewed-by: aboldtch, sviswanathan
2025-04-23 02:04:46 +00:00
Damon Nguyen
5392488232 8355332: Fix failing semi-manual test EDT issue
Reviewed-by: azvegint
2025-04-23 00:13:09 +00:00
Chris Plummer
b7e8952ad6 8355071: Fix nsk/jdi test to not require lookup of main thread in order to set the breakpoint used for communication
Reviewed-by: lmesnik, amenkov
2025-04-22 23:21:26 +00:00
Damon Nguyen
cc9148ddef 8354695: Open source several swing tests batch7
Reviewed-by: kizune, achung
2025-04-22 20:27:17 +00:00
Alexander Zuev
1b8f760d1b 8354928: Clean up and open source some miscellaneous AWT tests
Reviewed-by: prr, dnguyen
2025-04-22 20:17:01 +00:00
Eric Caspole
239760ac09 8355233: Add a DMB related benchmark
Reviewed-by: kvn
2025-04-22 19:59:41 +00:00
Alisen Chung
d61765f64d 8353488: Open some JComboBox bugs 3
Reviewed-by: kizune
2025-04-22 17:56:04 +00:00
Harshitha Onkar
486a66469b 8353486: Open source Swing Tests - Set 4
Reviewed-by: azvegint, dnguyen, tr
2025-04-22 17:49:52 +00:00
Alexander Zvegintsev
f98af0ad61 8354701: Open source few JToolTip tests
Reviewed-by: honkar
2025-04-22 17:31:31 +00:00
Ioi Lam
e020752ea4 8354484: SIGSEGV when supertype of an AOT-cached class is excluded
Reviewed-by: ccheung, shade
2025-04-22 16:55:11 +00:00
Jamil Nimeh
594b26516e 8350126: Regression ~3% on Crypto-ChaCha20Poly1305.encrypt for MacOSX aarch64
Reviewed-by: aph
2025-04-22 16:49:29 +00:00
Boris Ulasevich
d783a94098 8332368: ubsan aarch64: immediate_aarch64.cpp:298:31: runtime error: shift exponent 32 is too large for 32-bit type 'int'
Reviewed-by: adinn
2025-04-22 16:46:44 +00:00
Tejesh R
6a31061339 8354248: Open source several AWT GridBagLayout and List tests
Reviewed-by: abhiscxk
2025-04-22 16:11:55 +00:00
Alisen Chung
1889dacb19 8353007: Open some JComboBox bugs 2
Reviewed-by: kizune, honkar
2025-04-22 16:01:34 +00:00
Sergey Bylokhov
477da161e6 8352638: Enhance code consistency: java.desktop/windows
Reviewed-by: prr
2025-04-22 15:50:58 +00:00
Alexander Zvegintsev
a4c5ed8144 8354561: Open source several swing tests batch0
Reviewed-by: prr, psadhukhan
2025-04-22 15:46:04 +00:00
Alisen Chung
da16c83973 8354466: Open some misc Swing bugs 9
Reviewed-by: kizune, honkar
2025-04-22 15:26:59 +00:00
Per Minborg
072b8273a4 8354300: Mark String.hash field @Stable
Reviewed-by: liach, shade, vlivanov
2025-04-22 15:10:26 +00:00
Martin Balao
5264d80bea 8350661: PKCS11 HKDF throws ProviderException when requesting a 31-byte AES key
Reviewed-by: fferrari, valeriep, djelinski
2025-04-22 14:37:10 +00:00
Stefan Karlsson
f2587d9bd2 8354938: ZGC: Disable UseNUMA when ZFakeNUMA is used
Reviewed-by: aboldtch, jsikstro
2025-04-22 11:48:46 +00:00
Stefan Karlsson
0f1c448ca1 8354922: ZGC: Use MAP_FIXED_NOREPLACE when reserving memory
Reviewed-by: aboldtch, eosterlund
2025-04-22 11:23:40 +00:00
Alisen Chung
9eeb86d972 8354341: Open some JTable bugs 7
Reviewed-by: kizune, serb
2025-04-22 08:58:42 +00:00
Ivan Šipka
7cd084cf35 8350442: Update copyright
Reviewed-by: naoto, jlu
2025-04-22 08:46:52 +00:00
Hamlin Li
bcc33d5ef3 8352504: RISC-V: implement and enable CMoveI/L
8346786: RISC-V: Reconsider ConditionalMoveLimit when adding conditional move

Reviewed-by: fyang, fjiang
2025-04-22 08:32:03 +00:00
Stefan Johansson
50358d1ca4 8354929: ZGC: Update collection stats while holding page allocator lock
Reviewed-by: stefank, tschatzl, aboldtch
2025-04-22 08:00:01 +00:00
Tejesh R
367bcc5df8 8353445: Open source several AWT Menu tests - Batch 1
Reviewed-by: abhiscxk, prr
2025-04-22 07:59:45 +00:00
Alisen Chung
7eab2d9f91 8354095: Open some JTable bugs 5
Reviewed-by: kizune, honkar
2025-04-22 07:58:30 +00:00
Alisen Chung
0b2a2f38d0 8353685: Open some JComboBox bugs 4
Reviewed-by: honkar, kizune
2025-04-22 07:45:56 +00:00
Tejesh R
17b080b2c9 8353446: Open source several AWT Menu tests - Batch 2
Reviewed-by: abhiscxk
2025-04-22 07:44:44 +00:00
Doug Simon
2f7806ffe5 8355034: [JVMCI] assert(static_cast<int>(_jvmci_data_size) == align_up(compiler->is_jvmci() ? jvmci_data->size() : 0, oopSize)) failed: failed: 104 != 16777320
Reviewed-by: never, yzheng, cslucas
2025-04-22 07:07:31 +00:00
Alisen Chung
a55ccd267c 8352905: Open some JComboBox bugs 1
Reviewed-by: honkar, psadhukhan
2025-04-22 07:04:26 +00:00
Abhishek Kumar
33bdc807b1 8355241: Move NativeDialogToFrontBackTest.java PL test to manual category
Reviewed-by: psadhukhan
2025-04-22 06:51:18 +00:00
Tejesh R
d1d7d2569c 8353957: Open source several AWT ScrollPane tests - Batch 1
Reviewed-by: psadhukhan
2025-04-22 06:23:24 +00:00
Tejesh R
e2cb64674f 8343977: Convert java/awt/TextArea/TextAreaCursorTest/HoveringAndDraggingTest to main
Reviewed-by: prr, achung
2025-04-22 05:56:07 +00:00
Chen Liang
0be3f163ed 8341608: jdeps in JDK 23 crashes when parsing signatures while jdeps in JDK 22 works fine
Reviewed-by: jpai, henryjen
2025-04-22 03:29:59 +00:00
Tejesh R
f880fa91dc 8352793: Open source several AWT TextComponent tests - Batch 1
Reviewed-by: prr, serb
2025-04-22 03:09:45 +00:00
Alisen Chung
ade67df0f3 8354233: Open some JTable bugs 6
Reviewed-by: kizune
2025-04-22 01:04:48 +00:00
Alisen Chung
7a72f0fac9 8354465: Open some JTable bugs 8
Reviewed-by: serb, kizune
2025-04-22 01:03:45 +00:00
Alexey Semenyuk
47f78a7529 8354990: Improve negative tests coverage for jpackage signing
8354989: Bug in MacCertificate class

Reviewed-by: almatvee
2025-04-22 00:27:25 +00:00
Harshitha Onkar
9a0cff692d 8353942: Open source Swing Tests - Set 5
Reviewed-by: serb, dnguyen
2025-04-21 23:11:03 +00:00
Harshitha Onkar
f7155183d7 8353011: Open source Swing JButton tests - Set 1
Reviewed-by: serb
2025-04-21 22:35:17 +00:00
Justin Lu
1526dd81d9 8354344: Test behavior after cut-over for future ISO 4217 currency
Reviewed-by: naoto
2025-04-21 20:24:20 +00:00
Alexander Zuev
8270cd0ad2 8353470: Clean up and open source couple AWT Graphics related tests (Part 2)
Reviewed-by: serb
2025-04-21 20:23:15 +00:00
Alexander Zuev
a7128d86ea 8354653: Clean up and open source KeyEvent related tests (Part 4)
Reviewed-by: serb
2025-04-21 20:19:45 +00:00
Joe Wang
684d3b336e 8354774: DocumentBuilderFactory getAttribute throws NPE
Reviewed-by: naoto, lancea
2025-04-21 18:25:59 +00:00
Roman Kennke
ecb54a05c6 8354523: runtime/Monitor/SyncOnValueBasedClassTest.java triggers SIGSEGV
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: coleenp, aboldtch
2025-04-21 17:43:09 +00:00
Alexander Zuev
cd2d49f711 8354472: Clean up and open source KeyEvent related tests (Part 3)
Reviewed-by: honkar
2025-04-21 17:37:58 +00:00
Emanuel Peter
4dd64b4971 8354477: C2 SuperWord: make use of memory edges more explicit
Reviewed-by: kvn, roland
2025-04-21 11:41:45 +00:00
Liming Liu
128f2d1cad 8354572: Turn off AlwaysMergeDMB for Ampere CPU by default
Reviewed-by: shade
2025-04-19 10:02:13 +00:00
Sergey Bylokhov
c7c77eb6aa 8354077: Get rid of offscreenSharingEnabled windows flag
Reviewed-by: prr
2025-04-19 07:48:54 +00:00
Alexey Bakhtin
4f58af0a8d 8259540: MissingResourceException for key cvc-complex-type.2.4.d.1
Reviewed-by: joehw
2025-04-19 00:30:37 +00:00
Harshitha Onkar
bd73127d74 8354532: Open source JFileChooser Tests - Set 7
Reviewed-by: prr
2025-04-18 23:29:53 +00:00
Harshitha Onkar
76dec47f00 8354340: Open source Swing Tests - Set 6
Reviewed-by: azvegint, achung
2025-04-18 21:35:17 +00:00
Damon Nguyen
38f9b3a973 8353748: Open source several swing tests batch6
Reviewed-by: kizune
2025-04-18 21:11:41 +00:00
Harshitha Onkar
bf63f9ffa5 8353319: Open source Swing tests - Set 3
Reviewed-by: abhiscxk, dnguyen
2025-04-18 20:58:21 +00:00
Harshitha Onkar
abbf1a02cb 8355051: Problemlist java/awt/Graphics2D/CopyAreaOOB.java on macosx-aarch64
Reviewed-by: prr, aivanov
2025-04-18 19:38:09 +00:00
Abhishek Kumar
f8f1be3de5 8353552: Opensource Several Font related tests - Batch 3
8355048: ProblemList TestGlyphVectorLayout.java on all platforms

Reviewed-by: serb, aivanov
2025-04-18 18:50:08 +00:00
Damon Nguyen
924638c471 8353661: Open source several swing tests batch5
Reviewed-by: jdv
2025-04-18 17:08:46 +00:00
Damon Nguyen
a551cc9294 8353293: Open source several swing tests batch4
Reviewed-by: serb
2025-04-18 17:07:16 +00:00
Phil Race
bb08a70bd8 8355002: Clean up some mentions of "applet" in tests
Reviewed-by: serb
2025-04-18 17:01:42 +00:00
Alexey Semenyuk
22e8a97a1c 8354988: Separate stderr and stdout in Executor class from jpackage test lib
Reviewed-by: almatvee
2025-04-18 12:12:52 +00:00
Jayathirth D V
eda7394551 8354900: javax/swing/AbstractButton/bug4133768.java failing on macosx-aarch64
Reviewed-by: abhiscxk
2025-04-18 12:05:01 +00:00
Ivan Šipka
0feecb7c6a 8351851: Update PmemTest to run on AMD64
Reviewed-by: adinn
2025-04-18 10:44:29 +00:00
Anjian-Wen
0995b9409d 8354815: RISC-V: Change type of bitwise rotation shift to iRegIorL2I
Reviewed-by: fyang, fjiang
2025-04-18 02:20:39 +00:00
Alexey Semenyuk
38f138bc22 8354985: Add unit tests for Executor class from jpackage test lib
Reviewed-by: almatvee
2025-04-17 23:37:45 +00:00
Alexander Zuev
ad7c475fb1 8353655: Clean up and open source KeyEvent related tests (Part 1)
Reviewed-by: abhiscxk
2025-04-17 19:53:45 +00:00
Andrey Turbanov
1b4b317aac 8354789: Unnecessary null check in sun.awt.windows.WToolkit.getFontPeer
Reviewed-by: aivanov, tr
2025-04-17 19:19:26 +00:00
Stuart Marks
7b0618859a 8354464: Additional cleanup setting up native.encoding
Reviewed-by: naoto, alanb
2025-04-17 18:31:10 +00:00
Cesar Soares Lucas
4eae9b5ba6 8354541: Remove Shenandoah post barrier expand loop opts
Reviewed-by: shade
2025-04-17 17:40:38 +00:00
Phil Race
31e293b082 8354552: Open source a few Swing tests
Reviewed-by: dnguyen, psadhukhan
2025-04-17 16:32:46 +00:00
Phil Race
3e3dff6767 8354451: Open source some more Swing popup menu tests
Reviewed-by: jdv, kizune
2025-04-17 16:31:24 +00:00
Alexander Zuev
e163a76f2b 8354106: Clean up and open source KeyEvent related tests (Part 2)
Reviewed-by: abhiscxk, prr
2025-04-17 16:26:36 +00:00
Johannes Graham
04c32fc08a 8354522: Clones of DecimalFormat cause interferences when used concurrently
Reviewed-by: jlu, naoto
2025-04-17 16:22:00 +00:00
Alexander Zuev
5660922568 8353070: Clean up and open source couple AWT Graphics related tests (Part 1)
Reviewed-by: serb
2025-04-17 16:20:35 +00:00
Damon Nguyen
e639cd6a77 8353213: Open source several swing tests batch3
Reviewed-by: prr
2025-04-17 16:18:56 +00:00
Chris Plummer
d1d81dd01c 8353953: con/sun/jdi tests should be fixed to not always require includevirtualthreads=y
Reviewed-by: sspitsyn, amenkov
2025-04-17 15:37:05 +00:00
Ferenc Rakoczi
cd8adf13ed 8354926: Remove remnants of debugging in the fix for JDK-8348561 and JDK-8349721
Reviewed-by: adinn
2025-04-17 14:01:46 +00:00
Saint Wesonga
86f3eafade 8353009: Improve documentation for Windows AArch64 builds
Reviewed-by: erikj, ihse
2025-04-17 13:59:44 +00:00
Artur Barashev
abb23828f9 8350807: Certificates using MD5 algorithm that are disabled by default are incorrectly allowed in TLSv1.3 when re-enabled
Reviewed-by: mullan
2025-04-17 13:45:47 +00:00
Jayathirth D V
dda4b5a4ad 8354418: Open source Swing tests Batch 4
Reviewed-by: abhiscxk
2025-04-17 13:36:05 +00:00
Abhishek Kumar
e21387e045 8354365: Opensource few Modal and Full Screen related tests
Reviewed-by: jdv, tr
2025-04-17 13:08:49 +00:00
Jayathirth D V
4c99489420 8354285: Open source Swing tests Batch 3
Reviewed-by: abhiscxk
2025-04-17 13:07:19 +00:00
Abhishek Kumar
e9c8986a65 8354493: Opensource Several MultiScreen and Insets related tests
Reviewed-by: psadhukhan, tr
2025-04-17 12:31:30 +00:00
SendaoYan
9502ab0bf5 8354766: Test TestUnexported.java javac build fails
Reviewed-by: nbenalla, jpai
2025-04-17 12:26:15 +00:00
Coleen Phillimore
5125ceb922 8349405: Redundant and confusing null checks on data from CP::resolved_klasses
Reviewed-by: dholmes, iklam
2025-04-17 11:47:21 +00:00
Marc Chevalier
1138a186eb 8344251: C2: remove blackholes with dead control input
Reviewed-by: shade, thartmann, kvn
2025-04-17 07:24:14 +00:00
Marc Chevalier
fabf67c376 8354625: Compile::igv_print_graph_to_network doesn't use its second parameter
Reviewed-by: rcastanedalo, thartmann
2025-04-17 07:21:34 +00:00
Maxim Kartashev
a4e9da3747 8354191: GTK LaF should use pre-multiplied alpha same as cairo
Reviewed-by: avu, prr
2025-04-17 06:59:01 +00:00
Tejesh R
e00355a036 8353958: Open source several AWT ScrollPane tests - Batch 2
Reviewed-by: prr, psadhukhan
2025-04-17 06:40:54 +00:00
Tejesh R
3d0feba00a 8352865: Open source several AWT TextComponent tests - Batch 2
Reviewed-by: prr, serb, jdv
2025-04-17 06:39:50 +00:00
Matthias Baesken
af7a19a8cf 8354802: MAX_SECS definition is unused in os_linux
Reviewed-by: kbarrett, dholmes
2025-04-17 06:34:43 +00:00
Cesar Soares Lucas
055b750d99 8354543: Set more meaningful names for "get_vm_result" and "get_vm_result_2"
Reviewed-by: shade, coleenp
2025-04-17 06:08:36 +00:00
Ioi Lam
a71f621a32 8353694: Resolved Class/Field/Method CP entries missing from AOT Configuration
Reviewed-by: shade, vlivanov
2025-04-17 03:10:58 +00:00
Anjian-Wen
07aad68c17 8329887: RISC-V: C2: Support Zvbb Vector And-Not instruction
Reviewed-by: fyang, fjiang
2025-04-17 02:16:24 +00:00
Leonid Mesnik
db2dffb6e5 8354559: gc/g1/TestAllocationFailure.java doesn't need WB API
Reviewed-by: ayang, kbarrett
2025-04-16 23:04:37 +00:00
Erik Gahlin
a2d7f441b8 8295651: JFR: 'jfr scrub' should summarize what was removed
Reviewed-by: mgronlun
2025-04-16 20:11:26 +00:00
Volodymyr Paprotski
0c34bf0476 8354471: Assertion failure with -XX:-EnableX86ECoreOpts
Reviewed-by: sviswanathan, jbhateja
2025-04-16 19:57:42 +00:00
Phil Race
98dac46aac 8353589: Open source a few Swing menu-related tests
Reviewed-by: jdv, honkar
2025-04-16 18:05:07 +00:00
Ioi Lam
e433fa2719 8352001: AOT cache should not contain classes injected into built-in class loaders
Reviewed-by: ccheung, matsaave
2025-04-16 17:52:53 +00:00
Damon Nguyen
d80db00f82 8354873: javax/swing/plaf/metal/MetalIconFactory/bug4952462.java failing on CI
Reviewed-by: honkar
2025-04-16 17:19:47 +00:00
Mikael Vidstedt
7a107e2fc4 8351603: Change to GCC 14.2.0 for building on Linux at Oracle
8344272: gcc devkit doesn't have lto-plugin where needed

Reviewed-by: ihse, erikj
2025-04-16 16:28:12 +00:00
Rohitash Kumar
84458ec18c 8353013: java.net.URI.create(String) may have low performance to scan the host/domain name from URI string when the hostname starts with number
Reviewed-by: michaelm, xpeng
2025-04-16 16:08:31 +00:00
KIRIYAMA Takuya
c3de94cee1 8352942: jdk/jfr/startupargs/TestMemoryOptions.java fails with 32-bit build
Reviewed-by: phh
2025-04-16 15:42:40 +00:00
Ferenc Rakoczi
465c8e6583 8349721: Add aarch64 intrinsics for ML-KEM
Reviewed-by: adinn
2025-04-16 12:35:24 +00:00
Jan Lahoda
1ad869f844 8322706: AnnotationTypeMismatchException in javac with annotation processing
Reviewed-by: vromero
2025-04-16 11:43:42 +00:00
Johan Sjölen
7ffad35dac 8352568: Test gtest/AsyncLogGtest.java failed at droppingMessage_vm
Reviewed-by: mbaesken, dholmes
2025-04-16 11:32:47 +00:00
Jaikiran Pai
c6243fc27f Merge
Reviewed-by: dfuchs
2025-04-16 11:26:59 +00:00
Robbin Ehn
fe3bd5d62f 8354667: [TESTBUG] AccessZeroNKlassHitsProtectionZone cds tests require cds
Reviewed-by: lmesnik, syan
2025-04-16 09:56:39 +00:00
Abhishek Kumar
8c6b611f35 8353832: Opensource FontClass, Selection and Icon tests
Reviewed-by: jdv
2025-04-16 09:52:53 +00:00
Jan Lahoda
cfbbcd78bc 8350595: jshell <TAB> completion on arrays does not work for clone()
Reviewed-by: asotona
2025-04-16 09:23:15 +00:00
Jaikiran Pai
4c3c2b32a1 8354576: InetAddress.getLocalHost() on macos may return address of an interface which is not UP - leading to "Network is down" error
Reviewed-by: alanb, dfuchs, vyazici
2025-04-16 08:35:05 +00:00
Severin Gehwolf
18d605fadb 8354629: Test tools/jlink/ClassFileInMetaInfo.java fails on builds with configure option --enable-linkable-runtime
Reviewed-by: alanb
2025-04-16 08:23:03 +00:00
Artur Barashev
ed30fce6df 8347847: Enhance jar file support
Reviewed-by: rhalade, jnibedita, pkumaraswamy, ahgross, hchao, weijun, mullan
2025-04-16 13:05:32 +05:30
Damon Fenacci
38afa4d42f 8338430: Improve compiler transformations
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: ahgross, rhalade, thartmann, epeter
2025-04-16 13:05:32 +05:30
Jamil Nimeh
e91b3f0c3d 8337692: Better TLS connection support
Co-authored-by: Ferenc Rakoczi <ferenc.r.rakoczi@oracle.com>
Reviewed-by: rhalade, valeriep, pkumaraswamy, mpowers, ahgross, mbalao
2025-04-16 13:05:32 +05:30
Hai-May Chao
ef38a04b44 8337494: Clarify JarInputStream behavior
Reviewed-by: jpai, rhalade, lancea
2025-04-16 13:05:32 +05:30
Jaikiran Pai
cf871db447 8342562: Enhance Deflater operations
Reviewed-by: rhalade, alanb, lancea
2025-04-16 13:05:32 +05:30
Prasanta Sadhukhan
43b2b0bd1e 8343007: Enhance Buffered Image handling
Reviewed-by: rhalade, mschoene, jdv, prr
2025-04-16 13:05:32 +05:30
Aleksey Shipilev
9a5c7b3fa9 8351162: Clean up x86 (Macro)Assembler after 32-bit x86 removal
Reviewed-by: kvn, coleenp
2025-04-16 05:54:21 +00:00
Jayathirth D V
2be5bc847a 8354214: Open source Swing tests Batch 2
Reviewed-by: abhiscxk, honkar
2025-04-16 04:48:25 +00:00
Prasanta Sadhukhan
55afcb57a5 8352682: Opensource JComponent tests
Reviewed-by: jdv, honkar
2025-04-16 03:58:17 +00:00
Jaikiran Pai
5526490743 8354565: jtreg failure handler GatherProcessInfoTimeoutHandler has a leftover call to System.loadLibrary
Reviewed-by: alanb, kbarrett
2025-04-16 01:57:57 +00:00
Damon Nguyen
a2dc9c71e4 8352908: Open source several swing tests batch1
Reviewed-by: honkar
2025-04-15 23:48:27 +00:00
Srinivas Vamsi Parasa
513c4650c5 8354544: Fix bugs in increment and xor APX codegen
Reviewed-by: thartmann, jbhateja
2025-04-15 21:25:06 +00:00
Damon Nguyen
4e3f1848ee 8353000: Open source several swing tests batch2
Reviewed-by: azvegint
2025-04-15 19:36:10 +00:00
Aleksey Shipilev
cec48ed270 8354542: Clean up x86 stubs after 32-bit x86 removal
Reviewed-by: adinn, kvn
2025-04-15 16:19:03 +00:00
Alexey Semenyuk
fc1464727f 8354320: Changes to jpackage.md cause pandoc warning
Reviewed-by: almatvee, ihse, alanb
2025-04-15 16:06:12 +00:00
Matthias Baesken
36864a2a08 8351491: Add info from release file to hserr file
Reviewed-by: dholmes, lucy
2025-04-15 11:55:47 +00:00
Coleen Phillimore
273a9a6155 8354448: [REDO] Remove friends for ObjectMonitor
Reviewed-by: kbarrett, shade, dholmes
2025-04-15 11:49:58 +00:00
Volkan Yazici
5fc18f5b8a 8350279: HttpClient: Add a new HttpResponse method to identify connections
Reviewed-by: dfuchs, jpai
2025-04-15 11:41:47 +00:00
Patrick Strawderman
03fd43fc91 8353453: URLDecoder should use HexFormat
Reviewed-by: rriggs, jpai
2025-04-15 11:26:36 +00:00
Severin Gehwolf
4e24dc003c 8353185: Introduce the concept of upgradeable files in context of JEP 493
Reviewed-by: clanger, ihse, alanb
2025-04-15 10:16:31 +00:00
Erik Gahlin
d7676c39b6 8354508: JFR: Strengthen metadata checks for labels
Reviewed-by: shade
2025-04-15 09:48:11 +00:00
Matthias Baesken
81d4c80742 8354507: [ubsan] subnode.cpp:406:36: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'
Reviewed-by: mdoerr, thartmann
2025-04-15 09:02:41 +00:00
Daniel Lundén
24be888d65 8351833: Unexpected increase in live nodes when splitting Phis through MergeMems in PhiNode::Ideal
Reviewed-by: chagedorn, rcastanedalo, kvn
2025-04-15 08:58:02 +00:00
Jayathirth D V
b78378437c 8354163: Open source Swing tests Batch 1
Reviewed-by: psadhukhan
2025-04-15 08:41:37 +00:00
Aleksey Shipilev
3090e2187c 8353572: x86: AMD platforms miss the check for CLWB feature flag
Reviewed-by: vlivanov, kvn
2025-04-15 06:03:50 +00:00
Axel Boldt-Christmas
76ff97811a 8354510: Skipped gtest cause test failure
Reviewed-by: rehn, erikj
2025-04-15 05:11:40 +00:00
Dr Heinz M. Kabutz
c7b70a138f 8354111: JavaDoc states that Iterator.remove() is linear in the LinkedBlockingDeque
Reviewed-by: liach, smarks
2025-04-15 02:48:32 +00:00
David Holmes
92e52fe1df 8353946: Incorrect WINDOWS ifdef in os::build_agent_function_name
Reviewed-by: kbarrett
2025-04-15 02:00:49 +00:00
Alexander Zvegintsev
5280b7b031 8353592: Open source several scrollbar tests
Reviewed-by: psadhukhan, honkar
2025-04-14 22:07:26 +00:00
Daniel Fuchs
9e7763d442 8354536: Problem-list java/util/logging/LoggingDeadlock5.java due to JDK-8354424
Reviewed-by: smarks
2025-04-14 19:27:16 +00:00
Volkan Yazici
f6d8c8cb0c 8351339: WebSocket::sendBinary assume that user supplied buffers are BIG_ENDIAN
Reviewed-by: michaelm, dfuchs
2025-04-14 19:16:17 +00:00
Gerard Ziemski
0da480a91d 8354535: [BACKOUT] Force clients to explicitly pass mem_tag value, even if it is mtNone
Reviewed-by: stefank, jsjolen
2025-04-14 18:47:59 +00:00
Andrej Pecimuth
de0e648844 8352724: Verify bounds for primitive array reads in JVMCI
Reviewed-by: dnsimon
2025-04-14 18:31:27 +00:00
Phil Race
46a6fc84ef 8353483: Open source some JProgressBar tests
Reviewed-by: honkar, serb
2025-04-14 16:58:06 +00:00
Vladimir Ivanov
d684867066 8346230: [perf] scalability issue for the specjvm2008::xml.transform workload
Reviewed-by: joehw, jbhateja
2025-04-14 16:55:37 +00:00
Gerard Ziemski
43b194741c 8344883: Force clients to explicitly pass mem_tag value, even if it is mtNone
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Reviewed-by: stefank, jsjolen
2025-04-14 16:22:07 +00:00
Naoto Sato
d748bb5cbb 8343157: Examine large files for character encoding/decoding
Reviewed-by: alanb
2025-04-14 16:09:35 +00:00
David Beaumont
313c34ae56 8354513: Bug in j.u.l.Handler deadlock test allows null pointer during race condition
Reviewed-by: dfuchs
2025-04-14 15:58:43 +00:00
Sean Mullan
16657dba99 8354449: Remove com/sun/org/apache/xml/internal/security/resource/xmlsecurity_de.properties
Reviewed-by: weijun, ihse
2025-04-14 14:44:11 +00:00
Axel Boldt-Christmas
97e1075739 8354358: ZGC: ZPartition::prime handle discontiguous reservations correctly
Reviewed-by: stefank, jsikstro, eosterlund
2025-04-14 13:28:49 +00:00
Roberto Castañeda Lozano
51ce312001 8348645: IGV: visualize live ranges
Reviewed-by: thartmann, dfenacci
2025-04-14 12:07:13 +00:00
Matthias Baesken
f8ae1d4e6c 8354254: Remove the linux ppc64 -minsert-sched-nops=regroup_exact compile flag
Reviewed-by: erikj, mdoerr
2025-04-14 08:52:33 +00:00
Radim Vansa
f169fc5a99 8353175: Eliminate double iteration of stream in FieldDescriptor reinitialization
Reviewed-by: jsjolen, shade, fparain
2025-04-14 08:18:59 +00:00
Matthias Baesken
cf27a42d92 8354426: [ubsan] applying non-zero offset 34359738368 to null pointer in CompressedKlassPointers::encoding_range_end
Reviewed-by: mdoerr, jkern
2025-04-14 08:12:08 +00:00
Aleksey Shipilev
44245f33cd 8354215: Clean up Loom support after 32-bit x86 removal
Reviewed-by: coleenp, pchilanomate
2025-04-14 06:56:29 +00:00
Joel Sikström
337dacdd3f 8354310: JFR: Inconsistent metadata in ZPageAllocation
Reviewed-by: egahlin, stefank, eosterlund
2025-04-14 06:36:47 +00:00
Aleksey Shipilev
2595c47b57 8354231: x86: Purge FPU support from (Macro)Assembler after 32-bit x86 removal
Reviewed-by: coleenp, kvn, vlivanov
2025-04-14 06:16:17 +00:00
Abhishek Kumar
b539fb0bc1 8352877: Opensource Several Font related tests - Batch 1
Reviewed-by: aivanov, serb
2025-04-14 05:27:24 +00:00
Hannes Wallnöfer
5d97608970 8254622: Hide superclasses from conditionally exported packages
Reviewed-by: kcr, liach
2025-04-13 10:08:39 +00:00
Sergey Bylokhov
ed756b9700 8352922: Refactor client classes javadoc to use @throws instead of @exception
Reviewed-by: prr
2025-04-12 23:36:27 +00:00
Serguei Spitsyn
04ad59de76 8316397: StackTrace/Suspended/GetStackTraceSuspendedStressTest.java failed with: SingleStep event is NOT expected
Reviewed-by: dholmes, pchilanomate
2025-04-12 07:20:19 +00:00
Thomas Stuefe
034c0d4de5 8350753: Deprecate UseCompressedClassPointers
Reviewed-by: coleenp, dholmes
2025-04-12 05:58:39 +00:00
William Kemper
e8bcedb09b 8354452: Shenandoah: Enforce range checks on parameters controlling heuristic sleep times
Reviewed-by: ysr
2025-04-11 21:25:09 +00:00
Coleen Phillimore
d14e84c03b 8354446: [BACKOUT] Remove friends for ObjectMonitor
Reviewed-by: pchilanomate
2025-04-11 19:59:52 +00:00
Erik Gahlin
1d7138fe02 8353614: JFR: jfr print --exact
Reviewed-by: mgronlun
2025-04-11 15:12:54 +00:00
Archie Cobbs
e604bb9e94 8352731: Compiler workaround to forcibly set "-Xlint:-options" can be removed
Reviewed-by: mcimadamore
2025-04-11 13:29:32 +00:00
Hannes Wallnöfer
2321722a45 8346109: Create JDK taglet for additional preview notes
Reviewed-by: ihse, liach, rriggs
2025-04-11 13:25:50 +00:00
Coleen Phillimore
9ead2b75ce 8354180: Clean up uses of ObjectMonitor caches
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: aboldtch, fbredberg
2025-04-11 13:12:16 +00:00
Eirik Bjørsnøs
cae7a206a2 8353662: Add test for non-local file URL fallback to FTP
Reviewed-by: dfuchs
2025-04-11 12:49:40 +00:00
Matthias Baesken
b5d2e25478 8354189: Remove JLI_ReportErrorMessageSys on Windows
Reviewed-by: alanb, mdoerr
2025-04-11 11:32:42 +00:00
Manuel Hässig
efb5a80e52 8353730: TestSubNodeFloatDoubleNegation.java fails with native Float16 support
Reviewed-by: chagedorn, thartmann
2025-04-11 11:29:56 +00:00
Jorn Vernee
8bb0ca4971 8353917: jnativescan: Simplify ClassResolver
Reviewed-by: mcimadamore
2025-04-11 11:15:32 +00:00
Coleen Phillimore
36069f6efa 8354234: Remove friends for ObjectMonitor
Reviewed-by: aboldtch, dholmes
2025-04-11 11:03:45 +00:00
Magnus Ihse Bursie
d4e194bc46 8354266: Fix non-UTF-8 text encoding
Reviewed-by: rgiulietti, erikj, naoto, eirbjo
2025-04-11 10:22:15 +00:00
Volkan Yazici
e1b677091e 8353949: HttpHeaders.firstValueAsLong unnecessarily boxes to Long
Reviewed-by: dfuchs, djelinski, michaelm
2025-04-11 09:06:11 +00:00
Evgeny Nikitin
1fc1cc5da9 8354255: [jittester] Remove TempDir debug output
Reviewed-by: chagedorn, thartmann
2025-04-11 08:15:01 +00:00
Aleksey Shipilev
cf0308b271 8351152: x86: Remove code blocks that handle UseSSE < 2
Reviewed-by: vlivanov, kvn
2025-04-11 07:10:41 +00:00
Alexander Zvegintsev
d8bed69373 8354317: [XWayland] Problem list two tests crashing XWayland server
Reviewed-by: serb, jdv
2025-04-11 06:09:39 +00:00
Prasanta Sadhukhan
f955a8cbd2 8352687: Opensource few JInternalFrame and JTextField tests
Reviewed-by: honkar
2025-04-11 03:53:29 +00:00
Thomas Fitzsimmons
4478a99e31 8354057: Odd debug output in -Xlog:os+container=debug on certain systems
Reviewed-by: sgehwolf, asmehra, lmesnik
2025-04-11 02:06:22 +00:00
Serguei Spitsyn
1c34f3cdb1 8352773: JVMTI should disable events during java upcalls
Reviewed-by: lmesnik, dholmes, cjplummer, coleenp
2025-04-11 01:25:55 +00:00
Chen Liang
7bb8b1768f 8347472: Correct Attribute traversal and writing for Code attributes
Reviewed-by: asotona
2025-04-11 00:18:23 +00:00
Stuart Marks
83c7d3bbe8 8351740: Clean up some code around initialization of encoding properties
Reviewed-by: naoto, alanb, rriggs
2025-04-10 21:43:14 +00:00
Michael McMahon
e35f67b908 8285888: Clarify that java.net.http.HttpClient do NOT support Digest authentication
Reviewed-by: jpai, dfuchs
2025-04-10 21:16:30 +00:00
Mikael Vidstedt
7382ea1a7e 8354230: Wrong boot jdk for alpine-linux-x64 in GHA
Reviewed-by: erikj, iris, djelinski, sgehwolf
2025-04-10 21:15:23 +00:00
Archie Cobbs
4890b74c04 8354216: Small cleanups relating to Log.DiagnosticHandler
Reviewed-by: mcimadamore
2025-04-10 20:33:11 +00:00
Calvin Cheung
7680f70ad6 8171508: Remove -Dsun.java.launcher.is_altjvm option
Reviewed-by: dholmes, stuefe
2025-04-10 19:57:30 +00:00
Harshitha Onkar
3131dd1d5c 8346465: Add a check in setData() to restrict the update of Built-In ICC_Profiles
Reviewed-by: aivanov, jdv, prr, serb
2025-04-10 19:55:29 +00:00
Roger Riggs
af5db51306 8353641: Deprecate core library permission classes for removal
Reviewed-by: mullan, iris
2025-04-10 19:19:31 +00:00
Jeremy Wood
60f3d60741 8351110: ImageIO.write for JPEG can write corrupt JPEG for certain thumbnail dimensions
Reviewed-by: aivanov, prr
2025-04-10 18:31:53 +00:00
Zihao Lin
dc249be247 8350462: MethodTypeForm.LF_INTERPRET can cache the MemberName instead
Reviewed-by: liach, jvernee
2025-04-10 17:21:51 +00:00
Archie Cobbs
799e5b33a1 8354071: Add LintCategory property indicating whether @SuppressWarnings is supported
Reviewed-by: mcimadamore
2025-04-10 17:06:44 +00:00
David Beaumont
36e11b6827 8353683: [REDO] j.u.l.Handler classes create deadlock risk via synchronized publish() method
Reviewed-by: smarks
2025-04-10 16:01:00 +00:00
Mikhail Yankelevich
0e223f1456 8349534: Refactor jdk/sun/security/krb5/runNameEquals.sh to java test
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: mullan
2025-04-10 15:30:44 +00:00
Alexander Zvegintsev
2ba80d2403 8353586: Open source several toolkit tests
Reviewed-by: dnguyen, psadhukhan
2025-04-10 15:20:23 +00:00
Archie Cobbs
e50af6db09 8354090: Refactor import warning suppression in Check.java
Reviewed-by: mcimadamore
2025-04-10 14:46:36 +00:00
fabioromano1
c4c3edfa96 8341402: BigDecimal's square root optimization
Reviewed-by: rgiulietti
2025-04-10 14:34:52 +00:00
Joel Sikström
7e69b98e05 8350441: ZGC: Overhaul Page Allocation
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Stefan Johansson <sjohanss@openjdk.org>
Reviewed-by: stefank, aboldtch, eosterlund
2025-04-10 11:37:20 +00:00
Kim Barrett
6c2667018a 8324686: Remove redefinition of NULL for MSVC
Reviewed-by: shade, dholmes
2025-04-10 10:21:32 +00:00
Volkan Yazici
51b3d6bba2 8352431: java/net/httpclient/EmptyAuthenticate.java uses "localhost"
Reviewed-by: dfuchs, jpai
2025-04-10 10:18:46 +00:00
Jatin Bhateja
9a3f9997b6 8346236: Auto vectorization support for various Float16 operations
Reviewed-by: epeter, sviswanathan
2025-04-10 09:44:58 +00:00
SendaoYan
6545e0d9a3 8353189: [ASAN] memory leak after 8352184
Co-authored-by: Jiangli Zhou <jiangli@openjdk.org>
Co-authored-by: David Holmes <dholmes@openjdk.org>
Reviewed-by: dholmes, jiangli
2025-04-10 08:42:47 +00:00
Serhiy Sachkov
f94a4f7acc 8353847: Remove extra args to System.out.printf in open/test/jdk/java/net/httpclient tests
Reviewed-by: dfuchs
2025-04-10 08:28:01 +00:00
Saranya Natarajan
04e2a0621d 8351660: C2: SIGFPE in unsigned_mod_value
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: chagedorn, dfenacci, epeter
2025-04-10 07:59:09 +00:00
Aleksey Shipilev
73c8c755ea 8351157: Clean up x86 GC barriers after 32-bit x86 removal
Reviewed-by: kbarrett, wkemper, tschatzl
2025-04-10 07:54:00 +00:00
Erik Gahlin
c447a10225 8353856: Deprecate FlighRecorderPermission class for removal
Reviewed-by: mgronlun
2025-04-10 07:42:40 +00:00
Manuel Hässig
4f80437ee0 8353842: C2: Add graph dumps before and after loop opts phase
Reviewed-by: chagedorn, epeter
2025-04-10 07:24:45 +00:00
Roland Westrelin
bcac42aabc 8349479: C2: when a Type node becomes dead, make CFG path that uses it unreachable
Reviewed-by: chagedorn, vlivanov
2025-04-10 07:04:15 +00:00
Alexey Semenyuk
45b7c74873 8341641: Make %APPDATA% and %LOCALAPPDATA% env variables available in *.cfg files
Reviewed-by: almatvee
2025-04-10 01:38:47 +00:00
Chen Liang
5c438c5e6b 8352748: Remove com.sun.tools.classfile from the JDK
Reviewed-by: ihse, jlahoda, vromero
2025-04-09 22:58:44 +00:00
Ferenc Rakoczi
e87ff328d5 8351034: Add AVX-512 intrinsics for ML-DSA
Reviewed-by: sviswanathan, lmesnik, vpaprotski, jbhateja
2025-04-09 21:15:45 +00:00
Ioi Lam
e3f26b056e 8351319: AOT cache support for custom class loaders broken since JDK-8348426
Reviewed-by: ccheung, matsaave, jrose
2025-04-09 20:57:15 +00:00
Liam Miller-Cushon
4954a336f8 8350563: C2 compilation fails because PhaseCCP does not reach a fixpoint
Co-authored-by: Matthias Ernst <mernst@google.com>
Reviewed-by: chagedorn, epeter
2025-04-09 20:20:15 +00:00
Magnus Ihse Bursie
4a242e3a65 8354213: Restore pointless unicode characters to ASCII
Reviewed-by: naoto, erikj, iris
2025-04-09 20:14:10 +00:00
Dean Long
776e1cf1df 8353041: NeverBranchNode causes incorrect block frequency calculation
Reviewed-by: thartmann, rcastanedalo
2025-04-09 20:06:49 +00:00
Alexander Zvegintsev
cc546e7a28 8353549: Open source events tests batch2
Reviewed-by: honkar, kizune
2025-04-09 17:49:18 +00:00
Jiangli Zhou
faacbd96a3 8353938: hotspot/jtreg/serviceability/dcmd/jvmti/LoadAgentDcmdTest.java fails on static JDK
Reviewed-by: alanb
2025-04-09 17:47:47 +00:00
Coleen Phillimore
6352ee1a6e 8349007: The jtreg test ResolvedMethodTableHash takes excessive time
Reviewed-by: lmesnik, matsaave
2025-04-09 17:43:11 +00:00
Danish Nawab
5f2a604b63 8353840: JNativeScan should not abort for missing classes
Reviewed-by: jvernee, liach
2025-04-09 15:25:24 +00:00
Raffaello Giulietti
1f21da75eb 8351462: Improve robustness of String concatenation
Reviewed-by: liach, pminborg, rriggs
2025-04-09 15:16:02 +00:00
Ioi Lam
567c6885a3 8353597: Refactor handling VM options for AOT cache input and output
Reviewed-by: kvn, asmehra
2025-04-09 15:03:38 +00:00
Chen Liang
4dc9e58906 8310310: Migrate CreateSymbols tool in make/langtools to Classfile API
Reviewed-by: ihse, jlahoda
2025-04-09 14:51:15 +00:00
Kevin Walls
7a7b9ed7fe 8353727: HeapDumpPath doesn't expand %p
Reviewed-by: stuefe, lmesnik
2025-04-09 14:49:04 +00:00
Per Minborg
c3e043956e 8354121: Use a record class rather than a lambda in AbstractMemorySegmentImpl::cleanupAction
Reviewed-by: liach
2025-04-09 13:47:24 +00:00
Yudi Zheng
9d8b93b6e2 8354181: [Backout] 8334046: Set different values for CompLevel_any and CompLevel_all
Reviewed-by: thartmann, chagedorn
2025-04-09 13:08:21 +00:00
Zhengyu Gu
da462cf225 8353692: Relax memory constraint on updating ObjectMonitorTable's item count
Reviewed-by: rkennke, dholmes
2025-04-09 12:58:00 +00:00
Per Minborg
f9d705b17e 8351757: Test java/foreign/TestDeadlock.java#FileChannel_map timed out after passing
Reviewed-by: djelinski, rriggs
2025-04-09 12:44:47 +00:00
Alan Bateman
6c93ad42f3 8351927: Change VirtualThread implementation to use use FJP delayed task handling
Reviewed-by: vklang
2025-04-09 12:36:35 +00:00
Magnus Ihse Bursie
7aeaa3c21c 8187520: Add --disable-java-warnings-as-errors configure option
Reviewed-by: shade, erikj
2025-04-09 10:40:03 +00:00
Kevin Walls
cd9fa3f7aa 8353439: Shell grouping of -XX:OnError= commands is surprising
Reviewed-by: dholmes, stuefe
2025-04-09 09:47:03 +00:00
Marc Chevalier
a1d566ce4b 8348853: Fold layout helper check for objects implementing non-array interfaces
Reviewed-by: thartmann, roland
2025-04-09 09:28:36 +00:00
Daishi Tabata
f7fa05f577 8353698: Output of Simple Web Server is garbled if the console's encoding is not UTF-8
Reviewed-by: djelinski, dfuchs
2025-04-09 09:11:24 +00:00
Aleksey Shipilev
250eb743c1 8353192: C2: Clean up x86 backend after 32-bit x86 removal
Reviewed-by: kvn, epeter
2025-04-09 08:22:48 +00:00
Cesar Soares Lucas
9ee5590328 8334046: Set different values for CompLevel_any and CompLevel_all
Reviewed-by: shade, kvn
2025-04-09 08:01:13 +00:00
Aleksey Shipilev
6df34c361e 8353174: Clean up thread register handling after 32-bit x86 removal
Reviewed-by: cslucas, kvn, vlivanov
2025-04-09 07:28:47 +00:00
Evgeny Nikitin
0f70aae1cc 8353841: [jittester] Fix JITTester build after asm removal
Reviewed-by: thartmann, chagedorn
2025-04-09 07:03:24 +00:00
Stefan Karlsson
3340e13fd0 8352994: ZGC: Fix regression introduced in JDK-8350572
Reviewed-by: aboldtch, tschatzl
2025-04-09 06:19:08 +00:00
Cesar Soares Lucas
b045e3fbd7 8352681: C2 compilation hits asserts "must set the initial type just once"
Reviewed-by: chagedorn, dfenacci
2025-04-09 05:34:01 +00:00
Cesar Soares Lucas
473251dbb3 8353593: MethodData "mileage_*" methods and fields aren't used and can be removed
Reviewed-by: phh, thartmann
2025-04-09 05:09:30 +00:00
Thomas Stuefe
743d1c64c2 8353273: Reduce number of oop map entries in instances
Reviewed-by: lmesnik, fparain, jsjolen
2025-04-09 05:08:51 +00:00
David Holmes
2a0cf8353a 8354088: [BACKOUT] Run jtreg in the work dir
Reviewed-by: darcy, iris
2025-04-09 03:03:14 +00:00
Fei Yang
73bb647218 8353829: RISC-V: Auto-enable several more extensions for debug builds
Reviewed-by: rehn, fjiang
2025-04-09 01:44:46 +00:00
Ioi Lam
c26c575867 8353014: Exclude AOT tooling classes from AOT cache
Reviewed-by: vlivanov, kvn
2025-04-09 01:15:40 +00:00
Xiaolong Peng
aec1fe0a17 8351091: Shenandoah: global marking context completeness is not accurately maintained
Reviewed-by: ysr, wkemper
2025-04-09 01:00:02 +00:00
William Kemper
b4ab964b72 8353218: Shenandoah: Out of date comment references Brooks pointers
Reviewed-by: ysr, kdnilsen
2025-04-08 22:00:58 +00:00
Koushik Thirupattur
63fa255c06 8354061: Update copyright in NameFormat.java fix after JDK-8349890
Reviewed-by: mullan
2025-04-08 21:58:21 +00:00
Archie Cobbs
5b42c46b48 8353757: Log class should have a proper clear() method
Reviewed-by: vromero, mcimadamore
2025-04-08 20:04:44 +00:00
Hannes Wallnöfer
24ff96afe4 8352389: Remove incidental whitespace in pre/code content
Reviewed-by: liach
2025-04-08 18:45:53 +00:00
Markus Grönlund
257f817c7f 8353431: JFR: Sets to use hashmap instead of binary search as backend
Reviewed-by: egahlin
2025-04-08 18:41:10 +00:00
Magnus Ihse Bursie
689d73a30d 8317012: Explicitly check for 32-bit word size for using libatomic with zero
Reviewed-by: erikj, shade
2025-04-08 17:39:59 +00:00
Justin Lu
5cac579619 8353713: Improve Currency.getInstance exception handling
Reviewed-by: naoto
2025-04-08 17:37:13 +00:00
Magnus Ihse Bursie
e1a4a6beb6 8340185: Use make -k on GHA to catch more build errors
Reviewed-by: shade
2025-04-08 16:57:00 +00:00
Magnus Ihse Bursie
bd73a06416 8300339: Run jtreg in the work dir
Reviewed-by: erikj
2025-04-08 16:55:48 +00:00
Per Minborg
b98d6aebdd 8339527: Adjust threshold for MemorySegment::fill native invocation
Reviewed-by: jvernee
2025-04-08 16:34:20 +00:00
Sean Mullan
3cbe686d62 8348967: Deprecate security permission classes for removal
Reviewed-by: rriggs, iris
2025-04-08 16:13:43 +00:00
Roland Westrelin
4645ddbb6b 8341976: C2: use_mem_state != load->find_exact_control(load->in(0)) assert failure
Reviewed-by: chagedorn, dfenacci
2025-04-08 15:52:05 +00:00
Daniel Jeliński
58ff36f3bd 8350705: [JMH] test security.SSLHandshake failed for 2 threads configuration
Reviewed-by: hchao, mullan
2025-04-08 15:19:32 +00:00
Viktor Klang
676cfae91c 8354016: Update ReentrantReadWriteLock documentation to reflect its new max capacity
Reviewed-by: alanb
2025-04-08 13:49:15 +00:00
Coleen Phillimore
250437e557 8351654: Agent transformer bytecodes should be verified
Reviewed-by: dholmes, lmesnik
2025-04-08 13:12:28 +00:00
Damon Fenacci
d9f2e69215 8352963: [REDO] Missing late inline cleanup causes compiler/vectorapi/VectorLogicalOpIdentityTest.java IR failure
Reviewed-by: vlivanov, thartmann
2025-04-08 13:05:15 +00:00
Artur Barashev
dfa79c3730 8340321: Disable SHA-1 in TLS/DTLS 1.2 handshake signatures
Reviewed-by: mullan
2025-04-08 13:02:50 +00:00
Hamlin Li
cc5e9388d8 8353600: RISC-V: compiler/vectorization/TestRotateByteAndShortVector.java is failing with Zvbb
Reviewed-by: fyang, luhenry
2025-04-08 13:00:07 +00:00
Hamlin Li
21db0fdbfb 8353665: RISC-V: IR verification fails in TestSubNodeFloatDoubleNegation.java
Reviewed-by: thartmann, luhenry
2025-04-08 12:59:36 +00:00
Harald Eilertsen
b3751b90f6 8353573: System giflib not found by configure if it's not in system directories
Reviewed-by: erikj
2025-04-08 12:40:54 +00:00
Harald Eilertsen
3d24f1a382 8353580: libjpeg is not found if not installed in system directories
Reviewed-by: erikj
2025-04-08 12:40:10 +00:00
Koushik Thirupattur
d8bed13047 8353945: Test javax/security/auth/x500/X500Principal/NameFormat.java fails after JDK-8349890
Reviewed-by: mullan
2025-04-08 11:50:59 +00:00
Jan Lahoda
9088afc4f1 8353332: Test jdk/jshell/ToolProviderTest.java failed in relation to enable-preview
Reviewed-by: jpai, asotona
2025-04-08 09:25:23 +00:00
Roberto Castañeda Lozano
fda5eecd67 8353669: IGV: dump OOP maps for MachSafePoint nodes
Reviewed-by: chagedorn, thartmann
2025-04-08 08:27:00 +00:00
Aleksey Shipilev
ea07e719ca 8352256: ObjectSynchronizer::quick_notify misses JFR event notification path
Reviewed-by: dholmes, coleenp, mgronlun
2025-04-08 08:12:59 +00:00
Jaikiran Pai
9844c1c52b 8066583: DeflaterInput/OutputStream and InflaterInput/OutputStream should explain responsibility for freeing resources
Reviewed-by: liach, alanb, lancea
2025-04-08 06:07:44 +00:00
Alan Bateman
fb955bcb15 8353267: jmod create finds the wrong set of packages when class file are in non-package location
Reviewed-by: rriggs
2025-04-08 06:03:16 +00:00
Fei Yang
80ff7b9c94 8353695: RISC-V: compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java is failing with Zvkn
Reviewed-by: fjiang, mli
2025-04-08 01:37:29 +00:00
Jaikiran Pai
b64cdc2813 8353787: Increased number of SHA-384-Digest java.util.jar.Attributes$Name instances leading to higher memory footprint
Reviewed-by: mullan, lancea
2025-04-08 00:35:33 +00:00
Jaikiran Pai
edaeb4b2da 8352895: UserCookie.java runs wrong test class
Reviewed-by: dfuchs
2025-04-08 00:33:36 +00:00
David Holmes
3951a8e019 8353365: TOUCH_ASSERT_POISON clears GetLastError()
Reviewed-by: kbarrett, stuefe, jwaters
2025-04-07 23:36:04 +00:00
Justin Lu
fd2734e97d 8353585: Provide ChoiceFormat#parse(String, ParsePosition) tests
Reviewed-by: naoto
2025-04-07 21:52:57 +00:00
Martin Doerr
e266eba401 8352972: PPC64: Intrinsify Unsafe::setMemory
Reviewed-by: lucy
2025-04-07 20:50:41 +00:00
Justin Lu
a8dfcf5584 8353322: Specification of ChoiceFormat#parse(String, ParsePosition) is inadequate
Reviewed-by: naoto
2025-04-07 20:45:51 +00:00
Magnus Ihse Bursie
42dc99eac1 8301197: Make sure use of printf is correct and actually needed
Reviewed-by: erikj
2025-04-07 20:34:30 +00:00
Magnus Ihse Bursie
cebda921dd 8311227: Add .editorconfig
Co-authored-by: David Briemann <david@briemann.com>
Reviewed-by: erikj
2025-04-07 20:32:26 +00:00
Daniel Gredler
3757f660f2 8353002: Remove unnecessary Windows version check in WTaskbarPeer
Reviewed-by: prr, serb, aivanov
2025-04-07 19:53:36 +00:00
Renjith Kannath Pariyangad
05ff557dee 8353138: Screen capture for test TaskbarPositionTest.java, failure case
Reviewed-by: aivanov, serb
2025-04-07 19:52:39 +00:00
Brian Burkhalter
5481021ee6 8321591: (fs) Improve String -> Path conversion performance (win)
Reviewed-by: alanb
2025-04-07 18:46:04 +00:00
Volodymyr Paprotski
885cf0ff8d 8353671: Remove dead code missed in JDK-8350459
Reviewed-by: sviswanathan, mullan
2025-04-07 18:44:04 +00:00
Phil Race
1b6f6946ae 8353304: Open source two JTabbedPane tests
Reviewed-by: kizune
2025-04-07 18:16:15 +00:00
Koushik Thirupattur
0d4d155816 8349890: Option -Djava.security.debug=x509,ava breaks special chars
Reviewed-by: mullan
2025-04-07 17:29:13 +00:00
Phil Race
e08441c033 8353475: Open source two Swing DefaultCaret tests
Reviewed-by: honkar
2025-04-07 16:40:36 +00:00
Viktor Klang
867a030189 8352971: Increase maximum number of hold counts for ReentrantReadWriteLock
Reviewed-by: alanb
2025-04-07 16:15:51 +00:00
Eirik Bjørsnøs
9a391f44e0 8353278: Consolidate local file URL checks in jar: and file: URL schemes
Reviewed-by: dfuchs, jpai
2025-04-07 15:23:18 +00:00
Viktor Klang
402103331b 8353659: SubmissionPublisherTest::testCap1Submit times out
Reviewed-by: dl, alanb
2025-04-07 15:03:30 +00:00
Christoph Langer
60fbf73fc4 8353709: Debug symbols bundle should contain full debug files when building --with-external-symbols-in-bundles=public
Reviewed-by: erikj, mbaesken
2025-04-07 13:27:21 +00:00
Gerard Ziemski
77fff61b86 8341095: Possible overflow in os::Posix::print_uptime_info
Reviewed-by: dholmes
2025-04-07 13:04:47 +00:00
Joachim Kern
9128ec61df 8352935: Launcher should not add $JDK/../lib to LD_LIBRARY_PATH
Reviewed-by: clanger, ihse, jpai
2025-04-07 12:50:43 +00:00
Prasanta Sadhukhan
27c8d9d635 8352686: Opensource JInternalFrame tests - series3
Reviewed-by: azvegint
2025-04-07 12:30:55 +00:00
Prasanta Sadhukhan
66435c27b3 8352684: Opensource JInternalFrame tests - series1
Reviewed-by: azvegint
2025-04-07 12:28:41 +00:00
Matthew Donovan
353e1738f6 8219408: Tests should handle ${} in the view of jtreg "smart action"
Reviewed-by: mullan
2025-04-07 11:58:17 +00:00
Jan Lahoda
26bb183787 8352621: MatchException from backwards incompatible change to switch expressions
Reviewed-by: abimpoudis
2025-04-07 11:56:53 +00:00
Kevin Walls
e8c9e5c6cd 8353231: Test com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad still fails intermittently
Reviewed-by: dholmes
2025-04-07 11:34:23 +00:00
Stefan Karlsson
6ab1647af2 8353637: ZGC: Discontiguous memory reservation is broken on Windows
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: jsikstro, aboldtch, eosterlund
2025-04-07 11:32:16 +00:00
Joel Sikström
c494a00a66 8353559: Restructure CollectedHeap error printing
Reviewed-by: stefank, eosterlund, ayang
2025-04-07 11:31:06 +00:00
Mikhail Yankelevich
32d6d03151 8349348: Refactor ClassLoaderDeadlock.sh and Deadlock.sh to run fully in java
Reviewed-by: jpai, mullan
2025-04-07 09:57:12 +00:00
Albert Mingkun Yang
39549f8990 8352116: Deadlock with GCLocker and JVMTI after JDK-8192647
Reviewed-by: kbarrett, tschatzl, eosterlund
2025-04-07 09:13:43 +00:00
Aleksey Shipilev
d63b561fff 8353188: C1: Clean up x86 backend after 32-bit x86 removal
Reviewed-by: kvn, vlivanov
2025-04-07 07:39:17 +00:00
Fei Yang
d1e91fcd62 8353344: RISC-V: Detect and enable several extensions for debug builds
Reviewed-by: mli, fjiang, rehn
2025-04-07 07:21:15 +00:00
Matthias Baesken
6abf4e6d4d 8353568: SEGV_BNDERR signal code adjust definition
Reviewed-by: stuefe
2025-04-07 07:14:32 +00:00
Robbin Ehn
6d9ece73a9 8351949: RISC-V: Cleanup and enable store-load peephole for membars
Reviewed-by: fyang, fjiang, mli
2025-04-07 07:09:51 +00:00
Marc Chevalier
97ed536125 8346989: C2: deoptimization and re-execution cycle with Math.*Exact in case of frequent overflow
Reviewed-by: thartmann, vlivanov
2025-04-07 05:21:44 +00:00
Evgeny Astigeevich
660b17a6b9 8350852: Implement JMH benchmark for sparse CodeCache
Reviewed-by: kvn
2025-04-06 17:38:28 +00:00
Zhengyu Gu
6d37e633e6 8353753: Remove unnecessary forward declaration in oop.hpp
Reviewed-by: kbarrett
2025-04-05 20:25:30 +00:00
Jaikiran Pai
9bb804b14e 8338554: Fix inconsistencies in javadoc/doclet/testLinkOption/TestRedirectLinks.java
Reviewed-by: liach, nbenalla
2025-04-05 01:12:48 +00:00
Harshitha Onkar
e17c3994b8 8353201: Open source Swing Tooltip tests - Set 2
Reviewed-by: dnguyen, prr, azvegint
2025-04-04 22:41:59 +00:00
Phil Race
9fcb06f934 8352997: Open source several Swing JTabbedPane tests
Reviewed-by: azvegint, serb, honkar
2025-04-04 18:19:05 +00:00
Phil Race
74c2d8f41b 8353320: Open source more Swing text tests
Reviewed-by: aivanov, serb
2025-04-04 18:16:57 +00:00
Phil Race
31a6de2e74 8353309: Open source several Swing text tests
Reviewed-by: aivanov, serb
2025-04-04 18:13:22 +00:00
Magnus Ihse Bursie
3cc43b3224 8349075: Once again allow -compilejdk in JAVA_OPTIONS
Reviewed-by: rehn, erikj
2025-04-04 13:44:55 +00:00
Magnus Ihse Bursie
9fb3609955 8350774: Generated test-<testname> targets broken after JDK-8348998
Reviewed-by: erikj
2025-04-04 13:44:36 +00:00
Magnus Ihse Bursie
5520ff12ec 8340341: Abort in configure when using Xcode 16.0 or 16.1
Reviewed-by: jwaters, erikj
2025-04-04 13:44:16 +00:00
Magnus Ihse Bursie
3670fde77f 8349467: INIT_TARGETS tab completions on "make" lost with JDK-8348998
Reviewed-by: erikj
2025-04-04 13:43:55 +00:00
Magnus Ihse Bursie
3241b4e111 8353066: Properly detect Windows/aarch64 as build platform
Co-authored-by: Mikael Vidstedt <mikael@openjdk.org>
Reviewed-by: mikael, prr, erikj
2025-04-04 13:32:26 +00:00
Johannes Graham
37f8e419f9 8347645: C2: XOR bounded value handling blocks constant folding
Reviewed-by: epeter, vlivanov, qamai, jkarthikeyan
2025-04-04 13:24:22 +00:00
Magnus Ihse Bursie
4dca735bf3 8315844: $LSB_RELEASE is not defined before use
Reviewed-by: jwaters, erikj, djelinski
2025-04-04 13:19:42 +00:00
Joel Sikström
b92a44364d 8353471: ZGC: Redundant generation id in ZGeneration
Reviewed-by: stefank, eosterlund
2025-04-04 11:53:11 +00:00
Alexey Semenyuk
cfcb3305f0 8353681: jpackage suppresses errors when executed with --verbose option
Reviewed-by: almatvee
2025-04-04 11:49:57 +00:00
Alexey Semenyuk
10d1fec3ff 8353679: Restructure classes in jdk.jpackage.internal package
Reviewed-by: almatvee
2025-04-04 11:46:53 +00:00
Varada M
1161b566ca 8353053: (fs) Add support for UserDefinedFileAttributeView on AIX
Reviewed-by: mdoerr, jkern
2025-04-04 10:30:43 +00:00
Martin Doerr
a13e34da3f 8353274: [PPC64] Bug related to -XX:+UseCompactObjectHeaders -XX:-UseSIGTRAP in JDK-8305895
Reviewed-by: rrich, amitkumar
2025-04-04 07:59:41 +00:00
Varada M
41d4a0d7bd 8352392: AIX: implement attach API v2 and streaming output
Reviewed-by: mdoerr, jkern, amenkov
2025-04-04 06:41:08 +00:00
Chen Liang
1c2a5533f4 8327858: Improve spliterator and forEach for single-element immutable collections
Reviewed-by: smarks, vklang
2025-04-04 00:59:02 +00:00
Chen Liang
a449aeef28 8350704: Create tests to ensure the failure behavior of core reflection APIs
Reviewed-by: darcy
2025-04-04 00:58:32 +00:00
Stuart Marks
57df89c464 8353684: [BACKOUT] j.u.l.Handler classes create deadlock risk via synchronized publish() method
Reviewed-by: dholmes
2025-04-03 21:15:00 +00:00
David Beaumont
ebcb9a8b12 8349206: j.u.l.Handler classes create deadlock risk via synchronized publish() method
Reviewed-by: dfuchs, smarks
2025-04-03 20:11:19 +00:00
Roman Kennke
d894b781b8 8353588: [REDO] DaCapo xalan performance with -XX:+UseObjectMonitorTable
Reviewed-by: coleenp, aboldtch
2025-04-03 17:12:38 +00:00
Abhishek Kumar
db08726884 8352966: Opensource Several Font related tests - Batch 2
Reviewed-by: aivanov
2025-04-03 16:57:12 +00:00
Liam Miller-Cushon
6b7b3247b1 8351431: Type annotations on new class creation expressions can't be retrieved
Reviewed-by: vromero
2025-04-03 16:09:08 +00:00
Thomas Schatzl
64b691ab61 8271870: G1: Add objArray splitting when scanning object with evacuation failure
8271871: G1 does not try to deduplicate objects that failed evacuation

Reviewed-by: iwalulya, ayang
2025-04-03 15:06:22 +00:00
Amit Kumar
b428cda3c6 8349686: [s390x] C1: Improve Class.isInstance intrinsic
Reviewed-by: lucy, aph
2025-04-03 14:47:26 +00:00
Alexey Semenyuk
70e3250045 8352419: Test tools/jpackage/share/ErrorTest.java#id0 and #id1 fail
Reviewed-by: almatvee
2025-04-03 13:56:34 +00:00
Marc Chevalier
296d9d6f7a 8353345: C2 asserts because maskShiftAmount modifies node without deleting the hash
Reviewed-by: chagedorn, thartmann
2025-04-03 12:23:11 +00:00
Hannes Greule
3ceabf0f64 8353359: C2: Or(I|L)Node::Ideal is missing AddNode::Ideal call
Reviewed-by: epeter, chagedorn
2025-04-03 11:34:45 +00:00
Erik Gahlin
b263292a75 8353484: JFR: Simplify EventConfiguration
Reviewed-by: mgronlun
2025-04-03 11:07:52 +00:00
Stefan Karlsson
ffca4f2da8 8353264: ZGC: Windows heap unreserving is broken
Reviewed-by: jsikstro, aboldtch, eosterlund, stuefe
2025-04-03 10:44:58 +00:00
Jatin Bhateja
f7a94feedd 8352585: Add special case handling for Float16.max/min x86 backend
Reviewed-by: epeter, sviswanathan
2025-04-03 09:21:55 +00:00
Thomas Fitzsimmons
9c5ed23eac 8349988: Change cgroup version detection logic to not depend on /proc/cgroups
8347811: Container detection code for cgroups v2 should use cgroup.controllers

Co-authored-by: Severin Gehwolf <sgehwolf@openjdk.org>
Reviewed-by: sgehwolf, asmehra
2025-04-03 08:38:50 +00:00
Marc Chevalier
00a038e9c5 8353341: C2: removal of a Mod[DF]Node crashes when the node is already dead
Reviewed-by: thartmann, chagedorn
2025-04-03 08:37:36 +00:00
David Beaumont
bd74922157 8338675: javac shouldn't silently change .jar files on the classpath
Reviewed-by: jlahoda
2025-04-03 05:36:31 +00:00
Christian Hagedorn
8d3d1d4137 8353058: [PPC64] Some IR framework tests are failing after JDK-8352595
Reviewed-by: mchevalier, thartmann
2025-04-03 05:25:56 +00:00
Ioi Lam
b01026abaa 8353325: Rewrite appcds/methodHandles test cases to use CDSAppTester
Reviewed-by: ccheung
2025-04-03 00:41:56 +00:00
Coleen Phillimore
e2e1598ecc 8353584: [BACKOUT] DaCapo xalan performance with -XX:+UseObjectMonitorTable
Reviewed-by: rkennke
2025-04-02 23:37:56 +00:00
Doug Simon
814730eae7 8352645: Add tool support to check order of includes
Reviewed-by: stefank, kbarrett
2025-04-02 22:30:13 +00:00
Alex Menkov
d4353626d5 8353479: jcmd with streaming output breaks intendation
Reviewed-by: sspitsyn, jsjolen
2025-04-02 21:58:33 +00:00
Vladimir Ivanov
130b0cdaa6 8353217: Build libsleef on macos-aarch64
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: erikj, kvn, ihse
2025-04-02 19:42:30 +00:00
Joe Wang
209e72d311 8353234: Refactor XMLSecurityPropertyManager
Reviewed-by: naoto, iris, lancea
2025-04-02 19:03:03 +00:00
Chris Plummer
cc870d4960 8352088: Call of com.sun.jdi.ThreadReference.threadGroups() can lock up target VM
Reviewed-by: alanb, jpai, sspitsyn
2025-04-02 17:04:37 +00:00
Larry Cable
d979bd8592 8344671: Few JFR streaming tests fail with application not alive error on MacOS 15
Reviewed-by: dholmes, kevinw
2025-04-02 16:00:14 +00:00
Roman Kennke
49cb7aaad9 8339114: DaCapo xalan performance with -XX:+UseObjectMonitorTable
Reviewed-by: coleenp, aboldtch
2025-04-02 15:57:32 +00:00
Patricio Chilano Mateo
d32ff13922 8353117: Crash: assert(id >= ThreadIdentifier::initial() && id < ThreadIdentifier::current()) failed: must be reasonable)
Reviewed-by: dholmes, fbredberg
2025-04-02 14:32:03 +00:00
Albert Mingkun Yang
a0677d94d8 8353263: Parallel: Remove locking in PSOldGen::resize
Reviewed-by: tschatzl, zgu
2025-04-02 14:19:26 +00:00
Marc Chevalier
8608b16341 8348887: Create IR framework test for JDK-8347997
Reviewed-by: thartmann, chagedorn
2025-04-02 13:27:56 +00:00
Jan Lahoda
23eb648cae 8353545: Improve debug info for StartOptionTest
Reviewed-by: asotona
2025-04-02 13:19:08 +00:00
Casper Norrbin
4f97c4c036 8349211: Add support for intrusive trees to the utilities red-black tree
Reviewed-by: aboldtch, jsjolen
2025-04-02 12:40:48 +00:00
Christian Hagedorn
c9baa8a7ae 8352418: Add verification code to check that the associated loop nodes of useless Template Assertion Predicates are dead
Reviewed-by: epeter, roland
2025-04-02 12:19:24 +00:00
Zhengyu Gu
b80b04d77a 8353329: Small memory leak when create GrowableArray with initial size 0
Reviewed-by: jsjolen, stefank
2025-04-02 11:56:53 +00:00
Magnus Ihse Bursie
4a50778a26 8353458: Don't pass -Wno-format-nonliteral to CFLAGS
Reviewed-by: erikj
2025-04-02 09:30:35 +00:00
SendaoYan
9076673d7d 8304674: File java.c compile error with -fsanitize=address -O0
Reviewed-by: ihse, jwaters
2025-04-02 08:26:22 +00:00
Daniel Skantz
8fb67ac55b 8282053: IGV: refine schedule approximation
Reviewed-by: rcastanedalo, dlunden, dfenacci
2025-04-02 07:45:48 +00:00
Manuel Hässig
d358f5f4a4 8347449: C2: UseLoopPredicate off should also turn UseProfiledLoopPredicate off
Reviewed-by: chagedorn, epeter
2025-04-02 06:48:06 +00:00
Manuel Hässig
f301663b34 8352893: C2: OrL/INode::add_ring optimize (x | -1) to -1
Reviewed-by: epeter, thartmann, kvn
2025-04-02 06:30:55 +00:00
Ioi Lam
15d36ee4a5 8353330: Test runtime/cds/appcds/SignedJar.java fails in CDSHeapVerifier
Reviewed-by: vlivanov, dholmes, liach
2025-04-02 03:56:19 +00:00
David Holmes
e6fe2490bc 8323100: com/sun/tools/attach/StartManagementAgent.java failed with "WaitForSingleObject failed"
Reviewed-by: kevinw, amenkov
2025-04-02 02:54:27 +00:00
Ioi Lam
096e70de2d 8352437: Support --add-exports with -XX:+AOTClassLinking
Reviewed-by: matsaave
2025-04-02 01:37:27 +00:00
Ioi Lam
6970cf6ac6 8352775: JVM crashes with -XX:AOTMode=create -XX:+UseZGC
Reviewed-by: ccheung, matsaave
2025-04-01 22:01:14 +00:00
Brian Burkhalter
afcad8ca61 5043343: FileImageInputStream and FileImageOutputStream do not properly track streamPos for RandomAccessFile
Reviewed-by: prr
2025-04-01 21:05:54 +00:00
Phil Race
6891490892 8353324: Clean up of comments and import after 8319192
Reviewed-by: dnguyen, kizune
2025-04-01 18:42:49 +00:00
Mikael Vidstedt
07fd666d99 8342984: Bump minimum boot jdk to JDK 24
Reviewed-by: iris, darcy, liach, ihse
2025-04-01 18:24:14 +00:00
Calvin Cheung
6a46d554c7 8353129: CDS ArchiveRelocation tests fail after JDK-8325132
Reviewed-by: iklam, dholmes
2025-04-01 16:43:25 +00:00
Markus Grönlund
19eabaff55 8353227: JFR: Prepare tests for strong parser validation
Reviewed-by: egahlin
2025-04-01 16:37:34 +00:00
Naoto Sato
564066d549 8353118: Deprecate the use of java.locale.useOldISOCodes system property
Reviewed-by: iris, jlu
2025-04-01 16:22:56 +00:00
David Holmes
a1ab1d8de4 8353449: [BACKOUT] One instance of STATIC_LIB_CFLAGS was missed in JDK-8345683
Reviewed-by: alanb, ihse
2025-04-01 12:59:49 +00:00
Alan Bateman
2a31f69a55 8353331: Test ForkJoinPool20Test::testFixedDelaySequence is failing
Reviewed-by: dl, vklang
2025-04-01 12:42:02 +00:00
Patrick Zhang
1809138b1c 8352284: EXTRA_CFLAGS incorrectly applied to BUILD_LIBJVM src/hotspot C++ source files
Reviewed-by: erikj
2025-04-01 11:47:32 +00:00
Patrick Zhang
cef5610b5d 8353272: One instance of STATIC_LIB_CFLAGS was missed in JDK-8345683
Reviewed-by: erikj
2025-04-01 11:47:13 +00:00
Leo Korinth
6801eb8704 8352709: Remove bad timing annotations from WhileOpTest.java
Reviewed-by: jpai
2025-04-01 10:54:17 +00:00
Leo Korinth
85a0baf0cb 8352719: Add an equals sign to the modules statement
Reviewed-by: weijun
2025-04-01 10:50:46 +00:00
Markus Grönlund
f25f701652 8353226: JFR: emit old object samples must be transitive closure complete for segment
Reviewed-by: egahlin
2025-04-01 09:17:44 +00:00
Afshin Zafari
aff5aa72bb 8350566: NMT: add size parameter to MemTracker::record_virtual_memory_tag
Reviewed-by: jsjolen, gziemski
2025-04-01 08:25:53 +00:00
Joachim Kern
196334fc39 8352046: Test testEcoFriendly() in jdk tools launcher ExecutionEnvironment.java for AIX and Linux/musl is brittle
Reviewed-by: clanger, mbaesken
2025-04-01 08:09:53 +00:00
SendaoYan
ad48846edd 8350386: Test TestCodeCacheFull.java fails with option -XX:-UseCodeCacheFlushing
Reviewed-by: tschatzl
2025-04-01 06:25:07 +00:00
David Holmes
8b4e190bc8 8353349: ProblemList runtime/cds/appcds/SignedJar.java
Reviewed-by: iklam, jpai
2025-04-01 05:42:52 +00:00
Fei Yang
860a789e91 8353219: RISC-V: Fix client builds after JDK-8345298
Reviewed-by: fjiang, rehn
2025-04-01 01:39:22 +00:00
Ioi Lam
a83760a6f2 8352092: -XX:AOTMode=record crashes with InstanceKlass in allocated state
Reviewed-by: dholmes, coleenp
2025-03-31 23:35:48 +00:00
Alexey Semenyuk
1077265953 8353321: [macos] ErrorTest.testAppContentWarning test case requires signing environment
Reviewed-by: almatvee
2025-03-31 22:16:05 +00:00
Alexey Semenyuk
52f56e608e 8353196: [macos] Contents of ".jpackage.xml" file are wrong when building .pkg from unsigned app image
Reviewed-by: almatvee
2025-03-31 22:07:14 +00:00
Hai-May Chao
acd4da49a0 8353299: VerifyJarEntryName.java test fails
Reviewed-by: mullan
2025-03-31 21:39:11 +00:00
Ioi Lam
5eee32d04b 8352768: CDS test MethodHandleTest.java failed in -Xcomp mode
Reviewed-by: dholmes, shade, vlivanov
2025-03-31 20:43:21 +00:00
Doug Lea
8b0602dbed 8319447: Improve performance of delayed task handling
Reviewed-by: vklang, alanb
2025-03-31 19:23:59 +00:00
Ian Graves
fe8bd75621 8351290: Clarify integral only for vector operators
Reviewed-by: liach, psandoz
2025-03-31 18:28:30 +00:00
Xiaolong Peng
4d1de46cb8 8352185: Shenandoah: Invalid logic for remembered set verification
8345399: GenShen: Error: Verify init-mark remembered set violation; clean card should be dirty

Reviewed-by: ysr, kdnilsen, wkemper
2025-03-31 18:13:31 +00:00
Koushik Thirupattur
3e96f5cbca 8351366: Remove the java.security.debug=scl option
Reviewed-by: hchao, mullan
2025-03-31 16:54:12 +00:00
Naoto Sato
4247744266 8351435: Change the default Console implementation back to the built-in one in java.base module
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: alanb
2025-03-31 16:46:57 +00:00
Artur Barashev
9c06dcb439 8349583: Add mechanism to disable signature schemes based on their TLS scope
Reviewed-by: mullan, ascarpino
2025-03-31 16:45:40 +00:00
Alexander Zvegintsev
cd5a43a980 8353126: Open source events tests batch1
Reviewed-by: honkar, kizune
2025-03-31 16:39:44 +00:00
Anthony Scarpino
e4e62789c7 8346129: Simplify EdDSA & XDH curve name usage
Reviewed-by: weijun, abarashev
2025-03-31 15:59:30 +00:00
Artur Barashev
7a2e198e9f 8352277: java.security documentation: incorrect regex syntax describing "usage" algorithm constraint
Reviewed-by: mullan, hchao, ascarpino
2025-03-31 15:48:03 +00:00
SendaoYan
b7ca76ef4b 8353235: Test jdk/jfr/api/metadata/annotations/TestPeriod.java fails with IllegalArgumentException
Reviewed-by: egahlin
2025-03-31 15:45:23 +00:00
Hai-May Chao
bbd5b174c5 8339280: jarsigner -verify performs cross-checking between CEN and LOC
Reviewed-by: mullan, weijun, lancea
2025-03-31 15:04:48 +00:00
Alexander Zvegintsev
d4d18350f3 8352860: Open source events tests batch0
Reviewed-by: psadhukhan
2025-03-31 12:36:37 +00:00
Serhiy Sachkov
c9c3c15368 8330598: java/net/httpclient/Http1ChunkedTest.java fails with java.util.MissingFormatArgumentException: Format specifier '%s'
Reviewed-by: dfuchs
2025-03-31 12:09:48 +00:00
Ivan Walulya
804a8fa4e9 8352765: G1CollectedHeap::expand_and_allocate() may fail to allocate even after heap expansion succeeds
Reviewed-by: tschatzl, manc
2025-03-31 11:15:47 +00:00
Aleksey Shipilev
22f630cb20 8352415: x86: Tighten up template interpreter method entry code
Reviewed-by: adinn, jsjolen
2025-03-31 10:30:23 +00:00
Aleksey Shipilev
6fbaa066ce 8353176: C1: x86 patching stub always calls Thread::current()
Reviewed-by: mdoerr, kvn, vlivanov
2025-03-31 10:01:23 +00:00
David Linus Briemann
79d0c94b5c 8352114: New test runtime/interpreter/CountBytecodesTest.java is failing
Reviewed-by: dholmes, mdoerr
2025-03-31 08:53:31 +00:00
Aleksey Shipilev
23e3b3ff6a 8351156: C1: Remove FPU stack support after 32-bit x86 removal
Reviewed-by: vlivanov, kvn
2025-03-31 08:16:10 +00:00
Christian Hagedorn
25925138b0 8350577: Fix missing Assertion Predicates when splitting loops
Reviewed-by: epeter, kvn
2025-03-31 07:38:53 +00:00
Thomas Stuefe
59629f88e6 8351040: [REDO] Protection zone for easier detection of accidental zero-nKlass use
Reviewed-by: mbaesken, iklam
2025-03-30 16:42:38 +00:00
Rohit Arul Raj
8cbadf78d0 8317976: Optimize SIMD sort for AMD Zen 4
Reviewed-by: psandoz, vlivanov
2025-03-30 13:22:21 +00:00
Zihao Lin
b9d7a75ade 8352879: TestPeriod.java and TestGetContentType.java run wrong test class
Reviewed-by: mgronlun
2025-03-30 13:14:52 +00:00
SendaoYan
895aabc463 8351233: [ASAN] avx2-emu-funcs.hpp:151:20: error: ‘D.82188’ is used uninitialized
Reviewed-by: vlivanov
2025-03-30 13:05:31 +00:00
Daniel Gredler
3d2c3cd40e 8352970: Remove unnecessary Windows version check in Win32ShellFolderManager2
Reviewed-by: prr, serb
2025-03-28 17:22:33 +00:00
Naoto Sato
c70ad6a053 8352906: stdout/err.encoding on Windows set by incorrect Win32 call
Reviewed-by: bpb, alanb
2025-03-28 16:26:43 +00:00
Prasanta Sadhukhan
da3bb06797 8352685: Opensource JInternalFrame tests - series2
Reviewed-by: azvegint
2025-03-28 15:50:10 +00:00
Kevin Driver
d8090337ee 8341775: Duplicate manifest files are removed by jarsigner after signing
Reviewed-by: weijun, hchao
2025-03-28 15:27:26 +00:00
Volodymyr Paprotski
a269bef04c 8350459: MontgomeryIntegerPolynomialP256 multiply intrinsic with AVX2 on x86_64
Reviewed-by: ascarpino, sviswanathan
2025-03-28 15:20:31 +00:00
Zihao Lin
c029220379 8352896: LambdaExpr02.java runs wrong test class
Reviewed-by: shade, jlahoda
2025-03-28 13:19:23 +00:00
Prasanta Sadhukhan
c0b61d3b88 8352680: Opensource few misc swing tests
Reviewed-by: abhiscxk
2025-03-28 13:03:30 +00:00
Manuel Hässig
3e9a7a4aed 8353063: make/ide/vscode: Invalid Configuration Values
Reviewed-by: erikj, thartmann
2025-03-28 08:58:43 +00:00
Manuel Hässig
8ef78323b1 8350471: Unhandled compilation bailout in GraphKit::builtin_throw
Reviewed-by: thartmann, chagedorn, kvn
2025-03-28 08:53:37 +00:00
Matthias Baesken
ddf326b8e6 8346888: [ubsan] block.cpp:1617:30: runtime error: 9.97582e+36 is outside the range of representable values of type 'int'
Reviewed-by: kvn, dlong
2025-03-28 08:19:20 +00:00
Matthias Baesken
bac2aa4445 8352946: SEGV_BND signal code of SIGSEGV missing from our signal-code table
Reviewed-by: mdoerr, dholmes
2025-03-28 08:13:31 +00:00
Prasanta Sadhukhan
cfc648bd17 8352677: Opensource JMenu tests - series2
Reviewed-by: abhiscxk
2025-03-28 06:52:14 +00:00
SendaoYan
2ea1557a0f 8353005: AIX build broken after 8352481
Reviewed-by: mdoerr, mbaesken, erikj
2025-03-28 06:03:36 +00:00
Cesar Soares Lucas
f4428e89b7 8352920: Compilation failure: comparison of unsigned expression >= 0 is always true
Reviewed-by: dholmes
2025-03-28 04:50:39 +00:00
Daniel Gredler
d5b12c82fe 8352890: Remove unnecessary Windows version check in FileFontStrike
Reviewed-by: serb, prr
2025-03-28 00:34:41 +00:00
Justin Lu
58ef4015b7 5061061: SimpleDateFormat: unspecified behavior for reserved pattern letter
Reviewed-by: naoto, rriggs
2025-03-27 20:40:05 +00:00
Ioi Lam
4ce9b4c72e 8352435: Refactor CDS test library for execution and module packaging
Reviewed-by: ccheung, shade
2025-03-27 20:28:18 +00:00
Aleksey Shipilev
b73663a2b4 8351155: C1/C2: Remove 32-bit x86 specific FP rounding support
Reviewed-by: vlivanov, kvn
2025-03-27 18:10:53 +00:00
William Kemper
1bd0ce1f51 8352918: Shenandoah: Verifier does not deactivate barriers as intended
Reviewed-by: kdnilsen, shade, ysr
2025-03-27 16:34:19 +00:00
Joel Sikström
dc5c4148c7 8352762: Use EXACTFMT instead of expanded version where applicable
Reviewed-by: dholmes, stuefe
2025-03-27 15:49:12 +00:00
Calvin Cheung
2eeda64632 8325132: CDS: Make sure the ArchiveRelocationMode is always printed in the log
Reviewed-by: shade, iklam
2025-03-27 15:34:56 +00:00
Vladimir Ivanov
50ac24eb0f 8351593: [JMH] test PhoneCode.Bulk reports NPE exception
Reviewed-by: redestad, drwhite
2025-03-27 14:58:07 +00:00
Jiangli Zhou
79824c344e 8352184: Jtreg tests using CommandLineOptionTest.getVMTypeOption() and optionsvalidation.JVMOptionsUtils fail on static JDK
Reviewed-by: dholmes, shade
2025-03-27 14:40:02 +00:00
Thomas Schatzl
c50a0a1fc1 8352508: [Redo] G1: Pinned regions with pinned objects only reachable by native code crash VM
Reviewed-by: ayang, iwalulya
2025-03-27 14:30:31 +00:00
Casper Norrbin
89e5c42d90 8294954: Remove superfluous ResourceMarks when using LogStream
Reviewed-by: dholmes, jsjolen
2025-03-27 14:28:47 +00:00
Alexey Ivanov
41f3eea9b2 8352624: Add missing {@code} to PassFailJFrame.Builder.splitUI
Reviewed-by: serb, honkar
2025-03-27 12:05:17 +00:00
Aleksey Shipilev
e2cd70aab6 8351151: Clean up x86 template interpreter after 32-bit x86 removal
Reviewed-by: coleenp, fparain, vlivanov
2025-03-27 11:59:37 +00:00
Varada M
b9907801af 8352393: AIX: Problem list serviceability/attach/AttachAPIv2/StreamingOutputTest.java
Reviewed-by: jsjolen, mdoerr
2025-03-27 11:46:46 +00:00
Marc Chevalier
927aeb2fee 8352617: IR framework test TestCompileCommandFileWriter.java runs TestCompilePhaseCollector instead of itself
Reviewed-by: chagedorn, thartmann
2025-03-27 11:36:14 +00:00
Boris Ulasevich
0bfa636c7f 8352426: RelocIterator should correctly handle nullptr address of relocation data
Reviewed-by: dlong, vlivanov, kvn
2025-03-27 11:31:20 +00:00
Aleksey Shipilev
b7ffd223e8 8352980: Purge infrastructure for FP-to-bits interpreter intrinsics after 32-bit x86 removal
Reviewed-by: kvn, vlivanov, coleenp
2025-03-27 11:24:48 +00:00
Vladimir Petko
9a87e2134e 8352800: [PPC] OpenJDK fails to build on PPC after JDK-8350106
Reviewed-by: rrich, shade
2025-03-27 10:31:53 +00:00
Frederic Thevenet
4100dc9d4c 8350801: Add a code signing hook to the JDK build system
Reviewed-by: ihse, erikj
2025-03-27 10:16:59 +00:00
Prasanta Sadhukhan
8a40498d79 8352678: Opensource few JMenuItem tests
Reviewed-by: abhiscxk
2025-03-27 10:11:11 +00:00
Hannes Greule
66b5dba690 8350988: Consolidate Identity of self-inverse operations
Reviewed-by: epeter, vlivanov
2025-03-27 07:39:34 +00:00
Robbin Ehn
10078111af 8352897: RISC-V: Change default value for UseConservativeFence
Reviewed-by: luhenry, fyang
2025-03-27 07:32:48 +00:00
Robbin Ehn
7853415217 8352218: RISC-V: Zvfh requires RVV
Reviewed-by: fyang, mli
2025-03-27 07:30:34 +00:00
Ioi Lam
24833403b6 8352579: Refactor CDS legacy optimization for lambda proxy classes
Reviewed-by: ccheung, matsaave
2025-03-27 00:23:51 +00:00
Alexey Semenyuk
1397ee56c0 8334322: Misleading values of keys in jpackage resource bundle
Reviewed-by: almatvee
2025-03-26 20:08:02 +00:00
Serguei Spitsyn
441bd12656 8352812: remove useless class and function parameter in SuspendThread impl
Reviewed-by: lmesnik, cjplummer
2025-03-26 19:45:50 +00:00
Aleksey Shipilev
e83cccfed4 8352948: Remove leftover runtime_x86_32.cpp after 32-bit x86 removal
Reviewed-by: stefank, kvn
2025-03-26 19:45:24 +00:00
William Kemper
5672a934fa 8348400: GenShen: assert(ShenandoahHeap::heap()->is_full_gc_in_progress() || (used_regions_size() <= _max_capacity)) failed: Cannot use more than capacity #
Reviewed-by: ysr
2025-03-26 17:33:23 +00:00
Markus Grönlund
c2a4fed98c 8348907: Stress times out when is executed with ZGC
Reviewed-by: egahlin, aboldtch, eosterlund
2025-03-26 17:30:45 +00:00
Jiangli Zhou
53926742c0 8352766: Problemlist hotspot tier1 tests requiring tools that are not included in static JDK
Reviewed-by: dholmes, ihse
2025-03-26 16:16:38 +00:00
Naoto Sato
1d205f5f07 8352716: (tz) Update Timezone Data to 2025b
Reviewed-by: coffeys, joehw
2025-03-26 16:09:24 +00:00
Xiaolong Peng
a2a64dac16 8352588: GenShen: Enabling JFR asserts when getting GCId
Reviewed-by: wkemper, ysr
2025-03-26 15:38:16 +00:00
Roland Westrelin
79bffe2f28 8349361: C2: RShiftL should support all applicable transformations that RShiftI does
Reviewed-by: epeter, chagedorn, jkarthikeyan
2025-03-26 14:37:53 +00:00
Daniel Fuchs
eef6aefc21 8352623: MultiExchange should cancel exchange impl if responseFilters throws
Reviewed-by: djelinski
2025-03-26 13:01:44 +00:00
Nizar Benalla
e2a461bdde 8351332: Line breaks in search tag descriptions corrupt JSON search index
Reviewed-by: hannesw, liach
2025-03-26 12:59:25 +00:00
Nizar Benalla
c14bbea93e 8352740: Introduce new factory method HtmlTree.IMG
Reviewed-by: liach, jjg
2025-03-26 12:45:44 +00:00
Tobias Hartmann
84d3dc75e4 8352965: [BACKOUT] 8302459: Missing late inline cleanup causes compiler/vectorapi/VectorLogicalOpIdentityTest.java IR failure
Reviewed-by: chagedorn
2025-03-26 12:32:52 +00:00
Matthias Baesken
b4dc364575 8346931: Replace divisions by zero in sharedRuntimeTrans.cpp
Reviewed-by: kbarrett, mdoerr
2025-03-26 12:31:28 +00:00
Severin Gehwolf
bc5cde1b19 8352692: Add support for extra jlink options
Reviewed-by: ihse, erikj
2025-03-26 10:53:07 +00:00
Saranya Natarajan
059f190f4b 8352490: Fatal error message for unhandled bytecode needs more detail
Reviewed-by: thartmann, chagedorn
2025-03-26 09:39:28 +00:00
Aleksey Shipilev
ee710fec21 8345169: Implement JEP 503: Remove the 32-bit x86 Port
Reviewed-by: ihse, mdoerr, vlivanov, kvn, coleenp, dholmes
2025-03-26 09:23:45 +00:00
Kevin Walls
eb6e8288c6 8351002: com/sun/management/OperatingSystemMXBean cpuLoad tests fail intermittently
Reviewed-by: sspitsyn, lmesnik
2025-03-26 09:03:19 +00:00
Daniel Jeliński
e32a0c90fe 8352706: httpclient HeadTest does not run on HTTP2
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Reviewed-by: michaelm
2025-03-26 08:12:45 +00:00
Fredrik Bredberg
45a9750b2c 8351655: Optimize ObjectMonitor::unlink_after_acquire()
Reviewed-by: pchilanomate, dholmes, coleenp
2025-03-26 07:30:04 +00:00
Damon Fenacci
2e4d7d1846 8302459: Missing late inline cleanup causes compiler/vectorapi/VectorLogicalOpIdentityTest.java IR failure
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: thartmann, vlivanov
2025-03-26 07:07:48 +00:00
Eirik Bjørsnøs
1a8c8e07fe 8352858: Make java.net.JarURLConnection fields final
Reviewed-by: jpai, dfuchs
2025-03-26 06:09:17 +00:00
Dingli Zhang
a81250c553 8352673: RISC-V: Vector can't be turned on with -XX:+UseRVV
Reviewed-by: rehn, fyang, syan
2025-03-26 01:58:02 +00:00
SendaoYan
0935ba9a8c 8352481: Enforce the use of lld with clang
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: ihse, erikj
2025-03-26 01:24:55 +00:00
William Kemper
dbc620fb1f 8352299: GenShen: Young cycles that interrupt old cycles cannot be cancelled
Reviewed-by: shade
2025-03-25 19:50:06 +00:00
Chen Liang
f5a0db43b7 8315447: Invalid Type Annotation attached to a method instead of a lambda
Reviewed-by: vromero
2025-03-25 19:01:22 +00:00
Chen Liang
60544a15d6 8164714: Constructor.newInstance creates instance of inner class with null outer class
Reviewed-by: vromero
2025-03-25 19:01:02 +00:00
Emanuel Peter
c856b3425a 8352587: C2 SuperWord: we must avoid Multiversioning for PeelMainPost loops
Reviewed-by: chagedorn, kvn
2025-03-25 16:08:57 +00:00
Naoto Sato
993eae4aa5 8346948: Update CLDR to Version 47.0
Reviewed-by: jlu, joehw
2025-03-25 15:52:18 +00:00
David Linus Briemann
e98838f58d 8352065: [PPC64] C2: Implement PopCountVL, CountLeadingZerosV and CountTrailingZerosV nodes
Reviewed-by: mdoerr, rrich
2025-03-25 15:16:46 +00:00
Volkan Yazici
03105fc925 8351601: [JMH] test UnixSocketChannelReadWrite failed for 2 threads config
Reviewed-by: michaelm
2025-03-25 14:35:45 +00:00
Archie Cobbs
fe03e2ecbd 8351897: Extra closing curly brace typos in Javadoc
Reviewed-by: liach
2025-03-25 14:28:05 +00:00
Mikhail Yankelevich
fa0b18bfde 8352509: Update jdk.test.lib.SecurityTools jar method to accept List<String> parameter
Reviewed-by: weijun
2025-03-25 13:04:30 +00:00
Kevin Walls
3ac9678ea1 8351224: Deprecate com.sun.tools.attach.AttachPermission for removal
Reviewed-by: sspitsyn
2025-03-25 12:32:37 +00:00
Kevin Walls
997aa176db 8351310: Deprecate com.sun.jdi.JDIPermission for removal
Reviewed-by: sspitsyn, cjplummer
2025-03-25 12:32:16 +00:00
Christian Hagedorn
c953e0ede1 8350579: Remove Template Assertion Predicates belonging to a loop once it is folded away
Reviewed-by: epeter, roland
2025-03-25 11:58:28 +00:00
Tobias Hartmann
67c4405250 8352866: TestLogJIT.java runs wrong test class
Reviewed-by: rcastanedalo, chagedorn
2025-03-25 11:52:54 +00:00
Magnus Ihse Bursie
bab93729c2 8352618: Remove old deprecated functionality in the build system
Reviewed-by: erikj, kbarrett, jwaters
2025-03-25 10:58:10 +00:00
Magnus Ihse Bursie
512b9b16e0 8196896: Use SYSROOT_CFLAGS in dtrace gensrc
Reviewed-by: erikj
2025-03-25 10:56:52 +00:00
Markus Grönlund
721ef76738 8352696: JFR: assert(false): EA: missing memory path
Reviewed-by: thartmann, shade, kvn
2025-03-25 10:37:29 +00:00
Prasanta Sadhukhan
c002b97ee9 8352676: Opensource JMenu tests - series1
Reviewed-by: azvegint
2025-03-25 10:35:07 +00:00
Marc Chevalier
bdcac98673 8347459: C2: missing transformation for chain of shifts/multiplications by constants
Reviewed-by: dfenacci, epeter
2025-03-25 10:15:55 +00:00
Hamlin Li
3d3b782037 8352607: RISC-V: use cmove in min/max when Zicond is supported
Reviewed-by: fyang, rehn
2025-03-25 09:30:51 +00:00
Hamlin Li
9f582e56ba 8320997: RISC-V: C2 ReverseV
Reviewed-by: fyang, luhenry
2025-03-25 09:29:40 +00:00
Ivan Walulya
6879c446c6 8351405: G1: Collection set early pruning causes suboptimal region selection
Reviewed-by: ayang, tschatzl
2025-03-25 09:24:36 +00:00
Aleksey Shipilev
aee4d6910b 8348829: Remove ObjectMonitor perf counters
Reviewed-by: dholmes, coleenp
2025-03-25 09:01:48 +00:00
Xiaohong Gong
f9bcef4dba 8351627: C2 AArch64 ROR/ROL: assert((1 << ((T>>1)+3)) > shift) failed: Invalid Shift value
Reviewed-by: chagedorn, epeter, jbhateja, adinn
2025-03-25 08:27:18 +00:00
Aleksey Shipilev
17dc30c54e 8352414: JFR: JavaMonitorDeflateEvent crashes when deflated monitor object is dead
Reviewed-by: dholmes, mgronlun
2025-03-25 08:20:35 +00:00
Matthias Baesken
6bc480358c 8351277: Remove pipewire from AIX build
Reviewed-by: ihse, prr, azvegint
2025-03-25 08:01:15 +00:00
Marc Chevalier
c94bc7427c 8352595: Regression of JDK-8314999 in IR matching
Reviewed-by: chagedorn, thartmann
2025-03-25 07:28:06 +00:00
Damon Fenacci
48fac6626c 8347406: [REDO] C1/C2 don't handle allocation failure properly during initialization (RuntimeStub::new_runtime_stub fatal crash)
Reviewed-by: dlong, adinn
2025-03-25 07:10:47 +00:00
Xiaohong Gong
99c8a6e47a 8350463: AArch64: Add vector rearrange support for small lane count vectors
Reviewed-by: epeter, bkilambi, haosun
2025-03-25 06:06:42 +00:00
Alexey Semenyuk
b2da0d341b 8352289: [macos] Review skipped tests in tools/jpackage/macosx/SigningPackage*
Reviewed-by: almatvee
2025-03-25 01:45:03 +00:00
Xiaohong Gong
ba658a71ba 8349522: AArch64: Add backend implementation for new unsigned and saturating vector operations
Reviewed-by: epeter, haosun, bkilambi
2025-03-25 01:35:27 +00:00
Zihao Lin
5625b43ff4 8350429: runtime/NMT/CheckForProperDetailStackTrace.java should only run for debug JVM
Reviewed-by: stuefe, jsjolen
2025-03-25 01:34:11 +00:00
Alexey Semenyuk
2c60fc5189 8352176: Automate setting up environment for mac signing tests
Reviewed-by: almatvee
2025-03-24 22:46:08 +00:00
Phil Race
6e6a39d35f 8347321: [ubsan] CGGlyphImages.m:553:30: runtime error: nan is outside the range of representable values of type 'unsigned long'
Reviewed-by: kizune, azvegint, aivanov
2025-03-24 19:52:52 +00:00
Hamlin Li
b84b29278f 8352615: [Test] RISC-V: TestVectorizationMultiInvar.java fails on riscv64 without rvv support
Reviewed-by: fyang, rehn
2025-03-24 18:11:26 +00:00
Dhamoder Nalla
a54445f789 8350609: Cleanup unknown unwind opcode (0xB) for windows
Reviewed-by: sviswanathan, epeter
2025-03-24 17:40:42 +00:00
Srinivas Vamsi Parasa
c87e1be052 8349582: APX NDD code generation for OpenJDK
Reviewed-by: epeter, jbhateja, sviswanathan
2025-03-24 16:44:26 +00:00
Ian Graves
7d1fe0e03f 8339543: [vectorapi] laneHelper and withLaneHelper should be ForceInline
Reviewed-by: liach, psandoz
2025-03-24 16:24:56 +00:00
Naoto Sato
ddc4318053 8352628: Refine Grapheme test
Reviewed-by: jlu, joehw
2025-03-24 16:15:45 +00:00
Joachim Kern
d8c2f59a1b 8352064: AIX: now also able to build static-jdk image with a statically linked launcher
Reviewed-by: mdoerr, mbaesken, ihse
2025-03-24 16:15:36 +00:00
Erik Gahlin
5709f79cf8 8352648: JFR: 'jfr query' should not be available in product builds
Reviewed-by: mgronlun, shade
2025-03-24 15:16:54 +00:00
Thomas Schatzl
02a4ce23f8 8352147: G1: TestEagerReclaimHumongousRegionsClearMarkBits test takes very long
Reviewed-by: iwalulya, ayang
2025-03-24 12:18:02 +00:00
Roberto Castañeda Lozano
de580090cd 8351468: C2: array fill optimization assigns wrong type to intrinsic call
Reviewed-by: epeter, thartmann, qamai
2025-03-24 11:05:46 +00:00
Matthias Baesken
a875733266 8352486: [ubsan] compilationMemoryStatistic.cpp:659:21: runtime error: index 64 out of bounds for type const struct unnamed struct
Reviewed-by: kvn, mdoerr, stuefe
2025-03-24 08:07:28 +00:00
Manuel Hässig
5591f8a429 8351515: C2 incorrectly removes double negation for double and float
Reviewed-by: thartmann, chagedorn
2025-03-24 07:59:20 +00:00
Emanuel Peter
56a4ffa62c 8352597: [IR Framework] test bug: TestNotCompilable.java fails on product build
Reviewed-by: fyang, syan, thartmann
2025-03-24 07:57:14 +00:00
Marc Chevalier
e23e0f85ef 8352591: Missing UnlockDiagnosticVMOptions in VerifyGraphEdgesWithDeadCodeCheckFromSafepoints test
Reviewed-by: kvn, chagedorn, syan
2025-03-24 07:24:07 +00:00
Ioi Lam
adfb120649 8351748: Add class init barrier to AOT-cached Method/Var Handles
Reviewed-by: vlivanov, liach
2025-03-24 06:42:02 +00:00
David Holmes
ee1577b790 8352652: [BACKOUT] nsk/jvmti/ tests should fail when nsk_jvmti_setFailStatus() is called
Reviewed-by: lmesnik
2025-03-24 00:18:13 +00:00
Zihao Lin
df9210e657 8347706: jvmciEnv.cpp has jvmci includes out of order
Reviewed-by: dnsimon
2025-03-23 00:35:59 +00:00
Fei Yang
5dd0acb3cd 8352477: RISC-V: Print warnings when unsupported intrinsics are enabled
Reviewed-by: mli, rehn, fjiang
2025-03-22 02:31:53 +00:00
Leonid Mesnik
334a1eec23 8351375: nsk/jvmti/ tests should fail when nsk_jvmti_setFailStatus() is called
Reviewed-by: sspitsyn, cjplummer
2025-03-22 01:59:59 +00:00
Shaojin Wen
74420391fa 8337279: Share StringBuilder to format instant
Reviewed-by: naoto, liach
2025-03-22 01:35:09 +00:00
Vladimir Kozlov
22182f71ed 8352112: [ubsan] hotspot/share/code/relocInfo.cpp:130:37: runtime error: applying non-zero offset 18446744073709551614 to null pointer
Reviewed-by: dlong, bulasevich
2025-03-21 20:51:30 +00:00
Abhishek Kumar
c2e14b1b30 8343891: Test javax/swing/JTabbedPane/TestJTabbedPaneBackgroundColor.java failed
Reviewed-by: aivanov, psadhukhan
2025-03-21 17:47:57 +00:00
William Kemper
52c6ce6c73 8352091: GenShen: assert(!(request.generation->is_old() && _heap->old_generation()->is_doing_mixed_evacuations())) failed: Old heuristic should not request cycles while it waits for mixed evacuation
Reviewed-by: rkennke
2025-03-21 16:04:33 +00:00
Doug Simon
b8f3856389 8352420: [ubsan] codeBuffer.cpp:984:27: runtime error: applying non-zero offset 18446744073709486080 to null pointer
Reviewed-by: kvn, mbaesken
2025-03-21 15:56:27 +00:00
Doug Simon
0cb110ebb7 8350892: [JVMCI] Align ResolvedJavaType.getInstanceFields with Class.getDeclaredFields
Reviewed-by: yzheng, never, thartmann
2025-03-21 13:00:25 +00:00
Hamlin Li
04eac0c3e2 8352159: RISC-V: add more zfa support
Reviewed-by: fyang, luhenry, rehn
2025-03-21 12:10:22 +00:00
Hamlin Li
ac760dd106 8352423: RISC-V: simplify DivI/L ModI/L
Reviewed-by: fyang, luhenry, rehn
2025-03-21 12:09:08 +00:00
Hamlin Li
d1cf232893 8352248: Check if CMoveX is supported
Reviewed-by: chagedorn, luhenry, rehn
2025-03-21 12:08:53 +00:00
Hamlin Li
2b55979595 8352529: RISC-V: enable loopopts tests
Reviewed-by: fyang, luhenry, rehn
2025-03-21 12:07:33 +00:00
Hannes Wallnöfer
84694584d5 8352511: Show additional level of headings in table of contents
Reviewed-by: liach
2025-03-21 11:57:42 +00:00
Hannes Wallnöfer
28250f83b7 8352151: Fix display issues in javadoc-generated docs
Reviewed-by: liach, nbenalla
2025-03-21 11:50:26 +00:00
Albert Mingkun Yang
b32be18bf9 8352178: Add precondition in VMThread::execute to prevent deadlock
Reviewed-by: pchilanomate, tschatzl, dholmes, shade
2025-03-21 10:35:35 +00:00
Magnus Ihse Bursie
07667ca2f4 8352506: Simplify make/test/JtregNativeHotspot.gmk
Reviewed-by: erikj
2025-03-21 10:20:29 +00:00
Thomas Schatzl
b545b9e79e 8352584: [Backout] G1: Pinned regions with pinned objects only reachable by native code crash VM
Reviewed-by: shade
2025-03-21 10:00:07 +00:00
David Linus Briemann
1c0fa0af78 8352512: TestVectorZeroCount: counter not reset between iterations
Reviewed-by: mdoerr, chagedorn
2025-03-21 09:23:30 +00:00
Marc Chevalier
466f82a499 8314999: IR framework fails to detect allocation
Reviewed-by: chagedorn, thartmann
2025-03-21 08:53:56 +00:00
Magnus Ihse Bursie
06ba6cf3a1 8329173: LCMS_CFLAGS from configure are lost
Reviewed-by: erikj, azvegint
2025-03-20 22:25:49 +00:00
Jatin Bhateja
56038fb5a1 8352317: Assertion failure during size estimation of BoxLockNode with -XX:+UseAPX
Reviewed-by: thartmann
2025-03-20 18:56:25 +00:00
Marc Chevalier
2bc4f64c56 8335708: C2: Compile::verify_graph_edges must start at root and safepoints, just like CCP traversal
Reviewed-by: chagedorn, epeter
2025-03-20 15:50:23 +00:00
Jan Lahoda
9a17a6ff0f 8350749: Upgrade JLine to 3.29.0
Reviewed-by: liach
2025-03-20 15:17:10 +00:00
Jiangli Zhou
91836e181a 8352276: Skip jtreg tests using native executable with libjvm.so/libjli.so dependencies on static JDK
Reviewed-by: dholmes
2025-03-20 15:09:03 +00:00
Christian Hagedorn
2560a63773 8352131: [REDO] C2: Print compilation bailouts with PrintCompilation compile command
Reviewed-by: thartmann, kvn, epeter
2025-03-20 12:32:22 +00:00
Casper Norrbin
73177d9c53 8347734: Turning off PerfData logging doesn't work
Reviewed-by: dholmes, coleenp
2025-03-20 12:26:14 +00:00
Prasanta Sadhukhan
96305e0953 4466930: JTable.selectAll boundary handling
Reviewed-by: abhiscxk, tr
2025-03-20 09:28:57 +00:00
Emanuel Peter
fb210e3a71 8351952: [IR Framework]: allow ignoring methods that are not compilable
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: chagedorn, thartmann
2025-03-20 06:14:07 +00:00
Emanuel Peter
3ed010ab7c 8352020: [CompileFramework] enable compilation for VectorAPI
Reviewed-by: chagedorn, kvn
2025-03-20 06:13:52 +00:00
Hannes Wallnöfer
a5d06a1876 8352249: Remove incidental whitespace in traditional doc comments
Reviewed-by: liach
2025-03-20 05:59:18 +00:00
Kelvin Nilsen
74df384a98 8352428: GenShen: Old-gen cycles are still looping
Reviewed-by: wkemper, shade
2025-03-20 00:53:33 +00:00
Alexander Zuev
fcc2a24291 8350813: Rendering of bulky sound bank from MIDI sequence can cause OutOfMemoryError
Reviewed-by: honkar, prr
2025-03-19 20:05:44 +00:00
Andrew Dinn
ac3ad03a3f 8350589: Investigate cleaner implementation of AArch64 ML-DSA intrinsic introduced in JDK-8348561
Reviewed-by: dlong
2025-03-19 17:23:23 +00:00
William Kemper
8a1c85eaa9 8350898: Shenandoah: Eliminate final roots safepoint
Reviewed-by: rkennke, kdnilsen, cslucas
2025-03-19 16:56:53 +00:00
Joe Wang
8e999b83a4 8351969: Add Public Identifiers to the JDK built-in Catalog
Reviewed-by: rriggs, lancea, iris, naoto
2025-03-19 16:37:05 +00:00
Manukumar V S
c7f333888b 8352109: java/awt/Desktop/MailTest.java fails in platforms where Action.MAIL is not supported
Reviewed-by: aivanov
2025-03-19 15:25:22 +00:00
Dmitry Chuyko
fed34e46b8 8351933: Inaccurate masking of TC subfield decrement in ForkJoinPool
Reviewed-by: dl, alanb, liach
2025-03-19 11:35:26 +00:00
Saranya Natarajan
8f64ccc01b 8350485: C2: factor out common code in Node::grow() and Node::out_grow()
Reviewed-by: thartmann, rcastanedalo
2025-03-19 09:59:15 +00:00
Hamlin Li
c2be19c261 8351902: RISC-V: Several tests fail after JDK-8351145
Reviewed-by: rehn, fyang, syan
2025-03-19 09:42:22 +00:00
Christian Hagedorn
e57b272506 8350578: Refactor useless Parse and Template Assertion Predicate elimination code by using a PredicateVisitor
Reviewed-by: epeter, kvn, roland
2025-03-19 07:41:07 +00:00
Weijun Wang
577ede73d8 8352302: Test sun/security/tools/jarsigner/TimestampCheck.java is failing
Reviewed-by: dholmes
2025-03-19 02:20:07 +00:00
William Kemper
20d4fe3a57 8351464: Shenandoah: Hang on ShenandoahController::handle_alloc_failure when run test TestAllocHumongousFragment#generational
Reviewed-by: xpeng, ysr
2025-03-19 00:30:25 +00:00
Alexey Semenyuk
8e530633a9 8352275: Clean up dead code in jpackage revealed with improved negative test coverage
Reviewed-by: almatvee
2025-03-18 23:07:09 +00:00
Alexey Semenyuk
c8a11f28df 8352293: jpackage tests build rpm packages on Ubuntu test machines after JDK-8351372
Reviewed-by: almatvee
2025-03-18 21:35:54 +00:00
Jiangli Zhou
4a02de8292 8352098: -Xrunjdwp fails on static JDK
Reviewed-by: cjplummer, dholmes
2025-03-18 19:04:08 +00:00
Kim Barrett
355b2f3bdd 8351374: Improve comment about queue.remove timeout in CleanerImpl.run
Reviewed-by: rriggs, shade
2025-03-18 18:59:42 +00:00
Alex Menkov
a3540be502 8352163: [AIX] SIGILL in AttachOperation::ReplyWriter::write_fully after 8319055
Reviewed-by: dholmes, mdoerr
2025-03-18 17:59:01 +00:00
Alex Menkov
53c5b93ca5 8352180: AttachListenerThread causes many tests to timeout on Windows
Reviewed-by: dholmes, alanb
2025-03-18 17:54:38 +00:00
Patrick Zhang
b025d8c2e0 8350663: AArch64: Enable UseSignumIntrinsic by default
Reviewed-by: adinn
2025-03-18 15:44:28 +00:00
Matthias Baesken
a37d8434ab 8352015: LIBVERIFY_OPTIMIZATION remove special optimization settings
Reviewed-by: erikj, ihse
2025-03-18 12:59:29 +00:00
Anjian-Wen
b891bfa7e6 8352022: RISC-V: Support Zfa fminm_h/fmaxm_h for float16
Reviewed-by: fyang, mli
2025-03-18 11:01:18 +00:00
Aleksey Shipilev
20f1bca077 8351187: Add JFR monitor notification event
Reviewed-by: dholmes, lmesnik, mgronlun
2025-03-18 10:17:54 +00:00
Sergey Chernyshev
46b3d1d8cf 8351382: New test containers/docker/TestMemoryWithSubgroups.java is failing
Reviewed-by: sgehwolf, dholmes
2025-03-18 09:37:45 +00:00
Thomas Schatzl
558c015c99 8351921: G1: Pinned regions with pinned objects only reachable by native code crash VM
Reviewed-by: ayang, iwalulya
2025-03-18 09:29:51 +00:00
Thomas Schatzl
f8c2122b30 8352138: G1: Remove G1AddMetaspaceDependency.java test
Reviewed-by: ayang, shade
2025-03-18 09:28:43 +00:00
Quan Anh Mai
e1bcff3ada 8345687: Improve the implementation of SegmentFactories::allocateSegment
Reviewed-by: jvernee, mcimadamore
2025-03-18 08:59:48 +00:00
Afshin Zafari
f4ddac5e58 8331201: UBSAN enabled build reports on Linux x86_64 runtime error: shift exponent 65 is too large for 64-bit type 'long unsigned int'
Reviewed-by: dlong, aboldtch
2025-03-18 08:10:24 +00:00
Ioi Lam
38499b3fbf 8352084: Add more test code in TestSetupAOT.java
Reviewed-by: erikj, kvn, lmesnik
2025-03-18 00:49:36 +00:00
Roger Riggs
19154f7af3 8351970: Retire JavaLangAccess::exit
Reviewed-by: rgiulietti, liach, djelinski
2025-03-17 18:55:19 +00:00
Alexey Semenyuk
3aa6d62afe 8351372: Improve negative tests coverage of jpackage
Reviewed-by: almatvee
2025-03-17 18:38:28 +00:00
Sandhya Viswanathan
3239919a5a 8350835: C2 SuperWord: assert/wrong result when using Float.float16ToFloat with byte instead of short input
Reviewed-by: epeter, kvn
2025-03-17 17:50:34 +00:00
Jiangli Zhou
47c1960965 8351689: -Xshare:dump with default classlist fails on static JDK
Reviewed-by: iklam, dholmes
2025-03-17 16:55:41 +00:00
Harshitha Onkar
6b82b42a21 8348598: Update Libpng to 1.6.47
Reviewed-by: azvegint, prr, erikj
2025-03-17 16:50:33 +00:00
Jiangli Zhou
2674a31bb8 8351891: Disable TestBreakSignalThreadDump.java#with_jsig and XCheckJSig.java on static JDK
Reviewed-by: manc, dholmes
2025-03-17 16:36:20 +00:00
Leonid Mesnik
4c6a523e89 8352096: Test jdk/jfr/event/profiling/TestFullStackTrace.java shouldn't be executed with -XX:+DeoptimizeALot
Reviewed-by: egahlin
2025-03-17 16:07:52 +00:00
Erik Gahlin
d68775d711 8351995: JFR: Leftovers from removal of Security Manager
Reviewed-by: mgronlun
2025-03-17 15:29:14 +00:00
Matthew Donovan
e62becc6ce 8350964: Add an ArtifactResolver.fetch(clazz) method
Reviewed-by: weijun
2025-03-17 11:59:16 +00:00
Hamlin Li
dbf47d6c6c 8351876: RISC-V: enable and fix some float round tests
Reviewed-by: fyang
2025-03-17 11:47:18 +00:00
Markus Grönlund
d207ed3f7c 8352066: JVM.commit() and JVM.flush() exhibit race conditions against JFR epochs
Reviewed-by: egahlin
2025-03-17 10:47:18 +00:00
Erik Gahlin
0450ba9b65 8351999: JFR: Incorrect scaling of throttled values
Reviewed-by: shade
2025-03-17 10:32:11 +00:00
Markus Grönlund
e5666f56ff 8351976: assert(vthread_epoch == current_epoch) failed: invariant
Reviewed-by: egahlin
2025-03-17 10:03:53 +00:00
Markus Grönlund
2eecf159af 8351967: JFR: AnnotationIterator should handle num_annotations = 0
Reviewed-by: egahlin
2025-03-17 09:56:10 +00:00
Hannes Wallnöfer
c8913d2c9c 8345555: Improve layout of search results
Reviewed-by: liach, nbenalla
2025-03-17 09:00:50 +00:00
Christian Hagedorn
e29d405504 8352110: [BACKOUT] C2: Print compilation bailouts with PrintCompilation compile command
Reviewed-by: thartmann, syan
2025-03-17 08:00:41 +00:00
Thomas Schatzl
9f8d833f86 8346194: Improve G1 pre-barrier C2 cost estimate
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: rcastanedalo, ayang
2025-03-17 07:57:45 +00:00
Joel Sikström
2672c40bf1 8351167: ZGC: Lazily initialize livemap
Reviewed-by: sjohanss, eosterlund, tschatzl
2025-03-17 07:55:44 +00:00
Erik Gahlin
63bf79183d 8351992: JFR: Improve robustness of the SettingControl examples
Reviewed-by: mgronlun
2025-03-16 21:47:25 +00:00
Matthias Baesken
06289f3d90 8351821: VMManagementImpl.c avoid switching off warnings
Reviewed-by: ihse, kevinw
2025-03-16 13:04:45 +00:00
Ian Graves
0460978e7c 8351096: Typos in Vector API doc
Reviewed-by: psandoz
2025-03-14 17:50:42 +00:00
Jiangli Zhou
7f42804148 8350524: Some hotspot/jtreg/serviceability/dcmd/vm tier1 tests fail on static JDK
Reviewed-by: stuefe
2025-03-14 16:25:23 +00:00
Hamlin Li
712a70c5c4 8318220: RISC-V: C2 ReverseI
8318221: RISC-V: C2 ReverseL

Reviewed-by: fyang, luhenry
2025-03-14 15:07:29 +00:00
Fei Yang
985ca1270e 8352011: RISC-V: Two IR tests fail after JDK-8351662
Reviewed-by: syan, mli
2025-03-14 13:44:29 +00:00
Tobias Hartmann
86b24339dc 8352050: Problem list compiler/ciReplay/* test until JDK-8349191 is fixed
Reviewed-by: chagedorn
2025-03-14 12:46:18 +00:00
Christian Hagedorn
65c5282f4b 8351938: C2: Print compilation bailouts with PrintCompilation compile command
Reviewed-by: epeter, thartmann, kvn, galder
2025-03-14 12:13:18 +00:00
Aleksey Shipilev
e3c29c9e6c 8351556: Optimize Location.locationFor/isModuleOrientedLocation
Reviewed-by: liach, jlahoda
2025-03-14 07:46:46 +00:00
Anjian-Wen
a7a09f69ab 8349632: RISC-V: Add Zfa fminm/fmaxm
Reviewed-by: fyang
2025-03-14 05:53:04 +00:00
David Holmes
0454406417 8351987: ProblemList the failing JFR streaming tests on macOS
Reviewed-by: egahlin
2025-03-13 22:29:42 +00:00
Ioi Lam
be36b23431 8351778: JIT compiler fails when running -XX:AOTMode=create
Reviewed-by: shade, kvn, vlivanov
2025-03-13 21:06:00 +00:00
Daniel Gredler
7fc776e2ac 8270265: LineBreakMeasurer calculates incorrect line breaks with zero-width characters
Reviewed-by: achung, prr
2025-03-13 20:27:27 +00:00
Gennadiy Krivoshein
3da5e3fe10 8349350: Unable to print using InputSlot and OutputBin print attributes at the same time
Reviewed-by: prr, kizune, psadhukhan
2025-03-13 20:27:13 +00:00
Phil Race
aa047ee024 8319192: Remove javax.swing.plaf.synth.SynthLookAndFeel.load(URL url)
Reviewed-by: azvegint, tr
2025-03-13 20:13:29 +00:00
Alex Menkov
cd1be91757 8319055: JCMD should not buffer the whole output of commands
Reviewed-by: stuefe, jsjolen
2025-03-13 20:05:49 +00:00
Erik Gahlin
248c373b5b 8351266: JFR: -XX:StartFlightRecording:report-on-exit
Reviewed-by: mgronlun
2025-03-13 19:21:11 +00:00
Eric Caspole
03ef79cf05 8346470: Improve WriteBarrier JMH to have old-to-young refs
Reviewed-by: tschatzl
2025-03-13 18:32:15 +00:00
Rajat Mahajan
b50fe9b8cc 8280818: Expand bug8033699.java to iterate over all LaFs
Reviewed-by: dnguyen, aivanov, honkar, abhiscxk
2025-03-13 17:09:17 +00:00
Harald Eilertsen
771e160da4 8351323: Parameterize compiler and linker flags for iconv
Reviewed-by: ihse, erikj
2025-03-13 16:54:54 +00:00
Henry Jen
0ff1c0832e 8349984: (jdeps) jdeps can use String.repeat instead of String.replaceAll
Reviewed-by: alanb
2025-03-13 16:44:06 +00:00
Thomas Stuefe
37ec796255 8351500: G1: NUMA migrations cause crashes in region allocation
Reviewed-by: rkennke, sjohanss, tschatzl
2025-03-13 16:08:08 +00:00
Galder Zamarreño
4e51a8c9ad 8307513: C2: intrinsify Math.max(long,long) and Math.min(long,long)
Reviewed-by: roland, epeter, chagedorn, darcy
2025-03-13 13:53:54 +00:00
Joel Sikström
7e3bc81e88 8351216: ZGC: Store NUMA node count
Reviewed-by: tschatzl, sjohanss, eosterlund
2025-03-13 13:21:57 +00:00
Sean Mullan
82eb78069f 8351349: GSSUtil.createSubject has outdated access control context and policy related text
Reviewed-by: weijun
2025-03-13 12:43:04 +00:00
Matthias Baesken
c3db667156 8351542: LIBMANAGEMENT_OPTIMIZATION remove special optimization settings
Reviewed-by: ihse, kevinw
2025-03-13 12:41:57 +00:00
Fei Yang
375722f4ab 8351839: RISC-V: Fix base offset calculation introduced in JDK-8347489
Reviewed-by: mli, fjiang
2025-03-13 12:06:17 +00:00
David Linus Briemann
4c5956d748 8350866: [x86] Add C1 intrinsics for CRC32-C
Reviewed-by: mdoerr, kvn
2025-03-13 11:14:52 +00:00
Saranya Natarajan
9c00331465 8330469: C2: Remove or change "PrintOpto && VerifyLoopOptimizations" as printing code condition
Reviewed-by: chagedorn, rcastanedalo
2025-03-13 11:02:44 +00:00
Jeremy Wood
c18494d3c9 8351108: ImageIO.write(..) fails with exception when writing JPEG with IndexColorModel
Reviewed-by: aivanov, prr, azvegint
2025-03-13 10:08:49 +00:00
Casper Norrbin
86860cac04 8346916: [REDO] align_up has potential overflow
Reviewed-by: ayang, kbarrett, dlong
2025-03-13 09:35:59 +00:00
Hamlin Li
a33b1f7f64 8345298: RISC-V: Add riscv backend for Float16 operations - scalar
Reviewed-by: rehn, fyang
2025-03-13 08:16:53 +00:00
Hamlin Li
6241d09657 8351861: RISC-V: add simple assert at arrays_equals_v
Reviewed-by: fyang
2025-03-13 08:12:56 +00:00
Hamlin Li
0e7d460e4f 8351662: [Test] RISC-V: enable bunch of IR test
Reviewed-by: fyang, rehn, tonyp
2025-03-13 08:12:38 +00:00
Ioi Lam
a7ad4144c8 8351327: -XX:AOTMode=record interferes with application execution
Reviewed-by: shade, kvn, matsaave
2025-03-13 04:57:43 +00:00
Jatin Bhateja
41cc049f42 8350840: C2: x64 Assembler::vpcmpeqq assert: failed: XMM register should be 0-15
Reviewed-by: sviswanathan, kvn
2025-03-13 03:36:50 +00:00
William Kemper
a347ecdedc 8350905: Shenandoah: Releasing a WeakHandle's referent may extend its lifetime
Reviewed-by: shade, ysr
2025-03-12 20:42:41 +00:00
Chris Plummer
5502ce733e 8351699: Problem list com/sun/jdi/JdbStopInNotificationThreadTest.java with ZGC
Reviewed-by: amenkov
2025-03-12 20:39:38 +00:00
William Kemper
cdf7632f8a 8351444: Shenandoah: Class Unloading may encounter recycled oops
Reviewed-by: shade, rkennke
2025-03-12 20:12:53 +00:00
Aleksey Shipilev
930455b596 8351640: Print reason for making method not entrant
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: vlivanov, kvn
2025-03-12 19:45:31 +00:00
Aleksey Shipilev
895f64a18d 8351142: Add JFR monitor deflation and statistics events
Reviewed-by: egahlin, dholmes, lmesnik
2025-03-12 19:25:08 +00:00
Nizar Benalla
db531bf7df 8351881: Tidy complains about missing "alt" attribute
Reviewed-by: hannesw
2025-03-12 18:56:58 +00:00
Jiangli Zhou
02c850fca8 8350982: -server|-client causes fatal exception on static JDK
Reviewed-by: iklam, alanb
2025-03-12 17:20:16 +00:00
Rajan Halade
2371696781 8303770: Remove Baltimore root certificate expiring in May 2025
Reviewed-by: shade, mullan
2025-03-12 17:19:41 +00:00
Hannes Wallnöfer
f16a74260f 8351626: Update remaining icons to SVG format
Reviewed-by: nbenalla, jjg
2025-03-12 15:53:54 +00:00
Jiangli Zhou
a21fa463c4 8351309: test/hotspot/jtreg/runtime/posixSig/TestPosixSig.java fails on static-jdk
Reviewed-by: manc, ihse, stuefe
2025-03-12 14:40:43 +00:00
Hamlin Li
3b189e0e78 8351345: [IR Framework] Improve reported disabled IR verification messages
Reviewed-by: chagedorn, epeter
2025-03-12 13:24:42 +00:00
Doug Simon
95b66d5a43 8351700: Remove code conditional on BarrierSetNMethod being null
Reviewed-by: shade, eosterlund, never
2025-03-12 12:31:37 +00:00
Matthias Baesken
84f87dd4e9 8351665: Remove unused UseNUMA in os_aix.cpp
Reviewed-by: mdoerr, jkern
2025-03-12 12:21:28 +00:00
David Linus Briemann
4be502ea38 8350642: Interpreter: Upgrade CountBytecodes to 64 bit on 64 bit platforms
Reviewed-by: lmesnik, mdoerr, shade
2025-03-12 10:22:44 +00:00
Manuel Hässig
1fe45265e4 8350194: Last 2 parameters of ReturnNode::ReturnNode are swapped in the declaration
Reviewed-by: thartmann, epeter
2025-03-12 08:43:58 +00:00
Aleksey Shipilev
1d147ccb4c 8351484: Race condition in max stats in MonitorList::add
Reviewed-by: pchilanomate, zgu
2025-03-12 07:20:48 +00:00
Jaikiran Pai
4412c079fc 8351639: Improve debuggability of test/langtools/jdk/jshell/JdiHangingListenExecutionControlTest.java test
Reviewed-by: jlahoda
2025-03-12 06:55:04 +00:00
Karm Michal Babacek
1dd9cf1018 8349099: java/awt/Headless/HeadlessMalfunctionTest.java fails on CI with Compilation error
Reviewed-by: aivanov, sgehwolf, prr
2025-03-11 21:16:14 +00:00
Coleen Phillimore
64464eab62 8351673: Clean up a case of if (LockingMode == LM_LIGHTWEIGHT) in a legacy-only locking mode function
Reviewed-by: pchilanomate
2025-03-11 20:32:21 +00:00
Artur Barashev
9a49418138 8345940: Migrate security-related resources from Java classes to properties files
Reviewed-by: jlu, weijun, erikj
2025-03-11 20:07:10 +00:00
Chen Liang
e71f3274a9 8351045: ClassValue::remove cannot ensure computation observes up-to-date state
Reviewed-by: rriggs, jrose
2025-03-11 19:51:47 +00:00
Aleksey Shipilev
cef3693175 8351656: Problemlist gc/TestAllocHumongousFragment#generational
Reviewed-by: xpeng, wkemper
2025-03-11 19:38:29 +00:00
Mikael Vidstedt
da2b4f0749 8351606: Use build_platform for graphviz dependency
Reviewed-by: erikj
2025-03-11 16:02:25 +00:00
Richard Reingruber
030c85de13 8350106: [PPC] Avoid ticks_unknown_not_Java AsyncGetCallTrace() if JavaFrameAnchor::_last_Java_pc not set
Reviewed-by: mdoerr
2025-03-11 15:54:49 +00:00
Aleksey Shipilev
0ad9a104e2 8351146: JFR: JavaMonitorInflate event should default to no threshold and be disabled
Reviewed-by: coleenp, egahlin
2025-03-11 15:27:36 +00:00
Harald Eilertsen
b957e5ed1a 8351322: Parameterize link option for pthreads
Reviewed-by: erikj, ihse, dholmes
2025-03-11 15:11:10 +00:00
Hamlin Li
af9af7e90f 8351145: RISC-V: only enable some crypto intrinsic when AvoidUnalignedAccess == false
Reviewed-by: fyang, rehn
2025-03-11 12:51:22 +00:00
Boris Ulasevich
83de34041e 8343789: Move mutable nmethod data out of CodeCache
Reviewed-by: kvn, dlong
2025-03-11 12:33:36 +00:00
Alan Bateman
0de2cddf3a 8351458: (ch) Move preClose to UnixDispatcher
Reviewed-by: bpb, jpai
2025-03-11 11:26:47 +00:00
Abhishek Kumar
cd9f1d3d92 8286204: [Accessibility,macOS,VoiceOver] VoiceOver reads the spinner value 10 as 1 when user iterates to 10 for the first time on macOS
Reviewed-by: honkar, kizune, asemenov
2025-03-11 09:05:04 +00:00
Emanuel Peter
4cf63160ad 8351414: C2: MergeStores must happen after RangeCheck smearing
Reviewed-by: chagedorn, qamai
2025-03-11 07:10:31 +00:00
Ioi Lam
8a5ed47f00 8350148: Native stack overflow when writing Java heap objects into AOT cache
Reviewed-by: iveresov, matsaave
2025-03-11 06:49:58 +00:00
Kuai Wei
5928209280 8347405: MergeStores with reverse bytes order value
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Reviewed-by: epeter, thartmann
2025-03-11 02:07:19 +00:00
Brian Burkhalter
f984c2b32d 8351505: (fs) Typo in the documentation of java.nio.file.spi.FileSystemProvider.getFileSystem()
Reviewed-by: alanb, lancea, iris
2025-03-10 23:58:12 +00:00
Roger Riggs
ffa6340988 8351567: Jar Manifest test ValueUtf8Coding produces misleading diagnostic output
Reviewed-by: lancea, bpb, iris
2025-03-10 23:05:19 +00:00
Fernando Guallini
8d8bd0c4b3 8349492: Update sun/security/pkcs12/KeytoolOpensslInteropTest.java to use a recent Openssl version
Reviewed-by: rhalade
2025-03-10 19:51:16 +00:00
jeremy
73465b9866 8160327: Support for thumbnails present in APP1 marker for JPEG
Reviewed-by: prr
2025-03-10 18:32:15 +00:00
Harshitha Onkar
dbdbbd4730 8348597: Update HarfBuzz to 10.4.0
Reviewed-by: erikj, prr
2025-03-10 17:47:54 +00:00
Hannes Wallnöfer
7999091e3e 8351555: Help section added in JDK-8350638 uses invalid HTML
Reviewed-by: liach, jjg
2025-03-10 17:22:26 +00:00
Mikael Vidstedt
8450ae902e 8351440: Link with -reproducible on macOS
Reviewed-by: erikj, ihse
2025-03-10 16:31:39 +00:00
Daniel Lundén
b40be22512 8333393: PhaseCFG::insert_anti_dependences can fail to raise LCAs and to add necessary anti-dependence edges
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Co-authored-by: Tobias Hartmann <thartmann@openjdk.org>
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Co-authored-by: Quan Anh Mai <qamai@openjdk.org>
Reviewed-by: rcastanedalo, chagedorn, epeter
2025-03-10 16:18:02 +00:00
Nizar Benalla
6b84bdef3b 8350007: Add usage message to the javadoc executable
Reviewed-by: hannesw
2025-03-10 16:15:23 +00:00
Naoto Sato
32f2c2d808 8351017: ChronoUnit.MONTHS.between() not giving correct result when date is in February
Reviewed-by: scolebourne, rriggs
2025-03-10 16:13:50 +00:00
Coleen Phillimore
d90b79a2bd 8351046: Rename ObjectMonitor functions
Reviewed-by: stefank, fbredberg
2025-03-10 14:54:50 +00:00
Hannes Wallnöfer
e90b6bdb87 8350638: Make keyboard navigation more usable in API docs
Reviewed-by: liach, nbenalla
2025-03-10 13:28:42 +00:00
Christian Hagedorn
4867a4c89e 8351280: Mark Assertion Predicates useless instead of replacing them by a constant directly
Reviewed-by: epeter, roland
2025-03-10 12:09:16 +00:00
Axel Boldt-Christmas
64caf08534 8350572: ZGC: Enhance z_verify_safepoints_are_blocked interactions with VMError
Reviewed-by: eosterlund, stefank
2025-03-10 11:53:50 +00:00
Axel Boldt-Christmas
fb0efbe874 8333578: Fix uses of overaligned types induced by ZCACHE_ALIGNED
Reviewed-by: stefank, kbarrett
2025-03-10 11:53:36 +00:00
Doug Simon
99547c5b25 8346825: [JVMCI] Remove NativeImageReinitialize annotation
Reviewed-by: never
2025-03-10 11:03:28 +00:00
Daniel Fuchs
ec683a18bc 8351419: java.net.http: Cleanup links in HttpResponse and module-info API doc comments
Reviewed-by: michaelm, vyazici
2025-03-10 10:41:47 +00:00
David Linus Briemann
f61f520e69 8350325: [PPC64] ConvF2HFIdealizationTests timeouts on Power8
Reviewed-by: mdoerr, clanger
2025-03-10 10:22:17 +00:00
David Linus Briemann
783eda9f54 8350266: [PPC64] Interpreter: intrinsify Thread.currentThread()
Reviewed-by: mdoerr, rrich
2025-03-10 10:21:54 +00:00
Emanuel Peter
19b9f11c2e 8351392: C2 crash: failed: Expected Bool, but got OpaqueMultiversioning
Reviewed-by: thartmann, kvn, vlivanov, chagedorn
2025-03-10 09:44:42 +00:00
Joachim Kern
18931d0587 8351399: AIX: clang pollutes the burned-in library search paths of the generated executables / Second try with a better solution than JDK8348663
Reviewed-by: stuefe, mdoerr, ihse
2025-03-10 09:05:58 +00:00
Hannes Wallnöfer
0887262386 8344301: Refine stylesheet for API docs
Reviewed-by: liach, nbenalla
2025-03-10 07:54:17 +00:00
Daniel Jeliński
84f71dd624 8349849: PKCS11 SunTlsKeyMaterial crashes when used with TLS1.2 TlsKeyMaterialParameterSpec
Reviewed-by: wetmore, valeriep
2025-03-10 07:52:11 +00:00
Martin Doerr
857c537189 8351456: Build failure with --disable-jvm-feature-shenandoahgc after 8343468
Reviewed-by: kvn, syan
2025-03-09 16:15:26 +00:00
Cesar Soares Lucas
4e1367e34b 8343468: GenShen: Enable relocation of remembered set card tables
Reviewed-by: shade, kdnilsen, wkemper
2025-03-08 14:01:28 +00:00
Xiaolong Peng
a90f323d05 8349705: java.net.URI.scanIPv4Address throws unnecessary URISyntaxException
Reviewed-by: dfuchs
2025-03-08 12:28:34 +00:00
Daniel Gredler
7ec2e14897 8349932: PSPrinterJob sometimes generates unnecessary PostScript commands
Reviewed-by: achung, prr
2025-03-08 12:26:46 +00:00
Eric Caspole
76e0f30b15 8350460: org.openjdk.bench.vm.floatingpoint.DremFrem JMH fails with -ea
Reviewed-by: liach, darcy
2025-03-07 21:30:11 +00:00
Vladimir Ivanov
4e67ac4136 8350909: [JMH] test ThreadOnSpinWaitShared failed for 2 threads config
Reviewed-by: jbhateja, drwhite
2025-03-07 20:38:25 +00:00
Chen Liang
8ed6c1d7ee 8350607: Consolidate MethodHandles::zero into MethodHandles::constant
Reviewed-by: jrose, redestad, jvernee
2025-03-07 20:35:36 +00:00
Vladimir Kozlov
f6a8db289e 8348261: assert(n->is_Mem()) failed: memory node required
Reviewed-by: chagedorn, epeter
2025-03-07 19:19:03 +00:00
Anthony Scarpino
5cd4fe6376 8348309: MultiNST tests need more debugging and timing
Reviewed-by: hchao, mullan
2025-03-07 17:14:03 +00:00
Vladimir Ivanov
7c22b814d6 8350811: [JMH] test foreign.StrLenTest failed with StringIndexOutOfBoundsException for size=451
Reviewed-by: jbhateja, vpaprotski, mcimadamore
2025-03-07 16:12:55 +00:00
Kevin Walls
54fe643e78 8347433: Deprecate XML interchange in java.management/javax/management/modelmbean/DescriptorSupport for removal
Reviewed-by: sspitsyn, dfuchs
2025-03-07 13:56:23 +00:00
SendaoYan
155697fc0e 8349623: [ASAN] Gtest os_linux.glibc_mallinfo_wrapper_vm fails
Reviewed-by: stuefe
2025-03-07 09:13:06 +00:00
Afshin Zafari
4066f33a0b 8350565: NMT: remaining memory flag/type to be replaced with memory tag
Reviewed-by: gziemski, jsjolen
2025-03-07 09:06:12 +00:00
David Holmes
7314efc948 8351377: Fix the ProblemList for com/sun/management/OperatingSystemMXBean cpuLoad tests on AIX
Reviewed-by: darcy
2025-03-07 03:48:49 +00:00
Justin Lu
7c9a7840ea 8351223: Update localized resources in keytool and jarsigner
Reviewed-by: weijun
2025-03-06 22:54:24 +00:00
Alisen Chung
a23fb0af65 8348110: Update LCMS to 2.17
Reviewed-by: honkar, prr, dnguyen
2025-03-06 21:24:44 +00:00
Brian Burkhalter
08929134b3 8351086: (fc) Make java/nio/channels/FileChannel/BlockDeviceSize.java test manual
Reviewed-by: msheppar
2025-03-06 17:11:53 +00:00
Brian Burkhalter
93f226078e 8351294: (fs) Minor verbiage correction for Files.createTemp{Directory,File}
Reviewed-by: alanb
2025-03-06 17:11:40 +00:00
Kevin Walls
8f8a879de0 8350939: Revisit Windows PDH buffer size calculation for OperatingSystemMXBean
Reviewed-by: dholmes, lmesnik, sspitsyn
2025-03-06 12:26:53 +00:00
Andrew Dinn
cfab88b1a2 8351256: Improve printing of runtime call stub names in disassember output
Reviewed-by: kvn
2025-03-06 10:11:44 +00:00
Fredrik Bredberg
7a5acb9be1 8343840: Rewrite the ObjectMonitor lists
Reviewed-by: dholmes, coleenp, pchilanomate, yzheng
2025-03-06 09:08:32 +00:00
Matthias Baesken
40f150d3e5 8330936: [ubsan] exclude function BilinearInterp and ShapeSINextSpan in libawt java2d from ubsan checks
Reviewed-by: clanger, prr
2025-03-06 08:10:23 +00:00
Stefan Karlsson
649ef77951 8323158: HotSpot Style Guide should specify more include ordering
Reviewed-by: kbarrett, stuefe, dholmes, kvn
2025-03-06 07:42:16 +00:00
SendaoYan
5c552a9d64 8349358: [JMH] Cannot access class jdk.internal.vm.ContinuationScope
Reviewed-by: alanb
2025-03-06 07:00:44 +00:00
Emanuel Peter
e82031ec1a 8350756: C2 SuperWord Multiversioning: remove useless slow loop when the fast loop disappears
Reviewed-by: kvn, chagedorn
2025-03-06 06:48:42 +00:00
Jaikiran Pai
3626ac35b3 8204868: java/util/zip/ZipFile/TestCleaner.java still fails with "cleaner failed to clean zipfile."
Reviewed-by: lancea
2025-03-06 06:22:18 +00:00
SendaoYan
4bb3d81479 8351138: Running subset of gtests gets error printing result information
Reviewed-by: erikj
2025-03-06 01:41:22 +00:00
Nicole Xu
107ee878d6 8346954: [JMH] jdk.incubator.vector.MaskedLogicOpts fails due to IndexOutOfBoundsException
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: jbhateja, xgong
2025-03-06 01:40:24 +00:00
Coleen Phillimore
11a37c829c 8351165: Remove unused includes from vmStructs
Reviewed-by: kbarrett
2025-03-05 19:28:39 +00:00
Justin Lu
c3b48196af 8351074: Disallow null prefix and suffix in DecimalFormat
Reviewed-by: naoto
2025-03-05 18:12:26 +00:00
Archie Cobbs
6012e8d250 8350808: Small typos in JShell method SnippetEvent.toString()
Reviewed-by: jlahoda
2025-03-05 17:33:54 +00:00
Archie Cobbs
661bd5bfe8 8343478: Remove unnecessary @SuppressWarnings annotations (core-libs)
Reviewed-by: darcy, asemenyuk, joehw
2025-03-05 17:32:59 +00:00
Xiaolong Peng
61d9ab9717 8350854: Include thread counts in safepoint logging
Reviewed-by: shade, dholmes
2025-03-05 16:35:46 +00:00
Serhiy Sachkov
ea9e3cfe03 8281511: java/net/ipv6tests/UdpTest.java fails with checkTime failed
Reviewed-by: dfuchs
2025-03-05 16:16:58 +00:00
SendaoYan
caaf409845 8350546: Several java/net/InetAddress tests fails UnknownHostException
Reviewed-by: dfuchs, myankelevich
2025-03-05 12:57:56 +00:00
SendaoYan
062b7c7348 8351115: Test AOTClassLinkingVMOptions.java fails after JDK-8348322
Reviewed-by: dholmes, iklam
2025-03-05 12:55:33 +00:00
Matthias Baesken
a88e8cd0d2 8350952: Remove some non present files from OPT_SPEED_SRC list
Reviewed-by: dholmes, clanger
2025-03-05 12:30:09 +00:00
Sergey Chernyshev
de29ef3bf3 8343191: Cgroup v1 subsystem fails to set subsystem path
Co-authored-by: Severin Gehwolf <sgehwolf@openjdk.org>
Reviewed-by: sgehwolf, mbaesken
2025-03-05 10:32:36 +00:00
Emanuel Peter
75f028b46b 8348657: compiler/loopopts/superword/TestEquivalentInvariants.java timed out
Reviewed-by: thartmann
2025-03-05 10:01:26 +00:00
Fei Yang
b1a21b563e 8351101: RISC-V: C2: Small improvement to MacroAssembler::revb
Reviewed-by: fjiang, mli
2025-03-05 02:17:22 +00:00
Jatin Bhateja
62fa33a870 8351158: Incorrect APX EGPR register save ordering
Reviewed-by: kvn, sviswanathan
2025-03-05 01:34:15 +00:00
Dean Long
20ea218ce5 8336042: Caller/callee param size mismatch in deoptimization causes crash
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Reviewed-by: pchilanomate, rrich, vlivanov, never
2025-03-04 23:10:52 +00:00
Cesar Soares Lucas
38b4d46c1f 8351081: Off-by-one error in ShenandoahCardCluster
Reviewed-by: wkemper
2025-03-04 21:44:40 +00:00
Alexander Zvegintsev
29de20dbc2 8280991: [XWayland] No displayChanged event after setDisplayMode call
Reviewed-by: honkar, prr
2025-03-04 20:55:45 +00:00
Alexey Semenyuk
3e86b3a879 8350013: Add a test for JDK-8150442
Reviewed-by: almatvee
2025-03-04 20:30:52 +00:00
Doug Simon
a21302bb32 8351036: [JVMCI] value not an s2: -32776
Reviewed-by: yzheng, dlong
2025-03-04 20:10:57 +00:00
Weijun Wang
0753376b0c 8297531: sun/security/krb5/MicroTime.java fails with "Exception: What? only 100 musec precision?"
Reviewed-by: mullan, abarashev
2025-03-04 19:32:33 +00:00
Erik Gahlin
55987925fd 8351064: JFR: Consistent timestamps
Reviewed-by: mgronlun
2025-03-04 17:39:55 +00:00
William Kemper
fe806caa16 8350605: assert(!heap->is_uncommit_in_progress()) failed: Cannot uncommit bitmaps while resetting them
Reviewed-by: kdnilsen, ysr
2025-03-04 17:11:59 +00:00
Justin Lu
5b8d3491bf 4745837: Make grouping usage during parsing apparent in relevant NumberFormat methods
Reviewed-by: naoto
2025-03-04 17:08:54 +00:00
Magnus Ihse Bursie
4aa4b46440 8351154: Use -ftrivial-auto-var-init=pattern for clang too
Reviewed-by: kbarrett, erikj
2025-03-04 16:59:19 +00:00
Prasanta Sadhukhan
daf0213abc 8350924: javax/swing/JMenu/4213634/bug4213634.java fails
Reviewed-by: aivanov, tr
2025-03-04 16:58:15 +00:00
Alexey Semenyuk
6a31aaeb00 8350594: Misleading warning about install dir for DMG packaging
Reviewed-by: almatvee
2025-03-04 16:22:28 +00:00
Alexander Zvegintsev
216f113f8b 8344892: beans/finder/MethodFinder.findMethod incorrectly returns null
Reviewed-by: aivanov, serb
2025-03-04 15:42:03 +00:00
Ferenc Rakoczi
3230894bdd 8348561: Add aarch64 intrinsics for ML-DSA
Reviewed-by: adinn
2025-03-04 14:41:35 +00:00
Coleen Phillimore
8073914af7 8350974: The os_cpu VM_STRUCTS, VM_TYPES, etc have no declarations and should be removed
Reviewed-by: kvn, dholmes
2025-03-04 12:32:23 +00:00
Andrew Dinn
7ee89a5301 8350893: Use generated names for hand generated opto runtime blobs
Reviewed-by: kvn
2025-03-04 12:18:56 +00:00
Magnus Ihse Bursie
fae37aaae8 8345627: [REDO] Use gcc12 -ftrivial-auto-var-init=pattern in debug builds
Reviewed-by: erikj, kbarrett
2025-03-04 10:27:52 +00:00
Axel Boldt-Christmas
1f10ffba88 8350851: ZGC: Reduce size of ZAddressOffsetMax scaling data structures
Reviewed-by: eosterlund, jsikstro
2025-03-04 07:30:10 +00:00
Ioi Lam
4fc72b8e4b 8351082: Remove dead code for estimating CDS archive size
Reviewed-by: ccheung
2025-03-04 05:23:30 +00:00
Ioi Lam
b6e2d66cc4 8351087: Combine scratch object tables in heapShared.cpp
Reviewed-by: ccheung
2025-03-04 05:23:16 +00:00
Kim Barrett
d9b98f72c2 8350771: Fix -Wzero-as-null-pointer-constant warning in nsk/monitoring ThreadController utility
Reviewed-by: dholmes
2025-03-04 04:27:24 +00:00
Xiaolong Peng
7c173fde42 8351077: Shenandoah: Update comments in ShenandoahConcurrentGC::op_reset_after_collect
Reviewed-by: wkemper, ysr
2025-03-04 03:56:16 +00:00
Joe Wang
96613cc538 8349516: StAXStream2SAX.handleCharacters() fails on empty CDATA
Reviewed-by: naoto
2025-03-04 03:49:17 +00:00
William Kemper
3a8a432c05 8349094: GenShen: Race between control and regulator threads may violate assertions
Reviewed-by: ysr, kdnilsen
2025-03-04 00:41:39 +00:00
Brian Burkhalter
99fb350bf6 8350654: (fs) Files.createTempDirectory should say something about the default file permissions when no file attributes specified
Reviewed-by: alanb
2025-03-03 21:25:11 +00:00
Vladimir Ivanov
768b02410f 8350682: [JMH] vector.IndexInRangeBenchmark failed with IndexOutOfBoundsException for size=1024
Reviewed-by: xgong, drwhite, sviswanathan
2025-03-03 21:05:19 +00:00
Calvin Cheung
c4b516dfe7 8348322: AOT cache creation crashes with "All cached hidden classes must be aot-linkable" when AOTInvokeDynamicLinking is disabled
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: iklam, matsaave
2025-03-03 18:49:11 +00:00
Hamlin Li
e470f474ee 8350095: RISC-V: Refactor string_compare
Reviewed-by: fyang
2025-03-03 18:31:56 +00:00
Hamlin Li
f53de9208c 8350931: RISC-V: remove unnecessary src register for fp_sqrt_d/f
Reviewed-by: fyang
2025-03-03 18:30:43 +00:00
Hamlin Li
e1fc14fa17 8350940: RISC-V: remove unnecessary assert_different_registers in minmax_fp
Reviewed-by: fyang
2025-03-03 18:29:36 +00:00
Hamlin Li
79880e5637 8351033: RISC-V: TestFloat16ScalarOperations asserts with offset (4210) is too large to be patched in one beq/bge/bgeu/blt/bltu/bne instruction!
Reviewed-by: fyang
2025-03-03 18:28:28 +00:00
Jiangli Zhou
bb70896e35 8350903: Remove explicit libjvm.so dependency for libVThreadEventTest
Reviewed-by: dholmes, alanb
2025-03-03 17:36:31 +00:00
Xiaolong Peng
7c187b5d81 8338737: Shenandoah: Reset marking bitmaps after the cycle
Reviewed-by: wkemper
2025-03-03 17:20:54 +00:00
Thomas Schatzl
3602c8cfd8 8350955: Fix repetitions of the word "the" in runtime component comments
Reviewed-by: coleenp
2025-03-03 16:51:56 +00:00
Kim Barrett
c988d7d647 8350767: Fix -Wzero-as-null-pointer-constant warnings in nsk jni stress tests
Reviewed-by: coleenp
2025-03-03 15:55:07 +00:00
Kim Barrett
67dfdfa6ea 8350623: Fix -Wzero-as-null-pointer-constant warnings in nsk native test utilities
Reviewed-by: coleenp
2025-03-03 15:53:47 +00:00
Afshin Zafari
4a51c61b2c 8350567: NMT: update VMATree::register_mapping to copy the existing tag of the region
Reviewed-by: jsjolen, stuefe
2025-03-03 15:39:35 +00:00
Thomas Stuefe
db69ec9e58 8344009: Improve compiler memory statistics
Reviewed-by: rcastanedalo, asmehra
2025-03-03 14:39:19 +00:00
Thomas Schatzl
f47232ad71 8350954: Fix repetitions of the word "the" in gc component comments
Reviewed-by: iwalulya, ayang
2025-03-03 13:57:57 +00:00
Thomas Schatzl
30b0c60980 8350956: Fix repetitions of the word "the" in compiler component comments
Reviewed-by: rcastanedalo
2025-03-03 12:31:33 +00:00
Coleen Phillimore
8b0468faf1 8315488: Remove outdated and unused ciReplay support from SA
Reviewed-by: kvn, cjplummer, yzheng
2025-03-03 12:08:18 +00:00
Marc Chevalier
4109c73a78 8349523: Unused runtime calls to drem/frem should be removed
Reviewed-by: thartmann, kvn, chagedorn
2025-03-03 09:32:54 +00:00
SendaoYan
b054d24df5 8350584: Check the usage of LOG_PLEASE
Reviewed-by: stuefe
2025-03-03 07:48:12 +00:00
David Holmes
717c4997a2 8351014: ProblemList the com/sun/management/OperatingSystemMXBean cpuLoad tests on Windows
Reviewed-by: lmesnik
2025-03-03 06:41:59 +00:00
Jasmine Karthikeyan
3657e92ead 8349637: Integer.numberOfLeadingZeros outputs incorrectly in certain cases
Reviewed-by: thartmann, qamai, jbhateja
2025-03-03 05:18:55 +00:00
Amit Kumar
93c878455b 8350716: [s390] intrinsify Thread.currentThread()
Reviewed-by: lucy, mdoerr
2025-03-03 03:12:37 +00:00
Xiaohong Gong
d48ddfe49a 8350748: VectorAPI: Method "checkMaskFromIndexSize" should be force inlined
Reviewed-by: psandoz
2025-03-03 02:22:15 +00:00
Kim Barrett
0a1eea112d 8345492: Fix -Wzero-as-null-pointer-constant warnings in adlc code
Reviewed-by: kvn, dlong
2025-03-02 23:36:27 +00:00
Ioi Lam
157e5ad4a3 8350916: Remove misleading warning "Cannot dump shared archive while using shared archive"
Reviewed-by: ccheung
2025-03-02 03:43:46 +00:00
Mikael Vidstedt
785e7b47e0 8350819: Ignore core files
Reviewed-by: erikj, dholmes
2025-02-28 23:34:07 +00:00
Leonid Mesnik
3c72c04de7 8350818: Improve OperatingSystemMXBean cpu load tests to not accept -1.0 by default
Reviewed-by: kevinw
2025-02-28 22:37:41 +00:00
Alisen Chung
6b719eeebc 8348596: Update FreeType to 2.13.3
Reviewed-by: azvegint, dnguyen, prr
2025-02-28 21:22:20 +00:00
Alexander Matveev
a87dd1a75f 8347139: [macos] Test tools/jpackage/share/InOutPathTest.java failed: "execution error: Finder got an error: AppleEvent timed out."
Reviewed-by: asemenyuk
2025-02-28 20:22:23 +00:00
Chen Liang
c7fa499bf5 8350118: Simplify the layout access VarHandle
Reviewed-by: mcimadamore, jvernee, erikj
2025-02-28 20:01:17 +00:00
Volkan Yazici
fb659eba02 8350915: [JMH] test SocketChannelConnectionSetup failed for 2 threads config
Reviewed-by: michaelm
2025-02-28 19:38:25 +00:00
Justin Lu
3a7d986878 8350646: Calendar.Builder.build() Throws ArrayIndexOutOfBoundsException
Reviewed-by: naoto
2025-02-28 19:37:36 +00:00
Leonid Mesnik
197004f4c6 8350820: OperatingSystemMXBean CpuLoad() methods return -1.0 on Windows
Reviewed-by: kevinw, jwaters
2025-02-28 18:13:53 +00:00
Calvin Cheung
e98df71d9c 8348028: Unable to run gtests with CDS enabled
Reviewed-by: dholmes, iklam, ihse
2025-02-28 17:08:25 +00:00
Thomas Schatzl
d6c4be672f 8350758: G1: Use actual last prediction in accumulated survivor rate prediction too
Reviewed-by: ayang, iwalulya
2025-02-28 14:16:52 +00:00
Ivan Bereziuk
2019f44539 8343832: Enhance test summary with number of skipped tests
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: ihse, erikj
2025-02-28 13:46:17 +00:00
Johan Sjölen
ac76d8d63f 8350824: New async logging gtest StallingModePreventsDroppedMessages fails
Reviewed-by: mbaesken, dholmes
2025-02-28 09:48:17 +00:00
Hamlin Li
eada1ea8d2 8350855: RISC-V: print offset by assert of patch_offset_in_conditional_branch
Reviewed-by: fyang
2025-02-28 09:05:42 +00:00
Matthias Baesken
2af76de05a 8350683: Non-C2 / minimal JVM crashes in the build on ppc64 platforms
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: mdoerr, amitkumar
2025-02-28 07:36:35 +00:00
Kelvin Nilsen
ab4b0ef924 8350889: GenShen: Break out of infinite loop of old GC cycles
Reviewed-by: wkemper, ysr
2025-02-27 23:23:40 +00:00
Kelvin Nilsen
0a4c5a8a48 8347804: GenShen: Crash with small GCCardSizeInBytes and small Java heap
Reviewed-by: wkemper
2025-02-27 23:10:16 +00:00
Vladimir Ivanov
f1398ecbe4 8350701: [JMH] test foreign.AllocFromSliceTest failed with Exception for size>1024
Reviewed-by: pminborg
2025-02-27 20:35:58 +00:00
Kelvin Nilsen
3ae80bfb60 8349766: GenShen: Bad progress after degen does not always need full gc
Reviewed-by: wkemper
2025-02-27 18:40:20 +00:00
Marc Chevalier
2fd7156110 8347426: Invalid value used for enum Cell in iTypeFlow::StateVector::meet_exception
Reviewed-by: dlong, kvn
2025-02-27 18:06:50 +00:00
Roland Westrelin
939815fdcf 8347040: C2: assert(!loop->_body.contains(in)) failed
Reviewed-by: chagedorn, kvn
2025-02-27 16:47:31 +00:00
Nizar Benalla
8323ddfe18 8346659: SnippetTaglet should report an error if provided ambiguous links
Reviewed-by: hannesw, liach
2025-02-27 14:52:18 +00:00
Kuai Wei
3c9d64eb07 8350858: [IR Framework] Some tests failed on Cascade Lake
Reviewed-by: chagedorn, epeter
2025-02-27 13:55:59 +00:00
Matthias Baesken
d6d94472c2 8350786: Some java/lang jtreg tests miss requires vm.hasJFR
Reviewed-by: alanb
2025-02-27 13:34:38 +00:00
Robert Toyonaga
e80b76b663 8276995: Bug in jdk.jfr.event.gc.collection.TestSystemGC
Reviewed-by: egahlin, dholmes
2025-02-27 12:59:47 +00:00
Ramkumar Sunderbabu
799ac5288e 8314840: 3 gc/epsilon tests ignore external vm options
Reviewed-by: tschatzl
2025-02-27 12:58:35 +00:00
Emanuel Peter
63e0fc4331 8350841: ProblemList jdk/incubator/vector/Long256VectorTests.java
Reviewed-by: thartmann
2025-02-27 11:29:02 +00:00
SendaoYan
acc6f19cec 8350614: [JMH] jdk.incubator.vector.VectorCommutativeOperSharingBenchmark fails
Reviewed-by: redestad
2025-02-27 11:06:50 +00:00
Xiaolong Peng
01bd7e417e 8350314: Shenandoah: Capture thread state sync times in GC timings
Reviewed-by: ysr, shade, wkemper
2025-02-27 09:49:29 +00:00
Andrew Dinn
4522f128a3 8349921: Crash in codeBuffer.cpp:1004: guarantee(sect->end() <= tend) failed: sanity
Reviewed-by: kvn, dlong
2025-02-27 09:31:14 +00:00
Richard Reingruber
e4d3c97c0f 8350111: [PPC] AsyncGetCallTrace crashes when called while handling SIGTRAP
Reviewed-by: mdoerr, stuefe
2025-02-27 09:24:15 +00:00
Emanuel Peter
885338b5f3 8323582: C2 SuperWord AlignVector: misaligned vector memory access with unaligned native memory
Reviewed-by: roland, kvn
2025-02-27 06:58:43 +00:00
SendaoYan
bb48b7319c 8350723: RISC-V: debug.cpp help() is missing riscv line for pns
Reviewed-by: fyang
2025-02-27 06:16:57 +00:00
SendaoYan
b29f8b0478 8350665: SIZE_FORMAT_HEX macro undefined in gtest
Reviewed-by: coleenp, stuefe
2025-02-27 06:15:59 +00:00
Jiangli Zhou
78c18cfbce 8349399: GHA: Add static-jdk build on linux-x64
Reviewed-by: shade, ihse
2025-02-26 23:23:42 +00:00
David Holmes
e43960a017 8350616: Skip ValidateHazardPtrsClosure in non-debug builds
Reviewed-by: kbarrett, tschatzl, shade
2025-02-26 20:14:11 +00:00
Xiaolong Peng
9ec46968fb 8350313: Include timings for leaving safepoint in safepoint logging
Reviewed-by: shade, dholmes
2025-02-26 17:29:12 +00:00
Aleksey Shipilev
ec6624b54e 8350649: Class unloading accesses/resurrects dead Java mirror after JDK-8346567
Reviewed-by: coleenp, egahlin
2025-02-26 16:41:16 +00:00
Brian Burkhalter
9477c705c0 8024695: new File("").exists() returns false whereas it is the current working directory
Reviewed-by: alanb, rriggs, lancea
2025-02-26 16:24:25 +00:00
Thomas Stuefe
3e46480dcf 8350770: [BACKOUT] Protection zone for easier detection of accidental zero-nKlass use
Reviewed-by: mdoerr, rkennke
2025-02-26 15:57:37 +00:00
Aleksey Shipilev
bd112c4fab 8350443: GHA: Split static-libs-bundles into a separate job
Reviewed-by: ihse, yzheng
2025-02-26 15:00:47 +00:00
Hannes Wallnöfer
2731712383 8287749: Re-enable javadoc -serialwarn option
Reviewed-by: erikj
2025-02-26 14:59:18 +00:00
Matthew Donovan
0f82268134 8345598: Upgrade NSS binaries for interop tests
Reviewed-by: weijun, rhalade
2025-02-26 14:14:33 +00:00
Johan Sjölen
ea2c923849 8323807: Async UL: Add a stalling mode to async UL
Reviewed-by: dholmes, aboldtch
2025-02-26 12:51:35 +00:00
Matthias Baesken
e7d4b360fe 8350667: Remove startThread_lock() and _startThread_lock on AIX
Reviewed-by: stuefe, jkern
2025-02-26 12:40:53 +00:00
Coleen Phillimore
1e18fffee4 8328473: StringTable and SymbolTable statistics delay time to safepoint
Reviewed-by: shade, eosterlund
2025-02-26 11:49:09 +00:00
Thomas Schatzl
a0dd565432 8350643: G1: Make loop iteration variable type correspond to limit in G1SurvRateGroup
Reviewed-by: ayang, kbarrett
2025-02-26 11:31:48 +00:00
Thomas Schatzl
aac9cb4537 8349906: G1: Improve initial survivor rate for newly used young regions
Reviewed-by: kbarrett, iwalulya
2025-02-26 10:30:01 +00:00
Tagir F. Valeev
a431046404 8350518: org.openjdk.bench.java.util.TreeMapUpdate.compute fails with "java.lang.IllegalArgumentException: key out of range"
Reviewed-by: liach, skuksenko
2025-02-26 10:08:29 +00:00
Thomas Stuefe
a70eba8e42 8330174: Protection zone for easier detection of accidental zero-nKlass use
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: iklam, rkennke
2025-02-26 09:51:56 +00:00
Patrick Zhang
f529bf712d 8350483: AArch64: turn on signum intrinsics by default on Ampere CPUs
Reviewed-by: aph
2025-02-26 09:07:07 +00:00
Calvin Cheung
037e47112b 8350666: cmp-baseline builds fail after JDK-8280682
Reviewed-by: iklam
2025-02-25 23:49:52 +00:00
Naoto Sato
c8a521fdda 8345213: JVM Prefers /etc/timezone Over /etc/localtime on Debian 12
Reviewed-by: joehw, jpai, alanb
2025-02-25 23:03:18 +00:00
Ioi Lam
86024ebdb0 8348426: Generate binary file for -XX:AOTMode=record -XX:AOTConfiguration=file
Reviewed-by: ccheung, asmehra, kvn, iveresov
2025-02-25 22:56:25 +00:00
Alexey Semenyuk
267d69bed6 8326447: jpackage creates Windows installers that cannot be signed
Reviewed-by: almatvee
2025-02-25 22:49:26 +00:00
Alexey Semenyuk
2efb0336e0 8350601: Miscellaneous updates to jpackage test lib
Reviewed-by: almatvee
2025-02-25 21:53:24 +00:00
Damon Nguyen
d4fdc796aa 8344981: [REDO] JDK-6672644 JComboBox still scrolling if switch to another window and return back
Co-authored-by: Alexander Zvegintsev <azvegint@openjdk.org>
Reviewed-by: azvegint, psadhukhan, honkar
2025-02-25 19:40:39 +00:00
Archie Cobbs
b78043fdc6 8320220: Compilation of cyclic hierarchy causes infinite recursion
Reviewed-by: vromero, jlahoda
2025-02-25 19:39:21 +00:00
Archie Cobbs
a3188e0406 8349991: GraphUtils.java can use String.replace() instead of String.replaceAll()
Reviewed-by: mcimadamore
2025-02-25 19:39:00 +00:00
Ioi Lam
d422abc55a 8350668: has_extra_module_paths in filemap.cpp may be uninitialized
Reviewed-by: ccheung, shade
2025-02-25 19:25:18 +00:00
Leonid Mesnik
829d7a845e 8339889: Several compiler tests ignore vm flags and not marked as flagless
Reviewed-by: thartmann
2025-02-25 19:20:05 +00:00
Leonid Mesnik
0151b15b7c 8348367: Remove hotspot_not_fast_compiler and hotspot_slow_compiler test groups
Reviewed-by: thartmann, chagedorn
2025-02-25 19:19:40 +00:00
Mikhail Yankelevich
c5992ca27b 8349533: Refactor validator tests shell files to java
Reviewed-by: weijun
2025-02-25 18:24:42 +00:00
Volodymyr Paprotski
dea7a9f0d6 8350516: Update model numbers for ECore-based cpus
Reviewed-by: sviswanathan, vaivanov
2025-02-25 16:28:25 +00:00
Mark Powers
5023971640 8267068: Incomplete @throws javadoc for various javax.crypto.spec classes
Reviewed-by: valeriep, jnimeh
2025-02-25 15:21:07 +00:00
Stuart Marks
08bc59da9b 8138614: (spec str) StringBuffer and StringBuilder methods improperly require "new" String to be returned
Reviewed-by: rgiulietti, shade, alanb, rriggs, liach
2025-02-25 15:18:30 +00:00
Matthias Baesken
b17c0b63a1 8350585: InlineSecondarySupersTest must be guarded on ppc64 by COMPILER2
Reviewed-by: amitkumar, mdoerr
2025-02-25 14:38:19 +00:00
Johan Sjölen
62f39bd646 8350636: Potential null-pointer dereference in MallocSiteTable::new_entry
Reviewed-by: dholmes
2025-02-25 14:30:24 +00:00
Matthias Baesken
cfeb7d6c96 8350497: os::create_thread unify init thread attributes part across UNIX platforms
Reviewed-by: dholmes
2025-02-25 13:30:54 +00:00
Kevin Walls
8cfebc41dc 8350571: Remove mention of Tonga test suite from JMX tests
Reviewed-by: cjplummer, lmesnik, sspitsyn
2025-02-25 12:54:30 +00:00
Coleen Phillimore
c413549eb7 8349860: Make Class.isArray(), Class.isInterface() and Class.isPrimitive() non-native
Reviewed-by: dlong, rriggs, vlivanov, yzheng, liach
2025-02-25 12:35:54 +00:00
Albert Mingkun Yang
a9c9f7f0cb 8192647: GClocker induced GCs can starve threads requiring memory leading to OOME
Reviewed-by: tschatzl, iwalulya, egahlin
2025-02-25 11:14:20 +00:00
Jaikiran Pai
aa70f0ae8b 8347348: Clarify that the HTTP server in jdk.httpserver module is not a full featured server
Reviewed-by: michaelm, dfuchs
2025-02-25 10:57:22 +00:00
Matthias Baesken
d551dacaef 8350103: Test containers/systemd/SystemdMemoryAwarenessTest.java fails on Linux ppc64le SLES15 SP6
Co-authored-by: Severin Gehwolf <sgehwolf@openjdk.org>
Reviewed-by: sgehwolf, asteiner
2025-02-25 08:19:56 +00:00
Adam Sotona
ab86a13519 8350548: java.lang.classfile package javadoc has errors
Reviewed-by: liach
2025-02-25 08:18:52 +00:00
SendaoYan
e1081cffcb 8348536: Remove remain SIZE_FORMAT usage after JDK-8347990
Reviewed-by: dholmes, kbarrett
2025-02-25 06:12:39 +00:00
Ioi Lam
a6cc37fdbe 8349888: AOTMode=create crashes with EpsilonGC
Reviewed-by: shade, kvn
2025-02-25 05:38:39 +00:00
Bradford Wetmore
990d40e98d 8350476: Fix typo introduced in JDK-8350147
Reviewed-by: jnimeh, jpai
2025-02-24 22:57:03 +00:00
Rajat Mahajan
39cb493c36 8348106: Catch C++ exception in Java_sun_awt_windows_WTaskbarPeer_setOverlayIcon
Reviewed-by: abhiscxk, aivanov, azvegint, serb, dmarkov
2025-02-24 20:21:20 +00:00
Calvin Cheung
ddb2569110 8280682: Refactor AOT code source validation checks
Co-authored-by: Ioi Lam <iklam@openjdk.org>
Reviewed-by: iklam, asmehra, dholmes, kvn
2025-02-24 19:54:48 +00:00
Erik Österlund
65f79c145b 8347335: ZGC: Use limitless mark stack memory
Reviewed-by: aboldtch, iwalulya
2025-02-24 12:03:42 +00:00
Jatin Bhateja
e410af00e6 8342393: Promote commutative vector IR node sharing
Reviewed-by: vlivanov, epeter, sviswanathan
2025-02-24 07:40:17 +00:00
Per Minborg
f755fadc3d 8349653: Clarify the docs for MemorySegment::reinterpret
Reviewed-by: jvernee, mcimadamore
2025-02-24 07:38:29 +00:00
Christian Hagedorn
a5c9a4dbde 8349032: C2: Parse Predicate refactoring in Loop Unswitching broke fix for JDK-8290850
Reviewed-by: kvn, thartmann
2025-02-24 07:28:05 +00:00
Ao Qi
302bed055c 8350499: Minimal build fails with slowdebug builds
Reviewed-by: kbarrett, dholmes
2025-02-24 03:17:56 +00:00
David Holmes
0795d11bfc 8350464: The flags to set the native priority for the VMThread and Java threads need a broader range
Reviewed-by: stuefe, shade
2025-02-24 03:13:55 +00:00
Jiangli Zhou
05b481294c 8350041: Skip test/jdk/java/lang/String/nativeEncoding/StringPlatformChars.java on static JDK
Reviewed-by: alanb
2025-02-23 02:35:57 +00:00
Fei Yang
a891630817 8350480: RISC-V: Relax assertion about registers in C2_MacroAssembler::minmax_fp
Reviewed-by: mli, fjiang
2025-02-22 10:16:51 +00:00
SendaoYan
5cbd9d1fe1 8349959: Test CR6740048.java passes unexpectedly missing CR6740048.xsd
Reviewed-by: joehw
2025-02-22 03:11:42 +00:00
Dmitry Chuyko
25322aae8e 8350258: AArch64: Client build fails after JDK-8347917
Reviewed-by: dlong, kvn
2025-02-21 21:43:54 +00:00
Fernando Guallini
825ab20ba9 8350456: Test javax/crypto/CryptoPermissions/InconsistentEntries.java crashed: EXCEPTION_ACCESS_VIOLATION
Reviewed-by: rhalade, jnimeh
2025-02-21 21:06:54 +00:00
Jamil Nimeh
9d9d7a17d3 8349759: Add unit test for CertificateBuilder and SimpleOCSPServer test utilities
Reviewed-by: mullan
2025-02-21 20:30:02 +00:00
Chris Plummer
b45c32cd4f 8350287: Cleanup SA's support for CodeBlob subclasses
Reviewed-by: kvn, sspitsyn
2025-02-21 19:09:38 +00:00
Xiaolong Peng
bd8ad309b5 8350285: Shenandoah: Regression caused by ShenandoahLock under extreme contention
Reviewed-by: shade, kdnilsen
2025-02-21 16:39:17 +00:00
Matias Saavedra Silva
24b557361a 8350444: Check for verifer error in StackMapReader::check_offset()
Reviewed-by: coleenp, dholmes
2025-02-21 16:17:31 +00:00
Volkan Yazici
dfcd0df60c 8350019: HttpClient: DelegatingExecutor should resort to the fallback executor only on RejectedExecutionException
Reviewed-by: dfuchs
2025-02-21 10:26:55 +00:00
Hamlin Li
1b6281d98c 8321003: RISC-V: C2 MulReductionVI
8321004: RISC-V: C2 MulReductionVL

Reviewed-by: fyang, rehn
2025-02-21 10:25:50 +00:00
Hamlin Li
c73fead5ca 8350383: Test: add more test case for string compare (UL case)
Reviewed-by: fyang
2025-02-21 09:48:54 +00:00
Fernando Guallini
16033ea79a 8342238: Test javax/crypto/CryptoPermissions/InconsistentEntries.java writes files in tested JDK dir
Reviewed-by: jnimeh, rhalade
2025-02-20 18:52:57 +00:00
Fernando Guallini
f979f727b6 8337723: Remove redundant tests from com/sun/security/sasl/gsskerb
Reviewed-by: rhalade
2025-02-20 18:52:30 +00:00
Leonid Mesnik
1eb0db3760 8350151: Support requires property to filter tests incompatible with --enable-preview
Reviewed-by: alanb, rriggs
2025-02-20 18:00:33 +00:00
Erik Joelsson
16873732a7 8349933: Mixing of includes and snippets stack causes the wrong -post snippet to be included
Reviewed-by: ihse
2025-02-20 17:46:06 +00:00
Nizar Benalla
53db57648a 8350137: After JDK-8348975, Linux builds contain man pages for windows only tools
Reviewed-by: erikj
2025-02-20 15:53:05 +00:00
Johan Sjölen
10bf48a6b0 8350214: Test gtest/AsyncLogGtest.java fails after JDK-8349755
Reviewed-by: aboldtch, dholmes
2025-02-20 15:50:24 +00:00
Jiangli Zhou
960ad21186 8349620: Add VMProps for static JDK
Reviewed-by: alanb, manc
2025-02-20 15:47:54 +00:00
Martin Doerr
735805d925 8349727: [PPC] C1: Improve Class.isInstance intrinsic
Reviewed-by: rrich, varadam
2025-02-20 12:03:08 +00:00
Abhishek Kumar
1e87ff0199 8348936: [Accessibility,macOS,VoiceOver] VoiceOver doesn't announce untick on toggling the checkbox with "space" key on macOS
8345728: [Accessibility,macOS,Screen Magnifier]: JCheckbox unchecked state does not magnify but works for checked state

Reviewed-by: aivanov, kizune, dnguyen, asemenov
2025-02-20 09:17:40 +00:00
Hao Sun
86d0616276 8350303: ARM32: StubCodeGenerator::verify_stub(StubGenStubId) failed after JDK-8343767
Reviewed-by: shade, adinn
2025-02-20 09:03:53 +00:00
Matthias Baesken
0662e39a6e 8350267: Set mtune and mcpu settings in JDK native lib compilation on Linux ppc64(le)
Reviewed-by: mdoerr, asteiner, erikj
2025-02-20 08:58:18 +00:00
Amit Kumar
c5c91a8293 8345285: [s390x] test failures: foreign/normalize/TestNormalize.java with C2
Reviewed-by: mdoerr, aph
2025-02-20 08:53:19 +00:00
SendaoYan
26bf445f47 8350049: [JMH] Float16OperationsBenchmark fails java.lang.NoClassDefFoundError
Reviewed-by: jbhateja
2025-02-20 07:24:51 +00:00
SendaoYan
00d4e4a971 8350051: [JMH] Several tests fails NPE
Reviewed-by: erikj, redestad
2025-02-20 02:51:24 +00:00
Ioi Lam
0131c1bfd8 8349953: Avoid editing AOTConfiguration file in "make test JTREG=AOT_JDK=true"
Reviewed-by: erikj, ccheung
2025-02-20 02:13:41 +00:00
Nicole Xu
3ebed78328 8349943: [JMH] Use jvmArgs consistently
Reviewed-by: syan, redestad, haosun
2025-02-20 01:33:58 +00:00
Boris Ulasevich
92efab90db 8350344: Cross-build failure: _vptr name conflict
Reviewed-by: kvn
2025-02-19 21:02:27 +00:00
Chris Plummer
4fb70c79c1 8229012: When single stepping, the debug agent can cause the thread to remain in interpreter mode after single stepping completes
Reviewed-by: kevinw, sspitsyn
2025-02-19 19:58:11 +00:00
Joe Wang
4e60c2d937 8349699: XSL transform fails with certain UTF-8 characters on 1024 byte boundaries
Reviewed-by: lancea, naoto
2025-02-19 19:36:30 +00:00
Mikhail Yankelevich
7734f8ed13 8349664: HEX dump should always use ASCII or ISO_8859_1
Reviewed-by: weijun
2025-02-19 18:56:26 +00:00
Matias Saavedra Silva
7631984525 8349923: Refactor StackMapTable constructor and StackMapReader
Reviewed-by: coleenp, dholmes
2025-02-19 17:26:41 +00:00
Alexey Semenyuk
3487f8cbd5 8350102: Decouple jpackage test-lib Executor.Result and Executor classes
Reviewed-by: almatvee
2025-02-19 17:08:01 +00:00
konanki sreenath
70a6c0b7ac 8346094: Harden X509CertImpl.getExtensionValue for NPE cases
Reviewed-by: coffeys, weijun
2025-02-19 16:47:54 +00:00
Ivan Walulya
efbad00c4d 8349688: G1: Wrong initial optional region index when selecting candidates from retained regions
Reviewed-by: tschatzl, ayang
2025-02-19 14:27:33 +00:00
Albert Mingkun Yang
c6e47fd581 8348171: Refactor GenerationCounters and its subclasses
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: gli, tschatzl, zgu
2025-02-19 14:15:16 +00:00
Sean Mullan
577ff98a67 8347946: Add API note that caller should validate/trust signers to the getCertificates and getCodeSigners methods of JarEntry and JarURLConnection
Reviewed-by: lancea, jpai
2025-02-19 13:18:20 +00:00
Alexey Ivanov
014701a09b 8350260: Improve HTML instruction formatting in PassFailJFrame
Reviewed-by: kizune, azvegint, abhiscxk
2025-02-19 12:22:51 +00:00
Matthias Baesken
59810ad745 8350201: Out of bounds access on Linux aarch64 in os::print_register_info
Reviewed-by: dholmes, mdoerr
2025-02-19 12:14:04 +00:00
Aleksey Shipilev
2353f3e2f1 8350210: CTW: Use stackless exceptions
Reviewed-by: kvn, chagedorn
2025-02-19 11:35:00 +00:00
Aleksey Shipilev
79db2d4186 8350159: compiler/tiered/Level2RecompilationTest.java fails after JDK-8349915
Reviewed-by: kvn, chagedorn
2025-02-19 11:33:57 +00:00
Aleksey Shipilev
d13fd5738f 8350211: CTW: Attempt to preload all classes in constant pool
Reviewed-by: vlivanov, chagedorn
2025-02-19 11:02:14 +00:00
Roberto Castañeda Lozano
0ef1c40991 8350006: IGV: show memory slices as type information
Reviewed-by: dlunden, chagedorn, dfenacci
2025-02-19 09:17:27 +00:00
Christian Stein
9042aa82a8 8339238: Update to use jtreg 7.5.1
Reviewed-by: erikj, jpai, rriggs, iris
2025-02-19 06:38:39 +00:00
Prasanta Sadhukhan
4de92a40d0 8350224: Test javax/swing/JComboBox/TestComboBoxComponentRendering.java fails in ubuntu 23.x and later
Reviewed-by: aivanov, azvegint
2025-02-19 02:19:27 +00:00
SendaoYan
04659a4073 8350197: [UBSAN] Node::dump_idx reported float-cast-overflow
Reviewed-by: chagedorn
2025-02-19 01:30:16 +00:00
Leonid Mesnik
2d03bd0078 8350280: The JDK-8346050 testlibrary changes break the build
Reviewed-by: dholmes
2025-02-18 20:58:04 +00:00
Doug Simon
f2b4e12afe 8350263: JvmciNotifyBootstrapFinishedEventTest intermittently times out
Reviewed-by: yzheng, never
2025-02-18 20:18:08 +00:00
Vladimir Kozlov
46d4a601e0 8349088: De-virtualize Codeblob and nmethod
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Reviewed-by: cjplummer, aboldtch, dlong
2025-02-18 20:08:08 +00:00
Leonid Mesnik
62d93f2a22 8346050: Update BuildTestLib.gmk to build whole testlibrary
Reviewed-by: weijun, ihse
2025-02-18 20:06:05 +00:00
Matthias Baesken
e1d0a9c832 8350202: Tune for Power10 CPUs on Linux ppc64le
Reviewed-by: mdoerr
2025-02-18 13:20:05 +00:00
Hamlin Li
885be2efa6 8349908: RISC-V: C2 SelectFromTwoVector
Reviewed-by: fyang, luhenry
2025-02-18 10:24:51 +00:00
Roberto Castañeda Lozano
8193e0d53a 8346280: C2: implement late barrier elision for G1
Reviewed-by: tschatzl, aboldtch, mdoerr
2025-02-18 10:23:35 +00:00
SendaoYan
d7baae3ee9 8350178: Incorrect comment after JDK-8345580
Reviewed-by: chagedorn, kvn
2025-02-18 09:56:49 +00:00
Afshin Zafari
160db5f0f0 8340110: Ubsan: verifier.cpp:2043:19: runtime error: shift exponent 100 is too large for 32-bit type 'int'
Reviewed-by: dholmes, jsjolen
2025-02-18 09:56:38 +00:00
Marc Chevalier
ff05d97953 8349180: Remove redundant initialization in ciField constructor
Reviewed-by: chagedorn
2025-02-18 09:25:24 +00:00
Marc Chevalier
013fda1dad 8348172: C2: Remove unused local variables in filter_helper() methods
Reviewed-by: kvn, haosun, chagedorn
2025-02-18 08:43:21 +00:00
Stefan Karlsson
3353f8e087 8349652: Rewire nmethod oop load barriers
Reviewed-by: kvn, aboldtch
2025-02-18 07:51:45 +00:00
Fei Yang
8df804005e 8350093: RISC-V: java/math/BigInteger/LargeValueExceptions.java timeout with COH
Reviewed-by: mli, fjiang
2025-02-18 00:19:46 +00:00
Doug Simon
8ec589390f 8346781: [JVMCI] Limit ServiceLoader to class initializers
Reviewed-by: never, yzheng
2025-02-17 19:34:29 +00:00
Hannes Wallnöfer
3f0c137026 8347123: Add missing @serial tags to other modules
Reviewed-by: prr, nbenalla, alanb
2025-02-17 15:31:18 +00:00
Suchismith Roy
8b2aa51b0c 8349780: AIX os::get_summary_cpu_info support Power 11
Reviewed-by: stuefe, amitkumar
2025-02-17 13:28:34 +00:00
Alexey Ivanov
650d0d954e 8348865: JButton/bug4796987.java never runs because Windows XP is unavailable
Reviewed-by: tr, abhiscxk, serb
2025-02-17 13:13:42 +00:00
Alexey Ivanov
906358d3a1 8294155: Exception thrown before awaitAndCheck hangs PassFailJFrame
Reviewed-by: serb, azvegint, kizune
2025-02-17 13:13:15 +00:00
Alexey Ivanov
2bd8f026db 8342524: Use latch in AbstractButton/bug6298940.java instead of delay
Reviewed-by: azvegint, kizune, dnguyen, achung
2025-02-17 13:12:02 +00:00
Matthias Ernst
7f3ecb4d92 8346664: C2: Optimize mask check with constant offset
Reviewed-by: epeter, qamai
2025-02-17 13:07:23 +00:00
Gui Cao
b3a4026c65 8349764: RISC-V: C1: Improve Class.isInstance intrinsic
Reviewed-by: fyang, mli
2025-02-17 11:35:07 +00:00
Jaikiran Pai
071c8f5155 8349909: jdk.internal.jimage.decompressor.ZipDecompressor does not close the Inflater in exceptional cases
Reviewed-by: lancea, alanb
2025-02-17 11:05:59 +00:00
Johan Sjölen
f1258f9e16 8349755: Fix corner case issues in async UL
Reviewed-by: dholmes, aboldtch
2025-02-17 09:22:57 +00:00
Aleksey Shipilev
b1b48286a6 8350086: Inline hot Method accessors for faster task selection
Reviewed-by: kvn, coleenp, aph, vlivanov
2025-02-17 09:21:49 +00:00
Matthias Baesken
5e9d72e224 8350094: Linux gcc 13.2.0 build fails when ubsan is enabled
Reviewed-by: mdoerr, prr, kbarrett
2025-02-17 08:02:51 +00:00
David Holmes
2192723734 8350162: ProblemList compiler/tiered/Level2RecompilationTest.java
Reviewed-by: jpai
2025-02-17 02:09:25 +00:00
Bradford Wetmore
7d11418c82 8350147: Replace example in KEM class with the one from JEP 452
Reviewed-by: weijun
2025-02-15 22:40:46 +00:00
Alexey Semenyuk
5cf11324af 8350098: jpackage test lib erroneously will run methods without @Test annotation as tests
Reviewed-by: almatvee
2025-02-15 14:31:29 +00:00
Aleksey Shipilev
623453647a 8349915: CTW: Lots of level 3 compiles are done at level 2 after JDK-8348570
Reviewed-by: kvn, chagedorn
2025-02-15 07:22:20 +00:00
Chris Plummer
b6443f6ff9 8348347: Cleanup JavaThread subclass support in SA
Reviewed-by: kevinw, sspitsyn
2025-02-14 19:40:47 +00:00
Kelvin Nilsen
ba6c96599a 8348595: GenShen: Fix generational free-memory no-progress check
Reviewed-by: phh, xpeng
2025-02-14 16:41:26 +00:00
Kelvin Nilsen
38322407cd 8348594: Shenandoah: Do not penalize for degeneration when not the fault of triggering heuristic
Reviewed-by: phh, wkemper
2025-02-14 16:40:08 +00:00
Ivan Šipka
2a90b90a95 8346117: Add test annotation
Reviewed-by: coffeys
2025-02-14 16:18:47 +00:00
Maxim Kartashev
0414dcec11 8349812: (fs) Files.newByteChannel with empty path name and CREATE_NEW throws unexpected exception
Reviewed-by: bpb
2025-02-14 15:28:59 +00:00
anass baya
9ea81d9017 8349351: Combine Screen Inset Tests into a Single File
Reviewed-by: honkar, dnguyen, aivanov
2025-02-14 15:19:09 +00:00
Aleksey Shipilev
742e735d7f 8349858: Print compilation task before blocking compiler thread for shutdown
Reviewed-by: kvn, chagedorn
2025-02-14 13:53:06 +00:00
Alexey Semenyuk
db42a48dc5 8350011: Convert jpackage test lib tests in JUnit format
Reviewed-by: almatvee
2025-02-14 13:12:30 +00:00
Alexander Zvegintsev
19c0ce43e2 8349751: AIX build failure after upgrade pipewire to 1.3.81
Reviewed-by: mdoerr
2025-02-14 12:55:36 +00:00
Nizar Benalla
fa1bd2344e 8343802: Prevent NULL usage backsliding
Reviewed-by: kbarrett
2025-02-14 12:24:36 +00:00
Dmitry Chuyko
57f4c30fb6 8347917: AArch64: Enable upper GPR registers in C1
Reviewed-by: aph
2025-02-14 07:54:44 +00:00
Alexey Semenyuk
ff52859d2a 8285624: jpackage fails to create exe, msi when Windows OS is in FIPS mode
Reviewed-by: almatvee
2025-02-13 22:53:30 +00:00
Justin Lu
3741c980b8 8349883: Locale.LanguageRange.parse("-") throws ArrayIndexOutOfBoundsException
Reviewed-by: naoto
2025-02-13 22:25:23 +00:00
Naoto Sato
3e7acfac48 8349873: StackOverflowError after JDK-8342550 if -Duser.timezone= is set to a deprecated zone id
Reviewed-by: joehw, jlu, iris
2025-02-13 20:57:48 +00:00
Aleksey Shipilev
d8fcd43a24 8349927: Waiting for compiler termination delays shutdown for 10+ ms
Reviewed-by: kvn, dholmes
2025-02-13 20:06:33 +00:00
Doug Simon
a88e2a58bf 8349977: JVMCIRuntime::_shared_library_javavm_id should be jlong
Reviewed-by: yzheng, never
2025-02-13 19:35:42 +00:00
Jiangli Zhou
2eac490bd2 8349868: Remove unneeded libjava shared library dependency from jtreg test libNewDirectByteBuffer, libDirectIO and libInheritedChannel
Reviewed-by: bpb
2025-02-13 19:08:03 +00:00
Martin Balao
6ddbcc34c0 8328119: Support HKDF in SunPKCS11 (Preview)
8346720: Support Generic keys in SunPKCS11 SecretKeyFactory

Co-authored-by: Francisco Ferrari Bihurriet <fferrari@openjdk.org>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: valeriep, kdriver, weijun
2025-02-13 16:55:33 +00:00
William Kemper
28e744dc64 8348092: Shenandoah: assert(nk >= _lowest_valid_narrow_klass_id && nk <= _highest_valid_narrow_klass_id) failed: narrowKlass ID out of range (3131947710)
Reviewed-by: shade
2025-02-13 16:34:37 +00:00
Vladimir Kozlov
0b50e479a0 8349753: Incorrect use of CodeBlob::is_buffer_blob() in few places
Reviewed-by: dlong, shade
2025-02-13 16:09:04 +00:00
Jiangli Zhou
18958c6298 8349925: [REDO] Support static JDK in libfontmanager/freetypeScaler.c
Reviewed-by: prr
2025-02-13 15:44:46 +00:00
Matthias Baesken
c2fc947826 8349378: Build splashscreen lib with SIZE optimization
Reviewed-by: erikj, prr, honkar
2025-02-13 14:16:23 +00:00
Jaikiran Pai
5b75ff7283 8349907: jdk.tools.jlink.internal.plugins.ZipPlugin does not close the Deflater in exceptional cases
Reviewed-by: liach, alanb, sundar, lancea
2025-02-13 11:54:01 +00:00
Alexander Zvegintsev
add3cd1ca4 8348600: Update PipeWire to 1.3.81
Reviewed-by: psadhukhan, prr, honkar
2025-02-13 11:42:46 +00:00
Alexey Semenyuk
efc597bf47 8349564: Clean warnings found in jpackage tests when building them with -Xlint:all
Reviewed-by: almatvee
2025-02-13 10:22:19 +00:00
Christoph Langer
29202d1fa7 8349648: Test tools/jpackage/share/JLinkOptionsTest.java fails with --enable-linkable-runtime set after JDK-8346434
Reviewed-by: sgehwolf, asemenyuk
2025-02-13 10:03:25 +00:00
Ivan Walulya
24b7f815ae 8349783: g1RemSetSummary.cpp:344:68: runtime error: member call on null pointer of type 'struct G1HeapRegion'
Reviewed-by: tschatzl, ayang
2025-02-13 09:47:02 +00:00
Robbin Ehn
a637ccf2fe 8349851: RISC-V: Call VM leaf can use movptr2
Reviewed-by: fyang, mli
2025-02-13 06:36:32 +00:00
SendaoYan
adc3f53d24 8349787: java/lang/Thread/virtual/ThreadPollOnYield.java#default passes unexpectedly without libVThreadPinner.so
Reviewed-by: alanb
2025-02-13 02:59:57 +00:00
Volodymyr Paprotski
55097dd4cb 8344802: Crash in StubRoutines::verify_mxcsr with -XX:+EnableX86ECoreOpts and -Xcheck:jni
Reviewed-by: jwaters, kvn, sviswanathan
2025-02-12 22:25:05 +00:00
Daniel Gredler
b8576eb48e 6562489: Font-Renderer should ignore invisible characters \u2062 and \u2063
Reviewed-by: avu, prr
2025-02-12 22:15:37 +00:00
Zhao Song
7a0832f548 8349934: Wrong file regex for copyright header format check in .jcheck/conf
Reviewed-by: erikj
2025-02-12 21:36:45 +00:00
Chris Plummer
2a5d1da335 8349571: Remove JavaThreadFactory interface from SA
Reviewed-by: kevinw, sspitsyn
2025-02-12 19:28:28 +00:00
Chris Plummer
74e458bad6 8349684: Remove SA core file tests from problem list for macosx-x64
Reviewed-by: kevinw, sspitsyn
2025-02-12 19:27:54 +00:00
Archie Cobbs
ba28119642 8348427: DeferredLintHandler API should use JCTree instead of DiagnosticPosition
Reviewed-by: mcimadamore
2025-02-12 19:17:29 +00:00
Fernando Guallini
c5ac3c4f11 8249831: Test sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java is marked with @ignore
Reviewed-by: hchao, rhalade
2025-02-12 18:36:24 +00:00
Vladimir Kozlov
336d0d8592 8349926: [BACKOUT] Support static JDK in libfontmanager/freetypeScaler.c
Reviewed-by: jiangli, shade
2025-02-12 18:26:37 +00:00
Jatin Bhateja
4b463ee70e 8342103: C2 compiler support for Float16 type and associated scalar operations
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Bhavana Kilambi <bkilambi@openjdk.org>
Co-authored-by: Joe Darcy <darcy@openjdk.org>
Co-authored-by: Raffaello Giulietti <rgiulietti@openjdk.org>
Reviewed-by: psandoz, epeter, sviswanathan
2025-02-12 17:02:51 +00:00
Jiangli Zhou
332d87cc7e 8349859: Support static JDK in libfontmanager/freetypeScaler.c
Reviewed-by: prr
2025-02-12 16:29:08 +00:00
Thomas Schatzl
73e1780ad0 8349836: G1: Improve group prediction log message
Reviewed-by: ayang, iwalulya
2025-02-12 16:11:09 +00:00
Coleen Phillimore
ed17c55ea3 8349145: Make Class.getProtectionDomain() non-native
Reviewed-by: liach, dholmes, yzheng
2025-02-12 12:04:40 +00:00
Volkan Yazici
e700460b49 8349813: Test behavior of limiting() on RS operators throwing exceptions
Reviewed-by: dfuchs
2025-02-12 12:04:22 +00:00
Daniel Jeliński
08f4c1c801 8349781: make test TEST=gtest fails on WSL
Reviewed-by: erikj
2025-02-12 09:04:32 +00:00
Kevin Walls
bb41df44d9 8349723: Problemlist jdp tests for macosx-x64
Reviewed-by: rriggs, sspitsyn
2025-02-12 08:22:29 +00:00
David Holmes
adda12b724 8349874: Missing comma in copyright from JDK-8349689
Reviewed-by: dcubed, mikael
2025-02-12 03:57:30 +00:00
Prasanta Sadhukhan
342dec93f2 8347019: Test javax/swing/JRadioButton/8033699/bug8033699.java still fails: Focus is not on Radio Button Single as Expected
Reviewed-by: aivanov, dnguyen, azvegint
2025-02-12 03:10:00 +00:00
SendaoYan
88b4a906d2 8349689: Several virtual thread tests missing /native keyword
Reviewed-by: alanb, lmesnik
2025-02-12 03:00:43 +00:00
Volkan Yazici
d558d9d427 8349702: jdk.internal.net.http.Http2Connection::putStream needs to provide cause while cancelling stream
Reviewed-by: jpai, dfuchs
2025-02-12 01:58:22 +00:00
William Kemper
8c09d40d6c 8348268: Test gc/shenandoah/TestResizeTLAB.java#compact: fatal error: Before Updating References: Thread C2 CompilerThread1: expected gc-state 9, actual 21
Reviewed-by: shade
2025-02-11 20:20:53 +00:00
Alexey Semenyuk
e7157d174c 8150442: Enforce Supported Platforms in Packager for MSI bundles
Reviewed-by: almatvee, cstein
2025-02-11 19:22:35 +00:00
Naoto Sato
642816538f 8349254: Disable "best-fit" mapping on Windows environment variables
Reviewed-by: jlu, jpai
2025-02-11 17:20:50 +00:00
Chen Liang
32dc41c9f7 8349624: Validation for slot missing in CodeBuilder local variable instructions
Reviewed-by: asotona
2025-02-11 16:21:23 +00:00
Mohamed Issa
a1bcda2476 8349579: jsvml.dll incorrect RDATA SEGMENT specification
Reviewed-by: sviswanathan, jbhateja
2025-02-11 15:33:30 +00:00
Tobias Hartmann
ee079fdbf1 8349820: Temporarily increase MemLimit for tests until JDK-8349772 and JDK-8337821 are fixed
Reviewed-by: rcastanedalo, epeter
2025-02-11 13:57:45 +00:00
SendaoYan
545d19f1fa 8349771: Replace usages of -mx and -ms in some monitor tests
Reviewed-by: jpai, stefank, dholmes
2025-02-11 12:38:19 +00:00
Daniel Fuchs
5ee44c1688 8349662: SSLTube SSLSubscriptionWrapper has potential races when switching subscriptions
Reviewed-by: jpai
2025-02-11 12:10:05 +00:00
Magnus Ihse Bursie
964dd18fd2 8349515: [REDO] Framework for tracing makefile inclusion and parsing
Reviewed-by: erikj
2025-02-11 10:55:47 +00:00
Thomas Schatzl
8e85829496 8349213: G1: Clearing bitmaps during collection set merging not claimed by region
Reviewed-by: iwalulya, ayang
2025-02-11 09:52:38 +00:00
Richard Reingruber
1a8212e101 8348678: [PPC64] C2: unaligned vector load/store is ok
8343906: test2 of compiler/c2/TestCastX2NotProcessedIGVN.java fails on some platforms

Reviewed-by: mdoerr, amitkumar
2025-02-11 07:45:55 +00:00
Daniel Gredler
41bdc47d71 8208377: Soft hyphens render if not using TextLayout
Reviewed-by: achung, prr
2025-02-11 00:39:09 +00:00
Jiangli Zhou
df654a9f58 8349752: Tier1 build failure caused by JDK-8349178
Reviewed-by: dholmes
2025-02-10 20:52:20 +00:00
Jiangli Zhou
527489c06d 8349284: Make libExplicitAttach work on static JDK
Reviewed-by: alanb, dholmes
2025-02-10 20:19:48 +00:00
Joe Darcy
f11a737707 8349475: Test tools/javac/api/TestJavacTaskWithWarning.java writes files in src dir
Reviewed-by: jlahoda, liach, jpai
2025-02-10 18:27:05 +00:00
Jamil Nimeh
b737f7fb30 8349501: Relocate supporting classes in security/testlibrary to test/lib/jdk tree
Reviewed-by: rhalade, weijun
2025-02-10 18:19:57 +00:00
Jiangli Zhou
84b32cb61c 8349178: runtime/jni/atExit/TestAtExit.java should be supported on static JDK
Reviewed-by: dholmes
2025-02-10 18:05:27 +00:00
Aleksey Shipilev
ab66c82ce9 8349639: jfr/event/gc/detailed/TestShenandoahEvacuationInformationEvent.java fails to compile after JDK-8348610
Reviewed-by: mdoerr, wkemper
2025-02-10 15:51:23 +00:00
Johan Sjölen
f74c4dfe0b 8349580: Do not use address in MemTracker top level functions
Reviewed-by: gziemski, stefank
2025-02-10 13:52:23 +00:00
Coleen Phillimore
c9cadbd23f 8346567: Make Class.getModifiers() non-native
Reviewed-by: alanb, vlivanov, yzheng, dlong
2025-02-10 12:44:30 +00:00
Volkan Yazici
5589892262 8343074: test/jdk/com/sun/net/httpserver/docs/test1/largefile.txt could be generated
Reviewed-by: dfuchs, jpai
2025-02-10 12:12:54 +00:00
Hamlin Li
d104debe51 8349556: RISC-V: improve the performance when -COH and -AvoidUnalignedAccesses for UL and LU string comparison
Reviewed-by: fyang, vkempik
2025-02-10 11:47:57 +00:00
Hamlin Li
4a83ca1202 8349666: RISC-V: enable superwords tests for vector reductions
Reviewed-by: fyang, luhenry
2025-02-10 11:25:20 +00:00
SendaoYan
8f6ccde982 8349554: [UBSAN] os::attempt_reserve_memory_between reported applying non-zero offset to non-null pointer produced null pointer
Reviewed-by: stefank, stuefe
2025-02-08 13:11:07 +00:00
Thomas Stuefe
7d52f1e64d 8349525: RBTree: provide leftmost, rightmost, and a simple way to print trees
Reviewed-by: jsjolen, cnorrbin
2025-02-08 06:35:27 +00:00
Quan Anh Mai
e9278de3f8 8348411: C2: Remove the control input of LoadKlassNode and LoadNKlassNode
Reviewed-by: vlivanov, epeter
2025-02-08 04:20:46 +00:00
Joe Wang
5395ffa006 8327378: XMLStreamReader throws EOFException instead of XMLStreamException
Reviewed-by: iris, lancea, naoto
2025-02-08 02:48:04 +00:00
Coleen Phillimore
1ed9ef1c3f 8349559: Compiler interface doesn't need to store protection domain
Reviewed-by: vlivanov, iklam
2025-02-07 21:27:35 +00:00
Alexander Matveev
f0ea38b387 8349509: [macos] Clean up macOS dead code in jpackage
Reviewed-by: asemenyuk
2025-02-07 19:58:51 +00:00
Tom Rodriguez
7f6c687815 8349374: [JVMCI] concurrent use of HotSpotSpeculationLog can crash
Reviewed-by: kvn, dnsimon
2025-02-07 19:58:37 +00:00
Liam Miller-Cushon
bd9b24c0f8 8349512: Duplicate PermittedSubclasses entries with doclint enabled
Reviewed-by: vromero
2025-02-07 19:43:33 +00:00
Andrew Haley
b40f8eef98 8337251: C1: Improve Class.isInstance intrinsic
Reviewed-by: vlivanov
2025-02-07 17:39:10 +00:00
Bradford Wetmore
88a84835a3 8349121: SSLParameters.setApplicationProtocols() ALPN example could be clarified
Reviewed-by: abarashev, jnimeh, dfuchs
2025-02-07 17:09:56 +00:00
Justin Lu
fb847bb2af 8349493: Replace sun.util.locale.ParseStatus usage with java.text.ParsePosition
Reviewed-by: naoto
2025-02-07 17:08:52 +00:00
Mikhail Yankelevich
7cd5cb2916 8349532: Refactor ./util/Pem/encoding.sh to run in java
Reviewed-by: weijun
2025-02-07 15:40:17 +00:00
Ivan Walulya
86cec4ea2c 8343782: G1: Use one G1CardSet instance for multiple old gen regions
Reviewed-by: ayang, tschatzl
2025-02-07 10:22:23 +00:00
Matthias Baesken
006ed5c02b 8349375: Cleanup AIX special file build settings
Reviewed-by: mdoerr, clanger, erikj, jwaters
2025-02-07 07:43:43 +00:00
Joe Wang
3989a19957 8344925: translet-name ignored when package-name is also set
Reviewed-by: lancea, iris, naoto
2025-02-07 02:26:20 +00:00
Fernando Guallini
1eb54e4228 8346049: jdk/test/lib/security/timestamp/TsaServer.java warnings
Reviewed-by: weijun, rhalade, hchao, lmesnik
2025-02-07 00:31:11 +00:00
Calvin Cheung
a0c7f661be 8349508: runtime/cds/appcds/TestParallelGCWithCDS.java should not check for specific output
Reviewed-by: dholmes, iklam
2025-02-06 22:31:19 +00:00
Aleksey Shipilev
10791477cf 8348570: CTW: Expose the code hidden by uncommon traps
Reviewed-by: kvn, thartmann
2025-02-06 20:20:43 +00:00
Brian Burkhalter
1a74ee64eb 8349092: File.getFreeSpace violates specification if quotas are in effect (win)
Reviewed-by: naoto
2025-02-06 19:11:35 +00:00
Brian Burkhalter
0181030bdc 8349006: File.getCanonicalPath should remove "(on UNIX platforms)" from its specification
Reviewed-by: jlu, naoto
2025-02-06 19:10:26 +00:00
Harshitha Onkar
ed8945a68a 8347377: Add validation checks for ICC_Profile header fields
Reviewed-by: prr, jdv
2025-02-06 18:30:39 +00:00
Liam Miller-Cushon
1ab1c1d53b 8349058: 'internal proprietary API' warnings make javac warnings unusable
Reviewed-by: vromero
2025-02-06 17:33:44 +00:00
Jiangli Zhou
eb84702626 8349513: Remove unused BUILD_JDK_JTREG_LIBRARIES_JDK_LIBS_libTracePinnedThreads
Reviewed-by: dholmes, erikj
2025-02-06 16:15:35 +00:00
Nizar Benalla
f12d2de53a 8345212: Since checker should better handle non numeric values
Reviewed-by: liach
2025-02-06 16:14:30 +00:00
Viktor Klang
5ec1aae21e 8347842: ThreadPoolExecutor specification discusses RuntimePermission
Reviewed-by: alanb, jpai
2025-02-06 15:02:21 +00:00
SendaoYan
3fbae32d0a 8349465: [UBSAN] test_os_reserve_between.cpp reported applying non-zero offset to null pointer
Reviewed-by: mdoerr, amitkumar
2025-02-06 15:01:05 +00:00
Christian Hagedorn
e0487c7cbc 8346777: Add missing const declarations and rename variables
Reviewed-by: epeter, thartmann
2025-02-06 14:49:28 +00:00
Archie Cobbs
2b82e2d57b 8347958: Minor compiler cleanups relating to MandatoryWarningHandler
Reviewed-by: mcimadamore
2025-02-06 14:32:25 +00:00
Alexey Semenyuk
2093bb7467 8346434: Add test for non-automatic service binding
Reviewed-by: almatvee
2025-02-06 14:10:44 +00:00
Amit Kumar
dd8720e90d 8348520: [s390x] Problemlist TestVectorReinterpret.java
Reviewed-by: mdoerr
2025-02-06 13:15:18 +00:00
Tobias Hartmann
4618993e27 8349537: Bad copyright in TestArrayStructs.java
Reviewed-by: jpai
2025-02-06 10:41:30 +00:00
SendaoYan
acb46ddb89 8345155: Add /native to native test in FFM
Reviewed-by: mcimadamore, pminborg
2025-02-06 09:33:02 +00:00
Gui Cao
d85f65147a 8349428: RISC-V: "bad alignment" with -XX:-AvoidUnalignedAccesses after JDK-8347489
Reviewed-by: fyang, mli
2025-02-06 09:31:54 +00:00
Andrew Dinn
7e307916ec 8349102: Test compiler/arguments/TestCodeEntryAlignment.java failed: assert(allocates2(pc)) failed: not in CodeBuffer memory
Reviewed-by: dlong
2025-02-06 09:14:50 +00:00
Matthias Baesken
3eb57f6d46 8349140: Size optimization (opt-size) build fails after recent PCH changes
Reviewed-by: jwaters, erikj, ihse
2025-02-06 08:08:59 +00:00
Jan Lahoda
3cf04dec49 8349132: javac Analyzers should handle non-deferrable errors
Reviewed-by: abimpoudis
2025-02-06 07:34:28 +00:00
David Holmes
30f71622a1 8349417: Fix NULL usage from JDK-8346433
Reviewed-by: chagedorn
2025-02-06 07:32:22 +00:00
David Holmes
64bd8d2592 8349511: [BACKOUT] Framework for tracing makefile inclusion and parsing
Reviewed-by: darcy, mikael
2025-02-06 02:51:12 +00:00
Alexey Semenyuk
5e1cc08259 8349504: Support platform-specific JUnit tests in jpackage
Reviewed-by: almatvee
2025-02-06 02:27:43 +00:00
Archie Cobbs
89e5e7ab73 8349155: The "log" parameter to Lint.logIfEnabled() is not needed
Reviewed-by: mcimadamore
2025-02-06 01:52:51 +00:00
Alexey Semenyuk
aad6664bb6 8333569: jpackage tests must run app launchers with retries on Linux only
Reviewed-by: almatvee
2025-02-05 23:23:54 +00:00
Brian Burkhalter
b499c827a5 8349383: (fs) FileTreeWalker.next() superfluous null check of visit() return value
Reviewed-by: djelinski
2025-02-05 21:40:47 +00:00
Damon Nguyen
379c3f9966 8347836: Disabled PopupMenu shows shortcuts on Mac
Reviewed-by: azvegint, achung, kizune, abhiscxk
2025-02-05 18:43:19 +00:00
Mikhail Yankelevich
82bc0a7f8c 8344316: security/auth/callback/TextCallbackHandler/Password.java make runnable with JTReg and add the UI
Reviewed-by: weijun
2025-02-05 18:23:25 +00:00
Mark Powers
2f2f7cf0dd 8349084: Update vectors used in several PQC benchmarks
Reviewed-by: weijun
2025-02-05 18:04:00 +00:00
Serguei Spitsyn
b9b62a0248 8346792: serviceability/jvmti/vthread/GetThreadState/GetThreadState.java testObjectWaitMillis failed
Reviewed-by: dholmes, pchilanomate
2025-02-05 16:03:39 +00:00
Roland Westrelin
6b994cd8cc 8333697: C2: Hit MemLimit in PhaseCFG::global_code_motion
Reviewed-by: thartmann, kvn
2025-02-05 13:54:35 +00:00
Per Minborg
2ff8440c76 8349344: Clarify documentation of Arena.ofConfined
Reviewed-by: jvernee, jpai, mcimadamore
2025-02-05 13:48:34 +00:00
Emanuel Peter
19399d271e 8348572: C2 compilation asserts due to unexpected irreducible loop
Reviewed-by: thartmann, kvn
2025-02-05 12:58:43 +00:00
Magnus Ihse Bursie
61465883b4 8348190: Framework for tracing makefile inclusion and parsing
Reviewed-by: erikj
2025-02-05 11:17:08 +00:00
Bhavana Kilambi
66a3898448 8348659: AArch64: IR rule failure with compiler/loopopts/superword/TestSplitPacks.java
Reviewed-by: shade, epeter
2025-02-05 08:37:21 +00:00
Matthias Baesken
40603a5bf0 8349214: Improve size optimization flags for MSVC builds
Reviewed-by: djelinski, ihse
2025-02-05 08:05:56 +00:00
Jan Lahoda
09269497a2 8347629: Test FailOverDirectExecutionControlTest.java fails with -Xcomp
Reviewed-by: liach
2025-02-05 06:44:36 +00:00
SendaoYan
a51e6699b4 8349200: [JMH] time.format.ZonedDateTimeFormatterBenchmark fails
Reviewed-by: naoto, jlu
2025-02-05 02:18:01 +00:00
Ben Perez
9d23de58d1 8184352: Remove Sun provider information from KeyPairGenerator javadoc
Reviewed-by: mullan
2025-02-04 23:13:16 +00:00
Brent Christian
d222c186a6 8349107: Remove RMI finalizers
Reviewed-by: rriggs, vklang, djelinski, smarks
2025-02-04 22:37:31 +00:00
Satyen Subramaniam
bad39b6d88 8348610: GenShen: TestShenandoahEvacuationInformationEvent failed with setRegions >= regionsFreed: expected 1 >= 57
Reviewed-by: wkemper, phh
2025-02-04 17:19:19 +00:00
Justin Lu
250ff86dc8 8349000: Performance improvement for Currency.isPastCutoverDate(String)
Reviewed-by: naoto, aturbanov
2025-02-04 17:07:01 +00:00
Jamil Nimeh
ee4caa4180 8349106: Change ChaCha20 intrinsic to use quarter-round parallel implementation on aarch64
Reviewed-by: aph
2025-02-04 16:28:04 +00:00
Ioi Lam
b985347c23 8348349: Refactor CDSConfig::is_dumping_heap()
Reviewed-by: ccheung, matsaave
2025-02-04 16:08:00 +00:00
Per Minborg
beb43e2633 8349343: Add missing copyright messages in FFM benchmarks
Reviewed-by: jvernee
2025-02-04 14:10:42 +00:00
Fei Yang
e91a6ec49c 8347489: RISC-V: Misaligned memory access with COH
Reviewed-by: mli, vkempik
2025-02-04 14:03:07 +00:00
Volkan Yazici
d699aba26f 8349135: Add tests for HttpRequest.Builder.copy()
Reviewed-by: jpai, dfuchs
2025-02-04 13:56:25 +00:00
Per Minborg
81126c20cb 8349238: Some more FFM benchmarks are broken
Reviewed-by: mcimadamore
2025-02-04 11:00:54 +00:00
Matthias Baesken
beae8843b9 8349150: Support precompiled headers on AIX
Reviewed-by: jkern, erikj
2025-02-04 08:10:49 +00:00
Christian Hagedorn
c545a3e028 8346774: Use Predicate classes instead of Node classes
Reviewed-by: epeter, kvn
2025-02-04 07:33:34 +00:00
Amit Kumar
7ea176d79c 8349193: compiler/intrinsics/TestContinuationPinningAndEA.java missing @requires vm.continuations
Reviewed-by: chagedorn
2025-02-04 03:05:00 +00:00
Coleen Phillimore
9b49597244 8334320: Replace vmTestbase/metaspace/share/TriggerUnloadingWithWhiteBox.java with ClassUnloadCommon from testlibrary
Reviewed-by: dholmes, lmesnik
2025-02-03 22:48:28 +00:00
Ben Perez
43979fb1be 8347428: Avoid using secret-key in specifications
Reviewed-by: mullan
2025-02-03 22:14:38 +00:00
Jaikiran Pai
618c5eb27b 8349183: [BACKOUT] Optimization for StringBuilder append boolean & null
8349239: [BACKOUT] Reuse StringLatin1::putCharsAt and StringUTF16::putCharsAt

Reviewed-by: redestad, liach
2025-02-03 18:21:33 +00:00
Tom Rodriguez
bb837d2f9b 8342775: [Graal] java/util/concurrent/locks/Lock/OOMEInAQS.java fails OOME thrown from the UncaughtExceptionHandler
Reviewed-by: jpai, dholmes
2025-02-03 17:04:55 +00:00
SendaoYan
a57c9b101a 8349184: [JMH] jdk.incubator.vector.ColumnFilterBenchmark.filterDoubleColumn fails on linux-aarch64
Reviewed-by: haosun, aph
2025-02-03 14:25:47 +00:00
Coleen Phillimore
d330421d28 8337548: Parallel class loading can pass is_superclass true for interfaces
Reviewed-by: iklam
2025-02-03 13:55:00 +00:00
Hamlin Li
3f1d9b5735 8348575: SpinLockT is typedef'ed but unused
Reviewed-by: dholmes
2025-02-03 12:33:31 +00:00
Alexander Zvegintsev
6f4fc82149 8348675: TrayIcon tests fail in Ubuntu 24.10 Wayland
Reviewed-by: aivanov, dnguyen
2025-02-03 11:14:14 +00:00
Aggelos Biboudis
9aa6d09bf7 8326485: Assertion due to Type.addMetadata adding annotations to already-annotated type
Reviewed-by: jlahoda
2025-02-03 09:08:25 +00:00
SendaoYan
2cce5eeb09 8349142: [JMH] compiler.MergeLoadBench.getCharBV fails
Reviewed-by: liach
2025-02-02 02:46:16 +00:00
Aleksey Shipilev
305bbdae7f 8348402: PerfDataManager stalls shutdown for 1ms
Reviewed-by: dholmes, pchilanomate, coleenp
2025-02-01 14:06:48 +00:00
anass baya
651ac3cc0f 6899304: java.awt.Toolkit.getScreenInsets(GraphicsConfiguration) returns incorrect values
Reviewed-by: aivanov, honkar, prr, serb
2025-01-31 18:30:01 +00:00
Naoto Sato
2d6045a26f 8301875: java.util.TimeZone.getSystemTimeZoneID uses C library default file mode
Reviewed-by: jlu, joehw
2025-01-31 17:12:00 +00:00
Rajan Halade
13d852a0b8 8349017: Update ML tests to verify against ACVP 1.1.0.38 version
Reviewed-by: weijun
2025-01-31 16:56:38 +00:00
Jorn Vernee
137ad5d03c 8348976: MemorySegment::reinretpret should be force inlined
Reviewed-by: liach
2025-01-31 16:49:21 +00:00
Jorn Vernee
77647421c5 8348909: [BACKOUT] Implement a better allocator for downcalls
Reviewed-by: shade, liach
2025-01-31 16:49:03 +00:00
Magnus Ihse Bursie
fcd5ebc7e8 8292944: Noisy output when running make help the first time
Reviewed-by: erikj
2025-01-31 14:35:42 +00:00
Magnus Ihse Bursie
bba6a8f0c1 8349143: All make control variables need special propagation
Reviewed-by: erikj
2025-01-31 14:29:35 +00:00
Daniel Lundén
ee87d187d1 8348658: [AArch64] The node limit in compiler/codegen/TestMatcherClone.java is too strict
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Reviewed-by: shade, kvn
2025-01-31 14:09:15 +00:00
Sorna Sarathi N
a414a591dd 8344983: [PPC64] Rename ConditionRegisters
Reviewed-by: rrich, mdoerr
2025-01-31 14:06:22 +00:00
Magnus Ihse Bursie
5878e45ae0 8348998: Split out PreInit.gmk from Init.gmk
Reviewed-by: erikj
2025-01-31 13:48:09 +00:00
Erik Gahlin
8f7e6e2dbc 8348430: Update jfr tests to allow execution with different vm flags
Reviewed-by: mgronlun
2025-01-31 08:55:52 +00:00
Tobias Hartmann
c3923fbb9a 8349130: Problem list TestCodeEntryAlignment.java
Reviewed-by: chagedorn
2025-01-31 08:22:11 +00:00
Matthias Baesken
669f8c0c07 8349039: Adjust exception No type named <ThreadType> in database
Reviewed-by: kevinw, cjplummer
2025-01-31 08:11:30 +00:00
Jan Lahoda
5a45de5e1e 8347989: Trees.getScope may crash for not-yet attributed source
Reviewed-by: asotona
2025-01-31 07:56:13 +00:00
SendaoYan
2df9d5bc2f 8349040: Test compiler/inlining/LateInlinePrinting.java fails after JDK-8319850
Reviewed-by: mbaesken, thartmann
2025-01-31 06:40:26 +00:00
Ioi Lam
03f5c33b53 8349122: -XX:+AOTClassLinking is not compatible with jdwp
Reviewed-by: jrose, kvn
2025-01-31 05:37:38 +00:00
naveen.n.narayanan
0d30b869d8 8344581: [TESTBUG] java/awt/Robot/ScreenCaptureRobotTest.java failing on macOS
Reviewed-by: aivanov, azvegint, abhiscxk
2025-01-31 05:14:57 +00:00
Ioi Lam
cdc84acdcc 8348890: Fix docs for -XX:AOT* options in java man page
Reviewed-by: jrose
2025-01-31 01:56:05 +00:00
Nizar Benalla
8986cb2772 8331873: Improve/expand info in New API In on Help page
Co-authored-by: Jonathan Gibbons <jjg@openjdk.org>
Reviewed-by: liach, hannesw
2025-01-31 01:16:54 +00:00
Harshitha Onkar
d589a82d08 8349101: Problemlist HeadlessMalfunctionTest.java
Reviewed-by: dholmes
2025-01-30 21:11:34 +00:00
Justin Lu
f05c53c2c4 8347949: Currency method to stream available Currencies
Reviewed-by: naoto, liach, rriggs
2025-01-30 17:55:47 +00:00
Andrey Turbanov
cc775b1620 8348648: Unnecessary Hashtable usage in javax.swing.text.html.CSS.LengthUnit
Reviewed-by: aivanov, azvegint, serb
2025-01-30 17:48:11 +00:00
William Kemper
06ebb170ba 8349002: GenShen: Deadlock during shutdown
Reviewed-by: shade
2025-01-30 17:01:41 +00:00
Ioi Lam
1ac2d6e0fb 8349009: JVM fails to start when AOTClassLinking is used with unverifiable old classes
Reviewed-by: jrose, kvn
2025-01-30 16:21:57 +00:00
Zhengyu Gu
0cae888046 8349003: NativeCallStack::print_on() output is unreadable
Reviewed-by: stuefe, dholmes
2025-01-30 16:14:43 +00:00
Shaojin Wen
fdfb68c8d0 8344168: Change Unsafe base offset from int to long
Reviewed-by: liach
2025-01-30 15:57:13 +00:00
Andrew Dinn
5d5b294b0a 8349070: Fix riscv and ppc build errors caused by JDK-8343767
Reviewed-by: mdoerr, fyang, jwaters
2025-01-30 15:29:13 +00:00
Shaojin Wen
3f8a875497 8348880: Replace ConcurrentMap with AtomicReferenceArray for ZoneOffset.QUARTER_CACHE
Reviewed-by: naoto, liach
2025-01-30 15:13:13 +00:00
Jorn Vernee
fac63d4383 8348668: Prevent first resource cleanup in confined arena from escaping
Reviewed-by: liach
2025-01-30 14:55:37 +00:00
Casper Norrbin
2efb6aaadb 8345314: Add a red–black tree as a utility data structure
Reviewed-by: aboldtch, jsjolen, stuefe
2025-01-30 12:34:29 +00:00
Andrew Dinn
a937f6db30 8343767: Enumerate StubGen blobs, stubs and entries and generate code from declarations
Reviewed-by: vlivanov, mdoerr
2025-01-30 11:46:39 +00:00
Michal Karm Babacek
1858dc1410 8336382: Fix error reporting in loading AWT
Reviewed-by: prr, aivanov, serb
2025-01-30 11:12:44 +00:00
Nizar Benalla
22069ff42b 8348975: Broken links in the JDK 24 JavaDoc API documentation, build 33
Reviewed-by: liach
2025-01-30 10:10:49 +00:00
Stefan Karlsson
f81772a49e 8348647: CDS dumping commits 3GB when large pages are used
Reviewed-by: aboldtch, iklam
2025-01-30 09:47:45 +00:00
Serguei Spitsyn
fb0f2d25d2 8300708: Some nsk jvmti tests fail with virtual thread wrapper due to jvmti missing some virtual thread support
Reviewed-by: cjplummer, lmesnik
2025-01-30 09:11:13 +00:00
SendaoYan
bb528d5ad6 8348567: [ASAN] Memory access partially overflows by NativeCallStack
Reviewed-by: jsjolen, dholmes
2025-01-30 08:55:40 +00:00
Joachim Kern
e0c2cb48b3 8348663: [AIX] clang pollutes the burned-in library search paths of the generated executables
Reviewed-by: ihse, clanger, mbaesken
2025-01-30 08:36:05 +00:00
Axel Boldt-Christmas
14136f8b11 8347564: ZGC: Crash in DependencyContext::clean_unloading_dependents
Reviewed-by: eosterlund, stefank, vlivanov
2025-01-30 08:33:16 +00:00
Matthias Baesken
04c24f18d5 8347779: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java fails with Unable to deduce type of thread from address
Reviewed-by: cjplummer, kevinw
2025-01-30 08:23:04 +00:00
Alexander Zvegintsev
d985b31cbb 8342096: Popup menus that request focus are not shown on Linux with Wayland
Reviewed-by: aivanov, honkar
2025-01-29 22:09:01 +00:00
Jiangli Zhou
cbe9ec530f 8348905: Add support to specify the JDK for compiling Jtreg tests
Reviewed-by: erikj
2025-01-29 17:52:43 +00:00
Vladimir Kozlov
6b581d22e1 8347997: assert(false) failed: EA: missing memory path
Reviewed-by: thartmann, chagedorn
2025-01-29 17:24:10 +00:00
Theo Weidmann
4662363e86 8348687: [BACKOUT] C2: Non-fluid StringBuilder pattern bails out in OptoStringConcat
Reviewed-by: chagedorn, shade
2025-01-29 16:57:00 +00:00
Ioi Lam
d266ca965d 8348752: Enable -XX:+AOTClassLinking by default when -XX:AOTMode is specified
Reviewed-by: shade, heidinga
2025-01-29 16:52:10 +00:00
Shaojin Wen
cbc89a7ac6 8348898: Remove unused OctalDigits to clean up code
Reviewed-by: liach
2025-01-29 16:24:01 +00:00
Theo Weidmann
96fefed37f 8319850: PrintInlining should print which methods are late inlines
Reviewed-by: chagedorn, kvn, jsjolen, dlong
2025-01-29 15:14:40 +00:00
Prasanta Sadhukhan
51cce6e612 8318577: Windows Look-and-Feel JProgressBarUI does not render correctly on 2x UI scale
Reviewed-by: tr
2025-01-29 14:37:14 +00:00
Guoxiong Li
6bfae3acc1 8333386: TestAbortOnVMOperationTimeout test fails for client VM
Reviewed-by: ayang, tschatzl
2025-01-29 14:36:55 +00:00
Shaojin Wen
f98d9a3301 8348870: Eliminate array bound checks in DecimalDigits
Reviewed-by: liach, rgiulietti
2025-01-29 13:07:19 +00:00
Matthias Baesken
fe6d9ab951 8348582: Set -fstack-protector when building with clang
Reviewed-by: jkern, erikj
2025-01-29 13:04:44 +00:00
Theo Weidmann
fff97d6d9a 8343938: TestStressBailout triggers "Should not be locked when freed" assert
Reviewed-by: kvn, thartmann
2025-01-29 08:59:19 +00:00
Kevin Walls
69ec45348a 8347985: Deprecate java.management Permission classes for removal
Reviewed-by: sspitsyn, rriggs
2025-01-29 08:42:06 +00:00
Stefan Karlsson
3af4cfc52d 8348180: Remove mention of include of precompiled.hpp from the HotSpot Style Guide
Reviewed-by: dholmes, eosterlund
2025-01-29 08:36:23 +00:00
Matthias Baesken
168a471fd0 8348830: LIBFONTMANAGER optimization is always HIGHEST
Reviewed-by: erikj, prr, serb
2025-01-29 08:22:42 +00:00
Tobias Hartmann
55c3e78f4e 8348631: Crash in PredictedCallGenerator::generate after JDK-8347006
Reviewed-by: kvn, epeter
2025-01-29 07:13:11 +00:00
Chris Plummer
98a93e1151 8348800: Many serviceability/sa tests failing after JDK-8348239
Reviewed-by: shade, kevinw, lmesnik
2025-01-28 23:29:59 +00:00
Alexey Semenyuk
5e81fa6a1f 8348892: Properly fix compilation error for zip_util.c on Windows
Reviewed-by: kcr, jiangli
2025-01-28 23:06:13 +00:00
Justin Lu
3a564ed101 8347955: TimeZone methods to stream the available timezone IDs
Reviewed-by: naoto, rriggs
2025-01-28 21:31:46 +00:00
Jiangli Zhou
1efae9a41e 8348888: tier1 closed build failure on Windows after JDK-8348348
Reviewed-by: kcr, liach, asemenyuk
2025-01-28 20:24:16 +00:00
Daniel Gredler
c018a604f6 8344637: Fix Page8 of manual test java/awt/print/PrinterJob/PrintTextTest.java on Linux and Windows
Reviewed-by: honkar, prr
2025-01-28 20:02:48 +00:00
Cesar Soares Lucas
c3c3888762 8336760: [JVMCI] -XX:+PrintCompilation should also print "hosted" JVMCI compilations
Reviewed-by: dnsimon, kvn
2025-01-28 19:18:59 +00:00
Cesar Soares Lucas
9f4d3de442 8347718: Unexpected NullPointerException in C2 compiled code due to ReduceAllocationMerges
Reviewed-by: kvn, thartmann
2025-01-28 19:17:15 +00:00
Justin Lu
a224f12cb7 8348205: Improve cutover time selection when building available currencies set
Reviewed-by: naoto, rriggs
2025-01-28 17:40:20 +00:00
Jiangli Zhou
81032560f7 8348348: Remove unnecessary #ifdef STATIC_BUILD around DEF_STATIC_JNI_OnLoad from zip_util.c
Reviewed-by: sgehwolf
2025-01-28 16:42:13 +00:00
Alexey Semenyuk
fb066caea8 8347272: [ubsan] JvmLauncher.cpp:262:52: runtime error: applying non-zero offset 40 to null pointer
Reviewed-by: almatvee, mbaesken
2025-01-28 13:51:04 +00:00
Zhengyu Gu
5fec999474 8339668: Parallel: Adopt PartialArrayState to consolidate marking stack in Full GC
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: tschatzl, ayang
2025-01-28 13:29:37 +00:00
Dhamoder Nalla
2bef5b4a87 8348323: Corrupted timezone string in JVM crash log
Reviewed-by: dholmes, amitkumar, kevinw
2025-01-28 11:32:00 +00:00
Nizar Benalla
3a8680e919 8347058: When automatically translating the page to pt-br, all CSS styling disappears
Reviewed-by: hannesw, liach
2025-01-28 11:13:54 +00:00
Joachim Kern
a4942a2f7a 8348286: [AIX] clang 17 introduces new warning Wtentative-Definitions which produces Build errors
Reviewed-by: ihse, azvegint
2025-01-28 10:25:36 +00:00
Volkan Yazici
558255ae70 8328919: Add BodyHandlers / BodySubscribers methods to handle excessive server input
Reviewed-by: jpai
2025-01-28 10:22:55 +00:00
Theo Weidmann
1f74caa7da 8348401: [IR Framework] PrintTimes should not require verbose
Reviewed-by: kvn, chagedorn
2025-01-28 09:41:12 +00:00
Kevin Walls
f71541c93b 8344976: Remove the jmx.invoke.getters compatibility property
Reviewed-by: cjplummer, dfuchs, sspitsyn
2025-01-28 09:22:50 +00:00
Robbin Ehn
2537a05c06 8348384: RISC-V: Disable auto-enable Vector on buggy kernels
Reviewed-by: fyang, mli, luhenry
2025-01-28 07:35:30 +00:00
Ioi Lam
46f48e4e3d 8348515: Add docs for -XX:AOT* options in java man pages
Reviewed-by: adinn, kvn
2025-01-28 00:12:57 +00:00
Calvin Cheung
1916a7773f 8346923: MetaspaceShared base calculation may cause overflow in align_up
Reviewed-by: iklam, matsaave
2025-01-27 22:41:55 +00:00
Chris Plummer
21feef3280 8348239: SA does not know about DeoptimizeObjectsALotThread
Reviewed-by: kevinw, dlong, dholmes, lmesnik
2025-01-27 19:45:50 +00:00
Matthias Ernst
8cc1304542 8287788: Implement a better allocator for downcalls
Reviewed-by: jvernee
2025-01-27 19:40:26 +00:00
Weijun Wang
039e73fcdb 8346736: Java Security Standard Algorithm Names spec should include key algorithm names
Reviewed-by: mullan, hchao
2025-01-27 18:21:51 +00:00
Weijun Wang
aba60a9274 8189441: Define algorithm names for keys derived from KeyAgreement
Reviewed-by: mullan
2025-01-27 18:09:17 +00:00
Gennadiy Krivoshein
03106eb2d3 8344119: CUPSPrinter does not respect PostScript printer definition specification in case of reading ImageableArea values from PPD files
Reviewed-by: prr, psadhukhan
2025-01-27 18:05:19 +00:00
Albert Mingkun Yang
ad01dfb670 8346920: Serial: Support allocation in old generation when heap is almost full
Reviewed-by: tschatzl, gli, sjohanss
2025-01-27 14:57:49 +00:00
Chen Liang
1d8ccb8920 8342465: Improve API documentation for java.lang.classfile
Reviewed-by: asotona, darcy
2025-01-27 14:03:35 +00:00
Magnus Ihse Bursie
7d6055a786 8348429: Update cross-compilation devkits to Fedora 41/gcc 13.2
Reviewed-by: erikj
2025-01-27 13:11:03 +00:00
Magnus Ihse Bursie
f1e07974a0 8348586: Optionally silence make warnings about non-control variables
Reviewed-by: mcimadamore, erikj
2025-01-27 13:10:43 +00:00
Eirik Bjørsnøs
ffeb9b5aff 8342807: Update links in java.base to use https://
Reviewed-by: rriggs, ihse, jkern
2025-01-27 12:46:43 +00:00
Martin Doerr
afcc2b03af 8348562: ZGC: segmentation fault due to missing node type check in barrier elision analysis
Reviewed-by: rcastanedalo, rrich
2025-01-27 10:11:53 +00:00
Theo Weidmann
175e58b2e3 8332980: [IR Framework] Add option to measure IR rule processing time
Reviewed-by: kvn, chagedorn
2025-01-27 08:19:55 +00:00
Matthias Baesken
b8c68c0e8c 8348207: Linux PPC64 PCH build broken after JDK-8347909
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Reviewed-by: clanger, erikj, mdoerr
2025-01-27 08:14:33 +00:00
Matthias Baesken
70eec9001a 8338303: Linux ppc64le with toolchain clang - detection failure in early JVM startup
Reviewed-by: mdoerr, erikj, ihse
2025-01-27 07:35:40 +00:00
Robbin Ehn
a1fd5f4e88 8348554: Enhance Linux kernel version checks
Reviewed-by: shade, fyang
2025-01-27 07:13:00 +00:00
Koushik Thirupattur
002679ac9f 8347065: Add missing @spec tags for Java Security Standard Algorithm Names
Reviewed-by: weijun
2025-01-25 19:06:47 +00:00
Leonid Mesnik
99002e4f9d 8318098: Update jfr tests to replace keyword jfr with vm.flagless
Reviewed-by: mgronlun
2025-01-25 18:59:20 +00:00
Archie Cobbs
5431668cb9 8348212: Need to add warn() step to JavacTaskImpl after JDK-8344148
Reviewed-by: mcimadamore
2025-01-25 18:02:18 +00:00
Alan Bateman
1d2eb2fbae 8299504: Resolve uses and provides at run time if the service is optional and missing
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: sundar
2025-01-25 07:25:24 +00:00
Shaojin Wen
f446cefee0 8343962: [REDO] Move getChars to DecimalDigits
Reviewed-by: redestad, rgiulietti
2025-01-25 03:12:56 +00:00
William Kemper
7c0985fc32 8348420: Shenandoah: Check is_reserved before using ReservedSpace instances
Reviewed-by: ysr
2025-01-24 23:34:57 +00:00
Jamil Nimeh
f8e81d2339 8347506: Compatible OCSP readtimeout property with OCSP timeout
Reviewed-by: mullan, hchao
2025-01-24 23:06:57 +00:00
Mark Powers
907350e9e8 8346587: Distrust TLS server certificates anchored by Camerfirma Root CAs
Reviewed-by: mullan
2025-01-24 23:05:34 +00:00
Justin Lu
dec93675ab 8347498: JDK 24 RDP2 L10n resource files update
Reviewed-by: sgehwolf, dnguyen, naoto, joehw, asemenyuk
2025-01-24 21:43:19 +00:00
Andrey Turbanov
bef5f56544 8291027: Some of TimeZone methods marked 'synchronized' unnecessarily
Reviewed-by: liach, naoto, jlu
2025-01-24 20:13:17 +00:00
Eirik Bjørsnøs
8e8f800071 8344943: Mark not subclassable classes final in java.base exported classes
Reviewed-by: weijun, liach, djelinski
2025-01-24 19:29:05 +00:00
Volker Simonis
76f792b552 8348203: [JVMCI] Make eager JVMCI initialization observable in the debugger
Reviewed-by: dnsimon
2025-01-24 15:37:47 +00:00
Sonia Zaldana Calles
909cef5198 8339891: Several sun/security/ssl/SSLSessionImpl/* tests override test.java.opts
Reviewed-by: lmesnik
2025-01-24 14:36:05 +00:00
Andrey Turbanov
56a1877989 8348170: Unnecessary Hashtable usage in CSS.styleConstantToCssMap
Reviewed-by: azvegint, aivanov
2025-01-24 14:06:08 +00:00
Eirik Bjørsnøs
9768f60a94 8345249: Apply some conservative cleanups in FileURLConnection
Reviewed-by: jpai, djelinski
2025-01-24 13:00:28 +00:00
Guoxiong Li
c5a69b620a 8331723: Serial: Remove the unused parameter of the method SerialHeap::gc_prologue
Co-authored-by: nanxiaotao <nxtchongchong@163.com>
Reviewed-by: ayang
2025-01-24 12:47:25 +00:00
Robbin Ehn
9c55e2538c 8347981: RISC-V: Add Zfa zli imm loads
Reviewed-by: fyang, luhenry
2025-01-24 11:46:54 +00:00
Sean Coffey
e20bd018c4 8344361: Restore null return for invalid services from legacy providers
Reviewed-by: valeriep
2025-01-24 10:40:36 +00:00
Andrew Haley
5a0bdd04e0 8346890: AArch64: Type profile counters generate suboptimal code
Reviewed-by: shade, adinn
2025-01-24 10:38:43 +00:00
Martin Doerr
4a375e5b88 8344232: [PPC64] secondary_super_cache does not scale well: C1 and interpreter
Reviewed-by: rrich, amitkumar
2025-01-24 09:50:06 +00:00
Stefan Karlsson
0df9dcb6aa 8346572: Check is_reserved() before using ReservedSpace instances
Reviewed-by: tschatzl, wkemper, ayang, ysr
2025-01-24 09:23:29 +00:00
Kevin Walls
a09f06d538 8348265: RMIConnectionImpl: Remove Subject.callAs on MarshalledObject
Reviewed-by: rriggs
2025-01-24 08:39:37 +00:00
Jan Lahoda
0395593a8a 8346751: Internal java compiler error with type annotations in constants expression in constant fields
Reviewed-by: vromero
2025-01-24 08:12:50 +00:00
Adam Sotona
2daafe49c7 8348283: java.lang.classfile.components.snippets.PackageSnippets shipped in java.base.jmod
Reviewed-by: liach
2025-01-24 07:25:08 +00:00
anass baya
50ca450417 8340784: Remove PassFailJFrame constructor with screenshots
Reviewed-by: aivanov, azvegint
2025-01-24 07:01:03 +00:00
Alexander Zvegintsev
416d46947c 8347008: beancontext package spec does not clearly explain why the API is deprecated
Reviewed-by: aivanov, prr
2025-01-24 05:41:12 +00:00
Joe Wang
471d63c91f 8343609: Broken links in java.xml
Reviewed-by: naoto, lancea, iris
2025-01-24 00:29:49 +00:00
Ioi Lam
7f16a0875c 8348240: Remove SystemDictionaryShared::lookup_super_for_unregistered_class()
Reviewed-by: ccheung, coleenp
2025-01-23 22:02:48 +00:00
Rajat Mahajan
48ece07214 8282862: AwtWindow::SetIconData leaks old icon handles if an exception is detected
Reviewed-by: aivanov, dmarkov, prr, honkar, azvegint
2025-01-23 20:52:45 +00:00
Mikhail Yankelevich
356e2a8f48 8348406: Remove tests GrantAllPermToExtWhenNoPolicy and PrincipalExpansionError from problem list
Reviewed-by: rhalade
2025-01-23 18:59:21 +00:00
Mikael Vidstedt
3ebf88996f 8348327: Incorrect march flag when building libsleef/vector_math_neon.c
Reviewed-by: erikj, vlivanov, shade
2025-01-23 18:37:37 +00:00
Liam Miller-Cushon
d9d2e19f92 8348365: Bad format string in CLDRDisplayNamesTest
Reviewed-by: shade, naoto
2025-01-23 17:24:33 +00:00
Aleksey Shipilev
59e750931c 8348301: Remove unused Reference.waitForReferenceProcessing break-ins in tests
Reviewed-by: alanb
2025-01-23 16:49:00 +00:00
Alexey Ivanov
605b53e4f8 8348299: Update List/ItemEventTest/ItemEventTest.java
Use thread-safe StringBuffer to track selecting/deselecting items.
Use auto waitForIdle for all events.
Log handleEvent and ItemListener.
Take screenshot of the list on failure;
Optionally take screenshot after each mouse press+release.

Reviewed-by: azvegint, prr, kizune
2025-01-23 15:18:38 +00:00
Magnus Ihse Bursie
cba0f786fc 8348387: Add fixpath if needed for user-supplied tools
Reviewed-by: erikj
2025-01-23 14:51:32 +00:00
Magnus Ihse Bursie
44e5ccaf86 8348391: Keep case if possible for TOPDIR
Reviewed-by: erikj
2025-01-23 14:50:03 +00:00
Magnus Ihse Bursie
7460a0aff4 8348392: Make claims "other matches are possible" even when that is not true
Reviewed-by: erikj
2025-01-23 14:47:14 +00:00
Serhiy Sachkov
5cc690d31e 8347994: Add additional diagnostics to macOS failure handler to assist with diagnosing MCast test failures
Reviewed-by: dfuchs
2025-01-23 13:40:20 +00:00
Kevin Walls
c00557f8f5 8345049: Remove the jmx.tabular.data.hash.map compatibility property
Reviewed-by: cjplummer, sspitsyn, dfuchs
2025-01-23 11:41:16 +00:00
Kevin Walls
8b46db0c0d 8345045: Remove the jmx.remote.x.buffer.size JMX notification property
Reviewed-by: amenkov, sspitsyn
2025-01-23 11:39:38 +00:00
Kevin Walls
119899bc69 8345048: Remove the jmx.extend.open.types compatibility property
Reviewed-by: cjplummer, amenkov, sspitsyn
2025-01-23 11:06:11 +00:00
Alexey Ivanov
89bfcb8db0 8348308: Make fields of ListSelectionEvent final
Reviewed-by: honkar, azvegint
2025-01-23 10:51:53 +00:00
Alexey Ivanov
17df51516a 8348303: Remove repeated 'a' from ListSelectionEvent
Reviewed-by: azvegint, honkar, dmarkov, prr, kizune
2025-01-23 10:50:39 +00:00
Theo Weidmann
337118da6f 8348388: Incorrect copyright header in TestFluidAndNonFluid.java
Reviewed-by: epeter, chagedorn
2025-01-23 10:16:33 +00:00
Kevin Walls
3069e91232 8344969: Remove the jmx.mxbean.multiname compatibility property
Reviewed-by: sspitsyn, amenkov, dfuchs
2025-01-23 09:30:03 +00:00
Kevin Walls
c882160d03 8344966: Remove the allowNonPublic MBean compatibility property
Reviewed-by: amenkov, sspitsyn, dfuchs
2025-01-23 09:28:51 +00:00
Theo Weidmann
6032f6ea04 8341696: C2: Non-fluid StringBuilder pattern bails out in OptoStringConcat
Reviewed-by: epeter
2025-01-23 08:41:02 +00:00
Johny Jose
caa3c78f78 8347965: (tz) Update Timezone Data to 2025a
Reviewed-by: coffeys, naoto
2025-01-23 08:26:43 +00:00
Magnus Ihse Bursie
e69e5b7960 8348324: The failure handler cannot be build by JDK 24 due to restricted warning
Reviewed-by: jwaters, jpai
2025-01-23 07:51:11 +00:00
Casper Norrbin
66513ddbe9 8337997: MallocHeader description refers to non-existent NMT state "minimal"
Reviewed-by: jsjolen, zgu
2025-01-23 05:05:19 +00:00
Jaikiran Pai
8cf0735839 8348102: java/net/httpclient/HttpClientSNITest.java fails intermittently
Reviewed-by: dfuchs, djelinski
2025-01-23 01:39:20 +00:00
Zhengyu Gu
a36e166ec9 8348241: ZGC: Unnecessarily reinitialize ZFragmentationLimit's default value
Reviewed-by: stefank
2025-01-23 01:14:47 +00:00
Daniel Fuchs
b720517cb3 8348108: Race condition in AggregatePublisher.AggregateSubscription
Reviewed-by: jpai
2025-01-22 16:39:08 +00:00
Johan Sjölen
17a408c4b1 8348169: Destruct values on free in Treap
Reviewed-by: cnorrbin, gziemski
2025-01-22 16:35:59 +00:00
Aleksey Shipilev
25bb698eff 8348195: More u2 conversion warnings after JDK-8347147
Reviewed-by: coleenp, dholmes
2025-01-22 15:27:41 +00:00
Magnus Ihse Bursie
893d00ac7d 8346388: Cannot use DllMain in libawt for static builds
Reviewed-by: aivanov, prr
2025-01-22 15:11:41 +00:00
Roberto Castañeda Lozano
1c7641d44f 8347563: C2: clean up ModRefBarrierSetC2
Reviewed-by: ayang, tschatzl, kvn
2025-01-22 12:29:53 +00:00
Coleen Phillimore
86a8b48b6c 8337458: Remove debugging code print_cpool_bytes
Reviewed-by: dholmes, shade
2025-01-22 12:21:17 +00:00
Jaikiran Pai
16a1d0a7ff 8348135: Fix couple of problem listing entries in test/hotspot/jtreg/ProblemList-Virtual.txt
Reviewed-by: dholmes
2025-01-22 12:14:27 +00:00
Emanuel Peter
16dcf15a14 8348263: C2 SuperWord: TestMemorySegment.java has failing IR rules with AlignVector after JDK-8343685
Reviewed-by: chagedorn, thartmann
2025-01-22 12:02:39 +00:00
Jaikiran Pai
61873564a4 Merge
Reviewed-by: dfuchs
2025-01-22 11:28:24 +00:00
Robbin Ehn
fb43849227 8347794: RISC-V: Add Zfhmin - Float cleanup
Reviewed-by: fyang, mli
2025-01-22 10:25:36 +00:00
Christian Hagedorn
5f6c85420a 8330045: Enhance array handling
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@redhat.com>
Co-authored-by: Martin Balao <mbalao@redhat.com>
Reviewed-by: rhalade, ahgross, thartmann, epeter, adinn, roland
2025-01-22 14:56:49 +05:30
Roger Riggs
fa83309e10 8339180: Enhanced Building of Processes: Follow-on Issue
Reviewed-by: naoto, djelinski
2025-01-22 14:56:49 +05:30
Jayathirth D V
496d06fb55 8336564: Enhance mask blit functionality redux
Reviewed-by: rhalade, mschoene, psadhukhan, prr
2025-01-22 14:56:49 +05:30
Roger Riggs
46b2481958 8335428: Enhanced Building of Processes
Reviewed-by: rhalade, djelinski
2025-01-22 14:56:49 +05:30
Stefan Karlsson
9b98cc0ba7 8348182: Remove DONT_USE_PRECOMPILED_HEADER
Reviewed-by: erikj, shade, dholmes
2025-01-22 09:25:40 +00:00
Matthias Baesken
d777218f38 8346830: Simplify adlc build config for aix
Reviewed-by: clanger, erikj, jwaters, jkern
2025-01-22 08:01:01 +00:00
Richard Reingruber
15d6469e8d 8347817: Timeouts running test/jdk/java/lang/String/concat/HiddenClassUnloading.java with fastdebug builds
Reviewed-by: clanger, mbaesken, mdoerr
2025-01-22 07:02:40 +00:00
David Holmes
3c2a1d87d5 8348117: The two-argument overload of SignatureHandlerLibrary::add is not used
Reviewed-by: coleenp, shade
2025-01-22 06:10:24 +00:00
Abhishek Kumar
8458f886bd 8347475: GTK: javax/swing/JColorChooser/Test8152419.java there are no swatches or RGB tab in JColorChooser
Reviewed-by: aivanov, azvegint, prr, kizune
2025-01-22 05:51:38 +00:00
Serguei Spitsyn
7a6ff9206a 8345543: Test serviceability/jvmti/vthread/StopThreadTest/StopThreadTest.java failed: expected JVMTI_ERROR_OPAQUE_FRAME instead of: 0
Reviewed-by: pchilanomate, dholmes, alanb
2025-01-21 21:37:34 +00:00
Leonid Mesnik
bbd880775f 8338428: Add logging of final VM flags while setting properties
Reviewed-by: dholmes, rriggs
2025-01-21 21:10:43 +00:00
Aleksey Shipilev
c38417a86e 8348186: C1: Purge fpu_stack_size infrastructure
Reviewed-by: kvn
2025-01-21 19:23:33 +00:00
Brian Burkhalter
f2a9d26b2e 8347740: java/io/File/createTempFile/SpecialTempFile.java failing
Reviewed-by: djelinski
2025-01-21 19:07:17 +00:00
Magnus Ihse Bursie
25fecaaf87 8348039: testmake fails at IDEA after JDK-8347825
Reviewed-by: erikj
2025-01-21 19:02:08 +00:00
William Kemper
6a29a8110e 8345750: Shenandoah: Test TestJcmdHeapDump.java#aggressive intermittent assert(gc_cause() == GCCause::_no_gc) failed: Over-writing cause
Reviewed-by: kdnilsen, ysr
2025-01-21 18:36:19 +00:00
Naoto Sato
81912e958b 8347841: Test fixes that use deprecated time zone IDs
Reviewed-by: jlu, joehw
2025-01-21 18:29:56 +00:00
Kevin Walls
3d4afc492a 8345079: Simplify/cleanup Exception handling in RMIConnectionImpl
Reviewed-by: dfuchs
2025-01-21 17:23:04 +00:00
Daniel Fuchs
a62a870150 8347995: Race condition in jdk/java/net/httpclient/offline/FixedResponseHttpClient.java
Reviewed-by: jpai
2025-01-21 16:04:04 +00:00
SendaoYan
8e8c9482a9 8346866: [ASAN] memoryReserver.cpp reported applying non-zero offset to non-null pointer produced null pointer
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: kbarrett, stefank
2025-01-21 15:32:05 +00:00
Simon Tooke
1ed396b4fc 8346927: serviceability/dcmd/vm/[SystemMapTest.java|SystemDumpMapTest.java] fail at jmx
Reviewed-by: kevinw
2025-01-21 15:01:37 +00:00
Daniel Fuchs
5c4a387b7e 8348107: test/jdk/java/net/httpclient/HttpsTunnelAuthTest.java fails intermittently
Reviewed-by: jpai
2025-01-21 14:46:53 +00:00
Thomas Stuefe
48c75976b1 8348029: Make gtest death tests work with real crash signals
Reviewed-by: mbaesken, szaldana
2025-01-21 14:46:25 +00:00
Coleen Phillimore
4a9fba615d 8347990: Remove SIZE_FORMAT macros and replace remaining uses
Reviewed-by: dholmes, kbarrett
2025-01-21 13:18:58 +00:00
Stefan Karlsson
c33c1cfe73 8347909: Automatic precompiled.hpp inclusion
Reviewed-by: lkorinth, erikj, dholmes, ihse
2025-01-21 10:21:24 +00:00
Theo Weidmann
f54e0bf267 8345766: C2 should emit macro nodes for ModF/ModD instead of calls during parsing
Reviewed-by: kvn, epeter
2025-01-21 09:15:18 +00:00
Emanuel Peter
0f426e4a6d 8343685: C2 SuperWord: refactor VPointer with MemPointer
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: kvn, chagedorn
2025-01-21 07:05:05 +00:00
Amit Kumar
6b9198541b 8346157: [Ubsan]: runtime error: pointer index expression with base 0x000000001000 overflowed to 0xfffffffffffffff0
Reviewed-by: stuefe, aph
2025-01-21 03:53:43 +00:00
David Holmes
955bf185c3 8348040: Bad use of ifdef with INCLUDE_xxx GC macros
Reviewed-by: stefank, shade
2025-01-20 20:31:26 +00:00
Zhengyu Gu
ca863fd5ab 8347758: modules.cpp leaks string returned from get_numbered_property_as_sorted_string()
Reviewed-by: dholmes, iklam, ccheung
2025-01-20 19:13:59 +00:00
Magnus Ihse Bursie
3a4d5ff7a3 8347996: JavaCompilation.gmk should not include ZipArchive.gmk
Reviewed-by: erikj
2025-01-20 16:29:00 +00:00
Archie Cobbs
0fbf10a9cf 8348038: Docs build failing in Options.notifyListeners with AssertionError
Reviewed-by: jlahoda, mcimadamore
2025-01-20 14:20:10 +00:00
Andrey Turbanov
9346984725 8347916: Simplify javax.swing.text.html.CSS.LengthUnit.getValue
Reviewed-by: azvegint, aivanov
2025-01-20 12:54:58 +00:00
Albert Mingkun Yang
3c9239263f 8348089: Serial: Remove virtual specifier in SerialHeap
Reviewed-by: stefank
2025-01-20 12:44:21 +00:00
Christian Hagedorn
8a83dc213a 8347018: C2: Insertion of Assertion Predicates ignores the effects of PhaseIdealLoop::clone_up_backedge_goo()
Reviewed-by: epeter, kvn
2025-01-20 12:24:33 +00:00
Aleksey Shipilev
85fdd2cc12 8347434: Richer VM operations events logging
Reviewed-by: dholmes, jsjolen
2025-01-20 12:18:05 +00:00
Albert Mingkun Yang
c207cc7e70 8347923: Parallel: Simplify compute_survivor_space_size_and_threshold
Reviewed-by: tschatzl
2025-01-20 09:51:45 +00:00
Markus Grönlund
4b4b1e912a 8347922: Remove runtime/cds/appcds/customLoader/HelloCustom_JFR.java from ProblemList.txt
Reviewed-by: egahlin
2025-01-20 08:54:15 +00:00
Volkan Yazıcı
e7a1c8660a 8217914: java/net/httpclient/ConnectTimeoutHandshakeSync.java failed on connection refused while doing POST
Reviewed-by: dfuchs, jpai
2025-01-20 06:53:25 +00:00
Archie Cobbs
644d154c7c 8347474: Options singleton is used before options are parsed
Reviewed-by: vromero
2025-01-19 14:57:08 +00:00
Robert Toyonaga
3804082cba 8346123: [REDO] NMT should not use ThreadCritical
Reviewed-by: dholmes, coleenp, stuefe
2025-01-18 17:21:28 +00:00
Robbin Ehn
1f0efc0091 8347343: RISC-V: Unchecked zicntr csr reads
Reviewed-by: fyang, mli
2025-01-18 09:19:21 +00:00
Robbin Ehn
ca8ba5c890 8347366: RISC-V: Add extension asserts for CMO instructions
Reviewed-by: fyang, mli
2025-01-18 09:16:22 +00:00
Robbin Ehn
0ff67000dc 8347987: Bad ifdef in 8330851
Reviewed-by: stefank, mdoerr, syan, amitkumar
2025-01-18 08:41:00 +00:00
Calvin Cheung
e1cf3517ae 8348013: [doc] fix typo in java.md caused by JDK-8347763
Reviewed-by: iklam
2025-01-18 00:34:27 +00:00
Serguei Spitsyn
6ef860c728 8332857: Test vmTestbase/nsk/jvmti/GetThreadCpuTime/thrcputime002/TestDescription.java failed
Reviewed-by: lmesnik, cjplummer, amenkov
2025-01-18 00:28:30 +00:00
Calvin Cheung
17e3df652f 8347763: [doc] Add documentation of module options for JEP 483
Reviewed-by: iklam
2025-01-17 18:46:17 +00:00
Jatin Bhateja
6cc1c0abdb 8347422: Crash during safepoint handler execution with -XX:+UseAPX
Reviewed-by: kvn, sviswanathan, thartmann
2025-01-17 18:05:13 +00:00
Coleen Phillimore
baca7daa32 8347733: Replace SIZE_FORMAT in runtime code
Reviewed-by: matsaave, sspitsyn, dholmes
2025-01-17 16:24:47 +00:00
Leonid Mesnik
2ca1b4d48d 8347840: Fix testlibrary compilation warnings
Reviewed-by: dholmes
2025-01-17 15:43:04 +00:00
Zhengyu Gu
2c41f5adbf 8347959: ThreadDumper leaks memory
Reviewed-by: amenkov, sspitsyn, shade
2025-01-17 13:39:22 +00:00
Prasanta Sadhukhan
15e06b6186 8345618: javax/swing/text/Caret/8163124/CaretFloatingPointAPITest.java leaves Caret is not complete
Reviewed-by: azvegint
2025-01-17 12:54:54 +00:00
Coleen Phillimore
3ab521e1a1 8347924: Replace SIZE_FORMAT in memory and metaspace
Reviewed-by: jsjolen, matsaave
2025-01-17 12:16:44 +00:00
Gui Cao
8460072f9d 8342881: RISC-V: secondary_super_cache does not scale well: C1 and interpreter
Reviewed-by: fyang, fjiang
2025-01-17 11:31:48 +00:00
Amit Kumar
f5573f5cbd 8330851: C2: More efficient TypeFunc creation
Reviewed-by: vlivanov, dlong
2025-01-17 10:21:15 +00:00
Matthias Baesken
a3eef6c241 8346875: Test jdk/jdk/jfr/event/os/TestCPULoad.java fails on macOS
Reviewed-by: egahlin
2025-01-17 07:58:52 +00:00
Jayathirth D V
398a580518 8347911: Limit the length of inflated text chunks
Reviewed-by: azvegint, prr
2025-01-17 04:02:26 +00:00
Quan Anh Mai
aa21de566d 8347481: C2: Remove the control input of some nodes
Reviewed-by: dfenacci, vlivanov, kvn
2025-01-17 02:05:14 +00:00
Magnus Ihse Bursie
1f365cc6c7 8346433: Cannot use DllMain in hotspot for static builds
Reviewed-by: dholmes, stuefe
2025-01-16 21:46:18 +00:00
William Kemper
0330ca4221 8347617: Shenandoah: Use consistent name for update references phase
Reviewed-by: ysr
2025-01-16 20:53:17 +00:00
Matthias Baesken
07a0dcbabc 8347576: Error output in libjsound has non matching format strings
Reviewed-by: mdoerr, serb, clanger
2025-01-16 16:30:32 +00:00
Coleen Phillimore
d218b54086 8347609: Replace SIZE_FORMAT in os/os_cpu/cpu directories
Reviewed-by: matsaave, dholmes
2025-01-16 16:09:04 +00:00
SendaoYan
e7795ccdd9 8347347: Build fails undefined symbol: __asan_init by clang17
Reviewed-by: erikj, jwaters
2025-01-16 15:40:21 +00:00
Theo Weidmann
788f04990a 8346607: IGV: Support drag-and-drop for opening graph files
Reviewed-by: rcastanedalo, chagedorn, dfenacci, thartmann
2025-01-16 14:38:02 +00:00
Coleen Phillimore
bfa0cb7916 8347730: Replace SIZE_FORMAT in g1
Reviewed-by: kbarrett, tschatzl
2025-01-16 14:30:53 +00:00
Magnus Ihse Bursie
3b6e57670c 8347825: Make IDEA ide support use proper build system mechanisms
Reviewed-by: mcimadamore, erikj
2025-01-16 14:25:52 +00:00
Coleen Phillimore
8bfa540550 8347731: Replace SIZE_FORMAT in zgc
Reviewed-by: stefank, tschatzl, jsikstro
2025-01-16 12:48:51 +00:00
Coleen Phillimore
cbe2f9654e 8347732: Replace SIZE_FORMAT in shenandoah
Reviewed-by: wkemper, ysr
2025-01-16 12:46:32 +00:00
Theo Weidmann
f64f22b360 8346107: Generators: testing utility for random value generation
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: epeter, chagedorn
2025-01-16 12:17:21 +00:00
Theo Weidmann
4ad5d5514e 8325030: PhaseMacroExpand::value_from_mem_phi assert with "unknown node on this path"
Reviewed-by: chagedorn, kvn
2025-01-16 12:16:14 +00:00
Andrey Turbanov
24de9dee80 8347370: Unnecessary Hashtable usage in javax.swing.text.html.HTML
Reviewed-by: aivanov, azvegint
2025-01-16 11:38:28 +00:00
Aleksey Shipilev
d23ad01319 8337978: Verify OopHandles oops on access
Reviewed-by: dholmes, coleenp
2025-01-16 10:13:48 +00:00
Alexander Zuev
9c430c9225 8336920: ArithmeticException in javax.sound.sampled.AudioInputStream
Reviewed-by: azvegint, prr
2025-01-16 01:10:46 +00:00
Coleen Phillimore
bdf6e63eb1 8347431: Update ObjectMonitor comments
Reviewed-by: dholmes, pchilanomate
2025-01-15 22:44:33 +00:00
William Kemper
764d70b7df 8344049: Shenandoah: Eliminate init-update-refs safepoint
8344050: Shenandoah: Retire GC LABs concurrently
8344055: Shenandoah: Make all threads use local gc state

Reviewed-by: ysr, kdnilsen
2025-01-15 17:49:38 +00:00
Naoto Sato
cfe70ebcb3 8342550: Log warning for using JDK1.1 compatible time zone IDs for future removal
Reviewed-by: jlu, joehw, iris
2025-01-15 17:15:05 +00:00
Coleen Phillimore
983e24fd26 8347727: Replace SIZE_FORMAT in shared gc
Reviewed-by: kbarrett, dholmes, tschatzl
2025-01-15 17:11:29 +00:00
Aleksey Shipilev
a6be907635 8347424: Fix and rewrite sun/security/x509/DNSName/LeadingPeriod.java test
Reviewed-by: mullan, bperez
2025-01-15 16:40:12 +00:00
Markus Grönlund
4257215a9f 8345493: JFR: JVM.flush hangs intermittently
Reviewed-by: egahlin
2025-01-15 16:17:26 +00:00
Mikhail Yankelevich
a0f7982e44 8345134: Test sun/security/tools/jarsigner/ConciseJarsigner.java failed: unable to find valid certification path to requested target
Reviewed-by: weijun
2025-01-15 15:24:31 +00:00
Severin Gehwolf
63cedaf40e 8347334: JimageDiffGenerator code clean-ups
Reviewed-by: henryjen, mbaesken
2025-01-15 14:44:35 +00:00
Sonia Zaldana Calles
254e840d9a 8340416: Remove ArchiveBuilder::estimate_archive_size()
Reviewed-by: iklam, ccheung
2025-01-15 14:09:27 +00:00
Hannes Greule
8193ba3de2 8347562: javac crash due to type vars in permits clause
Reviewed-by: vromero
2025-01-15 14:09:14 +00:00
Daniel Fuchs
7df21a8f09 8347597: HttpClient: improve exception reporting when closing connection
Reviewed-by: jpai
2025-01-15 12:40:38 +00:00
Coleen Phillimore
b0e2be6f6b 8347729: Replace SIZE_FORMAT in parallel and serial gc
Reviewed-by: dholmes, tschatzl
2025-01-15 12:25:59 +00:00
Per Minborg
d4e5ec2746 8346610: Make all imports consistent in the FFM API
Reviewed-by: mcimadamore
2025-01-15 12:19:27 +00:00
Coleen Phillimore
c36200b098 8347721: Replace SIZE_FORMAT in compiler directories
Reviewed-by: kvn, dlong
2025-01-15 12:16:58 +00:00
Alan Bateman
af3f5d852e 8347039: ThreadPerTaskExecutor terminates if cancelled tasks still running
Reviewed-by: vklang
2025-01-15 10:54:03 +00:00
Joakim Nordström
91197b384f 8347531: The signal tests are failing after JDK-8345782 due to an unrelated warning
Reviewed-by: kevinw, dholmes
2025-01-15 08:56:38 +00:00
Fei Yang
4f3dc9d13a 8347352: RISC-V: Cleanup bitwise AND assembler routines
Reviewed-by: rehn, fjiang, mli
2025-01-15 08:04:04 +00:00
Swati Sharma
afc4529d96 8346834: Tests failing with -XX:+UseNUMA due to "NUMA support disabled" warning
Reviewed-by: dholmes, sjohanss
2025-01-15 06:52:24 +00:00
Henry Jen
a3be97e2d6 8347761: Test tools/jimage/JImageExtractTest.java fails after JDK-8303884
Reviewed-by: dholmes
2025-01-15 05:40:04 +00:00
Chen Liang
28e01e6559 8347762: ClassFile attribute specification refers to non-SE modules
Reviewed-by: darcy, dholmes
2025-01-15 05:24:43 +00:00
Ioi Lam
be1cdd9450 8344140: Refactor the discovery of AOT cache artifacts
Reviewed-by: ccheung, asmehra
2025-01-15 04:32:47 +00:00
Chen Liang
973c630777 8342466: Improve API documentation for java.lang.classfile.attribute
Reviewed-by: darcy, asotona
2025-01-15 02:04:01 +00:00
William Kemper
9782bfdd27 8347620: Shenandoah: Use 'free' tag for free set related logging
Reviewed-by: ysr
2025-01-15 01:28:07 +00:00
Jaikiran Pai
35be4a432b 8347173: java/net/DatagramSocket/InterruptibleDatagramSocket.java fails with virtual thread factory
Reviewed-by: alanb, lmesnik, dfuchs
2025-01-15 01:10:32 +00:00
Jaikiran Pai
36b7abd617 8225763: Inflater and Deflater should implement AutoCloseable
Reviewed-by: lancea, rriggs, alanb, smarks
2025-01-15 01:04:44 +00:00
Henry Jen
d6d45c6eae 8303884: jlink --add-options plugin does not allow GNU style options to be provided
Reviewed-by: ysuenaga, alanb
2025-01-14 23:49:14 +00:00
Weijun Wang
0ee6ba9c4c 8347596: Update HSS/LMS public key encoding
Reviewed-by: mullan
2025-01-14 23:06:45 +00:00
Patricio Chilano Mateo
ec2aaaaf83 8326236: assert(ce != nullptr) failed in Continuation::continuation_bottom_sender
Reviewed-by: dholmes, mgronlun
2025-01-14 21:51:05 +00:00
Justin Lu
02d24934ff 8347613: Remove leftover doPrivileged call in Currency test: CheckDataVersion.java
Reviewed-by: naoto
2025-01-14 21:45:36 +00:00
Vladimir Ivanov
10d08dbc81 8346142: [perf] scalability issue for the specjvm2008::xml.validation workload
Reviewed-by: joehw
2025-01-14 21:29:52 +00:00
David Holmes
9b1bed0aa4 8290043: serviceability/attach/ConcAttachTest.java failed "guarantee(!CheckJNICalls) failed: Attached JNI thread exited without being detached"
Reviewed-by: jsjolen, coleenp
2025-01-14 19:49:55 +00:00
Severin Gehwolf
2de71d0445 8347129: cpuset cgroups controller is required for no good reason
Reviewed-by: stuefe, asmehra
2025-01-14 19:40:50 +00:00
Kim Barrett
4c30933b2a 8346971: [ubsan] psCardTable.cpp:131:24: runtime error: large index is out of bounds
Reviewed-by: ayang, tschatzl
2025-01-14 18:54:56 +00:00
Naoto Sato
06ff4c17bd 8347146: Convert IncludeLocalesPluginTest to use JUnit
Reviewed-by: jlu, joehw
2025-01-14 17:47:18 +00:00
Kim Barrett
db76f47f27 8347720: [BACKOUT] Portable implementation of FORBID_C_FUNCTION and ALLOW_C_FUNCTION
Reviewed-by: coleenp
2025-01-14 17:42:24 +00:00
Liam Miller-Cushon
e6902cfca4 8323740: java.lang.ExceptionInInitializerError when trying to load XML classes in wrong order
Reviewed-by: joehw
2025-01-14 17:27:54 +00:00
Coleen Phillimore
a01e92cdef 8347724: Replace SIZE_FORMAT in jfr directory
Reviewed-by: egahlin
2025-01-14 17:00:46 +00:00
Brian Burkhalter
d002933c26 8347286: (fs) Remove some extensions from java/nio/file/Files/probeContentType/Basic.java
Reviewed-by: alanb, jpai
2025-01-14 15:52:54 +00:00
Joachim Kern
d532019799 8347143: [aix] Fix strdup use in os::dll_load
Reviewed-by: mdoerr, clanger, kbarrett
2025-01-14 15:39:45 +00:00
Henry Jen
dfd215b7e9 8347376: tools/jlink/runtimeImage/JavaSEReproducibleTest.java and PackagedModulesVsRuntimeImageLinkTest.java failed after JDK-8321413
Reviewed-by: dholmes, iklam, alanb
2025-01-14 15:26:36 +00:00
Sean Mullan
a49f8332ed 8346045: Cleanup of security library tests calling Security Manager APIs
Reviewed-by: rriggs
2025-01-14 15:21:06 +00:00
Hannes Wallnöfer
56c780078f 8347381: Upgrade jQuery UI to version 1.14.1
Reviewed-by: liach
2025-01-14 14:00:54 +00:00
Magnus Ihse Bursie
1c64a459a6 8347501: Make static-launcher fails after JDK-8346669
Reviewed-by: syan, erikj
2025-01-14 13:47:33 +00:00
Coleen Phillimore
b4cd3b1296 8347566: Replace SSIZE_FORMAT with 'z' length modifier
Reviewed-by: dlong, dholmes, kbarrett
2025-01-14 12:33:56 +00:00
Emanuel Peter
f0af830f85 8335747: C2: fix overflow case for LoopLimit with constant inputs
Reviewed-by: kvn, qamai
2025-01-14 11:55:39 +00:00
Christian Stein
fec769b0a8 8346778: Enable native access should work with the source launcher
Reviewed-by: alanb
2025-01-14 10:34:51 +00:00
Daniel Lundén
cbb2b847e4 8344130: C2: Avoid excessive hoisting in scheduler due to minuscule differences in block frequency
Reviewed-by: rcastanedalo, kvn
2025-01-14 10:23:57 +00:00
Jan Lahoda
bb93f67ea8 8347646: module-info classfile missing the preview flag
Reviewed-by: asotona
2025-01-14 10:23:32 +00:00
Adam Sotona
3e989fd0f7 8346986: Remove ASM from java.base
Reviewed-by: dholmes, ihse, lmesnik, alanb
2025-01-14 09:28:56 +00:00
Severin Gehwolf
3967696386 8347496: Test jdk/jfr/jvm/TestModularImage.java fails after JDK-8347124: No javac
Reviewed-by: egahlin, dholmes
2025-01-14 09:18:27 +00:00
Yasumasa Suenaga
6eb83ef874 8347500: hsdis cannot be built with Capstone.next
Reviewed-by: ihse, simonis
2025-01-14 09:06:25 +00:00
David Holmes
c1d322fff4 8347627: Compiler replay tests are failing after JDK-8346990
Reviewed-by: coleenp
2025-01-14 03:19:25 +00:00
Alex Menkov
0ae5c6b38b 8342996: Enhance Attach API to support arbitrary length arguments - OSX
Reviewed-by: sspitsyn, kevinw
2025-01-14 01:26:31 +00:00
SendaoYan
91b63ca748 8345016: [ASAN] java.c reported ‘%s’ directive argument is null [-Werror=format-truncation=]
Reviewed-by: rriggs
2025-01-14 01:13:31 +00:00
Coleen Phillimore
379d05bcc1 8346990: Remove INTX_FORMAT and UINTX_FORMAT macros
Reviewed-by: kbarrett, dholmes, matsaave
2025-01-13 22:01:54 +00:00
Magnus Ihse Bursie
d3a7ac22c9 8346383: Cannot use DllMain in libdt_socket for static builds
Reviewed-by: dholmes, sspitsyn
2025-01-13 21:22:44 +00:00
Phil Race
13a1775718 8344146: Remove temporary font file tracking code.
Reviewed-by: honkar, aivanov
2025-01-13 20:10:19 +00:00
Martin Doerr
61dc07c118 8346869: [AIX] Add regression test for handling 4 Byte aligned doubles in structures
Reviewed-by: mbaesken, jkern
2025-01-13 20:07:31 +00:00
Martin Doerr
13e1ea53c5 8346038: [REDO] - [C1] LIR Operations with one input should be implemented as LIR_Op1
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Reviewed-by: kvn, sviswanathan
2025-01-13 20:03:34 +00:00
Joe Darcy
7c883c284d 8347605: Use spec tag to refer to IEEE 754 standard
Reviewed-by: bpb, iris
2025-01-13 19:59:49 +00:00
Volkan Yazıcı
4e0ffda5b1 8346972: Test java/nio/channels/FileChannel/LoopingTruncate.java fails sometimes with IOException: There is not enough space on the disk
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Reviewed-by: bpb
2025-01-13 19:00:09 +00:00
Kim Barrett
e0f2f4b216 8313396: Portable implementation of FORBID_C_FUNCTION and ALLOW_C_FUNCTION
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: coleenp, dholmes, jsjolen
2025-01-13 18:25:42 +00:00
Brian Burkhalter
b0c131e872 8345368: java/io/File/createTempFile/SpecialTempFile.java fails on Windows Server 2025
Reviewed-by: lancea
2025-01-13 18:09:48 +00:00
Roger Riggs
a7915bb2e1 8346468: SM cleanup of common test library
Reviewed-by: jpai, dfuchs
2025-01-13 16:43:44 +00:00
Alexey Ivanov
f67b703625 8347427: JTabbedPane/8134116/Bug8134116.java has no license header
Reviewed-by: dmarkov, honkar, abhiscxk
2025-01-13 16:13:30 +00:00
Christian Hagedorn
062f2dcfe5 8347554: [BACKOUT] C2: implement optimization for series of Add of unique value
Reviewed-by: thartmann
2025-01-13 14:19:43 +00:00
Julian Waters
a289bcfe7e 8306579: Consider building with /Zc:throwingNew
Reviewed-by: ihse, kbarrett
2025-01-13 14:02:41 +00:00
Zhengyu Gu
cede30416f 8347482: Remove unused field in ParkEvent
Reviewed-by: dholmes
2025-01-13 13:50:05 +00:00
Weijun Wang
fa5ff82eb3 8342062: Reformat keytool and jarsigner output for keys with a named parameter set
Reviewed-by: mullan
2025-01-13 13:43:52 +00:00
Coleen Phillimore
cc19897202 8293123: Fix various include file ordering
Reviewed-by: dholmes, stefank
2025-01-13 13:14:15 +00:00
Coleen Phillimore
6e43f48fcf 8346929: runtime/ClassUnload/DictionaryDependsTest.java fails with "Test failed: should be unloaded"
Reviewed-by: dholmes, ccheung
2025-01-13 12:50:13 +00:00
Magnus Ihse Bursie
c885e59cfa 8346377: Properly support static builds for Windows
Reviewed-by: erikj
2025-01-13 12:25:10 +00:00
Daniel Fuchs
06126361db 8347373: HTTP/2 flow control checks may count unprocessed data twice
Reviewed-by: jpai
2025-01-13 12:05:44 +00:00
Viktor Klang
450636ae28 8347274: Gatherers.mapConcurrent exhibits undesired behavior under variable delays, interruption, and finishing
Reviewed-by: alanb
2025-01-13 10:38:02 +00:00
Tobias Hartmann
82e2a79122 8347006: LoadRangeNode floats above array guard in arraycopy intrinsic
Reviewed-by: roland, qamai, kvn
2025-01-13 09:49:16 +00:00
Severin Gehwolf
85ed78c063 8345185: Update jpackage to not include service bindings by default
Reviewed-by: asemenyuk
2025-01-13 09:26:31 +00:00
Daniel Jeliński
3b9732edc6 8345471: Clean up compiler/intrinsics/sha/cli tests
Reviewed-by: kvn
2025-01-13 08:13:57 +00:00
Christian Hagedorn
ed0b555627 8344035: Replace predicate walking code in Loop Unswitching with a predicate visitor
Reviewed-by: roland, kvn
2025-01-13 08:09:08 +00:00
Damon Fenacci
b37f123625 8347407: [BACKOUT] C1/C2 don't handle allocation failure properly during initialization (RuntimeStub::new_runtime_stub fatal crash)
Reviewed-by: thartmann, kvn
2025-01-13 07:59:51 +00:00
Matthias Baesken
1f7925ceb4 8347270: Remove unix_getParentPidAndTimings, unix_getChildren and unix_getCmdlineAndUserInfo
Reviewed-by: rriggs, clanger, jkern
2025-01-13 07:47:39 +00:00
Prasanta Sadhukhan
9fafd63d46 8346828: javax/swing/JScrollBar/4865918/bug4865918.java still fails in CI
Reviewed-by: abhiscxk, dnguyen
2025-01-13 05:19:14 +00:00
Simon Tooke
f04a642246 8346717: serviceability/dcmd/vm/SystemDumpMapTest.java failing on Windows with "Stack base not yet set for thread id"
Reviewed-by: lmesnik, dholmes
2025-01-12 21:39:43 +00:00
Serguei Spitsyn
3145278847 8346727: JvmtiVTMSTransitionDisabler deadlock
Reviewed-by: cjplummer, lmesnik
2025-01-11 07:07:27 +00:00
Serguei Spitsyn
761774a120 8346143: add ClearAllFramePops function to speedup debugger single stepping in some cases
Reviewed-by: cjplummer, amenkov
2025-01-10 23:49:03 +00:00
Chen Liang
6f1f2f2537 8347063: Add comments in ClassFileFormatVersion for class file format evolution history
Reviewed-by: darcy, iris
2025-01-10 21:23:50 +00:00
Alexey Semenyuk
10f7142dce 8347295: Fix WinResourceTest to make it work with WiX v4.0+
Reviewed-by: almatvee
2025-01-10 19:32:05 +00:00
Alexey Semenyuk
01c8ba2cde 8347298: Bug in JPackageCommand.ignoreFakeRuntime()
Reviewed-by: almatvee
2025-01-10 19:31:48 +00:00
Alexey Semenyuk
d69463e4bc 8347300: Don't exclude the "PATH" var from the environment when running app launchers in jpackage tests
Reviewed-by: almatvee
2025-01-10 19:30:27 +00:00
Brian Burkhalter
4b554b52e6 8346722: (fs) Files.probeContentType throws ClassCastException with custom file system provider
Reviewed-by: alanb
2025-01-10 18:50:40 +00:00
Magnus Ihse Bursie
46ba515c49 8346669: Increase abstraction in SetupBuildLauncher and remove extra args
Reviewed-by: erikj
2025-01-10 17:59:27 +00:00
Leonid Mesnik
e7e8f60c9b 8347302: Mark test tools/jimage/JImageToolTest.java as flagless
Reviewed-by: alanb, shade
2025-01-10 16:50:21 +00:00
Roland Westrelin
9cf7d42b65 8346184: C2: assert(has_node(i)) failed during split thru phi
Reviewed-by: thartmann, chagedorn
2025-01-10 16:47:51 +00:00
Erik Gahlin
1bf2f5c8a9 8343510: JFR: Remove AccessControlContext from FlightRecorder::addListener specification
Reviewed-by: mgronlun
2025-01-10 15:58:50 +00:00
Peter Levart
beb0e607d3 8347397: Cleanup of JDK-8169880
Reviewed-by: liach, alanb
2025-01-10 14:47:01 +00:00
Erik Joelsson
c5c4efdaa1 8347120: Launchers should not have java headers on include path
Reviewed-by: dholmes, ihse
2025-01-10 13:57:52 +00:00
Erik Gahlin
ec7393e919 8347287: JFR: Remove use of Security Manager
Reviewed-by: mgronlun
2025-01-10 13:46:57 +00:00
Kevin Walls
12752b0031 8347346: Remove redundant ClassForName.java and test.policy from runtime/Dictionary
Reviewed-by: coleenp
2025-01-10 10:51:34 +00:00
Alexey Ivanov
57af52c573 8346581: JRadioButton/ButtonGroupFocusTest.java fails in CI on Linux
Reviewed-by: honkar, dnguyen
2025-01-10 10:34:22 +00:00
Severin Gehwolf
1f457977f0 8347124: Clean tests with --enable-linkable-runtime
Reviewed-by: shade, alanb
2025-01-10 10:06:24 +00:00
Matthias Baesken
5e92a4ceaf 8347267: [macOS]: UnixOperatingSystem.c:67:40: runtime error: division by zero
Reviewed-by: kevinw, cjplummer
2025-01-10 10:02:24 +00:00
Theo Weidmann
55c6904e8f 8331717: C2: Crash with SIGFPE Because Loop Predication Wrongly Hoists Division Requiring Zero Check
Reviewed-by: chagedorn, qamai, kvn
2025-01-10 08:59:31 +00:00
Aleksey Shipilev
1a0fe49732 8347256: Epsilon: Demote heap size and AlwaysPreTouch warnings to info level
Reviewed-by: tschatzl, phh
2025-01-10 08:42:42 +00:00
Kevin Walls
8b076172a5 8347345: Remove redundant test policy file from ModelMBeanInfoSupport directory
Reviewed-by: rriggs, sspitsyn
2025-01-10 07:59:26 +00:00
SendaoYan
f6492aa634 8347279: Problemlist TestEvilSyncBug.java#generational
Reviewed-by: tschatzl, wkemper
2025-01-10 01:38:18 +00:00
Henry Jen
0210a63d3b 8347379: Problem list failed tests after JDK-8321413
Reviewed-by: dholmes
2025-01-10 00:53:58 +00:00
Fei Yang
a9351dfec9 8346787: Fix two C2 IR matching tests for RISC-V
Reviewed-by: fjiang, mli, dfenacci
2025-01-10 00:26:38 +00:00
Liming Liu
89ee1a5517 8343978: Update the default value of CodeEntryAlignment for Ampere-1A and 1B
Reviewed-by: dlong, kvn
2025-01-09 23:38:20 +00:00
Matias Saavedra Silva
931914af76 8340631: assert(reserved_rgn->contain_region(base_addr, size)) failed: Reserved CDS region should contain this mapping region
Reviewed-by: iklam, jsjolen, stefank
2025-01-09 22:06:37 +00:00
Alisen Chung
665c39c931 8347375: Extra <p> tag in robot specification
Reviewed-by: kbarrett
2025-01-09 21:51:51 +00:00
Hannes Wallnöfer
b335ea9296 8347122: Add missing @serial tags to module java.desktop
Reviewed-by: prr
2025-01-09 21:37:36 +00:00
Alisen Chung
df28cec6e9 8345144: Robot does not specify all causes of IllegalThreadStateException
Reviewed-by: prr
2025-01-09 20:47:22 +00:00
Harshitha Onkar
9f3c5f9536 8344907: NullPointerException in Win32ShellFolder2.getSystemIcon when "icon" is null
Reviewed-by: aivanov, kizune
2025-01-09 18:22:33 +00:00
Henry Jen
22f70a742a 8321413: IllegalArgumentException: Code length outside the allowed range while creating a jlink image
Reviewed-by: mchung
2025-01-09 17:36:15 +00:00
Sean Mullan
3bfa9521d5 8283795: Add TLSv1.3 and CNSA 1.0 algorithms to implementation requirements
Reviewed-by: jnimeh
2025-01-09 17:34:20 +00:00
Brian Burkhalter
1ef77cdd51 8347171: (dc) java/nio/channels/DatagramChannel/InterruptibleOrNot.java fails with virtual thread factory
Reviewed-by: alanb, lmesnik
2025-01-09 15:26:38 +00:00
Jaikiran Pai
72f1114909 8346705: SNI not sent with Java 22+ using java.net.http.HttpClient.Builder#sslParameters
Reviewed-by: dfuchs, michaelm
2025-01-09 14:58:12 +00:00
Archie Cobbs
cb9a98b31a 8347141: Several javac tests compile with an unnecessary -Xlint:-path flag
Reviewed-by: vromero, darcy
2025-01-09 14:46:13 +00:00
Joachim Kern
f9b11332ec 8346880: [aix] java/lang/ProcessHandle/InfoTest.java still fails: "reported cputime less than expected"
Reviewed-by: mdoerr, clanger, mbaesken
2025-01-09 14:24:12 +00:00
Andrey Turbanov
9c72dedd07 8346036: Unnecessary Hashtable usage in javax.swing.text.html.parser.Entity
Reviewed-by: aivanov, azvegint
2025-01-09 12:47:47 +00:00
Joakim Nordström
3024a7384f 8345782: Refining the cases that libjsig deprecation warning is issued
Reviewed-by: dholmes, kevinw
2025-01-09 12:41:52 +00:00
Serguei Spitsyn
2801bc6bf3 8346460: NotifyFramePop should return JVMTI_ERROR_DUPLICATE
Reviewed-by: cjplummer, amenkov
2025-01-09 12:02:25 +00:00
Hannes Wallnöfer
ceae2b977d 8347121: Add missing @serial tags to module java.base
Reviewed-by: alanb
2025-01-09 11:49:18 +00:00
Fei Yang
8c87ea2bdf 8346478: RISC-V: Refactor add/sub assembler routines
Reviewed-by: fjiang, rehn, gcao
2025-01-09 11:36:40 +00:00
Robbin Ehn
765b9e606b 8346706: RISC-V: Add available registers to hs_err
Reviewed-by: mli, fyang, ihse
2025-01-09 11:25:37 +00:00
Aleksey Shipilev
d66737ea1c 8341097: GHA: Demote Mac x86 jobs to build only
Reviewed-by: kbarrett, prr, ihse
2025-01-09 10:18:08 +00:00
Aleksey Shipilev
dff5719e6f 8347126: gc/stress/TestStressG1Uncommit.java gets OOM-killed
Reviewed-by: tschatzl, gli
2025-01-09 09:49:14 +00:00
Matthias Baesken
82e16ba248 8347268: [ubsan] logOutput.cpp:357:21: runtime error: applying non-zero offset 1 to null pointer
Reviewed-by: dholmes
2025-01-09 08:32:09 +00:00
Ramkumar Sunderbabu
33f9be8de7 8347083: Incomplete logging in nsk/jvmti/ResourceExhausted/resexhausted00* tests
Reviewed-by: dholmes, sspitsyn, lmesnik
2025-01-09 07:50:42 +00:00
Dmitry Markov
8eddf67c82 8346887: DrawFocusRect() may cause an assertion failure
Reviewed-by: aivanov, prr
2025-01-09 06:58:31 +00:00
Abhishek Kumar
a46ae7031e 8339728: [Accessibility,Windows,JAWS] Bug in the getKeyChar method of the AccessBridge class
Reviewed-by: aivanov, psadhukhan, kizune
2025-01-09 04:11:54 +00:00
Alexey Semenyuk
97dd06ce0a 8347299: Add annotations to test cases in LicenseTest
Reviewed-by: almatvee
2025-01-09 03:42:47 +00:00
Alexey Semenyuk
0a35ebfd57 8347297: Skip the RuntimeImageSymbolicLinksTest test on Windows when it is executed outside of the jtreg
Reviewed-by: almatvee
2025-01-09 03:35:31 +00:00
Alexey Semenyuk
b3e8736091 8347296: WinInstallerUiTest fails in local test runs if the path to test work directory is longer that regular
Reviewed-by: almatvee
2025-01-09 03:33:21 +00:00
Qizheng Xing
1ade96b808 8347042: Remove an extra parenthesis in macro definition in jfrTraceIdMacros.hpp
Reviewed-by: mgronlun, fyang
2025-01-09 02:24:25 +00:00
Weijun Wang
db7fa6a2c6 8347289: HKDF delayed provider selection failed with non-extractable PRK
Reviewed-by: valeriep
2025-01-09 01:21:00 +00:00
Chris Plummer
0a5ef827b0 8347162: Update problemlist CR for vmTestbase/nsk/jdi/VMOutOfMemoryException
Reviewed-by: kevinw, amenkov
2025-01-08 22:52:13 +00:00
Patricio Chilano Mateo
ea49537726 8310340: assert(_thread->is_interp_only_mode() || stub_caller) failed: expected a stub-caller
Reviewed-by: dholmes, amenkov, sspitsyn
2025-01-08 21:51:02 +00:00
Brian Burkhalter
2e00816ac3 8346671: java/nio/file/Files/probeContentType/Basic.java fails on Windows 2025
Reviewed-by: jpai
2025-01-08 20:46:57 +00:00
Leonid Mesnik
88fa3b2fe9 8346998: Test nsk/jvmti/ResourceExhausted/resexhausted003 fails with java.lang.OutOfMemoryError when CDS is off
Reviewed-by: dholmes, sspitsyn
2025-01-08 20:14:59 +00:00
Coleen Phillimore
6ee2bd2f33 8347147: [REDO] AccessFlags can be u2 in metadata
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: vlivanov, yzheng
2025-01-08 19:48:25 +00:00
Calvin Cheung
a641932427 8346310: Duplicate !HAS_PENDING_EXCEPTION check in DynamicArchive::dump_at_exit
Reviewed-by: dholmes
2025-01-08 17:07:54 +00:00
Naoto Sato
49ee4df375 8166983: Remove old/legacy unused tzdata files
Reviewed-by: iris, rriggs
2025-01-08 16:48:44 +00:00
Erik Gahlin
3fe08186b1 8346099: JFR: Query for 'jfr view' can't handle wildcard with multiple event types
Reviewed-by: mgronlun
2025-01-08 16:03:40 +00:00
Erik Gahlin
55bcf4c054 8346047: JFR: Incorrect percentile value in 'jfr view'
Reviewed-by: mgronlun
2025-01-08 15:53:22 +00:00
Yagmur Eren
ae3fc46456 8345580: Remove const from Node::_idx which is modified
Reviewed-by: epeter, qamai
2025-01-08 15:14:14 +00:00
Alexey Semenyuk
4d18e5a1e2 8346872: tools/jpackage/windows/WinLongPathTest.java fails
Reviewed-by: almatvee, mbaesken
2025-01-08 14:44:10 +00:00
Erik Gahlin
92ad8a1d96 8346052: JFR: Incorrect average value in 'jfr view'
Reviewed-by: mgronlun
2025-01-08 14:40:13 +00:00
Erik Gahlin
672c413c61 8345337: JFR: jfr view should display all direct subfields for an event type
Reviewed-by: mgronlun
2025-01-08 12:44:53 +00:00
Chen Liang
afe543414f 8347163: Javadoc error in ConstantPoolBuilder after JDK-8342468
Reviewed-by: jpai, shade
2025-01-08 10:56:48 +00:00
Severin Gehwolf
f696d9c521 8346239: Improve memory efficiency of JimageDiffGenerator
Reviewed-by: mbaesken
2025-01-08 10:39:13 +00:00
Fredrik Bredberg
cbabc04515 8332506: SIGFPE In ObjectSynchronizer::is_async_deflation_needed()
Reviewed-by: coleenp, dholmes
2025-01-08 09:50:35 +00:00
Albert Mingkun Yang
98724219a8 8347094: Inline CollectedHeap::increment_total_full_collections
Reviewed-by: stefank, eosterlund, gli
2025-01-08 09:45:08 +00:00
Shaojin Wen
b741f3fe5b 8343629: More MergeStore benchmark
Reviewed-by: epeter
2025-01-08 09:40:17 +00:00
Per Minborg
b0c935c03e 8347047: Cleanup action passed to MemorySegment::reinterpret keeps old segment alive
Reviewed-by: mcimadamore
2025-01-08 08:44:22 +00:00
Chen Liang
bcefab5e55 8342468: Improve API documentation for java.lang.classfile.constantpool
Reviewed-by: asotona
2025-01-08 03:37:28 +00:00
Taizo Kurashige
40f0a398fa 8343342: java/io/File/GetXSpace.java fails on Windows with CD-ROM drive
Reviewed-by: bpb, aturbanov
2025-01-08 01:15:44 +00:00
David Holmes
021c476409 8347148: [BACKOUT] AccessFlags can be u2 in metadata
Reviewed-by: coleenp
2025-01-08 00:37:27 +00:00
Coleen Phillimore
ddb5881964 8329549: Remove FORMAT64_MODIFIER
Reviewed-by: dholmes, kbarrett
2025-01-07 23:14:04 +00:00
Coleen Phillimore
098afc8b7d 8339113: AccessFlags can be u2 in metadata
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: sspitsyn, vlivanov, yzheng, dlong, dholmes
2025-01-07 22:03:38 +00:00
Aleksey Shipilev
e413fc643c 8347127: CTW fails to build after JDK-8334733
Reviewed-by: kvn, epeter
2025-01-07 19:34:12 +00:00
Naoto Sato
9702accdd9 8175709: DateTimeFormatterBuilder.appendZoneId() has misleading JavaDoc
Reviewed-by: rriggs
2025-01-07 17:40:01 +00:00
Renjith Kannath Pariyangad
030149fec4 8334644: Automate javax/print/attribute/PageRangesException.java
Reviewed-by: aivanov, abhiscxk, azvegint
2025-01-07 16:54:04 +00:00
Per Minborg
c8a9dd3a02 8346609: Improve MemorySegment.toString
Reviewed-by: mcimadamore
2025-01-07 15:18:02 +00:00
SendaoYan
4d8fb80732 8347038: [JMH] jdk.incubator.vector.SpiltReplicate fails NoClassDefFoundError
Reviewed-by: psandoz
2025-01-07 15:08:24 +00:00
SendaoYan
cf3e48e771 8346965: Multiple compiler/ciReplay test fails with -XX:+SegmentedCodeCache
Reviewed-by: kvn
2025-01-07 15:07:00 +00:00
Tobias Holenstein
e5f0c19084 8345041: IGV: Free Placement Mode in IGV Layout
Reviewed-by: chagedorn, epeter, rcastanedalo
2025-01-07 14:30:05 +00:00
Joachim Kern
8b22517cb0 8211851: (ch) java/nio/channels/AsynchronousSocketChannel/StressLoopback.java times out (aix)
Reviewed-by: mdoerr, varadam
2025-01-07 13:54:09 +00:00
Jaikiran Pai
5e6cda4799 8347000: Bug in com/sun/net/httpserver/bugs/B6361557.java test
Reviewed-by: msheppar, michaelm
2025-01-07 12:32:31 +00:00
Fei Yang
3f7052ed7a 8346868: RISC-V: compiler/sharedstubs tests fail after JDK-8332689
Reviewed-by: rehn, mli
2025-01-07 10:54:52 +00:00
Alan Bateman
f1196638b3 8346573: Can't use custom default file system provider with custom system class loader
Reviewed-by: mkartashev, bpb
2025-01-07 10:34:18 +00:00
Fei Yang
379ac349d1 8346838: RISC-V: runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java crash with debug VMs
Reviewed-by: fjiang, rehn
2025-01-07 10:32:11 +00:00
Matthias Baesken
0285020c7e 8345676: [ubsan] ProcessImpl_md.c:561:40: runtime error: applying zero offset to null pointer on macOS aarch64
Reviewed-by: rriggs
2025-01-07 08:15:12 +00:00
Matthias Baesken
0a81676fae 8346881: [ubsan] logSelection.cpp:154:24 / logSelectionList.cpp:72:94 : runtime error: applying non-zero offset 1 to null pointer
Reviewed-by: clanger, mdoerr, dholmes, syan, amitkumar
2025-01-07 08:10:28 +00:00
Emanuel Peter
08debd335e 8346993: C2 SuperWord: refactor to make more vector nodes available in VectorNode::make
Reviewed-by: chagedorn, kvn
2025-01-07 06:15:48 +00:00
Fei Yang
de0250368e 8346832: runtime/CompressedOops/CompressedCPUSpecificClassSpaceReservation.java fails on RISC-V
Reviewed-by: stuefe, fjiang
2025-01-07 03:39:50 +00:00
Archie Cobbs
27646e5516 8344148: Add an explicit compiler phase for warning generation
Reviewed-by: vromero
2025-01-06 18:37:19 +00:00
Calvin Cheung
8d388ccd9e 8346457: AOT cache creation crashes with "assert(pair_at(i).match() < pair_at(i+1).match()) failed: unsorted table entries"
Reviewed-by: iklam, dholmes
2025-01-06 17:59:10 +00:00
Brian Burkhalter
d723597dd9 8345432: (ch, fs) Replace anonymous Thread with InnocuousThread
Reviewed-by: alanb
2025-01-06 17:47:10 +00:00
Archie Cobbs
9c393a243d 8346953: Remove unnecessary @SuppressWarnings annotations (client, #2)
Reviewed-by: azvegint
2025-01-06 17:24:23 +00:00
Naoto Sato
9a60f4457b 8345668: ZoneOffset.ofTotalSeconds performance regression
Reviewed-by: rriggs, aturbanov
2025-01-06 17:04:07 +00:00
Aleksey Shipilev
12700cb81b 8346264: "Total compile time" counter should include time spent in failing/bailout compiles
Reviewed-by: kvn, mli
2025-01-06 15:36:28 +00:00
Archie Cobbs
dd81f8dcf5 8344079: Minor fixes and cleanups to compiler lint-related code
Reviewed-by: mcimadamore
2025-01-06 15:28:36 +00:00
Adam Sotona
ccf3d57ebc 8346985: Convert test/jdk/com/sun/jdi/ClassUnloadEventTest.java to Class-File API
Reviewed-by: liach
2025-01-06 14:10:34 +00:00
Adam Sotona
594e519648 8346984: Remove ASM-based benchmarks from Class-File API benchmarks
Reviewed-by: liach, redestad, erikj
2025-01-06 14:10:19 +00:00
Adam Sotona
c027f2ed1d 8346983: Remove ASM-based transforms from Class-File API tests
Reviewed-by: liach
2025-01-06 14:08:45 +00:00
Adam Sotona
e0695e0ef0 8346981: Remove obsolete java.base exports of jdk.internal.objectweb.asm packages
Reviewed-by: liach, alanb
2025-01-06 14:08:32 +00:00
Zhengyu Gu
dfaa89162a 8346569: Shenandoah: Worker initializes ShenandoahThreadLocalData twice results in memory leak
Reviewed-by: wkemper, shade
2025-01-06 13:44:35 +00:00
Qizheng Xing
f1d85ab3e6 8346773: Fix unmatched brackets in some misc files
Reviewed-by: kbarrett, alanb, rriggs, dholmes, erikj, liach
2025-01-06 06:23:53 +00:00
Prasanta Sadhukhan
9393897817 8346260: Test "javax/swing/JOptionPane/bug4174551.java" failed because the font size of message "Hi 24" is not set to 24 in Nimbus LookAndFeel
Reviewed-by: aivanov, dnguyen
2025-01-06 06:01:24 +00:00
Gui Cao
e98f412663 8346922: TestVectorReinterpret.java fails without the rvv extension on RISCV fastdebug VM
Reviewed-by: fyang, kvn
2025-01-06 03:36:00 +00:00
Gui Cao
ca5390c4d9 8346924: TestVectorizationNegativeScale.java fails without the rvv extension on RISCV fastdebug VM
Reviewed-by: fyang, kvn
2025-01-06 03:35:46 +00:00
Albert Mingkun Yang
07c9f7138a 8346921: Remove unused arg in markWord::must_be_preserved
Reviewed-by: kbarrett, tschatzl
2025-01-03 11:46:34 +00:00
Daniel Skantz
84e6432bb7 8346288: WB_IsIntrinsicAvailable fails if called with wrong compilation level
Reviewed-by: kvn, rcastanedalo
2025-01-02 22:13:14 +00:00
Volkan Yazıcı
a77ed30fcc 8336412: sun.net.www.MimeTable has a few unused methods
Reviewed-by: jpai
2025-01-02 09:19:58 +00:00
SendaoYan
e769b53614 8346193: CrashGCForDumpingJavaThread do not trigger expected crash build with clang17
Reviewed-by: kbarrett, amitkumar
2025-01-02 09:10:03 +00:00
Kim Barrett
a87bc7e4f0 8345374: Ubsan: runtime error: division by zero
Reviewed-by: jwaters, ayang, amitkumar
2025-01-02 08:11:55 +00:00
Volker Simonis
d3abf01c3e 8346101: [JVMCI] Export jdk.internal.misc to jdk.graal.compiler
Reviewed-by: dnsimon, phh
2025-01-01 17:20:27 +00:00
Jaikiran Pai
24c5ff7ba5 8346871: Improve robustness of java/util/zip/EntryCount64k.java test
Reviewed-by: lancea
2024-12-30 00:53:15 +00:00
Jaikiran Pai
bd0fde71d9 8302293: jar --create fails with IllegalArgumentException if archive name is shorter than 3 characters
Reviewed-by: lancea
2024-12-29 08:37:25 +00:00
Qizheng Xing
79958470e0 8346831: Remove the extra closing parenthesis in CTW Makefile
Reviewed-by: liach, kbarrett, lmesnik, jwaters
2024-12-29 08:32:38 +00:00
GennadiyKrivoshein
b3e63631c7 8343224: print/Dialog/PaperSizeError.java fails with MediaSizeName is not A4: A4
Reviewed-by: azvegint, alexsch, psadhukhan, achung
2024-12-28 20:48:57 +00:00
Matthias Baesken
60e0730a3b 8346712: Remove com/sun/net/httpserver/TcpNoDelayNotRequired.java test
Reviewed-by: djelinski, lucy, jpai
2024-12-28 15:45:26 +00:00
Amit Kumar
807f6f7fb8 8346847: [s390x] minimal build failure
Reviewed-by: stuefe
2024-12-27 10:05:41 +00:00
SendaoYan
6c59185475 8345757: [ASAN] clang17 report 'dprintf' macro redefined
Reviewed-by: kbarrett, valeriep
2024-12-25 01:27:35 +00:00
Phil Race
4fc445d12b 8346829: Problem list com/sun/jdi/ReattachStressTest.java & ProcessAttachTest.java on Linux
Reviewed-by: lmesnik
2024-12-25 00:40:18 +00:00
Nizar Benalla
1a32654faf 8346295: Update --release 24 symbol information for JDK 24 build 29
Reviewed-by: liach
2024-12-24 18:23:14 +00:00
Swati Sharma
62a4544bb7 8205051: Poor Performance with UseNUMA when cpu and memory nodes are misaligned
Co-authored-by: Derek White <drwhite@openjdk.org>
Reviewed-by: sjohanss, tschatzl
2024-12-23 19:16:18 +00:00
Bradford Wetmore
68c6623d38 8345840: Add missing TLS handshake messages to SSLHandshake.java
Reviewed-by: jnimeh
2024-12-23 19:05:07 +00:00
Nizar Benalla
ed292318a9 8337111: Bad HTML checker for generated documentation
8337113: Bad character checker for generated documentation
8337116: Internal links checker for generated documentation
8337114: DocType checker for generated documentation

Reviewed-by: hannesw
2024-12-23 13:50:39 +00:00
David Holmes
cd15ebb963 8346477: Clarify the Java manpage in relation to the JVM's OnOutOfMemoryError flags
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: jpai, stuefe
2024-12-23 11:56:24 +00:00
SendaoYan
bffa77bc04 8346714: [ASAN] compressedKlass.cpp reported applying non-zero offset to null pointer
Reviewed-by: mdoerr, coleenp
2024-12-23 11:27:12 +00:00
Qizheng Xing
c1b868d27d 8346602: Remove unused macro parameters in jni.cpp
Reviewed-by: dholmes, mli
2024-12-22 20:53:21 +00:00
Jan Kratochvil
43b7e9f547 8346713: [testsuite] NeverActAsServerClassMachine breaks TestPLABAdaptToMinTLABSize.java TestPinnedHumongousFragmentation.java TestPinnedObjectContents.java
Reviewed-by: stefank, tschatzl
2024-12-21 03:40:48 +00:00
William Kemper
249f141211 8346737: GenShen: Generational memory pools should not report zero for maximum capacity
Reviewed-by: kdnilsen, ysr
2024-12-20 23:51:49 +00:00
Liam Miller-Cushon
d562d3c7a9 8343882: BasicAnnoTests doesn't handle multiple annotations at the same position
Reviewed-by: darcy
2024-12-20 20:52:48 +00:00
Mandy Chung
7ba969a576 8346739: jpackage tests failed after JDK-8345259
Reviewed-by: kcr, asemenyuk
2024-12-20 20:08:42 +00:00
William Kemper
b8e40b9c2d 8346688: GenShen: Missing metadata trigger log message
Reviewed-by: ysr, kdnilsen
2024-12-20 17:32:33 +00:00
William Kemper
d2a48634b8 8346690: Shenandoah: Fix log message for end of GC usage report
Reviewed-by: ysr, kdnilsen
2024-12-20 17:30:17 +00:00
Severin Gehwolf
bcb1bdaae7 8345259: Disallow ALL-MODULE-PATH without explicit --module-path
Reviewed-by: mchung
2024-12-20 12:35:35 +00:00
Nizar Benalla
054c644ea6 8346667: Doccheck: warning about missing </span> before <h2>
Reviewed-by: psandoz
2024-12-20 10:17:21 +00:00
Nizar Benalla
2a68f74188 8346128: Comparison build fails due to difference in LabelTarget.html
Reviewed-by: jlahoda, liach, prappo
2024-12-20 10:16:04 +00:00
Evgeny Nikitin
cf28fd4cbc 8322983: Virtual Threads: exclude 2 tests
Reviewed-by: jpai, lmesnik, syan
2024-12-20 08:24:18 +00:00
Matthias Baesken
85e024d92d 8346605: AIX fastdebug build fails in memoryReserver.cpp after JDK-8345655
Reviewed-by: stefank, lucy, mdoerr
2024-12-20 07:45:40 +00:00
liyazzi
54f34750ed 8331467: FileSystems.getDefault fails with ClassNotFoundException if custom default provider is in run-time image
Reviewed-by: alanb, jpai
2024-12-20 07:05:42 +00:00
Emanuel Peter
35fafbc597 8346106: Verify.checkEQ: testing utility for recursive value verification
Reviewed-by: kvn, tweidmann
2024-12-20 06:52:22 +00:00
Weijun Wang
b2811a0ccd 8340493: Fix some Asserts failure messages
Reviewed-by: valeriep, djelinski
2024-12-19 21:35:55 +00:00
Brian Burkhalter
4d77dbad4e 8346576: Remove vmTestbase/gc/memory/Nio/Nio.java from test/hotspot/jtreg/ProblemList.txt
Reviewed-by: alanb, jpai, mli
2024-12-19 16:16:58 +00:00
Roland Westrelin
2649a97332 8332827: [REDO] C2: crash in compiled code because of dependency on removed range check CastIIs
Reviewed-by: epeter, chagedorn
2024-12-19 16:09:41 +00:00
Kim Barrett
2344a1a917 8345732: Provide helpers for using PartialArrayState
Reviewed-by: tschatzl, ayang, zgu, iwalulya
2024-12-19 16:00:59 +00:00
Patricio Chilano Mateo
572ce269d0 8345266: java/util/concurrent/locks/StampedLock/OOMEInStampedLock.java JTREG_TEST_THREAD_FACTORY=Virtual fails with OOME
Reviewed-by: dholmes, alanb, coleenp
2024-12-19 14:45:27 +00:00
Matthew Donovan
f6e7713bb6 8339356: Test javax/net/ssl/SSLSocket/Tls13PacketSize.java failed with java.net.SocketException: An established connection was aborted by the software in your host machine
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Reviewed-by: djelinski
2024-12-19 13:19:56 +00:00
Alan Bateman
23d6f74782 8346463: Add test coverage for deploying the default provider as a module
Reviewed-by: bpb
2024-12-19 07:58:26 +00:00
David Holmes
484229e04b 8346306: Unattached thread can cause crash during VM exit if it calls wait_if_vm_exited
Reviewed-by: coleenp, ccheung
2024-12-19 02:48:06 +00:00
Simon Tooke
b0c40aadd2 8340401: DcmdMBeanPermissionsTest.java and SystemDumpMapTest.java fail with assert(_stack_base != nullptr) failed: Sanity check
Reviewed-by: dholmes, stuefe, kevinw
2024-12-19 02:12:02 +00:00
Fei Yang
6b89954c65 8346475: RISC-V: Small improvement for MacroAssembler::ctzc_bit
Reviewed-by: mli, fjiang
2024-12-19 01:33:08 +00:00
SendaoYan
00d8407a8f 8346016: Problemlist vm/mlvm/indy/func/jvmti/mergeCP_indy2manyDiff_a in virtual thread mode
Reviewed-by: sspitsyn
2024-12-19 01:28:21 +00:00
Calvin Cheung
5db0a13863 8346132: fallbacklinker.c failed compilation due to unused variable
Reviewed-by: dholmes, jvernee
2024-12-18 21:56:03 +00:00
Roger Riggs
55906692e1 8346570: SM cleanup of tests for Beans and Serialization
Reviewed-by: lancea, prr
2024-12-18 21:06:10 +00:00
Quan Anh Mai
c8e94abfc3 8346532: XXXVector::rearrangeTemplate misses null check
Reviewed-by: psandoz
2024-12-18 18:32:05 +00:00
Naoto Sato
f7f2b42e10 8346300: Add @Test annotation to TCKZoneId.test_constant_OLD_IDS_POST_2024b test
Reviewed-by: lancea, rriggs
2024-12-18 17:28:00 +00:00
Prasanta Sadhukhan
a0b7c4f015 8346324: javax/swing/JScrollBar/4865918/bug4865918.java fails in CI
Reviewed-by: aivanov, abhiscxk
2024-12-18 14:54:41 +00:00
Magnus Ihse Bursie
8efc5585b7 8346378: Cannot use DllMain in libnet for static builds
Reviewed-by: djelinski
2024-12-18 12:09:32 +00:00
Stefan Karlsson
73b5dbaec3 8345655: Move reservation code out of ReservedSpace
Reviewed-by: azafari, jsjolen
2024-12-18 10:19:13 +00:00
Jan Lahoda
d50b725ac0 8344647: Make java.se participate in the preview language feature requires transitive java.base
Reviewed-by: asotona, darcy
2024-12-18 09:58:40 +00:00
Volkan Yazıcı
9e8aa855fe 8346017: Socket.connect specified to throw UHE for unresolved address is problematic for SOCKS V5 proxy
Reviewed-by: dfuchs, alanb
2024-12-18 09:43:06 +00:00
jeremy
5b703c7023 8342782: AWTEventMulticaster throws StackOverflowError using AquaButtonUI
Reviewed-by: kizune, prr, lbourges
2024-12-18 09:29:27 +00:00
Roberto Castañeda Lozano
edbd76c624 8344951: Stabilize write barrier micro-benchmarks
Reviewed-by: kvn, tschatzl
2024-12-18 07:50:37 +00:00
SendaoYan
842f801c84 8339331: GCC fortify error in vm_version_linux_aarch64.cpp
Reviewed-by: dholmes
2024-12-18 06:35:28 +00:00
David Holmes
453310918b 8345911: Enhance error message when IncompatibleClassChangeError is thrown for sealed class loading failures
Reviewed-by: coleenp, alanb
2024-12-18 04:15:57 +00:00
David Holmes
ea50c54a14 8321818: vmTestbase/nsk/stress/strace/strace015.java failed with 'Cannot read the array length because "<local4>" is null'
Reviewed-by: lmesnik, mli
2024-12-18 01:47:44 +00:00
Alex Menkov
c0f0b8e5f4 8346151: Add transformer error logging to VerifyLocalVariableTableOnRetransformTest
Reviewed-by: cjplummer, sspitsyn
2024-12-17 21:02:45 +00:00
Magnus Ihse Bursie
f3e2f8821a 8346394: Bundled freetype library needs to have JNI_OnLoad for static builds
Reviewed-by: erikj, prr
2024-12-17 19:09:29 +00:00
Chris Plummer
414eb6bb83 8338714: vmTestbase/nsk/jdb/kill/kill001/kill001.java fails with JTREG_TEST_THREAD_FACTORY=Virtual
Reviewed-by: sspitsyn, dholmes
2024-12-17 19:06:07 +00:00
Alex Menkov
dc71e8cae9 8342995: Enhance Attach API to support arbitrary length arguments - Linux
Reviewed-by: sspitsyn, kevinw
2024-12-17 18:50:02 +00:00
Vladimir Ivanov
4f44cf6bf2 8341481: [perf] vframeStreamCommon constructor may be optimized
Reviewed-by: sspitsyn
2024-12-17 17:00:53 +00:00
Leonid Mesnik
390b20537d 8346048: test/lib/containers/docker/DockerRunOptions.java uses addJavaOpts() from ctor
Reviewed-by: dholmes
2024-12-17 16:44:14 +00:00
Magnus Ihse Bursie
03821d979b 8346195: Fix static initialization problem in GDIHashtable
Reviewed-by: jwaters, prr
2024-12-17 15:48:38 +00:00
Jan Kratochvil
a5503fb6fa 8346432: java.lang.foreign.Linker comment typo
Reviewed-by: jvernee
2024-12-17 14:58:21 +00:00
Coleen Phillimore
fbd76ca8ed 8337016: serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java gets Metaspace OOM
Reviewed-by: dholmes, sspitsyn
2024-12-17 13:00:19 +00:00
Coleen Phillimore
baeb3d9ab8 8346304: SA doesn't need a copy of getModifierFlags
Reviewed-by: sspitsyn, cjplummer
2024-12-17 12:37:05 +00:00
Jan Lahoda
99af595fe0 8345942: Separate source output from class output when building microbenchmarks
Reviewed-by: shade, erikj
2024-12-17 12:32:13 +00:00
Doug Simon
8a64595448 8346282: [JVMCI] Add failure reason support to UnresolvedJava/Type/Method/Field
Reviewed-by: never, yzheng
2024-12-17 12:11:55 +00:00
Jaikiran Pai
725079bf68 8345506: jar --validate may lead to java.nio.file.FileAlreadyExistsException
Reviewed-by: lancea
2024-12-17 10:14:28 +00:00
theoweidmannoracle
5e25c48b8b 8346289: Confusing phrasing in IR Framework README / User-defined Regexes
Reviewed-by: thartmann, chagedorn
2024-12-17 10:01:27 +00:00
Alan Bateman
fbbc7c35f4 8346120: VirtualThreadPinned event recorded for Object.wait may have wrong duration or may record second event
Reviewed-by: dholmes, pchilanomate
2024-12-17 08:30:29 +00:00
Prasanta Sadhukhan
466c00ac88 8346234: javax/swing/text/DefaultEditorKit/4278839/bug4278839.java still fails in CI
Reviewed-by: kizune
2024-12-17 07:46:53 +00:00
Christian Stein
bd3c0be36d 8268611: jar --validate should check targeted classes in MR-JAR files
Reviewed-by: jvernee
2024-12-17 07:16:12 +00:00
Archie Cobbs
87804f24b2 8346294: Invalid lint category specified in compiler.properties
Reviewed-by: mcimadamore
2024-12-17 03:18:25 +00:00
Zhao Song
18d1d61116 8346046: Enable copyright header format check
Reviewed-by: erikj, iris, dholmes
2024-12-17 00:22:54 +00:00
Fei Yang
a7631ccf18 8346235: RISC-V: Optimize bitwise AND with mask values
Reviewed-by: gcao, rehn, fjiang
2024-12-17 00:12:39 +00:00
Fei Yang
929d4a5099 8346231: RISC-V: Fix incorrect assertion in SharedRuntime::generate_handler_blob
Reviewed-by: fjiang, rehn
2024-12-17 00:02:24 +00:00
Magnus Ihse Bursie
3030230915 8346278: Clean up some flag handing in flags-cflags.m4
Reviewed-by: erikj
2024-12-16 21:26:51 +00:00
Justin Lu
fd0207d593 8345327: JDK 24 RDP1 L10n resource files update
Reviewed-by: naoto, dnguyen, joehw, almatvee, sgehwolf, jlahoda, prappo, asemenyuk
2024-12-16 21:00:56 +00:00
Paul Sandoz
31c3b19174 8346174: UMAX/UMIN are missing from XXXVector::reductionOperations
Reviewed-by: qamai, jbhateja
2024-12-16 18:53:05 +00:00
Matthias Baesken
c75b1d4bf6 8346082: Output JVMTI agent information in hserr files
Reviewed-by: mdoerr, dholmes, stuefe
2024-12-16 18:24:15 +00:00
Eirik Bjørsnøs
51662c2384 8346232: Remove leftovers of the jar --normalize feature
Reviewed-by: alanb, jpai
2024-12-16 18:03:21 +00:00
Coleen Phillimore
d3359417f3 8345678: compute_modifiers should not be in create_mirror
Reviewed-by: fparain, dholmes
2024-12-16 17:46:43 +00:00
Kevin Walls
57adf64ab4 8346261: Cleanup in JDP tests
Reviewed-by: cjplummer
2024-12-16 17:18:20 +00:00
Kevin Walls
23708d0166 8346257: Problemlist jdp tests for macosx-aarch64
Reviewed-by: cjplummer
2024-12-16 17:02:29 +00:00
Calvin Cheung
f8974ba718 8345838: Remove the appcds/javaldr/AnonVmClassesDuringDump.java test
Reviewed-by: iklam, dholmes
2024-12-16 16:54:31 +00:00
Matthew Donovan
e7d21fcf49 8346285: Update jarsigner compatibility test for change in default digest algorithm
Reviewed-by: weijun
2024-12-16 16:18:57 +00:00
Amit Kumar
cb92595599 8336356: [s390x] preserve Vector Register before using for string compress / expand
Reviewed-by: aph, lucy
2024-12-16 16:10:16 +00:00
Archie Cobbs
d737978924 8343477: Remove unnecessary @SuppressWarnings annotations (compiler)
Reviewed-by: darcy, mcimadamore
2024-12-16 14:52:42 +00:00
Erik Joelsson
8133eb2c28 8346150: Jib dependency on autoconf missing for 'docs' profile
Reviewed-by: jwaters, dholmes
2024-12-16 14:34:46 +00:00
Stefan Karlsson
45a329790b 8346248: serviceability/dcmd/vm/{SystemMapTest.java,SystemMapTest.java} failing on macos-aarch64
Reviewed-by: eosterlund
2024-12-16 13:43:55 +00:00
Maurizio Cimadamore
dbffe33251 8345263: Make sure that lint categories are used correctly when logging lint warnings
Reviewed-by: vromero, jlahoda
2024-12-16 10:20:13 +00:00
Christian Hagedorn
32c8195c3a 8345801: C2: Clean up include statements to speed up compilation when touching type.hpp
Reviewed-by: kvn, dlong, jwaters
2024-12-16 09:53:38 +00:00
Robbin Ehn
92860186ec 8345322: RISC-V: Add concurrent gtests for cmpxchg variants
Reviewed-by: mli, fyang
2024-12-16 09:48:12 +00:00
Hannes Wallnöfer
4fc43b0b49 8345770: javadoc: API documentation builds are not always reproducible
Reviewed-by: nbenalla, liach
2024-12-16 08:09:52 +00:00
Richard Reingruber
ee1c5ad8fe 8345975: Update SAP SE copyright year to 2024 where it was missed
Reviewed-by: mdoerr, clanger
2024-12-16 07:16:40 +00:00
Christian Hagedorn
3518b4bd20 8344171: Clone and initialize Assertion Predicates in order instead of in reverse-order
Reviewed-by: epeter, kvn
2024-12-16 06:21:22 +00:00
Kim Barrett
c88e081a6a 8346160: Fix -Wzero-as-null-pointer-constant warnings from explicit casts
Reviewed-by: stefank, dholmes
2024-12-16 04:24:39 +00:00
Lance Andersen
ab1dbd4089 8346202: Correct typo in SQLPermission
Reviewed-by: mullan, rriggs, iris
2024-12-15 17:41:52 +00:00
Leonid Mesnik
6b022bb64b 8344453: Test jdk/jfr/event/oldobject/TestSanityDefault.java timed out
Reviewed-by: egahlin
2024-12-14 19:08:19 +00:00
Simon Tooke
3b9de117e8 8319875: Add macOS implementation for jcmd System.map
Reviewed-by: stuefe, szaldana
2024-12-14 06:13:26 +00:00
Kim Barrett
ebb27c2e8f 8346139: test_memset_with_concurrent_readers.cpp should not use <sstream>
Reviewed-by: stefank, tschatzl
2024-12-14 01:48:05 +00:00
Ioi Lam
c2f0ef5f48 8346159: Disable CDS AOTClassLinking tests for JVMCI due to JDK-8345635
Reviewed-by: dnsimon, dholmes
2024-12-14 00:16:08 +00:00
Archie Cobbs
4b21fb9df9 8343467: Remove unnecessary @SuppressWarnings annotations (security)
Reviewed-by: mullan
2024-12-13 22:40:42 +00:00
Kevin Walls
e7fc0eb522 8345987: java.management has two Util.newObjectName methods (remove one)
Reviewed-by: cjplummer, amenkov, lmesnik
2024-12-13 20:39:18 +00:00
Calvin Cheung
f647d4d908 8345936: Call ClassLoader.getResourceAsByteArray only for multi-release jar
Reviewed-by: iklam, dholmes
2024-12-13 19:19:42 +00:00
William Kemper
cfa04d31dd 8346051: MemoryTest fails when Shenandoah's generational mode is enabled
Reviewed-by: lmesnik, ysr
2024-12-13 18:14:01 +00:00
William Kemper
2ce53e8848 8345970: pthread_getcpuclockid related crashes in shenandoah tests
Reviewed-by: ysr
2024-12-13 17:41:26 +00:00
Matthias Baesken
266e3d0dec 8345590: AIX 'make all' fails after JDK-8339480
Reviewed-by: clanger, jkern, mdoerr, lucy
2024-12-13 12:18:49 +00:00
Matthias Baesken
1d2ccaeaa3 8345569: [ubsan] adjustments to filemap.cpp and virtualspace.cpp for macOS aarch64
Reviewed-by: mdoerr, lucy, dholmes
2024-12-13 12:14:07 +00:00
Albert Mingkun Yang
a9a5f7cb0a 8345323: Parallel GC does not handle UseLargePages and UseNUMA gracefully
Reviewed-by: sjohanss, tschatzl
2024-12-13 11:43:32 +00:00
SendaoYan
367c304127 8346059: [ASAN] awt_LoadLibrary.c reported compile warning ignoring return value of function by clang17
Reviewed-by: ihse
2024-12-13 08:34:10 +00:00
Prasanta Sadhukhan
31ceec7cd5 8346055: javax/swing/text/StyledEditorKit/4506788/bug4506788.java fails in ubuntu22.04
Reviewed-by: tr
2024-12-13 05:50:07 +00:00
Sorna Sarathi
09c29d1d42 8346069: Add missing Classpath exception statements
Reviewed-by: amitkumar, asemenyuk, iris, kcr
2024-12-13 05:01:37 +00:00
Kim Barrett
28e49e978a 8345505: Fix -Wzero-as-null-pointer-constant warnings in zero code
Reviewed-by: dholmes
2024-12-13 04:49:11 +00:00
David Holmes
db9eab3f29 8311542: Consolidate the native stack printing code
Reviewed-by: kbarrett, jwaters
2024-12-12 23:15:48 +00:00
Weijun Wang
18e0b343ab 8344137: Update XML Security for Java to 3.0.5
Reviewed-by: mullan
2024-12-12 18:57:46 +00:00
Thomas Stuefe
e9ad27fcdc 8339313: 32-bit build broken
Reviewed-by: coleenp, mbaesken, szaldana
2024-12-12 18:53:33 +00:00
Sonia Zaldana Calles
ff85865b75 8346008: Fix recent NULL usage backsliding in Shenandoah
Reviewed-by: kbarrett, wkemper
2024-12-12 18:15:18 +00:00
Severin Gehwolf
11cd639842 8345573: Module dependencies not resolved from run-time image when --limit-module is being used
Reviewed-by: mchung
2024-12-12 17:58:05 +00:00
Kim Barrett
22845a77a2 8337995: ZUtils::fill uses std::fill_n
Reviewed-by: mli, stefank, jwaters, tschatzl
2024-12-12 14:40:04 +00:00
Hannes Wallnöfer
f71d515026 8345777: Improve sections for inherited members
Reviewed-by: prappo
2024-12-12 13:28:58 +00:00
Hannes Wallnöfer
b8bb51e1f3 8345908: Class links should be properly spaced
Reviewed-by: prappo
2024-12-12 13:14:17 +00:00
Coleen Phillimore
ef6e987a00 8346040: Zero interpreter build on Linux Aarch64 is broken
Reviewed-by: kbarrett, dholmes
2024-12-12 12:48:06 +00:00
Magnus Ihse Bursie
f7f07b94c5 8345804: Update copyright year to 2024 for langtools in files where it was missed
Reviewed-by: rgiulietti, jlahoda
2024-12-12 12:06:27 +00:00
Jan Lahoda
1bdb7b4271 8345622: test/langtools/tools/javac/annotations/parameter/ParameterAnnotations.java should set processorpath to work correctly in the agentvm mode
Reviewed-by: darcy, liach
2024-12-12 11:59:45 +00:00
Maurizio Cimadamore
0ad64234e2 8345944: JEP 492: extending local class in a different static context should not be allowed
8345953: JEP 492: instantiating local classes in a different static context should not be allowed

Reviewed-by: vromero
2024-12-12 10:49:35 +00:00
Amit Kumar
68aa4d44ff 8346063: java/lang/Thread/virtual/Starvation.java missing @requires vm.continuations
Reviewed-by: alanb, vklang
2024-12-12 10:04:09 +00:00
Amit Kumar
77e493226d 8344026: Ubsan: prevent potential integer overflow in c1_LIRGenerator_<arch>.cpp file
Reviewed-by: aph, epeter, mdoerr
2024-12-12 09:51:56 +00:00
Kevin Walls
3f2556b860 8345984: Remove redundant checkXXX methods from java.management Util class
Reviewed-by: alanb, mchung, cjplummer, sspitsyn
2024-12-12 09:16:06 +00:00
David Holmes
ceb4366ebf 8345955: Deprecate the UseOprofile flag with a view to removing the legacy oprofile support in the VM
Reviewed-by: iklam, shade
2024-12-12 07:53:38 +00:00
Saagar Jha
72c59de615 8345876: Update nativeAddAtIndex comment to match the code
Reviewed-by: azvegint, aivanov, psadhukhan, kizune
2024-12-12 03:20:42 +00:00
Quan Anh Mai
75cfb640a6 8310691: [REDO] [vectorapi] Refactor VectorShuffle implementation
Reviewed-by: psandoz, jbhateja, epeter
2024-12-12 03:08:37 +00:00
Xiaolong Peng
4da6fd4283 8345423: Shenandoah: Parallelize concurrent cleanup
Reviewed-by: ysr, kdnilsen, wkemper
2024-12-12 01:08:31 +00:00
David Holmes
ec219ae56f 8346039: [BACKOUT] - [C1] LIR Operations with one input should be implemented as LIR_Op1
Reviewed-by: kvn, mdoerr
2024-12-12 00:04:19 +00:00
Jiangli Zhou
05c5678886 8345959: Make JVM_IsStaticallyLinked JVM_LEAF
Reviewed-by: ihse
2024-12-11 23:45:49 +00:00
Magnus Ihse Bursie
64fad1c7d3 8345797: Update copyright year to 2024 for client-libs in files where it was missed
Reviewed-by: psadhukhan
2024-12-11 21:29:30 +00:00
Magnus Ihse Bursie
ddf0461788 8345799: Update copyright year to 2024 for core-libs in files where it was missed
Reviewed-by: joehw, jlu, mli, lancea, kevinw
2024-12-11 21:08:22 +00:00
Magnus Ihse Bursie
cbab40bce4 8345683: Remove special flags for files compiled for static libraries
Reviewed-by: erikj
2024-12-11 21:01:20 +00:00
Kim Barrett
08bdeedfd3 8345269: Fix -Wzero-as-null-pointer-constant warnings in ppc code
Reviewed-by: mdoerr, mbaesken
2024-12-11 19:37:01 +00:00
Andrey Turbanov
e4a34e96cd 8345616: Unnecessary Hashtable usage in javax.swing.text.html.parser.Element
Reviewed-by: aivanov, azvegint
2024-12-11 18:22:23 +00:00
Brian Burkhalter
cce5808d7a 8345421: (bf) Create specific test for temporary direct buffers and the buffer size limit
Reviewed-by: alanb
2024-12-11 17:57:22 +00:00
Ivan Šipka
cf0e1aa066 8345335: Add excluded jdk_foreign tests to manual group
Reviewed-by: jvernee
2024-12-11 16:33:44 +00:00
Quan Anh Mai
2c4567a689 8342651: Refactor array constant to use an array of jbyte
Reviewed-by: thartmann, kvn
2024-12-11 15:59:39 +00:00
theoweidmannoracle
72c6daf1b1 8346007: Incorrect copyright header in UModLNodeIdealizationTests.java
Reviewed-by: thartmann
2024-12-11 15:21:28 +00:00
Qizheng Xing
cc47918445 8345040: Clean up unused variables and code in generate_native_wrapper
Reviewed-by: mli, dfenacci, kvn
2024-12-11 15:11:46 +00:00
Stefan Karlsson
c34b87c52b 8345659: Fix broken alignment after ReservedSpace splitting in GC code
Reviewed-by: ayang, aboldtch
2024-12-11 15:09:36 +00:00
Sonia Zaldana Calles
e294899154 8345647: Fix recent NULL usage backsliding in Shenandoah
Reviewed-by: shade, jwaters, mli
2024-12-11 14:40:03 +00:00
theoweidmannoracle
d381d581bf 8332268: C2: Add missing optimizations for UDivI/L and UModI/L and unify the shared logic with the signed nodes
Reviewed-by: chagedorn, thartmann, epeter, qamai
2024-12-11 14:30:59 +00:00
Roland Westrelin
45c914c3ad 8343607: C2: Shenandoah crashes during barrier expansion in Continuation::enter
Reviewed-by: shade
2024-12-11 13:48:03 +00:00
Martin Doerr
a21d21f4d7 8345609: [C1] LIR Operations with one input should be implemented as LIR_Op1
Reviewed-by: rrich, goetz
2024-12-11 12:50:24 +00:00
Stefan Karlsson
2382a2de96 8345661: Simplify page size alignment in code heap reservation
Reviewed-by: dholmes, thartmann
2024-12-11 12:22:00 +00:00
Stefan Karlsson
076bfa688c 8345656: Move os alignment functions out of ReservedSpace
Reviewed-by: dholmes
2024-12-11 11:53:25 +00:00
Stefan Karlsson
2826838389 8345658: WB_NMTCommitMemory redundantly records an NMT tag
Reviewed-by: dholmes, jsjolen
2024-12-11 11:49:19 +00:00
Magnus Ihse Bursie
c9ec2716a5 8345800: Update copyright year to 2024 for serviceability in files where it was missed
Reviewed-by: dholmes, cjplummer
2024-12-11 10:40:19 +00:00
Magnus Ihse Bursie
8e0f929ecf 8345805: Update copyright year to 2024 for other files where it was missed
Reviewed-by: dholmes, mli, mullan
2024-12-11 10:39:08 +00:00
Adam Sotona
f88c1c6ff8 8345773: Class-File API debug printing capability
Reviewed-by: liach, mcimadamore
2024-12-11 07:58:26 +00:00
theoweidmannoracle
e88e793cfd 8343148: C2: Refactor uses of "PhaseValue::*con*() + PhaseIdealLoop::set_ctrl()" into separate method
Reviewed-by: kvn, chagedorn, thartmann
2024-12-11 07:52:06 +00:00
Kim Barrett
1e9204fa43 8345273: Fix -Wzero-as-null-pointer-constant warnings in s390 code
Reviewed-by: jwaters, aph, amitkumar
2024-12-11 04:47:44 +00:00
Prasanta Sadhukhan
c40140eb9c 8334581: Remove no-arg constructor BasicSliderUI()
Reviewed-by: abhiscxk, aivanov, azvegint
2024-12-11 04:00:01 +00:00
Prasanta Sadhukhan
8de0622c3a 8345767: javax/swing/JSplitPane/4164779/JSplitPaneKeyboardNavigationTest.java fails in ubuntu22.04
Reviewed-by: honkar, dnguyen
2024-12-11 03:49:16 +00:00
Vicente Romero
abcd23f4d6 8334756: javac crashed on call to non-existent generic method with explicit annotated type arg
Reviewed-by: abimpoudis
2024-12-11 02:12:23 +00:00
Alex Menkov
2ddaa46054 8305010: Test vmTestbase/nsk/jvmti/scenarios/sampling/SP05/sp05t003/TestDescription.java timed out: thread not suspended
Reviewed-by: cjplummer, lmesnik, sspitsyn
2024-12-11 01:37:31 +00:00
Damon Nguyen
c6317191e3 8343170: java/awt/Cursor/JPanelCursorTest/JPanelCursorTest.java does not show the default cursor
Reviewed-by: honkar, azvegint, achung
2024-12-10 23:52:23 +00:00
Jasmine Karthikeyan
29d648c642 8341781: Improve Min/Max node identities
Reviewed-by: chagedorn
2024-12-10 22:32:19 +00:00
Kevin Driver
4c39e9faa0 8344924: Default CA certificates loaded despite request to use custom keystore
Reviewed-by: ascarpino
2024-12-10 20:49:13 +00:00
Chen Liang
0f035545e5 8342469: Improve API documentation for java.lang.classfile.instruction
Reviewed-by: asotona, darcy
2024-12-10 20:34:12 +00:00
Nizar Benalla
9bd70ec806 8345888: Broken links in the JDK 24 JavaDoc API documentation, build 27
Reviewed-by: psadhukhan
2024-12-10 18:25:32 +00:00
Leonid Mesnik
1def2d82ac 8345700: tier{1,2,3}_compiler don't cover all compiler tests
Reviewed-by: dholmes, shade
2024-12-10 17:40:06 +00:00
Leonid Mesnik
d6b5264c3f 8345746: Remove :resourcehogs/compiler from :hotspot_slow_compiler
Reviewed-by: kvn
2024-12-10 15:53:51 +00:00
Roger Riggs
4f855d1342 8345818: Fix SM cleanup of parsing of System property resource.bundle.debug
Reviewed-by: lancea, eirbjo
2024-12-10 15:16:58 +00:00
Hamlin Li
a24b08fcb0 8345669: RISC-V: fix client build failure due to AlignVector after JDK-8343827
Reviewed-by: fyang, luhenry
2024-12-10 14:39:29 +00:00
Manjunath Matti
25d9deb1a3 8335367: [s390] Add support for load immediate on condition instructions.
Reviewed-by: lucy, amitkumar
2024-12-10 14:15:15 +00:00
Coleen Phillimore
a6277bb521 8340212: -Xshare:off -XX:CompressedClassSpaceBaseAddress=0x40001000000 crashes on macos-aarch64
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Reviewed-by: iklam, stuefe
2024-12-10 12:27:30 +00:00
Pavel Rappo
165fd848c1 8342987: Update --release 24 symbol information for JDK 24 build 27
Reviewed-by: darcy, iris
2024-12-10 10:03:36 +00:00
Per Minborg
06c44dd568 8345465: Fix performance regression on x64 after JDK-8345120
Reviewed-by: mcimadamore
2024-12-10 10:01:27 +00:00
Magnus Ihse Bursie
2979806c72 8345795: Update copyright year to 2024 for hotspot in files where it was missed
Reviewed-by: dholmes, tschatzl, dnsimon, sspitsyn
2024-12-10 08:47:46 +00:00
Albert Mingkun Yang
7e73c436ef 8345217: Parallel: Refactor PSParallelCompact::next_src_region
Reviewed-by: tschatzl, sjohanss, zgu
2024-12-10 08:28:36 +00:00
David Holmes
7d3a4049d5 8339019: Obsolete the UseLinuxPosixThreadCPUClocks flag
Reviewed-by: ccheung, kbarrett
2024-12-10 07:43:34 +00:00
Jiangli Zhou
a606836a02 8345744: Use C++ LINK_TYPE with SetupBuildLauncher in StaticLibs.gmk
Reviewed-by: ihse
2024-12-09 21:37:39 +00:00
Magnus Ihse Bursie
fe0173ddef 8345803: Update copyright year to 2024 for security in files where it was missed
Reviewed-by: mullan
2024-12-09 21:03:37 +00:00
Artur Barashev
2207749c89 8344629: SSLSocketNoServerHelloClientShutdown test timeout
Reviewed-by: wetmore
2024-12-09 20:56:59 +00:00
Ioi Lam
0b9e749f54 8345390: [ubsan] systemDictionaryShared.cpp:964: member call on null pointer
Reviewed-by: mbaesken, kbarrett
2024-12-09 20:35:54 +00:00
Michael McMahon
eff20a38c7 8345794: Backout doc change introduced by JDK-8235786
Reviewed-by: dfuchs
2024-12-09 20:24:41 +00:00
Alexandre Iline
48e22ba772 8345693: Update JCov for class file version 69
Reviewed-by: ihse
2024-12-09 19:43:55 +00:00
Roland Westrelin
cc628a133e 8345287: C2: live in computation is broken
Reviewed-by: kvn, dlong, rcastanedalo
2024-12-09 16:43:16 +00:00
Daniel Skantz
480b508cf2 8345156: C2: Add bailouts next to a few asserts
Reviewed-by: kvn, epeter
2024-12-09 16:29:56 +00:00
Magnus Ihse Bursie
b120404620 8345793: Update copyright year to 2024 for the build system in files where it was missed
Reviewed-by: kbarrett, erikj
2024-12-09 15:53:48 +00:00
Scott Marlow
7aa0cbc91d 8345614: Improve AnnotationFormatError message for duplicate annotation interfaces
Reviewed-by: liach
2024-12-09 14:59:59 +00:00
Eric Caspole
35c00532a1 8345405: Add JMH showing the regression in 8341649
Reviewed-by: redestad, coleenp
2024-12-09 14:59:05 +00:00
Erik Joelsson
166c12771d 8345726: Update mx in RunTestPrebuiltSpec to reflect change in JDK-8345302
Reviewed-by: ihse
2024-12-09 14:05:57 +00:00
Kim Barrett
e821d599c8 8345589: Simplify Windows definition of strtok_r
Reviewed-by: dholmes, jwaters
2024-12-09 13:54:31 +00:00
Matthew Donovan
153dc6d843 8345133: Test sun/security/tools/jarsigner/TsacertOptionTest.java failed: Warning found in stdout
Reviewed-by: hchao, mullan
2024-12-09 13:20:26 +00:00
Fabian Meumertzheim
d7ef3ac0b7 8345684: OperatingSystemMXBean.getSystemCpuLoad() throws NPE
Reviewed-by: dholmes, kevinw, sgehwolf
2024-12-09 12:12:50 +00:00
Andrew Haley
830173fcb0 8344068: Windows x86-64: Out of CodeBuffer space when generating final stubs
Reviewed-by: kvn, vlivanov
2024-12-09 11:05:25 +00:00
SendaoYan
69e664de14 8345632: [ASAN] memory leak in get_numbered_property_as_sorted_string function
Reviewed-by: ccheung, dholmes
2024-12-09 03:38:41 +00:00
Leonid Mesnik
842b363879 8345698: Remove tier1_compiler_not_xcomp from github actions
Reviewed-by: syan, liach
2024-12-09 02:43:54 +00:00
Sorna Sarathi
458979d83a 8344611: Add missing classpath exception
Reviewed-by: amitkumar, iris
2024-12-09 02:05:59 +00:00
David Holmes
83ea0133dd 8345629: Remove expired flags in JDK 25
Reviewed-by: kvn, coleenp
2024-12-08 23:27:31 +00:00
Hamlin Li
c517ffba7d 8339910: RISC-V: crc32 intrinsic with carry-less multiplication
Reviewed-by: rehn, luhenry
2024-12-07 09:56:15 +00:00
Brent Christian
e0d6398783 8344575: Examine usage of ReflectUtil.forName() in java.sql.rowset - XmlReaderContentHandler
Reviewed-by: lancea, mchung, alanb, liach
2024-12-06 21:18:35 +00:00
Leonid Mesnik
470701f0bb 8340969: jdk/jfr/startupargs/TestStartDuration.java should be marked as flagless
Reviewed-by: syan, egahlin
2024-12-06 18:42:07 +00:00
Hannes Wallnöfer
573bcb6180 8345664: Use simple parameter type names in @link and @see tags
Reviewed-by: liach
2024-12-06 16:39:08 +00:00
Chen Liang
4966419550 8334733: Remove obsolete @enablePreview from tests after JDK-8334714
Reviewed-by: mchung, asotona
2024-12-06 14:25:03 +00:00
Evgeny Nikitin
0e2a285277 8344833: CTW: Make failing on zero classes optional
Reviewed-by: thartmann, kvn
2024-12-06 14:19:15 +00:00
Daniel Gredler
f6021a9c34 8344668: Unnecessary array allocations and copying in TextLine
Reviewed-by: honkar, azvegint, prr
2024-12-06 13:07:35 +00:00
Roland Westrelin
874d68a96c 8343747: C2: TestReplicateAtConv.java crashes with -XX:MaxVectorSize=8
Reviewed-by: epeter, kvn
2024-12-06 09:19:55 +00:00
Roland Westrelin
d9a22139fb 8345299: C2: some nodes can still have incorrect control after do_range_check()
Reviewed-by: chagedorn, kvn
2024-12-06 09:18:46 +00:00
Kim Barrett
2286fae300 8345159: RISCV: Fix -Wzero-as-null-pointer-constant warning in emit_static_call_stub
Reviewed-by: mli, rehn
2024-12-06 06:32:03 +00:00
Prasanta Sadhukhan
84032850db 8268145: [macos] Rendering artifacts is seen when text inside the JTable with TableCellEditor having JTextfield
Reviewed-by: kizune, abhiscxk, honkar
2024-12-06 03:19:13 +00:00
Leonid Mesnik
aa3828447c 8345435: Eliminate tier1_compiler_not_xcomp group
Reviewed-by: kvn
2024-12-06 01:33:22 +00:00
David Holmes
9284602ecb 8345628: [BACKOUT] JDK-8287122 Use gcc12 -ftrivial-auto-var-init=pattern in debug builds
Reviewed-by: erikj
2024-12-06 00:45:04 +00:00
Magnus Ihse Bursie
41c8971cbc 8287122: Use gcc12 -ftrivial-auto-var-init=pattern in debug builds
Reviewed-by: erikj
2024-12-05 22:58:40 +00:00
Magnus Ihse Bursie
5da0eee3a6 8285692: Enable _FORTIFY_SOURCE=2 when building with Clang
Reviewed-by: erikj
2024-12-05 22:57:06 +00:00
Magnus Ihse Bursie
daa2ba52a3 8339622: Regression in make open-hotspot-xcode-project
Reviewed-by: mcimadamore, erikj
2024-12-05 21:53:53 +00:00
Magnus Ihse Bursie
6f6bce56fc 8344559: Log is spammed by missing pandoc warnings when building man pages
Reviewed-by: shade, erikj
2024-12-05 21:53:36 +00:00
Magnus Ihse Bursie
5f30a8d90c 8345424: Move FindDebuginfoFiles out of FileUtils.gmk
Reviewed-by: erikj
2024-12-05 21:53:18 +00:00
Matias Saavedra Silva
bf0debc023 8343890: SEGV crash in RunTimeClassInfo::klass
Reviewed-by: iklam, ccheung
2024-12-05 20:08:31 +00:00
Y. Srinivas Ramakrishna
a97dca52c9 8344593: GenShen: Review of ReduceInitialCardMarks
Reviewed-by: shade, cslucas
2024-12-05 19:46:39 +00:00
William Kemper
bedb68aba1 8342444: Shenandoah: Uncommit regions from a separate, STS aware thread
Reviewed-by: shade, kdnilsen, ysr
2024-12-05 17:55:23 +00:00
Kim Barrett
dbf48a53ec 8344665: Refactor PartialArrayState allocation for reuse
Reviewed-by: tschatzl, ayang, iwalulya, zgu
2024-12-05 17:43:48 +00:00
Pavel Rappo
5cc150c636 8342979: Start of release updates for JDK 25
8342982: Add SourceVersion.RELEASE_25
8342983: Add source 25 and target 25 to javac

Co-authored-by: Joe Darcy <darcy@openjdk.org>
Reviewed-by: iris, darcy, erikj, dholmes
2024-12-05 17:03:27 +00:00
17723 changed files with 736719 additions and 555025 deletions

14
.editorconfig Normal file
View File

@@ -0,0 +1,14 @@
root = true
[*]
charset = utf-8
[*.{cpp,hpp,c,h,java,cc,hh,m,mm,S,md,properties,gmk,m4,ac}]
trim_trailing_whitespace = true
[Makefile]
trim_trailing_whitespace = true
[src/hotspot/**.{cpp,hpp,h}]
indent_style = space
indent_size = 2

1
.gitattributes vendored
View File

@@ -1,4 +1,5 @@
* -text
* encoding=utf-8
*.java diff=java
*.c diff=cpp
*.h diff=cpp

View File

@@ -65,4 +65,4 @@ runs:
with:
name: bundles-jtreg-${{ steps.version.outputs.value }}
path: jtreg/installed
retention-days: 1
retention-days: 5

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 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
@@ -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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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
@@ -32,10 +32,16 @@ inputs:
debug-suffix:
description: 'File name suffix denoting debug level, possibly empty'
required: false
static-suffix:
description: 'Static bundle file name suffix'
required: false
outputs:
jdk-path:
description: 'Path to the installed JDK bundle'
value: ${{ steps.path-name.outputs.jdk }}
static-jdk-path:
description: 'Path to the installed static JDK bundle'
value: ${{ steps.path-name.outputs.static_jdk }}
symbols-path:
description: 'Path to the installed symbols bundle'
value: ${{ steps.path-name.outputs.symbols }}
@@ -61,6 +67,15 @@ runs:
path: bundles
if: steps.download-bundles.outcome == 'failure'
- name: 'Download static bundles artifact'
id: download-static-bundles
uses: actions/download-artifact@v4
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}${{ inputs.static-suffix }}
path: bundles
continue-on-error: true
if: ${{ inputs.static-suffix == '-static' }}
- name: 'Unpack bundles'
run: |
if [[ -e bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.zip ]]; then
@@ -75,6 +90,20 @@ runs:
tar -xf bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz -C bundles/jdk
fi
if [[ '${{ inputs.static-suffix }}' == '-static' ]]; then
if [[ -e bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}${{ inputs.static-suffix }}.zip ]]; then
echo 'Unpacking static jdk bundle...'
mkdir -p bundles/static-jdk
unzip -q bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}${{ inputs.static-suffix }}.zip -d bundles/static-jdk
fi
if [[ -e bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}${{ inputs.static-suffix }}.tar.gz ]]; then
echo 'Unpacking static jdk bundle...'
mkdir -p bundles/static-jdk
tar -xf bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}${{ inputs.static-suffix }}.tar.gz -C bundles/static-jdk
fi
fi
if [[ -e bundles/symbols-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz ]]; then
echo 'Unpacking symbols bundle...'
mkdir -p bundles/symbols
@@ -106,4 +135,12 @@ runs:
echo "jdk=$jdk_dir" >> $GITHUB_OUTPUT
echo "symbols=$symbols_dir" >> $GITHUB_OUTPUT
echo "tests=$tests_dir" >> $GITHUB_OUTPUT
if [[ '${{ inputs.static-suffix }}' == '-static' ]]; then
static_jdk_dir="$GITHUB_WORKSPACE/$(dirname $(find bundles/static-jdk -name bin -type d))"
if [[ '${{ runner.os }}' == 'Windows' ]]; then
static_jdk_dir="$(cygpath $static_jdk_dir)"
fi
echo "static_jdk=$static_jdk_dir" >> $GITHUB_OUTPUT
fi
shell: bash

View File

@@ -49,6 +49,6 @@ runs:
- name: 'Export path to where GTest is installed'
id: path-name
run: |
# Export the path
echo 'path=gtest' >> $GITHUB_OUTPUT
# Export the absolute path
echo "path=`pwd`/gtest" >> $GITHUB_OUTPUT
shell: bash

View File

@@ -49,6 +49,6 @@ runs:
- name: 'Export path to where JTReg is installed'
id: path-name
run: |
# Export the path
echo 'path=jtreg/installed' >> $GITHUB_OUTPUT
# Export the absolute path
echo "path=`pwd`/jtreg/installed" >> $GITHUB_OUTPUT
shell: bash

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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
@@ -30,15 +30,15 @@ runs:
using: composite
steps:
- name: 'Install MSYS2'
uses: msys2/setup-msys2@v2.22.0
id: msys2
uses: msys2/setup-msys2@v2.28.0
with:
install: 'autoconf tar unzip zip make'
path-type: minimal
location: ${{ runner.tool_cache }}/msys2
release: false
# We can't run bash until this is completed, so stick with pwsh
- name: 'Set MSYS2 path'
run: |
# Prepend msys2/msys64/usr/bin to the PATH
echo "$env:RUNNER_TOOL_CACHE/msys2/msys64/usr/bin" >> $env:GITHUB_PATH
echo "${{ steps.msys2.outputs.msys2-location }}/usr/bin" >> $env:GITHUB_PATH
shell: pwsh

View File

@@ -32,6 +32,12 @@ inputs:
debug-suffix:
description: 'File name suffix denoting debug level, possibly empty'
required: false
bundle-suffix:
description: 'Bundle name suffix, possibly empty'
required: false
static-suffix:
description: 'Static JDK bundle name suffix, possibly empty'
required: false
runs:
using: composite
@@ -43,6 +49,8 @@ runs:
# Rename bundles to consistent names
jdk_bundle_zip="$(ls build/*/bundles/jdk-*_bin${{ inputs.debug-suffix }}.zip 2> /dev/null || true)"
jdk_bundle_tar_gz="$(ls build/*/bundles/jdk-*_bin${{ inputs.debug-suffix }}.tar.gz 2> /dev/null || true)"
static_jdk_bundle_zip="$(ls build/*/bundles/static-jdk-*_bin${{ inputs.debug-suffix }}.zip 2> /dev/null || true)"
static_jdk_bundle_tar_gz="$(ls build/*/bundles/static-jdk-*_bin${{ inputs.debug-suffix }}.tar.gz 2> /dev/null || true)"
symbols_bundle="$(ls build/*/bundles/jdk-*_bin${{ inputs.debug-suffix }}-symbols.tar.gz 2> /dev/null || true)"
tests_bundle="$(ls build/*/bundles/jdk-*_bin-tests${{ inputs.debug-suffix }}.tar.gz 2> /dev/null || true)"
static_libs_bundle="$(ls build/*/bundles/jdk-*_bin-static-libs${{ inputs.debug-suffix }}.tar.gz 2> /dev/null || true)"
@@ -55,6 +63,12 @@ runs:
if [[ "$jdk_bundle_tar_gz" != "" ]]; then
mv "$jdk_bundle_tar_gz" "bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz"
fi
if [[ "$static_jdk_bundle_zip" != "" ]]; then
mv "$static_jdk_bundle_zip" "bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}${{ inputs.static-suffix }}.zip"
fi
if [[ "$static_jdk_bundle_tar_gz" != "" ]]; then
mv "$static_jdk_bundle_tar_gz" "bundles/jdk-${{ inputs.platform }}${{ inputs.debug-suffix }}${{ inputs.static-suffix }}.tar.gz"
fi
if [[ "$symbols_bundle" != "" ]]; then
mv "$symbols_bundle" "bundles/symbols-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz"
fi
@@ -65,7 +79,7 @@ runs:
mv "$static_libs_bundle" "bundles/static-libs-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz"
fi
if [[ "$jdk_bundle_zip$jdk_bundle_tar_gz$symbols_bundle$tests_bundle$static_libs_bundle" != "" ]]; then
if [[ "$jdk_bundle_zip$jdk_bundle_tar_gz$static_jdk_bundle_zip$static_jdk_bundle_tar_gz$symbols_bundle$tests_bundle$static_libs_bundle" != "" ]]; then
echo 'bundles-found=true' >> $GITHUB_OUTPUT
else
echo 'bundles-found=false' >> $GITHUB_OUTPUT
@@ -75,7 +89,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.static-suffix }}${{ inputs.bundle-suffix }}
path: bundles
retention-days: 1
retention-days: 5
if: steps.bundles.outputs.bundles-found == 'true'

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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

View File

@@ -51,6 +51,10 @@ on:
make-arguments:
required: false
type: string
dry-run:
required: false
type: boolean
default: false
jobs:
build-linux:
@@ -104,9 +108,11 @@ jobs:
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'
if: ${{ inputs.dry-run == false }}
- name: 'Upload bundles'
uses: ./.github/actions/upload-bundles
with:
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'
if: ${{ inputs.dry-run == false }}

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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
@@ -40,6 +40,10 @@ on:
make-arguments:
required: false
type: string
dry-run:
required: false
type: boolean
default: false
jobs:
build-cross-compile:
@@ -60,33 +64,33 @@ jobs:
gnu-arch: aarch64
debian-arch: arm64
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
debian-version: trixie
tolerate-sysroot-errors: false
- target-cpu: arm
gnu-arch: arm
debian-arch: armhf
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
debian-version: trixie
tolerate-sysroot-errors: false
gnu-abi: eabihf
- target-cpu: s390x
gnu-arch: s390x
debian-arch: s390x
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
debian-version: trixie
tolerate-sysroot-errors: false
- target-cpu: ppc64le
gnu-arch: powerpc64le
debian-arch: ppc64el
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
debian-version: trixie
tolerate-sysroot-errors: false
- target-cpu: riscv64
gnu-arch: riscv64
debian-arch: riscv64
debian-repository: https://httpredir.debian.org/debian/
debian-version: sid
tolerate-sysroot-errors: true
debian-version: trixie
tolerate-sysroot-errors: false
steps:
- name: 'Checkout the JDK source'
@@ -189,4 +193,4 @@ jobs:
with:
make-target: 'hotspot ${{ inputs.make-arguments }}'
platform: linux-${{ matrix.target-cpu }}
if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'
if: ((steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true') && inputs.dry-run == false)

View File

@@ -61,6 +61,16 @@ on:
make-arguments:
required: false
type: string
dry-run:
required: false
type: boolean
default: false
bundle-suffix:
required: false
type: string
static-suffix:
required: false
type: string
jobs:
build-linux:
@@ -71,10 +81,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'
@@ -118,7 +124,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 }}
@@ -133,17 +139,17 @@ 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' || '' }}"
if: ${{ inputs.dry-run == false }}
- 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 }}
static-suffix: ${{ inputs.static-suffix }}
if: ${{ inputs.dry-run == false }}

View File

@@ -54,6 +54,10 @@ on:
make-arguments:
required: false
type: string
dry-run:
required: false
type: boolean
default: false
jobs:
build-macos:
@@ -118,9 +122,11 @@ jobs:
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'
if: ${{ inputs.dry-run == false }}
- name: 'Upload bundles'
uses: ./.github/actions/upload-bundles
with:
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'
if: ${{ inputs.dry-run == false }}

View File

@@ -54,6 +54,10 @@ on:
make-arguments:
required: false
type: string
dry-run:
required: false
type: boolean
default: false
env:
# These are needed to make the MSYS2 bash work properly
@@ -63,7 +67,7 @@ env:
jobs:
build-windows:
name: build
runs-on: windows-2019
runs-on: windows-2025
defaults:
run:
shell: bash
@@ -102,7 +106,7 @@ jobs:
id: toolchain-check
run: |
set +e
'/c/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/vc/auxiliary/build/vcvars64.bat' -vcvars_ver=${{ inputs.msvc-toolset-version }}
'/c/Program Files/Microsoft Visual Studio/2022/Enterprise/vc/auxiliary/build/vcvars64.bat' -vcvars_ver=${{ inputs.msvc-toolset-version }}
if [ $? -eq 0 ]; then
echo "Toolchain is already installed"
echo "toolchain-installed=true" >> $GITHUB_OUTPUT
@@ -115,7 +119,7 @@ jobs:
run: |
# Run Visual Studio Installer
'/c/Program Files (x86)/Microsoft Visual Studio/Installer/vs_installer.exe' \
modify --quiet --installPath 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise' \
modify --quiet --installPath 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise' \
--add Microsoft.VisualStudio.Component.VC.${{ inputs.msvc-toolset-version }}.${{ inputs.msvc-toolset-architecture }}
if: steps.toolchain-check.outputs.toolchain-installed != 'true'
@@ -139,6 +143,7 @@ jobs:
# Set PATH to "", so just GITHUB_PATH is included
PATH: ''
shell: env /usr/bin/bash --login -eo pipefail {0}
if: ${{ inputs.dry-run == false }}
- name: 'Build'
id: build
@@ -147,9 +152,11 @@ jobs:
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'
if: ${{ inputs.dry-run == false }}
- name: 'Upload bundles'
uses: ./.github/actions/upload-bundles
with:
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'
if: ${{ inputs.dry-run == false }}

View File

@@ -28,9 +28,7 @@ name: 'OpenJDK GHA Sanity Checks'
on:
push:
branches-ignore:
- master
- pr/*
- jdk*
workflow_dispatch:
inputs:
platforms:
@@ -43,6 +41,9 @@ on:
make-arguments:
description: 'Additional make arguments'
required: false
dry-run:
description: 'Dry run: skip actual builds and tests'
required: false
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -70,6 +71,7 @@ jobs:
windows-x64: ${{ steps.include.outputs.windows-x64 }}
windows-aarch64: ${{ steps.include.outputs.windows-aarch64 }}
docs: ${{ steps.include.outputs.docs }}
dry-run: ${{ steps.include.outputs.dry-run }}
steps:
- name: 'Checkout the scripts'
@@ -143,6 +145,35 @@ jobs:
echo 'false'
}
function check_dry_run() {
if [[ $GITHUB_EVENT_NAME == workflow_dispatch ]]; then
# Take the user-specified one.
echo '${{ github.event.inputs.dry-run }}'
return
elif [[ $GITHUB_EVENT_NAME == push ]]; then
# Cut out the real branch name
BRANCH=${GITHUB_REF##*/}
# Dry run rebuilds the caches in current branch, so they can be reused
# for any child PR branches. Because of this, we want to trigger this
# workflow in master branch, so that actual PR branches can use the cache.
# This workflow would trigger every time contributors sync their master
# branches in their personal forks.
if [[ $BRANCH == "master" ]]; then
echo 'true'
return
fi
# ...same for stabilization branches
if [[ $BRANCH =~ "jdk(.*)" ]]; then
echo 'true'
return
fi
fi
echo 'false'
}
echo "linux-x64=$(check_platform linux-x64 linux x64)" >> $GITHUB_OUTPUT
echo "linux-x64-variants=$(check_platform linux-x64-variants variants)" >> $GITHUB_OUTPUT
echo "linux-cross-compile=$(check_platform linux-cross-compile cross-compile)" >> $GITHUB_OUTPUT
@@ -152,6 +183,7 @@ jobs:
echo "windows-x64=$(check_platform windows-x64 windows x64)" >> $GITHUB_OUTPUT
echo "windows-aarch64=$(check_platform windows-aarch64 windows aarch64)" >> $GITHUB_OUTPUT
echo "docs=$(check_platform docs)" >> $GITHUB_OUTPUT
echo "dry-run=$(check_dry_run)" >> $GITHUB_OUTPUT
###
### Build jobs
@@ -166,6 +198,7 @@ jobs:
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.linux-x64 == 'true'
build-linux-x64-hs-nopch:
@@ -180,6 +213,7 @@ jobs:
extra-conf-options: '--disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-zero:
@@ -194,6 +228,7 @@ jobs:
extra-conf-options: '--with-jvm-variants=zero --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-minimal:
@@ -208,6 +243,7 @@ jobs:
extra-conf-options: '--with-jvm-variants=minimal --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-optimized:
@@ -223,6 +259,44 @@ jobs:
extra-conf-options: '--with-debug-level=optimized --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
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-bundles'
# 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 }}
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
static-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 }}
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
# 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:
@@ -233,6 +307,7 @@ jobs:
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.linux-cross-compile == 'true'
build-alpine-linux-x64:
@@ -243,6 +318,7 @@ jobs:
platform: alpine-linux-x64
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.alpine-linux-x64 == 'true'
build-macos-x64:
@@ -251,10 +327,11 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-x64
runs-on: 'macos-13'
xcode-toolset-version: '14.3.1'
runs-on: 'macos-15-intel'
xcode-toolset-version: '16.4'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.macos-x64 == 'true'
build-macos-aarch64:
@@ -263,10 +340,11 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
runs-on: 'macos-14'
xcode-toolset-version: '15.4'
runs-on: 'macos-15'
xcode-toolset-version: '16.4'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.macos-aarch64 == 'true'
build-windows-x64:
@@ -275,10 +353,11 @@ jobs:
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-x64
msvc-toolset-version: '14.29'
msvc-toolset-version: '14.44'
msvc-toolset-architecture: 'x86.x64'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.windows-x64 == 'true'
build-windows-aarch64:
@@ -287,12 +366,13 @@ jobs:
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-aarch64
msvc-toolset-version: '14.29'
msvc-toolset-version: '14.44'
msvc-toolset-architecture: 'arm64'
make-target: 'hotspot'
extra-conf-options: '--openjdk-target=aarch64-unknown-cygwin'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.windows-aarch64 == 'true'
build-docs:
@@ -309,6 +389,7 @@ jobs:
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
if: needs.prepare.outputs.docs == 'true'
###
@@ -318,41 +399,53 @@ jobs:
test-linux-x64:
name: linux-x64
needs:
- prepare
- build-linux-x64
uses: ./.github/workflows/test.yml
with:
platform: linux-x64
bootjdk-platform: linux-x64
runs-on: ubuntu-22.04
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
debug-suffix: -debug
test-macos-x64:
name: macos-x64
test-linux-x64-static:
name: linux-x64-static
needs:
- build-macos-x64
- prepare
- build-linux-x64
- build-linux-x64-static
uses: ./.github/workflows/test.yml
with:
platform: macos-x64
bootjdk-platform: macos-x64
runs-on: macos-13
xcode-toolset-version: '14.3.1'
platform: linux-x64
bootjdk-platform: linux-x64
runs-on: ubuntu-22.04
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
static-suffix: "-static"
test-macos-aarch64:
name: macos-aarch64
needs:
- prepare
- build-macos-aarch64
uses: ./.github/workflows/test.yml
with:
platform: macos-aarch64
bootjdk-platform: macos-aarch64
runs-on: macos-14
xcode-toolset-version: '15.4'
runs-on: macos-15
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
xcode-toolset-version: '16.4'
debug-suffix: -debug
test-windows-x64:
name: windows-x64
needs:
- prepare
- build-windows-x64
uses: ./.github/workflows/test.yml
with:
platform: windows-x64
bootjdk-platform: windows-x64
runs-on: windows-2019
runs-on: windows-2025
dry-run: ${{ needs.prepare.outputs.dry-run == 'true' }}
debug-suffix: -debug

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, 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
@@ -40,6 +40,16 @@ on:
xcode-toolset-version:
required: false
type: string
dry-run:
required: false
type: boolean
default: false
debug-suffix:
required: false
type: string
static-suffix:
required: false
type: string
env:
# These are needed to make the MSYS2 bash work properly
@@ -66,7 +76,6 @@ jobs:
- 'hs/tier1 compiler part 1'
- 'hs/tier1 compiler part 2'
- 'hs/tier1 compiler part 3'
- 'hs/tier1 compiler not-xcomp'
- 'hs/tier1 gc'
- 'hs/tier1 runtime'
- 'hs/tier1 serviceability'
@@ -87,39 +96,35 @@ jobs:
- test-name: 'hs/tier1 common'
test-suite: 'test/hotspot/jtreg/:tier1_common'
debug-suffix: -debug
debug-suffix: ${{ inputs.debug-suffix }}
- test-name: 'hs/tier1 compiler part 1'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_1'
debug-suffix: -debug
debug-suffix: ${{ inputs.debug-suffix }}
- test-name: 'hs/tier1 compiler part 2'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_2'
debug-suffix: -debug
debug-suffix: ${{ inputs.debug-suffix }}
- test-name: 'hs/tier1 compiler part 3'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_3'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler not-xcomp'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_not_xcomp'
debug-suffix: -debug
debug-suffix: ${{ inputs.debug-suffix }}
- test-name: 'hs/tier1 gc'
test-suite: 'test/hotspot/jtreg/:tier1_gc'
debug-suffix: -debug
debug-suffix: ${{ inputs.debug-suffix }}
- test-name: 'hs/tier1 runtime'
test-suite: 'test/hotspot/jtreg/:tier1_runtime'
debug-suffix: -debug
debug-suffix: ${{ inputs.debug-suffix }}
- test-name: 'hs/tier1 serviceability'
test-suite: 'test/hotspot/jtreg/:tier1_serviceability'
debug-suffix: -debug
debug-suffix: ${{ inputs.debug-suffix }}
- test-name: 'lib-test/tier1'
test-suite: 'test/lib-test/:tier1'
debug-suffix: -debug
debug-suffix: ${{ inputs.debug-suffix }}
steps:
- name: 'Checkout the JDK source'
@@ -145,6 +150,8 @@ jobs:
with:
platform: ${{ inputs.platform }}
debug-suffix: ${{ matrix.debug-suffix }}
static-suffix: ${{ inputs.static-suffix }}
if: ${{ inputs.dry-run == false }}
- name: 'Install dependencies'
run: |
@@ -165,6 +172,21 @@ jobs:
else
echo "value=$PATH" >> $GITHUB_OUTPUT
fi
if [[ '${{ inputs.static-suffix }}' == '-static' ]]; then
echo "static-hotspot-problemlist-path=`pwd`/test/hotspot/jtreg/ProblemList-StaticJdk.txt" >> $GITHUB_OUTPUT
echo "static-jdk-problemlist-path=`pwd`/test/jdk/ProblemList-StaticJdk.txt" >> $GITHUB_OUTPUT
echo "static-langtools-problemlist-path=`pwd`/test/langtools/ProblemList-StaticJdk.txt" >> $GITHUB_OUTPUT
echo "static-lib-test-problemlist-path=`pwd`/test/lib-test/ProblemList-StaticJdk.txt" >> $GITHUB_OUTPUT
fi
- name: 'Set Extra Options'
id: extra-options
run: |
if [[ '${{ inputs.static-suffix }}' == '-static' ]]; then
echo "test-jdk=JDK_UNDER_TEST=${{ steps.bundles.outputs.static-jdk-path }}" >> $GITHUB_OUTPUT
echo "compile-jdk=JDK_FOR_COMPILE=${{ steps.bundles.outputs.jdk-path }}" >> $GITHUB_OUTPUT
echo "extra-problem-lists=EXTRA_PROBLEM_LISTS=${{ steps.path.outputs.static-hotspot-problemlist-path }}%20${{ steps.path.outputs.static-jdk-problemlist-path }}%20${{ steps.path.outputs.static-langtools-problemlist-path }}%20${{ steps.path.outputs.static-lib-test-problemlist-path }}" >> $GITHUB_OUTPUT
fi
- name: 'Run tests'
id: run-tests
@@ -176,10 +198,13 @@ jobs:
JDK_IMAGE_DIR=${{ steps.bundles.outputs.jdk-path }}
SYMBOLS_IMAGE_DIR=${{ steps.bundles.outputs.symbols-path }}
TEST_IMAGE_DIR=${{ steps.bundles.outputs.tests-path }}
JTREG='JAVA_OPTIONS=-XX:-CreateCoredumpOnCrash;VERBOSE=fail,error,time;KEYWORDS=!headful'
${{ steps.extra-options.outputs.test-jdk }}
${{ steps.extra-options.outputs.compile-jdk }}
JTREG='JAVA_OPTIONS=-XX:-CreateCoredumpOnCrash;VERBOSE=fail,error,time;KEYWORDS=!headful;${{ steps.extra-options.outputs.extra-problem-lists }}'
&& bash ./.github/scripts/gen-test-summary.sh "$GITHUB_STEP_SUMMARY" "$GITHUB_OUTPUT"
env:
PATH: ${{ steps.path.outputs.value }}
if: ${{ inputs.dry-run == false }}
# This is a separate step, since if the markdown from a step gets bigger than
# 1024 kB it is skipped, but then the short summary above is still generated
@@ -209,7 +234,7 @@ jobs:
echo '::warning ::Missing test-support directory'
fi
artifact_name="results-${{ inputs.platform }}-$(echo ${{ matrix.test-name }} | tr '/ ' '__')"
artifact_name="results-${{ inputs.platform }}-$(echo ${{ matrix.test-name }}${{ inputs.static-suffix }} | tr '/ ' '__')"
echo "artifact-name=$artifact_name" >> $GITHUB_OUTPUT
if: always()

3
.gitignore vendored
View File

@@ -22,3 +22,6 @@ NashornProfile.txt
/.cache
/.gdbinit
/.lldbinit
**/core.[0-9]*
*.rej
*.orig

View File

@@ -1,10 +1,10 @@
[general]
project=jdk
jbs=JDK
version=24
version=26
[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists,copyright
warning=issuestitle,binary
[repository]
@@ -34,3 +34,8 @@ pattern=^([124-8][0-9]{6}): (\S.*)$
[checks "problemlists"]
dirs=test/jdk|test/langtools|test/lib-test|test/hotspot/jtreg|test/jaxp
[checks "copyright"]
files=^(?!LICENSE|license\.txt|.*\.bin|.*\.gif|.*\.jpg|.*\.png|.*\.icon|.*\.tiff|.*\.dat|.*\.patch|.*\.wav|.*\.class|.*-header|.*\.jar).*
oracle_locator=.*Copyright \(c\)(.*)Oracle and/or its affiliates\. All rights reserved\.
oracle_validator=.*Copyright \(c\) (\d{4})(?:, (\d{4}))?, Oracle and/or its affiliates\. All rights reserved\.

View File

@@ -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/).

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 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
@@ -24,8 +24,9 @@
#
###
### This file is just a very small wrapper needed to run the real make/Init.gmk.
### It also performs some sanity checks on make.
### This file is just a very small wrapper which will include make/PreInit.gmk,
### where the real work is done. This wrapper also performs some sanity checks
### on make that must be done before we can include another file.
###
# The shell code below will be executed on /usr/bin/make on Solaris, but not in GNU Make.
@@ -58,7 +59,7 @@ ifeq ($(filter /%, $(lastword $(MAKEFILE_LIST))),)
else
makefile_path := $(lastword $(MAKEFILE_LIST))
endif
topdir := $(strip $(patsubst %/, %, $(dir $(makefile_path))))
TOPDIR := $(strip $(patsubst %/, %, $(dir $(makefile_path))))
# ... and then we can include the real makefile
include $(topdir)/make/Init.gmk
# ... and then we can include the real makefile to bootstrap the build
include $(TOPDIR)/make/PreInit.gmk

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2019, 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
@@ -52,12 +52,39 @@
# include the SCM state that was used to build it, which can be found in ${JDK_N_INSTALL}/release,
# in property "SOURCE".
source_path="$(dirname ${0})"
this_script_dir="$(cd -- "${source_path}" > /dev/null && pwd)"
if test -z "${this_script_dir}"; then
echo "Error: Could not determine location of this script"
exit 1
fi
symbols_dir="$(dirname $this_script_dir)/src/jdk.compiler/share/data/symbols"
if [ ! -d $symbols_dir ] ; then
echo "Cannot locate symbols directory: $symbols_dir" >&2
exit 1
fi
generator_dir="$(dirname $this_script_dir)/make/langtools/src/classes/build/tools/symbolgenerator"
if [ "$1x" = "x" ] ; then
echo "Must provide the target JDK as a parameter:" >&2
echo "$0 <target-jdk>" >&2
exit 1
fi;
if [ ! -d $1 ] ; then
echo "Target JDK argument is not a directory:" $1 >&2
exit 1
fi;
if [ ! -x $1/bin/java ] ; then
echo "Target JDK argument is not a valid JDK: $1" >&2
exit 1
fi;
cd $symbols_dir
if [ ! -f symbols ] ; then
echo "Must run inside the src/jdk.compiler/share/data/symbols directory" >&2
exit 1
@@ -68,10 +95,9 @@ if [ "`git status --porcelain=v1 .`x" != "x" ] ; then
exit 1
fi;
$1/bin/java --add-exports jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
$1/bin/java --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
--add-modules jdk.jdeps \
../../../../../make/langtools/src/classes/build/tools/symbolgenerator/CreateSymbols.java \
$generator_dir/CreateSymbols.java \
build-description-incremental symbols include.list

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2009, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2009, 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
@@ -99,7 +99,7 @@ if [ "$VERBOSE" = "true" ] ; then
echo "idea template dir: $IDEA_TEMPLATE"
fi
cd $TOP ; make -f "$IDEA_MAKE/idea.gmk" -I $MAKE_DIR/.. idea MAKEOVERRIDES= OUT=$IDEA_OUTPUT/env.cfg MODULES="$*" $CONF_ARG || exit 1
cd $TOP ; make idea-gen-config ALLOW=IDEA_OUTPUT,MODULES IDEA_OUTPUT=$IDEA_OUTPUT MODULES="$*" $CONF_ARG || exit 1
cd $SCRIPT_DIR
. $IDEA_OUTPUT/env.cfg
@@ -125,7 +125,8 @@ if [ -d "$TOPLEVEL_DIR/.hg" ] ; then
VCS_TYPE="hg4idea"
fi
if [ -d "$TOPLEVEL_DIR/.git" ] ; then
# Git worktrees use a '.git' file rather than directory, so test both.
if [ -d "$TOPLEVEL_DIR/.git" -o -f "$TOPLEVEL_DIR/.git" ] ; then
VCS_TYPE="Git"
fi

View File

@@ -1,6 +1,6 @@
#! /bin/sh -f
#
# Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 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
@@ -62,7 +62,7 @@ B=`basename "${script_directory}"`
script_dir="`cd \"${D}\" 2>/dev/null && pwd || echo \"${D}\"`/${B}"
# set up a variable for the template directory
template_dir=${script_dir}/../data/license-templates
template_dir=${script_dir}/../make/data/license-templates
# Check existence of the template directory.
if [ ! -d ${template_dir} ] ; then

View File

@@ -1,192 +0,0 @@
#
# Copyright (c) 2014, 2020, 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.
#
# 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.
#
src/bsd : jdk/src/bsd
src/demo : jdk/src/demo
src/java.activation : jaxws/src/java.activation
src/java.base : jdk/src/java.base
src/java.compiler : langtools/src/java.compiler
src/java.corba : corba/src/java.corba
src/java.datatransfer : jdk/src/java.datatransfer
src/java.desktop : jdk/src/java.desktop
src/java.instrument : jdk/src/java.instrument
src/java.logging : jdk/src/java.logging
src/java.management : jdk/src/java.management
src/java.management.rmi : jdk/src/java.management.rmi
src/java.naming : jdk/src/java.naming
src/java.prefs : jdk/src/java.prefs
src/java.rmi : jdk/src/java.rmi
src/java.scripting : jdk/src/java.scripting
src/java.se : jdk/src/java.se
src/java.security.jgss : jdk/src/java.security.jgss
src/java.security.sasl : jdk/src/java.security.sasl
src/java.se.ee : jdk/src/java.se.ee
src/java.smartcardio : jdk/src/java.smartcardio
src/java.sql : jdk/src/java.sql
src/java.sql.rowset : jdk/src/java.sql.rowset
src/java.transaction : jdk/src/java.transaction
src/java.xml : jaxp/src/java.xml
src/java.xml.bind : jaxws/src/java.xml.bind
src/java.xml.crypto : jdk/src/java.xml.crypto
src/java.xml.ws : jaxws/src/java.xml.ws
src/java.xml.ws.annotation : jaxws/src/java.xml.ws.annotation
src/jdk.accessibility : jdk/src/jdk.accessibility
src/jdk.aot : hotspot/src/jdk.aot
src/jdk.attach : jdk/src/jdk.attach
src/jdk.charsets : jdk/src/jdk.charsets
src/jdk.compiler : jdk/src/jdk.compiler langtools/src/jdk.compiler
src/jdk.crypto.cryptoki : jdk/src/jdk.crypto.cryptoki
src/jdk.crypto.ec : jdk/src/jdk.crypto.ec
src/jdk.crypto.mscapi : jdk/src/jdk.crypto.mscapi
src/jdk.dynalink : nashorn/src/jdk.dynalink
src/jdk.editpad : jdk/src/jdk.editpad
src/jdk.hotspot.agent : hotspot/src/jdk.hotspot.agent
src/jdk.httpserver : jdk/src/jdk.httpserver
src/jdk.incubator.httpclient : jdk/src/jdk.incubator.httpclient
src/jdk.internal.ed : jdk/src/jdk.internal.ed
src/jdk.internal.jvmstat : jdk/src/jdk.internal.jvmstat
src/jdk.internal.le : jdk/src/jdk.internal.le
src/jdk.internal.opt : jdk/src/jdk.internal.opt
src/jdk.internal.vm.ci : hotspot/src/jdk.internal.vm.ci
src/jdk.internal.vm.compiler : hotspot/src/jdk.internal.vm.compiler
src/jdk.jartool : jdk/src/jdk.jartool
src/jdk.javadoc : langtools/src/jdk.javadoc
src/jdk.jcmd : jdk/src/jdk.jcmd
src/jdk.jconsole : jdk/src/jdk.jconsole
src/jdk.jdeps : langtools/src/jdk.jdeps
src/jdk.jdi : jdk/src/jdk.jdi
src/jdk.jdwp.agent : jdk/src/jdk.jdwp.agent
src/jdk.jlink : jdk/src/jdk.jlink
src/jdk.jshell : langtools/src/jdk.jshell
src/jdk.jsobject : jdk/src/jdk.jsobject
src/jdk.jstatd : jdk/src/jdk.jstatd
src/jdk.localedata : jdk/src/jdk.localedata
src/jdk.management : jdk/src/jdk.management
src/jdk.management.agent : jdk/src/jdk.management.agent
src/jdk.naming.dns : jdk/src/jdk.naming.dns
src/jdk.naming.rmi : jdk/src/jdk.naming.rmi
src/jdk.net : jdk/src/jdk.net
src/jdk.pack : jdk/src/jdk.pack
src/jdk.scripting.nashorn : nashorn/src/jdk.scripting.nashorn
src/jdk.scripting.nashorn.shell : nashorn/src/jdk.scripting.nashorn.shell
src/jdk.sctp : jdk/src/jdk.sctp
src/jdk.security.auth : jdk/src/jdk.security.auth
src/jdk.security.jgss : jdk/src/jdk.security.jgss
src/jdk.unsupported : jdk/src/jdk.unsupported
src/jdk.xml.bind : jaxws/src/jdk.xml.bind
src/jdk.xml.dom : jaxp/src/jdk.xml.dom
src/jdk.xml.ws : jaxws/src/jdk.xml.ws
src/jdk.zipfs : jdk/src/jdk.zipfs
src/langtools/sample : langtools/src/sample
src/linux : jdk/src/linux
src/sample : jdk/src/sample
src/hotspot/share : hotspot/src/share/vm
src/hotspot/cpu/aarch64 : hotspot/src/cpu/aarch64/vm
src/hotspot/cpu/arm : hotspot/src/cpu/arm/vm
src/hotspot/cpu/ppc : hotspot/src/cpu/ppc/vm
src/hotspot/cpu/s390 : hotspot/src/cpu/s390/vm
src/hotspot/cpu/x86 : hotspot/src/cpu/x86/vm
src/hotspot/cpu/zero : hotspot/src/cpu/zero/vm
src/hotspot/os/aix : hotspot/src/os/aix/vm
src/hotspot/os/bsd : hotspot/src/os/bsd/vm
src/hotspot/os/linux : hotspot/src/os/linux/vm
src/hotspot/os/posix/dtrace : hotspot/src/os/posix/dtrace
src/hotspot/os/posix : hotspot/src/os/posix/vm
src/hotspot/os/windows : hotspot/src/os/windows/vm
src/hotspot/os_cpu/aix_ppc : hotspot/src/os_cpu/aix_ppc/vm
src/hotspot/os_cpu/bsd_x86 : hotspot/src/os_cpu/bsd_x86/vm
src/hotspot/os_cpu/bsd_zero : hotspot/src/os_cpu/bsd_zero/vm
src/hotspot/os_cpu/linux_aarch64 : hotspot/src/os_cpu/linux_aarch64/vm
src/hotspot/os_cpu/linux_arm : hotspot/src/os_cpu/linux_arm/vm
src/hotspot/os_cpu/linux_ppc : hotspot/src/os_cpu/linux_ppc/vm
src/hotspot/os_cpu/linux_s390 : hotspot/src/os_cpu/linux_s390/vm
src/hotspot/os_cpu/linux_x86 : hotspot/src/os_cpu/linux_x86/vm
src/hotspot/os_cpu/linux_zero : hotspot/src/os_cpu/linux_zero/vm
src/hotspot/os_cpu/windows_x86 : hotspot/src/os_cpu/windows_x86/vm
src/hotspot : hotspot/src
src/utils/IdealGraphVisualizer : hotspot/src/share/tools/IdealGraphVisualizer
src/utils/LogCompilation : hotspot/src/share/tools/LogCompilation
src/utils/hsdis : hotspot/src/share/tools/hsdis
src/utils/reorder : jdk/make/non-build-utils/reorder
src/utils/src/build : jdk/make/non-build-utils/src/build
make/BuildNashorn.gmk : nashorn/make/BuildNashorn.gmk
make/CompileDemos.gmk : jdk/make/CompileDemos.gmk
make/CompileInterimLangtools.gmk : langtools/make/CompileInterim.gmk
make/CompileModuleTools.gmk : jdk/make/CompileModuleTools.gmk
make/CompileToolsHotspot.gmk : hotspot/make/CompileTools.gmk
make/CompileToolsJdk.gmk : jdk/make/CompileTools.gmk
make/CopyInterimCLDRConverter.gmk : jdk/make/CopyInterimCLDRConverter.gmk
make/GenerateModuleSummary.gmk : jdk/make/GenerateModuleSummary.gmk
make/ModuleTools.gmk : jdk/make/ModuleTools.gmk
make/ToolsJdk.gmk : jdk/make/Tools.gmk
make/ToolsLangtools.gmk : langtools/make/Tools.gmk
make/UnpackSecurity.gmk : jdk/make/UnpackSecurity.gmk
make/autoconf : common/autoconf
make/conf : common/conf
make/copy : jdk/make/copy
make/copy/Copy-java.corba.gmk : corba/make/copy/Copy-java.corba.gmk
make/corba : corba/make
make/data : jdk/make/data
make/gendata : jdk/make/gendata
make/gendata/Gendata-jdk.compiler.gmk : langtools/make/gendata/Gendata-jdk.compiler.gmk
make/gensrc : jdk/make/gensrc
make/gensrc/Gensrc-java.corba.gmk : corba/make/gensrc/Gensrc-java.corba.gmk
make/gensrc/Gensrc-jdk.compiler.gmk : langtools/make/gensrc/Gensrc-jdk.compiler.gmk
make/gensrc/Gensrc-jdk.hotspot.agent.gmk : hotspot/make/gensrc/Gensrc-jdk.hotspot.agent.gmk
make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk : hotspot/make/gensrc/Gensrc-jdk.internal.vm.compiler.gmk
make/gensrc/Gensrc-jdk.javadoc.gmk : langtools/make/gensrc/Gensrc-jdk.javadoc.gmk
make/gensrc/Gensrc-jdk.jdeps.gmk : langtools/make/gensrc/Gensrc-jdk.jdeps.gmk
make/gensrc/Gensrc-jdk.jshell.gmk : langtools/make/gensrc/Gensrc-jdk.jshell.gmk
make/gensrc/GensrcCommonLangtools.gmk : langtools/make/gensrc/GensrcCommon.gmk
make/hotspot : hotspot/make
make/jdk : jdk/make
make/langtools : langtools/make
make/launcher : jdk/make/launcher
make/lib : jdk/make/lib
make/lib/Lib-jdk.hotspot.agent.gmk : hotspot/make/lib/Lib-jdk.hotspot.agent.gmk
make/mapfiles : jdk/make/mapfiles
make/mapfiles/libjsig : hotspot/make/mapfiles/libjsig
make/mapfiles/libjvm_db : hotspot/make/mapfiles/libjvm_db
make/mapfiles/libjvm_dtrace : hotspot/make/mapfiles/libjvm_dtrace
make/mapfiles/libsaproc : hotspot/make/mapfiles/libsaproc
make/nashorn : nashorn/make
make/nb_native : common/nb_native
make/scripts/addNotices.sh : jdk/make/scripts/addNotices.sh
make/scripts/compare.sh : common/bin/compare.sh
make/scripts/compare_exceptions.sh.incl : common/bin/compare_exceptions.sh.incl
make/scripts/genExceptions.sh : jdk/make/scripts/genExceptions.sh
make/scripts/hide_important_warnings_from_javac.sh : common/bin/hide_important_warnings_from_javac.sh
make/scripts/logger.sh : common/bin/logger.sh
make/src/native/fixpath.c : common/src/fixpath.c
make/test/JtregNativeHotspot.gmk : hotspot/make/test/JtregNative.gmk
make/test/JtregNativeJdk.gmk : jdk/make/test/JtregNative.gmk
test/jdk : jdk/test
test/langtools : langtools/test
test/nashorn : nashorn/test
test/jaxp : jaxp/test
test/hotspot/gtest : hotspot/test/native
test/hotspot/jtreg : hotspot/test
bin : common/bin
bin/nashorn : nashorn/bin
doc : common/doc
doc/nashorn : nashorn/docs

View File

@@ -1,237 +0,0 @@
#!/bin/bash
#
# Copyright (c) 2014, 2017, 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.
#
# 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.
#
# Script for updating a patch file as per the shuffled/unshuffled source location.
usage() {
echo "Usage: $0 [-h|--help] [-v|--verbose] [-to9|-to10] [-r <repo>] <input_patch> <output_patch>"
echo "where:"
echo " -to9 create patches appropriate for a JDK 9 source tree"
echo " When going to 9, the output patches will be suffixed with the"
echo " repo name"
echo " -to10 create patches appropriate for a JDK 10 source tree"
echo " -r <repo> specify repo for source patch, set to 'top' for top repo"
echo " <input_patch> is the input patch file, that needs shuffling/unshuffling"
echo " <output_patch> is the updated patch file "
echo " "
exit 1
}
SCRIPT_DIR=`dirname $0`
UNSHUFFLE_LIST=$SCRIPT_DIR"/unshuffle_list.txt"
if [ ! -f "$UNSHUFFLE_LIST" ] ; then
echo "FATAL: cannot find $UNSHUFFLE_LIST" >&2
exit 1
fi
vflag="false"
while [ $# -gt 0 ]
do
case $1 in
-h | --help )
usage
;;
-v | --verbose )
vflag="true"
;;
-r)
repo="$2"
shift
;;
-to9)
shuffle_to=9
;;
-to10)
shuffle_to=10
;;
-*) # bad option
usage
;;
* ) # non option
break
;;
esac
shift
done
# Make sure we have the right number of arguments
if [ ! $# -eq 2 ] ; then
echo "ERROR: Invalid number of arguments." >&2
usage
fi
# Check the given repo
repos="top corba jaxp jaxws jdk langtools nashorn hotspot"
found="false"
if [ -n "$repo" ]; then
for r in $repos ; do
if [ $repo = "$r" ] ; then
found="true"
break;
fi
done
if [ $found = "false" ] ; then
echo "ERROR: Unknown repo: $repo. Should be one of [$repos]." >&2
usage
fi
fi
if [ "$shuffle_to" != "9" -a "$shuffle_to" != "10" ]; then
echo "ERROR: Must pick either -to9 or -to10"
exit 1
fi
# When going to 10, a repo must be specified for the source patch
if [ "$shuffle_to" = "10" -a -z "$repo" ]; then
echo "ERROR: Must specify src repo for JDK 9 patch"
exit 1
fi
# Check given input/output files
input="$1"
if [ "x$input" = "x-" ] ; then
input="/dev/stdin"
fi
if [ ! -f $input -a "x$input" != "x/dev/stdin" ] ; then
echo "ERROR: Cannot find input patch file: $input" >&2
exit 1
fi
output="$2"
if [ "x$output" = "x-" ] ; then
output="/dev/stdout"
fi
base_output="$output"
if [ "$shuffle_to" = "10" ]; then
if [ -f $output -a "x$output" != "x/dev/stdout" ] ; then
echo "ERROR: Output patch already exists: $output" >&2
exit 1
fi
else
for r in $repos; do
if [ -f "$output.$r" ]; then
echo "ERROR: Output patch already exists: $output.$r" >&2
exit 1
fi
done
fi
verbose() {
if [ ${vflag} = "true" ] ; then
echo "$@" >&2
fi
}
unshuffle() {
line=$@
verbose "Attempting to rewrite: \"$line\""
# Retrieve the file name
path=
if echo "$line" | egrep '^diff' > /dev/null ; then
if ! echo "$line" | egrep '\-\-git' > /dev/null ; then
echo "ERROR: Only git patches supported. Please use 'hg export --git ...'." >&2
exit 1
fi
path="`echo "$line" | sed -e s@'diff --git a/'@@ -e s@' b/.*$'@@`"
elif echo "$line" | egrep '^\-\-\-' > /dev/null ; then
path="`echo "$line" | sed -e s@'--- a/'@@`"
elif echo "$line" | egrep '^\+\+\+' > /dev/null ; then
path="`echo "$line" | sed s@'+++ b/'@@`"
fi
verbose "Extracted path: \"$path\""
# Find the most specific matches in the shuffle list
matches=
if [ -n "$repo" -a "$repo" != "top" ]; then
matchpath="$repo"/"$path"/x
else
matchpath="$path"/x
fi
while [ "$matchpath" != "" ] ; do
matchpath="`echo $matchpath | sed s@'\(.*\)/.*$'@'\1'@`"
if [ "$shuffle_to" = "10" ] ; then
pattern=": $matchpath$"
else
pattern="^$matchpath :"
fi
verbose "Attempting to find \"$matchpath\""
matches=`egrep "$pattern" "$UNSHUFFLE_LIST"`
if ! [ "x${matches}" = "x" ] ; then
verbose "Got matches: [$matches]"
break;
fi
if ! echo "$matchpath" | egrep '.*/.*' > /dev/null ; then
break;
fi
done
# Rewrite the line, if we have a match
if ! [ "x${matches}" = "x" ] ; then
shuffled="${matches%% : *}"
unshuffled="${matches#* : }"
patch_suffix_9=""
for r in $repos; do
if [ "$unshuffled" != "${unshuffled#$r}" ]; then
unshuffled="${unshuffled#$r\/}"
patch_suffix_9=".$r"
fi
done
verbose "shuffled: $shuffled"
verbose "unshuffled: $unshuffled"
verbose "patch_suffix_9: $patch_suffix_9"
if [ "$shuffle_to" = "10" ] ; then
newline="`echo "$line" | sed -e s@"$unshuffled"@"$shuffled"@g`"
else
newline="`echo "$line" | sed -e s@"$shuffled"@"$unshuffled"@g`"
output=$base_output$patch_suffix_9
verbose "Writing to $output"
fi
verbose "Rewriting to \"$newline\""
echo "$newline" >> $output
else
echo "WARNING: no match found for $path"
echo "$line" >> $output
fi
}
while IFS= read -r line
do
if echo "$line" | egrep '^diff|^\-\-\-|^\+\+\+' > /dev/null ; then
unshuffle "$line"
else
printf "%s\n" "$line" >> $output
fi
done < "$input"

View File

@@ -1,7 +1,7 @@
#!/bin/bash -f
#
# Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2010, 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
@@ -41,10 +41,6 @@ set -e
# To allow total changes counting
shopt -s lastpipe
# Get an absolute path to this script, since that determines the top-level directory.
this_script_dir=`dirname $0`
this_script_dir=`cd $this_script_dir > /dev/null && pwd`
# Temp area
tmp=/tmp/`basename $0`.${USER}.$$
rm -f -r ${tmp}
@@ -66,17 +62,22 @@ Help()
echo "options:"
echo "-c Specifies the company. Set to Oracle by default."
echo "-y Specifies the copyright year. Set to current year by default."
echo "-b Specifies the base reference for change set lookup."
echo "-f Updates the copyright for all change sets in a given year,"
echo " as specified by -y."
echo " as specified by -y. Overrides -b flag."
echo "-h Print this help."
echo
}
full_year=false
base_reference=master
# Process options
while getopts "c:fhy:" option; do
while getopts "b:c:fhy:" option; do
case $option in
b) # supplied base reference
base_reference=${OPTARG}
;;
c) # supplied company year
company=${OPTARG}
;;
@@ -98,10 +99,16 @@ while getopts "c:fhy:" option; do
done
# VCS check
git_installed=false
which git > /dev/null && git_installed=true
if [ "$git_installed" != "true" ]; then
echo "Error: This script requires git. Please install it."
exit 1
fi
git_found=false
[ -d "${this_script_dir}/../../.git" ] && git_found=true
git status &> /dev/null && git_found=true
if [ "$git_found" != "true" ]; then
echo "Error: Please execute script from within make/scripts."
echo "Error: Please execute script from within a JDK git repository."
exit 1
else
echo "Using Git version control system"
@@ -109,7 +116,7 @@ else
if [ "$full_year" = "true" ]; then
vcs_list_changesets=(git log --no-merges --since="${year}-01-01T00:00:00Z" --until="${year}-12-31T23:59:59Z" --pretty=tformat:"%H")
else
vcs_list_changesets=(git log --no-merges 'master..HEAD' --since="${year}-01-01T00:00:00Z" --until="${year}-12-31T23:59:59Z" --pretty=tformat:"%H")
vcs_list_changesets=(git log --no-merges "${base_reference}..HEAD" --since="${year}-01-01T00:00:00Z" --until="${year}-12-31T23:59:59Z" --pretty=tformat:"%H")
fi
vcs_changeset_message=(git log -1 --pretty=tformat:"%B") # followed by ${changeset}
vcs_changeset_files=(git diff-tree --no-commit-id --name-only -r) # followed by ${changeset}

111
bin/update_pch.sh Normal file
View File

@@ -0,0 +1,111 @@
#!/bin/sh
# Copyright (c) 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# 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.
# The output of this script may require some degree of human curation:
# - Redundant headers, e.g. both x.hpp, x.inline.hpp are included;
# - Headers relative to a non-default feature should be protected by an
# appropriate 'if' clause to make sure all variants can build without
# errors.
source_path="$(dirname ${0})"
this_script_dir="$(cd -- "${source_path}" > /dev/null && pwd)"
if test -z "${this_script_dir}"; then
echo "Error: Could not determine location of this script"
exit 1
fi
# Work in top directory
cd $this_script_dir/..
# Time threshold for header compilation, if the time exceeds the
# threshold the header will be precompiled.
if [ -z "$MIN_MS" ]; then
MIN_MS=100000
fi
if [ -z "$CLEAN" ]; then
CLEAN=true
elif [ "$CLEAN" != "true" ] && [ "$CLEAN" != "false" ]; then
echo "Expected either 'true' or 'false' for CLEAN"
fi
# CBA_PATH should point to a valid ClangBuildAnalyzer executable.
# Build steps:
# git clone --depth 1 git@github.com:aras-p/ClangBuildAnalyzer.git
# cd ClangBuildAnalyzer
# make -f projects/make/Makefile
if [ -z "$CBA_PATH" ]; then
CBA_PATH="./ClangBuildAnalyzer/build/ClangBuildAnalyzer"
fi
set -eux
PRECOMPILED_HPP="src/hotspot/share/precompiled/precompiled.hpp"
CBA_CONFIG="ClangBuildAnalyzer.ini"
TIMESTAMP="$(date +%Y%m%d-%H%M)"
RUN_NAME="pch_update_$TIMESTAMP"
CBA_OUTPUT="cba_out_$TIMESTAMP"
if [ "$CLEAN" = "true" ]; then
trap 'rm -rf "build/'"$RUN_NAME"'" "$CBA_OUTPUT" "$CBA_CONFIG"' EXIT
fi
sh configure --with-toolchain-type=clang \
--with-conf-name="$RUN_NAME" \
--disable-precompiled-headers \
--with-extra-cxxflags="-ftime-trace" \
--with-extra-cflags="-ftime-trace"
make clean CONF_NAME="$RUN_NAME"
make hotspot CONF_NAME="$RUN_NAME"
"$CBA_PATH" --all "./build/$RUN_NAME/hotspot/variant-server/libjvm/objs" \
"$CBA_OUTPUT"
# Preserve license and comments on top
cat "$PRECOMPILED_HPP" | awk '/^#include/ {exit} {print}' > "$PRECOMPILED_HPP.tmp"
if [ ! -f "$CBA_CONFIG" ]; then
cat <<EOF > "$CBA_CONFIG"
[counts]
header=100
headerChain=0
template=0
function=0
fileCodegen=0
fileParse=0
[misc]
onlyRootHeaders=true
EOF
fi
"$CBA_PATH" --analyze "$CBA_OUTPUT" | \
grep " ms: " | \
# Keep the headers more expensive than ${1}ms
awk -v x="$MIN_MS" '$1 < x { exit } { print $3 }' | \
# Filter away non-hotspot headers
grep hotspot/share | \
awk -F "hotspot/share/" '{ printf "#include \"%s\"\n", $2 }' \
>> "$PRECOMPILED_HPP.tmp"
mv "$PRECOMPILED_HPP.tmp" "$PRECOMPILED_HPP"
java test/hotspot/jtreg/sources/SortIncludes.java --update "$PRECOMPILED_HPP"

View File

@@ -282,9 +282,34 @@ possible, use an SSD. The build process is very disk intensive, and
having slow disk access will significantly increase build times. If you
need to use a network share for the source code, see below for
suggestions on how to keep the build artifacts on a local disk.</p></li>
<li><p>On Windows, if using <a href="#cygwin">Cygwin</a>, extra care
must be taken to make sure the environment is consistent. It is
recommended that you follow this procedure:</p>
<li><p>UTF-8 support is needed to compile the JDK. On Unix systems, this
typically means that the <code>C.UTF-8</code> or
<code>en_US.UTF-8</code> locale needs to be available. For Windows
users, please see the section on <a href="#locale-requirements">Locale
Requirements</a> below.</p></li>
<li><p>On Windows, extra care must be taken to have a smooth building
experience:</p>
<ul>
<li><p>Make sure that all relevant paths have short names. Short names
are used by the build system to create space-free alternative paths.
Short name creation is enabled per volume. The default setting can be
checked with the command: <code>fsutil 8dot3name query</code>. If short
name creation was turned off when a directory was created, it will not
have a short name. Whether a short name exists can be checked by running
<code>dir /X</code> in the containing directory (in cmd.exe). If a short
path is present you should see something like 'ASDF~1' being displayed
in one of the columns of the ouput. If a directory is missing a short
name, the safest way to get one is to enable short names for that
particular volume with
<code>fsutil 8dot3name set &lt;drive letter&gt;: 0</code> (note that
you need to run as administrator for this), and then re-create the
particular directory. A short name should be generated automatically
then. Another option is to manually assign a short name to the directory
using
<code>fsutil file setShortName &lt;path&gt; &lt;short name&gt;</code>.</p></li>
<li><p>If using <a href="#cygwin">Cygwin</a>, you must make sure the
file permissions and attributes between Windows and Cygwin are
consistent. It is recommended that you follow this procedure:</p>
<ul>
<li><p>Create the directory that is going to contain the top directory
of the JDK clone by using the <code>mkdir</code> command in the Cygwin
@@ -294,6 +319,9 @@ it's children will inherit those attributes.</p></li>
<li><p>Do not put the JDK clone in a path under your Cygwin home
directory. This is especially important if your user name contains
spaces and/or mixed upper and lower case letters.</p></li>
</ul>
<p>Failure to follow these procedures might result in hard-to-debug
build problems.</p></li>
<li><p>You need to install a git client. You have two choices, Cygwin
git or Git for Windows. Unfortunately there are pros and cons with each
choice.</p>
@@ -311,9 +339,7 @@ It does work well with the Skara CLI tooling, however. To alleviate the
line ending problems, make sure you set <code>core.autocrlf</code> to
<code>false</code> (this is asked during installation).</p></li>
</ul></li>
</ul>
<p>Failure to follow this procedure might result in hard-to-debug build
problems.</p></li>
</ul></li>
</ul>
<h2 id="build-hardware-requirements">Build Hardware Requirements</h2>
<p>The JDK is a massive project, and require machines ranging from
@@ -376,7 +402,7 @@ to date at the time of writing.</p>
</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>
@@ -513,8 +539,8 @@ this makes it difficult for a project such as the JDK to keep pace with
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
@@ -586,15 +612,15 @@ to compile successfully without issues.</p>
<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>
<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>
@@ -604,7 +630,7 @@ standard for C, and C++14 for C++.</p>
<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
@@ -863,12 +889,12 @@ href="https://www.gnu.org/software/bash">GNU Bash</a>. No other shells
are supported.</p>
<p>At least version 3.2 of GNU Bash must be used.</p>
<h3 id="graphviz-and-pandoc">Graphviz and Pandoc</h3>
<p>In order to build the full docs (see the
<p>In order to build man pages and the full docs (see the
<code>--enable-full-docs</code> configure option) <a
href="https://www.graphviz.org">Graphviz</a> and <a
href="https://pandoc.org">Pandoc</a> are required. Any recent versions
should work. For reference, and subject to change, Oracle builds use
Graphviz 9.0.0 and Pandoc 2.19.2.</p>
href="https://pandoc.org">Pandoc</a> is required. For full docs also <a
href="https://www.graphviz.org">Graphviz</a> is required. Any recent
versions should work. For reference, and subject to change, Oracle
builds use Graphviz 9.0.0 and Pandoc 2.19.2.</p>
<h2 id="running-configure">Running Configure</h2>
<p>To build the JDK, you need a "configuration", which consists of a
directory where to store the build output, coupled with information
@@ -1425,10 +1451,10 @@ of a cross-compiling toolchain and a sysroot environment which can
easily be used together with the <code>--with-devkit</code> configure
option to cross compile the JDK. On Linux/x86_64, the following
command:</p>
<pre><code>bash configure --with-devkit=&lt;devkit-path&gt; --openjdk-target=ppc64-linux-gnu &amp;&amp; make</code></pre>
<p>will configure and build the JDK for Linux/ppc64 assuming that
<code>&lt;devkit-path&gt;</code> points to a Linux/x86_64 to Linux/ppc64
devkit.</p>
<pre><code>bash configure --with-devkit=&lt;devkit-path&gt; --openjdk-target=ppc64le-linux-gnu &amp;&amp; make</code></pre>
<p>will configure and build the JDK for Linux/ppc64le assuming that
<code>&lt;devkit-path&gt;</code> points to a Linux/x86_64 to
Linux/ppc64le devkit.</p>
<p>Devkits can be created from the <code>make/devkit</code> directory by
executing:</p>
<pre><code>make [ TARGETS=&quot;&lt;TARGET_TRIPLET&gt;+&quot; ] [ BASE_OS=&lt;OS&gt; ] [ BASE_OS_VERSION=&lt;VER&gt; ]</code></pre>
@@ -1455,22 +1481,22 @@ following targets are known to work:</p>
<td>arm-linux-gnueabihf</td>
</tr>
<tr class="even">
<td>ppc64-linux-gnu</td>
<td>ppc64le-linux-gnu</td>
</tr>
<tr class="odd">
<td>ppc64le-linux-gnu</td>
<td>riscv64-linux-gnu</td>
</tr>
<tr class="even">
<td>s390x-linux-gnu</td>
</tr>
</tbody>
</table>
<p><code>BASE_OS</code> must be one of "OEL6" for Oracle Enterprise
Linux 6 or "Fedora" (if not specified "OEL6" will be the default). If
the base OS is "Fedora" the corresponding Fedora release can be
specified with the help of the <code>BASE_OS_VERSION</code> option (with
"27" as default version). If the build is successful, the new devkits
can be found in the <code>build/devkit/result</code> subdirectory:</p>
<p><code>BASE_OS</code> must be one of <code>OL</code> for Oracle
Enterprise Linux or <code>Fedora</code>. If the base OS is
<code>Fedora</code> the corresponding Fedora release can be specified
with the help of the <code>BASE_OS_VERSION</code> option. If the build
is successful, the new devkits can be found in the
<code>build/devkit/result</code> subdirectory:</p>
<pre><code>cd make/devkit
make TARGETS=&quot;ppc64le-linux-gnu aarch64-linux-gnu&quot; BASE_OS=Fedora BASE_OS_VERSION=21
ls -1 ../../build/devkit/result/
@@ -1722,6 +1748,20 @@ packages in the sysroot, configure the build with
--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

View File

@@ -83,19 +83,44 @@ on where and how to check out the source code.
for the source code, see below for suggestions on how to keep the build
artifacts on a local disk.
* On Windows, if using [Cygwin](#cygwin), extra care must be taken to make sure
the environment is consistent. It is recommended that you follow this
procedure:
* UTF-8 support is needed to compile the JDK. On Unix systems, this typically
means that the `C.UTF-8` or `en_US.UTF-8` locale needs to be available. For
Windows users, please see the section on [Locale
Requirements](#locale-requirements) below.
* Create the directory that is going to contain the top directory of the JDK
clone by using the `mkdir` command in the Cygwin bash shell. That is, do
*not* create it using Windows Explorer. This will ensure that it will have
proper Cygwin attributes, and that it's children will inherit those
attributes.
* On Windows, extra care must be taken to have a smooth building experience:
* Do not put the JDK clone in a path under your Cygwin home directory. This
is especially important if your user name contains spaces and/or mixed
upper and lower case letters.
* Make sure that all relevant paths have short names. Short names are used by
the build system to create space-free alternative paths. Short name
creation is enabled per volume. The default setting can be checked with the
command: `fsutil 8dot3name query`. If short name creation was turned off
when a directory was created, it will not have a short name. Whether a
short name exists can be checked by running `dir /X` in the containing
directory (in cmd.exe). If a short path is present you should see something
like 'ASDF~1' being displayed in one of the columns of the ouput. If a
directory is missing a short name, the safest way to get one is to enable
short names for that particular volume with `fsutil 8dot3name set <drive
letter>: 0` (note that you need to run as administrator for this), and then
re-create the particular directory. A short name should be generated
automatically then. Another option is to manually assign a short name to
the directory using `fsutil file setShortName <path> <short name>`.
* If using [Cygwin](#cygwin), you must make sure the file permissions and
attributes between Windows and Cygwin are consistent. It is recommended
that you follow this procedure:
* Create the directory that is going to contain the top directory of the
JDK clone by using the `mkdir` command in the Cygwin bash shell. That is,
do *not* create it using Windows Explorer. This will ensure that it will
have proper Cygwin attributes, and that it's children will inherit those
attributes.
* Do not put the JDK clone in a path under your Cygwin home directory. This
is especially important if your user name contains spaces and/or mixed
upper and lower case letters.
Failure to follow these procedures might result in hard-to-debug build
problems.
* You need to install a git client. You have two choices, Cygwin git or Git
for Windows. Unfortunately there are pros and cons with each choice.
@@ -113,9 +138,6 @@ on where and how to check out the source code.
make sure you set `core.autocrlf` to `false` (this is asked during
installation).
Failure to follow this procedure might result in hard-to-debug build
problems.
## Build Hardware Requirements
The JDK is a massive project, and require machines ranging from decent to
@@ -175,7 +197,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
@@ -327,7 +349,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
@@ -390,11 +412,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 13.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++.
@@ -404,7 +426,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.
@@ -680,9 +702,9 @@ At least version 3.2 of GNU Bash must be used.
### Graphviz and Pandoc
In order to build the full docs (see the `--enable-full-docs`
configure option) [Graphviz](https://www.graphviz.org) and
[Pandoc](https://pandoc.org) are required. Any recent versions should
In order to build man pages and the full docs (see the `--enable-full-docs`
configure option) [Pandoc](https://pandoc.org) is required. For full docs also
[Graphviz](https://www.graphviz.org) is required. Any recent versions should
work. For reference, and subject to change, Oracle builds use Graphviz
9.0.0 and Pandoc 2.19.2.
@@ -1236,11 +1258,11 @@ toolchain and a sysroot environment which can easily be used together with the
following command:
```
bash configure --with-devkit=<devkit-path> --openjdk-target=ppc64-linux-gnu && make
bash configure --with-devkit=<devkit-path> --openjdk-target=ppc64le-linux-gnu && make
```
will configure and build the JDK for Linux/ppc64 assuming that `<devkit-path>`
points to a Linux/x86_64 to Linux/ppc64 devkit.
will configure and build the JDK for Linux/ppc64le assuming that `<devkit-path>`
points to a Linux/x86_64 to Linux/ppc64le devkit.
Devkits can be created from the `make/devkit` directory by executing:
@@ -1259,16 +1281,14 @@ at least the following targets are known to work:
| x86_64-linux-gnu |
| aarch64-linux-gnu |
| arm-linux-gnueabihf |
| ppc64-linux-gnu |
| ppc64le-linux-gnu |
| riscv64-linux-gnu |
| s390x-linux-gnu |
`BASE_OS` must be one of "OEL6" for Oracle Enterprise Linux 6 or "Fedora" (if
not specified "OEL6" will be the default). If the base OS is "Fedora" the
corresponding Fedora release can be specified with the help of the
`BASE_OS_VERSION` option (with "27" as default version). If the build is
successful, the new devkits can be found in the `build/devkit/result`
subdirectory:
`BASE_OS` must be one of `OL` for Oracle Enterprise Linux or `Fedora`. If the
base OS is `Fedora` the corresponding Fedora release can be specified with the
help of the `BASE_OS_VERSION` option. If the build is successful, the new
devkits can be found in the `build/devkit/result` subdirectory:
```
cd make/devkit
@@ -1457,6 +1477,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

File diff suppressed because it is too large Load Diff

View File

@@ -8,6 +8,24 @@ HotSpot code, making it easier to read and maintain. Failure to
follow these guidelines may lead to discussion during code reviews, if
not outright rejection of a change.
### Changing this Document
Proposed changes should be discussed on the
[HotSpot Developers](mailto:hotspot-dev@openjdk.org) mailing
list. Changes are likely to be cautious and incremental, since HotSpot
coders have been using these guidelines for years.
Substantive changes are approved by
[rough consensus](https://www.rfc-editor.org/rfc/rfc7282.html) of
the [HotSpot Group](https://openjdk.org/census#hotspot) Members.
The Group Lead determines whether consensus has been reached.
Editorial changes (changes that only affect the description of HotSpot
style, not its substance) do not require the full consensus gathering
process. The normal HotSpot pull request process may be used for
editorial changes, with the additional requirement that the requisite
reviewers are also HotSpot Group Members.
### Why Care About Style?
Some programmers seem to have lexers and even C preprocessors
@@ -38,7 +56,7 @@ reformatting the whole thing. Also consider separating changes that
make extensive stylistic updates from those which make functional
changes.
### Counterexamples and Updates
### Counterexamples
Many of the guidelines mentioned here have (sometimes widespread)
counterexamples in the HotSpot code base. Finding a counterexample is
@@ -54,22 +72,6 @@ rule, of course, is "When in Rome do as the Romans". Sometimes in the
suburbs of Rome the rules are a little different; these differences
can be pointed out here.
Proposed changes should be discussed on the
[HotSpot Developers](mailto:hotspot-dev@openjdk.org) mailing
list. Changes are likely to be cautious and incremental, since HotSpot
coders have been using these guidelines for years.
Substantive changes are approved by
[rough consensus](https://www.rfc-editor.org/rfc/rfc7282.html) of
the [HotSpot Group](https://openjdk.org/census#hotspot) Members.
The Group Lead determines whether consensus has been reached.
Editorial changes (changes that only affect the description of HotSpot
style, not its substance) do not require the full consensus gathering
process. The normal HotSpot pull request process may be used for
editorial changes, with the additional requirement that the requisite
reviewers are also HotSpot Group Members.
## Structure and Formatting
### Factoring and Class Design
@@ -133,11 +135,34 @@ lines of code. Name what you must repeat.
change should be done with a "setter" accessor matched to the simple
"getter".
#### Conventions for Lock-free Code
Sometimes variables are accessed concurrently without appropriate synchronization
context, such as a held mutex or at a safepoint. In such cases the variable should
be declared `volatile` and it should NOT be accessed as a normal C++ lvalue. Rather,
access should be performed via functions from `Atomic`, such as `Atomic::load`,
`Atomic::store`, etc.
This special formulation makes it more clear to maintainers that the variable is
accessed concurrently in a lock-free manner.
### 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.
@@ -146,18 +171,22 @@ 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.
* All .cpp files include precompiled.hpp as the first include line.
* Do not include a .hpp file if the corresponding .inline.hpp file is included.
* precompiled.hpp is just a build time optimization, so don't rely on
it to resolve include problems.
* 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.
* Keep the include lines alphabetically sorted.
* Put conditional inclusions (`#if ...`) at the end of the include list.
* 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.
### JTReg Tests
@@ -348,20 +377,22 @@ adjust new lines horizontally to be consistent with that
organization. (E.g., trailing backslashes on long macro definitions
often align.)
### Avoid implicit conversions to bool
* Use `bool` for boolean values.
* Do not use ints or pointers as (implicit) booleans with `&&`, `||`,
`if`, `while`. Instead, compare explicitly, i.e. `if (x != 0)` or
`if (ptr != nullptr)`, etc.
* Do not use non-boolean declarations in _condition_ forms, i.e. don't use
`if (T v = value) { ... }`. But see
[Enhanced selection statements](#enhanced-selection-statements).
### Miscellaneous
* Use the [Resource Acquisition Is Initialization][RAII] (RAII)
design pattern to manage bracketed critical
sections. See class `ResourceMark` for an example.
* Avoid implicit conversions to `bool`.
* Use `bool` for boolean values.
* Do not use ints or pointers as (implicit) booleans with `&&`, `||`,
`if`, `while`. Instead, compare explicitly, i.e. `if (x != 0)` or
`if (ptr != nullptr)`, etc.
* Do not use declarations in _condition_ forms, i.e. don't use
`if (T v = value) { ... }`.
* Use functions from globalDefinitions.hpp and related files when
performing bitwise
operations on integers. Do not code directly as C operators, unless
@@ -373,18 +404,17 @@ they are extremely simple. (Examples: `align_up`, `is_power_of_2`,
* Always enumerate all cases in a switch statement or provide a default
case. It is ok to have an empty default with comment.
## Use of C++ Features
HotSpot was originally written in a subset of the C++98/03 language.
More recently, support for C++14 is provided, though again,
More recently, support for C++17 is provided, though again,
HotSpot only uses a subset. (Backports to JDK versions lacking
support for more recent Standards must of course stick with the
original C++98/03 subset.)
This section describes that subset. Features from the C++98/03
language may be used unless explicitly excluded here. Features from
C++11 and C++14 may be explicitly permitted or explicitly excluded,
C++11, C++14, and C++17 may be explicitly permitted or explicitly excluded,
and discussed accordingly here. There is a third category, undecided
features, about which HotSpot developers have not yet reached a
consensus, or perhaps have not discussed at all. Use of these
@@ -399,9 +429,9 @@ more extensive discussion or rationale for limitations. Features that
don't have their own subsection are listed in omnibus feature sections
for permitted, excluded, and undecided features.
Lists of new features for C++11 and C++14, along with links to their
Lists of new features for C++11, C++14, and C++17, along with links to their
descriptions, can be found in the online documentation for some of the
compilers and libraries. The C++14 Standard is the definitive
compilers and libraries. The C++17 Standard is the definitive
description.
* [C++ Standards Support in GCC](https://gcc.gnu.org/projects/cxx-status.html)
@@ -606,13 +636,41 @@ For local variables, this can be used to make the code clearer by
eliminating type information that is obvious or irrelevant. Excessive
use can make code much harder to understand.
* `auto` for non-type template parameters
([p0127r2](http://wg21.link/p0127r2))<br>
`auto` may be used as a placeholder for the type of a non-type template
parameter. The type is deduced from the value provided in a template
instantiation.
<a name="function-return-type-deduction"></a>
* Function return type deduction
([n3638](https://isocpp.org/files/papers/N3638.html))<br>
Only use if the function body has a very small number of `return`
statements, and generally relatively little other code.
* Class template argument deduction
([n3602](http://wg21.link/n3602), [p0091r3](http://wg21.link/p0091r3))<br>
The template arguments of a class template may be deduced from the arguments
to a constructor. This is similar to ordinary function argument deduction,
though partial deduction with only _some_ template arguments explicitly
provided is not permitted for class template argument deduction. Deduction
guides may be used to provide additional control over the deduction. As with
`auto` variable declarations, excessive use can make code harder to
understand, because explicit type information is lacking. But it can also
remove the need to be explicit about types that are either obvious, or that
are very hard to write. For example, these allow the addition of a scope-guard
mechanism with nice syntax; something like this
```
ScopeGuard guard{[&]{ ... cleanup code ... }};
```
* Also see [lambda expressions](#lambdaexpressions).
* `decltype(auto)` should be avoided, whether for variables, for non-type
template parameters, or for function return types. There are subtle and
complex differences between this placeholder type and `auto`. Any use would
need very careful explanation.
### Expression SFINAE
[Substitution Failure Is Not An Error][SFINAE] (SFINAE)
@@ -634,6 +692,52 @@ Here are a few closely related example bugs:<br>
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95468><br>
<https://developercommunity.visualstudio.com/content/problem/396562/sizeof-deduced-type-is-sometimes-not-a-constant-ex.html>
### Trailing return type syntax for functions
A function's return type may be specified after the parameters and qualifiers
([n2541](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2541.htm)).
In such a declaration the normal return type is `auto` and the return type is
indicated by `->` followed by the type. Although both use `auto` in the
"normal" leading return type position, this differs from
[function return type deduction](#function-return-type-deduction),
in that the return type is explicit rather than deduced, but specified in a
trailing position.
Use of trailing return types is permitted. However, the normal, leading
position for the return type is preferred. A trailing return type should only
be used where it provides some benefit. Such benefits usually arise because a
trailing return type is in a different scope than a leading return type.
* If the function identifier is a nested name specifier, then the trailing
return type occurs in the nested scope. This may permit simpler naming in the
return type because of the different name lookup context.
* The trailing return type is in the scope of the parameters, making their
types accessible via `decltype`. For example
```
template<typename T, typename U> auto add(T t, U u) -> decltype(t + u);
```
rather than
```
template<typename T, typename U> decltype((*(T*)0) + (*(U*)0)) add(T t, U u);
```
* Complex calculated leading return types may obscure the normal syntactic
boundaries, making it more difficult for a reader to find the function name and
parameters. This is particularly common in cases where the return type is
being used for [SFINAE]. A trailing return type may be preferable in such
situations.
### Non-type template parameter values
C++17 extended the arguments permitted for non-type template parameters
([n4268](http://wg21.link/n4268)). The kinds of values (the parameter types)
aren't changed. However, the values can now be the result of arbitrary
constant expressions (with a few restrictions on the result), rather than a
much more limited and restrictive set of expressions. In particular, the
argument for a pointer or reference type parameter can now be the result of a
constexpr function.
### enum
Where appropriate, _scoped-enums_ should be used.
@@ -752,6 +856,65 @@ ordering, which may differ from (may be stronger than) sequentially
consistent. There are algorithms in HotSpot that are believed to rely
on that ordering.
### Variable Templates and Inline Variables
The use of variable templates (including static data member templates)
([N3651](https://wg21.link/N3651)) is permitted. They provide parameterized
variables and constants in a simple and direct form, instead of requiring the
use of various workarounds.
Variables with static storage duration and variable templates may be declared
`inline` ([p0386r2](https://wg21.link/p0386r2)), and this usage is
permitted. This has similar effects as for declaring a function inline: it can
be defined, identically, in multiple translation units, must be defined in
every translation unit in which it is [ODR used][ODR], and the behavior of the
program is as if there is exactly one variable.
Declaring a variable inline allows the complete definition to be in a header
file, rather than having a declaration in a header and the definition in a
.cpp file. The guidance on
[initialization](#initializing-variables-with-static-storage-duration) of such
variables still applies. Inline variables with dynamic initializations can
make initialization order problems worse. The few ordering constraints
that exist for non-inline variables don't apply, as there isn't a single
program-designated translation unit containing the definition.
A `constexpr` static data member or static data member template
is implicitly `inline`. As a consequence, an
[ODR use][ODR] of such a member doesn't require a definition in some .cpp
file. (This is a change from pre-C++17. Beginning with C++17, such a
definition is considered a duplicate definition, and is deprecated.)
Declaring a `thread_local` variable template or `inline` variable is forbidden
in HotSpot code. [The use of `thread_local`](#thread_local) is already
heavily restricted.
### Initializing variables with static storage duration
Variables with static storage duration and _dynamic initialization_
[C++14 3.6.2](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf)).
should be avoided, unless an implementation is permitted to perform the
initialization as a static initialization. The order in which dynamic
initializations occur is incompletely specified. Initialization order
problems can be difficult to deal with and lead to surprises.
Variables with static storage duration and non-trivial destructors should be
avoided. HotSpot doesn't generally try to cleanup on exit, and running
destructors at exit can lead to problems.
Some of the approaches used in HotSpot to avoid dynamic initialization
include:
* Use the `Deferred<T>` class template. Add a call to its initialization
function at an appropriate place during VM initialization. The underlying
object is never destroyed.
* For objects of class type, use a variable whose value is a pointer to the
class, initialized to `nullptr`. Provide an initialization function that sets
the variable to a dynamically allocated object. Add a call to that function at
an appropriate place during VM initialization. Such objects are usually never
destroyed.
### Uniform Initialization
The use of _uniform initialization_
@@ -769,6 +932,53 @@ Some relevant sections from cppreference.com:
Although related, the use of `std::initializer_list` remains forbidden, as
part of the avoidance of the C++ Standard Library in HotSpot code.
### Mandatory Copy Elision
[Copy elision](https://en.wikipedia.org/wiki/Copy_elision)
(or [here](https://cn.cppreference.com/w/cpp/language/copy_elision.html))
is a compiler optimization used to avoid potentially expensive copies in
certain situations. It is critical to making practical the performance of
return by value or pass by value. It is also unusual in not following the
as-if rule for optimizations - copy elision can be applied even if doing so
bypasses side-effects of copying/moving the object. The C++ standard
explicitly permits this.
However, because it's an optional optimization, the relevant copy/move
constructor must be available and accessible, in case the compiler chooses to
not apply the optimization even in a situation where permitted.
C++17 changed some cases of copy elision so that there is never a copy/move in
these cases ([p0135r1](http://wg21.link/p0135r1)). The interesting cases
involve a function that returns an unnamed temporary object, and constructors.
In such cases the object being initialized from the temporary is always direct
initialized, with no copy/move ever involved; see [RVO] and more specifically
[URVO].
Since this is now standard behavior it can't be avoided in the covered
situations. This could change the behavior of code that relied on side effects
by constructors, but that's both uncommon and was already problematic because
of the previous optional copy elision. But HotSpot code can, and should,
explicitly take advantage of this newly required behavior where it makes sense
to do so.
For example, it may be beneficial to delay construction of the result of a
function until the return statement, rather than having a local variable that
is modified into the desired state and then returned. (Though [NRVO] may apply
in that case.)
It is also now possible to define a factory function for a class that is
neither movable nor copyable, if it can be written in a way that makes use of
this feature.
[RVO]: https://en.wikipedia.org/wiki/Copy_elision#RVO
"Return Value Optimization"
[NRVO]: https://en.wikipedia.org/wiki/Copy_elision#NRVO
"Named Return Value Optimization"
[URVO]: https://cn.cppreference.com/w/cpp/language/copy_elision.html
"Unnamed Return Value Optimization"
### Local Function Objects
* Local function objects, including lambda expressions, may be used.
@@ -837,6 +1047,12 @@ Another use for local functions is [partial application][PARTIALAPP]. Again
here, lambdas are typically much simpler and less verbose than function
object classes.
A lambda is a constexpr function if either the parameter declaration clause is
followed by `constexpr`, or it satisfies the requirements for a constexpr
function ([p0170r1]). Thus, using a lambda to package up some computation
doesn't incur unnecessary overhead or prevent use in a context required to be
compile-time evaluated (such as an array size).
Because of these benefits, lambda expressions are permitted in HotSpot code,
with some restrictions and usage guidance. An anonymous lambda is one which
is passed directly as an argument. A named lambda is the value of a
@@ -888,6 +1104,17 @@ the most part they don't apply to HotSpot code, given other usage restrictions.
applies to captured auto variables, not member variables, and is
inconsistent with referential transparency.
* By-value capture of `this` (using a capture list like `[*this]` ([p0018r3]))
is also not permitted. One of the motivating use-cases is when the lifetime of
the lambda exceeds the lifetime of the object for the containing member
function. That is, we have an upward lambda that is capturing `this` of the
enclosing method. But again, that use-case doesn't apply if only downward
lambdas are used.
Another use-case is when we simply want the lambda to be operating on a copy
of `this` for some reason. This is sufficiently uncommon that it can be
handled by manual copying, so readers don't need to understand this rare
syntax.
* Non-capturing lambdas (with an empty capture list - `[]`) have limited
utility. There are cases where no captures are required (pure functions,
for example), but if the function is small and simple then that's obvious
@@ -897,7 +1124,7 @@ anyway.
Capture initializers inherently increase the complexity of the capture list,
and provide little benefit over an additional in-scope local variable.
The use of `mutable` lambda expressions is forbidden because there don't
* The use of `mutable` lambda expressions is forbidden because there don't
seem to be many, if any, good use-cases for them in HotSpot. A lambda
expression needs to be mutable in order to modify a by-value captured value.
But with only downward lambdas, such usage seems likely to be rare and
@@ -1044,21 +1271,12 @@ Do not use _inheriting constructors_
C++11 provides simple syntax allowing a class to inherit the constructors of a
base class. Unfortunately there are a number of problems with the original
specification, and C++17 contains significant revisions ([p0136r1] opens with
a list of 8 Core Issues). Since HotSpot doesn't support use of C++17, use of
inherited constructors could run into those problems. Such uses might also
change behavior in a future HotSpot update to use C++17 or later, potentially
in subtle ways that could lead to hard to diagnose problems. Because of this,
HotSpot code must not use inherited constructors.
a list of 8 Core Issues). Although those issues have been addressed, the
benefits from this feature are small compared to the complexity. Because of
this, HotSpot code must not use inherited constructors.
Note that gcc7 provides the `-fnew-inheriting-ctors` option to use the
[p0136r1] semantics. This is enabled by default when using C++17 or later.
It is also enabled by default for `fabi-version=11` (introduced by gcc7) or
higher when using C++11/14, as the change is considered a Defect Report that
applies to those versions. Earlier versions of gcc don't have that option,
and other supported compilers may not have anything similar.
[p0136r1]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0136r1.html
"p0136r1"
[p0136r1]: http:/wg21.link/p0136r1 "p0136r1"
[p0195r0](http://wg21.link/p0195r0)
### Attributes
@@ -1077,15 +1295,160 @@ preferred location.
function's declaration, rather than between the function name and the parameter
list.
[p0068r0](http://wg21.link/p0068r0) is the initial proposal for the attributes
added by C++17.)
Only the following attributes are permitted:
* `[[noreturn]]`
* `[[nodiscard]]` ([p0189r1](http://wg21.link/p0189r1))
* `[[maybe_unused]]` ([p0212r1](http://wg21.link/p0212r1))
* `[[fallthrough]]` ([p0188r1](http://wg21.link/p0188))
The following attributes are expressly forbidden:
* `[[carries_dependency]]` - Related to `memory_order_consume`.
* `[[deprecated]]` - Not relevant in HotSpot code.
Direct use of non-standard (and presumably scoped) attributes in shared code
is also forbidden. Using such would depend on the C++17 feature that an
attribute not recognized by the implementation is ignored
([p0283r2](http://wg21.link/p0283r2)). If such an attribute is needed in
shared code, the well-established technique of providing an `ATTRIBUTE_XXX`
macro with per-compiler definitions (sometimes empty) should be
used. Compilers may warn about unrecognized attributes (whether by name or by
location), in order to report typos or misuse. Disabling such warnings
globally would not be desirable.
The use of `using` directives in attribute lists is also forbidden.
([p0028r0](http://wg21.link/p0028r0))
([p0028r4](http://wg21.link/p0028r4))
We don't generally use scoped attributes in attribute lists with other
attributes. Rather, uses of scoped attributes (which are implementation
defined) are generally hidden behind a portability macro that includes the
surrounding brackets.
### noexcept
Use of `noexcept` exception specifications
([n3050](http://wg21.link/n3050))
are permitted with restrictions described below.
* Only the argument-less form of `noexcept` exception specifications are
permitted.
* Allocation functions that may return `nullptr` to indicate allocation
failure must be declared `noexcept`.
* All other uses of `noexcept` exception specifications are forbidden.
* `noexcept` expressions are forbidden.
* Dynamic exception specifications are forbidden.
HotSpot is built with exceptions disabled, e.g. compile with `-fno-exceptions`
(gcc, clang) or no `/EH` option (MSVC++). So why do we need to consider
`noexcept` at all? It's because `noexcept` exception specifications serve two
distinct purposes.
The first is to allow the compiler to avoid generating code or data in support
of exceptions being thrown by a function. But this is unnecessary, because
exceptions are disabled.
The second is to allow the compiler and library code to choose different
algorithms, depending on whether some function may throw exceptions. This is
only relevant to a certain set of functions.
* Some allocation functions (`operator new` and `operator new[]`) return
`nullptr` to indicate allocation failure. If a `new` expression calls such an
allocation function, it must check for and handle that possibility. Declaring
such a function `noexcept` informs the compiler that `nullptr` is a possible
result. If an allocation function is not declared `noexcept` then the compiler
may elide that checking and handling for a `new` expression calling that
function.
* Certain Standard Library facilities (notably containers) provide different
guarantees for some operations (and may choose different algorithms to
implement those operations), depending on whether certain functions
(constructors, copy/move operations, swap) are nothrow or not. They detect
this using type traits that test whether a function is declared `noexcept`.
This can have a significant performance impact if, for example, copying is
chosen over a potentially throwing move. But this isn't relevant, since
HotSpot forbids the use of most Standard Library facilities.
HotSpot code can assume no exceptions will ever be thrown, even from functions
not declared `noexcept`. So HotSpot code doesn't ever need to check, either
with conditional exception specifications or with `noexcept` expressions.
The exception specification is part of the type of a function
([p0012r1](http://wg21.link/p0012r1). This likely has little impact on HotSpot
code, since the use of `noexcept` is expected to be rare.
Dynamic exception specifications were deprecated in C++11. C++17 removed all
but `throw()`, with that remaining a deprecated equivalent to `noexcept`.
### Enhanced selection statements
C++17 modified the _condition_ part of `if` and `switch` statements, permitting
an _init-statement_ to be included
([p0305r1](http://wg21.link/p0305r1)).
Use of this feature is permitted. (However, complex uses may interfere with
readability.) Limiting the scope of a variable involved in the condition,
while also making the value available to the statement's body, can improve
readability. The alternative method of scope-limiting by introducing a nested
scope isn't very popular and is rarely used.
This new syntax is in addition to the _condition_ being a declaration with a
_brace-or-equal-initializer_. For an `if` statement this new sytax gains that
benefit without violating the long-standing guidance against using
[implicit conversions to `bool`](#avoid-implicit-conversions-to-bool),
which still stands.
For example, uses of Unified Logging sometimes explicitly check whether a
`LogTarget` is enabled. Instead of
```
LogTarget(...) lt;
if (lt.is_enabled()) {
LogStream log(lt);
... use log ...
}
... lt is accessible but probably not needed here ...
```
using this feature one could write
```
if (LogTarget(...) lt; lt.is_enabled()) {
LogStream log(lt);
... use log ...
}
```
C++17 also added compile-time `if` statements
([p0292r2](http://wg21.link/p0292r2)). Use of `if constexpr` is
permitted. This feature can replace and (sometimes vastly) simplify many uses
of [SFINAE]. The same declaration and initialization guidance for the
_condition_ part apply here as for ordinary `if` statements.
### Expression Evaluation Order
C++17 tightened up the evaluation order for some kinds of subexpressions
([p0138r2](http://wg21.link/p0138r2)). Note, however, that the Alternate
Evaluation Order for Function Calls alternative in that paper was adopted,
rather than the strict left to right order of evaluation for function call
arguments that was proposed in the main body of the paper.
The primary purpose of this change seems to be to make certain kinds of call
chaining well defined. That's not a style widely used in HotSpot. In general
it is better to continue to avoid questions in this area by isolating
operations with side effects from other statements. In particular, continue to
avoid modifying a value in an expression where it is also used.
### Compatibility with C11
C++17 refers to C11 rather than C99. This means that C11 libraries and
functions may be used in HotSpot. There may be limitations because of
differing levels of compatibility among various compilers and versions of
those compilers.
Note that the C parts of the JDK have been built with C11 selected for some
time ([JDK-8292008](https://bugs.openjdk.org/browse/JDK-8292008)).
### Additional Permitted Features
* `alignof`
@@ -1103,7 +1466,10 @@ The following attributes are expressly forbidden:
([n2555](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2555.pdf))
* Static assertions
([n1720](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1720.html))
([n1720](http://wg21.link/n1720))
([n3928](http://wg21.link/n3928))<br>
Both the original (C++11) two-argument form and the new (C++17)
single-argument form are permitted.
* `decltype`
([n2343](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2343.pdf))
@@ -1150,7 +1516,72 @@ The following attributes are expressly forbidden:
* Unrestricted Unions
([n2544](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2544.pdf))
### Excluded Features
* Preprocessor Condition `__has_include`
([p0061r0](http://wg21.link/p0061r0))
([p0061r1](http://wg21.link/p0061r1))
* Hexadecimal Floating-Point Literals
([p0245r1](http://wg21.link/p0245r1))
* Construction Rules for `enum class` Values
([p0138r2](http://wg21.link/p0138r2))
* Allow `typename` in template template parameter
([n4051](http://wg21.link/n4051)) &mdash; template template parameters are
barely used (if at all) in HotSpot, but there's no reason to artificially
disallow this syntactic regularization in any such uses.
## Excluded Features
### Structured Bindings
The use of structured bindings [p0217r3](http://wg21.link/p0217r3) is
forbidden. Preferred approaches for handling functions with multiple return
values include
* Return a named class/struct intended for that purpose, with named and typed
members/accessors.
* Return a value along with out parameters (usually pointers, sometimes
references).
* Designate a sentinel "failure" value in the normal return value type, with
some out of band location for additional information. For example, this is
the model typically used with `errno`, where a function returns a normal
result, or -1 to indicate an error, with additional error information in
`errno`.
There is a strong preference for names and explicit types, as opposed to
offsets and implicit types. For example, there are folks who strongly dislike
that some of the Standard Library functions return `std::pair` because `first`
and `second` members don't carry any useful information.
### File System Library
The use of the File System library is forbidden. HotSpot doesn't do very much
with files, and already has adequate mechanisms for its needs. Rewriting in
terms of this new library doesn't provide any obviously significant
benefits. Having a mix of the existing usage and uses of this new library
would be confusing.
[n4100](http://wg21.link/n4100)
[p0218r0](http://wg21.link/p0218r0)
[p0219r1](http://wg21.link/p0219r1)
[p0317r1](http://wg21.link/p0317r1)
[p0392r0](http://wg21.link/p0392r0)
[p0430r2](http://wg21.link/p0430r2)
[p0492r2](http://wg21.link/p0492r2)
[p1164r1](http://wg21.link/p1164r1)
### Aggregate Extensions
Aggregates with base classes are forbidden. C++17 allows aggregate
initialization for classes with base classes
([p0017r1](https://wg21.link/p0017r1)). HotSpot makes very little use of
aggregate classes, preferring explicit constructors even for very simple
classes.
### Additional Excluded Features
* New string and character literals
* New character types
@@ -1181,39 +1612,279 @@ namespace std;` to avoid needing to qualify Standard Library names.
([n2179](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html)) &mdash;
HotSpot does not permit the use of exceptions, so this feature isn't useful.
* Avoid non-local variables with non-constexpr initialization.
In particular, avoid variables with types requiring non-trivial
initialization or destruction. Initialization order problems can be
difficult to deal with and lead to surprises, as can destruction
ordering. HotSpot doesn't generally try to cleanup on exit, and
running destructors at exit can also lead to problems.
* Avoid most operator overloading, preferring named functions. When
operator overloading is used, ensure the semantics conform to the
normal expected behavior of the operation.
* Avoid most implicit conversion constructors and (implicit or explicit)
conversion operators. (Note that conversion to `bool` isn't needed
in HotSpot code because of the "no implicit boolean" guideline.)
conversion operators. Conversion to `bool` operators aren't needed
because of the
[no implicit boolean](#avoid-implicit-conversions-to-bool)
guideline.)
* Avoid `goto` statements.
### Undecided Features
* Attributes for namespaces and enumerators
([n4266](http://wg21.link/n4266) &mdash;
The only applicable attribute is [`[[deprecated]]`](#attributes), which is
forbidden.
* Variadic `using` declarations
([p0195r2](http://wg21.link/p0195r2))
* `std::variant<>`
([p0088r3](http://wg21.link/p0088r3)) &mdash;
Even if more of the C++ Standard Library is permitted, this class will remain
forbidded. Invalid accesses are indicated by throwing exceptions.
* `std::any`
([p0220r1](http://wg21.link/p0220r1)) &mdash;
Even if more of the C++ Standard Library is permitted, this class will remain
forbidden. It may require allocation, and always uses the standard
allocator. It requires [RTTI].
* `std::as_const()`
([p0007r1](http://wg21.link/p0007r1)) &mdash;
If sufficiently useful, HotSpot could add such a function. It would likely be
added to globalDefinitions.hpp, where there are already some similar small
utilities.
* `std::clamp()`
([p002501](http://wg21.link/p002501)) &mdash;
This function is already provided in globalDefinitions.hpp.
* Parallel STL Algorithms
([p0024r2](http://wg21.link/p0024r2)) &mdash;
Even if more of the C++ Standard Library is permitted, these will remain
forbidden. They are built on the standard C++ threading mechanisms. HotSpot
doesn't use those mechanisms, instead providing and using its own.
* Cache Line Sizes
[p0154r1](http://wg21.link/p0154r1) &mdash;
HotSpot has its own mechanisms for this, using values like
`DEFAULT_CACHE_LINE_SIZE`. The platform-specific implementation of the HotSpot
mechanisms might use these library functions, but there is no reason to move
away from the current approach. Quoting from [JOSUTTIS]: "... if you know better,
use specific values, but using these values is better than any assumed fixed
size for code supporting multiple platforms."
* `register` storage class removal
[p0001r1](http://wg21.link/p0001r1) &mdash;
The `register` storage class has been removed. `register` is still a keyword,
so still can't be used for normal purposes. Also, this doesn't affect the use
of `register` for gcc-style extended asm code; that's a different syntactic
element with a different meaning.
* Value of `__cplusplus` &mdash;
Testing whether `__cplusplus` is defined or not is permitted, and indeed
required. But the value should not need to be examined. The value is changed
with each revision of the Standard. But we build HotSpot and (most of) the
rest of the JDK with a specifically selected version of the Standard. The
value of `__cplusplus` should be known and unchanging until we change the
project's build configuration again. So examining the value shouldn't ever be
necessary.
* Removal of `++` for `bool`
([p0003r1](http://wg21.link/p0003r1))
* Removal of trigraphs
([n4086](http://wg21.link/n4086))
## Undecided Features
This list is incomplete; it serves to explicitly call out some
features that have not yet been discussed.
* Trailing return type syntax for functions
([n2541](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2541.htm))
Some features are undecided (so implicitly forbidden) because we don't expect
to use them at all. This might be reconsidered if someone finds a good use
case.
* Variable templates
([n3651](https://isocpp.org/files/papers/N3651.pdf))
Some Standard Library features are undecided (so implicitly forbidden)
because, while this Style Guide forbids the use of such, they may be
sufficiently useful that we want to permit them anyway. Doing so may require
some idiomatic mechanism for addressing things like `assert` incompatibility,
incompatibility with HotSpot's `FORBID_C_FUNCTION` mechanism, and the like.
### std::optional<>
It is undecided whether to permit the use of `std::optional<>`
([p0220r1](http://wg21.link/p0220r1)). It may be sufficiently useful that it
should be permitted despite the usual prohibition against using Standard
Library facilities. Use of the `value()` member function must be forbidden, as
it reports an invalid access by throwing an exception.
### std::byte
It is undecided whether to permit the use of the `std::byte` type
([p0298r3](http://wg21.link/p0298r3)). It may be sufficiently useful that it
should be permitted despite the usual prohibition against using Standard
Library facilities.
It has been suggested that changing the HotSpot `address` type to use
`std::byte` has some benefits. That is, replace
```
typedef u_char* address;
typedef const u_char* const_address;
```
```
using address = std::byte*;
using const_address = const std::byte*;
```
in globalDefinitions.hpp.
A specific benefit that was mentioned is that it might improve the horrible
way that gdb handles our current definition of the `address` type.
```
#include <cstddef>
typedef unsigned char* address;
typedef std::byte* address_b;
int main() {
char* mem;
address addr = (address)mem;
address_b addr_b = (address_b)mem;
return 0;
}
```
```
(gdb) p addr
$1 = (address) 0x7ffff7fe4fa0 <dl_main> "\363\017\036\372Uf\017\357\300H\211\345AWI\211\377AVAUATSH\201\354\210\002"
(gdb) p addr_b
$2 = (address_b) 0x7ffff7fe4fa0 <dl_main>
```
This needs to be explored. Some folks have said they will do so.
### String Views
It is undecided whether to permit the use of `std::string_view`
([p0220r1](http://wg21.link/p0220r1)).
HotSpot doesn't use `std::string`, but uses `char*` strings a lot. Wrapping
such in a `std::string_view` to enable the use of various algorithms could be
useful. But since HotSpot also doesn't permit use of `<algorithm>` and the
like, that only gets the limited set of algorithms provided by the view class
directly.
There is also the issue of `NUL` termination; string views are not necessarily
`NUL` terminated. Moreover, if one goes to the work of making one that is
`NUL` terminated, that terminator is included in the size.
There are other caveats. Permitting use of string views would require
discussion of those.
### Substring and Subsequence Searching
In addition to simple substring searching, the Standard Library now includes
Boyer-Moore and Boyer-Moore-Horspool searchers, in case someone wants to
search really large texts. That seems an unlikely use-case for HotSpot. See
[p0220r1](http://wg21.link/p0220r1).
### `new` and `delete` with Over-Aligned Data
It is undecided whether to permit the use of dynamic allocation of overaligned
types ([n3396](http://wg21.link/n3396)).
HotSpot currently only has a couple of over-aligned types that are dynamically
allocated. These are handled manually, not going through `new` expressions, as
that couldn't work before C++17.
One of the ways an over-aligned type might arise is by aligning a data member.
This might be done to avoid destructive interference for concurrent accesses.
But HotSpot uses a different approach, using explicit padding. Again, this is
in part because `new` and `delete` of overaligned types didn't work. But we
might prefer to continue this approach.
We would need to add `operator new` overloads to `CHeapObj<>` and possibly in
other places in order to support this. However, it has been suggested that
implementing it (efficiently) on top of NMT might be difficult. Note that
`posix_memalign` / `_aligned_malloc` don't help here, because of NMT's use of
malloc headers.
If we don't support it we may want to add `operator new` overloads that are
deleted, to prevent attempted uses.
Alignment usage in non-HotSpot parts of the OpenJDK:
* `alignas` used once in harfbuzz, to align a variable.
* libpipewire has `#define SPA_ALIGNED` macro using gcc `aligned` attribute,
but doesn't use it.
* libsleef has `#define ALIGNED` macro using gcc `aligned` attribute. It is
not used for class or member declarations.
### `std::to_chars()` and `std::from_chars`
It is undecided whether to permit the use of `std::to_chars()` and
`std::from_chars()` ([p0067r5](http://wg21.link/p0067r5)).
These functions provide low-level conversions between character sequences and
numeric values. This seems like a good candidate for use in HotSpot,
potentially replacing various clumsy or less performant alternatives. There is
no memory allocation. Parsing failures are indicated via error codes rather
than exceptions. Various other nice for HotSpot properties.
Note that the published C++17 Standard puts these in `<utility>`, but a defect
report moved them to `<charconv>`. This also needs `<system_error>`.
This would require upgrading the minimum gcc version to 11.1 for floating
point conversion support. The minimum Visual Studio version is already
sufficient. The minimum clang version requirement hasn't been determined yet.
### `std::launder()`
It is undecided whether to permit the use of `std::launder()`
([p0137r1](http://wg21.link/p0137r1)).
Change to permitted if we discover a place where we need it. Or maybe we
should just permit it, but hope we don't need it.
Also, C++20 revised the relevant part of Object Lifetime in a way that seems
more permissive and with less need of laundering. We don't know if
implementations of prior versions take advantage of the difference.
See Object Lifetime: C++17 6.8/8, C++20 6.7.3/8
### Additional Undecided Features
* Member initializers and aggregates
([n3653](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3653.html))
* Rvalue references and move semantics
* Shorthand for nested namespaces
([n4230](http://wg21.link/n4230)) &mdash;
HotSpot makes very little use of namespaces, so this seemingly innocuous
feature probably isn't useful to us.
* Direct list initialization with `auto`
([n3681](http://wg21.link/n3681)) &mdash;
This change fixed some issues with direct list initialization and `auto`. But
we don't use that feature much, if at all. And perhaps shouldn't be using it.
* UTF-8 Character Literals
([n4267](http://wg21.link/n4267)) &mdash;
Do we have a use-case for this?
* Fold Expressions
([n4295](http://wg21.link/n4295)) &mdash;
Provides a simple way to apply operators to a parameter pack. HotSpot doesn't
use variadic templates very much. That makes it questionable that developers
should need to know about this feature. But if someone does come up with a
good use-case, it's likely that the alternatives are significantly worse,
because pack manipulation without this can be complicated.
* `std::invoke<>()`
([n4169](http://wg21.link/n4169))
[ADL]: https://en.cppreference.com/w/cpp/language/adl
"Argument Dependent Lookup"
@@ -1231,3 +1902,6 @@ features that have not yet been discussed.
[PARTIALAPP]: https://en.wikipedia.org/wiki/Partial_application
"Partial Application"
[JOSUTTIS]: https://www.cppstd17.com
"C++17: The Complete Guide"

View File

@@ -189,7 +189,7 @@ wants to find) and design tests using those models.</p>
<p>Prefer having checks inside test code.</p>
<p>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 easier
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.</p>
@@ -198,7 +198,7 @@ the closer a check to a test, the better.</p>
<p>Prefer <code>EXPECT</code> over <code>ASSERT</code> if possible.</p>
<p>This is related to the <a href="#informativeness">informativeness</a>
property of tests, information for other checks can help to better
localize a defects root-cause. One should use <code>ASSERT</code> if it
localize a defect's root-cause. One should use <code>ASSERT</code> if it
is impossible to continue test execution or if it does not make much
sense. Later in the text, <code>EXPECT</code> forms will be used to
refer to both <code>ASSERT/EXPECT</code>.</p>
@@ -235,7 +235,7 @@ which checks that the absolute value of the difference between
<code>eps</code>.</p>
<h3 id="c-string-comparison">C string comparison</h3>
<p>Use string special macros for C strings comparisons.</p>
<p><code>EXPECT_EQ</code> just compares pointers values, which is
<p><code>EXPECT_EQ</code> just compares pointers' values, which is
hardly what one wants comparing C strings. GoogleTest provides
<code>EXPECT_STREQ</code> and <code>EXPECT_STRNE</code> macros to
compare C string contents. There are also case-insensitive versions
@@ -245,7 +245,7 @@ compare C string contents. There are also case-insensitive versions
<p>All GoogleTest asserts print compared expressions and their values,
so there is no need to have them in error messages. Asserts print only
compared values, they do not print any of interim variables, e.g.
<code>ASSERT_TRUE((val1 == val2 &amp;&amp; isFail(foo(8)) || i == 18)</code>
<code>ASSERT_TRUE((val1 == val2 &amp;&amp; isFail(foo(8))) || i == 18)</code>
prints only one value. If you use some complex predicates, please
consider <code>EXPECT_PRED*</code> or <code>EXPECT_FORMAT_PRED</code>
assertions family, they check that a predicate returns true/success and
@@ -293,7 +293,7 @@ subsystem, etc.</p>
<p>This naming scheme helps to find tests, filter them and simplifies
test failure analysis. For example, class <code>Foo</code> - test group
<code>Foo</code>, compiler logging subsystem - test group
<code>CompilerLogging</code>, G1 GC test group <code>G1GC</code>, and
<code>CompilerLogging</code>, G1 GC - test group <code>G1GC</code>, and
so forth.</p>
<h3 id="filename">Filename</h3>
<p>A test file must have <code>test_</code> prefix and <code>.cpp</code>
@@ -345,7 +345,7 @@ name starts or ends with an underscore are enough to be safe.</p>
<h3 id="friend-classes">Friend classes</h3>
<p>All test purpose friends should have either <code>Test</code> or
<code>Testable</code> suffix.</p>
<p>It greatly simplifies understanding of friendships purpose and
<p>It greatly simplifies understanding of friendship's purpose and
allows statically check that private members are not exposed
unexpectedly. Having <code>FooTest</code> as a friend of
<code>Foo</code> without any comments will be understood as a necessary
@@ -435,7 +435,7 @@ inapplicable tests.</p>
<h3 id="flag-restoring">Flag restoring</h3>
<p>Restore changed flags.</p>
<p>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 <code>SetUp</code> and
<code>TearDown</code> functions. Both ways require to use a test fixture
@@ -444,7 +444,7 @@ class, which sometimes is too wordy. The simpler facilities like
be used in such cases to restore/set values.</p>
<p>Caveats:</p>
<ul>
<li><p>Changing a flags value could break the invariants between flags'
<li><p>Changing a flag's value could break the invariants between flags'
values and hence could lead to unexpected/unsupported JVM
state.</p></li>
<li><p><code>FLAG_SET_*</code> macros can change more than one flag (in

View File

@@ -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.
@@ -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`.
@@ -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`.
@@ -172,7 +172,7 @@ Provide informative, but not too verbose error messages.
All GoogleTest asserts print compared expressions and their values, so
there is no need to have them in error messages. Asserts print only
compared values, they do not print any of interim variables, e.g.
`ASSERT_TRUE((val1 == val2 && isFail(foo(8)) || i == 18)` prints only
`ASSERT_TRUE((val1 == val2 && isFail(foo(8))) || i == 18)` prints only
one value. If you use some complex predicates, please consider
`EXPECT_PRED*` or `EXPECT_FORMAT_PRED` assertions family, they check that
a predicate returns true/success and print out all parameters values.
@@ -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
@@ -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.
@@ -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
@@ -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

View File

@@ -0,0 +1,124 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Explanation of start of release changes</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="../make/data/docs-resources/resources/jdk-default.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<header id="title-block-header">
<h1 class="title">Explanation of start of release changes</h1>
</header>
<nav id="TOC" role="doc-toc">
<ul>
<li><a href="#overview" id="toc-overview">Overview</a></li>
<li><a href="#details-and-file-updates"
id="toc-details-and-file-updates">Details and file updates</a>
<ul>
<li><a href="#meta-data-files" id="toc-meta-data-files">Meta-data
files</a></li>
<li><a href="#src-files" id="toc-src-files"><code>src</code>
files</a></li>
<li><a href="#test-files" id="toc-test-files"><code>test</code>
files</a></li>
</ul></li>
</ul>
</nav>
<h2 id="overview">Overview</h2>
<p>The start of release changes, the changes that turn JDK <em>N</em>
into JDK (<em>N</em>+1), are primarily small updates to various files
along with new files to store symbol information to allow
<code>javac --release N ...</code> to run on JDK (<em>N</em>+1).</p>
<p>The updates include changes to files holding meta-data about the
release, files under the <code>src</code> directory for API and tooling
updates, and incidental updates under the <code>test</code>
directory.</p>
<h2 id="details-and-file-updates">Details and file updates</h2>
<p>As a matter of policy, there are a number of semantically distinct
concepts which get incremented separately at the start of a new
release:</p>
<ul>
<li>Feature value of <code>Runtime.version()</code></li>
<li>Highest source version modeled by
<code>javax.lang.model.SourceVersion</code></li>
<li>Highest class file format major version recognized by the
platform</li>
<li>Highest
<code>-source</code>/<code>-target</code>/<code>--release</code>
argument recognized by <code>javac</code> and related tools</li>
</ul>
<p>The expected file updates are listed below. Additional files may need
to be updated for a particular release.</p>
<h3 id="meta-data-files">Meta-data files</h3>
<ul>
<li><code>jcheck/conf</code>: update meta-data used by
<code>jcheck</code> and the Skara tooling</li>
<li><code>make/conf/version-numbers.conf</code>: update to meta-data
used in the build</li>
</ul>
<h3 id="src-files"><code>src</code> files</h3>
<ul>
<li><code>src/hotspot/share/classfile/classFileParser.cpp</code>: add a
<code>#define</code> for the new version</li>
<li><code>src/java.base/share/classes/java/lang/classfile/ClassFile.java</code>:
add a constant for the new class file format version</li>
<li><code>src/java.base/share/classes/java/lang/reflect/ClassFileFormatVersion.java</code>:
add an <code>enum</code> constant for the new class file format
version</li>
<li><code>src/java.compiler/share/classes/javax/lang/model/SourceVersion.java</code>:
add an <code>enum</code> constant for the new source version</li>
<li><code>src/java.compiler/share/classes/javax/lang/model/util/*</code>
visitors: Update <code>@SupportedSourceVersion</code> annotations to
latest value. Note this update is done in lieu of introducing another
set of visitors for each Java SE release.</li>
<li><code>src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java</code>:
add an <code>enum</code> constant for the new source version internal to
<code>javac</code></li>
<li><code>src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassFile.java</code>:
add an <code>enum</code> constant for the new class file format version
internal to <code>javac</code></li>
<li><code>src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Target.java</code>:
add an <code>enum</code> constant for the new target version internal to
<code>javac</code></li>
<li><code>src/jdk.compiler/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java</code>
update printing processor to support the new source version</li>
<li>The symbol information for <code>--release</code> is stored as new
text files in the <code>src/jdk.compiler/share/data/symbols</code>
directory, one file per module. The README file in that directory
contains directions on how to create the files.</li>
</ul>
<h3 id="test-files"><code>test</code> files</h3>
<ul>
<li><code>test/langtools/tools/javac/api/TestGetSourceVersions.java</code>:
add new <code>SourceVersion</code> constant to test matrix.</li>
<li><code>test/langtools/tools/javac/classfiles/ClassVersionChecker.java</code>:
add new enum constant for the new class file version</li>
<li><code>test/langtools/tools/javac/lib/JavacTestingAbstractProcessor.java</code>
update annotation processor extended by <code>javac</code> tests to
cover the new source version</li>
<li><code>test/langtools/tools/javac/preview/classReaderTest/Client.nopreview.out</code>
and
<code>test/langtools/tools/javac/preview/classReaderTest/Client.preview.out</code>:
update expected messages for preview errors and warnings</li>
</ul>
</body>
</html>

View File

@@ -0,0 +1,68 @@
% Explanation of start of release changes
## Overview
The start of release changes, the changes that turn JDK _N_ into JDK
(_N_+1), are primarily small updates to various files along with new files to
store symbol information to allow `javac --release N ...` to run on
JDK (_N_+1).
The updates include changes to files holding meta-data about the
release, files under the `src` directory for API and tooling updates,
and incidental updates under the `test` directory.
## Details and file updates
As a matter of policy, there are a number of semantically distinct
concepts which get incremented separately at the start of a new
release:
* Feature value of `Runtime.version()`
* Highest source version modeled by `javax.lang.model.SourceVersion`
* Highest class file format major version recognized by the platform
* Highest `-source`/`-target`/`--release` argument recognized by
`javac` and related tools
The expected file updates are listed below. Additional files may need
to be updated for a particular release.
### Meta-data files
* `jcheck/conf`: update meta-data used by `jcheck` and the Skara tooling
* `make/conf/version-numbers.conf`: update to meta-data used in the build
### `src` files
* `src/hotspot/share/classfile/classFileParser.cpp`: add a `#define`
for the new version
* `src/java.base/share/classes/java/lang/classfile/ClassFile.java`:
add a constant for the new class file format version
* `src/java.base/share/classes/java/lang/reflect/ClassFileFormatVersion.java`:
add an `enum` constant for the new class file format version
* `src/java.compiler/share/classes/javax/lang/model/SourceVersion.java`:
add an `enum` constant for the new source version
* `src/java.compiler/share/classes/javax/lang/model/util/*` visitors: Update
`@SupportedSourceVersion` annotations to latest value. Note this update
is done in lieu of introducing another set of visitors for each Java
SE release.
* `src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java`:
add an `enum` constant for the new source version internal to `javac`
* `src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassFile.java`:
add an `enum` constant for the new class file format version internal to `javac`
* `src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Target.java`:
add an `enum` constant for the new target version internal to `javac`
* `src/jdk.compiler/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java`
update printing processor to support the new source version
* The symbol information for `--release` is stored as new text files in the
`src/jdk.compiler/share/data/symbols` directory, one file per
module. The README file in that directory contains directions on how
to create the files.
### `test` files
* `test/langtools/tools/javac/api/TestGetSourceVersions.java`: add new `SourceVersion` constant to test matrix.
* `test/langtools/tools/javac/classfiles/ClassVersionChecker.java`: add new enum constant for the new class file version
* `test/langtools/tools/javac/lib/JavacTestingAbstractProcessor.java`
update annotation processor extended by `javac` tests to cover the new source version
* `test/langtools/tools/javac/preview/classReaderTest/Client.nopreview.out` and `test/langtools/tools/javac/preview/classReaderTest/Client.preview.out`: update expected messages for preview errors and warnings

View File

@@ -72,6 +72,9 @@ id="toc-notes-for-specific-tests">Notes for Specific Tests</a>
<li><a href="#non-us-locale" id="toc-non-us-locale">Non-US
locale</a></li>
<li><a href="#pkcs11-tests" id="toc-pkcs11-tests">PKCS11 Tests</a></li>
<li><a href="#testing-ahead-of-time-optimizations"
id="toc-testing-ahead-of-time-optimizations">Testing Ahead-of-time
Optimizations</a></li>
<li><a href="#testing-with-alternative-security-providers"
id="toc-testing-with-alternative-security-providers">Testing with
alternative security providers</a></li>
@@ -395,7 +398,8 @@ TEST_OPTS keywords.</p>
<h4 id="jobs">JOBS</h4>
<p>Currently only applies to JTReg.</p>
<h4 id="timeout_factor">TIMEOUT_FACTOR</h4>
<p>Currently only applies to JTReg.</p>
<p>Currently only applies to <a href="#timeout_factor-1">JTReg
-timeoutFactor</a>.</p>
<h4 id="java_options">JAVA_OPTIONS</h4>
<p>Applies to JTReg, GTest and Micro.</p>
<h4 id="vm_options">VM_OPTIONS</h4>
@@ -411,6 +415,13 @@ instrumentation
special target <code>jcov-test</code> instead of <code>test</code>, e.g.
<code>make jcov-test TEST=jdk_lang</code>. This will make sure the JCov
image is built, and that JCov reporting is enabled.</p>
<p>To include JCov coverage for just a subset of all modules, you can
use the <code>--with-jcov-modules</code> arguments to
<code>configure</code>, e.g.
<code>--with-jcov-modules=jdk.compiler,java.desktop</code>.</p>
<p>For more fine-grained control, you can pass arbitrary filters to JCov
using <code>--with-jcov-filters</code>, and you can specify a specific
JDK to instrument using <code>--with-jcov-input-jdk</code>.</p>
<p>The JCov report is stored in
<code>build/$BUILD/test-results/jcov-output/report</code>.</p>
<p>Please note that running with JCov reporting can be very memory
@@ -423,6 +434,9 @@ the diff between the specified revision and the repository tip.</p>
<p>The report is stored in
<code>build/$BUILD/test-results/jcov-output/diff_coverage_report</code>
file.</p>
<h4 id="aot_jdk">AOT_JDK</h4>
<p>See <a href="#testing-ahead-of-time-optimizations">Testing
Ahead-of-time optimizations</a>.</p>
<h3 id="jtreg-keywords">JTReg keywords</h3>
<h4 id="jobs-1">JOBS</h4>
<p>The test concurrency (<code>-concurrency</code>).</p>
@@ -431,8 +445,12 @@ otherwise it defaults to JOBS, except for Hotspot, where the default is
<em>number of CPU cores/2</em>, but never more than <em>memory size in
GB/2</em>.</p>
<h4 id="timeout_factor-1">TIMEOUT_FACTOR</h4>
<p>The timeout factor (<code>-timeoutFactor</code>).</p>
<p>Defaults to 4.</p>
<p>The <code>TIMEOUT_FACTOR</code> is forwarded to JTReg framework
itself (<code>-timeoutFactor</code>). Also, some test cases that
programmatically wait a certain amount of time will apply this factor.
If we run in forced compilation mode (<code>-Xcomp</code>), the build
system will automatically adjust this factor to compensate for less
performance. Defaults to 4.</p>
<h4 id="failure_handler_timeout">FAILURE_HANDLER_TIMEOUT</h4>
<p>Sets the argument <code>-timeoutHandlerTimeout</code> for JTReg. The
default value is 0. This is only valid if the failure handler is
@@ -445,6 +463,12 @@ class, named Virtual, is currently part of the JDK build in the
<code>test/jtreg_test_thread_factory/</code> directory. This class gets
compiled during the test image build. The implementation of the Virtual
class creates a new virtual thread for executing each test class.</p>
<h4 id="jvmti_stress_agent">JVMTI_STRESS_AGENT</h4>
<p>Executes JTReg tests with JVM TI stress agent. The stress agent is
the part of test library and located in
<code>test/lib/jdk/test/lib/jvmti/libJvmtiStressAgent.cpp</code>. The
value of this argument is set as JVM TI agent options. This mode uses
ProblemList-jvmti-stress-agent.txt as an additional exclude list.</p>
<h4 id="test_mode">TEST_MODE</h4>
<p>The test mode (<code>agentvm</code> or <code>othervm</code>).</p>
<p>Defaults to <code>agentvm</code>.</p>
@@ -544,6 +568,12 @@ each fork. Same as specifying <code>-wi &lt;num&gt;</code>.</p>
same values as <code>-rff</code>, i.e., <code>text</code>,
<code>csv</code>, <code>scsv</code>, <code>json</code>, or
<code>latex</code>.</p>
<h4 id="test_jdk">TEST_JDK</h4>
<p>The path to the JDK that will be used to run the benchmarks.</p>
<p>Defaults to <code>build/&lt;CONF-NAME&gt;/jdk</code>.</p>
<h4 id="benchmarks_jar">BENCHMARKS_JAR</h4>
<p>The path to the JAR containing the benchmarks.</p>
<p>Defaults to <code>test/micro/benchmarks.jar</code>.</p>
<h4 id="vm_options-2">VM_OPTIONS</h4>
<p>Additional VM arguments to provide to forked off VMs. Same as
<code>-jvmArgs &lt;args&gt;</code></p>
@@ -589,6 +619,37 @@ element of the appropriate <code>@Artifact</code> class. (See
JTREG=&quot;JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs&quot;</code></pre>
<p>For more notes about the PKCS11 tests, please refer to
test/jdk/sun/security/pkcs11/README.</p>
<h3 id="testing-ahead-of-time-optimizations">Testing Ahead-of-time
Optimizations</h3>
<p>One way to improve test coverage of ahead-of-time (AOT) optimizations
in the JDK is to run existing jtreg test cases in a special "AOT_JDK"
mode. Example:</p>
<pre><code>$ make test JTREG=&quot;AOT_JDK=onestep&quot; \
TEST=open/test/hotspot/jtreg/runtime/invokedynamic</code></pre>
<p>In this testing mode, we first perform an AOT training run (see
https://openjdk.org/jeps/483) of a special test program (<a
href="../test/setup_aot/TestSetupAOT.java">test/setup_aot/TestSetupAOT.java</a>)
that accesses about 5,0000 classes in the JDK core libraries.
Optimization artifacts for these classes (such as pre-linked lambda
expressions, execution profiles, and pre-generated native code) are
stored into an AOT cache file, which will be used by all the JVMs
launched by the selected jtreg test cases.</p>
<p>When the jtreg tests call into the core libraries classes that are in
the AOT cache, we will be able to test the AOT optimizations that were
used on those classes.</p>
<p>Please note that not all existing jtreg test cases can be executed
with the AOT_JDK mode. See <a
href="../test/hotspot/jtreg/ProblemList-AotJdk.txt">test/hotspot/jtreg/ProblemList-AotJdk.txt</a>
and <a
href="../test/jdk/ProblemList-AotJdk.txt">test/jdk/ProblemList-AotJdk.txt</a>.</p>
<p>Also, test cases that were written specifically to test AOT, such as
the tests under <a
href="../test/hotspot/jtreg/runtime/cds/">test/hotspot/jtreg/runtime/cds</a>,
cannot be executed with the AOT_JDK mode.</p>
<p>Valid values for <code>AOT_JDK</code> are <code>onestep</code> and
<code>twostep</code>. These control how the AOT cache is generated. See
https://openjdk.org/jeps/514 for details. All other values are
ignored.</p>
<h3 id="testing-with-alternative-security-providers">Testing with
alternative security providers</h3>
<p>Some security tests use a hardcoded provider for

View File

@@ -324,7 +324,7 @@ Currently only applies to JTReg.
#### TIMEOUT_FACTOR
Currently only applies to JTReg.
Currently only applies to [JTReg -timeoutFactor](#timeout_factor-1).
#### JAVA_OPTIONS
@@ -345,6 +345,14 @@ The simplest way to run tests with JCov coverage report is to use the special
target `jcov-test` instead of `test`, e.g. `make jcov-test TEST=jdk_lang`. This
will make sure the JCov image is built, and that JCov reporting is enabled.
To include JCov coverage for just a subset of all modules, you can use the
`--with-jcov-modules` arguments to `configure`, e.g.
`--with-jcov-modules=jdk.compiler,java.desktop`.
For more fine-grained control, you can pass arbitrary filters to JCov using
`--with-jcov-filters`, and you can specify a specific JDK to instrument
using `--with-jcov-input-jdk`.
The JCov report is stored in `build/$BUILD/test-results/jcov-output/report`.
Please note that running with JCov reporting can be very memory intensive.
@@ -359,6 +367,10 @@ between the specified revision and the repository tip.
The report is stored in
`build/$BUILD/test-results/jcov-output/diff_coverage_report` file.
#### AOT_JDK
See [Testing Ahead-of-time optimizations](#testing-ahead-of-time-optimizations).
### JTReg keywords
#### JOBS
@@ -371,9 +383,11 @@ never more than *memory size in GB/2*.
#### TIMEOUT_FACTOR
The timeout factor (`-timeoutFactor`).
Defaults to 4.
The `TIMEOUT_FACTOR` is forwarded to JTReg framework itself
(`-timeoutFactor`). Also, some test cases that programmatically wait a
certain amount of time will apply this factor. If we run in forced
compilation mode (`-Xcomp`), the build system will automatically
adjust this factor to compensate for less performance. Defaults to 4.
#### FAILURE_HANDLER_TIMEOUT
@@ -389,6 +403,13 @@ the `test/jtreg_test_thread_factory/` directory. This class gets compiled
during the test image build. The implementation of the Virtual class creates a
new virtual thread for executing each test class.
#### JVMTI_STRESS_AGENT
Executes JTReg tests with JVM TI stress agent. The stress agent is the part of
test library and located in `test/lib/jdk/test/lib/jvmti/libJvmtiStressAgent.cpp`.
The value of this argument is set as JVM TI agent options.
This mode uses ProblemList-jvmti-stress-agent.txt as an additional exclude list.
#### TEST_MODE
The test mode (`agentvm` or `othervm`).
@@ -537,6 +558,18 @@ Amount of time to spend in each warmup iteration. Same as specifying `-w
Specify to have the test run save a log of the values. Accepts the same values
as `-rff`, i.e., `text`, `csv`, `scsv`, `json`, or `latex`.
#### TEST_JDK
The path to the JDK that will be used to run the benchmarks.
Defaults to `build/<CONF-NAME>/jdk`.
#### BENCHMARKS_JAR
The path to the JAR containing the benchmarks.
Defaults to `test/micro/benchmarks.jar`.
#### VM_OPTIONS
Additional VM arguments to provide to forked off VMs. Same as `-jvmArgs <args>`
@@ -603,6 +636,43 @@ $ make test TEST="jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java" \
For more notes about the PKCS11 tests, please refer to
test/jdk/sun/security/pkcs11/README.
### Testing Ahead-of-time Optimizations
One way to improve test coverage of ahead-of-time (AOT) optimizations in
the JDK is to run existing jtreg test cases in a special "AOT_JDK" mode.
Example:
```
$ make test JTREG="AOT_JDK=onestep" \
TEST=open/test/hotspot/jtreg/runtime/invokedynamic
```
In this testing mode, we first perform an AOT training run
(see https://openjdk.org/jeps/483) of a special test program
([test/setup_aot/TestSetupAOT.java](../test/setup_aot/TestSetupAOT.java))
that accesses about 5,0000 classes in the JDK core libraries.
Optimization artifacts for these classes (such as pre-linked
lambda expressions, execution profiles, and pre-generated native code)
are stored into an AOT cache file, which will be used by all the JVMs
launched by the selected jtreg test cases.
When the jtreg tests call into the core libraries classes that are in
the AOT cache, we will be able to test the AOT optimizations that were
used on those classes.
Please note that not all existing jtreg test cases can be executed with
the AOT_JDK mode. See
[test/hotspot/jtreg/ProblemList-AotJdk.txt](../test/hotspot/jtreg/ProblemList-AotJdk.txt)
and [test/jdk/ProblemList-AotJdk.txt](../test/jdk/ProblemList-AotJdk.txt).
Also, test cases that were written specifically to test AOT, such as the tests
under [test/hotspot/jtreg/runtime/cds](../test/hotspot/jtreg/runtime/cds/),
cannot be executed with the AOT_JDK mode.
Valid values for `AOT_JDK` are `onestep` and `twostep`. These control how
the AOT cache is generated. See https://openjdk.org/jeps/514 for details.
All other values are ignored.
### Testing with alternative security providers
Some security tests use a hardcoded provider for `KeyFactory`, `Cipher`,

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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
@@ -23,10 +23,9 @@
# questions.
#
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
include MakeIO.gmk
@@ -43,8 +42,6 @@ ifeq ($(call isBuildOs, windows), true)
TAR_IGNORE_EXIT_VALUE := || test "$$$$?" = "1"
endif
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Bundles-pre.gmk))
################################################################################
# BUNDLE : Name of bundle to create
# FILES : Files in BASE_DIRS to add to bundle
@@ -177,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
@@ -245,7 +244,10 @@ ifneq ($(filter product-bundles% legacy-bundles, $(MAKECMDGOALS)), )
)
JDK_SYMBOLS_BUNDLE_FILES := \
$(call FindFiles, $(SYMBOLS_IMAGE_DIR))
$(filter-out \
%.stripped.pdb, \
$(call FindFiles, $(SYMBOLS_IMAGE_DIR)) \
)
TEST_DEMOS_BUNDLE_FILES := $(filter $(JDK_DEMOS_IMAGE_HOMEDIR)/demo/%, \
$(ALL_JDK_DEMOS_FILES))
@@ -299,7 +301,7 @@ ifneq ($(filter product-bundles% legacy-bundles, $(MAKECMDGOALS)), )
$(call LogWarn, Signing $(JDK_BUNDLE_NAME))
$(CODESIGN) -s "$(MACOSX_CODESIGN_IDENTITY)" \
--timestamp --options runtime --deep --force \
$(JDK_MACOSX_BUNDLE_DIR_SIGNED)/$(JDK_MACOSX_BUNDLE_TOP_DIR) $(LOG_DEBUG)
$(JDK_MACOSX_BUNDLE_DIR_SIGNED)/$(JDK_MACOSX_BUNDLE_TOP_SUBDIR) $(LOG_DEBUG)
$(TOUCH) $@
$(eval $(call SetupBundleFile, BUILD_JDK_BUNDLE, \
@@ -328,7 +330,7 @@ ifneq ($(filter product-bundles% legacy-bundles, $(MAKECMDGOALS)), )
$(call LogWarn, Signing $(JRE_BUNDLE_NAME))
$(CODESIGN) -s "$(MACOSX_CODESIGN_IDENTITY)" \
--timestamp --options runtime --deep --force \
$(JRE_MACOSX_BUNDLE_DIR_SIGNED)/$(JRE_MACOSX_BUNDLE_TOP_DIR) $(LOG_DEBUG)
$(JRE_MACOSX_BUNDLE_DIR_SIGNED)/$(JRE_MACOSX_BUNDLE_TOP_SUBDIR) $(LOG_DEBUG)
$(TOUCH) $@
$(eval $(call SetupBundleFile, BUILD_JRE_BUNDLE, \
@@ -500,10 +502,20 @@ ifneq ($(filter static-libs-graal-bundles, $(MAKECMDGOALS)), )
STATIC_LIBS_GRAAL_TARGETS += $(BUILD_STATIC_LIBS_GRAAL_BUNDLE)
endif
################################################################################
#################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Bundles.gmk))
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
################################################################################
@@ -515,8 +527,13 @@ 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: all default product-bundles test-bundles \
.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
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 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
@@ -23,10 +23,9 @@
# questions.
#
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
# When FIXPATH is set, let it process the file to make sure all paths are usable
# by system native tools. The FIXPATH tool assumes arguments preceded by an @
@@ -50,6 +49,6 @@ $(OUTPUTDIR)/compile_commands.json: $(wildcard $(MAKESUPPORT_OUTPUTDIR)/compile-
TARGETS += $(OUTPUTDIR)/compile_commands.json
all: $(TARGETS)
################################################################################
.PHONY: all
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -23,23 +23,17 @@
# questions.
#
include MakeFileStart.gmk
################################################################################
# Build demos for the JDK into $(SUPPORT_OUTPUTDIR)/demos/image.
################################################################################
default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include JavaCompilation.gmk
include TextFileProcessing.gmk
include ZipArchive.gmk
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, CompileDemos-pre.gmk))
# Prepare the find cache.
DEMO_SRC_DIRS += $(TOPDIR)/src/demo
@@ -132,12 +126,19 @@ define SetupBuildDemoBody
JARMAIN := $$($1_MAIN_CLASS), \
MANIFEST := $(DEMO_MANIFEST), \
EXTRA_MANIFEST_ATTR := $$($1_EXTRA_MANIFEST_ATTR), \
SRCZIP := $(SUPPORT_OUTPUTDIR)/demos/image/$$($1_DEMO_SUBDIR)/$1/src.zip, \
EXCLUDE_FILES := $$($1_EXCLUDE_FILES), \
DISABLED_WARNINGS := $$($1_DISABLED_WARNINGS), \
))
$1 += $$(BUILD_DEMO_$1)
$$(eval $$(call SetupZipArchive, ZIP_SRC_DEMO_$1, \
SRC := $$($1_MAIN_SRC) $$($1_EXTRA_SRC_DIR), \
ZIP := $(SUPPORT_OUTPUTDIR)/demos/image/$$($1_DEMO_SUBDIR)/$1/src.zip, \
EXCLUDE_FILES := $$($1_EXCLUDE_FILES), \
))
$1 += $$(ZIP_SRC_DEMO_$1)
endif
# Copy files. Sort is needed to remove duplicates.
@@ -257,11 +258,8 @@ ifneq ($(filter images, $(MAKECMDGOALS)), )
IMAGES_TARGETS := $(COPY_TO_TEST_IMAGE)
endif
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, CompileDemos-post.gmk))
all: $(TARGETS)
images: $(IMAGES_TARGETS)
.PHONY: all
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -23,11 +23,9 @@
# questions.
#
# This must be the first rule
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
include JavaCompilation.gmk
@@ -97,14 +95,16 @@ define SetupInterimModule
SRC := $(BUILDTOOLS_OUTPUTDIR)/gensrc/$1.interim \
$$(wildcard $(SUPPORT_OUTPUTDIR)/gensrc/$1) \
$(TOPDIR)/src/$1/share/classes, \
EXCLUDES := sun javax/tools/snippet-files, \
EXCLUDES := sun, \
EXCLUDE_FILES := $(TOPDIR)/src/$1/share/classes/module-info.java \
$(TOPDIR)/src/$1/share/classes/javax/tools/ToolProvider.java \
$(TOPDIR)/src/$1/share/classes/com/sun/tools/javac/launcher/Main.java \
$(TOPDIR)/src/$1/share/classes/com/sun/tools/javac/launcher/MemoryClassLoader.java \
$(TOPDIR)/src/$1/share/classes/com/sun/tools/javac/launcher/MemoryContext.java \
$(TOPDIR)/src/$1/share/classes/com/sun/tools/javac/launcher/MemoryModuleFinder.java \
$(TOPDIR)/src/$1/share/classes/com/sun/tools/javac/launcher/SourceLauncher.java \
Standard.java, \
EXCLUDE_PATTERNS := -files, \
EXTRA_FILES := $(BUILDTOOLS_OUTPUTDIR)/gensrc/$1.interim/module-info.java \
$($1.interim_EXTRA_FILES), \
COPY := .gif .png .xml .css .svg .js .js.template .txt .woff .woff2 javax.tools.JavaCompilerTool, \
@@ -148,5 +148,4 @@ TARGETS += $(BUILD_JAVAC_SERVER)
################################################################################
all: $(TARGETS)
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -23,13 +23,12 @@
# questions.
#
# This must be the first rule
default: all
include MakeFileStart.gmk
################################################################################
include $(SPEC)
include MakeBase.gmk
include Modules.gmk
include JavaCompilation.gmk
include Modules.gmk
################################################################################
# If this is an imported module that has prebuilt classes, only compile
@@ -86,7 +85,15 @@ CreateHkTargets = \
################################################################################
# Include module specific build settings
-include Java.gmk
THIS_SNIPPET := $(call GetModuleSnippetName, Java)
ifneq ($(wildcard $(THIS_SNIPPET)), )
include MakeSnippetStart.gmk
include $(THIS_SNIPPET)
include MakeSnippetEnd.gmk
endif
################################################################################
# Setup the main compilation
@@ -106,7 +113,9 @@ $(eval $(call SetupJavaCompilation, $(MODULE), \
DISABLED_WARNINGS := $(DISABLED_WARNINGS_java), \
EXCLUDES := $(EXCLUDES), \
EXCLUDE_FILES := $(EXCLUDE_FILES), \
EXCLUDE_PATTERNS := -files, \
KEEP_ALL_TRANSLATIONS := $(KEEP_ALL_TRANSLATIONS), \
TARGET_RELEASE := $(TARGET_RELEASE), \
JAVAC_FLAGS := \
$(DOCLINT) \
$(JAVAC_FLAGS) \
@@ -148,6 +157,4 @@ endif
################################################################################
all: $(TARGETS)
.PHONY: all
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 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
@@ -23,14 +23,12 @@
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include MakeFileStart.gmk
################################################################################
include JavaCompilation.gmk
TOOLS_CLASSES_DIR := $(BUILDTOOLS_OUTPUTDIR)/tools_jigsaw_classes
# When using an external BUILDJDK, make it possible to shortcut building of
@@ -64,4 +62,4 @@ TARGETS += $(BUILD_JIGSAW_TOOLS)
################################################################################
all: $(TARGETS)
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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
@@ -23,19 +23,12 @@
# questions.
#
# This must be the first rule
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include JavaCompilation.gmk
TARGETS :=
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, hotspot/CompileTools.gmk))
################################################################################
# Build tools needed for the JFR source code generation
@@ -51,7 +44,6 @@ $(eval $(call SetupJavaCompilation, BUILD_TOOLS_HOTSPOT, \
TARGETS += $(BUILD_TOOLS_HOTSPOT)
################################################################################
all: $(TARGETS)
.PHONY: all
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -23,21 +23,14 @@
# questions.
#
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
include JavaCompilation.gmk
include TextFileProcessing.gmk
################################################################################
$(eval $(call IncludeCustomExtension, CompileTools.gmk))
################################################################################
# Use += to be able to add to this from a custom extension
BUILD_TOOLS_SRC_DIRS += \
$(TOPDIR)/make/jdk/src/classes \
@@ -160,4 +153,6 @@ ifeq ($(ENABLE_PANDOC), true)
TARGETS += $(PANDOC_HTML_MANPAGE_FILTER_SETUP)
endif
all: $(TARGETS)
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 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
@@ -23,13 +23,12 @@
# questions.
#
include MakeFileStart.gmk
################################################################################
# This makefile is called for every imported module to copy the non class
# contents into the exploded jdk image.
default: all
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
@@ -103,4 +102,6 @@ ifneq ($(CONF_DIR), )
TARGETS += $(COPY_CONF)
endif
all: $(TARGETS)
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2019, 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
@@ -23,15 +23,12 @@
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include MakeFileStart.gmk
################################################################################
include CopyFiles.gmk
### TZDB tool needs files from java.time.zone package
define tzdb_copyfiles
@@ -51,3 +48,7 @@ $(eval $(call SetupCopyFiles, COPY_INTERIM_TZDB, \
################################################################################
all: $(COPY_INTERIM_TZDB)
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 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
@@ -22,8 +22,7 @@
# or visit www.oracle.com if you need additional information or have any
# questions.
include $(SPEC)
include MakeBase.gmk
include MakeFileStart.gmk
################################################################################
@@ -35,23 +34,33 @@ else
JCOV_INPUT_IMAGE_DIR := $(JDK_IMAGE_DIR)
endif
JCOV_SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/jcov
#moving instrumented jdk image in and out of jcov_temp because of CODETOOLS-7902299
JCOV_TEMP := $(SUPPORT_OUTPUTDIR)/jcov_temp
JCOV_TEMP := $(JCOV_SUPPORT_DIR)/temp
ifneq ($(JCOV_MODULES), )
JCOV_MODULES_FILTER := $(foreach m, $(JCOV_MODULES), -include_module $m)
endif
$(JCOV_IMAGE_DIR)/release: $(JCOV_INPUT_IMAGE_DIR)/release
$(call LogWarn, Creating instrumented jdk image with JCov)
$(call MakeDir, $(JCOV_TEMP) $(IMAGES_OUTPUTDIR))
$(RM) -r $(JCOV_IMAGE_DIR) $(JCOV_TEMP)/*
$(CP) -r $(JCOV_INPUT_IMAGE_DIR) $(JCOV_TEMP)/$(JCOV_IMAGE_SUBDIR)
$(JAVA) -Xmx3g -jar $(JCOV_HOME)/lib/jcov.jar JREInstr \
$(call ExecuteWithLog, $(JCOV_SUPPORT_DIR)/run-jcov, \
$(JAVA) -Xmx3g -jar $(JCOV_HOME)/lib/jcov.jar JREInstr \
-t $(JCOV_TEMP)/$(JCOV_IMAGE_SUBDIR)/template.xml \
-rt $(JCOV_HOME)/lib/jcov_network_saver.jar \
-exclude 'java.lang.Object' \
-exclude 'jdk.internal.org.objectweb.**' \
-exclude jdk.test.Main -exclude '**\$Proxy*' \
$(JCOV_FILTERS) \
$(JCOV_TEMP)/$(JCOV_IMAGE_SUBDIR)
$(JCOV_MODULES_FILTER) $(JCOV_FILTERS) \
$(JCOV_TEMP)/$(JCOV_IMAGE_SUBDIR))
$(MV) $(JCOV_TEMP)/$(JCOV_IMAGE_SUBDIR) $(JCOV_IMAGE_DIR)
$(RMDIR) $(JCOV_TEMP)
jcov-image: $(JCOV_IMAGE_DIR)/release
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -23,10 +23,9 @@
# questions.
#
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
include Execute.gmk
@@ -36,8 +35,6 @@ ifeq ($(MODULE), )
$(error MODULE must be set when calling CreateJmods.gmk)
endif
$(eval $(call IncludeCustomExtension, CreateJmods.gmk))
################################################################################
JMODS_DIR := $(IMAGES_OUTPUTDIR)/jmods
@@ -187,7 +184,15 @@ endif
################################################################################
# Include module specific build settings
-include Jmod.gmk
THIS_SNIPPET := $(call GetModuleSnippetName, Jmod)
ifneq ($(wildcard $(THIS_SNIPPET)), )
include MakeSnippetStart.gmk
include $(THIS_SNIPPET)
include MakeSnippetEnd.gmk
endif
# Set main class
ifneq ($(JMOD_FLAGS_main_class), )
@@ -252,6 +257,7 @@ $(eval $(call SetupExecute, create_$(JMOD_FILE), \
WARN := Creating $(INTERIM_MSG)$(JMOD_FILE), \
DEPS := $(DEPS), \
OUTPUT_FILE := $(JMODS_DIR)/$(JMOD_FILE), \
WORKING_DIR := $(WORKSPACE_ROOT), \
SUPPORT_DIR := $(JMODS_SUPPORT_DIR), \
PRE_COMMAND := $(RM) $(JMODS_DIR)/$(JMOD_FILE) $(JMODS_SUPPORT_DIR)/$(JMOD_FILE), \
COMMAND := $(JMOD) $(JMOD_SMALL_FLAGS) create --module-version $(VERSION_SHORT) \
@@ -266,6 +272,4 @@ TARGETS += $(create_$(JMOD_FILE))
################################################################################
all: $(TARGETS)
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,4 +1,4 @@
# Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1997, 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
@@ -22,26 +22,7 @@
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include Execute.gmk
include Modules.gmk
include ModuleTools.gmk
include ProcessMarkdown.gmk
include ToolsJdk.gmk
include ZipArchive.gmk
include TextFileProcessing.gmk
# This is needed to properly setup DOCS_MODULES.
$(eval $(call ReadImportMetaData))
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Docs.gmk))
include MakeFileStart.gmk
################################################################################
# This file generates all documentation for OpenJDK.
@@ -54,7 +35,19 @@ $(eval $(call IncludeCustomExtension, Docs.gmk))
#
# We will also generate separate, free-standing specifications from either
# markdown or existing html files.
#
################################################################################
include CopyFiles.gmk
include Execute.gmk
include Modules.gmk
include ProcessMarkdown.gmk
include TextFileProcessing.gmk
include ZipArchive.gmk
include $(TOPDIR)/make/ModuleTools.gmk
include $(TOPDIR)/make/ToolsJdk.gmk
# This is needed to properly setup DOCS_MODULES.
$(eval $(call ReadImportMetaData))
################################################################################
# Javadoc settings
@@ -99,20 +92,16 @@ REFERENCE_TAGS := $(JAVADOC_TAGS)
JAVADOC_DISABLED_DOCLINT_WARNINGS := missing
JAVADOC_DISABLED_DOCLINT_PACKAGES := org.w3c.* javax.smartcardio
# Allow overriding on the command line
# (intentionally sharing name with the javac option)
JAVA_WARNINGS_ARE_ERRORS ?= -Werror
# The initial set of options for javadoc
JAVADOC_OPTIONS := -use -keywords -notimestamp \
-encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
-serialwarn -encoding utf-8 -docencoding utf-8 -breakiterator \
-splitIndex --system none -javafx --expand-requires transitive \
--override-methods=summary
# The reference options must stay stable to allow for comparisons across the
# development cycle.
REFERENCE_OPTIONS := -XDignore.symbol.file=true -use -keywords -notimestamp \
-encoding ISO-8859-1 -breakiterator -splitIndex --system none \
-serialwarn -encoding utf-8 -breakiterator -splitIndex --system none \
-html5 -javafx --expand-requires transitive
# Should we add DRAFT stamps to the generated javadoc?
@@ -247,8 +236,8 @@ define create_overview_file
#
ifneq ($$($1_GROUPS), )
$1_OVERVIEW_TEXT += \
<p>This document is divided into \
$$(subst 2,two,$$(subst 3,three,$$(words $$($1_GROUPS)))) sections:</p> \
<p>This document has \
$$(subst 2,two,$$(subst 3,three,$$(words $$($1_GROUPS)))) major sections:</p> \
<blockquote><dl> \
#
$1_OVERVIEW_TEXT += $$(foreach g, $$($1_GROUPS), \
@@ -257,7 +246,10 @@ define create_overview_file
)
$1_OVERVIEW_TEXT += \
</dl></blockquote> \
#
<p><a href="../specs/index.html">Related documents</a> specify the Java \
programming language, the Java Virtual Machine, various protocols and file \
formats pertaining to the Java platform, and tools included in the JDK.</p> \
#
endif
$1_OVERVIEW_TEXT += \
</body></html> \
@@ -271,7 +263,7 @@ define create_overview_file
$$($1_OVERVIEW): $$($1_OVERVIEW_VARDEPS_FILE)
$$(call LogInfo, Creating overview.html for $1)
$$(call MakeDir, $$(@D))
$$(PRINTF) > $$@ '$$($1_OVERVIEW_TEXT)'
$$(PRINTF) "%s" '$$($1_OVERVIEW_TEXT)' > $$@
endef
################################################################################
@@ -329,7 +321,9 @@ define SetupApiDocsGenerationBody
# Ignore the doclint warnings in certain packages
$1_OPTIONS += -Xdoclint/package:$$(call CommaList, $$(addprefix -, \
$$(JAVADOC_DISABLED_DOCLINT_PACKAGES)))
$1_OPTIONS += $$(JAVA_WARNINGS_ARE_ERRORS)
ifeq ($$(JAVA_WARNINGS_AS_ERRORS), true)
$1_OPTIONS += -Werror
endif
$1_DOC_TITLE := $$($1_LONG_NAME)<br>Version $$(VERSION_SPECIFICATION) API \
Specification
@@ -549,7 +543,9 @@ $(eval $(call SetupApiDocsGeneration, REFERENCE_API, \
# Format: space-delimited list of names, including at most one '%' as a
# wildcard. Spec source files match if their filename or any enclosing folder
# name matches one of the items in SPEC_FILTER.
SPEC_FILTER := %
ifeq ($(SPEC_FILTER), )
SPEC_FILTER := %
endif
ApplySpecFilter = \
$(strip $(foreach file, $(1), \
@@ -680,7 +676,7 @@ ifeq ($(ENABLE_PANDOC), true)
$(foreach m, $(ALL_MODULES), \
$(eval MAN_$m := $(call ApplySpecFilter, $(filter %.md, $(call FindFiles, \
$(call FindModuleManDirs, $m))))) \
$(call FindModuleManDirsForDocs, $m))))) \
$(if $(MAN_$m), \
$(eval $(call SetupProcessMarkdown, MAN_TO_HTML_$m, \
FILES := $(MAN_$m), \
@@ -761,10 +757,6 @@ $(eval $(call SetupZipArchive, BUILD_JAVADOC_ZIP, \
ZIP_TARGETS += $(BUILD_JAVADOC_ZIP)
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Docs-post.gmk))
################################################################################
# Bundles all generated specs into a zip archive, skipping javadocs.
@@ -806,7 +798,11 @@ all: docs-jdk-api-javadoc docs-jdk-api-graphs docs-javase-api-javadoc \
docs-reference-api-graphs docs-jdk-specs docs-jdk-index docs-zip \
docs-specs-zip
.PHONY: default all docs-jdk-api-javadoc docs-jdk-api-graphs \
.PHONY: docs-jdk-api-javadoc docs-jdk-api-graphs \
docs-javase-api-javadoc docs-javase-api-graphs \
docs-reference-api-javadoc docs-reference-api-graphs docs-jdk-specs \
docs-jdk-index docs-zip docs-specs-zip
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 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
@@ -23,18 +23,11 @@
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Doctor.gmk))
include MakeFileStart.gmk
################################################################################
#
# Help user diagnose possible errors and problems with the build environment.
#
################################################################################
prologue:
$(ECHO)
@@ -145,4 +138,8 @@ doctor: $(TARGETS)
all: doctor
.PHONY: default all doctor $(TARGETS)
.PHONY: doctor $(TARGETS)
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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
@@ -23,16 +23,14 @@
# questions.
#
# Runs a tool on the exploded image to improve performance
default: all
include $(SPEC)
include MakeBase.gmk
include Execute.gmk
include $(TOPDIR)/make/ModuleTools.gmk
include MakeFileStart.gmk
################################################################################
# Runs a tool on the exploded image to improve performance
################################################################################
include Execute.gmk
include $(TOPDIR)/make/ModuleTools.gmk
ALL_MODULEINFO_CLASSES := $(wildcard $(JDK_OUTPUTDIR)/modules/*/module-info.class)
@@ -47,6 +45,4 @@ TARGETS := $(optimize_image_TARGET)
################################################################################
all: $(TARGETS)
.PHONY: all default
include MakeFileEnd.gmk

View File

@@ -0,0 +1,38 @@
#
# Copyright (c) 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
# 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.
#
include MakeFileStart.gmk
################################################################################
# This makefile is a thin wrapper around FindTests.gmk, just to make FindTest
# fill the cache.
################################################################################
GENERATE_FIND_TESTS_FILE := true
include FindTests.gmk
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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
@@ -23,15 +23,12 @@
# questions.
#
include MakeFileStart.gmk
################################################################################
# Generate classlist
################################################################################
default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include JavaCompilation.gmk
@@ -79,10 +76,14 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST
$(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $(JLI_TRACE_FILE)))
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -XX:DumpLoadedClassList=$@.raw \
$(CLASSLIST_FILE_VM_OPTS) \
-Xlog:aot=off \
-Xlog:cds=off \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.HelloClasslist $(LOG_DEBUG)
$(GREP) -v HelloClasslist $@.raw > $@.interim
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -Xshare:dump \
-Xlog:aot=off \
-Xlog:cds=off \
-XX:SharedClassListFile=$@.interim -XX:SharedArchiveFile=$@.jsa \
-Xmx128M -Xms128M $(LOG_INFO)
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -XX:DumpLoadedClassList=$@.raw.2 \
@@ -90,6 +91,8 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST
-Djava.lang.invoke.MethodHandle.TRACE_RESOLVE=true \
$(CLASSLIST_FILE_VM_OPTS) \
--module-path $(SUPPORT_OUTPUTDIR)/classlist.jar \
-Xlog:aot=off \
-Xlog:cds=off \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.HelloClasslist \
2> $(LINK_OPT_DIR)/stderr > $(JLI_TRACE_FILE) \
@@ -103,6 +106,8 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST
$(GREP) -v HelloClasslist $@.raw.2 > $@.raw.3
$(GREP) -v @cp $@.raw.3 > $@.raw.4
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java \
-Xlog:aot=off \
-Xlog:cds=off \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.SortClasslist $@.raw.4 > $@
@@ -148,4 +153,4 @@ TARGETS += $(COPY_JLI_TRACE)
################################################################################
all: $(TARGETS)
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -23,12 +23,11 @@
# questions.
#
# Default target declared first
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
include ModuleTools.gmk
################################################################################
include $(TOPDIR)/make/ModuleTools.gmk
GENGRAPHS_DIR := $(IMAGES_OUTPUTDIR)/gengraphs
SPEC_DOTFILES_DIR := $(GENGRAPHS_DIR)/spec-dotfiles
@@ -50,3 +49,7 @@ $(GENGRAPHS_DIR)/module-summary.html: $(BUILD_JIGSAW_TOOLS) $(GENGRAPHS_DIR)/tec
$(TOOL_MODULESUMMARY) -o $@ --module-path $(IMAGES_OUTPUTDIR)/jmods
all: $(GENGRAPHS_DIR)/jdk.dot $(GENGRAPHS_DIR)/module-summary.html $(SPEC_DOTFILES_DIR)/java.se.dot
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 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
@@ -108,6 +108,7 @@ help:
$(info $(_) MICRO="OPT1=x;OPT2=y" # Control the MICRO test harness, use 'make test-only MICRO=help' to list)
$(info $(_) TEST_OPTS="OPT1=x;..." # Generic control of all test harnesses)
$(info $(_) TEST_VM_OPTS="ARG ..." # Same as setting TEST_OPTS to VM_OPTIONS="ARG ...")
$(info $(_) ALLOW="FOO,BAR" # Do not warn that FOO and BAR are non-control variables)
$(info )
$(if $(all_confs), $(info Available configurations in $(build_dir):) $(foreach var,$(all_confs),$(info * $(var))), \
$(info No configurations were found in $(build_dir).) $(info Run 'bash configure' to create a configuration.))
@@ -120,12 +121,12 @@ print-configurations:
@true
test-prebuilt:
@( cd $(topdir) && \
@( cd $(TOPDIR) && \
$(MAKE) --no-print-directory -r -R -I make/common/ -f make/RunTestsPrebuilt.gmk \
test-prebuilt CUSTOM_MAKE_DIR=$(CUSTOM_MAKE_DIR) TEST="$(TEST)" )
test-prebuilt-with-exit-code:
@( cd $(topdir) && \
@( cd $(TOPDIR) && \
$(MAKE) --no-print-directory -r -R -I make/common/ -f make/RunTestsPrebuilt.gmk \
test-prebuilt-with-exit-code CUSTOM_MAKE_DIR=$(CUSTOM_MAKE_DIR) TEST="$(TEST)" )

View File

@@ -23,19 +23,14 @@
# questions.
#
# This makefile creates a jdk image overlaid with statically linked core
# libraries.
default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include MakeFileStart.gmk
################################################################################
# This makefile creates a jdk image overlaid with statically linked core
# libraries.
################################################################################
TARGETS :=
include CopyFiles.gmk
$(eval $(call SetupCopyFiles, COPY_JDK_IMG, \
SRC := $(JDK_IMAGE_DIR)/, \
@@ -54,6 +49,4 @@ TARGETS += $(COPY_STATIC_LIBS)
################################################################################
all: $(TARGETS)
.PHONY: all
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 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
@@ -23,17 +23,14 @@
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
include JdkNativeCompilation.gmk
include MakeFileStart.gmk
################################################################################
# This makefile compiles and installs the hsdis library
#
################################################################################
include JdkNativeCompilation.gmk
HSDIS_OUTPUT_DIR := $(SUPPORT_OUTPUTDIR)/hsdis
REAL_HSDIS_NAME := hsdis-$(OPENJDK_TARGET_CPU_LEGACY_LIB)$(SHARED_LIBRARY_SUFFIX)
BUILT_HSDIS_LIB := $(HSDIS_OUTPUT_DIR)/$(REAL_HSDIS_NAME)
@@ -117,7 +114,6 @@ ifeq ($(HSDIS_BACKEND), binutils)
TOOLCHAIN_TYPE := gcc
OPENJDK_TARGET_OS := linux
OPENJDK_TARGET_OS_TYPE := unix
CC_OUT_OPTION := -o$(SPACE)
GENDEPS_FLAGS := -MMD -MF
CFLAGS_DEBUG_SYMBOLS := -g
DISABLED_WARNINGS :=
@@ -201,8 +197,8 @@ endif
TARGETS += install
.PHONY: build install
################################################################################
all: $(TARGETS)
.PHONY: all default build install
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -23,12 +23,12 @@
# questions.
#
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
include DebugInfoUtils.gmk
include Execute.gmk
include Modules.gmk
include Utils.gmk
@@ -36,9 +36,6 @@ include Utils.gmk
JDK_TARGETS :=
JRE_TARGETS :=
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Images-pre.gmk))
################################################################################
# All modules for the current target platform.
@@ -100,6 +97,10 @@ ifeq ($(JLINK_PRODUCE_LINKABLE_RUNTIME), true)
JLINK_JDK_EXTRA_OPTS += --generate-linkable-runtime
endif
ifneq ($(JLINK_USER_EXTRA_FLAGS), )
JLINK_JDK_EXTRA_OPTS += $(JLINK_USER_EXTRA_FLAGS)
endif
$(eval $(call SetupExecute, jlink_jdk, \
WARN := Creating jdk image, \
DEPS := $(JDK_JMODS) $(BASE_RELEASE_FILE) \
@@ -161,7 +162,7 @@ define CreateCDSArchive
endif
ifeq ($(DEBUG_CDS_ARCHIVE), true)
$1_$2_CDS_DUMP_FLAGS += -Xlog:cds+map*=trace:file=$$(JDK_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE).cdsmap:none:filesize=0
$1_$2_CDS_DUMP_FLAGS += -Xlog:aot+map*=trace:file=$$(JDK_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE).cdsmap:none:filesize=0
endif
$$(eval $$(call SetupExecute, $1_$2_gen_cds_archive_jdk, \
@@ -269,6 +270,7 @@ endif
# Since debug symbols are not included in the jmod files, they need to be copied
# in manually after generating the images.
# These variables are read by SetupCopyDebuginfo
ALL_JDK_MODULES := $(JDK_MODULES)
ALL_JRE_MODULES := $(sort $(JRE_MODULES), $(foreach m, $(JRE_MODULES), \
$(call FindTransitiveDepsForModule, $m)))
@@ -308,12 +310,6 @@ $(call SetupCopyDebuginfo,SYMBOLS)
################################################################################
# Include custom post hook here to make it possible to augment the target lists
# before actual target prerequisites are declared.
$(eval $(call IncludeCustomExtension, Images-post.gmk))
################################################################################
$(JRE_TARGETS): $(JLINK_JRE_TARGETS)
$(JDK_TARGETS): $(JLINK_JDK_TARGETS)
@@ -323,4 +319,8 @@ symbols: $(SYMBOLS_TARGETS)
all: jdk jre symbols
.PHONY: default all jdk jre symbols
.PHONY: jdk jre symbols
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 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
@@ -23,263 +23,78 @@
# questions.
#
include MakeFileStart.gmk
################################################################################
# This is the bootstrapping part of the build. This file is included from the
# top level Makefile, and is responsible for launching the Main.gmk file with
# the proper make and the proper make arguments.
# Init.gmk sits between PreInit.gmk and Main.gmk when bootstrapping the build.
# It is called from PreInit.gmk, and its main responsibility is to launch
# Main.gmk with the proper make and the proper make arguments.
# PreMain.gmk has provided us with a proper SPEC. This allows us to use the
# value of $(MAKE) for all further make calls.
################################################################################
# This must be the first rule
default:
.PHONY: default
# Our helper functions.
include $(TOPDIR)/make/InitSupport.gmk
include LogUtils.gmk
# Inclusion of this pseudo-target will cause make to execute this file
# serially, regardless of -j.
.NOTPARALLEL:
ifeq ($(HAS_SPEC), )
##############################################################################
# This is the default mode. We have not been recursively called with a SPEC.
##############################################################################
# Parse COMPARE_BUILD (for makefile development)
$(eval $(call ParseCompareBuild))
# Include our helper functions.
include $(topdir)/make/InitSupport.gmk
# Setup reproducible build environment
$(eval $(call SetupReproducibleBuild))
# Here are "global" targets, i.e. targets that can be executed without having
# a configuration. This will define ALL_GLOBAL_TARGETS.
include $(topdir)/make/Global.gmk
# Targets provided by Init.gmk.
ALL_INIT_TARGETS := print-modules print-targets print-configuration \
print-tests reconfigure pre-compare-build post-compare-build
# CALLED_TARGETS is the list of targets that the user provided,
# or "default" if unspecified.
CALLED_TARGETS := $(if $(MAKECMDGOALS), $(MAKECMDGOALS), default)
# Extract non-global targets that require a spec file.
CALLED_SPEC_TARGETS := $(filter-out $(ALL_GLOBAL_TARGETS), $(CALLED_TARGETS))
# If we have only global targets, or if we are called with -qp (assuming an
# external part, e.g. bash completion, is trying to understand our targets),
# we will skip SPEC location and the sanity checks.
ifeq ($(CALLED_SPEC_TARGETS), )
ONLY_GLOBAL_TARGETS := true
endif
ifeq ($(findstring p, $(MAKEFLAGS))$(findstring q, $(MAKEFLAGS)), pq)
ONLY_GLOBAL_TARGETS := true
endif
ifeq ($(ONLY_GLOBAL_TARGETS), true)
############################################################################
# We have only global targets, or are called with -pq.
############################################################################
ifeq ($(wildcard $(SPEC)), )
# If we have no SPEC provided, we will just make a "best effort" target list.
# First try to grab any available pre-existing main-targets.gmk.
main_targets_file := $(firstword $(wildcard $(build_dir)/*/make-support/main-targets.gmk))
ifneq ($(main_targets_file), )
# Extract the SPEC that corresponds to this main-targets.gmk file.
SPEC := $(patsubst %/make-support/main-targets.gmk, %/spec.gmk, $(main_targets_file))
else
# None found, pick an arbitrary SPEC for which to generate a file
SPEC := $(firstword $(all_spec_files))
endif
endif
ifneq ($(wildcard $(SPEC)), )
$(eval $(call DefineMainTargets, LAZY, $(SPEC)))
else
# If we have no configurations we can not provide any main targets.
ALL_MAIN_TARGETS :=
endif
ALL_TARGETS := $(sort $(ALL_GLOBAL_TARGETS) $(ALL_MAIN_TARGETS) $(ALL_INIT_TARGETS))
# Just list all our targets.
$(ALL_TARGETS):
.PHONY: $(ALL_TARGETS)
else
############################################################################
# This is the normal case, we have been called from the command line by the
# user and we need to call ourself back with a proper SPEC.
# We have at least one non-global target, so we need to find a spec file.
############################################################################
# Basic checks on environment and command line.
$(eval $(call CheckControlVariables))
$(eval $(call CheckDeprecatedEnvironment))
$(eval $(call CheckInvalidMakeFlags))
# Check that CONF_CHECK is valid.
$(eval $(call ParseConfCheckOption))
# Check that the LOG given is valid, and set LOG_LEVEL, LOG_NOFILE, MAKE_LOG_VARS and MAKE_LOG_FLAGS.
# If no LOG= was given on command line, but we have a non-standard default
# value, use that instead and re-parse log level.
ifeq ($(LOG), )
ifneq ($(DEFAULT_LOG), )
override LOG := $(DEFAULT_LOG)
$(eval $(call ParseLogLevel))
# After this SPECS contain 1..N spec files (otherwise ParseConfAndSpec fails).
$(eval $(call ParseConfAndSpec))
# Extract main targets from Main.gmk using the spec(s) provided. In theory,
# with multiple specs, we should find the intersection of targets provided
# by all specs, but we approximate this by an arbitrary spec from the list.
# This will setup ALL_MAIN_TARGETS.
$(eval $(call DefineMainTargets, FORCE, $(firstword $(SPECS))))
# Separate called targets depending on type.
INIT_TARGETS := $(filter $(ALL_INIT_TARGETS), $(CALLED_SPEC_TARGETS))
MAIN_TARGETS := $(filter $(ALL_MAIN_TARGETS), $(CALLED_SPEC_TARGETS))
SEQUENTIAL_TARGETS := $(filter dist-clean clean%, $(MAIN_TARGETS))
PARALLEL_TARGETS := $(filter-out $(SEQUENTIAL_TARGETS), $(MAIN_TARGETS))
# The spec files depend on the autoconf source code. This check makes sure
# the configuration is up to date after changes to configure.
$(SPECS): $(wildcard $(topdir)/make/autoconf/*) \
$(if $(CUSTOM_CONFIG_DIR), $(wildcard $(CUSTOM_CONFIG_DIR)/*)) \
$(addprefix $(topdir)/make/conf/, version-numbers.conf branding.conf) \
$(if $(CUSTOM_CONF_DIR), $(wildcard $(addprefix $(CUSTOM_CONF_DIR)/, \
version-numbers.conf branding.conf)))
ifeq ($(CONF_CHECK), fail)
@echo Error: The configuration is not up to date for \
"'$(lastword $(subst /, , $(dir $@)))'."
$(call PrintConfCheckFailed)
@exit 2
else ifeq ($(CONF_CHECK), auto)
@echo Note: The configuration is not up to date for \
"'$(lastword $(subst /, , $(dir $@)))'."
@( cd $(topdir) && \
$(MAKE) $(MFLAGS) $(MAKE_LOG_FLAGS) -r -R -f $(topdir)/make/Init.gmk \
SPEC=$@ HAS_SPEC=true ACTUAL_TOPDIR=$(topdir) \
reconfigure )
else ifeq ($(CONF_CHECK), ignore)
# Do nothing
endif
# Do not let make delete spec files even if aborted while doing a reconfigure
.PRECIOUS: $(SPECS)
# Unless reconfigure is explicitly called, let all main targets depend on
# the spec files to be up to date.
ifeq ($(findstring reconfigure, $(INIT_TARGETS)), )
$(MAIN_TARGETS): $(SPECS)
endif
make-info:
ifneq ($(findstring $(LOG_LEVEL), info debug trace), )
$(info Running make as '$(strip $(MAKE) $(MFLAGS) \
$(COMMAND_LINE_VARIABLES) $(MAKECMDGOALS))')
endif
MAKE_INIT_WITH_SPEC_ARGUMENTS := ACTUAL_TOPDIR=$(topdir) \
USER_MAKE_VARS="$(USER_MAKE_VARS)" MAKE_LOG_FLAGS=$(MAKE_LOG_FLAGS) \
$(MAKE_LOG_VARS) \
INIT_TARGETS="$(INIT_TARGETS)" \
SEQUENTIAL_TARGETS="$(SEQUENTIAL_TARGETS)" \
PARALLEL_TARGETS="$(PARALLEL_TARGETS)"
# Now the init and main targets will be called, once for each SPEC. The
# recipe will be run once for every target specified, but we only want to
# execute the recipe a single time, hence the TARGET_DONE with a dummy
# command if true.
# The COMPARE_BUILD part implements special support for makefile development.
$(ALL_INIT_TARGETS) $(ALL_MAIN_TARGETS): make-info
@$(if $(TARGET_DONE), \
true \
, \
( cd $(topdir) && \
$(foreach spec, $(SPECS), \
$(MAKE) $(MFLAGS) $(MAKE_LOG_FLAGS) -r -R -j 1 -f $(topdir)/make/Init.gmk \
SPEC=$(spec) HAS_SPEC=true $(MAKE_INIT_WITH_SPEC_ARGUMENTS) \
main && \
$(if $(and $(COMPARE_BUILD), $(PARALLEL_TARGETS)), \
$(MAKE) $(MFLAGS) $(MAKE_LOG_FLAGS) -r -R -f $(topdir)/make/Init.gmk \
SPEC=$(spec) HAS_SPEC=true ACTUAL_TOPDIR=$(topdir) \
COMPARE_BUILD="$(COMPARE_BUILD)" pre-compare-build && \
$(MAKE) $(MFLAGS) $(MAKE_LOG_FLAGS) -r -R -j 1 -f $(topdir)/make/Init.gmk \
SPEC=$(spec) HAS_SPEC=true $(MAKE_INIT_WITH_SPEC_ARGUMENTS) \
COMPARE_BUILD="$(COMPARE_BUILD):NODRYRUN=true" main && \
$(MAKE) $(MFLAGS) $(MAKE_LOG_FLAGS) -r -R -f $(topdir)/make/Init.gmk \
SPEC=$(spec) HAS_SPEC=true ACTUAL_TOPDIR=$(topdir) \
COMPARE_BUILD="$(COMPARE_BUILD):NODRYRUN=true" post-compare-build && \
) \
) true ) \
$(eval TARGET_DONE=true) \
)
.PHONY: $(ALL_MAIN_TARGETS) $(ALL_INIT_TARGETS)
endif # $(ONLY_GLOBAL_TARGETS)!=true
else # HAS_SPEC=true
##############################################################################
# Now we have a spec. This part provides the "main" target that acts as a
# trampoline to call the Main.gmk with the value of $(MAKE) found in the spec
# file.
##############################################################################
include $(SPEC)
# Our helper functions.
include $(TOPDIR)/make/InitSupport.gmk
# Parse COMPARE_BUILD (for makefile development)
$(eval $(call ParseCompareBuild))
# Setup reproducible build environment
$(eval $(call SetupReproducibleBuild))
# If no LOG= was given on command line, but we have a non-standard default
# value, use that instead and re-parse log level.
ifeq ($(LOG), )
ifneq ($(DEFAULT_LOG), )
override LOG := $(DEFAULT_LOG)
$(eval $(call ParseLogLevel))
endif
endif
endif
ifeq ($(LOG_NOFILE), true)
# Disable build log if LOG=[level,]nofile was given
override BUILD_LOG_PIPE :=
override BUILD_LOG_PIPE_SIMPLE :=
endif
ifeq ($(LOG_NOFILE), true)
# Disable build log if LOG=[level,]nofile was given
override BUILD_LOG_PIPE :=
override BUILD_LOG_PIPE_SIMPLE :=
endif
ifeq ($(filter dist-clean, $(SEQUENTIAL_TARGETS)), dist-clean)
# We can't have a log file if we're about to remove it.
override BUILD_LOG_PIPE :=
override BUILD_LOG_PIPE_SIMPLE :=
endif
ifeq ($(filter dist-clean, $(SEQUENTIAL_TARGETS)), dist-clean)
# We can't have a log file if we're about to remove it.
override BUILD_LOG_PIPE :=
override BUILD_LOG_PIPE_SIMPLE :=
endif
ifeq ($(OUTPUT_SYNC_SUPPORTED), true)
OUTPUT_SYNC_FLAG := -O$(OUTPUT_SYNC)
endif
ifeq ($(OUTPUT_SYNC_SUPPORTED), true)
OUTPUT_SYNC_FLAG := -O$(OUTPUT_SYNC)
endif
##############################################################################
# Init targets
##############################################################################
##############################################################################
# Init targets. These are handled fully, here and now.
##############################################################################
print-modules:
print-modules:
( cd $(TOPDIR) && \
$(MAKE) $(MAKE_ARGS) -j 1 -f make/Main.gmk $(USER_MAKE_VARS) \
NO_RECIPES=true print-modules )
print-targets:
print-targets:
( cd $(TOPDIR) && \
$(MAKE) $(MAKE_ARGS) -j 1 -f make/Main.gmk $(USER_MAKE_VARS) \
NO_RECIPES=true print-targets )
print-tests:
print-tests:
( cd $(TOPDIR) && \
$(MAKE) $(MAKE_ARGS) -j 1 -f make/Main.gmk $(USER_MAKE_VARS) \
NO_RECIPES=true print-tests )
print-configuration:
$(ECHO) $(CONFIGURE_COMMAND_LINE)
print-configuration:
$(ECHO) $(CONFIGURE_COMMAND_LINE)
reconfigure:
reconfigure:
ifneq ($(REAL_CONFIGURE_COMMAND_EXEC_FULL), )
$(ECHO) "Re-running configure using original command line '$(REAL_CONFIGURE_COMMAND_EXEC_SHORT) $(REAL_CONFIGURE_COMMAND_LINE)'"
$(eval RECONFIGURE_COMMAND := $(REAL_CONFIGURE_COMMAND_EXEC_FULL) $(REAL_CONFIGURE_COMMAND_LINE))
@@ -295,34 +110,50 @@ else # HAS_SPEC=true
CUSTOM_CONFIG_DIR="$(CUSTOM_CONFIG_DIR)" \
$(RECONFIGURE_COMMAND) )
##############################################################################
# The main target, for delegating into Main.gmk
##############################################################################
# Create files that are needed to run most targets in Main.gmk
create-make-helpers:
( cd $(TOPDIR) && \
$(MAKE) $(MAKE_ARGS) -j 1 -f make/GenerateFindTests.gmk \
$(USER_MAKE_VARS) )
( cd $(TOPDIR) && \
$(MAKE) $(MAKE_ARGS) -j 1 -f make/Main.gmk $(USER_MAKE_VARS) \
UPDATE_MODULE_DEPS=true NO_RECIPES=true \
create-main-targets-include )
MAIN_TARGETS := $(SEQUENTIAL_TARGETS) $(PARALLEL_TARGETS) $(COMPARE_BUILD_MAKE)
# If building the default target, add what they are to the description.
DESCRIPTION_TARGETS := $(strip $(MAIN_TARGETS))
ifeq ($(DESCRIPTION_TARGETS), default)
DESCRIPTION_TARGETS += ($(DEFAULT_MAKE_TARGET))
endif
TARGET_DESCRIPTION := target$(if $(word 2, $(MAIN_TARGETS)),s) \
'$(strip $(DESCRIPTION_TARGETS))' in configuration '$(CONF_NAME)'
.PHONY: print-modules print-targets print-tests print-configuration \
reconfigure create-make-helpers
# MAKEOVERRIDES is automatically set and propagated by Make to sub-Make calls.
# We need to clear it of the init-specific variables. The user-specified
# variables are explicitly propagated using $(USER_MAKE_VARS).
main: MAKEOVERRIDES :=
##############################################################################
# The main target. This will delegate all other targets into Main.gmk.
##############################################################################
main: $(INIT_TARGETS)
MAIN_TARGETS := $(SEQUENTIAL_TARGETS) $(PARALLEL_TARGETS) $(COMPARE_BUILD_MAKE)
# If building the default target, add what they are to the description.
DESCRIPTION_TARGETS := $(strip $(MAIN_TARGETS))
ifeq ($(DESCRIPTION_TARGETS), default)
DESCRIPTION_TARGETS += ($(DEFAULT_MAKE_TARGET))
endif
TARGET_DESCRIPTION := target$(if $(word 2, $(MAIN_TARGETS)),s) \
'$(strip $(DESCRIPTION_TARGETS))' in configuration '$(CONF_NAME)'
# MAKEOVERRIDES is automatically set and propagated by Make to sub-Make calls.
# We need to clear it of the init-specific variables. The user-specified
# variables are explicitly propagated using $(USER_MAKE_VARS).
main: MAKEOVERRIDES :=
main: $(INIT_TARGETS) create-make-helpers
ifneq ($(SEQUENTIAL_TARGETS)$(PARALLEL_TARGETS), )
$(call RotateLogFiles)
$(PRINTF) "Building $(TARGET_DESCRIPTION)\n" $(BUILD_LOG_PIPE_SIMPLE)
$(ECHO) "Building $(TARGET_DESCRIPTION)" $(BUILD_LOG_PIPE_SIMPLE)
ifneq ($(SEQUENTIAL_TARGETS), )
# Don't touch build output dir since we might be cleaning. That
# means no log pipe.
( cd $(TOPDIR) && \
$(MAKE) $(MAKE_ARGS) -j 1 -f make/Main.gmk $(USER_MAKE_VARS) \
$(SEQUENTIAL_TARGETS) )
# We might have cleaned away essential files, recreate them.
( cd $(TOPDIR) && \
$(MAKE) $(MAKE_ARGS) -j 1 -f make/Init.gmk create-make-helpers )
endif
ifneq ($(PARALLEL_TARGETS), )
$(call PrepareFailureLogs)
@@ -333,14 +164,15 @@ else # HAS_SPEC=true
# treat it as NOT using jobs at all.
( cd $(TOPDIR) && \
$(NICE) $(MAKE) $(MAKE_ARGS) $(OUTPUT_SYNC_FLAG) \
$(if $(JOBS), -j $(JOBS)) \
$(if $(JOBS), -j $(JOBS)) \
-f make/Main.gmk $(USER_MAKE_VARS) \
$(PARALLEL_TARGETS) $(COMPARE_BUILD_MAKE) $(BUILD_LOG_PIPE) || \
( exitcode=$$? && \
$(PRINTF) "\nERROR: Build failed for $(TARGET_DESCRIPTION) (exit code $$exitcode) \n" \
$(ECHO) "" $(BUILD_LOG_PIPE_SIMPLE) && \
$(ECHO) "ERROR: Build failed for $(TARGET_DESCRIPTION) (exit code $$exitcode)" \
$(BUILD_LOG_PIPE_SIMPLE) && \
cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -j 1 -f make/Init.gmk \
HAS_SPEC=true on-failure ; \
on-failure ; \
exit $$exitcode ) )
$(call CleanupJavacServer)
$(call StopGlobalTimer)
@@ -349,31 +181,35 @@ else # HAS_SPEC=true
if test -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error ; then \
exit 1 ; \
fi
$(PRINTF) "Finished building $(TARGET_DESCRIPTION)\n" $(BUILD_LOG_PIPE_SIMPLE)
$(ECHO) "Finished building $(TARGET_DESCRIPTION)" $(BUILD_LOG_PIPE_SIMPLE)
$(call ReportProfileTimes)
endif
on-failure:
on-failure:
$(call CleanupJavacServer)
$(call StopGlobalTimer)
$(call ReportBuildTimes)
$(call PrintFailureReports)
$(call PrintBuildLogFailures)
$(call ReportProfileTimes)
$(PRINTF) "HELP: Run 'make doctor' to diagnose build problems.\n\n"
$(ECHO) "HELP: Run 'make doctor' to diagnose build problems."
$(ECHO) ""
ifneq ($(COMPARE_BUILD), )
$(call CleanupCompareBuild)
endif
# Support targets for COMPARE_BUILD, used for makefile development
pre-compare-build:
# Support targets for COMPARE_BUILD, used for makefile development
pre-compare-build:
$(call WaitForJavacServerFinish)
$(call PrepareCompareBuild)
post-compare-build:
post-compare-build:
$(call WaitForJavacServerFinish)
$(call CleanupCompareBuild)
$(call CompareBuildDoComparison)
.PHONY: print-targets print-modules reconfigure main on-failure
endif
.PHONY: main on-failure pre-compare-build post-compare-build
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -23,396 +23,114 @@
# questions.
#
include MakeIncludeStart.gmk
ifeq ($(INCLUDE), true)
################################################################################
# This file contains helper functions for Init.gmk.
# It is divided in two parts, depending on if a SPEC is present or not
# (HAS_SPEC is true or not).
################################################################################
ifndef _INITSUPPORT_GMK
_INITSUPPORT_GMK := 1
# Define basic logging setup
BUILD_LOG := $(OUTPUTDIR)/build.log
BUILD_PROFILE_LOG := $(OUTPUTDIR)/build-profile.log
ifeq ($(HAS_SPEC), )
BUILD_LOG_PIPE := > >($(TEE) -a $(BUILD_LOG)) 2> >($(TEE) -a $(BUILD_LOG) >&2) && wait
# Use this for simple echo/printf commands that are never expected to print
# to stderr.
BUILD_LOG_PIPE_SIMPLE := | $(TEE) -a $(BUILD_LOG)
# COMMA is defined in spec.gmk, but that is not included yet
COMMA := ,
# Include the corresponding closed file, if present.
ifneq ($(CUSTOM_MAKE_DIR), )
-include $(CUSTOM_MAKE_DIR)/InitSupport.gmk
# Setup the build environment to match the requested specification on
# level of reproducible builds
define SetupReproducibleBuild
ifeq ($$(SOURCE_DATE), updated)
# For static values of SOURCE_DATE (not "updated"), these are set in spec.gmk
export SOURCE_DATE_EPOCH := $$(shell $$(DATE) +"%s")
export SOURCE_DATE_ISO_8601 := $$(call EpochToISO8601, $$(SOURCE_DATE_EPOCH))
endif
endef
##############################################################################
# Helper functions for the initial part of Init.gmk, before the spec file is
# loaded. Most of these functions provide parsing and setting up make options
# from the command-line.
##############################################################################
# Parse COMPARE_BUILD into COMPARE_BUILD_*
# Syntax: COMPARE_BUILD=CONF=<configure options>:PATCH=<patch file>:
# MAKE=<make targets>:COMP_OPTS=<compare script options>:
# COMP_DIR=<compare script base dir>|<default>:
# FAIL=<bool>
# If neither CONF or PATCH is given, assume <default> means CONF if it
# begins with "--", otherwise assume it means PATCH.
# MAKE and COMP_OPTS can only be used with CONF and/or PATCH specified.
# If any value contains "+", it will be replaced by space.
# FAIL can be set to false to have the return value of compare be ignored.
define ParseCompareBuild
ifneq ($$(COMPARE_BUILD), )
COMPARE_BUILD_OUTPUTDIR := $(WORKSPACE_ROOT)/build/compare-build/$(CONF_NAME)
COMPARE_BUILD_FAIL := true
# Make control variables, handled by Init.gmk
INIT_CONTROL_VARIABLES += LOG CONF CONF_NAME SPEC JOBS TEST_JOBS CONF_CHECK \
COMPARE_BUILD JTREG GTEST MICRO TEST_OPTS TEST_VM_OPTS TEST_DEPS
# All known make control variables
MAKE_CONTROL_VARIABLES := $(INIT_CONTROL_VARIABLES) TEST JDK_FILTER SPEC_FILTER
# Define a simple reverse function.
# Should maybe move to MakeBase.gmk, but we can't include that file now.
reverse = \
$(if $(strip $(1)), $(call reverse, $(wordlist 2, $(words $(1)), $(1)))) \
$(firstword $(1))
# The variable MAKEOVERRIDES contains variable assignments from the command
# line, but in reverse order to what the user entered.
# The '§' <=> '\ 'dance is needed to keep values with space in them connected.
COMMAND_LINE_VARIABLES := $(subst §,\ , $(call reverse, $(subst \ ,§,$(MAKEOVERRIDES))))
# A list like FOO="val1" BAR="val2" containing all user-supplied make
# variables that we should propagate.
# The '§' <=> '\ 'dance is needed to keep values with space in them connected.
USER_MAKE_VARS := $(subst §,\ , $(filter-out $(addsuffix =%, $(INIT_CONTROL_VARIABLES)), \
$(subst \ ,§,$(MAKEOVERRIDES))))
# Setup information about available configurations, if any.
ifneq ($(CUSTOM_ROOT), )
build_dir = $(CUSTOM_ROOT)/build
else
build_dir = $(topdir)/build
endif
all_spec_files = $(wildcard $(build_dir)/*/spec.gmk)
# Extract the configuration names from the path
all_confs = $(patsubst %/spec.gmk, %, $(patsubst $(build_dir)/%, %, $(all_spec_files)))
# Check for unknown command-line variables
define CheckControlVariables
command_line_variables := $$(strip $$(foreach var, \
$$(subst \ ,_,$$(MAKEOVERRIDES)), \
$$(firstword $$(subst =, , $$(var)))))
unknown_command_line_variables := $$(strip \
$$(filter-out $$(MAKE_CONTROL_VARIABLES), $$(command_line_variables)))
ifneq ($$(unknown_command_line_variables), )
$$(info Note: Command line contains non-control variables:)
$$(foreach var, $$(unknown_command_line_variables), $$(info * $$(var)=$$($$(var))))
$$(info Make sure it is not mistyped, and that you intend to override this variable.)
$$(info 'make help' will list known control variables.)
$$(info )
endif
endef
# Check for deprecated ALT_ variables
define CheckDeprecatedEnvironment
defined_alt_variables := $$(filter ALT_%, $$(.VARIABLES))
ifneq ($$(defined_alt_variables), )
$$(info Warning: You have the following ALT_ variables set:)
$$(foreach var, $$(defined_alt_variables), $$(info * $$(var)=$$($$(var))))
$$(info ALT_ variables are deprecated, and may result in a failed build.)
$$(info Please clean your environment.)
$$(info )
endif
endef
# Check for invalid make flags like -j
define CheckInvalidMakeFlags
# This is a trick to get this rule to execute before any other rules
# MAKEFLAGS only indicate -j if read in a recipe (!)
$$(topdir)/make/Init.gmk: .FORCE
$$(if $$(findstring --jobserver, $$(MAKEFLAGS)), \
$$(info Error: 'make -jN' is not supported, use 'make JOBS=N') \
$$(error Cannot continue) \
)
.FORCE:
.PHONY: .FORCE
endef
# Check that the CONF_CHECK option is valid and set up handling
define ParseConfCheckOption
ifeq ($$(CONF_CHECK), )
# Default behavior is fail
CONF_CHECK := fail
else ifneq ($$(filter-out auto fail ignore, $$(CONF_CHECK)), )
$$(info Error: CONF_CHECK must be one of: auto, fail or ignore.)
$$(error Cannot continue)
endif
endef
define ParseConfAndSpec
ifneq ($$(origin SPEC), undefined)
# We have been given a SPEC, check that it works out properly
ifneq ($$(origin CONF), undefined)
# We also have a CONF argument. We can't have both.
$$(info Error: Cannot use CONF=$$(CONF) and SPEC=$$(SPEC) at the same time. Choose one.)
$$(error Cannot continue)
endif
ifneq ($$(origin CONF_NAME), undefined)
# We also have a CONF_NAME argument. We can't have both.
$$(info Error: Cannot use CONF_NAME=$$(CONF_NAME) and SPEC=$$(SPEC) at the same time. Choose one.)
$$(error Cannot continue)
endif
ifeq ($$(wildcard $$(SPEC)), )
$$(info Error: Cannot locate spec.gmk, given by SPEC=$$(SPEC).)
$$(error Cannot continue)
endif
ifeq ($$(filter /%, $$(SPEC)), )
# If given with relative path, make it absolute
SPECS := $$(CURDIR)/$$(strip $$(SPEC))
else
SPECS := $$(SPEC)
endif
# For now, unset this SPEC variable.
override SPEC :=
ifneq ($$(findstring :, $$(COMPARE_BUILD)), )
$$(foreach part, $$(subst :, , $$(COMPARE_BUILD)), \
$$(if $$(filter PATCH=%, $$(part)), \
$$(eval COMPARE_BUILD_PATCH = $$(strip $$(patsubst PATCH=%, %, $$(part)))) \
) \
$$(if $$(filter CONF=%, $$(part)), \
$$(eval COMPARE_BUILD_CONF = $$(strip $$(subst +, , $$(patsubst CONF=%, %, $$(part))))) \
) \
$$(if $$(filter MAKE=%, $$(part)), \
$$(eval COMPARE_BUILD_MAKE = $$(strip $$(subst +, , $$(patsubst MAKE=%, %, $$(part))))) \
) \
$$(if $$(filter COMP_OPTS=%, $$(part)), \
$$(eval COMPARE_BUILD_COMP_OPTS = $$(strip $$(subst +, , $$(patsubst COMP_OPTS=%, %, $$(part))))) \
) \
$$(if $$(filter COMP_DIR=%, $$(part)), \
$$(eval COMPARE_BUILD_COMP_DIR = $$(strip $$(subst +, , $$(patsubst COMP_DIR=%, %, $$(part))))) \
) \
$$(if $$(filter FAIL=%, $$(part)), \
$$(eval COMPARE_BUILD_FAIL = $$(strip $$(subst +, , $$(patsubst FAIL=%, %, $$(part))))) \
) \
$$(if $$(filter NODRYRUN=%, $$(part)), \
$$(eval COMPARE_BUILD_NODRYRUN = $$(strip $$(subst +, , $$(patsubst NODRYRUN=%, %, $$(part))))) \
) \
)
else
# Use spec.gmk files in the build output directory
ifeq ($$(all_spec_files), )
ifneq ($(CUSTOM_ROOT), )
$$(info Error: No configurations found for $$(CUSTOM_ROOT).)
else
$$(info Error: No configurations found for $$(topdir).)
endif
$$(info Please run 'bash configure' to create a configuration.)
$$(info )
$$(error Cannot continue)
endif
ifneq ($$(origin CONF_NAME), undefined)
ifneq ($$(origin CONF), undefined)
# We also have a CONF argument. We can't have both.
$$(info Error: Cannot use CONF=$$(CONF) and CONF_NAME=$$(CONF_NAME) at the same time. Choose one.)
$$(error Cannot continue)
endif
matching_conf := $$(strip $$(filter $$(CONF_NAME), $$(all_confs)))
ifeq ($$(matching_conf), )
$$(info Error: No configurations found matching CONF_NAME=$$(CONF_NAME).)
$$(info Available configurations in $$(build_dir):)
$$(foreach var, $$(all_confs), $$(info * $$(var)))
$$(error Cannot continue)
else ifneq ($$(words $$(matching_conf)), 1)
$$(info Error: Matching more than one configuration CONF_NAME=$$(CONF_NAME).)
$$(info Available configurations in $$(build_dir):)
$$(foreach var, $$(all_confs), $$(info * $$(var)))
$$(error Cannot continue)
else
$$(info Building configuration '$$(matching_conf)' (matching CONF_NAME=$$(CONF_NAME)))
endif
# Create a SPEC definition. This will contain the path to exactly one spec file.
SPECS := $$(build_dir)/$$(matching_conf)/spec.gmk
else ifneq ($$(origin CONF), undefined)
# User have given a CONF= argument.
ifeq ($$(CONF), )
# If given CONF=, match all configurations
matching_confs := $$(strip $$(all_confs))
else
# Otherwise select those that contain the given CONF string
ifeq ($$(patsubst !%,,$$(CONF)), )
# A CONF starting with ! means we should negate the search term
matching_confs := $$(strip $$(foreach var, $$(all_confs), \
$$(if $$(findstring $$(subst !,,$$(CONF)), $$(var)), ,$$(var))))
else
matching_confs := $$(strip $$(foreach var, $$(all_confs), \
$$(if $$(findstring $$(CONF), $$(var)), $$(var))))
endif
ifneq ($$(filter $$(CONF), $$(matching_confs)), )
# If we found an exact match, use that
matching_confs := $$(CONF)
# Don't repeat this output on make restarts caused by including
# generated files.
ifeq ($$(MAKE_RESTARTS), )
$$(info Using exact match for CONF=$$(CONF) (other matches are possible))
endif
endif
endif
ifeq ($$(matching_confs), )
$$(info Error: No configurations found matching CONF=$$(CONF).)
$$(info Available configurations in $$(build_dir):)
$$(foreach var, $$(all_confs), $$(info * $$(var)))
$$(error Cannot continue)
else
# Don't repeat this output on make restarts caused by including
# generated files.
ifeq ($$(MAKE_RESTARTS), )
ifeq ($$(words $$(matching_confs)), 1)
ifneq ($$(findstring $$(LOG_LEVEL), info debug trace), )
$$(info Building configuration '$$(matching_confs)' (matching CONF=$$(CONF)))
endif
else
$$(info Building these configurations (matching CONF=$$(CONF)):)
$$(foreach var, $$(matching_confs), $$(info * $$(var)))
endif
endif
endif
# Create a SPEC definition. This will contain the path to one or more spec.gmk files.
SPECS := $$(addsuffix /spec.gmk, $$(addprefix $$(build_dir)/, $$(matching_confs)))
# Separate handling for single field case, to allow for spaces in values.
ifneq ($$(filter PATCH=%, $$(COMPARE_BUILD)), )
COMPARE_BUILD_PATCH = $$(strip $$(patsubst PATCH=%, %, $$(COMPARE_BUILD)))
else ifneq ($$(filter CONF=%, $$(COMPARE_BUILD)), )
COMPARE_BUILD_CONF = $$(strip $$(subst +, , $$(patsubst CONF=%, %, $$(COMPARE_BUILD))))
else ifneq ($$(filter --%, $$(COMPARE_BUILD)), )
# Assume CONF if value begins with --
COMPARE_BUILD_CONF = $$(strip $$(subst +, , $$(COMPARE_BUILD)))
else
# No CONF or SPEC given, check the available configurations
ifneq ($$(words $$(all_spec_files)), 1)
$$(info Error: No CONF given, but more than one configuration found.)
$$(info Available configurations in $$(build_dir):)
$$(foreach var, $$(all_confs), $$(info * $$(var)))
$$(info Please retry building with CONF=<config pattern> (or SPEC=<spec file>).)
$$(info )
$$(error Cannot continue)
# Otherwise assume patch file
COMPARE_BUILD_PATCH = $$(strip $$(COMPARE_BUILD))
endif
endif
ifneq ($$(COMPARE_BUILD_PATCH), )
ifneq ($$(wildcard $$(WORKSPACE_ROOT)/$$(COMPARE_BUILD_PATCH)), )
# Assume relative path, if file exists
COMPARE_BUILD_PATCH := $$(wildcard $$(WORKSPACE_ROOT)/$$(COMPARE_BUILD_PATCH))
else ifeq ($$(wildcard $$(COMPARE_BUILD_PATCH)), )
$$(error Patch file $$(COMPARE_BUILD_PATCH) does not exist)
endif
ifneq ($$(COMPARE_BUILD_NODRYRUN), true)
PATCH_DRY_RUN := $$(shell cd $$(WORKSPACE_ROOT) && $$(PATCH) --dry-run -p1 < $$(COMPARE_BUILD_PATCH) > /dev/null 2>&1 || $$(ECHO) FAILED)
ifeq ($$(PATCH_DRY_RUN), FAILED)
$$(error Patch file $$(COMPARE_BUILD_PATCH) does not apply cleanly)
endif
# We found exactly one configuration, use it
SPECS := $$(strip $$(all_spec_files))
endif
endif
endef
# Extract main targets from Main.gmk using the spec provided in $2.
#
# Param 1: FORCE = force generation of main-targets.gmk or LAZY = do not force.
# Param 2: The SPEC file to use.
define DefineMainTargets
# We will start by making sure the main-targets.gmk file is removed, if
# make has not been restarted. By the -include, we will trigger the
# rule for generating the file (which is never there since we removed it),
# thus generating it fresh, and make will restart, incrementing the restart
# count.
main_targets_file := $$(dir $(strip $2))make-support/main-targets.gmk
ifeq ($$(MAKE_RESTARTS), )
# Only do this if make has not been restarted, and if we do not force it.
ifeq ($(strip $1), FORCE)
$$(shell rm -f $$(main_targets_file))
endif
ifneq ($$(COMPARE_BUILD_FAIL), true)
COMPARE_BUILD_IGNORE_RESULT := || true
endif
$$(main_targets_file):
@( cd $$(topdir) && \
$$(MAKE) $$(MAKE_LOG_FLAGS) -r -R -f $$(topdir)/make/Main.gmk \
-I $$(topdir)/make/common SPEC=$(strip $2) NO_RECIPES=true \
$$(MAKE_LOG_VARS) \
create-main-targets-include )
# Now include main-targets.gmk. This will define ALL_MAIN_TARGETS.
-include $$(main_targets_file)
endef
define PrintConfCheckFailed
@echo ' '
@echo "Please rerun configure! Easiest way to do this is by running"
@echo "'make reconfigure'."
@echo "This behavior may also be changed using CONF_CHECK=<ignore|auto>."
@echo ' '
endef
else # $(HAS_SPEC)=true
##############################################################################
# Helper functions for the 'main' target. These functions assume a single,
# proper and existing SPEC is included.
##############################################################################
include $(TOPDIR)/make/common/MakeBase.gmk
# Define basic logging setup
BUILD_LOG := $(OUTPUTDIR)/build.log
BUILD_PROFILE_LOG := $(OUTPUTDIR)/build-profile.log
BUILD_LOG_PIPE := > >($(TEE) -a $(BUILD_LOG)) 2> >($(TEE) -a $(BUILD_LOG) >&2) && wait
# Use this for simple echo/printf commands that are never expected to print
# to stderr.
BUILD_LOG_PIPE_SIMPLE := | $(TEE) -a $(BUILD_LOG)
ifneq ($(CUSTOM_ROOT), )
topdir = $(CUSTOM_ROOT)
else
topdir = $(TOPDIR)
endif
endef
# Setup the build environment to match the requested specification on
# level of reproducible builds
define SetupReproducibleBuild
ifeq ($$(SOURCE_DATE), updated)
# For static values of SOURCE_DATE (not "updated"), these are set in spec.gmk
export SOURCE_DATE_EPOCH := $$(shell $$(DATE) +"%s")
export SOURCE_DATE_ISO_8601 := $$(call EpochToISO8601, $$(SOURCE_DATE_EPOCH))
endif
endef
# Parse COMPARE_BUILD into COMPARE_BUILD_*
# Syntax: COMPARE_BUILD=CONF=<configure options>:PATCH=<patch file>:
# MAKE=<make targets>:COMP_OPTS=<compare script options>:
# COMP_DIR=<compare script base dir>|<default>:
# FAIL=<bool>
# If neither CONF or PATCH is given, assume <default> means CONF if it
# begins with "--", otherwise assume it means PATCH.
# MAKE and COMP_OPTS can only be used with CONF and/or PATCH specified.
# If any value contains "+", it will be replaced by space.
# FAIL can be set to false to have the return value of compare be ignored.
define ParseCompareBuild
ifneq ($$(COMPARE_BUILD), )
COMPARE_BUILD_OUTPUTDIR := $(topdir)/build/compare-build/$(CONF_NAME)
COMPARE_BUILD_FAIL := true
ifneq ($$(findstring :, $$(COMPARE_BUILD)), )
$$(foreach part, $$(subst :, , $$(COMPARE_BUILD)), \
$$(if $$(filter PATCH=%, $$(part)), \
$$(eval COMPARE_BUILD_PATCH = $$(strip $$(patsubst PATCH=%, %, $$(part)))) \
) \
$$(if $$(filter CONF=%, $$(part)), \
$$(eval COMPARE_BUILD_CONF = $$(strip $$(subst +, , $$(patsubst CONF=%, %, $$(part))))) \
) \
$$(if $$(filter MAKE=%, $$(part)), \
$$(eval COMPARE_BUILD_MAKE = $$(strip $$(subst +, , $$(patsubst MAKE=%, %, $$(part))))) \
) \
$$(if $$(filter COMP_OPTS=%, $$(part)), \
$$(eval COMPARE_BUILD_COMP_OPTS = $$(strip $$(subst +, , $$(patsubst COMP_OPTS=%, %, $$(part))))) \
) \
$$(if $$(filter COMP_DIR=%, $$(part)), \
$$(eval COMPARE_BUILD_COMP_DIR = $$(strip $$(subst +, , $$(patsubst COMP_DIR=%, %, $$(part))))) \
) \
$$(if $$(filter FAIL=%, $$(part)), \
$$(eval COMPARE_BUILD_FAIL = $$(strip $$(subst +, , $$(patsubst FAIL=%, %, $$(part))))) \
) \
$$(if $$(filter NODRYRUN=%, $$(part)), \
$$(eval COMPARE_BUILD_NODRYRUN = $$(strip $$(subst +, , $$(patsubst NODRYRUN=%, %, $$(part))))) \
) \
)
else
# Separate handling for single field case, to allow for spaces in values.
ifneq ($$(filter PATCH=%, $$(COMPARE_BUILD)), )
COMPARE_BUILD_PATCH = $$(strip $$(patsubst PATCH=%, %, $$(COMPARE_BUILD)))
else ifneq ($$(filter CONF=%, $$(COMPARE_BUILD)), )
COMPARE_BUILD_CONF = $$(strip $$(subst +, , $$(patsubst CONF=%, %, $$(COMPARE_BUILD))))
else ifneq ($$(filter --%, $$(COMPARE_BUILD)), )
# Assume CONF if value begins with --
COMPARE_BUILD_CONF = $$(strip $$(subst +, , $$(COMPARE_BUILD)))
else
# Otherwise assume patch file
COMPARE_BUILD_PATCH = $$(strip $$(COMPARE_BUILD))
endif
endif
ifneq ($$(COMPARE_BUILD_PATCH), )
ifneq ($$(wildcard $$(topdir)/$$(COMPARE_BUILD_PATCH)), )
# Assume relative path, if file exists
COMPARE_BUILD_PATCH := $$(wildcard $$(topdir)/$$(COMPARE_BUILD_PATCH))
else ifeq ($$(wildcard $$(COMPARE_BUILD_PATCH)), )
$$(error Patch file $$(COMPARE_BUILD_PATCH) does not exist)
endif
ifneq ($$(COMPARE_BUILD_NODRYRUN), true)
PATCH_DRY_RUN := $$(shell cd $$(topdir) && $$(PATCH) --dry-run -p1 < $$(COMPARE_BUILD_PATCH) > /dev/null 2>&1 || $$(ECHO) FAILED)
ifeq ($$(PATCH_DRY_RUN), FAILED)
$$(error Patch file $$(COMPARE_BUILD_PATCH) does not apply cleanly)
endif
endif
endif
ifneq ($$(COMPARE_BUILD_FAIL), true)
COMPARE_BUILD_IGNORE_RESULT := || true
endif
endif
endef
# Prepare for a comparison rebuild
define PrepareCompareBuild
# Prepare for a comparison rebuild
define PrepareCompareBuild
$(ECHO) "Preparing for comparison rebuild"
# Apply patch, if any
$(if $(COMPARE_BUILD_PATCH), cd $(topdir) && $(PATCH) -p1 < $(COMPARE_BUILD_PATCH))
$(if $(COMPARE_BUILD_PATCH), cd $(WORKSPACE_ROOT) && $(PATCH) -p1 < $(COMPARE_BUILD_PATCH))
# Move the first build away temporarily
$(RM) -r $(topdir)/build/.compare-build-temp
$(MKDIR) -p $(topdir)/build/.compare-build-temp
$(MV) $(OUTPUTDIR) $(topdir)/build/.compare-build-temp
$(RM) -r $(WORKSPACE_ROOT)/build/.compare-build-temp
$(MKDIR) -p $(WORKSPACE_ROOT)/build/.compare-build-temp
$(MV) $(OUTPUTDIR) $(WORKSPACE_ROOT)/build/.compare-build-temp
# Restore an old compare-build, or create a new compare-build directory.
if test -d $(COMPARE_BUILD_OUTPUTDIR); then \
$(MV) $(COMPARE_BUILD_OUTPUTDIR) $(OUTPUTDIR); \
@@ -422,23 +140,23 @@ else # $(HAS_SPEC)=true
# Re-run configure with the same arguments (and possibly some additional),
# must be done after patching.
( cd $(CONFIGURE_START_DIR) && PATH="$(ORIGINAL_PATH)" \
$(BASH) $(topdir)/configure $(CONFIGURE_COMMAND_LINE) $(COMPARE_BUILD_CONF))
endef
$(BASH) $(WORKSPACE_ROOT)/configure $(CONFIGURE_COMMAND_LINE) $(COMPARE_BUILD_CONF))
endef
# Cleanup after a compare build
define CleanupCompareBuild
# Cleanup after a compare build
define CleanupCompareBuild
# If running with a COMPARE_BUILD patch, reverse-apply it, but continue
# even if that fails (can happen with removed files).
$(if $(COMPARE_BUILD_PATCH), cd $(topdir) && $(PATCH) -R -p1 < $(COMPARE_BUILD_PATCH) || true)
$(if $(COMPARE_BUILD_PATCH), cd $(WORKSPACE_ROOT) && $(PATCH) -R -p1 < $(COMPARE_BUILD_PATCH) || true)
# Move this build away and restore the original build
$(MKDIR) -p $(topdir)/build/compare-build
$(MKDIR) -p $(WORKSPACE_ROOT)/build/compare-build
$(MV) $(OUTPUTDIR) $(COMPARE_BUILD_OUTPUTDIR)
$(MV) $(topdir)/build/.compare-build-temp/$(CONF_NAME) $(OUTPUTDIR)
$(RM) -r $(topdir)/build/.compare-build-temp
endef
$(MV) $(WORKSPACE_ROOT)/build/.compare-build-temp/$(CONF_NAME) $(OUTPUTDIR)
$(RM) -r $(WORKSPACE_ROOT)/build/.compare-build-temp
endef
# Do the actual comparison of two builds
define CompareBuildDoComparison
# Do the actual comparison of two builds
define CompareBuildDoComparison
# Compare first and second build. Ignore any error code from compare.sh.
$(ECHO) "Comparing between comparison rebuild (this/new) and baseline (other/old)"
$(if $(COMPARE_BUILD_COMP_DIR), \
@@ -448,16 +166,17 @@ else # $(HAS_SPEC)=true
+(cd $(COMPARE_BUILD_OUTPUTDIR) && ./compare.sh --diffs $(COMPARE_BUILD_COMP_OPTS) \
-o $(OUTPUTDIR) $(COMPARE_BUILD_IGNORE_RESULT)) \
)
endef
endef
define PrintFailureReports
define PrintFailureReports
$(if $(filter none, $(LOG_REPORT)), , \
$(RM) $(MAKESUPPORT_OUTPUTDIR)/failure-summary.log ; \
$(if $(wildcard $(MAKESUPPORT_OUTPUTDIR)/failure-logs/*.log), \
( \
$(PRINTF) "\n=== Output from failing command(s) repeated here ===\n" ; \
$(ECHO) "" ; \
$(ECHO) "=== Output from failing command(s) repeated here ===" ; \
$(foreach logfile, $(sort $(wildcard $(MAKESUPPORT_OUTPUTDIR)/failure-logs/*.log)), \
$(PRINTF) "* For target $(notdir $(basename $(logfile))):\n" ; \
$(ECHO) "* For target $(notdir $(basename $(logfile))):" ; \
$(if $(filter all, $(LOG_REPORT)), \
$(GREP) -v -e "^Note: including file:" < $(logfile) || true ; \
, \
@@ -467,116 +186,120 @@ else # $(HAS_SPEC)=true
fi ; \
) \
) \
$(PRINTF) "\n* All command lines available in $(MAKESUPPORT_OUTPUTDIR)/failure-logs.\n" ; \
$(PRINTF) "=== End of repeated output ===\n" ; \
$(ECHO) "" ; \
$(ECHO) "* All command lines available in $(MAKESUPPORT_OUTPUTDIR)/failure-logs." ; \
$(ECHO) "=== End of repeated output ===" ; \
) >> $(MAKESUPPORT_OUTPUTDIR)/failure-summary.log \
) \
)
endef
endef
define PrintBuildLogFailures
define PrintBuildLogFailures
$(if $(filter none, $(LOG_REPORT)), , \
if $(GREP) -q "recipe for target .* failed" $(BUILD_LOG) 2> /dev/null; then \
$(PRINTF) "\n=== Make failed targets repeated here ===\n" ; \
$(ECHO) "" ; \
$(ECHO) "=== Make failed targets repeated here ===" ; \
$(GREP) "recipe for target .* failed" $(BUILD_LOG) ; \
$(PRINTF) "=== End of repeated output ===\n" ; \
$(PRINTF) "\nHELP: Try searching the build log for the name of the first failed target.\n" ; \
$(ECHO) "=== End of repeated output ===" ; \
$(ECHO) "" ; \
$(ECHO) "HELP: Try searching the build log for the name of the first failed target." ; \
else \
$(PRINTF) "\nNo indication of failed target found.\n" ; \
$(PRINTF) "HELP: Try searching the build log for '] Error'.\n" ; \
$(ECHO) "" ; \
$(ECHO) "No indication of failed target found." ; \
$(ECHO) "HELP: Try searching the build log for '] Error'." ; \
fi >> $(MAKESUPPORT_OUTPUTDIR)/failure-summary.log ; \
$(CAT) $(MAKESUPPORT_OUTPUTDIR)/failure-summary.log \
)
endef
endef
define RotateLogFiles
define RotateLogFiles
$(RM) $(BUILD_LOG).old 2> /dev/null && \
$(MV) $(BUILD_LOG) $(BUILD_LOG).old 2> /dev/null || true
$(if $(findstring true, $(LOG_PROFILE_TIMES_FILE)), \
$(RM) $(BUILD_PROFILE_LOG).old 2> /dev/null && \
$(MV) $(BUILD_PROFILE_LOG) $(BUILD_PROFILE_LOG).old 2> /dev/null || true \
)
endef
endef
# Failure logs are only supported for "parallel" main targets, not the
# (trivial) sequential make targets (such as clean and reconfigure),
# since the failure-logs directory creation will conflict with clean.
# We also make sure the javatmp directory exists, which is needed if a java
# process (like javac) is using java.io.tmpdir.
define PrepareFailureLogs
# Failure logs are only supported for "parallel" main targets, not the
# (trivial) sequential make targets (such as clean and reconfigure),
# since the failure-logs directory creation will conflict with clean.
# We also make sure the javatmp directory exists, which is needed if a java
# process (like javac) is using java.io.tmpdir.
define PrepareFailureLogs
$(RM) -r $(MAKESUPPORT_OUTPUTDIR)/failure-logs 2> /dev/null && \
$(MKDIR) -p $(MAKESUPPORT_OUTPUTDIR)/failure-logs
$(MKDIR) -p $(JAVA_TMP_DIR)
$(RM) $(MAKESUPPORT_OUTPUTDIR)/exit-with-error 2> /dev/null
endef
endef
# Remove any javac server logs and port files. This
# prevents a new make run to reuse the previous servers.
define PrepareJavacServer
# Remove any javac server logs and port files. This
# prevents a new make run to reuse the previous servers.
define PrepareJavacServer
$(if $(JAVAC_SERVER_DIR), \
$(RM) -r $(JAVAC_SERVER_DIR) 2> /dev/null && \
$(MKDIR) -p $(JAVAC_SERVER_DIR) \
)
endef
endef
define CleanupJavacServer
define CleanupJavacServer
[ -f $(JAVAC_SERVER_DIR)/server.port ] && $(ECHO) Stopping javac server && \
$(TOUCH) $(JAVAC_SERVER_DIR)/server.port.stop; true
endef
endef
ifeq ($(call isBuildOs, windows), true)
# On windows we need to synchronize with the javac server to be able to
# move or remove the build output directory. Since we have no proper
# synchronization process, wait for a while and hope it helps. This is only
# used by build comparisons.
ifeq ($(call isBuildOs, windows), true)
# On windows we need to synchronize with the javac server to be able to
# move or remove the build output directory. Since we have no proper
# synchronization process, wait for a while and hope it helps. This is only
# used by build comparisons.
define WaitForJavacServerFinish
$(if $(JAVAC_SERVER_DIR), \
sleep 5 \
)
endef
else
define WaitForJavacServerFinish
endef
endif
endef
else
define WaitForJavacServerFinish
endef
endif
##############################################################################
# Functions for timers
##############################################################################
##############################################################################
# Functions for timers
##############################################################################
# Store the build times in this directory.
BUILDTIMESDIR = $(OUTPUTDIR)/make-support/build-times
# Store the build times in this directory.
BUILDTIMESDIR := $(OUTPUTDIR)/make-support/build-times
# Record starting time for build of a sub repository.
define RecordStartTime
# Record starting time for build of a sub repository.
define RecordStartTime
$(DATE) '+%Y %m %d %H %M %S' | $(AWK) '{ print $$1,$$2,$$3,$$4,$$5,$$6,($$4*3600+$$5*60+$$6) }' > $(BUILDTIMESDIR)/build_time_start_$(strip $1) && \
$(DATE) '+%Y-%m-%d %H:%M:%S' > $(BUILDTIMESDIR)/build_time_start_$(strip $1)_human_readable
endef
endef
# Record ending time and calculate the difference and store it in a
# easy to read format. Handles builds that cross midnight. Expects
# that a build will never take 24 hours or more.
define RecordEndTime
# Record ending time and calculate the difference and store it in a
# easy to read format. Handles builds that cross midnight. Expects
# that a build will never take 24 hours or more.
define RecordEndTime
$(DATE) '+%Y %m %d %H %M %S' | $(AWK) '{ print $$1,$$2,$$3,$$4,$$5,$$6,($$4*3600+$$5*60+$$6) }' > $(BUILDTIMESDIR)/build_time_end_$(strip $1)
$(DATE) '+%Y-%m-%d %H:%M:%S' > $(BUILDTIMESDIR)/build_time_end_$(strip $1)_human_readable
$(ECHO) `$(CAT) $(BUILDTIMESDIR)/build_time_start_$(strip $1)` `$(CAT) $(BUILDTIMESDIR)/build_time_end_$(strip $1)` $1 | \
$(AWK) '{ F=$$7; T=$$14; if (F > T) { T+=3600*24 }; D=T-F; H=int(D/3600); \
M=int((D-H*3600)/60); S=D-H*3600-M*60; printf("%02d:%02d:%02d %s\n",H,M,S,$$15); }' \
> $(BUILDTIMESDIR)/build_time_diff_$(strip $1)
endef
endef
define StartGlobalTimer
define StartGlobalTimer
$(RM) -r $(BUILDTIMESDIR) 2> /dev/null && \
$(MKDIR) -p $(BUILDTIMESDIR) && \
$(call RecordStartTime,TOTAL)
endef
endef
define StopGlobalTimer
define StopGlobalTimer
$(call RecordEndTime,TOTAL)
endef
endef
# Find all build_time_* files and print their contents in a list sorted
# on the name of the sub repository.
define ReportBuildTimes
# Find all build_time_* files and print their contents in a list sorted
# on the name of the sub repository.
define ReportBuildTimes
$(PRINTF) $(LOG_INFO) -- \
"----- Build times -------\nStart %s\nEnd %s\n%s\n%s\n-------------------------\n" \
"`$(CAT) $(BUILDTIMESDIR)/build_time_start_TOTAL_human_readable`" \
@@ -585,119 +308,20 @@ else # $(HAS_SPEC)=true
$(XARGS) $(CAT) | $(SORT) -k 2`" \
"`$(CAT) $(BUILDTIMESDIR)/build_time_diff_TOTAL`" \
$(BUILD_LOG_PIPE_SIMPLE)
endef
define ReportProfileTimes
$(if $(findstring true, $(LOG_PROFILE_TIMES_LOG)), \
[ ! -f $(BUILD_PROFILE_LOG) ] || \
{ $(ECHO) Begin $(notdir $(BUILD_PROFILE_LOG)) && \
$(CAT) $(BUILD_PROFILE_LOG) && \
$(ECHO) End $(notdir $(BUILD_PROFILE_LOG)); \
} \
$(BUILD_LOG_PIPE_SIMPLE)
)
endef
endif # HAS_SPEC
# Look for a given option in the LOG variable, and if found, set a variable
# and remove the option from the LOG variable
# $1: The option to look for
# $2: The variable to set to "true" if the option is found
define ParseLogOption
ifneq ($$(findstring $1, $$(LOG)), )
override $2 := true
# First try to remove ",<option>" if it exists, otherwise just remove "<option>"
LOG_STRIPPED := $$(subst $1,, $$(subst $$(COMMA)$$(strip $1),, $$(LOG)))
# We might have ended up with a leading comma. Remove it. Need override
# since LOG is set from the command line.
override LOG := $$(strip $$(patsubst $$(COMMA)%, %, $$(LOG_STRIPPED)))
endif
endef
# Look for a given option with an assignment in the LOG variable, and if found,
# set a variable to that value and remove the option from the LOG variable
# $1: The option to look for
# $2: The variable to set to the value of the option, if found
define ParseLogValue
ifneq ($$(findstring $1=, $$(LOG)), )
# Make words of out comma-separated list and find the one with opt=val
value := $$(strip $$(subst $$(strip $1)=,, $$(filter $$(strip $1)=%, $$(subst $$(COMMA), , $$(LOG)))))
override $2 := $$(value)
# First try to remove ",<option>" if it exists, otherwise just remove "<option>"
LOG_STRIPPED := $$(subst $$(strip $1)=$$(value),, \
$$(subst $$(COMMA)$$(strip $1)=$$(value),, $$(LOG)))
# We might have ended up with a leading comma. Remove it. Need override
# since LOG is set from the command line.
override LOG := $$(strip $$(patsubst $$(COMMA)%, %, $$(LOG_STRIPPED)))
endif
define ReportProfileTimes
$(if $(findstring true, $(LOG_PROFILE_TIMES_LOG)), \
[ ! -f $(BUILD_PROFILE_LOG) ] || \
{ $(ECHO) Begin $(notdir $(BUILD_PROFILE_LOG)) && \
$(CAT) $(BUILD_PROFILE_LOG) && \
$(ECHO) End $(notdir $(BUILD_PROFILE_LOG)); \
} \
$(BUILD_LOG_PIPE_SIMPLE)
)
endef
################################################################################
define ParseLogLevel
# Catch old-style VERBOSE= command lines.
ifneq ($$(origin VERBOSE), undefined)
$$(info Error: VERBOSE is deprecated. Use LOG=<warn|info|debug|trace> instead.)
$$(error Cannot continue)
endif
# Setup logging according to LOG
# If "nofile" is present, do not log to a file
$$(eval $$(call ParseLogOption, nofile, LOG_NOFILE))
# If "cmdline" is present, print all executes "important" command lines.
$$(eval $$(call ParseLogOption, cmdlines, LOG_CMDLINES))
# If "report" is present, use non-standard reporting options at build failure.
$$(eval $$(call ParseLogValue, report, LOG_REPORT))
ifneq ($$(LOG_REPORT), )
ifeq ($$(filter $$(LOG_REPORT), none all default), )
$$(info Error: LOG=report has invalid value: $$(LOG_REPORT).)
$$(info Valid values: LOG=report=<none>|<all>|<default>)
$$(error Cannot continue)
endif
endif
# If "profile-to-log" is present, write shell times in build log
$$(eval $$(call ParseLogOption, profile-to-log, LOG_PROFILE_TIMES_LOG))
# If "profile" is present, write shell times in separate log file
# IMPORTANT: $(ParseLogOption profile-to-log) should go first. Otherwise
# parsing of 'LOG=debug,profile-to-log,nofile' ends up in the following error:
# Error: LOG contains unknown option or log level: debug-to-log.
$$(eval $$(call ParseLogOption, profile, LOG_PROFILE_TIMES_FILE))
# Treat LOG=profile-to-log as if it were LOG=profile,profile-to-log
LOG_PROFILE_TIMES_FILE := $$(firstword $$(LOG_PROFILE_TIMES_FILE) $$(LOG_PROFILE_TIMES_LOG))
override LOG_LEVEL := $$(LOG)
ifeq ($$(LOG_LEVEL), )
# Set LOG to "warn" as default if not set
override LOG_LEVEL := warn
endif
ifeq ($$(LOG_LEVEL), warn)
override MAKE_LOG_FLAGS := -s
else ifeq ($$(LOG_LEVEL), info)
override MAKE_LOG_FLAGS := -s
else ifeq ($$(LOG_LEVEL), debug)
override MAKE_LOG_FLAGS :=
else ifeq ($$(LOG_LEVEL), trace)
override MAKE_LOG_FLAGS :=
else
$$(info Error: LOG contains unknown option or log level: $$(LOG).)
$$(info LOG can be <level>[,<opt>[...]] where <opt> is nofile | cmdlines | profile | profile-to-log)
$$(info and <level> is warn | info | debug | trace)
$$(error Cannot continue)
endif
endef
MAKE_LOG_VARS = $(foreach v, \
LOG_LEVEL LOG_NOFILE LOG_CMDLINES LOG_REPORT LOG_PROFILE_TIMES_LOG \
LOG_PROFILE_TIMES_FILE, \
$v=$($v) \
)
endif # _INITSUPPORT_GMK
endif # include guard
include MakeIncludeEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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
@@ -23,10 +23,9 @@
# questions.
#
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include Execute.gmk
include Modules.gmk
@@ -58,6 +57,4 @@ TARGETS += $(jlink_interim_image)
################################################################################
all: $(TARGETS)
.PHONY: all
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -23,14 +23,13 @@
# questions.
#
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
include JavaCompilation.gmk
include JarArchive.gmk
include JavaCompilation.gmk
include TextFileProcessing.gmk
# This rule will be depended on due to the MANIFEST line
@@ -78,3 +77,7 @@ $(eval $(call SetupJarArchive, BUILD_JRTFS_JAR, \
))
all: $(BUILD_JRTFS_JAR)
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -23,8 +23,9 @@
# questions.
#
include $(SPEC)
include MakeBase.gmk
include MakeFileStart.gmk
################################################################################
include CopyFiles.gmk
include TextFileProcessing.gmk
@@ -118,3 +119,7 @@ else # Not macosx
endif # macosx
.PHONY: jdk-bundle jre-bundle bundles
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -24,44 +24,41 @@
#
################################################################################
# This is the main makefile containing most actual top level targets. It needs
# to be called with a SPEC file defined.
# This is the main makefile containing most actual top level targets.
################################################################################
# Declare default target
default:
# Declare ALL_TARGETS as an immediate variable. This variable is a list of all
# valid top level targets. It's used to declare them all as PHONY and to
# generate the -only targets.
ifeq ($(wildcard $(SPEC)), )
$(error Main.gmk needs SPEC set to a proper spec.gmk)
endif
ALL_TARGETS :=
# Now load the spec
include $(SPEC)
DEFAULT_TARGET := default-target
# Load the vital tools for all the makefiles.
include $(TOPDIR)/make/common/MakeBase.gmk
include $(TOPDIR)/make/common/Modules.gmk
include $(TOPDIR)/make/common/FindTests.gmk
include MakeFileStart.gmk
################################################################################
include $(TOPDIR)/make/MainSupport.gmk
include FindTests.gmk
ifeq ($(UPDATE_MODULE_DEPS), true)
# Update module-deps.gmk if requested. This is read in Modules.gmk.
GENERATE_MODULE_DEPS_FILE := true
endif
include Modules.gmk
# Are we requested to ignore dependencies?
ifneq ($(findstring -only, $(MAKECMDGOALS)), )
DEPS := none
endif
# Declare ALL_TARGETS as an immediate variable. This variable is a list of all
# valid top level targets. It's used to declare them all as PHONY and to
# generate the -only targets.
ALL_TARGETS :=
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Main.gmk))
# All modules for the current target platform.
ALL_MODULES := $(call FindAllModules)
################################################################################
################################################################################
#
# Recipes for all targets. Only recipes, dependencies are declared later.
@@ -356,6 +353,14 @@ $(eval $(call SetupTarget, vscode-project-ccls, \
DEPS := compile-commands, \
))
################################################################################
# IDEA IntelliJ projects
$(eval $(call SetupTarget, idea-gen-config, \
MAKEFILE := ide/idea/jdk/IdeaGenConfig, \
ARGS := IDEA_OUTPUT="$(IDEA_OUTPUT)" MODULES="$(MODULES)", \
))
################################################################################
# Build demos targets
@@ -412,12 +417,14 @@ $(eval $(call SetupTarget, create-source-revision-tracker, \
))
BOOTCYCLE_TARGET := product-images
BOOTCYCLE_SPEC := $(dir $(SPEC))bootcycle-spec.gmk
bootcycle-images:
ifneq ($(COMPILE_TYPE), cross)
$(call LogWarn, Boot cycle build step 2: Building a new JDK image using previously built image)
$(call MakeDir, $(OUTPUTDIR)/bootcycle-build)
+$(MAKE) $(MAKE_ARGS) -f $(TOPDIR)/make/Init.gmk PARALLEL_TARGETS=$(BOOTCYCLE_TARGET) \
LOG_PREFIX="[bootcycle] " JOBS= SPEC=$(dir $(SPEC))bootcycle-spec.gmk main
LOG_PREFIX="[bootcycle] " JOBS= SPEC=$(BOOTCYCLE_SPEC) main
else
$(call LogWarn, Boot cycle build disabled when cross compiling)
endif
@@ -754,6 +761,17 @@ $(eval $(call SetupTarget, test-image-lib, \
DEPS := build-test-lib, \
))
$(eval $(call SetupTarget, build-test-setup-aot, \
MAKEFILE := test/BuildTestSetupAOT, \
DEPS := interim-langtools exploded-image, \
))
$(eval $(call SetupTarget, test-image-setup-aot, \
MAKEFILE := test/BuildTestSetupAOT, \
TARGET := images, \
DEPS := build-test-setup-aot, \
))
ifeq ($(BUILD_FAILURE_HANDLER), true)
# Builds the failure handler jtreg extension
$(eval $(call SetupTarget, build-test-failure-handler, \
@@ -865,6 +883,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, \
@@ -990,7 +1014,7 @@ else
else ifeq ($(EXTERNAL_BUILDJDK), false)
# When not cross compiling, the BUILD_JDK is the interim jdk image, and
# the javac launcher is needed.
jdk.compiler-gendata: jdk.compiler-launchers
jdk.compiler-gendata: jdk.compiler-launchers java.base-launchers
jdk.javadoc-gendata: jdk.compiler-launchers
endif
@@ -1282,7 +1306,8 @@ all-docs-bundles: docs-jdk-bundles docs-javase-bundles docs-reference-bundles
# This target builds the test image
test-image: prepare-test-image test-image-jdk-jtreg-native \
test-image-demos-jdk test-image-libtest-jtreg-native \
test-image-lib test-image-lib-native
test-image-lib test-image-lib-native \
test-image-setup-aot
ifneq ($(JVM_TEST_IMAGE_TARGETS), )
# If JVM_TEST_IMAGE_TARGETS is externally defined, use it instead of the
@@ -1331,7 +1356,7 @@ ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-static-libs \
# Traditional targets typically run by users.
# These can be considered aliases for the targets now named by a more
# "modern" naming scheme.
default: $(DEFAULT_MAKE_TARGET)
default-target: $(DEFAULT_MAKE_TARGET)
jdk: exploded-image
images: product-images
docs: docs-image
@@ -1366,7 +1391,6 @@ ALL_TARGETS += $(RUN_TEST_TARGETS) run-test exploded-run-test check \
test-hotspot-jtreg test-hotspot-jtreg-native test-hotspot-gtest \
test-jdk-jtreg-native test-docs
################################################################################
################################################################################
#
# Clean targets
@@ -1383,7 +1407,7 @@ CLEAN_SUPPORT_DIRS += demos
CLEAN_SUPPORT_DIR_TARGETS := $(addprefix clean-, $(CLEAN_SUPPORT_DIRS))
CLEAN_TESTS += hotspot-jtreg-native jdk-jtreg-native lib
CLEAN_TEST_TARGETS += $(addprefix clean-test-, $(CLEAN_TESTS))
CLEAN_PHASES := gensrc java native include
CLEAN_PHASES += gensrc java native include
CLEAN_PHASE_TARGETS := $(addprefix clean-, $(CLEAN_PHASES))
CLEAN_MODULE_TARGETS := $(addprefix clean-, $(ALL_MODULES))
# Construct targets of the form clean-$module-$phase
@@ -1472,13 +1496,12 @@ print-tests:
create-main-targets-include:
$(call LogInfo, Generating main target list)
$(call MakeDir, $(MAKESUPPORT_OUTPUTDIR))
@$(ECHO) ALL_MAIN_TARGETS := $(sort $(ALL_TARGETS)) > \
$(MAKESUPPORT_OUTPUTDIR)/main-targets.gmk
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Main-post.gmk))
.PHONY: $(ALL_TARGETS)
FRC: # Force target
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -23,13 +23,13 @@
# questions.
#
include MakeIncludeStart.gmk
ifeq ($(INCLUDE), true)
################################################################################
# This file contains helper functions for Main.gmk.
################################################################################
ifndef _MAINSUPPORT_GMK
_MAINSUPPORT_GMK := 1
# Setup make rules for creating a top-level target.
# Parameter 1 is the name of the rule. This name is used as variable prefix.
#
@@ -58,76 +58,76 @@ endef
define CleanDocs
@$(PRINTF) "Cleaning docs ..."
@$(PRINTF) "\n" $(LOG_DEBUG)
@$(ECHO) "" $(LOG_DEBUG)
$(RM) -r $(SUPPORT_OUTPUTDIR)/docs
$(RM) -r $(SUPPORT_OUTPUTDIR)/javadoc
$(RM) -r $(IMAGES_OUTPUTDIR)/docs
@$(PRINTF) " done\n"
@$(ECHO) " done"
endef
# Cleans the dir given as $1
define CleanDir
@$(PRINTF) "Cleaning $(strip $1) build artifacts ..."
@$(PRINTF) "\n" $(LOG_DEBUG)
@$(PRINTF) "Cleaning %s build artifacts ..." "$(strip $1)"
@$(ECHO) "" $(LOG_DEBUG)
($(CD) $(OUTPUTDIR) && $(RM) -r $1)
@$(PRINTF) " done\n"
@$(ECHO) " done"
endef
define CleanSupportDir
@$(PRINTF) "Cleaning $(strip $1) build artifacts ..."
@$(PRINTF) "\n" $(LOG_DEBUG)
@$(PRINTF) "Cleaning %s build artifacts ..." "$(strip $1)"
@$(ECHO) "" $(LOG_DEBUG)
$(RM) -r $(SUPPORT_OUTPUTDIR)/$(strip $1)
@$(PRINTF) " done\n"
@$(ECHO) " done"
endef
define CleanMakeSupportDir
@$(PRINTF) "Cleaning $(strip $1) make support artifacts ..."
@$(PRINTF) "\n" $(LOG_DEBUG)
@$(PRINTF) "Cleaning %s make support artifacts ..." "$(strip $1)"
@$(ECHO) "" $(LOG_DEBUG)
$(RM) -r $(MAKESUPPORT_OUTPUTDIR)/$(strip $1)
@$(PRINTF) " done\n"
@$(ECHO) " done"
endef
define CleanTest
@$(PRINTF) "Cleaning test $(strip $1) ..."
@$(PRINTF) "\n" $(LOG_DEBUG)
@$(PRINTF) "Cleaning test %s ..." "$(strip $1)"
@$(ECHO) "" $(LOG_DEBUG)
$(RM) -r $(SUPPORT_OUTPUTDIR)/test/$(strip $(subst -,/,$1))
# Remove as much of the test directory structure as is empty
$(RMDIR) -p $(dir $(SUPPORT_OUTPUTDIR)/test/$(strip $(subst -,/,$1))) 2> /dev/null || true
@$(PRINTF) " done\n"
@$(ECHO) " done"
endef
define Clean-gensrc
@$(PRINTF) "Cleaning gensrc $(if $1,for $(strip $1) )..."
@$(PRINTF) "\n" $(LOG_DEBUG)
@$(PRINTF) "Cleaning gensrc %s..." "$(if $1,for $(strip $1) )"
@$(ECHO) "" $(LOG_DEBUG)
$(RM) -r $(SUPPORT_OUTPUTDIR)/gensrc/$(strip $1)
@$(PRINTF) " done\n"
@$(ECHO) " done"
endef
define Clean-java
@$(PRINTF) "Cleaning java $(if $1,for $(strip $1) )..."
@$(PRINTF) "\n" $(LOG_DEBUG)
@$(PRINTF) "Cleaning java %s..." "$(if $1,for $(strip $1) )"
@$(ECHO) "" $(LOG_DEBUG)
$(RM) -r $(JDK_OUTPUTDIR)/modules/$(strip $1)
$(RM) -r $(SUPPORT_OUTPUTDIR)/special_classes/$(strip $1)
$(PRINTF) " done\n"
$(PRINTF) "Cleaning headers $(if $1,for $(strip $1)) ..."
$(ECHO) " done"
$(PRINTF) "Cleaning headers %s..." "$(if $1,for $(strip $1) )"
$(RM) -r $(SUPPORT_OUTPUTDIR)/headers/$(strip $1)
@$(PRINTF) " done\n"
@$(ECHO) " done"
endef
define Clean-native
@$(PRINTF) "Cleaning native $(if $1,for $(strip $1) )..."
@$(PRINTF) "\n" $(LOG_DEBUG)
@$(PRINTF) "Cleaning native %s..." "$(if $1,for $(strip $1) )"
@$(ECHO) "" $(LOG_DEBUG)
$(RM) -r $(SUPPORT_OUTPUTDIR)/native/$(strip $1)
$(RM) -r $(SUPPORT_OUTPUTDIR)/modules_libs/$(strip $1)
$(RM) -r $(SUPPORT_OUTPUTDIR)/modules_cmds/$(strip $1)
@$(PRINTF) " done\n"
@$(ECHO) " done"
endef
define Clean-include
@$(PRINTF) "Cleaning include $(if $1,for $(strip $1) )..."
@$(PRINTF) "\n" $(LOG_DEBUG)
@$(PRINTF) "Cleaning include %s..." "$(if $1,for $(strip $1) )"
@$(ECHO) "" $(LOG_DEBUG)
$(RM) -r $(SUPPORT_OUTPUTDIR)/modules_include/$(strip $1)
@$(PRINTF) " done\n"
@$(ECHO) " done"
endef
define CleanModule
@@ -149,7 +149,7 @@ endef
################################################################################
PHASE_MAKEDIRS := $(TOPDIR)/make
PHASE_MAKEDIRS += $(TOPDIR)/make
# Helper macro for DeclareRecipesForPhase
# Declare a recipe for calling the module and phase specific makefile.
@@ -218,4 +218,5 @@ endef
################################################################################
endif # _MAINSUPPORT_GMK
endif # include guard
include MakeIncludeEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 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
@@ -23,8 +23,10 @@
# questions.
#
ifndef _MODULE_TOOLS_GMK
_MODULE_TOOLS_GMK := 1
include MakeIncludeStart.gmk
ifeq ($(INCLUDE), true)
################################################################################
include JavaCompilation.gmk
@@ -49,4 +51,7 @@ TOOL_ADD_PACKAGES_ATTRIBUTE := $(BUILD_JAVA) $(JAVA_FLAGS_SMALL_BUILDJDK) \
--add-exports java.base/jdk.internal.module=ALL-UNNAMED \
build.tools.jigsaw.AddPackagesAttribute
endif # _MODULE_TOOLS_GMK
################################################################################
endif # include guard
include MakeIncludeEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -23,27 +23,34 @@
# questions.
#
include MakeFileStart.gmk
################################################################################
# This makefile is called from Main.gmk, through a macro in MakeHelpers.gmk
# and wraps calls to makefiles for specific modules and build phases. Having
# this wrapper reduces the need for boilerplate code. It also provides
# opportunity for automatic copying of files to an interim exploded runnable
# image.
default: all
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
include Modules.gmk
MODULE_SRC := $(TOPDIR)/src/$(MODULE)
# All makefiles should add the targets to be built to this variable.
TARGETS :=
################################################################################
# Include module specific build settings
# Include the file being wrapped.
include $(MAKEFILE_PREFIX).gmk
THIS_SNIPPET := $(call GetModuleSnippetName, $(MAKEFILE_PREFIX))
ifneq ($(wildcard $(THIS_SNIPPET)), )
include MakeSnippetStart.gmk
# Include the file being wrapped.
include $(THIS_SNIPPET)
include MakeSnippetEnd.gmk
endif
ifeq ($(MAKEFILE_PREFIX), Lib)
# We need to keep track of what libraries are generated/needed by this
@@ -128,8 +135,12 @@ $(eval $(call SetupCopyFiles, COPY_CONF, \
))
ifeq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
all: $(filter $(MAKESUPPORT_OUTPUTDIR)/compile-commands/%, $(TARGETS))
TARGETS := $(filter $(MAKESUPPORT_OUTPUTDIR)/compile-commands/%, $(TARGETS))
else
all: $(TARGETS) $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB) \
TARGETS += $(COPY_LIBS_TO_BIN) $(COPY_LIBS_TO_LIB) \
$(COPY_INCLUDE) $(COPY_CMDS) $(COPY_MAN) $(COPY_CONF) $(LINK_LIBS_TO_LIB)
endif
################################################################################
include MakeFileEnd.gmk

224
make/PreInit.gmk Normal file
View File

@@ -0,0 +1,224 @@
#
# Copyright (c) 2012, 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
# 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.
#
################################################################################
# This file is the earliest part of the build bootstrap process (not counting
# Makefile that includes it). Its main responsibility is to figure out what
# configuration to use and pick up the corresponding SPEC file. It will then
# call Init.gmk with this SPEC for further bootstrapping.
################################################################################
# This must be the first rule
default:
.PHONY: default
# Inclusion of this pseudo-target will cause make to execute this file
# serially, regardless of -j.
.NOTPARALLEL:
IS_PREINIT_ENV := true
# Include our helper functions.
include $(TOPDIR)/make/PreInitSupport.gmk
include $(TOPDIR)/make/common/LogUtils.gmk
# Here are "global" targets, i.e. targets that can be executed without having
# a configuration. This will define ALL_GLOBAL_TARGETS.
include $(TOPDIR)/make/Global.gmk
# Targets provided by Init.gmk.
ALL_INIT_TARGETS := print-modules print-targets print-configuration \
print-tests reconfigure pre-compare-build post-compare-build \
create-make-helpers
# CALLED_TARGETS is the list of targets that the user provided,
# or "default" if unspecified.
CALLED_TARGETS := $(if $(MAKECMDGOALS), $(MAKECMDGOALS), default)
# Extract non-global targets that require a spec file.
CALLED_SPEC_TARGETS := $(filter-out $(ALL_GLOBAL_TARGETS), $(CALLED_TARGETS))
# If we have only global targets, or if we are called with -qp (assuming an
# external part, e.g. bash completion, is trying to understand our targets),
# we will skip SPEC location and the sanity checks.
ifeq ($(CALLED_SPEC_TARGETS), )
SKIP_SPEC := true
endif
ifeq ($(findstring p, $(MAKEFLAGS))$(findstring q, $(MAKEFLAGS)), pq)
SKIP_SPEC := true
endif
ifneq ($(SKIP_SPEC), true)
############################################################################
# This is the common case: we have been called from the command line by the
# user with a target that should be delegated to Main.gmk, so we need to
# figure out a proper SPEC and call Init.gmk with it.
############################################################################
# Basic checks on environment and command line.
$(eval $(call CheckControlVariables))
$(eval $(call CheckInvalidMakeFlags))
# Check that CONF_CHECK is valid.
$(eval $(call ParseConfCheckOption))
# Check that the LOG given is valid, and set LOG_LEVEL, LOG_NOFILE,
# MAKE_LOG_VARS and MAKE_LOG_FLAGS.
$(eval $(call ParseLogLevel))
# After this SPECS contain 1..N spec files (otherwise ParseConfAndSpec fails).
$(eval $(call ParseConfAndSpec))
# Extract main targets from Main.gmk using the spec(s) provided. In theory,
# with multiple specs, we should find the intersection of targets provided
# by all specs, but we approximate this by an arbitrary spec from the list.
# This will setup ALL_MAIN_TARGETS.
$(eval $(call DefineMainTargets, FORCE, $(firstword $(SPECS))))
# Separate called targets depending on type.
INIT_TARGETS := $(filter $(ALL_INIT_TARGETS), $(CALLED_SPEC_TARGETS))
MAIN_TARGETS := $(filter $(ALL_MAIN_TARGETS), $(CALLED_SPEC_TARGETS))
SEQUENTIAL_TARGETS := $(filter dist-clean clean%, $(MAIN_TARGETS))
PARALLEL_TARGETS := $(filter-out $(SEQUENTIAL_TARGETS), $(MAIN_TARGETS))
MAKE_INIT_ARGS := $(MFLAGS) $(MAKE_LOG_FLAGS) -r -R -I $(TOPDIR)/make/common
# The spec files depend on the autoconf source code. This check makes sure
# the configuration is up to date after changes to configure.
$(SPECS): $(wildcard $(TOPDIR)/make/autoconf/*) \
$(if $(CUSTOM_CONFIG_DIR), $(wildcard $(CUSTOM_CONFIG_DIR)/*)) \
$(addprefix $(TOPDIR)/make/conf/, version-numbers.conf branding.conf) \
$(if $(CUSTOM_CONF_DIR), $(wildcard $(addprefix $(CUSTOM_CONF_DIR)/, \
version-numbers.conf branding.conf)))
ifeq ($(CONF_CHECK), fail)
@echo Error: The configuration is not up to date for \
"'$(lastword $(subst /, , $(dir $@)))'."
$(call PrintConfCheckFailed)
@exit 2
else ifeq ($(CONF_CHECK), auto)
@echo Note: The configuration is not up to date for \
"'$(lastword $(subst /, , $(dir $@)))'."
@( cd $(TOPDIR) && \
$(MAKE) $(MAKE_INIT_ARGS) -f $(TOPDIR)/make/Init.gmk SPEC=$@ \
reconfigure )
else ifeq ($(CONF_CHECK), ignore)
# Do nothing
endif
# Do not let make delete spec files even if aborted while doing a reconfigure
.PRECIOUS: $(SPECS)
# Unless reconfigure is explicitly called, let all main targets depend on
# the spec files to be up to date.
ifeq ($(findstring reconfigure, $(INIT_TARGETS)), )
$(MAIN_TARGETS): $(SPECS)
endif
make-info:
ifneq ($(findstring $(LOG_LEVEL), info debug trace), )
$(info Running make as '$(strip $(MAKE) $(MFLAGS) \
$(COMMAND_LINE_VARIABLES) $(MAKECMDGOALS))')
endif
MAKE_INIT_MAIN_TARGET_ARGS := \
USER_MAKE_VARS="$(USER_MAKE_VARS)" MAKE_LOG_FLAGS=$(MAKE_LOG_FLAGS) \
$(MAKE_LOG_VARS) \
INIT_TARGETS="$(INIT_TARGETS)" \
SEQUENTIAL_TARGETS="$(SEQUENTIAL_TARGETS)" \
PARALLEL_TARGETS="$(PARALLEL_TARGETS)"
# Now the init and main targets will be called, once for each SPEC. The
# recipe will be run once for every target specified, but we only want to
# execute the recipe a single time, hence the TARGET_DONE with a dummy
# command if true.
# The COMPARE_BUILD part implements special support for makefile development.
$(ALL_INIT_TARGETS) $(ALL_MAIN_TARGETS): make-info
@$(if $(TARGET_DONE), \
true \
, \
( cd $(TOPDIR) && \
$(foreach spec, $(SPECS), \
$(MAKE) $(MAKE_INIT_ARGS) -j 1 -f $(TOPDIR)/make/Init.gmk \
SPEC=$(spec) TOPDIR_ALT=$(TOPDIR) \
$(MAKE_INIT_MAIN_TARGET_ARGS) main && \
$(if $(and $(COMPARE_BUILD), $(PARALLEL_TARGETS)), \
$(MAKE) $(MAKE_INIT_ARGS) -f $(TOPDIR)/make/Init.gmk \
SPEC=$(spec) TOPDIR_ALT=$(TOPDIR) \
COMPARE_BUILD="$(COMPARE_BUILD)" \
pre-compare-build && \
$(MAKE) $(MAKE_INIT_ARGS) -j 1 -f $(TOPDIR)/make/Init.gmk \
SPEC=$(spec) TOPDIR_ALT=$(TOPDIR) \
COMPARE_BUILD="$(COMPARE_BUILD):NODRYRUN=true" \
$(MAKE_INIT_MAIN_TARGET_ARGS) main && \
$(MAKE) $(MAKE_INIT_ARGS) -f $(TOPDIR)/make/Init.gmk \
SPEC=$(spec) TOPDIR_ALT=$(TOPDIR) \
COMPARE_BUILD="$(COMPARE_BUILD):NODRYRUN=true" \
post-compare-build && \
) \
) true ) \
$(eval TARGET_DONE=true) \
)
.PHONY: $(ALL_MAIN_TARGETS) $(ALL_INIT_TARGETS)
else # SKIP_SPEC=true
############################################################################
# We have only global targets, or are called with -pq (from command
# completion). In this case we might not even have a configuration at all, but
# still need to handle the situation gracefully even if there is no SPEC file.
############################################################################
ifeq ($(wildcard $(SPEC)), )
# If we have no SPEC provided, we will just make a "best effort" target list.
# First try to grab any available pre-existing main-targets.gmk.
main_targets_file := $(firstword $(wildcard $(build_dir)/*/make-support/main-targets.gmk))
ifneq ($(main_targets_file), )
# Extract the SPEC that corresponds to this main-targets.gmk file.
SPEC := $(patsubst %/make-support/main-targets.gmk, %/spec.gmk, $(main_targets_file))
else
# None found, pick an arbitrary SPEC for which to generate a file
SPEC := $(firstword $(all_spec_files))
endif
endif
ifneq ($(wildcard $(SPEC)), )
$(eval $(call DefineMainTargets, LAZY, $(SPEC)))
else
# If we have no configurations we can not provide any main targets.
ALL_MAIN_TARGETS :=
endif
ALL_TARGETS := $(sort $(ALL_GLOBAL_TARGETS) $(ALL_MAIN_TARGETS) $(ALL_INIT_TARGETS))
# Just list all our targets.
$(ALL_TARGETS):
.PHONY: $(ALL_TARGETS)
endif # $(SKIP_SPEC)!=true
################################################################################

292
make/PreInitSupport.gmk Normal file
View File

@@ -0,0 +1,292 @@
#
# Copyright (c) 2011, 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
# 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.
#
################################################################################
# Helper functions for PreInit.gmk, the initial part of initialization before
# the SPEC file is loaded. Most of these functions provide parsing and setting
# up make options from the command-line.
################################################################################
# Include the corresponding closed file, if present.
ifneq ($(CUSTOM_MAKE_DIR), )
-include $(CUSTOM_MAKE_DIR)/PreInitSupport-pre.gmk
endif
# COMMA is defined in spec.gmk, but that is not included yet
COMMA := ,
# Essential control variables that are handled by PreInit.gmk or Init.gmk
INIT_CONTROL_VARIABLES := LOG CONF CONF_NAME SPEC JOBS CONF_CHECK ALLOW \
COMPARE_BUILD
# All known make control variables; these are handled in other makefiles
MAKE_CONTROL_VARIABLES += JDK_FILTER SPEC_FILTER \
TEST TEST_JOBS JTREG GTEST MICRO TEST_OPTS TEST_VM_OPTS TEST_DEPS
ALL_CONTROL_VARIABLES := $(INIT_CONTROL_VARIABLES) $(MAKE_CONTROL_VARIABLES)
# Define a simple reverse function.
# Should maybe move to MakeBase.gmk, but we can't include that file now.
reverse = \
$(if $(strip $(1)), $(call reverse, $(wordlist 2, $(words $(1)), $(1)))) \
$(firstword $(1))
# The variable MAKEOVERRIDES contains variable assignments from the command
# line, but in reverse order to what the user entered.
# The '§' <=> '\ 'dance is needed to keep values with space in them connected.
COMMAND_LINE_VARIABLES := $(subst §,\ , $(call reverse, $(subst \ ,§,$(MAKEOVERRIDES))))
# A list like FOO="val1" BAR="val2" containing all user-supplied make
# variables that we should propagate.
# The '§' <=> '\ 'dance is needed to keep values with space in them connected.
# This explicit propagation is needed to avoid problems with characters that needs
# escaping.
USER_MAKE_VARS := $(subst §,\ , $(filter-out $(addsuffix =%, $(ALL_CONTROL_VARIABLES)), \
$(subst \ ,§,$(MAKEOVERRIDES))))
# Setup information about available configurations, if any.
ifneq ($(CUSTOM_ROOT), )
build_dir := $(CUSTOM_ROOT)/build
else
build_dir := $(TOPDIR)/build
endif
all_spec_files := $(wildcard $(build_dir)/*/spec.gmk)
# Extract the configuration names from the path
all_confs := $(patsubst %/spec.gmk, %, $(patsubst $(build_dir)/%, %, $(all_spec_files)))
# Check for unknown command-line variables
define CheckControlVariables
command_line_variables := $$(strip $$(foreach var, \
$$(subst \ ,_,$$(MAKEOVERRIDES)), \
$$(firstword $$(subst =, , $$(var)))))
allowed_command_line_variables := $$(strip $$(subst $$(COMMA), , $$(ALLOW)))
unknown_command_line_variables := $$(strip \
$$(filter-out $$(ALL_CONTROL_VARIABLES) $$(allowed_command_line_variables), \
$$(command_line_variables)))
ifneq ($$(unknown_command_line_variables), )
$$(info Note: Command line contains non-control variables:)
$$(foreach var, $$(unknown_command_line_variables), $$(info * $$(var)=$$($$(var))))
$$(info Make sure it is not mistyped, and that you intend to override this variable.)
$$(info 'make help' will list known control variables.)
$$(info )
endif
endef
# Check for invalid make flags like -j
define CheckInvalidMakeFlags
# This is a trick to get this rule to execute before any other rules
# MAKEFLAGS only indicate -j if read in a recipe (!)
$$(TOPDIR)/make/PreInit.gmk: .FORCE
$$(if $$(findstring --jobserver, $$(MAKEFLAGS)), \
$$(info Error: 'make -jN' is not supported, use 'make JOBS=N') \
$$(error Cannot continue) \
)
.FORCE:
.PHONY: .FORCE
endef
# Check that the CONF_CHECK option is valid and set up handling
define ParseConfCheckOption
ifeq ($$(CONF_CHECK), )
# Default behavior is fail
CONF_CHECK := fail
else ifneq ($$(filter-out auto fail ignore, $$(CONF_CHECK)), )
$$(info Error: CONF_CHECK must be one of: auto, fail or ignore.)
$$(error Cannot continue)
endif
endef
define ParseConfAndSpec
ifneq ($$(origin SPEC), undefined)
# We have been given a SPEC, check that it works out properly
ifneq ($$(origin CONF), undefined)
# We also have a CONF argument. We can't have both.
$$(info Error: Cannot use CONF=$$(CONF) and SPEC=$$(SPEC) at the same time. Choose one.)
$$(error Cannot continue)
endif
ifneq ($$(origin CONF_NAME), undefined)
# We also have a CONF_NAME argument. We can't have both.
$$(info Error: Cannot use CONF_NAME=$$(CONF_NAME) and SPEC=$$(SPEC) at the same time. Choose one.)
$$(error Cannot continue)
endif
ifeq ($$(wildcard $$(SPEC)), )
$$(info Error: Cannot locate spec.gmk, given by SPEC=$$(SPEC).)
$$(error Cannot continue)
endif
ifeq ($$(filter /%, $$(SPEC)), )
# If given with relative path, make it absolute
SPECS := $$(CURDIR)/$$(strip $$(SPEC))
else
SPECS := $$(SPEC)
endif
# For now, unset this SPEC variable.
override SPEC :=
else
# Use spec.gmk files in the build output directory
ifeq ($$(all_spec_files), )
ifneq ($(CUSTOM_ROOT), )
$$(info Error: No configurations found for $$(CUSTOM_ROOT).)
else
$$(info Error: No configurations found for $$(TOPDIR).)
endif
$$(info Please run 'bash configure' to create a configuration.)
$$(info )
$$(error Cannot continue)
endif
ifneq ($$(origin CONF_NAME), undefined)
ifneq ($$(origin CONF), undefined)
# We also have a CONF argument. We can't have both.
$$(info Error: Cannot use CONF=$$(CONF) and CONF_NAME=$$(CONF_NAME) at the same time. Choose one.)
$$(error Cannot continue)
endif
matching_conf := $$(strip $$(filter $$(CONF_NAME), $$(all_confs)))
ifeq ($$(matching_conf), )
$$(info Error: No configurations found matching CONF_NAME=$$(CONF_NAME).)
$$(info Available configurations in $$(build_dir):)
$$(foreach var, $$(all_confs), $$(info * $$(var)))
$$(error Cannot continue)
else ifneq ($$(words $$(matching_conf)), 1)
$$(info Error: Matching more than one configuration CONF_NAME=$$(CONF_NAME).)
$$(info Available configurations in $$(build_dir):)
$$(foreach var, $$(all_confs), $$(info * $$(var)))
$$(error Cannot continue)
else
$$(info Building configuration '$$(matching_conf)' (matching CONF_NAME=$$(CONF_NAME)))
endif
# Create a SPEC definition. This will contain the path to exactly one spec file.
SPECS := $$(build_dir)/$$(matching_conf)/spec.gmk
else ifneq ($$(origin CONF), undefined)
# User have given a CONF= argument.
ifeq ($$(CONF), )
# If given CONF=, match all configurations
matching_confs := $$(strip $$(all_confs))
else
# Otherwise select those that contain the given CONF string
ifeq ($$(patsubst !%,,$$(CONF)), )
# A CONF starting with ! means we should negate the search term
matching_confs := $$(strip $$(foreach var, $$(all_confs), \
$$(if $$(findstring $$(subst !,,$$(CONF)), $$(var)), ,$$(var))))
else
matching_confs := $$(strip $$(foreach var, $$(all_confs), \
$$(if $$(findstring $$(CONF), $$(var)), $$(var))))
endif
ifneq ($$(filter $$(CONF), $$(matching_confs)), )
ifneq ($$(word 2, $$(matching_confs)), )
# Don't repeat this output on make restarts caused by including
# generated files.
ifeq ($$(MAKE_RESTARTS), )
$$(info Using exact match for CONF=$$(CONF) (other matches are possible))
endif
endif
# If we found an exact match, use that
matching_confs := $$(CONF)
endif
endif
ifeq ($$(matching_confs), )
$$(info Error: No configurations found matching CONF=$$(CONF).)
$$(info Available configurations in $$(build_dir):)
$$(foreach var, $$(all_confs), $$(info * $$(var)))
$$(error Cannot continue)
else
# Don't repeat this output on make restarts caused by including
# generated files.
ifeq ($$(MAKE_RESTARTS), )
ifeq ($$(words $$(matching_confs)), 1)
ifneq ($$(findstring $$(LOG_LEVEL), info debug trace), )
$$(info Building configuration '$$(matching_confs)' (matching CONF=$$(CONF)))
endif
else
$$(info Building these configurations (matching CONF=$$(CONF)):)
$$(foreach var, $$(matching_confs), $$(info * $$(var)))
endif
endif
endif
# Create a SPEC definition. This will contain the path to one or more spec.gmk files.
SPECS := $$(addsuffix /spec.gmk, $$(addprefix $$(build_dir)/, $$(matching_confs)))
else
# No CONF or SPEC given, check the available configurations
ifneq ($$(words $$(all_spec_files)), 1)
$$(info Error: No CONF given, but more than one configuration found.)
$$(info Available configurations in $$(build_dir):)
$$(foreach var, $$(all_confs), $$(info * $$(var)))
$$(info Please retry building with CONF=<config pattern> (or SPEC=<spec file>).)
$$(info )
$$(error Cannot continue)
endif
# We found exactly one configuration, use it
SPECS := $$(strip $$(all_spec_files))
endif
endif
endef
# Extract main targets from Main.gmk using the spec provided in $2.
#
# Param 1: FORCE = force generation of main-targets.gmk or LAZY = do not force.
# Param 2: The SPEC file to use.
define DefineMainTargets
SPEC_FILE := $(strip $2)
# We will start by making sure the main-targets.gmk file is removed, if
# make has not been restarted. By the -include, we will trigger the
# rule for generating the file (which is never there since we removed it),
# thus generating it fresh, and make will restart, incrementing the restart
# count.
main_targets_file := $$(dir $$(SPEC_FILE))make-support/main-targets.gmk
ifeq ($$(MAKE_RESTARTS), )
# Only do this if make has not been restarted, and if we do not force it.
ifeq ($(strip $1), FORCE)
$$(shell rm -f $$(main_targets_file))
endif
endif
$$(main_targets_file):
@( cd $$(TOPDIR) && \
$$(MAKE) $$(MAKE_LOG_FLAGS) -s -r -R -f $$(TOPDIR)/make/GenerateFindTests.gmk \
-I $$(TOPDIR)/make/common SPEC=$$(SPEC_FILE) TOPDIR_ALT=$$(TOPDIR))
@( cd $$(TOPDIR) && \
$$(MAKE) $$(MAKE_LOG_FLAGS) -s -r -R -f $$(TOPDIR)/make/Main.gmk \
-I $$(TOPDIR)/make/common SPEC=$$(SPEC_FILE) TOPDIR_ALT=$$(TOPDIR) \
UPDATE_MODULE_DEPS=true NO_RECIPES=true \
$$(MAKE_LOG_VARS) \
create-main-targets-include )
# Now include main-targets.gmk. This will define ALL_MAIN_TARGETS.
-include $$(main_targets_file)
endef
define PrintConfCheckFailed
@echo ' '
@echo "Please rerun configure! Easiest way to do this is by running"
@echo "'make reconfigure'."
@echo "This behavior may also be changed using CONF_CHECK=<ignore|auto>."
@echo ' '
endef
################################################################################

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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
@@ -23,16 +23,12 @@
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
include MakeFileStart.gmk
################################################################################
# This makefile generates the "release" file into the exploded image. Jlink is
# then responsible for using this as the base for release files in each linked
# image.
#
################################################################################
BASE_RELEASE_FILE := $(JDK_OUTPUTDIR)/release
@@ -85,10 +81,4 @@ TARGETS += $(BASE_RELEASE_FILE)
################################################################################
$(eval $(call IncludeCustomExtension, ReleaseFile.gmk))
################################################################################
all: $(TARGETS)
.PHONY: all default
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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
@@ -23,10 +23,10 @@
# questions.
#
default: all
include MakeFileStart.gmk
################################################################################
include $(SPEC)
include MakeBase.gmk
include FindTests.gmk
# We will always run multiple tests serially
@@ -71,9 +71,6 @@ ifeq ($(call isTargetOs, windows), true)
endif
endif
################################################################################
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, RunTests.gmk))
################################################################################
# This is the JDK that we will test
@@ -108,8 +105,8 @@ ifneq ($(wildcard $(JTREG_FAILURE_HANDLER)), )
#
endif
GTEST_LAUNCHER_DIRS := $(patsubst %/gtestLauncher, %, \
$(wildcard $(TEST_IMAGE_DIR)/hotspot/gtest/*/gtestLauncher))
GTEST_LAUNCHER_DIRS := $(patsubst %/gtestLauncher$(EXECUTABLE_SUFFIX), %, \
$(wildcard $(TEST_IMAGE_DIR)/hotspot/gtest/*/gtestLauncher$(EXECUTABLE_SUFFIX)))
GTEST_VARIANTS := $(strip $(patsubst $(TEST_IMAGE_DIR)/hotspot/gtest/%, %, \
$(GTEST_LAUNCHER_DIRS)))
@@ -118,6 +115,7 @@ JTREG_COV_OPTIONS :=
ifeq ($(TEST_OPTS_JCOV), true)
JCOV_OUTPUT_DIR := $(TEST_RESULTS_DIR)/jcov-output
JCOV_SUPPORT_DIR := $(TEST_SUPPORT_DIR)/jcov-support
JCOV_GRABBER_LOG := $(JCOV_OUTPUT_DIR)/grabber.log
JCOV_RESULT_FILE := $(JCOV_OUTPUT_DIR)/result.xml
JCOV_REPORT := $(JCOV_OUTPUT_DIR)/report
@@ -206,8 +204,9 @@ $(eval $(call SetTestOpt,AOT_JDK,JTREG))
$(eval $(call ParseKeywordVariable, JTREG, \
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR FAILURE_HANDLER_TIMEOUT \
TEST_MODE ASSERT VERBOSE RETAIN TEST_THREAD_FACTORY MAX_MEM RUN_PROBLEM_LISTS \
RETRY_COUNT REPEAT_COUNT MAX_OUTPUT REPORT AOT_JDK $(CUSTOM_JTREG_SINGLE_KEYWORDS), \
TEST_MODE ASSERT VERBOSE RETAIN TEST_THREAD_FACTORY JVMTI_STRESS_AGENT \
MAX_MEM RUN_PROBLEM_LISTS RETRY_COUNT REPEAT_COUNT MAX_OUTPUT REPORT \
AOT_JDK $(CUSTOM_JTREG_SINGLE_KEYWORDS), \
STRING_KEYWORDS := OPTIONS JAVA_OPTIONS VM_OPTIONS KEYWORDS \
EXTRA_PROBLEM_LISTS LAUNCHER_OPTIONS \
$(CUSTOM_JTREG_STRING_KEYWORDS), \
@@ -510,7 +509,7 @@ define SetupRunGtestTestBody
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/gtest, ( \
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/gtest, \
$$(CD) $$($1_TEST_SUPPORT_DIR) && \
$$(FIXPATH) $$(TEST_IMAGE_DIR)/hotspot/gtest/$$($1_VARIANT)/gtestLauncher \
-jdk $(JDK_UNDER_TEST) $$($1_GTEST_FILTER) \
@@ -521,7 +520,7 @@ define SetupRunGtestTestBody
> >($(TEE) $$($1_TEST_RESULTS_DIR)/gtest.txt) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
))
)
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/gtest.txt
@@ -530,21 +529,33 @@ define SetupRunGtestTestBody
$$(call LogWarn, Test report is stored in $$(strip \
$$(subst $$(TOPDIR)/, , $$($1_TEST_RESULTS_DIR))))
$$(if $$(wildcard $$($1_RESULT_FILE)), \
$$(eval $1_TOTAL := $$(shell $$(AWK) '/==========.* tests? from .* \
test (cases?|suites?) ran/ { print $$$$2 }' $$($1_RESULT_FILE))) \
$$(if $$($1_TOTAL), , $$(eval $1_TOTAL := 0)) \
$$(eval $1_RUN := $$(shell $$(AWK) \
'/==========.* tests? from .* test (cases?|suites?) ran/ { print $$$$2 }' \
$$($1_RESULT_FILE))) \
$$(if $$($1_RUN), , $$(eval $1_RUN := 0)) \
$$(eval $1_PASSED := $$(shell $$(AWK) '/\[ PASSED \] .* tests?./ \
{ print $$$$4 }' $$($1_RESULT_FILE))) \
$$(if $$($1_PASSED), , $$(eval $1_PASSED := 0)) \
$$(eval $1_GTEST_DISABLED := $$(shell $$(AWK) '/YOU HAVE .* DISABLED TEST/ \
{ print $$$$3 }' $$($1_RESULT_FILE))) \
$$(if $$($1_GTEST_DISABLED), , $$(eval $1_GTEST_DISABLED := 0)) \
$$(eval $1_GTEST_SKIPPED := $$(shell $$(AWK) '/\[ SKIPPED \] .* tests?.*/ \
{ print $$$$4 }' $$($1_RESULT_FILE))) \
$$(if $$($1_GTEST_SKIPPED), , $$(eval $1_GTEST_SKIPPED := 0)) \
$$(eval $1_SKIPPED := $$(shell \
$$(EXPR) $$($1_GTEST_DISABLED) + $$($1_GTEST_SKIPPED))) \
$$(eval $1_FAILED := $$(shell $$(AWK) '/\[ FAILED \] .* tests?, \
listed below/ { print $$$$4 }' $$($1_RESULT_FILE))) \
$$(if $$($1_FAILED), , $$(eval $1_FAILED := 0)) \
$$(eval $1_ERROR := $$(shell \
$$(EXPR) $$($1_TOTAL) - $$($1_PASSED) - $$($1_FAILED))) \
$$(EXPR) $$($1_RUN) - $$($1_PASSED) - $$($1_FAILED) - $$($1_GTEST_SKIPPED))) \
$$(eval $1_TOTAL := $$(shell \
$$(EXPR) $$($1_RUN) + $$($1_GTEST_DISABLED))) \
, \
$$(eval $1_PASSED := 0) \
$$(eval $1_FAILED := 0) \
$$(eval $1_ERROR := 1) \
$$(eval $1_SKIPPED := 0) \
$$(eval $1_TOTAL := 1) \
)
@@ -573,6 +584,8 @@ define SetMicroValue
else
ifneq ($3, )
$1_$2 := $3
else
$1_$2 :=
endif
endif
endef
@@ -631,7 +644,7 @@ define SetupRunMicroTestBody
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/micro, ( \
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/micro, \
$$(CD) $$(TEST_IMAGE_DIR) && \
$$(FIXPATH) $$($1_MICRO_TEST_JDK)/bin/java $$($1_MICRO_JAVA_OPTIONS) \
-jar $$($1_MICRO_BENCHMARKS_JAR) \
@@ -642,7 +655,7 @@ define SetupRunMicroTestBody
> >($(TEE) $$($1_TEST_RESULTS_DIR)/micro.txt) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
))
)
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/micro.txt
@@ -668,6 +681,7 @@ define SetupRunMicroTestBody
$$(eval $1_ERROR := 1) \
$$(eval $1_TOTAL := 1) \
)
$$(eval $1_SKIPPED := 0)
$1: run-test-$1 parse-test-$1
@@ -698,63 +712,87 @@ define SetJtregValue
else
ifneq ($3, )
$1_$2 := $3
else
$1_$2 :=
endif
endif
endif
endef
################################################################################
# Helper function for creating a customized AOT cache for running tests
################################################################################
# Parameter 1 is the name of the rule.
#
# Remaining parameters are named arguments.
# TRAINING The AOT training mode: onestep or twostep
# VM_OPTIONS List of JVM arguments to use when creating AOT cache
#
# After calling this, the following variables are defined
# $1_AOT_TARGETS List of all targets that the test rule will need to depend on
# $1_AOT_JDK_CACHE The AOT cache file to be used to run the test with
#
SetupAot = $(NamedParamsMacroTemplate)
define SetupAotBody
$1_AOT_JDK_CONF := $$($1_TEST_SUPPORT_DIR)/aot/jdk.aotconf
$1_AOT_JDK_CACHE := $$($1_TEST_SUPPORT_DIR)/aot/jdk.aotcache
SetupAOT = $(NamedParamsMacroTemplate)
define SetupAOTBody
$1_AOT_JDK_OUTPUT_DIR := $$($1_TEST_SUPPORT_DIR)/aot
$1_AOT_JDK_CONF := $$($1_AOT_JDK_OUTPUT_DIR)/jdk.aotconf
$1_AOT_JDK_CACHE := $$($1_AOT_JDK_OUTPUT_DIR)/jdk.aotcache
$1_AOT_JDK_LOG := $$($1_AOT_JDK_OUTPUT_DIR)/TestSetupAOT.log
$1_JAVA_TOOL_OPTS := $$(addprefix -J, $$($1_VM_OPTIONS))
# We execute the training run with the TestSetupAOT class from $(TEST_IMAGE_DIR)/setup_aot/TestSetupAOT.jar
# to touch a fair number of classes inside the JDK. Note that we can't specify a classpath,
# or else the AOT cache cannot be used with jtreg test cases that use a different value
# for their classpaths. Instead, we cd in the $$($1_AOT_JDK_OUTPUT_DIR) directory,
# extract the TestSetupAOT.jar there, and run in that directory without specifying a classpath.
# The "java" launcher will have an implicit classpath of ".", so it can pick up the TestSetupAOT
# class from the JVM's current directory.
#
# The TestSetupAOT class (or any other classes that are loaded from ".") will be excluded
# from the the AOT cache as "." is an unsupported location. As a result, the AOT cache will contain
# only classes from the JDK.
$$($1_AOT_JDK_CACHE): $$(JDK_IMAGE_DIR)/release
$$(call MakeDir, $$($1_TEST_SUPPORT_DIR)/aot)
$$(call MakeDir, $$($1_AOT_JDK_OUTPUT_DIR))
$(foreach jtool, javac javap jlink jar, \
$(info AOT: Create cache configuration for $(jtool)) \
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/aot.$(jtool), ( \
$$(FIXPATH) $(JDK_UNDER_TEST)/bin/$(jtool) $$($1_JAVA_TOOL_OPTS) \
-J-XX:AOTMode=record -J-XX:AOTConfiguration=$$($1_AOT_JDK_CONF).$(jtool) --help \
))
)
ifeq ($$($1_TRAINING), onestep)
$$(info AOT: Copy $(JDK_UNDER_TEST)/lib/classlist to $$($1_AOT_JDK_CONF).jdk )
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/aot, ( \
$$(FIXPATH) $(CP) $(JDK_UNDER_TEST)/lib/classlist $$($1_AOT_JDK_CONF).jdk \
))
$$(call LogWarn, AOT: Create AOT cache $$($1_AOT_JDK_CACHE) in one step with flags: $$($1_VM_OPTIONS)) \
$$(call ExecuteWithLog, $$($1_AOT_JDK_OUTPUT_DIR), \
cd $$($1_AOT_JDK_OUTPUT_DIR); \
$(JAR) --extract --file $(TEST_IMAGE_DIR)/setup_aot/TestSetupAOT.jar; \
$$(FIXPATH) $(JDK_UNDER_TEST)/bin/java $$($1_VM_OPTIONS) \
-Xlog:class+load$$(COMMA)aot$$(COMMA)aot+class=debug:file=$$($1_AOT_JDK_CACHE).log -Xlog:cds*=error -Xlog:aot*=error \
-XX:AOTMode=record -XX:AOTCacheOutput=$$($1_AOT_JDK_CACHE) \
TestSetupAOT $$($1_AOT_JDK_OUTPUT_DIR) > $$($1_AOT_JDK_LOG) \
)
$$(FIXPATH) $$(CAT) $$($1_AOT_JDK_CONF).* > $$($1_AOT_JDK_CONF).temp
$$(FIXPATH) $$(CAT) $$($1_AOT_JDK_CONF).temp | $(GREP) -v '#' | $(GREP) -v '@' | $(SORT) | \
$(SED) -e 's/id:.*//g' | uniq \
> $$($1_AOT_JDK_CONF)
$$(FIXPATH) $$(CAT) $$($1_AOT_JDK_CONF).temp | $(GREP) '@cp' | $(SORT) \
>> $$($1_AOT_JDK_CONF)
else
$$(info AOT: Generate AOT cache $$($1_AOT_JDK_CACHE) with flags: $$($1_VM_OPTIONS))
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/aot, ( \
$$(FIXPATH) $(JDK_UNDER_TEST)/bin/java \
$$($1_VM_OPTIONS) -Xlog:cds,cds+class=debug:file=$$($1_AOT_JDK_CACHE).log \
-XX:AOTMode=create -XX:AOTConfiguration=$$($1_AOT_JDK_CONF) -XX:AOTCache=$$($1_AOT_JDK_CACHE) \
))
$$(call LogWarn, AOT: Create cache configuration) \
$$(call ExecuteWithLog, $$($1_AOT_JDK_OUTPUT_DIR), \
cd $$($1_AOT_JDK_OUTPUT_DIR); \
$(JAR) --extract --file $(TEST_IMAGE_DIR)/setup_aot/TestSetupAOT.jar; \
$$(FIXPATH) $(JDK_UNDER_TEST)/bin/java $$($1_VM_OPTIONS) \
-Xlog:class+load$$(COMMA)aot$$(COMMA)aot+class=debug:file=$$($1_AOT_JDK_CONF).log -Xlog:cds*=error -Xlog:aot*=error \
-XX:AOTMode=record -XX:AOTConfiguration=$$($1_AOT_JDK_CONF) \
TestSetupAOT $$($1_AOT_JDK_OUTPUT_DIR) > $$($1_AOT_JDK_LOG) \
)
$$(call LogWarn, AOT: Generate AOT cache $$($1_AOT_JDK_CACHE) with flags: $$($1_VM_OPTIONS))
$$(call ExecuteWithLog, $$($1_AOT_JDK_OUTPUT_DIR), \
$$(FIXPATH) $(JDK_UNDER_TEST)/bin/java \
$$($1_VM_OPTIONS) -Xlog:aot$$(COMMA)aot+class=debug:file=$$($1_AOT_JDK_CACHE).log -Xlog:cds*=error -Xlog:aot*=error \
-XX:ExtraSharedClassListFile=$(JDK_UNDER_TEST)/lib/classlist \
-XX:AOTMode=create -XX:AOTConfiguration=$$($1_AOT_JDK_CONF) -XX:AOTCache=$$($1_AOT_JDK_CACHE) \
)
endif
$1_AOT_TARGETS += $$($1_AOT_JDK_CACHE)
endef
SetupRunJtregTest = $(NamedParamsMacroTemplate)
define SetupRunJtregTestBody
$1_TEST_RESULTS_DIR := $$(TEST_RESULTS_DIR)/$1
@@ -815,7 +853,7 @@ define SetupRunJtregTestBody
JTREG_RETRY_COUNT ?= 0
JTREG_REPEAT_COUNT ?= 0
JTREG_REPORT ?= files
JTREG_AOT_JDK ?= false
JTREG_AOT_JDK ?= none
ifneq ($$(JTREG_RETRY_COUNT), 0)
ifneq ($$(JTREG_REPEAT_COUNT), 0)
@@ -825,6 +863,12 @@ define SetupRunJtregTestBody
endif
endif
ifeq ($$(JTREG_RUN_PROBLEM_LISTS), true)
JTREG_PROBLEM_LIST_PREFIX := -match:
else
JTREG_PROBLEM_LIST_PREFIX := -exclude:
endif
ifneq ($$(JTREG_TEST_THREAD_FACTORY), )
$1_JTREG_BASIC_OPTIONS += -testThreadFactoryPath:$$(JTREG_TEST_THREAD_FACTORY_JAR)
$1_JTREG_BASIC_OPTIONS += -testThreadFactory:$$(JTREG_TEST_THREAD_FACTORY)
@@ -833,6 +877,15 @@ define SetupRunJtregTestBody
))
endif
ifneq ($$(JTREG_JVMTI_STRESS_AGENT), )
AGENT := $$(LIBRARY_PREFIX)JvmtiStressAgent$$(SHARED_LIBRARY_SUFFIX)=$$(JTREG_JVMTI_STRESS_AGENT)
$1_JTREG_BASIC_OPTIONS += -javaoption:'-agentpath:$(TEST_IMAGE_DIR)/hotspot/jtreg/native/$$(AGENT)'
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \
$$(addprefix $$($1_TEST_ROOT)/, ProblemList-jvmti-stress-agent.txt) \
))
endif
ifneq ($$(JTREG_LAUNCHER_OPTIONS), )
$1_JTREG_LAUNCHER_OPTIONS += $$(JTREG_LAUNCHER_OPTIONS)
endif
@@ -853,7 +906,7 @@ define SetupRunJtregTestBody
# version of the JDK.
$1_JTREG_BASIC_OPTIONS += -$$($1_JTREG_TEST_MODE) \
-verbose:$$(JTREG_VERBOSE) -retain:$$(JTREG_RETAIN) \
-concurrency:$$($1_JTREG_JOBS) -timeoutFactor:$$(JTREG_TIMEOUT_FACTOR) \
-concurrency:$$($1_JTREG_JOBS) \
-vmoption:-XX:MaxRAMPercentage=$$($1_JTREG_MAX_RAM_PERCENTAGE) \
-vmoption:-Dtest.boot.jdk="$$(BOOT_JDK)" \
-vmoption:-Djava.io.tmpdir="$$($1_TEST_TMP_DIR)"
@@ -886,12 +939,6 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -nativepath:$$($1_JTREG_NATIVEPATH)
endif
ifeq ($$(JTREG_RUN_PROBLEM_LISTS), true)
JTREG_PROBLEM_LIST_PREFIX := -match:
else
JTREG_PROBLEM_LIST_PREFIX := -exclude:
endif
ifneq ($$($1_JTREG_PROBLEM_LIST), )
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$($1_JTREG_PROBLEM_LIST))
endif
@@ -899,6 +946,7 @@ define SetupRunJtregTestBody
JTREG_ALL_OPTIONS := $$(JTREG_JAVA_OPTIONS) $$(JTREG_VM_OPTIONS)
JTREG_AUTO_PROBLEM_LISTS :=
# Please reach consensus before changing this.
JTREG_AUTO_TIMEOUT_FACTOR := 4
ifneq ($$(findstring -Xcomp, $$(JTREG_ALL_OPTIONS)), )
@@ -914,6 +962,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 \
@@ -926,6 +979,11 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -e:JIB_HOME=$$(JIB_HOME)
endif
ifneq ($$(JDK_FOR_COMPILE), )
# Allow overriding the JDK used for compilation from the command line
$1_JTREG_BASIC_OPTIONS += -compilejdk:$$(JDK_FOR_COMPILE)
endif
$1_JTREG_BASIC_OPTIONS += -e:TEST_IMAGE_DIR=$(TEST_IMAGE_DIR)
$1_JTREG_BASIC_OPTIONS += -e:DOCS_JDK_IMAGE_DIR=$$(DOCS_JDK_IMAGE_DIR)
@@ -945,13 +1003,12 @@ define SetupRunJtregTestBody
endif
endif
ifeq ($$(JTREG_AOT_JDK), true)
$$(info Add AOT target for $1)
$$(eval $$(call SetupAot, $1, VM_OPTIONS := $$(JTREG_ALL_OPTIONS) ))
$$(info AOT_TARGETS=$$($1_AOT_TARGETS))
$$(info AOT_JDK_CACHE=$$($1_AOT_JDK_CACHE))
ifneq ($$(filter $$(JTREG_AOT_JDK), onestep twostep), )
$$(call LogWarn, Add AOT target for $1)
$$(eval $$(call SetupAOT, $1, \
TRAINING := $$(JTREG_AOT_JDK), \
VM_OPTIONS := $$(JTREG_ALL_OPTIONS) ))
$$(call LogWarn, AOT_JDK_CACHE=$$($1_AOT_JDK_CACHE))
$1_JTREG_BASIC_OPTIONS += -vmoption:-XX:AOTCache="$$($1_AOT_JDK_CACHE)"
endif
@@ -969,6 +1026,7 @@ define SetupRunJtregTestBody
endif
JTREG_TIMEOUT_FACTOR ?= $$(JTREG_AUTO_TIMEOUT_FACTOR)
$1_JTREG_BASIC_OPTIONS += -timeoutFactor:$$(JTREG_TIMEOUT_FACTOR)
clean-outputdirs-$1:
$$(call LogWarn, Clean up dirs for $1)
@@ -997,7 +1055,8 @@ define SetupRunJtregTestBody
$1_COMMAND_LINE := \
for i in {0..$$(JTREG_RETRY_COUNT)}; do \
if [ "$$$$i" != 0 ]; then \
$$(PRINTF) "\nRetrying Jtreg run. Attempt: $$$$i\n"; \
$$(ECHO) ""; \
$$(ECHO) "Retrying Jtreg run. Attempt: $$$$i"; \
fi; \
$$($1_COMMAND_LINE); \
if [ "`$$(CAT) $$($1_EXITCODE)`" = "0" ]; then \
@@ -1010,10 +1069,12 @@ define SetupRunJtregTestBody
ifneq ($$(JTREG_REPEAT_COUNT), 0)
$1_COMMAND_LINE := \
for i in {1..$$(JTREG_REPEAT_COUNT)}; do \
$$(PRINTF) "\nRepeating Jtreg run: $$$$i out of $$(JTREG_REPEAT_COUNT)\n"; \
$$(ECHO) ""; \
$$(ECHO) "Repeating Jtreg run: $$$$i out of $$(JTREG_REPEAT_COUNT)"; \
$$($1_COMMAND_LINE); \
if [ "`$$(CAT) $$($1_EXITCODE)`" != "0" ]; then \
$$(PRINTF) "\nFailures detected, no more repeats.\n"; \
$$(ECHO) ""; \
$$(ECHO) "Failures detected, no more repeats."; \
break; \
fi; \
done
@@ -1024,9 +1085,9 @@ define SetupRunJtregTestBody
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR) \
$$($1_TEST_TMP_DIR))
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/jtreg, ( \
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/jtreg, \
$$(COV_ENVIRONMENT) $$($1_COMMAND_LINE) \
))
)
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/text/stats.txt
@@ -1034,23 +1095,64 @@ define SetupRunJtregTestBody
$$(call LogWarn, Finished running test '$$($1_TEST)')
$$(call LogWarn, Test report is stored in $$(strip \
$$(subst $$(TOPDIR)/, , $$($1_TEST_RESULTS_DIR))))
# Read jtreg documentation to learn on the test stats categories:
# https://github.com/openjdk/jtreg/blob/master/src/share/doc/javatest/regtest/faq.md#what-do-all-those-numbers-in-the-test-results-line-mean
# In jtreg, "skipped:" category accounts for tests that threw jtreg.SkippedException at runtime.
# At the same time these tests contribute to "passed:" tests.
# In here we don't want that and so we substract number of "skipped:" from "passed:".
$$(if $$(wildcard $$($1_RESULT_FILE)), \
$$(eval $1_PASSED := $$(shell $$(AWK) '{ gsub(/[,;]/, ""); \
$$(eval $1_PASSED_AND_RUNTIME_SKIPPED := $$(shell $$(AWK) '{ gsub(/[,;]/, ""); \
for (i=1; i<=NF; i++) { if ($$$$i == "passed:") \
print $$$$(i+1) } }' $$($1_RESULT_FILE))) \
$$(if $$($1_PASSED), , $$(eval $1_PASSED := 0)) \
$$(if $$($1_PASSED_AND_RUNTIME_SKIPPED), , $$(eval $1_PASSED_AND_RUNTIME_SKIPPED := 0)) \
$$(eval $1_FAILED := $$(shell $$(AWK) '{gsub(/[,;]/, ""); \
for (i=1; i<=NF; i++) { if ($$$$i == "failed:") \
print $$$$(i+1) } }' $$($1_RESULT_FILE))) \
$$(if $$($1_FAILED), , $$(eval $1_FAILED := 0)) \
$$(eval $1_RUNTIME_SKIPPED := $$(shell $$(AWK) '{gsub(/[,;]/, ""); \
for (i=1; i<=NF; i++) { if ($$$$i == "skipped:") \
print $$$$(i+1) } }' $$($1_RESULT_FILE))) \
$$(if $$($1_RUNTIME_SKIPPED), , $$(eval $1_RUNTIME_SKIPPED := 0)) \
$$(eval $1_SKIPPED := $$(shell \
$$(AWK) \
'BEGIN { \
overall_skipped = 0; \
patterns[1] = "skipped"; \
patterns[2] = "excluded"; \
patterns[3] = "not in match-list"; \
patterns[4] = "did not match keywords"; \
patterns[5] = "did not meet module requirements"; \
patterns[6] = "did not meet platform requirements"; \
patterns[7] = "did not match prior status"; \
patterns[8] = "did not meet time-limit requirements"; \
} { \
split($$$$0, arr, ";"); \
for (item in arr) { \
for (p in patterns) { \
if (match(arr[item], patterns[p] ": [0-9]+")) { \
overall_skipped += substr(arr[item], RSTART + length(patterns[p]) + 2, RLENGTH); \
} \
} \
} \
print overall_skipped; \
}' \
$$($1_RESULT_FILE) \
)) \
$$(eval $1_ERROR := $$(shell $$(AWK) '{gsub(/[,;]/, ""); \
for (i=1; i<=NF; i++) { if ($$$$i == "error:") \
print $$$$(i+1) } }' $$($1_RESULT_FILE))) \
$$(if $$($1_ERROR), , $$(eval $1_ERROR := 0)) \
\
$$(eval $1_PASSED := $$(shell \
$$(EXPR) $$($1_PASSED_AND_RUNTIME_SKIPPED) - $$($1_RUNTIME_SKIPPED))) \
$$(eval $1_TOTAL := $$(shell \
$$(EXPR) $$($1_PASSED) + $$($1_FAILED) + $$($1_ERROR))) \
$$(EXPR) $$($1_PASSED) + $$($1_FAILED) + $$($1_ERROR) + $$($1_SKIPPED))) \
, \
$$(eval $1_PASSED := 0) \
$$(eval $1_PASSED_AND_RUNTIME_SKIPPED := 0) \
$$(eval $1_RUNTIME_SKIPPED := 0) \
$$(eval $1_SKIPPED := 0) \
$$(eval $1_FAILED := 0) \
$$(eval $1_ERROR := 1) \
$$(eval $1_TOTAL := 1) \
@@ -1102,14 +1204,12 @@ define SetupRunSpecialTestBody
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR))
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/test-execution, ( \
$$(call ExecuteWithLog, $$($1_TEST_SUPPORT_DIR)/test-execution, \
$$($1_TEST_COMMAND_LINE) \
> >($(TEE) $$($1_TEST_RESULTS_DIR)/test-output.txt) \
&& $$(ECHO) $$$$? > $$($1_EXITCODE) \
|| $$(ECHO) $$$$? > $$($1_EXITCODE) \
))
$1_RESULT_FILE := $$($1_TEST_RESULTS_DIR)/gtest.txt
)
# We can not parse the various "special" tests.
parse-test-$1: run-test-$1
@@ -1120,6 +1220,7 @@ define SetupRunSpecialTestBody
$$(eval $1_PASSED := $$(shell \
if [ `$(CAT) $$($1_EXITCODE)` = "0" ]; then $(ECHO) 1; else $(ECHO) 0; fi \
))
$$(eval $1_SKIPPED := 0)
$$(eval $1_FAILED := $$(shell \
if [ `$(CAT) $$($1_EXITCODE)` = "0" ]; then $(ECHO) 0; else $(ECHO) 1; fi \
))
@@ -1153,7 +1254,7 @@ UseSpecialTestHandler = \
# Now process each test to run and setup a proper make rule
$(foreach test, $(TESTS_TO_RUN), \
$(eval TEST_ID := $(shell $(ECHO) $(strip $(test)) | \
$(TR) -cs '[a-z][A-Z][0-9]\n' '[_*1000]')) \
$(TR) -cs '[a-z][A-Z][0-9]\n' '_')) \
$(eval ALL_TEST_IDS += $(TEST_ID)) \
$(if $(call UseCustomTestHandler, $(test)), \
$(eval $(call SetupRunCustomTest, $(TEST_ID), \
@@ -1229,28 +1330,28 @@ run-test-report: post-run-test
$(ECHO) >> $(TEST_SUMMARY) ==============================
$(ECHO) >> $(TEST_SUMMARY) Test summary
$(ECHO) >> $(TEST_SUMMARY) ==============================
$(PRINTF) >> $(TEST_SUMMARY) "%2s %-49s %5s %5s %5s %5s %2s\n" " " \
TEST TOTAL PASS FAIL ERROR " "
$(PRINTF) >> $(TEST_SUMMARY) "%2s %-49s %5s %5s %5s %5s %5s %2s\n" " " \
TEST TOTAL PASS FAIL ERROR SKIP " "
$(foreach test, $(TESTS_TO_RUN), \
$(eval TEST_ID := $(shell $(ECHO) $(strip $(test)) | \
$(TR) -cs '[a-z][A-Z][0-9]\n' '[_*1000]')) \
$(TR) -cs '[a-z][A-Z][0-9]\n' '_')) \
$(ECHO) >> $(TEST_LAST_IDS) $(TEST_ID) $(NEWLINE) \
$(eval NAME_PATTERN := $(shell $(ECHO) $(test) | $(TR) -c '\n' '[_*1000]')) \
$(eval NAME_PATTERN := $(shell $(ECHO) $(test) | $(TR) -c '\n' '_')) \
$(if $(filter __________________________________________________%, $(NAME_PATTERN)), \
$(eval TEST_NAME := ) \
$(PRINTF) >> $(TEST_SUMMARY) "%2s %-49s\n" " " "$(test)" $(NEWLINE) \
, \
$(eval TEST_NAME := $(test)) \
) \
$(if $(filter $($(TEST_ID)_PASSED), $($(TEST_ID)_TOTAL)), \
$(PRINTF) >> $(TEST_SUMMARY) "%2s %-49s %5d %5d %5d %5d %2s\n" \
" " "$(TEST_NAME)" $($(TEST_ID)_TOTAL) $($(TEST_ID)_PASSED) \
$($(TEST_ID)_FAILED) $($(TEST_ID)_ERROR) " " $(NEWLINE) \
, \
$(PRINTF) >> $(TEST_SUMMARY) "%2s %-49s %5d %5d %5d %5d %2s\n" \
$(if $(filter-out 0, $($(TEST_ID)_FAILED) $($(TEST_ID)_ERROR)), \
$(PRINTF) >> $(TEST_SUMMARY) "%2s %-49s %5d %5d %5d %5d %5d %2s\n" \
">>" "$(TEST_NAME)" $($(TEST_ID)_TOTAL) $($(TEST_ID)_PASSED) \
$($(TEST_ID)_FAILED) $($(TEST_ID)_ERROR) "<<" $(NEWLINE) \
$($(TEST_ID)_FAILED) $($(TEST_ID)_ERROR) $($(TEST_ID)_SKIPPED) "<<" $(NEWLINE) \
$(eval TEST_FAILURE := true) \
, \
$(PRINTF) >> $(TEST_SUMMARY) "%2s %-49s %5d %5d %5d %5d %5d %2s\n" \
" " "$(TEST_NAME)" $($(TEST_ID)_TOTAL) $($(TEST_ID)_PASSED) \
$($(TEST_ID)_FAILED) $($(TEST_ID)_ERROR) $($(TEST_ID)_SKIPPED) " " $(NEWLINE) \
) \
)
$(ECHO) >> $(TEST_SUMMARY) ==============================
@@ -1276,12 +1377,14 @@ TARGETS += run-all-tests pre-run-test post-run-test run-test-report run-test
ifeq ($(TEST_OPTS_JCOV), true)
JCOV_VM_OPTS := -Xmx4g -Djdk.xml.totalEntitySizeLimit=0 -Djdk.xml.maxGeneralEntitySizeLimit=0
jcov-do-start-grabber:
$(call MakeDir, $(JCOV_OUTPUT_DIR))
if $(JAVA) -jar $(JCOV_HOME)/lib/jcov.jar GrabberManager -status 1>/dev/null 2>&1 ; then \
$(JAVA) -jar $(JCOV_HOME)/lib/jcov.jar GrabberManager -stop -stoptimeout 3600 ; \
fi
$(JAVA) -Xmx4g -jar $(JCOV_HOME)/lib/jcov.jar Grabber -v -t \
$(JAVA) $(JCOV_VM_OPTS) -jar $(JCOV_HOME)/lib/jcov.jar Grabber -v -t \
$(JCOV_IMAGE_DIR)/template.xml -o $(JCOV_RESULT_FILE) \
1>$(JCOV_GRABBER_LOG) 2>&1 &
@@ -1294,6 +1397,10 @@ ifeq ($(TEST_OPTS_JCOV), true)
$(JAVA) -jar $(JCOV_HOME)/lib/jcov.jar GrabberManager -stop -stoptimeout 3600
JCOV_REPORT_TITLE := JDK code coverage report<br/>
ifneq ($(JCOV_MODULES), )
JCOV_MODULES_FILTER := $(foreach m, $(JCOV_MODULES), -include_module $m)
JCOV_REPORT_TITLE += Included modules: $(JCOV_MODULES)<br>
endif
ifneq ($(JCOV_FILTERS), )
JCOV_REPORT_TITLE += Code filters: $(JCOV_FILTERS)<br>
endif
@@ -1301,11 +1408,12 @@ ifeq ($(TEST_OPTS_JCOV), true)
jcov-gen-report: jcov-stop-grabber
$(call LogWarn, Generating JCov report ...)
$(JAVA) -Xmx4g -jar $(JCOV_HOME)/lib/jcov.jar RepGen -sourcepath \
$(call ExecuteWithLog, $(JCOV_SUPPORT_DIR)/run-jcov-repgen, \
$(JAVA) $(JCOV_VM_OPTS) -jar $(JCOV_HOME)/lib/jcov.jar RepGen -sourcepath \
`$(ECHO) $(TOPDIR)/src/*/share/classes/ | $(TR) ' ' ':'` -fmt html \
$(JCOV_FILTERS) \
$(JCOV_MODULES_FILTER) $(JCOV_FILTERS) \
-mainReportTitle "$(JCOV_REPORT_TITLE)" \
-o $(JCOV_REPORT) $(JCOV_RESULT_FILE)
-o $(JCOV_REPORT) $(JCOV_RESULT_FILE))
TARGETS += jcov-do-start-grabber jcov-start-grabber jcov-stop-grabber \
jcov-gen-report
@@ -1325,7 +1433,7 @@ ifeq ($(TEST_OPTS_JCOV), true)
jcov-gen-diffcoverage: jcov-stop-grabber
$(call LogWarn, Generating diff coverage with changeset $(TEST_OPTS_JCOV_DIFF_CHANGESET) ... )
$(DIFF_COMMAND)
$(JAVA) -Xmx4g -jar $(JCOV_HOME)/lib/jcov.jar \
$(JAVA) $(JCOV_VM_OPTS) -jar $(JCOV_HOME)/lib/jcov.jar \
DiffCoverage -replaceDiff "src/.*/classes/:" -all \
$(JCOV_RESULT_FILE) $(JCOV_SOURCE_DIFF) > \
$(JCOV_DIFF_COVERAGE_REPORT)
@@ -1353,4 +1461,8 @@ endif
all: run-test
.PHONY: default all $(TARGETS)
.PHONY: $(TARGETS)
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 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
@@ -24,9 +24,11 @@
#
################################################################################
# Initial bootstrapping, copied and stripped down from Makefile and Init.gmk
# Initial bootstrapping, copied and stripped down from Makefile and PreInit.gmk.
################################################################################
IS_PREINIT_ENV := true
# In Cygwin, the MAKE variable gets prepended with the current directory if the
# make executable is called using a Windows mixed path (c:/cygwin/bin/make.exe).
ifneq ($(findstring :, $(MAKE)), )
@@ -57,7 +59,7 @@ TOPDIR := $(strip $(patsubst %/make/, %, $(dir $(makefile_path))))
define SetupVariable
ifeq ($$($1), )
ifeq ($2, )
$$(info Error: Prebuilt variable $1 is missing, needed for run-tests-prebuilt)
$$(info Error: Prebuilt variable $1 is missing, needed for test-prebuilt)
$$(error Cannot continue.)
else ifeq ($2, OPTIONAL)
ifneq ($$(findstring $$(LOG), info debug trace), )
@@ -135,10 +137,9 @@ $(eval $(call SetupVariable,JIB_JAR,OPTIONAL))
# can include the prebuilt spec file ourselves, without an ephemeral spec
# wrapper. This is required so we can include MakeBase which is needed for
# CreateNewSpec.
HAS_SPEC :=
include $(TOPDIR)/make/InitSupport.gmk
include $(TOPDIR)/make/PreInitSupport.gmk
include $(TOPDIR)/make/common/LogUtils.gmk
$(eval $(call CheckDeprecatedEnvironment))
$(eval $(call CheckInvalidMakeFlags))
$(eval $(call ParseLogLevel))
@@ -216,9 +217,9 @@ else ifeq ($(OPENJDK_TARGET_OS), macosx)
else ifeq ($(OPENJDK_TARGET_OS), windows)
NUM_CORES := $(NUMBER_OF_PROCESSORS)
MEMORY_SIZE := $(shell \
$(EXPR) `wmic computersystem get totalphysicalmemory -value \
| $(GREP) = | $(SED) 's/\\r//g' \
| $(CUT) -d "=" -f 2-` / 1024 / 1024 \
$(EXPR) `powershell -Command \
"(Get-CimInstance Win32_ComputerSystem).TotalPhysicalMemory" \
| $(SED) 's/\\r//g' ` / 1024 / 1024 \
)
endif
ifeq ($(NUM_CORES), )
@@ -245,7 +246,7 @@ endif
# Now we can include additional custom support.
# This might define CUSTOM_NEW_SPEC_LINE
ifneq ($(CUSTOM_MAKE_DIR), )
include $(CUSTOM_MAKE_DIR)/RunTestsPrebuilt.gmk
include $(CUSTOM_MAKE_DIR)/RunTestsPrebuilt-pre.gmk
endif
NEW_SPEC := $(OUTPUTDIR)/run-test-spec.gmk
@@ -295,13 +296,10 @@ test-prebuilt:
# is unfortunately not available at this point.
$(call MakeDir, $(MAKESUPPORT_OUTPUTDIR)/failure-logs)
@$(RM) -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error
# The lazy initialization of the cache file in FindTests.gmk does not
# always work with RunTests.gmk. To guarantee that the jtreg test groups
# are always found and parsed, call FindTests.gmk stand alone once
# before calling RunTests.gmk.
@cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/common/FindTests.gmk \
SPEC=$(SPEC) FINDTESTS_STAND_ALONE=true
@cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/RunTests.gmk run-test \
# We need to fill the FindTest cache before entering RunTests.gmk.
@cd $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) SPEC=$(SPEC) \
-f GenerateFindTests.gmk
@cd $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f RunTests.gmk run-test \
TEST="$(TEST)"
test-prebuilt-with-exit-code: test-prebuilt

View File

@@ -63,7 +63,7 @@ TEST_JOBS ?= 0
# Use hard-coded values for java flags (one size, fits all!)
JAVA_FLAGS := -Duser.language=en -Duser.country=US
JAVA_FLAGS_BIG := -Xms64M -Xmx1600M
JAVA_FLAGS_BIG := -Xms64M -Xmx2048M
JAVA_FLAGS_SMALL := -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
BUILDJDK_JAVA_FLAGS_SMALL := -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
BUILD_JAVA_FLAGS := $(JAVA_FLAGS_BIG)
@@ -176,3 +176,19 @@ ULIMIT := ulimit
ifeq ($(OPENJDK_BUILD_OS), windows)
PATHTOOL := cygpath
endif
# These settings are needed to run testing with jvmti agent
ifeq ($(OPENJDK_BUILD_OS), linux)
LIBRARY_PREFIX := lib
SHARED_LIBRARY_SUFFIX := .so
endif
ifeq ($(OPENJDK_BUILD_OS), windows)
LIBRARY_PREFIX :=
SHARED_LIBRARY_SUFFIX := .dll
endif
ifeq ($(OPENJDK_BUILD_OS), macosx)
LIBRARY_PREFIX := lib
SHARED_LIBRARY_SUFFIX := .dylib
endif

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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
@@ -23,10 +23,7 @@
# questions.
#
include $(SPEC)
include MakeBase.gmk
$(eval $(call IncludeCustomExtension, SourceRevision-pre.gmk))
include MakeFileStart.gmk
################################################################################
# Keep track of what source revision is used to create the build, by creating
@@ -38,6 +35,7 @@ $(eval $(call IncludeCustomExtension, SourceRevision-pre.gmk))
# bundle. As a part of creating this source bundle, the current SCM revisions of
# all repos will be stored in a file in the top dir, which is then used when
# creating the tracker file.
################################################################################
STORED_SOURCE_REVISION := $(TOPDIR)/.src-rev
@@ -57,7 +55,7 @@ ifneq ($(and $(GIT), $(wildcard $(TOPDIR)/.git)), )
SCM_DIR := .git
ID_COMMAND := $(PRINTF) "git:%s%s\n" \
"$$($(GIT) log -n1 --format=%H | cut -c1-12)" \
"$$(if test -n "$$($(GIT) status --porcelain)"; then printf '+'; fi)"
"$$(if test -n "$$($(GIT) status --porcelain)"; then $(PRINTF) '+'; fi)"
endif
ifeq ($(USE_SCM), true)
@@ -156,10 +154,6 @@ endif
################################################################################
$(eval $(call IncludeCustomExtension, SourceRevision-post.gmk))
################################################################################
store-source-revision: $(STORE_SOURCE_REVISION_TARGET)
create-source-revision-tracker: $(CREATE_SOURCE_REVISION_TRACKER_TARGET)
@@ -167,3 +161,7 @@ create-source-revision-tracker: $(CREATE_SOURCE_REVISION_TRACKER_TARGET)
FRC: # Force target
.PHONY: store-source-revision create-source-revision-tracker
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2024, 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
@@ -23,14 +23,15 @@
# questions.
#
default: all
include MakeFileStart.gmk
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
include DebugInfoUtils.gmk
include Modules.gmk
include modules/LauncherCommon.gmk
include Execute.gmk
################################################################################
#
@@ -66,10 +67,12 @@ else ifeq ($(call isTargetOs, windows), true)
BROKEN_STATIC_LIBS += splashscreen
# libsspi_bridge has name conflicts with sunmscapi
BROKEN_STATIC_LIBS += sspi_bridge
# These libs define DllMain which conflict with Hotspot
BROKEN_STATIC_LIBS += awt dt_shmem dt_socket
# These libs are dependent on any of the above disabled libs
BROKEN_STATIC_LIBS += fontmanager jawt lcms net nio
# dt_shmem define jdwpTransport_OnLoad which conflict with dt_socket
BROKEN_STATIC_LIBS += dt_shmem
else ifeq ($(call isTargetOs, aix), true)
# libsplashscreen has a name conflict with libawt in the function
# BitmapToYXBandedRectangles, so we exclude it for now.
BROKEN_STATIC_LIBS += splashscreen
endif
$(foreach module, $(STATIC_LIB_MODULES), \
@@ -97,29 +100,47 @@ EXTERNAL_LIBS := $(strip $(shell $(CAT) $(LIB_FLAGS_FILES) | \
ifeq ($(call isTargetOs, macosx), true)
STATIC_LIBS := $(addprefix -force_load$(SPACE), $(STATIC_LIB_FILES))
STANDARD_LIBS += -lstdc++
else ifeq ($(call isTargetOs, linux), true)
STATIC_LIBS := -Wl,--export-dynamic -Wl,--whole-archive $(STATIC_LIB_FILES) -Wl,--no-whole-archive
STANDARD_LIBS := -l:libstdc++.a
else ifeq ($(call isTargetOs, windows), true)
STATIC_LIBS := $(addprefix -wholearchive:, $(STATIC_LIB_FILES))
else ifeq ($(call isTargetOs, aix), true)
# on AIX we have to generate export files for all static libs, because we have no whole-archive linker flag
$(foreach lib, $(STATIC_LIB_FILES), \
$(eval $(call SetupExecute, generate_export_list_$(notdir $(lib)), \
INFO := Generating export list for $(notdir $(lib)), \
DEPS := $(lib), \
OUTPUT_FILE := $(lib).exp, \
COMMAND := $(AR) $(ARFLAGS) -w $(lib) | $(GREP) -v '^\.' | $(AWK) '{print $$1}' | $(SORT) -u > $(lib).exp, \
)) \
$(eval STATIC_LIB_EXPORT_FILES += $(lib).exp) \
)
STATIC_LIBS := -Wl,-bexpfull $(STATIC_LIB_FILES) $(addprefix -Wl$(COMMA)-bE:, $(STATIC_LIB_EXPORT_FILES))
ifeq ($(DEBUG_LEVEL), slowdebug)
STATIC_LIBS += -Wl,-bbigtoc
endif
else
$(error Unsupported platform)
endif
$(eval $(call SetupBuildLauncher, java, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS -DENABLE_ARG_FILES, \
ENABLE_ARG_FILES := true, \
EXPAND_CLASSPATH_WILDCARDS := true, \
EXTRA_RCFLAGS := $(JAVA_RCFLAGS), \
VERSION_INFO_RESOURCE := $(JAVA_VERSION_INFO_RESOURCE), \
OPTIMIZATION := HIGH, \
STATIC_LAUNCHER := true, \
LDFLAGS := $(LDFLAGS_STATIC_JDK), \
LIBS := $(STATIC_LIBS) $(EXTERNAL_LIBS) $(STANDARD_LIBS), \
LIBS := $(STATIC_LIBS) $(EXTERNAL_LIBS), \
LINK_TYPE := C++, \
OUTPUT_DIR := $(STATIC_LAUNCHER_OUTPUT_DIR), \
OBJECT_DIR := $(STATIC_LAUNCHER_OUTPUT_DIR), \
))
$(java): $(STATIC_LIB_FILES)
ifeq ($(call isTargetOs, aix), true)
$(java): $(STATIC_LIB_EXPORT_FILES)
endif
TARGETS += $(java)
@@ -186,6 +207,8 @@ static-jdk-image: $(copy-from-jdk-image) $(copy-static-launcher) $(copy-static-l
TARGETS += static-jdk-image
all: $(TARGETS)
.PHONY: static-launcher static-jdk-image
.PHONY: all static-launcher static-jdk-image
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2019, 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
@@ -23,13 +23,12 @@
# questions.
#
include MakeFileStart.gmk
################################################################################
# This makefile creates an image of the optional static versions of certain JDK
# libraries.
default: all
include $(SPEC)
include MakeBase.gmk
################################################################################
include CopyFiles.gmk
include Modules.gmk
@@ -38,8 +37,6 @@ ALL_MODULES = $(call FindAllModules)
################################################################################
TARGETS :=
ifneq ($(filter static-libs-image, $(MAKECMDGOALS)), )
IMAGE_DEST_DIR = $(STATIC_LIBS_IMAGE_DIR)/lib
else ifneq ($(filter static-libs-graal-image, $(MAKECMDGOALS)), )
@@ -72,11 +69,9 @@ ifneq ($(filter static-libs-image, $(MAKECMDGOALS)), )
)
endif
################################################################################
static-libs-image: $(HOTSPOT_VARIANT_STATIC_LIBS_TARGETS) $(STATIC_LIBS_TARGETS)
static-libs-graal-image: $(STATIC_LIBS_TARGETS)
all: $(TARGETS)
################################################################################
.PHONY: all
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 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
@@ -23,13 +23,7 @@
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, TestImage-pre.gmk))
include MakeFileStart.gmk
################################################################################
@@ -54,4 +48,8 @@ TARGETS += $(BUILD_INFO_PROPERTIES) $(README)
prepare-test-image: $(TARGETS)
all: prepare-test-image
.PHONY: default all prepare-test-image
.PHONY: prepare-test-image
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 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
@@ -23,8 +23,10 @@
# questions.
#
ifndef _TOOLS_HOTSPOT_GMK
_TOOLS_HOTSPOT_GMK := 1
include MakeIncludeStart.gmk
ifeq ($(INCLUDE), true)
################################################################################
include JavaCompilation.gmk
@@ -44,4 +46,5 @@ TOOL_JFR_GEN := $(JAVA_SMALL) -cp $(HOTSPOT_TOOLS_OUTPUTDIR) \
################################################################################
endif # _TOOLS_HOTSPOT_GMK
endif # include guard
include MakeIncludeEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -23,14 +23,13 @@
# questions.
#
ifndef _TOOLS_GMK
_TOOLS_GMK := 1
include MakeIncludeStart.gmk
ifeq ($(INCLUDE), true)
################################################################################
include JavaCompilation.gmk
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, Tools.gmk))
################################################################################
# To avoid reevaluating the compilation setup for the tools each time this file
# is included, the actual compilation is handled by CompileTools.gmk. The
@@ -79,6 +78,9 @@ TOOL_GENERATECACERTS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_class
TOOL_GENERATEEXTRAPROPERTIES = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generateextraproperties.GenerateExtraProperties
TOOL_GENERATECASEFOLDING = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.generatecharacter.CaseFolding
TOOL_MAKEZIPREPRODUCIBLE = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.makezipreproducible.MakeZipReproducible
@@ -128,6 +130,9 @@ TOOL_PUBLICSUFFIXLIST = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_clas
TOOL_FIXUPPANDOC = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.fixuppandoc.Main
TOOL_VARHANDLEGUARDMETHODGENERATOR = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.methodhandle.VarHandleGuardMethodGenerator
################################################################################
# Executable javascript filter for man page generation using pandoc.
@@ -137,7 +142,5 @@ PANDOC_HTML_MANPAGE_FILTER := $(BUILDTOOLS_OUTPUTDIR)/manpages/pandoc-html-manpa
################################################################################
# Hook to include the corresponding custom post file, if present.
$(eval $(call IncludeCustomExtension, ToolsJdk-post.gmk))
endif # _TOOLS_GMK
endif # include guard
include MakeIncludeEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -23,11 +23,10 @@
# questions.
#
# This must be the first rule
default: all
include MakeFileStart.gmk
################################################################################
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
################################################################################
@@ -37,9 +36,13 @@ $(eval $(call SetupJavaCompilation, BUILD_TOOLS_LANGTOOLS, \
COMPILER := bootjdk, \
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
SRC := $(TOPDIR)/make/langtools/tools, \
INCLUDES := compileproperties propertiesparser, \
INCLUDES := compileproperties flagsgenerator propertiesparser, \
COPY := .properties, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/langtools_tools_classes, \
))
all: $(BUILD_TOOLS_LANGTOOLS)
################################################################################
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 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
@@ -23,17 +23,14 @@
# questions.
#
default: all
include $(SPEC)
include MakeBase.gmk
include ProcessMarkdown.gmk
include MakeFileStart.gmk
################################################################################
# This makefile updates the generated build html documentation.
#
################################################################################
include ProcessMarkdown.gmk
ifeq ($(ENABLE_PANDOC), false)
$(info No pandoc executable was detected by configure)
$(error Cannot continue)
@@ -55,10 +52,4 @@ TARGETS += $(md_docs)
################################################################################
$(eval $(call IncludeCustomExtension, UpdateBuildDocs.gmk))
################################################################################
all: $(TARGETS)
.PHONY: all default
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2024, 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
@@ -23,15 +23,7 @@
# questions.
#
################################################################################
default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include Execute.gmk
include MakeFileStart.gmk
################################################################################
# This file is responsible for updating the generated sleef source code files
@@ -40,6 +32,9 @@ include Execute.gmk
# updated from upstream.
################################################################################
include CopyFiles.gmk
include Execute.gmk
ifneq ($(COMPILE_TYPE), cross)
$(error Only cross-compilation of libsleef is currently supported)
endif
@@ -86,8 +81,8 @@ SLEEF_CMAKE_FILE := toolchains/$(OPENJDK_TARGET_CPU)-$(SLEEF_TOOLCHAIN_TYPE).cma
$(eval $(call SetupExecute, sleef_native_config, \
INFO := Configuring native sleef build, \
OUTPUT_DIR := $(SLEEF_NATIVE_BUILD_DIR), \
COMMAND := cd $(SLEEF_SOURCE_DIR) && $(CMAKE) -S . -B \
$(SLEEF_NATIVE_BUILD_DIR), \
WORKING_DIR := $(SLEEF_SOURCE_DIR), \
COMMAND := $(CMAKE) -S . -B $(SLEEF_NATIVE_BUILD_DIR), \
))
TARGETS := $(sleef_native_config)
@@ -96,8 +91,8 @@ $(eval $(call SetupExecute, sleef_native_build, \
INFO := Building native sleef, \
DEPS := $(sleef_native_config), \
OUTPUT_DIR := $(SLEEF_NATIVE_BUILD_DIR), \
COMMAND := cd $(SLEEF_SOURCE_DIR) && $(CMAKE) --build \
$(SLEEF_NATIVE_BUILD_DIR) -j, \
WORKING_DIR := $(SLEEF_SOURCE_DIR), \
COMMAND := $(CMAKE) --build $(SLEEF_NATIVE_BUILD_DIR) -j, \
))
TARGETS := $(sleef_native_build)
@@ -106,8 +101,8 @@ $(eval $(call SetupExecute, sleef_cross_config, \
INFO := Configuring cross-compiling sleef build, \
DEPS := $(sleef_native_build), \
OUTPUT_DIR := $(SLEEF_CROSS_BUILD_DIR), \
COMMAND := cd $(SLEEF_SOURCE_DIR) && $(CMAKE) -S . -B \
$(SLEEF_CROSS_BUILD_DIR) \
WORKING_DIR := $(SLEEF_SOURCE_DIR), \
COMMAND := $(CMAKE) -S . -B $(SLEEF_CROSS_BUILD_DIR) \
-DCMAKE_C_COMPILER=$(CC) \
-DCMAKE_TOOLCHAIN_FILE=$(SLEEF_CMAKE_FILE) \
-DNATIVE_BUILD_DIR=$(SLEEF_NATIVE_BUILD_DIR) \
@@ -121,8 +116,8 @@ $(eval $(call SetupExecute, sleef_cross_build, \
INFO := Building cross-compiling sleef, \
DEPS := $(sleef_cross_config), \
OUTPUT_DIR := $(SLEEF_NATIVE_BUILD_DIR), \
COMMAND := cd $(SLEEF_SOURCE_DIR) && $(CMAKE) --build \
$(SLEEF_CROSS_BUILD_DIR) -j, \
WORKING_DIR := $(SLEEF_SOURCE_DIR), \
COMMAND := $(CMAKE) --build $(SLEEF_CROSS_BUILD_DIR) -j, \
))
TARGETS := $(sleef_cross_build)
@@ -148,6 +143,4 @@ TARGETS := $(copy_generated_sleef_source)
################################################################################
all: $(TARGETS)
.PHONY: all default
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 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
@@ -23,15 +23,7 @@
# questions.
#
################################################################################
default: all
include $(SPEC)
include MakeBase.gmk
include Execute.gmk
include JdkNativeCompilation.gmk
include ToolsJdk.gmk
include MakeFileStart.gmk
################################################################################
# This file is responsible for extracting the x11 native struct offsets to
@@ -43,6 +35,10 @@ include ToolsJdk.gmk
# GensrcX11Wrappers.gmk to generate the Java code during the build.
################################################################################
include Execute.gmk
include JdkNativeCompilation.gmk
include $(TOPDIR)/make/ToolsJdk.gmk
ifeq ($(COMPILE_TYPE), cross)
$(error It is not possible to update the x11wrappers when cross-compiling)
endif
@@ -108,6 +104,4 @@ TARGETS += $(run_wrappergen) wrapper-information
################################################################################
all: $(TARGETS)
.PHONY: all default
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -23,10 +23,10 @@
# questions.
#
default: all
include MakeFileStart.gmk
################################################################################
include $(SPEC)
include MakeBase.gmk
include ZipArchive.gmk
################################################################################
@@ -100,6 +100,4 @@ endif
################################################################################
all: $(TARGETS)
.PHONY: default all
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -23,19 +23,16 @@
# questions.
#
default: all
include MakeFileStart.gmk
################################################################################
include $(SPEC)
include MakeBase.gmk
include Modules.gmk
include ZipArchive.gmk
SRC_ZIP_WORK_DIR := $(SUPPORT_OUTPUTDIR)/src
$(if $(filter $(TOPDIR)/%, $(SUPPORT_OUTPUTDIR)), $(eval SRC_ZIP_BASE := $(TOPDIR)), $(eval SRC_ZIP_BASE := $(SUPPORT_OUTPUTDIR)))
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, ZipSource.gmk))
################################################################################
# Create the directory structure for src.zip using symlinks.
# <module>/<package>/<file>.java
@@ -95,8 +92,8 @@ zip: $(SRC_ZIP_SRCS)
TARGETS += zip
.PHONY: zip
################################################################################
all: $(TARGETS)
.PHONY: default all zip
include MakeFileEnd.gmk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -75,18 +75,25 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
AC_MSG_NOTICE([Rewriting ORIGINAL_PATH to $REWRITTEN_PATH])
fi
if test "x$OPENJDK_TARGET_CPU" = xx86 && test "x$with_jvm_variants" != xzero; then
AC_MSG_ERROR([32-bit x86 builds are not supported])
fi
if test "x$OPENJDK_TARGET_OS" = "xwindows"; then
if test "x$OPENJDK_TARGET_CPU_BITS" = "x32"; then
AC_MSG_ERROR([32-bit Windows builds are not supported])
fi
BASIC_SETUP_PATHS_WINDOWS
fi
# We get the top-level directory from the supporting wrappers.
BASIC_WINDOWS_VERIFY_DIR($TOPDIR, source)
orig_topdir="$TOPDIR"
UTIL_FIXUP_PATH(TOPDIR)
AC_MSG_CHECKING([for top-level directory])
AC_MSG_RESULT([$TOPDIR])
if test "x$TOPDIR" != "x$orig_topdir"; then
AC_MSG_WARN([Your top dir was originally represented as $orig_topdir,])
AC_MSG_WARN([but after rewriting it became $TOPDIR.])
AC_MSG_WARN([This typically means you have characters like space in the path, which can cause all kind of trouble.])
fi
AC_SUBST(TOPDIR)
if test "x$CUSTOM_ROOT" != x; then
@@ -127,17 +134,33 @@ AC_DEFUN_ONCE([BASIC_SETUP_BUILD_ENV],
)
AC_SUBST(BUILD_ENV)
AC_MSG_CHECKING([for locale to use])
if test "x$LOCALE" != x; then
# Check if we actually have C.UTF-8; if so, use it
if $LOCALE -a | $GREP -q -E "^C\.(utf8|UTF-8)$"; then
LOCALE_USED=C.UTF-8
AC_MSG_RESULT([C.UTF-8 (recommended)])
elif $LOCALE -a | $GREP -q -E "^en_US\.(utf8|UTF-8)$"; then
LOCALE_USED=en_US.UTF-8
AC_MSG_RESULT([en_US.UTF-8 (acceptable fallback)])
else
AC_MSG_WARN([C.UTF-8 locale not found, using C locale])
LOCALE_USED=C
# As a fallback, check if users locale is UTF-8. USER_LOCALE was saved
# by the wrapper configure script before autconf messed up LC_ALL.
if $ECHO $USER_LOCALE | $GREP -q -E "\.(utf8|UTF-8)$"; then
LOCALE_USED=$USER_LOCALE
AC_MSG_RESULT([$USER_LOCALE (untested fallback)])
AC_MSG_WARN([Could not find C.UTF-8 or en_US.UTF-8 locale. This is not supported, and the build might fail unexpectedly.])
else
AC_MSG_RESULT([no UTF-8 locale found])
AC_MSG_WARN([No UTF-8 locale found. This is not supported. Proceeding with the C locale, but the build might fail unexpectedly.])
LOCALE_USED=C
fi
AC_MSG_NOTICE([The recommended locale is C.UTF-8, but en_US.UTF-8 is also accepted.])
fi
else
AC_MSG_WARN([locale command not not found, using C locale])
LOCALE_USED=C
LOCALE_USED=C.UTF-8
AC_MSG_RESULT([C.UTF-8 (default)])
AC_MSG_WARN([locale command not not found, using C.UTF-8 locale])
fi
export LC_ALL=$LOCALE_USED
@@ -187,17 +210,8 @@ AC_DEFUN([BASIC_SETUP_XCODE_SYSROOT],
if test $? -ne 0; then
AC_MSG_ERROR([The xcodebuild tool in the devkit reports an error: $XCODEBUILD_OUTPUT])
fi
elif test "x$TOOLCHAIN_PATH" != x; then
UTIL_LOOKUP_PROGS(XCODEBUILD, xcodebuild, $TOOLCHAIN_PATH)
if test "x$XCODEBUILD" != x; then
XCODEBUILD_OUTPUT=`"$XCODEBUILD" -version 2>&1`
if test $? -ne 0; then
AC_MSG_WARN([Ignoring the located xcodebuild tool $XCODEBUILD due to an error: $XCODEBUILD_OUTPUT])
XCODEBUILD=
fi
fi
else
UTIL_LOOKUP_PROGS(XCODEBUILD, xcodebuild)
UTIL_LOOKUP_TOOLCHAIN_PROGS(XCODEBUILD, xcodebuild)
if test "x$XCODEBUILD" != x; then
XCODEBUILD_OUTPUT=`"$XCODEBUILD" -version 2>&1`
if test $? -ne 0; then
@@ -325,21 +339,11 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
# You can force the sysroot if the sysroot encoded into the compiler tools
# is not correct.
AC_ARG_WITH(sys-root, [AS_HELP_STRING([--with-sys-root],
[alias for --with-sysroot for backwards compatibility])],
[SYSROOT=$with_sys_root]
)
AC_ARG_WITH(sysroot, [AS_HELP_STRING([--with-sysroot],
[use this directory as sysroot])],
[SYSROOT=$with_sysroot]
)
AC_ARG_WITH([tools-dir], [AS_HELP_STRING([--with-tools-dir],
[alias for --with-toolchain-path for backwards compatibility])],
[UTIL_PREPEND_TO_PATH([TOOLCHAIN_PATH],$with_tools_dir)]
)
AC_ARG_WITH([toolchain-path], [AS_HELP_STRING([--with-toolchain-path],
[prepend these directories when searching for toolchain binaries (compilers etc)])],
[UTIL_PREPEND_TO_PATH([TOOLCHAIN_PATH],$with_toolchain_path)]
@@ -348,6 +352,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
AC_ARG_WITH([xcode-path], [AS_HELP_STRING([--with-xcode-path],
[set up toolchain on Mac OS using a path to an Xcode installation])])
UTIL_DEPRECATED_ARG_WITH(sys-root)
UTIL_DEPRECATED_ARG_WITH(tools-dir)
if test "x$with_xcode_path" != x; then
if test "x$OPENJDK_BUILD_OS" = "xmacosx"; then
UTIL_PREPEND_TO_PATH([TOOLCHAIN_PATH],
@@ -392,11 +399,21 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
[ CONF_NAME=${with_conf_name} ])
# Test from where we are running configure, in or outside of src root.
if test "x$OPENJDK_BUILD_OS" = xwindows || test "x$OPENJDK_BUILD_OS" = "xmacosx"; then
# These systems have case insensitive paths, so convert them to lower case.
[ cmp_configure_start_dir=`$ECHO $CONFIGURE_START_DIR | $TR '[:upper:]' '[:lower:]'` ]
[ cmp_topdir=`$ECHO $TOPDIR | $TR '[:upper:]' '[:lower:]'` ]
[ cmp_custom_root=`$ECHO $CUSTOM_ROOT | $TR '[:upper:]' '[:lower:]'` ]
else
cmp_configure_start_dir="$CONFIGURE_START_DIR"
cmp_topdir="$TOPDIR"
cmp_custom_root="$CUSTOM_ROOT"
fi
AC_MSG_CHECKING([where to store configuration])
if test "x$CONFIGURE_START_DIR" = "x$TOPDIR" \
|| test "x$CONFIGURE_START_DIR" = "x$CUSTOM_ROOT" \
|| test "x$CONFIGURE_START_DIR" = "x$TOPDIR/make/autoconf" \
|| test "x$CONFIGURE_START_DIR" = "x$TOPDIR/make" ; then
if test "x$cmp_configure_start_dir" = "x$cmp_topdir" \
|| test "x$cmp_configure_start_dir" = "x$cmp_custom_root" \
|| test "x$cmp_configure_start_dir" = "x$cmp_topdir/make/autoconf" \
|| test "x$cmp_configure_start_dir" = "x$cmp_topdir/make" ; then
# We are running configure from the src root.
# Create a default ./build/target-variant-debuglevel output root.
if test "x${CONF_NAME}" = x; then
@@ -417,7 +434,12 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
# If configuration is situated in normal build directory, just use the build
# directory name as configuration name, otherwise use the complete path.
if test "x${CONF_NAME}" = x; then
CONF_NAME=`$ECHO $CONFIGURE_START_DIR | $SED -e "s!^${TOPDIR}/build/!!"`
[ if [[ "$cmp_configure_start_dir" =~ ^${cmp_topdir}/build/[^/]+$ ||
"$cmp_configure_start_dir" =~ ^${cmp_custom_root}/build/[^/]+$ ]]; then ]
CONF_NAME="${CONFIGURE_START_DIR##*/}"
else
CONF_NAME="$CONFIGURE_START_DIR"
fi
fi
OUTPUTDIR="$CONFIGURE_START_DIR"
AC_MSG_RESULT([in current directory])
@@ -543,9 +565,6 @@ AC_DEFUN_ONCE([BASIC_TEST_USABILITY_ISSUES],
BASIC_CHECK_SRC_PERMS
# Check if the user has any old-style ALT_ variables set.
FOUND_ALT_VARIABLES=`env | grep ^ALT_`
# Before generating output files, test if they exist. If they do, this is a reconfigure.
# Since we can't properly handle the dependencies for this, warn the user about the situation
if test -e $OUTPUTDIR/spec.gmk; then

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -57,6 +57,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_LOOKUP_PROGS(LOCALE, locale)
UTIL_LOOKUP_PROGS(PATHTOOL, cygpath wslpath)
UTIL_LOOKUP_PROGS(CMD, cmd.exe, $PATH:/cygdrive/c/windows/system32:/mnt/c/windows/system32:/c/windows/system32)
UTIL_LOOKUP_PROGS(LSB_RELEASE, lsb_release)
])
################################################################################
@@ -106,9 +107,6 @@ AC_DEFUN_ONCE([BASIC_SETUP_TOOLS],
UTIL_LOOKUP_PROGS(READLINK, greadlink readlink)
UTIL_LOOKUP_PROGS(WHOAMI, whoami)
# Tools only needed on some platforms
UTIL_LOOKUP_PROGS(LSB_RELEASE, lsb_release)
# For compare.sh only
UTIL_LOOKUP_PROGS(CMP, cmp)
UTIL_LOOKUP_PROGS(UNIQ, uniq)
@@ -209,29 +207,14 @@ AC_DEFUN([BASIC_CHECK_GNU_MAKE],
UTIL_SETUP_TOOL(MAKE,
[
# Try our hardest to locate a correct version of GNU make
UTIL_LOOKUP_PROGS(CHECK_GMAKE, gmake)
UTIL_LOOKUP_TOOLCHAIN_PROGS(CHECK_GMAKE, gmake)
BASIC_CHECK_MAKE_VERSION("$CHECK_GMAKE", [gmake in PATH])
if test "x$FOUND_MAKE" = x; then
UTIL_LOOKUP_PROGS(CHECK_MAKE, make)
UTIL_LOOKUP_TOOLCHAIN_PROGS(CHECK_MAKE, make)
BASIC_CHECK_MAKE_VERSION("$CHECK_MAKE", [make in PATH])
fi
if test "x$FOUND_MAKE" = x; then
if test "x$TOOLCHAIN_PATH" != x; then
# We have a toolchain path, check that as well before giving up.
OLD_PATH=$PATH
PATH=$TOOLCHAIN_PATH:$PATH
UTIL_LOOKUP_PROGS(CHECK_TOOLSDIR_GMAKE, gmake)
BASIC_CHECK_MAKE_VERSION("$CHECK_TOOLSDIR_GMAKE", [gmake in tools-dir])
if test "x$FOUND_MAKE" = x; then
UTIL_LOOKUP_PROGS(CHECK_TOOLSDIR_MAKE, make)
BASIC_CHECK_MAKE_VERSION("$CHECK_TOOLSDIR_MAKE", [make in tools-dir])
fi
PATH=$OLD_PATH
fi
fi
if test "x$FOUND_MAKE" = x; then
AC_MSG_ERROR([Cannot find GNU make $MAKE_REQUIRED_VERSION or newer! Please put it in the path, or add e.g. MAKE=/opt/gmake3.81/make as argument to configure.])
fi
@@ -380,7 +363,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
# Check if it's a GNU date compatible version
AC_MSG_CHECKING([if date is a GNU compatible version])
check_date=`$DATE --version 2>&1 | $GREP "GNU\|BusyBox"`
check_date=`$DATE --version 2>&1 | $GREP "GNU\|BusyBox\|uutils"`
if test "x$check_date" != x; then
AC_MSG_RESULT([yes])
IS_GNU_DATE=yes
@@ -470,7 +453,15 @@ AC_DEFUN_ONCE([BASIC_SETUP_PANDOC],
AC_MSG_CHECKING([if the pandoc smart extension needs to be disabled for markdown])
if $PANDOC --list-extensions | $GREP -q '+smart'; then
AC_MSG_RESULT([yes])
PANDOC_MARKDOWN_FLAG="markdown-smart"
PANDOC_MARKDOWN_FLAG="$PANDOC_MARKDOWN_FLAG-smart"
else
AC_MSG_RESULT([no])
fi
AC_MSG_CHECKING([if the pandoc tex_math_dollars extension needs to be disabled for markdown])
if $PANDOC --list-extensions | $GREP -q '+tex_math_dollars'; then
AC_MSG_RESULT([yes])
PANDOC_MARKDOWN_FLAG="$PANDOC_MARKDOWN_FLAG-tex_math_dollars"
else
AC_MSG_RESULT([no])
fi

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -159,7 +159,7 @@ AC_DEFUN([BASIC_SETUP_PATHS_WINDOWS],
else
WINENV_PREFIX_ARG="$WINENV_PREFIX"
fi
FIXPATH_ARGS="-e $PATHTOOL -p $WINENV_PREFIX_ARG -r ${WINENV_ROOT//\\/\\\\} -t $WINENV_TEMP_DIR -c $CMD -q"
FIXPATH_ARGS="-e $PATHTOOL -p $WINENV_PREFIX_ARG -r ${WINENV_ROOT//\\/\\\\} -t $WINENV_TEMP_DIR -c $CMD"
FIXPATH_BASE="$BASH $FIXPATH_DIR/fixpath.sh $FIXPATH_ARGS"
FIXPATH="$FIXPATH_BASE exec"
@@ -215,7 +215,7 @@ AC_DEFUN([BASIC_WINDOWS_FINALIZE_FIXPATH],
if test "x$OPENJDK_BUILD_OS" = xwindows; then
FIXPATH_CMDLINE=". $TOPDIR/make/scripts/fixpath.sh -e $PATHTOOL \
-p $WINENV_PREFIX_ARG -r ${WINENV_ROOT//\\/\\\\} -t $WINENV_TEMP_DIR \
-c $CMD -q"
-c $CMD"
$ECHO > $OUTPUTDIR/fixpath '#!/bin/bash'
$ECHO >> $OUTPUTDIR/fixpath export PATH='"[$]PATH:'$PATH'"'
$ECHO >> $OUTPUTDIR/fixpath $FIXPATH_CMDLINE '"[$]@"'

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -180,11 +180,13 @@ AC_DEFUN([BOOTJDK_CHECK_JAVA_HOME],
# Test: Is there a java or javac in the PATH, which is a symlink to the JDK?
AC_DEFUN([BOOTJDK_CHECK_JAVA_IN_PATH_IS_SYMLINK],
[
UTIL_LOOKUP_PROGS(JAVAC_CHECK, javac, , NOFIXPATH)
UTIL_LOOKUP_PROGS(JAVA_CHECK, java, , NOFIXPATH)
BINARY="$JAVAC_CHECK"
if test "x$JAVAC_CHECK" = x; then
BINARY="$JAVA_CHECK"
UTIL_LOOKUP_PROGS(JAVAC_CHECK, javac)
UTIL_GET_EXECUTABLE(JAVAC_CHECK) # Will setup JAVAC_CHECK_EXECUTABLE
UTIL_LOOKUP_PROGS(JAVA_CHECK, java)
UTIL_GET_EXECUTABLE(JAVA_CHECK) # Will setup JAVA_CHECK_EXECUTABLE
BINARY="$JAVAC_CHECK_EXECUTABLE"
if test "x$JAVAC_CHECK_EXECUTABLE" = x; then
BINARY="$JAVA_CHECK_EXECUTABLE"
fi
if test "x$BINARY" != x; then
# So there is a java(c) binary, it might be part of a JDK.
@@ -393,11 +395,9 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
# When compiling code to be executed by the Boot JDK, force compatibility with the
# oldest supported bootjdk.
OLDEST_BOOT_JDK=`$ECHO $DEFAULT_ACCEPTABLE_BOOT_VERSIONS \
OLDEST_BOOT_JDK_VERSION=`$ECHO $DEFAULT_ACCEPTABLE_BOOT_VERSIONS \
| $TR " " "\n" | $SORT -n | $HEAD -n1`
# -Xlint:-options is added to avoid "warning: [options] system modules path not set in conjunction with -source"
BOOT_JDK_SOURCETARGET="-source $OLDEST_BOOT_JDK -target $OLDEST_BOOT_JDK -Xlint:-options"
AC_SUBST(BOOT_JDK_SOURCETARGET)
AC_SUBST(OLDEST_BOOT_JDK_VERSION)
# Check if the boot jdk is 32 or 64 bit
if $JAVA -version 2>&1 | $GREP -q "64-Bit"; then
@@ -408,27 +408,6 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK],
AC_MSG_CHECKING([if Boot JDK is 32 or 64 bits])
AC_MSG_RESULT([$BOOT_JDK_BITS])
# Try to enable CDS
AC_MSG_CHECKING([for local Boot JDK Class Data Sharing (CDS)])
BOOT_JDK_CDS_ARCHIVE=$CONFIGURESUPPORT_OUTPUTDIR/classes.jsa
UTIL_ADD_JVM_ARG_IF_OK([-XX:+UnlockDiagnosticVMOptions -XX:-VerifySharedSpaces -XX:SharedArchiveFile=$BOOT_JDK_CDS_ARCHIVE],boot_jdk_cds_args,[$JAVA])
if test "x$boot_jdk_cds_args" != x; then
# Try creating a CDS archive
$JAVA $boot_jdk_cds_args -Xshare:dump > /dev/null 2>&1
if test $? -eq 0; then
BOOTJDK_USE_LOCAL_CDS=true
AC_MSG_RESULT([yes, created])
else
# Generation failed, don't use CDS.
BOOTJDK_USE_LOCAL_CDS=false
AC_MSG_RESULT([no, creation failed])
fi
else
BOOTJDK_USE_LOCAL_CDS=false
AC_MSG_RESULT([no, -XX:SharedArchiveFile not supported])
fi
BOOTJDK_SETUP_CLASSPATH
])
@@ -444,13 +423,8 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_ARGUMENTS],
# Force en-US environment
UTIL_ADD_JVM_ARG_IF_OK([-Duser.language=en -Duser.country=US],boot_jdk_jvmargs,[$JAVA])
if test "x$BOOTJDK_USE_LOCAL_CDS" = xtrue; then
# Use our own CDS archive
UTIL_ADD_JVM_ARG_IF_OK([$boot_jdk_cds_args -Xshare:auto],boot_jdk_jvmargs,[$JAVA])
else
# Otherwise optimistically use the system-wide one, if one is present
UTIL_ADD_JVM_ARG_IF_OK([-Xshare:auto],boot_jdk_jvmargs,[$JAVA])
fi
UTIL_ADD_JVM_ARG_IF_OK([-Xlog:all=off:stdout],boot_jdk_jvmargs,[$JAVA])
UTIL_ADD_JVM_ARG_IF_OK([-Xlog:all=warning:stderr],boot_jdk_jvmargs,[$JAVA])
# Finally append user provided options to allow them to override.
UTIL_ADD_JVM_ARG_IF_OK([$USER_BOOT_JDK_OPTIONS],boot_jdk_jvmargs,[$JAVA])
@@ -597,10 +571,9 @@ AC_DEFUN([BOOTJDK_SETUP_BUILD_JDK],
AC_ARG_WITH(build-jdk, [AS_HELP_STRING([--with-build-jdk],
[path to JDK of same version as is being built@<:@the newly built JDK@:>@])])
CREATE_BUILDJDK=false
EXTERNAL_BUILDJDK=false
BUILD_JDK_FOUND="no"
EXTERNAL_BUILDJDK_PATH=""
if test "x$with_build_jdk" != "x"; then
BUILD_JDK_FOUND=no
BOOTJDK_CHECK_BUILD_JDK([
if test "x$with_build_jdk" != x; then
BUILD_JDK=$with_build_jdk
@@ -608,40 +581,15 @@ AC_DEFUN([BOOTJDK_SETUP_BUILD_JDK],
AC_MSG_NOTICE([Found potential Build JDK using configure arguments])
fi
])
EXTERNAL_BUILDJDK=true
else
if test "x$COMPILE_TYPE" = "xcross"; then
BUILD_JDK="\$(BUILDJDK_OUTPUTDIR)/jdk"
BUILD_JDK_FOUND=yes
CREATE_BUILDJDK=true
if test "x$BUILD_JDK_FOUND" != "xyes"; then
AC_MSG_CHECKING([for Build JDK])
AC_MSG_RESULT([yes, will build it for the host platform])
else
BUILD_JDK="\$(JDK_OUTPUTDIR)"
BUILD_JDK_FOUND=yes
AC_MSG_CHECKING([for Build JDK])
AC_MSG_RESULT([yes, will use output dir])
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find a suitable Build JDK])
fi
EXTERNAL_BUILDJDK_PATH="$BUILD_JDK"
fi
# Since these tools do not yet exist, we cannot use UTIL_FIXUP_EXECUTABLE to
# detect the need of fixpath
JMOD="$BUILD_JDK/bin/jmod"
UTIL_ADD_FIXPATH(JMOD)
JLINK="$BUILD_JDK/bin/jlink"
UTIL_ADD_FIXPATH(JLINK)
AC_SUBST(JMOD)
AC_SUBST(JLINK)
if test "x$BUILD_JDK_FOUND" != "xyes"; then
AC_MSG_CHECKING([for Build JDK])
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not find a suitable Build JDK])
fi
AC_SUBST(CREATE_BUILDJDK)
AC_SUBST(BUILD_JDK)
AC_SUBST(EXTERNAL_BUILDJDK)
AC_SUBST(EXTERNAL_BUILDJDK_PATH)
])
# The docs-reference JDK is used to run javadoc for the docs-reference targets.

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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
@@ -44,7 +44,3 @@ JAVAC_CMD := $(FIXPATH) $(BOOT_JDK)/bin/javac
JAR_CMD := $(FIXPATH) $(BOOT_JDK)/bin/jar
# The bootcycle JVM arguments may differ from the original boot jdk.
JAVA_FLAGS_BIG := @BOOTCYCLE_JVM_ARGS_BIG@
# Any CDS settings generated for the bootjdk are invalid in the bootcycle build.
# By filtering out those JVM args, the bootcycle JVM will use its default
# settings for CDS.
JAVA_FLAGS := $(filter-out -XX:SharedArchiveFile% -Xshare%, $(JAVA_FLAGS))

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2025, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2021, Azul Systems, Inc. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
@@ -53,10 +53,10 @@ if [ "x$OUT" = x ]; then
fi
fi
# Test and fix cygwin on x86_64
echo $OUT | grep 86-pc-cygwin > /dev/null 2> /dev/null
# Test and fix cygwin/msys CPUs
echo $OUT | grep -e "-pc-cygwin" > /dev/null 2> /dev/null
if test $? != 0; then
echo $OUT | grep 86-pc-mingw > /dev/null 2> /dev/null
echo $OUT | grep -e "-pc-mingw" > /dev/null 2> /dev/null
fi
if test $? = 0; then
case `echo $PROCESSOR_IDENTIFIER | cut -f1 -d' '` in
@@ -64,6 +64,10 @@ if test $? = 0; then
REAL_CPU=x86_64
OUT=$REAL_CPU`echo $OUT | sed -e 's/[^-]*//'`
;;
ARMv8)
REAL_CPU=aarch64
OUT=$REAL_CPU`echo $OUT | sed -e 's/[^-]*//'`
;;
esac
fi

View File

@@ -1,7 +1,7 @@
# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
#
# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 2024, 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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 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
@@ -75,7 +75,8 @@ AC_DEFUN([BPERF_CHECK_MEMORY_SIZE],
FOUND_MEM=yes
elif test "x$OPENJDK_BUILD_OS" = xwindows; then
# Windows, but without cygwin
MEMORY_SIZE=`wmic computersystem get totalphysicalmemory -value | grep = | cut -d "=" -f 2-`
MEMORY_SIZE=`powershell -Command \
"(Get-CimInstance Win32_ComputerSystem).TotalPhysicalMemory" | $SED 's/\\r//g' `
MEMORY_SIZE=`expr $MEMORY_SIZE / 1024 / 1024`
FOUND_MEM=yes
fi
@@ -161,12 +162,7 @@ AC_DEFUN([BPERF_SETUP_CCACHE],
# Check if ccache is available
CCACHE_AVAILABLE=true
OLD_PATH="$PATH"
if test "x$TOOLCHAIN_PATH" != x; then
PATH=$TOOLCHAIN_PATH:$PATH
fi
UTIL_LOOKUP_PROGS(CCACHE, ccache)
PATH="$OLD_PATH"
UTIL_LOOKUP_TOOLCHAIN_PROGS(CCACHE, ccache)
AC_MSG_CHECKING([if ccache is available])
if test "x$TOOLCHAIN_TYPE" != "xgcc" && test "x$TOOLCHAIN_TYPE" != "xclang"; then

Some files were not shown because too many files have changed in this diff Show More