Compare commits

...

2566 Commits

Author SHA1 Message Date
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
Matthias Baesken
85fedbf668 8344607: Link Time Optimization - basic support for clang
Reviewed-by: lucy, jkern, ihse
2024-12-05 16:44:18 +00:00
Erik Joelsson
5a0899fc09 8345302: Building microbenchmarks require larger Java heap
Reviewed-by: shade, mcimadamore
2024-12-05 16:17:17 +00:00
Calvin Cheung
1ece4f9d93 8345514: Should use internal class name when calling ClassLoader.getResourceAsByteArray
Reviewed-by: iklam, matsaave
2024-12-05 15:40:12 +00:00
Kim Barrett
ef8da28487 8345591: [aarch64] macroAssembler_aarch64.cpp compile fails ceil_log2 not declared
Reviewed-by: coleenp, alanb, syan
2024-12-05 15:31:43 +00:00
Gerard Ziemski
7513b1378d 8328944: NMT reports "unknown" memory
Reviewed-by: jsjolen, coleenp
2024-12-05 15:28:30 +00:00
Alan Bateman
691e692149 8345565: Remove remaining SecurityManager motivated APIs from sun.reflect.util
Reviewed-by: mullan, rriggs, liach
2024-12-05 15:22:00 +00:00
Erik Gahlin
97b8a09bda 8345339: JFR: Missing javadoc for RecordingStream::onMetadata
Reviewed-by: nbenalla, liach
2024-12-05 14:50:30 +00:00
Thomas Stuefe
456c71d1ff 8343699: [aarch64] Bug in MacroAssembler::klass_decode_mode()
Reviewed-by: adinn, coleenp
2024-12-05 14:07:39 +00:00
Weijun Wang
308357cba7 8345578: New test in JDK-8343622 fails with a promoted build
Reviewed-by: mullan
2024-12-05 13:15:26 +00:00
Aleksey Shipilev
84240cc8e0 8344831: [REDO] CDS: Parallel relocation
Reviewed-by: dholmes, stuefe
2024-12-05 12:37:54 +00:00
Doug Lea
92e9ac6dc7 8345294: test/jdk/java/lang/Thread/virtual/RetryMonitorEnterWhenPinned.java timeout with JTREG_TEST_THREAD_FACTORY=Virtual
Reviewed-by: alanb
2024-12-05 12:15:58 +00:00
Martin Doerr
b42d79eb6a 8345146: [PPC64] Make intrinsic conversions between bit representations of half precision values and floats
Reviewed-by: rrich, lucy
2024-12-05 12:03:53 +00:00
Prasanta Sadhukhan
7ee84d8f70 8345566: Deproblemlist test/jdk/javax/swing/JComboBox/6559152/bug6559152.java
Reviewed-by: tr
2024-12-05 11:51:46 +00:00
Jaikiran Pai
01307a7baf 8341551: Revisit jdk.internal.loader.URLClassPath.JarLoader after JEP 486
Reviewed-by: dfuchs, lancea, rriggs, alanb
2024-12-05 11:19:38 +00:00
Christian Stein
bcd1018585 8344540: Remove superseded wildcard description from java manpage
Reviewed-by: dholmes, jpai
2024-12-05 10:15:05 +00:00
Raffaello Giulietti
f3807d6a84 8345403: Add more randomized tests to better cover FloatingDecimal parsing
Reviewed-by: darcy
2024-12-05 09:50:28 +00:00
Andrey Turbanov
3b7571d378 8345398: Avoid redundant Properties.containsKey call in Cursor.getSystemCustomCursor
Reviewed-by: aivanov, prr
2024-12-05 09:07:15 +00:00
Weijun Wang
ca46c3a5ba 8343622: AesDkCrypto.stringToKey should not return null
Reviewed-by: valeriep
2024-12-05 08:36:18 +00:00
Prasanta Sadhukhan
e46d822aeb 8345547: test/jdk/javax/swing/text/DefaultEditorKit/4278839/bug4278839.java fails in ubuntu22.04
Reviewed-by: abhiscxk
2024-12-05 07:29:42 +00:00
Robbin Ehn
2331782cf7 8345179: RISC-V: Add gtests for weak cmpxchg
Reviewed-by: fyang, mli
2024-12-05 07:25:05 +00:00
Ioi Lam
7c8cec186a 8345224: Test runtime/cds/appcds/applications/JavacBench.java#dynamic fails after JDK-8344822
Reviewed-by: matsaave, ccheung
2024-12-05 05:20:40 +00:00
Chris Plummer
77cfcee8a1 8345422: Fix JNI Checker "in native method" warnings in the debug agent and debugger tests
8344804: Test serviceability/jdwp/AllModulesCommandTest.java times out after JNI check warning

Reviewed-by: amenkov, dholmes
2024-12-05 03:33:50 +00:00
Amit Kumar
67a7b0049d 8345355: [s390x] support for z16 hardware
Reviewed-by: lucy, aph
2024-12-05 03:08:36 +00:00
Matias Saavedra Silva
9c3d3b9540 8345503: Test EnableNativeAccessCDS.java fails with TEST_THREAD_FACTORY=Virtual
Reviewed-by: lmesnik, iklam, syan
2024-12-05 02:32:03 +00:00
Weijun Wang
fb95a53944 8345533: Switch ML-DSA implementation to FIPS 204 final
Reviewed-by: bperez, jnimeh
2024-12-05 01:27:10 +00:00
Jaikiran Pai
63d095169a 8345153: Clean up SecurityManager references from jdk.compiler module
Reviewed-by: alanb, jlahoda, darcy
2024-12-05 01:24:29 +00:00
Archie Cobbs
7a0cc79668 8345438: Invalid error for return in early construction context lambda
Reviewed-by: vromero, mcimadamore
2024-12-04 23:17:54 +00:00
Archie Cobbs
bcebb0c53c 8341495: JShell crashes with java.util.MissingFormatArgumentException
Reviewed-by: jlahoda
2024-12-04 23:16:50 +00:00
Alexey Semenyuk
ba158edd81 8334319: Missing keys in jpackage resource bundle
Reviewed-by: naoto, almatvee
2024-12-04 22:41:55 +00:00
Stuart Marks
8a3c100c54 8344461: Additional cleanup in NewThreadAction
8344867: Cleanup unneeded qualified exports to java.rmi

Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Reviewed-by: rriggs
2024-12-04 22:34:51 +00:00
Ben Perez
f904480a49 8345512: Remove wrapper functions for intrinsics in PQC algorithms
Reviewed-by: weijun
2024-12-04 22:01:10 +00:00
Aleksei Efimov
8d19a560d0 8340359: Remove javax.naming.Context.APPLET
Reviewed-by: jpai
2024-12-04 21:37:53 +00:00
Patricio Chilano Mateo
c113f82f78 8343957: Rename ObjectMonitor::owner_from() and JavaThread::_lock_id
Reviewed-by: coleenp, dholmes
2024-12-04 21:25:38 +00:00
Brian Burkhalter
ea73e05852 8345181: (ch) Windows asynchronous channels may return temporary direct buffers to the buffer cache twice (win)
Reviewed-by: alanb, michaelm
2024-12-04 20:59:14 +00:00
Justin Lu
ee0f88c901 8341923: java.util.Locale class specification improvements
Reviewed-by: liach, naoto
2024-12-04 20:57:26 +00:00
Alex Menkov
a72cab8c47 8345148: Fix for JDK-8337317 is incomplete
Reviewed-by: lmesnik, cjplummer
2024-12-04 20:48:17 +00:00
Magnus Ihse Bursie
1a73c76d83 8345524: CHECK_FOR_FILES should properly handle directories
Reviewed-by: erikj
2024-12-04 20:43:47 +00:00
Brian Burkhalter
1d3dcdf2d6 8345433: (fs) Use stream to load FileTypeDetectors in Files.probeContentType
Reviewed-by: rriggs, alanb, aturbanov
2024-12-04 20:25:52 +00:00
Alexey Semenyuk
9740c1df6f 8333572: Update jpackage.md with info related to WiX v4 and v5 support
Reviewed-by: almatvee
2024-12-04 20:07:00 +00:00
Sean Mullan
de3a218a28 8345502: Remove doIntersectionPrivilege methods
Reviewed-by: weijun
2024-12-04 19:17:51 +00:00
Alexey Ivanov
faa109e8d4 8340580: Characters in Document diagrams not in the middle
Move text in Document-{insert,remove}.svg by 0.5 of pixel

Reviewed-by: azvegint, kizune
2024-12-04 18:52:07 +00:00
Ioi Lam
6aa7667e9d 8339535: JVM crashes with -Xshare:dump -XX:+SegmentedCodeCache
Reviewed-by: ccheung, dholmes, kvn
2024-12-04 18:45:35 +00:00
Jatin Bhateja
e1695f6c40 8345472: Fix incorrect format instruction for floating point max/min patterns
Reviewed-by: kvn
2024-12-04 18:27:37 +00:00
Magnus Ihse Bursie
baa6957b9b 8345507: Fix build of static launcher
Reviewed-by: erikj
2024-12-04 17:51:04 +00:00
Chen Liang
79eb77b782 8345486: Reevaluate the classes in java.lang.classfile.components package
Reviewed-by: mcimadamore, asotona
2024-12-04 17:30:01 +00:00
Aleksey Shipilev
f3b4350e0f 8345219: C2: x86_64 should not go to interpreter stubs for NaNs handling
Reviewed-by: epeter, kvn
2024-12-04 16:37:38 +00:00
Volkan Yazıcı
16ef6e2a18 8344229: Revisit SecurityManager usage in jdk.httpserver after JEP 486 integration
Reviewed-by: dfuchs
2024-12-04 15:38:17 +00:00
Prasanta Sadhukhan
923321cfb1 8345447: test/jdk/javax/swing/JToolBar/4529206/bug4529206.java fails in ubuntu22.04
Reviewed-by: abhiscxk
2024-12-04 15:35:27 +00:00
Prasanta Sadhukhan
6f30762356 8345468: test/jdk/javax/swing/JScrollBar/4865918/bug4865918.java fails in ubuntu22.04
Reviewed-by: abhiscxk
2024-12-04 15:34:11 +00:00
Aggelos Biboudis
6c1ed0bb69 8345474: Translation for instanceof is not triggered when patterns are not used in the compilation unit
Reviewed-by: mcimadamore
2024-12-04 14:32:47 +00:00
Kevin Walls
bd6d911cbe 8344177: Remove SecurityManager and related calls from java.management
Reviewed-by: dfuchs
2024-12-04 14:23:08 +00:00
Per Minborg
39cdadfb6a 8345186: Incorrect @throws doc for MemorySegment::getString
Reviewed-by: mcimadamore, jvernee
2024-12-04 14:17:00 +00:00
Alexey Ivanov
6fa5cea984 8341982: Simplify JButton/bug4323121.java
Reviewed-by: abhiscxk, honkar, dnguyen, achung
2024-12-04 13:29:53 +00:00
Sean Mullan
e13206d3a1 8345065: Cleanup DomainCombiner, SubjectDomainCombiner, Subject, and PrivilegedAction specifications
Reviewed-by: weijun
2024-12-04 12:44:23 +00:00
Aleksey Shipilev
4000e923e8 8343704: Bad GC parallelism with processing Cleaner queues
Reviewed-by: bchristi, vklang, ogillespie, kdnilsen
2024-12-04 11:36:23 +00:00
Aleksei Efimov
0c7451ae5a 8332686: InetAddress.ofLiteral can throw StringIndexOutOfBoundsException
Reviewed-by: dfuchs, jpai
2024-12-04 11:34:41 +00:00
Jan Lahoda
56d315da48 8343540: Report preview error for inherited effectively-preview methods
Reviewed-by: vromero
2024-12-04 09:47:40 +00:00
Fredrik Bredberg
994504c3e1 8329351: Add runtime/Monitor/TestRecursiveLocking.java for recursive Java monitor stress testing
Co-authored-by: Daniel D. Daugherty <dcubed@openjdk.org>
Reviewed-by: dcubed, coleenp, aboldtch
2024-12-04 09:32:33 +00:00
Jaikiran Pai
3d49665b85 8345286: Remove use of SecurityManager API from misc areas
Reviewed-by: alanb, kevinw, sgehwolf
2024-12-04 09:23:57 +00:00
Tom Rodriguez
38927fc590 8343213: TEST_BUG: [Graal] java/lang/ref/Basic.java fails
Reviewed-by: mchung
2024-12-04 08:31:55 +00:00
Matthias Baesken
cf1eb58d67 8344935: [ubsan]: javaThread.hpp:1241:52: runtime error: load of value 9831830, which is not a valid value for type 'freeze_result'
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Reviewed-by: rrich, pchilanomate
2024-12-04 08:11:33 +00:00
Matthias Baesken
943aa033ae 8345404: [ppc64le] ProblemList TestAllocOutOfMemory.java#large
Reviewed-by: mdoerr
2024-12-04 08:06:58 +00:00
Robbin Ehn
9e2b66fb0f 8345178: RISC-V: Add gtests for narrow cmpxchg
Reviewed-by: fyang, mli
2024-12-04 07:53:30 +00:00
Richard Reingruber
4c33caa185 8344609: Check ResourceMark nesting when allocating a GrowableArray on an alternative ResourceArea
Reviewed-by: dholmes, mdoerr
2024-12-04 07:26:34 +00:00
Jaikiran Pai
4b92816743 8345375: Improve debuggability of test/jdk/java/net/Socket/CloseAvailable.java
Reviewed-by: cstein, dfuchs
2024-12-04 06:36:54 +00:00
Jan Lahoda
e15912b804 8345248: Module name 'transitive' not accepted for requires transitive
Reviewed-by: vromero
2024-12-04 06:02:08 +00:00
Prasanta Sadhukhan
521ed72b87 8345357: test/jdk/javax/swing/JRadioButton/8033699/bug8033699.java fails in ubuntu22.04
Reviewed-by: abhiscxk
2024-12-04 04:28:06 +00:00
Joe Wang
447f8d4996 8345353: Test for JDK-8344800 W3C DTDs and XSDs in the built-in Catalog
Reviewed-by: rriggs, lancea
2024-12-04 03:48:24 +00:00
Amit Kumar
43b337eb43 8344304: [s390x] ubsan: negation of -2147483648 cannot be represented in type 'int'
Reviewed-by: lucy, dlong
2024-12-04 03:44:41 +00:00
Joe Wang
7ec36bb783 8343001: Adjust XSLT and XPath Extension Function Property
Reviewed-by: rriggs, lancea
2024-12-04 02:28:06 +00:00
Fei Yang
c143138a35 8345351: RISC-V: Rename macro-assembler routine cmpxchg_weak to weak_cmpxchg
Reviewed-by: rehn, mli
2024-12-04 01:45:16 +00:00
Chris Plummer
42378970e1 8345341: Fix incorrect log message in JDI stop002t test
Reviewed-by: amenkov, lmesnik
2024-12-04 00:15:30 +00:00
Weijun Wang
82e8aa62de 8345415: Rollback JDK-8301991 change on xmlsecurity_de.properties
Reviewed-by: mullan
2024-12-03 22:41:47 +00:00
Severin Gehwolf
05ee562a38 8343839: Detect patched modules and abort run-time image link early
Reviewed-by: mchung
2024-12-03 20:41:48 +00:00
Leonid Mesnik
0664b51765 8344987: Test serviceability/sa/TestJhsdbJstackPrintVMLocks.java fails: NoClassDefFoundError: jdk/test/lib/Utils
Reviewed-by: cjplummer
2024-12-03 20:32:36 +00:00
Jorn Vernee
157a4341f7 8345389: Bump missed copyright years for JDK-8336768
Reviewed-by: pminborg
2024-12-03 19:58:01 +00:00
Francisco Ferrari Bihurriet
a49f0776eb 8345221: Replace legacy with new Provider APIs in SunNativeGSS
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@openjdk.org>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: weijun
2024-12-03 18:44:31 +00:00
Dmitry Markov
2be07b5f9d 8324491: Keyboard layout didn't keep its state if it was changed when dialog was active
Reviewed-by: aivanov, azvegint
2024-12-03 18:37:27 +00:00
Damon Nguyen
f37f64df8c 8343736: Test java/awt/Focus/UnaccessibleChoice/AccessibleChoiceTest.java failed: Choice can't be controlled by keyboard
Reviewed-by: honkar, abhiscxk
2024-12-03 18:18:13 +00:00
Harshitha Onkar
73b8b34a8c 8344368: IndependenceSwingTest.java and IndependenceAWTTest.java failed: Selected text & clipboard contents differs
Reviewed-by: azvegint, dnguyen, prr, kizune
2024-12-03 17:37:16 +00:00
Justin Lu
9267dfa63b 8344589: Update IANA Language Subtag Registry to Version 2024-11-19
Reviewed-by: iris, lancea, naoto
2024-12-03 17:16:09 +00:00
Dean Long
293323c3e2 8340141: C1: rework ciMethod::equals following 8338471
Reviewed-by: kvn, vlivanov
2024-12-03 17:05:49 +00:00
Chen Liang
76e874c08e 8345319: Fix the tag type in PoolEntry and AnnotationValue
Reviewed-by: asotona
2024-12-03 16:59:57 +00:00
Roman Kennke
e9f6ba0526 8345293: Fix generational Shenandoah with compact headers
Reviewed-by: shade, stuefe, ysr
2024-12-03 16:45:50 +00:00
Kim Barrett
e1910f2d19 8345397: Remove <cstdio> from g1HeapRegionRemSet.cpp
Reviewed-by: shade
2024-12-03 16:31:05 +00:00
Aleksey Shipilev
3c60f0b2bb 8345296: AArch64: VM crashes with SIGILL when prctl is disallowed
Reviewed-by: eastigeevich, phh, aph
2024-12-03 16:28:41 +00:00
Brian Burkhalter
3eaa7615cd 8342086: FileInputStream.available() fails with "Incorrect function" for "nul" path (win)
Reviewed-by: alanb
2024-12-03 16:19:51 +00:00
Matias Saavedra Silva
60bd73a595 8342089: Require --enable-native-access to be the same between CDS dump time and run time
Reviewed-by: ccheung, dholmes
2024-12-03 16:18:38 +00:00
Viktor Klang
2be27e1545 8345393: ProblemList java/util/concurrent/locks/StampedLock/OOMEInStampedLock.java on generic-all JTREG_TEST_THREAD_FACTORY=Virtual
Reviewed-by: alanb
2024-12-03 15:56:32 +00:00
Coleen Phillimore
ba5093935d 8341649: Regressions with large metaspace apps after 8338526
Reviewed-by: liach, stuefe
2024-12-03 15:44:00 +00:00
Alexey Ivanov
caf053b3ad 8337287: Update image in javax.swing.text.Document.insert
Reviewed-by: serb, prr, abhiscxk
2024-12-03 15:05:13 +00:00
Alexey Ivanov
8647c00114 8342602: Remove JButton/PressedButtonRightClickTest test
Reviewed-by: dnguyen, prr
2024-12-03 15:00:47 +00:00
Roger Riggs
fcf185c8b4 8345325: SM cleanup of GetPropertyAction in java.base
Reviewed-by: alanb, lancea, naoto, mchung
2024-12-03 14:59:30 +00:00
Per Minborg
eac00f6d11 8345396: Fix headers after JDK-8345164
Reviewed-by: rriggs
2024-12-03 14:32:22 +00:00
Per Minborg
dfa5620ff3 8345164: Remove residual --enable-preview in FFM tests and benchmarks
Reviewed-by: mcimadamore, jvernee
2024-12-03 13:32:48 +00:00
Daniel Skantz
65b5a2e3e4 8345158: IGV: local scheduling should not place successors before predecessors
Reviewed-by: rcastanedalo, chagedorn
2024-12-03 13:32:28 +00:00
Jorn Vernee
8cad0431ff 8336768: Allow captureCallState and critical linker options to be combined
Reviewed-by: mcimadamore
2024-12-03 12:28:17 +00:00
Axel Boldt-Christmas
63af2f42b7 8344414: ZGC: Another division by zero in rule_major_allocation_rate
Reviewed-by: eosterlund, stefank
2024-12-03 10:42:23 +00:00
Eirik Bjørsnøs
077b8422bb 8345074: java.net.InterfaceAddress constructor could be made private
Reviewed-by: jpai
2024-12-03 09:53:37 +00:00
Aggelos Biboudis
ec93cc5098 8343932: Error when parsing qualified generic type test pattern in switch
Reviewed-by: jlahoda
2024-12-03 09:18:58 +00:00
Nizar Benalla
c330b90b9f 8343780: Add since checker tests to the Tools area modules and add missing @since to jdk.jfr
Reviewed-by: cstein, egahlin
2024-12-03 09:06:07 +00:00
Per Minborg
8dada7373f 8345120: A likely bug in StringSupport::chunkedStrlenShort
Reviewed-by: mcimadamore
2024-12-03 08:28:04 +00:00
Andrey Turbanov
659f70b370 8343418: Unnecessary Hashtable usage in CSS.htmlAttrToCssAttrMap
Reviewed-by: honkar, aivanov
2024-12-03 07:26:01 +00:00
Alan Bateman
5c8cb2edcb 8337199: Add jcmd Thread.vthread_scheduler and Thread.vthread_pollers diagnostic commands
Reviewed-by: dholmes, kevinw
2024-12-03 07:24:46 +00:00
Volkan Yazıcı
3eb5461578 8343791: Socket.connect API should document whether the socket will be closed when hostname resolution fails or another error occurs
Reviewed-by: dfuchs, alanb
2024-12-03 06:59:06 +00:00
Kim Barrett
4ac2e477b9 8343800: Cleanup definition of NULL_WORD
Reviewed-by: dholmes, kvn
2024-12-03 04:54:51 +00:00
Amit Kumar
a3b58ee5cd 8339983: [s390x] secondary_super_cache does not scale well: C1 and interpreter
Reviewed-by: lucy, aph
2024-12-03 04:06:39 +00:00
Prasanta Sadhukhan
e023addf70 8345297: test/jdk/javax/swing/Action/8133039/bug8133039.java fails in ubuntu22.04
Reviewed-by: azvegint
2024-12-03 03:19:10 +00:00
Jaikiran Pai
40ae469962 8235786: Javadoc for com/sun/net/httpserver/HttpExchange.java#setAttribute is unclear
Reviewed-by: dfuchs, michaelm
2024-12-03 02:36:14 +00:00
Jaikiran Pai
24983dd4c1 7038838: Unspecified NPE in java.net.IDN methods
Reviewed-by: liach, dfuchs
2024-12-03 02:34:20 +00:00
Phil Race
325366ee1d 8345141: Remove uses of SecurityManager in ShellFolder related classes
Reviewed-by: azvegint, honkar
2024-12-03 02:32:17 +00:00
Jaikiran Pai
d88c7b365a 8345279: Mistake in javadoc of javax.sql.rowset.BaseRowSet#setBigDecimal
Reviewed-by: darcy, lancea, iris
2024-12-03 02:31:26 +00:00
Phil Race
3f6c04247f 8345143: Remove uses of SecurityManager in the java.desktop module
Reviewed-by: azvegint, honkar
2024-12-03 00:12:50 +00:00
Chen Liang
5958463cad 8343377: Performance regression in reflective invocation of native methods
Reviewed-by: mchung
2024-12-02 23:49:57 +00:00
Ioi Lam
68b1b94d1b 8344904: Interned strings in old classes are not stored in CDS archive
Reviewed-by: dholmes, ccheung
2024-12-02 22:55:53 +00:00
William Kemper
1997e89ddf 8345346: Shenandoah: Description of ShenandoahGCMode still refers to incremental update mode
Reviewed-by: ysr
2024-12-02 22:54:53 +00:00
Joe Wang
3a3bcd53d0 8344800: Add W3C DTDs and XSDs to the JDK built-in Catalog
Reviewed-by: lancea, rriggs
2024-12-02 22:26:20 +00:00
Sean Mullan
940aa7c4cf 8344397: Remove Security Manager dependencies from java.security and sun.security packages
Reviewed-by: rriggs, hchao, weijun, alanb
2024-12-02 21:30:53 +00:00
David Holmes
3d0d0e6290 8345012: os::build_agent_function_name potentially wastes a byte when allocating the buffer
Reviewed-by: stuefe, shade
2024-12-02 20:54:58 +00:00
Joe Darcy
525f33baae 8345324: Update comment in SourceVersion for language evolution history for changes in 24
Reviewed-by: iris
2024-12-02 19:43:47 +00:00
Weijun Wang
d6a5f1bafb 8344768: Consider removing "sun.security.krb5.autodeducerealm" system property
Reviewed-by: mullan
2024-12-02 19:30:16 +00:00
Aleksey Shipilev
7c944ee6f4 8345172: x86: Some CPU feature asserts are declared as 32-bit only
Reviewed-by: dfenacci, kvn
2024-12-02 17:34:49 +00:00
Phil Race
67f18cc9ce 8345142: Remove uses of SecurityManager in Printing related classes
Reviewed-by: azvegint, psadhukhan
2024-12-02 17:31:21 +00:00
Naoto Sato
352201ddec 8343788: Provide means to alter lib/tzmappings entries on Windows
Reviewed-by: joehw
2024-12-02 17:05:32 +00:00
Jatin Bhateja
29c57e8b34 8342677: Add IR validation tests for newly added saturated vector add / sub operations
Reviewed-by: epeter
2024-12-02 16:55:33 +00:00
Sean Mullan
30b8bbe255 8345060: Remove Security Manager dependencies from java.security.KeyStore and Identity APIs and implementations
Reviewed-by: hchao, alanb, weijun
2024-12-02 15:23:47 +00:00
Magnus Ihse Bursie
1ca764454b 8339480: Build static-jdk image with a statically linked launcher
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Co-authored-by: Jiangli Zhou <jiangli@openjdk.org>
Reviewed-by: dholmes, erikj, coleenp
2024-12-02 15:12:24 +00:00
Magnus Ihse Bursie
d589bafee3 8345218: Clean out references to windows-x86 in jib profiles
Reviewed-by: shade, dholmes, kbarrett, jwaters
2024-12-02 14:22:37 +00:00
Doug Simon
b8233989e7 8345267: Fix memory leak in JVMCIEnv dtor
Reviewed-by: simonis, kbarrett
2024-12-02 13:56:30 +00:00
Robbin Ehn
9a48e4d9d2 8345177: RISC-V: Add gtests for cmpxchg
Reviewed-by: fyang, mli
2024-12-02 13:14:20 +00:00
Volkan Yazıcı
e3b679a2f6 8345176: Add tests to verify java.net.Socket constructors close the socket on failure
Reviewed-by: dfuchs
2024-12-02 12:56:49 +00:00
Jan Lahoda
c7be41ee0c 8340133: Add concise usage message to the java executable
Reviewed-by: jpai, alanb, ihse, rriggs
2024-12-02 11:21:13 +00:00
Albert Mingkun Yang
0b0f83c01e 8345220: Serial: Refactor TenuredGeneration::promotion_attempt_is_safe
Reviewed-by: tschatzl, mli
2024-12-02 10:30:56 +00:00
Fei Yang
dfcbfb5a41 8345236: RISC-V: Remove revb_h_h_u and revb_h_w_u macro assembler routines
Reviewed-by: rehn, fjiang
2024-12-02 10:25:09 +00:00
Hannes Wallnöfer
ac2fede165 8344041: Re-enable external specs page
Reviewed-by: erikj, nbenalla, liach
2024-12-02 08:39:47 +00:00
Prasanta Sadhukhan
1c4c653168 8345247: Deproblemlist test/jdk/javax/swing/JRadioButton/8075609/bug8075609.java
Reviewed-by: abhiscxk
2024-12-02 08:14:50 +00:00
Thomas Schatzl
f5ebda4370 8345173: BlockLocationPrinter::print_location misses a ResourceMark
Reviewed-by: sjohanss, iwalulya
2024-12-02 06:32:43 +00:00
Nizar Benalla
c40b570b71 8343775: Add since checker tests to the security area modules
Reviewed-by: alanb
2024-12-01 22:59:54 +00:00
Amit Kumar
50b4cbd8a4 8345102: [s390x/ppc] ShowRegistersOnAssertTest.java fails after 8343756
Reviewed-by: mdoerr, mbaesken
2024-12-01 13:55:47 +00:00
William Kemper
28ae281b42 8337511: Implement JEP 404: Generational Shenandoah (Experimental)
Co-authored-by: Kelvin Nilsen <kdnilsen@openjdk.org>
Co-authored-by: Y. Srinivas Ramakrishna <ysr@openjdk.org>
Co-authored-by: Bernd Mathiske <bmathiske@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: rkennke, shade, phh
2024-11-29 20:53:07 +00:00
Nizar Benalla
029ace0a1b 8336041: Doccheck: the jfr command doesn't show the correct command-line options
Reviewed-by: dholmes
2024-11-29 18:25:44 +00:00
Aleksey Shipilev
2beb2b602b 8345234: Build system erroneously treats 32-bit x86 Zero as deprecated
Reviewed-by: ihse
2024-11-29 17:00:03 +00:00
Jonathan Lampérth
ed03f0d9d1 8345145: Display javap LineNumberTable and LocalVariableTable iff disassembled code output with -c or -v
Reviewed-by: mcimadamore, liach
2024-11-29 16:24:22 +00:00
Daniel Fuchs
e9136b5e08 8345223: Remove stray doPrivileged in java.base java.net and sun.net classes after JEP 486 integration
Reviewed-by: alanb, aefimov, michaelm
2024-11-29 15:58:57 +00:00
Tobias Holenstein
a80ccf2cd2 8345039: IGV: save user-defined node colors to XML
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: chagedorn, epeter, rcastanedalo
2024-11-29 15:21:39 +00:00
Tobias Holenstein
28b0f3eaa5 8343705: IGV: Interactive Node Moving in Hierarchical Layout
Reviewed-by: chagedorn, thartmann, rcastanedalo
2024-11-29 15:16:53 +00:00
Tobias Holenstein
4da7c35484 8314512: IGV: clean up hierarchical layout code
Reviewed-by: chagedorn, rcastanedalo
2024-11-29 13:53:18 +00:00
Volker Simonis
6bea1b6cf1 8344727: [JVMCI] Export the CompileBroker compilation activity mode for Truffle compiler control
Reviewed-by: dnsimon
2024-11-29 12:30:43 +00:00
Sharath TN
8858de393a 8338571: [TestBug] DefaultCloseOperation.java test not working as expected wrt instruction after JDK-8325851 fix
Reviewed-by: aivanov, dnguyen
2024-11-29 12:27:06 +00:00
Doug Lea
ece0401054 8345052: Harden StampedLock
Reviewed-by: alanb, vklang
2024-11-29 11:38:23 +00:00
Aleksey Shipilev
095e769f47 8345237: 32-bit Zero builds fail with assert(has_klass_gap()) failed: precondition
Reviewed-by: mli, jwaters, rkennke
2024-11-29 09:55:29 +00:00
Thomas Stuefe
1a7a184e41 8344293: Remove empty Test files left over from JDK-8305895
Reviewed-by: jsjolen, rkennke, shade
2024-11-29 09:54:40 +00:00
Per Minborg
f2c0d186ff 8344989: Test java/foreign/TestLinker.java failed with zero: IllegalStateException: libffi call failed with status: FFI_BAD_TYPEDEF
Reviewed-by: jvernee
2024-11-29 09:24:29 +00:00
Fei Yang
08d563ba15 8345110: RISC-V: Optimize and and clean up byte reverse assembler routines
Reviewed-by: mli, rehn
2024-11-29 07:50:14 +00:00
Aleksei Efimov
959fa4a1a3 8344299: SM cleanup in javax.naming modules
Reviewed-by: alanb, dfuchs
2024-11-28 17:43:27 +00:00
Eirik Bjørsnøs
43000a34d5 8345075: java.lang.module.ModuleDescriptor constructor could be made private
Reviewed-by: alanb
2024-11-28 17:38:07 +00:00
Kevin Walls
fd742af0b7 8344394: Remove SecurityManager and related calls from java.management.rmi
Reviewed-by: amenkov
2024-11-28 17:16:41 +00:00
Daniel Fuchs
3b21a298c2 8345175: Further cleanup in java.logging and jdk.internal.logger after JEP 486 integration
Reviewed-by: alanb, coffeys
2024-11-28 14:17:15 +00:00
Christian Hagedorn
7dc00d39b4 8345154: IGV: Show Parse and Assertion Predicate type as extra label
Reviewed-by: rcastanedalo
2024-11-28 13:58:14 +00:00
Johan Sjölen
1e086b1d73 8340103: Add internal set_flag function to VMATree
Reviewed-by: stuefe, azafari, gziemski
2024-11-28 13:15:10 +00:00
Štěpán Schejbal
db535c86bc 8313367: SunMSCAPI cannot read Local Computer certs w/o Windows elevation
Reviewed-by: weijun
2024-11-28 13:12:45 +00:00
Robbin Ehn
edfe28541a 8344306: RISC-V: Add zicond
Reviewed-by: fyang, luhenry, mli
2024-11-28 12:05:23 +00:00
Kevin Walls
d33ad07c32 8334493: Remove SecurityManager Permissions infrastructure from DiagnosticCommands
Reviewed-by: lmesnik, alanb, coleenp
2024-11-28 09:54:25 +00:00
Aleksey Shipilev
56f1e4ef05 8344093: Implement JEP 501: Deprecate the 32-bit x86 Port for Removal
Reviewed-by: ihse, simonis, dholmes
2024-11-28 09:35:51 +00:00
SendaoYan
d791f4b98d 8341585: Test java/foreign/TestUpcallStress.java should mark as /native
Reviewed-by: luhenry, pminborg
2024-11-28 09:29:49 +00:00
SendaoYan
e096660a18 8345043: [ASAN] methodMatcher.cpp report reading from a region of size 0 [-Werror=stringop-overread]
Reviewed-by: kbarrett, dholmes
2024-11-28 09:06:34 +00:00
Per Minborg
103338534f 8344967: Some tests in TestFill do not use the test parameter
Reviewed-by: jvernee
2024-11-28 07:59:48 +00:00
Jaikiran Pai
81c44e5eb4 8344908: URLClassPath should not propagate IllegalArgumentException when finding resources in classpath URLs
Reviewed-by: alanb
2024-11-28 07:54:00 +00:00
Quan Anh Mai
ce9d543eb1 8345119: Some java/foreign tests wrongly assume aligned memory
Reviewed-by: mcimadamore, jvernee
2024-11-28 06:57:51 +00:00
David Holmes
1a07d542ec 8343703: Symbol name cleanups after JEP 479
Reviewed-by: kbarrett, amenkov
2024-11-28 02:24:55 +00:00
Amit Kumar
a0df0a527f 8340731: Cleanup remaining IA64 references in hotspot code
Reviewed-by: dholmes, aph
2024-11-28 02:05:45 +00:00
Ioi Lam
8485cb1ca1 8344822: CDS BulkLoaderTest.java#dynamic fails with COH
Reviewed-by: dholmes, ccheung
2024-11-28 01:20:27 +00:00
Ioi Lam
f51363e027 8344913: Improve -Xlog:cds+map+oop logging for Java mirrors
Reviewed-by: dholmes, ccheung
2024-11-28 01:15:15 +00:00
Phil Race
cf5ee0bda2 8342280: Deprecate for removal java.awt.AWTPermission
Reviewed-by: azvegint, kizune
2024-11-27 22:10:25 +00:00
Phil Race
8ad0b2afe3 8345001: java/awt/doc-files/FocusSpec.html has SecurityManager references
Reviewed-by: azvegint, kizune
2024-11-27 22:10:07 +00:00
Ioi Lam
f6d29909bb 8344824: CDS dump crashes when member_method of a lambda proxy is null
Reviewed-by: ccheung, matsaave
2024-11-27 20:10:28 +00:00
Casper Norrbin
15378a7853 8345126: [BACKOUT] JDK-8318127: align_up has potential overflow
Reviewed-by: iklam
2024-11-27 19:51:17 +00:00
Aleksei Efimov
880f9a7b16 8344220: Remove calls to SecurityManager and doPrivileged in java.net.InetAddress and sun.net.util.IPAddressUtil after JEP 486 integration
Reviewed-by: jpai, dfuchs, alanb
2024-11-27 19:25:50 +00:00
Phil Race
9527586923 8345073: Remove SecurityManager checks from sun.awt.image classes
Reviewed-by: azvegint, honkar
2024-11-27 17:32:54 +00:00
Jonathan Lampérth
1e3a0fdb5d 8035271: Incorrect indentation of LineNumberTable/LocalVariableTable/Exception table/LocalVariableTypeTable/StackMapTable/RuntimeVisibleTypeAnnotations in verbose mode
Reviewed-by: liach, jvernee
2024-11-27 17:31:39 +00:00
Brian Burkhalter
0312694c46 8344882: (bf) Temporary direct buffers should not count against the upper limit on direct buffer memory
Reviewed-by: alanb
2024-11-27 16:14:03 +00:00
Volodymyr Paprotski
75f3ec77e4 8344766: AES/CTR slow at big payloads
Reviewed-by: ascarpino, jbhateja
2024-11-27 16:05:43 +00:00
Roger Riggs
35bd2f354e 8344555: SM cleanup - drop reflection filter of System.security field
Reviewed-by: mullan, mchung, liach
2024-11-27 15:40:48 +00:00
Nizar Benalla
a491564001 8342836: Automatically determine that a test in the docs test root is requested
Reviewed-by: ihse, erikj
2024-11-27 15:36:26 +00:00
Nizar Benalla
b89cba7517 8342808: Javadoc should add whitespace between type parameters
Reviewed-by: hannesw
2024-11-27 15:36:02 +00:00
Nizar Benalla
0b704a2279 8343239: Javadoc marks non-preview type as preview if it's the subtype of a preview type
Reviewed-by: liach, hannesw
2024-11-27 15:33:54 +00:00
Volkan Yazıcı
ac3bbf7ddc 8344856: Remove calls to SecurityManager and doPrivileged in sun.net.www.protocol.ftp.FtpURLConnection after JEP 486 integration
Reviewed-by: dfuchs
2024-11-27 13:49:51 +00:00
Per Minborg
a1473ec302 8294432: Add provisions to calculate hash values from MemorySegments
Reviewed-by: mcimadamore
2024-11-27 13:26:36 +00:00
Alexey Semenyuk
4a22c1fefc 8344770: Switch jpackage unit tests to use JUnit5
Reviewed-by: almatvee
2024-11-27 12:42:34 +00:00
Casper Norrbin
494806286f 8318127: align_up has potential overflow
Reviewed-by: kbarrett, dlong
2024-11-27 12:27:31 +00:00
Jorn Vernee
461ffafeba 8331735: UpcallLinker::on_exit races with GC when copying frame anchor
8343144: UpcallLinker::on_entry racingly clears pending exception with GC safepoints
8286875: ProgrammableUpcallHandler::on_entry/on_exit access thread fields from native

Reviewed-by: dholmes, eosterlund, aboldtch
2024-11-27 12:20:51 +00:00
Andrew Haley
eb0d1ce948 8344355: Register corruption in MacroAssembler::lookup_secondary_supers_table_var: x86-64 only
Reviewed-by: vlivanov, martin, dlong, asemenov
2024-11-27 10:27:58 +00:00
Fei Yang
82137db24d 8345047: RISC-V: Remove explicit use of AvoidUnalignedAccesses in interpreter
Reviewed-by: mli, fjiang
2024-11-27 10:26:09 +00:00
Emanuel Peter
b3986bdbdb 8344118: C2 SuperWord: add VectorThroughputForIterationCount benchmark
Reviewed-by: kvn, jbhateja, chagedorn
2024-11-27 09:15:57 +00:00
Abhishek Kumar
96388be1b5 8345004: [BACKOUT] GTK & Nimbus LAF: Tabbed pane's background color is not expected one when change the opaque checkbox.
Reviewed-by: psadhukhan, kizune
2024-11-27 08:24:01 +00:00
Alan Bateman
4ae6ce61ea 8344300: Implement JEP 499: Structured Concurrency (Fourth Preview)
Reviewed-by: vklang
2024-11-27 07:58:49 +00:00
Quan Anh Mai
57ee3ba7e1 8344912: Sharpen the return type of various internal methods in jdk.internal.foreign
Reviewed-by: mcimadamore
2024-11-27 07:35:51 +00:00
Kim Barrett
1f6144ef26 8345050: Fix -Wzero-as-null-pointer warning in MemPointer ctor
Reviewed-by: chagedorn, shade
2024-11-27 06:43:05 +00:00
David M. Lloyd
08c1f44eef 8341028: Do not use lambdas or method refs for verifyConstantPool
Reviewed-by: adinn, liach
2024-11-27 01:03:33 +00:00
Joe Wang
28c8729019 8343004: Adjust JAXP limits
Reviewed-by: lancea, rriggs
2024-11-26 22:59:49 +00:00
Valerie Peng
8c2b4f6271 8345057: ML_KEM NamedParameterSpec constants removed by ML-DSA integration
Reviewed-by: mullan, hchao
2024-11-26 21:08:57 +00:00
Vicente Romero
8389e24d38 8345058: Javac issues different error messages for the modifiers of the requires directive
Reviewed-by: mcimadamore
2024-11-26 20:53:12 +00:00
Yudi Zheng
8da6435d4d 8343693: [JVMCI] Override ModifiersProvider.isConcrete in ResolvedJavaType to be isArray() || !isAbstract()
Reviewed-by: never
2024-11-26 20:50:49 +00:00
Daniel Fuchs
7ae6069ee8 8344184: Remove sun.net.ResourceManager after JEP 486 integration
Reviewed-by: alanb
2024-11-26 20:47:56 +00:00
Phil Race
1d5587b887 8344256: Clean up obsolete code in java.desktop/share/classes/sun/awt/datatransfer/DataTransferer.java
Reviewed-by: azvegint, kizune
2024-11-26 20:11:52 +00:00
Harshitha Onkar
5e15415cb9 8344654: Some client tests still expect a SecurityManager after JEP486
Reviewed-by: prr, azvegint
2024-11-26 20:10:48 +00:00
Sonia Zaldana Calles
3689f3909e 8344013: "bad tag in log" assert with +LogCompilation +CITimeVerbose
Reviewed-by: chagedorn, dfenacci
2024-11-26 19:44:09 +00:00
Hannes Wallnöfer
9458a4355f 8318416: Superscript marks should use consistent font style
Reviewed-by: liach
2024-11-26 18:50:50 +00:00
Sean Mullan
c5de307284 8344992: Remove Security Manager dependencies from java.security.cert API and implementations
Reviewed-by: rriggs, hchao
2024-11-26 18:40:52 +00:00
Sean Mullan
65c98e577f 8344420: Remove Security Manager dependencies from javax.security package
Reviewed-by: alanb, rriggs, wetmore
2024-11-26 17:24:22 +00:00
Calvin Cheung
246552674c 8344821: Test CheckDefaultArchiveFile.java fails if classes_coh.jsa is not present
Reviewed-by: iklam, dholmes
2024-11-26 17:17:45 +00:00
Calvin Cheung
d752f19611 8343427: Class file load hook crashes on archived classes from multi-release JARs
Reviewed-by: dholmes, iklam
2024-11-26 17:14:00 +00:00
Roger Riggs
f1b5a6e66e 8344565: SM cleanup in jdk/internal and java/lang package private classes
Reviewed-by: alanb, mchung
2024-11-26 17:12:17 +00:00
Roger Riggs
d8a23373c6 8344895: SM cleanup of module java.xml
Reviewed-by: joehw
2024-11-26 17:08:45 +00:00
Marc R. Hoffmann
c329f97f32 8345015: Remove unused method lookup_time_t_function
Reviewed-by: alanb
2024-11-26 15:09:49 +00:00
Sean Mullan
86d527f987 8344949: javax.security.auth.Subject.SecureSet.writeObject does not do a security check anymore
Reviewed-by: alanb
2024-11-26 14:21:01 +00:00
Alan Bateman
f0b72f728d 8342380: Implement JEP 498: Warn upon Use of Memory-Access Methods in sun.misc.Unsafe
Reviewed-by: vklang, jpai
2024-11-26 12:28:55 +00:00
Per Minborg
fc2da15bce 8344419: Use StaticProperty in some JDK classes
Reviewed-by: alanb, rriggs
2024-11-26 12:07:26 +00:00
Doug Lea
3e509c8bd1 8344773: SM cleanup in ForkJoinPool
Reviewed-by: alanb
2024-11-26 11:44:29 +00:00
Hamlin Li
6da3ecd65d 8344960: RISC-V: fix TestFloatConversionsVectorNaN for COH and AlignVector
Reviewed-by: fyang, luhenry
2024-11-26 11:10:36 +00:00
Afshin Zafari
9291abc633 8342074: Fix runtime/Thread/TestAlwaysPreTouchStacks.java to be flagless or accept VM flags
Reviewed-by: gziemski, lmesnik
2024-11-26 11:08:34 +00:00
Markus Grönlund
0054bbed7f 8343756: CAN_SHOW_REGISTERS_ON_ASSERT for Windows
Reviewed-by: stuefe, jsjolen
2024-11-26 10:50:20 +00:00
Doug Simon
3a625f38aa 8344628: Test TestEnableJVMCIProduct.java run with virtual thread intermittent fails
Reviewed-by: syan, dlong, mli
2024-11-26 09:50:57 +00:00
Volkan Yazıcı
25dd51e4fc 8344222: Remove calls to SecurityManager and doPrivileged in java.net.HttpURLConnection, java.net.HttpConnectSocketImpl, and javax.net.HttpsURLConnection after JEP 486 integration
Reviewed-by: dfuchs, jpai
2024-11-26 09:35:31 +00:00
Albert Mingkun Yang
9793e73bc1 8344853: Parallel: Improve comments in psParallelCompact
Reviewed-by: sjohanss, zgu
2024-11-26 08:55:01 +00:00
Robbin Ehn
57d35f98f6 8344382: RISC-V: CASandCAEwithNegExpected fails with Zacas
Reviewed-by: fyang, mli
2024-11-26 08:51:55 +00:00
Roberto Castañeda Lozano
0105203575 8337660: C2: basic blocks with only BoxLock nodes are wrongly treated as empty
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: qamai, thartmann, kvn
2024-11-26 08:51:34 +00:00
Per Minborg
4e68d665be 8344954: Linker tests fails on BE platforms after JDK-8340205
Reviewed-by: mdoerr, amitkumar
2024-11-26 08:24:21 +00:00
Phil Race
ca81ab5ebc 8344994: Remove most uses of RuntimePermission checks in java.desktop
Reviewed-by: azvegint
2024-11-26 07:03:15 +00:00
Phil Race
43603ac2f9 8344894: Obsolete reference to checking permissions in java.awt.Composite
Reviewed-by: kizune, kcr, azvegint
2024-11-26 06:57:06 +00:00
Brent Christian
4d4cef800a 8344337: SecurityManager cleanup in java.prefs module
Reviewed-by: lancea, bpb, rriggs, iris
2024-11-26 01:17:37 +00:00
Phil Race
1c7f34d3dd 8345000: Remove last mentions of sun.awt.AWTPermissions
Reviewed-by: honkar, azvegint
2024-11-26 01:10:24 +00:00
Fei Yang
5e0d42b6a6 8344916: RISC-V: Misaligned access in array fill stub
Reviewed-by: rehn, mli
2024-11-26 01:01:17 +00:00
Jaikiran Pai
3326874f5f 8344857: Remove calls to SecurityManager and doPrivileged in SocketExceptions and URLJarFile in the sun.net package after JEP 486 integration
Reviewed-by: dfuchs, michaelm
2024-11-26 00:52:50 +00:00
Taizo Kurashige
48e3b6511a 8344275: tools/jpackage/windows/Win8301247Test.java fails on localized Windows platform
Reviewed-by: asemenyuk, almatvee
2024-11-25 23:23:03 +00:00
Alisen Chung
16232578d9 8339524: Clean up a few ExtendedRobot tests
Reviewed-by: honkar, aivanov, prr
2024-11-25 22:32:59 +00:00
Phil Race
027607968b 8344667: Remove most uses of AWT Permissions from the desktop module
Reviewed-by: azvegint, kizune
2024-11-25 22:16:07 +00:00
David Holmes
8de158aefe 8339134: Callers of Exceptions::fthrow should ensure exception message lengths avoid the INT_MAX limits of os::vsnprintf
Reviewed-by: coleenp, jsjolen
2024-11-25 19:55:26 +00:00
Roger Riggs
df2d4c1575 8344898: SM cleanup of java.base sun/util calendar, locale, cldr, and resources
Reviewed-by: naoto
2024-11-25 19:44:40 +00:00
Phil Race
4d898aa451 8344896: Remove obsolete checks for AWTPermission accessClipboard
Reviewed-by: azvegint
2024-11-25 19:31:22 +00:00
Christian Hagedorn
08dfc4a42e 8344213: Cleanup OpaqueLoop*Node verification code for Assertion Predicates
Reviewed-by: thartmann, epeter
2024-11-25 16:46:44 +00:00
Roger Riggs
593a5898f9 8344319: SM cleanup in jdk.dynalink module
Reviewed-by: attila
2024-11-25 16:46:19 +00:00
Naoto Sato
15ae8d02ee 8319993: Update Unicode Data Files to 16.0.0
8319992: Update ICU4J to Version 76.1

Reviewed-by: jlu, joehw, iris
2024-11-25 15:54:23 +00:00
Alan Bateman
a032de2904 8344577: Virtual thread tests are timing out on some macOS systems
Reviewed-by: jpai
2024-11-25 15:34:13 +00:00
Roger Riggs
4110d3925c 8344865: SM cleanup in sun/reflect/annotation
Reviewed-by: liach, jpai
2024-11-25 14:34:27 +00:00
Hamlin Li
133419177d 8334474: RISC-V: verify perf of ExpandBits/CompressBits (rvv)
Reviewed-by: fyang, rehn, luhenry
2024-11-25 13:54:44 +00:00
Kevin Walls
e29b0edc97 8344181: Remove SecurityManager and related calls from jdk.management and jdk.management.agent
Reviewed-by: amenkov, cjplummer
2024-11-25 13:50:58 +00:00
Roman Kennke
cb1c73663e 8344363: FullGCForwarding::initialize_flags is called after ObjLayout::initialize
Reviewed-by: stefank, shade, ayang
2024-11-25 13:48:02 +00:00
Adam Sotona
c6b14c62f6 8344841: ClassPrinter prints confusing value for null
Reviewed-by: liach
2024-11-25 13:45:34 +00:00
Sean Mullan
ddc8a9d5da 8344366: Remove Security Manager dependencies from javax.net.ssl and sun.security.ssl packages
Reviewed-by: coffeys, ascarpino, hchao
2024-11-25 13:10:59 +00:00
Alexander Zvegintsev
965aace297 8335468: [XWayland] JavaFX hangs when calling java.awt.Robot.getPixelColor
Reviewed-by: kcr, honkar
2024-11-25 11:11:28 +00:00
Emanuel Peter
811d08c0a4 8340010: Fix vectorization tests with compact headers
Reviewed-by: chagedorn, rkennke, mli
2024-11-25 10:39:36 +00:00
Daniel Fuchs
519bb268a0 8344217: Remove calls to SecurityManager and doPrivileged in java.net.DatagramSocket and java.net.NetMulticastSocket after JEP 486 integration
Reviewed-by: alanb, rriggs, jpai
2024-11-25 10:08:47 +00:00
Daniel Fuchs
d112f35d92 8344855: Remove calls to SecurityManager and doPrivileged in HTTP related implementation classes in the sun.net and sun.net.www.http packages after JEP 486 integration
Reviewed-by: jpai
2024-11-25 09:56:07 +00:00
Sebastian Lövdahl
da4b7a8c56 8341436: containers/docker/TestJcmdWithSideCar.java takes needlessly long to run
Reviewed-by: kevinw, lmesnik
2024-11-25 09:13:10 +00:00
Prasanta Sadhukhan
333a9973f1 8335231: [macos] Test java/awt/print/PrinterJob/Cancel/PrinterJobCancel.java failed on macOS because the case didn't get the expected PrintAbortException
Reviewed-by: tr, abhiscxk
2024-11-25 08:57:54 +00:00
Matthias Baesken
9576546b9c 8343698: Linux x86_64 lto build gives a lot of warnings and fails lto-wrapper: fatal error: make returned 2 exit status
Reviewed-by: ihse, jwaters
2024-11-25 07:57:13 +00:00
Per Minborg
68ba7ee5c8 8340205: Native linker allows MemoryLayout consisting of only PaddingLayout
Reviewed-by: jvernee, mcimadamore
2024-11-25 07:42:57 +00:00
Phil Race
6f622da7fb 8344923: Problem list on java/awt/Robot/ScreenCaptureRobotTest.java on macOS
Reviewed-by: dholmes
2024-11-25 03:33:17 +00:00
SendaoYan
8f08020fa4 8344903: Improve error handling TestJhsdbJstackPrintVMLocks.java
Reviewed-by: lmesnik, dholmes
2024-11-25 01:31:16 +00:00
Kim Barrett
a83cfe2658 8344917: Fix recent NULL usage backsliding
Reviewed-by: jsjolen
2024-11-24 17:10:31 +00:00
Damon Nguyen
6711e1327a 8344914: OOME in several tests since JDK-6672644 - JComboBox still scrolling
Reviewed-by: prr
2024-11-24 08:54:17 +00:00
Harshitha Onkar
a6220fa903 8344303: Remove usage of URLUtil.getConnectPermission from sun.awt.SunToolkit and sun.awt.image.URLImageSource
Reviewed-by: prr, azvegint
2024-11-24 06:22:45 +00:00
Phil Race
7be94d043d 8344891: Remove uses of sun.misc.ReflectUtil in java.desktop
Reviewed-by: kizune, azvegint
2024-11-23 23:20:15 +00:00
Stig Rohde Døssing
822a1554cb 8341427: JFR: Adjust object sampler span handling
Reviewed-by: egahlin
2024-11-23 15:58:39 +00:00
Jaikiran Pai
d00f31156a 8343150: Change URLClassLoader.getPermissions to return empty PermissionCollection
Reviewed-by: dfuchs, alanb, michaelm
2024-11-23 07:26:04 +00:00
Evgeny Nikitin
effee122dd 8344533: CTW: Add option to remove clinits before loading
Reviewed-by: thartmann, lmesnik
2024-11-23 03:55:58 +00:00
Alexey Semenyuk
70c4e2c0cc 8344587: Reduce number of "jdk.jpackage.internal" classes used from other packages
Reviewed-by: almatvee
2024-11-22 23:33:49 +00:00
Damon Nguyen
11147046aa 6672644: JComboBox still scrolling if switch to another window and return back
Reviewed-by: abhiscxk, psadhukhan
2024-11-22 19:29:41 +00:00
Leonid Mesnik
98b667834c 8343741: SA jstack --mixed should print information about VM locks
Reviewed-by: cjplummer
2024-11-22 19:21:09 +00:00
Harshitha Onkar
1b2d9cad53 8344881: Problemlist java/awt/Robot/InfiniteLoopException.java on Linux
Reviewed-by: prr, dnguyen
2024-11-22 19:16:54 +00:00
Sean Mullan
6aec2dcf76 8344788: Specify that the access control context parameters of Subject.doAsPrivileged are ignored
Reviewed-by: alanb
2024-11-22 19:14:02 +00:00
Sonia Zaldana Calles
079f503d96 8344568: Renaming ceil_log2 to log2i_ceil
Reviewed-by: kbarrett
2024-11-22 18:55:31 +00:00
Justin Lu
51763b6700 8344525: Fix leftover ExceptionOccurred in java.base
Reviewed-by: lbourges, alanb, naoto, iris
2024-11-22 18:18:22 +00:00
Phil Race
4b1653056d 8344795: Remove uses of AccessControlContext in java.desktop module
Reviewed-by: azvegint
2024-11-22 18:00:10 +00:00
Nizar Benalla
5154b71637 8343598: Since Checker can mark some preview elements as new even if bytecode reference is identical
Reviewed-by: hannesw
2024-11-22 17:59:12 +00:00
Ben Perez
8b98f958dc 8298387: Implement JEP 497: Quantum-Resistant Module-Lattice-Based Digital Signature Algorithm
Reviewed-by: jnimeh
2024-11-22 17:48:08 +00:00
Chris Plummer
21e0fb8648 8343529: serviceability/sa/ClhsdbWhere.java fails AssertionFailure: Corrupted constant pool
8307318: Test serviceability/sa/ClhsdbCDSJstackPrintAll.java failed: ArrayIndexOutOfBoundsException

Reviewed-by: kevinw, amenkov
2024-11-22 17:26:37 +00:00
Ben Perez
13987b4244 8298390: Implement JEP 496: Quantum-Resistant Module-Lattice-Based Key Encapsulation Mechanism
Co-authored-by: Ferenc Rakoczi <ferenc.r.rakoczi@oracle.com>
Reviewed-by: valeriep
2024-11-22 16:36:52 +00:00
Tobias Hartmann
6d3becb486 8344861: Disable CheckJNICalls in tests until JDK-8344802 is fixed
Reviewed-by: coleenp
2024-11-22 14:48:39 +00:00
Volkan Yazıcı
15dbb6a380 8344219: Remove calls to SecurityManager and doPrivileged in java.net.SocksSocketImpl after JEP 486 integration
Reviewed-by: dfuchs
2024-11-22 14:39:07 +00:00
Sean Mullan
9769ee8697 8344652: Remove access control context text from SSLEngine and SSLSession APIs
Reviewed-by: jnimeh
2024-11-22 13:18:26 +00:00
Aleksey Shipilev
82c3612d77 8344830: [BACKOUT] JDK-8341334: CDS: Parallel relocation
Reviewed-by: dholmes, jpai
2024-11-22 12:28:03 +00:00
Andrew Haley
64e4aa21a4 8339916: AIOOBE due to Math.abs(Integer.MIN_VALUE) in tests
Reviewed-by: shade
2024-11-22 12:09:30 +00:00
Raffaello Giulietti
bf374c33f5 8343453: Modernize FloatingDecimal tests
Reviewed-by: darcy
2024-11-22 11:41:04 +00:00
Tobias Hartmann
847f65c14a 8344844: ciReplay tests fail with -XX:+UseCompactObjectHeaders because CDS is disabled since JDK-8341553
Reviewed-by: epeter, rcastanedalo
2024-11-22 11:37:35 +00:00
Matthias Baesken
8903854e01 8344718: Test runtime/cds/appcds/jigsaw/addmods/AddmodsOption.java fails on Linuxppc64le after JDK-8344239
Reviewed-by: ccheung, mdoerr
2024-11-22 11:10:32 +00:00
Daniel Fuchs
a07b72bfcf 8344346: java/net/httpclient/ShutdownNow.java fails with java.lang.AssertionError: client was still running, but exited after further delay: timeout should be adjusted
Reviewed-by: jpai
2024-11-22 09:55:07 +00:00
Johan Sjölen
2ea0364b6e 8343893: Test jdk/jfr/event/runtime/TestNativeMemoryUsageEvents.java failed: heap should have grown and NMT should show that: expected 0 > 0
Reviewed-by: gziemski, mgronlun, lmesnik
2024-11-22 08:55:27 +00:00
Phil Race
50c099d69e 8344799: Remove permissions checks from java.awt.Desktop
Reviewed-by: azvegint
2024-11-22 04:00:46 +00:00
Prasanta Sadhukhan
e21d06f488 8344338: javax/swing/JTextArea/bug4265784.java fails on Ubuntu 24.04.1
Reviewed-by: achung, kizune
2024-11-22 03:07:26 +00:00
William Kemper
db44e97c5d 8344798: Shenandoah: Use more descriptive variable names in shPhaseTimings.cpp
Reviewed-by: ysr
2024-11-22 00:05:50 +00:00
Roger Riggs
c199f5326b 8344336: SM cleanup of java.lang.System, Runtime, String, StackWalker
Reviewed-by: dfuchs, alanb, lancea
2024-11-21 21:50:41 +00:00
Phil Race
0f458e2c3e 8342903: Deprecate for removal java.awt.Window.getWarningString()
Reviewed-by: kizune, erikj, azvegint
2024-11-21 21:24:46 +00:00
David Holmes
efeacfee01 8344646: The libjsig deprecation warning should go to stderr not stdout
Reviewed-by: mikael, cjplummer
2024-11-21 21:18:18 +00:00
Stuart Marks
2214906310 8272339: Update notes section from serialver man page
Reviewed-by: rriggs
2024-11-21 21:05:50 +00:00
Aleksei Efimov
cee74f9e67 8338536: Permanently disable remote code downloading in JNDI
Reviewed-by: dfuchs
2024-11-21 20:55:02 +00:00
Phil Race
7709d435d0 8344782: Cleanup left over doPrivileged calls and imports in java.desktop
Reviewed-by: honkar
2024-11-21 20:29:53 +00:00
Eirik Bjørsnøs
e03b1506d3 8178966: Don't swallow early bootstrap exceptions in Boolean.getBoolean, Integer.getInteger and Long.getLong
Co-authored-by: Peter Levart <plevart@openjdk.org>
Reviewed-by: jpai, rriggs
2024-11-21 20:04:39 +00:00
Volodymyr Paprotski
d6b40d3033 8344144: AES/CBC slow at big payloads
Reviewed-by: sviswanathan, abarashev, ascarpino
2024-11-21 19:17:57 +00:00
Coleen Phillimore
93d4ad4dd4 8344763: cpCache print_on doesn't handle nulls
Reviewed-by: matsaave
2024-11-21 18:26:23 +00:00
Jatin Bhateja
dc9a6ef610 8341137: Optimize long vector multiplication using x86 VPMUL[U]DQ instruction
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: vlivanov, sviswanathan
2024-11-21 18:13:32 +00:00
Roger Riggs
191b38e712 8344549: Cleanup AccessController in sun.misc.Unsafe
Reviewed-by: alanb
2024-11-21 18:03:12 +00:00
Vladimir Ivanov
78e5008e91 8317542: Specjvm::xml have scalability issue for high vCPU numbers
Reviewed-by: joehw
2024-11-21 17:59:28 +00:00
Vladimir Ivanov
4956a76621 8317538: Potential bottleneck in Provider::getService: specjvm2008::crypto.rsa have scalability issue for high vCPU numbers
Reviewed-by: ascarpino
2024-11-21 17:54:45 +00:00
Sean Mullan
6113fa7503 8344248: Remove Security Manager dependencies from java.security.jgss and jdk.security.jgss modules
Reviewed-by: ascarpino
2024-11-21 17:45:04 +00:00
Abhishek Kumar
395e404666 8344066: Remove SecurityManager uses from the jdk.accessibility module
Reviewed-by: prr
2024-11-21 17:39:44 +00:00
Alan Bateman
dfa18fe6b3 8344328: (dc) DatagramChannelImpl.blockingReceive can now synchronize on packet
Reviewed-by: dfuchs, jpai
2024-11-21 16:25:43 +00:00
Brian Burkhalter
87be63f85d 8344659: Some uses of GetPropertyAction were not removed from java.io and java.nio
Reviewed-by: lancea, rriggs, iris, dfuchs
2024-11-21 16:18:16 +00:00
Brian Burkhalter
aaf3df7bb8 8343823: (fs) Files.createLink: inconsistent behavior when creating link to symbolic link
Reviewed-by: alanb
2024-11-21 16:17:58 +00:00
Phil Race
eef156180c 8344569: SwingUtilities2.makeIcon_Unprivileged is obsolete
Reviewed-by: psadhukhan
2024-11-21 16:02:28 +00:00
Artur Barashev
882d635807 8245545: Disable TLS_RSA cipher suites
Reviewed-by: mullan
2024-11-21 14:14:30 +00:00
Coleen Phillimore
8f22db23a5 8330606: Redefinition doesn't but should verify the new klass
Reviewed-by: dholmes, jsjolen
2024-11-21 12:14:23 +00:00
Daniel Fuchs
a62279ca0a 8344235: Revisit SecurityManager usage in java.logging after JEP 486 and JEP 491 integration
Reviewed-by: jpai
2024-11-21 11:54:28 +00:00
Doug Lea
18df6fd5ba 8336707: Contention of ForkJoinPool grows when stealing works
Reviewed-by: vklang
2024-11-21 11:50:46 +00:00
Axel Boldt-Christmas
f2b10c6c22 8340422: ZGC: TestAllocateHeapAt.java should not run with transparent hugepages
Reviewed-by: stefank, jsikstro
2024-11-21 09:54:25 +00:00
Galder Zamarreño
5ccd5106e0 8326369: Add test to verify bimorphic inlining happens after morphism changes
Reviewed-by: thartmann, epeter
2024-11-21 09:48:08 +00:00
Richard Reingruber
93aa7e2fcf 8328085: C2: Use after free in PhaseChaitin::Register_Allocate()
Reviewed-by: thartmann, mdoerr
2024-11-21 06:57:09 +00:00
Jaikiran Pai
10def484df 8344236: Revisit SecurityManager usage in jdk.net after JEP 486 integration
Reviewed-by: dfuchs
2024-11-21 05:01:52 +00:00
Phil Race
7105bb98cf 8344664: Remove some un-used java/sun.security imports in the java.desktop module
Reviewed-by: iris
2024-11-21 04:22:27 +00:00
Phil Race
a01aa22026 8342281: Deprecate for removal javax.sound.sampled.AudioPermission
Reviewed-by: honkar, kizune
2024-11-21 03:58:49 +00:00
SendaoYan
4fbf272017 8344526: RISC-V: implement -XX:+VerifyActivationFrameSize
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: mli, fyang
2024-11-21 02:05:00 +00:00
Leonid Mesnik
13439113c3 8340334: Update jcmd VM.events max parameter to be INT
Reviewed-by: cjplummer, kevinw
2024-11-21 01:32:09 +00:00
Jaikiran Pai
400eb9b10a 8344524: Remove SecurityManager related code from jdk.jlink module
Reviewed-by: alanb, lancea, iris
2024-11-21 00:55:23 +00:00
Jaikiran Pai
a599c30171 8344471: Remove SecurityManager related code from java.compiler module
Reviewed-by: rriggs, jlahoda, jjg
2024-11-21 00:49:25 +00:00
Harshitha Onkar
b9bf447209 8344057: Remove doPrivileged calls from unix platform sources in the java.desktop module
Reviewed-by: prr
2024-11-20 20:28:12 +00:00
Dr Heinz M. Kabutz
da2d7a09f9 8344595: State transitions in internal VirtualThread comment needs to be updated
Reviewed-by: alanb
2024-11-20 20:01:37 +00:00
Phil Race
22a39dc858 8344064: Remove doPrivileged calls from print/imageio/media classes in the java.desktop module
Reviewed-by: kizune
2024-11-20 18:45:49 +00:00
Phil Race
27fda0ea1f 8344578: Clean up left over java.security and sun.security imports in Swing classes
Reviewed-by: psadhukhan
2024-11-20 18:38:08 +00:00
Alexey Semenyuk
080f1cc8cd 8289771: jpackage: ResourceEditor error when path is overly long on Windows
Reviewed-by: almatvee
2024-11-20 16:54:51 +00:00
Brian Burkhalter
c4c6b1fe06 8344562: Remove security manager dependency from module jdk.jdi
Reviewed-by: kevinw, lmesnik, cjplummer
2024-11-20 16:01:01 +00:00
Calvin Cheung
9be8ac6fbc 8344239: runtime/cds/appcds/jigsaw/addmods/AddmodsOption.java fails on x64 with -Xmixed
Reviewed-by: iklam
2024-11-20 15:41:26 +00:00
Daniel Lundén
7d4c3fd091 8331295: C2: Do not clone address computations that are indirect memory input to at least one load/store
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: thartmann, chagedorn
2024-11-20 15:37:43 +00:00
Emanuel Peter
75420e9314 8334431: C2 SuperWord: fix performance regression due to store-to-load-forwarding failures
Reviewed-by: chagedorn, qamai
2024-11-20 14:23:57 +00:00
David M. Lloyd
e11d126a8d 8333796: Add missing serialization functionality to sun.reflect.ReflectionFactory
Reviewed-by: liach, rriggs
2024-11-20 14:17:28 +00:00
Volkan Yazıcı
21f0ed50a2 8344215: Remove calls to SecurityManager and doPrivileged in java.net.Socket and java.net.ServerSocket after JEP 486 integration
Reviewed-by: dfuchs, alanb, jpai
2024-11-20 13:59:52 +00:00
Vlad Zahorodnii
4bc826ac1e 8342785: XWindowPeer::getNewLocation() adheres to ICCCM 4.1.5 only with some WMs
Reviewed-by: prr, azvegint
2024-11-20 13:38:08 +00:00
Jaikiran Pai
db7ee3dad1 8344223: Remove calls to SecurityManager and doPrivileged in java.net.URLClassLoader after JEP 486 integration
Reviewed-by: alanb, yzheng
2024-11-20 12:41:39 +00:00
Jaikiran Pai
6f4dfa6626 8344190: Cleanup code in sun.net.www.protocol.http and sun.net.www.protocol.https after JEP 486 integration
Reviewed-by: dfuchs
2024-11-20 12:29:32 +00:00
Coleen Phillimore
7bb4474d81 8344579: Clean up forward declarations and includes
Reviewed-by: stefank
2024-11-20 12:22:43 +00:00
Coleen Phillimore
21b8749bfd 8344479: Declare MetaspaceObj::operator delete to be deleted
Reviewed-by: stefank, kbarrett, jwaters
2024-11-20 12:21:41 +00:00
Robbin Ehn
ea7e722ca0 8344010: RISC-V: Zacas do not work with LW locking
Reviewed-by: fyang, mli
2024-11-20 12:05:53 +00:00
David Holmes
e2f8f1aded 8344621: ProblemList runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java
Reviewed-by: jpai
2024-11-20 11:51:52 +00:00
Xiaolong Peng
afee7405bd 8343541: C1: Plain memory accesses are emitted with membars with +AlwaysAtomicAccesses
Reviewed-by: shade, vlivanov
2024-11-20 10:34:07 +00:00
Aggelos Biboudis
3a4a9b7af7 8340145: Problem with generic pattern matching results in internal compiler error
Reviewed-by: jlahoda
2024-11-20 10:29:45 +00:00
Jan Lahoda
cf158bc6cd 8341631: JShell should auto-import java.io.IO.*
Reviewed-by: asotona, cstein
2024-11-20 09:24:05 +00:00
Prasanta Sadhukhan
5b12a87dcb 8344060: Remove doPrivileged calls from shared implementation code in the java.desktop module : part 1
Reviewed-by: aivanov, prr
2024-11-20 09:11:12 +00:00
Hamlin Li
587f2b4b4d 8343827: RISC-V: set AlignVector as false if applicable to enable SLP
Reviewed-by: fyang, luhenry
2024-11-20 08:49:35 +00:00
Amit Kumar
189fc8ddef 8344381: [s390x] Test failures with error: Register type is not known
Reviewed-by: mdoerr, lucy
2024-11-20 08:25:37 +00:00
Archie Cobbs
8a1f9f0a32 8343476: Remove unnecessary @SuppressWarnings annotations (client)
Reviewed-by: prr
2024-11-20 01:57:03 +00:00
SendaoYan
4ddd3dec2d 8344356: Aarch64: implement -XX:+VerifyActivationFrameSize
Reviewed-by: aph
2024-11-20 01:36:56 +00:00
Guoxiong Li
bc7eabd7e4 8344350: Add '.gdbinit' and '.lldbinit' to file '.gitignore'
Reviewed-by: ihse, erikj
2024-11-20 01:09:05 +00:00
Joe Darcy
f525290000 8341935: javac states that -proc:full is the default but the default as of 23 is -proc:none
Reviewed-by: jlahoda
2024-11-20 00:06:24 +00:00
Calvin Cheung
acdbf83325 8341553: Remove UseCompactObjectHeaders extra CDS archives
Reviewed-by: erikj, iklam, coleenp
2024-11-19 23:37:34 +00:00
Brian Burkhalter
81e43114ec 8344077: Remove security manager dependency in java.io
Reviewed-by: rriggs, alanb, naoto, lancea
2024-11-19 20:30:22 +00:00
Brian Burkhalter
f6f73ce70d 8344446: Remove security manager dependency from module jdk.sctp
Reviewed-by: mullan, alanb
2024-11-19 20:30:02 +00:00
Laurent Bourgès
aac1f9af01 8341793: Fix ExceptionOccurred in jdk.accessibility
Reviewed-by: prr, avu
2024-11-19 20:28:58 +00:00
Xiaolong Peng
cd45ba32f0 8342041: Test gc/shenandoah/oom/TestClassLoaderLeak.java slow on Windows after JDK-8340490
Reviewed-by: shade, wkemper
2024-11-19 20:18:54 +00:00
Phil Race
69c9f2566e 8344061: Remove doPrivileged calls from shared implementation code in the java.desktop module : part 2
Reviewed-by: aivanov
2024-11-19 19:35:28 +00:00
Sonia Zaldana Calles
3328b4ecf2 8343700: ceil_log2 should not loop endlessly
Reviewed-by: shade, kbarrett, aph, stuefe
2024-11-19 19:13:09 +00:00
Stuart Marks
6a5256ec04 8344149: Remove usage of Security Manager from java.rmi
Reviewed-by: rriggs, kevinw, aefimov
2024-11-19 18:58:23 +00:00
Chris Plummer
0b1f57105d 8253440: serviceability/sa/TestJhsdbJstackLineNumbers.java failed with "Didn't find enough line numbers"
Reviewed-by: kevinw, lmesnik
2024-11-19 18:58:00 +00:00
Larry Cable
93e889b48c 8342449: reimplement: JDK-8327114 Attach in Linux may have wrong behavior when pid == ns_pid
Reviewed-by: kevinw
2024-11-19 18:45:45 +00:00
Renjith Kannath Pariyangad
bb7a8403ba 8342541: Exclude List/KeyEventsTest/KeyEventsTest.java from running on macOS
Reviewed-by: aivanov, prr
2024-11-19 18:19:28 +00:00
Archie Cobbs
087a07b5ed 8343479: Remove unnecessary @SuppressWarnings annotations (hotspot)
Reviewed-by: chagedorn, epeter
2024-11-19 17:43:48 +00:00
Alexey Ivanov
02ec8ca2d6 8342508: Use latch in BasicMenuUI/bug4983388.java instead of delay
Reviewed-by: azvegint, abhiscxk, serb
2024-11-19 17:15:46 +00:00
naveen.n.narayanan
47ebf8d868 8342098: Write a test to compare the images
Reviewed-by: aivanov, abhiscxk
2024-11-19 17:15:24 +00:00
Andrey Turbanov
78602be1fe 8344024: Unnecessary Hashtable usage in RSAPSSSignature.DIGEST_LENGTHS
Reviewed-by: valeriep
2024-11-19 16:59:06 +00:00
Alexey Semenyuk
7f672eb266 8344550: Compilation error of jpackage test JPackageStringBundle.java source
Reviewed-by: rriggs
2024-11-19 16:56:11 +00:00
Alan Bateman
48223f7b9c 8344143: Test jdk/java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java timed out on macosx-x64
Reviewed-by: pchilanomate
2024-11-19 16:37:43 +00:00
Coleen Phillimore
d4cd27e875 8344445: MethodCounters don't need a vptr
Reviewed-by: kbarrett, dlong
2024-11-19 16:13:11 +00:00
Hamlin Li
dc940ec8af 8344387: RISC-V: C2: Improve encoding of LoadNKlass for compact headers
Reviewed-by: fyang, luhenry
2024-11-19 15:59:30 +00:00
Roger Riggs
ded01e4316 8344327: SM cleanup in jdk.unsupported ReflectionFactory
Reviewed-by: liach, mullan, alanb
2024-11-19 15:21:02 +00:00
SendaoYan
59fcfae630 8343129: Disable unstable check of ThreadsListHandle.sanity_vm ThreadList values
Reviewed-by: dholmes
2024-11-19 15:17:34 +00:00
Ivan Walulya
1717946c1b 8344302: G1: Refactor G1CMTask::do_marking_step to use smaller wrapper methods
Reviewed-by: tschatzl, ayang
2024-11-19 14:31:40 +00:00
Alexey Semenyuk
fea5f2b145 8344415: Restruct jpackage utility classes
Reviewed-by: almatvee
2024-11-19 13:54:57 +00:00
Alexey Semenyuk
a28e4d839c 8342299: Document that jpackage includes (possibly old) VC Redistributable MSVCP140.dll from JDK
Reviewed-by: almatvee
2024-11-19 13:54:02 +00:00
Alexey Semenyuk
0714114fe3 8344322: Improve capabilities of jpackage test lib to validate error output of jpackage
Reviewed-by: almatvee
2024-11-19 13:53:45 +00:00
Alexey Semenyuk
41436bb0e8 8336087: Doccheck: the jpackage command page doesn't show the correct command-line options
Reviewed-by: almatvee
2024-11-19 13:52:31 +00:00
Matthias Baesken
cc8bd63741 8344036: Tests tools/jlink/runtimeImage fail on AIX after JDK-8311302
Reviewed-by: sgehwolf
2024-11-19 13:44:11 +00:00
Eirik Bjørsnøs
235973615f 8344534: Remove leftover import of java.security.AccessControlContext in JavaLangAccess
Reviewed-by: alanb
2024-11-19 12:04:37 +00:00
Fei Yang
0d66689177 8344393: RISC-V: Remove option UseRVVForBigIntegerShiftIntrinsics
Reviewed-by: mli, fjiang
2024-11-19 10:20:58 +00:00
Amit Kumar
7540fa2147 8343884: [s390x] Disallow OptoScheduling
Reviewed-by: lucy
2024-11-19 10:16:22 +00:00
Tobias Hartmann
9d60300fee 8344199: Incorrect excluded field value set by getEventWriter intrinsic
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Reviewed-by: syan, mgronlun
2024-11-19 10:01:49 +00:00
Jan Lahoda
8bd080bcc9 8341901: Using 'var' keyword switch pattern matching causes compiler error
Reviewed-by: vromero, abimpoudis
2024-11-19 09:13:37 +00:00
Aleksey Shipilev
76a55c3cb6 8341334: CDS: Parallel relocation
Reviewed-by: iklam, adinn, stuefe
2024-11-19 08:45:02 +00:00
Prasanta Sadhukhan
499186be0f 8343902: javax/swing/plaf/nimbus/8041642/bug8041642.java fails in ubuntu22.04
Reviewed-by: azvegint
2024-11-19 06:37:49 +00:00
Eirik Bjørsnøs
b12c5b4d18 8344218: Remove calls to SecurityManager and and doPrivileged in java.net.NetworkInterface after JEP 486 integration
Reviewed-by: dfuchs
2024-11-19 05:44:30 +00:00
Eirik Bjørsnøs
d85dd77edf 8344365: SecurityManager cleanups in java.sql and java.sql.rowset modules
Reviewed-by: rriggs, bchristi
2024-11-19 05:43:22 +00:00
Prasanta Sadhukhan
9e92a9e2ba 8344059: Remove doPrivileged calls from windows platform sources in the java.desktop module
Reviewed-by: kcr, prr
2024-11-19 03:11:31 +00:00
Fei Yang
37298844c9 8344371: RISC-V: compiler/intrinsics/chacha/TestChaCha20.java fails after JDK-8343555
Reviewed-by: mli
2024-11-19 01:49:33 +00:00
Alex Menkov
dd8636908c 8344262: Win32AttachOperationRequest objects are created by using global new
Reviewed-by: jwaters, dholmes
2024-11-19 00:08:06 +00:00
Christian Stein
5cb0d43823 8293040: Argfile documentation for java launcher tool is confusing regarding usage of wildcards
Reviewed-by: liach
2024-11-18 21:49:36 +00:00
Justin Lu
8d43e0d664 8344331: SM cleanup in java.scripting
Reviewed-by: naoto, lancea
2024-11-18 21:27:24 +00:00
Patricio Chilano Mateo
f636674889 8344247: Move objectWaiter field to VirtualThread instance
Reviewed-by: dholmes, coleenp
2024-11-18 20:48:09 +00:00
Sean Mullan
de6e013e0e 8344310: Remove Security Manager dependencies from javax.crypto and com.sun.crypto packages
Reviewed-by: jpai, ascarpino
2024-11-18 19:35:42 +00:00
Harshitha Onkar
92271af635 8344058: Remove doPrivileged calls from macos platform sources in the java.desktop module
Reviewed-by: prr, aivanov
2024-11-18 19:19:51 +00:00
Kevin Walls
70eb95f848 8344187: Remove SecurityManager and related calls from java.instrument
Reviewed-by: alanb, amenkov
2024-11-18 19:18:22 +00:00
Brian Burkhalter
922b12f30c 8344078: Remove security manager dependency in java.nio
Reviewed-by: alanb, rriggs
2024-11-18 19:17:14 +00:00
Aleksey Shipilev
2649406323 8344352: 32-bit builds crash after JDK-8305895
Reviewed-by: rkennke, coleenp
2024-11-18 18:38:56 +00:00
Naman Nigam
e9e4200a6a 8343125: Correct the documentation for TreeMap's getFloorEntry and getCeilingEntry
Reviewed-by: liach, acobbs
2024-11-18 18:30:24 +00:00
Naoto Sato
c59adf68d9 8344330: Remove AccessController.doPrivileged() from jdk.charsets module
Reviewed-by: lancea, bpb, rriggs, jlu
2024-11-18 18:22:18 +00:00
Aleksey Shipilev
c4e7dc7ff2 8344389: 32-bit builds fail at CDS build time after JDK-8331497
Reviewed-by: iklam
2024-11-18 18:08:20 +00:00
Viktor Klang
d76b5b888e 8344253: Test java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java failed
Reviewed-by: alanb
2024-11-18 17:31:03 +00:00
Kevin Driver
3e78ff16d3 8320743: AEAD ciphers throw undocumented exceptions on overflow
Reviewed-by: ascarpino
2024-11-18 16:41:57 +00:00
Per Minborg
207832952b 8344134: Use static property in SystemLookup
Reviewed-by: alanb, rriggs
2024-11-18 16:20:06 +00:00
Ramkumar Sunderbabu
162d66adac 8318668: java/lang/management/MemoryMXBean/CollectionUsageThreshold.java fails with Xcomp
Reviewed-by: kevinw, lmesnik
2024-11-18 16:17:30 +00:00
Roger Riggs
9b0ab92b16 8344034: Remove security manager dependency in Serialization
Reviewed-by: mullan, alanb
2024-11-18 16:17:07 +00:00
Daniel Fuchs
d52d136486 8344221: Remove calls to SecurityManager and and doPrivileged in java.net.IDN, java.net.URL, java.net.URLConnection, sun.net.util.URLUtil, and java.net.URLStreamHandlerProvider after JEP 486 integration
Reviewed-by: alanb, rriggs
2024-11-18 15:17:40 +00:00
Coleen Phillimore
dfddbcaab8 8341916: Remove ProtectionDomain related hotspot code and tests
Reviewed-by: dholmes, iklam, jrose
2024-11-18 12:48:40 +00:00
Magnus Ihse Bursie
5eb0733f5f 8344383: Include ZipArchive and JarArchive directly
Reviewed-by: shade
2024-11-18 11:31:08 +00:00
Amit Kumar
b8b70c8b4e 8344379: [s390x] build failure due to missing change from JDK-8339466
Reviewed-by: lucy, shade
2024-11-18 10:40:52 +00:00
Antón Seoane Ampudia
5fc4322267 8288298: Resolve multiline message parsing ambiguities in UL
Reviewed-by: jsjolen, rcastanedalo, dholmes
2024-11-18 10:40:33 +00:00
Jan Lahoda
ea8f28980c 8344271: Comparison build fails due to difference in doc summary
Reviewed-by: hannesw
2024-11-18 10:38:45 +00:00
Tobias Holenstein
b9c6ce900b 8344122: IGV: Extend c2 IdealGraphPrinter to send subgraphs to IGV
Reviewed-by: chagedorn, epeter, rcastanedalo
2024-11-18 09:36:08 +00:00
Kevin Walls
00ff6a38ce 8344105: Remove SecurityManager and related calls from jdk.attach and jdk.hotspot.agent
Reviewed-by: amenkov, cjplummer
2024-11-18 09:24:11 +00:00
Magnus Ihse Bursie
475feb064b 8344056: Use markdown format for man pages
Reviewed-by: cstein, iris, dholmes
2024-11-18 09:23:50 +00:00
Tobias Holenstein
6c2ae44c05 8344204: IGV: Button to enable/disable cutting of long edges
Reviewed-by: rcastanedalo, chagedorn
2024-11-18 08:35:12 +00:00
Richard Reingruber
4a7ce1d7c1 8344205: [PPC]: failing assertion: sharedRuntime_ppc.cpp:1652: cookie not found
Reviewed-by: mdoerr
2024-11-18 08:18:15 +00:00
Prasanta Sadhukhan
b6c2122efb 8316151: [macos14] ActionListenerCalledTwiceTest.java fails on macOS 14
Reviewed-by: tr
2024-11-18 08:11:52 +00:00
Matthias Baesken
543e355bd9 8344298: Test tools/sincechecker/modules/jdk.hotspot.agent/JdkHotspotAgentCheckSince.java fails on platforms without sa
Reviewed-by: lucy
2024-11-18 07:42:58 +00:00
Sidraya Jayagond
92b26317d4 8327652: S390x: Implements SLP support
Reviewed-by: amitkumar, lucy, mdoerr
2024-11-18 06:51:11 +00:00
SendaoYan
a47d9ba98a 8344349: Problemlist jdk/jfr/jvm/TestVirtualThreadExclusion.java before JDK-8344199 resolved
Reviewed-by: lmesnik
2024-11-18 02:35:18 +00:00
Gui Cao
80e37a96bb 8344265: RISC-V: Remove unused function get_previous_sp_entry
Reviewed-by: fyang, mli
2024-11-18 00:48:24 +00:00
Justin Lu
e1c4b4977e 8343237: Improve the copying of the available set of Currencies
Reviewed-by: bpb
2024-11-18 00:16:02 +00:00
Alexey Semenyuk
41a627b789 8343876: Enhancements to jpackage test lib
Reviewed-by: almatvee
2024-11-17 23:46:49 +00:00
Prasanta Sadhukhan
aa10ec7c96 8343123: Nimbus: javax/swing/JInternalFrame/bug6726866.java does not have green undecorated window
Reviewed-by: tr, dnguyen
2024-11-17 08:52:48 +00:00
Nizar Benalla
fec0d1cf5b 8343777: Add since checker tests to Internationalisation modules
Reviewed-by: jlu, naoto
2024-11-16 20:27:26 +00:00
Eirik Bjørsnøs
d0b770c938 8344289: SM cleanup in jdk.internal.util
Reviewed-by: liach, rriggs, bpb
2024-11-16 13:31:06 +00:00
Jaikiran Pai
a91d4c022f 8344233: Remove calls to SecurityManager and doPrivileged in java.net.ProxySelector and sun.net.spi.DefaultProxySelector after JEP 486 integration
Reviewed-by: dfuchs
2024-11-16 11:39:20 +00:00
Jaikiran Pai
d2e4b51133 8344186: Cleanup sun.net.www.MimeTable after JEP 486 integration
Reviewed-by: dfuchs
2024-11-16 01:29:45 +00:00
Jaikiran Pai
da40388736 8344315: Clean up sun.net.www.protocol.jrt.JavaRuntimeURLConnection after JEP 486 integration
Reviewed-by: dfuchs, alanb
2024-11-16 01:23:29 +00:00
Alexey Semenyuk
2c509a158f 8344326: Move jpackage tests from "jdk.jpackage.tests" package to the default package
Reviewed-by: almatvee
2024-11-15 23:55:45 +00:00
Ioi Lam
41a2d49f0a 8331497: Implement JEP 483: Ahead-of-Time Class Loading & Linking
Reviewed-by: jrose, kvn, heidinga, asmehra, vlivanov
2024-11-15 22:28:54 +00:00
Roman Kennke
276251c44a 8342826: Improve performance of oopDesc::klass() after JDK-8305895
Reviewed-by: coleenp, shade, mli
2024-11-15 21:21:03 +00:00
Roger Riggs
c388455d0a 8344197: SM cleanup in java.util.concurrent
Reviewed-by: alanb, dl
2024-11-15 20:30:04 +00:00
Roger Riggs
c5b6ed8ca0 8344252: SM cleanup in java.util classes
Reviewed-by: naoto, smarks
2024-11-15 20:29:14 +00:00
Volkan Yazıcı
59ffac84d3 8342811: java/net/httpclient/PlainProxyConnectionTest.java failed: Unexpected connection count: 5
Reviewed-by: dfuchs
2024-11-15 19:56:48 +00:00
Eirik Bjørsnøs
f3168082b8 8344189: Cleanup code in sun.net.www.protocol.mailto.MailToURLConnection and sun.net.smtp after JEP 486 integration
Reviewed-by: dfuchs
2024-11-15 19:22:30 +00:00
Eirik Bjørsnøs
73fd8919f5 8344216: Remove calls to SecurityManager and and doPrivileged in java.net.Authenticator, java.net.CookieHandler, and java.net.ResponseCache after JEP 486 integration
Reviewed-by: dfuchs
2024-11-15 19:21:30 +00:00
Eirik Bjørsnøs
f62e05ee96 8344231: SecurityManager cleanup in java.lang.module and jdk.internal.module
Reviewed-by: alanb
2024-11-15 19:21:07 +00:00
Phil Race
1bb0d3baaa 8344062: Remove doPrivileged calls from awt and beans classes in the java.desktop module
Reviewed-by: serb
2024-11-15 19:02:29 +00:00
Sean Mullan
fc8fb34f3d 8344214: Remove Security Manager dependencies from jdk.crypto.mscapi module
Reviewed-by: rriggs, ascarpino
2024-11-15 19:02:13 +00:00
Roman Kennke
ff12ff534a 8340453: C2: Improve encoding of LoadNKlass for compact headers
Reviewed-by: rcastanedalo, mli
2024-11-15 18:10:30 +00:00
Paul Sandoz
1866c0c2ce 8344259: Annotate Float16 with jdk.internal.ValueBased
Reviewed-by: liach, darcy
2024-11-15 17:22:11 +00:00
Brian Burkhalter
0b9b82af03 8343039: Remove jdk.internal.misc.InternalLock and usages from java.io
Reviewed-by: liach, alanb
2024-11-15 16:11:34 +00:00
Adam Sotona
3c38ed4128 8344314: Revert removal of jdk.internal.java.PreviewFeature.CLASSFILE_API
Reviewed-by: liach
2024-11-15 15:57:34 +00:00
Daniel Fuchs
40a055ebd2 8344228: Revisit SecurityManager usage in java.net.http after JEP 486 integration
Reviewed-by: jpai
2024-11-15 15:05:33 +00:00
Adam Sotona
84ffb64cd7 8334714: Implement JEP 484: Class-File API
Reviewed-by: liach, vromero
2024-11-15 14:38:17 +00:00
Sonia Zaldana Calles
6cdebf0e4c 8343599: Kmem limit and max values swapped when printing container information
Reviewed-by: sjohanss, sgehwolf
2024-11-15 14:07:32 +00:00
Markus Grönlund
a672138aa7 8344161: Argument type mismatch for jfr_type_id
Reviewed-by: kbarrett
2024-11-15 13:38:52 +00:00
Amit Kumar
3245f56e53 8344164: [s390x] ProblemList hotspot/jtreg/runtime/NMT/VirtualAllocCommitMerge.java
Reviewed-by: lucy
2024-11-15 12:45:48 +00:00
Eirik Bjørsnøs
5e2760856c 8344188: Cleanup sun.net.www.protocol.jar.JarFileFactory after JEP 486 integration
Reviewed-by: jpai, dfuchs
2024-11-15 12:18:53 +00:00
Adam Sotona
ba39321902 8343881: java.lang.classfile.Attribute attributeName() method should return Utf8Entry
Reviewed-by: liach
2024-11-15 11:40:15 +00:00
Casper Norrbin
75c651f859 8327156: Avoid copying in StringTable::intern(oop, TRAPS)
8326865: Avoid copying in StringTable::intern(Symbol*, TRAPS)
8327825: StringTable::intern is slow

Reviewed-by: dholmes, coleenp, jsjolen
2024-11-15 11:28:02 +00:00
Pavel Rappo
3eece6e941 8341907: javac -Xlint should ignore /// on first line of source file
Reviewed-by: jjg
2024-11-15 10:20:08 +00:00
Maurizio Cimadamore
5b9932f8f3 8338288: Compiler Implementation for Flexible Constructor Bodies (Third Preview)
8322882: Null pointer error when compiling Static initializer in a local class
8334248: Invalid error for early construction local class constructor method reference
8330037: Compiler produces invalid bytecode for method class creation from static method

Reviewed-by: jlahoda, vromero
2024-11-15 10:07:18 +00:00
Eirik Bjørsnøs
0c191f6629 8344185: Remove calls to SecurityManager in sun.net.ftp
Reviewed-by: alanb, michaelm, dfuchs
2024-11-15 09:47:43 +00:00
Eirik Bjørsnøs
bfee766f03 8344183: (zipfs) SecurityManager cleanup in the ZipFS area
Reviewed-by: mullan, lancea
2024-11-15 07:48:15 +00:00
Eirik Bjørsnøs
857f68c60f 8344179: SecurityManager cleanup in the ZIP and JAR areas
Reviewed-by: lancea, rriggs, mullan, jpai
2024-11-15 07:47:11 +00:00
Emanuel Peter
21966942b6 8344104: TestMergeStores fails with ArrayIndexOutOfBoundException
Reviewed-by: shade, chagedorn, dlong
2024-11-15 07:31:55 +00:00
Alan Bateman
0ae5748f74 8343982: Remove usage of security manager from ClassLoader and related classes
Reviewed-by: jpai, yzheng, lancea
2024-11-15 07:16:34 +00:00
Phil Race
99070658fd 8344065: Remove SecurityManager uses from the java.datatransfer module
Reviewed-by: serb
2024-11-15 04:51:55 +00:00
David Holmes
db56266ad1 8344250: Obsolete the DontYieldALot flag
Reviewed-by: darcy, matsaave, iklam
2024-11-14 22:23:16 +00:00
Nizar Benalla
7ef263307a 8344128: Regression: make help broken after JDK-8340818
Reviewed-by: rriggs, dholmes, ihse
2024-11-14 22:01:17 +00:00
Sean Mullan
d959c7ded7 8344147: Remove Security Manager dependencies from java.security.sasl module
Reviewed-by: rriggs, ascarpino
2024-11-14 20:32:32 +00:00
Phil Race
ec148c1365 8344063: Remove doPrivileged calls from swing classes in the java.desktop module
Reviewed-by: honkar, kcr
2024-11-14 18:42:31 +00:00
Leonid Mesnik
2cbce1f0f1 8344071: Mark some jdk/jfr/event/oldobject test flagless until they fixed to support all GC
Reviewed-by: stefank
2024-11-14 17:59:14 +00:00
Chen Liang
681a57f960 8343064: ClassFormatError: Illegal class name from InnerClassLambdaMetafactory
Reviewed-by: jvernee
2024-11-14 17:55:41 +00:00
Calvin Cheung
4d4951a442 8343889: Test runtime/cds/appcds/redefineClass/RedefineBasicTest.java failed
8344046: Tests under cds/appcds/jvmti/redefineClasses should have @requires vm.cds

Reviewed-by: iklam, matsaave
2024-11-14 17:50:03 +00:00
Artur Barashev
697f27c5d5 8341964: Add mechanism to disable different parts of TLS cipher suite
Reviewed-by: mullan, ascarpino
2024-11-14 17:44:13 +00:00
Jorn Vernee
002b985a46 8342963: TestLargeStub::testUpcall doesn't test upcalls stubs
Reviewed-by: mcimadamore
2024-11-14 16:55:25 +00:00
Nizar Benalla
e12f514120 8343781: Add since checker test to the Serviceability area modules
Reviewed-by: sspitsyn, cjplummer
2024-11-14 16:35:03 +00:00
Brian Burkhalter
7e9dfa4ae4 8343785: (fs) Remove syscalls that set file times with microsecond precision
Reviewed-by: alanb
2024-11-14 16:27:22 +00:00
Leonid Mesnik
68164a4847 8343953: Test jdk/jfr/threading/TestDeepVirtualStackTrace.java fails with Parallel/Serial GC
Reviewed-by: mli
2024-11-14 16:03:26 +00:00
Jaikiran Pai
752e162955 8343877: Test AsyncClose.java intermittent fails - Socket.getInputStream().read() wasn't preempted
Reviewed-by: dfuchs, msheppar, syan, alanb
2024-11-14 14:46:19 +00:00
Sean Mullan
4d1a51cb85 8344120: Remove Security Manager dependencies from jdk.crypto.cryptoki module
Reviewed-by: rriggs, ascarpino
2024-11-14 14:15:16 +00:00
Thomas Schatzl
a73226b18e 8297692: Avoid sending per-region GCPhaseParallel JFR events in G1ScanCollectionSetRegionClosure
Reviewed-by: iwalulya, ayang, sangheki
2024-11-14 13:31:50 +00:00
SendaoYan
6e28cd3b79 8343488: Test VectorRebracket128Test.java can't exclude by test/hotspot/jtreg/ProblemList.txt
Reviewed-by: chagedorn, kvn
2024-11-14 12:56:00 +00:00
Coleen Phillimore
6757994ad9 8343633: The ClassLoader::print_counters() prints to stdout when logging is enabled.
Reviewed-by: iklam, ccheung
2024-11-14 12:40:22 +00:00
Coleen Phillimore
8ccc48c9c8 8344032: InterpreterRuntime::verify_mdp() missing lock while printing MethodData on failure
Reviewed-by: shade, dholmes, tschatzl
2024-11-14 12:39:01 +00:00
Coleen Phillimore
2145ace384 8341094: Clean up relax_verify in ClassFileParser
Reviewed-by: dholmes, iklam
2024-11-14 12:08:42 +00:00
Jan Lahoda
5731ab7fed 8335991: Implement Simple Source Files and Instance Main Methods (Fourth Preview)
Reviewed-by: asotona, jpai
2024-11-14 11:33:29 +00:00
Jan Lahoda
81342acdae 8343752: The javadoc should contain a note about usages of requires transitive java.base;
Co-authored-by: Mark Reinhold <mr@openjdk.org>
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: hannesw, asotona
2024-11-14 11:29:54 +00:00
Raffaello Giulietti
8523880f06 8342693: Use byte[] as parameter in a FDBigInteger constructor and as field
Reviewed-by: darcy
2024-11-14 10:50:37 +00:00
Dr Heinz M. Kabutz
2b57f402c4 8343426: ConcurrentSkipListMap.spliterator() can no longer split the stream
Co-authored-by: Doug Lea <dl@openjdk.org>
Reviewed-by: vklang
2024-11-14 09:17:02 +00:00
Roberto Castañeda Lozano
a8152bdb9a 8343941: IGV: dump graph at different register allocation steps
Reviewed-by: chagedorn, dfenacci, dlunden
2024-11-14 08:56:38 +00:00
Daniel Fuchs
bd6152f596 8343855: HTTP/2 ConnectionWindowUpdateSender may miss some unprocessed DataFrames from closed streams
Reviewed-by: jpai
2024-11-14 08:54:47 +00:00
Jan Lahoda
c3776db498 8342936: Enhance java.io.IO with parameter-less println() and readln()
Reviewed-by: asotona, jpai, naoto
2024-11-14 08:22:51 +00:00
Andrey Turbanov
b54bd824b5 8344025: Remove unused ISO2022.Encoder.maximumDesignatorLength
Reviewed-by: naoto, jlu
2024-11-14 07:43:52 +00:00
Alan Bateman
abacece826 8344011: Remove usage of security manager from Class and reflective APIs
Reviewed-by: liach, yzheng, rriggs
2024-11-14 07:39:28 +00:00
Christian Hagedorn
c977ef7b45 8342047: Create Template Assertion Predicates with Halt nodes only instead of uncommon traps
Reviewed-by: epeter, thartmann
2024-11-14 07:13:19 +00:00
Laurent Bourgès
23a8c71d3b 8341790: Fix ExceptionOccurred in java.desktop
Reviewed-by: avu, prr
2024-11-14 06:38:37 +00:00
Jan Lahoda
1e97c1c913 8335989: Implement JEP 494: Module Import Declarations (Second Preview)
Reviewed-by: vromero, abimpoudis, mcimadamore, alanb
2024-11-14 06:14:33 +00:00
Axel Boldt-Christmas
e7d90b941f 8343460: ZGC: Crash in ZRemembered::scan_page_and_clear_remset
Reviewed-by: jsikstro, eosterlund, stefank
2024-11-14 06:13:19 +00:00
Alexey Semenyuk
95a00f8a18 8343875: Minor improvements of jpackage test library
Reviewed-by: almatvee
2024-11-14 04:18:26 +00:00
Fei Yang
90e92342fc 8344074: RISC-V: C1: More accurate _exception_handler_size and _deopt_handler_size
Reviewed-by: mli, fjiang
2024-11-14 00:53:54 +00:00
Matias Saavedra Silva
3b283543c3 8339288: Improve diagnostic logging runtime/cds/DeterministicDump.java
Reviewed-by: ccheung, iklam
2024-11-13 23:18:31 +00:00
Shaojin Wen
0dab920b70 8343984: Fix Unsafe address overflow
Reviewed-by: pminborg, alanb
2024-11-13 23:17:26 +00:00
Roger Riggs
168b18ec68 8343958: Remove security manager impl in java.lang.Process and java.lang.Runtime.exec
Reviewed-by: jpai, mullan, alanb
2024-11-13 20:49:59 +00:00
Roger Riggs
5ac330b1ac 8344039: Remove security manager dependency in java.time
Reviewed-by: naoto, mullan, lancea
2024-11-13 20:03:26 +00:00
Harshitha Onkar
1eb38c8eb7 8343219: Manual clientlibs test failures after SM removal
Reviewed-by: azvegint, aivanov, prr
2024-11-13 19:44:30 +00:00
Calvin Cheung
dde6230751 8343416: CDS dump fails when unregistered class can also be loaded from system modules
Reviewed-by: iklam, matsaave
2024-11-13 19:36:15 +00:00
Andrey Turbanov
ffea9809a7 8344023: Unnecessary Hashtable usage in LdapClient.defaultBinaryAttrs
Reviewed-by: dfuchs, aefimov
2024-11-13 19:25:08 +00:00
Alan Bateman
5e01c40b19 8343981: Remove usage of security manager from Thread and related classes
Reviewed-by: rriggs, yzheng
2024-11-13 18:49:31 +00:00
Joe Darcy
dbf23466af 8341260: Add Float16 to jdk.incubator.vector
Co-authored-by: Raffaello Giulietti <rgiulietti@openjdk.org>
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: rgiulietti
2024-11-13 18:27:41 +00:00
Archie Cobbs
a5f11b5f77 8343483: Remove unnecessary @SuppressWarnings annotations (serviceability)
Reviewed-by: cjplummer
2024-11-13 16:58:10 +00:00
Alan Bateman
7be77725ea 8344112: Remove code to support security manager execution mode from DatagramChannel implementation
Reviewed-by: dfuchs
2024-11-13 16:50:54 +00:00
Per Minborg
bd3fec3075 8344086: Remove security manager dependency in FFM
Reviewed-by: mcimadamore, rriggs, jvernee
2024-11-13 16:42:48 +00:00
hanklo6
916694f2c1 8343317: Extend test generation tool to handle APX NDD/NF flavor of instructions
Reviewed-by: sviswanathan, sparasa
2024-11-13 16:19:33 +00:00
Leonid Mesnik
eb240a7df9 8344051: Problemlist jdk/jfr/event/runtime/TestNativeMemoryUsageEvents.java with ZGC until JDK-8343893 is fixed
Reviewed-by: rkennke, mli, tschatzl
2024-11-13 16:06:44 +00:00
Gerard Ziemski
c00e20c399 8343285: java.lang.Process is unresponsive and CPU usage spikes to 100%
Reviewed-by: dholmes, rriggs, shade
2024-11-13 15:33:00 +00:00
Vicente Romero
cc2acd14b1 8343286: Missing unchecked cast warning in polymorphic method call
Reviewed-by: mcimadamore
2024-11-13 15:31:02 +00:00
theoweidmannoracle
b80ca4902a 8344124: JDK-8341411 Broke the build
Reviewed-by: thartmann, chagedorn, epeter, jwaters
2024-11-13 14:55:20 +00:00
Markus Grönlund
a08d67c2a9 8344080: Return type mismatch for jfr_unregister_stack_filter
Reviewed-by: tschatzl, kbarrett
2024-11-13 14:19:20 +00:00
Aleksey Shipilev
4c5bc5f2f0 8343923: GHA: Switch to Xcode 15 on MacOS AArch64 runners
Reviewed-by: ihse
2024-11-13 14:17:38 +00:00
theoweidmannoracle
8af304c60f 8341411: C2: remove slice parameter from GraphKit::make_load() and GraphKit::store_to_memory()
Reviewed-by: thartmann, roland
2024-11-13 13:34:09 +00:00
Daniel Jeliński
b72fe75533 8343140: JfrJavaSupport uses the wrong accessors for sub-int fields
Reviewed-by: shade, egahlin
2024-11-13 13:18:28 +00:00
Thomas Stuefe
133f8f3186 8344014: Simplify TracePhase constructor
Reviewed-by: dlong, roland
2024-11-13 12:30:06 +00:00
Christian Hagedorn
d334af0841 8344089: Fix wrong location of TestWrongMinLWiden.java
Reviewed-by: thartmann, rcastanedalo
2024-11-13 11:54:28 +00:00
Magnus Ihse Bursie
79345bbbae 8339783: Implement JEP 479: Remove the Windows 32-bit x86 Port
Reviewed-by: kbarrett, kvn, stuefe, shade, erikj
2024-11-13 09:41:57 +00:00
Christian Hagedorn
2eeaa57b19 8343944: C2: MinLNode::add_ring() computes _widen wrongly leading to an endless widening/compilation
Reviewed-by: thartmann, rcastanedalo
2024-11-13 08:39:17 +00:00
Albert Mingkun Yang
e9ede464b2 8343508: Parallel: Use ordinary klass accessor in verify_filler_in_dense_prefix
Reviewed-by: tschatzl, zgu
2024-11-13 08:32:44 +00:00
Fei Yang
c78de7bf5f 8343964: RISC-V: Improve PrintOptoAssembly output for loadNKlassCompactHeaders node
Reviewed-by: mli, fjiang
2024-11-13 02:56:52 +00:00
Fei Yang
eb40a88f40 8343430: RISC-V: C2: Remove old trampoline call
Reviewed-by: mli, rehn
2024-11-13 00:07:44 +00:00
Coleen Phillimore
b26e4952e9 8343801: Change string printed by nsk_null_string for null strings
Reviewed-by: lmesnik
2024-11-12 22:37:21 +00:00
Alex Menkov
a4e2c20849 8343344: Windows attach logic failed to handle a failed open on a pipe
Reviewed-by: kevinw, cjplummer
2024-11-12 20:24:25 +00:00
SendaoYan
63eb4853f6 8343883: Cannot resolve user specified toolchain-path for lld after JDK-8338304
Reviewed-by: ihse, jwaters
2024-11-12 17:26:11 +00:00
Sean Mullan
db85090553 8338411: Implement JEP 486: Permanently Disable the Security Manager
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Harshitha Onkar <honkar@openjdk.org>
Co-authored-by: Joe Wang <joehw@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Justin Lu <jlu@openjdk.org>
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Naoto Sato <naoto@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Phil Race <prr@openjdk.org>
Co-authored-by: Erik Gahlin <egahlin@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
2024-11-12 17:16:15 +00:00
Tom Rodriguez
c12b386d19 8338007: [JVMCI] ResolvedJavaMethod.reprofile can crash ciMethodData
Reviewed-by: dnsimon, kvn
2024-11-12 15:52:30 +00:00
Markus Grönlund
81752c4bcc 8338565: Test crashed: assert(is_path_empty()) failed: invariant
Reviewed-by: egahlin
2024-11-12 15:45:23 +00:00
Erik Gahlin
e5eaa7f1eb 8343946: JFR: Wildcard should only work with COUNT for 'jfr view'
Reviewed-by: mgronlun
2024-11-12 15:34:50 +00:00
Fei Yang
2989d8734c 8343805: RISC-V: JVM crashes on startup when disabling compressed instructions
Reviewed-by: mli
2024-11-12 15:26:19 +00:00
Patricio Chilano Mateo
78b80150e0 8338383: Implement JEP 491: Synchronize Virtual Threads without Pinning
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: aboldtch, dholmes, coleenp, fbredberg, dlong, sspitsyn
2024-11-12 15:23:48 +00:00
Sonia Zaldana Calles
8a2a75e56d 8339892: Several security shell tests don't set TESTJAVAOPTS
Reviewed-by: valeriep
2024-11-12 13:19:06 +00:00
Sonia Zaldana Calles
50b6e41e0e 8300732: Whitebox functions for Metaspace test should use byte size
Reviewed-by: stuefe, asmehra
2024-11-12 13:13:28 +00:00
Tobias Hartmann
67d1ef1479 8344018: Remove unlimited memory setting from TestScalarReplacementMaxLiveNodes
Reviewed-by: roland, chagedorn
2024-11-12 12:42:13 +00:00
Dr Heinz M. Kabutz
5729227651 8343250: ArrayBlockingQueue serialization not thread safe
Reviewed-by: rriggs, alanb
2024-11-12 11:34:11 +00:00
Hamlin Li
2c1e4c3816 8343600: RISC-V: enable CRC32 intrinsic when either Zba or RVV are supported
Reviewed-by: fyang
2024-11-12 10:15:04 +00:00
Christian Hagedorn
3727f40461 8343745: Only update Last Value Assertion Predicates in Loop Unrolling
Reviewed-by: thartmann, kvn
2024-11-12 10:11:55 +00:00
Nizar Benalla
b53ee053f7 8202617: javadoc generates broken links to undocumented (e.g. private) members
Reviewed-by: hannesw
2024-11-12 09:26:49 +00:00
Hannes Wallnöfer
cfe719fbde 8340565: Create separate index page for terms defined by the index tag
Reviewed-by: prappo
2024-11-12 09:25:34 +00:00
Hannes Wallnöfer
baabfbba3e 8341904: Search tag in inherited doc comment creates additional index item
Reviewed-by: prappo
2024-11-12 09:23:29 +00:00
Kevin Walls
4fa760a1ed 8343936: Adjust timeout in test javax/management/monitor/DerivedGaugeMonitorTest.java
Reviewed-by: dfuchs
2024-11-12 09:13:29 +00:00
Hamlin Li
cbf4dd588b 8343555: RISC-V: make some verified (on hardware) extension options diagnostic
Reviewed-by: fyang, rehn
2024-11-11 21:33:12 +00:00
Viktor Klang
ef0dc2518e 8342707: Prepare Gatherers for graduation from Preview
Reviewed-by: alanb, liach
2024-11-11 19:57:26 +00:00
Richard Reingruber
889f906235 8343774: Positive list platforms for ir checks of compiler/c2/TestCastX2NotProcessedIGVN.java
Reviewed-by: fyang, amitkumar, roland
2024-11-11 16:35:22 +00:00
Johan Sjölen
6088d620b4 8343755: Unproblemlist java/lang/Thread/jni/AttachCurrentThread/AttachTest.java
Reviewed-by: alanb, syan
2024-11-11 16:10:57 +00:00
Nizar Benalla
80f4c0c38a 8343442: Add since checker tests to the networking area modules
Reviewed-by: jpai, dfuchs
2024-11-11 15:21:56 +00:00
Shaojin Wen
b0a371b085 8343925: [BACKOUT] JDK-8342650 Move getChars to DecimalDigits
Reviewed-by: jpai, alanb, liach
2024-11-11 15:14:10 +00:00
Markus Grönlund
0759224edc 8342105: JVM Crash when Jacoco and JFR are active
Reviewed-by: egahlin
2024-11-11 14:36:30 +00:00
Albert Mingkun Yang
babb52a083 8343931: Removed unused code in CompressedKlassPointers::initialize_for_given_encoding
Reviewed-by: chagedorn
2024-11-11 14:21:21 +00:00
Severin Gehwolf
2ec358082f 8311302: Implement JEP 493: Linking Run-Time Images without JMODs
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: mchung, alanb, erikj, ihse
2024-11-11 13:35:25 +00:00
Tobias Holenstein
f3ba767604 8343535: IGV: Colorize nodes on demand
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: chagedorn, rcastanedalo
2024-11-11 13:25:42 +00:00
Kevin Walls
5016132291 8343838: Test EmptyDomainNotificationTest.java fails with ListenerNotFoundException
Reviewed-by: dholmes
2024-11-11 12:26:38 +00:00
Thomas Schatzl
36e12955b2 8343929: Remove PreservedMarksSet::createTask() after JDK-8305895
Reviewed-by: ayang, shade
2024-11-11 11:31:53 +00:00
Joel Sikström
b1a9491844 8343321: Bad verify in LockStack::oops_do()
Reviewed-by: stefank, rkennke, coleenp
2024-11-11 10:36:46 +00:00
Magnus Ihse Bursie
cbe8448f28 8268895: Do not filter out man pages from build
Reviewed-by: dholmes, jwaters
2024-11-11 10:15:02 +00:00
Roberto Castañeda Lozano
ec13364cda 8343067: C2: revisit constant-offset AddP chains after successful input idealizations
Reviewed-by: kvn, vlivanov
2024-11-11 10:05:15 +00:00
Jan Lahoda
5ca6698ba4 8341176: Permit access to diagnostics for transient snippets
Reviewed-by: vromero
2024-11-11 09:34:43 +00:00
Amit Kumar
a93bd9dfdd 8343810: [s390x] is_uimm* methods should take unsigned arguments
Reviewed-by: lucy
2024-11-11 09:32:09 +00:00
Prasanta Sadhukhan
f12c370d73 8343118: [TESTBUG] java/awt/PrintJob/PrintCheckboxTest/PrintCheckboxManualTest.java fails with rror. Can't find HTML file PrintCheckboxManualTest.html
Reviewed-by: abhiscxk, dnguyen
2024-11-11 09:24:44 +00:00
Thomas Schatzl
ae6bb3cd29 8343824: Remove unused InstructionFlags in C1
Reviewed-by: kvn, dlong
2024-11-11 09:08:00 +00:00
theoweidmannoracle
5b2f7f3b30 8343837: Remove unnecessary reinterpret_cast from C2AccessValuePtr
Reviewed-by: thartmann, kvn, kbarrett
2024-11-11 08:17:00 +00:00
Christian Hagedorn
5f338e9adb 8342946: Replace predicate walking code in Loop Unrolling with a predicate visitor
Reviewed-by: roland, kvn
2024-11-11 06:18:25 +00:00
Shaojin Wen
e1d684c645 8342650: Move getChars to DecimalDigits
Reviewed-by: liach
2024-11-11 05:06:56 +00:00
Jaikiran Pai
ca69a53b76 8211033: Clean up the processing -classpath argument not to set LM_CLASS
Reviewed-by: alanb
2024-11-11 04:31:56 +00:00
David Holmes
7b0f273e37 8343894: ProblemList javax/management/remote/mandatory/notif/EmptyDomainNotificationTest.java
Reviewed-by: jpai
2024-11-11 01:40:10 +00:00
Shaojin Wen
74ae3c688b 8343650: Reuse StringLatin1::putCharsAt and StringUTF16::putCharsAt
Reviewed-by: liach
2024-11-11 00:40:26 +00:00
Albert Mingkun Yang
423e8e0999 8339162: [REDO] JDK-8338440 Parallel: Improve fragmentation mitigation in Full GC
Co-authored-by: Guoxiong Li <gli@openjdk.org>
Reviewed-by: zgu, iwalulya, gli
2024-11-10 11:03:03 +00:00
Weijun Wang
f400896822 8342442: Static ACVP sample tests
Reviewed-by: mullan, bperez
2024-11-09 23:11:33 +00:00
Goetz Lindenmaier
325a2c3f76 8343848: Fix typo of property name in TestOAEPPadding after 8341927
Reviewed-by: lucy, mullan
2024-11-09 18:57:21 +00:00
Quan Anh Mai
2614c991d8 8343793: Test java/foreign/TestMemorySession.java is timing out
Reviewed-by: mcimadamore
2024-11-09 09:39:23 +00:00
Eirik Bjørsnøs
8a69893e1d 8343819: Link Float.NaN and Double.NaN to equivalence discussion in Double
Reviewed-by: darcy
2024-11-09 05:53:16 +00:00
Phil Race
52c0b09b62 8277240: java/awt/Graphics2D/ScaledTransform/ScaledTransform.java dialog does not get disposed
Reviewed-by: aivanov
2024-11-08 20:37:08 +00:00
Naoto Sato
0329855831 8343804: Show the default time zone with -XshowSettings option
Reviewed-by: iris, jpai
2024-11-08 20:22:24 +00:00
Roman Kennke
44ec501a41 8305895: Implement JEP 450: Compact Object Headers (Experimental)
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Hamlin Li <mli@openjdk.org>
Co-authored-by: Thomas Stuefe <stuefe@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: coleenp, stefank, stuefe, phh, ihse, lmesnik, tschatzl, matsaave, rcastanedalo, vpaprotski, yzheng, egahlin
2024-11-08 17:21:39 +00:00
Kevin Driver
605396280d 8343684: Test KDFDelayedProviderSyncTest.java intermittent fails didn't finish within the time-out 150
Reviewed-by: weijun, hchao, alanb
2024-11-08 16:59:26 +00:00
Per Minborg
2fb0c1dd62 8343844: Add benchmarks for superword/autovectorization in FFM BulkOperations
Reviewed-by: mcimadamore
2024-11-08 16:36:57 +00:00
Daniel Jeliński
72f67fb16a 8343411: Test fail on Windows due to "An established connection was aborted by the software in your host machine"
Reviewed-by: dfuchs, jpai
2024-11-08 15:03:17 +00:00
theoweidmannoracle
7d6a2f3740 8342860: Fix more NULL usage backsliding
Reviewed-by: kbarrett, jwaters, tschatzl, jsjolen
2024-11-08 13:31:24 +00:00
Amit Kumar
f6edfe58d6 8343506: [s390x] multiple test failures with ubsan
Reviewed-by: mdoerr, lucy
2024-11-08 12:46:17 +00:00
Vicente Romero
96eed7fa6c 8343306: javac is failing to determine if a class and a sealed interface are disjoint
Reviewed-by: jlahoda, mcimadamore
2024-11-08 12:27:31 +00:00
Aleksey Shipilev
0c281acfb4 8343754: Problemlist jdk/jfr/event/oldobject/TestShenandoah.java after JDK-8279016
Reviewed-by: egahlin
2024-11-08 10:04:12 +00:00
Nizar Benalla
2e58ede18c 8341399: Add since checker tests to the langtools modules
Reviewed-by: vromero
2024-11-08 09:53:16 +00:00
Thomas Schatzl
c7f071cf36 8343189: [REDO] JDK-8295269 G1: Improve slow startup due to predictor initialization
Reviewed-by: iwalulya, sjohanss
2024-11-08 09:44:12 +00:00
Thomas Schatzl
a9e53bb117 8343783: Improve asserts in concurrentHashTable.inline.hpp
Reviewed-by: chagedorn
2024-11-08 09:17:27 +00:00
Kevin Walls
bf5c3ce280 8272780: ServerNotifForwarder.removeNotificationListener() incorrect exception handling
Reviewed-by: dholmes
2024-11-08 09:04:24 +00:00
Roland Westrelin
a10b1ccd37 8340532: C2: assert(is_OuterStripMinedLoop()) failed: invalid node class: IfTrue
Reviewed-by: chagedorn, kvn
2024-11-08 07:51:58 +00:00
Per Minborg
d0077eece0 8343771: Some FFM benchmarks are broken
Reviewed-by: jvernee, mdoerr
2024-11-08 06:33:41 +00:00
Jaikiran Pai
068f4ce8bc 8343293: Remove the check for <apphome>/jre/lib/libjava.dylib from the launcher's java_md_macosx.m
Reviewed-by: bpb, rriggs
2024-11-08 04:04:34 +00:00
Martin Doerr
f621f26cd1 8343724: [PPC64] Disallow OptoScheduling
Reviewed-by: rrich, mbaesken
2024-11-07 22:11:34 +00:00
Alexey Semenyuk
a63f501b92 8343396: Use OperatingSystem, Architecture, and OSVersion in jpackage tests
Reviewed-by: rriggs, almatvee
2024-11-07 22:10:59 +00:00
Daniel Gredler
84c99fb91f 8283664: Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/PrintTextTest.java
Reviewed-by: honkar, aivanov, aturbanov
2024-11-07 20:19:50 +00:00
Kevin Driver
2c7bea1cb2 8343772: Expected IAPE not thrown in KDF.getInstance (TCK)
Reviewed-by: valeriep
2024-11-07 19:27:35 +00:00
Ioi Lam
fac89f471c 8343493: Perform module checks during MetaspaceShared::map_archives()
Reviewed-by: ccheung, matsaave
2024-11-07 18:53:22 +00:00
Calvin Cheung
ccda8159f6 8342303: Segfault in update_inherited_vtable: AppCDS, old bytecode, and redefineClasses
Reviewed-by: dholmes, coleenp, iklam
2024-11-07 18:27:27 +00:00
Kevin Walls
4f5a241ec1 8343491: javax/management/remote/mandatory/connection/DeadLockTest.java failing with NoSuchObjectException: no such object in table
Reviewed-by: lmesnik, sspitsyn, cjplummer
2024-11-07 18:13:44 +00:00
Brian Burkhalter
56c588b4e8 8343417: (fs) BasicFileAttributeView.setTimes uses microsecond precision with NOFOLLOW_LINKS
Reviewed-by: alanb
2024-11-07 17:19:27 +00:00
Maurizio Cimadamore
d3c042f9a0 8343770: Build fails due to use of sun.misc.Unsafe in LoopOverRandom
Reviewed-by: alanb
2024-11-07 15:31:17 +00:00
Quan Anh Mai
1d117f65f0 8343394: Make MemorySessionImpl.state a stable field
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, jvernee
2024-11-07 14:32:18 +00:00
Kevin Walls
d2b681d455 8343730: JMX cleanups
Reviewed-by: cjplummer
2024-11-07 13:10:26 +00:00
Alexey Semenyuk
ac82a8f89c 8343610: InOutPathTest jpackage test produces invalid app image on macOS
Reviewed-by: almatvee
2024-11-07 12:32:34 +00:00
Volker Simonis
f0b251d760 8343531: Improve print_location for invalid heap pointers
Reviewed-by: shade, tschatzl, ayang
2024-11-07 12:10:50 +00:00
Nizar Benalla
4244682309 8339190: Parameter arrays that are capped during annotation processing report incorrect length
Reviewed-by: vromero
2024-11-07 10:30:12 +00:00
Theo Weidmann
7620b12988 8323803: ConstantOopReadValue::print_on should print 'null' instead of 'nullptr'
Reviewed-by: chagedorn, kvn
2024-11-07 10:04:03 +00:00
Tobias Holenstein
592a48b163 8321997: Increase upper limit of LoopOptsCount flag
Reviewed-by: shade, chagedorn
2024-11-07 08:55:55 +00:00
Johan Sjölen
c3df050b88 8343726: [BACKOUT] NMT should not use ThreadCritical
Reviewed-by: shade, dholmes
2024-11-07 08:16:17 +00:00
theoweidmannoracle
0e1c1b793d 8343452: Incorrect WINDOWS build variable is used in macroAssembler_x86.cpp
Reviewed-by: kvn, chagedorn, jwaters
2024-11-07 07:46:52 +00:00
Per Minborg
619b4d5966 8334107: Specification for MemorySegment::get/setString could use some clarification
Reviewed-by: jvernee
2024-11-07 07:25:41 +00:00
Christian Hagedorn
a6c85daa1c 8342945: Replace predicate walking code in get_assertion_predicates() used for Loop Unswitching and cleaning useless Template Assertion Predicates with a predicate visitor
Reviewed-by: thartmann, roland, kvn
2024-11-07 07:05:20 +00:00
Axel Boldt-Christmas
97b681e93a 8340586: JdkJfrEvent::get_all_klasses stores non-strong oops in JNI handles
Reviewed-by: coleenp, stefank, mgronlun
2024-11-07 06:28:02 +00:00
SendaoYan
f2316f6829 8343505: Problemlist java/lang/Thread/jni/AttachCurrentThread/AttachTest.java
Reviewed-by: dholmes, lmesnik
2024-11-07 03:12:32 +00:00
Jaikiran Pai
9e31e78e39 8342647: [macosx] Clean up the NSInvocation based call to NSProcessInfo.operatingSystemVersion
Reviewed-by: bchristi
2024-11-07 00:51:06 +00:00
Martin Doerr
e33dc13567 8343343: Misc crash dump improvements on more platforms after JDK-8294160
Co-authored-by: Boris Ulasevich <bulasevich@openjdk.org>
Reviewed-by: mbaesken, jkern, dlong
2024-11-06 19:36:20 +00:00
Matias Saavedra Silva
d20ccd1aef 8335583: Avoid using pointers in CDS tables
Reviewed-by: iklam, ccheung
2024-11-06 18:46:06 +00:00
Fernando Guallini
342fe42555 8342270: Test sun/security/pkcs11/Provider/RequiredMechCheck.java needs write access to src tree
Reviewed-by: rhalade, erikj
2024-11-06 18:36:05 +00:00
Andrew Haley
78b378ad03 8342540: InterfaceCalls micro-benchmark gives misleading results
Reviewed-by: shade, kvn
2024-11-06 17:52:07 +00:00
Srinivas Vamsi Parasa
c0e6c3b93c 8343214: Fix encoding errors in APX New Data Destination Instructions Support
Reviewed-by: jbhateja, sviswanathan
2024-11-06 16:41:41 +00:00
Aleksey Shipilev
0be7118b2f 8279016: JFR Leak Profiler is broken with Shenandoah
Reviewed-by: egahlin, rkennke, mgronlun, wkemper
2024-11-06 16:38:55 +00:00
Aggelos Biboudis
6811a11e27 8341408: Implement JEP 488: Primitive Types in Patterns, instanceof, and switch (Second Preview)
Reviewed-by: vromero, jlahoda
2024-11-06 14:50:54 +00:00
Roland Westrelin
72a45ddbad 8341834: C2 compilation fails with "bad AD file" due to Replicate
Reviewed-by: kvn, epeter
2024-11-06 14:49:30 +00:00
Roland Westrelin
57c3bb6091 8343068: C2: CastX2P Ideal transformation not always applied
Reviewed-by: kvn, thartmann
2024-11-06 14:47:14 +00:00
Roberto Castañeda Lozano
83f3d42d6b 8339303: C2: dead node after failing to match cloned address expression
Reviewed-by: vlivanov, kvn
2024-11-06 09:17:21 +00:00
Andrew Haley
ead0116f26 8331341: secondary_super_cache does not scale well: C1 and interpreter
Reviewed-by: vlivanov, kvn, dlong
2024-11-06 08:58:08 +00:00
Matthias Baesken
06d8216a4e 8318442: java/net/httpclient/ManyRequests2.java fails intermittently on Linux
Reviewed-by: mdoerr, lucy, dfuchs
2024-11-06 08:03:26 +00:00
Fei Yang
bdd68163df 8343502: RISC-V: SIGBUS in updateBytesCRC32 after JDK-8339738
Reviewed-by: mli, fjiang
2024-11-06 06:36:49 +00:00
Christian Hagedorn
4431852a88 8342943: Replace predicate walking and cloning code for main/post loops with a predicate visitor
Reviewed-by: roland, kvn
2024-11-06 06:10:01 +00:00
KIRIYAMA Takuya
1b0281dc77 8333427: langtools/tools/javac/newlines/NewLineTest.java is failing on Japanese Windows
Reviewed-by: jjg
2024-11-06 05:38:46 +00:00
Alex Menkov
471f112bca 8342577: Clean up JVMTI breakpoint support
8210637: Race in JvmtiCurrentBreakpoints::get_jvmti_breakpoints

Reviewed-by: cjplummer, sspitsyn
2024-11-05 22:39:00 +00:00
Nizar Benalla
69bc088774 8343071: Broken anchors to restricted method page and some redundant ids
8332747: Broken links in StructuredTaskScope

Reviewed-by: mcimadamore, iris
2024-11-05 21:43:11 +00:00
Cesar Soares Lucas
d4d9831c90 8340454: C2 EA asserts with "previous reducible Phi is no longer reducible before SUT"
Reviewed-by: thartmann, kvn
2024-11-05 21:19:31 +00:00
Kevin Driver
2a1ae0ff89 8331008: Implement JEP 478: Key Derivation Function API (Preview)
Co-authored-by: Rajan Halade <rhalade@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Valerie Peng <valeriep@openjdk.org>
Reviewed-by: weijun, valeriep
2024-11-05 21:07:52 +00:00
Leonid Mesnik
847cc5ebac 8343173: Remove ZGC-specific non-JVMCI test groups
Reviewed-by: kvn
2024-11-05 20:53:08 +00:00
Andrew Haley
3fab8e37bb 8341903: Implementation of Scoped Values (Fourth Preview)
Reviewed-by: alanb
2024-11-05 17:12:17 +00:00
Liam Miller-Cushon
839de82c31 8332744: [REDO] 'internal proprietary API' diagnostics if --system is configured to an earlier JDK version
Reviewed-by: vromero
2024-11-05 17:06:04 +00:00
Matthias Baesken
8cb1221194 8343532: Test test/hotspot/jtreg/runtime/cds/appcds/jigsaw/addmods/AddmodsOption.java fails on Linux ppc64le after JDK-8319343
Reviewed-by: mdoerr, lucy
2024-11-05 15:48:23 +00:00
Archie Cobbs
fbf9b96b61 8343480: Remove unnecessary @SuppressWarnings annotations (javadoc)
Reviewed-by: hannesw
2024-11-05 15:48:02 +00:00
Archie Cobbs
f95097cc64 8343482: Remove unnecessary @SuppressWarnings annotations (net)
Reviewed-by: dfuchs
2024-11-05 15:46:00 +00:00
Archie Cobbs
c799cad1de 8343486: Remove unnecessary @SuppressWarnings annotations and -Xlint:-foo options
Reviewed-by: ihse
2024-11-05 15:44:54 +00:00
Sonia Zaldana Calles
0b733e9a22 8336874: WhiteBoxAPI: assert(!method->is_abstract() && (osr_bci == InvocationEntryBci || !method->is_native())) failed: cannot compile abstract/native methods
Reviewed-by: lmesnik, stuefe
2024-11-05 15:25:18 +00:00
Shaojin Wen
5890d9438b 8333893: Optimization for StringBuilder append boolean & null
Reviewed-by: liach
2024-11-05 15:05:33 +00:00
Alexey Semenyuk
c33a8f52b6 8343314: Move common properties from jpackage jtreg test declarations to TEST.properties file
Reviewed-by: almatvee
2024-11-05 13:42:27 +00:00
Chen Liang
16feeb7a8e 8343547: Restore accidentally removed annotations in LambdaForm from ClassFile API port
Reviewed-by: asotona
2024-11-05 12:15:42 +00:00
Emanuel Peter
f62fc48441 8342498: Add test for Allocation elimination after use as alignment reference by SuperWord
Reviewed-by: thartmann, kvn
2024-11-05 11:47:42 +00:00
Emanuel Peter
f3671beefb 8335392: C2 MergeStores: enhanced pointer parsing
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: kvn, chagedorn
2024-11-05 11:46:40 +00:00
Mikhail Ablakatov
4fc6d4135e 8341194: [REDO] Implement C2 VectorizedHashCode on AArch64
Reviewed-by: aph, adinn
2024-11-05 10:20:51 +00:00
Thomas Schatzl
abf2dc7128 8343298: Improve stability of runtime/cds/DeterministicDump.java test
Reviewed-by: shade, iklam
2024-11-05 09:33:50 +00:00
Prasanta Sadhukhan
dafa2e55ad 8343124: Tests fails with java.lang.IllegalAccessException: class com.sun.javatest.regtest.agent.MainWrapper$MainTask cannot access
Reviewed-by: abhiscxk
2024-11-05 06:27:42 +00:00
Sorna Sarathi
0f7dd98d9d 8251926: PPC: Remove an unused variable in assembler_ppc.cpp
Reviewed-by: mdoerr
2024-11-05 06:08:16 +00:00
Weijun Wang
cd91a44500 8343549: SeededSecureRandomTest needn't be in a package
Reviewed-by: mullan
2024-11-05 02:53:26 +00:00
Fei Yang
20f3aaff44 8343471: RISC-V: compiler/cpuflags/TestAESIntrinsicsOnUnsupportedConfig.java fails after JDK-8334999
Reviewed-by: syan, mli
2024-11-05 00:48:45 +00:00
Shaojin Wen
67907d5e89 8343500: Optimize ArrayClassDescImpl computeDescriptor
Reviewed-by: liach
2024-11-05 00:29:08 +00:00
Justin Lu
714472d8a5 8341798: Fix ExceptionOccurred in jdk.jdwp.agent
Reviewed-by: dholmes, cjplummer
2024-11-04 21:36:51 +00:00
Justin Lu
825ceb16b2 8341796: Fix ExceptionOccurred in jdk.hotspot.agent
Reviewed-by: dholmes, cjplummer
2024-11-04 20:55:17 +00:00
Artur Barashev
8b4749713c 8331682: Slow networks/Impatient clients can potentially send unencrypted TLSv1.3 alerts that won't parse on the server
Reviewed-by: wetmore, djelinski, xuelei
2024-11-04 18:46:38 +00:00
Brian Burkhalter
0668e181c8 8343234: (bf) Move java/nio/Buffer/LimitDirectMemory.java from ProblemList.txt to ProblemList-Virtual.txt
Reviewed-by: alanb, jpai
2024-11-04 18:18:14 +00:00
Jiangli Zhou
774de278f7 8343497: Missing DEF_STATIC_JNI_OnLoad in libjimage and libsaproc native libraries
Reviewed-by: ihse
2024-11-04 17:58:22 +00:00
Archie Cobbs
1cc3586c53 8343551: Missing copyright header update in Charset-X-Coder.java.template
Reviewed-by: iris
2024-11-04 17:32:11 +00:00
Naoto Sato
1c4483473d 8333582: Update CLDR to Version 46.0
Reviewed-by: joehw, srl, jlu
2024-11-04 17:00:44 +00:00
Archie Cobbs
23fa1a3327 8343484: Remove unnecessary @SuppressWarnings annotations (nio)
Reviewed-by: alanb
2024-11-04 16:13:10 +00:00
SendaoYan
7f8450cc51 8343473: Update copyright year of AddmodsOption.java
Reviewed-by: mli
2024-11-04 15:05:52 +00:00
Aleksey Shipilev
b74652b5f4 8343167: Unnecessary define checks in InterpreterRuntime after JDK-8199809
Reviewed-by: phh, coleenp
2024-11-04 14:37:10 +00:00
Per Minborg
646d64e880 8340307: Add explanation around MemorySegment:reinterpret regarding arenas
Reviewed-by: jvernee
2024-11-04 14:12:30 +00:00
Chen Liang
8d6cfba37f 8336267: Method and Constructor signature parsing can be shared on the root object
Reviewed-by: mchung
2024-11-04 13:24:29 +00:00
Chen Liang
1f7d524fd3 8343437: ClassDesc.of incorrectly permitting empty names
Reviewed-by: mchung
2024-11-04 13:24:09 +00:00
Aggelos Biboudis
895a7b64f0 8342967: Lambda deduplication fails with non-metafactory BSMs and mismatched local variables names
Reviewed-by: mcimadamore
2024-11-04 12:27:12 +00:00
Johan Sjölen
b41d713ff4 8343513: Forward declare Thread in mutexLocker.hpp
Reviewed-by: dholmes, mgronlun, shade
2024-11-04 12:14:06 +00:00
Hannes Wallnöfer
809030bfb2 8321500: javadoc rejects '@' in multi-line attribute value
Reviewed-by: prappo
2024-11-04 12:05:08 +00:00
Alexey Ivanov
7bca0af481 8343128: PassFailJFrame.java test result: Error. Bad action for script: build}
Use HTML character entity in javadoc to prevent jtreg from recognising
PassFailJFrame.java as a test file.

Reviewed-by: azvegint, honkar
2024-11-04 11:37:47 +00:00
Per Minborg
f69b6016d6 8343188: Investigate ways to simplify MemorySegment::ofBuffer
Reviewed-by: mcimadamore
2024-11-04 11:06:25 +00:00
Fei Yang
7f131a9e1e 8343415: RISC-V: Increase maximum size of C2EntryBarrierStub by four
Reviewed-by: rehn, fjiang
2024-11-04 10:54:19 +00:00
Albert Mingkun Yang
452a5fbd9c 8343507: Parallel: Fail if verify_complete finds incorrect states
Reviewed-by: tschatzl, kbarrett
2024-11-04 10:31:24 +00:00
Martin Doerr
75801992a7 8343205: CompileBroker::possibly_add_compiler_threads excessively polls available memory
Reviewed-by: thartmann, kvn
2024-11-04 09:58:51 +00:00
Hamlin Li
df08a9ec0d 8312425: [vectorapi] AArch64: Optimize vector math operations with SLEEF
Co-authored-by: Xiaohong Gong <xgong@openjdk.org>
Reviewed-by: ihse, fgao, aph
2024-11-04 09:19:39 +00:00
Damon Fenacci
e7f0bf11ff 8343153: compiler/codecache/CheckLargePages.java fails on linux with huge pages configured but its number set to 0
Reviewed-by: eastigeevich, thartmann
2024-11-04 07:33:54 +00:00
Adam Sotona
f9e1c62dcd 8343436: Regression in StackMapGenerator after JDK-8339205
Reviewed-by: liach
2024-11-04 07:19:23 +00:00
Tobias Hartmann
2432c4f862 8343206: Final graph reshaping should not compress abstract or interface class pointers
Reviewed-by: coleenp, eosterlund, kvn
2024-11-04 06:27:33 +00:00
Amit Kumar
c125178065 8341068: [s390x] intrinsics for divideUnsigned and remainderUnsigned methods in java.lang.Integer and java.lang.Long
Reviewed-by: lucy, aph
2024-11-04 03:36:25 +00:00
Fei Yang
37a3398b58 8343242: RISC-V: Refactor materialization of literal address
Reviewed-by: rehn, fjiang
2024-11-04 01:40:20 +00:00
Michael McMahon
d26412e657 8343433: Update net.properties and java.net.http module-info.java after 8326949
Reviewed-by: dfuchs, jpai
2024-11-03 17:43:46 +00:00
Alexey Semenyuk
29882bfe7b 8340311: JPackage app-image exe launches multiple exe's in JDK 22+
Reviewed-by: almatvee
2024-11-02 12:44:17 +00:00
Andrey Turbanov
069bb79103 8342082: Remove unused BasicProgressBarUI.Animator.interval
Reviewed-by: prr, honkar
2024-11-02 08:33:56 +00:00
Archie Cobbs
00ec10574d 8343412: Missing escapes for single quote marks in javac.properties
Reviewed-by: vromero
2024-11-02 02:32:02 +00:00
Jiangli Zhou
8c1cf8fabe 8339128: Cannot resolve user specified tool properly after JDK-8338304
Reviewed-by: erikj, ihse
2024-11-02 01:11:20 +00:00
Jatin Bhateja
3c7082a633 8343419: Assertion failure in long vector unsigned min/max with -XX:+UseKNLSetting
Reviewed-by: sviswanathan
2024-11-02 01:07:41 +00:00
Fernando Guallini
c82ad845e1 8342183: Update tests to use stronger algorithms and keys
Reviewed-by: rhalade, ascarpino
2024-11-01 17:52:20 +00:00
Doug Simon
1eccdfc622 8343439: [JVMCI] Fix javadoc of Services.getSavedProperties
Reviewed-by: never
2024-11-01 17:04:23 +00:00
Justin Lu
ea110c35f5 8343236: Use @apiNote and @implSpec in j.util.Currency
Reviewed-by: iris, lancea, bpb, naoto
2024-11-01 16:34:53 +00:00
Markus Grönlund
5995786dbd 8343177: JFR: Remove critical section for thread id assignment
Reviewed-by: dholmes
2024-11-01 14:51:51 +00:00
Tomas Zezula
751a914b0a 8340733: Add scope for relaxing constraint on JavaCalls from CompilerThread
Reviewed-by: dnsimon, kvn
2024-11-01 13:36:26 +00:00
Fernando Guallini
7e87c071b0 8340116: test/jdk/sun/security/tools/jarsigner/PreserveRawManifestEntryAndDigest.java can fail due to regex
Reviewed-by: mullan
2024-11-01 13:11:56 +00:00
Zhengyu Gu
da0e9e38e3 8343333: Parallel: Cleanup comment referring Solaris in MutableNUMASpace
Reviewed-by: tschatzl
2024-11-01 13:04:09 +00:00
Andrey Turbanov
f77a5144a1 8343194: Avoid redundant Hashtable.containsKey call in CodeSource.readObject
Reviewed-by: mullan
2024-11-01 11:47:00 +00:00
Kevin Walls
4a70c83bd0 8343378: Exceptions in javax/management DeadLockTest.java do not cause test failure
Reviewed-by: amenkov
2024-11-01 08:35:28 +00:00
Jatin Bhateja
8d4d589fc5 8343297: Vector unsigned min/max test are failing with -Xcomp
Reviewed-by: thartmann
2024-11-01 07:34:59 +00:00
Aleksey Shipilev
2a4d9d9b0d 8343379: [BACKOUT] 8343190 GHA: Try building JTReg several times
Reviewed-by: erikj, ihse
2024-11-01 07:19:51 +00:00
Christian Hagedorn
6f6cfe643b 8343380: C2: assert(iff->in(1)->is_OpaqueNotNull()) failed: must be OpaqueNotNull
Reviewed-by: thartmann, kvn
2024-11-01 06:51:34 +00:00
Fei Yang
cbda758010 8343122: RISC-V: C2: Small improvement for real runtime callouts
Reviewed-by: rehn, fjiang
2024-11-01 00:55:11 +00:00
Fei Yang
803612ee93 8343121: RISC-V: More accurate max size for C2SafepointPollStub and C2EntryBarrierStub
Reviewed-by: rehn, fjiang
2024-11-01 00:13:14 +00:00
Claes Redestad
b627a41f3d 8343345: Use -jvmArgsPrepend when running microbenchmarks in RunTests.gmk
Reviewed-by: liach, ihse, erikj
2024-10-31 22:30:25 +00:00
Claes Redestad
29321447b1 8343305: Remove Indify-dependent microbenchmarks
Reviewed-by: liach, ihse, erikj
2024-10-31 22:28:53 +00:00
Alexander Matveev
34655c67a8 8342544: [macos] jpackage test helper should check for both "--app-image" and "--mac-sign" for signing predefined app image case
Reviewed-by: asemenyuk
2024-10-31 22:18:26 +00:00
Alexander Matveev
5a5d9c51be 8343085: [macos] jpackage verbose output on macOS contains numerous "Running /usr/bin/codesign" entries
Reviewed-by: asemenyuk
2024-10-31 22:17:35 +00:00
Calvin Cheung
d4eb2d924e 8319343: Improve CDS module graph support for --add-modules option
Reviewed-by: alanb, iklam
2024-10-31 21:30:08 +00:00
Alexey Semenyuk
568b07a09b 8325089: jpackage utility creates an "infinite", undeleteable directory tree
Reviewed-by: almatvee
2024-10-31 20:25:55 +00:00
Aleksey Shipilev
7c36fa7e17 8343019: Primitive caches must use boxed instances from the archive
Reviewed-by: jiangli, vlivanov, iklam
2024-10-31 20:18:25 +00:00
Fernando Guallini
ae82cc1ba1 8342188: Update tests to use stronger key parameters and certificates
Reviewed-by: rhalade, ascarpino
2024-10-31 18:28:52 +00:00
Erik Gahlin
7ad3ef7f76 8343057: JFR: Sorting in 'jfr view' can violate contract
Reviewed-by: mgronlun
2024-10-31 18:25:30 +00:00
Cesar Soares Lucas
7d8bd21eb0 8335977: Deoptimization fails with assert "object should be reallocated already"
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: thartmann, kvn, vlivanov
2024-10-31 17:11:11 +00:00
Olexandr Rotan
b2694934b5 8338981: Access to private classes should be permitted inside the permits clause of the enclosing top-level class
Reviewed-by: vromero, mcimadamore
2024-10-31 15:25:42 +00:00
Chen Liang
3ccd2f757d 8342458: More consistent constant instruction handling
Reviewed-by: asotona
2024-10-31 14:01:13 +00:00
Doug Simon
29ae26517f 8341861: GHA: Use only retention mechanism to remove bundles
Reviewed-by: shade, ihse, erikj
2024-10-31 13:55:42 +00:00
Arseny Bochkarev
e5bbad059d 8334999: RISC-V: implement AES single block encryption/decryption intrinsics
Reviewed-by: fyang, rehn, yzhu
2024-10-31 12:19:48 +00:00
Christian Hagedorn
c40bb7621c 8343296: IGV: Show pre/main/post at CountedLoopNodes
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Reviewed-by: rcastanedalo, kvn
2024-10-31 09:17:21 +00:00
Alan Bateman
dee0982c60 8343132: Remove temporary transitions from Virtual thread implementation
Reviewed-by: dholmes, sspitsyn, pchilanomate
2024-10-31 08:53:19 +00:00
Eirik Bjørsnøs
2f1ba5ef09 8343307: Throw ZipException instead of IAE in ZipFile.Source::initCEN
Reviewed-by: lancea, jpai
2024-10-31 08:32:48 +00:00
Daniel Lundén
388d44fbf0 8342156: C2: Compilation failure with fewer arguments after JDK-8329032
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: rcastanedalo, chagedorn, kvn
2024-10-31 07:46:35 +00:00
Jiangli Zhou
688e92e7f5 8342642: Class loading failure due to archived map issue in ModuleLoaderMap.Mapper
Reviewed-by: iklam, shade, alanb
2024-10-31 01:50:00 +00:00
Fernando Guallini
f340ab2d36 8342181: Update tests to use stronger Key and Salt size
Reviewed-by: rhalade, ascarpino
2024-10-30 22:14:54 +00:00
Kevin Walls
cc2fb4d3bd 8337276: jcmd man page update for PID in output filenames
Reviewed-by: cjplummer, szaldana
2024-10-30 21:54:43 +00:00
Harshitha Onkar
02ea4b548e 8342635: javax/swing/JFileChooser/FileSystemView/WindowsDefaultIconSizeTest.java creates tmp file in src dir
8342634: javax/imageio/plugins/wbmp/WBMPStreamTruncateTest.java creates temp file in src dir

Reviewed-by: erikj, serb
2024-10-30 21:53:12 +00:00
Justin Lu
7461dfe9c6 8341788: Fix ExceptionOccurred in hotspot
Reviewed-by: dholmes
2024-10-30 21:49:26 +00:00
Matthew Donovan
9a9ac1d005 8341927: Replace hardcoded security providers with new test.provider.name system property
Reviewed-by: mullan, ascarpino, rhalade
2024-10-30 18:51:02 +00:00
Alex Menkov
1b177ce5b7 8343103: Enable debug logging for vmTestbase/nsk/jvmti/scenarios/sampling/SP05/sp05t003/TestDescription.java
Reviewed-by: cjplummer
2024-10-30 18:02:55 +00:00
Ramkumar Sunderbabu
7404ddf24a 8202100: Merge vm/share/InMemoryJavaCompiler w/ jdk/test/lib/compiler/InMemoryJavaCompiler
Reviewed-by: lmesnik
2024-10-30 15:45:03 +00:00
Axel Boldt-Christmas
821c514a13 8341692: Implement JEP 490: ZGC: Remove the Non-Generational Mode
Reviewed-by: ihse, eosterlund, stefank, prr, cjplummer, dholmes
2024-10-30 11:05:07 +00:00
Jaikiran Pai
0fe15d6836 8343040: Clean up references to JRE in the launcher code
Reviewed-by: alanb, darcy
2024-10-30 10:39:05 +00:00
Aleksey Shipilev
9003524c8b 8342588: Shenandoah: Pull shared closures together in one header
Reviewed-by: wkemper, kdnilsen, simonis
2024-10-30 10:24:12 +00:00
Matthias Baesken
f7f5198367 8343186: hsdis build libopcodes and libbfd are not found
Reviewed-by: erikj, ihse, shade, jwaters
2024-10-30 08:06:54 +00:00
Christian Hagedorn
63c19d3db5 8341977: Replace predicate walking and cloning code for Loop Peeling with a predicate visitor
Reviewed-by: kvn, epeter
2024-10-30 06:11:06 +00:00
Chen Liang
158ae51be0 8250659: Clarify in ParameterizedType.getRawType() doc that only Class is returned
Reviewed-by: darcy
2024-10-30 05:58:22 +00:00
Amit Kumar
b6f745df57 8342489: compiler/c2/irTests/TestVectorizationMismatchedAccess.java fails on big-endian platforms
Reviewed-by: epeter, mbaesken
2024-10-30 03:09:47 +00:00
Prasanta Sadhukhan
bd795946e7 8343037: Missing @since tag on JColorChooser.showDialog overload
Reviewed-by: prr
2024-10-30 02:52:54 +00:00
Alexey Semenyuk
ceaa71e731 8342576: [macos] AppContentTest still fails after JDK-8341443 for same reason on older macOS versions
Co-authored-by: Alexander Matveev <almatvee@openjdk.org>
Reviewed-by: almatvee
2024-10-30 02:41:45 +00:00
SendaoYan
40f3d50bad 8343211: Compile error: redefinition of 'Assembler::evmovdquw(XMMRegister,KRegister,XMMRegister,bool,int)'
Reviewed-by: vpaprotski, sviswanathan, thartmann, shade
2024-10-29 23:17:52 +00:00
Serguei Spitsyn
60364ef001 8341273: JVMTI is not properly hiding some continuation related methods
Reviewed-by: alanb, amenkov
2024-10-29 19:59:43 +00:00
Varada M
520ddac970 8331861: [PPC64] Implement load / store assembler functions which take an Address object
Reviewed-by: amitkumar, mdoerr
2024-10-29 18:20:03 +00:00
Ferenc Rakoczi
9cfb0f7f7a 8341527: AVX-512 intrinsic for SHA3
Reviewed-by: sviswanathan
2024-10-29 15:18:24 +00:00
Aleksey Shipilev
4ce19ca110 8343190: GHA: Try building JTReg several times
Reviewed-by: erikj, ihse
2024-10-29 14:57:14 +00:00
Erik Gahlin
7c800e6bae 8343026: JFR: Index into fields in the topFrame
Reviewed-by: mgronlun
2024-10-29 14:23:07 +00:00
Martin Doerr
d8b3685d36 8342607: Enhance register printing on x86_64 platforms
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Reviewed-by: rrich, stuefe, mbaesken
2024-10-29 13:30:26 +00:00
Boris Ulasevich
d8430efb5e 8339573: Update CodeCacheSegmentSize and CodeEntryAlignment for ARM
Reviewed-by: kvn, eastigeevich
2024-10-29 12:02:12 +00:00
Amit Kumar
6332e258f9 8343183: [s390x]: Problemlist runtime/Monitor/SyncOnValueBasedClassTest.java Failure
Reviewed-by: dholmes
2024-10-29 10:48:47 +00:00
Matthias Baesken
79a07ad726 8343149: Cleanup os::print_tos_pc on AIX
Reviewed-by: mdoerr, lucy, jkern
2024-10-29 08:47:13 +00:00
Matthias Baesken
beff8bfe2a 8342823: Ubsan: ciEnv.cpp:1614:65: runtime error: member call on null pointer of type 'struct CompileTask'
Reviewed-by: kvn, mdoerr
2024-10-29 08:18:44 +00:00
Christian Hagedorn
e389f82b1b 8343137: C2: VerifyLoopOptimizations fails with "Was reachable in only one"
Reviewed-by: thartmann, kvn
2024-10-29 08:07:22 +00:00
Robert Toyonaga
0abfa3ba8f 8304824: NMT should not use ThreadCritical
Reviewed-by: stuefe, dholmes, jsjolen
2024-10-29 07:50:43 +00:00
Aleksey Shipilev
88dc655a6d 8342988: GHA: Build JTReg in single step
Reviewed-by: ihse
2024-10-29 06:43:56 +00:00
SendaoYan
df3473e220 8343178: Test BasicTest.java javac compile fails cannot find symbol
Reviewed-by: jpai, asemenyuk
2024-10-29 06:05:56 +00:00
Amit Kumar
54327bc4e3 8342962: [s390x] TestOSRLotsOfLocals.java crashes
Reviewed-by: lucy, mdoerr
2024-10-29 04:22:34 +00:00
Fei Yang
f0075d593d 8343115: SkipIfEqual class is not used after JDK-8335946
Reviewed-by: coleenp
2024-10-29 00:15:18 +00:00
Claes Redestad
90bd544512 8342958: Use jvmArgs consistently in microbenchmarks
Reviewed-by: ecaspole, jvernee
2024-10-28 22:40:25 +00:00
Eirik Bjørsnøs
d49f21043b 8342040: Further improve entry lookup performance for multi-release JARs
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad
2024-10-28 18:21:18 +00:00
Valerie Peng
d2e716eb72 8331958: Update PC/SC Lite for Suse Linux to 2.3.0
Reviewed-by: weijun
2024-10-28 18:06:42 +00:00
Alexey Semenyuk
a95374f588 8343101: Rework BasicTest.testTemp test cases
Reviewed-by: almatvee
2024-10-28 17:24:01 +00:00
Alexey Semenyuk
00fe9f7bdf 8343100: Consolidate EmptyFolderTest and EmptyFolderPackageTest jpackage tests into single java file
Reviewed-by: almatvee
2024-10-28 17:22:38 +00:00
David M. Lloyd
9f6d5b46ce 8343020: (fs) Add support for SecureDirectoryStream on macOS
Reviewed-by: bpb, alanb
2024-10-28 16:58:44 +00:00
Brian Burkhalter
1341b81321 8341666: FileInputStream doesn't support readAllBytes() or readNBytes(int) on pseudo devices
Reviewed-by: alanb
2024-10-28 16:38:36 +00:00
Jatin Bhateja
52382e285f 8338021: Support new unsigned and saturating vector operators in VectorAPI
Reviewed-by: psandoz, epeter, sviswanathan
2024-10-28 16:30:29 +00:00
Aleksey Shipilev
e659d9da5d 8342975: C2: Micro-optimize PhaseIdealLoop::Dominators()
Reviewed-by: dlong, kvn
2024-10-28 15:38:05 +00:00
Matias Saavedra Silva
9f6211bcf1 8341371: CDS cannot load archived heap objects with -XX:+UseSerialGC -XX:-UseCompressedOops
Reviewed-by: ccheung, iklam
2024-10-28 14:31:35 +00:00
Coleen Phillimore
120a9357b3 8342561: Metaspace for generated reflection classes is no longer needed
Reviewed-by: shade, stuefe
2024-10-28 13:48:23 +00:00
Yudi Zheng
d5fb6b4a3c 8339939: [JVMCI] Don't compress abstract and interface Klasses
Co-authored-by: Doug Simon <dnsimon@openjdk.org>
Reviewed-by: dnsimon
2024-10-28 12:39:04 +00:00
Aleksey Shipilev
a5ad974bec 8343056: C2: Micro-optimize Node lists grow
Reviewed-by: kvn, redestad
2024-10-28 12:11:51 +00:00
Jonathan Lampérth
ec0618742f 8034066: Incorrect alignment in the "Code" section for "-c -XDdetails" options
Reviewed-by: jvernee, liach
2024-10-28 09:42:03 +00:00
Fredrik Bredberg
eb3669a586 8340796: Use a consistent order when loading cxq and EntryList
Reviewed-by: dholmes, coleenp, eosterlund
2024-10-28 09:02:54 +00:00
Andrey Turbanov
0e3fc93dfb 8342083: Make a few fields in FileSystemPreferences final
Reviewed-by: jpai, bpb
2024-10-26 17:59:15 +00:00
Chen Liang
762a573ef1 8335880: More troubleshooting tips around windows space in path
Reviewed-by: erikj, ihse
2024-10-26 14:45:19 +00:00
Chen Liang
40e07a7ea3 8342865: Use type parameter for Class::getPrimitiveClass
Reviewed-by: darcy
2024-10-26 14:45:04 +00:00
Alexey Semenyuk
9e451aa365 8343102: Remove --compress from jlink command lines from jpackage tests
Reviewed-by: almatvee
2024-10-26 14:01:19 +00:00
Jonathan Gibbons
873f8a696f 8305406: Add @spec tags in java.base/java.* (part 2)
Co-authored-by: Daniel Jeliński <djelinski@openjdk.org>
Co-authored-by: Hannes Wallnöfer <hannesw@openjdk.org>
Reviewed-by: valeriep
2024-10-26 06:57:45 +00:00
Fei Yang
1476f6c475 8343030: RISC-V: Small assembler cleanups
Reviewed-by: mli, rehn
2024-10-26 03:32:30 +00:00
Maurizio Cimadamore
f1a9a8d25b 8342902: Deduplication of acquire calls in BindingSpecializer causes escape-analyisis failure
Reviewed-by: jvernee
2024-10-25 21:07:48 +00:00
Thomas Schatzl
f1cc890ddf 8343086: [BACKOUT] JDK-8295269 G1: Improve slow startup due to predictor initialization
Reviewed-by: sangheki
2024-10-25 19:17:42 +00:00
Alex Menkov
36d71735e3 8339289: Enhance Attach API to support arbitrary length arguments - Windows
Reviewed-by: kevinw, sspitsyn
2024-10-25 18:08:21 +00:00
Joe Darcy
ff165f9f0c 8342934: TYPE_USE annotations printed with error causing "," in toString output
Reviewed-by: iris, vromero
2024-10-25 16:49:11 +00:00
Brian Burkhalter
0853aee3b3 8338426: Test java/nio/channels/Selector/WakeupNow.java failed
Reviewed-by: jpai, alanb
2024-10-25 15:35:49 +00:00
Thomas Schatzl
c202a2f7b2 8295269: G1: Improve slow startup due to predictor initialization
Reviewed-by: iwalulya, sjohanss
2024-10-25 15:24:55 +00:00
Henry Jen
5cbd578fbe 8342930: New tests from JDK-8335912 are failing
Reviewed-by: jpai
2024-10-25 14:35:11 +00:00
Hamlin Li
1e35da8d33 8343063: RISC-V: remove redundant reg copy in generate_resolve_blob
Reviewed-by: fyang, rehn
2024-10-25 14:28:23 +00:00
Hamlin Li
4f8f395e2b 8343060: RISC-V: enable TestFloat16VectorConvChain for riscv
Reviewed-by: fyang
2024-10-25 14:28:01 +00:00
Fei Yang
a9eb50a2d8 8342953: RISC-V: Fix definition of RISCV_HWPROBE_EXT_ZVFHMIN
Reviewed-by: mli, rehn
2024-10-25 11:23:12 +00:00
Hamlin Li
94317dbcf2 8342884: RISC-V: verify float <--> float16 conversion
Reviewed-by: fyang, luhenry
2024-10-25 07:48:48 +00:00
Stefan Karlsson
3c5db12bbe 8342857: SA: Heap iterator makes incorrect assumptions about TLAB layout
Reviewed-by: cjplummer, rkennke, lmesnik
2024-10-25 07:26:21 +00:00
Thomas Schatzl
4635351b15 8342939: Building ZGC without compiler2 fails
Reviewed-by: eosterlund, mli, kvn
2024-10-25 07:16:52 +00:00
Hannes Wallnöfer
fd5ff0547c 8342827: Fix order of @param tags in other modules
Reviewed-by: jpai, iris, joehw, darcy, dfuchs
2024-10-25 07:08:29 +00:00
Matthias Baesken
415d8151a6 8342938: Problem list java/io/IO/IO.java test on Linux ppc64le
Reviewed-by: lucy, naoto
2024-10-25 07:03:09 +00:00
Kim Barrett
c548986630 8342918: Building ParallelGC without G1 and Shenandoah fails because SpaceMangler not declared
Reviewed-by: jwaters, shade
2024-10-25 06:14:10 +00:00
Mark Powers
ca1700b8bf 8336665: CCE in X509CRLImpl$TBSCertList.getCertIssuer
Reviewed-by: mullan
2024-10-24 23:09:45 +00:00
Vicente Romero
d1540e2a49 8342090: Infer::IncorporationBinaryOp::equals can produce side-effects
8288590: javac failure: incompatible types: cannot infer type arguments due to Object.hashCode collision

Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore
2024-10-24 17:25:43 +00:00
Justin Lu
7af46a6b42 8340554: Improve MessageFormat readObject checks
Reviewed-by: naoto
2024-10-24 16:17:43 +00:00
hanklo6
7d5eefa506 8342862: Gtest added by 8339507 appears to be causing 8GB build machines to hang
Reviewed-by: kvn, sviswanathan
2024-10-24 16:02:30 +00:00
hanklo6
d8c3b0f834 8342768: GTest AssemblerX86.validate_vm failed: assert(VM_Version::supports_bmi1()) failed: tzcnt instruction not supported
Reviewed-by: sviswanathan, thartmann, kvn
2024-10-24 16:01:31 +00:00
Markus KARG
3c14c2babb 8341566: Add Reader.of(CharSequence)
Reviewed-by: rriggs, jpai, liach, alanb
2024-10-24 14:34:58 +00:00
Daniel Fuchs
b0ac633b2d 8342075: HttpClient: improve HTTP/2 flow control checks
Reviewed-by: jpai
2024-10-24 12:24:14 +00:00
Fei Yang
85774b713e 8342882: RISC-V: Unify handling of jumps to runtime
Reviewed-by: rehn
2024-10-24 11:22:01 +00:00
Fredrik Bredberg
2c31c8eeb4 8339730: Windows regression after removing ObjectMonitor Responsible
Reviewed-by: coleenp, jwaters
2024-10-24 09:51:24 +00:00
Jan Lahoda
f0b130e54f 8339296: Record deconstruction pattern in switch fails to compile
Reviewed-by: vromero, mcimadamore
2024-10-24 06:45:16 +00:00
Emanuel Peter
e96b4cf0a8 8342387: C2 SuperWord: refactor and improve compiler/loopopts/superword/TestDependencyOffsets.java
Reviewed-by: thartmann, chagedorn
2024-10-24 05:45:35 +00:00
David Holmes
f7a61fce94 8342931: ProblemList failing tests from JDK-8335912
Reviewed-by: henryjen, mikael
2024-10-24 05:03:39 +00:00
Chen Liang
25c2f48d45 8338544: Dedicated Array class descriptor implementation
Reviewed-by: redestad, mchung, jvernee
2024-10-24 02:40:08 +00:00
Henry Jen
158b93d19a 8335912: Add an operation mode to the jar command when extracting to not overwriting existing files
Reviewed-by: lancea
2024-10-24 00:07:43 +00:00
David Holmes
28d23ada6d 8340177: Malformed system classes loaded by bootloader crash the JVM in product builds
Reviewed-by: coleenp, mli
2024-10-23 21:39:26 +00:00
Doug Simon
98403b75df 8342854: [JVMCI] Block secondary thread reporting a JVMCI fatal error
Reviewed-by: never
2024-10-23 20:01:14 +00:00
Alexander Matveev
9a7a850e28 8341939: SigningOptionsTest fails without Xcode with command line developer tools after JDK-8341443
Reviewed-by: asemenyuk
2024-10-23 19:43:24 +00:00
Brian Burkhalter
de92fe3757 8233451: (fs) Files.newInputStream() cannot be used with character special files
Reviewed-by: alanb
2024-10-23 18:53:30 +00:00
Chris Plummer
002de86081 8342673: Test serviceability/jvmti/events/NotifyFramePopStressTest/NotifyFramePopStressTest.java failed: waited too long for notify
Reviewed-by: amenkov, lmesnik, sspitsyn
2024-10-23 18:26:30 +00:00
Joe Darcy
a21c558699 8342863: Use pattern matching for instanceof in equals methods of wrapper classes
Reviewed-by: rriggs
2024-10-23 18:23:50 +00:00
Naoto Sato
e64f0798be 8342582: user.region for formatting number no longer works for 21.0.5
Reviewed-by: jlu, rriggs
2024-10-23 17:44:31 +00:00
Naoto Sato
426da4bbad 8341975: Unable to set encoding for IO.println, IO.print and IO.readln
Reviewed-by: rriggs, iris, alanb
2024-10-23 17:44:15 +00:00
Erik Joelsson
a522d216b5 8342858: Make target mac-jdk-bundle fails on chmod command
Reviewed-by: lucy, ihse
2024-10-23 17:27:17 +00:00
Fredrik Bredberg
afb62f7349 8342683: Use non-short forward jump when passing stop()
Reviewed-by: aboldtch, shade, kvn
2024-10-23 15:26:32 +00:00
Sorna Sarathi
964d8d2234 8340445: [PPC64] Wrong ConditionRegister used in ppc64.ad: flagsRegCR0 cr1
Reviewed-by: mdoerr, amitkumar
2024-10-23 12:40:27 +00:00
Christian Hagedorn
7131f053b0 8342043: Split Opaque4Node into OpaqueTemplateAssertionPredicateNode and OpaqueNotNullNode
Reviewed-by: kvn, roland
2024-10-23 08:00:42 +00:00
Matthias Baesken
37cfaa8deb 8338449: ubsan: division by zero in sharedRuntimeTrans.cpp
Reviewed-by: lucy, kbarrett
2024-10-23 07:08:07 +00:00
Hannes Wallnöfer
a1ef81889b 8342825: Fix order of @param tags in module java.desktop
Reviewed-by: prr
2024-10-23 06:54:31 +00:00
SendaoYan
cdad7286c6 8342646: JTREG_TEST_THREAD_FACTORY in testing.md should be TEST_THREAD_FACTORY
Reviewed-by: ihse, erikj
2024-10-23 06:49:46 +00:00
Christian Hagedorn
018db8c16a 8342809: C2 hits "assert(is_If()) failed: invalid node class: Con" during IGVN due to unhandled top
Reviewed-by: roland, thartmann
2024-10-23 06:39:18 +00:00
Manukumar V S
f1f15370fa 8341453: java/awt/a11y/AccessibleJTableTest.java fails in some cases where the test tables are not visible
Reviewed-by: abhiscxk, asemenov
2024-10-23 05:13:29 +00:00
Yasumasa Suenaga
476d0f1928 8339309: unused-variable warnings happen in libfontmanager
Reviewed-by: prr
2024-10-23 02:05:28 +00:00
Mandy Chung
d6eddcdaf9 8327624: Remove VM implementation that bypass verification for core reflection
Reviewed-by: liach, dholmes, jrose, alanb, mli
2024-10-22 18:14:37 +00:00
Aleksey Shipilev
28147dab07 8341913: Support CDS heap dumping for Shenandoah and Epsilon
Reviewed-by: iklam, matsaave
2024-10-22 17:58:20 +00:00
Justin Lu
c61d2c5a34 8341445: DecimalFormatSymbols setters should throw NPE
Reviewed-by: naoto
2024-10-22 17:21:38 +00:00
Brian Burkhalter
aafc8d0dcb 8342850: Change ProblemList to have LimitDirectMemory refer to JDK-8342849
Reviewed-by: tschatzl
2024-10-22 17:09:37 +00:00
Chad Rakoczy
893266c48f 8342601: AArch64: Micro-optimize bit shift in copy_memory
Reviewed-by: dlong, aph, shade
2024-10-22 16:11:37 +00:00
Claes Redestad
f9852aea8b 8342839: Malformed copyright in StringNameTable since JDK-8342806
Reviewed-by: thartmann
2024-10-22 15:31:11 +00:00
Claes Redestad
af5e53241b 8342806: Desugar capturing lambda in StringNameTable
Reviewed-by: mcimadamore, liach
2024-10-22 14:29:52 +00:00
Michael McMahon
01b681c80d 8326949: Authorization header is removed when a proxy Authenticator is set on HttpClient
Reviewed-by: dfuchs, jpai, djelinski
2024-10-22 14:09:10 +00:00
Claes Redestad
d10eecf161 8341776: Remove unused enum values from LambdaForm$Kind
Reviewed-by: liach
2024-10-22 13:51:42 +00:00
Martin Doerr
3bba0f3dc8 8342701: [PPC64] TestOSRLotsOfLocals.java crashes
Reviewed-by: lucy, rrich
2024-10-22 13:16:27 +00:00
Stefan Karlsson
264d7014a1 8342610: ZGC: Cleanup pre-touching code
Reviewed-by: aboldtch, mli, jsikstro, eosterlund
2024-10-22 13:15:17 +00:00
Ivan Walulya
f70ecc27a7 8342182: G1: G1OldGenAllocationTracker does not account for direct allocations in regions
Reviewed-by: tschatzl, sjohanss
2024-10-22 13:13:04 +00:00
SendaoYan
3b71657f59 8341584: Test java/foreign/TestUpcallStress.java intermittent timeout with -Xcomp
Reviewed-by: jpai, jvernee
2024-10-22 12:27:44 +00:00
Roland Westrelin
004aaea76d 8342330: C2: "node pinned on loop exit test?" assert failure
Reviewed-by: chagedorn, thartmann
2024-10-22 11:19:21 +00:00
Aggelos Biboudis
c9f38409cc 8342679: Clean up PreviewFeature.Feature
Reviewed-by: liach, vromero
2024-10-22 09:39:04 +00:00
Christian Hagedorn
2da7f2bcb0 8342787: Move misplaced TestTemplateAssertionPredicateWithTwoUCTs.java from src to test directory
Reviewed-by: thartmann, shade, jwaters
2024-10-22 08:34:46 +00:00
Kevin Walls
de441c2b68 8342633: javax/management/security/HashedPasswordFileTest.java creates tmp file in src dir
Reviewed-by: dfuchs, amenkov
2024-10-22 08:29:55 +00:00
Aleksey Shipilev
bf92c49839 8342704: GHA: Report truncation is broken after JDK-8341424
Reviewed-by: erikj, jwaters
2024-10-22 07:07:13 +00:00
SendaoYan
8bcd4920f1 8342681: TestLoadBypassesNullCheck.java fails improperly specified VM option
Reviewed-by: shade
2024-10-22 02:09:08 +00:00
Alexey Semenyuk
7133d1b983 8342609: jpackage test helper function incorrectly removes a directory instead of its contents only
Reviewed-by: almatvee
2024-10-21 22:13:25 +00:00
hanklo6
8276a41958 8342715: x86 unused orw instruction encoding could be removed
Reviewed-by: sviswanathan, jbhateja, kvn
2024-10-21 21:16:26 +00:00
Kim Barrett
5a4b180965 8342011: Conditionally compile ReservedHeapSpace compressed heap support
Reviewed-by: stefank, dholmes
2024-10-21 18:42:26 +00:00
Phil Race
e0c6480cd3 8338570: sun/font/HBShaper - mismatch in return type of FFM upcall function description and native invocation
Reviewed-by: serb, aivanov
2024-10-21 18:23:13 +00:00
Naoto Sato
71583222eb 8340477: Remove JDK1.1 compatible behavior for "EST", "MST", and "HST" time zones
Reviewed-by: iris, jlu, joehw
2024-10-21 17:20:50 +00:00
Hannes Wallnöfer
97c9212842 8342698: Fix order of @param tags in module java.base
Reviewed-by: iris
2024-10-21 17:14:25 +00:00
Justin Lu
51a7ff6594 8335271: Specify the MessageFormat ArgumentIndex Implementation Limit
Reviewed-by: darcy, iris, naoto, rriggs
2024-10-21 17:08:50 +00:00
hanklo6
52d752c43b 8339507: Test generation tool and gtest for testing APX encoding of extended gpr instructions
Reviewed-by: jbhateja, sviswanathan, kvn
2024-10-21 16:46:41 +00:00
Aleksey Shipilev
37aa320f57 8342376: More reliable OOM handling in ExceptionDuringDumpAtObjectsInitPhase test
Reviewed-by: iklam, phh
2024-10-21 15:56:19 +00:00
Smita Kamath
18bcbf7941 8341052: SHA-512 implementation using SHA-NI
Reviewed-by: jbhateja, ascarpino, sviswanathan, sparasa
2024-10-21 15:37:36 +00:00
Lance Andersen
54a744b023 8340553: ZipEntry field validation does not take into account the size of a CEN header
Reviewed-by: jpai, redestad, eirbjo
2024-10-21 15:34:27 +00:00
Joe Darcy
18b55ceaa4 8342653: Fix minor doc issues in AnnotatedElement
Reviewed-by: jpai, iris, liach
2024-10-21 15:14:12 +00:00
Sandhya Viswanathan
153ad911f9 8338126: C2 SuperWord: VectorCastF2HF / vcvtps2ph produces wrong results for vector length 2
Reviewed-by: thartmann, jbhateja, epeter
2024-10-21 14:58:43 +00:00
Kangcheng Xu
80ec552248 8328528: C2 should optimize long-typed parallel iv in an int counted loop
Reviewed-by: roland, chagedorn, thartmann
2024-10-21 14:57:31 +00:00
Tomas Zezula
330f2b5a9c 8342295: compiler/jvmci/TestJVMCISavedProperties.java fails due to garbage in output
Reviewed-by: dnsimon
2024-10-21 13:50:13 +00:00
Joel Sikström
1f3574855e 8342102: ZGC: Optimize copy constructors in ZPhysicalMemory
Reviewed-by: stefank, kbarrett, aboldtch
2024-10-21 13:16:10 +00:00
Robbin Ehn
66ddaaa359 8340241: RISC-V: Returns mispredicted
Reviewed-by: fyang, luhenry
2024-10-21 13:15:52 +00:00
Nizar Benalla
07f550b85a 8340818: Add a new jtreg test root to test the generated documentation
Reviewed-by: erikj
2024-10-21 10:22:14 +00:00
fabioromano1
27ef6c9df4 8341470: BigDecimal.stripTrailingZeros() optimization
Reviewed-by: rgiulietti
2024-10-21 10:14:15 +00:00
Nizar Benalla
5d5d88ab9a 8339570: Add Tidy build support for JDK tests
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: erikj, ihse
2024-10-21 10:13:18 +00:00
Fei Yang
239d84a82a 8342578: GHA: RISC-V: Bootstrap using Debian snapshot is still failing
Reviewed-by: shade, erikj
2024-10-21 09:30:28 +00:00
Aleksey Shipilev
aa060f22d3 8342334: CDS: Scratch mirrors should not point to dead klasses
Reviewed-by: adinn, coleenp, iklam
2024-10-21 08:04:12 +00:00
Roland Westrelin
680dc5d896 8342496: C2/Shenandoah: SEGV in compiled code when running jcstress
Reviewed-by: shade, rkennke
2024-10-21 07:38:39 +00:00
Roland Westrelin
8f2b23bb53 8341407: C2: assert(main_limit == cl->limit() || get_ctrl(main_limit) == new_limit_ctrl) failed: wrong control for added limit
Reviewed-by: chagedorn, thartmann
2024-10-21 07:37:01 +00:00
SendaoYan
21682bcdcc 8342612: Increase memory usage of compiler/c2/TestScalarReplacementMaxLiveNodes.java
Reviewed-by: kvn
2024-10-21 07:20:48 +00:00
Christian Hagedorn
d61f56a300 8342287: C2 fails with "assert(is_IfTrue()) failed: invalid node class: IfFalse" due to Template Assertion Predicate with two UCTs
Reviewed-by: kvn, thartmann
2024-10-21 06:28:40 +00:00
Fei Yang
76ae072a1f 8342579: RISC-V: C2: Cleanup effect of killing flag register for call instructs
Reviewed-by: rehn, fjiang
2024-10-21 01:46:26 +00:00
Johannes Bechberger
309b929147 8336401: Remove the option onjcmd from the jdwp agent
Reviewed-by: cjplummer, mbaesken
2024-10-18 23:39:05 +00:00
Chad Rakoczy
401d0d6b09 8335662: [AArch64] C1: guarantee(val < (1ULL << nbits)) failed: Field too big for insn
Reviewed-by: thartmann, eastigeevich
2024-10-18 22:52:40 +00:00
Serguei Spitsyn
8591109419 8340698: JVMTI FRAME_POP event is sometimes missed if NotifyFramePop is called as a method is returning
Reviewed-by: cjplummer, amenkov
2024-10-18 19:34:17 +00:00
Justin Lu
078401134a 8340488: Clarify LocaleServiceProvider deployment on application module path
Reviewed-by: naoto
2024-10-18 17:41:36 +00:00
Fei Gao
4dcc7f3f26 8337536: AArch64: Enable BTI branch protection for runtime part
Co-authored-by: Hao Sun <haosun@openjdk.org>
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: aph, ihse, erikj, eliu
2024-10-18 15:00:58 +00:00
Matias Saavedra Silva
28252bb48d 8341444: Unnecessary check for JSRs in CDS
Reviewed-by: dholmes, coleenp
2024-10-18 13:23:52 +00:00
Alexey Ivanov
8174cbd5cb 8341978: Improve JButton/bug4490179.java
Use latch to synchronize actions in the test.
Verify mouseButton3Released does not trigger actionPerformed
while mouse button 1 is pressed.
Ensure mouse button 1 is released.
Verify releasing mouse button 1 triggers actionPerformed.

Reviewed-by: azvegint, achung, serb
2024-10-18 11:03:00 +00:00
Amit Kumar
9201e9fcc2 8342409: [s390x] C1 unwind_handler fails to unlock synchronized methods with LM_MONITOR
Reviewed-by: rrich, lucy
2024-10-18 08:30:41 +00:00
Shaojin Wen
0963b9e891 8341664: ReferenceClassDescImpl cache internalName
Reviewed-by: liach
2024-10-18 08:06:09 +00:00
Tobias Hartmann
c51a086ce3 8339694: ciTypeFlow does not correctly handle unresolved constant dynamic of array type
Reviewed-by: kvn, vlivanov
2024-10-18 06:46:23 +00:00
Aleksey Shipilev
7f4ed5001e 8341020: Error handler crashes when Metaspace is not fully initialized
Reviewed-by: kbarrett, jsjolen, stefank, dholmes
2024-10-18 05:55:07 +00:00
Amit Kumar
f50bd0d9ec 8341513: Remove the unused thread_type field from OSThread
Reviewed-by: stefank, dholmes
2024-10-18 03:37:50 +00:00
Jaikiran Pai
7a16906ed0 8341134: Deprecate for removal the jrunscript tool
Reviewed-by: mchung, alanb, sundar
2024-10-18 00:57:11 +00:00
Jaikiran Pai
ffe60919df 8173970: jar tool should have a way to extract to a directory
Reviewed-by: lancea, cstein
2024-10-18 00:51:39 +00:00
Kevin Rushforth
2b03dbdac4 8311530: Deprecate jdk.jsobject module for removal
Reviewed-by: rriggs, alanb, erikj
2024-10-18 00:23:39 +00:00
Alisen Chung
f7e8f5064a 8341292: Open some TextArea awt tests 3
Reviewed-by: prr, abhiscxk
2024-10-17 21:00:48 +00:00
Nikita Gubarkov
fe83b7d596 8339341: SurfaceManager cacheMap retains strong references
Reviewed-by: jdv, prr
2024-10-17 20:54:18 +00:00
Alisen Chung
12551ae64a 8339975: Open some dialog awt tests 2
Reviewed-by: azvegint
2024-10-17 19:29:00 +00:00
Alisen Chung
60af9078fb 8340494: Open some dialog awt tests 4
Reviewed-by: dnguyen, honkar
2024-10-17 19:28:26 +00:00
Alisen Chung
40a44e1c1b 8340851: Open some TextArea awt tests
Reviewed-by: prr
2024-10-17 18:10:00 +00:00
Aleksey Shipilev
b993227e2f 8342119: Shenandoah: Remove extra ShenandoahUpdateRefsClosure
Reviewed-by: wkemper, kdnilsen, rkennke
2024-10-17 18:08:43 +00:00
Coleen Phillimore
83e9e482b1 8325937: runtime/handshake/HandshakeDirectTest.java causes "monitor end should be strictly below the frame pointer" assertion failure on AArch64
Reviewed-by: rehn, eosterlund, pchilanomate, aph, fbredberg
2024-10-17 18:06:42 +00:00
Alisen Chung
236c71cad9 8341376: Open some TextArea awt tests 4
Reviewed-by: prr, abhiscxk
2024-10-17 15:10:38 +00:00
Aleksey Shipilev
979895d175 8342079: Shenandoah: Remove extra ShenandoahInitMarkRootsClosure
Reviewed-by: wkemper, rkennke
2024-10-17 15:03:37 +00:00
Alisen Chung
9a94884e42 8341055: Open some TextArea awt tests 2
Reviewed-by: prr, abhiscxk
2024-10-17 14:50:01 +00:00
Alisen Chung
7e98f5905b 8340987: Open some TextArea awt tests 1
Reviewed-by: prr, abhiscxk
2024-10-17 14:49:03 +00:00
Ramkumar Sunderbabu
d915ac2abd 8339871: serviceability/sa/TestDebugInfoDecode.java should be driver
Reviewed-by: cjplummer, lmesnik
2024-10-17 14:34:58 +00:00
Matias Saavedra Silva
363327e686 8341452: Test runtime/cds/appcds/DumpRuntimeClassesTest.java from JDK-8324259 is failing
Reviewed-by: dholmes, iklam
2024-10-17 13:56:49 +00:00
Thomas Schatzl
d6f8b465e4 8340389: vmTestbase/gc/gctests/PhantomReference/phantom001/TestDescription.java Test exit code: 97 with -Xcomp UseAVX=3
Reviewed-by: shade, iwalulya
2024-10-17 12:31:43 +00:00
Ivan Walulya
8e16e67492 8342329: G1: Rename G1HeapRegionManager::_allocated_heapregions_length
Reviewed-by: tschatzl, shade
2024-10-17 12:26:39 +00:00
Shaojin Wen
3ebfc6c1e2 8342336: Optimize ClassFile imports
Reviewed-by: liach
2024-10-17 10:49:53 +00:00
Jan Lahoda
7ff4ea8d01 8341966: Broken annotated module may lead to an exception in javac
Reviewed-by: asotona
2024-10-17 09:26:13 +00:00
Antón Seoane Ampudia
9bdface147 8341622: Tag-specific disabled default decorators for UnifiedLogging
Reviewed-by: jsjolen, rcastanedalo, aboldtch
2024-10-17 09:18:22 +00:00
Alisen Chung
1ea1f33f66 8340336: Open some checkbox awt tests
Reviewed-by: prr, honkar
2024-10-17 08:43:07 +00:00
Simon Tooke
7a64fbbb92 8338851: Hoist os::Posix::realpath() to os::realpath() and implement on Windows
Reviewed-by: dholmes, stuefe, jwaters
2024-10-17 08:06:37 +00:00
Kevin Walls
8862ca076f 8342338: Remove redundant IIOPURLTest.java
Reviewed-by: cjplummer, amenkov
2024-10-17 08:01:14 +00:00
Richard Reingruber
f9208fadde 8341715: PPC64: ObjectMonitor::_owner should be reset unconditionally in nmethod unlocking
Reviewed-by: mdoerr, lucy
2024-10-17 07:21:42 +00:00
Richard Reingruber
fa39e84d64 8342042: PPC64: compiler_fast_unlock_object flags failure instead of success
Reviewed-by: mdoerr, aboldtch, fbredberg
2024-10-17 07:19:54 +00:00
Tejesh R
e0dabfb4bf 8340279: Open source several AWT Dialog tests - Batch 2
Reviewed-by: abhiscxk, prr
2024-10-17 06:38:23 +00:00
Tejesh R
f6fe5eaf1a 8341072: Open source several AWT Canvas and Rectangle related tests
Reviewed-by: prr
2024-10-17 05:48:45 +00:00
Christian Hagedorn
22a1feea74 8341328: Refactor initial Assertion Predicate creation into separate classes
Reviewed-by: thartmann, kvn
2024-10-17 05:08:59 +00:00
Tobias Hartmann
58d39c317e 8340313: Crash due to invalid oop in nmethod after C1 patching
Reviewed-by: tschatzl, kvn, dlong
2024-10-17 05:03:09 +00:00
Vlad Zahorodnii
3da6890081 8338751: ConfigureNotify behavior has changed in KWin 6.2
Reviewed-by: prr, azvegint, serb
2024-10-16 23:32:41 +00:00
Alisen Chung
4e703b285b 8340140: Open some dialog awt tests 3
Reviewed-by: prr, honkar
2024-10-16 21:57:15 +00:00
Valerie Peng
b4ab290fd7 8331959: Update PKCS#11 Cryptographic Token Interface to v3.1
Reviewed-by: weijun, ascarpino
2024-10-16 21:26:57 +00:00
Yudi Zheng
285385247a 8342332: [JVMCI] Export CompilerToVM::Data::dtanh
Reviewed-by: never
2024-10-16 19:58:27 +00:00
Richard Reingruber
ed6809666b 8341862: PPC64: C1 unwind_handler fails to unlock synchronized methods with LM_MONITOR
Reviewed-by: mdoerr, mbaesken
2024-10-16 19:17:27 +00:00
Jatin Bhateja
d4f0ba73f6 8342439: Build failure after 8338023
Reviewed-by: liach
2024-10-16 18:26:54 +00:00
SendaoYan
44151f475f 8342145: File libCreationTimeHelper.c compile fails on Alpine
Reviewed-by: mbaesken
2024-10-16 16:27:57 +00:00
Jatin Bhateja
709914fc92 8338023: Support two vector selectFrom API
Reviewed-by: psandoz, epeter, sviswanathan
2024-10-16 16:08:02 +00:00
Gerard Ziemski
c34fb2c989 8338883: Show warning when CreateCoredumpOnCrash set, but core dump will not happen
Reviewed-by: dholmes, jsjolen
2024-10-16 15:32:07 +00:00
Aleksey Shipilev
7625b29920 8329597: C2: Intrinsify Reference.clear
Reviewed-by: rcastanedalo, eosterlund, kvn
2024-10-16 14:08:10 +00:00
Matthias Baesken
1cc32237ae 8336911: ZGC: Division by zero in heuristics after JDK-8332717
Reviewed-by: aboldtch, eosterlund
2024-10-16 13:36:58 +00:00
Jaikiran Pai
cf5bb12731 Merge
Reviewed-by: alanb, dfuchs
2024-10-16 11:36:01 +00:00
Nizar Benalla
c81aa7551c 8331051: Add an @since checker test for java.base module
Reviewed-by: jlahoda, jjg
2024-10-16 10:17:47 +00:00
Johny Jose
ebc17c7c8d 8339637: (tz) Update Timezone Data to 2024b
Reviewed-by: naoto, coffeys, jlu
2024-10-16 07:36:07 +00:00
Matthias Baesken
e7cf25ce0e 8340801: Disable ubsan checks in some awt/2d coding
Reviewed-by: ihse, lucy, goetz, jwaters
2024-10-16 07:28:36 +00:00
Thomas Schatzl
577babf196 8334010: VM crashes with ObjectAlignmentInBytes > GCCardSizeInBytes
Reviewed-by: shade, iwalulya
2024-10-16 07:27:28 +00:00
Emanuel Peter
b9b0bd0871 8337221: CompileFramework: test library to conveniently compile java and jasm sources for fuzzing
Reviewed-by: chagedorn, tholenstein
2024-10-16 07:23:12 +00:00
Aleksey Shipilev
724de68209 8342081: Shenandoah: Remove extra ShenandoahMarkUpdateRefsSuperClosure
Reviewed-by: ysr
2024-10-16 07:13:59 +00:00
Kim Barrett
e4ff553c12 8341931: os_linux gtest uses lambdas with explicit capture lists
Reviewed-by: jwaters, jsjolen
2024-10-16 07:05:17 +00:00
Ramkumar Sunderbabu
e94e3bba39 8324672: Update jdk/java/time/tck/java/time/TCKInstant.java now() to be more robust
Reviewed-by: rriggs, dfuchs
2024-10-16 06:52:42 +00:00
Tejesh R
6d7e67956b 8340790: Open source several AWT Dialog tests - Batch 4
Reviewed-by: honkar, prr
2024-10-16 05:14:59 +00:00
Jaikiran Pai
86ce19e8db 8341142: Maintain a single source file for sun.net.www.protocol.jar.JarFileFactory
Reviewed-by: dfuchs
2024-10-16 01:51:09 +00:00
Brian Burkhalter
b9cabbecda 8341997: Tests create files in src tree instead of scratch dir
Reviewed-by: erikj, jpai
2024-10-15 17:44:49 +00:00
Julian Waters
5eae20f73b 8323672: Suppress unwanted autoconf added flags in CC and CXX
Reviewed-by: ihse
2024-10-15 14:10:53 +00:00
Aleksey Shipilev
6ed6dff222 8341871: Disable G1 for unsupported platforms after JDK-8334060
Reviewed-by: mdoerr, erikj
2024-10-15 12:55:49 +00:00
Aleksey Shipilev
54c9348c8c 8336103: Clean up confusing Method::is_initializer
Reviewed-by: dholmes, coleenp
2024-10-15 12:16:15 +00:00
Matthias Baesken
2c0c65353b 8342044: Increase timeout of gc/shenandoah/oom/TestClassLoaderLeak.java
Reviewed-by: shade
2024-10-15 11:52:34 +00:00
Emanuel Peter
490d099e23 8335713: Enhance vectorization analysis
Co-authored-by: Roland Westrelin <roland@openjdk.org>
Reviewed-by: rhalade, ahgross, thartmann, kvn
2024-10-15 17:04:27 +05:30
Dean Long
c89f76c0b9 8332644: Improve graph optimizations
Co-authored-by: Martin Balao <mbalao@redhat.com>
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@redhat.com>
Reviewed-by: epeter, ahgross, thartmann, rhalade, dlong, roland
2024-10-15 17:04:27 +05:30
Justin Lu
d9f6383037 8331446: Improve deserialization support
Reviewed-by: rhalade, skoivu, rriggs, naoto
2024-10-15 17:04:27 +05:30
Hai-May Chao
dadcee1b89 8307383: Enhance DTLS connections
Co-authored-by: Jamil Nimeh <jnimeh@openjdk.org>
Reviewed-by: rhalade, mschoene, ascarpino
2024-10-15 17:04:27 +05:30
Matias Saavedra Silva
498a58244d 8311208: Improve CDS Support
Reviewed-by: rhalade, mschoene, ccheung, iklam
2024-10-15 17:04:27 +05:30
Emanuel Peter
cfa25b71a6 8328544: Improve handling of vectorization
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: mschoene, kvn, chagedorn, rhalade
2024-10-15 17:04:27 +05:30
Daniel Fuchs
03bc6b359f 8328286: Enhance HTTP client
Reviewed-by: aefimov, michaelm
2024-10-15 17:04:27 +05:30
Weijun Wang
893e7bc894 8328726: Better Kerberos support
Reviewed-by: ahgross, rhalade, valeriep, coffeys
2024-10-15 17:04:27 +05:30
Valerie Peng
369c573383 8302111: Serialization considerations
Reviewed-by: skoivu, rhalade, weijun, wetmore
2024-10-15 17:04:27 +05:30
Kevin Walls
df7d6e081f 8338603: DiagnosticCommandMBean operations should standardize types for parameters
Reviewed-by: cjplummer, egahlin
2024-10-15 10:50:45 +00:00
Thomas Schatzl
c9a536c330 8337339: gc/arguments/Test*SizeFlags.java timing out with Xcomp
Reviewed-by: shade, iwalulya
2024-10-15 09:15:40 +00:00
Maurizio Cimadamore
f4dccfd4cf 8338596: Clarify handling of restricted and caller-sensitive methods
Co-authored-by: Hannes Wallnöfer <hannesw@openjdk.org>
Reviewed-by: alanb, jvernee
2024-10-15 09:10:13 +00:00
Thomas Schatzl
3b8a2f8c45 8337269: G1ConfidencePercent interpreted inconsistently
Reviewed-by: kbarrett, iwalulya
2024-10-15 08:46:23 +00:00
Per Minborg
521effe017 8340189: 8339531 incorrect for Big Endian platforms
Reviewed-by: mdoerr, amitkumar
2024-10-15 07:59:33 +00:00
t.ogata
e6698f51a1 8337851: Some tests have name which confuse jtreg
Reviewed-by: aivanov, prr, cstein
2024-10-15 07:47:42 +00:00
Fei Yang
a601cd2e10 8342014: RISC-V: ZStoreBarrierStubC2 clobbers rflags
Reviewed-by: rehn, aboldtch, mli
2024-10-15 02:53:44 +00:00
Chen Liang
bd6264420b 8341924: Improve error message with structurally malformed Code array
Reviewed-by: asotona
2024-10-14 17:22:11 +00:00
Chen Liang
a2c775222e 8317356: Fix missing null checks in the ClassFile API
Co-authored-by: Nizar Benalla <nbenalla@openjdk.org>
Reviewed-by: asotona
2024-10-14 17:21:10 +00:00
Alisen Chung
60713463c7 8339879: Open some dialog awt tests
Reviewed-by: honkar, prr
2024-10-14 16:45:59 +00:00
Igor Veresov
a8a8b2deba 8341831: PhaseCFG::insert_anti_dependences asserts with "no loads"
Reviewed-by: dlong, kvn
2024-10-14 16:44:53 +00:00
Weijun Wang
9e262df813 8342002: sun/security/tools/keytool/GenKeyPairSigner.java failed due to missing certificate output
Reviewed-by: mullan
2024-10-14 16:00:04 +00:00
SendaoYan
f56a154132 8341881: [REDO] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
Reviewed-by: liach, sgehwolf, ihse, bpb
2024-10-14 12:32:55 +00:00
Daniel Fuchs
ba3774dc5d 8341637: java/net/Socket/UdpSocket.java fails with "java.net.BindException: Address already in use" (macos-aarch64)
Reviewed-by: jpai
2024-10-14 12:29:06 +00:00
Afshin Zafari
1581508988 8335091: NMT: VMATree reserve_mapping and commit_mapping APIs need MEMFLAGS while un/-committing API has no MEMFLAGS arg
Reviewed-by: jsjolen, gziemski
2024-10-14 10:51:37 +00:00
Matthias Baesken
b20c5c79de 8341967: Unify os::current_file_offset and os::seek_to_file_offset across posix platforms
Reviewed-by: jsjolen, mdoerr
2024-10-14 10:34:19 +00:00
Fei Gao
dcac4b0a53 8341471: Reversed field layout caused by unstable sorting
Reviewed-by: jwaters, jsjolen
2024-10-14 08:40:03 +00:00
Aleksey Shipilev
e3f6503937 8341893: AArch64: Micro-optimize compressed ptr decoding
Reviewed-by: aph, fyang
2024-10-14 07:55:38 +00:00
Aleksey Shipilev
037f11b864 8341708: Optimize safepoint poll encoding with smaller poll data offset
Reviewed-by: kvn, qamai
2024-10-14 06:02:00 +00:00
Tobias Hartmann
8d0975a27d 8336726: C2: assert(!do_asserts || projs->fallthrough_ioproj != nullptr) failed: must be found
Reviewed-by: chagedorn, kvn, vlivanov
2024-10-14 05:26:48 +00:00
Abhishek Kumar
fe98f86b57 8226938: [TEST_BUG]GTK L&F: There is no Details button in FileChooser Dialog
Reviewed-by: honkar, prr
2024-10-14 04:45:24 +00:00
Abhishek Kumar
5c4f1ef746 8226933: [TEST_BUG]GTK L&F: There is no swatches or RGB tab in JColorChooser
Reviewed-by: aivanov, psadhukhan, tr
2024-10-14 04:45:12 +00:00
Ramkumar Sunderbabu
41ee582df8 8341138: Rename jtreg property docker.support as container.support
Reviewed-by: sgehwolf, mseledtsov
2024-10-12 03:25:42 +00:00
Daniel D. Daugherty
2e1c1936e1 8342003: ProblemList sun/security/tools/keytool/GenKeyPairSigner.java
Reviewed-by: jpai
2024-10-12 02:45:50 +00:00
Justin Lu
2db3397187 8341797: Fix ExceptionOccurred in jdk.jdi
Reviewed-by: amenkov, cjplummer
2024-10-11 21:31:58 +00:00
Justin Lu
c4965d9b13 8341794: Fix ExceptionOccurred in jdk.attach
Reviewed-by: amenkov, cjplummer
2024-10-11 21:30:53 +00:00
Weijun Wang
3f53d57134 8340327: A common framework to support public key algorithms with standard parameter sets
Reviewed-by: ascarpino, mullan
2024-10-11 21:16:41 +00:00
Kim Barrett
0a57fe1df6 8341178: TypeRawPtr::add_offset may be "miscompiled" due to UB
Reviewed-by: dlong, kvn
2024-10-11 21:11:12 +00:00
Damon Nguyen
1f6bd0c3e5 8341972: java/awt/dnd/DnDRemoveFocusOwnerCrashTest.java timed out after JDK-8341257
Reviewed-by: azvegint
2024-10-11 20:03:14 +00:00
Quan Anh Mai
7276a1bec0 8341784: Refactor TypeVect to use a BasicType instead of a const Type*
Reviewed-by: kvn, jkarthikeyan
2024-10-11 15:28:15 +00:00
Jan Lahoda
6133866150 8341070: javac fails with an exception when compiling import module under source level 8
Reviewed-by: asotona
2024-10-11 10:07:34 +00:00
Thomas Schatzl
519544c1d7 8341909: G1: Add region index to region printer output
Reviewed-by: kbarrett, lkorinth
2024-10-11 09:12:16 +00:00
Matthias Baesken
7c0dbf8e9c 8341820: Check return value of hcreate_r
Reviewed-by: cjplummer, lucy
2024-10-11 08:22:27 +00:00
SendaoYan
ae41daf9a7 8341880: RISC-V: riscv_vector.h native build fails with gcc13 after JDK-8320500
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: mli, fyang
2024-10-11 08:12:37 +00:00
SendaoYan
ace44e564f 8341806: Gcc version detection failure on Alinux3
Reviewed-by: ihse, jwaters
2024-10-11 07:29:11 +00:00
Shaojin Wen
472db922fa 8341900: Optimize DirectCodeBuilder writeBody
Reviewed-by: liach
2024-10-11 02:17:37 +00:00
Shaojin Wen
24eb360147 8341906: Optimize ClassFile writing BufBuffer
Reviewed-by: liach
2024-10-11 00:29:14 +00:00
Damon Nguyen
cd4981c292 8341257: Open source few DND tests - Set1
Reviewed-by: honkar, prr
2024-10-10 21:42:23 +00:00
William Kemper
06f34d7ed2 8339651: ShenandoahPacer::setup_for_mark, ShenandoahPacer::setup_for_updaterefs and ShenandoahPacer::setup_for_evac runtime error: division by zero
Reviewed-by: shade, mli
2024-10-10 18:45:10 +00:00
Damon Nguyen
97ee8bbda2 8340173: Open source some Component/Panel/EventQueue tests - Set2
Reviewed-by: honkar
2024-10-10 18:17:55 +00:00
Daniel Gredler
2a6f0307e8 8339974: Graphics2D.drawString doesn't always work with Font derived from AffineTransform
Reviewed-by: prr, azvegint
2024-10-10 18:00:33 +00:00
Harshitha Onkar
32f817a460 8340978: Open source few DnD tests - Set6
Reviewed-by: prr
2024-10-10 17:55:26 +00:00
Justin Lu
a5cad0ee1e 8341791: Fix ExceptionOccurred in java.prefs
Reviewed-by: bpb, jpai, naoto
2024-10-10 17:33:38 +00:00
Justin Lu
7eb55357ab 8341789: Fix ExceptionOccurred in java.base
Reviewed-by: bpb, jpai, dfuchs, lancea, rriggs, naoto
2024-10-10 17:33:22 +00:00
Weijun Wang
76541b0646 8341792: Fix ExceptionOccurred in java.security.jgss
Reviewed-by: jlu, mullan
2024-10-10 17:22:45 +00:00
Axel Boldt-Christmas
6fad6af0de 8341819: LightweightSynchronizer::enter_for races with deflation
Reviewed-by: pchilanomate, rkennke
2024-10-10 17:02:54 +00:00
Aleksei Efimov
4beb77192f 8339538: Wrong timeout computations in DnsClient
8220213: com/sun/jndi/dns/ConfigTests/Timeout.java failed intermittent

Reviewed-by: dfuchs, msheppar, djelinski
2024-10-10 15:56:04 +00:00
Tejesh R
a7d2077fe2 8340366: Open source several AWT Dialog tests - Batch 3
Reviewed-by: prr, dnguyen
2024-10-10 15:50:19 +00:00
Tejesh R
2d8fcc4271 8340193: Open source several AWT Dialog tests - Batch 1
Reviewed-by: psadhukhan
2024-10-10 15:34:39 +00:00
Shaojin Wen
6e0138450a 8341136: Optimize StackMapGenerator::trimAndCompress
Reviewed-by: liach
2024-10-10 15:13:39 +00:00
Shaojin Wen
e9327b6e3c 8339205: Optimize StackMapGenerator
Reviewed-by: liach
2024-10-10 14:32:32 +00:00
Roberto Castañeda Lozano
16042556f3 8341619: C2: remove unused StoreCM node
Reviewed-by: chagedorn, thartmann, kvn
2024-10-10 08:34:10 +00:00
Matthias Baesken
e7c5bf45f7 8341722: Fix some warnings as errors when building on Linux with toolchain clang
Reviewed-by: cjplummer, lucy
2024-10-10 07:21:05 +00:00
Christian Hagedorn
36fca5d19d 8341882: [BACKOUT] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
Reviewed-by: thartmann
2024-10-10 06:40:55 +00:00
Abhishek Kumar
780de00922 8051591: Test javax/swing/JTabbedPane/8007563/Test8007563.java fails
Reviewed-by: honkar, dnguyen, psadhukhan
2024-10-10 05:57:39 +00:00
Abhishek Kumar
313f4a9621 8340809: Open source few more AWT PopupMenu tests
Reviewed-by: prr, aivanov
2024-10-10 05:40:21 +00:00
SendaoYan
9d621d3914 8338884: java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
Reviewed-by: sgehwolf, bpb
2024-10-10 01:04:02 +00:00
Shaojin Wen
475f8f94e0 8341859: Optimize ClassFile Benchmark Write
Reviewed-by: liach
2024-10-10 00:03:08 +00:00
Shaojin Wen
c850ecb20a 8341755: Optimize argNames in InnerClassLambdaMetafactory
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: liach, redestad
2024-10-09 23:50:18 +00:00
Alexander Zuev
172f74466f 8340985: Open source some Desktop related tests
Reviewed-by: abhiscxk
2024-10-09 22:10:32 +00:00
Justin Lu
e7045e9399 8341684: Typo in External Specifications link of java.util.Currency
Reviewed-by: liach, naoto, srl
2024-10-09 21:46:50 +00:00
Justin Lu
49c7148d37 8341366: Suspicious check in Locale.getDisplayName(Locale inLocale)
Reviewed-by: naoto
2024-10-09 21:45:47 +00:00
Alexander Zuev
52eded4a9c 8341170: Open source several Choice related tests (part 2)
Reviewed-by: honkar
2024-10-09 20:31:02 +00:00
Daniel D. Daugherty
a45abf131b 8341860: ProblemList applications/ctw/modules/java_base_2.java on linux-x64
Reviewed-by: azvegint
2024-10-09 18:20:52 +00:00
Phil Race
593c27e697 8341535: sun/awt/font/TestDevTransform.java fails with RuntimeException: Different rendering
Reviewed-by: mbaesken
2024-10-09 18:17:53 +00:00
Jatin Bhateja
3180aaa370 8341832: Incorrect continuation address of synthetic SIGSEGV for APX in product builds
Reviewed-by: thartmann, sviswanathan, kvn
2024-10-09 17:44:15 +00:00
Aleksey Shipilev
3ab519f163 8341424: GHA: Collect hs_errs from build time failures
Reviewed-by: ihse, jwaters
2024-10-09 17:30:28 +00:00
Shaojin Wen
a24525b67b 8339320: Optimize ClassFile Utf8EntryImpl#inflate
Reviewed-by: liach
2024-10-09 17:21:59 +00:00
Fredrik Bredberg
fcc9c8d570 8341854: Incorrect clearing of ZF in fast_unlock_lightweight on x86
Reviewed-by: stefank, aboldtch, pchilanomate, dcubed
2024-10-09 16:45:56 +00:00
Archie Cobbs
38c1d65148 8337980: Javac allows invocation of an inherited instance method from a static method
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore, jlahoda
2024-10-09 16:03:55 +00:00
Eirik Bjørsnøs
950e3a7587 8341625: Improve ZipFile validation of the END header
Reviewed-by: lancea
2024-10-09 15:56:38 +00:00
Oli Gillespie
e704c055a4 8340547: Starting many threads can delay safepoints
Reviewed-by: shade, qamai, dholmes
2024-10-09 15:28:44 +00:00
Kangcheng Xu
c30ad0124e 8325495: C2: implement optimization for series of Add of unique value
Reviewed-by: chagedorn, roland
2024-10-09 15:07:13 +00:00
Roland Westrelin
ff2f39f240 8340214: C2 compilation asserts with "no node with a side effect" in PhaseIdealLoop::try_sink_out_of_loop
Reviewed-by: chagedorn, thartmann
2024-10-09 14:59:15 +00:00
Roland Westrelin
ecc77a5b4a 8336702: C2 compilation fails with "all memory state should have been processed" assert
Reviewed-by: thartmann, chagedorn
2024-10-09 14:57:37 +00:00
Johan Sjölen
d936556799 8341633: StatSampler::assert_system_property: Print the keys and values of the assert
Reviewed-by: stefank
2024-10-09 13:05:33 +00:00
Christian Hagedorn
3fba1702cd 8340786: Introduce Predicate classes with predicate iterators and visitors for simplified walking
Reviewed-by: roland, thartmann
2024-10-09 11:42:22 +00:00
Shaojin Wen
047c2d7f26 8341141: Optimize DirectCodeBuilder
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: liach, redestad
2024-10-09 10:01:22 +00:00
SendaoYan
d636e0d314 8341688: Aarch64: Generate comments in -XX:+PrintInterpreter to link to source code
Reviewed-by: aph, jsjolen, jwaters
2024-10-09 09:02:52 +00:00
Daniel Skantz
d3f3c6a8cd 8330157: C2: Add a stress flag for bailouts
Reviewed-by: chagedorn, thartmann
2024-10-09 07:01:23 +00:00
SendaoYan
d809bc0e21 8341658: RISC-V: Test DateFormatProviderTest.java run timeouted
Reviewed-by: naoto
2024-10-09 05:47:58 +00:00
Ramkumar Sunderbabu
de90204b60 8341588: Remove CollectionUsageThreshold.java from ProblemList-Xcomp for debugging
Reviewed-by: lmesnik, kevinw
2024-10-09 03:11:59 +00:00
Daniel D. Daugherty
f276f58fb4 8341803: ProblemList containers/docker/TestJcmdWithSideCar.java on linux-x64
8341805: ProblemList five mlvm/indy/func/jvmti tests in Xcomp mode

Reviewed-by: psandoz
2024-10-09 00:00:09 +00:00
Igor Veresov
7eab0a506a 8337066: Repeated call of StringBuffer.reverse with double byte string returns wrong result
Reviewed-by: kvn, thartmann
2024-10-08 23:21:44 +00:00
Shaojin Wen
62acc9c174 8341548: More concise use of classfile API
Reviewed-by: liach
2024-10-08 20:35:14 +00:00
Leonid Mesnik
7312eea382 8341131: Some jdk/jfr/event/compiler tests shouldn't be executed with Xcomp
Reviewed-by: chagedorn
2024-10-08 17:44:35 +00:00
Alexander Zvegintsev
966eb7232f 8341447: Open source closed frame tests # 5
Reviewed-by: honkar
2024-10-08 17:37:48 +00:00
Harshitha Onkar
b9db74a645 8341378: Open source few TrayIcon tests - Set8
Reviewed-by: azvegint, dnguyen
2024-10-08 16:34:45 +00:00
Hannes Wallnöfer
65463536e6 8340203: Link color is hard to distinguish from text color in API documentation
Reviewed-by: prappo
2024-10-08 16:16:14 +00:00
Hamlin Li
580eb62dc0 8320500: [vectorapi] RISC-V: Optimize vector math operations with SLEEF
Reviewed-by: luhenry, ihse, erikj, fyang, rehn
2024-10-08 15:15:13 +00:00
Thomas Schatzl
4a12f5b26e 8341643: G1: Merged cards counter skewed by merge cards cache
Reviewed-by: iwalulya, mli
2024-10-08 14:12:53 +00:00
Matthias Baesken
6e48618161 8341644: Compile error in cgroup coding when using toolchain clang
Reviewed-by: stefank, mdoerr
2024-10-08 12:36:31 +00:00
Eirik Bjørsnøs
7a1e832ea9 8336843: Deprecate java.util.zip.ZipError for removal
Reviewed-by: liach, lancea
2024-10-08 10:08:31 +00:00
Eirik Bjørsnøs
f62dba3651 8341597: ZipFileInflaterInputStream input buffer size uses uncompressed size
Reviewed-by: lancea
2024-10-08 09:59:29 +00:00
Amit Kumar
59ac7039d3 8339220: [s390x] TestIfMinMax.java failure
Reviewed-by: lucy, aph
2024-10-08 09:19:40 +00:00
Claes Redestad
ffb60e55cd 8341594: Use Unsafe to coalesce reads in java.util.zip.ZipUtils
Reviewed-by: lancea
2024-10-08 08:14:40 +00:00
Tejesh R
57c859e4ad 8339836: Open source several AWT Mouse tests - Batch 1
Reviewed-by: honkar, prr
2024-10-08 06:33:22 +00:00
Tejesh R
b6a4047387 8339982: Open source several AWT Mouse tests - Batch 2
Reviewed-by: psadhukhan
2024-10-08 06:33:11 +00:00
William Kemper
45a6359588 8341668: Shenandoah: assert(tail_bits < (idx_t)BitsPerWord) failed: precondition
Reviewed-by: ysr
2024-10-08 01:26:16 +00:00
Shaojin Wen
d996ca863d 8341581: Optimize BytecodeHelpers validate slot
Reviewed-by: liach
2024-10-07 23:30:06 +00:00
Harshitha Onkar
4d50cbb5a7 8341278: Open source few TrayIcon tests - Set7
Reviewed-by: azvegint
2024-10-07 21:29:21 +00:00
Mikael Vidstedt
23f3ca254a 8330206: Bump minimum boot jdk to JDK 23
Reviewed-by: darcy, iris, erikj
2024-10-07 19:33:48 +00:00
Harshitha Onkar
fc7244da96 8340713: Open source DnD tests - Set5
Reviewed-by: azvegint, dnguyen
2024-10-07 17:42:17 +00:00
Eirik Bjørsnøs
f7bb647dc8 8341595: Clean up iteration of CEN headers in ZipFile.Source.initCEN
Reviewed-by: lancea, redestad
2024-10-07 16:34:08 +00:00
Alexander Zvegintsev
d0c5e4bc50 8341373: Open source closed frame tests # 4
Reviewed-by: prr
2024-10-07 16:32:01 +00:00
SendaoYan
3359518986 8341593: Problemlist java/foreign/TestUpcallStress.java in Xcomp mode
Reviewed-by: jvernee
2024-10-07 16:28:02 +00:00
Ivan Walulya
a2372c607c 8341238: G1: Refactor G1Policy to move collection set selection methods into G1CollectionSet
Reviewed-by: tschatzl, mli
2024-10-07 13:26:16 +00:00
Alexey Ivanov
4ba170c403 8341235: Improve default instruction frame title in PassFailJFrame
Reviewed-by: prr
2024-10-07 12:45:04 +00:00
Alexey Ivanov
520060f79a 8340799: Add border inside instruction frame in PassFailJFrame
Reviewed-by: prr, dnguyen
2024-10-07 12:44:42 +00:00
Hamlin Li
28977972a0 8340880: RISC-V: add t3-t6 alias into assemler_riscv.hpp
Reviewed-by: luhenry, fyang
2024-10-07 09:32:40 +00:00
SendaoYan
747a3fa31d 8341562: RISC-V: Generate comments in -XX:+PrintInterpreter to link to source code
Reviewed-by: fyang, luhenry
2024-10-07 08:39:44 +00:00
Roberto Castañeda Lozano
81ebbb2463 8341525: G1: use bit clearing to remove tightly-coupled initialization store pre-barriers
Reviewed-by: mdoerr, kbarrett, shade, tschatzl
2024-10-07 08:28:18 +00:00
Tobias Hartmann
92186a2774 8341612: [BACKOUT] 8338442: AArch64: Clean up IndOffXX type and let legitimize_address() fix out-of-range operands
Reviewed-by: chagedorn
2024-10-07 07:58:01 +00:00
Aleksey Shipilev
6600161ad4 8338379: Accesses to class init state should be properly synchronized
Reviewed-by: mdoerr, dholmes, coleenp, fyang, amitkumar
2024-10-07 07:05:31 +00:00
David M. Lloyd
20f36c666c 8339329: ConstantPoolBuilder#constantValueEntry method doc typo and clarifications
Reviewed-by: liach
2024-10-06 16:26:45 +00:00
SendaoYan
50426b3841 8337713: RISC-V: fix typos in macroAssembler_riscv.cpp
Reviewed-by: jwaters, fyang
2024-10-06 12:21:17 +00:00
Attila Szegedi
260d4658ae 8340572: ConcurrentModificationException when sorting ArrayList sublists
Reviewed-by: smarks
2024-10-05 21:15:18 +00:00
Martin Doerr
9a25f822fb 8339386: Assertion on AIX - original PC must be in the main code section of the compiled method
Reviewed-by: rrich, lucy
2024-10-05 18:42:37 +00:00
Martin Doerr
df763cd2c2 8341558: [AIX] build broken after 8341413
Reviewed-by: kbarrett
2024-10-05 18:34:31 +00:00
Shaojin Wen
1c3e56c3e4 8341512: Optimize StackMapGenerator::processInvokeInstructions
Reviewed-by: liach
2024-10-05 15:37:18 +00:00
Shaojin Wen
f8db3a831b 8341510: Optimize StackMapGenerator::processFieldInstructions
Reviewed-by: liach
2024-10-05 01:21:25 +00:00
Shaojin Wen
b42fbf43df 8339699: Optimize DataOutputStream writeUTF
Reviewed-by: liach, bpb
2024-10-04 22:35:03 +00:00
Damon Nguyen
559289487d 8340417: Open source some MenuBar tests - Set1
Reviewed-by: psadhukhan
2024-10-04 22:08:37 +00:00
William Kemper
bade041db8 8341554: Shenandoah: Missing heap lock when updating usage for soft ref policy
Reviewed-by: kdnilsen, ysr
2024-10-04 21:56:06 +00:00
Alexander Matveev
85e0e6452d 8341443: [macos] AppContentTest and SigningOptionsTest failed due to "codesign" does not fails with "--app-content" on macOS 15
Reviewed-by: asemenyuk
2024-10-04 21:21:47 +00:00
Chris Plummer
33e4bfdf91 8341295: Add some useful debugging APIs to the debug agent
Reviewed-by: amenkov, sspitsyn
2024-10-04 21:17:21 +00:00
Joe Darcy
a3e23572d5 8341483: Clarify special case handling of Types.getArrayType
Reviewed-by: liach, prappo, dlsmith
2024-10-04 20:31:28 +00:00
Joe Darcy
e70cbcfd0c 8341541: Wrong anchor in wrapper classes links
Reviewed-by: hannesw, liach
2024-10-04 19:25:31 +00:00
Damon Nguyen
86e3d52c70 8341258: Open source few various AWT tests - Set1
Reviewed-by: psadhukhan
2024-10-04 18:42:45 +00:00
Damon Nguyen
92cb633108 8340967: Open source few Cursor tests - Set2
Reviewed-by: psadhukhan
2024-10-04 18:39:30 +00:00
Damon Nguyen
3d38cd97ef 8340966: Open source few Checkbox and Cursor tests - Set1
Reviewed-by: psadhukhan, jdv
2024-10-04 18:36:26 +00:00
Damon Nguyen
7e3978eab2 8340164: Open source few Component tests - Set1
Reviewed-by: psadhukhan, prr
2024-10-04 18:35:08 +00:00
Jayathirth D V
c8e70df37e 8341162: Open source some of the AWT window test
Reviewed-by: aivanov
2024-10-04 18:08:37 +00:00
Justin Lu
2e5b420f81 8340326: Remove references to Applet in core-libs/security tests
Reviewed-by: prr, naoto, dfuchs
2024-10-04 17:34:08 +00:00
Kelvin Nilsen
f5f0852f51 8341379: Shenandoah: Improve lock contention during cleanup
Reviewed-by: xpeng, phh, wkemper
2024-10-04 17:29:31 +00:00
Phil Race
04c9c5f0a7 8341111: open source several AWT tests including menu shortcut tests
Reviewed-by: psadhukhan, jdv
2024-10-04 17:20:09 +00:00
Harshitha Onkar
0dd4997042 8340555: Open source DnD tests - Set4
Reviewed-by: aivanov, azvegint
2024-10-04 16:38:31 +00:00
Calvin Cheung
beb2a51b12 8341377: Update VMProps.isCDSRuntimeOptionsCompatible to include Parallel and Serial GC
Reviewed-by: dholmes, shade
2024-10-04 16:20:01 +00:00
Calvin Cheung
42f32551cd 8341053: Two CDS tests fail again with -UseCompressedOops and UseSerialGC/UseParallelGC
Reviewed-by: iklam, matsaave
2024-10-04 16:14:51 +00:00
Kim Barrett
feb6a830e2 8340945: Ubsan: oopStorage.cpp:374:8: runtime error: applying non-zero offset 18446744073709551168 to null pointer
Reviewed-by: tschatzl, mbaesken
2024-10-04 15:58:22 +00:00
Jayathirth D V
db61458da8 8341298: Open source more AWT window tests
Reviewed-by: abhiscxk
2024-10-04 11:55:21 +00:00
Stefan Karlsson
72ac72fe1f 8341413: Stop including osThread_os.hpp in the middle of the OSThread class
Reviewed-by: coleenp, dholmes
2024-10-04 11:43:11 +00:00
Maurizio Cimadamore
7fa2f229fb 8341127: Extra call to MethodHandle::asType from memory segment var handles fails to inline
Reviewed-by: psandoz, redestad, jvernee
2024-10-04 09:45:50 +00:00
Todd V. Jonker
1bdd79e7b2 8341261: Tests assume UnlockExperimentalVMOptions is disabled by default
Reviewed-by: stefank, mli, ysr
2024-10-04 09:01:41 +00:00
Stefan Johansson
ec020f3fc9 8340426: ZGC: Move defragment out of the allocation path
Reviewed-by: aboldtch, jsikstro, eosterlund
2024-10-04 08:26:35 +00:00
Richard Reingruber
a63ac5a699 8340792: -XX:+PrintInterpreter: instructions should only be printed if printing all InterpreterCodelets
Reviewed-by: mdoerr, coleenp
2024-10-04 08:26:15 +00:00
Axel Boldt-Christmas
3f420fac84 8341451: Remove C2HandleAnonOMOwnerStub
Reviewed-by: fyang, chagedorn
2024-10-04 06:55:53 +00:00
Jayathirth D V
d3139b4c36 8341000: Open source some of the AWT Window tests
Reviewed-by: psadhukhan, abhiscxk
2024-10-04 06:49:54 +00:00
Dhamoder Nalla
4ded28380b 8338136: Hotspot should support multiple large page sizes on Windows
Reviewed-by: dholmes, djelinski
2024-10-04 04:50:54 +00:00
Daniel D. Daugherty
10402b43c7 8341489: ProblemList runtime/cds/appcds/DumpRuntimeClassesTest.java in Xcomp mode
Reviewed-by: matsaave
2024-10-03 20:25:47 +00:00
Manukumar V S
6bc3971f64 8341316: [macos] javax/swing/ProgressMonitor/ProgressMonitorEscapeKeyPress.java fails sometimes in macos
Reviewed-by: prr
2024-10-03 19:36:06 +00:00
Phil Race
e89fd1d2ce 8341128: open source some 2d graphics tests
Reviewed-by: psadhukhan
2024-10-03 19:22:28 +00:00
Harshitha Onkar
6f459aff45 8340077: Open source few Checkbox tests - Set2
Reviewed-by: prr, azvegint, psadhukhan
2024-10-03 18:01:22 +00:00
Jamil Nimeh
b6e72ff971 8339403: sun.security.ssl.StatusResponseManager.get swallows interrupt status
Reviewed-by: valeriep
2024-10-03 17:16:31 +00:00
Damon Nguyen
013250e4a7 8340432: Open source some MenuBar tests - Set2
Reviewed-by: prr, psadhukhan
2024-10-03 16:46:46 +00:00
Hannes Wallnöfer
de12fc7a36 8339684: ResizeObserver callback interrupts smooth scrolling on Chrome
Reviewed-by: prappo
2024-10-03 16:44:22 +00:00
Alexander Zuev
ebb4759c3d 8340625: Open source additional Component tests (part 3)
Reviewed-by: psadhukhan
2024-10-03 16:19:09 +00:00
Brian Burkhalter
3ee94e040a 8341282: (fs) Move creation time fallback logic to Java layer (Linux)
Reviewed-by: sgehwolf, alanb
2024-10-03 15:13:58 +00:00
Brian Burkhalter
f1ea57f06a 8340229: Improve opening sentence of FileInputStream constructor specification
Reviewed-by: alanb, jpai
2024-10-03 15:13:42 +00:00
Shaojin Wen
12028000db 8341006: Optimize StackMapGenerator detect frames
Reviewed-by: liach
2024-10-03 14:34:05 +00:00
Alan Bateman
eb93e6952b 8339979: VirtualThreadSchedulerMXBeanTest.testReduceParallelism fails intermittently
Reviewed-by: kevinw
2024-10-03 14:02:40 +00:00
Severin Gehwolf
21f8ccf4a9 8341310: Test TestJcmdWithSideCar.java should skip ACCESS_TMP_VIA_PROC_ROOT (after JDK-8327114)
Reviewed-by: kevinw
2024-10-03 12:55:54 +00:00
Abhishek Kumar
7d524d7e37 8341004: Open source AWT FileDialog related tests
Reviewed-by: kizune
2024-10-03 12:20:01 +00:00
Shaojin Wen
d7f32d891c 8341415: Optimize RawBytecodeHelper::next
Reviewed-by: liach
2024-10-03 12:08:23 +00:00
Jorn Vernee
6af13580c2 8337753: Target class of upcall stub may be unloaded
Reviewed-by: amitkumar, vlivanov, mdoerr
2024-10-03 12:02:24 +00:00
Alexander Zuev
19642bd383 8341148: Open source several Choice related tests
Reviewed-by: abhiscxk
2024-10-03 09:23:46 +00:00
Roberto Castañeda Lozano
0b467e902d 8334060: Implementation of Late Barrier Expansion for G1
Co-authored-by: Roberto Castañeda Lozano <rcastanedalo@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Siyao Liu <siyao.l.liu@oracle.com>
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Co-authored-by: Sergey Nazarkin <snazarki@openjdk.org>
Reviewed-by: kvn, tschatzl, fyang, ayang, kbarrett
2024-10-03 08:36:33 +00:00
Aleksey Shipilev
c6e7e55192 8341091: CDS: Segmented roots array misses roots
Reviewed-by: adinn, iklam
2024-10-03 07:25:42 +00:00
Alexander Zvegintsev
ff3e849b8a 8341239: Open source closed frame tests # 3
Reviewed-by: prr
2024-10-03 05:31:10 +00:00
Abhishek Kumar
50ec169116 8341191: Open source few more AWT FileDialog tests
Reviewed-by: prr, psadhukhan
2024-10-03 04:16:10 +00:00
Prasanta Sadhukhan
602408e4f3 8341177: Opensource few List and a Window test
Reviewed-by: prr
2024-10-03 02:51:23 +00:00
Weijun Wang
bdfb41f977 8309841: Jarsigner should print a warning if an entry is removed
Reviewed-by: mullan, hchao
2024-10-02 22:55:50 +00:00
William Kemper
57c1db5843 8332697: ubsan: shenandoahSimpleBitMap.inline.hpp:68:23: runtime error: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long int'
Reviewed-by: phh, kdnilsen
2024-10-02 22:54:18 +00:00
Kim Barrett
dc0ce1b2f2 8341336: Fix -Wzero-as-null-pointer-constant warnings in PRODUCT-only code
Reviewed-by: stefank, iwalulya, shade
2024-10-02 21:58:26 +00:00
Alexey Ivanov
c43202baf6 8341037: Use standard layouts in DefaultFrameIconTest.java and MenuCrash.java
Reviewed-by: azvegint, prr
2024-10-02 16:10:48 +00:00
SendaoYan
76283dd270 8341246: Test com/sun/tools/attach/PermissionTest.java fails access denied after JDK-8327114
Reviewed-by: kevinw, sgehwolf
2024-10-02 16:07:10 +00:00
Calvin Cheung
0bdfe88e4c 8328313: Archived module graph should allow identical --module-path to be specified during dump time and run time
Reviewed-by: alanb, dholmes, iklam
2024-10-02 15:51:56 +00:00
Sorin Basca
9fc1c68442 8339850: Restore the interrupt status in FileSystemPreferences.lockFile()
Reviewed-by: bpb, djelinski, vtewari
2024-10-02 15:30:21 +00:00
Alexey Ivanov
5063494f5b 8340785: Update description of PassFailJFrame and samples
Reviewed-by: prr
2024-10-02 15:16:55 +00:00
Alexey Ivanov
85f0442727 8317116: Provide layouts for multiple test UI in PassFailJFrame
Reviewed-by: azvegint, prr
2024-10-02 15:16:32 +00:00
Ramkumar Sunderbabu
49501fe9c4 8341412: Various test failures after JDK-8334305
Reviewed-by: lmesnik, dcubed
2024-10-02 15:13:27 +00:00
Matias Saavedra Silva
883804841e 8324259: Classes used by CDS at runtime should be archived
Reviewed-by: iklam, ccheung
2024-10-02 14:45:56 +00:00
Roman Kennke
5e9800721a 8307532: Implement LM_LIGHTWEIGHT for Zero
Reviewed-by: aboldtch, jwaters
2024-10-02 13:27:57 +00:00
Ramkumar Sunderbabu
855c8a7def 8334305: Remove all code for nsk.share.Log verbose mode
Reviewed-by: mli, cjplummer, lmesnik
2024-10-02 10:48:21 +00:00
fabioromano1
d6820d1324 8336274: MutableBigInteger.leftShift(int) optimization
Reviewed-by: rgiulietti
2024-10-02 09:45:43 +00:00
Feilong Jiang
a4ca6267e1 8341146: RISC-V: Unnecessary fences used for load-acquire in template interpreter
Reviewed-by: fyang, rehn
2024-10-02 09:14:31 +00:00
Matthias Baesken
c8c4ff2035 8341135: Incorrect format string after JDK-8339475
Reviewed-by: shade, clanger, alanb
2024-10-02 08:14:48 +00:00
Matthias Baesken
efe3573b9b 8340109: Ubsan: ciEnv.cpp:1660:65: runtime error: member call on null pointer of type 'struct CompileTask'
Reviewed-by: kvn, lucy
2024-10-02 07:58:17 +00:00
Hamlin Li
52c2ea65c4 8340732: RISC-V: Refactor crc32 scalar version
Reviewed-by: fyang
2024-10-02 07:48:22 +00:00
Roland Westrelin
90c944fefe 8340824: C2: Memory for TypeInterfaces not reclaimed by hashcons()
Reviewed-by: vlivanov, qamai
2024-10-02 07:11:10 +00:00
Chen Liang
39c17b3926 8341277: Validate slot argument for instruction factories
Reviewed-by: asotona
2024-10-02 03:30:02 +00:00
Eirik Bjørsnøs
0f381137cb 8341243: Use ArraySupport.SOFT_MAX_ARRAY_LENGTH for max array size in java.base
Reviewed-by: jpai, smarks
2024-10-02 01:27:03 +00:00
Tobias Holenstein
8d6d37fea1 8320308: C2 compilation crashes in LibraryCallKit::inline_unsafe_access
Reviewed-by: thartmann, kvn, vlivanov, epeter, roland
2024-10-01 23:52:46 +00:00
Sandhya Viswanathan
83dcb02d77 8340079: Modify rearrange/selectFrom Vector API methods to perform wrapIndexes instead of checkIndexes
Reviewed-by: jbhateja, psandoz
2024-10-01 22:48:31 +00:00
Harshitha Onkar
d2e77089aa 8341367: Problemlist ShapeNotSetSometimes.java on macOS
Reviewed-by: aivanov
2024-10-01 21:08:41 +00:00
Alex Menkov
03149735e5 8341060: Cleanup statics in HeapDumper
Reviewed-by: shade, sspitsyn
2024-10-01 18:50:37 +00:00
Alexander Zuev
021bf63035 8340458: Open source additional Component tests (part 2)
Reviewed-by: psadhukhan
2024-10-01 18:27:25 +00:00
Leonid Mesnik
9a7817b137 8340988: Update jdk/jfr/event/gc/collection tests to accept "CodeCache GC Threshold" as valid GC reason
Reviewed-by: tschatzl
2024-10-01 16:02:02 +00:00
Alexander Zvegintsev
f2a767f59b 8340907: Open source closed frame tests # 2
Reviewed-by: prr, honkar
2024-10-01 14:28:22 +00:00
joseph.jackson
7b1e6f8ed9 8337389: Parallel: Remove unnecessary forward declarations in psScavenge.hpp
Reviewed-by: kbarrett, tschatzl
2024-10-01 14:00:39 +00:00
Yudi Zheng
2120a8414e 8341333: [JVMCI] Export JavaThread::_unlocked_inflated_monitor to JVMCI
Reviewed-by: dnsimon
2024-10-01 13:59:36 +00:00
Aleksey Shipilev
684d246ccf 8341242: Shenandoah: LRB node is not matched as GC barrier after JDK-8340183
Reviewed-by: rkennke, phh
2024-10-01 13:29:56 +00:00
Raphael Mosaner
7cc7c080b5 8337493: [JVMCI] Number of libgraal threads might be too low
Reviewed-by: dnsimon
2024-10-01 11:46:13 +00:00
Axel Boldt-Christmas
f7c7958f00 8340420: ZGC: Should call vm_shutdown_during_initialization if initialization fails
Reviewed-by: stefank, mli
2024-10-01 11:33:11 +00:00
Nizar Benalla
2dc3b1a71f 8341201: Broken link in AbstractAnnotationValueVisitor7 due to extra quotation mark
Reviewed-by: iris, darcy
2024-10-01 10:27:07 +00:00
Axel Boldt-Christmas
ad5ffccffa 8341168: Cleanup dead code after JDK-8322630
Reviewed-by: stefank, tschatzl, mli, shade
2024-10-01 08:02:56 +00:00
Matthias Baesken
1b46fea59c 8341024: [test] build/AbsPathsInImage.java fails with OOM when using ubsan-enabled binaries
Reviewed-by: erikj
2024-10-01 07:15:42 +00:00
Abhishek Kumar
9bd478593c 8340437: Open source few more AWT Frame related tests
Reviewed-by: prr, kizune
2024-10-01 04:40:16 +00:00
Abhishek Kumar
988f13a387 8340354: Open source AWT desktop properties and print related tests
Reviewed-by: prr
2024-10-01 04:32:55 +00:00
Prasanta Sadhukhan
b11066b56b 8340719: Open source AWT List tests
Reviewed-by: prr
2024-10-01 02:47:40 +00:00
Alexander Zuev
a32c3b43aa 8340407: Open source a few more Component related tests
Reviewed-by: prr
2024-09-30 22:09:39 +00:00
David Holmes
31858fc410 8340491: Thread stack-base assertion should report which thread has the un-set stack
Reviewed-by: shade, kevinw, stefank
2024-09-30 22:06:23 +00:00
Harshitha Onkar
bfdeb33e6f 8340332: Open source mixed AWT tests - Set3
Reviewed-by: aivanov
2024-09-30 18:45:40 +00:00
Smita Kamath
a6b318863f 8337632: AES-GCM Algorithm optimization for x86_64
Reviewed-by: jbhateja, sviswanathan
2024-09-30 17:00:13 +00:00
Joe Darcy
5586f83e34 8341064: Define anchor point and index term for "wrapper classes"
Reviewed-by: prappo, liach
2024-09-30 16:13:35 +00:00
Joe Darcy
4168faf54c 8341100: Add index entries for terms used in java.lang.Class
Reviewed-by: liach
2024-09-30 16:10:02 +00:00
Shaojin Wen
f1bf469b4e 8341199: Use ClassFile's new API loadConstant(int)
Reviewed-by: liach, redestad
2024-09-30 14:12:01 +00:00
Ramkumar Sunderbabu
860d49db22 8211400: nsk.share.gc.Memory::getArrayLength returns wrong value
Reviewed-by: kbarrett, tschatzl
2024-09-30 13:43:40 +00:00
Eirik Bjørsnøs
cff420d8d3 8339711: ZipFile.Source.initCEN needlessly reads END header
Reviewed-by: lancea, jpai, redestad
2024-09-30 13:06:49 +00:00
Fredrik Bredberg
180affc571 8320318: ObjectMonitor Responsible thread
Reviewed-by: aboldtch, coleenp, pchilanomate, eosterlund
2024-09-30 12:28:35 +00:00
Jayathirth D V
e19c7d80f7 8340874: Open source some of the AWT Geometry/Button tests
Reviewed-by: prr
2024-09-30 11:24:48 +00:00
Tobias Hartmann
58b6fc5baa 8341197: [BACKOUT] 8322770: Implement C2 VectorizedHashCode on AArch64
Reviewed-by: shade, jpai
2024-09-30 10:56:52 +00:00
Oli Gillespie
1cf26a5179 8341013: Optimize x86/aarch64 MD5 intrinsics by reducing data dependency
Reviewed-by: mli, ascarpino
2024-09-30 10:53:20 +00:00
Mikhail Ablakatov
475b8943c6 8322770: Implement C2 VectorizedHashCode on AArch64
Reviewed-by: aph, adinn
2024-09-30 09:02:59 +00:00
Sebastian Lövdahl
52ba72823b 8327114: Attach in Linux may have wrong behaviour when pid == ns_pid (Kubernetes debug container)
Co-authored-by: Larry Cable <larry.cable@oracle.com>
Reviewed-by: kevinw, sgehwolf
2024-09-30 08:33:12 +00:00
Aleksey Shipilev
988a531b09 8340181: Shenandoah: Cleanup ShenandoahRuntime stubs
Reviewed-by: adinn, phh, wkemper
2024-09-30 07:02:55 +00:00
Abhishek Kumar
822a773873 8340605: Open source several AWT PopupMenu tests
Reviewed-by: tr
2024-09-30 06:38:42 +00:00
Axel Boldt-Christmas
6514aef840 8340419: ZGC: Create an UseLargePages adaptation of TestAllocateHeapAt.java
Reviewed-by: stefank, sjohanss, jsikstro
2024-09-30 06:20:08 +00:00
Prasanta Sadhukhan
ae4d2f1590 8340621: Open source several AWT List tests
Reviewed-by: prr
2024-09-30 02:43:49 +00:00
Prasanta Sadhukhan
dd56990962 8340639: Open source few more AWT List tests
Reviewed-by: prr
2024-09-30 02:43:32 +00:00
Phil Race
ade17ecb6c 8340560: Open Source several AWT/2D font and rendering tests
Reviewed-by: kizune
2024-09-29 17:05:01 +00:00
Joe Darcy
73ebb848fd 8340721: Clarify special case handling of unboxedType and getWildcardType
Reviewed-by: prappo, mcimadamore
2024-09-27 23:34:04 +00:00
Boris Ulasevich
ed140f5d5e 8341101: [ARM32] Error: ShouldNotReachHere() in TemplateInterpreterGenerator::generate_math_entry after 8338694
Reviewed-by: shade
2024-09-27 23:11:41 +00:00
Justin Lu
082125d61e 8340404: CharsetProvider specification updates
Reviewed-by: alanb, naoto
2024-09-27 18:26:08 +00:00
Yagmur Eren
a7bfced605 8337679: Memset warning in src/hotspot/share/adlc/adlArena.cpp
Reviewed-by: stefank, thartmann, jwaters
2024-09-27 17:36:48 +00:00
Rajan Halade
f554c3ffce 8341059: Change Entrust TLS distrust date to November 12, 2024
Reviewed-by: mullan
2024-09-27 17:16:13 +00:00
Xiaolong Peng
65200a9589 8340490: Shenandoah: Optimize ShenandoahPacer
Reviewed-by: shade, kdnilsen
2024-09-27 17:06:18 +00:00
Rajan Halade
824a297aae 8341057: Add 2 SSL.com TLS roots
Reviewed-by: mullan
2024-09-27 16:57:02 +00:00
Daniel D. Daugherty
5aae3d4085 8341096: ProblemList compiler/cha/TypeProfileFinalMethod.java in Xcomp mode
Reviewed-by: azvegint
2024-09-27 16:26:30 +00:00
Liam Miller-Cushon
68c4f36857 8340024: In ClassReader, extract a constant for the superclass supertype_index
Reviewed-by: vromero
2024-09-27 16:21:05 +00:00
Leonid Mesnik
12de4fbce7 8340826: Should not send unload notification for scratch classes
Reviewed-by: sspitsyn, coleenp
2024-09-27 15:02:01 +00:00
Kim Barrett
25e892911d 8340620: Fix -Wzero-as-null-pointer-constant warnings for CompressedOops
Reviewed-by: shade, stefank, mli, amitkumar
2024-09-27 10:58:10 +00:00
Aleksey Shipilev
6587909c7d 8341015: OopStorage location decoder crashes accessing non-initalized OopStorage
Reviewed-by: kbarrett, tschatzl
2024-09-27 09:44:00 +00:00
Stefan Karlsson
9003e2c519 8341027: Crash in java/runtime/Unsafe/InternalErrorTest when running with -XX:-UseCompressedClassPointers
Reviewed-by: aboldtch, coleenp
2024-09-27 08:28:59 +00:00
Matthias Baesken
2a2ecc994e 8339475: Clean up return code handling for pthread calls in library coding
Reviewed-by: clanger, jwaters
2024-09-27 07:27:29 +00:00
Hannes Wallnöfer
85dba47925 8325090: javadoc fails when -subpackages option is used with non-modular -source
Reviewed-by: liach, jjg
2024-09-27 06:34:02 +00:00
Florian Weimer
1bc13a1c10 8340552: Harden TzdbZoneRulesCompiler against missing zone names
Reviewed-by: andrew, jlu, naoto
2024-09-26 22:37:45 +00:00
Coleen Phillimore
e6373b5238 8340679: Misc tests fail assert(!set || SafepointSynchronize::is_at_safepoint()) failed: set once or at safepoint
Reviewed-by: matsaave, iklam
2024-09-26 21:54:30 +00:00
Todd V. Jonker
2349bb7ace 8340974: Ambiguous name of jtreg property vm.libgraal.enabled
Reviewed-by: dnsimon, phh
2024-09-26 21:38:08 +00:00
Doug Simon
5d062e248e 8340576: Some JVMCI flags are inconsistent
Reviewed-by: never
2024-09-26 19:36:26 +00:00
Fernando Guallini
1447967f53 8339261: Logs truncated in test javax/net/ssl/DTLS/DTLSRehandshakeTest.java
Reviewed-by: rhalade, hchao
2024-09-26 16:47:49 +00:00
Ravi Gupta
a02d895f7a 8333403: Write a test to check various components events are triggered properly
Reviewed-by: aivanov
2024-09-26 16:31:31 +00:00
Joe Darcy
bb040ef4cc 8340983: Use index and definition tags in Object and Double
Reviewed-by: bpb, liach
2024-09-26 16:04:45 +00:00
Joe Darcy
8225a5f58a 8340981: Update citations to "Hacker's Delight"
Reviewed-by: bpb, iris, liach, jwaters
2024-09-26 16:03:04 +00:00
Maxim Kartashev
aceae76fb5 8339460: CDS error when module is located in a directory with space in the name
Reviewed-by: ccheung, iklam
2024-09-26 15:40:31 +00:00
Brian Burkhalter
aeaa4f78eb 8336895: BufferedReader doesn't read full \r\n line ending when it doesn't fit in buffer
Reviewed-by: jpai, alanb
2024-09-26 15:20:51 +00:00
Aleksey Shipilev
376056ca48 8336468: Reflection and MethodHandles should use more precise initializer checks
Reviewed-by: liach, coleenp
2024-09-26 15:14:21 +00:00
Liam Miller-Cushon
e36ce5f034 8336942: Improve test coverage for class loading elements with annotations of different retentions
Reviewed-by: vromero
2024-09-26 15:11:03 +00:00
Fernando Guallini
95d3e9d199 8339560: Unaddressed comments during code review of JDK-8337664
Reviewed-by: mullan
2024-09-26 13:20:14 +00:00
Alexander Zvegintsev
47fcf5a3b0 8340687: Open source closed frame tests #1
Reviewed-by: aivanov
2024-09-26 12:33:23 +00:00
Lutz Schmidt
777c20cb14 8339542: compiler/codecache/CheckSegmentedCodeCache.java fails
Reviewed-by: mdoerr, shade
2024-09-26 11:45:09 +00:00
Alexey Ivanov
3762ec3978 8340466: Add description for PassFailJFrame constructors
Reviewed-by: prr, honkar
2024-09-26 11:36:42 +00:00
Alexey Ivanov
e2626db2f0 8340899: Remove wildcard bound in PositionWindows.positionTestWindows
Reviewed-by: azvegint, prr
2024-09-26 11:34:30 +00:00
Johan Sjölen
10da2c21a1 8340923: The class LogSelection copies uninitialized memory
Reviewed-by: mbaesken, jwaters, stefank
2024-09-26 08:47:32 +00:00
Chen Liang
8c8f0d85ce 8339260: Move rarely used constants out of ClassFile
Reviewed-by: asotona
2024-09-26 06:34:18 +00:00
Tobias Hartmann
47c10694c6 8340812: LambdaForm customization via MethodHandle::updateForm is not thread safe
Reviewed-by: liach, shade, jvernee
2024-09-26 06:03:29 +00:00
Alisen Chung
66f1639846 8339271: giflib attribution correction
Reviewed-by: dnguyen, prr
2024-09-26 01:16:13 +00:00
Ioi Lam
8f756196b4 8340864: Remove unused lines related to vmClasses
Reviewed-by: shade, kvn
2024-09-25 18:51:16 +00:00
Chen Liang
84751cbfdd 8340831: Simplify simple validation for class definition in MethodHandles.Lookup
Reviewed-by: redestad
2024-09-25 18:31:24 +00:00
Chen Liang
df1959fd7a 8340838: Clean up MutableCallSite to use explicit release fence instead of AtomicInteger
Reviewed-by: jrose, redestad, shade
2024-09-25 18:29:30 +00:00
Daniel D. Daugherty
1b2d40addf 8340956: ProblemList 4 java/nio/channels/DatagramChannel tests on macosx-all
Reviewed-by: liach, alanb, darcy, dfuchs
2024-09-25 17:19:02 +00:00
Alexander Zuev
f7bc9ba552 8340228: Open source couple more miscellaneous AWT tests
Reviewed-by: prr
2024-09-25 16:46:49 +00:00
Eirik Bjørsnøs
0e0b0b0d26 8340684: Reading from an input stream backed by a closed ZipFile has no test coverage
Reviewed-by: lancea
2024-09-25 16:36:44 +00:00
Brian Burkhalter
81b5f09749 8340946: Add vmTestbase/gc/memory/Nio/Nio.java and java/nio/Buffer/LimitDirectMemory.java to problem list
Reviewed-by: liach, dcubed, alanb
2024-09-25 16:36:28 +00:00
George Adams
0474f020bf 8340815: Add SECURITY.md file
Reviewed-by: mr, jwaters, erikj
2024-09-25 16:25:23 +00:00
Leonov Kirill
fb70325877 8338583: NMT: Malloc overhead is calculated incorrectly
Reviewed-by: azafari, yan, gziemski
2024-09-25 13:18:25 +00:00
Liam Miller-Cushon
083b980831 8340568: Incorrect escaping of single quotes when pretty-printing character literals
Reviewed-by: mcimadamore
2024-09-25 13:12:47 +00:00
Claes Redestad
d8790aa048 8340885: Desugar ZipCoder.Comparison
Reviewed-by: lancea, eirbjo
2024-09-25 13:04:46 +00:00
Hannes Wallnöfer
120463dc90 8339541: CSS rule is not specific enough
Reviewed-by: jjg
2024-09-25 12:15:07 +00:00
Martin Doerr
1b9898a44f 8340843: [PPC64/s390x] Error: ShouldNotReachHere() in TemplateInterpreterGenerator::generate_math_entry after 8338694
Reviewed-by: mbaesken, amitkumar
2024-09-25 09:26:06 +00:00
Hamlin Li
9806d2139c 8340808: RISC-V: Client build fails after JDK-8339738
Reviewed-by: fyang
2024-09-25 08:13:25 +00:00
Robbin Ehn
97a3933f1b 8339771: RISC-V: Reduce icache flushes
Reviewed-by: fyang, mli, luhenry
2024-09-25 08:11:00 +00:00
Prasanta Sadhukhan
b1f8d2ea76 8339935: Open source several AWT focus tests - series 5
Reviewed-by: prr
2024-09-25 03:07:45 +00:00
Shaojin Wen
2e0554a695 8340710: Optimize DirectClassBuilder::build
Reviewed-by: liach
2024-09-25 02:35:41 +00:00
Shaojin Wen
2d38af61e4 8340587: Optimize StackMapGenerator$Frame::checkAssignableTo
Reviewed-by: liach
2024-09-25 02:32:29 +00:00
Shaojin Wen
9bcc7b66de 8340708: Optimize StackMapGenerator::processMethod
Reviewed-by: liach
2024-09-25 02:30:46 +00:00
Gui Cao
a37bb2e037 8340643: RISC-V: Small refactoring for sub/subw macro-assembler routines
Reviewed-by: fyang, luhenry
2024-09-25 02:29:06 +00:00
Jaikiran Pai
c0fcb258bb 8340717: Remove unused function declarations from java.c/java.h of the launcher
Reviewed-by: alanb, dholmes, shade, jwaters
2024-09-25 01:45:04 +00:00
Jonathan Gibbons
0b8c9f6d23 8338525: Leading and trailing code blocks by indentation
Reviewed-by: hannesw, prappo
2024-09-24 20:09:40 +00:00
George Adams
b639661e79 8340804: doc/building.md update Xcode instructions to note that full install is required
Reviewed-by: erikj, jwaters
2024-09-24 19:35:59 +00:00
Artur Barashev
e3d80f1e1e 8340670: Policy.UNSUPPORTED_EMPTY_COLLECTION.isReadOnly does not return true
Reviewed-by: mullan
2024-09-24 18:57:58 +00:00
Alexander Zvegintsev
8c08c43a34 8340433: Open source closed choice tests #3
Reviewed-by: honkar, prr
2024-09-24 18:56:22 +00:00
Phil Race
90c2c0b4ad 8340143: Open source several Java2D rendering loop tests.
Reviewed-by: psadhukhan
2024-09-24 18:07:33 +00:00
vamsi-parasa
212e32931c 8338694: x86_64 intrinsic for tanh using libm
Reviewed-by: kvn, jbhateja, sgibbons, sviswanathan
2024-09-24 15:11:13 +00:00
Andrew Dinn
2669e22b76 8340793: Fix client builds after JDK-8337987
Reviewed-by: shade, fyang
2024-09-24 14:51:28 +00:00
Sonia Zaldana Calles
85aed87796 8338405: JFR: Use FILE type for dcmds
Reviewed-by: egahlin, lmesnik
2024-09-24 14:40:38 +00:00
Chen Liang
caa751c561 8338546: Speed up ConstantPoolBuilder::classEntry(ClassDesc)
Reviewed-by: asotona, redestad
2024-09-24 14:28:05 +00:00
Zhengyu Gu
279086d4ce 8340408: Shenandoah: Remove redundant task stats printing code in ShenandoahTaskQueue
Reviewed-by: shade, wkemper
2024-09-24 13:16:43 +00:00
George Adams
3c97d2437d 8340383: VM issues warning failure to find kernel32.dll on Windows nanoserver
Reviewed-by: dholmes, jwaters
2024-09-24 12:50:33 +00:00
Martin Doerr
49d15edd31 8340657: [PPC64] SA determines wrong unextendedSP
Reviewed-by: ysuenaga, mbaesken
2024-09-24 12:43:00 +00:00
Kuai Wei
e1c4d3039f 8339299: C1 will miss type profile when inline final method
Reviewed-by: lmesnik, vlivanov
2024-09-24 11:08:36 +00:00
Pavel Rappo
3e673d9e46 8340680: Fix typos in javax.lang.model.SourceVersion
Reviewed-by: darcy, iris
2024-09-24 10:48:35 +00:00
Tomas Zezula
4cd8c75a55 8340398: [JVMCI] Unintuitive behavior of UseJVMCICompiler option
Reviewed-by: dnsimon
2024-09-24 10:19:38 +00:00
Yudi Zheng
44024826e5 8340585: [JVMCI] compiler/unsafe/UnsafeGetStableArrayElement.java fails with -XX:-UseCompressedClassPointers
Reviewed-by: dnsimon
2024-09-24 08:25:06 +00:00
Afshin Zafari
e60e882156 8335167: Test runtime/Thread/TestAlwaysPreTouchStacks.java failed with Expected a higher ratio between stack committed and reserved
Reviewed-by: stuefe, dholmes, gziemski
2024-09-24 07:56:14 +00:00
Matthias Baesken
9176f6810e 8340623: Remove outdated PROCESSOR_ARCHITECTURE_IA64 from Windows coding
Reviewed-by: alanb, dholmes
2024-09-24 07:22:27 +00:00
Gui Cao
88801caef6 8340590: RISC-V: C2: Small improvement to vector gather load and scatter store
Reviewed-by: fyang, dzhang
2024-09-24 07:09:10 +00:00
Christian Hagedorn
1dd60b62e3 8323688: C2: Fix UB of jlong overflow in PhaseIdealLoop::is_counted_loop()
Reviewed-by: thartmann, kvn
2024-09-24 06:47:20 +00:00
Axel Boldt-Christmas
4098acc200 8340146: ZGC: TestAllocateHeapAt.java should not run with UseLargePages
Reviewed-by: tschatzl, stefank
2024-09-24 05:35:12 +00:00
Prasanta Sadhukhan
6c91a16f16 8340367: Opensource few AWT image tests
Reviewed-by: prr
2024-09-24 02:09:42 +00:00
Jaikiran Pai
865d99f634 8340596: Remove dead code from RequiresSetenv function in java.base/unix/native/libjli/java_md.c
Reviewed-by: dholmes
2024-09-24 02:08:20 +00:00
Prasanta Sadhukhan
3411f9dff7 8339995: Open source several AWT focus tests - series 6
Reviewed-by: prr
2024-09-24 02:08:06 +00:00
Jaikiran Pai
40cde003e8 8340114: Remove outdated SelectVersion() function from the launcher and update the code comments explaining the code flow
Reviewed-by: dholmes, alanb
2024-09-24 01:47:57 +00:00
David Holmes
c8ae848049 8340707: ProblemList applications/ctw/modules/java_base.java due to JDK-8340683
Reviewed-by: darcy
2024-09-24 00:37:21 +00:00
Alexey Semenyuk
cd796e0aef 8338918: Remove non translated file name from WinResources resource bundle
Reviewed-by: jlu, almatvee
2024-09-24 00:13:49 +00:00
Alexey Ivanov
e97f0fe1b4 8340365: Position the first window of a window list
Reviewed-by: azvegint, prr
2024-09-23 18:31:31 +00:00
Phil Race
8dcf7b8fa7 8340411: open source several 2D imaging tests
Reviewed-by: azvegint
2024-09-23 18:26:52 +00:00
Alexey Ivanov
833ff29983 8340461: Amend description for logArea
Reviewed-by: azvegint, prr
2024-09-23 18:25:12 +00:00
Francisco Ferrari Bihurriet
c6f1d5f374 8319332: Security properties files inclusion
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@openjdk.org>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: weijun, mullan, kdriver
2024-09-23 17:45:38 +00:00
Lance Andersen
0f9f777520 8336025: Improve ZipOutputSream validation of MAX CEN Header field limits
Reviewed-by: alanb
2024-09-23 16:07:12 +00:00
Aleksey Shipilev
ea8f35b98e 8340183: Shenandoah: Incorrect match for clone barrier in is_gc_barrier_node
Reviewed-by: roland, rkennke
2024-09-23 14:33:17 +00:00
Alexander Zvegintsev
a9b0f9ccbf 8340393: Open source closed choice tests #2
Reviewed-by: psadhukhan
2024-09-23 13:58:00 +00:00
Tobias Hartmann
63e611cd5d 8335334: Stress mode to randomly execute unstable if traps
Reviewed-by: chagedorn, kvn
2024-09-23 12:30:30 +00:00
Joel Sikström
37ec80df8d 8339161: ZGC: Remove unused remembered sets
Reviewed-by: aboldtch, stefank
2024-09-23 12:28:43 +00:00
Per Minborg
384deda65f 8325949: Create an internal utility method for creating VarHandle instances
Reviewed-by: rriggs
2024-09-23 10:57:43 +00:00
Pavel Rappo
67448b0eb2 8339852: Fix typos in java.compiler documentation
Reviewed-by: liach, darcy
2024-09-23 10:32:58 +00:00
Abhishek Kumar
bc7c0dc45d 8340084: Open source AWT Frame related tests
Reviewed-by: psadhukhan, honkar
2024-09-23 08:02:36 +00:00
Kim Barrett
a07052e83d 8340573: Remove unused G1ParScanThreadState::_partial_objarray_chunk_size
Reviewed-by: tschatzl
2024-09-23 08:02:16 +00:00
Aleksey Shipilev
0f253d1103 8340392: Handle OopStorage in location decoder
Reviewed-by: kbarrett, dholmes
2024-09-23 07:02:59 +00:00
Aleksey Shipilev
f31f97ddb6 8340171: CDS: Enhance bitmap truncation
Reviewed-by: matsaave, iklam
2024-09-23 07:02:48 +00:00
Matthias Baesken
34cddfbedd 8340387: Update OS detection code to recognize Windows Server 2025
Reviewed-by: mdoerr, jwaters, dholmes
2024-09-23 06:40:33 +00:00
Kim Barrett
dd498794f2 8340524: Remove NarrowPtrStruct
Reviewed-by: shade, jwaters
2024-09-23 05:48:42 +00:00
Shaojin Wen
ab06a878f8 8340544: Optimize setLocalsFromArg
Reviewed-by: redestad, liach
2024-09-22 01:01:31 +00:00
Shaojin Wen
2461263aac 8339217: Optimize ClassFile API loadConstant
Reviewed-by: liach, redestad, asotona
2024-09-21 00:21:04 +00:00
Joe Darcy
08b25611f6 8339781: Better use of Javadoc tags in javax.lang.model
Reviewed-by: jjg
2024-09-20 21:27:22 +00:00
Severin Gehwolf
64275e6bbf 8340092: [Linux] containers/systemd/SystemdMemoryAwarenessTest.java failing on some systems
Reviewed-by: mbaesken
2024-09-20 19:34:24 +00:00
Coleen Phillimore
5cffddc689 8338471: Assert deleted methods not returned by CallInfo
Reviewed-by: shade, jwaters, dholmes
2024-09-20 18:38:29 +00:00
Shaojin Wen
40fba14812 8340232: Optimize DataInputStream::readUTF
Reviewed-by: liach, bpb
2024-09-20 17:54:06 +00:00
Chen Liang
ab81197d0d 8339198: Remove tag field from AbstractPoolEntry
Reviewed-by: asotona, redestad
2024-09-20 16:11:39 +00:00
Jaikiran Pai
90d3a64b0a 8340537: Typo in javadoc of java.util.jar.JarFile
Reviewed-by: mullan, lancea, iris
2024-09-20 16:02:25 +00:00
Amit Kumar
e087edeb25 8340269: [s390x] TestLargeStub.java failure after 8338123
Reviewed-by: mdoerr, lucy
2024-09-20 14:48:11 +00:00
Amit Kumar
9bcde4ffca 8338658: New Object to ObjectMonitor mapping: s390x implementation
Reviewed-by: lucy, mdoerr
2024-09-20 14:46:10 +00:00
Thomas Stuefe
ae63aaaa58 8340540: Problemlist DcmdMBeanPermissionsTest.java and SystemDumpMapTest.java
Reviewed-by: kevinw
2024-09-20 14:10:39 +00:00
Andrey Turbanov
fe80618bf3 8339972: Make a few fields in SortingFocusTraversalPolicy static
Reviewed-by: azvegint, aivanov
2024-09-20 12:43:57 +00:00
Alexey Ivanov
3c22d83c0f 8340008: KeyEvent/KeyTyped/Numpad1KeyTyped.java has 15 seconds timeout
Reviewed-by: azvegint, prr
2024-09-20 10:07:03 +00:00
Hamlin Li
3ad6e31d81 8340438: RISC-V: minor improvement in base64
Reviewed-by: fyang
2024-09-20 09:33:31 +00:00
Claes Redestad
a50440fadc 8340456: Reduce overhead of proxying Object methods in ProxyGenerator
Reviewed-by: liach
2024-09-20 09:21:12 +00:00
SendaoYan
5d611c0377 8340439: AArch64: Extra entry declaration for assember test
Reviewed-by: haosun, lmesnik, mli
2024-09-20 07:34:26 +00:00
Aleksey Shipilev
9d76c7c60f 8340418: GHA: MacOS AArch64 bundles can be removed prematurely
Reviewed-by: erikj
2024-09-20 07:00:38 +00:00
Prasanta Sadhukhan
46b02f49bc 8339906: Open source several AWT focus tests - series 4
Reviewed-by: abhiscxk, prr
2024-09-20 06:06:27 +00:00
Abhishek Kumar
f4e401791e 8339984: Open source AWT MenuItem related tests
Reviewed-by: aivanov
2024-09-20 04:19:12 +00:00
Kim Barrett
0f7d9e5995 8340436: Remove unused CompressedOops::AnyNarrowOopMode
Reviewed-by: haosun, dholmes
2024-09-20 04:15:55 +00:00
Prasanta Sadhukhan
94c33179b6 8339895: Open source several AWT focus tests - series 3
Reviewed-by: prr
2024-09-20 03:05:22 +00:00
David Holmes
969c2af953 8339192: Native annotation parsing code of deprecated annotations causes crash
Reviewed-by: jrose, mgronlun
2024-09-19 23:45:26 +00:00
Phil Race
fdc16a3734 8340480: Bad copyright notices in changes from JDK-8339902
Reviewed-by: kcr, bpb, kizune
2024-09-19 22:20:05 +00:00
Kim Barrett
296b49634e 8340353: Remove CompressedOops::ptrs_base
Reviewed-by: stefank, coleenp, shade, mli
2024-09-19 21:06:46 +00:00
Alexander Zuev
fde8508379 8339902: Open source couple TextField related tests
Reviewed-by: honkar
2024-09-19 19:51:05 +00:00
William Kemper
75d5e11777 8340400: Shenandoah: Whitebox breakpoint GC requests may cause assertions
Reviewed-by: shade
2024-09-19 17:55:23 +00:00
Aleksey Shipilev
15ae1155a1 8340166: [REDO] CDS: Trim down minimum GC region alignment
Reviewed-by: ccheung, iklam
2024-09-19 17:47:08 +00:00
Joe Darcy
ec3cba0296 8340399: Update comment in SourceVersion for language evolution history
Reviewed-by: iris
2024-09-19 17:10:23 +00:00
Alexey Ivanov
d1d824008d 8340308: PassFailJFrame: Make rows default to number of lines in instructions
Reviewed-by: honkar, azvegint
2024-09-19 16:59:51 +00:00
Prasanta Sadhukhan
bc36ace72c 8340271: Open source several AWT Robot tests
Reviewed-by: abhiscxk, honkar
2024-09-19 16:22:17 +00:00
Justin Lu
5f3e7aa833 8339735: Remove references to Applet in core-libs/security APIs
Reviewed-by: coffeys, naoto, iris, rriggs, lancea, mullan
2024-09-19 16:18:37 +00:00
Brian Burkhalter
2ada313cdd 8340329: (fs) Message of NotLinkException thrown by FIles.readSymbolicLink does not include file name (win)
Reviewed-by: alanb
2024-09-19 15:25:04 +00:00
Matias Saavedra Silva
3bb8de3145 8338693: assert(Atomic::add(&ik->_shared_class_load_count, 1) == 1) failed: shared class loaded more than once
Reviewed-by: iklam, dholmes
2024-09-19 14:18:03 +00:00
Matias Saavedra Silva
d555f072b2 8298614: Support CDS heap dumping for SerialGC and ParallelGC
Reviewed-by: dholmes, lmesnik, iklam
2024-09-19 14:15:45 +00:00
Prasadrao Koppula
c9bee173d6 8331391: Enhance the keytool code by invoking the buildTrustedCerts method for essential options
Reviewed-by: coffeys, mullan
2024-09-19 13:21:08 +00:00
Martin Doerr
7579d37402 8338995: New Object to ObjectMonitor mapping: PPC64 implementation
Reviewed-by: rrich, lucy
2024-09-19 12:29:21 +00:00
Serhiy Sachkov
cecb0b3d11 8339787: Add some additional diagnostic output to java/net/ipv6tests/UdpTest.java
Reviewed-by: dfuchs
2024-09-19 12:08:31 +00:00
Alexey Ivanov
0120d3eed5 8340306: Add border around instructions in PassFailJFrame
Reviewed-by: honkar, prr
2024-09-19 11:48:45 +00:00
Alexey Ivanov
2faf8b8d58 8340007: Refactor KeyEvent/FunctionKeyTest.java
Reviewed-by: azvegint
2024-09-19 09:44:57 +00:00
Joel Sikström
8908812d0a 8337674: ZGC: Consistent style for naming private static constants
Reviewed-by: stefank, aboldtch, mli
2024-09-19 08:47:20 +00:00
Serhiy Sachkov
118c9ade1a 8338759: Add extra diagnostic to java/net/InetAddress/ptr/Lookup.java
Reviewed-by: dfuchs, shade
2024-09-19 08:39:11 +00:00
Kevin Walls
c58fbef05e 8340276: Test java/lang/management/ThreadMXBean/Locks.java failed with NullPointerException
Reviewed-by: cjplummer, lmesnik
2024-09-19 08:28:51 +00:00
Jaikiran Pai
67198992ce 8286851: Deprecate for removal several of the undocumented java launcher options
Reviewed-by: dholmes
2024-09-19 06:28:05 +00:00
Amit Kumar
ac58b6102a 8339416: [s390x] Provide implementation for resolve_global_jobject
Reviewed-by: mdoerr, lucy
2024-09-19 04:47:15 +00:00
Amit Kumar
537447f881 8339980: [s390x] ProblemList jdk/java/util/zip/CloseInflaterDeflaterTest.java
Reviewed-by: lucy
2024-09-19 04:33:01 +00:00
Jaikiran Pai
d9c67443f7 8340360: Update -mx to -Xmx in UnninstallUIMemoryLeaks test
Reviewed-by: serb, prr
2024-09-19 01:44:45 +00:00
Phil Race
88a1c0550e 8340078: Open source several 2D tests
Reviewed-by: honkar
2024-09-18 20:39:40 +00:00
Harshitha Onkar
31849127a0 8339962: Open source AWT TextField tests - Set1
Reviewed-by: jdv, dnguyen, prr
2024-09-18 19:25:11 +00:00
Kevin Walls
9cfc03aa81 8340391: Windows jcmd System.map and System.dump_map tests failing
Reviewed-by: cjplummer
2024-09-18 19:17:26 +00:00
Leonid Mesnik
6ff287ad9a 8340233: Missed ThreadWXEnable in jfrNativeLibraryLoadEvent.cpp
Reviewed-by: mgronlun
2024-09-18 15:57:41 +00:00
Hamlin Li
ae39a6603c 8339992: RISC-V: some minor improvements of base64_vector_decode_round
Reviewed-by: fyang, luhenry
2024-09-18 14:38:06 +00:00
Stefan Karlsson
471a51a5a4 8340368: windows-x64-slowdebug build fails after JDK-8319873
Reviewed-by: jpai, kevinw, aboldtch, eosterlund
2024-09-18 13:46:19 +00:00
Hamlin Li
08a2f841ec 8339738: RISC-V: Vectorize crc32 intrinsic
Reviewed-by: fyang, luhenry
2024-09-18 12:37:02 +00:00
Rafael Winterhalter
1d070a3238 8337302: Undefined type variable results in null
Reviewed-by: liach
2024-09-18 12:33:56 +00:00
Emanuel Peter
aeba1ea7c4 8340272: C2 SuperWord: JMH benchmark for Reduction vectorization
Reviewed-by: kvn, jkarthikeyan
2024-09-18 12:03:00 +00:00
Kevin Walls
19b2cee420 8340113: Remove JULONG as a Diagnostic Command argument type (jcmd JFR.view)
Reviewed-by: lmesnik, egahlin
2024-09-18 11:44:14 +00:00
Nizar Benalla
45e438f3f4 8339845: Update color.org and wapforum.org links to use HTTPS instead of HTTP
Reviewed-by: prr, honkar, aivanov
2024-09-18 11:08:13 +00:00
Simon Tooke
4ff17c14a5 8319873: Add windows implementation for jcmd System.map and System.dump_map
Co-authored-by: Simon Tooke <stooke@openjdk.org>
Reviewed-by: stuefe, kevinw, szaldana
2024-09-18 09:11:40 +00:00
Martin Doerr
3895b8fc0b 8340230: Tests crash: assert(is_in_encoding_range || k->is_interface() || k->is_abstract()) failed: sanity
Reviewed-by: thartmann, kvn
2024-09-18 08:26:33 +00:00
Roland Westrelin
5381f553ad 8333258: C2: high memory usage in PhaseCFG::insert_anti_dependences()
Reviewed-by: kvn, epeter
2024-09-18 07:07:45 +00:00
Claes Redestad
d23c59e408 8340280: Avoid calling MT.invokerType() when creating LambdaForms
Reviewed-by: liach, jvernee
2024-09-18 07:01:13 +00:00
Prasanta Sadhukhan
147e30070d 8340015: Open source several AWT focus tests - series 7
Reviewed-by: honkar
2024-09-18 04:33:28 +00:00
Leonid Mesnik
202fd421f7 8340213: jcmd VM.events ignores max argument
Reviewed-by: szaldana, cjplummer, amenkov, mli
2024-09-17 22:36:37 +00:00
Chen Liang
dfc90938ba 8340132: Remove internal CpException for reading malformed utf8
Reviewed-by: asotona
2024-09-17 21:08:47 +00:00
Harshitha Onkar
f0ae90f30c 8340210: Add positionTestUI() to PassFailJFrame.Builder
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, azvegint
2024-09-17 20:05:46 +00:00
Gerard Ziemski
eabfc6e4d9 8337563: NMT: rename MEMFLAGS to MemTag
Reviewed-by: dholmes, coleenp, jsjolen
2024-09-17 19:59:06 +00:00
Calvin Cheung
d5881825ef 8338686: App classpath mismatch if a jar from the Class-Path attribute is on the classpath
Reviewed-by: dholmes, iklam
2024-09-17 18:58:46 +00:00
Chen Liang
5dc9723c81 8340323: Test jdk/classfile/OptionsTest.java fails after JDK-8340200
Reviewed-by: alanb
2024-09-17 18:13:54 +00:00
Jatin Bhateja
90e92f98a6 8339790: Support Intel APX setzucc instruction
Reviewed-by: sviswanathan, jkarthikeyan, kvn
2024-09-17 17:46:36 +00:00
Raffaello Giulietti
28d009ce0e 8339934: Simplify Math.scalb(double) method
Reviewed-by: darcy
2024-09-17 17:11:32 +00:00
David M. Lloyd
3e14fb9c16 8340200: Misspelled constant AttributesProcessingOption.DROP_UNSTABLE_ATRIBUTES
Reviewed-by: liach
2024-09-17 16:24:38 +00:00
Brian Burkhalter
64e3a9ee91 8339574: Behavior of File.is{Directory,File,Hidden} is not documented with respect to symlinks
Reviewed-by: djelinski, alanb
2024-09-17 15:50:32 +00:00
Brian Burkhalter
f87701635f 8315273: (fs) Path.toRealPath(LinkOption.NOFOLLOW_LINKS) fails when "../../" follows a link (win)
Reviewed-by: djelinski
2024-09-17 15:50:16 +00:00
Magnus Ihse Bursie
b39e6a84ef 8329816: Add SLEEF version 3.6.1
Reviewed-by: erikj, mli, luhenry
2024-09-17 12:58:36 +00:00
Matthias Baesken
80db6e71b0 8339648: ZGC: Division by zero in rule_major_allocation_rate
Reviewed-by: aboldtch, lucy, tschatzl
2024-09-17 11:58:58 +00:00
Tobias Hartmann
269cd38b55 8338566: Lazy creation of exception instances is not thread safe
Reviewed-by: shade, kvn, dlong
2024-09-17 10:39:31 +00:00
Daniel Lundén
8b6e2770a5 8340273: Remove CounterHalfLifeTime
Reviewed-by: chagedorn, dholmes
2024-09-17 09:53:55 +00:00
Stefan Karlsson
c6721a0fa2 8340009: Improve the output from assert_different_registers
Reviewed-by: aboldtch, dholmes, shade, mli
2024-09-17 09:18:54 +00:00
Thomas Schatzl
7834662ca3 8340119: Remove oopDesc::size_might_change()
Reviewed-by: stefank, iwalulya
2024-09-17 08:11:22 +00:00
Kangcheng Xu
10050a7239 8332442: C2: refactor Mod cases in Compile::final_graph_reshaping_main_switch()
Reviewed-by: roland, chagedorn, jkarthikeyan
2024-09-17 07:19:02 +00:00
Thomas Stuefe
7849f25293 8340184: Bug in CompressedKlassPointers::is_in_encodable_range
Reviewed-by: coleenp, rkennke, jsjolen
2024-09-17 05:22:59 +00:00
Jatin Bhateja
a4cf1918c9 8339793: Fix incorrect APX feature enabling with -XX:-UseAPX
Reviewed-by: kvn, thartmann, sviswanathan
2024-09-17 01:41:53 +00:00
Jaikiran Pai
3e03e6673a 8340176: Replace usage of -noclassgc with -Xnoclassgc in test/jdk/java/lang/management/MemoryMXBean/LowMemoryTest2.java
Reviewed-by: kevinw, lmesnik
2024-09-17 00:56:31 +00:00
Denghui Dong
99d7185071 8340144: C1: remove unused Compilation::_max_spills
Reviewed-by: thartmann, shade
2024-09-17 00:13:47 +00:00
Naoto Sato
418bb42b95 8340073: Support "%z" time zone abbreviation format in TZ files
Reviewed-by: jlu, joehw, coffeys
2024-09-16 20:03:00 +00:00
Phil Race
b26645f64b 8339883: Open source several AWT/2D related tests
Reviewed-by: psadhukhan, honkar
2024-09-16 19:28:20 +00:00
Kelvin Nilsen
858b4f127a 8339960: GenShen: Fix inconsistencies in generational Shenandoah behavior
Reviewed-by: wkemper, rkennke
2024-09-16 19:15:30 +00:00
Kevin Walls
59407faf7b 8310525: DynamicLauncher for JDP test needs to try harder to find a free port
Reviewed-by: lmesnik, cjplummer
2024-09-16 18:24:47 +00:00
Jonathan Gibbons
89759c8b02 8321935: Define the term 'standard doclet'
Reviewed-by: hannesw
2024-09-16 18:08:09 +00:00
Justin Lu
65b9abaa29 8339769: Incorrect error message during startup if working directory does not exist
Reviewed-by: naoto, dholmes, alanb
2024-09-16 17:26:47 +00:00
Aleksey Shipilev
1640bd2676 8340186: Shenandoah: Missing load_reference_barrier_phantom_narrow match in is_shenandoah_lrb_call
Reviewed-by: kvn
2024-09-16 16:22:38 +00:00
Volker Simonis
996790c70f 8339954: Print JVMCI names with the Compiler.{perfmap,codelist,CodeHeap_Analytics} diagnostic commands
Reviewed-by: phh, dnsimon
2024-09-16 14:55:53 +00:00
Claes Redestad
e1ebeef040 8340131: Refactor internal makeHiddenClassDefiner to take option mask instead of Set<ClassOption>
Reviewed-by: liach, jvernee
2024-09-16 14:08:08 +00:00
Jaikiran Pai
05b9d47905 8340194: Replace usage of -ms with -Xms in LauncherCommon.gmk make file
Reviewed-by: ihse, jwaters
2024-09-16 14:06:02 +00:00
Johan Sjölen
545951889c 8339627: Cleanup Unsafe.setMemory intrinsic code
Reviewed-by: tschatzl, fbredberg
2024-09-16 09:13:37 +00:00
Jaikiran Pai
a4eb9a063f 8339918: Remove checks for outdated -t -tm -Xfuture -checksource -cs -noasyncgc options from the launcher
Reviewed-by: dholmes, alanb
2024-09-16 08:34:54 +00:00
Martin Doerr
6be15c3d0b 8340012: [C2] assert(KlassEncodingMetaspaceMax > pd) failed: change encoding max if new encoding after 8338526
Reviewed-by: kvn, coleenp
2024-09-16 08:15:48 +00:00
Prasanta Sadhukhan
4b7906375b 8339842: Open source several AWT focus tests - series 2
Reviewed-by: prr
2024-09-16 05:41:58 +00:00
Aleksey Shipilev
dc00eb87bc 8338912: CDS: Segmented roots array
Reviewed-by: ccheung, iklam
2024-09-16 05:33:40 +00:00
Aleksey Shipilev
74add0e2e0 8340105: Expose BitMap::print_on in release builds
Reviewed-by: stuefe, stefank
2024-09-16 05:32:03 +00:00
Aleksey Shipilev
0e0f10f952 8340102: Move assert-only loop in OopMapSort::sort under debug macro
Reviewed-by: stuefe, fyang, kvn
2024-09-16 05:31:46 +00:00
Prasanta Sadhukhan
a0794e0a05 8339639: Opensource few AWT PopupMenu tests
Reviewed-by: azvegint, prr
2024-09-16 03:48:55 +00:00
Serguei Spitsyn
a8f143c6ab 8306679: com/sun/jdi/InterruptHangTest.java asserts with -Xcomp -Dmain.wrapper=Virtual options
Reviewed-by: lmesnik, cjplummer
2024-09-14 22:50:50 +00:00
Liang Mao
c91fa278fe 8339725: Concurrent GC crashed due to GetMethodDeclaringClass
Reviewed-by: lmesnik, coleenp, eosterlund, stefank
2024-09-14 05:36:47 +00:00
Manukumar V S
fa502ecd2d 8339943: Frame not disposed in java/awt/dnd/DropActionChangeTest.java
Reviewed-by: prr, azvegint
2024-09-14 05:08:57 +00:00
Valerie Peng
fdfe503d01 8335288: SunPKCS11 initialization will call C_GetMechanismInfo on unsupported mechanisms
Reviewed-by: mbalao, weijun, hchao
2024-09-13 21:13:54 +00:00
Erik Joelsson
3aa8338f4e 8340075: Autoconf bundle cannot run on read-only filesystem
Reviewed-by: mikael
2024-09-13 18:31:46 +00:00
Nizar Benalla
37bf589ec0 8339847: Broken link to the dieharder distribution website in SplittableRandom
Reviewed-by: iris, liach
2024-09-13 16:56:01 +00:00
Joe Darcy
89c172ac47 8340082: Use inline return tag in java.base
Reviewed-by: iris, prappo, lancea, djelinski, naoto, liach
2024-09-13 16:49:28 +00:00
Per Minborg
1a0a53883f 8340120: Remove redundant code in SegmentBulkOperations::mismatch
Reviewed-by: mcimadamore
2024-09-13 15:27:50 +00:00
Calvin Cheung
89ca89cb26 8338626: ClassLoaderExt::process_jar_manifest() should allow / separator on Windows
Reviewed-by: iklam, dholmes, matsaave
2024-09-13 14:59:35 +00:00
Per Minborg
3e0da58ee6 8333843: Provide guidelines on MemorySegment to read strings with known lengths
Reviewed-by: mcimadamore
2024-09-13 14:38:24 +00:00
Alexey Semenyuk
3c4d15bdce 8334301: Errors in jpackage man page
Reviewed-by: almatvee
2024-09-13 14:13:47 +00:00
Kevin Walls
4d01178571 8339927: Man page update for deprecating jhsdb debugd for removal
Reviewed-by: sspitsyn, cjplummer
2024-09-13 13:05:37 +00:00
David Holmes
bd44cf8ab7 8330302: strace004 can still fail
Reviewed-by: alanb, shade
2024-09-13 12:10:11 +00:00
Maurizio Cimadamore
8a4ea09fa2 8336492: Regression in lambda serialization
Reviewed-by: vromero
2024-09-13 12:04:31 +00:00
Prasanta Sadhukhan
358ff19633 8339727: Open source several AWT focus tests - series 1
Reviewed-by: honkar
2024-09-13 11:22:39 +00:00
Per Minborg
0c36177fea 8340089: Simplify SegmentBulkOperations::powerOfProperty
Reviewed-by: jpai
2024-09-13 08:43:38 +00:00
Hamlin Li
bacd046062 8321010: RISC-V: C2 RoundVF
8321011: RISC-V: C2 RoundVD

Reviewed-by: rehn, luhenry
2024-09-13 08:05:19 +00:00
Per Minborg
5709c37940 8340081: Test java/foreign/TestLinker.java failed failed: missing permission java.lang.foreign.native.threshold.power.fill
Reviewed-by: dholmes
2024-09-13 06:48:44 +00:00
Andrew Dinn
b88ff9c986 8339849: Enumerate opto and C1 stubs, generate enums, names, fields and generator calls
Reviewed-by: kvn
2024-09-13 06:43:38 +00:00
Stefan Karlsson
ae75ca05e4 8314842: zgc/genzgc tests ignore vm flags
Reviewed-by: tschatzl, lmesnik
2024-09-13 05:47:44 +00:00
Alexander Zvegintsev
5e5942a282 8339794: Open source closed choice tests #1
Reviewed-by: jdv, prr
2024-09-12 23:05:15 +00:00
Per Minborg
81ff91ef27 8339531: Improve performance of MemorySegment::mismatch
Reviewed-by: mcimadamore
2024-09-12 18:31:08 +00:00
Steve Dohrmann
ab9b72c50a 8329035: New Data Destination instructions support
Reviewed-by: kvn, sviswanathan, jbhateja
2024-09-12 16:06:16 +00:00
Eirik Bjørsnøs
7f1dae12e5 8339874: Avoid duplicate checking of trailing slash in ZipFile.getZipEntry
Reviewed-by: lancea, redestad
2024-09-12 15:24:22 +00:00
Chen Liang
4d65c3efca 8339876: Move constant symbol caches to Utf8EntryImpl
Reviewed-by: redestad
2024-09-12 15:16:38 +00:00
Claes Redestad
0765917dea 8340011: Simplify jdk.internal.classfile.impl.EntryMap
Reviewed-by: liach
2024-09-12 15:08:11 +00:00
Alan Bateman
1b17e0b133 8338747: hasIncubatorModules needs to be generated when module resolution required at startup
Reviewed-by: iklam, ccheung
2024-09-12 08:48:17 +00:00
Kevin Walls
3c40afa59c 8334165: Remove serialVersionUID compatibility logic from JMX
Reviewed-by: dfuchs
2024-09-12 08:31:18 +00:00
Roland Westrelin
315abdf8c8 8339733: C2: some nodes can have incorrect control after do_range_check()
Reviewed-by: chagedorn, thartmann
2024-09-12 07:19:54 +00:00
Matthias Baesken
ac3f92b411 8339731: java.desktop/share/classes/javax/swing/text/html/default.css typo in margin settings
Reviewed-by: prr
2024-09-12 07:06:53 +00:00
David Holmes
cfbf74fca4 8339159: api/java_rmi/Naming/Rebind.html crashes with SEGV from UTF8::quoted_ascii_length call
Reviewed-by: iklam, aboldtch
2024-09-12 06:14:06 +00:00
Jaikiran Pai
6d4bd6c6b6 8339835: Replace usages of -mx and -ms in some client-libs tests
Reviewed-by: azvegint, prr
2024-09-12 02:06:09 +00:00
Jaikiran Pai
1d39249231 8339834: Replace usages of -mx and -ms in some tests
Reviewed-by: aivanov, ascarpino, prr, dholmes
2024-09-12 02:02:14 +00:00
Leonid Mesnik
c3711dc909 8339678: Update runtime/condy tests to be executed with VM flags
Reviewed-by: coleenp
2024-09-11 22:06:23 +00:00
Viktor Klang
b0cff6b528 8299419: Thread.sleep(millis) may throw OOME
Reviewed-by: alanb
2024-09-11 20:02:49 +00:00
Patricio Chilano Mateo
591aa7c5c7 8335362: [Windows] Stack pointer increment in _cont_thaw stub can cause program to terminate with exit code 0xc0000005
Reviewed-by: dholmes, fparain
2024-09-11 19:41:43 +00:00
Chris Plummer
237a540f01 8339801: Add better test failure diagnostics to vmTestbase/nsk/jdi/EventRequestManager/threadStartRequests/thrstartreq002
Reviewed-by: lmesnik, amenkov, kevinw
2024-09-11 19:40:02 +00:00
Naoto Sato
35a94b7697 8339803: Acknowledge case insensitive unambiguous keywords in tzdata files
Reviewed-by: jlu, coffeys
2024-09-11 19:27:00 +00:00
Brent Christian
51b85a1f69 8339687: Rearrange reachabilityFence()s in jdk.test.lib.util.ForceGC
Reviewed-by: dholmes, smarks, kbarrett
2024-09-11 19:02:05 +00:00
Severin Gehwolf
d9fdf69c34 8333446: Add tests for hierarchical container support
Reviewed-by: mbaesken, zzambers
2024-09-11 16:57:13 +00:00
Robbin Ehn
bfe7f9205b 8339741: RISC-V: C ABI breakage for integer on stack
Reviewed-by: fyang, luhenry
2024-09-11 16:08:24 +00:00
Severin Gehwolf
55a7cf1445 8322420: [Linux] cgroup v2: Limits in parent nested control groups are not detected
Reviewed-by: stuefe, asmehra
2024-09-11 13:51:31 +00:00
Maurizio Cimadamore
5977888500 8339686: java/foreign/TestMappedHandshake.java fails with assert(depth < max_critical_stack_depth) failed: can't have more than 10 critical frames
8339780: TestByteBuffer fails on AIX after 8339285

Reviewed-by: alanb, jvernee
2024-09-11 11:18:38 +00:00
Casper Norrbin
0b3f2e64e8 8339242: Fix overflow issues in AdlArena
Reviewed-by: jsjolen, kbarrett
2024-09-11 08:45:59 +00:00
Joel Sikström
ceef161eea 8339661: ZGC: Move some page resets and verification to callsites
Reviewed-by: stefank, eosterlund
2024-09-11 08:08:09 +00:00
Jaikiran Pai
8fce5275fc 8339810: Clean up the code in sun.tools.jar.Main to properly close resources and use ZipFile during extract
Reviewed-by: lancea
2024-09-11 05:27:08 +00:00
SendaoYan
a6faf8247b 8339714: Delete tedious bool type define
Reviewed-by: jwaters, dholmes
2024-09-11 02:12:08 +00:00
Jaikiran Pai
07643237d4 8225049: Bad -Xlog example in -Xlog:help, online documentation, JEP
Reviewed-by: dholmes
2024-09-11 01:19:15 +00:00
Leonid Mesnik
9785e19f3f 8339638: Update vmTestbase/nsk/jvmti/*Field*Watch tests to use virtual thread factory
Reviewed-by: cjplummer, sspitsyn
2024-09-10 21:43:19 +00:00
Joe Darcy
6fd043f1e4 8339789: Use index and definition tags in AnnotatedElement
Reviewed-by: jjg, prappo
2024-09-10 19:37:38 +00:00
Fernando Guallini
30645f3309 8338395: Add test coverage for instantiating NativePRNG with SecureRandomParameters
Reviewed-by: jnimeh
2024-09-10 18:48:58 +00:00
Daniel Fuchs
c8e64cb7a5 8283779: Clarify API documentation of NetworkInterface with respect to configuration changes
Reviewed-by: alanb, msheppar
2024-09-10 17:27:19 +00:00
Jasmine Karthikeyan
92431049fd 8335444: Generalize implementation of AndNode mul_ring
Reviewed-by: chagedorn, qamai, dfenacci
2024-09-10 16:52:59 +00:00
Kevin Walls
33525226b9 8338894: Deprecate jhsdb debugd for removal
Reviewed-by: cjplummer, alanb
2024-09-10 16:28:04 +00:00
Sandhya Viswanathan
be0dca046a 8339698: x86 unused andw/orw/xorw/addw encoding could be removed
Reviewed-by: kvn, jbhateja, qamai
2024-09-10 15:53:23 +00:00
Joakim Nordström
64a79d8986 8335625: Update Javadoc for GetCpuLoad
Reviewed-by: alanb, kevinw
2024-09-10 13:49:13 +00:00
Claes Redestad
c246ede163 8339799: Reduce work done in j.l.invoke bytecode generators
Reviewed-by: liach
2024-09-10 13:33:19 +00:00
Quan Anh Mai
38441b3f2d 8339677: [vectorapi] YYYXXXVector::withLaneHelper and laneHelper should use Double::doubleToRawLongBits/Float::floatToRawIntBits
Reviewed-by: psandoz
2024-09-10 12:44:57 +00:00
Claes Redestad
fb51c1e57b 8339837: Remove unused BootstrapMethodsInvokers.isLambdaMetafactoryCondyBSM
Reviewed-by: jvernee
2024-09-10 12:34:51 +00:00
Shaojin Wen
4d597de893 8338930: StringConcatFactory hardCoded string concatenation strategy
Reviewed-by: redestad, liach
2024-09-10 12:33:07 +00:00
Coleen Phillimore
ad104932e6 8338526: Don't store abstract and interface Klasses in class metaspace
Reviewed-by: stuefe, iklam
2024-09-10 11:43:21 +00:00
Claes Redestad
0d8e52b382 8339800: Prefer invokeBasic in BootstrapMethodInvokers
Reviewed-by: jvernee
2024-09-10 09:46:36 +00:00
David Holmes
64de7813e4 8339587: runtime/reflect/ReflectOutOfMemoryError.java fails with "bootstrap method initialization exception"
Reviewed-by: lmesnik, ccheung
2024-09-10 08:22:25 +00:00
Christian Hagedorn
125f743223 8305489: runtime/ErrorHandling/TestDwarf.java fails in some Linux configurations after JDK-8303805
Reviewed-by: dholmes, lmesnik
2024-09-10 08:14:40 +00:00
Alan Bateman
7e2bcf6d00 8338890: Add monitoring/management interface for the virtual thread scheduler
Reviewed-by: kevinw
2024-09-10 07:23:35 +00:00
Jan Lahoda
5e822c24bb 8334870: javac does not accept classfiles with certain permitted RuntimeVisibleParameterAnnotations and RuntimeInvisibleParameterAnnotations attributes
Reviewed-by: vromero
2024-09-10 06:13:36 +00:00
Artur Barashev
56387a0981 8329754: The ThreadSafe attribute is ignored for SecureRandom algorithm aliases
Reviewed-by: weijun
2024-09-09 21:04:04 +00:00
Evgeny Nikitin
559fc711e0 8339366: [jittester] Make it possible to generate tests without execution
Reviewed-by: lmesnik
2024-09-09 19:55:45 +00:00
Joe Darcy
6b5958d661 8339696: Clarify modeling scope of javax.lang.model.element
Reviewed-by: jjg, jlahoda, prappo
2024-09-09 19:24:33 +00:00
Matias Saavedra Silva
77468c284c 8339575: DumpingWithJavaAgent.java failed with missing expected output
Reviewed-by: ccheung, dholmes
2024-09-09 16:28:17 +00:00
Naoto Sato
86a2f9c7dc 8339644: Improve parsing of Day/Month in tzdata rules
Reviewed-by: jlu, coffeys
2024-09-09 16:04:59 +00:00
Chen Liang
a9bb04331d 8339683: Simplify class data generation in InvokerBytecodeGenerator
Reviewed-by: redestad
2024-09-09 15:15:16 +00:00
Oli Gillespie
7c0f013d92 8339488: Extended NPE message doesn't handle CONSTANT_Dynamic
Reviewed-by: lmesnik, coleenp, simonis, liach
2024-09-09 14:53:36 +00:00
Claes Redestad
d53e405a26 8339742: Refactor ClassFileImpl to allow loading Option classes lazily
Reviewed-by: asotona
2024-09-09 14:18:20 +00:00
Ferenc Rakoczi
c54fc08aa3 8338587: Internal XOF Methods for SHAKE128 and SHAKE256
Reviewed-by: valeriep, weijun
2024-09-09 13:49:34 +00:00
Pavel Rappo
88cccc14db 8339631: Fix block @jls and @jvms tags
Reviewed-by: liach, darcy, jjg
2024-09-09 12:06:21 +00:00
Aleksey Shipilev
615a24f216 8338902: CDS flags are reported with wrong flag category
Reviewed-by: iklam, adinn
2024-09-09 11:56:34 +00:00
Stefan Johansson
347d5728e6 8339387: ZGC: Synchronize medium page allocation
Reviewed-by: aboldtch, stefank, eosterlund
2024-09-09 11:14:26 +00:00
Matthias Baesken
4ff72dc57e 8339487: ProcessHandleImpl os_getChildren sysctl call - retry in case of ENOMEM and enhance exception message
Reviewed-by: alanb, lucy, rriggs
2024-09-09 07:35:18 +00:00
Matthias Baesken
cb5c60b530 8339591: Mark jdk/jshell/ExceptionMessageTest.java intermittent
Reviewed-by: lucy
2024-09-09 06:42:05 +00:00
Claes Redestad
b45fe17450 8339710: Avoid initializing AccessFlag related classes in write-only cases
Reviewed-by: liach
2024-09-09 05:53:29 +00:00
Jan Lahoda
a18d9d84cd 8326616: tools/javac/patterns/Exhaustiveness.java intermittently Timeout signalled after 480 seconds
Reviewed-by: abimpoudis
2024-09-09 05:34:09 +00:00
Tejesh R
79d761358c 8338153: java/awt/Checkbox/CheckboxCheckerScalingTest.java test failed on linux machine
Reviewed-by: abhiscxk, honkar
2024-09-09 05:17:09 +00:00
Chris Plummer
f0e84b7617 8339703: Problem list serviceability/sa/TestJhsdbJstackUpcall.java for generational ZGC
Reviewed-by: dholmes
2024-09-07 22:20:37 +00:00
Yasumasa Suenaga
deeb09a640 8339307: jhsdb jstack could not trace FFM upcall frame
Reviewed-by: cjplummer, jvernee
2024-09-07 05:46:47 +00:00
Shaojin Wen
fbe2629303 8339635: StringConcatFactory optimization for CompactStrings off
Reviewed-by: liach
2024-09-06 18:37:29 +00:00
Jorn Vernee
8e580ec538 8338123: Linker crash when building a downcall handle with many arguments in x64
Reviewed-by: mcimadamore
2024-09-06 17:32:34 +00:00
Chen Liang
5b72bbf9d4 8339519: Remove size field from instructions
Reviewed-by: asotona
2024-09-06 14:57:12 +00:00
Andrew Dinn
0df10bbd96 8339466: Enumerate shared stubs and define static fields and names via declarations
Reviewed-by: kvn, fyang
2024-09-06 13:57:13 +00:00
Shaojin Wen
9ebc2ecbf6 8339317: Optimize ClassFile writeBuffer
Reviewed-by: redestad, liach
2024-09-06 13:38:22 +00:00
Claes Redestad
d2b36f0907 8339642: Reduce overheads in InvokerBytecodeGenerator
Reviewed-by: liach
2024-09-06 12:37:48 +00:00
Claes Redestad
cb00333d6a 8339640: Reduce construction overheads in StringConcatFactory$InlineHiddenClassStrategy
Reviewed-by: liach
2024-09-06 12:27:53 +00:00
Claes Redestad
260908e16e 8339592: Simplify and remove unused code in ObjectMethods.<clinit>
Reviewed-by: liach
2024-09-06 12:04:38 +00:00
Shaojin Wen
febbd998ee 8339168: Optimize ClassFile Util slotSize
Reviewed-by: liach, redestad
2024-09-06 12:01:01 +00:00
Chen Liang
a1eebbdf8a 8339576: Speed up raw bytecode processing in ClassFile API
Co-authored-by: Shaojin Wen <swen@openjdk.org>
Reviewed-by: asotona, redestad
2024-09-06 11:42:50 +00:00
Adam Sotona
a35fd38610 8339368: Switch targets are not inflated in CodeModel if no StackMap
Reviewed-by: liach
2024-09-06 07:43:38 +00:00
nelanbu
7db4d46c39 8330159: [C2] Remove or clarify Compile::init_start
Reviewed-by: chagedorn, dlong
2024-09-06 06:44:54 +00:00
Fei Yang
9e0ccb8bbd 8339548: GHA: RISC-V: Use Debian snapshot archive for bootstrap
Reviewed-by: shade, erikj
2024-09-06 02:01:43 +00:00
Hai-May Chao
8fb8cd85b7 8339347: keytool -importpass insists prompting the user even if there is no terminal
Reviewed-by: weijun
2024-09-05 20:17:52 +00:00
Maurizio Cimadamore
9e1af8cc7c 8339285: Test fails with assert(depth < max_critical_stack_depth) failed: can't have more than 10 critical frames
Reviewed-by: alanb
2024-09-05 18:11:18 +00:00
Coleen Phillimore
48d79431c9 8339342: FieldAllocationCount is mostly unused
Reviewed-by: fparain, stuefe, matsaave
2024-09-05 16:34:39 +00:00
Roland Westrelin
e203df46fa 8338100: C2: assert(!n_loop->is_member(get_loop(lca))) failed: control must not be back in the loop
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: chagedorn, thartmann
2024-09-05 15:51:27 +00:00
Jonathan Gibbons
98020e4799 8338133: Cleanup direct use of new HtmlTree
Reviewed-by: hannesw
2024-09-05 15:46:38 +00:00
Suchismith Roy
b895d7cf9f 8332423: [PPC64] Remove C1_MacroAssembler::call_c_with_frame_resize
Reviewed-by: mdoerr, varadam
2024-09-05 15:44:57 +00:00
Artur Barashev
59c4649be3 8329959: Update DigestMD5Client.java - fix typo in javadoc string
Reviewed-by: weijun
2024-09-05 15:34:26 +00:00
Daniel D. Daugherty
4ffcf894b5 8339619: ProblemList runtime/cds/appcds/jvmti/dumpingWithAgent/DumpingWithJavaAgent.java
Reviewed-by: azvegint
2024-09-05 15:12:27 +00:00
Brian Burkhalter
042053c3a8 8003887: File.getCanonicalFile() does not resolve symlinks on MS Windows
Reviewed-by: alanb
2024-09-05 15:03:54 +00:00
Stefan Karlsson
b389bb4567 8339540: Unify include requirements for PlatformMonitor/Mutex constructors/destructors
Reviewed-by: coleenp, sjohanss
2024-09-05 13:49:17 +00:00
Joel Sikström
ab656c3aab 8339579: ZGC: Race results in only one of two remembered sets being cleared
Reviewed-by: stefank, sjohanss
2024-09-05 13:39:56 +00:00
Fernando Guallini
a505a1dda3 8337951: Test sun/security/validator/samedn.sh CertificateNotYetValidException: NotBefore validation
Reviewed-by: mullan
2024-09-05 13:14:00 +00:00
Per Minborg
6be927260a 8338591: Improve performance of MemorySegment::copy
Reviewed-by: mcimadamore
2024-09-05 13:10:24 +00:00
Shaojin Wen
cb9f5c5791 8339290: Optimize ClassFile Utf8EntryImpl#writeTo
Reviewed-by: redestad, liach
2024-09-05 11:45:49 +00:00
Christian Hagedorn
340e131d61 8338971: IGV: Add incrementally inlined method name to phase name
Reviewed-by: rcastanedalo, kvn
2024-09-05 10:52:44 +00:00
Yagmur Eren
2305d18e8d 8339384: Unintentional IOException in jdk.jdi module when JDWP end of stream occurs
Reviewed-by: cjplummer, kevinw
2024-09-05 09:26:08 +00:00
Ivan Walulya
96a0502d62 8339369: G1: TestVerificationInConcurrentCycle.java fails with "Missing rem set entry" when using "-XX:G1RSetUpdatingPauseTimePercent=0 -XX:G1UpdateBufferSize=2"
Reviewed-by: tschatzl, kbarrett
2024-09-05 08:18:35 +00:00
Amit Kumar
28de44da71 8332461: ubsan : dependencies.cpp:906:3: runtime error: load of value 4294967295, which is not a valid value for type 'DepType'
Reviewed-by: stefank, kvn, dlong
2024-09-05 07:01:29 +00:00
David Holmes
96df5a6d8f 8339316: Test runtime/exceptionMsgs/NoClassDefFoundError/NoClassDefFoundErrorTest.java fails after JDK-8338257
Reviewed-by: jsjolen, coleenp
2024-09-04 23:58:17 +00:00
Shaojin Wen
55312e1549 8338937: Optimize the string concatenation of ClassDesc
Reviewed-by: liach
2024-09-04 22:45:17 +00:00
Matias Saavedra Silva
d4dfa0127f 8338530: CDS warning Skipping java/lang/invoke/BoundMethodHandle$Species_LLLL
Reviewed-by: iklam, ccheung
2024-09-04 20:49:32 +00:00
Manukumar V S
b8d560b6cd 8339233: Test javax/swing/JButton/SwingButtonResizeTestWithOpenGL.java#id failed: Button renderings are different after window resize
Reviewed-by: honkar
2024-09-04 20:05:27 +00:00
Matias Saavedra Silva
1353601dcc 8338924: C1: assert(0 <= i && i < _len) failed: illegal index 5 for length 5
Co-authored-by: Dean Long <dlong@openjdk.org>
Reviewed-by: kvn, thartmann
2024-09-04 17:25:37 +00:00
David M. Lloyd
433f6d8a06 8339492: StackMapDecoder::writeFrames makes lots of allocations
Reviewed-by: liach, redestad, jwaters, asotona
2024-09-04 16:46:44 +00:00
Alexey Ivanov
ef96a7b014 8332901: Select{Current,New}ItemTest.java for Choice don't open popup on macOS
Move SelectCurrentItemTest.java to java/awt/Choice/SelectItem/.
Move SelectNewItemTest.java to java/awt/Choice/SelectItem/.
Use latches to control test flow instead of delays.
Encapsulate the common logic in SelectCurrentItemTest.
Provide overridable checkXXX() methods to modify conditions.
Provide an overridable method which defines where to click
in the choice popup to select an item.

Reviewed-by: honkar, prr, dnguyen
2024-09-04 16:37:17 +00:00
Severin Gehwolf
12d060a255 8339148: Make os::Linux::active_processor_count() public
Reviewed-by: dholmes, jwaters
2024-09-04 16:21:19 +00:00
Coleen Phillimore
0cfd08f55a 8339112: Move JVM Klass flags out of AccessFlags
Reviewed-by: matsaave, cjplummer, dlong, thartmann, yzheng
2024-09-04 15:48:32 +00:00
Jasmine Karthikeyan
6f8714ee19 8336860: x86: Change integer src operand for CMoveL of 0 and 1 to long
Reviewed-by: epeter, chagedorn, shade, qamai, jbhateja
2024-09-04 13:44:24 +00:00
Attila Szegedi
c7d15f1fe0 8325679: Optimize ArrayList subList sort
Reviewed-by: liach
2024-09-04 13:40:40 +00:00
Chen Liang
bd8569bc6c 8339131: Remove rarely-used accessor methods from Opcode
Reviewed-by: asotona
2024-09-04 12:29:40 +00:00
Erik Gahlin
e25a9e7fd8 8339486: JFR: Modernize
Reviewed-by: mgronlun
2024-09-04 12:08:16 +00:00
Magnus Ihse Bursie
4e2dde2f0d 8339371: jlink.log warning when building after JDK-8338404
Reviewed-by: erikj, alanb
2024-09-04 10:35:04 +00:00
Joel Sikström
7ad61605f1 8339163: ZGC: Race in clearing of remembered sets
Reviewed-by: stefank, eosterlund, aboldtch
2024-09-04 09:09:15 +00:00
Joel Sikström
a61860511f 8339399: ZGC: Remove unnecessary page reset when splitting pages
Reviewed-by: stefank, eosterlund, aboldtch
2024-09-04 08:56:02 +00:00
Matthias Baesken
f2c992c5af 8339300: CollectorPolicy.young_scaled_initial_ergo_vm gtest fails on ppc64 based platforms
Reviewed-by: mdoerr, lucy
2024-09-04 07:09:59 +00:00
Prasanta Sadhukhan
9a1024dec6 8190329: [macos] Swing InterOp Platform.exit() crash
Co-authored-by: Kevin Rushforth <kcr@openjdk.org>
Reviewed-by: kcr, azvegint
2024-09-04 05:05:20 +00:00
Abhishek Kumar
5998f4b6f5 8308588: Unnecessary synchronized on GTKStyle#ICONS_MAP can be removed
Reviewed-by: tr, aivanov, aturbanov
2024-09-04 04:26:55 +00:00
David Holmes
90f3f43257 8328877: [JNI] The JNI Specification needs to address the limitations of integer UTF-8 String lengths
Reviewed-by: cjplummer, alanb
2024-09-04 03:41:42 +00:00
Mark Powers
bbb516163d 8337664: Distrust TLS server certificates issued after Oct 2024 and anchored by Entrust Root CAs
Reviewed-by: mullan, rhalade
2024-09-03 19:55:58 +00:00
Chris Plummer
a22e932ab8 8337163: Improve SA error message when failing to attach to a core file
Reviewed-by: amenkov, kevinw
2024-09-03 19:51:12 +00:00
Alex Menkov
a7120e2b25 8311993: Test serviceability/sa/UniqueVtableTest.java failed: duplicate vtables detected
Reviewed-by: cjplummer, kevinw, dholmes
2024-09-03 19:06:10 +00:00
Chris Plummer
5ebdf2d272 8338708: Don't create/destroy debug agent cmdQueueLock for each connection
Reviewed-by: amenkov, lmesnik
2024-09-03 19:06:00 +00:00
Doug Simon
130ac13cb9 8337265: Test static-libs build in GitHub Actions
Reviewed-by: erikj, ihse
2024-09-03 19:04:04 +00:00
Alex Menkov
cfec3ac911 8337317: serviceability/jvmti tests failed with FATAL ERROR in native method: Failed during the GetClassSignature call
Reviewed-by: lmesnik, sspitsyn, cjplummer
2024-09-03 19:01:58 +00:00
Amit Kumar
0d593cd194 8339419: [s390x] Problemlist compiler/c2/irTests/TestIfMinMax.java
Reviewed-by: thartmann
2024-09-03 15:32:42 +00:00
Magnus Ihse Bursie
c3adcb8439 8338916: Build warnings about overriding recipe for jvm-ldflags.txt
Reviewed-by: jwaters, erikj
2024-09-03 15:31:19 +00:00
Magnus Ihse Bursie
66945e5010 8339336: Fix build system whitespace to adhere to coding conventions
Reviewed-by: erikj
2024-09-03 15:31:09 +00:00
Chen Liang
ad40a122d6 8339214: Remove misleading CodeBuilder.loadConstant(Opcode, ConstantDesc)
Reviewed-by: asotona
2024-09-03 13:44:48 +00:00
Daniel Fuchs
4ca2c208ea 8338740: java/net/httpclient/HttpsTunnelAuthTest.java fails with java.io.IOException: HTTP/1.1 header parser received no bytes
Reviewed-by: djelinski, jpai
2024-09-03 13:32:50 +00:00
Viktor Klang
e0c46d589b 8325397: sun/java2d/Disposer/TestDisposerRace.java fails in linux-aarch64
Reviewed-by: alanb
2024-09-03 12:55:23 +00:00
Shaojin Wen
b94c3debf5 8339401: Optimize ClassFile load and store instructions
Reviewed-by: liach, redestad
2024-09-03 12:05:02 +00:00
Matthias Baesken
8ea6adc623 8339364: AIX build fails: various unused variable and function warnings
Reviewed-by: mdoerr, clanger, jwaters
2024-09-03 12:02:49 +00:00
Per Minborg
7a418fc074 8338967: Improve performance for MemorySegment::fill
Reviewed-by: mcimadamore, psandoz
2024-09-03 10:25:27 +00:00
Damon Fenacci
633fad8e53 8326615: C1/C2 don't handle allocation failure properly during initialization (RuntimeStub::new_runtime_stub fatal crash)
Reviewed-by: thartmann, kvn
2024-09-03 09:45:43 +00:00
Martin Doerr
6f3e3fd0d4 8339411: [PPC64] cmpxchgw/h/b doesn't handle external Label
Reviewed-by: lucy, mbaesken
2024-09-03 09:27:59 +00:00
Kevin Walls
ed422ed1a3 8338817: Wrong indent in API docs for java.lang.management.ManagementFactory
Reviewed-by: alanb, dfuchs
2024-09-03 07:56:14 +00:00
Kevin Walls
288fa60ebe 8338891: HotSpotDiagnosticsMXBean missing @since tag
Reviewed-by: alanb
2024-09-03 07:56:04 +00:00
Fei Yang
dc4fd89628 8339359: RISC-V: Use auipc explicitly in far_jump and far_call macro assembler routines
Reviewed-by: rehn, luhenry
2024-09-03 06:58:44 +00:00
Roland Westrelin
3a88fd437d 8334724: C2: remove PhaseIdealLoop::cast_incr_before_loop()
Reviewed-by: chagedorn, kvn
2024-09-03 06:58:29 +00:00
Kim Barrett
62dad3a9ea 8339351: Remove duplicate line in FileMapHeader::print
Reviewed-by: dholmes
2024-09-02 17:57:02 +00:00
Joshua Zhu
0e6bb514c8 8339063: [aarch64] Skip verify_sve_vector_length after native calls if SVE supports 128 bits VL only
Reviewed-by: adinn, fgao
2024-09-02 15:37:58 +00:00
Daniel Fuchs
b1163bcc88 8256211: assert fired in java/net/httpclient/DependentPromiseActionsTest (infrequent)
Reviewed-by: jpai
2024-09-02 14:52:04 +00:00
Aleksei Efimov
03ba37e60c 8339169: Remove NaiveHuffman coder
Reviewed-by: djelinski, dfuchs
2024-09-02 09:32:10 +00:00
Magnus Ihse Bursie
a136a85b6f 8338768: Introduce runtime lookup to check for static builds
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Co-authored-by: Jiangli Zhou <jiangli@openjdk.org>
Reviewed-by: prr, jiangli, alanb
2024-09-02 09:14:36 +00:00
Gui Cao
9d7d85a6aa 8339298: Remove unused function declaration poll_for_safepoint
Reviewed-by: fyang, chagedorn
2024-09-02 01:23:50 +00:00
Leonid Mesnik
92aafb4342 8338934: vmTestbase/nsk/jvmti/*Field*Watch/TestDescription.java tests timeout intermittently
Reviewed-by: sspitsyn, amenkov
2024-09-01 16:13:53 +00:00
Fei Yang
392bdd5734 8339248: RISC-V: Remove li64 macro assembler routine and related code
Reviewed-by: rehn, fjiang, luhenry
2024-08-31 01:44:17 +00:00
Kim Barrett
4f071ce074 8311163: Parallel: Improve large object handling during evacuation
Reviewed-by: tschatzl, ayang
2024-08-31 01:13:07 +00:00
Justin Lu
b840b130df 8338882: Clarify matching order of MessageFormat subformat factory styles
Reviewed-by: naoto
2024-08-30 18:28:53 +00:00
Chen Liang
25e03b5209 8339115: Rename TypeKind enum constants to follow code style
Reviewed-by: asotona
2024-08-30 17:28:28 +00:00
Brian Burkhalter
fef1ef7dfe 6426678: (spec) File.createTempFile(prefix, suffix, dir) needs clarification for illegal symbols in suffix
Reviewed-by: alanb
2024-08-30 17:17:10 +00:00
Magnus Ihse Bursie
a528c4b370 8339156: Use more fine-granular clang unused warnings
Reviewed-by: erikj, kbarrett
2024-08-30 16:43:16 +00:00
Jaikiran Pai
2fb830553f 8339319: ProblemList runtime/exceptionMsgs/NoClassDefFoundError/NoClassDefFoundErrorTest.java
Reviewed-by: dfuchs, dcubed
2024-08-30 14:47:29 +00:00
David Schlosnagle
3a352b8259 8339191: JFR: Bulk read support for ChunkInputStream
Reviewed-by: egahlin
2024-08-30 12:36:33 +00:00
Matthias Baesken
92c4704edf 8339166: java/lang/String/concat/HiddenClassUnloading.java fails on AIX and Linux ppc64le after JDK-8336856
Reviewed-by: redestad, mdoerr
2024-08-30 10:18:19 +00:00
Magnus Ihse Bursie
2abe2ff69b 8339235: Fix indentation in build system
Reviewed-by: erikj
2024-08-30 08:58:18 +00:00
Magnus Ihse Bursie
bb28b0d229 8338404: Cross-compilation to different endianness fails after JDK-8318913
Reviewed-by: erikj, fbredberg
2024-08-30 08:58:07 +00:00
Jan Lahoda
b8727181f3 8338301: Error recovery and reporting should be improved for erroneous implicitly declared classes
Reviewed-by: cstein, vromero
2024-08-30 08:11:49 +00:00
Matthias Baesken
b9e65f982f 8337662: Improve os::print_hex_dump for printing Instructions sections
Reviewed-by: stuefe, lucy
2024-08-30 06:47:49 +00:00
Eirik Bjørsnøs
f927c1210e 8339154: Cleanups and JUnit conversion of test/jdk/java/util/zip/Available.java
Reviewed-by: lancea
2024-08-30 06:21:49 +00:00
Gui Cao
4675913edb 8339237: RISC-V: Builds fail after JDK-8339120
Reviewed-by: fyang
2024-08-30 01:06:00 +00:00
Shaojin Wen
b711c41d44 8339196: Optimize BufWriterImpl#writeU1/U2/Int/Long
Reviewed-by: liach, redestad
2024-08-29 21:21:16 +00:00
Matias Saavedra Silva
f2968b34a5 8339020: Remove unused HeapShared::calculate_oopmap
Reviewed-by: coleenp
2024-08-29 21:06:05 +00:00
David Holmes
a4962ace4d 8338257: UTF8 lengths should be size_t not int
Reviewed-by: stuefe, coleenp, dlong
2024-08-29 20:38:52 +00:00
Chen Liang
777ed2b5d2 8339132: Make DirectCodeBuilder write through without allocating instruction objects
Reviewed-by: asotona, redestad
2024-08-29 15:45:52 +00:00
Johan Sjölen
e57b593258 8335062: NMT: Make StackIndex non-opaque
Reviewed-by: stuefe, gziemski
2024-08-29 11:23:04 +00:00
Jan Lahoda
8c8b5801fd 8338281: jshell does not run shutdown hooks
Reviewed-by: asotona
2024-08-29 10:06:08 +00:00
Andrey Turbanov
d35ffa4f6a 8339017: Make a couple of fields in DoubleByte static
Reviewed-by: bpb, naoto
2024-08-29 09:57:52 +00:00
Daniel Fuchs
723588a4e7 8338569: HTTP/1.1 CleanupTrigger may be triggerred after the next exchange started
Reviewed-by: jpai
2024-08-29 08:54:02 +00:00
Magnus Ihse Bursie
362f9ce077 8339120: Use more fine-granular gcc unused warnings
Reviewed-by: jwaters, kbarrett, erikj
2024-08-29 07:29:12 +00:00
Matthias Baesken
f080b4bb8a 8333098: ubsan: bytecodeInfo.cpp:318:59: runtime error: division by zero
Reviewed-by: kvn, iveresov
2024-08-29 07:07:12 +00:00
Jan Lahoda
ff59532ddd 8338678: Erroneous parameterized type represented as <any>
Reviewed-by: vromero
2024-08-29 06:28:05 +00:00
Jan Lahoda
0b4a7d5342 8324859: Improve error recovery
Reviewed-by: mcimadamore
2024-08-29 06:25:27 +00:00
Kangcheng Xu
1383fec417 8327381: Refactor type-improving transformations in BoolNode::Ideal to BoolNode::Value
Reviewed-by: chagedorn, thartmann, jkarthikeyan, epeter
2024-08-29 05:34:08 +00:00
Prasanta Sadhukhan
eb7ead58fd 8336873: BasicSplitPaneDivider:oneTouchExpandableChanged() should mention that implementation depends on SplitPane.supportsOneTouchButtons property
Reviewed-by: prr, abhiscxk
2024-08-29 05:03:15 +00:00
Dean Long
0ddcd70175 8335120: assert(!target->can_be_statically_bound() || target == cha_monomorphic_target) failed
Reviewed-by: kvn, vlivanov
2024-08-29 00:34:11 +00:00
Brent Christian
26e3d535ad 8338716: Re-visit "interrupt handling" in jdk.internal.loader.Resource
Reviewed-by: alanb
2024-08-28 22:54:38 +00:00
David Holmes
72a49005ee 8338888: SystemDictionary::class_name_symbol has incorrect length check
Reviewed-by: stuefe, kbarrett, coleenp
2024-08-28 21:16:18 +00:00
Justin Lu
a8ac28725b 8339126: JNI exception pending in Inflater.c
Reviewed-by: lancea, vtewari, jpai, naoto
2024-08-28 21:14:29 +00:00
Leonid Mesnik
d08b5bd9f5 8258483: [TESTBUG] gtest CollectorPolicy.young_scaled_initial_ergo_vm fails if heap is too small
Reviewed-by: ayang
2024-08-28 20:18:51 +00:00
Leonid Mesnik
d03ec7aad4 8339030: frame::print_value_on(outputStream* st, JavaThread *thread) doesn't need thread argument
Reviewed-by: dholmes, coleenp
2024-08-28 20:17:25 +00:00
Claes Redestad
eff6d9cd23 8339167: Remove AbstractPoolEntry.PrimitiveEntry to reduce boxing overheads
Reviewed-by: liach
2024-08-28 18:22:30 +00:00
Claes Redestad
a98ecad0a9 8338897: Small startup regression remains after JDK-8309622 and JDK-8331932
Reviewed-by: liach, naoto
2024-08-28 18:16:00 +00:00
Manukumar V S
3d49fb8a17 8338103: Stabilize and open source a Swing OGL ButtonResizeTest
Reviewed-by: abhiscxk, prr, tr
2024-08-28 17:54:43 +00:00
Anthony Scarpino
0c2b175898 8328608: Multiple NewSessionTicket support for TLS
Reviewed-by: djelinski
2024-08-28 17:24:33 +00:00
Daniel D. Daugherty
379f3db001 8339175: ProblemList runtime/interpreter/LastJsrTest.java on all platforms with Xcomp
Reviewed-by: matsaave
2024-08-28 16:47:30 +00:00
Eirik Bjørsnøs
b6700095c0 8338729: Retire the test jdk/java/util/zip/TestZipError.java
Reviewed-by: lancea
2024-08-28 15:23:50 +00:00
Albert Mingkun Yang
32c9750985 8339160: [BACKOUT] JDK-8338440 Parallel: Improve fragmentation mitigation in Full GC
Reviewed-by: tschatzl
2024-08-28 13:28:01 +00:00
Markus Grönlund
9d183bd027 8339149: jfr_flush_event_writer - return value type mismatch
Reviewed-by: egahlin
2024-08-28 12:19:58 +00:00
Nizar Benalla
2150521650 8322036: Improve help output from the javadoc tool
Reviewed-by: prappo
2024-08-28 11:01:15 +00:00
Maurizio Cimadamore
1ff9ac7233 8338731: MemoryLayout::offsetHandle can return a negative offset
Reviewed-by: pminborg, psandoz
2024-08-28 10:22:34 +00:00
Jaikiran Pai
2e174c6367 8338445: jdk.internal.loader.URLClassPath may leak JarFile instance when dealing with unexpected Class-Path entry in manifest
Reviewed-by: michaelm, cstein, alanb
2024-08-28 09:29:18 +00:00
Tejesh R
8e88da05b9 8338041: Keyboard Navigation of JTable, Ctrl Shift RIGHT/LEFT doesn't follow native action in GTK L&F
Reviewed-by: honkar, prr, abhiscxk
2024-08-28 04:43:10 +00:00
Shaojin Wen
449ca2c3c1 8337832: Optimize datetime toString
Reviewed-by: scolebourne, liach, naoto
2024-08-27 22:10:05 +00:00
Alexander Zvegintsev
b1b4cd429a 8332158: [XWayland] test/jdk/java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java
Reviewed-by: serb, honkar
2024-08-27 17:16:09 +00:00
Neethu Prasad
284c3cde5e 8336299: Improve GCLocker stall diagnostics
Reviewed-by: ayang, shade, tschatzl
2024-08-27 16:45:34 +00:00
Per Minborg
2e96f159aa 8338489: Typo in MemorySegment doc
Reviewed-by: rriggs, mcimadamore, iris
2024-08-27 16:24:50 +00:00
Hamlin Li
44d3a68d8a 8314124: RISC-V: implement Base64 intrinsic - decoding
Reviewed-by: fyang, rehn, tonyp
2024-08-27 16:20:18 +00:00
Thomas Stuefe
daf26178be 8338929: Make Metaspace::deallocate space-aware
Reviewed-by: coleenp, adinn
2024-08-27 15:46:10 +00:00
Naoto Sato
fa4ff78bd4 8338690: CompactNumberInstance.format incorrectly formats some numbers (few vs many)
Reviewed-by: joehw, rriggs, jlu
2024-08-27 15:34:50 +00:00
Albert Mingkun Yang
1ff5f8d65c 8338440: Parallel: Improve fragmentation mitigation in Full GC
Co-authored-by: Guoxiong Li <gli@openjdk.org>
Reviewed-by: iwalulya, zgu, gli
2024-08-27 15:18:34 +00:00
Markus Grönlund
0f667103db 8338939: Simplify processing of hidden class names
Reviewed-by: egahlin
2024-08-27 14:33:31 +00:00
Maurizio Cimadamore
b25095b08e 8338728: Misc issues in memory layout javadoc
Reviewed-by: pminborg, psandoz
2024-08-27 14:26:31 +00:00
Viktor Klang
414d23cb8f 8338765: ScheduledThreadPoolExecutor struggles with extremely long delays
Reviewed-by: alanb
2024-08-27 13:23:02 +00:00
Joakim Nordström
d5c6158ced 8338389: [JFR] Long strings should be added to the string pool
Reviewed-by: mgronlun
2024-08-27 13:17:21 +00:00
Martin Doerr
2edf574f62 8338814: [PPC64] Unify interface of cmpxchg for different types
Reviewed-by: lucy
2024-08-27 11:51:28 +00:00
Robbin Ehn
aefdbdc7e5 8338727: RISC-V: Avoid synthetic data dependency in nmethod barrier on Ztso
Reviewed-by: mli, fyang
2024-08-27 08:42:06 +00:00
Jan Lahoda
b704bfa205 8298920: Improve microbenchmark build times
Reviewed-by: erikj, ihse, djelinski
2024-08-27 07:23:15 +00:00
Abhishek Kumar
b8e8e965e5 8338668: Test javax/swing/JFileChooser/8080628/bug8080628.java doesn't test for GTK L&F
Reviewed-by: aivanov, honkar, prr
2024-08-27 04:15:08 +00:00
Julian Waters
cd9e241f0e 8336289: Obliterate most references to _snprintf in the Windows JDK
Reviewed-by: kbarrett, dholmes, jpai, mullan, djelinski, prr
2024-08-27 04:13:54 +00:00
Chihiro Ito
78f53efcd6 8338938: The result of the combine method of SettingsControl is not used
Reviewed-by: egahlin
2024-08-27 00:24:46 +00:00
David Holmes
16df090784 8338947: Deprecate the UseLinuxPosixThreadCPUClocks flag and remove it in a future release
Reviewed-by: kbarrett, stuefe
2024-08-26 22:26:40 +00:00
Calvin Cheung
a827ff05db 8335577: runtime/cds/appcds/TestParallelGCWithCDS.java still fails with JNI error
Reviewed-by: dholmes, iklam
2024-08-26 21:26:12 +00:00
Shaojin Wen
5ecbecfbca 8338936: StringConcatFactory optimize the construction of MethodType and MethodTypeDesc
Reviewed-by: redestad, liach
2024-08-26 20:26:17 +00:00
Phil Race
0c744ea7e7 8338928: Update SwingSet2 "About" image to reference openjdk.org
Reviewed-by: abhiscxk, honkar
2024-08-26 18:52:36 +00:00
Tomáš Zezula
a15af6998e 8338538: [JVMCI] Allow HotSpotJVMCIRuntime#getJObjectValue to be called by a HotSpot CompileBroker compiler thread
Reviewed-by: dnsimon
2024-08-26 16:49:48 +00:00
Claes Redestad
3f00da84b3 8338906: Avoid passing EnumDescs and extra classes to type switch methods that don't use them
Reviewed-by: liach, jlahoda
2024-08-26 15:58:25 +00:00
Claes Redestad
e63418ee01 8338979: Avoid bootstrapped switches in the classfile API
Reviewed-by: liach, asotona
2024-08-26 14:29:09 +00:00
Maurizio Cimadamore
20d8f58c92 8331671: Implement JEP 472: Prepare to Restrict the Use of JNI
Reviewed-by: jpai, prr, ihse, kcr, alanb
2024-08-26 09:17:45 +00:00
Roland Westrelin
ce83f6af64 8338844: C2: remove useless code in PhaseIdealLoop::place_outside_loop() after 8335709
Reviewed-by: chagedorn, thartmann
2024-08-26 07:32:19 +00:00
Roland Westrelin
0c14579fef 8336830: C2: assert(get_loop(lca)->_nest < n_loop->_nest || lca->in(0)->is_NeverBranch()) failed: must not be moved into inner loop
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: thartmann, chagedorn, epeter
2024-08-26 07:31:04 +00:00
Sergey Bylokhov
5671f83603 8338785: The java.awt.datatransfer.SystemFlavorMap#FLAVOR_MAP_KEY field is not used
Reviewed-by: honkar, dnguyen, prr
2024-08-24 00:05:30 +00:00
Daniel D. Daugherty
32b3d707c1 8338925: ProblemList runtime/interpreter/LastJsrTest.java on linux-all
Reviewed-by: matsaave
2024-08-23 22:04:43 +00:00
Joe Darcy
5d12ac3fcb 8337715: Update --release 23 symbol information for JDK 23 build 37
Reviewed-by: iris, liach
2024-08-23 20:01:16 +00:00
Brian Burkhalter
23dc3b0246 8324048: (fc) Make FileKey fields final
Reviewed-by: djelinski, alanb, jpai
2024-08-23 16:32:14 +00:00
Chen Liang
a461369f16 8338700: AttributeMapper type parameter should be bounded by Attribute
Reviewed-by: asotona
2024-08-23 15:16:44 +00:00
Tejesh R
916f1aa04f 8329756: [macos] "javax/swing/JTable/KeyBoardNavigation.java" fail because most combinations of navigational keys with the Ctrl key do not work
Reviewed-by: abhiscxk, dnguyen
2024-08-23 10:51:12 +00:00
Erik Gahlin
21d1e4d803 8338819: JFR: Internal events causes crash when no other events are in use
Reviewed-by: mgronlun, sjohanss
2024-08-23 09:59:15 +00:00
Qizheng Xing
965dd1acd0 8333334: C2: Make result of Node::dominates more precise to enhance scalar replacement
Reviewed-by: chagedorn, kvn, thartmann
2024-08-23 09:30:47 +00:00
Markus Grönlund
69bd227e6c 8338417: Explicitly pin a virtual thread before acquiring the JFR string pool monitor
Reviewed-by: alanb, egahlin, dholmes
2024-08-23 09:29:23 +00:00
Markus Grönlund
fead3cf541 8338745: Intrinsify Continuation.pin() and Continuation.unpin()
Reviewed-by: kvn
2024-08-23 09:26:00 +00:00
Pavel Rappo
a5e28005fa 8338834: Remove unused import declarations in java.compiler
Reviewed-by: darcy
2024-08-23 08:05:16 +00:00
Stefan Karlsson
9cbf685b0b 8337658: ZGC: Move soft reference handling out of the driver loop function
Reviewed-by: gli, aboldtch, eosterlund
2024-08-23 07:09:40 +00:00
SendaoYan
8e0d0190ed 8338630: Test java/nio/channels/DatagramChannel/SendReceiveMaxSize.java timeout
Reviewed-by: dfuchs, jpai, djelinski
2024-08-23 06:26:24 +00:00
Axel Boldt-Christmas
e06652ad3c 8338810: PPC, s390x: LightweightSynchronizer::exit asserts, missing lock
Reviewed-by: mdoerr, amitkumar
2024-08-23 05:47:29 +00:00
David Holmes
ea3370982b 8328880: Events::log_exception should limit the size of the logging message
Reviewed-by: shade, kvn
2024-08-23 02:35:48 +00:00
Brian Burkhalter
c89a1c35bd 8338696: (fs) BasicFileAttributes.creationTime() falls back to epoch if birth time is unavailable (Linux)
Reviewed-by: sgehwolf, alanb
2024-08-22 21:41:25 +00:00
Aleksey Shipilev
813546f923 8338856: [BACKOUT] JDK-8337828: CDS: Trim down minimum GC region alignment
Reviewed-by: dcubed
2024-08-22 19:48:25 +00:00
Matthew Donovan
0b5c8870e5 8338380: Update TLSCommon/interop/AbstractServer to specify an interface to listen for connections
Reviewed-by: rhalade
2024-08-22 17:58:08 +00:00
Matias Saavedra Silva
6041c936d6 8335664: Parsing jsr broken: assert(bci>= 0 && bci < c->method()->code_size()) failed: index out of bounds
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: dlong, thartmann
2024-08-22 15:55:02 +00:00
Aleksey Shipilev
6cf7f9c4a7 8338662: Shenandoah: Remove excessive ShenandoahVerifier::verify_during_evacuation
Reviewed-by: wkemper, ysr
2024-08-22 11:39:47 +00:00
Magnus Ihse Bursie
129f527f4f 8338290: Xcode project generator for hotspot
Co-authored-by: Gerard Ziemski <gziemski@openjdk.org>
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: azafari, erikj
2024-08-22 10:31:34 +00:00
Hamlin Li
6644dd33f6 8338760: Adjust the comment after UseObjectMonitorTable
Reviewed-by: coleenp, dcubed
2024-08-22 07:22:35 +00:00
Axel Boldt-Christmas
1d05989bb4 8334357: Use NonInterleavingLogStream for report_metadata_oome
Reviewed-by: jsjolen, stuefe
2024-08-22 06:23:06 +00:00
Claes Redestad
47c8a6a8db 8333265: De-duplicate method references in java.util.stream.FindOps
Reviewed-by: liach
2024-08-21 22:10:06 +00:00
Doug Lea
ab8071d280 8338146: Improve Exchanger performance with VirtualThreads
Reviewed-by: alanb
2024-08-21 18:22:24 +00:00
Aleksey Shipilev
e297e8817f 8338688: Shenandoah: Avoid calling java_lang_Class accessors in asserts/verifier
Reviewed-by: rkennke, wkemper
2024-08-21 16:10:41 +00:00
Maurizio Cimadamore
0e8fe3550b 8338677: Improve startup of memory access var handles by simplifying combinator chains
Reviewed-by: redestad
2024-08-21 15:11:32 +00:00
Shaojin Wen
3aeb6733f9 8338532: Speed up the ClassFile API MethodTypeDesc#ofDescriptor
Reviewed-by: redestad, liach
2024-08-21 14:56:30 +00:00
Albert Mingkun Yang
918cf11454 8338490: Serial: Move Generation::print_on to subclasses
Reviewed-by: gli
2024-08-21 12:01:57 +00:00
Chen Liang
80adea8e0a 8338545: Functional interface implementations for common pre-boot ClassFile operations
Reviewed-by: asotona
2024-08-21 11:58:21 +00:00
Hamlin Li
7458952ded 8338595: Add more linesize for MIME decoder in macro bench test Base64Decode
Reviewed-by: rehn
2024-08-21 10:17:51 +00:00
Gui Cao
c4cf1e93bb 8338539: New Object to ObjectMonitor mapping: riscv64 implementation
Reviewed-by: fyang, rehn, mli
2024-08-21 08:58:40 +00:00
Lutz Schmidt
715fa8f9fe 8336498: [macos] [build]: install-file macro may run into permission denied error
Reviewed-by: clanger, erikj
2024-08-21 08:23:31 +00:00
Adam Sotona
e88a3b0574 8338661: StackMapTable is invalid if frames appear in dead code
Reviewed-by: liach
2024-08-21 08:19:35 +00:00
Aleksey Shipilev
598169756c 8337828: CDS: Trim down minimum GC region alignment
Reviewed-by: iklam, phh
2024-08-21 08:17:01 +00:00
Prasanta Sadhukhan
cafb3dc491 6318027: BasicScrollBarUI does not disable timer when enclosing frame is disabled.
Reviewed-by: abhiscxk, tr
2024-08-21 07:04:05 +00:00
Chen Liang
88ccbb6091 8336934: Clean up JavaLangReflectAccess
Reviewed-by: rriggs, darcy
2024-08-21 01:05:41 +00:00
Chris Plummer
d72810794b 8338482: com/sun/jdi/ThreadMemoryLeakTest.java requires that compressed oops are enabled
Reviewed-by: amenkov, kevinw
2024-08-20 23:34:31 +00:00
Chen Liang
1ebf2cf639 8336756: Improve ClassFile Annotation writing
Reviewed-by: asotona
2024-08-20 19:02:38 +00:00
Mark Reinhold
0267284c52 8338611: java.lang.module specification wording not aligned with JEP 261
Reviewed-by: alanb
2024-08-20 18:50:17 +00:00
Leonid Mesnik
c646efc366 8205957: setfldw001/TestDescription.java fails with bad field value
Reviewed-by: sspitsyn, dlong
2024-08-20 18:41:15 +00:00
Vladimir Petko
285ceb9ee5 8336529: (fs) UnixFileAttributeViews setTimes() failing on armhf, Ubuntu noble
Reviewed-by: bpb, alanb
2024-08-20 15:51:40 +00:00
Christian Hagedorn
55a97ec879 8336729: C2: Div/Mod nodes without zero check could be split through iv phi of outer loop of long counted loop nest resulting in SIGFPE
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: epeter, kvn, thartmann
2024-08-20 15:47:16 +00:00
Chen Liang
b442003048 8338623: StackCounter adding extraneous slots for receiver invoke instructions
Reviewed-by: asotona
2024-08-20 14:44:37 +00:00
George Adams
bc2700b7dc 8282944: GHA: Add Alpine Linux x86_64 pre-integration check
Reviewed-by: ihse
2024-08-20 14:38:31 +00:00
Jaikiran Pai
686eb233d5 8336817: Several methods on DatagramSocket and MulticastSocket do not specify behaviour when already closed or connected
Reviewed-by: dfuchs, alanb
2024-08-20 12:28:56 +00:00
Darragh Clarke
01d03e07c7 8324209: Check implementation of Expect: 100-continue in the java.net.http.HttpClient
Reviewed-by: dfuchs, jpai
2024-08-20 11:10:18 +00:00
Matthias Baesken
7933e45cda 8338550: Do libubsan1 installation in test container only if requested
Reviewed-by: sgehwolf
2024-08-20 10:43:16 +00:00
Amit Kumar
89ca5b6fbd 8338365: [PPC64, s390] Out-of-bounds array access in secondary_super_cache
Reviewed-by: mdoerr, aph, rrich
2024-08-20 09:54:20 +00:00
Aleksey Shipilev
b9d49dcef2 8337981: ShenandoahHeap::is_in should check for alive regions
Reviewed-by: rkennke, wkemper
2024-08-20 08:40:45 +00:00
Stefan Karlsson
9775d57168 8338139: {ClassLoading,Memory}MXBean::isVerbose methods are inconsistent with their setVerbose methods
Co-authored-by: David Holmes <dholmes@openjdk.org>
Reviewed-by: lmesnik, dcubed, dholmes
2024-08-20 06:15:56 +00:00
Chen Liang
68d1f5c33b 8338543: ClassBuilder withMethod builders should cache the method type symbol
Reviewed-by: asotona
2024-08-20 05:43:04 +00:00
Hannes Wallnöfer
55851a312b 8281533: Odd "preview" label in link/linkplain
Reviewed-by: jjg
2024-08-19 18:05:37 +00:00
Hannes Wallnöfer
c7690c34c2 8338190: TOC vertical offsets not updated when document size changes
Reviewed-by: jjg
2024-08-19 17:47:25 +00:00
Damon Nguyen
6460b30048 8321140: Add comment to note difference in Metal's JButton margins
Reviewed-by: honkar, aivanov
2024-08-19 16:43:43 +00:00
Daniel Fuchs
3ca359ad22 8335771: Improve stability of java/nio/channels/DatagramChannel tests
Reviewed-by: alanb
2024-08-19 13:47:40 +00:00
Alan Bateman
2766b09e29 8338452: (dc) DatagramChannelImpl.blockingReceive with timeout may block indefinitely if all datagrams blocked by SecurityManager
Reviewed-by: dfuchs
2024-08-19 12:57:29 +00:00
Adam Sotona
f0fe31383a 8338564: Remove obsolete AbstractNamedEntry::equals method
Reviewed-by: liach
2024-08-19 12:57:17 +00:00
Renjith Kannath Pariyangad
6ff6b09943 8290501: Typo in javax.swing.BoundedRangeModel documentation
Reviewed-by: aivanov, prr, honkar
2024-08-19 12:40:35 +00:00
Erik Gahlin
e07a5b6626 8338512: JFR: Revert changes to TestCodeSweeper
Reviewed-by: mgronlun
2024-08-19 10:42:58 +00:00
Aleksey Shipilev
6d430f24df 8338314: JFR: Split JFRCheckpoint VM operation
Reviewed-by: mgronlun, egahlin
2024-08-19 09:08:54 +00:00
Andrew Dinn
f0374a0bc1 8337987: Relocate jfr and throw_exception stubs from StubGenerator to SharedRuntime
Reviewed-by: fyang, kvn, yzheng
2024-08-19 09:00:19 +00:00
Manukumar V S
15b20cb1fd 8337886: java/awt/Frame/MaximizeUndecoratedTest.java fails in OEL due to a slight color difference
Reviewed-by: dnguyen, honkar, serb
2024-08-19 07:17:37 +00:00
Tejesh R
56a007dd32 8338488: Add screen capture for failure case
Reviewed-by: azvegint
2024-08-19 06:42:51 +00:00
SendaoYan
2f7ba781bf 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment
Reviewed-by: jpai
2024-08-19 04:44:24 +00:00
Chris Plummer
8635642dbd 8338469: com/sun/jdi/DataDumpTest.java failed with Not a debuggee, or not listening for debugger to attach
Reviewed-by: dcubed
2024-08-16 16:39:36 +00:00
Chen Liang
961e944fa7 8336754: Remodel TypeAnnotation to "has" instead of "be" an Annotation
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: asotona
2024-08-16 15:48:54 +00:00
Pavel Rappo
07352c6744 8338398: Trivially fix grammar and typos
Reviewed-by: aivanov
2024-08-16 14:06:10 +00:00
Shaojin Wen
5022109b2a 8336856: Efficient hidden class-based string concatenation strategy
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad, liach
2024-08-16 13:18:02 +00:00
Daniel Fuchs
ddbc0b6a39 8338495: Revert "8336655: java/net/httpclient/DigestEchoClient.java IOException: HTTP/1.1 header parser received no bytes"
Reviewed-by: jpai
2024-08-16 11:24:40 +00:00
Andrey Turbanov
60c9b5cd9f 8337839: Make a few fields in MergeCollation static
Reviewed-by: jpai, naoto
2024-08-16 08:49:18 +00:00
Axel Boldt-Christmas
bd4160cea8 8315884: New Object to ObjectMonitor mapping
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Reviewed-by: rkennke, coleenp, dcubed
2024-08-16 06:20:17 +00:00
Shaojin Wen
74066bcca8 8338409: Use record to simplify code
Reviewed-by: redestad, liach
2024-08-15 22:57:33 +00:00
Aleksey Shipilev
d86e99c3ca 8293650: Shenandoah: Support archived heap objects
Reviewed-by: rkennke, wkemper, iklam
2024-08-15 20:52:07 +00:00
Coleen Phillimore
1cd4884368 8338447: Remove InstanceKlass::_is_marked_dependent
Reviewed-by: shade
2024-08-15 18:20:20 +00:00
Kim Barrett
52d9d69db5 8338331: Fix -Wzero-as-null-pointer-constant warnings from CHECK_0 in jni.cpp
Reviewed-by: dholmes, shade
2024-08-15 17:50:44 +00:00
Chen Liang
ace496515f 8338406: BytecodeHelpers using wrong bootstrap method descriptor for condy
Reviewed-by: asotona
2024-08-15 17:50:34 +00:00
Kim Barrett
965508270e 8338330: Fix -Wzero-as-null-pointer-constant warnings from THROW_XXX_0
Reviewed-by: dlong, dholmes, shade
2024-08-15 17:43:09 +00:00
Satyen Subramaniam
f308b2d596 8336915: Shenandoah: Remove unused ShenandoahVerifier::verify_after_evacuation
Reviewed-by: shade
2024-08-15 16:47:45 +00:00
Satyen Subramaniam
e51e40c2b9 8336914: Shenandoah: Missing verification steps after JDK-8255765
Reviewed-by: shade
2024-08-15 16:47:08 +00:00
Aleksey Shipilev
ef54af3988 8338444: Shenandoah: Remove ShenandoahHumongousThreshold tunable
Reviewed-by: rkennke, wkemper, ysr
2024-08-15 16:45:43 +00:00
lawrence.andrews
7d1bbff076 8328553: Get rid of JApplet in test/jdk/sanity/client/lib/SwingSet2/src/DemoModule.java
Reviewed-by: honkar, prr
2024-08-15 16:36:15 +00:00
Daniel Fuchs
6169613d9f 8336655: java/net/httpclient/DigestEchoClient.java IOException: HTTP/1.1 header parser received no bytes
Reviewed-by: jpai
2024-08-15 15:34:08 +00:00
Fei Gao
3859131505 8338442: AArch64: Clean up IndOffXX type and let legitimize_address() fix out-of-range operands
Reviewed-by: aph, dlong
2024-08-15 15:16:14 +00:00
Sonia Zaldana Calles
56dec215b0 8338014: Improve usage of @jvms tags in class file API
Reviewed-by: darcy, liach, asotona
2024-08-15 13:28:25 +00:00
Aleksey Shipilev
74fdd6868d 8333791: Fix memory barriers for @Stable fields
Reviewed-by: liach, vlivanov
2024-08-15 11:24:22 +00:00
Aleksey Shipilev
da7311bbe3 8338286: GHA: Demote x86_32 to hotspot build only
Reviewed-by: ihse
2024-08-15 08:50:29 +00:00
Ivan Walulya
f536f5ab68 8336086: G1: Use one G1CardSet instance for all young regions
Reviewed-by: tschatzl, ayang
2024-08-15 08:26:22 +00:00
Matthias Baesken
4c344335fe 8338304: clang on Linux - check for lld presence after JDK-8333189
Reviewed-by: erikj, ihse
2024-08-15 07:39:31 +00:00
Evgeny Nikitin
4669e7b7b0 8337102: JITTester: Fix breaks in static initialization blocks
Reviewed-by: kvn, iveresov
2024-08-15 05:36:11 +00:00
SendaoYan
e3a5e265a7 8338344: Test TestPrivilegedMode.java intermittent fails java.lang.NoClassDefFoundError: jdk/test/lib/Platform
Reviewed-by: chagedorn, shade
2024-08-14 18:55:58 +00:00
Joe Darcy
aff7936ff0 8338333: Add jls links to javax.lang.model.element.Modifier
Reviewed-by: liach, iris, prappo, vromero, jlahoda
2024-08-14 18:42:59 +00:00
Chris Plummer
723ac5763a 8332488: Add JVMTI DataDumpRequest to the debug agent
Reviewed-by: sspitsyn, lmesnik
2024-08-14 18:41:24 +00:00
Phil Race
c0384b6f35 8337237: Use FFM instead of Unsafe for Java 2D RenderBuffer class
Reviewed-by: jvernee, jdv
2024-08-14 17:58:24 +00:00
Matthias Baesken
6a39014795 8338110: Exclude Fingerprinter::do_type from ubsan checks
Reviewed-by: jwaters, rrich
2024-08-14 16:56:28 +00:00
Albert Mingkun Yang
0e3903f2eb 8338393: Parallel: Remove unused ParallelCompactData::clear_range
Reviewed-by: tschatzl
2024-08-14 16:49:11 +00:00
Zdenek Zambersky
d8e4d3f2d6 8338402: GHA: some of bundles may not get removed
Reviewed-by: ihse, shade
2024-08-14 15:20:07 +00:00
John Engebretson
a5d948fb98 8332842: Optimize empty CopyOnWriteArrayList allocations
Reviewed-by: shade, alanb
2024-08-14 14:11:53 +00:00
Jan Lahoda
fbe4f05636 8337976: Insufficient error recovery in parser for switch inside class body
Reviewed-by: vromero
2024-08-14 12:20:17 +00:00
Matthias Baesken
38bd8a3670 8338236: Compile error in cgroup code on Linux when using clang
Reviewed-by: mdoerr, sgehwolf
2024-08-14 09:52:23 +00:00
Albert Mingkun Yang
9fe1777faf 8338280: Parallel: Inline ParallelCompactData::verify_clear
Reviewed-by: tschatzl
2024-08-14 09:16:02 +00:00
Ivan Walulya
66bee2532f 8338315: G1: G1CardTableEntryClosure:do_card_ptr remove unused parameter worker_id
Reviewed-by: tschatzl
2024-08-14 09:13:21 +00:00
Qizheng Xing
3dd07b91bb 8336163: Remove declarations of some debug-only methods in release build
Reviewed-by: dholmes, eliu, kvn
2024-08-14 06:28:34 +00:00
Jaikiran Pai
720b44648b 8335181: Incorrect handling of HTTP/2 GOAWAY frames in HttpClient
Reviewed-by: dfuchs
2024-08-14 05:42:14 +00:00
SendaoYan
f132b347e1 8336854: CAInterop.java#actalisauthenticationrootca conflicted with /manual and /timeout
Reviewed-by: rhalade
2024-08-13 22:59:13 +00:00
Neethu Prasad
90527a5784 8336742: Shenandoah: Add more verbose logging/stats for mark termination attempts
Reviewed-by: shade, wkemper, rkennke
2024-08-13 19:56:07 +00:00
Kim Barrett
8e682aca24 8338158: Cleanup ShouldNotXXX uses in machnode.cpp
Reviewed-by: chagedorn, kvn, dlong
2024-08-13 18:03:52 +00:00
Kim Barrett
ca99f37f82 8338156: Fix -Wzero-as-null-pointer-constant warnings in jvmciCompilerToVM.cpp
Reviewed-by: tschatzl, jwaters, dnsimon
2024-08-13 18:02:24 +00:00
Neethu Prasad
84c3065e80 8335865: Shenandoah: Improve THP pretouch after JDK-8315923
Reviewed-by: shade, wkemper
2024-08-13 17:22:41 +00:00
Afshin Zafari
21ca91e55d 8300800: UB: Shift exponent 32 is too large for 32-bit type 'int'
Reviewed-by: kbarrett, adinn, gziemski
2024-08-13 16:25:43 +00:00
Alan Bateman
58b9570544 8338142: (dc) DatagramChannelImpl.blockingReceive can use untimed-park when no timeout set
Reviewed-by: dfuchs
2024-08-13 16:05:38 +00:00
Chen Liang
6af1d6ff21 8335927: Revisit AnnotationConstantValueEntry and AnnotationValue.OfConstant
Reviewed-by: asotona
2024-08-13 15:14:06 +00:00
Liam Miller-Cushon
9e282e5c96 8337998: CompletionFailure in getEnclosingType attaching type annotations
Reviewed-by: vromero
2024-08-13 15:05:49 +00:00
Casper Norrbin
877fd5a768 8337595: Remove empty statements in src/hotspot/share/memory/metaspace
Reviewed-by: stefank, dholmes, jwaters
2024-08-13 14:43:44 +00:00
Axel Boldt-Christmas
76e33b6c15 8336148: Test runtime/locking/TestRecursiveMonitorChurn.java failed: Unexpected Inflation
Reviewed-by: dholmes, eosterlund
2024-08-13 13:13:14 +00:00
Coleen Phillimore
ff8a9f9267 8337318: Deoptimization::relock_objects fails assert(monitor->owner() == Thread::current()) failed: must be
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Reviewed-by: rrich, dholmes, shade, pchilanomate
2024-08-13 11:48:50 +00:00
Viktor Klang
fbe4cc96e2 8336384: AbstractQueuedSynchronizer.acquire should cancel acquire when failing due to a LinkageError or other errors
Reviewed-by: alanb
2024-08-13 09:51:08 +00:00
Aleksey Shipilev
ba69ed7c58 8338202: Shenandoah: Improve handshake closure labels
Reviewed-by: rkennke, ysr, wkemper
2024-08-13 08:11:47 +00:00
Saint Wesonga
5bf27098e2 8334475: UnsafeIntrinsicsTest.java#ZGenerationalDebug assert(!assert_on_failure) failed: Has low-order bits set
Reviewed-by: stefank, eosterlund, aboldtch
2024-08-13 08:10:29 +00:00
Kim Barrett
73f7a5f15d 8338155: Fix -Wzero-as-null-pointer-constant warnings involving PTHREAD_MUTEX_INITIALIZER
Reviewed-by: dholmes, dlong
2024-08-13 07:27:49 +00:00
Emanuel Peter
c27a8c8c8b 8338124: C2 SuperWord: MulAddS2I input permutation still partially broken after JDK-8333840
Reviewed-by: chagedorn, thartmann, kvn
2024-08-13 05:52:58 +00:00
Emanuel Peter
73ddb7deab 8335628: C2 SuperWord: cleanup: remove SuperWord::longer_type_for_conversion
Reviewed-by: chagedorn, kvn
2024-08-13 05:52:44 +00:00
Kim Barrett
d77e6fe45c 8338154: Fix -Wzero-as-null-pointer-constant warnings in gtest framework
Reviewed-by: ihse, dholmes, jwaters
2024-08-13 05:46:38 +00:00
Zhengyu Gu
e70c9bccaa 8338248: PartialArrayStateAllocator::Impl leaks Arena array
Reviewed-by: kbarrett, shade
2024-08-12 23:00:04 +00:00
Kim Barrett
5079c38ddf 8338160: Fix -Wzero-as-null-pointer-constant warnings in management.cpp
Reviewed-by: dholmes
2024-08-12 22:12:01 +00:00
Leonid Mesnik
4417c276e4 8330535: Update nsk/jdb tests to use driver instead of othervm
Reviewed-by: cjplummer
2024-08-12 19:43:36 +00:00
Roger Riggs
b93b74e3eb 8338060: jdk/internal/util/ReferencedKeyTest should be more robust
Reviewed-by: never
2024-08-12 19:28:46 +00:00
Coleen Phillimore
41e31d6b0a 8337622: IllegalArgumentException in java.lang.reflect.Field.get
Reviewed-by: dholmes, shade
2024-08-12 17:56:46 +00:00
Ben Taylor
2ca136a7ad 8337815: Relax G1EvacStats atomic operations
Reviewed-by: kbarrett, tschatzl, shade
2024-08-12 17:26:51 +00:00
Vladimir Kozlov
99edb4a45d 8337702: Use new ForwardExceptionNode to call StubRoutines::forward_exception_entry()
Reviewed-by: thartmann
2024-08-12 17:20:20 +00:00
Liam Miller-Cushon
8d08314783 8337795: Type annotation attached to incorrect type during class reading
Reviewed-by: vromero
2024-08-12 17:15:39 +00:00
Ioi Lam
f84240bca8 8338011: CDS archived heap object support for 64-bit Windows
Reviewed-by: stuefe, shade, ccheung
2024-08-12 16:03:41 +00:00
SendaoYan
04b146a31f 8337334: Test tools/javac/7142086/T7142086.java timeout with fastdebug binary
Reviewed-by: vromero
2024-08-12 15:43:40 +00:00
Magnus Ihse Bursie
a36fb368e1 8338108: Give better error message in configure if a full XCode is missing
Reviewed-by: jwaters, erikj, shade
2024-08-12 15:33:31 +00:00
Vicente Romero
61d1dc5953 8334466: Ambiguous method call with generics may cause FunctionDescriptorLookupError
Reviewed-by: jlahoda
2024-08-12 13:52:57 +00:00
Daniel Gredler
89a15f1414 8337681: PNGImageWriter uses much more memory than necessary
Reviewed-by: prr, lbourges
2024-08-12 12:09:22 +00:00
Joel Sikström
a6c0630737 8337938: ZUtils::alloc_aligned allocates without reporting to NMT
Reviewed-by: stefank, kbarrett
2024-08-12 10:58:05 +00:00
Andrew Haley
03204600c5 8337958: Out-of-bounds array access in secondary_super_cache
Reviewed-by: vlivanov, shade
2024-08-12 07:38:43 +00:00
Matthias Baesken
692f5cbdb9 8338101: remove old remap assertion in map_or_reserve_memory_aligned after JDK-8338058
Reviewed-by: mdoerr, clanger
2024-08-12 07:32:10 +00:00
SendaoYan
0e7c1c1afe 8338112: Test testlibrary_tests/ir_framework/tests/TestPrivilegedMode.java fails with release build
Reviewed-by: chagedorn, thartmann
2024-08-12 06:26:27 +00:00
Kim Barrett
6a3d045221 8337709: Use allocated states for chunking large array processing
Reviewed-by: iwalulya, tschatzl
2024-08-11 18:34:18 +00:00
Dmitry Chuyko
358d77dafb 8337657: AArch64: No need for acquire fence in safepoint poll during JNI calls
Reviewed-by: phh
2024-08-09 17:56:37 +00:00
Vladimir Kozlov
60fa08fcfe 8337797: Additional ExternalAddress cleanup
Reviewed-by: adinn, thartmann
2024-08-09 17:08:19 +00:00
Casper Norrbin
3cf3f300de 8330191: Fix typo in precompiled.hpp
Reviewed-by: jsjolen, szaldana
2024-08-09 14:32:29 +00:00
Coleen Phillimore
069e0ea69f 8338064: Give better error for ConcurrentHashTable corruption
Reviewed-by: dholmes, shade
2024-08-09 12:00:15 +00:00
Alexander Zvegintsev
2b5aec2aad 8338109: java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java duplicate in ProblemList
Reviewed-by: aivanov
2024-08-09 11:28:59 +00:00
Hannes Wallnöfer
1407160786 8313931: Javadoc: links to type parameters actually generate links to classes
Reviewed-by: jjg
2024-08-09 09:24:50 +00:00
Hamlin Li
c37e8638c9 8314125: RISC-V: implement Base64 intrinsic - encoding
Reviewed-by: fyang, luhenry
2024-08-09 09:12:41 +00:00
Albert Mingkun Yang
6ebd5d74d5 8338036: Serial: Remove Generation::update_counters
Reviewed-by: kbarrett
2024-08-09 08:23:44 +00:00
Erik Gahlin
53fce38a3f 8338062: JFR: Remove TestStartDuration.java and TestStartName.java from ProblemList.txt
Reviewed-by: mgronlun
2024-08-09 07:53:15 +00:00
Joel Sikström
f74109bd17 8337939: ZGC: Make assertions and checks less convoluted and explicit
Reviewed-by: stefank, ayang, eosterlund
2024-08-09 07:29:56 +00:00
Andrey Turbanov
82d5768c1b 8337840: Remove redundant null check in ObjectOutputStream.writeProxyDesc
Reviewed-by: rriggs
2024-08-09 07:20:01 +00:00
Christian Hagedorn
c01f53ac2d 8337876: [IR Framework] Add support for IR tests with @Stable
Reviewed-by: shade, kvn
2024-08-09 07:17:59 +00:00
Matthias Baesken
00aac4097a 8338058: map_or_reserve_memory_aligned Windows enhance remap assertion
Reviewed-by: mdoerr, clanger
2024-08-09 06:26:22 +00:00
Abhishek Kumar
9ab8c6b9ba 8335130: The test "javax/swing/plaf/synth/ComponentsOrientationSupport/5033822/bug5033822.java" fails because the background color of the tabs is displayed incorrectly.
Reviewed-by: achung, psadhukhan
2024-08-09 05:09:27 +00:00
Gui Cao
0c1e9111d2 8338019: Fix simple -Wzero-as-null-pointer-constant warnings in riscv code
Reviewed-by: fyang, mli, luhenry
2024-08-09 02:59:37 +00:00
Jiawei Tang
55c509708e 8337331: crash: pinned virtual thread will lead to jvm crash when running with the javaagent option
Reviewed-by: dholmes, sspitsyn
2024-08-09 02:29:15 +00:00
Leonid Mesnik
9f08a01cb6 8338010: WB_IsFrameDeoptimized miss ResourceMark
Reviewed-by: dholmes, shade
2024-08-08 19:47:50 +00:00
Markus Grönlund
e7a0b5b09b 8334780: Crash: assert(h_array_list.not_null()) failed: invariant
Reviewed-by: egahlin, shade
2024-08-08 18:45:11 +00:00
Roger Riggs
bfb75b9626 8336926: jdk/internal/util/ReferencedKeyTest.java can fail with ConcurrentModificationException
Reviewed-by: bpb, shade, dfuchs
2024-08-08 16:53:38 +00:00
Jiangli Zhou
53c9f037fb 8336849: Remove .llvm_addrsig section from JDK/VM static libraries (.a files)
Reviewed-by: ihse
2024-08-08 16:31:02 +00:00
Coleen Phillimore
9695f09581 8337683: Fix -Wconversion problem with arrayOop.hpp
Reviewed-by: stefank, dholmes
2024-08-08 16:11:08 +00:00
Joe Darcy
78773b1769 8338015: Fix "Java Java" typo in package info file of java.lang.classfile
Reviewed-by: jiefu, jpai, liach
2024-08-08 15:52:17 +00:00
Markus Grönlund
6a9a867d64 8337994: [REDO] Native memory leak when not recording any events
Reviewed-by: egahlin
2024-08-08 14:38:46 +00:00
Erik Gahlin
4b740d87ee 8225209: jdk/jfr/event/compiler/TestCodeSweeper.java fails
Reviewed-by: mgronlun
2024-08-08 10:57:43 +00:00
Alexander Zvegintsev
ddbd7a78f1 8337320: Update ProblemList.txt with tests known to fail on XWayland
Reviewed-by: prr
2024-08-08 10:53:23 +00:00
Alexander Zvegintsev
12c553f128 8329471: Remove GTK2
Reviewed-by: abhiscxk, prr, ihse
2024-08-08 10:51:58 +00:00
Alexander Zvegintsev
088871ce36 8335267: [XWayland] move screencast tokens from .awt to .java folder
Reviewed-by: prr, avu
2024-08-08 10:51:47 +00:00
Tejesh R
3bc4a1acc4 8233068: HIDPI: Linux: AWT Checkbox check mark is unscaled
Reviewed-by: jdv, abhiscxk, honkar
2024-08-08 10:40:56 +00:00
Casper Norrbin
a9460a69e7 8337982: Remove dead undef assrt0n
Reviewed-by: stefank, dholmes
2024-08-08 10:38:02 +00:00
Afshin Zafari
fa18359007 8335981: ProblemList runtime/Thread/TestAlwaysPreTouchStacks.java for MacOS
Reviewed-by: tschatzl
2024-08-08 08:55:05 +00:00
Turkhan Badalov
1846a65e32 8337205: Typo in Stack vs Deque Method table in Deque specification
Reviewed-by: liach
2024-08-08 05:34:32 +00:00
Gui Cao
16df9c33e9 8337971: Problem list several jvmci tests on linux-riscv64 until JDK-8331704 is fixed
Reviewed-by: fyang, shade
2024-08-08 05:22:20 +00:00
Jamil Nimeh
9b11bd7f4a 8337826: Improve logging in OCSPTimeout and SimpleOCSPResponder to help diagnose JDK-8309754
Reviewed-by: mullan
2024-08-07 21:06:47 +00:00
Leonid Mesnik
5e021cbcc7 8337410: The makefiles should set problemlist and adjust timeout basing on the given VM flags
Reviewed-by: ihse
2024-08-07 20:25:51 +00:00
Fernando Guallini
a5c2d7b305 8335172: Add manual steps to run security/auth/callback/TextCallbackHandler/Password.java test
Reviewed-by: rhalade
2024-08-07 18:24:08 +00:00
Serguei Spitsyn
36d08c213d 8336846: assert(state->get_thread() == jt) failed: handshake unsafe conditions
Reviewed-by: amenkov, dholmes, cjplummer, pchilanomate, lmesnik
2024-08-07 17:41:23 +00:00
Naoto Sato
d19ba81ce1 8337603: Change in behavior with -Djava.locale.useOldISOCodes=true
Reviewed-by: iris, bpb
2024-08-07 15:58:03 +00:00
Joel Sikström
21f710e7f6 8310675: Fix -Wconversion warnings in ZGC code
Reviewed-by: stefank, ayang
2024-08-07 14:16:01 +00:00
Markus Grönlund
88a05a853e 8337975: [BACKOUT] Native memory leak when not recording any events
Reviewed-by: jpai, egahlin
2024-08-07 10:24:34 +00:00
Albert Mingkun Yang
41f784fe63 8335925: Serial: Move allocation API from Generation to subclasses
Reviewed-by: gli, kbarrett, iwalulya
2024-08-07 07:48:05 +00:00
Tobias Hartmann
66286b25a1 8337968: Problem list compiler/vectorapi/VectorRebracket128Test.java
Reviewed-by: chagedorn
2024-08-07 05:32:28 +00:00
Alex Menkov
920751e5d5 8311990: Two JDI tests may interfere with each other
Reviewed-by: dholmes, sspitsyn
2024-08-06 21:56:48 +00:00
Chris Plummer
6733b89de1 8337667: sun/tools/jcmd/TestJcmdPIDSubstitution.java is failing on mac and windows
Reviewed-by: stuefe, kevinw
2024-08-06 21:44:30 +00:00
Alisen Chung
fc652d2a58 8235404: [macos] JOptionPane blocks drawing string on another component
Reviewed-by: honkar, dnguyen
2024-08-06 21:10:06 +00:00
Kim Barrett
22a3421379 8337786: Fix simple -Wzero-as-null-pointer-constant warnings in aarch64 code
Reviewed-by: shade, tschatzl
2024-08-06 20:15:47 +00:00
Naoto Sato
ff634a9670 8337506: Disable "best-fit" mapping on Windows command line
Reviewed-by: alanb
2024-08-06 20:11:21 +00:00
Doug Simon
3f8b3e5527 8337887: [JVMCI] Clarify jdk.vm.ci.code.Architecture.getName javadoc
Reviewed-by: never
2024-08-06 16:37:59 +00:00
Feilong Jiang
53db937dd0 8337780: RISC-V: C2: Change C calling convention for sp to NS
Reviewed-by: fyang, rehn
2024-08-06 14:01:23 +00:00
Andrew Dinn
ab509f1b98 8337654: Relocate uncommon trap stub from SharedRuntime to OptoRuntime
Reviewed-by: kvn, vlivanov, fyang
2024-08-06 13:22:55 +00:00
Coleen Phillimore
1348ece6df 8332120: Potential compilation failure in istream.cpp:205 - loss of data on conversion
Reviewed-by: dholmes, iklam
2024-08-06 11:34:57 +00:00
Markus Grönlund
ef909bdf7f 8335121: Native memory leak when not recording any events
Reviewed-by: egahlin, shade
2024-08-06 11:32:24 +00:00
Prasanta Sadhukhan
a117945d5a 8337344: Redundant javadoc at RasterPrinterJob.isCancelled
Reviewed-by: aivanov, prr
2024-08-06 09:37:21 +00:00
Erik Gahlin
f9b8a22062 8337798: JFR: Remove jdk/jfr/api/consumer/recordingstream/TestOnEvent.java from ProblemList.txt
Reviewed-by: mgronlun
2024-08-06 09:28:12 +00:00
Jan Lahoda
958786b28f 8332522: SwitchBootstraps::mappedEnumLookup constructs unused array
Reviewed-by: liach, redestad
2024-08-06 09:07:44 +00:00
Matthias Baesken
f92c60e1a9 8337810: ProblemList BasicDirectoryModel/LoaderThreadCount.java on Windows
Reviewed-by: clanger
2024-08-06 07:06:43 +00:00
Albert Mingkun Yang
0d8ec42969 8337642: Remove unused APIs of GCPolicyCounters
Reviewed-by: tschatzl
2024-08-06 06:59:11 +00:00
Kim Barrett
2057594961 8337782: Use THROW_NULL instead of THROW_0 in pointer contexts in prims code
Reviewed-by: shade, dholmes
2024-08-06 05:34:33 +00:00
Gui Cao
73718fb8a3 8337788: RISC-V: Cleanup code in MacroAssembler::reserved_stack_check
Reviewed-by: fyang, rehn, fjiang
2024-08-06 02:16:19 +00:00
Serguei Spitsyn
965d6b9cbe 8335836: serviceability/jvmti/StartPhase/AllowedFunctions/AllowedFunctions.java fails with unexpected exit code: 112
Reviewed-by: cjplummer, amenkov
2024-08-05 23:29:17 +00:00
Kim Barrett
7146daee68 8337783: Use THROW_NULL instead of THROW_0 in pointer contexts in misc runtime code
Reviewed-by: stefank, shade
2024-08-05 20:05:07 +00:00
Kim Barrett
431d4f7e18 8337785: Fix simple -Wzero-as-null-pointer-constant warnings in x86 code
Reviewed-by: jwaters, ayang, shade
2024-08-05 19:53:49 +00:00
Chris Plummer
e2c07d5044 8337299: vmTestbase/nsk/jdb/stop_at/stop_at002/stop_at002.java failure goes undetected
Reviewed-by: amenkov, sspitsyn
2024-08-05 18:42:27 +00:00
Christoph Langer
08f697f4fc 8337819: Update GHA JDKs to 22.0.2
Reviewed-by: mbaesken, ihse, shade
2024-08-05 17:58:12 +00:00
Kim Barrett
42652b2e53 8337787: Fix -Wzero-as-null-pointer-constant warnings when JVMTI feature is disabled
Reviewed-by: ayang, sspitsyn
2024-08-05 16:57:11 +00:00
Kim Barrett
807186ffc6 8337784: Fix simple -Wzero-as-null-pointer-constant warnings in linux/posix code
Reviewed-by: stefank, shade
2024-08-05 16:53:30 +00:00
Damon Nguyen
e68df528f8 8337054: JDK 23 RDP2 L10n resource files update
Reviewed-by: naoto, jlu
2024-08-05 16:48:18 +00:00
Zdenek Zambersky
98562166e4 8336928: GHA: Bundle artifacts removal broken
Reviewed-by: ihse
2024-08-05 15:09:45 +00:00
Per Minborg
219e1eb13a 8337712: Wrong javadoc in java.util.Date#toString(): "61" and right parenthesis
Reviewed-by: rgiulietti
2024-08-05 15:06:38 +00:00
Johan Sjölen
97afbd9603 8336410: runtime/NMT/TotalMallocMmapDiffTest.java Total malloc diff is incorrect. Expected malloc diff range
Reviewed-by: gziemski, stuefe
2024-08-05 14:49:38 +00:00
Carlo Refice
c095c0e6a5 8336489: Track scoped accesses in JVMCI compiled code
Reviewed-by: dnsimon, never
2024-08-05 14:09:54 +00:00
Aleksey Shipilev
7e925d727f 8337283: configure.log is truncated when build dir is on different filesystem
Reviewed-by: phh, stuefe, clanger, ihse
2024-08-05 14:05:00 +00:00
Erik Gahlin
2e093b0691 8337779: test/jdk/jdk/jfr/jvm/TestHiddenWait.java is a bit fragile
Reviewed-by: mgronlun
2024-08-05 13:17:32 +00:00
Viktor Klang
d3e7b0c12a 8336462: ConcurrentSkipListSet Javadoc incorrectly warns about size method complexity
Reviewed-by: jpai
2024-08-05 10:56:21 +00:00
Christian Hagedorn
be34730fb4 8335257: Refactor code to create Initialized Assertion Predicates into separate class
Reviewed-by: kvn, epeter
2024-08-05 09:52:07 +00:00
Matthias Baesken
fbe8a81d19 8333144: docker tests do not work when ubsan is configured
Reviewed-by: clanger, stuefe
2024-08-05 05:57:41 +00:00
Julian Waters
dabdae6b35 8334599: Improve code from JDK-8302671
Reviewed-by: aivanov, stuefe, prr
2024-08-05 05:13:08 +00:00
Brian Burkhalter
8bd3cd5156 8337716: ByteBuffer hashCode implementations are inconsistent
Reviewed-by: alanb, liach
2024-08-04 15:42:51 +00:00
fabioromano1
367e0a6556 8334755: Asymptotically faster implementation of square root algorithm
Reviewed-by: rgiulietti
2024-08-03 13:08:54 +00:00
Vladimir Kozlov
34edc7358f 8337396: Cleanup usage of ExternalAddess
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: vlivanov, adinn
2024-08-03 06:21:28 +00:00
Jonathan Gibbons
7deee74525 8335122: Reorganize internal low-level support for HTML in jdk.javadoc
Reviewed-by: hannesw
2024-08-02 17:53:23 +00:00
Erik Gahlin
f2e1205abf 8337676: JFR: Change the label of the throttle setting
Reviewed-by: mgronlun
2024-08-02 15:51:26 +00:00
Alexey Ivanov
066db6eb21 8337274: Remove repeated 'the' in StyleSheet.create{Small,Large}AttributeSet
Reviewed-by: achung, honkar, prr
2024-08-02 13:06:22 +00:00
Coleen Phillimore
328a0533b2 8335059: Consider renaming ClassLoaderData::keep_alive
Reviewed-by: dholmes, stefank
2024-08-02 11:47:26 +00:00
Albert Mingkun Yang
a89b525189 8337721: G1: Remove unused G1CollectedHeap::young_collection_verify_type
Reviewed-by: tschatzl
2024-08-02 10:51:25 +00:00
Sandhya Viswanathan
dc35f3e8a8 8337062: x86_64: Unordered add/mul reduction support for vector api
Reviewed-by: jbhateja, sgibbons
2024-08-01 23:02:23 +00:00
Brian Burkhalter
21e86d10a7 8334405: java/nio/channels/Selector/SelectWithConsumer.java#id0 failed in testWakeupDuringSelect
Reviewed-by: dfuchs, alanb, vtewari
2024-08-01 19:02:33 +00:00
Mark Powers
f1fa64b6b6 4966250: SSLSessionContext.setSessionTimeout() documentation could be updated
Reviewed-by: mullan
2024-08-01 16:37:20 +00:00
Hannes Greule
9fe6e2316a 8335638: Calling VarHandle.{access-mode} methods reflectively throws wrong exception
Reviewed-by: liach
2024-08-01 14:41:25 +00:00
Jorn Vernee
27af80ef9e 8324260: java/foreign/TestStubAllocFailure.java run timeout with -Xcomp
Reviewed-by: alanb, jpai, shade
2024-08-01 14:36:03 +00:00
Albert Mingkun Yang
022899a7eb 8337641: G1: Remove unused G1CollectedHeap::alloc_highest_free_region
Reviewed-by: tschatzl
2024-08-01 13:39:49 +00:00
Matthew Donovan
c6f0a35e9e 8333317: Test sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java failed with: Invalid ECDH ServerKeyExchange signature
Reviewed-by: rhalade
2024-08-01 11:40:44 +00:00
Kevin Walls
f174bbd3ba 8337473: Remove sun/management/jdp tests from ProblemList on Linux-aarch64, MacOSX
Reviewed-by: dcubed
2024-08-01 08:14:17 +00:00
Albert Mingkun Yang
8eb56845e4 8337550: Add documentation to TestOutOfMemoryDuringInit.java
Reviewed-by: dholmes
2024-08-01 07:28:39 +00:00
Albert Mingkun Yang
cf1230a5f7 8337546: Remove unused GCCause::_adaptive_size_policy
Reviewed-by: tschatzl, kbarrett
2024-08-01 07:28:29 +00:00
Prasanta Sadhukhan
65646b5f81 8337457: Redundant Math.round call in AquaProgressBarUI#getStringPlacement
Reviewed-by: azvegint
2024-08-01 03:35:43 +00:00
Alex Menkov
8af2ef35b6 8331015: Obsolete -XX:+UseNotificationThread
Reviewed-by: dholmes, kevinw, sspitsyn, coleenp
2024-07-31 20:02:25 +00:00
Sonia Zaldana Calles
97f7c03dd0 8336495: Remove unnecessary casts in output.cpp
Reviewed-by: chagedorn, kvn
2024-07-31 18:05:49 +00:00
Erik Gahlin
a45bb55ddb 8337501: JFR: Use TimespanUnit
Reviewed-by: mgronlun
2024-07-31 17:58:52 +00:00
Coleen Phillimore
8f039b5629 8336919: Cleanup and rename tags in placeholders code
Co-authored-by: Frederic Parain <fparain@openjdk.org>
Reviewed-by: iklam, fparain, dholmes
2024-07-31 17:55:01 +00:00
Albert Mingkun Yang
e4c7850c17 8337027: Parallel: Obsolete BaseFootPrintEstimate
Reviewed-by: tschatzl, kbarrett
2024-07-31 16:24:07 +00:00
Daniel Lundén
fdb4350fce 8324345: Stack overflow during C2 compilation when splitting memory phi
Reviewed-by: thartmann, kvn
2024-07-31 16:05:42 +00:00
Jasmine Karthikeyan
f2ba2ebbca 8331090: Run Ideal_minmax before de-canonicalizing CMoves
Reviewed-by: thartmann, epeter
2024-07-31 15:16:21 +00:00
Gui Cao
7121d71b51 8337421: RISC-V: client VM build failure after JDK-8335191
Reviewed-by: fyang, mli
2024-07-31 14:43:35 +00:00
Kim Barrett
61386c199a 8337523: Fix -Wzero-as-null-pointer-constant warnings in jvmci code
Reviewed-by: chagedorn, shade
2024-07-31 13:17:30 +00:00
Kim Barrett
07dd725025 8337418: Fix -Wzero-as-null-pointer-constant warnings in prims code
Reviewed-by: dholmes, shade, jwaters, sspitsyn
2024-07-31 13:15:52 +00:00
Aleksey Shipilev
c73b3cb599 8336635: Add IR test for Reference.refersTo intrinsic
Reviewed-by: thartmann, kvn
2024-07-31 12:56:43 +00:00
David Leopoldseder
9b428dda8f 8336242: compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/SimpleDebugInfoTest.java failed assert(oopDesc::is_oop_or_null(val)) failed: bad oop found (again)
Reviewed-by: dnsimon, never
2024-07-31 09:40:47 +00:00
Thomas Schatzl
de0b50400a 8336912: G1: Undefined behavior for G1ConfidencePercent=0
Reviewed-by: ayang, sangheki
2024-07-31 08:08:15 +00:00
Ashutosh Mehra
e63d01654e 8337031: Improvements to CompilationMemoryStatistic
Reviewed-by: kvn, stuefe
2024-07-31 01:36:37 +00:00
David Holmes
1c6fef8f1c 8337515: JVM_DumpAllStacks is dead code
Reviewed-by: kvn
2024-07-31 00:58:52 +00:00
David Holmes
5b7bb40d1f 8325002: Exceptions::fthrow needs to ensure it truncates to a valid utf8 string
Reviewed-by: djelinski, stuefe
2024-07-30 22:35:28 +00:00
David Holmes
d39e7af2e5 8320561: Inconsistency in monitorinflation logging
Reviewed-by: stefank, shade
2024-07-30 22:35:14 +00:00
Kim Barrett
6c3ba5a6c4 8337415: Remove inappropriate Atomic access in FreeListAllocator
Reviewed-by: tschatzl, shade
2024-07-30 21:19:50 +00:00
Sonia Zaldana Calles
f5c9e8f122 8334492: DiagnosticCommands (jcmd) should accept %p in output filenames and substitute PID
Reviewed-by: kevinw, stuefe, lmesnik
2024-07-30 18:40:37 +00:00
Chen Liang
93c19ac73c 8337219: AccessFlags factories do not require necessary arguments
Reviewed-by: asotona
2024-07-30 17:41:49 +00:00
Chen Liang
6154a2129b 8336032: Enforce immutability of Lists used by ClassFile API
Reviewed-by: asotona
2024-07-30 17:41:38 +00:00
Gerard Ziemski
a91f9ba849 8301403: Eliminate memory allocations in JVMFlag::printFlags during signal handling
Reviewed-by: stuefe, jsjolen, dholmes
2024-07-30 15:22:25 +00:00
Vanitha B P
2c9fd9016f 8336315: tools/jpackage/windows/WinChildProcessTest.java Failed: Check is calculator process is alive
Reviewed-by: asemenyuk, almatvee
2024-07-30 15:04:57 +00:00
Neethu Prasad
1cb27f7e23 8334230: Optimize C2 classes layout
Reviewed-by: shade, kvn, thartmann
2024-07-30 14:08:17 +00:00
Erik Gahlin
4148613148 8335907: JFR: Make SettingControls more robust
Reviewed-by: mgronlun
2024-07-30 13:47:58 +00:00
Albert Mingkun Yang
79bdd81187 8336763: Parallel: Merge PCMarkAndPushClosure and PCIterateMarkAndPushClosure
Reviewed-by: gli, zgu
2024-07-30 13:38:11 +00:00
Matthias Baesken
8162832832 8333354: ubsan: frame.inline.hpp:91:25: and src/hotspot/share/runtime/frame.inline.hpp:88:29: runtime error: member call on null pointer of type 'const struct SmallRegisterMap'
Co-authored-by: Kim Barrett <kbarrett@openjdk.org>
Reviewed-by: rrich, clanger
2024-07-30 12:40:35 +00:00
Kevin Walls
0325ab8d23 8335610: DiagnosticFramework: CmdLine::is_executable() correction
Reviewed-by: dholmes, jsjolen
2024-07-30 10:44:31 +00:00
Amit Kumar
7ac531181c 8331126: [s390x] secondary_super_cache does not scale well
Reviewed-by: lucy, aph, mdoerr
2024-07-30 09:32:27 +00:00
Aleksey Shipilev
156f0b4332 8337213: Shenandoah: Add verification for class mirrors
Reviewed-by: rkennke, wkemper
2024-07-30 08:29:23 +00:00
Aleksey Shipilev
9e6e0a8f34 8336343: Add more known sysroot library locations for ALSA
Reviewed-by: phh, prr, ihse
2024-07-30 08:27:27 +00:00
Kim Barrett
bc7c255b15 8337416: Fix -Wzero-as-null-pointer-constant warnings in misc. runtime code
Reviewed-by: dholmes, jwaters
2024-07-30 07:24:22 +00:00
Prasanta Sadhukhan
7e21d4c191 8337268: Redundant Math.ceil in StyleSheet.ListPainter#drawShape
Reviewed-by: prr, aivanov
2024-07-30 03:03:43 +00:00
Chen Liang
ab27090aa0 8337225: Demote maxStack and maxLocals from CodeModel to CodeAttribute
Reviewed-by: asotona
2024-07-29 21:58:08 +00:00
Justin Lu
bd36b6ae5d 8337285: Examine java.text.DecimalFormat API for api/implXxx tag usage
Reviewed-by: naoto, liach
2024-07-29 19:28:14 +00:00
Archie Cobbs
a86244f83c 6381729: Javadoc for generic constructor doesn't document type parameter
Reviewed-by: jjg, liach
2024-07-29 19:16:39 +00:00
Chris Plummer
c4e6255ac3 8332738: Debug agent can deadlock on callbackLock when using StackFrame.PopFrames
Reviewed-by: sspitsyn, amenkov
2024-07-29 16:55:38 +00:00
Naoto Sato
c23d37e10a 8337300: java/lang/Process/WaitForDuration.java leaves child process behind
Reviewed-by: alanb, iris, bpb
2024-07-29 16:43:25 +00:00
Aleksey Shipilev
ee365d75cc 8336342: Fix known X11 library locations in sysroot
Reviewed-by: jwaters, phh, prr
2024-07-29 13:37:56 +00:00
Albert Mingkun Yang
cd52ad80a8 8337267: [REDO] G1: Refactor G1RebuildRSAndScrubTask
Reviewed-by: gli, tschatzl
2024-07-29 12:30:57 +00:00
Erik Gahlin
9124a94e38 8337165: Test jdk/jfr/event/gc/stacktrace/TestG1YoungAllocationPendingStackTrace.java failed: IndexOutOfBoundsException: Index 64 out of bounds for length 64
Reviewed-by: phh
2024-07-29 09:52:38 +00:00
Jan Kratochvil
db168d9e10 8336966: Alpine Linux x86_64 compilation error: sendfile64
Reviewed-by: bpb
2024-07-29 09:18:56 +00:00
Thomas Schatzl
dab2a0b597 8337222: gc/TestDisableExplicitGC.java fails due to unexpected CodeCache GC
Reviewed-by: iwalulya, shade
2024-07-29 09:10:25 +00:00
Tobias Hartmann
657c0bddf9 8336999: Verification for resource area allocated data structures in C2
Reviewed-by: chagedorn, kvn
2024-07-29 05:31:10 +00:00
Tobias Hartmann
90641a601c 8336095: Use-after-free in Superword leads to memory corruption
Reviewed-by: epeter, kvn, rrich
2024-07-29 05:05:32 +00:00
Shaojin Wen
2fbdbacad7 8337245: Fix wrong comment of StringConcatHelper
Reviewed-by: phh, redestad
2024-07-27 22:54:47 +00:00
Fernando Guallini
034297a6bd 8336240: Test com/sun/crypto/provider/Cipher/DES/PerformanceTest.java fails with java.lang.ArithmeticException
Reviewed-by: wetmore
2024-07-26 18:51:12 +00:00
Alex Menkov
abc4ca5a8c 8330427: Obsolete -XX:+PreserveAllAnnotations
Reviewed-by: dholmes, sspitsyn, coleenp
2024-07-26 17:55:35 +00:00
Abhishek Kumar
0c3720b421 8335131: Test "javax/swing/JColorChooser/Test6977726.java" failed on ubuntu x64 because "Preview" title is missing for GTK L&F
Reviewed-by: dnguyen, psadhukhan
2024-07-26 17:39:00 +00:00
William Kemper
4f194f10a1 8337241: Shenandoah: Normalize include guards
Reviewed-by: shade
2024-07-26 15:57:58 +00:00
Kelvin Nilsen
f35af71712 8334315: Shenandoah: reduce GC logging noise
Reviewed-by: wkemper, ysr, shade
2024-07-26 15:55:12 +00:00
Kim Barrett
4bcb8f04ed 8337243: Fix more -Wzero-as-null-pointer-constant warnings in compiler code
Reviewed-by: vlivanov, kvn
2024-07-26 15:45:12 +00:00
Tomas Zezula
3abe8a6e5e 8336663: [JVMCI] VM Crash on ZGC due to incompatible handle returned by HotSpotJVMCIRuntime#getJObjectValue
Reviewed-by: dnsimon, never
2024-07-26 14:42:24 +00:00
Shaojin Wen
5ff7c57f9f 8337168: Optimize LocalDateTime.toString
Reviewed-by: liach, naoto
2024-07-26 12:10:21 +00:00
Alexey Ivanov
374fca0fcb 8335967: "text-decoration: none" does not work with "A" HTML tags
Reviewed-by: abhiscxk, dmarkov, honkar, prr
2024-07-26 11:22:32 +00:00
Aleksey Shipilev
2aeb12ec03 8334482: Shenandoah: Deadlock when safepoint is pending during nmethods iteration
Reviewed-by: wkemper, xpeng, rkennke
2024-07-26 11:20:40 +00:00
Fei Gao
d10afa26e5 8336245: AArch64: remove extra register copy when converting from long to pointer
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: aph, adinn
2024-07-26 09:36:23 +00:00
Shaojin Wen
7f11935461 8337167: StringSize deduplication
Reviewed-by: liach, rriggs
2024-07-26 07:08:33 +00:00
Abhishek Kumar
487450cb5e 8216471: GTK LnF: Frame is clipped and does not show JTable,Tooltip and JTree demo in SwingSet2 demo
Reviewed-by: psadhukhan, achung
2024-07-26 06:26:52 +00:00
Abhishek Kumar
29f0f174a0 8336879: Always true condition 'img != null' in GTKPainter.paintPopupMenuBackground
Reviewed-by: psadhukhan, tr
2024-07-26 06:23:47 +00:00
Kim Barrett
ee839b7f0e 8337239: Fix simple -Wzero-as-null-pointer-constant warnings in classfile code
Reviewed-by: dholmes
2024-07-26 03:44:22 +00:00
William Kemper
0584af2325 8336685: Shenandoah: Remove experimental incremental update mode
Reviewed-by: shade
2024-07-25 23:59:56 +00:00
Brian Burkhalter
8c28f25e13 8337124: (fs) sun.nio.fs.WindowsSecurity.enablePrivilege should pin when continuations supported
Reviewed-by: jpai, alanb
2024-07-25 20:59:48 +00:00
Weijun Wang
b5b5a5b8e5 8336667: IAE in DerInputStream.toByteArray
Reviewed-by: valeriep
2024-07-25 17:11:59 +00:00
Vicente Romero
cf0d9e0e52 8337037: compiler internal options are not printing the stacktrace after a compiler crash
Reviewed-by: mcimadamore
2024-07-25 17:03:45 +00:00
Jorn Vernee
81ed028717 8337060: Test java/foreign/TestConcurrentClose.java failed: IllegalStateException: SegmentAccessor::doAccess method not being compiled
Reviewed-by: mcimadamore, alanb
2024-07-25 16:36:31 +00:00
Xiaolong Peng
e74edbaea9 8336640: Shenandoah: Parallel worker use in parallel_heap_region_iterate
Reviewed-by: shade, wkemper, ysr
2024-07-25 16:04:58 +00:00
Roland Westrelin
f61a505989 8334647: C2: CastII added by PhaseIdealLoop::add_template_assertion_predicate() should have control
Reviewed-by: chagedorn, kvn
2024-07-25 15:45:41 +00:00
Vicente Romero
34ee06f511 8332850: javac crashes if container for repeatable annotation is not found
Reviewed-by: darcy
2024-07-25 13:41:32 +00:00
Albert Mingkun Yang
00b5348106 8337192: [BACKOUT] JDK-8336098 G1: Refactor G1RebuildRSAndScrubTask
Reviewed-by: tschatzl
2024-07-25 13:16:31 +00:00
Roland Westrelin
3baff2af6a 8335393: C2: assert(!had_error) failed: bad dominance
Reviewed-by: thartmann, chagedorn
2024-07-25 09:26:11 +00:00
Shaojin Wen
8081f8702a 8334342: Add MergeStore JMH benchmarks
Reviewed-by: epeter, thartmann
2024-07-25 09:16:32 +00:00
Hamlin Li
9d8791864e 8335191: RISC-V: verify perf of chacha20
Reviewed-by: fyang
2024-07-25 07:47:45 +00:00
Alan Bateman
6e228ce382 8336254: Virtual thread implementation + test updates
Reviewed-by: sspitsyn, kevinw
2024-07-25 04:59:01 +00:00
Serguei Spitsyn
d3e51daf73 8334085: Test crash: assert(thread->held_monitor_count() == 0) failed: Must be
Reviewed-by: dholmes, pchilanomate
2024-07-25 01:35:03 +00:00
Shaojin Wen
0898ab7f74 8336741: Optimize LocalTime.toString with StringBuilder.repeat
Reviewed-by: liach, rriggs, naoto
2024-07-24 22:39:49 +00:00
Neethu Prasad
24f67d0254 8334232: Optimize C1 classes layout
Reviewed-by: phh, kvn
2024-07-24 22:22:18 +00:00
David Holmes
021c2c36ac 8337067: Test runtime/classFileParserBug/Bad_NCDFE_Msg.java won't compile
Reviewed-by: lfoltan
2024-07-24 21:15:18 +00:00
Andrey Turbanov
e716f5ed53 8336755: Remove unused UNALIGNED field from view buffers
Reviewed-by: alanb, liach, bpb
2024-07-24 20:26:11 +00:00
Justin Lu
5a8861a3a1 8336847: Use pattern match switch in NumberFormat classes
Reviewed-by: liach, naoto
2024-07-24 20:14:00 +00:00
Justin Lu
9e8e359513 8336787: Examine java.text.Format API for implSpec usage
Reviewed-by: liach
2024-07-24 20:08:13 +00:00
Naoto Sato
4ea4d7c684 8336679: Add @implSpec for the default implementations in Process.waitFor()
Reviewed-by: bpb, jlu, liach
2024-07-24 16:48:34 +00:00
Jaikiran Pai
04e8cb8641 8336815: Several methods in java.net.Socket and ServerSocket do not specify behavior when already bound, connected or closed
Reviewed-by: alanb
2024-07-24 15:43:53 +00:00
Erik Gahlin
b2599f8b0e 8336316: JFR: Use SettingControl::getValue() instead of setValue() for ActiveSetting event
Reviewed-by: mgronlun
2024-07-24 15:13:02 +00:00
Erik Gahlin
aa15b895c9 8336485: jdk/jfr/jcmd/TestJcmdView.java RuntimeException: 'Invoked Concurrent' missing from stdout/stderr
Reviewed-by: mgronlun
2024-07-24 15:12:53 +00:00
Chen Liang
332df83e7c 8336927: Missing equals and hashCode in java.lang.classfile.Annotation
Reviewed-by: asotona
2024-07-24 12:13:15 +00:00
Albert Mingkun Yang
05d88de05e 8336098: G1: Refactor G1RebuildRSAndScrubTask
Reviewed-by: tschatzl, gli
2024-07-24 09:10:38 +00:00
Matthias Baesken
5b4824cf9a 8336827: compiler/vectorization/TestFloat16VectorConvChain.java timeouts on ppc64 platforms after JDK-8335860
Reviewed-by: kvn, mdoerr, shade
2024-07-24 07:21:45 +00:00
Martin Balao
3251eea1f4 8336499: Failure when creating non-CRT RSA private keys in SunPKCS11
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@openjdk.org>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: fferrari, valeriep
2024-07-24 02:39:35 +00:00
Shaojin Wen
476d2ae69d 8336831: Optimize StringConcatHelper.simpleConcat
Reviewed-by: liach, redestad, rriggs
2024-07-23 20:21:08 +00:00
Ben Perez
4c91d5cb41 8322133: getParameterSpec(ECGenParameterSpec.class) on EC AlgorithmParameters does not return standard names
Reviewed-by: mullan
2024-07-23 19:35:11 +00:00
William Kemper
2f2223d752 8336944: Shenandoah: Should only relativize stack chunks for successful evacuations
Reviewed-by: shade, ysr
2024-07-23 16:50:25 +00:00
Joe Darcy
8efcb40c47 8335823: Update --release 23 symbol information for JDK 23 build 33
Reviewed-by: iris, liach
2024-07-23 16:27:09 +00:00
Sonia Zaldana Calles
8e1f17e351 8327054: DiagnosticCommand Compiler.perfmap does not log on output()
Reviewed-by: lmesnik, stuefe, kevinw, cjplummer
2024-07-23 15:49:34 +00:00
Athijegannathan Sundararajan
0e555b5ded 8204582: Extra spaces in jlink documentation make it incorrect.
Reviewed-by: alanb
2024-07-23 12:22:53 +00:00
Chen Liang
a2a236f904 8335939: Hide element writing across the ClassFile API
Reviewed-by: asotona
2024-07-23 12:11:47 +00:00
Claes Redestad
e83b4b236e 8335182: Consolidate and streamline String concat code shapes
Reviewed-by: liach, jvernee
2024-07-23 11:50:57 +00:00
Raffaello Giulietti
4c7b3e7fc3 8334758: Incorrect note in Javadoc for a few RandomGenerator methods
Reviewed-by: bpb
2024-07-23 07:43:57 +00:00
SendaoYan
48030a2a86 8336855: Duplicate protected declaration and comment in interp_masm_aarch64.hpp
Reviewed-by: jiefu, shade
2024-07-23 05:23:48 +00:00
Alan Bateman
9f03f68755 8336339: (se) SelectionKey.interestOps(int) should not throw ClosedSelectorException
Reviewed-by: jpai, bpb
2024-07-23 05:13:49 +00:00
Chen Liang
22914e0774 8335938: Review XxxBuilder.original and XxxModel.parent
Reviewed-by: asotona
2024-07-23 04:59:58 +00:00
Chen Liang
aabec4a947 8335922: Incorrect @Stable usage of LambdaForm$Name.index
Reviewed-by: jvernee, shade
2024-07-22 22:54:36 +00:00
Chen Liang
96e4a1876a 8304929: MethodTypeDesc throws an unchecked exception than ReflectiveOperationException when a component class cannot be resolved
Reviewed-by: jvernee
2024-07-22 22:53:52 +00:00
Weijun Wang
d63d6e23d1 8336935: Test sun/security/krb5/auto/RealmSpecificValues.java fails: java.lang.RuntimeException: Should not reach here
Reviewed-by: hchao, dholmes
2024-07-22 22:17:43 +00:00
Chris Plummer
ed6499446d 8333391: Test com/sun/jdi/InterruptHangTest.java failed: Thread was never interrupted during sleep
Reviewed-by: lmesnik, amenkov
2024-07-22 19:34:09 +00:00
Chris Plummer
b144910ebb 8334145: <pid> missing from vm_memory_map_<pid>.txt in System.dump_map help text
Reviewed-by: dholmes, stuefe
2024-07-22 18:56:30 +00:00
Henry Lin
b557594202 8333728: ubsan: shenandoahFreeSet.cpp:1347:24: runtime error: division by zero
Reviewed-by: shade, rkennke
2024-07-22 17:29:27 +00:00
Henry Lin
34eea6a5fa 8333088: ubsan: shenandoahAdaptiveHeuristics.cpp:245:44: runtime error: division by zero
Reviewed-by: shade, rkennke
2024-07-22 17:29:12 +00:00
Liam Miller-Cushon
31a85f1744 8336491: Unnecessary boxing conversions in void-returning lambdas
Reviewed-by: mcimadamore
2024-07-22 17:25:42 +00:00
Liam Miller-Cushon
8438c5853f 8336844: ZipConstants64 defines duplicate constants EXTID_ZIP64 and ZIP64_EXTID
Reviewed-by: jpai, vtewari, lancea
2024-07-22 17:20:58 +00:00
Naoto Sato
c1c9704268 8336479: Provide Process.waitFor(Duration)
Reviewed-by: liach, jpai, rriggs
2024-07-22 17:17:46 +00:00
Kevin Walls
7ea7730564 8332551: Test vmTestbase/nsk/monitoring/MemoryNotificationInfo/from/from001/TestDescription.java timed out
Reviewed-by: sspitsyn, lmesnik
2024-07-22 16:40:34 +00:00
Weijun Wang
c740e1e3b0 8333772: Incorrect Kerberos behavior when udp_preference_limit = 0
Reviewed-by: ssahoo, mullan
2024-07-22 16:00:40 +00:00
Daniel Lundén
0725eb1df2 8336753: Don't run serviceability/sa/ClhsdbDumpheap.java with -Xcomp
Reviewed-by: cjplummer, kvn, thartmann
2024-07-22 14:41:40 +00:00
Weijun Wang
c3226aaeb8 8334394: Race condition in Class::protectionDomain
Reviewed-by: liach, jpai, rriggs, alanb
2024-07-22 13:43:55 +00:00
Nizar Benalla
92de2b2d5f 8336039: Doccheck: HTML warnings, broken links and missing files in java.base documentation
Reviewed-by: liach, djelinski
2024-07-22 13:27:12 +00:00
Prasanta Sadhukhan
7ddd02599c 4265389: JSplitPane does not support ComponentOrientation
Reviewed-by: tr, abhiscxk
2024-07-22 13:19:30 +00:00
Aggelos Biboudis
c1fdc04ad7 8336781: Erroneous exhaustivity check with boolean switch
Reviewed-by: vromero
2024-07-22 10:29:34 +00:00
Adam Sotona
0db6c15efe 8336833: Endless loop in Javap ClassWriter
Reviewed-by: liach
2024-07-22 07:33:29 +00:00
lingjun.cg
4da9915875 8333396: Use StringBuilder internally for java.text.Format.* formatting
Reviewed-by: naoto, liach, jlu
2024-07-22 02:01:08 +00:00
Hai-May Chao
fd741a88e8 8327538: The SSLExtension class specifies incorrect values for heartbeat per RFC 6520 and post_handshake_auth per RFC 8446
Reviewed-by: wetmore
2024-07-21 17:05:46 +00:00
Christian Stein
ad498f57fc 8335896: Source launcher should set TCCL
Reviewed-by: alanb
2024-07-21 08:49:16 +00:00
Aleksei Efimov
b21cb44e38 8329398: Links in InetAddress class description show "#format"
Reviewed-by: jpai
2024-07-20 16:48:30 +00:00
Vladimir Kozlov
c5b7af73d0 8336692: Redo fix for JDK-8284620
Reviewed-by: dlong
2024-07-20 15:41:29 +00:00
Shaojin Wen
491b9f5efc 8336706: Optimize LocalDate.toString with StringBuilder.repeat
Reviewed-by: liach, rriggs
2024-07-20 06:54:19 +00:00
Shaojin Wen
e3acf4c627 8336792: DateTimeFormatterBuilder append zeros based on StringBuilder.repeat
Reviewed-by: liach, rriggs, naoto
2024-07-19 22:06:23 +00:00
Chris Plummer
e7e48a780a 8248609: [Graal] vmTestbase/nsk/jdi/VoidValue/toString/tostring001/TestDescription.java failed with Unexpected com.sun.jdi.ObjectCollectedException
Reviewed-by: amenkov, lmesnik
2024-07-19 21:53:04 +00:00
Liam Miller-Cushon
939fe000a9 8336786: VerifyError with lambda capture and enclosing instance references
Reviewed-by: mcimadamore
2024-07-19 21:52:45 +00:00
Chen Liang
3ade2b6114 8336777: BufferedMethodBuilder not initialized with static flag
Reviewed-by: asotona
2024-07-19 21:25:20 +00:00
Adam Sotona
c25c4896ad 8333812: ClassFile.verify() can throw exceptions instead of returning VerifyErrors
Reviewed-by: liach
2024-07-19 13:09:45 +00:00
Jie Fu
6e9fcc2d80 8336816: runtime/PrintingTests/StringPrinting.java fails with release VMs
Reviewed-by: dholmes
2024-07-19 12:28:56 +00:00
Volker Simonis
84bc4767a4 8336258: Document the behavior of 'exclude' and 'compileonly' with respect to inlining
Reviewed-by: thartmann, jkarthikeyan
2024-07-19 11:26:44 +00:00
Aleksey Shipilev
5d965f36d3 8336466: C2: Parser incorrectly/unnecessarily checks for clinits
Reviewed-by: kvn, thartmann
2024-07-19 08:34:47 +00:00
Aleksey Shipilev
b703be9cf6 8336465: C2: EA incorrectly/unnecessarily checks for clinits
Reviewed-by: kvn, thartmann
2024-07-19 08:34:36 +00:00
Roland Westrelin
0ddf54e222 8335709: C2: assert(!loop->is_member(get_loop(useblock))) failed: must be outside loop
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Reviewed-by: epeter, thartmann
2024-07-19 07:30:23 +00:00
Roland Westrelin
10982fe557 8335843: C2 hits assert(_print_inlining_stream->size() > 0) failed: missing inlining msg
Reviewed-by: thartmann, kvn, vlivanov
2024-07-19 07:28:51 +00:00
SendaoYan
fa5ad700bb 8334771: [TESTBUG] Run TestDockerMemoryMetrics.java with -Xcomp fails exitValue = 137
Reviewed-by: lmesnik, sspitsyn
2024-07-19 07:06:51 +00:00
David Holmes
10fcad70b3 8325945: Error reporting should limit the number of String characters printed
Reviewed-by: thartmann, stuefe
2024-07-19 06:23:11 +00:00
Andrey Turbanov
f5871df25c 8336675: Remove UnixFileSystemProvider.checkPath in favor of UnixPath.toUnixPath
Reviewed-by: jpai, alanb, bpb
2024-07-19 05:54:25 +00:00
Prasanta Sadhukhan
902bada2cd 8234071: JTable.AUTO_RESIZE_LAST_COLUMN acts like AUTO_RESIZE_ALL_COLUMNS
Reviewed-by: prr, abhiscxk
2024-07-19 02:56:42 +00:00
Prajwal Kumaraswamy
1b9270ac8a 8328723: IP Address error when client enables HTTPS endpoint check on server socket
Reviewed-by: wetmore, djelinski
2024-07-18 22:42:34 +00:00
Fernando Guallini
330e520c1d 8028127: Regtest java/security/Security/SynchronizedAccess.java is incorrect
Reviewed-by: wetmore, mdonovan, rhalade
2024-07-18 22:36:26 +00:00
Chen Liang
39f4476813 8334772: Change Class::signers to an explicit field
Reviewed-by: dholmes, alanb, rriggs, coleenp
2024-07-18 22:22:59 +00:00
Chen Liang
902c2afb67 8336585: BoundAttribute.readEntryList not type-safe
Reviewed-by: asotona
2024-07-18 21:46:19 +00:00
Chen Liang
b44632aa15 8336588: Ensure Transform downstream receives upstream start items only after downstream started
Reviewed-by: asotona
2024-07-18 21:46:07 +00:00
Phil Race
02be7b8ddc 8334495: Use FFM instead of jdk.internal.misc.Unsafe in java.desktop font implementation
Reviewed-by: jdv, dnguyen, achung
2024-07-18 17:35:06 +00:00
Joe Darcy
bbc79a5e01 8333768: Minor doc updates to java.lang.{Float, Double}
Reviewed-by: rgiulietti
2024-07-18 16:33:48 +00:00
Vicente Romero
245c086648 8332600: javac uses record components source position during compilation
Reviewed-by: jlahoda
2024-07-18 15:54:41 +00:00
Kim Barrett
5f7b0072cf 8336346: Fix -Wzero-as-null-pointer-constant warnings in jvmciJavaClasses.cpp
Reviewed-by: jwaters, thartmann
2024-07-18 15:24:51 +00:00
Robert Toyonaga
4a73ed44f1 8330144: Revise os::free_memory()
Reviewed-by: stuefe, mbaesken
2024-07-18 13:35:32 +00:00
Jatin Bhateja
35df48e1b3 8335860: compiler/vectorization/TestFloat16VectorConvChain.java fails with non-standard AVX/SSE settings
Reviewed-by: sviswanathan, kvn
2024-07-18 11:22:58 +00:00
Jorn Vernee
7bf5313244 8335480: Only deoptimize threads if needed when closing shared arena
Reviewed-by: mcimadamore, kvn, uschindler, vlivanov, eosterlund
2024-07-18 11:00:39 +00:00
Albert Mingkun Yang
1b83bd9225 8336661: Parallel: Remove stacks_empty assert in PSScavenge::invoke
Reviewed-by: sangheki
2024-07-18 10:08:13 +00:00
Arseny Bochkarev
72297d22d1 8317720: RISC-V: Implement Adler32 intrinsic
Reviewed-by: fyang
2024-07-18 08:55:07 +00:00
Chris Plummer
21a6cf848d 8336587: failure_handler lldb command times out on macosx-aarch64 core file
Reviewed-by: dlong, dholmes, jpai
2024-07-18 00:21:03 +00:00
Nizar Benalla
78cc0f9569 8336091: Fix HTML warnings in the generated HTML files
Reviewed-by: dholmes
2024-07-17 21:39:19 +00:00
Vladimir Kozlov
bcb5e69505 8335921: Fix HotSpot VM build without JVMTI
Reviewed-by: dholmes, shade
2024-07-17 18:46:00 +00:00
Naoto Sato
10186ff48f 8336300: DateFormatSymbols#getInstanceRef returns non-cached instance
Reviewed-by: joehw, iris, jlu, aturbanov
2024-07-17 16:25:36 +00:00
Albert Mingkun Yang
7ec55df34a 8336638: Parallel: Remove redundant mangle in PSScavenge::invoke
Reviewed-by: zgu
2024-07-17 14:49:00 +00:00
Pavel Rappo
6df7acbc74 8299080: Wrong default value of snippet lang attribute
Reviewed-by: jjg
2024-07-17 12:20:17 +00:00
Suchismith Roy
871362870e 8334217: [AIX] Misleading error messages after JDK-8320005
Reviewed-by: jkern, mbaesken
2024-07-17 11:24:08 +00:00
Markus Grönlund
67979eb077 8334781: JFR crash: assert(((((JfrTraceIdBits::load(klass)) & ((JfrTraceIdEpoch::this_epoch_method_and_class_bits()))) != 0))) failed: invariant
Reviewed-by: egahlin
2024-07-17 11:17:10 +00:00
Vladimir Petko
d41d2a7a82 8334502: gtest/GTestWrapper.java fails on armhf due to LogDecorations.iso8601_utctime_test
Reviewed-by: dholmes, shade
2024-07-17 09:43:47 +00:00
Nizar Benalla
59843f4a65 8336040: Missing closing anchor element in Docs.gmk
Reviewed-by: dholmes, jpai, shade
2024-07-17 09:42:04 +00:00
Albert Mingkun Yang
70f3e99016 8336463: Parallel: Add PSOldGen::expand_and_allocate
Reviewed-by: iwalulya, zgu
2024-07-17 09:25:59 +00:00
Jan Lahoda
b9b0b8504e 8336375: Crash on paste to JShell
Reviewed-by: jvernee
2024-07-17 06:46:34 +00:00
Jaikiran Pai
3babffd400 8334167: Test java/lang/instrument/NativeMethodPrefixApp.java timed out
Reviewed-by: dholmes, sspitsyn, alanb
2024-07-17 06:12:01 +00:00
Jaikiran Pai
d90c20c0c7 Merge
Reviewed-by: djelinski, dholmes
2024-07-17 06:05:51 +00:00
Jayathirth D V
13341ca702 8323390: Enhance mask blit functionality
Reviewed-by: prr, rhalade, psadhukhan
2024-07-17 05:40:56 +05:30
Phil Race
8cc84bf71e 8320097: Improve Image transformations
Reviewed-by: jdv, psadhukhan, aivanov, rhalade
2024-07-17 05:40:56 +05:30
Christian Hagedorn
553f21ae53 8327413: Enhance compilation efficiency
Co-authored-by: Roland Westrelin <roland@openjdk.org>
Reviewed-by: ahgross, rhalade, thartmann, epeter, mbalao, fferrari
2024-07-17 05:40:56 +05:30
Jayathirth D V
e636325510 8324559: Improve 2D image handling
Reviewed-by: rhalade, mschoene, psadhukhan, prr
2024-07-17 05:40:56 +05:30
David Holmes
c5a8c8a0b6 8325600: Better symbol storage
Reviewed-by: coleenp, rhalade, matsaave
2024-07-17 05:40:56 +05:30
David Holmes
aea9a08beb 8319859: Better symbol storage
Reviewed-by: rhalade, coleenp, matsaave, iklam
2024-07-17 05:40:56 +05:30
Matias Saavedra Silva
227fc5e591 8314794: Improve UTF8 String supports
Reviewed-by: dholmes, coleenp, rhalade
2024-07-17 05:40:56 +05:30
Emanuel Peter
46c3768645 8320548: Improved loop handling
Reviewed-by: mschoene, rhalade, thartmann, chagedorn
2024-07-17 05:40:56 +05:30
Tobias Hartmann
5f365d44be 8323231: Improve array management
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: iveresov, rhalade, mschoene, dlong, kvn
2024-07-17 05:40:56 +05:30
Harshitha Onkar
69baa7d285 8336413: gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf
Reviewed-by: prr, dnguyen
2024-07-16 23:46:41 +00:00
Chris Plummer
f3e7063e26 8336420: Add JVMTI setfldw001 and setfmodw001 tests to Xcomp problem list
Reviewed-by: dcubed
2024-07-16 23:27:32 +00:00
Cesar Soares Lucas
005fb67e99 8331194: NPE in ArrayCreationTree.java with -XX:-UseCompressedOops
Reviewed-by: kvn
2024-07-16 20:47:42 +00:00
Alex Menkov
a60608e7a3 8334169: Long arguments of attach operation are silently truncated on Windows
Reviewed-by: sspitsyn, cjplummer
2024-07-16 18:10:47 +00:00
Kim Barrett
59bf3d77aa 8336080: Fix -Wzero-as-null-pointer-constant warnings in ClassLoaderStats ctor
Reviewed-by: dholmes, iwalulya
2024-07-16 17:53:08 +00:00
Vladimir Kozlov
88eff4c305 8336421: ciMethod() constructor should use ConditionalMutexLocker(Compile_lock)
Reviewed-by: jwaters, thartmann, shade
2024-07-16 16:11:00 +00:00
Aleksey Shipilev
c99be357c9 8336474: Problemlist compiler/interpreter/Test6833129 on x86_32
Reviewed-by: thartmann, stuefe
2024-07-16 15:23:55 +00:00
Christoph Langer
419cc46248 8335533: OutOfMemoryError: Metaspace observed again on AIX in test RedefineLeakThrowable.java after JDK-8294960
Reviewed-by: mbaesken, stuefe
2024-07-16 12:48:06 +00:00
SendaoYan
8feabc849b 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts
Reviewed-by: jpai
2024-07-16 01:43:36 +00:00
Alexey Ushakov
bc7cd42d11 8314498: [macos] Transferring File objects to Finder fails
Co-authored-by: Andrey Starovoyt <Andrey.Starovoyt@jetbrains.com>
Reviewed-by: prr
2024-07-15 23:25:11 +00:00
Chris Plummer
c8a95a763c 8072701: resume001 failed due to ERROR: timeout for waiting for a BreakpintEvent
Reviewed-by: amenkov, kevinw, sspitsyn
2024-07-15 20:26:52 +00:00
Kim Barrett
388fcf03c0 8336349: Fix more simple -Wzero-as-null-pointer-constant warnings in C2 code
Reviewed-by: kvn, shade
2024-07-15 16:00:00 +00:00
Kim Barrett
ab27acab0b 8336297: C2: Fix -Wzero-as-null-pointer-constant warnings in derived Node ctors
Reviewed-by: kvn, jwaters
2024-07-15 15:43:02 +00:00
Maurizio Cimadamore
9dfcd75ec4 8334121: Anonymous class capturing two enclosing instances fails to compile
Reviewed-by: jlahoda, vromero
2024-07-15 15:28:24 +00:00
Patricio Chilano Mateo
000de30628 8335269: [Graal] occasional timeout in java/lang/StringBuffer/TestSynchronization.java with loom
Reviewed-by: dholmes, alanb
2024-07-15 14:54:04 +00:00
Maurizio Cimadamore
4635531950 8335159: Move method reference to lambda desugaring before Lower
8336320: NullPointerException: Cannot invoke Type.getTag because type is null after JDK-8334037

Reviewed-by: jlahoda, vromero
2024-07-15 14:24:27 +00:00
Chen Liang
a253e0ff4b 8335642: Hide Transform implementation for Class-File API
Reviewed-by: asotona
2024-07-15 12:11:53 +00:00
Jan Lahoda
2b0adfc2de 8335817: javac AssertionError addLocalVar checkNull
Reviewed-by: vromero, mcimadamore
2024-07-15 11:26:33 +00:00
Richard Reingruber
a96de6d8d2 8336256: memcpy short value to int local is incorrect in VtableStubs::unsafe_hash
Reviewed-by: stuefe, shade, kvn
2024-07-15 07:34:10 +00:00
Adam Sotona
3f2636d9b7 8335820: java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java fails due to IllegalArgumentException: hash must be nonzero
Reviewed-by: liach
2024-07-15 05:41:52 +00:00
Chen Liang
a9f5e76a65 8335905: CompoundElement API cleanup
Reviewed-by: asotona
2024-07-14 15:01:51 +00:00
Brian Stafford
6f325db493 8310915: Typo in aarch64.ad: "envcodings"
Reviewed-by: thartmann
2024-07-13 04:59:04 +00:00
Jaikiran Pai
ae9f318fc3 8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion
Reviewed-by: alanb
2024-07-13 02:19:25 +00:00
Pavel Rappo
4166e53452 8318106: Generated HTML for snippet does not always contain an id
Reviewed-by: liach
2024-07-12 23:11:04 +00:00
Nizar Benalla
5bc86f3329 8336259: Wrong link to stylesheet.css in JavaDoc API documentation
Reviewed-by: jjg, liach
2024-07-12 21:50:51 +00:00
Sean Gwizdak
8ba9bc6f17 8332249: Micro-optimize Method.hashCode
Reviewed-by: liach
2024-07-12 21:49:51 +00:00
Shaojin Wen
4957145e6c 8336278: Micro-optimize Replace String.format("%n") to System.lineSeparator
Reviewed-by: dnsimon, shade
2024-07-12 21:49:28 +00:00
Kevin Walls
1f6e106b45 8335684: Test ThreadCpuTime.java should pause like ThreadCpuTimeArray.java
Reviewed-by: sspitsyn, cjplummer
2024-07-12 17:11:20 +00:00
Shaojin Wen
84c74ad0a9 8335802: Improve startup speed HexFormat uses boolean instead of enum
Reviewed-by: liach
2024-07-12 14:36:34 +00:00
Zhengyu Gu
4f312d6bc1 8336152: Remove unused forward declaration in classLoadInfo.hpp
Reviewed-by: dholmes, shade
2024-07-12 12:59:22 +00:00
Albert Mingkun Yang
34d8562a91 8335902: Parallel: Refactor VM_ParallelGCFailedAllocation and VM_ParallelGCSystemGC
Reviewed-by: gli, zgu
2024-07-12 12:59:13 +00:00
Abhishek Kumar
2fc7eb44a0 8155030: The Menu Mnemonics are always displayed for GTK LAF
Hides mnemonics on menus, buttons, and labels for GTK L&F.

Moved shared code for hiding mnemonics into
sun/swing/MnemonicHandler and AltProcessor to avoid code duplication.

Reviewed-by: prr, tr, achung, dnguyen, aivanov
2024-07-12 12:37:58 +00:00
Jan Lahoda
559826c292 8332474: Tighten up ToolBox' JavacTask to not silently accept javac crash as a failure
Reviewed-by: vromero
2024-07-12 12:17:21 +00:00
Volker Simonis
eec0e155f3 8335619: Add an @apiNote to j.l.i.ClassFileTransformer to warn about recursive class loading and ClassCircularityErrors
Reviewed-by: alanb, stuefe, liach
2024-07-12 12:09:58 +00:00
Kim Barrett
9b6f6c5c9d 8336082: Fix -Wzero-as-null-pointer-constant warnings in SimpleCompactHashtable
Reviewed-by: coleenp, dholmes
2024-07-12 09:33:04 +00:00
Kim Barrett
7a62032964 8336081: Fix -Wzero-as-null-pointer-constant warnings in JVMTypedFlagLimit ctors
Reviewed-by: dholmes, jwaters
2024-07-12 09:30:38 +00:00
Kevin Walls
f677b90eb9 8267887: RMIConnector_NPETest.java fails after removal of RMI Activation (JDK-8267123)
Reviewed-by: cjplummer, sspitsyn
2024-07-12 08:19:24 +00:00
SendaoYan
1fe3ada001 8336284: Test TestClhsdbJstackLock.java/TestJhsdbJstackLock.java fails with -Xcomp after JDK-8335743
Reviewed-by: cjplummer, amenkov
2024-07-12 08:14:56 +00:00
Matthias Baesken
c703d29042 8335710: serviceability/dcmd/vm/SystemDumpMapTest.java and SystemMapTest.java fail on Linux Alpine after 8322475
Reviewed-by: stuefe, lucy
2024-07-12 05:56:53 +00:00
Vanitha B P
81a0d1ba03 8325525: Create jtreg test case for JDK-8325203
Reviewed-by: asemenyuk, almatvee
2024-07-11 21:27:30 +00:00
Chen Liang
b3ef2a600c 8336036: Synthetic documentation for a record's equals is incorrect for floating-point types
Reviewed-by: prappo
2024-07-11 20:51:27 +00:00
Kevin Walls
687601ebca 8336257: Additional tests in jmxremote/startstop to match on PID not app name
Reviewed-by: cjplummer, alanb, amenkov, dcubed
2024-07-11 20:45:34 +00:00
Nizar Benalla
889055713e 8335623: Clean up HtmlTag.HtmlTag and make the ARIA role attribute global
Reviewed-by: liach
2024-07-11 20:44:21 +00:00
Dean Long
73e3e0edeb 8321509: False positive in get_trampoline fast path causes crash
Reviewed-by: kvn, adinn, thartmann
2024-07-11 20:18:16 +00:00
Liam Miller-Cushon
9eb611e7f0 8334055: Unhelpful 'required: reference' diagnostics after JDK-8043226
Reviewed-by: vromero
2024-07-11 19:53:52 +00:00
Justin Lu
5100303c6c 8335668: NumberFormat integer only parsing should throw exception for edge case
Reviewed-by: naoto
2024-07-11 18:40:40 +00:00
Joe Wang
58c98420b6 8336021: Doccheck: valign not allowed for HTML5 in java.xml
Reviewed-by: lancea
2024-07-11 18:38:32 +00:00
Chen Liang
d06d79c809 8325369: @sealedGraph: Bad link to image for tag on nested classes
Reviewed-by: jjg
2024-07-11 16:07:03 +00:00
Sonia Zaldana Calles
dea92742c2 8332125: [nmt] Totals in diff report should print out total malloc and mmap diffs
Reviewed-by: stuefe, jsjolen
2024-07-11 14:12:13 +00:00
Robbin Ehn
5c612c230b 8332689: RISC-V: Use load instead of trampolines
Reviewed-by: fyang, mli, luhenry
2024-07-11 10:24:00 +00:00
Pavel Rappo
6fcd49f943 8336239: Fix javadoc markup in java.lang.Process
Reviewed-by: jpai
2024-07-11 10:08:54 +00:00
Xiaolong Peng
b32e4a68bc 8335356: Shenandoah: Improve concurrent cleanup locking
Reviewed-by: ysr, shade
2024-07-11 08:47:15 +00:00
Kim Barrett
62cbf70346 8336085: Fix simple -Wzero-as-null-pointer-constant warnings in CDS code
Reviewed-by: dholmes, jwaters
2024-07-11 08:28:25 +00:00
Axel Boldt-Christmas
2928753bd9 8324966: Allow selecting jtreg test case by ID from make
Reviewed-by: erikj
2024-07-11 08:18:46 +00:00
Prasanta Sadhukhan
1772a929af 8334457: Test javax/swing/JTabbedPane/bug4666224.java fail on macOS with because pressing the ‘C’ key does not switch the layout to WRAP_TAB_LAYOUT
Reviewed-by: achung, abhiscxk, tr
2024-07-11 07:35:48 +00:00
Kevin Walls
b7d0eff5ad 8207908: JMXStatusTest.java fails assertion intermittently
Reviewed-by: cjplummer, amenkov
2024-07-11 07:29:37 +00:00
Doug Simon
cf940e139a 8335553: [Graal] Compiler thread calls into jdk.internal.vm.VMSupport.decodeAndThrowThrowable and crashes in OOM situation
Reviewed-by: yzheng, never, dholmes
2024-07-11 07:03:44 +00:00
Kuai Wei
b363de8c9f 8335946: DTrace code snippets should be generated when DTrace flags are enabled
Reviewed-by: coleenp, dholmes
2024-07-11 02:44:25 +00:00
KIRIYAMA Takuya
d6c6847e32 8335743: jhsdb jstack cannot print some information on the waiting thread
Reviewed-by: dholmes, cjplummer, kevinw
2024-07-11 02:44:12 +00:00
Chen Liang
cad68e06ec 8335935: Chained builders not sending transformed models to next transforms
Reviewed-by: asotona
2024-07-10 21:06:39 +00:00
Yudi Zheng
242f1133f8 8334481: [JVMCI] add LINK_TO_NATIVE to MethodHandleAccessProvider.IntrinsicMethod
Reviewed-by: dnsimon
2024-07-10 19:42:23 +00:00
Joe Darcy
66db71563c 8335637: Add explicit non-null return value expectations to Object.toString()
Reviewed-by: jpai, alanb, smarks, prappo
2024-07-10 16:36:39 +00:00
Patricio Chilano Mateo
7ab96c74e2 8335409: Can't allocate and retain memory from resource area in frame::oops_interpreted_do oop closure after 8329665
Reviewed-by: dholmes, stuefe, coleenp, shade
2024-07-10 16:26:16 +00:00
Axel Boldt-Christmas
fb66716a1b 8331725: ubsan: pc may not always be the entry point for a VtableStub
Reviewed-by: kvn, mbaesken
2024-07-10 16:12:40 +00:00
Doug Simon
fb9a227e02 8313909: [JVMCI] assert(cp->tag_at(index).is_unresolved_klass()) in lookupKlassInPool
Reviewed-by: yzheng, never
2024-07-10 15:34:27 +00:00
Christian Stein
e6c5aa7a6c 8336012: Fix usages of jtreg-reserved properties
Reviewed-by: jjg
2024-07-10 15:12:49 +00:00
Erik Gahlin
e0fb949460 8335779: JFR: Hide sleep events
Reviewed-by: mgronlun
2024-07-10 14:28:20 +00:00
Jan Lahoda
537d20afbf 8335766: Switch case with pattern matching and guard clause compiles inconsistently
Reviewed-by: abimpoudis
2024-07-10 09:55:56 +00:00
Matthias Baesken
a44b60c8c1 8335778: runtime/ClassInitErrors/TestStackOverflowDuringInit.java fails on ppc64 platforms after JDK-8334545
Reviewed-by: dholmes, asteiner
2024-07-10 07:53:52 +00:00
Koichi Sakata
b5909cabee 8323242: Remove vestigial DONT_USE_REGISTER_DEFINES
Reviewed-by: gli, kvn
2024-07-10 05:57:11 +00:00
Jaikiran Pai
dcf4e0d51f 8335966: Remove incorrect problem listing of java/lang/instrument/NativeMethodPrefixAgent.java in ProblemList-Virtual.txt
Reviewed-by: kevinw, amenkov
2024-07-10 03:30:19 +00:00
Mark Powers
1472124489 8333364: Minor cleanup could be done in com.sun.crypto.provider
Reviewed-by: mullan, valeriep
2024-07-09 20:38:09 +00:00
Kim Barrett
7e11fb7026 8335688: Fix -Wzero-as-null-pointer-constant warnings from fflush calls in jvmti tests
Reviewed-by: jwaters, coleenp
2024-07-09 13:11:20 +00:00
Volker Simonis
531a6d85b0 8335911: Document ccls indexer in doc/ide.md
Reviewed-by: erikj
2024-07-09 13:11:07 +00:00
Aleksei Voitylov
0e0dfca21f 8330806: test/hotspot/jtreg/compiler/c1/TestLargeMonitorOffset.java fails on ARM32
Reviewed-by: snazarki, dsamersoff
2024-07-09 10:27:44 +00:00
Severin Gehwolf
f3ff4f7427 8335882: platform/cgroup/TestSystemSettings.java fails on Alpine Linux
Reviewed-by: stuefe, mbaesken
2024-07-09 10:21:47 +00:00
Amit Kumar
8f62f31dff 8335906: [s390x] Test Failure: GTestWrapper.java
Reviewed-by: stuefe
2024-07-09 08:26:25 +00:00
Kevin Walls
2a2964759c 8334777: Test javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java failed with NullPointerException
Reviewed-by: cjplummer, dholmes
2024-07-09 08:25:00 +00:00
Thomas Schatzl
564a72e1db 8335955: JDK-8335742 wrongly used a "JDK-" prefix in the problemlist bug number
Reviewed-by: iwalulya
2024-07-09 08:10:55 +00:00
Ioi Lam
9c7a6eabb9 8312125: Refactor CDS enum class handling
Reviewed-by: matsaave, ccheung
2024-07-08 20:14:26 +00:00
Xiaolong Peng
bb1f8a1698 8335904: Fix invalid comment in ShenandoahLock
Reviewed-by: shade
2024-07-08 20:10:27 +00:00
Liam Miller-Cushon
babf6df7d9 8334757: AssertionError: Missing type variable in where clause
Reviewed-by: jlahoda, vromero
2024-07-08 20:09:07 +00:00
lawrence.andrews
3733fe3a20 8335789: [TESTBUG] XparColor.java test fails with Error. Parse Exception: Invalid or unrecognized bugid: @
Reviewed-by: aivanov
2024-07-08 19:14:33 +00:00
Kelvin Nilsen
3a87eb5c46 8335126: Shenandoah: Improve OOM handling
Reviewed-by: shade, ysr, wkemper, rkennke
2024-07-08 18:03:19 +00:00
Calvin Cheung
284671a1e4 8335449: runtime/cds/DeterministicDump.java fails with File content different at byte ...
Reviewed-by: matsaave, iklam
2024-07-08 16:44:22 +00:00
Joe Darcy
a9b7f42f29 8333826: Update --release 23 symbol information for JDK 23 build 29
Reviewed-by: iris, jlahoda
2024-07-08 16:20:01 +00:00
Albert Mingkun Yang
d8c1c6ab05 8335604: Serial: Inline Generation::contiguous_available
Reviewed-by: tschatzl
2024-07-08 15:45:26 +00:00
Matias Saavedra Silva
be3676f6bb 8304484: CDS dynamic dumping incorrectly leads to "Error occurred during initialization of VM"
Reviewed-by: ccheung, iklam
2024-07-08 14:04:32 +00:00
Jorn Vernee
cec222e460 8317611: Add a tool like jdeprscan to find usage of restricted methods
Reviewed-by: alanb, ihse, mcimadamore, jlahoda, jwaters
2024-07-08 12:39:33 +00:00
Thomas Schatzl
953c35eb5b 8335824: Test gc/arguments/TestMinInitialErgonomics.java is timing out
Reviewed-by: ayang, kbarrett
2024-07-08 11:44:04 +00:00
Tobias Hartmann
c34a1b7013 8335861: Problem list compiler/vectorization/TestFloat16VectorConvChain.java
Reviewed-by: epeter
2024-07-08 10:53:03 +00:00
Xiaolong Peng
c5a668bb65 8334231: Optimize MethodData layout
Reviewed-by: dholmes, chagedorn, shade
2024-07-08 10:33:08 +00:00
Albert Mingkun Yang
540188fdeb 8334445: Parallel: Decouple maximum compaction from SoftReference clearing
Reviewed-by: zgu, lmao
2024-07-08 10:03:39 +00:00
Thomas Stuefe
3cce31ad88 8335643: serviceability/dcmd/vm tests fail for ZGC after JDK-8322475
Reviewed-by: sgehwolf, dholmes
2024-07-08 08:06:56 +00:00
Jatin Bhateja
55fd1ed228 8333890: Fatal error in auto-vectorizer with float16 kernel.
Reviewed-by: kvn
2024-07-08 06:42:46 +00:00
Emanuel Peter
02956ab6e1 8332163: C2 SuperWord: refactor PacksetGraph and SuperWord::output into VTransformGraph
Reviewed-by: chagedorn, kvn
2024-07-08 06:23:03 +00:00
SendaoYan
3f37c5718d 8335806: RISC-V: Corrected typos Bizarrely
Reviewed-by: aph, amitkumar
2024-07-08 01:19:36 +00:00
Per Minborg
6f7f0f1de0 8333884: MemorySegment::reinterpret removes read-only property
Reviewed-by: jvernee, mcimadamore
2024-07-06 15:05:26 +00:00
Erik Gahlin
b83766e590 8335632: jdk/jfr/api/consumer/streaming/TestJVMExit.java failed with "Process [...] is no longer alive"
Reviewed-by: mgronlun
2024-07-05 17:07:22 +00:00
Erik Gahlin
7efe16038e 8335730: JFR: Clean up jdk.jfr
Reviewed-by: mgronlun
2024-07-05 16:44:41 +00:00
Severin Gehwolf
ff49f677ee 8335775: Remove extraneous 's' in comment of rawmonitor.cpp test file
Reviewed-by: gdams, stuefe
2024-07-05 13:44:35 +00:00
Shaojin Wen
194425d787 8335645: j.u.Formatter#trailingZeros improved with String repeat
Reviewed-by: liach, jlu, naoto
2024-07-05 12:50:09 +00:00
Ivan Walulya
c8acea87e2 8335706: G1: Remove unused G1ConcurrentRefine::RemSetSamplingClosure::_cset
Reviewed-by: ayang, tschatzl
2024-07-05 09:10:30 +00:00
Thomas Schatzl
bdf470b3b8 8335742: Problemlist gc/g1/TestMixedGCLiveThreshold.java#25percent with virtual threads
Reviewed-by: aboldtch, kbarrett
2024-07-05 09:06:37 +00:00
Albert Mingkun Yang
6409ec336a 8335711: G1: Remove unused bot_updates argument in G1AllocRegion constructor
Reviewed-by: iwalulya, tschatzl
2024-07-05 08:43:27 +00:00
Thomas Schatzl
4ec1ae1097 8331385: G1: Prefix HeapRegion helper classes with G1
Reviewed-by: ayang, dholmes
2024-07-05 07:18:34 +00:00
Sonia Zaldana Calles
b9d8056d5c 8332124: Jcmd should recognise options that look like requests for help
Reviewed-by: kevinw, stuefe
2024-07-05 04:49:01 +00:00
Liang Mao
cff9e246cc 8335493: check_gc_overhead_limit should reset SoftRefPolicy::_should_clear_all_soft_refs
Reviewed-by: ayang
2024-07-05 02:29:07 +00:00
Nizar Benalla
f4fa35e28b 8330954: since-checker - Fix remaining @ since tags in java.base
Reviewed-by: liach, naoto
2024-07-04 15:44:57 +00:00
Jasmine Karthikeyan
3050ba0176 8335654: Remove stale hyperlink in divnode.cpp
Reviewed-by: chagedorn, thartmann
2024-07-04 14:09:45 +00:00
Robert Toyonaga
da0ffa8b7f 8334031: Generated JfrNativeSettings seems off
Reviewed-by: egahlin
2024-07-04 13:35:24 +00:00
Thomas Stuefe
b0efd77402 8314653: Metaspace: remove allocation guard feature
Reviewed-by: azafari, dholmes
2024-07-04 12:42:47 +00:00
Nizar Benalla
6a472797a4 8332072: Convert package.html files in java.naming to package-info.java
8335213: Code snippet in javax.naming.ldap package summary does not compile

Reviewed-by: aefimov
2024-07-04 12:29:32 +00:00
Kim Barrett
7e378fccd8 8335667: Fix simple -Wzero-as-null-pointer-constant warnings in compiler code
Reviewed-by: chagedorn
2024-07-04 12:16:54 +00:00
Joachim Kern
ced9906635 8334371: [AIX] Beginning with AIX 7.3 TL1 mmap() supports 64K memory pages
Reviewed-by: stuefe, mbaesken, mdoerr
2024-07-04 11:20:57 +00:00
Yudi Zheng
916db07e53 8335532: [JVMCI] Export VM_Version::L1_line_size in JVMCI
Reviewed-by: dnsimon
2024-07-04 10:34:56 +00:00
Erik Österlund
c0604fb823 8334890: Missing unconditional cross modifying fence in nmethod entry barriers
Reviewed-by: aboldtch, kbarrett
2024-07-04 10:06:09 +00:00
Kim Barrett
cf1be87279 8335663: Fix simple -Wzero-as-null-pointer-constant warnings in C2 code
Reviewed-by: jwaters, chagedorn
2024-07-04 10:04:52 +00:00
Erik Gahlin
0bb9c76288 8324089: Fix typo in the manual page for "jcmd" (man jcmd)
Reviewed-by: mgronlun, kevinw
2024-07-04 10:03:39 +00:00
Jan Lahoda
3e3f83f62c 8335385: javac crash on unattributed piece of AST
Reviewed-by: vromero
2024-07-04 08:36:56 +00:00
Axel Boldt-Christmas
b20e8c8e85 8335397: Improve reliability of TestRecursiveMonitorChurn.java
Reviewed-by: coleenp, rkennke, dholmes
2024-07-04 08:21:18 +00:00
Thomas Stuefe
38a578d547 8334738: os::print_hex_dump should optionally print ASCII
Reviewed-by: dholmes, sgehwolf
2024-07-04 06:20:03 +00:00
Thomas Stuefe
7b894bc4af 8332786: When dumping static CDS archives, explicitly assert that we don't use a CDS archive
Reviewed-by: iklam, dholmes
2024-07-04 05:44:44 +00:00
David Holmes
e01626cf09 8335655: ProblemList serviceability/dcmd/vm tests failing after JDK-8322475
Reviewed-by: mikael
2024-07-04 04:18:31 +00:00
Kim Barrett
3efa93ba13 8335588: Fix -Wzero-as-null-pointer-constant warnings in calls to Node ctor
Reviewed-by: thartmann, chagedorn
2024-07-03 22:03:23 +00:00
David Holmes
587535c5b9 8334545: runtime/ClassInitErrors/TestStackOverflowDuringInit.java fails after JDK-8294960
Reviewed-by: iklam, stuefe
2024-07-03 21:42:08 +00:00
Erik Gahlin
68ffec9800 8335479: JFR: Missing documentation for -XX:StartFlightRecording
Reviewed-by: mgronlun
2024-07-03 20:43:08 +00:00
Thomas Schatzl
9a91865ff3 8335395: G1: Verification does not detect references into Free regions
Reviewed-by: ayang, iwalulya
2024-07-03 16:29:52 +00:00
Hamlin Li
13b782c3de 8334554: RISC-V: verify & fix perf of string comparison
Reviewed-by: rehn, luhenry, fyang
2024-07-03 16:10:22 +00:00
Thomas Stuefe
8aaec37ace 8322475: Extend printing for System.map
Reviewed-by: sgehwolf, jsjolen
2024-07-03 16:08:34 +00:00
Albert Mingkun Yang
19a8a2baa9 8335618: Serial: Remove unused definitions in SerialHeap
Reviewed-by: iwalulya
2024-07-03 15:42:47 +00:00
Ivan Walulya
cf4f2b53d6 8332517: G1: Refactor G1AllocRegion
Reviewed-by: tschatzl, ayang
2024-07-03 15:12:40 +00:00
Arseny Bochkarev
5a8af2b8b9 8335615: Clean up left-overs from 8317721
Reviewed-by: fyang
2024-07-03 14:09:59 +00:00
Albert Mingkun Yang
6923a5114b 8335607: Serial: Remove unused collection_attempt_is_safe
Reviewed-by: tschatzl
2024-07-03 12:57:26 +00:00
Feilong Jiang
5866b16dbc 8335411: RISC-V: Optimize encode_heap_oop when oop is not null
Reviewed-by: fyang, rehn
2024-07-03 12:12:12 +00:00
Qizheng Xing
6db4c6a772 8335536: Fix assertion failure in IdealGraphPrinter when append is true
Reviewed-by: thartmann, chagedorn, tholenstein
2024-07-03 12:12:00 +00:00
Erik Gahlin
350f9c1947 8322812: Manpage for jcmd is missing JFR.view command
Reviewed-by: kevinw, mgronlun
2024-07-03 11:36:14 +00:00
Kim Barrett
c06b75ff88 8335591: Fix -Wzero-as-null-pointer-constant warnings in ConcurrentHashTable
Reviewed-by: chagedorn
2024-07-03 11:12:08 +00:00
Albert Mingkun Yang
6c84e9c8cb 8335544: Serial: Remove unused _should_allocate_from_space
Reviewed-by: iwalulya
2024-07-03 08:42:43 +00:00
Gergö Barany
4d2f73764b 8335357: Delete HotSpotJDKReflection.oopSizeOffset
Reviewed-by: dnsimon
2024-07-03 08:08:22 +00:00
Kim Barrett
77a7078b82 8335593: Fix -Wzero-as-null-pointer-constant warning in Type_Array ctor
Reviewed-by: thartmann
2024-07-03 06:00:20 +00:00
Kim Barrett
f3f90dc11a 8335592: Fix -Wzero-as-null-pointer-constant warnings in RootNode ctor
Reviewed-by: thartmann
2024-07-03 05:57:49 +00:00
Kim Barrett
7bc8f9c150 8335589: Fix -Wzero-as-null-pointer-constant warnings in IdealLoopTree ctor
Reviewed-by: thartmann
2024-07-03 05:55:28 +00:00
Chen Liang
0db9bc57de 8335290: Rename ClassFile::transform to ClassFile::transformClass
Reviewed-by: asotona
2024-07-03 05:03:56 +00:00
Eirik Bjørsnøs
d51141e5fc 8321274: Rename ZipEntry.extraAttributes to ZipEntry.externalFileAttributes
Reviewed-by: lancea, jpai
2024-07-03 04:36:32 +00:00
Xiaolong Peng
fac74b118f 8334229: Optimize InterpreterOopMap layout
Reviewed-by: coleenp, dholmes
2024-07-03 03:01:06 +00:00
Xiaolong Peng
f9b4ea13e6 8334220: Optimize Klass layout after JDK-8180450
Reviewed-by: coleenp, stuefe, dholmes
2024-07-03 02:56:17 +00:00
Chen Liang
f7af4504a8 8335110: Fix instruction name and API spec inconsistencies in CodeBuilder
Reviewed-by: asotona
2024-07-03 02:49:43 +00:00
Chen Liang
8a664a4c35 8334734: Remove specialized readXxxEntry methods from ClassReader
Reviewed-by: asotona
2024-07-03 02:43:41 +00:00
Chen Liang
3a2d426489 8334726: Remove accidentally exposed individual methods from Class-File API
Reviewed-by: asotona
2024-07-03 02:42:06 +00:00
Kim Barrett
f187c92bef 8335370: Fix -Wzero-as-null-pointer-constant warning in jvmti_common.hpp
Reviewed-by: jwaters, amenkov, sspitsyn
2024-07-03 02:19:54 +00:00
Chen Liang
1ef34c1833 8335475: ClassBuilder incorrectly calculates max_locals in some cases
Reviewed-by: asotona
2024-07-02 23:15:31 +00:00
Viktor Klang
27982c8f5d 8327854: Test java/util/stream/test/org/openjdk/tests/java/util/stream/WhileOpStatefulTest.java failed with RuntimeException
Reviewed-by: psandoz
2024-07-02 20:27:52 +00:00
Chris Plummer
a3479576c9 8335291: Problem list all SA core file tests on macosx-aarch64 due to JDK-8318754
Reviewed-by: kevinw, amenkov
2024-07-02 18:13:50 +00:00
Severin Gehwolf
153b12b9df 8331560: Refactor Hotspot container detection code so that subsystem delegates to controllers
Reviewed-by: jsjolen, stuefe
2024-07-02 15:38:54 +00:00
Jasmine Karthikeyan
685e5878b8 8334816: compiler/c2/irTests/TestIfMinMax.java fails after 8334629
Reviewed-by: thartmann, chagedorn
2024-07-02 14:36:29 +00:00
Albert Mingkun Yang
dd74e7f8c1 8335147: Serial: Refactor TenuredGeneration::promote
Reviewed-by: tschatzl, iwalulya
2024-07-02 12:15:02 +00:00
Daniel Fuchs
a537e87d2d 8335530: Java file extension missing in AuthenticatorTest
Reviewed-by: cstein, jpai
2024-07-02 11:50:21 +00:00
Kim Barrett
4060b35b1d 8335298: Fix -Wzero-as-null-pointer-constant warning in G1CardSetContainers
Reviewed-by: iwalulya, ayang
2024-07-02 08:58:20 +00:00
Emanuel Peter
9046d7aee3 8335390: C2 MergeStores: wrong result with Unsafe
Reviewed-by: thartmann, chagedorn, kvn
2024-07-02 08:20:26 +00:00
Kim Barrett
318d9acadf 8335369: Fix -Wzero-as-null-pointer-constant warnings in ImmutableOopMapBuilder
Reviewed-by: kvn, jwaters
2024-07-02 05:56:21 +00:00
Prasanta Sadhukhan
5fe07b36d9 5021949: JSplitPane setEnabled(false) shouldn't be partially functional
Reviewed-by: abhiscxk, achung, aivanov
2024-07-02 03:39:43 +00:00
Leonid Mesnik
ee4720a75d 8333306: gc/arguments/TestParallelGCErgo.java fails when largepage are enabled
Reviewed-by: ayang, zgu
2024-07-01 20:38:55 +00:00
Arseny Bochkarev
2f4f6cc34c 8317721: RISC-V: Implement CRC32 intrinsic
Reviewed-by: vkempik, rehn
2024-07-01 12:19:49 +00:00
Adam Sotona
3ca2bcd402 8335060: ClassCastException after JDK-8294960
Reviewed-by: liach, jpai
2024-07-01 11:51:13 +00:00
Evgeny Nikitin
747e1e47f5 8334295: CTW: update modules
Reviewed-by: shade, thartmann
2024-07-01 10:21:31 +00:00
Severin Gehwolf
0a6ffa5795 8261242: [Linux] OSContainer::is_containerized() returns true when run outside a container
Reviewed-by: stuefe, iklam
2024-07-01 08:47:29 +00:00
Albert Mingkun Yang
71e3798bf6 8335308: compiler/uncommontrap/DeoptReallocFailure.java times out with SerialGC on Windows
Reviewed-by: kvn, thartmann, chagedorn
2024-07-01 08:12:20 +00:00
Suchismith Roy
c7e9ebb4cf 8331732: [PPC64] Unify and optimize code which converts != 0 to 1
Reviewed-by: mdoerr, amitkumar
2024-07-01 08:07:42 +00:00
Matthias Baesken
53242cdf9e 8335283: Build failure due to 'no_sanitize' attribute directive ignored
Reviewed-by: shade, tschatzl, kbarrett, jwaters
2024-07-01 06:37:09 +00:00
Zhengyu Gu
d9bcf06145 8335217: Fix memory ordering in ClassLoaderData::ChunkedHandleList
Reviewed-by: dholmes, stefank, eosterlund
2024-06-29 20:40:51 +00:00
Kevin Walls
bb18498d71 8335349: jcmd VM.classloaders "fold" option should be optional
Reviewed-by: cjplummer, stuefe
2024-06-29 08:19:33 +00:00
Kim Barrett
8350b1daed 8335294: Fix simple -Wzero-as-null-pointer-constant warnings in gc code
Reviewed-by: tschatzl, coleenp, jwaters
2024-06-29 05:04:47 +00:00
Shaojin Wen
5d866bf17d 8335252: Reduce size of j.u.Formatter.Conversion#isValid
Reviewed-by: redestad
2024-06-28 22:27:34 +00:00
Vladimir Kozlov
166f9d9ac0 8335221: Some C2 intrinsics incorrectly assume that type argument is compile-time constant
Reviewed-by: roland, chagedorn
2024-06-28 19:36:00 +00:00
Fernando Guallini
3e23e9c535 8335344: test/jdk/sun/security/tools/keytool/NssTest.java fails to compile
Reviewed-by: weijun
2024-06-28 19:17:24 +00:00
Kevin Walls
79a3554e1d 8335124: com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java failed with CPU time out of expected range
Reviewed-by: phh, cjplummer
2024-06-28 19:01:36 +00:00
Aleksey Shipilev
45c4eaa560 8335274: SwitchBootstraps.ResolvedEnumLabels.resolvedEnum should be final
Reviewed-by: liach, jlahoda
2024-06-28 16:26:34 +00:00
Matthias Baesken
486aa11e74 8335237: ubsan: vtableStubs.hpp is_vtable_stub exclude from ubsan checks
Reviewed-by: mdoerr, clanger
2024-06-28 13:28:53 +00:00
Fernando Guallini
f4d8c005b3 8334562: Automate com/sun/security/auth/callback/TextCallbackHandler/Default.java test
Reviewed-by: weijun
2024-06-28 12:45:26 +00:00
Daniel Fuchs
49eb00da8d 8299813: java/nio/channels/DatagramChannel/Disconnect.java fails with jtreg test timeout due to lost datagram
Reviewed-by: aefimov
2024-06-28 11:13:11 +00:00
Daniel Fuchs
8ec378a6c8 8277949: (dc) java/nio/channels/DatagramChannel/AdaptorBasic.java failed in timeout
Reviewed-by: jpai
2024-06-28 11:03:29 +00:00
SendaoYan
c798316bc4 8269657: Test java/nio/channels/DatagramChannel/Loopback.java failed: Unexpected message
Reviewed-by: dfuchs
2024-06-28 09:38:18 +00:00
Jan Lahoda
99d2bbf767 8334433: jshell.exe runs an executable test.exe on startup
Reviewed-by: jpai
2024-06-28 09:31:14 +00:00
Christian Hagedorn
6f4ddc2f6b 8335142: compiler/c1/TestTraceLinearScanLevel.java occasionally times out with -Xcomp
Reviewed-by: thartmann, kvn
2024-06-28 09:23:48 +00:00
Albert Mingkun Yang
3b3a19e907 8335314: Problem list compiler/uncommontrap/DeoptReallocFailure.java
Reviewed-by: chagedorn
2024-06-28 08:27:07 +00:00
Amit Kumar
d457609f70 8319947: Recursive lightweight locking: s390x implementation
Reviewed-by: aboldtch, lucy
2024-06-28 06:43:32 +00:00
Xiaolong Peng
c47a0e005e 8334147: Shenandoah: Avoid taking lock for disabled free set logging
Reviewed-by: shade, ysr
2024-06-28 06:19:37 +00:00
Evgeny Nikitin
308a812383 8334645: Un-problemlist vmTestbase/nsk/sysdict/vm/stress/chain/chain007/chain007.java
Reviewed-by: thartmann, lmesnik
2024-06-28 04:42:33 +00:00
Jan Kratochvil
b4df380f1a 8334763: --enable-asan: assert(_thread->is_in_live_stack((address)this)) failed: not on stack?
Reviewed-by: kbarrett, stuefe, erikj
2024-06-28 03:07:09 +00:00
Gui Cao
cd46c87dc9 8334843: RISC-V: Fix wraparound checking for r_array_index in lookup_secondary_supers_table_slow_path
Reviewed-by: fyang
2024-06-28 01:44:14 +00:00
Chris Plummer
4e8cbf884a 8335134: Test com/sun/jdi/BreakpointOnClassPrepare.java timeout
Reviewed-by: kevinw, coleenp
2024-06-27 22:20:14 +00:00
Vladimir Petko
3b1ca98642 8334895: OpenJDK fails to configure on linux aarch64 when CDS is disabled after JDK-8331942
Reviewed-by: erikj
2024-06-27 20:27:51 +00:00
Ioi Lam
c35e58a5ad 8309634: Resolve CONSTANT_MethodRef at CDS dump time
Reviewed-by: matsaave, ccheung
2024-06-27 20:10:13 +00:00
Vladimir Ivanov
243bae7dc0 8304693: Remove -XX:-UseVtableBasedCHA
Reviewed-by: kvn, coleenp, dholmes
2024-06-27 18:25:16 +00:00
Vladimir Kozlov
9d986a013d 8335220: C2: Missing check for Opaque4 node in EscapeAnalysis
Reviewed-by: chagedorn, cslucas
2024-06-27 16:06:35 +00:00
Erik Gahlin
0e6b0cbaaa 8334886: jdk/jfr/api/recording/time/TestTimeMultiple.java failed with RuntimeException: getStopTime() > afterStop
Reviewed-by: mgronlun
2024-06-27 15:38:06 +00:00
Daniel Jeliński
b6ffb442ac 8335135: HttpURLConnection#HttpInputStream does not throw IOException when response is truncated
Reviewed-by: dfuchs
2024-06-27 15:14:36 +00:00
Francisco Ferrari Bihurriet
4ab7e98c79 8330842: Support AES CBC with Ciphertext Stealing (CTS) in SunPKCS11
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@openjdk.org>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: valeriep
2024-06-27 15:07:00 +00:00
Axel Boldt-Christmas
5909d54147 8326820: Metadata artificially kept alive
Reviewed-by: eosterlund, stefank, coleenp
2024-06-27 14:21:34 +00:00
Sonia Zaldana Calles
d5375c7db6 8333308: javap --system handling doesn't work on internal class names
Reviewed-by: liach, stuefe
2024-06-27 13:22:04 +00:00
Albert Mingkun Yang
6b961acb87 8333786: Serial: Remove SerialHeap::_incremental_collection_failed
Reviewed-by: tschatzl, iwalulya
2024-06-27 13:03:21 +00:00
Thomas Stuefe
50dd962b0d 8335007: Inline OopMapCache table
Reviewed-by: stefank, coleenp, shade
2024-06-27 12:56:26 +00:00
Albert Mingkun Yang
79a23017fc 8322859: Parallel: Move transform_stack_chunk
Reviewed-by: stefank, tschatzl
2024-06-27 10:23:55 +00:00
Kevin Walls
37e7698c29 8335154: jcmd VM.classes -verbose=false does not set verbose to false
Reviewed-by: dholmes, stuefe
2024-06-27 07:54:35 +00:00
Evemose
f3b69da55a 8335136: Underscore as parameter name in one-parameter functional types fails to compile
Reviewed-by: jlahoda
2024-06-27 07:45:18 +00:00
Matthias Baesken
46b817b749 8333363: ubsan: instanceKlass.cpp: runtime error: member call on null pointer of type 'struct AnnotationArray'
Reviewed-by: coleenp, stefank
2024-06-27 06:53:03 +00:00
Nizar Benalla
0fc5b2711f 8332014: since-checker - Fix @ since tags in jdk.jshell
Reviewed-by: jlahoda
2024-06-27 06:22:17 +00:00
Shaojin Wen
9d20b58f40 8334328: Reduce object allocation for FloatToDecimal and DoubleToDecimal
Reviewed-by: redestad, rgiulietti
2024-06-27 05:13:30 +00:00
Jaikiran Pai
9bb675f89d 8334719: (se) Deferred close of SelectableChannel may result in a Selector doing the final close before concurrent I/O on channel has completed
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: alanb, dfuchs
2024-06-27 04:38:32 +00:00
Vladimir Kozlov
6682305ee2 8334779: Test compiler/c1/CanonicalizeArrayLength.java is timing out
Reviewed-by: thartmann, dlong
2024-06-27 03:34:04 +00:00
Hannes Greule
3796fdfced 8328536: javac - crash on unknown type referenced in yield statement
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Reviewed-by: jlahoda
2024-06-26 23:17:32 +00:00
Anthony Scarpino
07bc523df8 8334670: SSLSocketOutputRecord buffer miscalculation
Reviewed-by: djelinski, ssahoo
2024-06-26 22:28:33 +00:00
Zhengyu Gu
4ebb77120a 8334769: Shenandoah: Move CodeCache_lock close to its use in ShenandoahConcurrentNMethodIterator
Reviewed-by: shade, wkemper, kdnilsen
2024-06-26 20:24:29 +00:00
Xiaolong Peng
817edcb697 8331411: Shenandoah: Reconsider spinning duration in ShenandoahLock
Reviewed-by: shade, kdnilsen, wkemper
2024-06-26 19:25:37 +00:00
Justin Lu
bffc8484c3 8333755: NumberFormat integer only parsing breaks when format has suffix
Reviewed-by: naoto
2024-06-26 17:10:09 +00:00
Sonia Zaldana Calles
b5d589623c 8335108: Build error after JDK-8333658 due to class templates
Reviewed-by: jwaters, jsjolen
2024-06-26 16:20:15 +00:00
Claes Redestad
5883a20b82 8334437: De-duplicate ProxyMethod list creation
Reviewed-by: asotona, liach
2024-06-26 14:46:17 +00:00
Nizar Benalla
8591eff78d 8332103: since-checker - Add missing @ since tags to java.desktop
Reviewed-by: tr, aivanov
2024-06-26 14:39:21 +00:00
Emanuel Peter
8374d16504 8335006: C2 SuperWord: add JMH benchmark VectorLoadToStoreForwarding.java
Reviewed-by: shade, kvn, sviswanathan
2024-06-26 14:12:44 +00:00
Anthony Scarpino
4ffc5e6077 8326705: Test CertMsgCheck.java fails to find alert certificate_required
Reviewed-by: ssahoo, rhalade
2024-06-26 13:58:22 +00:00
Matthias Baesken
efb905e57a 8334618: ubsan: support setting additional ubsan check options
Reviewed-by: stuefe, lucy
2024-06-26 13:37:58 +00:00
Kangcheng Xu
b2ac7259c9 8327380: Add tests for Shenandoah barrier expansion optimization
Reviewed-by: roland, shade
2024-06-26 13:19:34 +00:00
Daniel Fuchs
f23295ec1d 8334600: TEST java/net/MulticastSocket/IPMulticastIF.java fails on linux-aarch64
Reviewed-by: alanb
2024-06-26 10:09:05 +00:00
Hannes Wallnöfer
741a0f39dd 8334241: Adjust API docs side bar dimensions
Reviewed-by: jjg
2024-06-26 09:37:22 +00:00
Maurizio Cimadamore
4ce8822b6c 8334037: Local class creation in lambda in pre-construction context crashes javac
8333313: NullPointerException in lambda instantiating an inner local class in prologue
8333766: Stack overflow with anonymous class in super() parameter
8334679: Wrong bug number in regression test for JDK-8334252

Co-authored-by: Archie Cobbs <acobbs@openjdk.org>
Reviewed-by: jlahoda, vromero
2024-06-26 09:12:02 +00:00
Adam Sotona
7f6804ceb6 8334872: BigEndian: java/lang/invoke/condy Tests failing since JDK-8294960
Reviewed-by: redestad
2024-06-26 09:09:13 +00:00
Thomas Stuefe
e1390056c9 8333994: NMT: call stacks should show source information
Reviewed-by: jsjolen, gziemski
2024-06-26 08:44:17 +00:00
Albert Mingkun Yang
b88af94269 8269870: PS: Membar in PSPromotionManager::copy_unmarked_to_survivor_space could be relaxed
Co-authored-by: Hamlin Li <mli@openjdk.org>
Reviewed-by: mli, kbarrett, tschatzl
2024-06-26 07:40:35 +00:00
Christian Hagedorn
a5f401f3a8 8334650: Add debug information about whether an Assertion Predicate is for the init or last value
Reviewed-by: roland, kvn
2024-06-26 07:09:50 +00:00
Kim Barrett
25c3845be2 8333133: Simplify QuickSort::sort
Reviewed-by: shade, dholmes
2024-06-26 05:15:36 +00:00
Gui Cao
c66f785fb6 8334505: RISC-V: Several tests fail when MaxVectorSize does not match VM_Version::_initial_vector_length
Reviewed-by: fyang
2024-06-26 00:59:49 +00:00
Volodymyr Paprotski
f101e153ce 8333583: Crypto-XDH.generateSecret regression after JDK-8329538
Reviewed-by: sviswanathan, kvn, ascarpino
2024-06-25 22:31:39 +00:00
Coleen Phillimore
b3bf31a0a0 8333542: Breakpoint in parallel code does not work
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Reviewed-by: dholmes, vlivanov
2024-06-25 19:50:58 +00:00
Justin Lu
86b0cf259f 8334653: ISO 4217 Amendment 177 Update
Reviewed-by: naoto
2024-06-25 19:05:22 +00:00
Justin Lu
861aefcafa 8334418: Update IANA Language Subtag Registry to Version 2024-06-14
Reviewed-by: lancea, iris, srl, naoto
2024-06-25 19:05:01 +00:00
Yude Lin
f8bf470b77 8334810: Redo: Un-ProblemList LocaleProvidersRun and CalendarDataRegression
8268379: java/util/Locale/LocaleProvidersRun.java and sun/util/locale/provider/CalendarDataRegression.java timed out

Reviewed-by: naoto, jlu
2024-06-25 18:19:42 +00:00
Quan Anh Mai
933eababf2 8334629: [BACKOUT] PhaseIdealLoop::conditional_move is too conservative
Reviewed-by: epeter, thartmann, jkarthikeyan
2024-06-25 17:10:20 +00:00
Ioi Lam
7429c37e63 8334598: Default classlist in JDK is not deterministic after JDK-8293980
Reviewed-by: ccheung, dholmes, stuefe, erikj
2024-06-25 16:44:41 +00:00
Vladimir Kozlov
9c89f0861c 8334421: assert(!oldbox->is_unbalanced()) failed: this should not be called for unbalanced region
Reviewed-by: vlivanov, thartmann
2024-06-25 16:04:03 +00:00
Johan Sjölen
57f8b91e55 8333658: NMT: Use an allocator with 4-byte pointers to save memory in NativeCallStackStorage
Reviewed-by: stuefe, azafari
2024-06-25 14:37:38 +00:00
Matias Saavedra Silva
6c6793307d 8334899: Test runtime/cds/appcds/javaldr/ExceptionDuringDumpAtObjectsInitPhase.java failed after JDK-8306580
Reviewed-by: iklam, dholmes
2024-06-25 14:07:32 +00:00
Hamlin Li
cae94b268d 8334397: RISC-V: verify perf of ReverseBytesS/US
Reviewed-by: fyang, luhenry
2024-06-25 14:06:03 +00:00
Sean Mullan
75a2afacc8 8248981: Specify list of standard message digest and mgf algorithms for RSASSA-PSS signature
Reviewed-by: valeriep
2024-06-25 12:21:46 +00:00
Kevin Walls
baafa662a2 8334287: Man page update for jstatd deprecation
Reviewed-by: alanb
2024-06-25 09:12:09 +00:00
Neethu Prasad
c30e040342 8331911: Reconsider locking for recently disarmed nmethods
Reviewed-by: shade, eosterlund
2024-06-25 07:08:07 +00:00
Thomas Stuefe
974dca80df 8334223: Make Arena MEMFLAGs immutable
Reviewed-by: jsjolen, azafari, gziemski
2024-06-25 05:06:33 +00:00
Prasanta Sadhukhan
e527e1c32f 8334580: Deprecate no-arg constructor BasicSliderUI() for removal
Reviewed-by: kcr, aivanov, iris, prr
2024-06-25 03:26:18 +00:00
Alisen Chung
3a26bbcebc 8185429: [macos] After a modal dialog is closed, no window becomes active
Reviewed-by: tr, dnguyen, serb
2024-06-25 02:19:57 +00:00
Matias Saavedra Silva
4b153e5e05 8306580: Propagate CDS dumping errors instead of directly exiting the VM
Reviewed-by: iklam, ccheung
2024-06-24 18:19:03 +00:00
Matias Saavedra Silva
71a692ab43 8321033: Avoid casting Array to GrowableArray
Reviewed-by: kbarrett, iklam, ccheung
2024-06-24 18:05:50 +00:00
Erik Gahlin
55c7969461 8334765: JFR: Log chunk waste
Reviewed-by: mgronlun
2024-06-24 14:36:50 +00:00
Adam Sotona
b2930c5aee 8334040: jdk/classfile/CorpusTest.java timed out
Reviewed-by: alanb
2024-06-24 13:34:29 +00:00
Robert Toyonaga
e825ccfe66 8332362: Implement os::committed_in_range for MacOS and AIX
Reviewed-by: stuefe
2024-06-24 13:33:20 +00:00
Coleen Phillimore
5ac2149b7b 8334299: Deprecate LockingMode option, along with LM_LEGACY and LM_MONITOR
Reviewed-by: stuefe, dholmes
2024-06-24 12:37:53 +00:00
Lutz Schmidt
2e64d15144 8334564: VM startup: fatal error: FLAG_SET_ERGO cannot be used to set an invalid value for NonNMethodCodeHeapSize
Reviewed-by: mdoerr, kvn, stuefe
2024-06-24 11:27:18 +00:00
Matthew Donovan
9d4a4bd2c2 8324841: PKCS11 tests still skip execution
Reviewed-by: valeriep
2024-06-24 11:15:33 +00:00
Christian Hagedorn
ca5a438e5a 8334571: Extract control dependency rewiring out of PhaseIdealLoop::dominated_by() into separate method
Reviewed-by: roland, kvn
2024-06-24 08:58:02 +00:00
Aleksey Shipilev
05ff3185ed 8334594: Generational ZGC: Deadlock after OopMap rewrites in 8331572
Reviewed-by: stefank, eosterlund, coleenp, zgu
2024-06-24 08:46:10 +00:00
Johan Sjölen
05a63d80b9 8334489: Add function os::used_memory
Reviewed-by: eosterlund, dholmes, stuefe
2024-06-24 07:51:01 +00:00
Emanuel Peter
edf7f055ee 8334083: C2 SuperWord: TestCompatibleUseDefTypeSize.java fails with -XX:+AlignVector after JDK-8325155
Reviewed-by: chagedorn, kvn
2024-06-24 07:14:57 +00:00
Richard Reingruber
13dce296fc 8334560: [PPC64]: postalloc_expand_java_dynamic_call_sched does not copy all fields
Reviewed-by: mbaesken, mdoerr
2024-06-24 06:33:39 +00:00
Axel Boldt-Christmas
863b2a991d 8329994: Zap alignment padding bits for ArrayOops in non-release builds
Reviewed-by: ayang, sjohanss
2024-06-24 06:06:45 +00:00
Zhao Song
a4582a8957 8334166: Enable binary check
Reviewed-by: kcr, ihse, prr, erikj
2024-06-24 05:15:32 +00:00
SendaoYan
7baddc202a 8334339: Test java/nio/file/attribute/BasicFileAttributeView/CreationTime.java fails on alinux3
Reviewed-by: alanb
2024-06-23 18:00:28 +00:00
Johan Sjölen
eb110bdc6e 8334180: NMT gtests introduced with 8312132 should be labeled as NMT
Reviewed-by: gziemski, stuefe
2024-06-23 12:33:38 +00:00
Johan Sjölen
652784c803 8334392: Switch RNG in NMT's treap
Reviewed-by: stuefe, azafari, gziemski
2024-06-23 08:19:28 +00:00
Hannes Greule
72ca7bafcd 8334708: FFM: two javadoc problems
Reviewed-by: mcimadamore
2024-06-22 12:16:50 +00:00
Chen Liang
7e55ed3b10 8333748: javap crash - Fatal error: Unmatched bit position 0x2 for location CLASS
Reviewed-by: asotona
2024-06-21 22:38:38 +00:00
Nizar Benalla
1ff5acdaff 8332099: since-checker - Add @ since to package-info in jdk.jsobject
Reviewed-by: prr
2024-06-21 20:13:26 +00:00
Prasanta Sadhukhan
689cee3d09 8334509: Cancelling PageDialog does not return the same PageFormat object
Reviewed-by: aivanov, prr
2024-06-21 18:02:57 +00:00
Rajan Halade
8e1d2b091c 8334441: Mark tests in jdk_security_infra group as manual
Reviewed-by: clanger, mullan
2024-06-21 16:37:57 +00:00
SendaoYan
93d9802764 8334715: [riscv] Mixed use of tab and whitespace in riscv.ad
Reviewed-by: chagedorn, amitkumar
2024-06-21 15:48:38 +00:00
Jie Fu
c41293a708 8334695: Fix build failure without zgc after JDK-8333300
Reviewed-by: dnsimon, chagedorn
2024-06-21 14:23:38 +00:00
Ferenc Rakoczi
75bea280b9 8333867: SHA3 performance can be improved
Reviewed-by: kvn, valeriep
2024-06-21 14:16:23 +00:00
Kevin Walls
9f8de221d7 8327793: Deprecate jstatd for removal
Reviewed-by: alanb, cjplummer
2024-06-21 13:51:06 +00:00
Doug Simon
dbf5a9a400 8334706: [JVMCI] APX registers incorrectly exposed on AMD64
Reviewed-by: yzheng, never
2024-06-21 13:43:03 +00:00
Archie Cobbs
08ace27da1 8332314: Add window size configuration option to JavaShellToolBuilder interface
Reviewed-by: jlahoda
2024-06-21 10:44:51 +00:00
Tejesh R
711e723819 6967482: TAB-key does not work in JTables after selecting details-view in JFileChooser
8166352: FilePane.createDetailsView() removes JTable TAB, SHIFT-TAB functionality

Reviewed-by: achung, prr
2024-06-21 10:36:05 +00:00
Daniel Fuchs
d2bebffb1f 8327370: (ch) sun.nio.ch.Poller.register throws AssertionError
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: alanb, jpai, djelinski
2024-06-21 09:43:49 +00:00
Matthias Baesken
ed149062d0 8333361: ubsan,test : libHeapMonitorTest.cpp:518:9: runtime error: null pointer passed as argument 2, which is declared to never be null
Reviewed-by: asteiner, lucy, amenkov
2024-06-21 08:38:42 +00:00
Erik Gahlin
bdd96604ae 8323196: jdk/jfr/api/consumer/filestream/TestOrdered.java failed with "Events are not ordered! Reuse = false"
Reviewed-by: mgronlun
2024-06-21 07:36:02 +00:00
Matthias Baesken
6a5cb0b2c4 8334567: [test] runtime/os/TestTracePageSizes move ppc handling
Reviewed-by: stuefe, lucy
2024-06-21 07:04:26 +00:00
Vladimir Kozlov
880e458a10 8333819: Move embedded external addresses from relocation info into separate global table
Reviewed-by: dlong
2024-06-21 00:24:55 +00:00
Jatin Bhateja
e5de26ddf0 8329032: C2 compiler register allocation support for APX EGPRs
Reviewed-by: kvn, sviswanathan
2024-06-20 23:35:15 +00:00
Coleen Phillimore
4b4a483b6f 8330699: Obsolete -XX:+UseEmptySlotsInSupers
Reviewed-by: shade, fparain, dholmes
2024-06-20 19:03:50 +00:00
Tom Rodriguez
187710e1c1 8333300: [JVMCI] add support for generational ZGC
Reviewed-by: dnsimon, kvn, eosterlund
2024-06-20 18:46:36 +00:00
SendaoYan
de8ee97718 8334333: MissingResourceCauseTestRun.java fails if run by root
Reviewed-by: naoto, jlu
2024-06-20 18:04:58 +00:00
Naoto Sato
265a0f5547 8334490: Normalize string with locale invariant toLowerCase()
Reviewed-by: jlu, dfuchs, lancea, rriggs
2024-06-20 17:01:17 +00:00
Pavel Rappo
1b1dba8082 8333358: java/io/IO/IO.java test fails intermittently
Reviewed-by: naoto
2024-06-20 16:28:48 +00:00
Leonid Mesnik
a81e1bf1e1 8332252: Clean up vmTestbase/vm/share
Reviewed-by: cjplummer
2024-06-20 15:43:56 +00:00
Leonid Mesnik
99e4d77aac 8333117: Remove support of remote and manual debuggee launchers
Reviewed-by: cjplummer
2024-06-20 15:43:44 +00:00
Abhishek Kumar
9ef86da5f8 8334170: bug6492108.java test failed with exception Image comparison failed at (0, 0) for image 4
Reviewed-by: aivanov, azvegint
2024-06-20 15:42:17 +00:00
Gui Cao
001d686019 8332587: RISC-V: secondary_super_cache does not scale well
Reviewed-by: mli, fyang
2024-06-20 13:45:31 +00:00
Nizar Benalla
5cad0b4df7 8322708: Global HTML attributes are not allowed
Reviewed-by: jjg
2024-06-20 11:53:02 +00:00
Hamlin Li
642084629a 8334396: RISC-V: verify perf of ReverseBytesI/L
Reviewed-by: fyang, rehn
2024-06-20 10:10:54 +00:00
Thomas Stuefe
c6f3bf4bd6 8334026: Provide a diagnostic PrintMemoryMapAtExit switch on Linux
Reviewed-by: dholmes, mbaesken
2024-06-20 08:30:52 +00:00
Sonia Zaldana Calles
cabd1046d0 8334164: The fix for JDK-8322811 should use _filename.is_set() rather than strcmp()
Reviewed-by: dholmes, cjplummer
2024-06-20 08:28:06 +00:00
Roland Westrelin
d7dad50af5 8334544: C2: wrong control assigned in PhaseIdealLoop::clone_assertion_predicate_for_unswitched_loops()
Reviewed-by: chagedorn, thartmann
2024-06-20 07:14:01 +00:00
Matthias Baesken
ff30240926 8334239: Introduce macro for ubsan method/function exclusions
Reviewed-by: stefank, stuefe, kbarrett
2024-06-20 06:15:19 +00:00
Erik Österlund
2d4185f4f1 8332717: ZGC: Division by zero in heuristics
Reviewed-by: aboldtch, shade
2024-06-20 05:23:08 +00:00
Sibabrata Sahoo
fad6644eab 8333754: Add a Test against ECDSA and ECDH NIST Test vector
Reviewed-by: ascarpino
2024-06-20 04:18:39 +00:00
Sonia Zaldana Calles
b211929e05 8334570: Problem list gc/TestAlwaysPreTouchBehavior.java
Reviewed-by: ayang, tschatzl
2024-06-20 01:36:05 +00:00
Joe Darcy
4e58d8c897 8309821: Link to hidden classes section in Class specification for Class::isHidden
Reviewed-by: iris, rriggs
2024-06-19 23:23:52 +00:00
Magnus Ihse Bursie
78682fe78e 8329288: Update Visual Studio visibility support for POSIX functions
Reviewed-by: kbarrett
2024-06-19 19:12:31 +00:00
Kevin Walls
bcf4bb4882 8333344: JMX attaching of Subject does not work when security manager not allowed
Reviewed-by: weijun, dfuchs
2024-06-19 16:35:20 +00:00
Erik Gahlin
856931d01f 8304732: jdk/jfr/api/consumer/recordingstream/TestStop.java failed again with "Expected outer stream to have 3 events"
Reviewed-by: mgronlun
2024-06-19 16:23:22 +00:00
Adam Sotona
01ee4241b7 8294960: Convert java.base/java.lang.invoke package to use the Classfile API to generate lambdas and method handles
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad, liach
2024-06-19 15:15:30 +00:00
Daniel Fuchs
50bed6c67b 8334297: (so) java/nio/channels/SocketChannel/OpenLeak.java should not depend on SecurityManager
Reviewed-by: alanb
2024-06-19 10:54:13 +00:00
Archie Cobbs
7b3a96d570 8334488: Improve error for illegal early access from nested class
Reviewed-by: mcimadamore
2024-06-19 10:45:34 +00:00
Inigo Mediavilla Saiz
07ebda54f2 8334215: serviceability/dcmd/thread/PrintMountedVirtualThread.java failing with JTREG_TEST_THREAD_FACTORY=Virtual
Reviewed-by: dholmes
2024-06-19 10:35:32 +00:00
Yudi Zheng
2165a053e8 8334399: [JVMCI] Implement JVMCICompiler::is_intrinsic_supported
Reviewed-by: dnsimon
2024-06-19 09:04:12 +00:00
Christian Hagedorn
48621ae193 8331168: Introduce PredicateEntryIterator to iterate through predicate entries
Reviewed-by: roland, kvn
2024-06-19 06:45:04 +00:00
Archie Cobbs
e227c7e37d 8334258: Compiler erronousely allows access to instance variable in argument expression of a constructor invocation
Reviewed-by: mcimadamore
2024-06-18 23:23:39 +00:00
Alisen Chung
2ce85d9635 8291472: [macos] jawt 1.4 lock/unlock not supported
Reviewed-by: serb
2024-06-18 21:31:16 +00:00
Emanuel Peter
e965d70a74 8333876: C2 SuperWord: regression after JDK-8325155: failed: internal connection
Reviewed-by: kvn, roland
2024-06-18 16:15:09 +00:00
Vladimir Kozlov
6f860f8f6f 8334430: Clean up nativeInst_x86.*
Reviewed-by: jwaters, jiefu
2024-06-18 14:48:46 +00:00
Sonia Zaldana Calles
8bc2fbe578 8333769: Pretouching tests dont test pretouching
Reviewed-by: stuefe, asmehra
2024-06-18 14:05:11 +00:00
Chen Liang
91bd85d65d 8333854: IllegalAccessError with proxies after JDK-8332457
Reviewed-by: redestad, asotona
2024-06-18 13:51:50 +00:00
nibjen
e681b4e9b3 8332524: Instead of printing "TLSv1.3," it is showing "TLS13"
Reviewed-by: mullan
2024-06-18 13:28:37 +00:00
Roland Westrelin
fa401f37df 8333805: Replaying compilation with null static final fields results in a crash
Reviewed-by: thartmann, dlong
2024-06-18 12:08:57 +00:00
SendaoYan
472b935b44 8334332: TestIOException.java fails if run by root
Reviewed-by: prappo
2024-06-18 10:24:43 +00:00
Roberto Castañeda Lozano
614b99a8f8 8334442: Temporarily disable return type assertion to reduce noise in testing
Reviewed-by: thartmann, chagedorn
2024-06-18 09:48:31 +00:00
Archie Cobbs
d4c1373717 8334043: VerifyError when inner class is accessed in prologue
Reviewed-by: mcimadamore
2024-06-18 08:42:44 +00:00
Albert Mingkun Yang
b42fe86e81 8334097: Parallel: Obsolete HeapFirstMaximumCompactionCount
Reviewed-by: tschatzl, dholmes
2024-06-18 08:33:02 +00:00
Albert Mingkun Yang
0665195e59 8334293: G1: Refactor G1ConcurrentMark::update_top_at_rebuild_start
Reviewed-by: tschatzl, iwalulya
2024-06-18 08:27:26 +00:00
Christian Stein
99fefec092 8331431: Update to use jtreg 7.4
Reviewed-by: ihse, erikj, jpai
2024-06-18 07:25:17 +00:00
Martin Doerr
0199fee431 8333639: ubsan: cppVtables.cpp:81:55: runtime error: index 14 out of bounds for type 'long int [1]'
Reviewed-by: aboldtch, mbaesken, kbarrett
2024-06-18 06:48:26 +00:00
Gui Cao
e95f092862 8333964: RISC-V: C2: Check "requires_strict_order" flag for floating-point add reduction
Reviewed-by: fyang
2024-06-18 05:24:33 +00:00
Phil Race
ba5a4670b8 8332854: Unable to build openjdk with --with-harfbuzz=system
Reviewed-by: jwaters, erikj, jdv, ihse
2024-06-17 19:37:32 +00:00
Thomas Stuefe
801bf15f02 8332105: Exploded JDK does not include CDS
Reviewed-by: dholmes, iklam
2024-06-17 17:27:01 +00:00
Albert Mingkun Yang
c94af6f943 8333962: Obsolete OldSize
Reviewed-by: dholmes, zgu
2024-06-17 15:50:55 +00:00
Markus Grönlund
cdf22b1320 8326715: ZGC: RunThese24H fails with ExitCode 139 during shutdown
Reviewed-by: egahlin
2024-06-17 12:57:09 +00:00
Gui Cao
ef7923e127 8334078: RISC-V: TestIntVect.java fails after JDK-8332153 when running without RVV
Reviewed-by: fyang, mli
2024-06-17 11:35:41 +00:00
Martin Doerr
0d1080d194 8331117: [PPC64] secondary_super_cache does not scale well
Reviewed-by: rrich, amitkumar
2024-06-17 09:30:48 +00:00
Matthias Baesken
113a2c028d 8332903: ubsan: opto/output.cpp:1002:18: runtime error: load of value 171, which is not a valid value for type 'bool'
Reviewed-by: kvn, mdoerr
2024-06-17 08:57:57 +00:00
Aleksey Shipilev
d751441b76 8330586: GHA: Drop additional gcc/glibc packages installation for x86_32
Reviewed-by: ihse
2024-06-17 08:23:39 +00:00
Matthias Baesken
5e09397bf6 8334222: exclude containers/cgroup/PlainRead.java
Reviewed-by: lucy
2024-06-17 08:06:20 +00:00
Emanuel Peter
7b38bfea33 8333729: C2 SuperWord: remove some @requires usages in test/hotspot/jtreg/compiler/loopopts/superword
Reviewed-by: chagedorn, kvn
2024-06-17 07:00:03 +00:00
Emanuel Peter
29b6392838 8334228: C2 SuperWord: fix JDK-24 regression in VPointer::cmp_for_sort after JDK-8325155
Reviewed-by: chagedorn, kvn
2024-06-17 06:58:55 +00:00
Liming Liu
31e8debae6 8324781: runtime/Thread/TestAlwaysPreTouchStacks.java failed with Expected a higher ratio between stack committed and reserved
8325218: gc/parallel/TestAlwaysPreTouchBehavior.java fails

Reviewed-by: stefank, jsjolen, stuefe
2024-06-17 06:16:26 +00:00
Leonid Mesnik
8464ce6db5 8332113: Update nsk.share.Log to be always verbose
Reviewed-by: sspitsyn, cjplummer
2024-06-14 15:32:19 +00:00
Leonid Mesnik
548e95a689 8330702: Update failure handler to don't generate Error message if cores actions are empty
Reviewed-by: sspitsyn
2024-06-14 15:32:04 +00:00
Archie Cobbs
dae0bda9d0 8334252: Verifier error for lambda declared in early construction context
Reviewed-by: mcimadamore
2024-06-14 14:53:05 +00:00
Roland Westrelin
b5212d7bfe 8328107: Shenandoah/C2: TestVerifyLoopOptimizations test failure
Reviewed-by: shade
2024-06-14 13:50:21 +00:00
Jaikiran Pai
efab48c065 8333714: Cleanup the usages of CHECK_EXCEPTION_NULL_FAIL macro in java launcher
Reviewed-by: alanb
2024-06-14 12:48:43 +00:00
Robert Toyonaga
cc64aeac47 8332400: isspace argument should be a valid unsigned char
Reviewed-by: dholmes, amitkumar, stuefe, jwaters
2024-06-14 09:32:52 +00:00
Gui Cao
9b0a5c5cd0 8333248: VectorGatherMaskFoldingTest.java failed when maximum vector bits is 64
Reviewed-by: dfenacci, fyang
2024-06-14 09:19:04 +00:00
Matthias Baesken
6861766b63 8332818: ubsan: archiveHeapLoader.cpp:70:27: runtime error: applying non-zero offset 18446744073707454464 to null pointer
Reviewed-by: stuefe, lucy
2024-06-14 07:13:22 +00:00
Ioi Lam
b818679eba 8293980: Resolve CONSTANT_FieldRef at CDS dump time
Reviewed-by: erikj, matsaave, heidinga
2024-06-14 06:06:24 +00:00
Calvin Cheung
eb2488fd17 8330198: Add some class loading related perf counters to measure VM startup
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: iklam, dholmes
2024-06-14 01:18:30 +00:00
Damon Nguyen
c4702ca8c0 8333827: JDK 23 RDP1 L10n resource files update
Reviewed-by: achung, jlu, naoto, joehw, prappo, cjplummer, asemenyuk, prr
2024-06-13 21:27:56 +00:00
Raffaello Giulietti
bb7ef03077 8333599: Improve description of \b matcher in j.u.r.Pattern
Reviewed-by: smarks, alanb
2024-06-13 20:55:48 +00:00
Marc R. Hoffmann
0721dbe442 8334032: javax.print: Missing @since tag in new class OutputBin
Reviewed-by: prr
2024-06-13 19:44:10 +00:00
Sonia Zaldana Calles
6462b87336 8333685: Make update-copyright-year script more useful
Reviewed-by: erikj, stuefe
2024-06-13 19:38:39 +00:00
Emanuel Peter
b09a45163c 8333840: C2 SuperWord: wrong result for MulAddS2I when inputs permuted
Reviewed-by: kvn, chagedorn
2024-06-13 18:11:36 +00:00
Viktor Klang
cff048c735 8334162: Gatherer.defaultCombiner has an erronous @see-link
Reviewed-by: jpai, alanb
2024-06-13 16:30:27 +00:00
Larry Cable
814cf87930 8313562: hsperfdata should export module path and "launcher" metadata
Reviewed-by: dholmes, kevinw
2024-06-13 16:28:04 +00:00
Jayathirth D V
9ed8629e5d 8333801: Typos in @code references of BufferedImage and JTableHeader
Reviewed-by: abhiscxk, prr
2024-06-13 15:50:53 +00:00
Matthias Baesken
0d3a3771c3 8333887: ubsan: unsafe.cpp:247:13: runtime error: store to null pointer of type 'volatile int'
Reviewed-by: lucy, mdoerr
2024-06-13 14:02:01 +00:00
Christoph Langer
9d8439c107 8211854: [aix] java/net/ServerSocket/AcceptInheritHandle.java fails: read times out
Reviewed-by: dfuchs, jpai
2024-06-13 13:16:38 +00:00
Christoph Langer
f5213671f7 8211847: [aix] java/lang/ProcessHandle/InfoTest.java fails: "reported cputime less than expected"
Reviewed-by: stuefe
2024-06-13 13:14:54 +00:00
Matthias Baesken
f8c657f671 8334123: log the opening of Type 1 fonts
Reviewed-by: prr
2024-06-13 13:13:19 +00:00
Matthias Baesken
57b6481449 8333277: ubsan: mlib_ImageScanPoly.c:292:43: runtime error: division by zero
Reviewed-by: prr
2024-06-13 12:45:32 +00:00
Thomas Stuefe
5528ad7490 8334179: VMATreeTest.TestConsistencyWithSimpleTracker_vm runs 50+ seconds
Reviewed-by: jsjolen
2024-06-13 08:38:04 +00:00
Emanuel Peter
5d2a19def1 8333684: C2 SuperWord: multiple smaller refactorings in preparation for JDK-8332163
Reviewed-by: chagedorn, kvn
2024-06-13 06:35:26 +00:00
Abhishek Kumar
301bd70856 8311110: multichar warning in WinAccessBridge.cpp
Reviewed-by: djelinski, jwaters, prr
2024-06-13 04:49:58 +00:00
David Holmes
238162a3b8 8322064: Remove expired flags in JDK 24
Reviewed-by: kvn, stuefe
2024-06-13 02:53:48 +00:00
Inigo Mediavilla Saiz
fcedde8042 8330846: Add stacks of mounted virtual threads to the HotSpot thread dump
Reviewed-by: dholmes, alanb
2024-06-12 23:18:27 +00:00
Ben Perez
74468bc1f3 8209092: Remove outdated wording from RC5ParameterSpec
Reviewed-by: mullan
2024-06-12 18:59:26 +00:00
Alisen Chung
b697b48a01 8315655: [macos] Right click and dragging over a component with a popup menu will open the popup
Reviewed-by: dnguyen, psadhukhan
2024-06-12 18:44:07 +00:00
Axel Boldt-Christmas
2c1da6c6fa 8332139: SymbolTableHash::Node allocations allocates twice the required memory
Reviewed-by: iwalulya, coleenp
2024-06-12 14:06:53 +00:00
Alexey Semenyuk
ba67ad63ae 8319457: Update jpackage to support WiX v4 and v5 on Windows
Reviewed-by: almatvee
2024-06-12 13:37:03 +00:00
Fei Gao
2c9185eb81 8321308: AArch64: Fix matching predication for cbz/cbnz
Reviewed-by: fyang, adinn, aph
2024-06-12 13:29:45 +00:00
Amit Kumar
5a8a9fdfa5 8333382: [s390x] Enhance popcnt Instruction to use Z15 facilities
Reviewed-by: lucy, aph
2024-06-12 13:24:58 +00:00
Daniel Fuchs
81083a0e10 8299487: Test java/net/httpclient/whitebox/SSLTubeTestDriver.java timed out
Reviewed-by: jpai
2024-06-12 11:29:58 +00:00
Daniel Fuchs
81ca0ece2e 8334028: HttpClient: NPE thrown from assert statement
Reviewed-by: jpai
2024-06-12 10:53:08 +00:00
Doug Simon
bd750b6b78 8319933: Disable tests for JDK-8280481 on Graal
Reviewed-by: chagedorn
2024-06-12 10:03:39 +00:00
Per Minborg
c80e2eb35c 8333886: Explicitly specify that asSlice and reinterpret return a memory segment backed by the same region of memory.
Reviewed-by: jvernee, mcimadamore
2024-06-12 09:35:48 +00:00
Tobias Hartmann
a0318bc873 8334077: Fix problem list entries for compiler tests
Reviewed-by: chagedorn
2024-06-12 09:18:53 +00:00
Matthias Baesken
a7e4ab9300 8333730: ubsan: FieldIndices/libFieldIndicesTest.cpp:276:11: runtime error: null pointer passed as argument 2, which is declared to never be null
Reviewed-by: cjplummer, amenkov
2024-06-12 07:06:29 +00:00
Matthias Baesken
abbf45b57e 8332699: ubsan: jfrEventSetting.inline.hpp:31:43: runtime error: index 163 out of bounds for type 'jfrNativeEventSetting [162]'
Reviewed-by: jbechberger, stuefe
2024-06-12 06:18:31 +00:00
Jaikiran Pai
bd046d9b9e 8222884: ConcurrentClassDescLookup.java times out intermittently
Reviewed-by: rriggs, mbaesken
2024-06-12 05:36:30 +00:00
Prasanta Sadhukhan
1c80ddb8ef 8333940: Ensure javax/swing/TestUngrab.java run on all platforms
Reviewed-by: tr
2024-06-12 05:32:06 +00:00
William Kemper
a7205cc651 8333926: Shenandoah: Lower default immediate garbage threshold
Reviewed-by: kdnilsen, ysr
2024-06-11 22:09:52 +00:00
Leonid Mesnik
56e8e60792 8330534: Update nsk/jdwp tests to use driver instead of othervm
Reviewed-by: sspitsyn, cjplummer
2024-06-11 21:03:20 +00:00
Alexandre Iline
bbd3b1d812 8334036: Update JCov for class file version 68
Reviewed-by: alanb, erikj
2024-06-11 20:10:46 +00:00
Leonid Mesnik
7ed8a5c431 8333841: Add more logging into setfldw001 tests
Reviewed-by: cjplummer, amenkov, sspitsyn
2024-06-11 18:40:20 +00:00
Daniel Jeliński
b77bd5fd6a 8333742: ProcessImpl and ProcessHandleImpl may mishandle processes that exit with code 259
Reviewed-by: rriggs
2024-06-11 17:34:09 +00:00
Renjith Kannath Pariyangad
aaaa86b571 8333360: PrintNullString.java doesn't use float arguments
Reviewed-by: aivanov, abhiscxk, achung
2024-06-11 11:47:19 +00:00
Christian Hagedorn
ef101f1bf2 8332920: C2: Partial Peeling is wrongly applied for CmpU with negative limit
Reviewed-by: kvn, thartmann, epeter
2024-06-11 11:32:12 +00:00
Albert Mingkun Yang
28437459fb 8333972: Parallel: Remove unused methods in PSOldGen
Reviewed-by: iwalulya
2024-06-11 11:23:53 +00:00
Albert Mingkun Yang
93f3918ee1 8333954: Parallel: Remove unused arguments of type ParCompactionManager*
Reviewed-by: iwalulya
2024-06-11 08:37:47 +00:00
Albert Mingkun Yang
788b876ebd 8333917: G1: Refactor G1CollectedHeap::register_old_region_with_region_attr
Reviewed-by: gli, tschatzl
2024-06-11 07:53:53 +00:00
Bhavana Kilambi
0e4d4a0c31 8320725: AArch64: C2: Add "requires_strict_order" flag for floating-point add and mul reduction
Co-authored-by: Eric Liu <eliu@openjdk.org>
Reviewed-by: gli, epeter, aph
2024-06-11 07:16:56 +00:00
Albert Mingkun Yang
badf1cb9ce 8331675: gtest CollectorPolicy.young_min_ergo_vm fails after 8272364
Reviewed-by: tschatzl, zgu, gli
2024-06-11 06:57:05 +00:00
Robbin Ehn
4d6064a760 8333649: Allow different NativeCall encodings
Reviewed-by: kvn, mli
2024-06-11 05:48:16 +00:00
Serguei Spitsyn
fe9c63cf73 8333931: Problemlist serviceability/jvmti/vthread/CarrierThreadEventNotification
Reviewed-by: serb
2024-06-11 05:35:33 +00:00
Jaikiran Pai
41c88bc395 8333756: java/lang/instrument/NativeMethodPrefixApp.java failed due to missing intrinsic
Reviewed-by: amenkov, cjplummer
2024-06-11 03:48:03 +00:00
David Holmes
3a01b47ac9 8330205: Initial troff manpage generation for JDK 24
Reviewed-by: alanb, iris
2024-06-11 01:05:19 +00:00
Vladimir Kozlov
9691153755 8329141: Obsolete RTM flags and code
Reviewed-by: chagedorn
2024-06-10 17:58:22 +00:00
Joe Darcy
13642cb4b8 8333828: Use value javadoc tag in java.lang.{Float, Double}
Reviewed-by: liach, rgiulietti
2024-06-10 17:15:32 +00:00
Matthew Donovan
b25476200a 8333829: ProblemList sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java due to JDK-8333317
Reviewed-by: mullan
2024-06-10 15:41:30 +00:00
Albert Mingkun Yang
b68609f80d 8333779: Parallel: Remove Summary phase related debug print during Full GC
Reviewed-by: tschatzl
2024-06-10 15:23:41 +00:00
Albert Mingkun Yang
6ea28fb30c 8333641: Serial: Remove Generation::supports_tlab_allocation
Reviewed-by: tschatzl
2024-06-10 15:23:32 +00:00
Gui Cao
ce5727df44 8333652: RISC-V: compiler/vectorapi/VectorGatherMaskFoldingTest.java fails when using RVV
Reviewed-by: fyang
2024-06-10 13:44:43 +00:00
Sonia Zaldana Calles
e0afe0b5e4 8326085: Remove unnecessary UpcallContext constructor
Reviewed-by: kbarrett, stuefe
2024-06-10 13:41:56 +00:00
Kuai Wei
2a242db01e 8325821: [REDO] use "dmb.ishst+dmb.ishld" for release barrier
Reviewed-by: shade, aph
2024-06-10 12:57:03 +00:00
Alan Bateman
e7dc76b577 8333849: (dc) DatagramChannel send/receive fails with UOE if buffer backed by memory segment allocated from shared arena
Reviewed-by: dfuchs
2024-06-10 12:47:09 +00:00
Daniel Fuchs
ec1664e8c9 8333804: java/net/httpclient/ForbiddenHeadTest.java threw an exception with 0 failures
Reviewed-by: jpai
2024-06-10 12:44:36 +00:00
Thomas Stuefe
e22fc121ae 8333775: Small improvement to outputStream auto-indentation mode
Reviewed-by: jsjolen, mbaesken
2024-06-10 12:33:32 +00:00
Claes Redestad
7b43a8cd7c 8333824: Unused ClassValue in VarHandles
Reviewed-by: mcimadamore
2024-06-10 10:05:14 +00:00
Volker Simonis
5f9d3e3af8 8333722: Fix CompilerDirectives for non-compiler JVM variants
Reviewed-by: kvn
2024-06-10 09:37:43 +00:00
Thomas Stuefe
83b34410e3 8322811: jcmd System.dump_map help info has conflicting statements
Reviewed-by: dholmes, kevinw
2024-06-10 09:00:05 +00:00
Shaojin Wen
8aa35cacfc 8333833: Remove the use of ByteArrayLittleEndian from UUID::toString
Reviewed-by: liach, redestad
2024-06-10 08:18:27 +00:00
Matthias Baesken
de55db2352 8333522: JFR SwapSpace event might read wrong free swap space size
Reviewed-by: sgehwolf, lucy
2024-06-10 08:14:23 +00:00
Jatin Bhateja
a941397327 8329031: CPUID feature detection for Advanced Performance Extensions (Intel® APX)
Reviewed-by: sviswanathan, kvn
2024-06-09 00:47:23 +00:00
Chen Liang
8d2f9e57c3 8333749: Consolidate ConstantDesc conversion in java.base
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad, jvernee
2024-06-08 13:05:36 +00:00
Amit Kumar
a6fc2f839a 8333412: [s390x] Add support for branch on count instruction
Reviewed-by: lucy, mdoerr
2024-06-08 04:41:45 +00:00
Joe Darcy
cf677c901e 8333823: Update --release 23 symbol information for JDK 23 build 26
Reviewed-by: iris, jjg
2024-06-07 20:38:17 +00:00
Neethu Prasad
18e7d7b5e7 8333716: Shenandoah: Check for disarmed method before taking the nmethod lock
Reviewed-by: shade, ysr, wkemper
2024-06-07 20:03:10 +00:00
Elif Aslan
c37d02aef3 8312412: Uninitialized klassVtable::_verify_count field
Reviewed-by: shade, phh
2024-06-07 19:32:57 +00:00
Alex Menkov
17bd483ff0 8333680: com/sun/tools/attach/BasicTests.java fails with "SocketException: Permission denied: connect"
Reviewed-by: sspitsyn, kevinw, lmesnik
2024-06-07 19:30:37 +00:00
Sonia Zaldana Calles
512b2b4f14 8330420: Inverted use of DisplayVMOutputToStderr in ostream_exit
Reviewed-by: jsjolen, stuefe
2024-06-07 17:36:30 +00:00
Scott Gibbons
8e72d7cf8e 8320448: Accelerate IndexOf using AVX2
Reviewed-by: epeter, kvn, sviswanathan
2024-06-07 17:02:14 +00:00
Naoto Sato
25ad86234a 8332161: Test restoring echo in the Console implementation (java.base)
Reviewed-by: joehw, prappo
2024-06-07 16:22:02 +00:00
Jorn Vernee
ee82346bd5 8325984: 4 jcstress tests are failing in Tier6 4 times each
Reviewed-by: shade
2024-06-07 15:40:59 +00:00
Claes Redestad
d744059b5b 8333774: Avoid eagerly loading various EmptySpliterator classes
Reviewed-by: liach, pminborg
2024-06-07 14:50:29 +00:00
SendaoYan
d130d2f4f4 8333477: Delete extra empty spaces in Makefiles
Reviewed-by: erikj, chagedorn, liach, jwaters
2024-06-07 13:36:05 +00:00
Johan Sjölen
486dee2cf4 8333653: Remove MallocHeader::get_stack
Reviewed-by: stuefe
2024-06-07 12:17:52 +00:00
Varada M
40b2fbd820 8331733: [PPC64] saving and restoring CR is not needed at most places
Reviewed-by: mdoerr, amitkumar
2024-06-07 08:50:41 +00:00
Varada M
6968770b1e 8331935: Add support for primitive array C1 clone intrinsic in PPC
Reviewed-by: mdoerr, amitkumar
2024-06-07 08:24:15 +00:00
Albert Mingkun Yang
a2030fff98 8332516: Serial: Always sample promoted bytes to avoid getting stuck in Full GCs
Reviewed-by: iwalulya, tschatzl
2024-06-07 08:12:38 +00:00
Thomas Stuefe
bf7f1c41cc 8333211: NMT Reports: replace manual indentation handling with auto indent
Reviewed-by: jsjolen, asmehra
2024-06-07 07:34:58 +00:00
Matthias Baesken
8ffc35d117 8333724: Problem list security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#teliasonerarootcav1
Reviewed-by: lucy, serb
2024-06-07 07:12:55 +00:00
Richard Reingruber
f7862bd6b9 8331311: C2: Big Endian Port of 8318446: optimize stores into primitive arrays by combining values into larger store
Reviewed-by: epeter, kvn
2024-06-07 06:16:03 +00:00
Emanuel Peter
b4beda21b4 8332537: C2: High memory usage reported for compiler/loopopts/superword/TestAlignVectorFuzzer.java
Reviewed-by: kvn, thartmann, stuefe
2024-06-07 05:07:03 +00:00
Emanuel Peter
e5383d710c 8333713: C2 SuperWord: cleanup in vectornode.cpp/hpp
Reviewed-by: chagedorn, kvn
2024-06-07 05:04:11 +00:00
Emanuel Peter
944aeb81b1 8325155: C2 SuperWord: remove alignment boundaries
Reviewed-by: chagedorn, kvn
2024-06-07 05:01:23 +00:00
Jaikiran Pai
d8af58941b 8026127: Deflater/Inflater documentation incomplete/misleading
Reviewed-by: lancea
2024-06-07 00:35:51 +00:00
Justin Lu
6238bc8da2 8333456: CompactNumberFormat integer parsing fails when string has no suffix
Reviewed-by: naoto
2024-06-06 20:34:46 +00:00
Kevin Rushforth
2a37764e74 8333743: Change .jcheck/conf branches property to match valid branches
Reviewed-by: erikj, iris
2024-06-06 17:29:58 +00:00
Joe Darcy
75dc2f8518 8330182: Start of release updates for JDK 24
8330183: Add SourceVersion.RELEASE_24
8330184: Add source 24 and target 24 to javac

Reviewed-by: iris, vromero, asotona, dholmes
2024-06-06 16:01:57 +00:00
12041 changed files with 680884 additions and 336383 deletions

68
.github/actions/build-jtreg/action.yml vendored Normal file
View File

@@ -0,0 +1,68 @@
#
# Copyright (c) 2023, 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
# 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.
#
name: 'Build JTReg'
description: 'Build JTReg'
runs:
using: composite
steps:
- name: 'Get JTReg version configuration'
id: version
uses: ./.github/actions/config
with:
var: JTREG_VERSION
- name: 'Check cache for already built JTReg'
id: get-cached
uses: actions/cache@v4
with:
path: jtreg/installed
key: jtreg-${{ steps.version.outputs.value }}
- name: 'Checkout the JTReg source'
uses: actions/checkout@v4
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}
path: jtreg/src
if: (steps.get-cached.outputs.cache-hit != 'true')
- name: 'Build JTReg'
run: |
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$JAVA_HOME_17_X64"
mkdir ../installed
mv build/images/jtreg/* ../installed
working-directory: jtreg/src
shell: bash
if: (steps.get-cached.outputs.cache-hit != 'true')
- name: 'Upload JTReg artifact'
uses: actions/upload-artifact@v4
with:
name: bundles-jtreg-${{ steps.version.outputs.value }}
path: jtreg/installed
retention-days: 1

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
@@ -41,6 +41,6 @@ runs:
id: read-config
run: |
# Extract value from configuration file
value="$(grep -h ${{ inputs.var }}= make/conf/github-actions.conf | cut -d '=' -f 2-)"
value="$(grep -h '^${{ inputs.var }}'= make/conf/github-actions.conf | cut -d '=' -f 2-)"
echo "value=$value" >> $GITHUB_OUTPUT
shell: bash

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, 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

View File

@@ -24,7 +24,7 @@
#
name: 'Get JTReg'
description: 'Download JTReg from cache or source location'
description: 'Get JTReg'
outputs:
path:
description: 'Path to the installed JTReg'
@@ -39,36 +39,12 @@ runs:
with:
var: JTREG_VERSION
- name: 'Check cache for JTReg'
id: get-cached-jtreg
uses: actions/cache@v4
- name: 'Download JTReg artifact'
id: download-jtreg
uses: actions/download-artifact@v4
with:
name: bundles-jtreg-${{ steps.version.outputs.value }}
path: jtreg/installed
key: jtreg-${{ steps.version.outputs.value }}
- name: 'Checkout the JTReg source'
uses: actions/checkout@v4
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}
path: jtreg/src
if: steps.get-cached-jtreg.outputs.cache-hit != 'true'
- name: 'Build JTReg'
run: |
# If runner architecture is x64 set JAVA_HOME_17_X64 otherwise set to JAVA_HOME_17_arm64
if [[ '${{ runner.arch }}' == 'X64' ]]; then
JDK="$JAVA_HOME_17_X64"
else
JDK="$JAVA_HOME_17_arm64"
fi
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$JDK"
mkdir ../installed
mv build/images/jtreg/* ../installed
working-directory: jtreg/src
shell: bash
if: steps.get-cached-jtreg.outputs.cache-hit != 'true'
- name: 'Export path to where JTReg is installed'
id: path-name

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
@@ -45,6 +45,7 @@ runs:
jdk_bundle_tar_gz="$(ls build/*/bundles/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)"
mkdir bundles
@@ -60,8 +61,11 @@ runs:
if [[ "$tests_bundle" != "" ]]; then
mv "$tests_bundle" "bundles/tests-${{ inputs.platform }}${{ inputs.debug-suffix }}.tar.gz"
fi
if [[ "$static_libs_bundle" != "" ]]; then
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" != "" ]]; then
if [[ "$jdk_bundle_zip$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

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
@@ -24,12 +24,19 @@
# questions.
#
# Import common utils
. .github/scripts/report-utils.sh
GITHUB_STEP_SUMMARY="$1"
BUILD_DIR="$(ls -d build/*)"
# Send signal to the do-build action that we failed
touch "$BUILD_DIR/build-failure"
# Collect hs_errs for build-time crashes, e.g. javac, jmod, jlink, CDS.
# These usually land in make/
hs_err_files=$(ls make/hs_err*.log 2> /dev/null || true)
(
echo '### :boom: Build failure summary'
echo ''
@@ -46,6 +53,20 @@ touch "$BUILD_DIR/build-failure"
echo '</details>'
echo ''
for hs_err in $hs_err_files; do
echo "<details><summary><b>View HotSpot error log: "$hs_err"</b></summary>"
echo ''
echo '```'
echo "$hs_err:"
echo ''
cat "$hs_err"
echo '```'
echo '</details>'
echo ''
done
echo ''
echo ':arrow_right: To see the entire test log, click the job in the list to the left. To download logs, see the `failure-logs` [artifact above](#artifacts).'
) >> $GITHUB_STEP_SUMMARY
truncate_summary

View File

@@ -24,6 +24,9 @@
# questions.
#
# Import common utils
. .github/scripts/report-utils.sh
GITHUB_STEP_SUMMARY="$1"
test_suite_name=$(cat build/run-test-prebuilt/test-support/test-last-ids.txt)
@@ -89,18 +92,6 @@ for test in $failures $errors; do
fi
done >> $GITHUB_STEP_SUMMARY
# With many failures, the summary can easily exceed 1024 kB, the limit set by Github
# Trim it down if so.
summary_size=$(wc -c < $GITHUB_STEP_SUMMARY)
if [[ $summary_size -gt 1000000 ]]; then
# Trim to below 1024 kB, and cut off after the last detail group
head -c 1000000 $GITHUB_STEP_SUMMARY | tac | sed -n -e '/<\/details>/,$ p' | tac > $GITHUB_STEP_SUMMARY.tmp
mv $GITHUB_STEP_SUMMARY.tmp $GITHUB_STEP_SUMMARY
(
echo ''
echo ':x: **WARNING: Summary is too large and has been truncated.**'
echo ''
) >> $GITHUB_STEP_SUMMARY
fi
echo ':arrow_right: To see the entire test log, click the job in the list to the left.' >> $GITHUB_STEP_SUMMARY
truncate_summary

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

41
.github/scripts/report-utils.sh vendored Normal file
View File

@@ -0,0 +1,41 @@
#!/bin/bash
#
# Copyright (c) 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
# 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.
#
function truncate_summary() {
# With large hs_errs, the summary can easily exceed 1024 kB, the limit set by Github
# Trim it down if so.
summary_size=$(wc -c < $GITHUB_STEP_SUMMARY)
if [[ $summary_size -gt 1000000 ]]; then
# Trim to below 1024 kB, and cut off after the last detail group
head -c 1000000 $GITHUB_STEP_SUMMARY | tac | sed -n -e '/<\/details>/,$ p' | tac > $GITHUB_STEP_SUMMARY.tmp
mv $GITHUB_STEP_SUMMARY.tmp $GITHUB_STEP_SUMMARY
(
echo ''
echo ':x: **WARNING: Summary is too large and has been truncated.**'
echo ''
) >> $GITHUB_STEP_SUMMARY
fi
}

112
.github/workflows/build-alpine-linux.yml vendored Normal file
View File

@@ -0,0 +1,112 @@
#
# Copyright (c) 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
# 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.
#
name: 'Build (alpine-linux)'
on:
workflow_call:
inputs:
platform:
required: true
type: string
extra-conf-options:
required: false
type: string
make-target:
required: false
type: string
default: 'product-bundles test-bundles'
debug-levels:
required: false
type: string
default: '[ "debug", "release" ]'
apk-extra-packages:
required: false
type: string
configure-arguments:
required: false
type: string
make-arguments:
required: false
type: string
jobs:
build-linux:
name: build
runs-on: ubuntu-22.04
container:
image: alpine:3.20
strategy:
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'
uses: actions/checkout@v4
- name: 'Install toolchain and dependencies'
run: |
apk update
apk add alpine-sdk alsa-lib-dev autoconf bash cups-dev cups-libs fontconfig-dev freetype-dev grep libx11-dev libxext-dev libxrandr-dev libxrender-dev libxt-dev libxtst-dev linux-headers wget zip ${{ inputs.apk-extra-packages }}
- name: 'Get the BootJDK'
id: bootjdk
uses: ./.github/actions/get-bootjdk
with:
platform: alpine-linux-x64
- name: 'Configure'
run: >
bash configure
--with-conf-name=${{ inputs.platform }}
${{ matrix.flags }}
--with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
--with-boot-jdk=${{ steps.bootjdk.outputs.path }}
--with-zlib=system
--with-jmod-compress=zip-1
${{ inputs.extra-conf-options }} ${{ inputs.configure-arguments }} || (
echo "Dumping config.log:" &&
cat config.log &&
exit 1)
- name: 'Build'
id: build
uses: ./.github/actions/do-build
with:
make-target: '${{ inputs.make-target }} ${{ inputs.make-arguments }}'
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'
- name: 'Upload bundles'
uses: ./.github/actions/upload-bundles
with:
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'

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
@@ -131,6 +131,7 @@ jobs:
id: create-sysroot
run: >
sudo debootstrap
--no-merged-usr
--arch=${{ matrix.debian-arch }}
--verbose
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype-dev,libpng-dev
@@ -151,6 +152,9 @@ jobs:
rm -rf sysroot/usr/{sbin,bin,share}
rm -rf sysroot/usr/lib/{apt,gcc,udev,systemd}
rm -rf sysroot/usr/libexec/gcc
# /{bin,sbin,lib}/ are not symbolic links to /usr/{bin,sbin,lib}/ when debootstrap with --no-merged-usr
rm -rf sysroot/{sbin,bin}
rm -rf sysroot/lib/{udev,systemd}
if: steps.create-sysroot.outcome == 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Remove broken sysroot'

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
@@ -133,8 +133,12 @@ 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 }} ${{ inputs.make-arguments }}'
make-target: '${{ inputs.make-target }} ${STATIC_LIBS} ${{ inputs.make-arguments }}'
platform: ${{ inputs.platform }}
debug-suffix: '${{ matrix.suffix }}'

View File

@@ -36,7 +36,7 @@ on:
platforms:
description: 'Platform(s) to execute on (comma separated, e.g. "linux-x64, macos, aarch64")'
required: true
default: 'linux-x64, linux-x86, linux-x64-variants, linux-cross-compile, macos-x64, macos-aarch64, windows-x64, windows-aarch64, docs'
default: 'linux-x64, linux-x64-variants, linux-cross-compile, alpine-linux-x64, macos-x64, macos-aarch64, windows-x64, windows-aarch64, docs'
configure-arguments:
description: 'Additional configure arguments'
required: false
@@ -54,14 +54,17 @@ jobs:
### Determine platforms to include
###
select:
name: 'Select platforms'
prepare:
name: 'Prepare the run'
runs-on: ubuntu-22.04
env:
# List of platforms to exclude by default
EXCLUDED_PLATFORMS: 'alpine-linux-x64'
outputs:
linux-x64: ${{ steps.include.outputs.linux-x64 }}
linux-x86: ${{ steps.include.outputs.linux-x86 }}
linux-x64-variants: ${{ steps.include.outputs.linux-x64-variants }}
linux-cross-compile: ${{ steps.include.outputs.linux-cross-compile }}
alpine-linux-x64: ${{ steps.include.outputs.alpine-linux-x64 }}
macos-x64: ${{ steps.include.outputs.macos-x64 }}
macos-aarch64: ${{ steps.include.outputs.macos-aarch64 }}
windows-x64: ${{ steps.include.outputs.windows-x64 }}
@@ -69,7 +72,19 @@ jobs:
docs: ${{ steps.include.outputs.docs }}
steps:
# This function must be inlined in main.yml, or we'd be forced to checkout the repo
- name: 'Checkout the scripts'
uses: actions/checkout@v4
with:
sparse-checkout: |
.github
make/conf/github-actions.conf
- name: 'Build JTReg'
id: jtreg
uses: ./.github/actions/build-jtreg
# TODO: Now that we are checking out the repo scripts, we can put the following code
# into a separate file
- name: 'Check what jobs to run'
id: include
run: |
@@ -78,6 +93,10 @@ jobs:
# Returns 'true' if the input platform list matches any of the platform monikers given as argument,
# 'false' otherwise.
# arg $1: platform name or names to look for
# Convert EXCLUDED_PLATFORMS from a comma-separated string to an array
IFS=',' read -r -a excluded_array <<< "$EXCLUDED_PLATFORMS"
function check_platform() {
if [[ $GITHUB_EVENT_NAME == workflow_dispatch ]]; then
input='${{ github.event.inputs.platforms }}'
@@ -94,7 +113,13 @@ jobs:
normalized_input="$(echo ,$input, | tr -d ' ')"
if [[ "$normalized_input" == ",," ]]; then
# For an empty input, assume all platforms should run
# For an empty input, assume all platforms should run, except those in the EXCLUDED_PLATFORMS list
for excluded in "${excluded_array[@]}"; do
if [[ "$1" == "$excluded" ]]; then
echo 'false'
return
fi
done
echo 'true'
return
else
@@ -105,15 +130,23 @@ jobs:
return
fi
done
# If not explicitly included, check against the EXCLUDED_PLATFORMS list
for excluded in "${excluded_array[@]}"; do
if [[ "$1" == "$excluded" ]]; then
echo 'false'
return
fi
done
fi
echo 'false'
}
echo "linux-x64=$(check_platform linux-x64 linux x64)" >> $GITHUB_OUTPUT
echo "linux-x86=$(check_platform linux-x86 linux x86)" >> $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
echo "alpine-linux-x64=$(check_platform alpine-linux-x64 alpine-linux x64)" >> $GITHUB_OUTPUT
echo "macos-x64=$(check_platform macos-x64 macos x64)" >> $GITHUB_OUTPUT
echo "macos-aarch64=$(check_platform macos-aarch64 macos aarch64)" >> $GITHUB_OUTPUT
echo "windows-x64=$(check_platform windows-x64 windows x64)" >> $GITHUB_OUTPUT
@@ -126,35 +159,18 @@ jobs:
build-linux-x64:
name: linux-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64 == 'true'
build-linux-x86:
name: linux-x86
needs: select
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x86
gcc-major-version: '10'
gcc-package-suffix: '-multilib'
apt-architecture: 'i386'
# Some multilib libraries do not have proper inter-dependencies, so we have to
# install their dependencies manually.
apt-extra-packages: 'libfreetype-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386 libgcc-s1:i386 libstdc++6:i386 libffi-dev:i386'
extra-conf-options: '--with-target-bits=32 --enable-fallback-linker --enable-libffi-bundling'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x86 == 'true'
if: needs.prepare.outputs.linux-x64 == 'true'
build-linux-x64-hs-nopch:
name: linux-x64-hs-nopch
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -164,11 +180,11 @@ jobs:
extra-conf-options: '--disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-zero:
name: linux-x64-hs-zero
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -178,11 +194,11 @@ 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 }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-minimal:
name: linux-x64-hs-minimal
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -192,11 +208,11 @@ 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 }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-optimized:
name: linux-x64-hs-optimized
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -207,22 +223,31 @@ 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 }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-cross-compile:
name: linux-cross-compile
needs:
- select
needs: prepare
uses: ./.github/workflows/build-cross-compile.yml
with:
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-cross-compile == 'true'
if: needs.prepare.outputs.linux-cross-compile == 'true'
build-alpine-linux-x64:
name: alpine-linux-x64
needs: prepare
uses: ./.github/workflows/build-alpine-linux.yml
with:
platform: alpine-linux-x64
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.prepare.outputs.alpine-linux-x64 == 'true'
build-macos-x64:
name: macos-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-x64
@@ -230,23 +255,23 @@ jobs:
xcode-toolset-version: '14.3.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-x64 == 'true'
if: needs.prepare.outputs.macos-x64 == 'true'
build-macos-aarch64:
name: macos-aarch64
needs: select
needs: prepare
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
runs-on: 'macos-14'
xcode-toolset-version: '14.3.1'
xcode-toolset-version: '15.4'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-aarch64 == 'true'
if: needs.prepare.outputs.macos-aarch64 == 'true'
build-windows-x64:
name: windows-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-x64
@@ -254,11 +279,11 @@ jobs:
msvc-toolset-architecture: 'x86.x64'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-x64 == 'true'
if: needs.prepare.outputs.windows-x64 == 'true'
build-windows-aarch64:
name: windows-aarch64
needs: select
needs: prepare
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-aarch64
@@ -268,11 +293,11 @@ jobs:
extra-conf-options: '--openjdk-target=aarch64-unknown-cygwin'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-aarch64 == 'true'
if: needs.prepare.outputs.windows-aarch64 == 'true'
build-docs:
name: docs
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -284,7 +309,7 @@ jobs:
gcc-major-version: '10'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.docs == 'true'
if: needs.prepare.outputs.docs == 'true'
###
### Test jobs
@@ -300,16 +325,6 @@ jobs:
bootjdk-platform: linux-x64
runs-on: ubuntu-22.04
test-linux-x86:
name: linux-x86
needs:
- build-linux-x86
uses: ./.github/workflows/test.yml
with:
platform: linux-x86
bootjdk-platform: linux-x64
runs-on: ubuntu-22.04
test-macos-x64:
name: macos-x64
needs:
@@ -319,6 +334,7 @@ jobs:
platform: macos-x64
bootjdk-platform: macos-x64
runs-on: macos-13
xcode-toolset-version: '14.3.1'
test-macos-aarch64:
name: macos-aarch64
@@ -329,6 +345,7 @@ jobs:
platform: macos-aarch64
bootjdk-platform: macos-aarch64
runs-on: macos-14
xcode-toolset-version: '15.4'
test-windows-x64:
name: windows-x64
@@ -339,50 +356,3 @@ jobs:
platform: windows-x64
bootjdk-platform: windows-x64
runs-on: windows-2019
# Remove bundles so they are not misconstrued as binary distributions from the JDK project
remove-bundles:
name: 'Remove bundle artifacts'
runs-on: ubuntu-22.04
if: always()
needs:
- build-linux-x64
- build-linux-x86
- build-linux-x64-hs-nopch
- build-linux-x64-hs-zero
- build-linux-x64-hs-minimal
- build-linux-x64-hs-optimized
- build-linux-cross-compile
- build-macos-x64
- build-macos-aarch64
- build-windows-x64
- build-windows-aarch64
- test-linux-x64
- test-linux-x86
- test-macos-x64
- test-windows-x64
steps:
# Hack to get hold of the api environment variables that are only defined for actions
- name: 'Get API configuration'
id: api
uses: actions/github-script@v7
with:
script: 'return { url: process.env["ACTIONS_RUNTIME_URL"], token: process.env["ACTIONS_RUNTIME_TOKEN"] }'
- name: 'Remove bundle artifacts'
run: |
# Find and remove all bundle artifacts
ALL_ARTIFACT_URLS="$(curl -s \
-H 'Accept: application/json;api-version=6.0-preview' \
-H 'Authorization: Bearer ${{ fromJson(steps.api.outputs.result).token }}' \
'${{ fromJson(steps.api.outputs.result).url }}_apis/pipelines/workflows/${{ github.run_id }}/artifacts?api-version=6.0-preview')"
BUNDLE_ARTIFACT_URLS="$(echo "$ALL_ARTIFACT_URLS" | jq -r -c '.value | map(select(.name|startswith("bundles-"))) | .[].url')"
for url in $BUNDLE_ARTIFACT_URLS; do
echo "Removing $url"
curl -s \
-H 'Accept: application/json;api-version=6.0-preview' \
-H 'Authorization: Bearer ${{ fromJson(steps.api.outputs.result).token }}' \
-X DELETE "$url" \
|| echo "Failed to remove bundle"
done

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
@@ -37,6 +37,9 @@ on:
runs-on:
required: true
type: string
xcode-toolset-version:
required: false
type: string
env:
# These are needed to make the MSYS2 bash work properly
@@ -63,7 +66,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'
@@ -98,10 +100,6 @@ jobs:
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
- test-name: 'hs/tier1 gc'
test-suite: 'test/hotspot/jtreg/:tier1_gc'
debug-suffix: -debug
@@ -147,7 +145,7 @@ jobs:
run: |
# On macOS we need to install some dependencies for testing
brew install make
sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer
sudo xcode-select --switch /Applications/Xcode_${{ inputs.xcode-toolset-version }}.app/Contents/Developer
# This will make GNU make available as 'make' and not only as 'gmake'
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
if: runner.os == 'macOS'

2
.gitignore vendored
View File

@@ -20,3 +20,5 @@ NashornProfile.txt
/.settings/
/compile_commands.json
/.cache
/.gdbinit
/.lldbinit

View File

@@ -1,15 +1,15 @@
[general]
project=jdk
jbs=JDK
version=23
version=25
[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists
warning=issuestitle
warning=issuestitle,binary
[repository]
tags=(?:jdk-(?:[1-9]([0-9]*)(?:\.(?:0|[1-9][0-9]*)){0,4})(?:\+(?:(?:[0-9]+))|(?:-ga)))|(?:jdk[4-9](?:u\d{1,3})?-(?:(?:b\d{2,3})|(?:ga)))|(?:hs\d\d(?:\.\d{1,2})?-b\d\d)
branches=
branches=.*
[census]
version=0

3
SECURITY.md Normal file
View File

@@ -0,0 +1,3 @@
# JDK Vulnerabilities
Please follow the process outlined in the [OpenJDK Vulnerability Policy](https://openjdk.org/groups/vulnerability/report) to disclose vulnerabilities in the JDK.

View File

@@ -329,8 +329,8 @@ GB of free disk space is required.</p>
<p>Even for 32-bit builds, it is recommended to use a 64-bit build
machine, and instead create a 32-bit target using
<code>--with-target-bits=32</code>.</p>
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in
a future release.</p>
<p>Note: The 32-bit x86 port is deprecated and may be removed in a
future release.</p>
<h3 id="building-on-aarch64">Building on aarch64</h3>
<p>At a minimum, a machine with 8 cores is advisable, as well as 8 GB of
RAM. (The more cores to use, the more memory you need.) At least 6 GB of
@@ -393,8 +393,7 @@ Build Platforms</a>. From time to time, this is updated by contributors
to list successes or failures of building on different platforms.</p>
<h3 id="windows">Windows</h3>
<p>Windows XP is not a supported platform, but all newer Windows should
be able to build the JDK. (Note: The Windows 32-bit x86 port is
deprecated and may be removed in a future release.)</p>
be able to build the JDK.</p>
<p>On Windows, it is important that you pay attention to the
instructions in the <a href="#special-considerations">Special
Considerations</a>.</p>
@@ -614,10 +613,9 @@ be accepted by <code>configure</code>.</p>
<code>--with-toolchain-type=clang</code>.</p>
<h3 id="apple-xcode">Apple Xcode</h3>
<p>The oldest supported version of Xcode is 13.0.</p>
<p>You will need the Xcode command line developer tools to be able to
build the JDK. (Actually, <em>only</em> the command line tools are
needed, not the IDE.) The simplest way to install these is to run:</p>
<pre><code>xcode-select --install</code></pre>
<p>You will need to download Xcode either from the App Store or specific
versions can be easily located via the <a
href="https://xcodereleases.com">Xcode Releases</a> website.</p>
<p>When updating Xcode, it is advisable to keep an older version for
building the JDK. To use a specific version of Xcode you have multiple
options:</p>
@@ -865,12 +863,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
@@ -2017,10 +2015,18 @@ some directory names have spaces. Usually, it assumes those directories
have <a
href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-8dot3name">short
paths</a>. You can run <code>fsutil file setshortname</code> in
<code>cmd</code> on certain directories, such as
<code>Microsoft Visual Studio</code> or <code>Windows Kits</code>, to
assign arbitrary short paths so <code>configure</code> can access
them.</p>
<code>cmd</code> on directories to assign arbitrary short paths so
<code>configure</code> can access them. If the result says "Access
denied", it may be that there are processes running in that directory;
in this case, you can reboot Windows in safe mode and run the command on
those directories again.</p>
<p>The only directories required to have short paths are
<code>Microsoft Visual Studio</code> and <code>Windows Kits</code>; the
rest of the "contains space" warnings from <code>configure</code>, such
as <code>IntelliJ IDEA</code>, can be ignored. You can choose any short
name; once it is set, <code>configure</code>'s tools like
<code>cygpath</code> can convert the directory with spaces to your
chosen short name and pass it to the build system.</p>
<h3 id="getting-help">Getting Help</h3>
<p>If none of the suggestions in this document helps you, or if you find
what you believe is a bug in the build system, please contact the Build

View File

@@ -134,8 +134,7 @@ space is required.
Even for 32-bit builds, it is recommended to use a 64-bit build machine, and
instead create a 32-bit target using `--with-target-bits=32`.
Note: The Windows 32-bit x86 port is deprecated and may be removed in a future
release.
Note: The 32-bit x86 port is deprecated and may be removed in a future release.
### Building on aarch64
@@ -191,8 +190,7 @@ on different platforms.
### Windows
Windows XP is not a supported platform, but all newer Windows should be able to
build the JDK. (Note: The Windows 32-bit x86 port is deprecated and may be
removed in a future release.)
build the JDK.
On Windows, it is important that you pay attention to the instructions in the
[Special Considerations](#special-considerations).
@@ -422,13 +420,9 @@ To use clang instead of gcc on Linux, use `--with-toolchain-type=clang`.
The oldest supported version of Xcode is 13.0.
You will need the Xcode command line developer tools to be able to build the
JDK. (Actually, *only* the command line tools are needed, not the IDE.) The
simplest way to install these is to run:
```
xcode-select --install
```
You will need to download Xcode either from the App Store or specific versions
can be easily located via the [Xcode Releases](https://xcodereleases.com)
website.
When updating Xcode, it is advisable to keep an older version for building the
JDK. To use a specific version of Xcode you have multiple options:
@@ -686,9 +680,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.
@@ -1804,9 +1798,17 @@ temporarily.
On Windows, when configuring, `fixpath.sh` may report that some directory names
have spaces. Usually, it assumes those directories have [short
paths](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-8dot3name).
You can run `fsutil file setshortname` in `cmd` on certain directories, such as
`Microsoft Visual Studio` or `Windows Kits`, to assign arbitrary short paths so
`configure` can access them.
You can run `fsutil file setshortname` in `cmd` on directories to assign
arbitrary short paths so `configure` can access them. If the result says "Access
denied", it may be that there are processes running in that directory; in this
case, you can reboot Windows in safe mode and run the command on those directories
again.
The only directories required to have short paths are `Microsoft Visual Studio`
and `Windows Kits`; the rest of the "contains space" warnings from `configure`,
such as `IntelliJ IDEA`, can be ignored. You can choose any short name; once it
is set, `configure`'s tools like `cygpath` can convert the directory with spaces
to your chosen short name and pass it to the build system.
### Getting Help

View File

@@ -63,11 +63,12 @@ workspace has been generated. To use it, choose
<p>The main <code>vscode-project</code> target configures the default
C++ support in Visual Studio Code. There are also other source indexers
that can be installed, that may provide additional features. It's
currently possible to generate configuration for two such indexers, <a
href="https://clang.llvm.org/extra/clangd/">clangd</a> and <a
href="https://github.com/Andersbakken/rtags">rtags</a>. These can be
configured by appending the name of the indexer to the make target, such
as:</p>
currently possible to generate configuration for three such indexers, <a
href="https://clang.llvm.org/extra/clangd/">clangd</a>, <a
href="https://github.com/MaskRay/ccls/wiki/Visual-Studio-Code">ccls</a>
and <a href="https://github.com/Andersbakken/rtags">rtags</a>. These can
be configured by appending the name of the indexer to the make target,
such as:</p>
<pre class="shell"><code>make vscode-project-clangd</code></pre>
<p>Additional instructions for configuring the given indexer will be
displayed after the workspace has been generated.</p>

View File

@@ -32,7 +32,8 @@ choose `File -> Open Workspace...` in Visual Studio Code.
The main `vscode-project` target configures the default C++ support in Visual
Studio Code. There are also other source indexers that can be installed, that
may provide additional features. It's currently possible to generate
configuration for two such indexers, [clangd](https://clang.llvm.org/extra/clangd/)
configuration for three such indexers, [clangd](https://clang.llvm.org/extra/clangd/),
[ccls](https://github.com/MaskRay/ccls/wiki/Visual-Studio-Code)
and [rtags](https://github.com/Andersbakken/rtags). These can be configured by
appending the name of the indexer to the make target, such as:

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-with-alternative-security-providers"
id="toc-testing-with-alternative-security-providers">Testing with
alternative security providers</a></li>
<li><a href="#client-ui-tests" id="toc-client-ui-tests">Client UI
Tests</a></li>
</ul></li>
@@ -434,7 +437,7 @@ GB/2</em>.</p>
<p>Sets the argument <code>-timeoutHandlerTimeout</code> for JTReg. The
default value is 0. This is only valid if the failure handler is
built.</p>
<h4 id="jtreg_test_thread_factory">JTREG_TEST_THREAD_FACTORY</h4>
<h4 id="test_thread_factory">TEST_THREAD_FACTORY</h4>
<p>Sets the <code>-testThreadFactory</code> for JTReg. It should be the
fully qualified classname of a class which implements
<code>java.util.concurrent.ThreadFactory</code>. One such implementation
@@ -586,6 +589,18 @@ 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-with-alternative-security-providers">Testing with
alternative security providers</h3>
<p>Some security tests use a hardcoded provider for
<code>KeyFactory</code>, <code>Cipher</code>,
<code>KeyPairGenerator</code>, <code>KeyGenerator</code>,
<code>AlgorithmParameterGenerator</code>, <code>KeyAgreement</code>,
<code>Mac</code>, <code>MessageDigest</code>, <code>SecureRandom</code>,
<code>Signature</code>, <code>AlgorithmParameters</code>,
<code>Configuration</code>, <code>Policy</code>, or
<code>SecretKeyFactory</code> objects. Specify the
<code>-Dtest.provider.name=NAME</code> property to use a different
provider for the service(s).</p>
<h3 id="client-ui-tests">Client UI Tests</h3>
<h4 id="system-key-shortcuts">System key shortcuts</h4>
<p>Some Client UI tests use key sequences which may be reserved by the

View File

@@ -380,7 +380,7 @@ Defaults to 4.
Sets the argument `-timeoutHandlerTimeout` for JTReg. The default value is 0.
This is only valid if the failure handler is built.
#### JTREG_TEST_THREAD_FACTORY
#### TEST_THREAD_FACTORY
Sets the `-testThreadFactory` for JTReg. It should be the fully qualified
classname of a class which implements `java.util.concurrent.ThreadFactory`. One
@@ -603,6 +603,15 @@ $ 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 with alternative security providers
Some security tests use a hardcoded provider for `KeyFactory`, `Cipher`,
`KeyPairGenerator`, `KeyGenerator`, `AlgorithmParameterGenerator`,
`KeyAgreement`, `Mac`, `MessageDigest`, `SecureRandom`, `Signature`,
`AlgorithmParameters`, `Configuration`, `Policy`, or `SecretKeyFactory` objects.
Specify the `-Dtest.provider.name=NAME` property to use a different provider for
the service(s).
### Client UI Tests
#### System key shortcuts

View File

@@ -284,7 +284,7 @@ ifneq ($(filter product-bundles% legacy-bundles, $(MAKECMDGOALS)), )
ifeq ($(MACOSX_CODESIGN_MODE), hardened)
# Macosx release build and code signing available.
################################################################################
############################################################################
# JDK bundle
$(eval $(call SetupCopyFiles, CREATE_JDK_BUNDLE_DIR_SIGNED, \
SRC := $(JDK_IMAGE_DIR), \
@@ -313,7 +313,7 @@ ifneq ($(filter product-bundles% legacy-bundles, $(MAKECMDGOALS)), )
PRODUCT_TARGETS += $(BUILD_JDK_BUNDLE)
################################################################################
############################################################################
# JRE bundle
$(eval $(call SetupCopyFiles, CREATE_JRE_BUNDLE_DIR_SIGNED, \
SRC := $(JRE_IMAGE_DIR), \

View File

@@ -65,7 +65,7 @@ $(BUILDTOOLS_OUTPUTDIR)/gensrc/java.compiler.interim/javax/tools/ToolProvider.ja
$(SED) $(INTERIM_TOOL_PROVIDER_PATTERN) $< > $@
java.compiler.interim_EXTRA_FILES := \
$(BUILDTOOLS_OUTPUTDIR)/gensrc/java.compiler.interim/javax/tools/ToolProvider.java
$(BUILDTOOLS_OUTPUTDIR)/gensrc/java.compiler.interim/javax/tools/ToolProvider.java
TARGETS += $(BUILDTOOLS_OUTPUTDIR)/gensrc/java.compiler.interim/javax/tools/ToolProvider.java

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -75,12 +75,12 @@ $(JDK_OUTPUTDIR)/modules/%_zh_HK.properties: $(JDK_OUTPUTDIR)/modules/%_zh_TW.pr
CreateHkTargets = \
$(call FilterExcludedTranslations, \
$(patsubst $(TOPDIR)/src/%, $(JDK_OUTPUTDIR)/modules/%, \
$(subst /share/classes,, \
$(subst _zh_TW,_zh_HK, $(filter %_zh_TW.properties, $1)) \
) \
), \
.properties \
$(patsubst $(TOPDIR)/src/%, $(JDK_OUTPUTDIR)/modules/%, \
$(subst /share/classes,, \
$(subst _zh_TW,_zh_HK, $(filter %_zh_TW.properties, $1)) \
) \
), \
.properties \
)
################################################################################

View File

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

@@ -52,8 +52,7 @@ $(eval $(call SetupJavaCompilation, BUILD_TOOLS_JDK, \
build/tools/deps \
build/tools/docs \
build/tools/jigsaw \
build/tools/depend \
, \
build/tools/depend, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes, \
DISABLED_WARNINGS := dangling-doc-comments options, \
JAVAC_FLAGS := \
@@ -66,17 +65,19 @@ $(eval $(call SetupJavaCompilation, BUILD_TOOLS_JDK, \
TARGETS += $(BUILD_TOOLS_JDK)
$(eval $(call SetupCopyFiles,COPY_NIMBUS_TEMPLATES, \
$(eval $(call SetupCopyFiles, COPY_NIMBUS_TEMPLATES, \
SRC := $(TOPDIR)/src/java.desktop/share/classes/javax/swing/plaf/nimbus, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes/build/tools/generatenimbus/resources, \
FILES := $(wildcard $(TOPDIR)/src/java.desktop/share/classes/javax/swing/plaf/nimbus/*.template)))
FILES := $(wildcard $(TOPDIR)/src/java.desktop/share/classes/javax/swing/plaf/nimbus/*.template), \
))
TARGETS += $(COPY_NIMBUS_TEMPLATES)
$(eval $(call SetupCopyFiles,COPY_CLDRCONVERTER_PROPERTIES, \
$(eval $(call SetupCopyFiles, COPY_CLDRCONVERTER_PROPERTIES, \
SRC := $(TOPDIR)/make/jdk/src/classes/build/tools/cldrconverter, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes/build/tools/cldrconverter, \
FILES := $(wildcard $(TOPDIR)/make/jdk/src/classes/build/tools/cldrconverter/*.properties)))
FILES := $(wildcard $(TOPDIR)/make/jdk/src/classes/build/tools/cldrconverter/*.properties), \
))
TARGETS += $(COPY_CLDRCONVERTER_PROPERTIES)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 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) 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2019, 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,7 +30,7 @@ include MakeBase.gmk
include CopyFiles.gmk
##########################################################################################
################################################################################
### TZDB tool needs files from java.time.zone package
@@ -41,12 +41,13 @@ define tzdb_copyfiles
< $(<) > $@
endef
$(eval $(call SetupCopyFiles,COPY_INTERIM_TZDB, \
$(eval $(call SetupCopyFiles, COPY_INTERIM_TZDB, \
SRC := $(TOPDIR)/src/java.base/share/classes/java/time/zone, \
DEST := $(BUILDTOOLS_OUTPUTDIR)/interim_tzdb_classes/build/tools/tzdb, \
FILES := ZoneRules.java ZoneOffsetTransition.java ZoneOffsetTransitionRule.java Ser.java, \
MACRO := tzdb_copyfiles))
MACRO := tzdb_copyfiles, \
))
##########################################################################################
################################################################################
all: $(COPY_INTERIM_TZDB)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -229,8 +229,21 @@ ifeq ($(INTERIM_JMOD), true)
# Interim JMODs are not shipped anywhere, so there is no reason
# to compress them at all.
JMOD_FLAGS += --compress zip-0
JMOD_TARGET_OS := $(OPENJDK_BUILD_OS)
ifeq ($(JMOD_TARGET_OS), macosx)
JMOD_TARGET_OS := macos
endif
JMOD_TARGET_CPU := $(OPENJDK_BUILD_CPU)
ifeq ($(JMOD_TARGET_CPU), x86_64)
JMOD_TARGET_CPU := amd64
endif
JMOD_TARGET_PLATFORM := $(JMOD_TARGET_OS)-$(JMOD_TARGET_CPU)
else
JMOD_FLAGS += --compress $(JMOD_COMPRESS)
JMOD_TARGET_PLATFORM := $(OPENJDK_MODULE_TARGET_PLATFORM)
endif
# Create jmods in the support dir and then move them into place to keep the
@@ -242,7 +255,7 @@ $(eval $(call SetupExecute, create_$(JMOD_FILE), \
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) \
--target-platform '$(OPENJDK_MODULE_TARGET_PLATFORM)' \
--target-platform '$(JMOD_TARGET_PLATFORM)' \
--module-path $(JMODS_DIR) $(JMOD_FLAGS) \
--date $(SOURCE_DATE_ISO_8601) \
$(JMODS_SUPPORT_DIR)/$(JMOD_FILE), \

View File

@@ -1,4 +1,4 @@
# Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 1997, 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
@@ -107,15 +107,13 @@ JAVA_WARNINGS_ARE_ERRORS ?= -Werror
JAVADOC_OPTIONS := -use -keywords -notimestamp \
-encoding ISO-8859-1 -docencoding UTF-8 -breakiterator \
-splitIndex --system none -javafx --expand-requires transitive \
--override-methods=summary \
--no-external-specs-page
--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 \
-html5 -javafx --expand-requires transitive \
--no-external-specs-page
-html5 -javafx --expand-requires transitive
# Should we add DRAFT stamps to the generated javadoc?
ifeq ($(VERSION_IS_GA), true)
@@ -247,7 +245,7 @@ define create_overview_file
<!DOCTYPE html> \
<html><head></head><body> \
#
ifneq ($$($1_GROUPS),)
ifneq ($$($1_GROUPS), )
$1_OVERVIEW_TEXT += \
<p>This document is divided into \
$$(subst 2,two,$$(subst 3,three,$$(words $$($1_GROUPS)))) sections:</p> \
@@ -714,7 +712,7 @@ SPEC_HEADER_BLOCK := \
<div class="navbar"> \
<div>$(HEADER_RIGHT_SIDE_INFO)</div> \
<nav><ul><li><a href="PATH_TO_SPECS/../api/index.html">API</a> \
<li><a href="PATH_TO_SPECS/index.html">OTHER SPECIFICATIONS \
<li><a href="PATH_TO_SPECS/index.html">OTHER SPECIFICATIONS</a> \
<li><a href="PATH_TO_SPECS/man/index.html">TOOL GUIDES</a></ul></nav> \
</div> \
</header>

View File

@@ -62,6 +62,15 @@ ifeq ($(EXTERNAL_BUILDJDK), true)
INTERIM_IMAGE_DIR := $(BUILD_JDK)
endif
# To make the classlist deterministic:
# - The classlist can be influenced by locale. Always set it to en/US.
# - Concurrency in the core libraries can cause constant pool resolution
# to be non-deterministic. Since the benefits of resolved CP references in the
# default classlist is minimal, let's filter out the '@cp' lines until we can
# find a proper solution.
CLASSLIST_FILE_VM_OPTS = \
-Duser.language=en -Duser.country=US
# Save the stderr output of the command and print it along with stdout in case
# something goes wrong.
$(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST_JAR)
@@ -69,7 +78,7 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST
$(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $@))
$(call LogInfo, Generating $(patsubst $(OUTPUTDIR)/%, %, $(JLI_TRACE_FILE)))
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -XX:DumpLoadedClassList=$@.raw \
-Duser.language=en -Duser.country=US \
$(CLASSLIST_FILE_VM_OPTS) \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.HelloClasslist $(LOG_DEBUG)
$(GREP) -v HelloClasslist $@.raw > $@.interim
@@ -79,7 +88,7 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java -XX:DumpLoadedClassList=$@.raw.2 \
-XX:SharedClassListFile=$@.interim -XX:SharedArchiveFile=$@.jsa \
-Djava.lang.invoke.MethodHandle.TRACE_RESOLVE=true \
-Duser.language=en -Duser.country=US \
$(CLASSLIST_FILE_VM_OPTS) \
--module-path $(SUPPORT_OUTPUTDIR)/classlist.jar \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.HelloClasslist \
@@ -92,9 +101,10 @@ $(CLASSLIST_FILE): $(INTERIM_IMAGE_DIR)/bin/java$(EXECUTABLE_SUFFIX) $(CLASSLIST
exit $$exitcode \
)
$(GREP) -v HelloClasslist $@.raw.2 > $@.raw.3
$(GREP) -v @cp $@.raw.3 > $@.raw.4
$(FIXPATH) $(INTERIM_IMAGE_DIR)/bin/java \
-cp $(SUPPORT_OUTPUTDIR)/classlist.jar \
build.tools.classlist.SortClasslist $@.raw.3 > $@
build.tools.classlist.SortClasslist $@.raw.4 > $@
# The jli trace is created by the same recipe as classlist. By declaring these
# dependencies, make will correctly rebuild both jli trace and classlist

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2023, 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
@@ -28,7 +28,7 @@
###
# Helper macro to allow $(info) to properly print strings beginning with spaces.
_:=
_ :=
help:
$(info )
@@ -102,13 +102,14 @@ help:
$(info $(_) # method is 'auto', 'ignore' or 'fail' (default))
$(info $(_) TEST="test1 ..." # Use the given test descriptor(s) for testing, e.g.)
$(info $(_) # make test TEST="jdk_lang gtest:all")
$(info $(_) TEST_DEPS="dependency1 ..." # Specify additional dependencies for running tests, e.g docs-jdk)
$(info $(_) JTREG="OPT1=x;OPT2=y" # Control the JTREG test harness, use 'make test-only JTREG=help' to list)
$(info $(_) GTEST="OPT1=x;OPT2=y" # Control the GTEST test harness, use 'make test-only GTEST=help' to list)
$(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 )
$(if $(all_confs), $(info Available configurations in $(build_dir):) $(foreach var,$(all_confs),$(info * $(var))),\
$(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.))
# We need a dummy rule otherwise make will complain
@true

View File

@@ -29,6 +29,7 @@ include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include DebugInfoUtils.gmk
include Execute.gmk
include Modules.gmk
include Utils.gmk
@@ -96,6 +97,10 @@ JLINK_DISABLE_WARNINGS := | ( $(GREP) -v -e "WARNING: Using incubator module" ||
JDK_IMAGE_SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jdk
JRE_IMAGE_SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jre
ifeq ($(JLINK_PRODUCE_LINKABLE_RUNTIME), true)
JLINK_JDK_EXTRA_OPTS += --generate-linkable-runtime
endif
$(eval $(call SetupExecute, jlink_jdk, \
WARN := Creating jdk image, \
DEPS := $(JDK_JMODS) $(BASE_RELEASE_FILE) \
@@ -132,13 +137,19 @@ CDS_DUMP_FLAGS = -Xmx128M -Xms128M
# Helper function for creating the CDS archives for the JDK and JRE
#
# Param1 - VM variant (e.g., server, client, zero, ...)
# Param2 - _nocoops, or empty
# Param2 - _nocoops, _coh, _nocoops_coh, or empty
define CreateCDSArchive
$1_$2_DUMP_EXTRA_ARG := $(if $(filter _nocoops, $2),-XX:-UseCompressedOops,)
$1_$2_DUMP_TYPE := $(if $(filter _nocoops, $2),-NOCOOPS,)
$1_$2_COOPS_OPTION := $(if $(findstring _nocoops, $2),-XX:-UseCompressedOops)
# enable and also explicitly disable coh as needed.
ifeq ($(call isTargetCpuBits, 64), true)
$1_$2_COH_OPTION := -XX:+UnlockExperimentalVMOptions \
$(if $(findstring _coh, $2),-XX:+UseCompactObjectHeaders,-XX:-UseCompactObjectHeaders)
endif
$1_$2_DUMP_EXTRA_ARG := $$($1_$2_COOPS_OPTION) $$($1_$2_COH_OPTION)
$1_$2_DUMP_TYPE := $(if $(findstring _nocoops, $2),-NOCOOPS,)$(if $(findstring _coh, $2),-COH,)
# Only G1 supports dumping the shared heap, so explicitly use G1 if the JVM supports it.
$1_$2_CDS_DUMP_FLAGS := $(CDS_DUMP_FLAGS) $(if $(filter g1gc, $(JVM_FEATURES_$1)),-XX:+UseG1GC)
$1_$2_CDS_DUMP_FLAGS := $(CDS_DUMP_FLAGS) $(if $(filter g1gc, $(JVM_FEATURES_$1)), -XX:+UseG1GC)
ifeq ($(OPENJDK_TARGET_OS), windows)
$1_$2_CDS_ARCHIVE := bin/$1/classes$2.jsa
@@ -190,6 +201,14 @@ ifeq ($(BUILD_CDS_ARCHIVE), true)
$(foreach v, $(JVM_VARIANTS), \
$(eval $(call CreateCDSArchive,$v,_nocoops)) \
)
ifeq ($(BUILD_CDS_ARCHIVE_COH), true)
$(foreach v, $(JVM_VARIANTS), \
$(eval $(call CreateCDSArchive,$v,_coh)) \
)
$(foreach v, $(JVM_VARIANTS), \
$(eval $(call CreateCDSArchive,$v,_nocoops_coh)) \
)
endif
endif
endif
@@ -235,7 +254,7 @@ endif
ifeq ($(GCOV_ENABLED), true)
$(eval $(call SetupCopyFiles,COPY_GCOV_GCNO, \
$(eval $(call SetupCopyFiles, COPY_GCOV_GCNO, \
SRC := $(OUTPUTDIR), \
DEST := $(SYMBOLS_IMAGE_DIR)/gcov, \
FILES := $(call FindFiles, $(HOTSPOT_OUTPUTDIR) \
@@ -263,27 +282,6 @@ else
endif
CMDS_TARGET_SUBDIR := bin
# Param 1 - dir to find debuginfo files in
FindDebuginfoFiles = \
$(wildcard $(addprefix $1/*, $(DEBUGINFO_SUFFIXES)) \
$(addprefix $1/*/*, $(DEBUGINFO_SUFFIXES)) \
$(addprefix $1/*/*/*, $(DEBUGINFO_SUFFIXES)))
# Pick the correct debug info files to copy, either zipped or not.
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
DEBUGINFO_SUFFIXES += .diz
else
DEBUGINFO_SUFFIXES := .debuginfo .pdb .map
# On Macosx, if debug symbols have not been zipped, find all files inside *.dSYM
# dirs.
ifeq ($(call isTargetOs, macosx), true)
$(call FillFindCache, \
$(SUPPORT_OUTPUTDIR)/modules_libs $(SUPPORT_OUTPUTDIR)/modules_cmds)
FindDebuginfoFiles = \
$(if $(wildcard $1), $(call containing, .dSYM/, $(call FindFiles, $1)))
endif
endif
# Param 1 - either JDK or JRE
SetupCopyDebuginfo = \
$(foreach m, $(ALL_$1_MODULES), \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2023, 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
@@ -37,7 +37,7 @@ default:
# serially, regardless of -j.
.NOTPARALLEL:
ifeq ($(HAS_SPEC),)
ifeq ($(HAS_SPEC), )
##############################################################################
# This is the default mode. We have not been recursively called with a SPEC.
##############################################################################
@@ -168,7 +168,7 @@ ifeq ($(HAS_SPEC),)
endif
make-info:
ifneq ($(findstring $(LOG_LEVEL),info debug trace),)
ifneq ($(findstring $(LOG_LEVEL), info debug trace), )
$(info Running make as '$(strip $(MAKE) $(MFLAGS) \
$(COMMAND_LINE_VARIABLES) $(MAKECMDGOALS))')
endif

View File

@@ -32,7 +32,7 @@
ifndef _INITSUPPORT_GMK
_INITSUPPORT_GMK := 1
ifeq ($(HAS_SPEC),)
ifeq ($(HAS_SPEC), )
# COMMA is defined in spec.gmk, but that is not included yet
COMMA := ,
@@ -50,7 +50,7 @@ ifeq ($(HAS_SPEC),)
# 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
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
@@ -63,24 +63,24 @@ ifeq ($(HAS_SPEC),)
# 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))))
# 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))))
# 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
build_dir = $(CUSTOM_ROOT)/build
else
build_dir=$(topdir)/build
build_dir = $(topdir)/build
endif
all_spec_files=$(wildcard $(build_dir)/*/spec.gmk)
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)))
all_confs = $(patsubst %/spec.gmk, %, $(patsubst $(build_dir)/%, %, $(all_spec_files)))
# Check for unknown command-line variables
define CheckControlVariables
@@ -128,7 +128,7 @@ ifeq ($(HAS_SPEC),)
ifeq ($$(CONF_CHECK), )
# Default behavior is fail
CONF_CHECK := fail
else ifneq ($$(filter-out auto fail ignore, $$(CONF_CHECK)),)
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
@@ -147,11 +147,11 @@ ifeq ($(HAS_SPEC),)
$$(info Error: Cannot use CONF_NAME=$$(CONF_NAME) and SPEC=$$(SPEC) at the same time. Choose one.)
$$(error Cannot continue)
endif
ifeq ($$(wildcard $$(SPEC)),)
ifeq ($$(wildcard $$(SPEC)), )
$$(info Error: Cannot locate spec.gmk, given by SPEC=$$(SPEC).)
$$(error Cannot continue)
endif
ifeq ($$(filter /%, $$(SPEC)),)
ifeq ($$(filter /%, $$(SPEC)), )
# If given with relative path, make it absolute
SPECS := $$(CURDIR)/$$(strip $$(SPEC))
else
@@ -162,7 +162,7 @@ ifeq ($(HAS_SPEC),)
override SPEC :=
else
# Use spec.gmk files in the build output directory
ifeq ($$(all_spec_files),)
ifeq ($$(all_spec_files), )
ifneq ($(CUSTOM_ROOT), )
$$(info Error: No configurations found for $$(CUSTOM_ROOT).)
else
@@ -180,7 +180,7 @@ ifeq ($(HAS_SPEC),)
$$(error Cannot continue)
endif
matching_conf := $$(strip $$(filter $$(CONF_NAME), $$(all_confs)))
ifeq ($$(matching_conf),)
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)))
@@ -197,15 +197,15 @@ ifeq ($(HAS_SPEC),)
SPECS := $$(build_dir)/$$(matching_conf)/spec.gmk
else ifneq ($$(origin CONF), undefined)
# User have given a CONF= argument.
ifeq ($$(CONF),)
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)),)
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))))
$$(if $$(findstring $$(subst !,,$$(CONF)), $$(var)), ,$$(var))))
else
matching_confs := $$(strip $$(foreach var, $$(all_confs), \
$$(if $$(findstring $$(CONF), $$(var)), $$(var))))
@@ -215,12 +215,12 @@ ifeq ($(HAS_SPEC),)
matching_confs := $$(CONF)
# Don't repeat this output on make restarts caused by including
# generated files.
ifeq ($$(MAKE_RESTARTS),)
ifeq ($$(MAKE_RESTARTS), )
$$(info Using exact match for CONF=$$(CONF) (other matches are possible))
endif
endif
endif
ifeq ($$(matching_confs),)
ifeq ($$(matching_confs), )
$$(info Error: No configurations found matching CONF=$$(CONF).)
$$(info Available configurations in $$(build_dir):)
$$(foreach var, $$(all_confs), $$(info * $$(var)))
@@ -228,9 +228,9 @@ ifeq ($(HAS_SPEC),)
else
# Don't repeat this output on make restarts caused by including
# generated files.
ifeq ($$(MAKE_RESTARTS),)
ifeq ($$(MAKE_RESTARTS), )
ifeq ($$(words $$(matching_confs)), 1)
ifneq ($$(findstring $$(LOG_LEVEL), info debug trace),)
ifneq ($$(findstring $$(LOG_LEVEL), info debug trace), )
$$(info Building configuration '$$(matching_confs)' (matching CONF=$$(CONF)))
endif
else
@@ -272,7 +272,7 @@ ifeq ($(HAS_SPEC),)
# count.
main_targets_file := $$(dir $(strip $2))make-support/main-targets.gmk
ifeq ($$(MAKE_RESTARTS),)
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))
@@ -316,9 +316,9 @@ else # $(HAS_SPEC)=true
BUILD_LOG_PIPE_SIMPLE := | $(TEE) -a $(BUILD_LOG)
ifneq ($(CUSTOM_ROOT), )
topdir=$(CUSTOM_ROOT)
topdir = $(CUSTOM_ROOT)
else
topdir=$(TOPDIR)
topdir = $(TOPDIR)
endif
# Setup the build environment to match the requested specification on
@@ -349,39 +349,39 @@ else # $(HAS_SPEC)=true
ifneq ($$(findstring :, $$(COMPARE_BUILD)), )
$$(foreach part, $$(subst :, , $$(COMPARE_BUILD)), \
$$(if $$(filter PATCH=%, $$(part)), \
$$(eval COMPARE_BUILD_PATCH=$$(strip $$(patsubst PATCH=%, %, $$(part)))) \
$$(eval COMPARE_BUILD_PATCH = $$(strip $$(patsubst PATCH=%, %, $$(part)))) \
) \
$$(if $$(filter CONF=%, $$(part)), \
$$(eval COMPARE_BUILD_CONF=$$(strip $$(subst +, , $$(patsubst CONF=%, %, $$(part))))) \
$$(eval COMPARE_BUILD_CONF = $$(strip $$(subst +, , $$(patsubst CONF=%, %, $$(part))))) \
) \
$$(if $$(filter MAKE=%, $$(part)), \
$$(eval COMPARE_BUILD_MAKE=$$(strip $$(subst +, , $$(patsubst 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))))) \
$$(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))))) \
$$(eval COMPARE_BUILD_COMP_DIR = $$(strip $$(subst +, , $$(patsubst COMP_DIR=%, %, $$(part))))) \
) \
$$(if $$(filter FAIL=%, $$(part)), \
$$(eval COMPARE_BUILD_FAIL=$$(strip $$(subst +, , $$(patsubst FAIL=%, %, $$(part))))) \
$$(eval COMPARE_BUILD_FAIL = $$(strip $$(subst +, , $$(patsubst FAIL=%, %, $$(part))))) \
) \
$$(if $$(filter NODRYRUN=%, $$(part)), \
$$(eval COMPARE_BUILD_NODRYRUN=$$(strip $$(subst +, , $$(patsubst 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)))
COMPARE_BUILD_PATCH = $$(strip $$(patsubst PATCH=%, %, $$(COMPARE_BUILD)))
else ifneq ($$(filter CONF=%, $$(COMPARE_BUILD)), )
COMPARE_BUILD_CONF=$$(strip $$(subst +, , $$(patsubst 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)))
COMPARE_BUILD_CONF = $$(strip $$(subst +, , $$(COMPARE_BUILD)))
else
# Otherwise assume patch file
COMPARE_BUILD_PATCH=$$(strip $$(COMPARE_BUILD))
COMPARE_BUILD_PATCH = $$(strip $$(COMPARE_BUILD))
endif
endif
ifneq ($$(COMPARE_BUILD_PATCH), )
@@ -531,7 +531,7 @@ else # $(HAS_SPEC)=true
# used by build comparisons.
define WaitForJavacServerFinish
$(if $(JAVAC_SERVER_DIR), \
sleep 5\
sleep 5 \
)
endef
else
@@ -544,7 +544,7 @@ else # $(HAS_SPEC)=true
##############################################################################
# Store the build times in this directory.
BUILDTIMESDIR=$(OUTPUTDIR)/make-support/build-times
BUILDTIMESDIR = $(OUTPUTDIR)/make-support/build-times
# Record starting time for build of a sub repository.
define RecordStartTime
@@ -605,7 +605,7 @@ endif # HAS_SPEC
# $1: The option to look for
# $2: The variable to set to "true" if the option is found
define ParseLogOption
ifneq ($$(findstring $1, $$(LOG)),)
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)))
@@ -620,7 +620,7 @@ endef
# $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)),)
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)
@@ -673,7 +673,7 @@ define ParseLogLevel
override LOG_LEVEL := $$(LOG)
ifeq ($$(LOG_LEVEL),)
ifeq ($$(LOG_LEVEL), )
# Set LOG to "warn" as default if not set
override LOG_LEVEL := warn
endif

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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
@@ -27,12 +27,13 @@ default: all
include $(SPEC)
include MakeBase.gmk
include Execute.gmk
include Modules.gmk
################################################################################
# Use this file inside the image as target for make rule
JIMAGE_TARGET_FILE := bin/java$(EXECUTABLE_SUFFIX)
INTERIM_JLINK_SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/interim-image-jlink
INTERIM_MODULES_LIST := $(call CommaList, $(INTERIM_IMAGE_MODULES))
@@ -42,17 +43,18 @@ JLINK_TOOL := $(JLINK) -J-Djlink.debug=true \
--module-path $(INTERIM_JMODS_DIR) \
--endian $(OPENJDK_BUILD_CPU_ENDIAN)
$(INTERIM_IMAGE_DIR)/$(JIMAGE_TARGET_FILE): $(JMODS) \
$(call DependOnVariable, INTERIM_MODULES_LIST)
$(call LogWarn, Creating interim jimage)
$(RM) -r $(INTERIM_IMAGE_DIR)
$(JLINK_TOOL) \
--output $(INTERIM_IMAGE_DIR) \
--disable-plugin generate-jli-classes \
--add-modules $(INTERIM_MODULES_LIST)
$(TOUCH) $@
$(eval $(call SetupExecute, jlink_interim_image, \
WARN := Creating interim jimage, \
DEPS := $(JMODS) $(call DependOnVariable, INTERIM_MODULES_LIST), \
OUTPUT_DIR := $(INTERIM_IMAGE_DIR), \
SUPPORT_DIR := $(INTERIM_JLINK_SUPPORT_DIR), \
PRE_COMMAND := $(RM) -r $(INTERIM_IMAGE_DIR), \
COMMAND := $(JLINK_TOOL) --output $(INTERIM_IMAGE_DIR) \
--disable-plugin generate-jli-classes \
--add-modules $(INTERIM_MODULES_LIST), \
))
TARGETS += $(INTERIM_IMAGE_DIR)/$(JIMAGE_TARGET_FILE)
TARGETS += $(jlink_interim_image)
################################################################################

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -67,7 +67,8 @@ $(eval $(call SetupJavaCompilation, BUILD_JRTFS, \
$(eval $(call SetupCopyFiles, COPY_JIMAGE_SERVICE_PROVIDER, \
SRC := $(TOPDIR)/src/java.base/share/classes, \
DEST := $(SUPPORT_OUTPUTDIR)/jrtfs_classes, \
FILES := META-INF/services/java.nio.file.spi.FileSystemProvider))
FILES := META-INF/services/java.nio.file.spi.FileSystemProvider, \
))
$(eval $(call SetupJarArchive, BUILD_JRTFS_JAR, \
DEPENDENCIES := $(BUILD_JRTFS) $(COPY_JIMAGE_SERVICE_PROVIDER), \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2019, 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, 2023, 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
@@ -31,7 +31,7 @@
# Declare default target
default:
ifeq ($(wildcard $(SPEC)),)
ifeq ($(wildcard $(SPEC)), )
$(error Main.gmk needs SPEC set to a proper spec.gmk)
endif
@@ -278,6 +278,18 @@ $(eval $(call SetupTarget, eclipse-mixed-env, \
ARGS := --always-make, \
))
$(eval $(call SetupTarget, hotspot-xcode-project, \
MAKEFILE := ide/xcode/hotspot/CreateXcodeProject, \
TARGET := build, \
DEPS := hotspot compile-commands-hotspot jdk-image, \
))
$(eval $(call SetupTarget, open-hotspot-xcode-project, \
MAKEFILE := ide/xcode/hotspot/CreateXcodeProject, \
TARGET := open, \
DEPS := hotspot-xcode-project, \
))
ALL_TARGETS += $(HOTSPOT_VARIANT_TARGETS) $(HOTSPOT_VARIANT_GENSRC_TARGETS) \
$(HOTSPOT_VARIANT_LIBS_TARGETS) $(HOTSPOT_VARIANT_STATIC_LIBS_TARGETS)
@@ -442,6 +454,18 @@ $(eval $(call SetupTarget, symbols-image, \
TARGET := symbols, \
))
$(eval $(call SetupTarget, static-launcher, \
MAKEFILE := StaticLibs, \
TARGET := static-launcher, \
DEPS := hotspot-static-libs static-libs, \
))
$(eval $(call SetupTarget, static-jdk-image, \
MAKEFILE := StaticLibs, \
TARGET := static-jdk-image, \
DEPS := static-exploded-image jdk-image, \
))
$(eval $(call SetupTarget, static-libs-image, \
MAKEFILE := StaticLibsImage, \
TARGET := static-libs-image, \
@@ -556,6 +580,10 @@ $(eval $(call SetupTarget, update-build-docs, \
MAKEFILE := UpdateBuildDocs, \
))
$(eval $(call SetupTarget, update-sleef-source, \
MAKEFILE := UpdateSleefSource, \
))
$(eval $(call SetupTarget, update-x11wrappers, \
MAKEFILE := UpdateX11Wrappers, \
DEPS := java.base-copy buildtools-jdk, \
@@ -769,13 +797,13 @@ $(eval $(call SetupTarget, build-microbenchmark, \
$(eval $(call SetupTarget, test, \
MAKEFILE := RunTests, \
ARGS := TEST="$(TEST)", \
DEPS := jdk-image test-image, \
DEPS := jdk-image test-image $(TEST_DEPS), \
))
$(eval $(call SetupTarget, exploded-test, \
MAKEFILE := RunTests, \
ARGS := TEST="$(TEST)" JDK_IMAGE_DIR=$(JDK_OUTPUTDIR), \
DEPS := exploded-image test-image, \
DEPS := exploded-image test-image $(TEST_DEPS), \
))
ifeq ($(JCOV_ENABLED), true)
@@ -1070,9 +1098,9 @@ else
symbols-image: $(LIBS_TARGETS) $(LAUNCHER_TARGETS)
static-libs-image: hotspot-static-libs $(STATIC_LIBS_TARGETS)
static-libs-image: hotspot-static-libs static-libs
static-libs-graal-image: $(STATIC_LIBS_TARGETS)
static-libs-graal-image: static-libs
bootcycle-images: jdk-image
@@ -1094,8 +1122,8 @@ else
test-make-compile-commands: compile-commands
# Declare dependency for all generated test targets
$(foreach t, $(filter-out test-make%, $(ALL_TEST_TARGETS)), $(eval $t: jdk-image test-image))
$(foreach t, $(ALL_EXPLODED_TEST_TARGETS), $(eval $t: exploded-image test-image))
$(foreach t, $(filter-out test-make%, $(ALL_TEST_TARGETS)), $(eval $t: jdk-image test-image $(TEST_DEPS)))
$(foreach t, $(ALL_EXPLODED_TEST_TARGETS), $(eval $t: exploded-image test-image $(TEST_DEPS)))
interim-image: $(INTERIM_JMOD_TARGETS)
@@ -1238,6 +1266,8 @@ ifeq ($(call isTargetOs, macosx), true)
legacy-images: mac-legacy-jre-bundle
endif
static-exploded-image: static-launcher exploded-image
# These targets build the various documentation images
docs-jdk-image: docs-jdk
docs-javase-image: docs-javase
@@ -1280,7 +1310,7 @@ endif
################################################################################
# all-images builds all our deliverables as images.
all-images: product-images test-image all-docs-images
all-images: product-images static-jdk-image test-image all-docs-images
# all-bundles packages all our deliverables as tar.gz bundles.
all-bundles: product-bundles test-bundles docs-bundles static-libs-bundles
@@ -1293,7 +1323,7 @@ ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-static-libs \
create-buildjdk docs-jdk-api docs-javase-api docs-reference-api docs-jdk \
docs-javase docs-reference docs-javadoc mac-bundles product-images legacy-images \
docs-image docs-javase-image docs-reference-image all-docs-images \
docs-bundles all-docs-bundles test-image all-images \
docs-bundles all-docs-bundles test-image all-images static-exploded-image \
all-bundles
################################################################################
@@ -1328,9 +1358,13 @@ test-hotspot-jtreg-native: test-hotspot_native_sanity
test-hotspot-gtest: exploded-test-gtest
test-jdk-jtreg-native: test-jdk_native_sanity
# Set dependencies for doc tests
$(eval $(call AddTestDependency, docs_all, docs-jdk))
test-docs: test-docs_all
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-jdk-jtreg-native test-docs
################################################################################
################################################################################
@@ -1402,7 +1436,7 @@ dist-clean: clean
($(CD) $(OUTPUTDIR) && \
$(RM) -r *spec.gmk $(CONFIGURESUPPORT_OUTPUTDIR) Makefile compare.sh ide \
configure.log* build.log*)
$(if $(filter $(CONF_NAME),$(notdir $(OUTPUTDIR))), \
$(if $(filter $(CONF_NAME), $(notdir $(OUTPUTDIR))), \
if test "x`$(LS) $(OUTPUTDIR)`" != x; then \
$(ECHO) "Warning: Not removing non-empty configuration directory for '$(CONF_NAME)'" ; \
else \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, 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
@@ -137,6 +137,15 @@ define CleanModule
$(call Clean-include, $1)
endef
define AddTestDependency
test-$(strip $1): $2
exploded-test-$(strip $1): $2
ifneq ($(filter $(TEST), $1), )
TEST_DEPS += $2
endif
endef
################################################################################
@@ -175,7 +184,7 @@ define DeclareRecipesForPhaseAndModule
$$(foreach d, $$($1_$2_TOPDIRS), \
$$(eval $1 += $2-$$($1_TARGET_SUFFIX)-$$(notdir $$d)))
endif
ifeq ($(NO_RECIPES),)
ifeq ($(NO_RECIPES), )
$$(eval $$(call DeclareRecipeForModuleMakefile,$1,$2))
endif
$1 += $2-$$($1_TARGET_SUFFIX)
@@ -197,8 +206,8 @@ endef
# $1_MODULES : All modules that had rules generated
# $1_TARGETS : All targets generated
define DeclareRecipesForPhase
$(foreach i,2 3 4 5 6 7 8, $(if $(strip $($i)),$(strip $1)_$(strip $($i)))$(NEWLINE))
$(if $(9),$(error Internal makefile error: Too many arguments to \
$(foreach i, 2 3 4 5 6 7 8, $(if $(strip $($i)),$(strip $1)_$(strip $($i)))$(NEWLINE))
$(if $(9), $(error Internal makefile error: Too many arguments to \
DeclareRecipesForPhase, please update MakeHelper.gmk))
$$(foreach m, $$($(strip $1)_CHECK_MODULES), \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -45,6 +45,23 @@ TARGETS :=
# Include the file being wrapped.
include $(MAKEFILE_PREFIX).gmk
ifeq ($(MAKEFILE_PREFIX), Lib)
# We need to keep track of what libraries are generated/needed by this
# module. This information is required when doing static linking, to know
# which static library files to include. The variable $(MODULE)_INCLUDED_LIBS is
# added to for each call to SetupJdkLibrary. The file module-included-libs.txt is then
# read in StaticLibs.gmk.
ifneq ($($(MODULE)_INCLUDED_LIBS), )
LIBLIST := $(SUPPORT_OUTPUTDIR)/modules_static-libs/$(MODULE)/module-included-libs.txt
$(LIBLIST): $(TARGETS)
$(call MakeDir, $(@D))
$(ECHO) $($(MODULE)_INCLUDED_LIBS) > $@
TARGETS += $(LIBLIST)
endif
endif
# Setup copy rules from the modules directories to the jdk image directory.
ifeq ($(call isTargetOs, windows), true)
TO_BIN_FILTER := %$(SHARED_LIBRARY_SUFFIX) %.diz %.pdb %.map

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 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
@@ -45,7 +45,7 @@ ifneq ($(TEST_VM_OPTS), )
endif
$(eval $(call ParseKeywordVariable, TEST_OPTS, \
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR JCOV JCOV_DIFF_CHANGESET, \
SINGLE_KEYWORDS := JOBS TIMEOUT_FACTOR JCOV JCOV_DIFF_CHANGESET AOT_JDK, \
STRING_KEYWORDS := VM_OPTIONS JAVA_OPTIONS, \
))
@@ -104,7 +104,8 @@ ifneq ($(wildcard $(JTREG_FAILURE_HANDLER)), )
-observerDir:$(JTREG_FAILURE_HANDLER) \
-timeoutHandler:jdk.test.failurehandler.jtreg.GatherProcessInfoTimeoutHandler \
-observer:jdk.test.failurehandler.jtreg.GatherDiagnosticInfoObserver \
-timeoutHandlerTimeout:$(JTREG_FAILURE_HANDLER_TIMEOUT)
-timeoutHandlerTimeout:$(JTREG_FAILURE_HANDLER_TIMEOUT) \
#
endif
GTEST_LAUNCHER_DIRS := $(patsubst %/gtestLauncher, %, \
@@ -201,11 +202,12 @@ $(eval $(call SetTestOpt,JOBS,JTREG))
$(eval $(call SetTestOpt,TIMEOUT_FACTOR,JTREG))
$(eval $(call SetTestOpt,FAILURE_HANDLER_TIMEOUT,JTREG))
$(eval $(call SetTestOpt,REPORT,JTREG))
$(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 $(CUSTOM_JTREG_SINGLE_KEYWORDS), \
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), \
@@ -263,6 +265,7 @@ jaxp_JTREG_PROBLEM_LIST += $(TOPDIR)/test/jaxp/ProblemList.txt
langtools_JTREG_PROBLEM_LIST += $(TOPDIR)/test/langtools/ProblemList.txt
hotspot_JTREG_PROBLEM_LIST += $(TOPDIR)/test/hotspot/jtreg/ProblemList.txt
lib-test_JTREG_PROBLEM_LIST += $(TOPDIR)/test/lib-test/ProblemList.txt
docs_JTREG_PROBLEM_LIST += $(TOPDIR)/test/docs/ProblemList.txt
################################################################################
# Parse test selection
@@ -500,7 +503,7 @@ define SetupRunGtestTestBody
endif
ifneq ($$(GTEST_REPEAT), )
$1_GTEST_REPEAT :=--gtest_repeat=$$(GTEST_REPEAT)
$1_GTEST_REPEAT := --gtest_repeat=$$(GTEST_REPEAT)
endif
run-test-$1: pre-run-test
@@ -602,7 +605,7 @@ define SetupRunMicroTestBody
$1_JMH_JVM_ARGS += $$(MICRO_VM_OPTIONS) $$(MICRO_JAVA_OPTIONS)
endif
$1_MICRO_VM_OPTIONS := -jvmArgs $(call ShellQuote,$$($1_JMH_JVM_ARGS))
$1_MICRO_VM_OPTIONS := -jvmArgsPrepend $(call ShellQuote,$$($1_JMH_JVM_ARGS))
ifneq ($$(MICRO_ITER), )
$1_MICRO_ITER := -i $$(MICRO_ITER)
@@ -700,6 +703,58 @@ define SetJtregValue
endif
endef
# Parameter 1 is the name of the rule.
#
# Remaining parameters are named arguments.
# 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
$1_JAVA_TOOL_OPTS := $$(addprefix -J, $$($1_VM_OPTIONS))
$$($1_AOT_JDK_CACHE): $$(JDK_IMAGE_DIR)/release
$$(call MakeDir, $$($1_TEST_SUPPORT_DIR)/aot)
$(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 \
))
)
$$(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 \
))
$$(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)
$$(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) \
))
$1_AOT_TARGETS += $$($1_AOT_JDK_CACHE)
endef
SetupRunJtregTest = $(NamedParamsMacroTemplate)
define SetupRunJtregTestBody
$1_TEST_RESULTS_DIR := $$(TEST_RESULTS_DIR)/$1
@@ -738,6 +793,11 @@ define SetupRunJtregTestBody
# Only the problem list for the current test root should be used.
$1_JTREG_PROBLEM_LIST := $$(filter $$($1_TEST_ROOT)%, $$($1_JTREG_PROBLEM_LIST))
# Pass along the path to the tidy html checker
ifneq ($$(TIDY), )
$1_JTREG_BASIC_OPTIONS += -Dtidy=$$(TIDY)
endif
ifneq ($(TEST_JOBS), 0)
$$(eval $$(call SetJtregValue,$1,JTREG_JOBS,$$(TEST_JOBS)))
else
@@ -748,8 +808,6 @@ define SetupRunJtregTestBody
# we may end up with a lot of JVM's
$1_JTREG_MAX_RAM_PERCENTAGE := $$(shell $(AWK) 'BEGIN { print 25 / $$($1_JTREG_JOBS); }')
JTREG_TIMEOUT_FACTOR ?= 4
JTREG_VERBOSE ?= fail,error,summary
JTREG_RETAIN ?= fail,error
JTREG_TEST_THREAD_FACTORY ?=
@@ -757,6 +815,7 @@ define SetupRunJtregTestBody
JTREG_RETRY_COUNT ?= 0
JTREG_REPEAT_COUNT ?= 0
JTREG_REPORT ?= files
JTREG_AOT_JDK ?= false
ifneq ($$(JTREG_RETRY_COUNT), 0)
ifneq ($$(JTREG_REPEAT_COUNT), 0)
@@ -837,6 +896,24 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$($1_JTREG_PROBLEM_LIST))
endif
JTREG_ALL_OPTIONS := $$(JTREG_JAVA_OPTIONS) $$(JTREG_VM_OPTIONS)
JTREG_AUTO_PROBLEM_LISTS :=
JTREG_AUTO_TIMEOUT_FACTOR := 4
ifneq ($$(findstring -Xcomp, $$(JTREG_ALL_OPTIONS)), )
JTREG_AUTO_PROBLEM_LISTS += ProblemList-Xcomp.txt
JTREG_AUTO_TIMEOUT_FACTOR := 10
endif
ifneq ($$(findstring -XX:+UseZGC, $$(JTREG_ALL_OPTIONS)), )
JTREG_AUTO_PROBLEM_LISTS += ProblemList-zgc.txt
endif
ifneq ($$(findstring -XX:+UseShenandoahGC, $$(JTREG_ALL_OPTIONS)), )
JTREG_AUTO_PROBLEM_LISTS += ProblemList-shenandoah.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 \
@@ -851,6 +928,8 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -e:TEST_IMAGE_DIR=$(TEST_IMAGE_DIR)
$1_JTREG_BASIC_OPTIONS += -e:DOCS_JDK_IMAGE_DIR=$$(DOCS_JDK_IMAGE_DIR)
ifneq ($$(JTREG_FAILURE_HANDLER_OPTIONS), )
$1_JTREG_LAUNCHER_OPTIONS += -Djava.library.path="$(JTREG_FAILURE_HANDLER_DIR)"
endif
@@ -866,9 +945,33 @@ 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))
$1_JTREG_BASIC_OPTIONS += -vmoption:-XX:AOTCache="$$($1_AOT_JDK_CACHE)"
endif
$$(eval $$(call SetupRunJtregTestCustom, $1))
# SetupRunJtregTestCustom might also adjust JTREG_AUTO_ variables
# so set the final results after setting values from custom setup
ifneq ($$(JTREG_AUTO_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 \
$$(JTREG_AUTO_PROBLEM_LISTS) \
$$(addprefix $$($1_TEST_ROOT)/, $$(JTREG_AUTO_PROBLEM_LISTS)) \
))
endif
JTREG_TIMEOUT_FACTOR ?= $$(JTREG_AUTO_TIMEOUT_FACTOR)
clean-outputdirs-$1:
$$(call LogWarn, Clean up dirs for $1)
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
$$(RM) -r $$($1_TEST_RESULTS_DIR)
@@ -916,7 +1019,7 @@ define SetupRunJtregTestBody
done
endif
run-test-$1: pre-run-test clean-outputdirs-$1
run-test-$1: clean-outputdirs-$1 pre-run-test $$($1_AOT_TARGETS)
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR) \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 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
@@ -34,7 +34,7 @@ ifneq ($(findstring :, $(MAKE)), )
endif
# Locate this Makefile
ifeq ($(filter /%, $(lastword $(MAKEFILE_LIST))),)
ifeq ($(filter /%, $(lastword $(MAKEFILE_LIST))), )
makefile_path := $(CURDIR)/$(strip $(lastword $(MAKEFILE_LIST)))
else
makefile_path := $(lastword $(MAKEFILE_LIST))
@@ -67,7 +67,7 @@ define SetupVariable
ifneq ($$(findstring $$(LOG), info debug trace), )
$$(info Prebuilt variable $1=$2 (default value))
endif
$1:=$2
$1 := $2
endif
else
ifneq ($$(findstring $$(LOG), info debug trace), )
@@ -163,7 +163,7 @@ else ifeq ($(UNAME_OS), MINGW64)
OPENJDK_TARGET_OS_TYPE := windows
OPENJDK_TARGET_OS_ENV := windows.msys2
else
OPENJDK_TARGET_OS_TYPE:=unix
OPENJDK_TARGET_OS_TYPE := unix
ifeq ($(UNAME_OS), Linux)
OPENJDK_TARGET_OS := linux
else ifeq ($(UNAME_OS), Darwin)

View File

@@ -63,16 +63,16 @@ 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)
################################################################################
# Hard-coded values copied from spec.gmk.in.
X:=
SPACE:=$(X) $(X)
COMMA:=,
X :=
SPACE := $(X) $(X)
COMMA := ,
MAKE_ARGS = $(MAKE_LOG_FLAGS) -r -R -I $(TOPDIR)/make/common SPEC=$(SPEC) \
MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" LOG_LEVEL=$(LOG_LEVEL)
BASH_ARGS := -o pipefail -e

View File

@@ -64,7 +64,7 @@ ifeq ($(USE_SCM), true)
# Verify that the entire forest is consistent
$(foreach repo, $(call FindAllReposRel), \
$(if $(wildcard $(TOPDIR)/$(repo)/$(SCM_DIR)),, \
$(if $(wildcard $(TOPDIR)/$(repo)/$(SCM_DIR)), , \
$(error Inconsistent revision control: $(repo) is missing $(SCM_DIR) directory)) \
)
@@ -72,7 +72,7 @@ ifeq ($(USE_SCM), true)
MakeFilenameFromRepo = \
$(strip $(subst .,top, $(subst /,-, $1)))
################################################################################
##############################################################################
# SetupGetRevisionForRepo defines a make rule for creating a file containing
# the name of the repository and the output of the scm command for that
# repository.

191
make/StaticLibs.gmk Normal file
View File

@@ -0,0 +1,191 @@
#
# Copyright (c) 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
# 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.
#
default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include DebugInfoUtils.gmk
include Modules.gmk
include modules/LauncherCommon.gmk
################################################################################
#
# Create the static java launcher
#
################################################################################
STATIC_JDK_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/static-jdk
STATIC_LAUNCHER_OUTPUT_DIR := $(SUPPORT_OUTPUTDIR)/static-native/launcher
HOTSPOT_STATIC_LIB_PATH := $(HOTSPOT_OUTPUTDIR)/*/libjvm/objs/static
ifneq ($(word 2, $(wildcard $(HOTSPOT_STATIC_LIB_PATH))), )
$(error Cannot perform static linking when building more than one JVM library)
endif
# Find all modules with static libraries
STATIC_LIB_MODULES := $(patsubst $(SUPPORT_OUTPUTDIR)/modules_static-libs/%, \
%, $(wildcard $(SUPPORT_OUTPUTDIR)/modules_static-libs/*))
# Filter out known broken libraries. This is a temporary measure until
# proper support for these libraries can be provided.
ifeq ($(call isTargetOs, linux), true)
# libsplashscreen has a name conflict with libawt in the function
# BitmapToYXBandedRectangles, so we exclude it for now.
BROKEN_STATIC_LIBS += splashscreen
else ifeq ($(call isTargetOs, macosx), true)
# libosxsecurity has a name conflict with libosxapp in the function
# JavaStringToNSString, so we exclude it for now.
BROKEN_STATIC_LIBS += osxsecurity
else ifeq ($(call isTargetOs, windows), true)
# libsplashscreen has a name conflict with libawt in the function
# BitmapToYXBandedRectangles, so we exclude it for now.
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
endif
$(foreach module, $(STATIC_LIB_MODULES), \
$(eval LIBS_$(module) := $(filter-out $(BROKEN_STATIC_LIBS), $(shell cat \
$(SUPPORT_OUTPUTDIR)/modules_static-libs/$(module)/module-included-libs.txt))) \
)
STATIC_LIB_FILES := $(foreach module, $(STATIC_LIB_MODULES), \
$(foreach lib, $(LIBS_$(module)), \
$(SUPPORT_OUTPUTDIR)/native/$(module)/lib$(lib)/static/$(LIBRARY_PREFIX)$(lib)$(STATIC_LIBRARY_SUFFIX)))
# Add Hotspot
STATIC_LIB_FILES += $(wildcard $(HOTSPOT_STATIC_LIB_PATH)/$(LIBRARY_PREFIX)jvm$(STATIC_LIBRARY_SUFFIX))
# Figure out what external libraries are required to link these static JDK
# libraries.
LIB_FLAGS_FILES := $(addsuffix .lib-flags.txt, $(STATIC_LIB_FILES))
# Gather the lib flags from all individual libraries. There are many duplicates,
# so sort and just keep unique instances. On macOS, a common pattern is
# "-framework FooFramework", so we must make sure we keep the two words together.
EXTERNAL_LIBS := $(strip $(shell $(CAT) $(LIB_FLAGS_FILES) | \
$(SED) -e 's/-framework /-framework_/g' | $(TR) ' ' '\n' | $(SORT) -u | \
$(SED) -e 's/-framework_/-framework /g'))
ifeq ($(call isTargetOs, macosx), true)
STATIC_LIBS := $(addprefix -force_load$(SPACE), $(STATIC_LIB_FILES))
else ifeq ($(call isTargetOs, linux), true)
STATIC_LIBS := -Wl,--export-dynamic -Wl,--whole-archive $(STATIC_LIB_FILES) -Wl,--no-whole-archive
else ifeq ($(call isTargetOs, windows), true)
STATIC_LIBS := $(addprefix -wholearchive:, $(STATIC_LIB_FILES))
else
$(error Unsupported platform)
endif
$(eval $(call SetupBuildLauncher, java, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS -DENABLE_ARG_FILES, \
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), \
LINK_TYPE := C++, \
OUTPUT_DIR := $(STATIC_LAUNCHER_OUTPUT_DIR), \
OBJECT_DIR := $(STATIC_LAUNCHER_OUTPUT_DIR), \
))
$(java): $(STATIC_LIB_FILES)
TARGETS += $(java)
JAVA_LAUNCHER := $(BUILD_LAUNCHER_java_TARGET)
static-launcher: $(java)
################################################################################
#
# Create the static-jdk image with the statically built java launcher
#
################################################################################
# Until we get proper support in jlink for generating an image with static
# builds, we need to create the image ourselves. We base it on a normal
# dynamically linked JDK image.
# All these files/dirs should be copied as-is
JDK_IMAGE_COPY_FILES := $(addprefix $(JDK_IMAGE_DIR)/, conf demo include jmods \
legal man/man1/java.1 release README)
# We need to copy some files from lib, but not the dynamic libraries themselves
ALL_LIB_FILES := $(call FindFiles, $(JDK_IMAGE_DIR)/lib)
# Remove all dynamic libraries from the list
JDK_IMAGE_COPY_LIB_FILES := $(filter-out %$(SHARED_LIBRARY_SUFFIX), $(ALL_LIB_FILES))
# Remove all debug files from the list
ifeq ($(call isTargetOs, macosx), true)
JDK_IMAGE_COPY_LIB_FILES := $(call not-containing, .dSYM, $(JDK_IMAGE_COPY_LIB_FILES))
else
JDK_IMAGE_COPY_LIB_FILES := $(filter-out %.debuginfo %.pdb %.map, $(JDK_IMAGE_COPY_LIB_FILES))
endif
static-jdk-info:
$(call LogWarn, Creating static-jdk image)
$(eval $(call SetupCopyFiles, copy-from-jdk-image, \
SRC := $(JDK_IMAGE_DIR), \
DEST := $(STATIC_JDK_IMAGE_DIR), \
FILES := $(call FindFiles, $(JDK_IMAGE_COPY_FILES)) \
$(JDK_IMAGE_COPY_LIB_FILES), \
))
TARGETS += $(copy-from-jdk-image)
$(copy-from-jdk-image): | static-jdk-info
$(eval $(call SetupCopyFiles, copy-static-launcher, \
FILES := $(JAVA_LAUNCHER), \
DEST := $(STATIC_JDK_IMAGE_DIR)/bin, \
))
TARGETS += $(copy-static-launcher)
$(eval $(call SetupCopyFiles, copy-static-launcher-debuginfo, \
SRC := $(STATIC_LAUNCHER_OUTPUT_DIR), \
DEST := $(STATIC_JDK_IMAGE_DIR)/bin, \
FILES := $(call FindDebuginfoFiles, $(STATIC_LAUNCHER_OUTPUT_DIR)), \
))
TARGETS += $(copy-static-launcher-debuginfo)
static-jdk-image: $(copy-from-jdk-image) $(copy-static-launcher) $(copy-static-launcher-debuginfo)
TARGETS += static-jdk-image
all: $(TARGETS)
.PHONY: all static-launcher static-jdk-image

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2019, 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
@@ -41,9 +41,9 @@ ALL_MODULES = $(call FindAllModules)
TARGETS :=
ifneq ($(filter static-libs-image, $(MAKECMDGOALS)), )
IMAGE_DEST_DIR=$(STATIC_LIBS_IMAGE_DIR)/lib
IMAGE_DEST_DIR = $(STATIC_LIBS_IMAGE_DIR)/lib
else ifneq ($(filter static-libs-graal-image, $(MAKECMDGOALS)), )
IMAGE_DEST_DIR=$(STATIC_LIBS_GRAAL_IMAGE_DIR)/lib
IMAGE_DEST_DIR = $(STATIC_LIBS_GRAAL_IMAGE_DIR)/lib
endif
# Copy JDK static libs to the image.

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 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
@@ -31,7 +31,7 @@ include MakeBase.gmk
# Hook to include the corresponding custom file, if present.
$(eval $(call IncludeCustomExtension, TestImage-pre.gmk))
############################################################################
################################################################################
BUILD_INFO_PROPERTIES := $(TEST_IMAGE_DIR)/build-info.properties

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 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
@@ -42,6 +42,6 @@ BUILD_TOOLS_HOTSPOT := $(call SetupJavaCompilationCompileTarget, \
TOOL_JFR_GEN := $(JAVA_SMALL) -cp $(HOTSPOT_TOOLS_OUTPUTDIR) \
build.tools.jfr.GenerateJfrFiles
##########################################################################################
################################################################################
endif # _TOOLS_HOTSPOT_GMK

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, 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
@@ -128,14 +128,14 @@ TOOL_PUBLICSUFFIXLIST = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_clas
TOOL_FIXUPPANDOC = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
build.tools.fixuppandoc.Main
##########################################################################################
################################################################################
# Executable javascript filter for man page generation using pandoc.
PANDOC_TROFF_MANPAGE_FILTER := $(BUILDTOOLS_OUTPUTDIR)/manpages/pandoc-troff-manpage-filter
PANDOC_HTML_MANPAGE_FILTER := $(BUILDTOOLS_OUTPUTDIR)/manpages/pandoc-html-manpage-filter
##########################################################################################
################################################################################
# Hook to include the corresponding custom post file, if present.
$(eval $(call IncludeCustomExtension, ToolsJdk-post.gmk))

153
make/UpdateSleefSource.gmk Normal file
View File

@@ -0,0 +1,153 @@
#
# Copyright (c) 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
# 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.
#
################################################################################
default: all
include $(SPEC)
include MakeBase.gmk
include CopyFiles.gmk
include Execute.gmk
################################################################################
# This file is responsible for updating the generated sleef source code files
# that are checked in to the JDK repo, and that are actually used when building.
# This target needs to be re-run every time the source code of libsleef is
# updated from upstream.
################################################################################
ifneq ($(COMPILE_TYPE), cross)
$(error Only cross-compilation of libsleef is currently supported)
endif
ifeq ($(CMAKE), )
$(error CMake not found. Please install cmake and rerun configure)
endif
ifneq ($(OPENJDK_BUILD_OS), linux)
$(error This target is only supported on linux)
endif
SLEEF_SUPPORT_DIR := $(MAKESUPPORT_OUTPUTDIR)/sleef
SLEEF_SOURCE_BASE_DIR := $(TOPDIR)/src/jdk.incubator.vector/linux/native/libsleef
SLEEF_SOURCE_DIR := $(SLEEF_SOURCE_BASE_DIR)/upstream
SLEEF_TARGET_DIR := $(SLEEF_SOURCE_BASE_DIR)/generated
SLEEF_NATIVE_BUILD_DIR := $(SLEEF_SUPPORT_DIR)/native
SLEEF_CROSS_BUILD_DIR := $(SLEEF_SUPPORT_DIR)/cross
ifeq ($(OPENJDK_TARGET_CPU), aarch64)
CROSS_COMPILATION_FILENAMES := sleefinline_advsimd.h sleefinline_sve.h
EXTRA_CROSS_OPTIONS := -DSLEEF_ENFORCE_SVE=TRUE
else ifeq ($(OPENJDK_TARGET_CPU), riscv64)
CROSS_COMPILATION_FILENAMES := sleefinline_rvvm1.h
EXTRA_CROSS_OPTIONS := -DSLEEF_ENFORCE_RVVM1=TRUE
else
$(error Unsupported platform)
endif
CROSS_COMPILATION_SRC_FILES := $(addprefix $(SLEEF_CROSS_BUILD_DIR)/include/, \
$(CROSS_COMPILATION_FILENAMES))
ifeq ($(TOOLCHAIN_TYPE), clang)
SLEEF_TOOLCHAIN_TYPE := llvm
else
SLEEF_TOOLCHAIN_TYPE := $(TOOLCHAIN_TYPE)
endif
SLEEF_CMAKE_FILE := toolchains/$(OPENJDK_TARGET_CPU)-$(SLEEF_TOOLCHAIN_TYPE).cmake
# We need to run CMake twice, first using it to configure the build, and then
# to actually build; and we need to do this twice, once for a native build
# and once for the cross-compilation build.
$(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), \
))
TARGETS := $(sleef_native_config)
$(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, \
))
TARGETS := $(sleef_native_build)
$(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) \
-DCMAKE_C_COMPILER=$(CC) \
-DCMAKE_TOOLCHAIN_FILE=$(SLEEF_CMAKE_FILE) \
-DNATIVE_BUILD_DIR=$(SLEEF_NATIVE_BUILD_DIR) \
-DSLEEF_BUILD_INLINE_HEADERS=TRUE \
$(EXTRA_CROSS_OPTIONS), \
))
TARGETS := $(sleef_cross_config)
$(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, \
))
TARGETS := $(sleef_cross_build)
$(CROSS_COMPILATION_SRC_FILES): $(sleef_cross_build)
# Finally, copy the generated files (and one needed static file) into our
# target directory.
$(eval $(call SetupCopyFiles, copy_static_sleef_source, \
FILES := $(SLEEF_SOURCE_DIR)/src/common/misc.h, \
DEST := $(SLEEF_TARGET_DIR), \
))
TARGETS := $(copy_static_sleef_source)
$(eval $(call SetupCopyFiles, copy_generated_sleef_source, \
FILES := $(CROSS_COMPILATION_SRC_FILES), \
DEST := $(SLEEF_TARGET_DIR), \
))
TARGETS := $(copy_generated_sleef_source)
################################################################################
all: $(TARGETS)
.PHONY: all default

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -27,13 +27,13 @@ default: all
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.gmk
include ZipArchive.gmk
##########################################################################################
################################################################################
#
# sec-bin.zip is used by builds where the corresponding sources are not available
#
$(eval $(call SetupZipArchive,BUILD_SEC_BIN_ZIP, \
$(eval $(call SetupZipArchive, BUILD_SEC_BIN_ZIP, \
SRC := $(JDK_OUTPUTDIR), \
INCLUDES := \
modules/java.base/javax/crypto \
@@ -60,20 +60,22 @@ $(eval $(call SetupZipArchive,BUILD_SEC_BIN_ZIP, \
modules/java.security.jgss/sun/security/krb5/internal/util, \
INCLUDE_FILES := modules/java.security.jgss/sun/security/jgss/spi/GSSContextSpi.class, \
EXCLUDES := modules/java.security.jgss/sun/security/krb5/internal/tools, \
ZIP := $(IMAGES_OUTPUTDIR)/sec-bin.zip))
ZIP := $(IMAGES_OUTPUTDIR)/sec-bin.zip, \
))
TARGETS += $(IMAGES_OUTPUTDIR)/sec-bin.zip
##########################################################################################
################################################################################
#
# Windows specific binary security packages.
#
ifeq ($(call isTargetOs, windows), true)
# sec-windows-bin.zip is used by builds where the corresponding sources are not available
$(eval $(call SetupZipArchive,BUILD_SEC_WINDOWS_BIN_ZIP, \
$(eval $(call SetupZipArchive, BUILD_SEC_WINDOWS_BIN_ZIP, \
SRC := $(JDK_OUTPUTDIR), \
INCLUDES := modules/java.security.jgss/sun/security/krb5/internal/tools, \
ZIP := $(IMAGES_OUTPUTDIR)/sec-windows-bin.zip))
ZIP := $(IMAGES_OUTPUTDIR)/sec-windows-bin.zip, \
))
TARGETS += $(IMAGES_OUTPUTDIR)/sec-windows-bin.zip
@@ -84,18 +86,19 @@ ifeq ($(call isTargetOs, windows), true)
JGSS_ZIP_NAME = jgss-windows-i586-bin.zip
endif
$(eval $(call SetupZipArchive,BUILD_JGSS_BIN_ZIP, \
$(eval $(call SetupZipArchive, BUILD_JGSS_BIN_ZIP, \
SRC := $(SUPPORT_OUTPUTDIR), \
INCLUDE_FILES := modules_libs/java.security.jgss/w2k_lsa_auth.dll \
modules_libs/java.security.jgss/w2k_lsa_auth.dll.diz \
modules_libs/java.security.jgss/w2k_lsa_auth.dll.map \
modules_libs/java.security.jgss/w2k_lsa_auth.dll.pdb, \
ZIP := $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME)))
ZIP := $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME), \
))
TARGETS += $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME)
endif
##########################################################################################
################################################################################
all: $(TARGETS)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -27,8 +27,8 @@ default: all
include $(SPEC)
include MakeBase.gmk
include JavaCompilation.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)))

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
@@ -23,5 +23,5 @@
# This Makefile was generated by configure @DATE_WHEN_CONFIGURED@
# GENERATED FILE, DO NOT EDIT
SPEC:=@OUTPUTDIR@/spec.gmk
SPEC := @OUTPUTDIR@/spec.gmk
include @WORKSPACE_ROOT@/Makefile

View File

@@ -26,7 +26,7 @@
m4_include([basic_tools.m4])
m4_include([basic_windows.m4])
###############################################################################
################################################################################
AC_DEFUN_ONCE([BASIC_INIT],
[
# Save the original command line. This is passed to us by the wrapper configure script.
@@ -46,7 +46,7 @@ AC_DEFUN_ONCE([BASIC_INIT],
AC_MSG_NOTICE([Configuration created at $DATE_WHEN_CONFIGURED.])
])
###############################################################################
################################################################################
# Check that there are no unprocessed overridden variables left.
# If so, they are an incorrect argument and we will exit with an error.
AC_DEFUN([BASIC_CHECK_LEFTOVER_OVERRIDDEN],
@@ -58,7 +58,7 @@ AC_DEFUN([BASIC_CHECK_LEFTOVER_OVERRIDDEN],
fi
])
###############################################################################
################################################################################
# Setup basic configuration paths, and platform-specific stuff related to PATHs.
# Make sure to only use tools set up in BASIC_SETUP_FUNDAMENTAL_TOOLS.
AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
@@ -76,6 +76,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
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
@@ -102,7 +105,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_PATHS],
AUTOCONF_DIR=$TOPDIR/make/autoconf
])
###############################################################################
################################################################################
# Setup what kind of build environment type we have (CI or local developer)
AC_DEFUN_ONCE([BASIC_SETUP_BUILD_ENV],
[
@@ -141,7 +144,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_BUILD_ENV],
AC_SUBST(LOCALE_USED)
])
###############################################################################
################################################################################
# Evaluates platform specific overrides for devkit variables.
# $1: Name of variable
AC_DEFUN([BASIC_EVAL_DEVKIT_VARIABLE],
@@ -151,7 +154,7 @@ AC_DEFUN([BASIC_EVAL_DEVKIT_VARIABLE],
fi
])
###############################################################################
################################################################################
# Evaluates platform specific overrides for build devkit variables.
# $1: Name of variable
AC_DEFUN([BASIC_EVAL_BUILD_DEVKIT_VARIABLE],
@@ -161,7 +164,7 @@ AC_DEFUN([BASIC_EVAL_BUILD_DEVKIT_VARIABLE],
fi
])
###############################################################################
################################################################################
AC_DEFUN([BASIC_SETUP_XCODE_SYSROOT],
[
AC_MSG_CHECKING([for sdk name])
@@ -246,7 +249,7 @@ AC_DEFUN([BASIC_SETUP_XCODE_SYSROOT],
fi
])
###############################################################################
################################################################################
AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
[
AC_ARG_WITH([devkit], [AS_HELP_STRING([--with-devkit],
@@ -380,7 +383,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEVKIT],
AC_MSG_RESULT([$EXTRA_PATH])
])
###############################################################################
################################################################################
AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
[
@@ -477,7 +480,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
AC_CONFIG_FILES([$OUTPUTDIR/Makefile:$AUTOCONF_DIR/Makefile.template])
])
###############################################################################
################################################################################
# Check if build directory is on local disk. If not possible to determine,
# we prefer to claim it's local.
# Argument 1: directory to test
@@ -514,7 +517,7 @@ AC_DEFUN([BASIC_CHECK_DIR_ON_LOCAL_DISK],
fi
])
###############################################################################
################################################################################
# Check that source files have basic read permissions set. This might
# not be the case in cygwin in certain conditions.
AC_DEFUN_ONCE([BASIC_CHECK_SRC_PERMS],
@@ -529,7 +532,7 @@ AC_DEFUN_ONCE([BASIC_CHECK_SRC_PERMS],
fi
])
###############################################################################
################################################################################
AC_DEFUN_ONCE([BASIC_TEST_USABILITY_ISSUES],
[
AC_MSG_CHECKING([if build directory is on local disk])
@@ -572,7 +575,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEFAULT_MAKE_TARGET],
AC_SUBST(DEFAULT_MAKE_TARGET)
])
###############################################################################
################################################################################
# Setup the default value for LOG=
#
AC_DEFUN_ONCE([BASIC_SETUP_DEFAULT_LOG],
@@ -591,7 +594,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_DEFAULT_LOG],
AC_SUBST(DEFAULT_LOG)
])
###############################################################################
################################################################################
# Code to run after AC_OUTPUT
AC_DEFUN_ONCE([BASIC_POST_CONFIG_OUTPUT],
[

View File

@@ -23,12 +23,12 @@
# questions.
#
###############################################################################
################################################################################
# It is recommended to use exactly this version of pandoc, especially for
# re-generating checked in html files
RECOMMENDED_PANDOC_VERSION=2.19.2
###############################################################################
################################################################################
# Setup the most fundamental tools, used for setting up build platform and
# path handling.
AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
@@ -59,7 +59,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_FUNDAMENTAL_TOOLS],
UTIL_LOOKUP_PROGS(CMD, cmd.exe, $PATH:/cygdrive/c/windows/system32:/mnt/c/windows/system32:/c/windows/system32)
])
###############################################################################
################################################################################
# Setup further tools that should be resolved early but after setting up
# build platform and path handling.
AC_DEFUN_ONCE([BASIC_SETUP_TOOLS],
@@ -99,6 +99,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_TOOLS],
UTIL_REQUIRE_SPECIAL(FGREP, [AC_PROG_FGREP])
# Optional tools, we can do without them
UTIL_LOOKUP_PROGS(CMAKE, cmake)
UTIL_LOOKUP_PROGS(DF, df)
UTIL_LOOKUP_PROGS(GIT, git)
UTIL_LOOKUP_PROGS(NICE, nice)
@@ -116,7 +117,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_TOOLS],
RM="$RM -f"
])
###############################################################################
################################################################################
# Check if we have found a usable version of make
# $1: the path to a potential make binary (or empty)
# $2: the description on how we found this
@@ -129,7 +130,7 @@ AC_DEFUN([BASIC_CHECK_MAKE_VERSION],
if test "x$OPENJDK_BUILD_OS_ENV" = "xwindows.cygwin"; then
MAKE_VERSION_EXPR="-e 4\."
MAKE_REQUIRED_VERSION="4.0"
else
else
MAKE_VERSION_EXPR="-e 3\.8[[12]] -e 4\."
MAKE_REQUIRED_VERSION="3.81"
fi
@@ -176,7 +177,7 @@ AC_DEFUN([BASIC_CHECK_MAKE_VERSION],
fi
])
###############################################################################
################################################################################
AC_DEFUN([BASIC_CHECK_MAKE_OUTPUT_SYNC],
[
# Check if make supports the output sync option and if so, setup using it.
@@ -201,7 +202,7 @@ AC_DEFUN([BASIC_CHECK_MAKE_OUTPUT_SYNC],
AC_SUBST(OUTPUT_SYNC)
])
###############################################################################
################################################################################
# Goes looking for a usable version of GNU make.
AC_DEFUN([BASIC_CHECK_GNU_MAKE],
[
@@ -249,7 +250,7 @@ AC_DEFUN([BASIC_CHECK_GNU_MAKE],
BASIC_CHECK_MAKE_OUTPUT_SYNC
])
###############################################################################
################################################################################
AC_DEFUN([BASIC_CHECK_FIND_DELETE],
[
# Test if find supports -delete
@@ -278,7 +279,7 @@ AC_DEFUN([BASIC_CHECK_FIND_DELETE],
AC_SUBST(FIND_DELETE)
])
###############################################################################
################################################################################
AC_DEFUN([BASIC_CHECK_TAR],
[
# Test which kind of tar was found
@@ -316,7 +317,7 @@ AC_DEFUN([BASIC_CHECK_TAR],
AC_SUBST(TAR_SUPPORTS_TRANSFORM)
])
###############################################################################
################################################################################
AC_DEFUN([BASIC_CHECK_GREP],
[
# Test that grep supports -Fx with a list of pattern which includes null pattern.
@@ -340,7 +341,7 @@ AC_DEFUN([BASIC_CHECK_GREP],
fi
])
###############################################################################
################################################################################
AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
[
BASIC_CHECK_GNU_MAKE
@@ -412,7 +413,7 @@ AC_DEFUN_ONCE([BASIC_SETUP_COMPLEX_TOOLS],
fi
])
###############################################################################
################################################################################
# Check for support for specific options in bash
AC_DEFUN_ONCE([BASIC_CHECK_BASH_OPTIONS],
[

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, 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
@@ -23,7 +23,7 @@
# questions.
#
########################################################################
################################################################################
# This file handles detection of the Boot JDK. The Boot JDK detection
# process has been developed as a response to solve a complex real-world
# problem. Initially, it was simple, but it has grown as platform after
@@ -49,7 +49,7 @@
# JDK, and if one is found, check if it is acceptable. If not, we print
# our reasons for rejecting it (useful when debugging non-working
# configure situations) and continue checking the next one.
########################################################################
################################################################################
# Execute the check given as argument, and verify the result
# If the Boot JDK was previously found, do nothing
@@ -322,7 +322,7 @@ AC_DEFUN([BOOTJDK_SETUP_CLASSPATH],
AC_SUBST(CLASSPATH)
])
###############################################################################
################################################################################
#
# We need a Boot JDK to bootstrap the build.
#
@@ -470,7 +470,7 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_ARGUMENTS],
# Maximum amount of heap memory.
JVM_HEAP_LIMIT_32="768"
# Running a 64 bit JVM allows for and requires a bigger heap
JVM_HEAP_LIMIT_64="1600"
JVM_HEAP_LIMIT_64="2048"
JVM_HEAP_LIMIT_GLOBAL=`expr $MEMORY_SIZE / 2`
if test "$JVM_HEAP_LIMIT_GLOBAL" -lt "$JVM_HEAP_LIMIT_32"; then
JVM_HEAP_LIMIT_32=$JVM_HEAP_LIMIT_GLOBAL
@@ -602,11 +602,12 @@ AC_DEFUN([BOOTJDK_SETUP_BUILD_JDK],
BUILD_JDK_FOUND="no"
if test "x$with_build_jdk" != "x"; then
BOOTJDK_CHECK_BUILD_JDK([
if test "x$with_build_jdk" != x; then
BUILD_JDK=$with_build_jdk
BUILD_JDK_FOUND=maybe
AC_MSG_NOTICE([Found potential Build JDK using configure arguments])
fi])
if test "x$with_build_jdk" != x; then
BUILD_JDK=$with_build_jdk
BUILD_JDK_FOUND=maybe
AC_MSG_NOTICE([Found potential Build JDK using configure arguments])
fi
])
EXTERNAL_BUILDJDK=true
else
if test "x$COMPILE_TYPE" = "xcross"; then

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
@@ -34,10 +34,10 @@ include @SPEC@
BOOT_JDK := $(JDK_IMAGE_DIR)
# The bootcycle build has a different output directory
OLD_OUTPUTDIR:=@OUTPUTDIR@
OUTPUTDIR:=$(OLD_OUTPUTDIR)/bootcycle-build
OLD_OUTPUTDIR := @OUTPUTDIR@
OUTPUTDIR := $(OLD_OUTPUTDIR)/bootcycle-build
# No spaces in patsubst to avoid leading space in variable
JAVAC_SERVER_DIR:=$(patsubst $(OLD_OUTPUTDIR)%,$(OUTPUTDIR)%,$(JAVAC_SERVER_DIR))
JAVAC_SERVER_DIR := $(patsubst $(OLD_OUTPUTDIR)%,$(OUTPUTDIR)%,$(JAVAC_SERVER_DIR))
JAVA_CMD := $(FIXPATH) $(BOOT_JDK)/bin/java
JAVAC_CMD := $(FIXPATH) $(BOOT_JDK)/bin/javac
@@ -48,4 +48,3 @@ JAVA_FLAGS_BIG := @BOOTCYCLE_JVM_ARGS_BIG@
# 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,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

@@ -26,7 +26,7 @@
# the root of the build directory.
##########################################################################################
################################################################################
# Substitutions from autoconf
export LEGACY_BUILD_DIR=@OPENJDK_TARGET_OS@-@OPENJDK_TARGET_CPU_LEGACY@

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, 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
@@ -23,11 +23,11 @@
# questions.
#
###############################################################################
################################################################################
#
# Includes and boilerplate
#
###############################################################################
################################################################################
AC_PREREQ([2.69])
@@ -63,14 +63,14 @@ m4_include([platform.m4])
m4_include([source-dirs.m4])
m4_include([toolchain.m4])
###############################################################################
################################################################################
#
# Initialization / Boot-strapping
#
# The bootstrapping process needs to solve the "chicken or the egg" problem,
# thus it jumps back and forth, each time gaining something needed later on.
#
###############################################################################
################################################################################
# If we are requested to print additional help, do that and then exit.
# This must be the very first call.
@@ -128,51 +128,51 @@ PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION
BASIC_SETUP_DEFAULT_MAKE_TARGET
BASIC_SETUP_DEFAULT_LOG
###############################################################################
################################################################################
#
# Determine OpenJDK variants and version numbers.
#
###############################################################################
################################################################################
# We need build & target for this.
JDKOPT_SETUP_JMOD_OPTIONS
JDKOPT_SETUP_JLINK_OPTIONS
JDKVER_SETUP_JDK_VERSION_NUMBERS
###############################################################################
################################################################################
#
# Setup BootJDK, used to bootstrap the build.
#
###############################################################################
################################################################################
BOOTJDK_SETUP_BOOT_JDK
BOOTJDK_SETUP_BUILD_JDK
BOOTJDK_SETUP_DOCS_REFERENCE_JDK
###############################################################################
################################################################################
#
# Determine JDK specific build time options.
#
###############################################################################
################################################################################
JDKOPT_SETUP_REPRODUCIBLE_BUILD
JDKOPT_SETUP_JDK_OPTIONS
###############################################################################
################################################################################
#
# Configure the sources to use. We can add or override individual directories.
#
###############################################################################
################################################################################
SRCDIRS_SETUP_DIRS
SRCDIRS_SETUP_IMPORT_MODULES
###############################################################################
################################################################################
#
# Setup the toolchain (compilers etc), i.e. tools used to compile and process
# native code.
#
###############################################################################
################################################################################
# See if we are doing a complete static build or not
JDKOPT_SETUP_STATIC_BUILD
@@ -202,6 +202,7 @@ FLAGS_POST_TOOLCHAIN
LIB_TESTS_SETUP_JTREG
LIB_TESTS_SETUP_JMH
LIB_TESTS_SETUP_JIB
LIB_TESTS_SETUP_TIDY
# Now we can test some aspects on the target using configure macros.
PLATFORM_SETUP_OPENJDK_TARGET_BITS
@@ -227,31 +228,31 @@ JDKOPT_SETUP_LEAK_SANITIZER
# This needs to go before 'LIB_DETERMINE_DEPENDENCIES'
JDKOPT_SETUP_FALLBACK_LINKER
###############################################################################
################################################################################
#
# Check dependencies for external and internal libraries.
#
###############################################################################
################################################################################
LIB_DETERMINE_DEPENDENCIES
LIB_SETUP_LIBRARIES
###############################################################################
################################################################################
#
# Setup hotspot and JVM features (needs toolchain).
#
###############################################################################
################################################################################
JVM_FEATURES_PARSE_OPTIONS
JVM_FEATURES_SETUP
HOTSPOT_SETUP_MISC
###############################################################################
################################################################################
#
# We need to do some final tweaking, when everything else is done.
#
###############################################################################
################################################################################
LIB_TESTS_ENABLE_DISABLE_FAILURE_HANDLER
LIB_TESTS_ENABLE_DISABLE_JTREG_TEST_THREAD_FACTORY
@@ -260,15 +261,16 @@ JDKOPT_ENABLE_DISABLE_GENERATE_CLASSLIST
JDKOPT_EXCLUDE_TRANSLATIONS
JDKOPT_ENABLE_DISABLE_MANPAGES
JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE
JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE_COH
JDKOPT_ENABLE_DISABLE_COMPATIBLE_CDS_ALIGNMENT
JDKOPT_SETUP_MACOSX_SIGNING
###############################################################################
################################################################################
#
# Configure parts of the build that only affect the build performance,
# not the result.
#
###############################################################################
################################################################################
BPERF_SETUP_BUILD_CORES
BPERF_SETUP_BUILD_MEMORY
@@ -288,11 +290,11 @@ BPERF_SETUP_PRECOMPILED_HEADERS
# Setup use of ccache, if available
BPERF_SETUP_CCACHE
###############################################################################
################################################################################
#
# And now the finish...
#
###############################################################################
################################################################################
# Check for some common pitfalls
BASIC_TEST_USABILITY_ISSUES
@@ -313,9 +315,11 @@ AC_OUTPUT
# After AC_OUTPUT, we need to do final work
CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK
BASIC_POST_CONFIG_OUTPUT
# Finally output some useful information to the user
HELP_PRINT_SUMMARY_AND_WARNINGS
CUSTOM_SUMMARY_AND_WARNINGS_HOOK
HELP_REPEAT_WARNINGS
# All output is done. Do the post-config output management.
BASIC_POST_CONFIG_OUTPUT

View File

@@ -235,14 +235,16 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
CFLAGS_WARNINGS_ARE_ERRORS="-Werror"
# Additional warnings that are not activated by -Wall and -Wextra
WARNINGS_ENABLE_ADDITIONAL="-Wpointer-arith -Wsign-compare \
-Wunused-function -Wundef -Wunused-value -Wreturn-type \
-Wtrampolines"
WARNINGS_ENABLE_ADDITIONAL="-Wpointer-arith -Wreturn-type -Wsign-compare \
-Wtrampolines -Wundef -Wunused-const-variable=1 -Wunused-function \
-Wunused-result -Wunused-value"
WARNINGS_ENABLE_ADDITIONAL_CXX="-Woverloaded-virtual -Wreorder"
WARNINGS_ENABLE_ALL_CFLAGS="-Wall -Wextra -Wformat=2 $WARNINGS_ENABLE_ADDITIONAL"
WARNINGS_ENABLE_ALL_CXXFLAGS="$WARNINGS_ENABLE_ALL_CFLAGS $WARNINGS_ENABLE_ADDITIONAL_CXX"
DISABLED_WARNINGS="unused-parameter unused"
# These warnings will never be turned on, since they generate too many
# false positives.
DISABLED_WARNINGS="unused-parameter"
# gcc10/11 on ppc generate lots of abi warnings about layout of aggregates containing vectors
if test "x$OPENJDK_TARGET_CPU_ARCH" = "xppc"; then
DISABLED_WARNINGS="$DISABLED_WARNINGS psabi"
@@ -259,7 +261,9 @@ AC_DEFUN([FLAGS_SETUP_WARNINGS],
-Wunused-function -Wundef -Wunused-value -Woverloaded-virtual"
WARNINGS_ENABLE_ALL="-Wall -Wextra -Wformat=2 $WARNINGS_ENABLE_ADDITIONAL"
DISABLED_WARNINGS="unknown-warning-option unused-parameter unused"
# These warnings will never be turned on, since they generate too many
# false positives.
DISABLED_WARNINGS="unknown-warning-option unused-parameter"
;;
esac
AC_SUBST(DISABLE_WARNING_PREFIX)
@@ -298,7 +302,7 @@ AC_DEFUN([FLAGS_SETUP_QUALITY_CHECKS],
AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
[
if test "x$TOOLCHAIN_TYPE" = xgcc; then
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
C_O_FLAG_HIGHEST_JVM="-O3"
C_O_FLAG_HIGHEST="-O3"
C_O_FLAG_HI="-O3"
@@ -307,6 +311,13 @@ AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
C_O_FLAG_DEBUG="-O0"
C_O_FLAG_DEBUG_JVM="-O0"
C_O_FLAG_NONE="-O0"
if test "x$TOOLCHAIN_TYPE" = xclang && test "x$OPENJDK_TARGET_OS" = xaix; then
C_O_FLAG_HIGHEST_JVM="${C_O_FLAG_HIGHEST_JVM} -finline-functions"
C_O_FLAG_HIGHEST="${C_O_FLAG_HIGHEST} -finline-functions"
C_O_FLAG_HI="${C_O_FLAG_HI} -finline-functions"
fi
# -D_FORTIFY_SOURCE=2 hardening option needs optimization (at least -O1) enabled
# set for lower O-levels -U_FORTIFY_SOURCE to overwrite previous settings
if test "x$OPENJDK_TARGET_OS" = xlinux -a "x$DEBUG_LEVEL" = "xfastdebug"; then
@@ -327,21 +338,6 @@ AC_DEFUN([FLAGS_SETUP_OPTIMIZATION],
C_O_FLAG_DEBUG_JVM="${C_O_FLAG_DEBUG_JVM} ${DISABLE_FORTIFY_CFLAGS}"
C_O_FLAG_NONE="${C_O_FLAG_NONE} ${DISABLE_FORTIFY_CFLAGS}"
fi
elif test "x$TOOLCHAIN_TYPE" = xclang; then
if test "x$OPENJDK_TARGET_OS" = xaix; then
C_O_FLAG_HIGHEST_JVM="-O3 -finline-functions"
C_O_FLAG_HIGHEST="-O3 -finline-functions"
C_O_FLAG_HI="-O3 -finline-functions"
else
C_O_FLAG_HIGHEST_JVM="-O3"
C_O_FLAG_HIGHEST="-O3"
C_O_FLAG_HI="-O3"
fi
C_O_FLAG_NORM="-O2"
C_O_FLAG_DEBUG_JVM="-O0"
C_O_FLAG_SIZE="-Os"
C_O_FLAG_DEBUG="-O0"
C_O_FLAG_NONE="-O0"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
C_O_FLAG_HIGHEST_JVM="-O2 -Oy-"
C_O_FLAG_HIGHEST="-O2"
@@ -476,7 +472,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
# Always enable optional macros for VM.
ALWAYS_CFLAGS_JVM="-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS"
###############################################################################
##############################################################################
# Adjust flags according to debug level.
# Setup debug/release defines
@@ -502,15 +498,15 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
elif test "x$TOOLCHAIN_TYPE" = xclang; then
ALWAYS_DEFINES_JVM="-D_GNU_SOURCE"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
# Access APIs for Windows 8 and above
# see https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-170
ALWAYS_DEFINES_JDK="-DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0602 \
-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -DIAL"
ALWAYS_DEFINES_JVM="-DNOMINMAX -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0602 \
-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE"
# _WIN32_WINNT=0x0602 means access APIs for Windows 8 and above. See
# https://docs.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt?view=msvc-170
ALWAYS_DEFINES="-DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0602 \
-D_CRT_DECLARE_NONSTDC_NAMES -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS"
ALWAYS_DEFINES_JDK="$ALWAYS_DEFINES -DWIN32 -DIAL"
ALWAYS_DEFINES_JVM="$ALWAYS_DEFINES -DNOMINMAX"
fi
###############################################################################
##############################################################################
#
#
# CFLAGS BASIC
@@ -644,23 +640,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
# Linking is different on macOS
JVM_PICFLAG=""
fi
# Extra flags needed when building optional static versions of certain
# JDK libraries.
STATIC_LIBS_CFLAGS="-DSTATIC_BUILD=1"
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -ffunction-sections -fdata-sections \
-DJNIEXPORT='__attribute__((visibility(\"default\")))'"
else
STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS -DJNIEXPORT="
fi
if test "x$TOOLCHAIN_TYPE" = xgcc; then
# Disable relax-relocation to enable compatibility with older linkers
RELAX_RELOCATIONS_FLAG="-Xassembler -mrelax-relocations=no"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${RELAX_RELOCATIONS_FLAG}],
IF_TRUE: [STATIC_LIBS_CFLAGS="$STATIC_LIBS_CFLAGS ${RELAX_RELOCATIONS_FLAG}"])
fi
AC_SUBST(STATIC_LIBS_CFLAGS)
])
################################################################################
@@ -908,6 +887,36 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
IF_FALSE: [$2FDLIBM_CFLAGS=""])
fi
AC_SUBST($2FDLIBM_CFLAGS)
# Check whether the compiler supports the Arm C Language Extensions (ACLE)
# for SVE. Set SVE_CFLAGS to -march=armv8-a+sve if it does.
# ACLE and this flag are required to build the aarch64 SVE related functions in
# libvectormath.
if test "x$OPENJDK_TARGET_CPU" = "xaarch64"; then
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
AC_LANG_PUSH(C)
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -march=armv8-a+sve"
AC_MSG_CHECKING([if Arm SVE ACLE is supported])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <arm_sve.h>],
[
svint32_t r = svdup_n_s32(1);
return 0;
])],
[
AC_MSG_RESULT([yes])
$2SVE_CFLAGS="-march=armv8-a+sve"
],
[
AC_MSG_RESULT([no])
$2SVE_CFLAGS=""
]
)
CFLAGS="$OLD_CFLAGS"
AC_LANG_POP(C)
fi
fi
AC_SUBST($2SVE_CFLAGS)
])
# FLAGS_SETUP_GCC6_COMPILER_FLAGS([PREFIX])
@@ -932,15 +941,13 @@ AC_DEFUN_ONCE([FLAGS_SETUP_BRANCH_PROTECTION],
if test "x$OPENJDK_TARGET_CPU" = xaarch64; then
if test "x$TOOLCHAIN_TYPE" = xgcc || test "x$TOOLCHAIN_TYPE" = xclang; then
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${BRANCH_PROTECTION_FLAG}],
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$BRANCH_PROTECTION_FLAG],
IF_TRUE: [BRANCH_PROTECTION_AVAILABLE=true])
fi
fi
BRANCH_PROTECTION_CFLAGS=""
UTIL_ARG_ENABLE(NAME: branch-protection, DEFAULT: false,
RESULT: USE_BRANCH_PROTECTION, AVAILABLE: $BRANCH_PROTECTION_AVAILABLE,
RESULT: BRANCH_PROTECTION_ENABLED, AVAILABLE: $BRANCH_PROTECTION_AVAILABLE,
DESC: [enable branch protection when compiling C/C++],
IF_ENABLED: [ BRANCH_PROTECTION_CFLAGS=${BRANCH_PROTECTION_FLAG}])
AC_SUBST(BRANCH_PROTECTION_CFLAGS)
IF_ENABLED: [BRANCH_PROTECTION_CFLAGS=$BRANCH_PROTECTION_FLAG])
])

View File

@@ -71,7 +71,11 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
LDFLAGS_CXX_PARTIAL_LINKING="$MACHINE_FLAG -r"
if test "x$OPENJDK_TARGET_OS" = xlinux; then
# Clang needs the lld linker to work correctly
BASIC_LDFLAGS="-fuse-ld=lld -Wl,--exclude-libs,ALL"
if test "x$CXX_IS_USER_SUPPLIED" = xfalse && test "x$CC_IS_USER_SUPPLIED" = xfalse; then
UTIL_REQUIRE_PROGS(LLD, lld, $TOOLCHAIN_PATH:$PATH)
fi
fi
if test "x$OPENJDK_TARGET_OS" = xaix; then
BASIC_LDFLAGS="-Wl,-b64 -Wl,-brtl -Wl,-bnorwexec -Wl,-bnolibpath -Wl,-bnoexpall \
@@ -166,9 +170,9 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_CPU_DEP],
# MIPS ABI does not support GNU hash style
if test "x${OPENJDK_$1_CPU}" = xmips ||
test "x${OPENJDK_$1_CPU}" = xmipsel ||
test "x${OPENJDK_$1_CPU}" = xmips64 ||
test "x${OPENJDK_$1_CPU}" = xmips64el; then
test "x${OPENJDK_$1_CPU}" = xmipsel ||
test "x${OPENJDK_$1_CPU}" = xmips64 ||
test "x${OPENJDK_$1_CPU}" = xmips64el; then
$1_CPU_LDFLAGS="${$1_CPU_LDFLAGS} -Wl,--hash-style=sysv"
else
$1_CPU_LDFLAGS="${$1_CPU_LDFLAGS} -Wl,--hash-style=gnu"
@@ -188,18 +192,23 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_CPU_DEP],
# Export variables according to old definitions, prefix with $2 if present.
LDFLAGS_JDK_COMMON="$BASIC_LDFLAGS $BASIC_LDFLAGS_JDK_ONLY \
$OS_LDFLAGS $DEBUGLEVEL_LDFLAGS_JDK_ONLY ${$2EXTRA_LDFLAGS}"
$2LDFLAGS_JDKLIB="$LDFLAGS_JDK_COMMON $BASIC_LDFLAGS_JDK_LIB_ONLY \
$2LDFLAGS_JDKLIB="$LDFLAGS_JDK_COMMON \
$SHARED_LIBRARY_FLAGS $REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
$2LDFLAGS_JDKEXE="$LDFLAGS_JDK_COMMON $EXECUTABLE_LDFLAGS \
${$1_CPU_EXECUTABLE_LDFLAGS} $REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
$2LDFLAGS_STATIC_JDK="$BASIC_LDFLAGS $BASIC_LDFLAGS_JVM_ONLY \
$OS_LDFLAGS ${$2EXTRA_LDFLAGS} $REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
$2JVM_LDFLAGS="$BASIC_LDFLAGS $BASIC_LDFLAGS_JVM_ONLY $OS_LDFLAGS $OS_LDFLAGS_JVM_ONLY \
$DEBUGLEVEL_LDFLAGS $DEBUGLEVEL_LDFLAGS_JVM_ONLY $BASIC_LDFLAGS_ONLYCXX \
$DEBUGLEVEL_LDFLAGS $DEBUGLEVEL_LDFLAGS_JVM_ONLY \
${$1_CPU_LDFLAGS} ${$1_CPU_LDFLAGS_JVM_ONLY} ${$2EXTRA_LDFLAGS} \
$REPRODUCIBLE_LDFLAGS $FILE_MACRO_LDFLAGS"
AC_SUBST($2LDFLAGS_JDKLIB)
AC_SUBST($2LDFLAGS_JDKEXE)
AC_SUBST($2LDFLAGS_STATIC_JDK)
AC_SUBST($2JVM_LDFLAGS)
])

View File

@@ -150,5 +150,9 @@ AC_DEFUN([FLAGS_SETUP_ASFLAGS_CPU_DEP],
$2JVM_ASFLAGS="${$2JVM_ASFLAGS} $ARM_ARCH_TYPE_ASFLAGS $ARM_FLOAT_TYPE_ASFLAGS"
fi
if test "x$BRANCH_PROTECTION_ENABLED" = "xtrue"; then
$2JVM_ASFLAGS="${$2JVM_ASFLAGS} $BRANCH_PROTECTION_FLAG"
fi
AC_SUBST($2JVM_ASFLAGS)
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, 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
@@ -26,7 +26,7 @@
# All valid JVM variants
VALID_JVM_VARIANTS="server client minimal core zero custom"
###############################################################################
################################################################################
# Check if the specified JVM variant should be built. To be used in shell if
# constructs, like this:
# if HOTSPOT_CHECK_JVM_VARIANT(server); then
@@ -38,7 +38,7 @@ VALID_JVM_VARIANTS="server client minimal core zero custom"
AC_DEFUN([HOTSPOT_CHECK_JVM_VARIANT],
[ [ [[ " $JVM_VARIANTS " =~ " $1 " ]] ] ])
###############################################################################
################################################################################
# Check which variants of the JVM that we want to build. Available variants are:
# server: normal interpreter, and a tiered C1/C2 compiler
# client: normal interpreter, and C1 (no C2 compiler)
@@ -102,7 +102,7 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_JVM_VARIANTS],
AC_SUBST(JVM_VARIANT_MAIN)
])
###############################################################################
################################################################################
# Misc hotspot setup that does not fit elsewhere.
#
AC_DEFUN_ONCE([HOTSPOT_SETUP_MISC],

View File

@@ -23,7 +23,7 @@
# questions.
#
###############################################################################
################################################################################
# Set the debug level
# release: no debug information, all optimizations, no asserts.
# optimized: no debug information, all optimizations, no asserts, HotSpot target is 'optimized'.
@@ -81,7 +81,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_LEVEL],
AC_SUBST(DEBUG_LEVEL)
])
###############################################################################
################################################################################
#
# Should we build only OpenJDK even if closed sources are present?
#
@@ -121,7 +121,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
if test "x$DOT" != "x"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no, cannot generate full docs])
AC_MSG_RESULT([no, cannot generate full docs or man pages])
FULL_DOCS_AVAILABLE=false
fi
@@ -129,7 +129,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
if test "x$ENABLE_PANDOC" = "xtrue"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no, cannot generate full docs])
AC_MSG_RESULT([no, cannot generate full docs or man pages])
FULL_DOCS_AVAILABLE=false
fi
@@ -197,9 +197,8 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
# three different page sizes: 4K, 64K, and if run on Mac m1 hardware, 16K.
COMPATIBLE_CDS_ALIGNMENT_DEFAULT=false
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK_TARGET_CPU" = "xaarch64"; then
COMPATIBLE_CDS_ALIGNMENT_DEFAULT=true
COMPATIBLE_CDS_ALIGNMENT_DEFAULT=auto
fi
AC_SUBST(COMPATIBLE_CDS_ALIGNMENT_DEFAULT)
# Compress jars
COMPRESS_JARS=false
@@ -236,8 +235,8 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
else
HOTSPOT_OVERRIDE_LIBPATH=${with_jni_libpath}
if test "x$OPENJDK_TARGET_OS" != "xlinux" &&
test "x$OPENJDK_TARGET_OS" != "xbsd" &&
test "x$OPENJDK_TARGET_OS" != "xaix"; then
test "x$OPENJDK_TARGET_OS" != "xbsd" &&
test "x$OPENJDK_TARGET_OS" != "xaix"; then
AC_MSG_RESULT([fail])
AC_MSG_ERROR([Overriding JNI library path is supported only on Linux, BSD and AIX.])
fi
@@ -247,7 +246,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
])
###############################################################################
################################################################################
AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS],
[
@@ -370,6 +369,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_CODE_COVERAGE],
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $GCOV_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $GCOV_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $GCOV_LDFLAGS"
LDFLAGS_STATIC_JDK="$LDFLAGS_STATIC_JDK $GCOV_LDFLAGS"
])
AC_SUBST(GCOV_ENABLED)
@@ -411,7 +411,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_CODE_COVERAGE],
AC_SUBST(JCOV_FILTERS)
])
###############################################################################
################################################################################
#
# AddressSanitizer
#
@@ -422,8 +422,8 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_ADDRESS_SANITIZER],
CHECK_AVAILABLE: [
AC_MSG_CHECKING([if AddressSanitizer (asan) is available])
if test "x$TOOLCHAIN_TYPE" = "xgcc" ||
test "x$TOOLCHAIN_TYPE" = "xclang" ||
test "x$TOOLCHAIN_TYPE" = "xmicrosoft"; then
test "x$TOOLCHAIN_TYPE" = "xclang" ||
test "x$TOOLCHAIN_TYPE" = "xmicrosoft"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
@@ -432,18 +432,29 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_ADDRESS_SANITIZER],
],
IF_ENABLED: [
if test "x$TOOLCHAIN_TYPE" = "xgcc" ||
test "x$TOOLCHAIN_TYPE" = "xclang"; then
test "x$TOOLCHAIN_TYPE" = "xclang"; then
# ASan is simply incompatible with gcc -Wstringop-truncation. See
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85650
# It's harmless to be suppressed in clang as well.
ASAN_CFLAGS="-fsanitize=address -Wno-stringop-truncation -fno-omit-frame-pointer -fno-common -DADDRESS_SANITIZER"
ASAN_LDFLAGS="-fsanitize=address"
# detect_stack_use_after_return causes ASAN to offload stack-local
# variables to c-heap and therefore breaks assumptions in hotspot
# that rely on data (e.g. Marks) living in thread stacks.
if test "x$TOOLCHAIN_TYPE" = "xgcc"; then
ASAN_CFLAGS="$ASAN_CFLAGS --param asan-use-after-return=0"
fi
if test "x$TOOLCHAIN_TYPE" = "xclang"; then
ASAN_CFLAGS="$ASAN_CFLAGS -fsanitize-address-use-after-return=never"
fi
elif test "x$TOOLCHAIN_TYPE" = "xmicrosoft"; then
# -Oy- is equivalent to -fno-omit-frame-pointer in GCC/Clang.
ASAN_CFLAGS="-fsanitize=address -Oy- -DADDRESS_SANITIZER"
# MSVC produces a warning if you pass -fsanitize=address to the linker. It also complains
$ if -DEBUG is not passed to the linker when building with ASan.
ASAN_LDFLAGS="-debug"
# -fsanitize-address-use-after-return is off by default in MS Visual Studio 22 (19.37.32824).
# cl : Command line warning D9002 : ignoring unknown option '-fno-sanitize-address-use-after-return'
fi
JVM_CFLAGS="$JVM_CFLAGS $ASAN_CFLAGS"
JVM_LDFLAGS="$JVM_LDFLAGS $ASAN_LDFLAGS"
@@ -453,11 +464,12 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_ADDRESS_SANITIZER],
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $ASAN_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $ASAN_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $ASAN_LDFLAGS"
LDFLAGS_STATIC_JDK="$LDFLAGS_STATIC_JDK $ASAN_LDFLAGS"
])
AC_SUBST(ASAN_ENABLED)
])
###############################################################################
################################################################################
#
# LeakSanitizer
#
@@ -486,19 +498,26 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_LEAK_SANITIZER],
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $LSAN_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $LSAN_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $LSAN_LDFLAGS"
LDFLAGS_STATIC_JDK="$LDFLAGS_STATIC_JDK $LSAN_LDFLAGS"
])
AC_SUBST(LSAN_ENABLED)
])
###############################################################################
################################################################################
#
# UndefinedBehaviorSanitizer
#
AC_DEFUN_ONCE([JDKOPT_SETUP_UNDEFINED_BEHAVIOR_SANITIZER],
[
UTIL_ARG_WITH(NAME: additional-ubsan-checks, TYPE: string,
DEFAULT: [],
DESC: [Customizes the ubsan checks],
OPTIONAL: true)
# GCC reports lots of likely false positives for stringop-truncation and format-overflow.
# Silence them for now.
UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base -fno-sanitize=alignment"
UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base -fno-sanitize=alignment \
$ADDITIONAL_UBSAN_CHECKS"
UBSAN_CFLAGS="$UBSAN_CHECKS -Wno-stringop-truncation -Wno-format-overflow -fno-omit-frame-pointer -DUNDEFINED_BEHAVIOR_SANITIZER"
UBSAN_LDFLAGS="$UBSAN_CHECKS"
UTIL_ARG_ENABLE(NAME: ubsan, DEFAULT: false, RESULT: UBSAN_ENABLED,
@@ -522,6 +541,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_UNDEFINED_BEHAVIOR_SANITIZER],
CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $UBSAN_CFLAGS"
LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $UBSAN_LDFLAGS"
LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $UBSAN_LDFLAGS"
LDFLAGS_STATIC_JDK="$LDFLAGS_STATIC_JDK $UBSAN_LDFLAGS"
])
if test "x$UBSAN_ENABLED" = xfalse; then
UBSAN_CFLAGS=""
@@ -570,13 +590,42 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JMOD_OPTIONS],
################################################################################
#
# jlink options.
# We always keep packaged modules in JDK image.
#
AC_DEFUN_ONCE([JDKOPT_SETUP_JLINK_OPTIONS],
[
UTIL_ARG_ENABLE(NAME: keep-packaged-modules, DEFAULT: true,
################################################################################
#
# Configure option for building a JDK that is suitable for linking from the
# run-time image without JMODs.
#
# Determines whether or not a suitable run-time image is being produced from
# packaged modules. If set to 'true, changes the *default* of packaged
# modules to 'false'.
#
UTIL_ARG_ENABLE(NAME: linkable-runtime, DEFAULT: false,
RESULT: JLINK_PRODUCE_LINKABLE_RUNTIME,
DESC: [enable a JDK build suitable for linking from the run-time image],
CHECKING_MSG: [whether or not a JDK suitable for linking from the run-time image should be produced])
AC_SUBST(JLINK_PRODUCE_LINKABLE_RUNTIME)
if test "x$JLINK_PRODUCE_LINKABLE_RUNTIME" = xtrue; then
DEFAULT_PACKAGED_MODULES=false
else
DEFAULT_PACKAGED_MODULES=true
fi
################################################################################
#
# Configure option for packaged modules
#
# We keep packaged modules in the JDK image unless --enable-linkable-runtime is
# requested.
#
UTIL_ARG_ENABLE(NAME: keep-packaged-modules, DEFAULT: $DEFAULT_PACKAGED_MODULES,
RESULT: JLINK_KEEP_PACKAGED_MODULES,
DESC: [enable keeping of packaged modules in jdk image],
DEFAULT_DESC: [enabled by default unless --enable-linkable-runtime is set],
CHECKING_MSG: [if packaged modules are kept])
AC_SUBST(JLINK_KEEP_PACKAGED_MODULES)
])
@@ -622,14 +671,11 @@ AC_DEFUN([JDKOPT_EXCLUDE_TRANSLATIONS],
################################################################################
#
# Optionally disable man pages
# Optionally disable man pages (deprecated)
#
AC_DEFUN([JDKOPT_ENABLE_DISABLE_MANPAGES],
[
UTIL_ARG_ENABLE(NAME: manpages, DEFAULT: true, RESULT: BUILD_MANPAGES,
DESC: [enable copying of static man pages],
CHECKING_MSG: [if static man pages should be copied])
AC_SUBST(BUILD_MANPAGES)
UTIL_DEPRECATED_ARG_ENABLE(manpages)
])
################################################################################
@@ -657,6 +703,37 @@ AC_DEFUN([JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE],
AC_SUBST(BUILD_CDS_ARCHIVE)
])
################################################################################
#
# Enable or disable the default CDS archive generation for Compact Object Headers
#
AC_DEFUN([JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE_COH],
[
UTIL_ARG_ENABLE(NAME: cds-archive-coh, DEFAULT: auto, RESULT: BUILD_CDS_ARCHIVE_COH,
DESC: [enable generation of default CDS archives for compact object headers (requires --enable-cds-archive)],
DEFAULT_DESC: [auto],
CHECKING_MSG: [if default CDS archives for compact object headers should be generated],
CHECK_AVAILABLE: [
AC_MSG_CHECKING([if CDS archive with compact object headers is available])
if test "x$BUILD_CDS_ARCHIVE" = "xfalse"; then
AC_MSG_RESULT([no (CDS default archive generation is disabled)])
AVAILABLE=false
elif test "x$OPENJDK_TARGET_CPU" != "xx86_64" &&
test "x$OPENJDK_TARGET_CPU" != "xaarch64" &&
test "x$OPENJDK_TARGET_CPU" != "xppc64" &&
test "x$OPENJDK_TARGET_CPU" != "xppc64le" &&
test "x$OPENJDK_TARGET_CPU" != "xriscv64" &&
test "x$OPENJDK_TARGET_CPU" != "xs390x"; then
AC_MSG_RESULT([no (compact object headers not supported for this platform)])
AVAILABLE=false
else
AC_MSG_RESULT([yes])
AVAILABLE=true
fi
])
AC_SUBST(BUILD_CDS_ARCHIVE_COH)
])
################################################################################
#
# Enable the alternative CDS core region alignment
@@ -666,7 +743,7 @@ AC_DEFUN([JDKOPT_ENABLE_DISABLE_COMPATIBLE_CDS_ALIGNMENT],
UTIL_ARG_ENABLE(NAME: compatible-cds-alignment, DEFAULT: $COMPATIBLE_CDS_ALIGNMENT_DEFAULT,
RESULT: ENABLE_COMPATIBLE_CDS_ALIGNMENT,
DESC: [enable use alternative compatible cds core region alignment],
DEFAULT_DESC: [disabled],
DEFAULT_DESC: [disabled except on linux-aarch64],
CHECKING_MSG: [if compatible cds region alignment enabled],
CHECK_AVAILABLE: [
AC_MSG_CHECKING([if CDS archive is available])
@@ -691,9 +768,8 @@ AC_DEFUN([JDKOPT_ALLOW_ABSOLUTE_PATHS_IN_OUTPUT],
[
AC_ARG_ENABLE([absolute-paths-in-output],
[AS_HELP_STRING([--disable-absolute-paths-in-output],
[Set to disable to prevent any absolute paths from the build to end up in
any of the build output. @<:@disabled in release builds, otherwise enabled@:>@])
])
[Set to disable to prevent any absolute paths from the build to end up in
any of the build output. @<:@disabled in release builds, otherwise enabled@:>@])])
AC_MSG_CHECKING([if absolute paths should be allowed in the build output])
if test "x$enable_absolute_paths_in_output" = "xno"; then

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 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
@@ -23,7 +23,7 @@
# questions.
#
###############################################################################
################################################################################
#
# Setup version numbers
#
@@ -93,7 +93,7 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
UTIL_ARG_WITH(NAME: jdk-rc-name, TYPE: string,
DEFAULT: $PRODUCT_NAME $JDK_RC_PLATFORM_NAME,
DESC: [Set JDK RC name. This is used for FileDescription and ProductName
properties of MS Windows binaries.],
properties of MS Windows binaries.],
DEFAULT_DESC: [from branding.conf],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(JDK_RC_NAME)
@@ -105,7 +105,7 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
RESULT: COMPANY_NAME,
DEFAULT: $COMPANY_NAME,
DESC: [Set vendor name. Among others, used to set the 'java.vendor'
and 'java.vm.vendor' system properties.],
and 'java.vm.vendor' system properties.],
DEFAULT_DESC: [from branding.conf],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(COMPANY_NAME)

View File

@@ -23,7 +23,7 @@
# questions.
#
###############################################################################
################################################################################
# Terminology used in this file:
#
# Valid features == All possible features that the JVM knows about.
@@ -36,7 +36,7 @@
#
# All valid features are considered available, unless listed as unavailable.
# All available features will be turned on as default, unless listed in a filter.
###############################################################################
################################################################################
# We need these as m4 defines to be able to loop over them using m4 later on.
@@ -78,7 +78,7 @@ m4_define(jvm_feature_desc_vm_structs, [export JVM structures to the Serviceabli
m4_define(jvm_feature_desc_zero, [support building variant 'zero'])
m4_define(jvm_feature_desc_zgc, [include the Z garbage collector])
###############################################################################
################################################################################
# Parse command line options for JVM feature selection. After this function
# has run $JVM_FEATURES_ENABLED, $JVM_FEATURES_DISABLED and $JVM_FEATURES_VALID
# can be used.
@@ -199,7 +199,7 @@ AC_DEFUN_ONCE([JVM_FEATURES_PARSE_OPTIONS],
AC_SUBST(VALID_JVM_FEATURES)
])
###############################################################################
################################################################################
# Helper function for the JVM_FEATURES_CHECK_* suite.
# The code in the code block should assign 'false' to the variable AVAILABLE
# if the feature is not available, and this function will handle everything
@@ -225,7 +225,7 @@ AC_DEFUN([JVM_FEATURES_CHECK_AVAILABILITY],
fi
])
###############################################################################
################################################################################
# Check if the feature 'cds' is available on this platform.
#
AC_DEFUN_ONCE([JVM_FEATURES_CHECK_CDS],
@@ -241,7 +241,7 @@ AC_DEFUN_ONCE([JVM_FEATURES_CHECK_CDS],
])
])
###############################################################################
################################################################################
# Check if the feature 'dtrace' is available on this platform.
#
AC_DEFUN_ONCE([JVM_FEATURES_CHECK_DTRACE],
@@ -270,7 +270,7 @@ AC_DEFUN_ONCE([JVM_FEATURES_CHECK_DTRACE],
])
])
###############################################################################
################################################################################
# Check if the feature 'jvmci' is available on this platform.
#
AC_DEFUN_ONCE([JVM_FEATURES_CHECK_JVMCI],
@@ -290,7 +290,7 @@ AC_DEFUN_ONCE([JVM_FEATURES_CHECK_JVMCI],
])
])
###############################################################################
################################################################################
# Check if the feature 'shenandoahgc' is available on this platform.
#
AC_DEFUN_ONCE([JVM_FEATURES_CHECK_SHENANDOAHGC],
@@ -309,7 +309,7 @@ AC_DEFUN_ONCE([JVM_FEATURES_CHECK_SHENANDOAHGC],
])
])
###############################################################################
################################################################################
# Check if the feature 'zgc' is available on this platform.
#
AC_DEFUN_ONCE([JVM_FEATURES_CHECK_ZGC],
@@ -365,7 +365,7 @@ AC_DEFUN_ONCE([JVM_FEATURES_CHECK_ZGC],
])
])
###############################################################################
################################################################################
# Setup JVM_FEATURES_PLATFORM_UNAVAILABLE and JVM_FEATURES_PLATFORM_FILTER
# to contain those features that are unavailable, or should be off by default,
# for this platform, regardless of JVM variant.
@@ -383,7 +383,7 @@ AC_DEFUN_ONCE([JVM_FEATURES_PREPARE_PLATFORM],
])
###############################################################################
################################################################################
# Setup JVM_FEATURES_VARIANT_UNAVAILABLE and JVM_FEATURES_VARIANT_FILTER
# to contain those features that are unavailable, or should be off by default,
# for this particular JVM variant.
@@ -431,7 +431,7 @@ AC_DEFUN([JVM_FEATURES_PREPARE_VARIANT],
fi
])
###############################################################################
################################################################################
# Calculate the actual set of active JVM features for this JVM variant. Store
# the result in JVM_FEATURES_ACTIVE.
#
@@ -479,7 +479,23 @@ AC_DEFUN([JVM_FEATURES_CALCULATE_ACTIVE],
$JVM_FEATURES_ENABLED, $JVM_FEATURES_DISABLED)
])
###############################################################################
################################################################################
# Filter the unsupported feature combinations.
# This is called after JVM_FEATURES_ACTIVE are fully populated.
#
AC_DEFUN([JVM_FEATURES_FILTER_UNSUPPORTED],
[
# G1 late barrier expansion in C2 is not implemented for some platforms.
# Choose not to support G1 in this configuration.
if JVM_FEATURES_IS_ACTIVE(compiler2); then
if test "x$OPENJDK_TARGET_CPU" = "xx86"; then
AC_MSG_NOTICE([G1 cannot be used with C2 on this platform, disabling G1])
UTIL_GET_NON_MATCHING_VALUES(JVM_FEATURES_ACTIVE, $JVM_FEATURES_ACTIVE, "g1gc")
fi
fi
])
################################################################################
# Helper function for JVM_FEATURES_VERIFY. Check if the specified JVM
# feature is active. To be used in shell if constructs, like this:
# 'if JVM_FEATURES_IS_ACTIVE(jvmti); then'
@@ -489,7 +505,7 @@ AC_DEFUN([JVM_FEATURES_CALCULATE_ACTIVE],
AC_DEFUN([JVM_FEATURES_IS_ACTIVE],
[ [ [[ " $JVM_FEATURES_ACTIVE " =~ ' '$1' ' ]] ] ])
###############################################################################
################################################################################
# Verify that the resulting set of features is consistent and legal.
#
# arg 1: JVM variant
@@ -527,7 +543,7 @@ AC_DEFUN([JVM_FEATURES_VERIFY],
fi
])
###############################################################################
################################################################################
# Set up all JVM features for each enabled JVM variant. Requires that
# JVM_FEATURES_PARSE_OPTIONS has been called.
#
@@ -554,6 +570,9 @@ AC_DEFUN_ONCE([JVM_FEATURES_SETUP],
# The result is stored in JVM_FEATURES_ACTIVE.
JVM_FEATURES_CALCULATE_ACTIVE($variant)
# Filter unsupported feature combinations from JVM_FEATURES_ACTIVE.
JVM_FEATURES_FILTER_UNSUPPORTED
# Verify consistency for JVM_FEATURES_ACTIVE.
JVM_FEATURES_VERIFY($variant)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2015, 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
@@ -70,6 +70,25 @@ AC_DEFUN_ONCE([LIB_SETUP_ALSA],
PKG_CHECK_MODULES(ALSA, alsa, [ALSA_FOUND=yes], [ALSA_FOUND=no])
fi
fi
if test "x$ALSA_FOUND" = xno; then
# If we have sysroot set, and no explicit library location is set,
# look at known locations in sysroot.
if test "x$SYSROOT" != "x" && test "x${with_alsa_lib}" == x; then
if test -f "$SYSROOT/usr/lib64/libasound.so" && test "x$OPENJDK_TARGET_CPU_BITS" = x64; then
ALSA_LIBS="-L$SYSROOT/usr/lib64 -lasound"
ALSA_FOUND=yes
elif test -f "$SYSROOT/usr/lib/libasound.so"; then
ALSA_LIBS="-L$SYSROOT/usr/lib -lasound"
ALSA_FOUND=yes
elif test -f "$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libasound.so"; then
ALSA_LIBS="-L$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI -lasound"
ALSA_FOUND=yes
elif test -f "$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libasound.so"; then
ALSA_LIBS="-L$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI -lasound"
ALSA_FOUND=yes
fi
fi
fi
if test "x$ALSA_FOUND" = xno; then
AC_CHECK_HEADERS([alsa/asoundlib.h],
[

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, 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
@@ -119,7 +119,7 @@ AC_DEFUN_ONCE([LIB_SETUP_GIFLIB],
AC_DEFUN_ONCE([LIB_SETUP_LIBPNG],
[
AC_ARG_WITH(libpng, [AS_HELP_STRING([--with-libpng],
[use libpng from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
[use libpng from build system or OpenJDK source (system, bundled) @<:@bundled@:>@])])
PKG_CHECK_MODULES(PNG, libpng, [LIBPNG_FOUND=yes], [LIBPNG_FOUND=no])
AC_MSG_CHECKING([for which libpng to use])

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
@@ -73,11 +73,11 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
[
AC_ARG_WITH(freetype, [AS_HELP_STRING([--with-freetype],
[specify whether to use 'system' or 'bundled' freetype.
The selected option applies to both build time and run time.
The default behaviour can be platform dependent.
If using 'system' and either the include files or libraries cannot be
located automatically, then additionally specify both using
--with-freetype-include and --with-freetype-lib.])])
The selected option applies to both build time and run time.
The default behaviour can be platform dependent.
If using 'system' and either the include files or libraries cannot be
located automatically, then additionally specify both using
--with-freetype-include and --with-freetype-lib.])])
AC_ARG_WITH(freetype-include, [AS_HELP_STRING([--with-freetype-include],
[specify directory for the freetype include files])])
AC_ARG_WITH(freetype-lib, [AS_HELP_STRING([--with-freetype-lib],
@@ -95,8 +95,10 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
FREETYPE_CFLAGS=
FREETYPE_LIBS=
if (test "x$with_freetype_include" = "x" && test "x$with_freetype_lib" != "x") || \
(test "x$with_freetype_include" != "x" && test "x$with_freetype_lib" = "x"); then
if (test "x$with_freetype_include" = "x" && \
test "x$with_freetype_lib" != "x") || \
(test "x$with_freetype_include" != "x" && \
test "x$with_freetype_lib" = "x"); then
AC_MSG_ERROR([Must specify both or neither of --with-freetype-include and --with-freetype-lib])
fi
@@ -126,8 +128,8 @@ AC_DEFUN_ONCE([LIB_SETUP_FREETYPE],
fi
if test "x$FREETYPE_TO_USE" = "xsystem" && \
(test "x$OPENJDK_TARGET_OS" = "xwindows" || \
test "x$OPENJDK_TARGET_OS" = "xmacosx"); then
(test "x$OPENJDK_TARGET_OS" = "xwindows" || \
test "x$OPENJDK_TARGET_OS" = "xmacosx"); then
AC_MSG_ERROR([Only bundled freetype can be specified on Mac and Windows])
fi

View File

@@ -163,8 +163,8 @@ AC_DEFUN([LIB_BUILD_BINUTILS],
# We don't know the version, not checking for libsframe.a
if test -e $BINUTILS_INSTALL_DIR/lib/libbfd.a && \
test -e $BINUTILS_INSTALL_DIR/lib/libopcodes.a && \
test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a; then
test -e $BINUTILS_INSTALL_DIR/lib/libopcodes.a && \
test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a; then
AC_MSG_NOTICE([Found binutils binaries in binutils install directory -- not building])
else
# On Windows, we cannot build with the normal Microsoft CL, but must instead use
@@ -266,14 +266,30 @@ AC_DEFUN([LIB_SETUP_HSDIS_BINUTILS],
HSDIS_CFLAGS="-DLIBARCH_$OPENJDK_TARGET_CPU_LEGACY_LIB"
elif test "x$BINUTILS_INSTALL_DIR" != x; then
disasm_header="\"$BINUTILS_INSTALL_DIR/include/dis-asm.h\""
if test -e $BINUTILS_INSTALL_DIR/lib/libbfd.a && \
test -e $BINUTILS_INSTALL_DIR/lib/libopcodes.a && \
(test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a || test -e $BINUTILS_INSTALL_DIR/lib64/libiberty.a || test -e $BINUTILS_INSTALL_DIR/lib32/libiberty.a); then
if (test -e $BINUTILS_INSTALL_DIR/lib/libbfd.a || \
test -e $BINUTILS_INSTALL_DIR/lib64/libbfd.a) && \
(test -e $BINUTILS_INSTALL_DIR/lib/libopcodes.a || \
test -e $BINUTILS_INSTALL_DIR/lib64/libopcodes.a) && \
(test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a || \
test -e $BINUTILS_INSTALL_DIR/lib64/libiberty.a || \
test -e $BINUTILS_INSTALL_DIR/lib32/libiberty.a); then
HSDIS_CFLAGS="-DLIBARCH_$OPENJDK_TARGET_CPU_LEGACY_LIB -I$BINUTILS_INSTALL_DIR/include"
# libiberty ignores --libdir and may be installed in $BINUTILS_INSTALL_DIR/lib, $BINUTILS_INSTALL_DIR/lib32
# or $BINUTILS_INSTALL_DIR/lib64, depending on system setup
LIBOPCODES_LIB=""
LIBBFD_LIB=""
LIBIBERTY_LIB=""
if test -e $BINUTILS_INSTALL_DIR/lib/libbfd.a; then
LIBBFD_LIB="$BINUTILS_INSTALL_DIR/lib/libbfd.a"
else
LIBBFD_LIB="$BINUTILS_INSTALL_DIR/lib64/libbfd.a"
fi
if test -e $BINUTILS_INSTALL_DIR/lib/libopcodes.a; then
LIBOPCODES_LIB="$BINUTILS_INSTALL_DIR/lib/libopcodes.a"
else
LIBOPCODES_LIB="$BINUTILS_INSTALL_DIR/lib64/libopcodes.a"
fi
if test -e $BINUTILS_INSTALL_DIR/lib/libiberty.a; then
LIBIBERTY_LIB="$BINUTILS_INSTALL_DIR/lib/libiberty.a"
elif test -e $BINUTILS_INSTALL_DIR/lib32/libiberty.a; then
@@ -281,7 +297,7 @@ AC_DEFUN([LIB_SETUP_HSDIS_BINUTILS],
else
LIBIBERTY_LIB="$BINUTILS_INSTALL_DIR/lib64/libiberty.a"
fi
HSDIS_LIBS="$BINUTILS_INSTALL_DIR/lib/libbfd.a $BINUTILS_INSTALL_DIR/lib/libopcodes.a $LIBIBERTY_LIB"
HSDIS_LIBS="$LIBBFD_LIB $LIBOPCODES_LIB $LIBIBERTY_LIB"
# If we have libsframe add it.
if test -e $BINUTILS_INSTALL_DIR/lib/libsframe.a; then
HSDIS_LIBS="$HSDIS_LIBS $BINUTILS_INSTALL_DIR/lib/libsframe.a"

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2018, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 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
@@ -28,10 +28,10 @@
################################################################################
# Minimum supported versions
JTREG_MINIMUM_VERSION=7.3.1
JTREG_MINIMUM_VERSION=7.4
GTEST_MINIMUM_VERSION=1.14.0
###############################################################################
################################################################################
#
# Setup and check for gtest framework source files
#
@@ -74,7 +74,7 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_GTEST],
AC_SUBST(GTEST_FRAMEWORK_SRC)
])
###############################################################################
################################################################################
#
# Setup and check the Java Microbenchmark Harness
#
@@ -308,6 +308,32 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_JIB],
AC_SUBST(JIB_HOME)
])
# Setup the tidy html checker
AC_DEFUN_ONCE([LIB_TESTS_SETUP_TIDY],
[
UTIL_LOOKUP_PROGS(TIDY, tidy)
if test "x$TIDY" != x; then
AC_MSG_CHECKING([if tidy is working properly])
tidy_output=`$TIDY --version 2>&1`
if ! $ECHO "$tidy_output" | $GREP -q "HTML Tidy" 2>&1 > /dev/null; then
AC_MSG_RESULT([no])
AC_MSG_NOTICE([$TIDY is not a valid tidy executable and will be ignored. Output from --version: $tidy_output])
TIDY=
elif ! $ECHO "$tidy_output" | $GREP -q "version" 2>&1 > /dev/null; then
AC_MSG_RESULT([no])
AC_MSG_NOTICE([$TIDY is missing a proper version number and will be ignored. Output from --version: $tidy_output])
TIDY=
else
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([for tidy version])
tidy_version=`$ECHO $tidy_output | $SED -e 's/.*version //g'`
AC_MSG_RESULT([$tidy_version])
fi
fi
AC_SUBST(TIDY)
])
################################################################################
#
# Check if building of the jtreg failure handler should be enabled.

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, 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
@@ -71,9 +71,9 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
elif test -f "$SYSROOT/usr/lib/libX11.so"; then
x_libraries="$SYSROOT/usr/lib"
elif test -f "$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"; then
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI"
elif test -f "$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"; then
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI"
fi
fi
fi

View File

@@ -99,12 +99,12 @@ AC_DEFUN([LIB_SETUP_JVM_LIBS],
if HOTSPOT_CHECK_JVM_VARIANT(zero); then
if test "x$OPENJDK_$1_OS" = xlinux &&
(test "x$OPENJDK_$1_CPU" = xarm ||
test "x$OPENJDK_$1_CPU" = xm68k ||
test "x$OPENJDK_$1_CPU" = xmips ||
test "x$OPENJDK_$1_CPU" = xmipsel ||
test "x$OPENJDK_$1_CPU" = xppc ||
test "x$OPENJDK_$1_CPU" = xsh ||
test "x$OPENJDK_$1_CPU" = xriscv32); then
test "x$OPENJDK_$1_CPU" = xm68k ||
test "x$OPENJDK_$1_CPU" = xmips ||
test "x$OPENJDK_$1_CPU" = xmipsel ||
test "x$OPENJDK_$1_CPU" = xppc ||
test "x$OPENJDK_$1_CPU" = xsh ||
test "x$OPENJDK_$1_CPU" = xriscv32); then
BASIC_JVM_LIBS_$1="$BASIC_JVM_LIBS_$1 -latomic"
fi
fi

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, 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
@@ -390,7 +390,7 @@ AC_DEFUN([PLATFORM_EXTRACT_TARGET_AND_BUILD],
AC_DEFUN([PLATFORM_SETUP_TARGET_CPU_BITS],
[
AC_ARG_WITH(target-bits, [AS_HELP_STRING([--with-target-bits],
[build 32-bit or 64-bit binaries (for platforms that support it), e.g. --with-target-bits=32 @<:@guessed@:>@])])
[build 32-bit or 64-bit binaries (for platforms that support it), e.g. --with-target-bits=32 @<:@guessed@:>@])])
# We have three types of compiles:
# native == normal compilation, target system == build system
@@ -665,12 +665,15 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET],
AC_DEFUN([PLATFORM_CHECK_DEPRECATION],
[
AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
if test "x$OPENJDK_TARGET_OS" = xwindows && test "x$OPENJDK_TARGET_CPU" = xx86; then
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
# Unfortunately, variants have not been parsed yet, so we have to check the configure option
# directly. Allow only the directly specified Zero variant, treat any other mix as containing
# something non-Zero.
if test "x$OPENJDK_TARGET_CPU" = xx86 && test "x$with_jvm_variants" != xzero; then
if test "x$enable_deprecated_ports" = "xyes"; then
AC_MSG_WARN([The Windows 32-bit x86 port is deprecated and may be removed in a future release.])
AC_MSG_WARN([The 32-bit x86 port is deprecated and may be removed in a future release.])
else
AC_MSG_ERROR(m4_normalize([The Windows 32-bit x86 port is deprecated and may be removed in a future release.
AC_MSG_ERROR(m4_normalize([The 32-bit x86 port is deprecated and may be removed in a future release.
Use --enable-deprecated-ports=yes to suppress this error.]))
fi
fi
@@ -678,7 +681,7 @@ AC_DEFUN([PLATFORM_CHECK_DEPRECATION],
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION],
[
###############################################################################
##############################################################################
# Note that this is the build platform OS version!
@@ -693,7 +696,7 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION],
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_BITS],
[
###############################################################################
##############################################################################
#
# Now we check if libjvm.so will use 32 or 64 bit pointers for the C/C++ code.
# (The JVM can use 32 or 64 bit Java pointers but that decision
@@ -739,7 +742,7 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_BITS],
AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_TARGET_ENDIANNESS],
[
###############################################################################
##############################################################################
#
# Is the target little or big endian?
#

View File

@@ -272,7 +272,7 @@ VERSION_CFLAGS = \
-DVERSION_CLASSFILE_MINOR=$(VERSION_CLASSFILE_MINOR) \
#
ifneq ($(COMPANY_NAME),)
ifneq ($(COMPANY_NAME), )
# COMPANY_NAME is set to "N/A" in make/conf/branding.conf by default,
# but can be customized with the '--with-vendor-name' configure option.
# Only export "VENDOR" to the build if COMPANY_NAME contains a real value.
@@ -288,13 +288,13 @@ endif
# Only export VENDOR_URL, VENDOR_URL_BUG and VENDOR_VM_URL_BUG to the build if
# they are not empty. Otherwise, default values which are defined in the sources
# will be used.
ifneq ($(VENDOR_URL),)
ifneq ($(VENDOR_URL), )
VERSION_CFLAGS += -DVENDOR_URL='"$(VENDOR_URL)"'
endif
ifneq ($(VENDOR_URL_BUG),)
ifneq ($(VENDOR_URL_BUG), )
VERSION_CFLAGS += -DVENDOR_URL_BUG='"$(VENDOR_URL_BUG)"'
endif
ifneq ($(VENDOR_URL_VM_BUG),)
ifneq ($(VENDOR_URL_VM_BUG), )
VERSION_CFLAGS += -DVENDOR_URL_VM_BUG='"$(VENDOR_URL_VM_BUG)"'
endif
@@ -367,9 +367,8 @@ ENABLE_GENERATE_CLASSLIST := @ENABLE_GENERATE_CLASSLIST@
EXCLUDE_TRANSLATIONS := @EXCLUDE_TRANSLATIONS@
BUILD_MANPAGES := @BUILD_MANPAGES@
BUILD_CDS_ARCHIVE := @BUILD_CDS_ARCHIVE@
BUILD_CDS_ARCHIVE_COH := @BUILD_CDS_ARCHIVE_COH@
ENABLE_COMPATIBLE_CDS_ALIGNMENT := @ENABLE_COMPATIBLE_CDS_ALIGNMENT@
@@ -429,9 +428,6 @@ ENABLE_LIBFFI_BUNDLING := @ENABLE_LIBFFI_BUNDLING@
LIBFFI_LIB_FILE := @LIBFFI_LIB_FILE@
FILE_MACRO_CFLAGS := @FILE_MACRO_CFLAGS@
REPRODUCIBLE_CFLAGS := @REPRODUCIBLE_CFLAGS@
BRANCH_PROTECTION_CFLAGS := @BRANCH_PROTECTION_CFLAGS@
STATIC_LIBS_CFLAGS := @STATIC_LIBS_CFLAGS@
JMH_CORE_JAR := @JMH_CORE_JAR@
JMH_GENERATOR_JAR := @JMH_GENERATOR_JAR@
@@ -561,6 +557,9 @@ LDFLAGS_JDKLIB := @LDFLAGS_JDKLIB@
# LDFLAGS used to link the jdk native launchers (C-code)
LDFLAGS_JDKEXE := @LDFLAGS_JDKEXE@
# LDFLAGS used to link the static jdk library
LDFLAGS_STATIC_JDK := @LDFLAGS_STATIC_JDK@
# LDFLAGS specific to C++ linking.
LDFLAGS_CXX_JDK := @LDFLAGS_CXX_JDK@
@@ -708,6 +707,7 @@ NEW_JAVADOC = $(INTERIM_LANGTOOLS_ARGS) $(JAVADOC_MAIN_CLASS)
JMOD_COMPRESS := @JMOD_COMPRESS@
JLINK_KEEP_PACKAGED_MODULES := @JLINK_KEEP_PACKAGED_MODULES@
JLINK_PRODUCE_LINKABLE_RUNTIME := @JLINK_PRODUCE_LINKABLE_RUNTIME@
RCFLAGS := @RCFLAGS@
@@ -719,6 +719,7 @@ CCACHE := @CCACHE@
# CD is going away, but remains to cater for legacy makefiles.
CD := cd
CHMOD := @CHMOD@
CMAKE := @CMAKE@
CODESIGN := @CODESIGN@
CP := @CP@
CUT := @CUT@
@@ -743,6 +744,7 @@ MKDIR := @MKDIR@
MV := @MV@
NICE := @NICE@
PANDOC := @PANDOC@
TIDY := @TIDY@
PATCH := @PATCH@
PRINTF := @PRINTF@
READLINK := @READLINK@
@@ -804,11 +806,7 @@ UCRT_DLL_DIR := @UCRT_DLL_DIR@
ENABLE_PANDOC := @ENABLE_PANDOC@
PANDOC_MARKDOWN_FLAG := @PANDOC_MARKDOWN_FLAG@
####################################################
#
# Libraries
#
USE_EXTERNAL_LCMS := @USE_EXTERNAL_LCMS@
LCMS_CFLAGS := @LCMS_CFLAGS@
LCMS_LIBS := @LCMS_LIBS@
@@ -821,11 +819,7 @@ USE_EXTERNAL_LIBPNG := @USE_EXTERNAL_LIBPNG@
PNG_LIBS := @PNG_LIBS@
PNG_CFLAGS := @PNG_CFLAGS@
####################################################
#
# Misc
#
INCLUDE_SA := @INCLUDE_SA@
INCLUDE_JVMCI := @INCLUDE_JVMCI@
INCLUDE_COMPILER2 := @INCLUDE_COMPILER2@
@@ -834,6 +828,9 @@ OS_VERSION_MAJOR := @OS_VERSION_MAJOR@
OS_VERSION_MINOR := @OS_VERSION_MINOR@
OS_VERSION_MICRO := @OS_VERSION_MICRO@
# Arm SVE
SVE_CFLAGS := @SVE_CFLAGS@
# Images directory definitions
JDK_IMAGE_SUBDIR := jdk
JRE_IMAGE_SUBDIR := jre

View File

@@ -23,14 +23,14 @@
# questions.
#
########################################################################
################################################################################
# This file is responsible for detecting, verifying and setting up the
# toolchain, i.e. the compiler, linker and related utilities. It will setup
# proper paths to the binaries, but it will not setup any flags.
#
# The binaries used is determined by the toolchain type, which is the family of
# compilers and related tools that are used.
########################################################################
################################################################################
m4_include([toolchain_microsoft.m4])
@@ -307,7 +307,7 @@ AC_DEFUN_ONCE([TOOLCHAIN_POST_DETECTION],
[
# Restore old path, except for the microsoft toolchain, which requires the
# toolchain path to remain in place. Otherwise the compiler will not work in
# some siutations in later configure checks.
# some situations in later configure checks.
if test "x$TOOLCHAIN_TYPE" != "xmicrosoft"; then
PATH="$OLD_PATH"
fi
@@ -316,10 +316,6 @@ AC_DEFUN_ONCE([TOOLCHAIN_POST_DETECTION],
# This is necessary since AC_PROG_CC defaults CFLAGS to "-g -O2"
CFLAGS="$ORG_CFLAGS"
CXXFLAGS="$ORG_CXXFLAGS"
# filter out some unwanted additions autoconf may add to CXX; we saw this on macOS with autoconf 2.72
UTIL_GET_NON_MATCHING_VALUES(cxx_filtered, $CXX, -std=c++11 -std=gnu++11)
CXX="$cxx_filtered"
])
# Check if a compiler is of the toolchain type we expect, and save the version
@@ -358,6 +354,11 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
# Copyright (C) 2013 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# or look like
# gcc (GCC) 10.2.1 20200825 (Alibaba 10.2.1-3.8 2.32)
# Copyright (C) 2020 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
COMPILER_VERSION_OUTPUT=`$COMPILER --version 2>&1`
# Check that this is likely to be GCC.
$ECHO "$COMPILER_VERSION_OUTPUT" | $GREP "Free Software Foundation" > /dev/null
@@ -371,7 +372,8 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
$SED -e 's/ *Copyright .*//'`
COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
$SED -e 's/^.* \(@<:@1-9@:>@<:@0-9@:>@*\.@<:@0-9.@:>@*\)@<:@^0-9.@:>@.*$/\1/'`
$AWK -F ')' '{print [$]2}' | \
$AWK '{print [$]1}'`
elif test "x$TOOLCHAIN_TYPE" = xclang; then
# clang --version output typically looks like
# Apple clang version 15.0.0 (clang-1500.3.9.4)
@@ -443,6 +445,7 @@ AC_DEFUN([TOOLCHAIN_FIND_COMPILER],
AC_MSG_ERROR([User supplied compiler $1=[$]$1 does not exist])
fi
fi
$1_IS_USER_SUPPLIED=true
else
# No user supplied value. Locate compiler ourselves.
@@ -460,6 +463,7 @@ AC_DEFUN([TOOLCHAIN_FIND_COMPILER],
HELP_MSG_MISSING_DEPENDENCY([devkit])
AC_MSG_ERROR([Could not find a $COMPILER_NAME compiler. $HELP_MSG])
fi
$1_IS_USER_SUPPLIED=false
fi
# Now we have a compiler binary in $1. Make sure it's okay.
@@ -678,6 +682,9 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA],
test_metal=`$METAL --version 2>&1`
if test $? -ne 0; then
AC_MSG_RESULT([no])
AC_MSG_NOTICE([A full XCode is required to build the JDK (not only command line tools)])
AC_MSG_NOTICE([If you have XCode installed, you might need to reset the Xcode active developer directory])
AC_MSG_NOTICE([using 'sudo xcode-select -r'])
AC_MSG_ERROR([XCode tool 'metal' neither found in path nor with xcrun])
else
AC_MSG_RESULT([yes, will be using '$METAL'])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, 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
@@ -82,9 +82,7 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_VISUAL_STUDIO_ROOT],
fi
AC_MSG_NOTICE([Found Visual Studio installation at $VS_BASE using $METHOD])
if test "x$TARGET_CPU" = xx86; then
VCVARSFILES="vcvars32.bat vcvarsamd64_x86.bat"
elif test "x$TARGET_CPU" = xx86_64; then
if test "x$TARGET_CPU" = xx86_64; then
VCVARSFILES="vcvars64.bat vcvarsx86_amd64.bat"
elif test "x$TARGET_CPU" = xaarch64; then
# for host x86-64, target aarch64
@@ -132,9 +130,7 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_WIN_SDK_ROOT],
elif test -f "$WIN_SDK_BASE/bin/setenv.cmd"; then
AC_MSG_NOTICE([Found Windows SDK installation at $WIN_SDK_BASE using $METHOD])
VS_ENV_CMD="$WIN_SDK_BASE/bin/setenv.cmd"
if test "x$TARGET_CPU" = xx86; then
VS_ENV_ARGS="/x86"
elif test "x$TARGET_CPU" = xx86_64; then
if test "x$TARGET_CPU" = xx86_64; then
VS_ENV_ARGS="/x64"
elif test "x$TARGET_CPU" = xaarch64; then
VS_ENV_ARGS="/arm64"
@@ -161,7 +157,7 @@ AC_DEFUN([TOOLCHAIN_FIND_VISUAL_STUDIO_BAT_FILE],
# version, pass -vcvars_ver=<toolset_version> argument to vcvarsall.bat.
AC_ARG_WITH(msvc-toolset-version, [AS_HELP_STRING([--with-msvc-toolset-version],
[specific MSVC toolset version to use, passed as -vcvars_ver argument to
pass to vcvarsall.bat (Windows only)])])
pass to vcvarsall.bat (Windows only)])])
TARGET_CPU="$1"
VS_VERSION="$2"
@@ -438,9 +434,7 @@ AC_DEFUN([TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL],
# Need to check if the found msvcr is correct architecture
AC_MSG_CHECKING([found $DLL_NAME architecture])
MSVC_DLL_FILETYPE=`$FILE -b "$POSSIBLE_MSVC_DLL"`
if test "x$OPENJDK_TARGET_CPU" = xx86; then
CORRECT_MSVCR_ARCH=386
elif test "x$OPENJDK_TARGET_CPU" = xx86_64; then
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
CORRECT_MSVCR_ARCH=x86-64
elif test "x$OPENJDK_TARGET_CPU" = xaarch64; then
# The cygwin 'file' command only returns "PE32+ executable (DLL) (console), for MS Windows",
@@ -466,9 +460,7 @@ AC_DEFUN([TOOLCHAIN_SETUP_MSVC_DLL],
DLL_HELP="$2"
MSVC_DLL=
if test "x$OPENJDK_TARGET_CPU" = xx86; then
vs_target_cpu=x86
elif test "x$OPENJDK_TARGET_CPU" = xx86_64; then
if test "x$OPENJDK_TARGET_CPU" = xx86_64; then
vs_target_cpu=x64
elif test "x$OPENJDK_TARGET_CPU" = xaarch64; then
vs_target_cpu=arm64
@@ -522,18 +514,8 @@ AC_DEFUN([TOOLCHAIN_SETUP_MSVC_DLL],
# Probe: Search wildly in the VCINSTALLDIR. We've probably lost by now.
# (This was the original behaviour; kept since it might turn something up)
if test "x$VCINSTALLDIR" != x; then
if test "x$OPENJDK_TARGET_CPU" = xx86; then
POSSIBLE_MSVC_DLL=`$FIND "$VCINSTALLDIR" -name $DLL_NAME \
| $GREP x86 | $GREP -v ia64 | $GREP -v x64 | $GREP -v arm64 | $HEAD --lines 1`
if test "x$POSSIBLE_MSVC_DLL" = x; then
# We're grasping at straws now...
POSSIBLE_MSVC_DLL=`$FIND "$VCINSTALLDIR" -name $DLL_NAME \
| $HEAD --lines 1`
fi
else
POSSIBLE_MSVC_DLL=`$FIND "$VCINSTALLDIR" -name $DLL_NAME \
| $GREP x64 | $HEAD --lines 1`
fi
POSSIBLE_MSVC_DLL=`$FIND "$VCINSTALLDIR" -name $DLL_NAME \
| $GREP x64 | $HEAD --lines 1`
TOOLCHAIN_CHECK_POSSIBLE_MSVC_DLL([$DLL_NAME], [$POSSIBLE_MSVC_DLL],
[search of VCINSTALLDIR])

View File

@@ -26,6 +26,70 @@
m4_include([util_paths.m4])
###############################################################################
# Overwrite the existing version of AC_PROG_CC with our own custom variant.
# Unlike the regular AC_PROG_CC, the compiler list must always be passed.
AC_DEFUN([AC_PROG_CC],
[
AC_LANG_PUSH(C)
AC_ARG_VAR([CC], [C compiler command])
AC_ARG_VAR([CFLAGS], [C compiler flags])
_AC_ARG_VAR_LDFLAGS()
_AC_ARG_VAR_LIBS()
_AC_ARG_VAR_CPPFLAGS()
AC_CHECK_TOOLS(CC, [$1])
test -z "$CC" && AC_MSG_FAILURE([no acceptable C compiler found in \$PATH])
# Provide some information about the compiler.
_AS_ECHO_LOG([checking for _AC_LANG compiler version])
set X $ac_compile
ac_compiler=$[2]
for ac_option in --version -v -V -qversion -version; do
_AC_DO_LIMIT([$ac_compiler $ac_option >&AS_MESSAGE_LOG_FD])
done
m4_expand_once([_AC_COMPILER_EXEEXT])
m4_expand_once([_AC_COMPILER_OBJEXT])
_AC_PROG_CC_G
AC_LANG_POP(C)
])
###############################################################################
# Overwrite the existing version of AC_PROG_CXX with our own custom variant.
# Unlike the regular AC_PROG_CXX, the compiler list must always be passed.
AC_DEFUN([AC_PROG_CXX],
[
AC_LANG_PUSH(C++)
AC_ARG_VAR([CXX], [C++ compiler command])
AC_ARG_VAR([CXXFLAGS], [C++ compiler flags])
_AC_ARG_VAR_LDFLAGS()
_AC_ARG_VAR_LIBS()
_AC_ARG_VAR_CPPFLAGS()
AC_CHECK_TOOLS(CXX, [$1])
# Provide some information about the compiler.
_AS_ECHO_LOG([checking for _AC_LANG compiler version])
set X $ac_compile
ac_compiler=$[2]
for ac_option in --version -v -V -qversion; do
_AC_DO_LIMIT([$ac_compiler $ac_option >&AS_MESSAGE_LOG_FD])
done
m4_expand_once([_AC_COMPILER_EXEEXT])
m4_expand_once([_AC_COMPILER_OBJEXT])
_AC_PROG_CXX_G
AC_LANG_POP(C++)
])
################################################################################
# Create a function/macro that takes a series of named arguments. The call is
# similar to AC_DEFUN, but the setup of the function looks like this:
# UTIL_DEFUN_NAMED([MYFUNC], [FOO *BAR], [$@], [
@@ -100,7 +164,7 @@ AC_DEFUN([UTIL_DEFUN_NAMED],
])
])
###############################################################################
################################################################################
# Assert that a programmatic condition holds. If not, exit with an error message.
# Check that a shell expression gives return code 0
#
@@ -121,7 +185,7 @@ AC_DEFUN([UTIL_ASSERT_SHELL_TEST],
])
###############################################################################
################################################################################
# Assert that a programmatic condition holds. If not, exit with an error message.
# Check that two strings are equal.
#
@@ -137,7 +201,7 @@ AC_DEFUN([UTIL_ASSERT_STRING_EQUALS],
$3)
])
###############################################################################
################################################################################
# Assert that a programmatic condition holds. If not, exit with an error message.
# Check that two strings not are equal.
#
@@ -153,7 +217,7 @@ AC_DEFUN([UTIL_ASSERT_STRING_NOT_EQUALS],
$3)
])
###############################################################################
################################################################################
# Assert that a programmatic condition holds. If not, exit with an error message.
# Check that the given expression evaluates to the string 'true'
#
@@ -165,7 +229,7 @@ AC_DEFUN([UTIL_ASSERT_TRUE],
UTIL_ASSERT_STRING_EQUALS($1, true, $3)
])
###############################################################################
################################################################################
# Assert that a programmatic condition holds. If not, exit with an error message.
# Check that the given expression does not evaluate to the string 'true'
#
@@ -177,7 +241,7 @@ AC_DEFUN([UTIL_ASSERT_NOT_TRUE],
UTIL_ASSERT_STRING_NOT_EQUALS($1, true, $3)
])
###############################################################################
################################################################################
# Check if a list of space-separated words are selected only from a list of
# space-separated legal words. Typical use is to see if a user-specified
# set of words is selected from a set of legal words.
@@ -204,7 +268,7 @@ AC_DEFUN([UTIL_GET_NON_MATCHING_VALUES],
fi
])
###############################################################################
################################################################################
# Check if a list of space-separated words contains any word(s) from a list of
# space-separated illegal words. Typical use is to see if a user-specified
# set of words contains any from a set of illegal words.
@@ -231,7 +295,7 @@ AC_DEFUN([UTIL_GET_MATCHING_VALUES],
fi
])
###############################################################################
################################################################################
# Converts an ISO-8601 date/time string to a unix epoch timestamp. If no
# suitable conversion method was found, an empty string is returned.
#
@@ -259,7 +323,7 @@ AC_DEFUN([UTIL_GET_EPOCH_TIMESTAMP],
$1=$timestamp
])
###############################################################################
################################################################################
# Sort a space-separated list, and remove duplicates.
#
# Sets the specified variable to the resulting list.
@@ -273,7 +337,7 @@ AC_DEFUN([UTIL_SORT_LIST],
$1=${result//$'\n'/ }
])
###############################################################################
################################################################################
# Test if $1 is a valid argument to $3 (often is $JAVA passed as $3)
# If so, then append $1 to $2 \
# Also set JVM_ARG_OK to true/false depending on outcome.
@@ -294,7 +358,7 @@ AC_DEFUN([UTIL_ADD_JVM_ARG_IF_OK],
fi
])
###############################################################################
################################################################################
# Register a --with argument but mark it as deprecated
# $1: The name of the with argument to deprecate, not including --with-
AC_DEFUN([UTIL_DEPRECATED_ARG_WITH],
@@ -304,7 +368,7 @@ AC_DEFUN([UTIL_DEPRECATED_ARG_WITH],
[AC_MSG_WARN([Option --with-$1 is deprecated and will be ignored.])])
])
###############################################################################
################################################################################
# Register a --enable argument but mark it as deprecated
# $1: The name of the with argument to deprecate, not including --enable-
AC_DEFUN([UTIL_DEPRECATED_ARG_ENABLE],
@@ -314,7 +378,7 @@ AC_DEFUN([UTIL_DEPRECATED_ARG_ENABLE],
[AC_MSG_WARN([Option --enable-$1 is deprecated and will be ignored.])])
])
###############################################################################
################################################################################
# Register an --enable-* argument as an alias for another argument.
# $1: The name of the enable argument for the new alias, not including --enable-
# $2: The full name of the argument of which to make this an alias, including
@@ -329,7 +393,7 @@ AC_DEFUN([UTIL_ALIASED_ARG_ENABLE],
])
])
###############################################################################
################################################################################
# Creates a command-line option using the --enable-* pattern. Will return a
# value of 'true' or 'false' in the RESULT variable, depending on whether the
# option was enabled or not by the user. The option can not be turned on if it
@@ -471,7 +535,7 @@ UTIL_DEFUN_NAMED([UTIL_ARG_ENABLE],
fi
])
###############################################################################
################################################################################
# Helper functions for ARG_WITH, to validate different types of argument
# Dispatcher to call the correct UTIL_CHECK_TYPE_* function depending on the ARG_TYPE
@@ -511,7 +575,7 @@ AC_DEFUN([UTIL_CHECK_TYPE_directory],
if test "[x]ARG_CHECK_FOR_FILES" != "x:"; then
for file in ARG_CHECK_FOR_FILES; do
found_files=$($ECHO $(ls $1/$file 2> /dev/null))
found_files=$($ECHO $($LS -d $1/$file 2> /dev/null))
if test "x$found_files" = x; then
FAILURE="Directory $1 does not contain $file"
break
@@ -575,7 +639,7 @@ AC_DEFUN([UTIL_CHECK_TYPE_features],
ARG_RESULT=$($ECHO $feature_list)
])
###############################################################################
################################################################################
# Creates a command-line option using the --with-* pattern. Will return a
# string in the RESULT variable with the option provided by the user, or the
# empty string if the --with-* option was not given. The option can not be given
@@ -810,7 +874,7 @@ UTIL_DEFUN_NAMED([UTIL_ARG_WITH],
fi
])
###############################################################################
################################################################################
# Helper functions for CHECK_VALUE in ARG_WITH.
AC_DEFUN([UTIL_CHECK_STRING_NON_EMPTY],
[

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, 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
@@ -23,7 +23,7 @@
# questions.
#
###############################################################################
################################################################################
# Appends a string to a path variable, only adding the : when needed.
AC_DEFUN([UTIL_APPEND_TO_PATH],
[
@@ -36,7 +36,7 @@ AC_DEFUN([UTIL_APPEND_TO_PATH],
fi
])
###############################################################################
################################################################################
# Prepends a string to a path variable, only adding the : when needed.
AC_DEFUN([UTIL_PREPEND_TO_PATH],
[
@@ -49,7 +49,7 @@ AC_DEFUN([UTIL_PREPEND_TO_PATH],
fi
])
###############################################################################
################################################################################
# This will make sure the given variable points to a full and proper
# path. This means:
# 1) There will be no spaces in the path. On unix platforms,
@@ -118,7 +118,7 @@ AC_DEFUN([UTIL_FIXUP_PATH],
fi
])
##############################################################################
################################################################################
# Fixup path to be a Windows full long path
# Note: Only supported with cygwin/msys2 (cygpath tool)
AC_DEFUN([UTIL_FIXUP_WIN_LONG_PATH],
@@ -136,7 +136,7 @@ AC_DEFUN([UTIL_FIXUP_WIN_LONG_PATH],
])
###############################################################################
################################################################################
# Check if the given file is a unix-style or windows-style executable, that is,
# if it expects paths in unix-style or windows-style.
# Returns "windows" or "unix" in $RESULT.
@@ -170,7 +170,7 @@ AC_DEFUN([UTIL_CHECK_WINENV_EXEC_TYPE],
fi
])
###############################################################################
################################################################################
# This will make sure the given variable points to a executable
# with a full and proper path. This means:
# 1) There will be no spaces in the path. On unix platforms,
@@ -289,7 +289,7 @@ AC_DEFUN([UTIL_FIXUP_EXECUTABLE],
fi
])
###############################################################################
################################################################################
# Setup a tool for the given variable. If correctly specified by the user,
# use that value, otherwise search for the tool using the supplied code snippet.
# $1: variable to set
@@ -369,7 +369,7 @@ AC_DEFUN([UTIL_SETUP_TOOL],
fi
])
###############################################################################
################################################################################
# Locate a tool using proper methods.
# $1: variable to set
# $2: executable name (or list of names) to look for
@@ -436,7 +436,7 @@ AC_DEFUN([UTIL_LOOKUP_PROGS],
])
])
###############################################################################
################################################################################
# Call UTIL_SETUP_TOOL with AC_CHECK_TOOLS to locate the tool. This will look
# first for cross-compilation tools.
# $1: variable to set
@@ -452,7 +452,7 @@ AC_DEFUN([UTIL_LOOKUP_TOOLCHAIN_PROGS],
fi
])
###############################################################################
################################################################################
# Test that variable $1 denoting a program is not empty. If empty, exit with an error.
# $1: variable to check
AC_DEFUN([UTIL_CHECK_NONEMPTY],
@@ -462,7 +462,7 @@ AC_DEFUN([UTIL_CHECK_NONEMPTY],
fi
])
###############################################################################
################################################################################
# Like UTIL_LOOKUP_PROGS but fails if no tool was found.
# $1: variable to set
# $2: executable name (or list of names) to look for
@@ -473,7 +473,7 @@ AC_DEFUN([UTIL_REQUIRE_PROGS],
UTIL_CHECK_NONEMPTY($1)
])
###############################################################################
################################################################################
# Like UTIL_LOOKUP_PROGS but fails if no tool was found.
# $1: variable to set
# $2: executable name (or list of names) to look for
@@ -485,7 +485,7 @@ AC_DEFUN([UTIL_REQUIRE_TOOLCHAIN_PROGS],
])
###############################################################################
################################################################################
# Like UTIL_SETUP_TOOL but fails if no tool was found.
# $1: variable to set
# $2: autoconf macro to call to look for the special tool
@@ -497,7 +497,7 @@ AC_DEFUN([UTIL_REQUIRE_SPECIAL],
# unix tools. No further processing needed.
])
###############################################################################
################################################################################
# Add FIXPATH prefix to variable. Normally this is done by UTIL_LOOKUP_PROGS
# or UTIL_FIXUP_EXECUTABLE, but in some circumstances this has to be done
# explicitly, such as when the command in question does not exist yet.
@@ -510,7 +510,7 @@ AC_DEFUN([UTIL_ADD_FIXPATH],
fi
])
###############################################################################
################################################################################
AC_DEFUN([UTIL_REMOVE_SYMBOLIC_LINKS],
[
if test "x$OPENJDK_BUILD_OS" != xwindows; then

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2019, 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
@@ -23,7 +23,7 @@
# questions.
#
ifeq (,$(_MAKEBASE_GMK))
ifeq ($(_MAKEBASE_GMK), )
$(error You must include MakeBase.gmk prior to including CopyFiles.gmk)
endif

View File

@@ -0,0 +1,58 @@
#
# Copyright (c) 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
# 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.
#
ifeq ($(_MAKEBASE_GMK), )
$(error You must include MakeBase.gmk prior to including DebugInfoUtils.gmk)
endif
################################################################################
#
# Common debuginfo utility functions
#
################################################################################
################################################################################
# Find native debuginfo files in a directory
#
# Param 1 - dir to find debuginfo files in
FindDebuginfoFiles = \
$(wildcard $(addprefix $1/*, $(DEBUGINFO_SUFFIXES)) \
$(addprefix $1/*/*, $(DEBUGINFO_SUFFIXES)) \
$(addprefix $1/*/*/*, $(DEBUGINFO_SUFFIXES)))
# Pick the correct debug info files to copy, either zipped or not.
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
DEBUGINFO_SUFFIXES += .diz
else
DEBUGINFO_SUFFIXES := .debuginfo .pdb .map
# On Macosx, if debug symbols have not been zipped, find all files inside *.dSYM
# dirs.
ifeq ($(call isTargetOs, macosx), true)
$(call FillFindCache, \
$(SUPPORT_OUTPUTDIR)/modules_libs $(SUPPORT_OUTPUTDIR)/modules_cmds)
FindDebuginfoFiles = \
$(if $(wildcard $1), $(call containing, .dSYM/, $(call FindFiles, $1)))
endif
endif

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2019, 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
@@ -23,7 +23,7 @@
# questions.
#
ifeq (,$(_MAKEBASE_GMK))
ifeq ($(_MAKEBASE_GMK), )
$(error You must include MakeBase.gmk prior to including Execute.gmk)
endif

View File

@@ -23,7 +23,7 @@
# questions.
#
ifeq (,$(_MAKEBASE_GMK))
ifeq ($(_MAKEBASE_GMK), )
$(error You must include MakeBase.gmk prior to including FileUtils.gmk)
endif
@@ -136,6 +136,7 @@ ifeq ($(call isTargetOs, macosx), true)
$(CP) -fRP '$(call DecodeSpace, $<)' '$(call DecodeSpace, $@)'; \
fi
if [ -n "`$(XATTR) -ls '$(call DecodeSpace, $@)'`" ]; then \
$(CHMOD) -h u+w '$(call DecodeSpace, $@)'; \
$(XATTR) -cs '$(call DecodeSpace, $@)'; \
fi
endef
@@ -188,6 +189,11 @@ else
endef
endif
define copy-and-chmod-executable
$(install-file)
$(CHMOD) a+rx $@
endef
################################################################################
# Recursive wildcard function. Walks down directories recursively and matches
@@ -281,7 +287,7 @@ CacheFindFiles = \
#
# $1 - Directories to start search in
FillFindCache = \
$(eval CacheFindFiles_NEW_DIRS := $$(filter-out $$(addsuffix /%,\
$(eval CacheFindFiles_NEW_DIRS := $$(filter-out $$(addsuffix /%, \
$$(CacheFindFiles_CACHED_DIRS)) $$(CacheFindFiles_CACHED_DIRS), $1)) \
$(if $(CacheFindFiles_NEW_DIRS), \
$(eval CacheFindFiles_CACHED_DIRS += $$(patsubst %/,%,$$(CacheFindFiles_NEW_DIRS))) \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 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
@@ -43,7 +43,7 @@ $(eval $(call IncludeCustomExtension, common/FindTests.gmk))
TEST_BASEDIRS += $(TOPDIR)/test $(TOPDIR)
# JTREG_TESTROOTS might have been set by a custom extension
JTREG_TESTROOTS += $(addprefix $(TOPDIR)/test/, hotspot/jtreg jdk langtools jaxp lib-test)
JTREG_TESTROOTS += $(addprefix $(TOPDIR)/test/, hotspot/jtreg jdk langtools jaxp lib-test docs)
# Extract the names of the Jtreg group files from the TEST.ROOT files. The
# TEST.ROOT files being properties files can be interpreted as makefiles so
@@ -56,7 +56,7 @@ $(foreach root, $(JTREG_TESTROOTS), \
$(eval include $(root)/TEST.ROOT) \
$(eval $(root)_JTREG_GROUP_FILES := $$(addprefix $(root)/, $$(groups))) \
$(eval JTREG_GROUP_FILES += $$($(root)_JTREG_GROUP_FILES)) \
) \
) \
)
# Cache the expensive to calculate test names in a generated makefile.

View File

@@ -26,13 +26,13 @@
ifndef _JAR_ARCHIVE_GMK
_JAR_ARCHIVE_GMK := 1
ifeq (,$(_MAKEBASE_GMK))
ifeq ($(_MAKEBASE_GMK), )
$(error You must include MakeBase.gmk prior to including JarArchive.gmk)
endif
include MakeIO.gmk
FALSE_FIND_PATTERN:=-name FILE_NAME_THAT_DOESNT_EXIST
FALSE_FIND_PATTERN := -name FILE_NAME_THAT_DOESNT_EXIST
# Setup make rules for creating a jar archive.
#
@@ -40,81 +40,81 @@ FALSE_FIND_PATTERN:=-name FILE_NAME_THAT_DOESNT_EXIST
# and the targets generated are listed in a variable by that name.
#
# Remaining parameters are named arguments. These include:
# DEPENDENCIES:=List of dependencies for the jar target. If left empty,
# DEPENDENCIES List of dependencies for the jar target. If left empty,
# dependencies are calculated automatically from the source files found.
# For this to work, the source files must exist when the makefile is
# parsed.
# SRCS:=List of directories in where to find files to add to archive
# BIN:=Directory where to store build control files
# SUFFIXES:=File suffixes to include in jar
# INCLUDES:=List of directories/packages in SRCS that should be included
# EXCLUDES:=List of directories/packages in SRCS that should be excluded
# EXCLUDE_FILES:=List of files in SRCS that should be excluded
# EXTRA_FILES:=List of files in SRCS that should be included regardless of suffix match.
# JAR:=Jar file to create
# MANIFEST:=Optional manifest file template.
# JARMAIN:=Optional main class to add to manifest
# JARINDEX:=true means generate the index in the jar file.
# SKIP_METAINF:=Set to prevent contents of an META-INF directory to be automatically
# SRCS List of directories in where to find files to add to archive
# BIN Directory where to store build control files
# SUFFIXES File suffixes to include in jar
# INCLUDES List of directories/packages in SRCS that should be included
# EXCLUDES List of directories/packages in SRCS that should be excluded
# EXCLUDE_FILES List of files in SRCS that should be excluded
# EXTRA_FILES List of files in SRCS that should be included regardless of suffix match.
# JAR Jar file to create
# MANIFEST Optional manifest file template.
# JARMAIN Optional main class to add to manifest
# JARINDEX true means generate the index in the jar file.
# SKIP_METAINF Set to prevent contents of an META-INF directory to be automatically
# added to the archive.
# EXTRA_MANIFEST_ATTR:=Extra attribute to add to manifest.
# EXTRA_MANIFEST_ATTR Extra attribute to add to manifest.
# CHECK_COMPRESS_JAR Check the COMPRESS_JAR variable
# JAR_CMD:=Optionally override the jar command to use when creating the archive.
# JAR_CMD Optionally override the jar command to use when creating the archive.
SetupJarArchive = $(NamedParamsMacroTemplate)
define SetupJarArchiveBody
$1_JARMAIN:=$(strip $$($1_JARMAIN))
$1_JARNAME:=$$(notdir $$($1_JAR))
$1_JARMAIN := $(strip $$($1_JARMAIN))
$1_JARNAME := $$(notdir $$($1_JAR))
$1_JAR_OUTPUT_DIR := $$(patsubst %/, %, $$(dir $$($1_JAR)))
$$(call SetIfEmpty, $1_BIN, $$($1_JAR_OUTPUT_DIR))
$1_MANIFEST_FILE:=$$($1_BIN)/_the.$$($1_JARNAME)_manifest
$1_DELETESS_FILE:=$$($1_BIN)/_the.$$($1_JARNAME)_deletess
$1_DELETES_FILE:=$$($1_BIN)/_the.$$($1_JARNAME)_deletes
$1_MANIFEST_FILE := $$($1_BIN)/_the.$$($1_JARNAME)_manifest
$1_DELETESS_FILE := $$($1_BIN)/_the.$$($1_JARNAME)_deletess
$1_DELETES_FILE := $$($1_BIN)/_the.$$($1_JARNAME)_deletes
$$(call SetIfEmpty, $1_JAR_CMD, $$(JAR))
ifeq (,$$($1_SUFFIXES))
ifeq ($$($1_SUFFIXES), )
# No suffix was set, default to classes.
$1_SUFFIXES:=.class
$1_SUFFIXES := .class
endif
# Convert suffixes to a find expression
$1_FIND_PATTERNS:=$(FALSE_FIND_PATTERN) $$(patsubst %,$(SPACE)-o$(SPACE)-name$(SPACE)$(DQUOTE)*%$(DQUOTE),$$($1_SUFFIXES))
$1_FIND_PATTERNS := $(FALSE_FIND_PATTERN) $$(patsubst %,$(SPACE)-o$(SPACE)-name$(SPACE)$(DQUOTE)*%$(DQUOTE),$$($1_SUFFIXES))
# On windows, a lot of includes/excludes risk making the command line too long, so
# writing the grep patterns to files.
# Grep returns 1 if nothing is matched. Do not fail the build for this.
ifneq (,$$($1_INCLUDES))
$1_GREP_INCLUDE_PATTERNS:=$$(call EscapeDollar, \
ifneq ($$($1_INCLUDES), )
$1_GREP_INCLUDE_PATTERNS := $$(call EscapeDollar, \
$$(foreach src,$$($1_SRCS), $$(addprefix $$(src)/,$$($1_INCLUDES))))
# If there are a lot of include patterns, output to file to shorten command lines
ifeq ($$(word 20,$$($1_GREP_INCLUDE_PATTERNS)),)
$1_GREP_INCLUDES:=| ( $(GREP) $$(patsubst %,$(SPACE)-e$(SPACE)$(DQUOTE)%$(DQUOTE),$$($1_GREP_INCLUDE_PATTERNS)) \
ifeq ($$(word 20, $$($1_GREP_INCLUDE_PATTERNS)), )
$1_GREP_INCLUDES := | ( $(GREP) $$(patsubst %,$(SPACE)-e$(SPACE)$(DQUOTE)%$(DQUOTE),$$($1_GREP_INCLUDE_PATTERNS)) \
|| test "$$$$?" = "1" )
else
$1_GREP_INCLUDE_OUTPUT = \
$$(eval $$(call ListPathsSafely,$1_GREP_INCLUDE_PATTERNS, \
$$(eval $$(call ListPathsSafely, $1_GREP_INCLUDE_PATTERNS, \
$$($1_BIN)/_the.$$($1_JARNAME)_include))
$1_GREP_INCLUDES:=| ( $(GREP) -f $$($1_BIN)/_the.$$($1_JARNAME)_include \
$1_GREP_INCLUDES := | ( $(GREP) -f $$($1_BIN)/_the.$$($1_JARNAME)_include \
|| test "$$$$?" = "1" )
endif
endif
ifneq (,$$($1_EXCLUDES)$$($1_EXCLUDE_FILES))
$1_GREP_EXCLUDE_PATTERNS:=$$(call EscapeDollar, \
$$(foreach src,$$($1_SRCS),$$(addprefix $$(src)/, \
ifneq ($$($1_EXCLUDES)$$($1_EXCLUDE_FILES), )
$1_GREP_EXCLUDE_PATTERNS := $$(call EscapeDollar, \
$$(foreach src, $$($1_SRCS), $$(addprefix $$(src)/, \
$$($1_EXCLUDES) $$($1_EXCLUDE_FILES))))
# If there are a lot of include patterns, output to file to shorten command lines
ifeq ($$(word 20,$$($1_GREP_EXCLUDE_PATTERNS)),)
$1_GREP_EXCLUDES:=| ( $(GREP) -v $$(patsubst %,$(SPACE)-e$(SPACE)$(DQUOTE)%$(DQUOTE),$$($1_GREP_EXCLUDE_PATTERNS)) \
ifeq ($$(word 20, $$($1_GREP_EXCLUDE_PATTERNS)), )
$1_GREP_EXCLUDES := | ( $(GREP) -v $$(patsubst %,$(SPACE)-e$(SPACE)$(DQUOTE)%$(DQUOTE),$$($1_GREP_EXCLUDE_PATTERNS)) \
|| test "$$$$?" = "1" )
else
$1_GREP_EXCLUDE_OUTPUT = \
$$(eval $$(call ListPathsSafely,$1_GREP_EXCLUDE_PATTERNS, \
$$(eval $$(call ListPathsSafely, $1_GREP_EXCLUDE_PATTERNS, \
$$($1_BIN)/_the.$$($1_JARNAME)_exclude))
$1_GREP_EXCLUDES:=| ( $(GREP) -v -f $$($1_BIN)/_the.$$($1_JARNAME)_exclude \
$1_GREP_EXCLUDES := | ( $(GREP) -v -f $$($1_BIN)/_the.$$($1_JARNAME)_exclude \
|| test "$$$$?" = "1" )
endif
endif
# Check if this jar needs to have its index generated.
ifneq (,$$($1_JARINDEX))
ifneq ($$($1_JARINDEX), )
$1_JARINDEX = (cd $$(dir $$@) && $$($1_JAR_CMD) -i $$(notdir $$@))
else
$1_JARINDEX = true
@@ -127,19 +127,19 @@ define SetupJarArchiveBody
# Add all source roots to the find cache since we are likely going to run find
# on these more than once. The cache will only be updated if necessary.
$$(call FillFindCache, $$($1_FIND_LIST))
$1_DEPENDENCIES:=$$(filter $$(addprefix %,$$($1_SUFFIXES)), \
$$(call FindFiles,$$($1_SRCS)))
ifneq (,$$($1_GREP_INCLUDE_PATTERNS))
$1_DEPENDENCIES:=$$(filter $$(addsuffix %,$$($1_GREP_INCLUDE_PATTERNS)),$$($1_DEPENDENCIES))
$1_DEPENDENCIES := $$(filter $$(addprefix %, $$($1_SUFFIXES)), \
$$(call FindFiles, $$($1_SRCS)))
ifneq ($$($1_GREP_INCLUDE_PATTERNS), )
$1_DEPENDENCIES := $$(filter $$(addsuffix %, $$($1_GREP_INCLUDE_PATTERNS)), $$($1_DEPENDENCIES))
endif
ifneq (,$$($1_GREP_EXCLUDE_PATTERNS))
$1_DEPENDENCIES:=$$(filter-out $$(addsuffix %,$$($1_GREP_EXCLUDE_PATTERNS)),$$($1_DEPENDENCIES))
ifneq ($$($1_GREP_EXCLUDE_PATTERNS), )
$1_DEPENDENCIES := $$(filter-out $$(addsuffix %, $$($1_GREP_EXCLUDE_PATTERNS)), $$($1_DEPENDENCIES))
endif
# Look for EXTRA_FILES in all SRCS dirs and as absolute paths.
$1_DEPENDENCIES+=$$(wildcard $$(foreach src, $$($1_SRCS), \
$1_DEPENDENCIES += $$(wildcard $$(foreach src, $$($1_SRCS), \
$$(addprefix $$(src)/, $$($1_EXTRA_FILES))) $$($1_EXTRA_FILES))
ifeq (,$$($1_SKIP_METAINF))
$1_DEPENDENCIES+=$$(call FindFiles,$$(wildcard $$(addsuffix /META-INF,$$($1_SRCS))))
ifeq ($$($1_SKIP_METAINF), )
$1_DEPENDENCIES += $$(call FindFiles, $$(wildcard $$(addsuffix /META-INF, $$($1_SRCS))))
endif
endif
# The dependency list should never be empty
@@ -156,23 +156,23 @@ define SetupJarArchiveBody
# into -C <dir> <file> lines.
# The EXTRA_FILES_RESOLVED variable must be set in the macro so that it's evaluated
# in the recipe when the files are guaranteed to exist.
$1_CAPTURE_EXTRA_FILES=\
$$(eval $1_EXTRA_FILES_RESOLVED:=$$(call DoubleDollar, \
$1_CAPTURE_EXTRA_FILES = \
$$(eval $1_EXTRA_FILES_RESOLVED := $$(call DoubleDollar, \
$$(wildcard $$(foreach src, $$($1_SRCS), \
$$(addprefix $$(src)/, $$($1_EXTRA_FILES))) $$($1_EXTRA_FILES)))) \
$$(if $$($1_EXTRA_FILES_RESOLVED), \
$$(eval $$(call ListPathsSafely,$1_EXTRA_FILES_RESOLVED, \
$$(eval $$(call ListPathsSafely, $1_EXTRA_FILES_RESOLVED, \
$$($1_BIN)/_the.$$($1_JARNAME)_contents.extra)) \
$(SED) $$(foreach src,$$($1_SRCS), -e 's|$$(src)/|-C $$(src) |g') \
$(SED) $$(foreach src, $$($1_SRCS), -e 's|$$(src)/|-C $$(src) |g') \
$$($1_BIN)/_the.$$($1_JARNAME)_contents.extra \
>> $$($1_BIN)/_the.$$($1_JARNAME)_contents $$(NEWLINE))
# The capture contents macro finds all files (matching the patterns, typically
# .class and .prp) that are newer than the jar-file, ie the new content to be put into the jar.
# NOTICE: please leave the parentheses space separated otherwise the AIX build will break!
$1_CAPTURE_CONTENTS=\
$1_CAPTURE_CONTENTS = \
$(RM) $$($1_BIN)/_the.$$($1_JARNAME)_contents $$(NEWLINE) \
$$(foreach src,$$($1_SRCS), \
$$(foreach src, $$($1_SRCS), \
$(FIND) $$(src) -type f -a \( $$($1_FIND_PATTERNS) \) -a -newer $$@ $$($1_GREP_INCLUDES) \
$$($1_GREP_EXCLUDES) | $(SED) 's|$$(src)/|-C $$(src) |g' \
>> $$($1_BIN)/_the.$$($1_JARNAME)_contents $$(NEWLINE)) \
@@ -180,19 +180,19 @@ define SetupJarArchiveBody
# The capture metainf macro finds all files below the META-INF directory that are newer than the jar-file.
# Find returns non zero if the META-INF dir does not exist, ignore this.
ifeq (,$$($1_SKIP_METAINF))
$1_CAPTURE_METAINF =$$(foreach src,$$($1_SRCS), \
ifeq ($$($1_SKIP_METAINF), )
$1_CAPTURE_METAINF = $$(foreach src, $$($1_SRCS), \
( ( $(FIND) $$(src)/META-INF -type f -a -newer $$@ 2> /dev/null || true ) \
| $(SED) 's|$$(src)/|-C $$(src) |g' >> \
$$($1_BIN)/_the.$$($1_JARNAME)_contents ) $$(NEWLINE) )
endif
# The capture deletes macro finds all deleted files and concatenates them. The resulting file
# tells us what to remove from the jar-file.
$1_CAPTURE_DELETES=$$(foreach src,$$($1_SRCS),($(FIND) $$(src) -name _the.package.deleted -newer $$@ \
$1_CAPTURE_DELETES = $$(foreach src, $$($1_SRCS), ($(FIND) $$(src) -name _the.package.deleted -newer $$@ \
-exec $(SED) 's|$$(src)||g' \{\} >> $$($1_DELETES_FILE) \;) $$(NEWLINE))
# The update contents macro updates the jar file with the previously capture contents.
# Use 'wc -w' to see if the contents file is empty.
$1_UPDATE_CONTENTS=\
$1_UPDATE_CONTENTS = \
if [ "`$(WC) -l $$($1_BIN)/_the.$$($1_JARNAME)_contents | $(AWK) '{ print $$$$1 }'`" -gt "0" ]; then \
$(ECHO) " updating" `$(WC) -l $$($1_BIN)/_the.$$($1_JARNAME)_contents | $(AWK) '{ print $$$$1 }'` files && \
$(SORT) $$($1_BIN)/_the.$$($1_JARNAME)_contents > $$($1_BIN)/_the.$$($1_JARNAME)_contents_sorted && \
@@ -200,27 +200,27 @@ define SetupJarArchiveBody
fi $$(NEWLINE)
# The s-variants of the above macros are used when the jar is created from scratch.
# NOTICE: please leave the parentheses space separated otherwise the AIX build will break!
$1_SCAPTURE_CONTENTS=\
$1_SCAPTURE_CONTENTS = \
$(RM) $$($1_BIN)/_the.$$($1_JARNAME)_contents $$(NEWLINE) \
$$(foreach src,$$($1_SRCS), \
$$(foreach src, $$($1_SRCS), \
$(FIND) $$(src) -type f -a \( $$($1_FIND_PATTERNS) \) $$($1_GREP_INCLUDES) \
$$($1_GREP_EXCLUDES) | $(SED) 's|$$(src)/|-C $$(src) |g' \
>> $$($1_BIN)/_the.$$($1_JARNAME)_contents $$(NEWLINE)) \
$$($1_CAPTURE_EXTRA_FILES)
# Find returns non zero if the META-INF dir does not exist, ignore this.
ifeq (,$$($1_SKIP_METAINF))
$1_SCAPTURE_METAINF=$$(foreach src,$$($1_SRCS), \
ifeq ($$($1_SKIP_METAINF), )
$1_SCAPTURE_METAINF = $$(foreach src, $$($1_SRCS), \
( ( $(FIND) $$(src)/META-INF -type f 2> /dev/null || true ) \
| $(SED) 's|$$(src)/|-C $$(src) |g' >> \
$$($1_BIN)/_the.$$($1_JARNAME)_contents) $$(NEWLINE) )
endif
$1_SUPDATE_CONTENTS=\
$1_SUPDATE_CONTENTS = \
$(SORT) $$($1_BIN)/_the.$$($1_JARNAME)_contents > $$($1_BIN)/_the.$$($1_JARNAME)_contents_sorted && \
$$($1_JAR_CMD) --update $$($1_JAR_OPTIONS) --file $$@ @$$($1_BIN)/_the.$$($1_JARNAME)_contents_sorted $$(NEWLINE)
# Use a slightly shorter name for logging, but with enough path to identify this jar.
$1_NAME:=$$(subst $$(OUTPUTDIR)/,,$$($1_JAR))
$1_NAME := $$(subst $$(OUTPUTDIR)/,,$$($1_JAR))
# If reproducible build and the boot jdk jar supports --date option
# then specify the --date using SOURCE_DATE in ISO-8601
@@ -228,7 +228,7 @@ define SetupJarArchiveBody
ifeq ($$(BOOT_JDK_JAR_SUPPORTS_DATE), true)
$1_JAR_OPTIONS += --date $(SOURCE_DATE_ISO_8601)
endif
ifneq (,$$($1_CHECK_COMPRESS_JAR))
ifneq ($$($1_CHECK_COMPRESS_JAR), )
ifneq ($(COMPRESS_JARS), true)
$1_JAR_OPTIONS += --no-compress
endif

View File

@@ -26,7 +26,7 @@
ifndef _JAVA_COMPILATION_GMK
_JAVA_COMPILATION_GMK := 1
ifeq (,$(_MAKEBASE_GMK))
ifeq ($(_MAKEBASE_GMK), )
$(error You must include MakeBase.gmk prior to including JavaCompilation.gmk)
endif
@@ -57,9 +57,9 @@ TARGET_RELEASE_NEWJDK_UPGRADED := $(TARGET_RELEASE_NEWJDK) \
define add_file_to_copy
# param 1 = BUILD_MYPACKAGE
# parma 2 = The source file to copy.
$2_TARGET:=$2
$2_TARGET := $2
# Remove the source prefix.
$$(foreach i,$$($1_SRC),$$(eval $$(call remove_string,$$i,$2_TARGET)))
$$(foreach i, $$($1_SRC), $$(eval $$(call remove_string,$$i,$2_TARGET)))
# To allow for automatic overrides, do not create a rule for a target file that
# already has one
ifneq ($$($1_COPY_$$($2_TARGET)), 1)
@@ -98,9 +98,9 @@ endef
define add_file_to_clean
# param 1 = BUILD_MYPACKAGE
# parma 2 = The source file to copy and clean.
$2_TARGET:=$2
$2_TARGET := $2
# Remove the source prefix.
$$(foreach i,$$($1_SRC),$$(eval $$(call remove_string,$$i,$2_TARGET)))
$$(foreach i, $$($1_SRC), $$(eval $$(call remove_string,$$i,$2_TARGET)))
# Now we can setup the dependency that will trigger the copying.
# To allow for automatic overrides, do not create a rule for a target file that
# already has one
@@ -138,44 +138,44 @@ endef
# The target for public API digest is returned in $1_API_TARGET.
#
# Remaining parameters are named arguments. These include:
# SMALL_JAVA:=set to false to run javac as a "big" java app
# COMPILER:=bootjdk or interim, the latter is default
# TARGET_RELEASE:=javac flags to set the targeted jdk release (-source/-target or --release)
# SMALL_JAVA set to false to run javac as a "big" java app
# COMPILER bootjdk or interim, the latter is default
# TARGET_RELEASE javac flags to set the targeted jdk release (-source/-target or --release)
# Defaults to $(TARGET_RELEASE_NEWJDK).
# JAVAC_FLAGS:=javac flags to append to the default ones.
# JAVA_FLAGS:=flags to be appended to the java launching the compiler
# DISABLED_WARNINGS:=list of Xlint warnings that should be disabled
# SRC:=one or more directories to search for sources. The order of the source roots
# JAVAC_FLAGS javac flags to append to the default ones.
# JAVA_FLAGS flags to be appended to the java launching the compiler
# DISABLED_WARNINGS list of Xlint warnings that should be disabled
# SRC one or more directories to search for sources. The order of the source roots
# is significant. The first found file of a certain name has priority.
# BIN:=store classes here
# MODULE:=Name of module being compiled. If set, classes are put in BIN/MODULE.
# CLASSPATH:=a list of additional entries to set as classpath to javac
# INCLUDES:=myapp.foo means will only compile java files in myapp.foo or any of its sub-packages.
# EXCLUDES:=myapp.foo means will do not compile java files in myapp.foo or any of its sub-packages.
# COPY:=.prp means copy all prp files to the corresponding package in BIN.
# COPY_FILES:=myapp/foo/setting.txt means copy this file over to the package myapp/foo
# CLEAN:=.properties means copy and clean all properties file to the corresponding package in BIN.
# CLEAN_FILES:=myapp/foo/setting.txt means clean this file over to the package myapp/foo
# SRCZIP:=Create a src.zip based on the found sources and copied files.
# INCLUDE_FILES:="com/sun/SolarisFoobar.java" means only compile this file!
# EXCLUDE_FILES:="com/sun/SolarisFoobar.java" means do not compile this particular file!
# BIN store classes here
# MODULE Name of module being compiled. If set, classes are put in BIN/MODULE.
# CLASSPATH a list of additional entries to set as classpath to javac
# INCLUDES myapp.foo means will only compile java files in myapp.foo or any of its sub-packages.
# EXCLUDES myapp.foo means will do not compile java files in myapp.foo or any of its sub-packages.
# COPY .prp means copy all prp files to the corresponding package in BIN.
# COPY_FILES myapp/foo/setting.txt means copy this file over to the package myapp/foo
# CLEAN .properties means copy and clean all properties file to the corresponding package in BIN.
# CLEAN_FILES myapp/foo/setting.txt means clean this file over to the package myapp/foo
# SRCZIP Create a src.zip based on the found sources and copied files.
# INCLUDE_FILES "com/sun/SolarisFoobar.java" means only compile this file!
# EXCLUDE_FILES "com/sun/SolarisFoobar.java" means do not compile this particular file!
# "SolarisFoobar.java" means do not compile SolarisFoobar, wherever it is found.
# EXTRA_FILES:=List of extra source files to include in compilation. Can be used to
# EXTRA_FILES List of extra source files to include in compilation. Can be used to
# specify files that need to be generated by other rules first.
# HEADERS:=path to directory where all generated c-headers are written.
# DEPENDS:=Extra dependency
# KEEP_DUPS:=Do not remove duplicate file names from different source roots.
# FAIL_NO_SRC:=Set to false to not fail the build if no source files are found,
# HEADERS path to directory where all generated c-headers are written.
# DEPENDS Extra dependency
# KEEP_DUPS Do not remove duplicate file names from different source roots.
# FAIL_NO_SRC Set to false to not fail the build if no source files are found,
# default is true.
# CREATE_API_DIGEST:=Set to true to use a javac plugin to generate a public API
# CREATE_API_DIGEST Set to true to use a javac plugin to generate a public API
# hash which can be used for down stream dependencies to only rebuild
# when the API changes.
# KEEP_ALL_TRANSLATIONS:=Set to true to skip translation filtering
# KEEP_ALL_TRANSLATIONS Set to true to skip translation filtering
SetupJavaCompilation = $(NamedParamsMacroTemplate)
define SetupJavaCompilationBody
# Verify arguments
ifeq ($$($1_BIN),)
ifeq ($$($1_BIN), )
$$(error Must specify BIN (in $1))
endif
@@ -255,9 +255,9 @@ define SetupJavaCompilationBody
$1_JAVAC := $$(INTERIM_LANGTOOLS_ARGS) -m jdk.compiler.interim/com.sun.tools.javac.Main
ifeq ($$($1_SMALL_JAVA), true)
$1_JAVAC_CMD := $$(JAVA_SMALL) $$($1_JAVA_FLAGS) $$($1_JAVAC)
$1_JAVAC_CMD := $$(JAVA_SMALL) $$($1_JAVA_FLAGS) $$($1_JAVAC)
else
$1_JAVAC_CMD := $$(JAVA) $$($1_JAVA_FLAGS) $$($1_JAVAC)
$1_JAVAC_CMD := $$(JAVA) $$($1_JAVA_FLAGS) $$($1_JAVAC)
endif
endif
@@ -282,8 +282,26 @@ define SetupJavaCompilationBody
$1_FLAGS += -Xlint:$$(call CommaList, $$(addprefix -, $$($1_DISABLED_WARNINGS)))
endif
ifneq ($$($1_CLASSPATH), )
$1_FLAGS += -cp $$(call PathList, $$($1_CLASSPATH))
$1_AUGMENTED_CLASSPATH := $$($1_CLASSPATH)
$1_API_TARGET := $$($1_BIN)$$($1_MODULE_SUBDIR)/_the.$1_pubapi
$1_API_INTERNAL := $$($1_BIN)$$($1_MODULE_SUBDIR)/_the.$1_internalapi
ifeq ($$($1_CREATE_API_DIGEST), true)
$1_API_DIGEST_FLAGS := \
-Xplugin:"depend $$($1_API_TARGET)" \
"-XDinternalAPIPath=$$($1_API_INTERNAL)" \
"-XDLOG_LEVEL=$(LOG_LEVEL)" \
#
$1_EXTRA_DEPS := $$(BUILDTOOLS_OUTPUTDIR)/depend/_the.COMPILE_DEPEND_batch
# including the compilation output on the classpath, so that incremental
# compilations in unnamed module can refer to other classes from the same
# source root, which are not being recompiled in this compilation:
$1_AUGMENTED_CLASSPATH += $$(BUILDTOOLS_OUTPUTDIR)/depend $$($1_BIN)
endif
ifneq ($$($1_AUGMENTED_CLASSPATH), )
$1_FLAGS += -cp $$(call PathList, $$($1_AUGMENTED_CLASSPATH))
endif
# Make sure the dirs exist, or that one of the EXTRA_FILES, that may not
@@ -295,7 +313,7 @@ define SetupJavaCompilationBody
) \
) \
)
$$(call MakeDir,$$($1_BIN))
$$(call MakeDir, $$($1_BIN))
# Order src files according to the order of the src dirs. Correct ordering is
# needed for correct overriding between different source roots.
$1_ALL_SRC_RAW := $$(call FindFiles, $$($1_SRC))
@@ -351,72 +369,69 @@ define SetupJavaCompilationBody
endif
else
# All files below META-INF are always copied.
$1_ALL_COPIES := $$(filter $$(addsuffix /META-INF%,$$($1_SRC)),$$($1_ALL_SRCS))
$1_ALL_COPIES := $$(filter $$(addsuffix /META-INF%, $$($1_SRC)), $$($1_ALL_SRCS))
# Find all files to be copied from source to bin.
ifneq (,$$($1_COPY)$$($1_COPY_FILES))
ifneq ($$($1_COPY)$$($1_COPY_FILES), )
# Search for all files to be copied.
$1_ALL_COPIES += $$(filter $$(addprefix %,$$($1_COPY)),$$($1_ALL_SRCS))
$1_ALL_COPIES += $$(filter $$(addprefix %, $$($1_COPY)), $$($1_ALL_SRCS))
# Copy these explicitly
$1_ALL_COPIES += $$($1_COPY_FILES)
endif
# Copy must also respect filters.
ifneq (,$$($1_INCLUDE_PATTERN))
$1_ALL_COPIES := $$(filter $$($1_INCLUDE_PATTERN),$$($1_ALL_COPIES))
ifneq ($$($1_INCLUDE_PATTERN), )
$1_ALL_COPIES := $$(filter $$($1_INCLUDE_PATTERN), $$($1_ALL_COPIES))
endif
ifneq (,$$($1_EXCLUDE_PATTERN))
$1_ALL_COPIES := $$(filter-out $$($1_EXCLUDE_PATTERN),$$($1_ALL_COPIES))
ifneq ($$($1_EXCLUDE_PATTERN), )
$1_ALL_COPIES := $$(filter-out $$($1_EXCLUDE_PATTERN), $$($1_ALL_COPIES))
endif
# Filter out any excluded translations
ifneq ($$($1_KEEP_ALL_TRANSLATIONS), true)
$1_ALL_COPIES := $$(call FilterExcludedTranslations, $$($1_ALL_COPIES), .properties)
endif
ifneq (,$$($1_ALL_COPIES))
ifneq ($$($1_ALL_COPIES), )
# Yep, there are files to be copied!
$1_ALL_COPY_TARGETS:=
$$(foreach i,$$($1_ALL_COPIES),$$(eval $$(call add_file_to_copy,$1,$$i)))
$1_ALL_COPY_TARGETS :=
$$(foreach i, $$($1_ALL_COPIES), $$(eval $$(call add_file_to_copy,$1,$$i)))
# Now we can depend on $$($1_ALL_COPY_TARGETS) to copy all files!
endif
# Find all property files to be copied and cleaned from source to bin.
ifneq (,$$($1_CLEAN)$$($1_CLEAN_FILES))
ifneq ($$($1_CLEAN)$$($1_CLEAN_FILES), )
# Search for all files to be copied.
$1_ALL_CLEANS := $$(filter $$(addprefix %,$$($1_CLEAN)),$$($1_ALL_SRCS))
$1_ALL_CLEANS := $$(filter $$(addprefix %, $$($1_CLEAN)), $$($1_ALL_SRCS))
# Clean these explicitly
$1_ALL_CLEANS += $$($1_CLEAN_FILES)
# Copy and clean must also respect filters.
ifneq (,$$($1_INCLUDE_PATTERN))
$1_ALL_CLEANS := $$(filter $$($1_INCLUDE_PATTERN),$$($1_ALL_CLEANS))
ifneq ($$($1_INCLUDE_PATTERN), )
$1_ALL_CLEANS := $$(filter $$($1_INCLUDE_PATTERN), $$($1_ALL_CLEANS))
endif
ifneq (,$$($1_EXCLUDE_PATTERN))
$1_ALL_CLEANS := $$(filter-out $$($1_EXCLUDE_PATTERN),$$($1_ALL_CLEANS))
ifneq ($$($1_EXCLUDE_PATTERN), )
$1_ALL_CLEANS := $$(filter-out $$($1_EXCLUDE_PATTERN), $$($1_ALL_CLEANS))
endif
# Filter out any excluded translations
ifneq ($$($1_KEEP_ALL_TRANSLATIONS), true)
$1_ALL_CLEANS := $$(call FilterExcludedTranslations, $$($1_ALL_CLEANS), .properties)
endif
ifneq (,$$($1_ALL_CLEANS))
ifneq ($$($1_ALL_CLEANS), )
# Yep, there are files to be copied and cleaned!
$1_ALL_COPY_CLEAN_TARGETS:=
$$(foreach i,$$($1_ALL_CLEANS),$$(eval $$(call add_file_to_clean,$1,$$i)))
$1_ALL_COPY_CLEAN_TARGETS :=
$$(foreach i, $$($1_ALL_CLEANS), $$(eval $$(call add_file_to_clean,$1,$$i)))
# Now we can depend on $$($1_ALL_COPY_CLEAN_TARGETS) to copy all files!
endif
endif
# Create a sed expression to remove the source roots and to replace / with .
# and remove .java at the end.
$1_REWRITE_INTO_CLASSES:=$$(foreach i,$$($1_SRC),-e 's|$$i/||g') -e 's|/|.|g' -e 's|.java$$$$||g'
$1_REWRITE_INTO_CLASSES := $$(foreach i, $$($1_SRC), -e 's|$$i/||g') -e 's|/|.|g' -e 's|.java$$$$||g'
$1_COMPILE_TARGET := $$($1_BIN)$$($1_MODULE_SUBDIR)/_the.$1_batch
$1_FILELIST := $$($1_BIN)$$($1_MODULE_SUBDIR)/_the.$1_batch.filelist
$1_MODFILELIST := $$($1_BIN)$$($1_MODULE_SUBDIR)/_the.$1_batch.modfiles
$1_MODFILELIST_FIXED := $$($1_MODFILELIST).fixed
$1_API_TARGET := $$($1_BIN)$$($1_MODULE_SUBDIR)/_the.$1_pubapi
$1_API_INTERNAL := $$($1_BIN)$$($1_MODULE_SUBDIR)/_the.$1_internalapi
# Put headers in a temp dir to filter out those that actually
# changed before copying them to the real header dir.
ifneq (,$$($1_HEADERS))
ifneq ($$($1_HEADERS), )
$1_HEADERS_ARG := -h $$($1_HEADERS).$1.tmp
$$($1_HEADERS)/_the.$1_headers: $$($1_COMPILE_TARGET)
@@ -442,17 +457,6 @@ define SetupJavaCompilationBody
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
$$($1_BIN)$$($1_MODULE_SUBDIR)/_the.$1.vardeps)
ifeq ($$($1_CREATE_API_DIGEST), true)
$1_API_DIGEST_FLAGS := \
-classpath $$(BUILDTOOLS_OUTPUTDIR)/depend \
-Xplugin:"depend $$($1_API_TARGET)" \
"-XDinternalAPIPath=$$($1_API_INTERNAL)" \
"-XDLOG_LEVEL=$(LOG_LEVEL)" \
#
$1_EXTRA_DEPS := $$(BUILDTOOLS_OUTPUTDIR)/depend/_the.COMPILE_DEPEND_batch
endif
# Create a file with all sources, to pass to javac in an @file.
# $$($1_VARDEPS_FILE) is used as dependency to track changes in set of
# list of files.
@@ -499,27 +503,27 @@ define SetupJavaCompilationBody
$$($1_HEADER_TARGETS)
# Check if a jar file was specified, then setup the rules for the jar.
ifneq (,$$($1_JAR))
ifneq ($$($1_JAR), )
# If no suffixes was explicitly set for this jar file.
# Use class and the cleaned/copied properties file suffixes as the default
# for the types of files to be put into the jar.
ifeq (,$$($1_SUFFIXES))
$1_SUFFIXES:=.class $$($1_CLEAN) $$($1_COPY)
ifeq ($$($1_SUFFIXES), )
$1_SUFFIXES := .class $$($1_CLEAN) $$($1_COPY)
endif
$$(eval $$(call SetupJarArchive, ARCHIVE_$1, \
DEPENDENCIES:=$$($1), \
SRCS:=$$($1_BIN)$$($1_MODULE_SUBDIR), \
SUFFIXES:=$$($1_SUFFIXES), \
EXCLUDE:=$$($1_EXCLUDES), \
INCLUDES:=$$($1_INCLUDES), \
EXTRA_FILES:=$$($1_ALL_COPY_TARGETS) $$($1_ALL_COPY_CLEAN_TARGETS), \
JAR:=$$($1_JAR), \
JARMAIN:=$$($1_JARMAIN), \
MANIFEST:=$$($1_MANIFEST), \
EXTRA_MANIFEST_ATTR:=$$($1_EXTRA_MANIFEST_ATTR), \
JARINDEX:=$$($1_JARINDEX), \
HEADERS:=$$($1_HEADERS), \
DEPENDENCIES := $$($1), \
SRCS := $$($1_BIN)$$($1_MODULE_SUBDIR), \
SUFFIXES := $$($1_SUFFIXES), \
EXCLUDE := $$($1_EXCLUDES), \
INCLUDES := $$($1_INCLUDES), \
EXTRA_FILES := $$($1_ALL_COPY_TARGETS) $$($1_ALL_COPY_CLEAN_TARGETS), \
JAR := $$($1_JAR), \
JARMAIN := $$($1_JARMAIN), \
MANIFEST := $$($1_MANIFEST), \
EXTRA_MANIFEST_ATTR := $$($1_EXTRA_MANIFEST_ATTR), \
JARINDEX := $$($1_JARINDEX), \
HEADERS := $$($1_HEADERS), \
))
# Add jar to target list
@@ -527,13 +531,13 @@ define SetupJavaCompilationBody
endif
# Check if a srczip was specified, then setup the rules for the srczip.
ifneq (,$$($1_SRCZIP))
ifneq ($$($1_SRCZIP), )
$$(eval $$(call SetupZipArchive, ZIP_ARCHIVE_$1, \
SRC:=$$($1_SRC), \
ZIP:=$$($1_SRCZIP), \
INCLUDES:=$$($1_INCLUDES), \
EXCLUDES:=$$($1_EXCLUDES), \
EXCLUDE_FILES:=$$($1_EXCLUDE_FILES)))
SRC := $$($1_SRC), \
ZIP := $$($1_SRCZIP), \
INCLUDES := $$($1_INCLUDES), \
EXCLUDES := $$($1_EXCLUDES), \
EXCLUDE_FILES := $$($1_EXCLUDE_FILES)))
# Add zip to target list
$1 += $$($1_SRCZIP)

View File

@@ -182,12 +182,12 @@ define AddJdkLibrary
$1_$2_NAME := $$(strip $$(lastword $$(subst :, , $3)))
$1_$2_MODULE := $$(strip $$(patsubst %$$($1_$2_NAME), %, $3))
ifeq ($$(filter lib%, $$($1_$2_NAME)),)
ifeq ($$(filter lib%, $$($1_$2_NAME)), )
$$(error Library name $$($1_$2_NAME) missing lib prefix in $1)
endif
$1_$2_NAME := $$(strip $$(patsubst lib%, %, $$($1_$2_NAME)))
ifeq ($$($1_$2_MODULE),)
ifeq ($$($1_$2_MODULE), )
$1_$2_MODULE := $$(MODULE)
else
$1_$2_MODULE := $$(strip $$(patsubst %:, %, $$($1_$2_MODULE)))
@@ -196,10 +196,10 @@ define AddJdkLibrary
# Determine if the library in question is static.
# Ideally, we should not hardcode these
ifeq ($(call isTargetOs, aix)+$$($1_$2_MODULE):$$($1_$2_NAME), true+java.base:jli)
$1_$2_STATIC_LIBRARY := true
$1_$2_STATIC_LIBRARY := true
endif
ifeq ($$($1_$2_MODULE):$$($1_$2_NAME), gtest:gtest)
$1_$2_STATIC_LIBRARY := true
$1_$2_STATIC_LIBRARY := true
endif
# Setup $1_$2_LIBPATH.
@@ -275,6 +275,8 @@ JDK_RCFLAGS=$(RCFLAGS) \
# and EXTRA_HEADER_DIRS will be added.
# JDK_LIBS_<os> or JDK_LIBS_<osType> -- additional JDK_LIBS for the given OS
# or OS type only
# ONLY_EXPORTED -- if true, this library will be flagged as not
# to be included for this module when building static libs
# EXTRA_RCFLAGS -- additional RCFLAGS to append.
# RC_FILEDESC -- override the default FILEDESC for Windows version.rc
# DEFAULT_LIBCXX -- if false, do not add LIBCXX to LIBS for C++ compilations
@@ -303,6 +305,15 @@ define SetupJdkNativeCompilationBody
$1_RC_FTYPE := 0x2L
endif
ifneq ($$(MODULE), )
# Record the fact that this native library is part of the current module
# (unless told otherwise). This variable stores information about all
# created libraries, and is read by ModuleWrapper.
ifneq ($$($1_ONLY_EXPORTED), true)
$$(MODULE)_INCLUDED_LIBS += $$($1_NAME)
endif
endif
ifeq ($$($1_OUTPUT_DIR), )
ifneq ($$(MODULE), )
ifeq ($$($1_TYPE), STATIC_LIBRARY)
@@ -422,10 +433,10 @@ define SetupJdkNativeCompilationBody
ifneq ($$($1_DEFAULT_LDFLAGS), false)
ifeq ($$($1_TYPE), EXECUTABLE)
# Set the default flags first to be able to override
$1_LDFLAGS := $$(filter-out $$($1_LDFLAGS_FILTER_OUT), $$(LDFLAGS_JDKEXE)) $$($1_LDFLAGS)
$1_LDFLAGS := $$(filter-out $$($1_LDFLAGS_FILTER_OUT), $$(LDFLAGS_JDKEXE) $$($1_LDFLAGS))
else
# Set the default flags first to be able to override
$1_LDFLAGS := $$(filter-out $$($1_LDFLAGS_FILTER_OUT), $$(LDFLAGS_JDKLIB)) $$($1_LDFLAGS)
$1_LDFLAGS := $$(filter-out $$($1_LDFLAGS_FILTER_OUT), $$(LDFLAGS_JDKLIB) $$($1_LDFLAGS))
endif
endif

View File

@@ -23,17 +23,17 @@
# questions.
#
################################################################
################################################################################
# MakeBase provides the core functionality needed and used by all makefiles. It
# should be included by all makefiles. MakeBase provides essential
# functionality for named parameter functions, variable dependency, tool
# execution, logging and fixpath functionality.
################################################################
################################################################################
ifndef _MAKEBASE_GMK
_MAKEBASE_GMK := 1
ifeq ($(wildcard $(SPEC)),)
ifeq ($(wildcard $(SPEC)), )
$(error MakeBase.gmk needs SPEC set to a proper spec.gmk)
endif
@@ -49,16 +49,16 @@ endif
# When calling macros, the spaces between arguments are
# often semantically important! Sometimes we need to subst
# spaces and commas, therefore we need the following macros.
X:=
SPACE:=$(X) $(X)
COMMA:=,
DOLLAR:=$$
HASH:=\#
LEFT_PAREN:=(
RIGHT_PAREN:=)
SQUOTE:='
X :=
SPACE := $(X) $(X)
COMMA := ,
DOLLAR := $$
HASH := \#
LEFT_PAREN := (
RIGHT_PAREN := )
SQUOTE := '
#'
DQUOTE:="
DQUOTE := "
#"
define NEWLINE
@@ -99,7 +99,7 @@ define SetupLogging
endif
endif
ifneq ($$(findstring $$(LOG_LEVEL), debug trace),)
ifneq ($$(findstring $$(LOG_LEVEL), debug trace), )
SHELL := $$(SHELL) -x
endif
@@ -117,21 +117,21 @@ define SetupLogging
# The warn level can never be turned off
LogWarn = $$(info $(LOG_PREFIX)$$(strip $$1))
LOG_WARN :=
ifneq ($$(findstring $$(LOG_LEVEL), info debug trace),)
ifneq ($$(findstring $$(LOG_LEVEL), info debug trace), )
LogInfo = $$(info $(LOG_PREFIX)$$(strip $$1))
LOG_INFO :=
else
LogInfo =
LOG_INFO := > /dev/null
endif
ifneq ($$(findstring $$(LOG_LEVEL), debug trace),)
ifneq ($$(findstring $$(LOG_LEVEL), debug trace), )
LogDebug = $$(info $(LOG_PREFIX)$$(strip $$1))
LOG_DEBUG :=
else
LogDebug =
LOG_DEBUG := > /dev/null
endif
ifneq ($$(findstring $$(LOG_LEVEL), trace),)
ifneq ($$(findstring $$(LOG_LEVEL), trace), )
LogTrace = $$(info $(LOG_PREFIX)$$(strip $$1))
LOG_TRACE :=
else
@@ -164,14 +164,14 @@ PARAM_SEQUENCE := $(call sequence, 2, $(MAX_PARAMS))
# BAR := some parameter value, \
# ))
define NamedParamsMacroTemplate
$(if $($(MAX_PARAMS)),$(error Internal makefile error: \
$(if $($(MAX_PARAMS)), $(error Internal makefile error: \
Too many named arguments to macro, please update MAX_PARAMS in MakeBase.gmk))
# Iterate over 2 3 4... and evaluate the named parameters with $1_ as prefix
$(foreach i,$(PARAM_SEQUENCE), $(if $(strip $($i)),\
$(foreach i, $(PARAM_SEQUENCE), $(if $(strip $($i)), \
$(strip $1)_$(strip $(call EscapeHash, $(call DoubleDollar, $($i))))$(NEWLINE)))
# Debug print all named parameter names and values
$(if $(findstring $(LOG_LEVEL), trace), \
$(info $0 $(strip $1) $(foreach i,$(PARAM_SEQUENCE), \
$(info $0 $(strip $1) $(foreach i, $(PARAM_SEQUENCE), \
$(if $(strip $($i)),$(NEWLINE) $(strip [$i] $(if $(filter $(LOG_LEVEL), trace), \
$($i), $(wordlist 1, 20, $($(i))) $(if $(word 21, $($(i))), ...)))))))
@@ -246,8 +246,8 @@ DependOnVariableFileName = \
# Param 1 - Name of variable
DependOnVariableWriteFile = \
$(call MakeDir, $(dir $($1_filename))) \
$(call WriteFile, $1_old:=$(call DoubleDollar,$(call EscapeHash,$($1))), \
$($1_filename)) \
$(call WriteFile, $1_old := $(call DoubleDollar,$(call EscapeHash,$($1))), \
$($1_filename)) \
# Does the actual work with parameters stripped.
# If the file exists AND the contents is the same as the variable, do nothing
@@ -260,7 +260,7 @@ DependOnVariableHelper = \
$(eval $1_filename := $(call DependOnVariableFileName, $1, $2)) \
$(if $(wildcard $($1_filename)), \
$(eval include $($1_filename)) \
$(if $(call equals, $(strip $($1)), $(strip $($1_old))),,\
$(if $(call equals, $(strip $($1)), $(strip $($1_old))),, \
$(if $(findstring $(LOG_LEVEL), trace), \
$(info NewVariable $1: >$(strip $($1))<) \
$(info OldVariable $1: >$(strip $($1_old))<) \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, 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
@@ -23,7 +23,7 @@
# questions.
#
ifeq (,$(_MAKEBASE_GMK))
ifeq ($(_MAKEBASE_GMK), )
$(error You must include MakeBase.gmk prior to including MakeIO.gmk)
endif
@@ -67,22 +67,22 @@ else # HAS_FILE_FUNCTION = false
$(eval compress_paths += \
$(strip $(shell $(CAT) $(TOPDIR)/make/common/support/ListPathsSafely-post-compress.incl)))
decompress_paths=$(SED) -f $(TOPDIR)/make/common/support/ListPathsSafely-uncompress.sed \
decompress_paths = $(SED) -f $(TOPDIR)/make/common/support/ListPathsSafely-uncompress.sed \
-e 's|X99|\\n|g' \
-e 's|X98|$(OUTPUTDIR)|g' -e 's|X97|$(TOPDIR)|g' \
-e 's|X00|X|g'
ListPathsSafely_IfPrintf = \
$(if $(word $3,$($(strip $1))), \
$(if $(word $3, $($(strip $1))), \
$(shell $(PRINTF) -- "$(strip $(call EscapeDollar, \
$(call compress_paths, $(wordlist $3,$4,$($(strip $1))))))\n" \
$(call compress_paths, $(wordlist $3, $4, $($(strip $1))))))\n" \
| $(decompress_paths) >> $2))
# Param 1 - Name of variable containing paths/arguments to output
# Param 2 - File to print to
# Param 3 - Set to true to append to file instead of overwriting
define ListPathsSafely
ifneq (,$$(word 30001,$$($$(strip $1))))
ifneq ($$(word 30001, $$($$(strip $1))), )
$$(error Cannot list safely more than 30000 paths. $1 has $$(words $$($$(strip $1))) paths!)
endif
$$(call MakeDir, $$(dir $2))

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 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
@@ -177,8 +177,8 @@ $(MODULE_DEPS_MAKEFILE): $(MODULE_INFOS) \
$(call MakeTargetDir)
$(RM) $@
$(foreach m, $(MODULE_INFOS), \
( $(PRINTF) "DEPS_$(call GetModuleNameFromModuleInfo, $m) :=" && \
$(AWK) -v MODULE=$(call GetModuleNameFromModuleInfo, $m) '\
( $(PRINTF) "DEPS_$(call GetModuleNameFromModuleInfo, $m) := " && \
$(AWK) -v MODULE=$(call GetModuleNameFromModuleInfo, $m) ' \
BEGIN { if (MODULE != "java.base") printf(" java.base"); } \
/^ *requires/ { sub(/;/, ""); \
sub(/requires /, " "); \
@@ -191,8 +191,8 @@ $(MODULE_DEPS_MAKEFILE): $(MODULE_INFOS) \
gsub(/\r/, ""); \
printf(" %s", $$0) } \
END { printf("\n") }' $m && \
$(PRINTF) "TRANSITIVE_MODULES_$(call GetModuleNameFromModuleInfo, $m) :=" && \
$(AWK) -v MODULE=$(call GetModuleNameFromModuleInfo, $m) '\
$(PRINTF) "TRANSITIVE_MODULES_$(call GetModuleNameFromModuleInfo, $m) := " && \
$(AWK) -v MODULE=$(call GetModuleNameFromModuleInfo, $m) ' \
BEGIN { if (MODULE != "java.base") printf(" java.base"); } \
/^ *requires *transitive/ { \
sub(/;/, ""); \
@@ -221,7 +221,7 @@ FindTransitiveDepsForModule = \
$(foreach m, $(call FindDepsForModule, $1), \
$(call FindDepsForModule, $m) \
$(foreach n, $(call FindDepsForModule, $m), \
$(call FindDepsForModule, $n))))
$(call FindDepsForModule, $n))))
# Find dependencies ("requires") transitively in 3 levels for a set of modules.
# Param 1: List of modules to find dependencies for.
@@ -240,7 +240,7 @@ FindTransitiveIndirectDepsForModule = \
$(foreach m, $(call FindIndirectExportsForModule, $1), \
$(call FindIndirectExportsForModule, $m) \
$(foreach n, $(call FindIndirectExportsForModule, $m), \
$(call FindIndirectExportsForModule, $n))))
$(call FindIndirectExportsForModule, $n))))
# Finds indirect exported modules transitively in 3 levels for a set of modules.
# Param 1: List of modules to find indirect exported modules for.

View File

@@ -182,7 +182,7 @@ define SetupNativeCompilationBody
# Now call CreateCompiledNativeFile for each source file we are going to compile.
$$(foreach file, $$($1_SRCS), \
$$(eval $$(call CreateCompiledNativeFile,$1_$$(notdir $$(file)),\
$$(eval $$(call CreateCompiledNativeFile,$1_$$(notdir $$(file)), \
FILE := $$(file), \
BASE := $1, \
)) \
@@ -222,7 +222,7 @@ define SetupNativeCompilationBody
ifeq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
# Override all targets (this is a hack)
$1 := $$($1_ALL_OBJS_JSON)
$1 := $$($1_ALL_OBJS_JSON) $$($1_LDFLAGS_FILE)
endif
endef
@@ -292,6 +292,7 @@ define SetupBasicVariables
$1_TARGET := $$($1_OUTPUT_DIR)/$$($1_BASENAME)
$1_NOSUFFIX := $$($1_PREFIX)$$($1_NAME)
$1_SAFE_NAME := $$(strip $$(subst /,_, $1))
$1_UNIQUE_NAME = $$($1_TYPE)_$$(subst /,_,$$(patsubst $$(OUTPUTDIR)/%/,%,$$(dir $$($1_OBJECT_DIR))))_$$($1_NOSUFFIX)
endef
################################################################################

View File

@@ -1,4 +1,4 @@
# Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2017, 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
@@ -22,7 +22,7 @@
# questions.
#
ifeq (,$(_MAKEBASE_GMK))
ifeq ($(_MAKEBASE_GMK), )
$(error You must include MakeBase.gmk prior to including ProcessMarkdown.gmk)
endif
@@ -92,7 +92,7 @@ define ProcessMarkdown
-t $$($1_FORMAT) --eol=lf --standalone \
$$($1_$2_CSS_OPTION) $$($1_$2_OPTIONS_FROM_SRC) $$($1_$2_OPTIONS) \
'$$($1_$2_PANDOC_INPUT)' -o '$$($1_$2_PANDOC_OUTPUT)')
ifneq ($$(findstring $$(LOG_LEVEL), debug trace),)
ifneq ($$(findstring $$(LOG_LEVEL), debug trace), )
TOO_LONG_LINES=`$$(GREP) -E -e '^.{80}.+$$$$' $$<` || true ; \
if [ "x$$$$TOO_LONG_LINES" != x ]; then \
$$(ECHO) "Warning: Unsuitable markdown in $$<:" ; \

View File

@@ -26,7 +26,7 @@
ifndef _TEST_FILES_COMPILATION_GMK
_TEST_FILES_COMPILATION_GMK := 1
ifeq (,$(_MAKEBASE_GMK))
ifeq ($(_MAKEBASE_GMK), )
$(error You must include MakeBase.gmk prior to including TestFilesCompilation.gmk)
endif
@@ -95,7 +95,7 @@ define SetupTestFilesCompilationBody
TEST_CFLAGS := -I$(TOPDIR)/test/lib/native
# Setup a compilation for each and every one of them
$$(foreach file, $$($1_FILTERED_FILE_LIST),\
$$(foreach file, $$($1_FILTERED_FILE_LIST), \
$$(eval name := $$(strip $$(basename $$(notdir $$(file))))) \
$$(eval unprefixed_name := $$(patsubst $$($1_PREFIX)%, %, $$(name))) \
$$(eval $$(call SetupJdkNativeCompilation, BUILD_TEST_$$(name), \
@@ -112,16 +112,19 @@ define SetupTestFilesCompilationBody
CXXFLAGS := $$(TEST_CFLAGS) $$($1_CFLAGS) $$($1_CFLAGS_$$(name)), \
LD_SET_ORIGIN := $$($1_LD_SET_ORIGIN), \
LDFLAGS := $$($1_LDFLAGS_$$(name)), \
DISABLED_WARNINGS_gcc := format undef unused-function unused-value, \
DISABLED_WARNINGS_clang := undef format-nonliteral \
missing-field-initializers sometimes-uninitialized, \
DISABLED_WARNINGS_gcc := format undef unused-but-set-variable \
unused-const-variable unused-function unused-value \
unused-variable, \
DISABLED_WARNINGS_clang := format-nonliteral \
missing-field-initializers sometimes-uninitialized undef \
unused-but-set-variable unused-function unused-variable, \
DEFAULT_LIBCXX := false, \
JDK_LIBS := $$($1_JDK_LIBS_$$(name)), \
LIBS := $$($1_LIBS_$$(name)), \
DEFAULT_VERSIONINFO_RESOURCE := false, \
OPTIMIZATION := $$(if $$($1_OPTIMIZATION_$$(name)),$$($1_OPTIMIZATION_$$(name)),LOW), \
OPTIMIZATION := $$(if $$($1_OPTIMIZATION_$$(name)), $$($1_OPTIMIZATION_$$(name)), LOW), \
COPY_DEBUG_SYMBOLS := $$($1_COPY_DEBUG_SYMBOLS), \
STRIP_SYMBOLS := $$(if $$($1_STRIP_SYMBOLS_$$(name)),$$($1_STRIP_SYMBOLS_$$(name)),false), \
STRIP_SYMBOLS := $$(if $$($1_STRIP_SYMBOLS_$$(name)), $$($1_STRIP_SYMBOLS_$$(name)), false), \
BUILD_INFO_LOG_MACRO := LogInfo, \
)) \
$$(eval $1 += $$(BUILD_TEST_$$(name)) ) \

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