Compare commits

..

860 Commits

Author SHA1 Message Date
Andrey Turbanov
68815d54c1 8314734: Remove unused field TypeVariableImpl.EMPTY_ANNOTATION_ARRAY
Reviewed-by: bpb, darcy
2023-08-23 20:41:28 +00:00
Alexander Matveev
57a322da9b 8308042: [macos] Developer ID Application Certificate not picked up by jpackage if it contains UNICODE characters
Reviewed-by: asemenyuk
2023-08-23 20:22:12 +00:00
Chris Plummer
38a9edfb7e 8314679: SA fails to properly attach to JVM after having just detached from a different JVM
Reviewed-by: dholmes, kevinw
2023-08-23 20:11:10 +00:00
Chris Plummer
2c60cadfde 8280743: HSDB "Monitor Cache Dump" command might throw NPE
Reviewed-by: kevinw, sspitsyn
2023-08-23 19:12:35 +00:00
Ben Perez
9435cd1916 8175874: Update Security.insertProviderAt to specify behavior when requested position is out of range.
Reviewed-by: mullan, valeriep
2023-08-23 18:10:11 +00:00
lawrence.andrews
dbb788f34d 8294535: Add screen capture functionality to PassFailJFrame
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, honkar
2023-08-23 17:48:07 +00:00
Andrey Turbanov
fae3b02aeb 8314746: Remove unused private put* methods from DirectByteBufferR
Reviewed-by: alanb, bpb
2023-08-23 17:36:46 +00:00
Brian Burkhalter
096b7ff097 8314810: (fs) java/nio/file/Files/CopyInterference.java should use TestUtil::supportsLinks
Reviewed-by: aturbanov, alanb
2023-08-23 15:31:33 +00:00
Alexey Ivanov
62610203f1 8312555: Ideographic characters aren't stretched by AffineTransform.scale(2, 1)
Ignore bitmaps embedded into fonts for non-uniform scales

Reviewed-by: prr, serb
2023-08-23 11:48:22 +00:00
Matthias Baesken
703817d21f 8314517: some tests fail in case ipv6 is disabled on the machine
Reviewed-by: mdoerr, lucy, jpai, dfuchs
2023-08-23 10:44:40 +00:00
Thomas Schatzl
742e319a21 8314157: G1: "yielded" is not initialized on some paths after JDK-8140326
Reviewed-by: ayang, iwalulya
2023-08-23 09:45:25 +00:00
Roland Westrelin
1cee3b9fd9 8313262: C2: Sinking node may cause required cast to be dropped
Reviewed-by: chagedorn, thartmann
2023-08-23 08:59:36 +00:00
Tobias Holenstein
f8203cb272 8313626: C2 crash due to unexpected exception control flow
Reviewed-by: thartmann, chagedorn
2023-08-23 08:47:33 +00:00
Aleksey Shipilev
2be469f89e 8314743: Use of uninitialized local in SR_initialize after JDK-8314114
Reviewed-by: dholmes, coleenp
2023-08-23 07:17:29 +00:00
Jan Kratochvil
571c435e1a 8313374: --enable-ccache's CCACHE_BASEDIR breaks builds
Reviewed-by: erikj
2023-08-23 06:26:18 +00:00
Kimura Yukihiro
d1de3d082e 8313901: [TESTBUG] test/hotspot/jtreg/compiler/codecache/CodeCacheFullCountTest.java fails with java.lang.VirtualMachineError
Reviewed-by: shade, thartmann
2023-08-23 06:04:28 +00:00
Thomas Stuefe
a0d0f21f08 8314752: Use google test string comparison macros
Reviewed-by: coleenp, kbarrett
2023-08-23 05:26:05 +00:00
Andrew John Hughes
7e843c22e7 8284772: GHA: Use GCC Major Version Dependencies Only
Reviewed-by: jwaters, shade, stuefe, erikj, serb
Backport-of: 62defc3dfc4b9ba5adfe3189f34fe8b3f59b94a0
2023-08-23 03:28:23 +00:00
Valerie Peng
ba6cdbe2c2 8309214: sun/security/pkcs11/KeyStore/CertChainRemoval.java fails after 8301154
Reviewed-by: mbaesken, jnimeh
2023-08-22 23:49:03 +00:00
Calvin Cheung
9f4a9fe488 8312434: SPECjvm2008/xml.transform with CDS fails with "can't seal package nu.xom"
Reviewed-by: iklam, matsaave
2023-08-22 22:37:16 +00:00
Chris Plummer
7c169a426f 8312232: Remove sun.jvm.hotspot.runtime.VM.buildLongFromIntsPD()
Reviewed-by: lmesnik, kevinw
2023-08-22 20:57:11 +00:00
Brian Burkhalter
2eae13c669 8214248: (fs) Files:mismatch spec clarifications
Reviewed-by: alanb
2023-08-22 19:04:46 +00:00
Albert Mingkun Yang
ce1ded1a4f 8314749: Remove unimplemented _Copy_conjoint_oops_atomic
Reviewed-by: dcubed
2023-08-22 17:23:37 +00:00
Albert Mingkun Yang
32bf468c3b 8314274: G1: Fix -Wconversion warnings around G1CardSetArray::_data
Reviewed-by: kbarrett, tschatzl
2023-08-22 17:21:44 +00:00
Alexey Ivanov
eb065726f2 8313408: Use SVG for BoxLayout example
Reviewed-by: serb, tr, prr
2023-08-22 17:14:29 +00:00
Thomas Stuefe
20e94784c9 8314426: runtime/os/TestTrimNative.java is failing on slow machines
Reviewed-by: mbaesken, mdoerr, shade
2023-08-22 14:00:47 +00:00
Aleksey Shipilev
69d900d2ce 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev
Reviewed-by: andrew, erikj
2023-08-22 13:37:21 +00:00
Pavel Rappo
f39fc0aa2d 8314738: Remove all occurrences of and support for @revised
Reviewed-by: mr
2023-08-22 13:02:53 +00:00
Daohan Qu
6b9df037e4 8311240: Eliminate usage of testcases.jar from TestMetaSpaceLog.java
Reviewed-by: ayang, tschatzl
2023-08-22 12:51:59 +00:00
bobpengxie
3e1b1bf94e 8314688: VM build without C1 fails after JDK-8313372
Reviewed-by: yzheng, dnsimon, haosun
2023-08-22 09:21:25 +00:00
Cesar Soares Lucas
02ef859f79 8313689: C2: compiler/c2/irTests/scalarReplacement/AllocationMergesTests.java fails intermittently with -XX:-TieredCompilation
Reviewed-by: kvn, thartmann
2023-08-22 07:58:51 +00:00
Julian Waters
ab86d23adf 8250269: Replace ATTRIBUTE_ALIGNED with alignas
Reviewed-by: rkennke, kbarrett
2023-08-22 06:12:28 +00:00
Gui Cao
a66b5df14a 8314618: RISC-V: -XX:MaxVectorSize does not work as expected
Reviewed-by: fyang, dzhang
2023-08-22 02:47:52 +00:00
Sergey Bylokhov
87298d2ade 8312535: MidiSystem.getSoundbank() throws unexpected SecurityException
Reviewed-by: prr
2023-08-22 01:44:16 +00:00
Daniel D. Daugherty
78f74bc8ff 8314672: ProblemList runtime/cds/appcds/customLoader/HelloCustom_JFR.java on linux-all and windows-x64
Reviewed-by: azvegint
2023-08-21 17:13:48 +00:00
Leo Korinth
17a19dc060 8311639: Replace currentTimeMillis() with nanoTime() in jtreg/gc
Reviewed-by: stefank, ayang
2023-08-21 12:19:36 +00:00
Albert Mingkun Yang
0b3f452d25 8314161: G1: Fix -Wconversion warnings in G1CardSetConfiguration::_bitmap_hash_mask
Reviewed-by: tschatzl, iwalulya
2023-08-21 12:17:38 +00:00
Albert Mingkun Yang
abac60851c 8313962: G1: Refactor G1ConcurrentMark::_num_concurrent_workers
Reviewed-by: tschatzl, iwalulya
2023-08-21 12:15:26 +00:00
Aleksey Shipilev
812f475bc4 8314501: Shenandoah: sun/tools/jhsdb/heapconfig/JMapHeapConfigTest.java fails
Reviewed-by: cjplummer, sspitsyn
2023-08-21 09:02:01 +00:00
Thomas Schatzl
8939d15d92 8314100: G1: Improve collection set candidate selection code
Reviewed-by: ayang, iwalulya
2023-08-21 08:28:31 +00:00
Sidraya
ec1f7a8480 8311630: [s390] Implementation of Foreign Function & Memory API (Preview)
Reviewed-by: amitkumar, jvernee, mdoerr
2023-08-21 07:15:25 +00:00
Christian Stein
c50315de8f 8314495: Update to use jtreg 7.3.1
Reviewed-by: dholmes, erikj, iris, jpai
2023-08-21 06:30:56 +00:00
Alan Bateman
ed0f75f266 8313290: Misleading exception message from STS.Subtask::get when task forked after shutdown
Reviewed-by: psandoz
2023-08-19 18:42:43 +00:00
Xin Liu
febc34dd28 8314610: hotspot can't compile with the latest of gtest because of <iomanip>
Reviewed-by: jiefu, stuefe
2023-08-19 17:42:30 +00:00
Leonid Mesnik
58f5826ff4 8311222: strace004 can fail due to unexpected stack length after JDK-8309408
Reviewed-by: dholmes, alanb
2023-08-19 01:46:40 +00:00
Tyler Steele
395fc78880 8309475: Test java/foreign/TestByteBuffer.java fails: a problem with msync (aix)
Reviewed-by: mbaesken, alanb, mdoerr
2023-08-18 20:11:24 +00:00
Leonid Mesnik
f481477144 8314320: Mark runtime/CommandLine/ tests as flagless
Reviewed-by: dholmes
2023-08-18 17:53:07 +00:00
Chris Plummer
fbe28ee90d 8314481: JDWPTRANSPORT_ERROR_INTERNAL code in socketTransport.c can never be executed
Reviewed-by: dcubed, sspitsyn
2023-08-18 17:46:36 +00:00
Mandy Chung
50a2ce01f4 8310815: Clarify the name of the main class, services and provider classes in module descriptor
8314449: Clarify the name of the declaring class of StackTraceElement

Reviewed-by: alanb
2023-08-18 17:10:39 +00:00
Pavel Rappo
aecbb1b5c3 8314448: Coordinate DocLint and JavaDoc to report on unknown tags
Reviewed-by: jjg
2023-08-18 16:40:51 +00:00
Fredrik Bredberg
bcba5e9785 8313419: Template interpreter produces no safepoint check for return bytecodes
Reviewed-by: pchilanomate
2023-08-18 14:33:03 +00:00
Fredrik Bredberg
c36e009772 8308984: Relativize last_sp (and top_frame_sp) in interpreter frames
Reviewed-by: pchilanomate, aph, haosun
2023-08-18 14:29:28 +00:00
Tyler Steele
fdac6a6ac8 8312180: (bf) MappedMemoryUtils passes incorrect arguments to msync (aix)
Reviewed-by: clanger, stuefe
2023-08-18 13:58:58 +00:00
Coleen Phillimore
752121114f 8314265: Fix -Wconversion warnings in miscellaneous runtime code
Reviewed-by: stuefe, dholmes, chagedorn
2023-08-18 12:06:02 +00:00
Alexander Zvegintsev
2f04bc5f93 8313697: [XWayland][Screencast] consequent getPixelColor calls are slow
8310334: [XWayland][Screencast] screen capture error message in debug

Reviewed-by: serb, prr
2023-08-18 10:44:20 +00:00
Andrei Rybak
33d5dfdab3 8314543: gitattributes: make diffs easier to read
Git supports special hunk headers for several languages in diff output,
which make it easier to read diffs of files in that language, generated
by Git (git-diff, git-show, `git log -p`, etc).  For details, see
`git help gitattributes` or the online documentation.[1]

Add entries to the root .gitattributes file to support showing the hunk
headers for Java, C, C++, Markdown, Shell script, HTML, and CSS.  This
makes it easier to read diffs generated by Git.

[1] https://git-scm.com/docs/gitattributes

Reviewed-by: erikj, ksakata
2023-08-18 07:48:50 +00:00
Matthias Baesken
5058854b86 8314389: AttachListener::pd_set_flag obsolete
Reviewed-by: cjplummer, mdoerr, sspitsyn
2023-08-18 06:45:18 +00:00
Thomas Stuefe
891c3f4cca 8307356: Metaspace: simplify BinList handling
Reviewed-by: rkennke, coleenp
2023-08-18 05:51:05 +00:00
Ioi Lam
0299364d85 8314249: Refactor handling of invokedynamic in JVMCI ConstantPool
Reviewed-by: dnsimon, coleenp
2023-08-17 22:52:05 +00:00
Justin Lu
96778dd549 8314169: Combine related RoundingMode logic in j.text.DigitList
Reviewed-by: naoto
2023-08-17 22:41:21 +00:00
Harshitha Onkar
808bb1f7bc 8314246: javax/swing/JToolBar/4529206/bug4529206.java fails intermittently on Linux
Reviewed-by: dnguyen, serb
2023-08-17 20:37:06 +00:00
Joe Darcy
6445314fec 8314477: Improve definition of "prototypical type"
Reviewed-by: prappo
2023-08-17 20:25:46 +00:00
Andrey Turbanov
d27daf01d6 8314129: Make fields final in java.util.Scanner
Reviewed-by: stsypanov, liach, alanb
2023-08-17 18:32:06 +00:00
Andrey Turbanov
a8ab3be371 8314261: Make fields final in sun.net.www
Reviewed-by: redestad, jpai, dfuchs
2023-08-17 17:54:02 +00:00
Joe Darcy
3bb8afba69 8314489: Add javadoc index entries for java.lang.Math terms
Reviewed-by: alanb
2023-08-17 17:32:49 +00:00
Daniel D. Daugherty
2505cebc5d 8314533: ProblemList runtime/cds/appcds/customLoader/HelloCustom_JFR.java on linux-all with ZGC
Reviewed-by: azvegint
2023-08-17 17:05:54 +00:00
Erik Joelsson
b33ff30d70 8313661: [REDO] Relax prerequisites for java.base-jmod target
Reviewed-by: alanb
2023-08-17 16:54:36 +00:00
Chris Plummer
62ca00158c 8313357: Revisit requiring SA tests on OSX to either run as root or use sudo
Reviewed-by: dholmes, amenkov
2023-08-17 15:26:45 +00:00
Chris Plummer
388dcff725 8282712: VMConnection.open() does not detect if VM failed to be created, resulting in NPE
Reviewed-by: sspitsyn, amenkov
2023-08-17 15:09:09 +00:00
Robbin Ehn
e8f6b3e497 8314268: Missing include in assembler_riscv.hpp
Reviewed-by: shade, fyang
2023-08-17 14:45:59 +00:00
Claes Redestad
c634bdf9d9 8314444: Update jib-profiles.js to use JMH 1.37 devkit
Reviewed-by: shade, mikael, erikj
2023-08-17 11:54:24 +00:00
Per Minborg
2b81885f78 8314071: Test java/foreign/TestByteBuffer.java timed out
Reviewed-by: mcimadamore
2023-08-17 11:31:09 +00:00
Cristian Vat
32efd23c5d 8311939: Excessive allocation of Matcher.groups array
Reviewed-by: rriggs, igraves
2023-08-17 11:27:39 +00:00
Alan Bateman
ed585d16b9 8314280: StructuredTaskScope.shutdown should document that the state of completing subtasks is not defined
Reviewed-by: psandoz
2023-08-17 08:02:53 +00:00
Pavel Rappo
6f1071f5ed 8314213: DocLint should warn about unknown standard tags
Reviewed-by: jjg
2023-08-17 07:43:07 +00:00
Aggelos Biboudis
4331193010 8314423: Multiple patterns without unnamed variables
8314216: Case enumConstant, pattern compilation fails

Reviewed-by: jlahoda
2023-08-17 07:33:16 +00:00
Andrey Turbanov
249dc37426 8314321: Remove unused field jdk.internal.util.xml.impl.Attrs.mAttrIdx
Reviewed-by: alanb, vtewari, bpb
2023-08-17 07:13:38 +00:00
Sergey Bylokhov
b78f5a1068 8314076: ICC_ColorSpace#minVal/maxVal have the opposite description
Reviewed-by: azvegint
2023-08-17 05:33:44 +00:00
Kim Barrett
2a1176b544 8314276: Improve PtrQueue API around size/capacity
Reviewed-by: iwalulya, tschatzl
2023-08-17 05:06:11 +00:00
Joe Darcy
0c3bc71d24 8281169: Expand discussion of elements and types
Reviewed-by: mcimadamore, prappo
2023-08-16 20:31:51 +00:00
Ben Perez
f143380d01 8314240: test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java fails to compile
Reviewed-by: mullan
2023-08-16 19:56:13 +00:00
Brian Burkhalter
6b396da278 8062795: (fs) Files.setPermissions requires read access when NOFOLLOW_LINKS specified
Reviewed-by: alanb
2023-08-16 17:53:56 +00:00
Leonid Mesnik
7b28d3608a 8314330: java/foreign tests should respect vm flags when start new processes
Reviewed-by: jvernee
2023-08-16 17:49:38 +00:00
Glavo
b32d6411c4 8311943: Cleanup usages of toLowerCase() and toUpperCase() in java.base
Reviewed-by: naoto
2023-08-16 17:37:21 +00:00
Lance Andersen
13f6450e2e 8313765: Invalid CEN header (invalid zip64 extra data field size)
Reviewed-by: simonis, alanb, coffeys
2023-08-16 15:42:36 +00:00
Ralf Schmelter
24e896d7c9 8310275: Bug in assignment operator of ReservedMemoryRegion
Reviewed-by: jsjolen, dholmes, stuefe
2023-08-16 15:00:50 +00:00
Thomas Schatzl
1925508425 8314144: gc/g1/ihop/TestIHOPStatic.java fails due to extra concurrent mark with -Xcomp
Reviewed-by: ayang, iwalulya
2023-08-16 12:08:56 +00:00
Raffaello Giulietti
b80001de0c 8314209: Wrong @since tag for RandomGenerator::equiDoubles
Reviewed-by: alanb
2023-08-16 08:21:34 +00:00
Matthias Baesken
ef6db5c299 8314211: Add NativeLibraryUnload event
Reviewed-by: stuefe, mdoerr
2023-08-16 07:39:42 +00:00
Christian Hagedorn
49ddb19972 8313760: [REDO] Enhance AES performance
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: adinn, aph, sviswanathan, rhalade, kvn, dlong
2023-08-16 07:21:04 +00:00
Emanuel Peter
d46f0fb318 8313720: C2 SuperWord: wrong result with -XX:+UseVectorCmov -XX:+UseCMoveUnconditionally
Reviewed-by: chagedorn, thartmann
2023-08-16 07:15:43 +00:00
Aleksey Shipilev
38687f1a3e 8314262: GHA: Cut down cross-compilation sysroots deeper
Reviewed-by: erikj
2023-08-16 07:04:25 +00:00
Aleksey Shipilev
a602624ef4 8314020: Print instruction blocks in byte units
Reviewed-by: stuefe, fyang
2023-08-16 07:02:48 +00:00
Christian Hagedorn
0b12480de8 8314233: C2: assert(assertion_predicate_has_loop_opaque_node(iff)) failed: unexpected
Reviewed-by: thartmann, kvn
2023-08-16 06:58:23 +00:00
Tom Rodriguez
e1fdef5613 8314324: "8311557: [JVMCI] deadlock with JVMTI thread suspension" causes various failures
Reviewed-by: cjplummer, thartmann
2023-08-16 06:06:59 +00:00
Prasanta Sadhukhan
2bd2faeb76 4346610: Adding JSeparator to JToolBar "pushes" buttons added after separator to edge
Reviewed-by: tr, aivanov, dnguyen
2023-08-16 05:35:40 +00:00
Thomas Stuefe
6a15860b12 8314163: os::print_hex_dump prints incorrectly for big endian platforms and unit sizes larger than 1
Reviewed-by: mbaesken, shade
2023-08-16 05:14:40 +00:00
Leonid Mesnik
6bf4a33593 8314242: Update applications/scimark/Scimark.java to accept VM flags
Reviewed-by: dholmes
2023-08-16 00:15:55 +00:00
Christoph Schwentker
bc8e9f44a3 8311591: Add SystemModulesPlugin test case that splits module descriptors with new local variables defined by DedupSetBuilder
Reviewed-by: mchung
2023-08-15 22:34:37 +00:00
Chris Plummer
0f5e030bad 8309335: Get rid of use of reflection to call Thread.isVirtual() in nsk/jdi/EventRequestManager/stepRequests/stepreq001t.java
Reviewed-by: lmesnik, sspitsyn, alanb
2023-08-15 20:55:27 +00:00
Mikael Vidstedt
f66c73d34b 8314166: Update googletest to v1.14.0
Reviewed-by: kbarrett, stuefe, shade, erikj
2023-08-15 19:52:56 +00:00
Gerard Ziemski
f239954657 8310134: NMT: thread count in Thread section of VM.native_memory output confusing with virtual threads
Reviewed-by: jsjolen, dholmes, alanb
2023-08-15 17:06:28 +00:00
Aleksey Shipilev
2e8a0ab272 8314120: Add tests for FileDescriptor.sync
Reviewed-by: alanb, bpb
2023-08-15 16:11:09 +00:00
Ioi Lam
80809ef4cc 8314248: Remove HotSpotConstantPool::isResolvedDynamicInvoke
Reviewed-by: thartmann, dnsimon
2023-08-15 15:54:44 +00:00
Tom Rodriguez
004651ddc2 8311557: [JVMCI] deadlock with JVMTI thread suspension
Reviewed-by: thartmann, dnsimon
2023-08-15 15:44:33 +00:00
Coleen Phillimore
9ded86821b 8314114: Fix -Wconversion warnings in os code, primarily linux
Reviewed-by: dholmes, dlong
2023-08-15 11:05:31 +00:00
Emanuel Peter
a02d65efcc 8310308: IR Framework: check for type and size of vector nodes
Reviewed-by: chagedorn, thartmann
2023-08-15 10:08:51 +00:00
Thomas Stuefe
dff99f7f3d 8313782: Add user-facing warning if THPs are enabled but cannot be used
Reviewed-by: dholmes, sjohanss
2023-08-15 09:09:02 +00:00
Dmitry Cherepanov
f4e72c58d7 8313949: Missing word in GPLv2 license text in StackMapTableAttribute.java
Reviewed-by: iris
2023-08-15 08:43:38 +00:00
Matthias Baesken
6338927221 8314197: AttachListener::pd_find_operation always returning nullptr
Reviewed-by: dholmes, cjplummer, sspitsyn
2023-08-15 07:48:38 +00:00
David Holmes
b7dee213df 8314244: Incorrect file headers in new tests from JDK-8312597
Reviewed-by: lmesnik, kvn
2023-08-15 04:29:25 +00:00
Fei Gao
37c6b23f5b 8308340: C2: Idealize Fma nodes
Reviewed-by: kvn, epeter
2023-08-15 01:04:22 +00:00
Yasumasa Suenaga
583cb754f3 8313406: nep_invoker_blob can be simplified more
Reviewed-by: jvernee, vlivanov
2023-08-14 23:12:42 +00:00
Ben Taylor
0074b48ad7 8312597: Convert TraceTypeProfile to UL
Reviewed-by: shade, phh
2023-08-14 22:50:37 +00:00
Sean Mullan
1f1c5c6f8d 8314241: Add test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java to ProblemList
Reviewed-by: dcubed, dholmes
2023-08-14 22:23:11 +00:00
David Holmes
f142470dea 8311981: Test gc/stringdedup/TestStringDeduplicationAgeThreshold.java#ZGenerational timed out
Reviewed-by: stefank, pchilanomate, dcubed, rehn
2023-08-14 21:18:57 +00:00
Ben Perez
595fdd36c5 8314059: Remove PKCS7.verify()
Reviewed-by: mullan
2023-08-14 18:39:18 +00:00
Kimura Yukihiro
49b29845f7 8313854: Some tests in serviceability area fail on localized Windows platform
Reviewed-by: amenkov, cjplummer
2023-08-14 18:26:55 +00:00
Brian Burkhalter
c132176b93 8114830: (fs) Files.copy fails due to interference from something else changing the file system
Reviewed-by: alanb, vtewari
2023-08-14 17:48:50 +00:00
Weibing Xiao
e56d3bc2da 8313657: com.sun.jndi.ldap.Connection.cleanup does not close connections on SocketTimeoutErrors
Reviewed-by: vtewari, msheppar, aefimov
2023-08-14 17:38:53 +00:00
Oli Gillespie
4b2703ad39 8313678: SymbolTable can leak Symbols during cleanup
Reviewed-by: coleenp, dholmes, shade
2023-08-14 15:58:03 +00:00
Liam Miller-Cushon
f41c267f85 8314045: ArithmeticException in GaloisCounterMode
Co-authored-by: Ioana Nedelcu <ioannanedelcu@google.com>
Reviewed-by: ascarpino
2023-08-14 15:51:18 +00:00
Ioi Lam
911d1dbbf7 8314078: HotSpotConstantPool.lookupField() asserts due to field changes in ConstantPool.cpp
Reviewed-by: dnsimon, coleenp
2023-08-14 15:37:44 +00:00
Christian Stein
6574dd796d 8314025: Remove JUnit-based test in java/lang/invoke from problem list
Reviewed-by: dholmes, jpai
2023-08-14 13:38:22 +00:00
Christian Hagedorn
207bd00c51 8313756: [BACKOUT] 8308682: Enhance AES performance
Reviewed-by: thartmann
2023-08-14 12:08:16 +00:00
Afshin Zafari
823f5b930c 8308850: Change JVM options with small ranges that get -Wconversion warnings to 32 bits
Reviewed-by: dholmes, coleenp, dlong
2023-08-14 11:57:17 +00:00
Albert Mingkun Yang
5bfb82e6fa 8314119: G1: Fix -Wconversion warnings in G1CardSetInlinePtr::card_pos_for
Reviewed-by: tschatzl, kbarrett
2023-08-14 11:08:31 +00:00
Aleksey Shipilev
06aa3c5628 8314118: Update JMH devkit to 1.37
Reviewed-by: erikj, redestad
2023-08-14 10:04:55 +00:00
Yudi Zheng
4164693f3b 8313372: [JVMCI] Export vmIntrinsics::is_intrinsic_available results to JVMCI compilers.
Reviewed-by: dnsimon, kvn
2023-08-14 08:56:15 +00:00
Stefan Karlsson
049b55f24e 8314019: Add gc logging to jdk/jfr/event/gc/detailed/TestZAllocationStallEvent.java
Reviewed-by: aboldtch, eosterlund
2023-08-14 08:45:16 +00:00
Christian Hagedorn
a39ed1087b 8314116: C2: assert(false) failed: malformed control flow after JDK-8305636
Reviewed-by: thartmann, kvn
2023-08-14 08:15:02 +00:00
Christian Hagedorn
1de5bf1ce9 8314106: C2: assert(is_valid()) failed: must be valid after JDK-8305636
Reviewed-by: thartmann, kvn
2023-08-14 08:14:42 +00:00
Feilong Jiang
5c91622885 8314117: RISC-V: Incorrect VMReg encoding in RISCV64Frame.java
Reviewed-by: fyang
2023-08-14 07:50:43 +00:00
Andrey Turbanov
6bbcef5315 8313948: Remove unnecessary static fields defaultUpper/defaultLower in sun.net.PortConfig
Reviewed-by: dfuchs
2023-08-14 07:04:29 +00:00
Andrey Turbanov
b88c273503 8313743: Make fields final in sun.nio.ch
Reviewed-by: bpb
2023-08-14 07:04:05 +00:00
Alexander Matveev
ec0cc6300a 8313904: [macos] All signing tests which verifies unsigned app images are failing
Reviewed-by: asemenyuk
2023-08-11 21:00:52 +00:00
Man Cao
7332502883 8314139: TEST_BUG: runtime/os/THPsInThreadStackPreventionTest.java could fail on machine with large number of cores
Reviewed-by: shade, stuefe
2023-08-11 20:43:31 +00:00
Chris Plummer
8f1c134848 8313798: [aarch64] sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java sometimes times out on aarch64
Reviewed-by: kevinw, sspitsyn
2023-08-11 18:09:44 +00:00
Andreas Steiner
12326770dc 8313244: NM flags handling in configure process
Reviewed-by: clanger, jwaters, mbaesken, erikj
2023-08-11 13:21:46 +00:00
Albert Mingkun Yang
6ffc0324dc 8314113: G1: Remove unused G1CardSetInlinePtr::card_at
Reviewed-by: tschatzl
2023-08-11 12:19:39 +00:00
Johan Sjölen
62adeb08c3 8311648: Refactor the Arena/Chunk/ChunkPool interface
Reviewed-by: stuefe, coleenp
2023-08-11 09:32:45 +00:00
Ioi Lam
43462a36ab 8313224: Avoid calling JavaThread::current() in MemAllocator::Allocation constructor
Reviewed-by: tschatzl, coleenp
2023-08-11 03:39:39 +00:00
Mark Powers
9abb2a559e 8312461: JNI warnings in SunMSCApi provider
Reviewed-by: valeriep, djelinski
2023-08-10 23:43:38 +00:00
Jesse Glick
42758cb889 8312882: Update the CONTRIBUTING.md with pointers to lifecycle of a PR
Reviewed-by: erikj, jwilhelm
2023-08-10 22:26:32 +00:00
Calvin Cheung
88b4e3b853 8304292: Memory leak related to ClassLoader::update_class_path_entry_list
Reviewed-by: dholmes, iklam
2023-08-10 20:02:27 +00:00
Doug Simon
6f5c903d10 8313899: JVMCI exception Translation can fail in TranslatedException.<clinit>
Reviewed-by: never, thartmann
2023-08-10 18:53:02 +00:00
Damon Nguyen
d97de8260c 8313633: [macOS] java/awt/dnd/NextDropActionTest/NextDropActionTest.java fails with java.lang.RuntimeException: wrong next drop action!
Reviewed-by: honkar, serb
2023-08-10 17:52:28 +00:00
Xue-Lei Andrew Fan
79be8d9383 8312259: StatusResponseManager unused code clean up
Reviewed-by: mpowers, jnimeh
2023-08-10 17:15:56 +00:00
Tom Rodriguez
1875b2872b 8314061: [JVMCI] DeoptimizeALot stress logic breaks deferred barriers
Reviewed-by: thartmann, dnsimon
2023-08-10 16:40:28 +00:00
Coleen Phillimore
bd1b942741 8313905: Checked_cast assert in CDS compare_by_loader
Reviewed-by: dlong, iklam
2023-08-10 15:25:00 +00:00
Leonid Mesnik
9b53251131 8313654: Test WaitNotifySuspendedVThreadTest.java timed out
Reviewed-by: sspitsyn
2023-08-10 15:18:57 +00:00
Leonid Mesnik
e7c83ea948 8312194: test/hotspot/jtreg/applications/ctw/modules/jdk_crypto_ec.java cannot handle empty modules
Reviewed-by: kvn, thartmann
2023-08-10 15:18:34 +00:00
Matthias Baesken
23fe2ece58 8313616: support loading library members on AIX in os::dll_load
Reviewed-by: mdoerr
2023-08-10 12:06:43 +00:00
Coleen Phillimore
f47767ffef 8313882: Fix -Wconversion warnings in runtime code
Reviewed-by: pchilanomate, dlong, dholmes
2023-08-10 11:57:25 +00:00
Jaikiran Pai
0cb9ab04f4 8313239: InetAddress.getCanonicalHostName may return ip address if reverse lookup fails
Reviewed-by: dfuchs, aefimov, alanb
2023-08-10 10:01:46 +00:00
Oli Gillespie
028b3ae1b1 8313874: JNI NewWeakGlobalRef throws exception for null arg
Reviewed-by: dholmes, kbarrett, shade
2023-08-10 08:51:50 +00:00
Doug Simon
83adaf5477 8313421: [JVMCI] avoid locking class loader in CompilerToVM.lookupType
Reviewed-by: never, thartmann
2023-08-10 08:17:03 +00:00
Per Minborg
35b60f925a 8298095: Refine implSpec for SegmentAllocator
Reviewed-by: mcimadamore
2023-08-10 07:57:19 +00:00
Matthias Baesken
6dba2026d7 8313670: Simplify shared lib name handling code in some tests
Reviewed-by: cjplummer, sspitsyn
2023-08-10 07:23:24 +00:00
Thomas Stuefe
8f28809aa8 8299790: os::print_hex_dump is racy
Reviewed-by: shade, dholmes
2023-08-10 07:21:47 +00:00
Axel Boldt-Christmas
e080a0b4c0 8311508: ZGC: RAII use of IntelJccErratumAlignment
Reviewed-by: stefank, shade, tschatzl
2023-08-10 07:18:31 +00:00
Axel Boldt-Christmas
242a2e63df 8308843: Generational ZGC: Remove gc/z/TestHighUsage.java
Reviewed-by: ayang, tschatzl
2023-08-10 07:16:36 +00:00
Sergey Tsypanov
c822183e98 8313768: Reduce interaction with volatile field in j.u.l.StreamHandler
Reviewed-by: dfuchs, jpai
2023-08-10 05:50:19 +00:00
Alexandre Iline
cd16158edb 8314075: Update JCov version for JDK 22
Reviewed-by: serb
2023-08-10 00:43:28 +00:00
Joe Darcy
c307391ab1 8307184: Incorrect/inconsistent specification and implementation for Elements.getDocComment
Reviewed-by: vromero, jjg
2023-08-09 21:17:10 +00:00
Pavel Rappo
593ba2fe47 8313693: Introduce an internal utility for the Damerau–Levenshtein distance calculation
Reviewed-by: jlahoda, jjg
2023-08-09 16:08:23 +00:00
Christian Stein
360f65d7b1 8314022: Problem-list tests failing with jtreg 7.3
Reviewed-by: dholmes
2023-08-09 14:00:21 +00:00
Markus Grönlund
0eb0997ae4 8288936: Wrong lock ordering writing G1HeapRegionTypeChange JFR event
Reviewed-by: egahlin
2023-08-09 13:34:04 +00:00
Pavel Rappo
19ae62ae2c 8311170: Simplify and modernize equals and hashCode in security area
Reviewed-by: djelinski, rriggs, valeriep
2023-08-09 12:34:40 +00:00
Daniel Jeliński
e9f751ab16 8311247: Some cpp files are compiled with -std:c11 flag
Reviewed-by: aivanov, jwaters, prr, erikj
2023-08-09 12:26:32 +00:00
Erik Gahlin
213d3c449a 8313891: JFR: Incorrect exception message for RecordedObject::getInt
Reviewed-by: mgronlun
2023-08-09 11:46:25 +00:00
Richard Startin
0e2c72d7a5 8313796: AsyncGetCallTrace crash on unreadable interpreter method pointer
Reviewed-by: coleenp, aph, stuefe
2023-08-09 11:23:32 +00:00
Hannes Wallnöfer
52ec4bcb1b 8303056: Improve support for Unicode characters and digits in JavaDoc search
Reviewed-by: jjg
2023-08-09 09:50:21 +00:00
Albert Mingkun Yang
9cf12bb977 8313922: Remove unused WorkerPolicy::_debug_perturbation
Reviewed-by: tschatzl
2023-08-09 09:13:34 +00:00
Matthias Baesken
6e3cc131da 8312467: relax the builddir check in make/autoconf/basic.m4
Reviewed-by: clanger, erikj
2023-08-09 07:08:52 +00:00
Hannes Wallnöfer
77e5739f60 8310118: Resource files should be moved to appropriate directories
Reviewed-by: jjg
2023-08-09 07:01:15 +00:00
Matthias Baesken
96304f37f8 8313691: use close after failing os::fdopen in vmError and ciEnv
Reviewed-by: dholmes, thartmann
2023-08-09 06:54:15 +00:00
Leonid Mesnik
3fb4805b1a 8307462: [REDO] VmObjectAlloc is not generated by intrinsics methods which allocate objects
Reviewed-by: sspitsyn, thartmann
2023-08-09 06:29:42 +00:00
Stefan Karlsson
0a42c44bf8 8313954: Add gc logging to vmTestbase/vm/gc/containers/Combination05
Reviewed-by: tschatzl, lmesnik
2023-08-09 06:16:39 +00:00
Stefan Karlsson
735b16a696 8313752: InstanceKlassFlags::print_on doesn't print the flag names
Reviewed-by: stuefe, shade, coleenp
2023-08-09 06:16:18 +00:00
Tobias Hartmann
d3b578f1c9 8313345: SuperWord fails due to CMove without matching Bool pack
Co-authored-by: Emanuel Peter <epeter@openjdk.org>
Co-authored-by: Hannes Greule <hannesgreule@outlook.de>
Reviewed-by: chagedorn, epeter, hgreule
2023-08-09 05:16:02 +00:00
Yi Yang
31a307f2fb 8306441: Two phase segmented heap dump
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Reviewed-by: amenkov, kevinw
2023-08-09 01:58:57 +00:00
Rajan Halade
515add88ed 8313206: PKCS11 tests silently skip execution
Reviewed-by: ssahoo, mullan
2023-08-08 20:21:16 +00:00
Jim Laskey
6864441163 8313809: String template fails with java.lang.StringIndexOutOfBoundsException if last fragment is UTF16
Reviewed-by: redestad
2023-08-08 19:33:44 +00:00
Jorn Vernee
509f80bb04 8313889: Fix -Wconversion warnings in foreign benchmarks
Reviewed-by: pminborg, mcimadamore
2023-08-08 13:59:35 +00:00
Coleen Phillimore
5c3041ce83 8313435: Clean up unused default methods code
Reviewed-by: kbarrett, iklam
2023-08-08 12:12:57 +00:00
Coleen Phillimore
8752d4984a 8313785: Fix -Wconversion warnings in prims code
Reviewed-by: sspitsyn, dlong
2023-08-08 11:51:42 +00:00
Andrey Turbanov
41bdcded65 8313875: Use literals instead of static fields in java.util.Math: twoToTheDoubleScaleUp, twoToTheDoubleScaleDown
Reviewed-by: redestad, darcy, bpb, rgiulietti
2023-08-08 11:38:15 +00:00
Markus Grönlund
091e65e95b 8313552: Fix -Wconversion warnings in JFR code
Reviewed-by: coleenp
2023-08-08 11:01:59 +00:00
Thomas Schatzl
7e209528d3 8140326: G1: Consider putting regions where evacuation failed into next collection set
Co-authored-by: Albert Mingkun Yang <ayang@openjdk.org>
Reviewed-by: iwalulya, ayang
2023-08-08 10:29:14 +00:00
Stefan Karlsson
28fd7a1739 8311179: Generational ZGC: gc/z/TestSmallHeap.java failed with OutOfMemoryError
Reviewed-by: ayang, aboldtch, tschatzl
2023-08-08 09:57:52 +00:00
Jan Lahoda
a1115a7a39 8312204: unexpected else with statement causes compiler crash
Reviewed-by: vromero
2023-08-08 09:28:21 +00:00
Jan Lahoda
87a6acbeee 8313792: Verify 4th party information in src/jdk.internal.le/share/legal/jline.md
Reviewed-by: vromero
2023-08-08 08:49:39 +00:00
Chris Plummer
87b08b6e01 8307408: Some jdk/sun/tools/jhsdb tests don't pass test JVM args to the debuggee JVM
Reviewed-by: sspitsyn, lmesnik
2023-08-07 18:51:29 +00:00
Alex Menkov
83edffa608 8309663: test fails "assert(check_alignment(result)) failed: address not aligned: 0x00000008baadbabe"
Reviewed-by: sspitsyn, eosterlund
2023-08-07 18:27:33 +00:00
Justin Lu
1da82a34b1 8313702: Update IANA Language Subtag Registry to Version 2023-08-02
Reviewed-by: naoto, iris
2023-08-07 17:10:27 +00:00
Christian Stein
9c6eb67e85 8313167: Update to use jtreg 7.3
Reviewed-by: jjg, iris
2023-08-07 16:09:23 +00:00
Qing Xiao
380418fad0 8295058: test/langtools/tools/javac 116 test classes uses com.sun.tools.classfile library
Reviewed-by: asotona
2023-08-07 15:49:11 +00:00
Antonios Printezis
4726960fcd 8313779: RISC-V: use andn / orn in the MD5 instrinsic
Reviewed-by: luhenry, fyang
2023-08-07 14:17:44 +00:00
Per Minborg
bbbfa217a0 8313880: Incorrect copyright header in jdk/java/foreign/TestFree.java after JDK-8310643
Reviewed-by: thartmann
2023-08-07 12:34:52 +00:00
Coleen Phillimore
0bb6af3bc0 8313791: Fix just zPage.inline.hpp and xPage.inline.hpp
Reviewed-by: stefank, tschatzl
2023-08-07 12:06:41 +00:00
Aleksey Shipilev
4b192a8dc3 8313676: Amend TestLoadIndexedMismatch test to target intrinsic directly
Reviewed-by: thartmann, chagedorn
2023-08-07 11:26:08 +00:00
Per Minborg
0b4387e3a3 8310643: Misformatted copyright messages in FFM
Reviewed-by: jvernee
2023-08-07 10:58:11 +00:00
Aleksey Shipilev
538f9557b8 8313701: GHA: RISC-V should use the official repository for bootstrap
Reviewed-by: clanger, fyang
2023-08-07 10:48:11 +00:00
Aleksey Shipilev
226cdc696d 8312585: Rename DisableTHPStackMitigation flag to THPStackMitigation
Reviewed-by: dholmes, stuefe
2023-08-07 10:45:14 +00:00
Christian Hagedorn
dc01604756 8305636: Expand and clean up predicate classes and move them into separate files
Reviewed-by: thartmann, roland
2023-08-07 09:14:16 +00:00
Prasanta Sadhukhan
a38fdaf18d 8166900: If you wrap a JTable in a JLayer, the cursor is moved to the last row of table by you press the page down key.
Reviewed-by: abhiscxk, dnguyen, prr, serb
2023-08-07 09:12:33 +00:00
Abhishek Kumar
c1f4595e64 8311160: [macOS, Accessibility] VoiceOver: No announcements on JRadioButtonMenuItem and JCheckBoxMenuItem
Reviewed-by: asemenov, kizune
2023-08-07 05:02:16 +00:00
Julian Waters
90d795abf1 8313141: Missing check for os_thread type in os_windows.cpp
Reviewed-by: dholmes, mgronlun
2023-08-05 05:24:08 +00:00
Christoph Langer
6d18529616 8313795: Fix for JDK-8313564 breaks ppc and s390x builds
Reviewed-by: stuefe
2023-08-04 22:33:36 +00:00
Matias Saavedra Silva
ad6e9e75bf 8313554: Fix -Wconversion warnings for ResolvedFieldEntry
Reviewed-by: coleenp, dlong
2023-08-04 20:24:50 +00:00
danthe1st
b463c6d3b0 8311517: Add performance information to ArrayList javadoc
Reviewed-by: smarks, bpb
2023-08-04 20:21:25 +00:00
Stuart Marks
b2add96c35 8159527: Collections mutator methods should all be marked as optional operations
Reviewed-by: naoto, bpb
2023-08-04 19:27:56 +00:00
Ashutosh Mehra
873d117932 8312623: SA add NestHost and NestMembers attributes when dumping class
Reviewed-by: cjplummer, sspitsyn, stuefe
2023-08-04 18:42:37 +00:00
Thomas Stuefe
017e0c7850 8310388: Shenandoah: Auxiliary bitmap is not madvised for THP
Reviewed-by: shade, kdnilsen
2023-08-04 18:40:16 +00:00
Coleen Phillimore
f66cd5008d 8313564: Fix -Wconversion warnings in classfile code
Reviewed-by: matsaave, dholmes
2023-08-04 14:06:16 +00:00
Aleksey Shipilev
e8a37b90db 8313248: C2: setScopedValueCache intrinsic exposes nullptr pre-values to store barriers
Reviewed-by: thartmann, rkennke
2023-08-04 09:53:20 +00:00
Aleksey Shipilev
29f1d8ef50 8313707: GHA: Bootstrap sysroots with --variant=minbase
Reviewed-by: clanger, fyang
2023-08-04 09:11:32 +00:00
Raffaello Giulietti
61c58fdd00 8312976: MatchResult produces StringIndexOutOfBoundsException for groups outside match
Reviewed-by: alanb, smarks
2023-08-04 07:11:18 +00:00
Matthias Baesken
5d232959c2 8313251: Add NativeLibraryLoad event
Reviewed-by: jbechberger, egahlin, dholmes
2023-08-04 07:03:25 +00:00
Andreas Steiner
c4b8574b94 8311938: Add default cups include location for configure on AIX
Reviewed-by: clanger, mbaesken, jwaters
2023-08-04 06:56:12 +00:00
Qing Xiao
10a2605884 8294979: test/jdk/tools/jlink 3 test classes use ASM library
Reviewed-by: mchung, ksakata
2023-08-04 05:13:57 +00:00
KIRIYAMA Takuya
e8c325dea3 8313394: Array Elements in OldObjectSample event has the incorrect description
Reviewed-by: egahlin
2023-08-04 03:19:53 +00:00
Joe Wang
d60352e26f 8311006: missing @since info in jdk.xml.dom
Reviewed-by: iris, naoto, lancea
2023-08-03 21:49:05 +00:00
Tobias Hartmann
4577147993 8313712: [BACKOUT] 8313632: ciEnv::dump_replay_data use fclose
Reviewed-by: mikael
2023-08-03 18:08:29 +00:00
Tejesh R
bb3aac6063 8301606: JFileChooser file chooser details view "size" label cut off in Metal Look&Feel
Reviewed-by: aivanov, abhiscxk
2023-08-03 16:09:47 +00:00
Matthias Baesken
0f2fce7168 8313632: ciEnv::dump_replay_data use fclose
Reviewed-by: thartmann, lucy
2023-08-03 12:02:52 +00:00
Tobias Hartmann
ab1c212ac1 8312909: C1 should not inline through interface calls with non-subtype receiver
Reviewed-by: kvn, chagedorn
2023-08-03 11:02:42 +00:00
Jan Lahoda
c386091734 8312984: javac may crash on a record pattern with too few components
Reviewed-by: vromero
2023-08-03 08:37:15 +00:00
Thomas Stuefe
3212b64f8e 8313582: Problemlist failing test on linux x86
Reviewed-by: tschatzl
2023-08-03 08:32:13 +00:00
Matthias Baesken
bdac348c80 8313602: increase timeout for jdk/classfile/CorpusTest.java
Reviewed-by: clanger
2023-08-03 08:12:20 +00:00
Prasanta Sadhukhan
58906bf8fb 4893524: Swing drop targets should call close() on transferred readers and streams
Reviewed-by: serb, tr, aivanov
2023-08-03 07:23:19 +00:00
Jaikiran Pai
3c920f9cc6 8313274: [BACKOUT] Relax prerequisites for java.base-jmod target
Reviewed-by: dholmes
2023-08-03 07:15:21 +00:00
Amit Kumar
53ca75b18e 8313312: Add missing classpath exception copyright header
Reviewed-by: rriggs, asotona
2023-08-03 05:47:22 +00:00
Tejesh R
87d7e976cb 8311031: JTable header border vertical lines are not aligned with data grid lines
Reviewed-by: abhiscxk, psadhukhan, aivanov
2023-08-03 04:44:41 +00:00
Sergey Bylokhov
8248e351d0 8313576: GCC 7 reports compiler warning in bundled freetype 2.13.0
Reviewed-by: shade, prr
2023-08-02 23:37:35 +00:00
Jonathan Gibbons
6d180d5fbf 8313349: Introduce abstract void HtmlDocletWriter.buildPage()
Reviewed-by: prappo
2023-08-02 21:59:22 +00:00
Jim Laskey
bc1d2eac9a 8312821: Javac accepts char literal as template
Reviewed-by: jlahoda
2023-08-02 21:01:44 +00:00
Matias Saavedra Silva
cff25dd574 8306582: Remove MetaspaceShared::exit_after_static_dump()
Reviewed-by: iklam, alanb, ccheung
2023-08-02 17:11:22 +00:00
Brian Burkhalter
4ba81f631f 8313368: (fc) FileChannel.size returns 0 on block special files
Reviewed-by: vtewari, alanb
2023-08-02 15:25:59 +00:00
Deepa Kumari
c1a3f143bf 8312078: [PPC] JcmdScale.java Failing on AIX
Reviewed-by: stuefe, tsteele
2023-08-02 14:39:33 +00:00
Cesar Soares Lucas
6446792327 8312617: SIGSEGV in ConnectionGraph::verify_ram_nodes
Reviewed-by: kvn, thartmann
2023-08-02 14:27:07 +00:00
Antonios Printezis
b093880acd 8313322: RISC-V: implement MD5 intrinsic
Reviewed-by: luhenry, rehn
2023-08-02 13:17:00 +00:00
Stefan Karlsson
19e2c8c321 8313593: Generational ZGC: NMT assert when the heap fails to expand
Reviewed-by: stuefe, tschatzl, eosterlund
2023-08-02 12:13:47 +00:00
Aleksey Shipilev
46fbedb2be 8313402: C1: Incorrect LoadIndexed value numbering
Reviewed-by: phh, thartmann
2023-08-02 11:21:34 +00:00
Alan Bateman
6faf05c6dd 8311989: Test java/lang/Thread/virtual/Reflection.java timed out
Reviewed-by: jpai, mchung
2023-08-02 10:40:25 +00:00
Albert Mingkun Yang
5d1b911c92 8310311: Serial: move Generation::contribute_scratch to DefNewGeneration
Reviewed-by: tschatzl, kbarrett
2023-08-02 09:17:41 +00:00
Aleksey Shipilev
9454b2bbe1 8312591: GCC 6 build failure after JDK-8280982
Reviewed-by: jiefu, prr
2023-08-02 07:00:37 +00:00
Jenny Shivayogi
6a853bba09 8311821: Simplify ParallelGCThreadsConstraintFunc after CMS removal
Reviewed-by: kbarrett, shade, tschatzl
2023-08-02 07:00:13 +00:00
Daniel Jeliński
e8471f6bbe 8313507: Remove pkcs11/Cipher/TestKATForGCM.java from ProblemList
Reviewed-by: mullan
2023-08-02 05:45:24 +00:00
Joe Wang
528596fa93 8310991: missing @since tags in java.xml
Reviewed-by: iris, naoto, lancea
2023-08-02 01:37:40 +00:00
Jim Laskey
f14245b388 8312814: Compiler crash when template processor type is a captured wildcard
Reviewed-by: jlahoda, mcimadamore, vromero
2023-08-02 00:47:20 +00:00
Justin Lu
9b55e9a706 8312572: JDK 21 RDP2 L10n resource files update
Reviewed-by: naoto
2023-08-01 23:16:39 +00:00
John Jiang
28be34c1b9 8313226: Redundant condition test in X509CRLImpl
Reviewed-by: jnimeh
2023-08-01 22:35:27 +00:00
Calvin Cheung
dc14247077 8309240: Array classes should be stored in dynamic CDS archive
Reviewed-by: iklam
2023-08-01 22:08:55 +00:00
Calvin Cheung
bf7077752a 8312181: CDS dynamic dump crashes when verifying unlinked class from static archive
Reviewed-by: iklam, matsaave
2023-08-01 20:31:25 +00:00
Ashutosh Mehra
7ba8c69a2c 8312596: Null pointer access in Compile::TracePhase::~TracePhase after JDK-8311976
Reviewed-by: chagedorn, dlong, shade
2023-08-01 19:26:45 +00:00
Aleksey Shipilev
ec2f38fd38 8313428: GHA: Bump GCC versions for July 2023 updates
Reviewed-by: clanger, mbaesken, stuefe
2023-08-01 16:03:24 +00:00
Thomas Obermeier
98a915a54c 8313256: Exclude failing multicast tests on AIX
Reviewed-by: clanger
2023-08-01 15:31:54 +00:00
Christoph Langer
94b50b714a 8313404: Fix section label in test/jdk/ProblemList.txt
Reviewed-by: mbaesken, alanb
2023-08-01 13:45:10 +00:00
Coleen Phillimore
ee3e0917b3 8313249: Fix -Wconversion warnings in verifier code
Reviewed-by: matsaave, iklam, dlong
2023-08-01 11:59:11 +00:00
Joshua Cao
e36960ec6d 8312420: Integrate Graal's blender micro benchmark
Reviewed-by: dnsimon, thartmann, ksakata
2023-08-01 10:48:38 +00:00
Tejesh R
0a3c6d6bd0 8280482: Window transparency bug on Linux
Reviewed-by: dnguyen, azvegint
2023-08-01 04:28:42 +00:00
Matias Saavedra Silva
c91a3002fb 8307312: Replace "int which" with "int cp_index" in constantPool
Reviewed-by: coleenp, dholmes, iklam
2023-07-31 20:23:59 +00:00
Jim Laskey
6af0af5934 8310913: Move ReferencedKeyMap to jdk.internal so it may be shared
Reviewed-by: naoto, rriggs, mchung, liach
2023-07-31 19:11:14 +00:00
Matias Saavedra Silva
86783b9851 8301996: Move field resolution information out of the cpCache
Co-authored-by: Gui Cao <gcao@openjdk.org>
Co-authored-by: Dingli Zhang <dzhang@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: coleenp, fparain
2023-07-31 18:41:38 +00:00
Thomas Stuefe
5362ec9c6e 8312492: Remove THP sanity checks at VM startup
Reviewed-by: dholmes, coleenp
2023-07-31 16:51:29 +00:00
Hai-May Chao
e47a84f23d 8312489: Increase jdk.jar.maxSignatureFileSize default which is too low for JARs such as WhiteSource/Mend unified agent jar
Reviewed-by: mullan, mbaesken
2023-07-31 15:18:04 +00:00
Gerard Ziemski
78f67993f8 8293972: runtime/NMT/NMTInitializationTest.java#default_long-off failed with "Suspiciously long bucket chains in lookup table."
Reviewed-by: stuefe, dholmes
2023-07-31 15:12:22 +00:00
Qing Xiao
97b688340e 8295059: test/langtools/tools/javap 12 test classes use com.sun.tools.classfile library
Reviewed-by: asotona
2023-07-31 15:03:05 +00:00
Matthias Baesken
3671d83c87 8313252: Java_sun_awt_windows_ThemeReader_paintBackground release resources in early returns
Reviewed-by: clanger
2023-07-31 14:57:28 +00:00
Matias Saavedra Silva
b60e0adad6 8313207: Remove MetaspaceShared::_has_error_classes
Reviewed-by: ccheung, iklam
2023-07-31 13:44:38 +00:00
Aleksey Shipilev
408987e1ca 8313307: java/util/Formatter/Padding.java fails on some Locales
Reviewed-by: jlu, naoto
2023-07-31 08:35:31 +00:00
Jorn Vernee
6fca289887 8313023: Return value corrupted when using CCS + isTrivial (mainline)
Reviewed-by: mcimadamore, vlivanov
2023-07-31 08:01:17 +00:00
John Jiang
f8c2b7fee1 8313231: Redundant if statement in ZoneInfoFile
Reviewed-by: jiefu, scolebourne
2023-07-31 07:49:10 +00:00
Christoph Langer
807ca2d3a1 8313316: Disable runtime/ErrorHandling/MachCodeFramesInErrorFile.java on ppc64le
Reviewed-by: mbaesken
2023-07-31 07:42:37 +00:00
Thomas Stuefe
ad34be1f32 8312525: New test runtime/os/TestTrimNative.java#trimNative is failing: did not see the expected RSS reduction
Reviewed-by: dholmes, shade
2023-07-29 05:36:58 +00:00
Vladimir Kempik
d6245b6832 8310268: RISC-V: misaligned memory access in String.Compare intrinsic
Co-authored-by: Feilong Jiang <fjiang@openjdk.org>
Reviewed-by: fyang
2023-07-28 21:55:33 +00:00
Jonathan Gibbons
402cb6a550 8312201: Clean up common behavior in "page writers" and "member writers"
8284447: Remove the unused NestedClassWriter interface

Reviewed-by: prappo
2023-07-28 17:48:31 +00:00
Justin Lu
23755f90c9 8312411: MessageFormat.formatToCharacterIterator() can be improved
Reviewed-by: naoto
2023-07-28 17:33:20 +00:00
Jonathan Gibbons
e2cb0bc6f1 8313204: Inconsistent order of sections in generated class documentation
Reviewed-by: hannesw, prappo
2023-07-28 17:05:37 +00:00
Jonathan Gibbons
4ae75cab53 8313253: Rename methods in javadoc Comparators class
Reviewed-by: hannesw, prappo
2023-07-28 16:39:33 +00:00
Coleen Phillimore
e897041770 8312262: Klass::array_klass() should return ArrayKlass pointer
Reviewed-by: dlong, ccheung
2023-07-28 16:32:06 +00:00
Justin Lu
a9a3463afb 8312416: Tests in Locale should have more descriptive names
Reviewed-by: lancea, naoto
2023-07-28 16:27:06 +00:00
Matthias Baesken
d9559f9b24 8312612: handle WideCharToMultiByte return values
Reviewed-by: clanger
2023-07-28 13:45:19 +00:00
Matthias Baesken
34173ff0d1 8312574: jdk/jdk/jfr/jvm/TestChunkIntegrity.java fails with timeout
Reviewed-by: egahlin
2023-07-28 13:31:13 +00:00
Coleen Phillimore
47c4b992b4 8312121: Fix -Wconversion warnings in tribool.hpp
Reviewed-by: dlong, dholmes
2023-07-28 12:08:24 +00:00
Alexander Scherbatiy
a3d67231a7 8311033: [macos] PrinterJob does not take into account Sides attribute
Reviewed-by: prr, serb
2023-07-28 10:25:22 +00:00
Kevin Walls
4ae5a3e39b 8306446: java/lang/management/ThreadMXBean/Locks.java transient failures
Reviewed-by: cjplummer, sspitsyn
2023-07-28 09:44:04 +00:00
Damon Fenacci
cad6114e1c 8304954: SegmentedCodeCache fails when using large pages
Reviewed-by: stuefe, thartmann
2023-07-28 09:09:48 +00:00
Leonid Mesnik
ba645da97b 8313082: Enable CreateCoredumpOnCrash for testing in makefiles
Reviewed-by: dholmes
2023-07-28 02:01:48 +00:00
Valerie Peng
c27c87786a 8302017: Allocate BadPaddingException only if it will be thrown
Reviewed-by: xuelei
2023-07-27 21:24:03 +00:00
Jiangli Zhou
c55d29ff11 8312626: Resolve multiple definition of 'start_timer' when statically linking JDK native libraries with user code
Reviewed-by: serb
2023-07-27 19:12:46 +00:00
Alexey Semenyuk
0ca2bfd779 8311104: dangling-gsl warning in libwixhelper.cpp
Reviewed-by: almatvee
2023-07-27 16:07:54 +00:00
Thomas Obermeier
c05ba48b60 8313250: Exclude java/foreign/TestByteBuffer.java on AIX
Reviewed-by: rriggs, clanger
2023-07-27 15:45:20 +00:00
Kevin Walls
169b6e3cff 8313174: Create fewer predictable port clashes in management tests
Reviewed-by: cjplummer, amenkov
2023-07-27 15:40:13 +00:00
Roger Riggs
8650026ff1 8310033: Clarify return value of Java Time compareTo methods
Reviewed-by: bpb, scolebourne, prappo, naoto
2023-07-27 14:01:25 +00:00
Thomas Stuefe
25058cd23a 8312620: WSL Linux build crashes after JDK-8310233
Reviewed-by: dholmes, djelinski
2023-07-27 13:45:36 +00:00
Richard Reingruber
8661b8e115 8312495: assert(0 <= i && i < _len) failed: illegal index after JDK-8287061 on big endian platforms
Reviewed-by: clanger, kvn, dlong
2023-07-27 13:40:23 +00:00
Jaikiran Pai
486c7844f9 8312433: HttpClient request fails due to connection being considered idle and closed
Reviewed-by: djelinski
2023-07-27 12:14:14 +00:00
Gergö Barany
271417a0e1 8312579: [JVMCI] JVMCI support for virtual Vector API objects
Reviewed-by: dnsimon, never
2023-07-27 10:48:18 +00:00
Andreas Steiner
44576a7cca 8312466: /bin/nm usage in AIX makes needs -X64 flag
Reviewed-by: mbaesken, stuefe, jwaters
2023-07-27 10:37:40 +00:00
Doug Simon
86821a7ce8 8312235: [JVMCI] ConstantPool should not force eager resolution
Reviewed-by: never, matsaave
2023-07-27 08:39:32 +00:00
Eric Nothum
7cbab1f396 8312218: Print additional debug information when hitting assert(in_hash)
Reviewed-by: chagedorn, thartmann
2023-07-27 07:29:23 +00:00
Roland Westrelin
01e135c910 8312440: assert(cast != nullptr) failed: must have added a cast to pin the node
Reviewed-by: chagedorn, kvn, thartmann
2023-07-27 07:24:46 +00:00
Matthias Baesken
b7545a69a2 8313164: src/java.desktop/windows/native/libawt/windows/awt_Robot.cpp GetRGBPixels adjust releasing of resources
Reviewed-by: stuefe
2023-07-27 07:06:32 +00:00
Sean Coffey
36d578cddb 8311653: Modify -XshowSettings launcher behavior
Reviewed-by: mchung, rriggs
2023-07-27 06:33:27 +00:00
Paul Hohensee
a9d21c61fb 8313081: MonitoringSupport_lock should be unconditionally initialized after 8304074
Reviewed-by: dholmes, sspitsyn, shade
2023-07-26 19:30:21 +00:00
Rajan Halade
4c2e54fb05 8309088: security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java fails
Reviewed-by: mullan
2023-07-26 16:55:29 +00:00
John Jiang
830413f19a 8313087: DerValue::toString should output a hex view of the values in byte array
Reviewed-by: mullan
2023-07-26 15:16:52 +00:00
Brian Burkhalter
74121930e3 4800398: (ch spec) Clarify Channels.newChannel(InputStream) spec
Reviewed-by: alanb
2023-07-26 15:07:18 +00:00
Christian Stein
e7726fbd69 8313155: Problem list some JUnit-based tests in test/jdk/java/lang/invoke
Reviewed-by: dholmes, jpai
2023-07-26 13:42:10 +00:00
Hannes Wallnöfer
02a04731b1 8312445: Array types in annotation elements show square brackets twice
Reviewed-by: prappo
2023-07-26 13:04:39 +00:00
Erik Gahlin
c22cadf32f 8312526: Test dk/jfr/event/oldobject/TestHeapDeep.java failed: Could not find ChainNode
Reviewed-by: mgronlun
2023-07-26 10:47:25 +00:00
Jan Lahoda
cc2a75e11c 8312619: Strange error message when switching over long
Reviewed-by: vromero
2023-07-26 10:35:15 +00:00
Jan Lahoda
1f81e5b19e 8312229: Crash involving yield, switch and anonymous classes
Reviewed-by: vromero
2023-07-26 09:44:50 +00:00
Jaikiran Pai
e9daf4a018 8312916: Remove remaining usages of -Xdebug from test/hotspot/jtreg
Reviewed-by: kevinw, cjplummer, dholmes
2023-07-26 07:34:52 +00:00
Thomas Stuefe
117f42dbe9 8312625: Test serviceability/dcmd/vm/TrimLibcHeapTest.java failed: RSS use increased
Reviewed-by: kevinw, dholmes
2023-07-26 05:46:13 +00:00
Coleen Phillimore
2d05d3545c 8312979: Fix assembler_aarch64.hpp after JDK-8311847
Reviewed-by: dlong
2023-07-25 21:33:54 +00:00
Vladimir Petko
78a8a99d99 8312488: tools/jpackage/share/AppLauncherEnvTest.java fails with dynamically linked libstdc++
Reviewed-by: asemenyuk, almatvee
2023-07-25 20:12:23 +00:00
Joe Darcy
cb82c954e3 8312415: Expand -Xlint:serial checks to enum constants with specialized class bodies
Reviewed-by: jjg, jlahoda
2023-07-25 18:57:32 +00:00
Justin Lu
c6396dceb9 8039165: [Doc] MessageFormat null locale generates NullPointerException
Reviewed-by: naoto
2023-07-25 18:26:23 +00:00
Jiangli Zhou
36f3bae556 8312401: SymbolTable::do_add_if_needed hangs when called in InstanceKlass::add_initialization_error path with requesting length exceeds max_symbol_length
Reviewed-by: dholmes, coleenp, iklam
2023-07-25 16:37:51 +00:00
Anthony Scarpino
e554fdee25 8311592: ECKeySizeParameterSpec causes too many exceptions on third party providers
Reviewed-by: hchao, valeriep
2023-07-25 15:48:31 +00:00
Doug Simon
9606cbcd23 8312524: [JVMCI] serviceability/dcmd/compiler/CompilerQueueTest.java fails
Reviewed-by: never, thartmann
2023-07-25 13:12:42 +00:00
Jaikiran Pai
91fe032327 8312818: Incorrect format specifier in a HttpClient log message
Reviewed-by: djelinski
2023-07-25 11:00:33 +00:00
Matthias Baesken
bd098806f7 8312512: sspi.cpp avoid some NULL checks related to free and delete
Reviewed-by: djelinski
2023-07-25 10:56:23 +00:00
Erik Gahlin
b35ccb27c3 8312533: JFR: No message for JFR.view when data is missing
Reviewed-by: mgronlun
2023-07-25 09:58:29 +00:00
Aleksey Shipilev
ea067fc3d2 8312592: New parentheses warnings after HarfBuzz 7.2.0 update
Reviewed-by: prr, serb
2023-07-25 08:46:12 +00:00
Chad Rakoczy
9999838156 8311646: ZGC: LIR_OpZStoreBarrier::_info shadows LIR_Op::_info
Reviewed-by: kbarrett, eosterlund, ksakata
2023-07-25 06:04:42 +00:00
John Jiang
d63bff672f 8312578: Redundant javadoc in X400Address
Reviewed-by: xuelei, hchao
2023-07-24 22:12:28 +00:00
Dean Long
d0761c19d1 8312077: Fix signed integer overflow, final part
Reviewed-by: kvn, amitkumar
2023-07-24 20:40:08 +00:00
Brian Burkhalter
2bdfa836ad 8262742: (fs) Add Path::resolve with varargs string
Reviewed-by: alanb
2023-07-24 19:59:17 +00:00
Ioi Lam
8008e27c55 8308903: Print detailed info for Java objects in -Xlog:cds+map
Reviewed-by: stuefe, ccheung
2023-07-24 17:56:42 +00:00
Sergey Tsypanov
d8f2e9ae3b 8310530: PipedOutputStream.flush() accesses sink racily
Reviewed-by: dfuchs, bpb, liach, rriggs
2023-07-24 16:24:40 +00:00
sunyaqi
fac9f88c52 8311631: When multiple users run tools/jpackage/share/LicenseTest.java, Permission denied for writing /var/tmp/*.files
Reviewed-by: asemenyuk, almatvee
2023-07-24 16:22:57 +00:00
Varada M
d5c6b0d0bb 8311261: [AIX] TestAlwaysPreTouchStacks.java fails due to java.lang.RuntimeException: Did not find expected NMT output
Reviewed-by: stuefe
2023-07-24 15:35:22 +00:00
Per Minborg
d1cc278260 8311822: AIX : test/jdk/java/foreign/TestLayouts.java fails because of different output - expected [[i4](struct)] but found [[I4](struct)]
Reviewed-by: jvernee
2023-07-24 15:00:47 +00:00
Erik Gahlin
3caf64e065 8309238: jdk/jfr/tool/TestView.java failed with "exitValue = 134"
Reviewed-by: mgronlun
2023-07-24 14:32:17 +00:00
Michael McMahon
298dda4c98 8301457: Code in SendPortZero.java is uncommented even after JDK-8236852 was fixed
Reviewed-by: aefimov, msheppar
2023-07-24 14:13:44 +00:00
Coleen Phillimore
7dd47998f0 8311847: Fix -Wconversion for assembler.hpp emit_int8,16 callers
Reviewed-by: dlong, aph
2023-07-24 12:09:27 +00:00
Prasanta Sadhukhan
197981b431 8311881: jdk/javax/swing/ProgressMonitor/ProgressTest.java does not show the ProgressMonitorInputStream all the time
Reviewed-by: azvegint, tr
2023-07-24 09:22:14 +00:00
Eric Nothum
04f39e1f1e 8310316: Failing HotSpot Compiler directives are too verbose
Reviewed-by: thartmann, chagedorn
2023-07-24 09:17:09 +00:00
Terry Chow
f3ade388da 8308593: Add Keepalive Extended Socket Options Support for Windows
Reviewed-by: michaelm, djelinski, vtewari
2023-07-24 09:03:10 +00:00
Tejesh R
ab821aa24f 6442919: JFilechooser popup still left-to-right when JFilechooser is set to right-to-left
Reviewed-by: serb, abhiscxk
2023-07-24 08:23:05 +00:00
Andreas Steiner
0328886450 8311955: c++filt is now ibm-llvm-cxxfilt when using xlc17 / clang on AIX
Reviewed-by: stuefe, mbaesken, clanger, vtewari
2023-07-24 06:24:00 +00:00
Thomas Stuefe
0487aa61c6 8312530: Problemlist runtime/os/TestTrimNative.java
Reviewed-by: dcubed
2023-07-23 06:33:15 +00:00
Doug Lea
8d1ab57065 8301341: LinkedTransferQueue does not respect timeout for poll()
8300663: java/util/concurrent/SynchronousQueue/Fairness.java failed with "Error: fair=true i=0 j=1"
8267502: JDK-8246677 caused 16x performance regression in SynchronousQueue

Reviewed-by: alanb
2023-07-22 10:41:42 +00:00
William Kemper
bfa76dffb5 8311978: Shenandoah: Create abstraction over heap metrics for heuristics
Reviewed-by: ysr, phh, shade
2023-07-21 21:47:20 +00:00
Jonathan Gibbons
3c644dc586 8312044: Simplify toolkit Builder/Writer world
Reviewed-by: prappo
2023-07-21 18:51:06 +00:00
Andrey Turbanov
f4ba7b2198 8312414: Make java.util.ServiceLoader.LANG_ACCESS final
Reviewed-by: alanb, jpai
2023-07-21 16:49:37 +00:00
Brian Burkhalter
d55d7e8d87 8136895: Writer not closed with disk full error, file resource leaked
Reviewed-by: djelinski, vtewari
2023-07-21 15:21:02 +00:00
Matthew Donovan
8042a50b99 8309305: sun/security/ssl/SSLSocketImpl/BlockedAsyncClose.java fails with jtreg test timeout
Reviewed-by: djelinski
2023-07-21 14:45:59 +00:00
Thomas Stuefe
84b325b844 8312182: THPs cause huge RSS due to thread start timing issue
8310687: JDK-8303215 is incomplete

Reviewed-by: dholmes, poonam
2023-07-21 14:19:57 +00:00
Jaikiran Pai
842d6329cf 8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6
Reviewed-by: alanb, cjplummer, dholmes
2023-07-21 12:58:20 +00:00
Thomas Stuefe
9e4fc568a6 8293114: JVM should trim the native heap
Reviewed-by: shade, rehn, dholmes
2023-07-21 12:22:03 +00:00
Markus Grönlund
59f66a3b83 8312293: SIGSEGV in jfr.internal.event.EventWriter.putUncheckedByte after JDK-8312086
Reviewed-by: egahlin
2023-07-21 12:21:35 +00:00
Erik Gahlin
8cd43bff3c 8312474: JFR: Improve logging to diagnose event stream timeout
Reviewed-by: mgronlun
2023-07-21 08:09:52 +00:00
Ashutosh Mehra
3e8f1eb820 8311976: Inconsistency in usage of CITimeVerbose to generate compilation logs
Reviewed-by: kvn, thartmann
2023-07-21 05:25:31 +00:00
Eric Liu
d4aacdb446 8306136: [vectorapi] Intrinsics of VectorMask.laneIsSet()
Reviewed-by: psandoz, xgong
2023-07-21 03:26:30 +00:00
Serguei Spitsyn
783de32b6a 8300051: assert(JvmtiEnvBase::environments_might_exist()) failed: to enter event controller, JVM TI environments must exist
Reviewed-by: dholmes, pchilanomate
2023-07-20 22:40:18 +00:00
John Jiang
4e8f331a80 8312443: sun.security should use toLowerCase(Locale.ROOT)
Reviewed-by: xuelei
2023-07-20 21:48:19 +00:00
Mandy Chung
d7b9416406 8199149: Improve the exception message thrown by VarHandle of unsupported operation
Reviewed-by: liach, jvernee
2023-07-20 20:21:32 +00:00
Daniel Jeliński
354c6605e3 8307185: pkcs11 native libraries make JNI calls into java code while holding GC lock
Reviewed-by: alanb, valeriep
2023-07-20 16:39:17 +00:00
Naoto Sato
bae2247938 8308591: JLine as the default Console provider
Reviewed-by: alanb
2023-07-20 16:11:13 +00:00
Matthias Baesken
b772e67e29 8312395: Improve assertions in growableArray
Reviewed-by: dholmes, stuefe
2023-07-20 15:06:59 +00:00
Pavel Rappo
9fa944e63f 8312019: Simplify and modernize java.util.BitSet.equals
Reviewed-by: rriggs, martin
2023-07-20 13:54:45 +00:00
Alexander Zvegintsev
fe41910141 8312459: Problem list java/awt/GraphicsDevice/DisplayModes/CycleDMImage.java for macOS
Reviewed-by: psadhukhan
2023-07-20 13:36:45 +00:00
Matthew Donovan
8d29329138 8312320: Remove javax/rmi/ssl/SSLSocketParametersTest.sh from ProblemList
Reviewed-by: xuelei, jpai
2023-07-20 11:07:23 +00:00
Thomas Stuefe
94eb44b192 8312394: [linux] SIGSEGV if kernel was built without hugepage support
Reviewed-by: dholmes, shade
2023-07-20 10:23:35 +00:00
Pengfei Li
32833285bf 8311130: AArch64: Sync SVE related CPU features with VM options
Reviewed-by: aph, xgong
2023-07-20 09:35:45 +00:00
Sergey Nazarkin
a7427678e1 8312246: NPE when HSDB visits bad oop
Reviewed-by: cjplummer, sspitsyn
2023-07-20 09:21:23 +00:00
Wojciech Kudla
37c756a7be 8305506: Add support for fractional values of SafepointTimeoutDelay
Reviewed-by: mdoerr, dholmes
2023-07-20 05:10:39 +00:00
airsquared
dfe764e3f8 8309032: jpackage does not work for module projects unless --module-path is specified
Reviewed-by: asemenyuk, almatvee
2023-07-20 02:14:19 +00:00
Joe Darcy
61ab27087e 8310835: Address gaps in -Xlint:serial checks
Reviewed-by: rriggs, jjg
2023-07-20 01:10:46 +00:00
Chen Liang
5d57b5c2f0 6983726: Reimplement MethodHandleProxies.asInterfaceInstance
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: jvernee, mchung
2023-07-20 00:59:28 +00:00
Justin Lu
71cac8ce47 8311663: Additional refactoring of Locale tests to JUnit
Reviewed-by: naoto
2023-07-19 20:22:40 +00:00
Daohan Qu
aa23fd98f5 8311879: SA ClassWriter generates invalid invokedynamic code
Reviewed-by: matsaave, cjplummer, coleenp
2023-07-19 19:25:40 +00:00
Sidraya
6f6621303a 8312014: [s390x] TestSigInfoInHsErrFile.java Failure
Reviewed-by: stuefe, amitkumar, tsteele
2023-07-19 18:49:24 +00:00
Pavel Rappo
b5b6f4e7a7 8312164: Refactor Arrays.hashCode for long, boolean, double, float, and Object arrays
Reviewed-by: rriggs, vtewari
2023-07-19 17:21:19 +00:00
Raffaello Giulietti
14cf035681 8302987: Add uniform and spatially equidistributed bounded double streams to RandomGenerator
Reviewed-by: darcy
2023-07-19 16:48:54 +00:00
Thomas Stuefe
d1c788c52b 8312392: ARM32 build broken since 8311035
Reviewed-by: shade
2023-07-19 16:14:25 +00:00
Ashutosh Mehra
c1190375fc 8311971: SA's ConstantPool.java uses incorrect computation to read long value in the constant pool
Reviewed-by: cjplummer, dholmes, stuefe
2023-07-19 14:24:16 +00:00
Alan Bateman
028068a655 8312166: (dc) DatagramChannel's socket adaptor does not release carrier thread when blocking in receive
Reviewed-by: jpai, michaelm
2023-07-19 13:17:37 +00:00
Gui Cao
e7adbdb1f1 8311923: TestIRMatching.java fails on RISC-V
Reviewed-by: fyang
2023-07-19 13:14:03 +00:00
Roland Westrelin
c6ab9c2905 8308103: Massive (up to ~30x) increase in C2 compilation time since JDK 17
Reviewed-by: kvn, thartmann, chagedorn
2023-07-19 11:31:49 +00:00
Johan Sjölen
d33e8e6f93 8312200: Fix Parse::catch_call_exceptions memory leak
Reviewed-by: kvn, thartmann
2023-07-19 09:03:53 +00:00
Daniel Jeliński
f677793d02 8312190: Fix c++11-narrowing warnings in hotspot code
Reviewed-by: dholmes, kbarrett
2023-07-19 07:49:52 +00:00
Jie Fu
82612e2725 8312329: Minimal build failure after JDK-8311541
Reviewed-by: dholmes, amitkumar
2023-07-19 04:58:22 +00:00
Julian Waters
702fea8deb 8312147: Dynamic Exception Specification warnings are no longer required after JDK-8311380
Reviewed-by: prr, serb
2023-07-19 00:44:43 +00:00
Joe Darcy
e5ecbff69e 8312203: Improve specification of Array.newInstance
Reviewed-by: bpb, mchung
2023-07-18 22:40:12 +00:00
David Holmes
c2f421b8bf 8311541: JavaThread::print_jni_stack doesn't support native stacks on all platforms
Reviewed-by: pchilanomate, shade, stuefe
2023-07-18 22:04:37 +00:00
Sergey Bylokhov
e31df3a774 6211126: ICC_ColorSpace.toCIEXYZ(float[]): NPE is not specified
6211139: ICC_ColorSpace.toRGB(float[]): NPE is not specified

Reviewed-by: prr
2023-07-18 21:51:11 +00:00
Sergey Bylokhov
7d9f5afea1 6211202: ColorSpace.getInstance(int): IAE is not specified
Reviewed-by: prr
2023-07-18 21:46:02 +00:00
Valerie Peng
28c4d196cf 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider
Reviewed-by: ascarpino, xuelei, mullan
2023-07-18 21:35:41 +00:00
Christian Hagedorn
5c4623b360 8308682: Enhance AES performance
Reviewed-by: rhalade, dlong, kvn
2023-07-18 21:17:09 +00:00
Jan Lahoda
cb5f1b72e1 8303376: Better launching of JDI
Reviewed-by: mschoene, rhalade, vromero
2023-07-18 21:17:09 +00:00
Calvin Cheung
925138a942 8296565: Enhanced archival support
Reviewed-by: rhalade, iklam
2023-07-18 21:17:08 +00:00
Brian Burkhalter
889c663a0e 8305312: Enhanced path handling
Reviewed-by: rhalade, alanb
2023-07-18 21:17:08 +00:00
Ioi Lam
be70bc1c58 8294323: Improve Shared Class Data
Co-authored-by: Calvin Cheung <ccheung@openjdk.org>
Reviewed-by: coleenp, rhalade
2023-07-18 21:17:08 +00:00
Hai-May Chao
ecd0bc1d62 8300596: Enhance Jar Signature validation
Reviewed-by: mullan, rhalade, mschoene, weijun
2023-07-18 21:17:08 +00:00
Lance Andersen
fff7e1ad00 8302483: Enhance ZIP performance
Reviewed-by: ahgross, alanb, rhalade, coffeys
2023-07-18 21:17:07 +00:00
Michael McMahon
4ae3d8f2cd 8302475: Enhance HTTP client file downloading
Reviewed-by: dfuchs, rhalade
2023-07-18 21:17:07 +00:00
Tobias Hartmann
34dbb22505 8304460: Improve array usages
Reviewed-by: iveresov, rhalade, chagedorn
2023-07-18 21:17:07 +00:00
Tobias Hartmann
5e47b8e5e6 8304468: Better array usages
Reviewed-by: iveresov, rhalade, chagedorn
2023-07-18 21:17:07 +00:00
Jamil Nimeh
282a93a4cc 8300285: Enhance TLS data handling
Reviewed-by: ahgross, ascarpino, rhalade
2023-07-18 21:17:06 +00:00
Alex Menkov
af5bf81754 8310584: GetThreadState reports blocked and runnable for pinned suspended virtual threads
Reviewed-by: sspitsyn, dholmes
2023-07-18 20:16:41 +00:00
Mandy Chung
b4dce0d624 8310814: Clarify the targetName parameter of Lookup::findClass
Reviewed-by: liach, rriggs, bchristi
2023-07-18 16:07:35 +00:00
Markus Grönlund
9905f75822 8311040: JFR: RecordedThread::getOSThreadId() should return -1 if thread is virtual
Reviewed-by: egahlin
2023-07-18 16:00:30 +00:00
Pavel Rappo
1dfb0fb3e2 8311188: Simplify and modernize equals and hashCode in java.text
Reviewed-by: lancea, naoto, rriggs
2023-07-18 15:12:09 +00:00
Aggelos Biboudis
1fc726a8b3 8312163: Crash in dominance check when compiling unnamed patterns
Reviewed-by: jlahoda
2023-07-18 11:41:36 +00:00
Matthew Donovan
b20dc1e9cd 8310629: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java fails with RuntimeException Server not ready
Reviewed-by: jnimeh
2023-07-18 10:45:41 +00:00
Hao Sun
4b9ec82451 8310355: Move the stub test from initialize_final_stubs() to test/hotspot/gtest
Reviewed-by: mseledtsov, lmesnik
2023-07-18 05:58:31 +00:00
Jaikiran Pai
8ec136e6f0 8312072: Deprecate for removal the -Xnoagent option
Reviewed-by: alanb, dholmes, cjplummer
2023-07-18 05:41:37 +00:00
Alan Bateman
fbe51e388d 8312127: FileDescriptor.sync should temporarily increase parallelism
Reviewed-by: shade, bpb
2023-07-18 05:13:14 +00:00
Chen Liang
201e3bcf52 8291065: Creating a VarHandle for a static field triggers class initialization
Reviewed-by: mchung, psandoz
2023-07-18 00:58:25 +00:00
Cesar Soares Lucas
a53345ad03 8287061: Support for rematerializing scalar replaced objects participating in allocation merges
Reviewed-by: kvn, vlivanov
2023-07-17 23:01:35 +00:00
Serguei Spitsyn
3236ba0be4 8312189: ProblemList serviceability/jvmti/vthread/VThreadTLSTest/VThreadTLSTest.java#id1
Reviewed-by: dholmes
2023-07-17 22:50:25 +00:00
Pavel Rappo
5cc71f817f 8312089: Simplify and modernize equals, hashCode, and compareTo in java.nio and implementation code
Reviewed-by: alanb, vtewari
2023-07-17 22:27:48 +00:00
Justin Lu
6a09992dbd 8311968: Clarify Three-letter time zone IDs in java.util.TimeZone
Reviewed-by: naoto, lancea
2023-07-17 21:00:49 +00:00
Anthony Scarpino
6ae152d1be 8312196: ProblemList test/hotspot/jtreg/applications/ctw/modules/jdk_crypto_ec.java
Reviewed-by: darcy
2023-07-17 20:37:40 +00:00
Joe Darcy
295ae1190d 8312195: Changes in JDK-8284493 use wrong copyright syntax
Reviewed-by: rriggs
2023-07-17 19:44:08 +00:00
Chris Hennick
f975be44a8 8284493: Improve computeNextExponential tail performance and accuracy
Reviewed-by: darcy
2023-07-17 19:19:13 +00:00
Anthony Scarpino
e737968792 8308398: Move SunEC crypto provider into java.base
Reviewed-by: valeriep, alanb
2023-07-17 17:38:54 +00:00
Jorn Vernee
69a46c25cc 8310157: Allow void-returning filters for MethodHandles::collectCoordinates
Reviewed-by: mcimadamore
2023-07-17 14:53:37 +00:00
Chen Liang
3fb9d117e3 8311172: Classfile.PREVIEW_MINOR_VERSION doesn't match that read from class files
Reviewed-by: asotona
2023-07-17 11:53:32 +00:00
Matthew Donovan
afcf8e4751 8290005: com/sun/jndi/ldap/LdapCBPropertiesTest.java failling with NullPointerException
Reviewed-by: jnimeh, xuelei
2023-07-17 11:16:19 +00:00
Prasanta Sadhukhan
acf591e856 8140527: JInternalFrame has incorrect title button width
8139392: JInternalFrame has incorrect padding

Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, tr
2023-07-17 08:40:10 +00:00
Sean Coffey
f6e23ae451 8310201: Reduce verbose locale output in -XshowSettings launcher option
Reviewed-by: jpai
2023-07-17 08:28:16 +00:00
Jan Lahoda
a4412166ec 8311815: Incorrect exhaustivity computation
Reviewed-by: vromero
2023-07-17 08:19:51 +00:00
Jan Lahoda
1c9691b1f7 8312093: Incorrect javadoc comment text
Reviewed-by: jlaskey
2023-07-17 06:43:16 +00:00
Thomas Stuefe
37ca9024ef 8310233: Fix THP detection on Linux
Reviewed-by: jsjolen, dholmes
2023-07-17 04:56:10 +00:00
Jaikiran Pai
81c4e8f916 8304006: jlink should create the jimage file in the native endian for the target platform
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: alanb, mchung, rriggs
2023-07-16 07:11:39 +00:00
Ludovic Henry
e8f66bf88c 8310949: RISC-V: Initialize UseUnalignedAccesses
Reviewed-by: rehn, vkempik, fyang
2023-07-15 06:50:21 +00:00
Joe Darcy
19691fab48 6361826: (reflect) provide method for mapping strings to class object for primitive types
Reviewed-by: rriggs, mchung
2023-07-14 20:18:23 +00:00
Chris Plummer
c84866ac0d 8310551: vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt
Reviewed-by: kevinw, sspitsyn
2023-07-14 18:39:34 +00:00
Alan Bateman
0d2196f8e5 8311992: Test java/lang/Thread/virtual/JfrEvents::testVirtualThreadPinned failed
Reviewed-by: jpai
2023-07-14 16:01:26 +00:00
Ilya Gavrilin
f3b96f6937 8311862: RISC-V: small improvements to shift immediate instructions
Reviewed-by: luhenry, fjiang, fyang
2023-07-14 14:32:40 +00:00
Doug Simon
a63f865feb 8311946: add support for libgraal specific jtreg tests
Reviewed-by: kvn, thartmann
2023-07-14 14:10:10 +00:00
Leslie Zhai
167d1c1835 8311986: Disable runtime/os/TestTracePageSizes.java for ShenandoahGC
Reviewed-by: jiefu, stuefe, shade
2023-07-14 13:54:46 +00:00
Markus Grönlund
7539cc092d 8303134: JFR: Missing stack trace during chunk rotation stress
Reviewed-by: egahlin, thartmann
2023-07-14 10:46:49 +00:00
Jan Lahoda
d1fa1a8686 8311825: Duplicate qualified enum constants not detected
Reviewed-by: vromero
2023-07-14 09:54:56 +00:00
Thomas Stuefe
4676b40f17 8312049: runtime/logging/ClassLoadUnloadTest can be improved
Reviewed-by: dnsimon, dholmes
2023-07-14 08:49:05 +00:00
Jan Lahoda
bbb7ce5137 8311038: Incorrect exhaustivity computation
Reviewed-by: vromero
2023-07-14 08:21:48 +00:00
Sean Coffey
2e12a123c9 8281658: Add a security category to the java -XshowSettings option
Reviewed-by: rriggs, mullan
2023-07-14 07:31:09 +00:00
Jenny Shivayogi
43099a85b1 8311647: Memory leak in Java_jdk_internal_org_jline_terminal_impl_jna_linux_CLibraryImpl_ttyname_1r
Reviewed-by: phh, shade, jlahoda
2023-07-13 22:09:21 +00:00
Liam Miller-Cushon
c7c6d47a07 6355567: AdobeMarkerSegment causes failure to read valid JPEG
Reviewed-by: prr, serb
2023-07-13 19:36:36 +00:00
Matthew Donovan
af7f95e24a 8310070: Test: javax/net/ssl/DTLS/DTLSWontNegotiateV10.java timed out
Reviewed-by: jnimeh
2023-07-13 17:52:27 +00:00
Ashutosh Mehra
c710e71178 8311102: Write annotations in the classfile dumped by SA
Reviewed-by: cjplummer, stuefe
2023-07-13 17:14:30 +00:00
Markus Grönlund
61932f49a5 8244289: fatal error: Possible safepoint reached by thread that does not allow it
Reviewed-by: egahlin
2023-07-13 16:50:16 +00:00
Viktor Klang
8c9d091f19 8308047: java/util/concurrent/ScheduledThreadPoolExecutor/BasicCancelTest.java timed out and also had jcmd pipe errors
Reviewed-by: stefank, alanb
2023-07-13 14:25:50 +00:00
Matthias Baesken
b587fc51a8 8312013: avoid UnixConstants.java.template warning: '__linux__' is not defined on AIX
Reviewed-by: alanb, vtewari
2023-07-13 14:02:52 +00:00
Coleen Phillimore
135f64e603 8311583: tableswitch broken by JDK-8310577
Reviewed-by: dholmes, dlong
2023-07-13 13:20:52 +00:00
Markus Grönlund
6895debf66 8311536: JFR TestNativeMemoryUsageEvents fails in huge pages configuration
Reviewed-by: egahlin, mseledtsov
2023-07-13 12:13:44 +00:00
Leo Korinth
bb5278d98a 8311239: GC: Remove trailing blank lines in source files
Reviewed-by: tschatzl, aboldtch, mli
2023-07-13 08:53:36 +00:00
Alan Bateman
92a04e201e 8311867: StructuredTaskScope.shutdown does not interrupt newly started threads
Reviewed-by: jpai
2023-07-13 07:33:01 +00:00
Erik Gahlin
f60c1f9bc4 8294401: Update jfr man page to include recently added features
Reviewed-by: mgronlun
2023-07-13 07:27:16 +00:00
Yudi Zheng
1b0dd7c254 8310108: Skip ReplaceCriticalClassesForSubgraphs when EnableJVMCI is specified
Reviewed-by: dnsimon, iklam
2023-07-13 07:20:18 +00:00
Matthias Baesken
a38a421f62 8311917: MAP_FAILED definition seems to be obsolete in src/java.desktop/unix/native/common/awt/fontpath.c
Reviewed-by: prr
2023-07-13 07:11:14 +00:00
Matthias Baesken
812dadb0f9 8311788: ClassLoadUnloadTest fails on AIX after JDK-8193513
Reviewed-by: lucy, stuefe
2023-07-13 07:05:57 +00:00
Serguei Spitsyn
11a5115caf 8311556: GetThreadLocalStorage not working for vthreads mounted during JVMTI attach
Reviewed-by: lmesnik, cjplummer
2023-07-13 01:55:37 +00:00
Pengfei Li
a38582e941 8311691: C2: Remove legacy code related to PostLoopMultiversioning
Reviewed-by: kvn, sviswanathan
2023-07-13 01:45:52 +00:00
David Holmes
38f74125d1 8311609: [windows] Native stack printing lacks source information for dynamically loaded dlls
Reviewed-by: stuefe, iklam
2023-07-13 01:21:06 +00:00
Jonathan Gibbons
e51472e9a8 8309566: Migrate away from TagletWriter and TagletWriterImpl
8311974: Clean up Utils.getBlockTags

Reviewed-by: prappo
2023-07-13 01:03:52 +00:00
Julian Waters
fb90af881b 8311380: Prepare java.desktop for C++17
Reviewed-by: azvegint
2023-07-13 00:58:51 +00:00
Stuart Marks
743e8b8e0a 8306785: fix deficient spliterators for Sequenced Collections
Reviewed-by: psandoz
2023-07-12 23:45:42 +00:00
David Holmes
372d0cf752 8311545: Allow test symbol files to be kept in the test image
Reviewed-by: mikael
2023-07-12 23:01:54 +00:00
Chad Rakoczy
489a32fe40 8311813: C1: Uninitialized PhiResolver::_loop field
Reviewed-by: thartmann, shade
2023-07-12 19:24:18 +00:00
Rajan Halade
119cc495fc 8156889: ListKeychainStore.sh fails in some virtualized environments
Reviewed-by: mullan
2023-07-12 18:15:20 +00:00
Brian Burkhalter
ed9337e665 8155902: DataOuputStream should clarify that it might write primitive types as multiple byte groups
Reviewed-by: alanb, djelinski, lancea, rriggs
2023-07-12 18:14:56 +00:00
Stuart Marks
f82c8184b2 8308694: Clarify reversed() default methods' implementation requirements
Reviewed-by: rriggs
2023-07-12 16:10:41 +00:00
Alan Bateman
7304316a8c 8311926: java/lang/ScopedValue/StressStackOverflow.java takes 9mins in tier1
Reviewed-by: jpai
2023-07-12 15:44:41 +00:00
Matthias Baesken
aa7367f1ec 8311921: Inform about MaxExpectedDataSegmentSize in case of pthread_create failures on AIX
Reviewed-by: jbechberger, stuefe
2023-07-12 10:39:28 +00:00
Thomas Stuefe
753bd563ec 8311870: Split CompressedKlassPointers from compressedOops.hpp
Reviewed-by: iklam, rkennke
2023-07-12 09:06:53 +00:00
Chad Rakoczy
0b0e064e36 8311656: Shenandoah: Unused ShenandoahSATBAndRemarkThreadsClosure::_claim_token
Reviewed-by: ysr, shade
2023-07-12 07:29:52 +00:00
Rajan Halade
fd7fddb6ed 8295894: Remove SECOM certificate that is expiring in September 2023
Reviewed-by: xuelei, mullan
2023-07-11 23:53:40 +00:00
Justin Lu
d82ade3545 8310683: Refactor StandardCharset/standard.java to use JUnit
Reviewed-by: naoto
2023-07-11 20:43:03 +00:00
Alexey Ivanov
aac903dbfb 8311805: Clean up ScrollPane: drop redundant initialiser, mark scroller final
Reviewed-by: azvegint, serb, prr
2023-07-11 19:41:42 +00:00
Alex Menkov
15195e6018 8310066: Improve test coverage for JVMTI GetThreadState on carrier and mounted vthread
Reviewed-by: sspitsyn, cjplummer
2023-07-11 17:31:21 +00:00
Justin Lu
6cb9ec32a6 6960866: [Fmt-Ch] ChoiceFormat claims impossible and unimplemented functionality
Reviewed-by: naoto
2023-07-11 17:12:02 +00:00
Jenny Shivayogi
401c3dea5d 8311645: Memory leak in jspawnhelper spawnChild after JDK-8307990
Reviewed-by: shade, simonis, alanb, rriggs
2023-07-11 16:55:23 +00:00
Jiangli Zhou
e154b0d6cd 8311606: Change read_icc_profile() to static function in java.desktop/share/native/libjavajpeg/imageioJPEG.c
Reviewed-by: serb
2023-07-11 16:53:44 +00:00
Swati Sharma
a03a3a43bb 8311178: JMH tests don't scale well when sharing output buffers
Co-authored-by: Vladimir Ivanov <vaivanov@openjdk.org>
Reviewed-by: ecaspole, sviswanathan, mli
2023-07-11 16:14:33 +00:00
Naoto Sato
00c7f914c6 8310047: Add UTF-32 based Charsets into StandardCharsets
Reviewed-by: alanb, lancea, bpb, jpai, jlu
2023-07-11 16:10:34 +00:00
Roland Westrelin
caadad4fdc 8303279: C2: crash in SubTypeCheckNode::sub() at IGVN split if
Reviewed-by: kvn, vlivanov, thartmann, simonis
2023-07-11 15:59:17 +00:00
Alexey Ivanov
b3f34039fe 8311689: Wrong visible amount in Adjustable of ScrollPane
Reviewed-by: prr, honkar, serb
2023-07-11 13:43:15 +00:00
Erik Gahlin
a1cfc96954 8311245: JFR: Remove t.printStackTrace() in PeriodicEvents
Reviewed-by: mgronlun
2023-07-11 11:03:36 +00:00
Hao Sun
4b1403d06b 8311548: AArch64: [ZGC] Many tests fail with "assert(allocates2(pc)) failed: not in CodeBuffer memory" on some CPUs
Reviewed-by: aboldtch, fyang, kbarrett, tschatzl
2023-07-10 22:00:31 +00:00
Eirik Bjorsnos
940a4e12d1 8304503: Modernize debugging jvm args in demo netbeans projects
Reviewed-by: prr
2023-07-10 21:48:03 +00:00
Patricio Chilano Mateo
57e7e82fa1 8309637: runtime/handshake/HandshakeTimeoutTest.java fails with "has not cleared handshake op" and SIGILL
Reviewed-by: dholmes, coleenp
2023-07-10 19:09:27 +00:00
Naoto Sato
63f32fbe97 8311528: Remove IDE specific SuppressWarnings
Reviewed-by: lancea, bpb, jlu
2023-07-10 17:07:26 +00:00
Liam Miller-Cushon
b285ed72ae 8311666: Disabled tests in test/jdk/sun/java2d/marlin
Reviewed-by: prr
2023-07-10 16:13:06 +00:00
Maurizio Cimadamore
6569b252b9 8311593: Minor doc issue in MemorySegment::copy
Reviewed-by: jvernee
2023-07-10 15:04:21 +00:00
Alan Bateman
623cfcd04b 8310892: ScopedValue throwing StructureViolationException should be clearer
Reviewed-by: dfuchs, jpai
2023-07-10 12:33:29 +00:00
Christian Hagedorn
06a1a15d01 8311588: C2: RepeatCompilation compiler directive does not choose stress seed randomly
Reviewed-by: thartmann
2023-07-10 07:44:16 +00:00
Ioi Lam
581f90e242 8311604: Simplify NOCOOPS requested addresses for archived heap objects
Reviewed-by: ccheung
2023-07-09 15:18:46 +00:00
Doug Simon
4a1fcb6063 8193513: add support for printing a stack trace on class loading
Reviewed-by: dholmes, iklam, coleenp
2023-07-08 07:56:28 +00:00
Leonid Mesnik
292ee630ae 8305962: update jcstress to 0.16
Reviewed-by: shade
2023-07-07 19:14:17 +00:00
Justin Lu
12e9430910 8310818: Refactor more Locale tests to use JUnit
Reviewed-by: lancea, naoto
2023-07-07 19:12:13 +00:00
Kevin Driver
5667afc362 8295068: SSLEngine throws NPE parsing CertificateRequests
Reviewed-by: xuelei
2023-07-07 16:55:26 +00:00
Daniel Jeliński
34004e1666 8311575: Fix invalid format parameters
Reviewed-by: dholmes, kbarrett, mli
2023-07-07 12:14:16 +00:00
Daohan Qu
9084b6c9d5 8311514: Incorrect regex in TestMetaSpaceLog.java
Reviewed-by: stuefe
2023-07-07 11:49:29 +00:00
Matthias Baesken
0ef03f1228 8311285: report some fontconfig related environment variables in hs_err file
Reviewed-by: clanger, stuefe
2023-07-07 10:27:51 +00:00
Johan Sjölen
92ca670bf3 8310170: Use sp's argument to improve performance of outputStream::indent and remove SP_USE_TABS
Reviewed-by: shade, dholmes, stuefe
2023-07-07 09:24:30 +00:00
Matthias Baesken
25cbe85d6f 8310550: Adjust references to rt.jar
Reviewed-by: erikj, clanger
2023-07-07 06:57:23 +00:00
Matthias Baesken
848abd2831 8311511: Improve description of NativeLibrary JFR event
Reviewed-by: clanger, jbechberger
2023-07-07 06:55:32 +00:00
Prasanta Sadhukhan
6485b7d0d3 6875229: Wrong placement of icons in JTabbedPane in Nimbus
Reviewed-by: honkar, abhiscxk, dnguyen, jdv
2023-07-07 02:55:42 +00:00
Daohan Qu
27de536b40 8311581: Remove obsolete code and comments in TestLVT.java
Reviewed-by: coleenp, jwaters
2023-07-07 01:43:44 +00:00
Justin Lu
e848d9471f 8310923: Refactor Currency tests to use JUnit
Reviewed-by: naoto, lancea
2023-07-07 01:32:59 +00:00
Patricio Chilano Mateo
0c86c31bcc 8302351: "assert(!JavaThread::current()->is_interp_only_mode() || !nm->method()->is_continuation_enter_intrinsic() || ContinuationEntry::is_interpreted_call(return_pc)) failed: interp_only_mode but not in enterSpecial interpreted entry" in fixup_callers_callsite
Reviewed-by: dcubed, sspitsyn, dlong
2023-07-06 19:15:45 +00:00
Oliver Kopp
ec7da91bd8 8240567: MethodTooLargeException thrown while creating a jlink image
Reviewed-by: mchung
2023-07-06 16:08:36 +00:00
Johan Sjölen
97e99f01d4 8311087: PhiNode::wait_for_region_igvn should break early
Reviewed-by: thartmann, chagedorn
2023-07-06 12:27:13 +00:00
Aleksey Shipilev
7173c3009e 8307766: Linux: Provide the option to override the timer slack
Reviewed-by: dholmes, stuefe
2023-07-06 10:38:34 +00:00
Daniel Jeliński
356067d03f 8311489: Remove unused dirent_md files
Reviewed-by: bpb
2023-07-06 10:24:47 +00:00
Daniel Jeliński
3d813ae39f 8311301: MethodExitTest may fail with stack buffer overrun
Reviewed-by: kevinw, dholmes, cjplummer, sspitsyn
2023-07-06 08:52:28 +00:00
Hannes Wallnöfer
0741cd3289 8311264: JavaDoc index comparator is not transitive
Reviewed-by: jjg
2023-07-06 07:08:20 +00:00
Christian Hagedorn
edb2be10fb 8311279: TestStressIGVNAndCCP.java failed with different IGVN traces for the same seed
Reviewed-by: thartmann
2023-07-06 06:32:05 +00:00
Naoto Sato
d072c40ff1 8311183: Remove unused mapping test files
Reviewed-by: lancea, bpb
2023-07-05 23:27:36 +00:00
Joakim Nordström
66d2736521 8307526: [JFR] Better handling of tampered JFR repository
Reviewed-by: egahlin
2023-07-05 22:26:57 +00:00
Thomas Stuefe
0616648c59 8311035: CDS should not use dump time JVM narrow Klass encoding to pre-compute Klass ids
Reviewed-by: iklam
2023-07-05 19:51:27 +00:00
Roger Riggs
6eba096ca2 8310999: Add @since info in jdk.jsobject files
Reviewed-by: lancea, joehw, bpb, iris, prr
2023-07-05 18:21:48 +00:00
Jatin Bhateja
6ebb0e3bd4 8311023: assert(false) failed: EA: missing memory path
Reviewed-by: thartmann, chagedorn
2023-07-05 15:37:38 +00:00
Pavel Rappo
2cffef2120 8311290: Improve java.lang.ref.Cleaner rendered documentation
Reviewed-by: rriggs
2023-07-05 14:10:44 +00:00
Coleen Phillimore
22e17c29a2 8311180: Remove unused unneeded definitions from globalDefinitions
Co-authored-by: Axel Boldt-Christmas <aboldtch@openjdk.org>
Reviewed-by: dholmes, aboldtch
2023-07-05 12:37:38 +00:00
Coleen Phillimore
cf82e3152b 8311077: Fix -Wconversion warnings in jvmti code
Reviewed-by: fparain, matsaave, dholmes
2023-07-05 12:30:07 +00:00
Conor Cleary
00ac46c06d 8310645: CancelledResponse.java does not use HTTP/2 when testing the HttpClient
Reviewed-by: dfuchs
2023-07-05 11:04:10 +00:00
Jatin Bhateja
d6578bff1c 8309531: Incorrect result with unwrapped iotaShuffle.
Reviewed-by: sviswanathan, xgong, thartmann
2023-07-05 05:46:24 +00:00
Pavel Rappo
7b3c2dc5f4 8311122: Fix typos in java.base
Reviewed-by: darcy, naoto, mchung, iris, mli, mullan
2023-07-04 19:03:09 +00:00
Darragh Clarke
607ddaa0e6 8310997: missing @since tags in jdk.httpserver
Reviewed-by: dfuchs
2023-07-04 12:19:44 +00:00
Darragh Clarke
7655b487da 8311001: missing @since info in jdk.net
Reviewed-by: dfuchs
2023-07-04 12:19:23 +00:00
Aleksey Shipilev
711cddd899 8311249: Remove unused MemAllocator::obj_memory_range
Reviewed-by: tschatzl
2023-07-04 09:01:47 +00:00
Sidraya Jayagond
514816ed7d 8309889: [s390] Missing return statement after calling jump_to_native_invoker method in generate_method_handle_dispatch.
Reviewed-by: amitkumar, lucy
2023-07-04 04:35:18 +00:00
Xiaohong Gong
60544f9088 8309894: compiler/vectorapi/VectorLogicalOpIdentityTest.java fails on SVE system with UseSVE=0
Reviewed-by: epeter, chagedorn
2023-07-04 01:35:03 +00:00
Vladimir Petko
0916e6a603 8311092: Please disable runtime/jni/nativeStack/TestNativeStack.java on armhf
Reviewed-by: dholmes
2023-07-03 22:25:20 +00:00
Harshitha Onkar
d8a012161a 8311109: tautological-compare warning in awt_Win32GraphicsDevice.cpp
Reviewed-by: aivanov
2023-07-03 20:43:17 +00:00
Mandy Chung
b9198f9931 8254566: Clarify the spec of ClassLoader::getClassLoadingLock for non-parallel capable loader
Reviewed-by: dholmes, darcy
2023-07-03 16:04:35 +00:00
Axel Boldt-Christmas
f393975d1b 8310743: assert(reserved_rgn != nullptr) failed: Add committed region, No reserved region found
Reviewed-by: stefank, ayang
2023-07-03 14:06:58 +00:00
Erik Gahlin
ba974d5c62 8310661: JFR: Replace JVM.getJVM() with JVM
Reviewed-by: mgronlun
2023-07-03 12:19:57 +00:00
Leo Korinth
496f94b488 8311086: Remove jtreg/gc/startup_warnings
Reviewed-by: ayang, mli, kbarrett, tschatzl
2023-07-03 11:11:05 +00:00
Renjith Kannath Pariyangad
9d2e0b2a80 8307934: JRobot.moveMouseTo must access component on EDT
Reviewed-by: aivanov
2023-07-03 10:32:47 +00:00
Darragh Clarke
87c79c0801 8309302: java/net/Socket/Timeouts.java fails with AssertionError on test temporal post condition
Reviewed-by: alanb, dfuchs
2023-07-03 10:03:54 +00:00
Daohan Qu
8e0ca8e05c 8310331: JitTester: Exclude java.lang.Math.random
Reviewed-by: thartmann, chagedorn
2023-07-03 08:59:35 +00:00
Daniel Jeliński
055b4b426c 8310948: Fix ignored-qualifiers warning in Hotspot
Reviewed-by: kbarrett, dholmes
2023-07-03 07:51:38 +00:00
Emanuel Peter
2c29705d7b 8309660: C2: failed: XMM register should be 0-15 (UseKNLSetting and ConvF2HF)
Co-authored-by: Sandhya Viswanathan <sviswanathan@openjdk.org>
Reviewed-by: sviswanathan, jbhateja
2023-07-03 06:50:16 +00:00
David Holmes
52ee570025 8309209: C2 failed "assert(_stack_guard_state == stack_guard_reserved_disabled) failed: inconsistent state"
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Reviewed-by: aph, thartmann
2023-07-03 04:23:58 +00:00
Robbin Ehn
faf1b822d0 8310656: RISC-V: __builtin___clear_cache can fail silently.
Reviewed-by: luhenry, stuefe, fyang
2023-07-02 16:15:28 +00:00
Daniel D. Daugherty
0e3d91dc21 8311215: [BACKOUT] JDK-8047998 Abort the vm if MaxNewSize is not the same as NewSize when MaxHeapSize is the same as InitialHeapSize
Reviewed-by: jiefu
2023-07-01 15:55:29 +00:00
Daohan Qu
09a4924015 8311145: Remove check_with_errno duplicates
Reviewed-by: rehn, stuefe
2023-07-01 08:45:24 +00:00
Guoxiong Li
8abb9f590f 8047998: Abort the vm if MaxNewSize is not the same as NewSize when MaxHeapSize is the same as InitialHeapSize
Reviewed-by: ayang, tschatzl
2023-07-01 08:01:22 +00:00
Xin Liu
d2e1159300 8311125: Remove unused parameter 'phase' in AllocateNode::Ideal_allocation
Reviewed-by: chagedorn, kvn
2023-07-01 07:25:26 +00:00
Chen Liang
8c8e9d911d 8309819: Clarify API note in Class::getName and MethodType::toMethodDescriptorString
Reviewed-by: mchung
2023-06-30 23:37:53 +00:00
Daniel D. Daugherty
140b70fb29 8311186: ProblemList javax/management/remote/mandatory/subjectDelegation/SubjectDelegation1Test.java on linux-aarch64
8311189: disable gc/z/TestHighUsage.java
8311190: ProblemList javax/management/remote/mandatory/connection/DeadLockTest.java with virtual threads on windows-x64
8311191: ProblemList javax/management/remote/mandatory/connection/ConnectionTest.java with virtual threads on windows-x64
8311193: ProblemList vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java on linux-all
8311195: ProblemList vmTestbase/nsk/jvmti/scenarios/capability/CM03/cm03t001/TestDescription.java with Xcomp on macosx-x64

Reviewed-by: lmesnik
2023-06-30 21:43:09 +00:00
Serguei Spitsyn
971c2efb69 8303086: SIGSEGV in JavaThread::is_interp_only_mode()
Reviewed-by: pchilanomate, cjplummer, lmesnik
2023-06-30 20:58:15 +00:00
Doug Simon
f6bdccb45c 8310829: guarantee(!HAS_PENDING_EXCEPTION) failed in ExceptionTranslation::doit
Reviewed-by: never, kvn
2023-06-30 20:10:24 +00:00
Joe Darcy
456bf115aa 8310173: Update --release 21 symbol information for JDK 21 build 29
Reviewed-by: iris
2023-06-30 19:11:40 +00:00
Kevin Walls
19601ebe91 8310993: Missing @since tags in jdk.attach
Reviewed-by: sspitsyn, cjplummer
2023-06-30 17:49:56 +00:00
Daniel Fuchs
e8ff74c7e8 8310987: Missing @since tag(s) in java/util/logging/ErrorManager.java
Reviewed-by: lancea, iris
2023-06-30 16:06:50 +00:00
Pavel Rappo
e3a7e020d2 8311162: Simplify and modernize equals and hashCode for java.net
Reviewed-by: dfuchs, michaelm, msheppar
2023-06-30 15:17:23 +00:00
Eric Caspole
430d6b61c5 8309976: Add microbenchmark for stressing code cache
Reviewed-by: redestad, shade
2023-06-30 15:02:45 +00:00
Albert Mingkun Yang
33011ea19b 8310946: G1: Refactor G1Policy::next_gc_should_be_mixed
Reviewed-by: tschatzl, kbarrett
2023-06-30 12:23:18 +00:00
Matthias Baesken
a7d168b522 8311026: Some G1 specific tests do not set -XX:+UseG1GC
Reviewed-by: sspitsyn, tschatzl
2023-06-30 11:35:02 +00:00
Kevin Walls
c08c9831df 8311000: missing @since info in jdk.management
Reviewed-by: rriggs, mli
2023-06-30 08:28:19 +00:00
Kevin Walls
660cd256b7 8310988: Missing @since tags in java.management.rmi
Reviewed-by: rriggs, alanb, jjg, mli
2023-06-30 08:26:44 +00:00
Axel Boldt-Christmas
2a9e2f614f 8311046: ProblemList gc/z/TestHighUsage.java with Generational ZGC
Reviewed-by: kbarrett, tschatzl
2023-06-30 08:10:09 +00:00
Gui Cao
77e7b6d2a1 8311074: RISC-V: Fix -Wconversion warnings in some code header files
Reviewed-by: fyang, coleenp
2023-06-30 00:16:57 +00:00
Roger Riggs
11fd34e196 8310241: OffsetDateTime compareTo redundant computation
Reviewed-by: naoto
2023-06-29 21:05:37 +00:00
Joe Darcy
d97966266e 8311115: Type in java.lang.reflect.AccessFlag.METHOD_PARAMETER
Reviewed-by: bpb, jlaskey, mchung
2023-06-29 20:31:57 +00:00
Naoto Sato
a995aa6cd1 8310232: java.time.Clock$TickClock.millis() fails in runtime when tick is 1 microsecond
Reviewed-by: iris, rriggs, jpai
2023-06-29 16:15:02 +00:00
Roland Westrelin
26efff7586 8309902: C2: assert(false) failed: Bad graph detected in build_loop_late after JDK-8305189
Reviewed-by: kvn, chagedorn
2023-06-29 15:05:49 +00:00
Ashutosh Mehra
05c2b6cd47 8309979: BootstrapMethods attribute is missing in class files recreated by SA
Reviewed-by: cjplummer, kevinw
2023-06-29 14:16:15 +00:00
shaojin.wensj
20f7d05ef2 8310502: Optimization for j.l.Long.fastUUID()
Reviewed-by: liach, alanb
2023-06-29 13:37:32 +00:00
Chen Liang
07734f6dde 8310848: Convert ClassDesc and MethodTypeDesc to be stored in static final fields
Reviewed-by: asotona
2023-06-29 12:32:52 +00:00
Damon Fenacci
e5744b8120 8310919: runtime/ErrorHandling/TestAbortVmOnException.java times out due to core dumps taking a long time on OSX
Reviewed-by: thartmann, dholmes
2023-06-29 12:07:54 +00:00
Artem Semenov
98a954eebc 8308286: Fix clang warnings in linux code
Reviewed-by: avu, djelinski
2023-06-29 09:07:34 +00:00
Nikita Gubarkov
f842ec48b1 8305667: Some fonts installed in user directory are not detected on Windows
Reviewed-by: avu, prr
2023-06-29 08:28:22 +00:00
Roland Westrelin
690d626995 8307927: C2: "malformed control flow" with irreducible loop
Reviewed-by: thartmann, epeter
2023-06-29 07:43:46 +00:00
Roland Westrelin
be64d3ac3c 8310299: C2: 8275201 broke constant folding of array store check in some cases
Reviewed-by: thartmann, kvn
2023-06-29 07:41:04 +00:00
Eric Nothum
b2eae16c45 8295191: IR framework timeout options expect ms instead of s
Reviewed-by: chagedorn, kvn, thartmann
2023-06-29 06:59:12 +00:00
Daniel Jeliński
af319d963f 8311064: Windows builds fail without precompiled headers after JDK-8310728
Reviewed-by: dholmes
2023-06-29 06:05:53 +00:00
Chen Liang
cbf418a486 8311020: Typo cleanup in Classfile API
Reviewed-by: asotona
2023-06-29 05:44:02 +00:00
Alan Bateman
f4b900b607 8310902: (fc) FileChannel.transferXXX async close and interrupt issues
Reviewed-by: bpb
2023-06-29 05:42:19 +00:00
Ioi Lam
cf8d706300 8308463: Refactor regenerated class handling in lambdaFormInvokers.cpp
Reviewed-by: coleenp, dholmes, matsaave
2023-06-29 04:28:30 +00:00
Glavo
6f58ab2bb9 8301569: jmod list option and jimage list --help not interpreted correctly on turkish locale
Reviewed-by: mchung, naoto, jpai
2023-06-29 01:34:26 +00:00
Jaikiran Pai
8f5a38488c 8311032: Empty value for java.protocol.handler.pkgs system property can lead to unnecessary classloading attempts of protocol handlers
Reviewed-by: dfuchs
2023-06-29 01:30:46 +00:00
Ioi Lam
ded137073a 8309811: BytecodePrinter cannot handle unlinked classes
Reviewed-by: coleenp, fparain
2023-06-28 22:50:24 +00:00
Johan Sjölen
02b17d793b 8310264: In PhaseChaitin::Split defs and phis are leaked
Reviewed-by: thartmann, chagedorn, kvn
2023-06-28 21:20:35 +00:00
Rajat Mahajan
a63afa4aa6 8294427: Check boxes and radio buttons have rendering issues on Windows in High DPI env
Reviewed-by: aivanov, achung
2023-06-28 21:07:24 +00:00
Joe Darcy
3df36c4f10 8310061: Note if implicit annotation processing is being used
Reviewed-by: briangoetz, vromero, jjg
2023-06-28 21:00:28 +00:00
Dean Long
da0f8325de 8310606: Fix signed integer overflow, part 3
Reviewed-by: kvn, thartmann
2023-06-28 20:31:08 +00:00
Alisen Chung
f0c2f09815 8296972: [macos13] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java: getExtendedState() != 6 as expected.
Reviewed-by: dmarkov, honkar
2023-06-28 20:17:00 +00:00
Coleen Phillimore
9f46fc2842 8310906: Fix -Wconversion warnings in runtime, oops and some code header files.
Reviewed-by: iklam, fparain
2023-06-28 19:42:33 +00:00
Jorn Vernee
7fffdb5e60 8310405: Linker.Option.firstVariadicArg should specify which index values are valid
Reviewed-by: mcimadamore
2023-06-28 17:32:33 +00:00
Justin Gu
b6c789faad 8309140: ResourceHashtable failed "assert(~(_allocation_t[0] | allocation_mask) == (uintptr_t)this) failed: lost resource object"
Reviewed-by: coleenp, matsaave, dholmes
2023-06-28 17:10:16 +00:00
Jesse Glick
9f98136c3a 6956385: URLConnection.getLastModified() leaks file handles for jar:file and file: URLs
Define FileURLConnection.closeInputStream for use by JarURLInputStream.close.
JarURLConnection properly tracks any InputStream it itself opened,
and correspondingly closes the JarFile if necessary (when caches are disabled).
But if its underlying FileURLConnection was used to retrieve a header field,
that would have caused a FileInputStream to be opened
which never gets closed until it is garbage collected.
This means that an application which calls certain methods
on jar:file:/…something.jar!/… URLs will leak file handles,
even if URLConnection caches are supposed to be turned off.
This can delay release of system resources,
and on Windows can prevent the JAR file from being deleted
even after it is no longer in use (for example after URLClassLoader.close).

Reviewed-by: dfuchs, michaelm
2023-06-28 15:33:37 +00:00
Aleksey Shipilev
46e4ee1e80 8310974: NMT: Arena diffs miss the scale
Reviewed-by: zgu, stuefe
2023-06-28 14:07:58 +00:00
Pavel Rappo
f17bfeec61 8311034: Fix typo in javac man page
Reviewed-by: hannesw
2023-06-28 13:48:16 +00:00
Johan Sjölen
2ccdd29206 8299825: Move StdoutLog and StderrLog to LogConfiguration
Reviewed-by: dholmes, azafari
2023-06-28 13:31:14 +00:00
Erik Gahlin
e3f18af1df 8311007: jdk/jfr/tool/TestView.java can't find event
Reviewed-by: mgronlun
2023-06-28 12:29:43 +00:00
Coleen Phillimore
08c51f25d2 8310920: Fix -Wconversion warnings in command line flags
Reviewed-by: iklam, dholmes
2023-06-28 12:24:39 +00:00
Coleen Phillimore
c2e9485481 8310921: Fix -Wconversion warnings from GenerateOopMap
Reviewed-by: iklam, dholmes
2023-06-28 12:23:04 +00:00
Thomas Stuefe
ef71c3215e 8310110: Shenandoah: Trace page sizes
Reviewed-by: shade, rkennke
2023-06-28 11:57:20 +00:00
Eric Nothum
c3f10e8479 8307625: Redundant receiver null check in LibraryCallKit::generate_method_call
Reviewed-by: thartmann, chagedorn
2023-06-28 07:25:20 +00:00
Matthias Baesken
39c104df44 8310380: Handle problems in core-related tests on macOS when codesign tool does not work
Reviewed-by: lucy, clanger, cjplummer
2023-06-28 06:51:05 +00:00
Emanuel Peter
526dba1a29 8310130: C2: assert(false) failed: scalar_input is neither phi nor a matchin reduction
Reviewed-by: kvn, chagedorn
2023-06-28 05:52:26 +00:00
Daniel Jeliński
48e61c1df5 8310728: Enable Zc:inline flag in Visual Studio build
Reviewed-by: erikj
2023-06-28 04:11:11 +00:00
Vyom Tewari
56a73a6f0f 8309591: Socket.setOption(TCP_QUICKACK) uses wrong level
Reviewed-by: djelinski, michaelm, alanb
2023-06-28 02:49:52 +00:00
Hao Sun
afdaa2a330 8309109: AArch64: [TESTBUG] compiler/intrinsics/sha/cli/TestUseSHA3IntrinsicsOptionOnSupportedCPU.java fails on Neoverse N2 and V1
Reviewed-by: aph, fyang
2023-06-28 02:00:09 +00:00
Roger Riggs
7f09435367 8310982: jdk/internal/util/ArchTest.java fails after JDK-8308452 failed with Method isARM()
Reviewed-by: naoto, mchung, bpb, lancea
2023-06-27 20:54:53 +00:00
Jorn Vernee
f07e396bda 8310914: Remove 2 malformed java/foreign ProblemList entries
Reviewed-by: jpai
2023-06-27 20:40:04 +00:00
Alex Menkov
a97f98fb8a 8310585: GetThreadState spec mentions undefined JVMTI_THREAD_STATE_MONITOR_WAITING
Reviewed-by: sspitsyn, cjplummer
2023-06-27 20:35:03 +00:00
Phil Race
2cf5c2f4b6 8310238: [test bug] javax/swing/JTableHeader/6889007/bug6889007.java fails
Reviewed-by: azvegint
2023-06-27 20:19:56 +00:00
Tom Rodriguez
269852b906 8294316: SA core file support is broken on macosx-x64 starting with macOS 12.x
Reviewed-by: cjplummer, sspitsyn
2023-06-27 19:57:06 +00:00
Joe Darcy
4bce38c6d7 8310830: typo in the parameter name in @throws of ClassDesc::ofDescriptor
Reviewed-by: bpb, rriggs, mchung
2023-06-27 19:30:59 +00:00
Jim Laskey
315242b741 8310975: java.util.FormatItemModifier should not be protected
Reviewed-by: alanb, darcy, iris, lancea
2023-06-27 18:45:37 +00:00
Roger Riggs
d6dd0dc3e0 8308452: Extend internal Architecture enum with byte order and address size
Reviewed-by: mdoerr, jpai, mchung, amitkumar
2023-06-27 17:49:09 +00:00
Lance Andersen
fb283dff04 8310828: java.sql java.sql.rowset packages have no @since info
Reviewed-by: naoto, iris, darcy, bpb
2023-06-27 17:22:41 +00:00
Naoto Sato
ec45bd64d5 8310182: DateTimeFormatter date formats (ISO_LOCAL_DATE) separated with hyphen, not dash
Reviewed-by: rriggs, darcy, iris, lancea
2023-06-27 16:13:20 +00:00
Chen Liang
2bd4136bdb 8310849: Pattern matching for instanceof and arrayType cleanup in j.l.invoke and j.l.reflect
Reviewed-by: mchung, darcy
2023-06-27 16:10:50 +00:00
Afshin Zafari
7ce967a10c 8281455: Change JVM options with small ranges from 64 to 32 bits, for gc_globals.hpp
Reviewed-by: tschatzl, coleenp
2023-06-27 15:54:55 +00:00
Pavel Rappo
f6133edb08 8310890: Normalize identifier names
Reviewed-by: naoto, rriggs
2023-06-27 15:47:29 +00:00
Brian Burkhalter
58bb6555e7 8222329: Readable read(CharBuffer) does not specify that 0 is returned when there is no remaining space in buffer
Reviewed-by: rriggs, lancea, alanb
2023-06-27 15:28:01 +00:00
Jaikiran Pai
05e9c41edd 8310731: Configure a javax.net.ssl.SNIMatcher for the HTTP/1.1 test servers in java/net/httpclient tests
Reviewed-by: dfuchs
2023-06-27 11:01:09 +00:00
David Leopoldseder
15878360bf 8310425: [JVMCI] compiler/runtime/TestConstantDynamic: lookupConstant returned an object of incorrect type: null
Reviewed-by: dnsimon, never
2023-06-27 08:29:55 +00:00
Daniel Skantz
73d7aa1d2c 8301489: C1: ShortLoopOptimizer might lift instructions before their inputs
Reviewed-by: thartmann, rcastanedalo
2023-06-27 07:05:48 +00:00
Adam Sotona
990e3a700d 8308899: Introduce Classfile context and improve Classfile options
8306650: Improve control of stack maps generation in Classfile API
8308646: Typo in ConstantValueAttribute

Reviewed-by: mcimadamore
2023-06-27 05:05:17 +00:00
Tejesh R
79c056ec8b 8006421: GraphicsConfiguration of a frame is changed when the frame is moved to another screen
Reviewed-by: azvegint, serb
2023-06-27 04:56:21 +00:00
changpeng1997
45b581b7d5 8309583: AArch64: Optimize firstTrue() when amount of elements < 8
Reviewed-by: aph, eliu
2023-06-27 04:10:38 +00:00
Feilong Jiang
87e6fab2c4 8310873: Re-enable locked_create_entry symbol check in runtime/NMT/CheckForProperDetailStackTrace.java for RISC-V
Reviewed-by: fyang, rehn
2023-06-27 01:49:58 +00:00
David Holmes
39fa4e6371 8310489: New test runtime/ClassInitErrors/TestStackOverflowDuringInit.java failed
Reviewed-by: coleenp
2023-06-27 00:13:42 +00:00
Jonathan Gibbons
46add3f8e3 8310909: java.io.InvalidObjectException has redundant @since tag
Reviewed-by: lancea, naoto, bpb, darcy, iris
2023-06-26 22:24:32 +00:00
Jonathan Gibbons
8f5b6771b8 8310908: Non-standard @since tag in com.sun.java.accessibility.util.package-info
Reviewed-by: bpb, iris, aivanov
2023-06-26 22:22:49 +00:00
Chen Liang
a197ee797b 8310838: Correct range notations in MethodTypeDesc specification
Reviewed-by: mchung
2023-06-26 22:07:35 +00:00
Mandy Chung
7c6a28fd0c 8310922: java/lang/Class/forName/ForNameNames.java fails after being added by JDK-8310242
Reviewed-by: dholmes
2023-06-26 21:25:09 +00:00
Mandy Chung
7db2f08756 8310242: Clarify the name parameter to Class::forName
Reviewed-by: rriggs, liach, alanb, dholmes
2023-06-26 19:56:24 +00:00
Sergey Tsypanov
297c799631 8301492: Modernize equals() method of ResourceBundle.CacheKey and Bundles.CacheKey
Reviewed-by: prappo, naoto
2023-06-26 19:41:43 +00:00
Archie Cobbs
a08352f621 8305671: javac rejects semicolons in compilation units with no imports
Reviewed-by: vromero
2023-06-26 19:05:00 +00:00
Jatin Bhateja
ff9a754109 8310459: [BACKOUT] 8304450: [vectorapi] Refactor VectorShuffle implementation
Reviewed-by: thartmann, sviswanathan
2023-06-26 18:35:03 +00:00
Joe Darcy
815ac6eeb3 8310907: Add missing file
Reviewed-by: jjg
2023-06-26 18:14:32 +00:00
Joe Darcy
289f218a32 8310861: Improve location reporting for javac serial lint warnings
Reviewed-by: jlahoda
2023-06-26 16:56:40 +00:00
Brian Burkhalter
d32eb015f0 8310682: No package-info (and @since) for package jdk.nio.mapmode
Reviewed-by: alanb
2023-06-26 16:28:48 +00:00
Weijun Wang
e624484ecf 8308540: On Kerberos TGT referral, if krb5.conf is missing realm, bad exception message
Reviewed-by: xuelei
2023-06-26 15:55:36 +00:00
Varada M
5ff42d1429 8303549: [AIX] TestNativeStack.java is failing with exit value 1
Reviewed-by: dholmes, gziemski
2023-06-26 14:28:40 +00:00
Gui Cao
24abd1054e 8310192: RISC-V: Merge vector min & max instructs with similar match rules
Reviewed-by: luhenry, fyang
2023-06-26 13:20:35 +00:00
Dingli Zhang
3357867928 8310276: RISC-V: Make use of shadd macro-assembler function when possible
Reviewed-by: fyang, luhenry, fjiang, vkempik
2023-06-26 12:47:41 +00:00
Albert Mingkun Yang
c1c5bd0faf 8310541: G1: Remove redundant check in G1Policy::need_to_start_conc_mark
Reviewed-by: tschatzl, kbarrett
2023-06-26 12:15:41 +00:00
Albert Mingkun Yang
5271f4def6 8310354: G1: Annotate G1MMUTracker::when_sec with const
Reviewed-by: tschatzl, kbarrett
2023-06-26 12:14:00 +00:00
Prasanta Sadhukhan
a420ff48da 6664309: Docking point of a floating toolbar changes after closing
Reviewed-by: tr, prr
2023-06-26 09:24:07 +00:00
Kevin Walls
a96e92c83d 8310816: GcInfoBuilder float/double signature mismatch
Reviewed-by: mchung, dholmes
2023-06-26 08:35:52 +00:00
Thomas Schatzl
c23794f882 8308633: Increase precision of timestamps in g1 log
Reviewed-by: ayang, kbarrett
2023-06-26 07:51:22 +00:00
Thomas Schatzl
9397094692 8310540: G1: Verification should use raw oop decode functions
Reviewed-by: ayang, kbarrett
2023-06-26 07:49:51 +00:00
Jaikiran Pai
013367b483 8310868: Thread.interrupt() method's javadoc has an incorrect {@link}
Reviewed-by: alanb
2023-06-26 06:25:08 +00:00
Emanuel Peter
9057b35033 8306922: IR verification fails because IR dump is chopped up
Reviewed-by: chagedorn, thartmann
2023-06-26 06:11:32 +00:00
Julian Waters
8242c647b9 8310863: Build failure after JDK- 8305341
Reviewed-by: dholmes
2023-06-26 05:38:04 +00:00
Julian Waters
78c3831701 8305341: Alignment should be enforced by alignas instead of compiler specific attributes
Reviewed-by: mdoerr
2023-06-25 23:49:49 +00:00
Julian Waters
c92b049db7 8308780: Fix the Java Integer types on Windows
Reviewed-by: dholmes, djelinski, aivanov
2023-06-25 23:41:54 +00:00
Joe Darcy
0db63ec76d 8310571: Use inline @return tag on java.util.Objects
Reviewed-by: smarks
2023-06-23 22:55:06 +00:00
Justin Lu
dad7bd9efc 8310234: Refactor Locale tests to use JUnit
Reviewed-by: naoto
2023-06-23 21:33:49 +00:00
Joe Darcy
69f3114c41 8310676: add note about unnamed module to Elements.getAllModuleElements
Reviewed-by: jjg
2023-06-23 21:21:41 +00:00
Ioi Lam
bfcca5eff9 8310494: Do not include constantPool.hpp from instanceKlass.hpp
Reviewed-by: stefank, coleenp
2023-06-23 19:42:57 +00:00
Joe Darcy
0314292cb2 8310267: Javadoc for Class#isPrimitive() is incorrect regarding Class objects for primitives
Reviewed-by: prappo
2023-06-23 19:35:57 +00:00
Kevin Walls
a9c0a0f6b9 8310628: GcInfoBuilder.c missing JNI Exception checks
Reviewed-by: mchung, dholmes
2023-06-23 17:42:13 +00:00
Mandy Chung
556831d1bf 8310460: Remove jdeps -profile option
Reviewed-by: alanb
2023-06-23 17:03:02 +00:00
Coleen Phillimore
d91d0d3011 8310537: Fix -Wconversion warnings in gcUtil.hpp
Reviewed-by: ayang, aboldtch
2023-06-23 15:57:16 +00:00
Ben Perez
7628da2008 8279254: PKCS9Attribute SigningTime always encoded in UTFTime
Reviewed-by: jnimeh
2023-06-23 15:31:16 +00:00
Jamil Nimeh
5ca4cdd2ca 8309740: Expand timeout windows for tests in JDK-8179502
Reviewed-by: xuelei, mbaesken
2023-06-23 14:52:12 +00:00
Jie Fu
e78fd46679 8310735: Build failure after JDK-8310577 with GCC8
Reviewed-by: lucy
2023-06-23 14:08:56 +00:00
Christian Stein
4bf78162c5 8309670: java -help output for --module-path / -p is incomplete
Reviewed-by: mchung, alanb
2023-06-23 11:09:37 +00:00
Alexander Zuev
d1d2b55ce0 8309733: [macOS, Accessibility] VoiceOver: Incorrect announcements of JRadioButton
Reviewed-by: abhiscxk, asemenov, prr, serb
2023-06-23 10:11:25 +00:00
Thomas Stuefe
d6685f0869 8310510: Remove WordsPerLong
Reviewed-by: mdoerr
2023-06-23 10:07:32 +00:00
Eric Nothum
31dcda5d67 8295210: IR framework should not whitelist -XX:-UseTLAB
Reviewed-by: thartmann, chagedorn
2023-06-23 07:25:34 +00:00
Daohan Qu
4772893127 8310581: retry_class_loading_during_parsing() is not used
Reviewed-by: kvn, thartmann
2023-06-23 06:32:36 +00:00
Coleen Phillimore
5a82fa3bb2 8310577: Fix -Wconversion warnings in interpreter and oops
Reviewed-by: fparain, matsaave
2023-06-22 19:37:01 +00:00
Matthew Donovan
130a9f1387 8292704: sun/security/tools/jarsigner/compatibility/Compatibility.java use wrong key size for EC
Reviewed-by: rhalade
2023-06-22 18:43:27 +00:00
Joe Darcy
0e4fde3d30 8310453: Update javadoc of java.lang.Object
Reviewed-by: rriggs, alanb
2023-06-22 16:38:39 +00:00
Coleen Phillimore
230bcb769a 8309685: Fix -Wconversion warnings in assembler and register code
Reviewed-by: aph, fparain
2023-06-22 14:22:02 +00:00
Daohan Qu
370b8b2644 8310618: Test serviceability/sa/ClhsdbDumpclass.java fails after 8242152: 'StackMapTable:' missing from stdout/stderr
Reviewed-by: kevinw, dholmes
2023-06-22 13:15:27 +00:00
Per Minborg
5a30fb6664 8310591: Missing @since tags in java.lang.foreign
Reviewed-by: mcimadamore
2023-06-22 11:59:33 +00:00
Erik Gahlin
8976ebf0ec 8310561: JFR: Unify decodeDescriptors(String, String)
Reviewed-by: mgronlun
2023-06-22 10:09:15 +00:00
Matthias Baesken
7da3f1999f 8310549: avoid potential leaks in KeystoreImpl.m related to JNU_CHECK_EXCEPTION early returns
Reviewed-by: weijun
2023-06-22 07:08:54 +00:00
Daohan Qu
8e047029e8 8242152: SA does not include StackMapTables when dumping .class files
Reviewed-by: cjplummer, sspitsyn
2023-06-22 06:45:19 +00:00
Serguei Spitsyn
3bc475ee65 8309909: remove test nsk.jvmti test objmonusage006 from ProblemList-Virtual.txt
Reviewed-by: cjplummer
2023-06-22 06:40:17 +00:00
Alan Bateman
3661cdee1b 8309853: StructuredTaskScope.join description improvements
Reviewed-by: rpressler, darcy
2023-06-22 04:29:13 +00:00
Daniel D. Daugherty
ac44ef19d5 8310586: ProblemList java/lang/ScopedValue/StressStackOverflow.java#default with virtual threads on linux-all
Reviewed-by: dholmes, mikael
2023-06-21 21:07:04 +00:00
Christoph Langer
3be50da636 8310512: Cleanup indentation in jfc files
Reviewed-by: egahlin
2023-06-21 20:04:03 +00:00
Jonathan Gibbons
f286e5a5e1 8310575: no @since for StandardDoclet
Reviewed-by: darcy
2023-06-21 19:56:51 +00:00
Erik Joelsson
16a34e8e1e 8310384: Add hooks for custom image creation
Reviewed-by: mikael, alanb
2023-06-21 18:28:19 +00:00
Jonathan Gibbons
226c6a097d 8309883: no @since info in com.sun.tools.javac package-info.java, Main.java
Reviewed-by: iris, darcy
2023-06-21 18:00:14 +00:00
Coleen Phillimore
fd1163d5f1 8310332: Fix -Wconversion warnings in MethodData
Reviewed-by: aph, fparain
2023-06-21 17:58:29 +00:00
Erik Joelsson
72501cf767 8310379: Relax prerequisites for java.base-jmod target
Reviewed-by: mikael
2023-06-21 17:18:15 +00:00
Erik Gahlin
59c6c0e1b7 8310335: JFR: Modernize collections and switch statements
Reviewed-by: mgronlun
2023-06-21 15:07:42 +00:00
Damon Fenacci
826dcb5424 8264899: C1: -XX:AbortVMOnException does not work if all methods in the call stack are compiled with C1 and there are no exception handlers
Reviewed-by: thartmann, amitkumar, fyang, mdoerr
2023-06-21 12:27:02 +00:00
Erik Gahlin
658c3374d8 8309296: jdk/jfr/event/runtime/TestAgentEvent.java fails due to "missing" dynamic JavaAgent
Reviewed-by: mgronlun
2023-06-21 11:47:25 +00:00
Coleen Phillimore
70e1c92a7f 8310297: assert(static_cast<T1>(result) == thing) with ctw
Reviewed-by: iklam, dholmes
2023-06-21 11:45:37 +00:00
Erik Joelsson
574c6f0ebf 8310376: Extend SetupTarget macro with DIR parameter
Reviewed-by: mikael
2023-06-21 09:57:49 +00:00
Erik Joelsson
7ea22cd385 8310369: UTIL_ARG_WITH fails when arg is disabled
Reviewed-by: mikael
2023-06-21 09:57:26 +00:00
Jan Lahoda
01623f6a57 8310133: Effectivelly final condition not enforced in guards for binding variables from the same case
Reviewed-by: vromero
2023-06-21 09:16:12 +00:00
Jan Lahoda
a15db1a56c 8302865: Illegal bytecode for break from if with instanceof pattern matching condition
Reviewed-by: vromero
2023-06-21 09:15:48 +00:00
Tobias Hartmann
67fbd87378 8310143: RandomCommandsTest fails due to unexpected VM exit code after JDK-8282797
Reviewed-by: rcastanedalo, chagedorn
2023-06-21 07:05:41 +00:00
Matthias Baesken
9eed049098 8310321: make JDKOPT_CHECK_CODESIGN_PARAMS more verbose
Reviewed-by: erikj
2023-06-21 06:49:24 +00:00
Julian Waters
3faba07ae3 8307145: windowsaccessbridge.dll erroneously includes private methods in its C API
Reviewed-by: djelinski
2023-06-21 06:43:03 +00:00
Emanuel Peter
886ac1c261 8308606: C2 SuperWord: remove alignment checks when not required
Reviewed-by: fgao, kvn, pli
2023-06-21 06:40:50 +00:00
Thomas Stuefe
47d00a4cbe 8310265: (process) jspawnhelper should not use argv[0]
Reviewed-by: simonis, rriggs
2023-06-21 04:55:43 +00:00
Jorn Vernee
e022e87654 8310053: VarHandle and slice handle derived from layout are lacking alignment check
Reviewed-by: mcimadamore
2023-06-21 00:03:13 +00:00
David Holmes
45eaf5edd8 8298443: Remove expired flags in JDK 22
Reviewed-by: coleenp, iklam
2023-06-20 23:14:33 +00:00
Ioi Lam
28415adb79 8310225: Reduce inclusion of oopMapCache.hpp and generateOopMap.hpp
Reviewed-by: stuefe, coleenp
2023-06-20 23:12:49 +00:00
David Holmes
4c3efb3910 8309034: NoClassDefFoundError when initializing Long$LongCache
Reviewed-by: coleenp, fparain
2023-06-20 21:58:31 +00:00
Justin Lu
11201067a8 8310458: Fix build failure caused by JDK-8310049
Reviewed-by: rriggs, naoto
2023-06-20 18:16:33 +00:00
Justin Lu
09174e0c99 8310049: Refactor Charset tests to use JUnit
Reviewed-by: lancea, naoto
2023-06-20 17:21:00 +00:00
Daniel Fuchs
99d2a9afa9 8310330: HttpClient: debugging interestOps/readyOps could cause exceptions and smaller cleanup
Reviewed-by: djelinski
2023-06-20 15:51:43 +00:00
Robbin Ehn
31b6fd775f 8309258: RISC-V: Add riscv_hwprobe syscall
Reviewed-by: fjiang, stuefe, fyang, luhenry
2023-06-20 15:12:46 +00:00
Eric Nothum
4a9cc8a000 8309266: C2: assert(final_con == (jlong)final_int) failed: final value should be integer
Reviewed-by: roland, chagedorn
2023-06-20 13:52:45 +00:00
Stefan Karlsson
4e4e586dac 8310194: Generational ZGC: Lock-order asserts in JVMTI IterateThroughHeap
Reviewed-by: eosterlund, aboldtch
2023-06-20 13:46:49 +00:00
Coleen Phillimore
e1906e7641 8310027: Fix -Wconversion warnings in nmethod and compiledMethod related code
Reviewed-by: kvn, fparain
2023-06-20 13:35:11 +00:00
Jan Lahoda
4ca548fe74 8310326: Incorrect position of the synthetic unnamed class
Reviewed-by: jlaskey
2023-06-20 10:34:52 +00:00
Axel Boldt-Christmas
a0595761ef 8310187: Improve Generational ZGC jtreg testing
Reviewed-by: stefank, eosterlund, stuefe
2023-06-20 10:08:13 +00:00
Thomas Schatzl
9a68ec8bb2 8219357: G1: G1GCPhaseTimes::debug_phase uses unnecessary ResourceMark
Reviewed-by: shade, ayang
2023-06-20 09:46:56 +00:00
Damon Fenacci
087887286d 8310020: MacroAssembler::call_VM(_leaf) doesn't consistently check for conflict with C calling convention.
Reviewed-by: thartmann, fyang, mdoerr, amitkumar
2023-06-20 07:40:46 +00:00
Jan Lahoda
79069c5e74 8310314: Misplaced "unnamed classes are a preview feature and are disabled by default" error
Reviewed-by: jlaskey
2023-06-20 07:02:49 +00:00
David Holmes
96a7db7b3c 8309228: Clarify EXPERIMENTAL flags comment in hotspot/share/runtime/globals.hpp
Reviewed-by: stuefe
2023-06-20 06:43:21 +00:00
David Holmes
b2e86aef65 8304478: Initial nroff manpage generation for JDK 22
Reviewed-by: alanb, sspitsyn, mchung, lancea
2023-06-19 22:30:50 +00:00
Michael McMahon
7b45c8fc3a 8241800: Disable IPV6_MULTICAST_ALL to prevent interference from all multicast groups
Reviewed-by: alanb
2023-06-19 21:35:58 +00:00
Ao Qi
137a5f7c2c 8310105: LoongArch64 builds are broken after JDK-8304913
Reviewed-by: shade, rriggs
2023-06-19 21:05:55 +00:00
Roger Riggs
33c6ec9d4e 8310019: MIPS builds are broken after JDK-8304913
Reviewed-by: phh, shade, aoqi
2023-06-19 18:29:14 +00:00
Erik Gahlin
e08e94f1b9 8310266: JFR: Refactor after 'view' command
Reviewed-by: mgronlun
2023-06-19 17:46:23 +00:00
Daniel Fuchs
f8f8bfbea1 8309939: HttpClient should not use Instant.now() as Instant source for deadlines
Reviewed-by: djelinski
2023-06-19 13:26:26 +00:00
Erik Gahlin
7d4b77ad9e 8304835: jdk/jfr/event/oldobject/TestArrayInformation.java fails with "Could not find event with class ... as (leak) object"
Reviewed-by: shade, mgronlun
2023-06-19 11:41:10 +00:00
Albert Mingkun Yang
b896e3e02a 8310146: Removing unused PerfLongVariant::_sampled
Reviewed-by: tschatzl
2023-06-19 11:08:07 +00:00
Prasanta Sadhukhan
d2a858e173 7083187: Class CSS.CssValue is missing implementations of equals() and hashCode()
Co-authored-by: Alexey Ivanov <aivanov@openjdk.org>
Reviewed-by: aivanov, prr
2023-06-19 08:52:06 +00:00
Erik Österlund
4229baf9b6 8310015: ZGC: Unbounded asynchronous unmapping can lead to running out of address space
Reviewed-by: stefank, aboldtch
2023-06-19 07:05:06 +00:00
Roland Westrelin
266f9838ee 8308855: ARM32: TestBooleanVector crashes after 8300257
Reviewed-by: kvn, thartmann
2023-06-19 07:02:10 +00:00
Matthias Baesken
6a63badd8e 8310191: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX
Reviewed-by: alanb, cjplummer
2023-06-19 06:39:58 +00:00
Thomas Stuefe
6473a7df20 8310107: os::trace_page_sizes_for_requested_size should name alignment as requested page size
Reviewed-by: stefank, dholmes
2023-06-19 06:00:50 +00:00
Tobias Hartmann
02aaab12e3 8310126: C1: Missing receiver null check in Reference::get intrinsic
Reviewed-by: roland, shade
2023-06-19 05:08:45 +00:00
Gergö Barany
492d25c8df 8309601: [JVMCI] AMD64#getLargestStorableKind returns incorrect mask kind
Reviewed-by: dnsimon, never
2023-06-19 02:28:05 +00:00
Jaikiran Pai
959a61fdd4 8310259: Pin msys2/setup-msys2 github action to a specific commit
Reviewed-by: cstein, stuefe
2023-06-17 06:02:40 +00:00
Archie Cobbs
bcc4d36857 8309511: Regression test ExtraImportSemicolon.java refers to the wrong bug
Reviewed-by: vromero
2023-06-16 22:49:22 +00:00
Coleen Phillimore
71baf00a2d 8309605: StubRoutines are not used by SA
Reviewed-by: cjplummer
2023-06-16 20:04:08 +00:00
Daniel D. Daugherty
16134f4422 8310211: serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: mikael
2023-06-16 17:38:01 +00:00
Alexey Ivanov
d6c2ee3448 8310054: ScrollPane insets are incorrect
Reviewed-by: honkar, prr
2023-06-16 17:24:07 +00:00
Ben Perez
4eb4f20ae2 8308808: SunMSCAPI public keys returns internal key array
Reviewed-by: mullan
2023-06-16 16:46:54 +00:00
Liam Miller-Cushon
53abba3a5a 8309499: javac fails to report compiler.err.no.java.lang with annotation processing enabled
Co-authored-by: Paula Toth <paulatoth@google.com>
Reviewed-by: vromero
2023-06-16 16:43:22 +00:00
Joe Darcy
cf8d0b0537 8309964: Use directed inheritDoc for javax.lang.model API
Reviewed-by: vromero
2023-06-16 16:43:00 +00:00
Ioi Lam
a45f92961b 8310076: Reduce inclusion of bytecodeStream.hpp
Reviewed-by: dholmes, coleenp
2023-06-16 15:26:26 +00:00
Hannes Wallnöfer
21f6d83358 8309471: Limit key characters in static index pages
Reviewed-by: jjg
2023-06-16 15:04:07 +00:00
Andrew Haley
44a8aa0691 8308609: java/lang/ScopedValue/StressStackOverflow.java fails with "-XX:-VMContinuations"
Reviewed-by: alanb
2023-06-16 12:21:11 +00:00
Per Minborg
b412fc79c3 8309937: Add @sealedGraph for some Panama FFM interfaces
Reviewed-by: mcimadamore
2023-06-16 11:42:55 +00:00
Thomas Schatzl
fb024fde7b 8248149: G1: change _cleaning_claimed from int to bool
Reviewed-by: lkorinth, ayang, kbarrett
2023-06-16 10:04:17 +00:00
Christian Stein
c2b043e6cd 8310183: Update GitHub Actions to use boot JDK for building jtreg
Reviewed-by: shade
2023-06-16 09:58:19 +00:00
Eric Nothum
238c51e621 8293069: Make -XX:+Verbose less verbose
Reviewed-by: thartmann, chagedorn
2023-06-16 09:57:57 +00:00
Kevin Walls
8c9b85a990 8303916: ThreadLists.java inconsistent results
Reviewed-by: cjplummer, dholmes, lmesnik
2023-06-16 08:40:16 +00:00
Alan Bateman
227656f3a9 8309408: Thread.sleep cleanup
Reviewed-by: dholmes, stefank
2023-06-16 07:26:27 +00:00
Aggelos Biboudis
32243ef47d 8310128: Switch with unnamed patterns erroneously non-exhaustive
Reviewed-by: vromero, jlahoda
2023-06-16 07:03:28 +00:00
sunyaqi
cfae6ef2f6 8309778: java/nio/file/Files/CopyAndMove.java fails when using second test directory
Reviewed-by: alanb
2023-06-16 06:15:55 +00:00
Jaikiran Pai
db133dbc02 8310106: sun.security.ssl.SSLHandshake.getHandshakeProducer() incorrectly checks handshakeConsumers
Reviewed-by: wetmore, xuelei
2023-06-16 05:38:10 +00:00
Joe Darcy
353e581a53 8309747: Update --release 21 symbol information for JDK 21 build 27
Reviewed-by: iris
2023-06-15 23:36:27 +00:00
Phil Race
d3d0dbc363 8309756: Occasional crashes with pipewire screen capture on Wayland
Reviewed-by: avu, azvegint
2023-06-15 22:47:57 +00:00
Kim Barrett
92167505b2 8308643: Incorrect value of 'used' jvmstat counter
Reviewed-by: tschatzl, ayang
2023-06-15 22:23:26 +00:00
Man Cao
5c705166da 8309688: Data race on java.io.ClassCache$CacheRef.strongReferent
Reviewed-by: rriggs, shade
2023-06-15 20:13:36 +00:00
Justin Lu
81bfd78901 8309632: JDK 21 RDP1 L10n resource files update
Reviewed-by: naoto
2023-06-15 19:43:07 +00:00
Matthew Donovan
9f64a64376 8301379: Verify TLS_ECDH_* cipher suites cannot be negotiated
Reviewed-by: mullan
2023-06-15 19:15:30 +00:00
Aleksey Shipilev
4a5475ce04 8309953: Strengthen and optimize oopDesc age methods
Reviewed-by: mdoerr, rkennke, tschatzl, stefank
2023-06-15 19:13:24 +00:00
Chris Plummer
79ff72a776 8308499: Test vmTestbase/nsk/jdi/MethodExitRequest/addClassExclusionFilter/filter001/TestDescription.java failed: VMDisconnectedException
Reviewed-by: lmesnik, kevinw
2023-06-15 19:11:12 +00:00
Pavel Rappo
3e0bbd290c 8285368: Overhaul doc-comment inheritance
6376959: Algorithm for Inheriting Method Comments seems to go not as documented
6934301: Support directed inheriting of class comments with @inheritDoc

Reviewed-by: jjg, rriggs, aivanov, smarks, martin
2023-06-15 17:47:41 +00:00
Naoto Sato
3eeb681a0d 8167252: Some of Charset.availableCharsets() does not contain itself
Reviewed-by: bpb, alanb, iris, lancea, jpai
2023-06-15 16:34:00 +00:00
Julian Waters
653a8d0cce 8310129: SetupNativeCompilation LIBS should match the order of the other parameters
Reviewed-by: erikj
2023-06-15 16:29:31 +00:00
Quan Anh Mai
947f14977a 8308444: LoadStoreNode::result_not_used() is too conservative
Reviewed-by: kvn, thartmann
2023-06-15 16:00:18 +00:00
Doug Simon
8b4af46be4 8309974: some JVMCI tests fail when VM options include -XX:+EnableJVMCI
Reviewed-by: dholmes
2023-06-15 15:53:08 +00:00
Vladimir Kozlov
0038491abd 8309978: [x64] Fix useless padding
Reviewed-by: chagedorn, thartmann, shade
2023-06-15 15:32:45 +00:00
Albert Mingkun Yang
5f3613e060 8309960: ParallelGC young collections very slow in DelayInducer
Reviewed-by: tschatzl, iwalulya
2023-06-15 12:01:02 +00:00
Roberto Castañeda Lozano
83d92672d4 8303513: C2: LoadKlassNode::make fails with 'expecting TypeKlassPtr'
Reviewed-by: thartmann, kvn
2023-06-15 10:08:28 +00:00
Martin Doerr
de8aca27ba 8307907: [ppc] Remove RTM locking implementation
Reviewed-by: mbaesken, rrich, stuefe
2023-06-15 09:52:31 +00:00
Johan Sjölen
4c0e164238 8309717: C2: Remove Arena::move_contents usage
Reviewed-by: thartmann, kvn
2023-06-15 08:36:35 +00:00
Vladimir Kempik
6b94289386 8309502: RISC-V: String.indexOf intrinsic may produce misaligned memory loads
Reviewed-by: luhenry, fjiang, fyang
2023-06-15 06:22:21 +00:00
Kim Barrett
181845ae46 8309899: Rename PtrQueueSet::buffer_size()
Reviewed-by: tschatzl, ayang
2023-06-14 22:01:44 +00:00
Ioi Lam
931625a930 8309808: BytecodeTracer prints wrong BSM for invokedynamic
Reviewed-by: coleenp, matsaave
2023-06-14 21:14:01 +00:00
Harshitha Onkar
ee4ab6709e 8309958: Incorrect @since tag format in Container.java
Reviewed-by: dmarkov
2023-06-14 19:49:24 +00:00
Aleksey Shipilev
57b8251241 8309956: Shenandoah: Strengthen the mark word check in string dedup
Reviewed-by: wkemper, zgu, ysr
2023-06-14 16:57:15 +00:00
Erik Joelsson
955fc2faba 8309746: Reconfigure check should include make/conf/version-numbers.conf
Reviewed-by: mikael
2023-06-14 13:27:19 +00:00
Erik Joelsson
554b4d7243 8308585: AC_REQUIRE: `PLATFORM_EXTRACT_TARGET_AND_BUILD' was expanded before it was required
Reviewed-by: mikael
2023-06-14 13:26:54 +00:00
Erik Gahlin
84d010a24b 8309928: JFR: View issues
Reviewed-by: mgronlun
2023-06-14 12:26:51 +00:00
Erik Gahlin
9872a14192 8309959: JFR: Display N/A for missing data amount
Reviewed-by: mgronlun, stuefe
2023-06-14 12:05:27 +00:00
Jorn Vernee
4c18b9e1fa 8309880: Add support for linking libffi on Windows and Mac
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: erikj
2023-06-14 12:03:42 +00:00
Jim Laskey
1d1ed0d8f7 8309957: Rename JDK-8309595 test to conform
Reviewed-by: rriggs
2023-06-14 11:58:03 +00:00
Vladimir Petko
e3d6fc875b 8309847: FrameForm and RegisterForm constructors should initialize all members
Reviewed-by: kvn, thartmann
2023-06-14 11:47:02 +00:00
Martin Doerr
bd79db3930 8309613: [Windows] hs_err files sometimes miss information about the code containing the error
Reviewed-by: dholmes, stuefe
2023-06-14 08:28:39 +00:00
Stefan Karlsson
63fe413d93 8309890: TestStringDeduplicationInterned.java waits for the wrong condition
Reviewed-by: aboldtch, kbarrett
2023-06-14 06:30:05 +00:00
Jaikiran Pai
ba837b4bfa 8309910: Introduce jdk.internal.net.http.HttpConnection.getSNIServerNames() method
Reviewed-by: dfuchs
2023-06-14 01:37:45 +00:00
Ioi Lam
5d193193a3 8309878: Reduce inclusion of resolvedIndyEntry.hpp
Reviewed-by: coleenp, sspitsyn, matsaave
2023-06-14 00:16:12 +00:00
Christian Stein
8aad881e80 8309934: Update GitHub Actions to use JDK 17 for building jtreg
Reviewed-by: erikj
2023-06-13 20:32:29 +00:00
Mandy Chung
9bfe415f66 8305104: Remove the old core reflection implementation
Reviewed-by: dholmes, alanb
2023-06-13 19:41:38 +00:00
Raffaello Giulietti
bfef3c3e80 8309955: Matcher uses @since {@inheritDoc}
Reviewed-by: lancea
2023-06-13 18:40:47 +00:00
Chris Plummer
d7251c1755 8309757: com/sun/jdi/ReferrersTest.java fails with virtual test thread factory
Reviewed-by: sspitsyn, kevinw
2023-06-13 18:07:43 +00:00
Jonathan Gibbons
b5b5b7ce72 8309884: missing @since tags in com.sun.source.*
Reviewed-by: darcy
2023-06-13 17:40:34 +00:00
Chen Liang
75dcc4ef94 8307508: IndirectVarHandle.isAccessModeSupported throws NPE
Reviewed-by: mchung
2023-06-13 17:05:52 +00:00
Ben Perez
bed9161c81 8308474: DSA does not reset SecureRandom when initSign is called again
Reviewed-by: weijun
2023-06-13 16:34:58 +00:00
Tobias Hartmann
3eec179c72 8309854: ciReplay TestServerVM test fails with Graal
Reviewed-by: chagedorn, kvn
2023-06-13 16:13:42 +00:00
Calvin Cheung
14010876dc 8309753: Include array classes in the output of -XX:+PrintSharedArchiveAndExit
Reviewed-by: iklam, matsaave
2023-06-13 15:54:31 +00:00
Stuart Marks
e138685648 8309882: LinkedHashMap adds an errant serializable field
Reviewed-by: darcy, bpb, jpai, rriggs
2023-06-13 15:16:28 +00:00
Doug Simon
c0aa6bf4fe 8309390: [JVMCI] improve copying system properties into libgraal
Reviewed-by: never, kvn
2023-06-13 14:45:33 +00:00
Albert Mingkun Yang
63843b1153 8309907: Remove unused _print_gc_overhead_limit_would_be_exceeded
Reviewed-by: tschatzl
2023-06-13 14:01:53 +00:00
Eric Nothum
6d05360bec 8304403: Remove unused methods in RangeCheckElimination::Bound
Reviewed-by: chagedorn, thartmann
2023-06-13 13:45:59 +00:00
Ivan Bereziuk
9b0baa10b9 8306281: function isWsl() returns false on WSL2
Reviewed-by: erikj
2023-06-13 12:40:54 +00:00
Leo Korinth
c884862ad2 8309468: Remove jvmti Allocate locker test case
Reviewed-by: dholmes, lmesnik, sspitsyn
2023-06-13 12:31:20 +00:00
Markus Grönlund
05f896a153 8309862: Unsafe list operations in JfrStringPool
Reviewed-by: egahlin
2023-06-13 11:47:47 +00:00
Yudi Zheng
4f23fc1f27 8309671: Avoid using jvmci.Compiler property to determine if Graal is enabled
Reviewed-by: dnsimon, sspitsyn
2023-06-13 09:02:37 +00:00
Chen Liang
1a9edb8df9 8309838: Classfile API Util.toBinaryName and other cleanup
Reviewed-by: asotona
2023-06-13 08:57:47 +00:00
Per Minborg
f7de726bd3 8295555: Primitive wrapper caches could be @Stable
Reviewed-by: rriggs
2023-06-13 08:39:00 +00:00
Albert Mingkun Yang
5d716121c1 8309852: G1: Remove unnecessary assert_empty in G1ParScanThreadStateSet destructor
Reviewed-by: tschatzl
2023-06-13 07:54:13 +00:00
Albert Mingkun Yang
23a54f3701 8309538: G1: Move total collection increment from Cleanup to Remark
Reviewed-by: tschatzl, iwalulya
2023-06-13 07:53:34 +00:00
Jaikiran Pai
57fc9a3e96 8309763: Move tests in test/jdk/sun/misc/URLClassPath directory to test/jdk/jdk/internal/loader
Reviewed-by: alanb, mchung
2023-06-13 00:54:35 +00:00
Harshitha Onkar
2dca5ae4fd 8299052: ViewportOverlapping test fails intermittently on Win10 & Win11
Reviewed-by: aivanov
2023-06-12 23:11:52 +00:00
Ashutosh Mehra
3028295fdd 8309065: Move the logic to determine archive heap location from CDS to G1 GC
Reviewed-by: iklam, tschatzl, stuefe
2023-06-12 22:08:47 +00:00
Xue-Lei Andrew Fan
80a8144af5 8309867: redundant class field RSAPadding.md
Reviewed-by: hchao, weijun, valeriep
2023-06-12 20:42:53 +00:00
Ben Perez
3c15ad8d47 8307144: namedParams in XECParameters and EdDSAParameters can be private final
Reviewed-by: jnimeh, xuelei, mullan
2023-06-12 19:45:06 +00:00
Joe Darcy
3ce1240ca1 8309870: Using -proc:full should be considered requesting explicit annotation processing
Reviewed-by: jjg
2023-06-12 18:14:27 +00:00
Chris Plummer
1612b6dc6e 8309752: com/sun/jdi/SetLocalWhileThreadInNative.java fails with virtual test thread factory due to OpaqueFrameException
Reviewed-by: sspitsyn, lmesnik
2023-06-12 18:07:40 +00:00
Jiangli Zhou
45414fc2df 8307858: [REDO] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries
Co-authored-by: Erik Joelsson <erikj@openjdk.org>
Reviewed-by: erikj
2023-06-12 16:22:24 +00:00
Maurizio Cimadamore
a6ad42e00e 8308645: Javadoc of FFM API needs to be refreshed
8309398: ValueLayout:: arrayElementVarHandle doesn't throws UnsupportedOperationException - if byteAlignment() > byteSize()
8308812: SequenceLayout::withElementCount(long elementCount) doesn't throw IllegalArgumentException - if elementCount < 0 for some cases

Reviewed-by: jvernee
2023-06-12 15:55:49 +00:00
Guoxiong Li
07275072aa 8272147: Consolidate preserved marks handling with other STW collectors
Reviewed-by: tschatzl, ayang, rkennke
2023-06-12 15:52:33 +00:00
Guoxiong Li
6cd166a284 8309403: Serial: Remove the useless adaptive size policy in GenCollectedHeap
Reviewed-by: ayang, tschatzl
2023-06-12 15:52:08 +00:00
Scott Gibbons
5d5ae35288 8308966: Add intrinsic for float/double modulo for x86 AVX2 and AVX512
Co-authored-by: Marius Cornea <marius.cornea@intel.com>
Reviewed-by: jbhateja, sviswanathan
2023-06-12 15:06:42 +00:00
Zhengyu Gu
8e4e6b056c 8309761: Leak class loader constraints
Reviewed-by: coleenp, jsjolen
2023-06-12 14:03:17 +00:00
Albert Mingkun Yang
fdaa2c4083 8309306: G1: Move is_obj_dead from HeapRegion to G1CollectedHeap
Reviewed-by: tschatzl, iwalulya
2023-06-12 11:13:05 +00:00
Christian Hagedorn
4bc6bbb23f 8309814: [IR Framework] Dump socket output string in which IR encoding was not found
Reviewed-by: rcastanedalo
2023-06-12 10:46:36 +00:00
JoKern65
cf9e6353cc 8309462: [AIX] vmTestbase/nsk/jvmti/RunAgentThread/agentthr001/TestDescription.java crashing due to empty while loop
Reviewed-by: mbaesken, mdoerr, clanger
2023-06-12 10:01:13 +00:00
Jaikiran Pai
268ec61d4f 8308184: Launching java with large number of jars in classpath with java.protocol.handler.pkgs system property set can lead to StackOverflowError
Reviewed-by: mchung, alanb
2023-06-12 09:45:07 +00:00
Prasanta Sadhukhan
4d4706967d 4516654: Metalworks Demo: Window title not displayed fully in Low Vision Theme
Reviewed-by: tr, aivanov
2023-06-12 08:49:57 +00:00
Jan Lahoda
408cadb351 8309467: Pattern dominance should be adjusted
Reviewed-by: vromero
2023-06-12 08:15:53 +00:00
Emanuel Peter
6c3e621f98 8308749: C2 failed: regular loops only (counted loop inside infinite loop)
Reviewed-by: kvn, chagedorn
2023-06-12 07:40:58 +00:00
Tobias Holenstein
f5cbe53fdd 8027711: Unify wildcarding syntax for CompileCommand and CompileOnly
Reviewed-by: kvn, thartmann, chagedorn
2023-06-12 07:39:23 +00:00
Matthias Baesken
4d66d97745 8309549: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java fails on AIX
Reviewed-by: alanb, cjplummer, sspitsyn
2023-06-12 07:07:38 +00:00
Matthias Baesken
3981297fd3 8309703: AIX build fails after JDK-8280982
Reviewed-by: mdoerr, clanger, azvegint
2023-06-12 06:56:16 +00:00
Ioi Lam
16c3d53b1b 8308603: Removing do_pending_ref/enclosing_ref from MetaspaceClosure
Reviewed-by: ccheung
2023-06-10 19:32:47 +00:00
Kim Barrett
b94b679e9a 8309627: Incorrect sorting of DirtyCardQueue buffers
Reviewed-by: ayang, shade
2023-06-10 17:08:46 +00:00
Daniel D. Daugherty
aace3dc28c 8309760: ProblemList serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java#default with ZGC
Reviewed-by: amenkov
2023-06-10 02:02:34 +00:00
Kevin Driver
80edd5c298 8294985: SSLEngine throws IAE during parsing of X500Principal
Reviewed-by: wetmore, xuelei, mullan
2023-06-09 23:31:12 +00:00
Sergey Bylokhov
bdd81b3182 8304885: Reuse stale data to improve DNS resolver resiliency
Reviewed-by: michaelm, dfuchs
2023-06-09 23:20:06 +00:00
Coleen Phillimore
beec734fdd 8309692: Fix -Wconversion warnings in javaClasses
Reviewed-by: fparain, matsaave
2023-06-09 20:03:48 +00:00
Joe Darcy
7d82479096 8309142: Refactor test/langtools/tools/javac/versions/Versions.java
Reviewed-by: jjg
2023-06-09 19:56:14 +00:00
Alexander Zvegintsev
f5ec93eb88 8309745: Problem list open client tests failing on Ubuntu_23.04
Reviewed-by: aivanov
2023-06-09 19:53:12 +00:00
Chris Hegarty
cee5724d09 8309727: Assert privileges while reading the jdk.incubator.vector.VECTOR_ACCESS_OOB_CHECK system property
Reviewed-by: rriggs, uschindler, psandoz
2023-06-09 19:25:21 +00:00
Matias Saavedra Silva
7d6f97d04d 8309673: Refactor ref_at methods in SA ConstantPool
Reviewed-by: coleenp, fparain, iklam
2023-06-09 19:08:38 +00:00
Joe Darcy
7a970b251d 8309310: Update --release 21 symbol information for JDK 21 build 26
Reviewed-by: iris
2023-06-09 18:53:48 +00:00
Chris Plummer
84184f9473 8232839: JDI AfterThreadDeathTest.java failed due to "FAILED: Did not get expected IllegalThreadStateException on a StepRequest.enable()"
Reviewed-by: sspitsyn, kevinw
2023-06-09 18:01:22 +00:00
Mandy Chung
679a6d8935 8309303: jdk/internal/misc/VM/RuntimeArguments test ignores jdk/internal/vm/options
Reviewed-by: dnsimon, alanb
2023-06-09 16:44:56 +00:00
Harshitha Onkar
6cd370e04b 8305645: System Tray icons get corrupted when Windows primary monitor changes
Reviewed-by: serb, aivanov
2023-06-09 16:11:46 +00:00
Darragh Clarke
a48bcf3671 8308336: Test java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java failed: java.net.BindException: Address already in use
Reviewed-by: dfuchs
2023-06-09 14:06:00 +00:00
Tobias Holenstein
c052756154 8282797: CompileCommand parsing errors should exit VM
Reviewed-by: kvn, chagedorn, thartmann
2023-06-09 13:01:02 +00:00
Claes Redestad
dc842e8587 8309665: Simplify Arrays.copyOf/-Range methods
Reviewed-by: jlaskey, rriggs, alanb
2023-06-09 09:57:39 +00:00
Alan Bateman
307085618d 8309702: Exclude java/lang/ScopedValue/StressStackOverflow.java from JTREG_TEST_THREAD_FACTORY=Virtual runs
Reviewed-by: jpai
2023-06-09 08:33:18 +00:00
Alan Bateman
97df6cf55a 8309545: Thread.interrupted from virtual thread needlessly resets interrupt status
Reviewed-by: rpressler, dholmes, jpai
2023-06-09 07:30:03 +00:00
Serguei Spitsyn
f91e9ba757 8309612: [REDO] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: cjplummer, amenkov
2023-06-09 06:12:48 +00:00
Eric Nothum
0a697e73d5 8307620: [IR Framework] Readme mentions JTREG_WHITE_LIST_FLAGS instead of JTREG_WHITELIST_FLAGS
Reviewed-by: rcastanedalo, chagedorn
2023-06-09 06:09:56 +00:00
Jonathan Gibbons
6f492e8005 8309686: inconsistent URL for https://www.unicode.org/reports/tr35
Reviewed-by: naoto
2023-06-08 22:16:42 +00:00
Stefan Karlsson
c4e6542514 8309675: Generational ZGC: compiler/gcbarriers/UnsafeIntrinsicsTest.java fails in nmt_commit
Reviewed-by: aboldtch, dcubed
2023-06-08 19:41:26 +00:00
Jonathan Gibbons
34f0a6ec6a 8305593: Add @spec tags in java.desktop
Reviewed-by: prr
2023-06-08 19:00:19 +00:00
Jim Laskey
0be39054a6 8309595: Allow javadoc to process unnamed classes
Reviewed-by: hannesw
2023-06-08 17:51:11 +00:00
Alan Bateman
b2a5271e74 8309196: Remove Thread.countStackFrames
Reviewed-by: rriggs, mchung, dholmes, jpai, iris
2023-06-08 17:28:04 +00:00
Tom Rodriguez
bb966827ac 8309498: [JVMCI] race in CallSiteTargetValue recording
Reviewed-by: dnsimon, kvn
2023-06-08 16:11:33 +00:00
Joe Darcy
5a706fb403 8306584: Start of release updates for JDK 22
8306585: Add SourceVersion.RELEASE_22
8306586: Add source 22 and target 22 to javac

Reviewed-by: erikj, iris, dholmes, jlahoda, alanb
2023-06-08 16:02:21 +00:00
6172 changed files with 112838 additions and 145770 deletions

9
.gitattributes vendored
View File

@@ -1 +1,10 @@
* -text
*.java diff=java
*.c diff=cpp
*.h diff=cpp
*.cpp diff=cpp
*.hpp diff=cpp
*.md diff=markdown
*.sh diff=bash
*.html diff=html
*.css diff=css

View File

@@ -66,7 +66,7 @@ runs:
shell: bash
- name: 'Upload build logs'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: failure-logs-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: failure-logs
@@ -74,7 +74,7 @@ runs:
# This is the best way I found to abort the job with an error message
- name: 'Notify about build failures'
uses: actions/github-script@v7
uses: actions/github-script@v6
with:
script: core.setFailed('Build failed. See summary for details.')
if: steps.check.outputs.failure == 'true'

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 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
@@ -65,7 +65,7 @@ runs:
- name: 'Check cache for BootJDK'
id: get-cached-bootjdk
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: bootjdk/jdk
key: boot-jdk-${{ inputs.platform }}-${{ steps.sha256.outputs.value }}
@@ -104,6 +104,6 @@ runs:
- name: 'Export path to where BootJDK is installed'
id: path-name
run: |
# Export the absolute path
echo "path=`pwd`/bootjdk/jdk" >> $GITHUB_OUTPUT
# Export the path
echo 'path=bootjdk/jdk' >> $GITHUB_OUTPUT
shell: bash

View File

@@ -48,14 +48,14 @@ runs:
steps:
- name: 'Download bundles artifact'
id: download-bundles
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles
continue-on-error: true
- name: 'Download bundles artifact (retry)'
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles

View File

@@ -40,7 +40,7 @@ runs:
var: GTEST_VERSION
- name: 'Checkout GTest source'
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
repository: google/googletest
ref: 'v${{ steps.version.outputs.value }}'

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023, 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,13 +41,13 @@ runs:
- name: 'Check cache for JTReg'
id: get-cached-jtreg
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: jtreg/installed
key: jtreg-${{ steps.version.outputs.value }}
- name: 'Checkout the JTReg source'
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}
@@ -56,14 +56,8 @@ runs:
- 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"
bash make/build.sh --jdk "$JAVA_HOME_17_X64"
mkdir ../installed
mv build/images/jtreg/* ../installed
working-directory: jtreg/src

View File

@@ -30,7 +30,8 @@ runs:
using: composite
steps:
- name: 'Install MSYS2'
uses: msys2/setup-msys2@v2.22.0
# use a specific release of msys2/setup-msys2 to prevent jtreg build failures on newer release
uses: msys2/setup-msys2@7efe20baefed56359985e327d329042cde2434ff
with:
install: 'autoconf tar unzip zip make'
path-type: minimal

View File

@@ -69,7 +69,7 @@ runs:
shell: bash
- name: 'Upload bundles artifact'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -44,8 +44,8 @@ for test in $failures $errors; do
base_path="$(echo "$test" | tr '#' '_')"
report_file="$report_dir/$base_path.jtr"
hs_err_files=$(ls $report_dir/$base_path/hs_err*.log 2> /dev/null || true)
replay_files=$(ls $report_dir/$base_path/replay*.log 2> /dev/null || true)
echo "#### <a id="$anchor">$test"
echo '<details><summary>View test results</summary>'
echo ''
echo '```'
@@ -73,20 +73,6 @@ for test in $failures $errors; do
echo ''
fi
if [[ "$replay_files" != "" ]]; then
echo '<details><summary>View HotSpot replay file</summary>'
echo ''
for replay in $replay_files; do
echo '```'
echo "$replay:"
echo ''
cat "$replay"
echo '```'
done
echo '</details>'
echo ''
fi
done >> $GITHUB_STEP_SUMMARY
# With many failures, the summary can easily exceed 1024 kB, the limit set by Github

View File

@@ -42,7 +42,6 @@ error_count=$(echo $errors | wc -w || true)
if [[ "$failures" = "" && "$errors" = "" ]]; then
# We know something went wrong, but not what
echo 'failure=true' >> $GITHUB_OUTPUT
echo 'error-message=Unspecified test suite failure. Please see log for job for details.' >> $GITHUB_OUTPUT
exit 0
fi

View File

@@ -61,36 +61,31 @@ jobs:
debian-arch: arm64
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
- target-cpu: arm
gnu-arch: arm
debian-arch: armhf
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
gnu-abi: eabihf
- target-cpu: s390x
gnu-arch: s390x
debian-arch: s390x
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
- target-cpu: ppc64le
gnu-arch: powerpc64le
debian-arch: ppc64el
debian-repository: https://httpredir.debian.org/debian/
debian-version: bullseye
tolerate-sysroot-errors: false
- target-cpu: riscv64
gnu-arch: riscv64
debian-arch: riscv64
debian-repository: https://httpredir.debian.org/debian/
debian-version: sid
tolerate-sysroot-errors: true
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v4
uses: actions/checkout@v3
- name: 'Get the BootJDK'
id: bootjdk
@@ -98,9 +93,12 @@ jobs:
with:
platform: linux-x64
- name: 'Get GTest'
id: gtest
uses: ./.github/actions/get-gtest
# Use linux-x64 JDK bundle as build JDK
- name: 'Get build JDK'
id: buildjdk
uses: ./.github/actions/get-bundles
with:
platform: linux-x64
# Upgrading apt to solve libc6 installation bugs, see JDK-8260460.
- name: 'Install toolchain and dependencies'
@@ -113,12 +111,13 @@ jobs:
g++-${{ inputs.gcc-major-version }} \
gcc-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} \
g++-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}} \
libxrandr-dev libxtst-dev libcups2-dev libasound2-dev
libxrandr-dev libxtst-dev libcups2-dev libasound2-dev \
debian-ports-archive-keyring
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ inputs.gcc-major-version }} 100 --slave /usr/bin/g++ g++ /usr/bin/g++-${{ inputs.gcc-major-version }}
- name: 'Check cache for sysroot'
id: get-cached-sysroot
uses: actions/cache@v4
uses: actions/cache@v3
with:
path: sysroot
key: sysroot-${{ matrix.debian-arch }}-${{ hashFiles('./.github/workflows/build-cross-compile.yml') }}
@@ -128,7 +127,6 @@ jobs:
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Create sysroot'
id: create-sysroot
run: >
sudo debootstrap
--arch=${{ matrix.debian-arch }}
@@ -136,10 +134,10 @@ jobs:
--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
--resolve-deps
--variant=minbase
$(test -n "${{ matrix.debian-keyring }}" && echo "--keyring=${{ matrix.debian-keyring }}")
${{ matrix.debian-version }}
sysroot
${{ matrix.debian-repository }}
continue-on-error: ${{ matrix.tolerate-sysroot-errors }}
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Prepare sysroot'
@@ -151,12 +149,7 @@ jobs:
rm -rf sysroot/usr/{sbin,bin,share}
rm -rf sysroot/usr/lib/{apt,gcc,udev,systemd}
rm -rf sysroot/usr/libexec/gcc
if: steps.create-sysroot.outcome == 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Remove broken sysroot'
run: |
sudo rm -rf sysroot/
if: steps.create-sysroot.outcome != 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Configure'
run: >
@@ -164,12 +157,12 @@ jobs:
--with-conf-name=linux-${{ matrix.target-cpu }}
--with-version-opt=${GITHUB_ACTOR}-${GITHUB_SHA}
--with-boot-jdk=${{ steps.bootjdk.outputs.path }}
--with-gtest=${{ steps.gtest.outputs.path }}
--with-zlib=system
--enable-debug
--disable-precompiled-headers
--openjdk-target=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}
--with-sysroot=sysroot
--with-build-jdk=${{ steps.buildjdk.outputs.jdk-path }}
--with-jmod-compress=zip-1
CC=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-gcc-${{ inputs.gcc-major-version }}
CXX=${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}-g++-${{ inputs.gcc-major-version }}
@@ -177,7 +170,6 @@ jobs:
echo "Dumping config.log:" &&
cat config.log &&
exit 1)
if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'
- name: 'Build'
id: build
@@ -185,4 +177,3 @@ jobs:
with:
make-target: 'hotspot ${{ inputs.make-arguments }}'
platform: linux-${{ matrix.target-cpu }}
if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'

View File

@@ -78,7 +78,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v4
uses: actions/checkout@v3
- name: 'Get the BootJDK'
id: bootjdk

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2023, 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,9 +31,6 @@ on:
platform:
required: true
type: string
runs-on:
required: true
type: string
extra-conf-options:
required: false
type: string
@@ -58,7 +55,7 @@ on:
jobs:
build-macos:
name: build
runs-on: ${{ inputs.runs-on }}
runs-on: macos-11
strategy:
fail-fast: false
@@ -71,13 +68,13 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v4
uses: actions/checkout@v3
- name: 'Get the BootJDK'
id: bootjdk
uses: ./.github/actions/get-bootjdk
with:
platform: ${{ inputs.platform }}
platform: macos-x64
- name: 'Get JTReg'
id: jtreg
@@ -90,7 +87,7 @@ jobs:
- name: 'Install toolchain and dependencies'
run: |
# Run Homebrew installation and xcode-select
brew install autoconf make
brew install make
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

View File

@@ -79,7 +79,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v4
uses: actions/checkout@v3
- name: 'Get MSYS2'
uses: ./.github/actions/get-msys2

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 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
@@ -132,7 +132,8 @@ jobs:
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'
# The linux-x64 jdk bundle is used as buildjdk for the cross-compile job
if: needs.select.outputs.linux-x64 == 'true' || needs.select.outputs.linux-cross-compile == 'true'
build-linux-x86:
name: linux-x86
@@ -212,6 +213,7 @@ jobs:
name: linux-cross-compile
needs:
- select
- build-linux-x64
uses: ./.github/workflows/build-cross-compile.yml
with:
gcc-major-version: '10'
@@ -225,8 +227,7 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-x64
runs-on: 'macos-13'
xcode-toolset-version: '14.3.1'
xcode-toolset-version: '12.5.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-x64 == 'true'
@@ -237,8 +238,8 @@ jobs:
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
runs-on: 'macos-14'
xcode-toolset-version: '14.3.1'
xcode-toolset-version: '12.5.1'
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-aarch64 == 'true'
@@ -317,17 +318,7 @@ jobs:
with:
platform: macos-x64
bootjdk-platform: macos-x64
runs-on: macos-13
test-macos-aarch64:
name: macos-aarch64
needs:
- build-macos-aarch64
uses: ./.github/workflows/test.yml
with:
platform: macos-aarch64
bootjdk-platform: macos-aarch64
runs-on: macos-14
runs-on: macos-11
test-windows-x64:
name: windows-x64
@@ -362,23 +353,26 @@ jobs:
- 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@v6
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
# See: https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28
ALL_ARTIFACT_IDS="$(curl -sL \
-H 'Accept: application/vnd.github+json' \
-H 'Authorization: Bearer ${{ github.token }}' \
-H 'X-GitHub-Api-Version: 2022-11-28' \
'${{ github.api_url }}/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts')"
BUNDLE_ARTIFACT_IDS="$(echo "$ALL_ARTIFACT_IDS" | jq -r -c '.artifacts | map(select(.name|startswith("bundles-"))) | .[].id')"
for id in $BUNDLE_ARTIFACT_IDS; do
echo "Removing $id"
curl -sL \
-X DELETE \
-H 'Accept: application/vnd.github+json' \
-H 'Authorization: Bearer ${{ github.token }}' \
-H 'X-GitHub-Api-Version: 2022-11-28' \
"${{ github.api_url }}/repos/${{ github.repository }}/actions/artifacts/$id" \
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, 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
@@ -60,10 +60,7 @@ jobs:
- 'jdk/tier1 part 3'
- 'langtools/tier1'
- 'hs/tier1 common'
- 'hs/tier1 compiler part 1'
- 'hs/tier1 compiler part 2'
- 'hs/tier1 compiler part 3'
- 'hs/tier1 compiler not-xcomp'
- 'hs/tier1 compiler'
- 'hs/tier1 gc'
- 'hs/tier1 runtime'
- 'hs/tier1 serviceability'
@@ -86,20 +83,8 @@ jobs:
test-suite: 'test/hotspot/jtreg/:tier1_common'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler part 1'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_1'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler part 2'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_2'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler part 3'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_3'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler not-xcomp'
test-suite: 'test/hotspot/jtreg/:tier1_compiler_not_xcomp'
- test-name: 'hs/tier1 compiler'
test-suite: 'test/hotspot/jtreg/:tier1_compiler'
debug-suffix: -debug
- test-name: 'hs/tier1 gc'
@@ -120,7 +105,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v4
uses: actions/checkout@v3
- name: 'Get MSYS2'
uses: ./.github/actions/get-msys2
@@ -147,7 +132,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_11.7.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'
@@ -211,7 +196,7 @@ jobs:
if: always()
- name: 'Upload test results'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
path: results
name: ${{ steps.package.outputs.artifact-name }}
@@ -219,7 +204,7 @@ jobs:
# This is the best way I found to abort the job with an error message
- name: 'Notify about test failures'
uses: actions/github-script@v7
uses: actions/github-script@v6
with:
script: core.setFailed('${{ steps.run-tests.outputs.error-message }}')
if: steps.run-tests.outputs.failure == 'true'

View File

@@ -1,7 +1,7 @@
[general]
project=jdk-updates
project=jdk
jbs=JDK
version=21.0.5
version=22
[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists

View File

@@ -1,3 +1,3 @@
# Contributing to the JDK
Please see <https://openjdk.org/contribute> for how to contribute.
Please see the [OpenJDK Developers Guide](https://openjdk.org/guide/).

View File

@@ -324,7 +324,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 Windows 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
@@ -401,7 +402,8 @@ to the build system, e.g. in arguments to <code>configure</code>. So,
use <code>--with-msvcr-dll=/cygdrive/c/msvcr100.dll</code> rather than
<code>--with-msvcr-dll=c:\msvcr100.dll</code>. For details on this
conversion, see the section on <a href="#fixpath">Fixpath</a>.</p>
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in a future release.</p>
<p>Note: The Windows 32-bit x86 port is deprecated and may be removed in
a future release.</p>
<h4 id="cygwin">Cygwin</h4>
<p>A functioning <a href="http://www.cygwin.com/">Cygwin</a> environment
is required for building the JDK on Windows. If you have a 64-bit OS, we
@@ -1113,13 +1115,13 @@ just unpacked.</p>
Test framework. The top directory, which contains both
<code>googletest</code> and <code>googlemock</code> directories, should
be specified via <code>--with-gtest</code>. The minimum supported
version of Google Test is 1.13.0, whose source code can be obtained:</p>
version of Google Test is 1.14.0, whose source code can be obtained:</p>
<ul>
<li>by downloading and unpacking the source bundle from <a
href="https://github.com/google/googletest/releases/tag/v1.13.0">here</a></li>
<li>or by checking out <code>v1.13.0</code> tag of
href="https://github.com/google/googletest/releases/tag/v1.14.0">here</a></li>
<li>or by checking out <code>v1.14.0</code> tag of
<code>googletest</code> project:
<code>git clone -b v1.13.0 https://github.com/google/googletest</code></li>
<code>git clone -b v1.14.0 https://github.com/google/googletest</code></li>
</ul>
<p>To execute the most basic tests (tier 1), use:</p>
<pre><code>make run-test-tier1</code></pre>
@@ -2255,18 +2257,7 @@ However, please bear in mind that the JDK is a massive project, and we
must ask you to follow our rules and guidelines to be able to accept
your contribution.</p>
<p>The official place to start is the <a
href="http://openjdk.org/contribute/">'How to contribute' page</a>.
There is also an official (but somewhat outdated and skimpy on details)
<a href="http://openjdk.org/guide/">Developer's Guide</a>.</p>
<p>If this seems overwhelming to you, the Adoption Group is there to
help you! A good place to start is their <a
href="https://wiki.openjdk.org/display/Adoption/New+Contributor">'New
Contributor' page</a>, or start reading the comprehensive <a
href="https://adoptopenjdk.gitbooks.io/adoptopenjdk-getting-started-kit/en/">Getting
Started Kit</a>. The Adoption Group will also happily answer any
questions you have about contributing. Contact them by <a
href="http://mail.openjdk.org/mailman/listinfo/adoption-discuss">mail</a>
or <a href="http://openjdk.org/irc/">IRC</a>.</p>
href="https://openjdk.org/guide/">OpenJDK Developers Guide</a>.</p>
<h2 id="editing-this-document">Editing this document</h2>
<p>If you want to contribute changes to this document, edit
<code>doc/building.md</code> and then run

View File

@@ -884,11 +884,11 @@ Download the latest `.tar.gz` file, unpack it, and point `--with-jtreg` to the
Building of Hotspot Gtest suite requires the source code of Google
Test framework. The top directory, which contains both `googletest`
and `googlemock` directories, should be specified via `--with-gtest`.
The minimum supported version of Google Test is 1.13.0, whose source
The minimum supported version of Google Test is 1.14.0, whose source
code can be obtained:
* by downloading and unpacking the source bundle from [here](https://github.com/google/googletest/releases/tag/v1.13.0)
* or by checking out `v1.13.0` tag of `googletest` project: `git clone -b v1.13.0 https://github.com/google/googletest`
* by downloading and unpacking the source bundle from [here](https://github.com/google/googletest/releases/tag/v1.14.0)
* or by checking out `v1.14.0` tag of `googletest` project: `git clone -b v1.14.0 https://github.com/google/googletest`
To execute the most basic tests (tier 1), use:
```
@@ -2032,20 +2032,7 @@ First of all: Thank you! We gladly welcome your contribution.
However, please bear in mind that the JDK is a massive project, and we must ask
you to follow our rules and guidelines to be able to accept your contribution.
The official place to start is the ['How to contribute' page](
http://openjdk.org/contribute/). There is also an official (but somewhat
outdated and skimpy on details) [Developer's Guide](
http://openjdk.org/guide/).
If this seems overwhelming to you, the Adoption Group is there to help you! A
good place to start is their ['New Contributor' page](
https://wiki.openjdk.org/display/Adoption/New+Contributor), or start
reading the comprehensive [Getting Started Kit](
https://adoptopenjdk.gitbooks.io/adoptopenjdk-getting-started-kit/en/). The
Adoption Group will also happily answer any questions you have about
contributing. Contact them by [mail](
http://mail.openjdk.org/mailman/listinfo/adoption-discuss) or [IRC](
http://openjdk.org/irc/).
The official place to start is the [OpenJDK Developers Guide](https://openjdk.org/guide/).
## Editing this document

View File

@@ -179,9 +179,8 @@ more tab-completion friendly. For more complex test runs, the
<p>The test specifications given in <code>TEST</code> is parsed into
fully qualified test descriptors, which clearly and unambigously show
which tests will be run. As an example, <code>:tier1</code> will expand
to include all subcomponent test directories that define `tier1`,
for example:
<code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 ...</code>.
to
<code>jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1 jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1</code>.
You can always submit a list of fully qualified test descriptors in the
<code>TEST</code> variable if you want to shortcut the parser.</p>
<h3 id="common-test-groups">Common Test Groups</h3>
@@ -578,15 +577,12 @@ PKCS11 tests. Improper NSS version may lead to unexpected failures which
are hard to diagnose. For example,
sun/security/pkcs11/Secmod/AddTrustedCert.java may fail on Ubuntu 18.04
with the default NSS version in the system. To run these tests
correctly, the system property
<code>jdk.test.lib.artifacts.&lt;NAME&gt;</code> is required on Ubuntu
18.04 to specify the alternative NSS lib directory. The
<code>&lt;NAME&gt;</code> component should be replaced with the name
element of the appropriate <code>@Artifact</code> class. (See
<code>test/jdk/sun/security/pkcs11/PKCS11Test.java</code>)</p>
correctly, the system property <code>test.nss.lib.paths</code> is
required on Ubuntu 18.04 to specify the alternative NSS lib
directories.</p>
<p>For example:</p>
<pre><code>$ make test TEST=&quot;jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java&quot; \
JTREG=&quot;JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs&quot;</code></pre>
JTREG=&quot;JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/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="client-ui-tests">Client UI Tests</h3>

View File

@@ -102,11 +102,11 @@ test runs, the `test TEST="x"` solution needs to be used.
The test specifications given in `TEST` is parsed into fully qualified test
descriptors, which clearly and unambigously show which tests will be run. As an
example, `:tier1` will expand to include all subcomponent test directories
that define `tier1`, for example: `jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1
jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1 ...`. You
can always submit a list of fully qualified test descriptors in the `TEST`
variable if you want to shortcut the parser.
example, `:tier1` will expand to `jtreg:$(TOPDIR)/test/hotspot/jtreg:tier1
jtreg:$(TOPDIR)/test/jdk:tier1 jtreg:$(TOPDIR)/test/langtools:tier1
jtreg:$(TOPDIR)/test/nashorn:tier1 jtreg:$(TOPDIR)/test/jaxp:tier1`. You can
always submit a list of fully qualified test descriptors in the `TEST` variable
if you want to shortcut the parser.
### Common Test Groups
@@ -600,16 +600,14 @@ It is highly recommended to use the latest NSS version when running PKCS11
tests. Improper NSS version may lead to unexpected failures which are hard to
diagnose. For example, sun/security/pkcs11/Secmod/AddTrustedCert.java may fail
on Ubuntu 18.04 with the default NSS version in the system. To run these tests
correctly, the system property `jdk.test.lib.artifacts.<NAME>` is required on
Ubuntu 18.04 to specify the alternative NSS lib directory. The `<NAME>`
component should be replaced with the name element of the appropriate
`@Artifact` class. (See `test/jdk/sun/security/pkcs11/PKCS11Test.java`)
correctly, the system property `test.nss.lib.paths` is required on Ubuntu 18.04
to specify the alternative NSS lib directories.
For example:
```
$ make test TEST="jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java" \
JTREG="JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs"
JTREG="JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs"
```
For more notes about the PKCS11 tests, please refer to

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2022, 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
@@ -81,11 +81,13 @@ endif
ifneq ($(CMDS_DIR), )
DEPS += $(call FindFiles, $(CMDS_DIR))
ifeq ($(call isTargetOs, windows)+$(SHIP_DEBUG_SYMBOLS), true+public)
# For public debug symbols on Windows, we have to use stripped pdbs and rename them
# For public debug symbols on Windows, we have to use stripped pdbs, rename them
# and filter out a few launcher pdbs where there's a lib that goes by the same name
rename_stripped = $(patsubst %.stripped.pdb,%.pdb,$1)
CMDS_DIR_FILTERED := $(subst modules_cmds,modules_cmds_filtered, $(CMDS_DIR))
FILES_CMDS := $(filter-out %.pdb, $(call FindFiles, $(CMDS_DIR))) \
$(filter %.stripped.pdb, $(call FindFiles, $(CMDS_DIR)))
$(filter-out %jimage.stripped.pdb %jpackage.stripped.pdb %java.stripped.pdb, \
$(filter %.stripped.pdb, $(call FindFiles, $(CMDS_DIR))))
$(eval $(call SetupCopyFiles, COPY_FILTERED_CMDS, \
SRC := $(CMDS_DIR), \
DEST := $(CMDS_DIR_FILTERED), \
@@ -94,6 +96,18 @@ ifneq ($(CMDS_DIR), )
))
DEPS += $(COPY_FILTERED_CMDS)
JMOD_FLAGS += --cmds $(CMDS_DIR_FILTERED)
else ifeq ($(call isTargetOs, windows)+$(SHIP_DEBUG_SYMBOLS), true+full)
# For full debug symbols on Windows, we have to filter out a few launcher pdbs
# where there's a lib that goes by the same name
CMDS_DIR_FILTERED := $(subst modules_cmds,modules_cmds_filtered, $(CMDS_DIR))
$(eval $(call SetupCopyFiles, COPY_FILTERED_CMDS, \
SRC := $(CMDS_DIR), \
DEST := $(CMDS_DIR_FILTERED), \
FILES := $(filter-out %jimage.pdb %jpackage.pdb %java.pdb, \
$(call FindFiles, $(CMDS_DIR))), \
))
DEPS += $(COPY_FILTERED_CMDS)
JMOD_FLAGS += --cmds $(CMDS_DIR_FILTERED)
else
JMOD_FLAGS += --cmds $(CMDS_DIR)
endif

View File

@@ -67,7 +67,6 @@ MODULES_SOURCE_PATH := $(call PathList, $(call GetModuleSrcPath) )
# ordering of tags as the tags are otherwise ordered in order of definition.
JAVADOC_TAGS := \
-tag beaninfo:X \
-tag revised:X \
-tag since.unbundled:X \
-tag Note:X \
-tag ToDo:X \

View File

@@ -43,10 +43,10 @@ $(eval $(call SetupCopyFiles, COPY_JDK_IMG, \
TARGETS += $(COPY_JDK_IMG)
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS, \
SRC := $(STATIC_LIBS_IMAGE_DIR)/lib, \
SRC := $(STATIC_LIBS_GRAAL_IMAGE_DIR)/lib, \
DEST := $(GRAAL_BUILDER_IMAGE_DIR)/lib, \
FILES := $(filter %$(STATIC_LIBRARY_SUFFIX), \
$(call FindFiles, $(STATIC_LIBS_IMAGE_DIR)/lib)), \
$(call FindFiles, $(STATIC_LIBS_GRAAL_IMAGE_DIR)/lib)), \
))
TARGETS += $(COPY_STATIC_LIBS)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, 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
@@ -29,6 +29,7 @@ include $(SPEC)
include MakeBase.gmk
include Execute.gmk
include Modules.gmk
include Utils.gmk
JDK_TARGETS :=
JRE_TARGETS :=
@@ -39,7 +40,7 @@ $(eval $(call IncludeCustomExtension, Images-pre.gmk))
################################################################################
# All modules for the current target platform.
ALL_MODULES := $(call FindAllModules)
ALL_MODULES := $(call FindAllModules) $(EXTRA_MODULES)
$(eval $(call ReadImportMetaData))
@@ -54,7 +55,10 @@ JDK_MODULES_LIST := $(call CommaList, $(JDK_MODULES))
BASE_RELEASE_FILE := $(JDK_OUTPUTDIR)/release
JMODS := $(wildcard $(IMAGES_OUTPUTDIR)/jmods/*.jmod)
JMODS_DIRS := $(EXTRA_JMODS_DIR) $(IMAGES_OUTPUTDIR)/jmods
JDK_JMODS := $(foreach m, $(JDK_MODULES), $(firstword $(wildcard $(addsuffix /$m.jmod, $(JMODS_DIRS)))))
JRE_JMODS := $(foreach m, $(JRE_MODULES), $(firstword $(wildcard $(addsuffix /$m.jmod, $(JMODS_DIRS)))))
JLINK_ORDER_RESOURCES := **module-info.class
JLINK_JLI_CLASSES :=
@@ -71,7 +75,7 @@ JLINK_ORDER_RESOURCES += \
#
JLINK_TOOL := $(JLINK) -J-Djlink.debug=true \
--module-path $(IMAGES_OUTPUTDIR)/jmods \
--module-path $(call PathList, $(JMODS_DIRS)) \
--endian $(OPENJDK_TARGET_CPU_ENDIAN) \
--release-info $(BASE_RELEASE_FILE) \
--order-resources=$(call CommaList, $(JLINK_ORDER_RESOURCES)) \
@@ -87,12 +91,15 @@ endif
JLINK_DISABLE_WARNINGS := | ( $(GREP) -v -e "WARNING: Using incubator module" || test "$$?" = "1" )
JDK_IMAGE_SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jdk
JRE_IMAGE_SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jre
$(eval $(call SetupExecute, jlink_jdk, \
WARN := Creating jdk image, \
DEPS := $(JMODS) $(BASE_RELEASE_FILE) \
$(call DependOnVariable, JDK_MODULES_LIST), \
DEPS := $(JDK_JMODS) $(BASE_RELEASE_FILE) \
$(call DependOnVariable, JDK_MODULES_LIST, $(JDK_IMAGE_SUPPORT_DIR)/_jlink_jdk.vardeps), \
OUTPUT_DIR := $(JDK_IMAGE_DIR), \
SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jdk, \
SUPPORT_DIR := $(JDK_IMAGE_SUPPORT_DIR), \
PRE_COMMAND := $(RM) -r $(JDK_IMAGE_DIR), \
COMMAND := $(JLINK_TOOL) --add-modules $(JDK_MODULES_LIST) \
$(JLINK_JDK_EXTRA_OPTS) --output $(JDK_IMAGE_DIR) \
@@ -103,10 +110,10 @@ JLINK_JDK_TARGETS := $(jlink_jdk)
$(eval $(call SetupExecute, jlink_jre, \
WARN := Creating legacy jre image, \
DEPS := $(JMODS) $(BASE_RELEASE_FILE) \
$(call DependOnVariable, JDK_MODULES_LIST), \
DEPS := $(JRE_JMODS) $(BASE_RELEASE_FILE) \
$(call DependOnVariable, JRE_MODULES_LIST, $(JRE_IMAGE_SUPPORT_DIR)/_jlink_jre.vardeps), \
OUTPUT_DIR := $(JRE_IMAGE_DIR), \
SUPPORT_DIR := $(SUPPORT_OUTPUTDIR)/images/jre, \
SUPPORT_DIR := $(JRE_IMAGE_SUPPORT_DIR), \
PRE_COMMAND := $(RM) -r $(JRE_IMAGE_DIR), \
COMMAND := $(JLINK_TOOL) --add-modules $(JRE_MODULES_LIST) \
$(JLINK_JRE_EXTRA_OPTS) --output $(JRE_IMAGE_DIR), \
@@ -142,7 +149,7 @@ define CreateCDSArchive
INFO := Using CDS flags for $1: $$($1_$2_CDS_DUMP_FLAGS), \
DEPS := $$(jlink_jdk), \
OUTPUT_FILE := $$(JDK_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE), \
SUPPORT_DIR := $$(SUPPORT_OUTPUTDIR)/images/jdk, \
SUPPORT_DIR := $$(JDK_IMAGE_SUPPORT_DIR), \
COMMAND := $$(FIXPATH) $$(JDK_IMAGE_DIR)/bin/java -Xshare:dump \
-XX:SharedArchiveFile=$$(JDK_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE) \
-$1 $$($1_$2_DUMP_EXTRA_ARG) $$($1_$2_CDS_DUMP_FLAGS) $$(LOG_INFO), \
@@ -155,7 +162,7 @@ define CreateCDSArchive
INFO := Using CDS flags for $1: $$($1_$2_CDS_DUMP_FLAGS), \
DEPS := $$(jlink_jre), \
OUTPUT_FILE := $$(JRE_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE), \
SUPPORT_DIR := $$(SUPPORT_OUTPUTDIR)/images/jre, \
SUPPORT_DIR := $$(JRE_IMAGE_SUPPORT_DIR), \
COMMAND := $$(FIXPATH) $$(JRE_IMAGE_DIR)/bin/java -Xshare:dump \
-XX:SharedArchiveFile=$$(JRE_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE) \
-$1 $$($1_$2_DUMP_EXTRA_ARG) $$($1_$2_CDS_DUMP_FLAGS) $$(LOG_INFO), \
@@ -267,6 +274,9 @@ else
endif
endif
FILTERED_PDBS := %jimage.stripped.pdb %jpackage.stripped.pdb %java.stripped.pdb \
%jimage.pdb %jpackage.pdb %java.pdb %jimage.map %jpackage.map %java.map
# Param 1 - either JDK or JRE
SetupCopyDebuginfo = \
$(foreach m, $(ALL_$1_MODULES), \
@@ -280,8 +290,8 @@ SetupCopyDebuginfo = \
$(eval $(call SetupCopyFiles, COPY_$1_CMDS_DEBUGINFO_$m, \
SRC := $(SUPPORT_OUTPUTDIR)/modules_cmds/$m, \
DEST := $($1_IMAGE_DIR)/$(CMDS_TARGET_SUBDIR), \
FILES := $(call FindDebuginfoFiles, \
$(SUPPORT_OUTPUTDIR)/modules_cmds/$m), \
FILES := $(filter-out $(FILTERED_PDBS), $(call FindDebuginfoFiles, \
$(SUPPORT_OUTPUTDIR)/modules_cmds/$m)), \
)) \
$(eval $1_TARGETS += $$(COPY_$1_CMDS_DEBUGINFO_$m)) \
)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2022, 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
@@ -46,10 +46,8 @@ JIMAGE_PKGS := \
jdk/internal/jrtfs \
#
# Compile jrt-fs.jar with the interim compiler, as it
# ends up in the image, this will ensure reproducible classes
$(eval $(call SetupJavaCompilation, BUILD_JRTFS, \
COMPILER := interim, \
COMPILER := bootjdk, \
DISABLED_WARNINGS := options, \
TARGET_RELEASE := $(TARGET_RELEASE_JDK8), \
SRC := $(TOPDIR)/src/java.base/share/classes, \

View File

@@ -233,6 +233,7 @@ ALL_TARGETS += $(LAUNCHER_TARGETS)
HOTSPOT_VARIANT_TARGETS := $(addprefix hotspot-, $(JVM_VARIANTS))
HOTSPOT_VARIANT_GENSRC_TARGETS := $(addsuffix -gensrc, $(HOTSPOT_VARIANT_TARGETS))
HOTSPOT_VARIANT_LIBS_TARGETS := $(addsuffix -libs, $(HOTSPOT_VARIANT_TARGETS))
HOTSPOT_VARIANT_STATIC_LIBS_TARGETS := $(addsuffix -static-libs, $(HOTSPOT_VARIANT_TARGETS))
define DeclareHotspotGensrcRecipe
hotspot-$1-gensrc:
@@ -251,6 +252,14 @@ endef
$(foreach v, $(JVM_VARIANTS), $(eval $(call DeclareHotspotLibsRecipe,$v)))
define DeclareHotspotStaticLibsRecipe
hotspot-$1-static-libs:
+($(CD) $(TOPDIR)/make/hotspot && $(MAKE) $(MAKE_ARGS) -f lib/CompileLibraries.gmk \
JVM_VARIANT=$1 STATIC_LIBS=true)
endef
$(foreach v, $(JVM_VARIANTS), $(eval $(call DeclareHotspotStaticLibsRecipe,$v)))
$(eval $(call SetupTarget, hotspot-ide-project, \
MAKEFILE := ide/visualstudio/hotspot/CreateVSProject, \
DEPS := hotspot exploded-image, \
@@ -298,7 +307,7 @@ $(eval $(call SetupTarget, eclipse-shared-mixed-env, \
))
ALL_TARGETS += $(HOTSPOT_VARIANT_TARGETS) $(HOTSPOT_VARIANT_GENSRC_TARGETS) \
$(HOTSPOT_VARIANT_LIBS_TARGETS)
$(HOTSPOT_VARIANT_LIBS_TARGETS) $(HOTSPOT_VARIANT_STATIC_LIBS_TARGETS)
################################################################################
# Help and user support
@@ -462,6 +471,12 @@ $(eval $(call SetupTarget, symbols-image, \
$(eval $(call SetupTarget, static-libs-image, \
MAKEFILE := StaticLibsImage, \
TARGET := static-libs-image, \
))
$(eval $(call SetupTarget, static-libs-graal-image, \
MAKEFILE := StaticLibsImage, \
TARGET := static-libs-graal-image, \
))
$(eval $(call SetupTarget, mac-jdk-bundle, \
@@ -489,7 +504,7 @@ $(eval $(call SetupTarget, exploded-image-optimize, \
$(eval $(call SetupTarget, graal-builder-image, \
MAKEFILE := GraalBuilderImage, \
DEPS := jdk-image static-libs-image, \
DEPS := jdk-image static-libs-graal-image, \
))
ifeq ($(JCOV_ENABLED), true)
@@ -889,6 +904,7 @@ else
$(foreach v, $(JVM_VARIANTS), \
$(eval hotspot-$v-gensrc: java.base-copy buildtools-hotspot) \
$(eval hotspot-$v-libs: hotspot-$v-gensrc java.base-copy) \
$(eval hotspot-$v-static-libs: hotspot-$v-gensrc java.base-copy) \
)
# If not already set, set the JVM variant target so that the JVM will be built.
@@ -951,11 +967,15 @@ else
jdk.compiler-gendata: $(GENSRC_MODULEINFO_TARGETS)
# Declare dependencies between jmod targets.
# java.base jmod needs jrt-fs.jar and access to the other jmods to be built.
# java.base jmod needs jrt-fs.jar and access to the jmods for all non
# upgradeable modules and their transitive dependencies.
# When creating the BUILDJDK, we don't need to add hashes to java.base, thus
# we don't need to depend on all other jmods
ifneq ($(CREATING_BUILDJDK), true)
java.base-jmod: jrtfs-jar $(filter-out java.base-jmod, $(JMOD_TARGETS))
java.base-jmod: jrtfs-jar $(addsuffix -jmod, $(filter-out java.base, $(sort \
$(foreach m, $(filter-out $(call FindAllUpgradeableModules), $(JMOD_MODULES)), \
$m $(call FindTransitiveDepsForModules, $m) \
))))
endif
# If not already set, set the JVM target so that the JVM will be built.
@@ -1047,7 +1067,9 @@ else
symbols-image: $(LIBS_TARGETS) $(LAUNCHER_TARGETS)
static-libs-image: $(STATIC_LIBS_TARGETS)
static-libs-image: hotspot-static-libs $(STATIC_LIBS_TARGETS)
static-libs-graal-image: $(STATIC_LIBS_TARGETS)
bootcycle-images: jdk-image
@@ -1097,6 +1119,7 @@ hotspot: $(HOTSPOT_VARIANT_TARGETS)
$(foreach v, $(JVM_VARIANTS), \
$(eval hotspot-libs: hotspot-$v-libs) \
$(eval hotspot-gensrc: hotspot-$v-gensrc) \
$(eval hotspot-static-libs: hotspot-$v-static-libs) \
)
gensrc: $(GENSRC_TARGETS)
@@ -1259,7 +1282,8 @@ all-images: product-images 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
ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-gensrc gensrc gendata \
ALL_TARGETS += buildtools hotspot hotspot-libs hotspot-static-libs \
hotspot-gensrc gensrc gendata \
copy java libs static-libs launchers jmods \
jdk.jdwp.agent-gensrc $(ALL_MODULES) demos \
exploded-image-base exploded-image runnable-buildjdk \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -38,11 +38,16 @@ _MAINSUPPORT_GMK := 1
# TARGET the makefile target
# ARGS arguments to the makefile
# DEPS the target(s) this new rule depends on
# DIR the directory of the makefile (defaults to $(TOPDIR)/make)
#
SetupTarget = $(NamedParamsMacroTemplate)
define SetupTargetBody
ifeq ($$($1_DIR), )
$1_DIR := $(TOPDIR)/make
endif
$1:
+($(CD) $(TOPDIR)/make && $(MAKE) $(MAKE_ARGS) -f $$($1_MAKEFILE).gmk $$($1_TARGET) $$($1_ARGS))
+($(CD) $$($1_DIR) && $(MAKE) $(MAKE_ARGS) -f $$($1_MAKEFILE).gmk $$($1_TARGET) $$($1_ARGS))
ALL_TARGETS += $1

View File

@@ -178,8 +178,7 @@ ifeq ($(TEST_JOBS), 0)
c = c * $(TEST_JOBS_FACTOR_JDL); \
c = c * $(TEST_JOBS_FACTOR_MACHINE); \
if (c < 1) c = 1; \
c = c + 0.5; \
printf "%d", c; \
printf "%.0f", c; \
}')
endif
@@ -357,7 +356,7 @@ ExpandJtregPath = \
# with test id: dir/Test.java#selection -> Test.java#selection -> .java#selection -> #selection
# without: dir/Test.java -> Test.java -> .java -> <<empty string>>
TestID = \
$(subst .jasm,,$(subst .sh,,$(subst .html,,$(subst .java,,$(suffix $(notdir $1))))))
$(subst .sh,,$(subst .html,,$(subst .java,,$(suffix $(notdir $1)))))
# The test id starting with a hash (#testid) will be stripped by all
# evals in ParseJtregTestSelectionInner and will be reinserted by calling
@@ -863,12 +862,11 @@ define SetupRunJtregTestBody
$$(eval $$(call SetupRunJtregTestCustom, $1))
clean-outputdirs-$1:
clean-workdir-$1:
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
$$(RM) -r $$($1_TEST_RESULTS_DIR)
$1_COMMAND_LINE := \
$$(JTREG_JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
-Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \
$$($1_JTREG_BASIC_OPTIONS) \
-testjdk:$$(JDK_UNDER_TEST) \
@@ -911,7 +909,7 @@ define SetupRunJtregTestBody
done
endif
run-test-$1: pre-run-test clean-outputdirs-$1
run-test-$1: pre-run-test clean-workdir-$1
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR) \
@@ -948,9 +946,9 @@ define SetupRunJtregTestBody
$$(eval $1_TOTAL := 1) \
)
$1: run-test-$1 parse-test-$1 clean-outputdirs-$1
$1: run-test-$1 parse-test-$1 clean-workdir-$1
TARGETS += $1 run-test-$1 parse-test-$1 clean-outputdirs-$1
TARGETS += $1 run-test-$1 parse-test-$1 clean-workdir-$1
TEST_TARGETS += parse-test-$1
endef

View File

@@ -122,7 +122,6 @@ $(eval $(call SetupVariable,JT_HOME))
$(eval $(call SetupVariable,JDK_IMAGE_DIR,$(OUTPUTDIR)/images/jdk))
$(eval $(call SetupVariable,TEST_IMAGE_DIR,$(OUTPUTDIR)/images/test))
$(eval $(call SetupVariable,SYMBOLS_IMAGE_DIR,$(OUTPUTDIR)/images/symbols,NO_CHECK))
$(eval $(call SetupVariable,JTREG_JDK,$(BOOT_JDK)))
# Provide default values for tools that we need
$(eval $(call SetupVariable,MAKE,make,NO_CHECK))
@@ -158,10 +157,6 @@ ifeq ($(UNAME_OS), CYGWIN)
OPENJDK_TARGET_OS := windows
OPENJDK_TARGET_OS_TYPE := windows
OPENJDK_TARGET_OS_ENV := windows.cygwin
else ifeq ($(UNAME_OS), MINGW64)
OPENJDK_TARGET_OS := windows
OPENJDK_TARGET_OS_TYPE := windows
OPENJDK_TARGET_OS_ENV := windows.msys2
else
OPENJDK_TARGET_OS_TYPE:=unix
ifeq ($(UNAME_OS), Linux)
@@ -174,9 +169,6 @@ else
OPENJDK_TARGET_OS_ENV := $(OPENJDK_TARGET_OS)
endif
# Sanity check env detection
$(info Detected target OS, type and env: [$(OPENJDK_TARGET_OS)] [$(OPENJDK_TARGET_OS_TYPE)] [$(OPENJDK_TARGET_OS_ENV)])
# Assume little endian unless otherwise specified
OPENJDK_TARGET_CPU_ENDIAN := little
@@ -256,7 +248,6 @@ $(call CreateNewSpec, $(NEW_SPEC), \
TOPDIR := $(TOPDIR), \
OUTPUTDIR := $(OUTPUTDIR), \
BOOT_JDK := $(BOOT_JDK), \
JTREG_JDK := $(JTREG_JDK), \
JT_HOME := $(JT_HOME), \
JDK_IMAGE_DIR := $(JDK_IMAGE_DIR), \
JCOV_IMAGE_DIR := $(JCOV_IMAGE_DIR), \

View File

@@ -124,8 +124,6 @@ JAR := $(FIXPATH) $(JAR_CMD)
JLINK := $(FIXPATH) $(JLINK_CMD)
JMOD := $(FIXPATH) $(JMOD_CMD)
JTREG_JAVA := $(FIXPATH) $(JTREG_JDK)/bin/java $(JAVA_FLAGS_BIG) $(JAVA_FLAGS)
BUILD_JAVA := $(JDK_IMAGE_DIR)/bin/JAVA
################################################################################
# Some common tools. Assume most common name and no path.

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2019, 2023, 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
@@ -38,19 +38,43 @@ ALL_MODULES = $(call FindAllModules)
TARGETS :=
ifneq ($(filter static-libs-image, $(MAKECMDGOALS)), )
IMAGE_DEST_DIR=$(STATIC_LIBS_IMAGE_DIR)/lib
else ifneq ($(filter static-libs-graal-image, $(MAKECMDGOALS)), )
IMAGE_DEST_DIR=$(STATIC_LIBS_GRAAL_IMAGE_DIR)/lib
endif
# Copy JDK static libs to the image.
$(foreach m, $(ALL_MODULES), \
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS_$m, \
FLATTEN := true, \
SRC := $(SUPPORT_OUTPUTDIR)/native/$m, \
DEST := $(STATIC_LIBS_IMAGE_DIR)/lib, \
DEST := $(IMAGE_DEST_DIR), \
FILES := $(filter %$(STATIC_LIBRARY_SUFFIX), \
$(call FindFiles, $(SUPPORT_OUTPUTDIR)/native/$m/*/static)), \
)) \
$(eval TARGETS += $$(COPY_STATIC_LIBS_$m)) \
$(eval STATIC_LIBS_TARGETS += $$(COPY_STATIC_LIBS_$m)) \
)
ifneq ($(filter static-libs-image, $(MAKECMDGOALS)), )
# Copy libjvm static library to the image.
$(foreach v, $(JVM_VARIANTS), \
$(eval $(call SetupCopyFiles, COPY_STATIC_LIBS_$v, \
SRC := $(HOTSPOT_OUTPUTDIR)/variant-$v/libjvm/objs/static, \
DEST := $(IMAGE_DEST_DIR)/$v, \
FILES := $(wildcard $(HOTSPOT_OUTPUTDIR)/variant-$v/libjvm/objs/static/*$(STATIC_LIBRARY_SUFFIX)), \
)) \
$(eval TARGETS += $$(COPY_STATIC_LIBS_$v)) \
$(eval HOTSPOT_VARIANT_STATIC_LIBS_TARGETS += $$(COPY_STATIC_LIBS_$v)) \
)
endif
################################################################################
static-libs-image: $(HOTSPOT_VARIANT_STATIC_LIBS_TARGETS) $(STATIC_LIBS_TARGETS)
static-libs-graal-image: $(STATIC_LIBS_TARGETS)
all: $(TARGETS)
.PHONY: all

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, 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,7 +41,6 @@ $(eval $(call SetupZipArchive,BUILD_SEC_BIN_ZIP, \
modules/java.base/sun/security/internal/interfaces \
modules/java.base/sun/security/internal/spec \
modules/java.base/com/sun/crypto/provider \
modules/jdk.crypto.ec/sun/security/ec \
modules/jdk.crypto.mscapi/sun/security/mscapi \
modules/jdk.crypto.cryptoki/sun/security/pkcs11 \
modules/jdk.crypto.cryptoki/sun/security/pkcs11/wrapper \
@@ -88,9 +87,9 @@ ifeq ($(call isTargetOs, windows), true)
$(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, \
modules_libs/java.security.jgss/w2k_lsa_auth.diz \
modules_libs/java.security.jgss/w2k_lsa_auth.map \
modules_libs/java.security.jgss/w2k_lsa_auth.pdb, \
ZIP := $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME)))
TARGETS += $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME)

View File

@@ -313,11 +313,9 @@ 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

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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 @@
# Setup flags for C/C++ compiler
#
################################################################################
###############################################################################
#
# How to compile shared libraries.
#
@@ -37,10 +37,7 @@ AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
if test "x$TOOLCHAIN_TYPE" = xgcc; then
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
# --disable-new-dtags forces use of RPATH instead of RUNPATH for rpaths.
# This protects internal library dependencies within the JDK from being
# overridden using LD_LIBRARY_PATH. See JDK-8326891 for more information.
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1 -Wl,--disable-new-dtags'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
@@ -66,9 +63,6 @@ AC_DEFUN([FLAGS_SETUP_SHARED_LIBS],
# Default works for linux, might work on other platforms as well.
SHARED_LIBRARY_FLAGS='-shared'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
if test "x$OPENJDK_TARGET_OS" = xlinux; then
SET_EXECUTABLE_ORIGIN="$SET_EXECUTABLE_ORIGIN -Wl,--disable-new-dtags"
fi
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
@@ -123,16 +117,6 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [${DEBUG_PREFIX_CFLAGS}],
IF_FALSE: [
DEBUG_PREFIX_CFLAGS=
],
IF_TRUE: [
# Add debug prefix map gcc system include paths, as they cause
# non-deterministic debug paths depending on gcc path location.
DEBUG_PREFIX_MAP_GCC_INCLUDE_PATHS
# Add debug prefix map for OUTPUTDIR to handle the scenario when
# it is not located within WORKSPACE_ROOT
outputdir_slash="${OUTPUTDIR%/}/"
DEBUG_PREFIX_CFLAGS="$DEBUG_PREFIX_CFLAGS -fdebug-prefix-map=${outputdir_slash}="
]
)
fi
@@ -174,55 +158,6 @@ AC_DEFUN([FLAGS_SETUP_DEBUG_SYMBOLS],
AC_SUBST(ASFLAGS_DEBUG_SYMBOLS)
])
# gcc will embed the full system include paths in the debug info
# resulting in non-deterministic debug symbol files and thus
# non-reproducible native libraries if gcc includes are located
# in different paths.
# Add -fdebug-prefix-map'ings for root and gcc include paths,
# pointing to a common set of folders so that the binaries are deterministic:
# root include : /usr/include
# gcc include : /usr/local/gcc_include
# g++ include : /usr/local/gxx_include
AC_DEFUN([DEBUG_PREFIX_MAP_GCC_INCLUDE_PATHS],
[
# Determine gcc system include paths.
# Assume default roots to start with:
GCC_ROOT_INCLUDE="/usr/include"
# Determine is sysroot or devkit specified?
if test "x$SYSROOT" != "x"; then
GCC_ROOT_INCLUDE="${SYSROOT%/}/usr/include"
fi
# Add root include mapping => /usr/include
GCC_INCLUDE_DEBUG_MAP_FLAGS="-fdebug-prefix-map=${GCC_ROOT_INCLUDE}/=/usr/include/"
# Add gcc system include mapping => /usr/local/gcc_include
# Find location of stddef.h using build C compiler
GCC_SYSTEM_INCLUDE=`$ECHO "#include <stddef.h>" | \
$CC $CFLAGS -v -E - 2>&1 | \
$GREP stddef | $TAIL -1 | $TR -s " " | $CUT -d'"' -f2`
if test "x$GCC_SYSTEM_INCLUDE" != "x"; then
GCC_SYSTEM_INCLUDE=`$DIRNAME $GCC_SYSTEM_INCLUDE`
GCC_INCLUDE_DEBUG_MAP_FLAGS="$GCC_INCLUDE_DEBUG_MAP_FLAGS \
-fdebug-prefix-map=${GCC_SYSTEM_INCLUDE}/=/usr/local/gcc_include/"
fi
# Add g++ system include mapping => /usr/local/gxx_include
# Find location of cstddef using build C++ compiler
GXX_SYSTEM_INCLUDE=`$ECHO "#include <cstddef>" | \
$CXX $CXXFLAGS -v -E -x c++ - 2>&1 | \
$GREP cstddef | $TAIL -1 | $TR -s " " | $CUT -d'"' -f2`
if test "x$GXX_SYSTEM_INCLUDE" != "x"; then
GXX_SYSTEM_INCLUDE=`$DIRNAME $GXX_SYSTEM_INCLUDE`
GCC_INCLUDE_DEBUG_MAP_FLAGS="$GCC_INCLUDE_DEBUG_MAP_FLAGS \
-fdebug-prefix-map=${GXX_SYSTEM_INCLUDE}/=/usr/local/gxx_include/"
fi
# Add to debug prefix cflags
DEBUG_PREFIX_CFLAGS="$DEBUG_PREFIX_CFLAGS $GCC_INCLUDE_DEBUG_MAP_FLAGS"
])
AC_DEFUN([FLAGS_SETUP_WARNINGS],
[
# Set default value.
@@ -490,13 +425,13 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
[
#### OS DEFINES, these should be independent on toolchain
if test "x$OPENJDK_TARGET_OS" = xlinux; then
CFLAGS_OS_DEF_JVM="-DLINUX -D_FILE_OFFSET_BITS=64"
CFLAGS_OS_DEF_JVM="-DLINUX"
CFLAGS_OS_DEF_JDK="-D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE"
elif test "x$OPENJDK_TARGET_OS" = xmacosx; then
CFLAGS_OS_DEF_JVM="-D_ALLBSD_SOURCE -D_DARWIN_C_SOURCE -D_XOPEN_SOURCE"
CFLAGS_OS_DEF_JDK="-D_ALLBSD_SOURCE -D_DARWIN_UNLIMITED_SELECT"
elif test "x$OPENJDK_TARGET_OS" = xaix; then
CFLAGS_OS_DEF_JVM="-DAIX -D_LARGE_FILES"
CFLAGS_OS_DEF_JVM="-DAIX"
elif test "x$OPENJDK_TARGET_OS" = xbsd; then
CFLAGS_OS_DEF_JDK="-D_ALLBSD_SOURCE"
elif test "x$OPENJDK_TARGET_OS" = xwindows; then
@@ -625,8 +560,8 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_HELPER],
TOOLCHAIN_CFLAGS_JVM="-qtbtable=full -qtune=balanced -fno-exceptions \
-qalias=noansi -qstrict -qtls=default -qnortti -qnoeh -qignerrno -qstackprotect"
elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -Zc:preprocessor -Zc:strictStrings -MP"
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:wchar_t-"
TOOLCHAIN_CFLAGS_JVM="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -MP"
TOOLCHAIN_CFLAGS_JDK="-nologo -MD -Zc:preprocessor -Zc:strictStrings -Zc:inline -Zc:wchar_t-"
fi
# CFLAGS C language level for JDK sources (hotspot only uses C++)
@@ -881,7 +816,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
REPRODUCIBLE_CFLAGS=
]
)
AC_SUBST(REPRODUCIBLE_CFLAGS)
fi
# Prevent the __FILE__ macro from generating absolute paths into the built
@@ -915,22 +849,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
FILE_MACRO_CFLAGS=
]
)
if test "x$FILE_MACRO_CFLAGS" != x; then
# Add -pathmap for all VS system include paths using Windows
# full Long path name that is generated by the compiler
# Not enabled under WSL as there is no easy way to obtain the
# Windows full long paths, thus reproducible WSL builds will
# depend on building with the same VS toolchain install location.
if test "x$OPENJDK_BUILD_OS_ENV" != "xwindows.wsl1" && test "x$OPENJDK_BUILD_OS_ENV" != "xwindows.wsl2"; then
for ipath in ${$3SYSROOT_CFLAGS}; do
if test "x${ipath:0:2}" == "x-I"; then
ipath_path=${ipath#"-I"}
UTIL_FIXUP_WIN_LONG_PATH(ipath_path)
FILE_MACRO_CFLAGS="$FILE_MACRO_CFLAGS -pathmap:\"$ipath_path\"=vsi"
fi
done
fi
fi
fi
AC_MSG_CHECKING([how to prevent absolute paths in output])

View File

@@ -72,9 +72,14 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
BASIC_LDFLAGS_JVM_ONLY=""
LDFLAGS_CXX_PARTIAL_LINKING="$MACHINE_FLAG -r"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
BASIC_LDFLAGS_JVM_ONLY="-mno-omit-leaf-frame-pointer -mstack-alignment=16 \
-fPIC"
LDFLAGS_CXX_PARTIAL_LINKING="$MACHINE_FLAG -r"
if test "x$OPENJDK_TARGET_OS" = xaix; then
BASIC_LDFLAGS="-Wl,-b64 -Wl,-brtl -Wl,-bnorwexec -Wl,-bnolibpath -Wl,-bnoexpall \
-Wl,-bernotok -Wl,-bdatapsize:64k -Wl,-btextpsize:64k -Wl,-bstackpsize:64k"
@@ -161,6 +166,7 @@ AC_DEFUN([FLAGS_SETUP_LDFLAGS_HELPER],
# Export some intermediate variables for compatibility
LDFLAGS_CXX_JDK="$BASIC_LDFLAGS_ONLYCXX $BASIC_LDFLAGS_ONLYCXX_JDK_ONLY $DEBUGLEVEL_LDFLAGS_JDK_ONLY"
AC_SUBST(LDFLAGS_CXX_JDK)
AC_SUBST(LDFLAGS_CXX_PARTIAL_LINKING)
])
################################################################################

View File

@@ -301,6 +301,7 @@ AC_DEFUN_ONCE([FLAGS_PRE_TOOLCHAIN],
EXTRA_LDFLAGS="$MACHINE_FLAG $USER_LDFLAGS"
EXTRA_ASFLAGS="$USER_ASFLAGS"
AC_SUBST(MACHINE_FLAG)
AC_SUBST(EXTRA_CFLAGS)
AC_SUBST(EXTRA_CXXFLAGS)
AC_SUBST(EXTRA_LDFLAGS)

View File

@@ -190,17 +190,6 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS],
fi
AC_SUBST(INCLUDE_SA)
# Setup default CDS alignment. On platforms where one build may run on machines with different
# page sizes, the JVM choses a compatible alignment to fit all possible page sizes. This slightly
# increases archive size.
# The only platform having this problem at the moment is Linux on aarch64, which may encounter
# 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
fi
AC_SUBST(COMPATIBLE_CDS_ALIGNMENT_DEFAULT)
# Compress jars
COMPRESS_JARS=false
@@ -500,15 +489,9 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_LEAK_SANITIZER],
#
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 \
$ADDITIONAL_UBSAN_CHECKS"
UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base"
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,
@@ -690,7 +673,7 @@ AC_DEFUN([JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE],
#
AC_DEFUN([JDKOPT_ENABLE_DISABLE_COMPATIBLE_CDS_ALIGNMENT],
[
UTIL_ARG_ENABLE(NAME: compatible-cds-alignment, DEFAULT: $COMPATIBLE_CDS_ALIGNMENT_DEFAULT,
UTIL_ARG_ENABLE(NAME: compatible-cds-alignment, DEFAULT: false,
RESULT: ENABLE_COMPATIBLE_CDS_ALIGNMENT,
DESC: [enable use alternative compatible cds core region alignment],
DEFAULT_DESC: [disabled],

View File

@@ -110,15 +110,6 @@ AC_DEFUN_ONCE([JDKVER_SETUP_JDK_VERSION_NUMBERS],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(COMPANY_NAME)
# Set the JDK RC Company name
# Otherwise uses the value set for "vendor-name".
UTIL_ARG_WITH(NAME: jdk-rc-company-name, TYPE: string,
DEFAULT: $COMPANY_NAME,
DESC: [Set JDK RC company name. This is used for CompanyName properties of MS Windows binaries.],
DEFAULT_DESC: [from branding.conf],
CHECK_VALUE: [UTIL_CHECK_STRING_NON_EMPTY_PRINTABLE])
AC_SUBST(JDK_RC_COMPANY_NAME)
# The vendor URL, if any
# Only set VENDOR_URL if '--with-vendor-url' was used and is not empty.
# Otherwise we will use the value from "branding.conf" included above.

View File

@@ -70,25 +70,6 @@ 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

@@ -57,7 +57,11 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
if test "x${with_libffi}" != x; then
LIBFFI_LIB_PATH="${with_libffi}/lib"
LIBFFI_LIBS="-L${with_libffi}/lib -lffi"
if test "x${OPENJDK_TARGET_OS}" != "xwindows"; then
LIBFFI_LIBS="-L${with_libffi}/lib -lffi"
else
LIBFFI_LIBS="${with_libffi}/lib/libffi.lib"
fi
LIBFFI_CFLAGS="-I${with_libffi}/include"
LIBFFI_FOUND=yes
fi
@@ -67,7 +71,11 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
fi
if test "x${with_libffi_lib}" != x; then
LIBFFI_LIB_PATH="${with_libffi_lib}"
LIBFFI_LIBS="-L${with_libffi_lib} -lffi"
if test "x${OPENJDK_TARGET_OS}" != "xwindows"; then
LIBFFI_LIBS="-L${with_libffi_lib} -lffi"
else
LIBFFI_LIBS="${with_libffi_lib}/libffi.lib"
fi
LIBFFI_FOUND=yes
fi
# Do not try pkg-config if we have a sysroot set.
@@ -106,12 +114,13 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
AC_MSG_ERROR([Could not find libffi! $HELP_MSG])
fi
AC_MSG_CHECKING([if libffi works])
AC_LANG_PUSH(C)
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $LIBFFI_CFLAGS"
OLD_LIBS="$LIBS"
LIBS="$LIBS $LIBFFI_LIBS"
AC_MSG_CHECKING([if libffi works])
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <ffi.h>],
[
ffi_call(NULL, NULL, NULL, NULL);
@@ -120,9 +129,6 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
[LIBFFI_WORKS=yes],
[LIBFFI_WORKS=no]
)
CFLAGS="$OLD_CFLAGS"
LIBS="$OLD_LIBS"
AC_LANG_POP(C)
AC_MSG_RESULT([$LIBFFI_WORKS])
if test "x$LIBFFI_WORKS" = xno; then
@@ -130,39 +136,71 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBFFI],
AC_MSG_ERROR([Found libffi but could not link and compile with it. $HELP_MSG])
fi
# Check if FFI_GO_CLOSURES is properly defined. On some distributions, notably MacOS AArch64,
# ffitarget.h (included from ffi.h) does not explicitly define FFI_GO_CLOSURES. This makes the
# further include of ffi.h trigger the "FFI_GO_CLOSURES is undefined" warning, which fails
# the build when warnings are fatal.
AC_MSG_CHECKING([for FFI_GO_CLOSURES definition])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
#include <ffi.h>
#ifndef FFI_GO_CLOSURES
#error "FFI_GO_CLOSURES is not defined"
#endif
][])],
[
AC_MSG_RESULT([yes])
],
[
AC_MSG_RESULT([no, defining])
LIBFFI_CFLAGS="$LIBFFI_CFLAGS -DFFI_GO_CLOSURES=0"
]
)
CFLAGS="$OLD_CFLAGS"
LIBS="$OLD_LIBS"
AC_LANG_POP(C)
# Find the libffi.so.X to bundle
if test "x${ENABLE_LIBFFI_BUNDLING}" = "xtrue"; then
if test "x${OPENJDK_TARGET_OS}" = "xmacosx"; then
LIBFFI_LIB_FILE_NAME=libffi.?.dylib
elif test "x${OPENJDK_TARGET_OS}" = "xwindows"; then
LIBFFI_LIB_FILE_NAME=libffi.dll
else
LIBFFI_LIB_FILE_NAME=libffi.so.?
fi
AC_MSG_CHECKING([for libffi lib file location])
if test "x${LIBFFI_LIB_PATH}" != x; then
if test -e ${LIBFFI_LIB_PATH}/libffi.so.?; then
LIBFFI_LIB_FILE="${LIBFFI_LIB_PATH}/libffi.so.?"
if test -e ${LIBFFI_LIB_PATH}/${LIBFFI_LIB_FILE_NAME}; then
LIBFFI_LIB_FILE="${LIBFFI_LIB_PATH}/${LIBFFI_LIB_FILE_NAME}"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling in ${LIBFFI_LIB_PATH}])
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling in ${LIBFFI_LIB_PATH}])
fi
else
# If we don't have an explicit path, look in a few obvious places
if test "x${OPENJDK_TARGET_CPU}" = "xx86"; then
if test -e ${SYSROOT}/usr/lib/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/libffi.so.?"
elif test -e ${SYSROOT}/usr/lib/i386-linux-gnu/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/i386-linux-gnu/libffi.so.?"
if test -e ${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME}"
elif test -e ${SYSROOT}/usr/lib/i386-linux-gnu/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/i386-linux-gnu/${LIBFFI_LIB_FILE_NAME}"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling])
fi
elif test "x${OPENJDK_TARGET_CPU}" = "xx86_64" || test "x${OPENJDK_TARGET_CPU}" = "xaarch64"; then
if test -e ${SYSROOT}/usr/lib64/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib64/libffi.so.?"
elif test -e ${SYSROOT}/usr/lib/x86_64-linux-gnu/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/x86_64-linux-gnu/libffi.so.?"
if test -e ${SYSROOT}/usr/lib64/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib64/${LIBFFI_LIB_FILE_NAME}"
elif test -e ${SYSROOT}/usr/lib/x86_64-linux-gnu/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/x86_64-linux-gnu/${LIBFFI_LIB_FILE_NAME}"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling])
fi
else
# Fallback on the default /usr/lib dir
if test -e ${SYSROOT}/usr/lib/libffi.so.? ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/libffi.so.?"
if test -e ${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME} ; then
LIBFFI_LIB_FILE="${SYSROOT}/usr/lib/${LIBFFI_LIB_FILE_NAME}"
else
AC_MSG_ERROR([Could not locate libffi.so.? for bundling])
AC_MSG_ERROR([Could not locate ${LIBFFI_LIB_FILE_NAME} for bundling])
fi
fi
fi

View File

@@ -29,7 +29,7 @@
# Minimum supported versions
JTREG_MINIMUM_VERSION=7.3.1
GTEST_MINIMUM_VERSION=1.13.0
GTEST_MINIMUM_VERSION=1.14.0
###############################################################################
#
@@ -227,47 +227,12 @@ AC_DEFUN_ONCE([LIB_TESTS_SETUP_JTREG],
UTIL_FIXUP_PATH(JT_HOME)
AC_SUBST(JT_HOME)
# Specify a JDK for running jtreg. Defaults to the BOOT_JDK.
AC_ARG_WITH(jtreg-jdk, [AS_HELP_STRING([--with-jdk],
[path to JDK for running jtreg @<:@BOOT_JDK@:>@])])
AC_MSG_CHECKING([for jtreg jdk])
if test "x${with_jtreg_jdk}" != x; then
if test "x${with_jtreg_jdk}" = xno; then
AC_MSG_RESULT([no, jtreg jdk not specified])
elif test "x${with_jtreg_jdk}" = xyes; then
AC_MSG_RESULT([not specified])
AC_MSG_ERROR([--with-jtreg-jdk needs a value])
else
JTREG_JDK="${with_jtreg_jdk}"
AC_MSG_RESULT([$JTREG_JDK])
UTIL_FIXUP_PATH(JTREG_JDK)
if test ! -f "$JTREG_JDK/bin/java"; then
AC_MSG_ERROR([Could not find jtreg java at $JTREG_JDK/bin/java])
fi
fi
else
JTREG_JDK="${BOOT_JDK}"
AC_MSG_RESULT([no, using BOOT_JDK])
fi
UTIL_FIXUP_PATH(JTREG_JDK)
AC_SUBST([JTREG_JDK])
# For use in the configure script
JTREG_JAVA="$FIXPATH $JTREG_JDK/bin/java"
# Verify jtreg version
if test "x$JT_HOME" != x; then
AC_MSG_CHECKING([jtreg jar existence])
if test ! -f "$JT_HOME/lib/jtreg.jar"; then
AC_MSG_ERROR([Could not find jtreg jar at $JT_HOME/lib/jtreg.jar])
fi
AC_MSG_CHECKING([jtreg version number])
# jtreg -version looks like this: "jtreg 6.1+1-19"
# Extract actual version part ("6.1" in this case)
jtreg_version_full=$($JTREG_JAVA -jar $JT_HOME/lib/jtreg.jar -version | $HEAD -n 1 | $CUT -d ' ' -f 2)
jtreg_version_full=`$JAVA -jar $JT_HOME/lib/jtreg.jar -version | $HEAD -n 1 | $CUT -d ' ' -f 2`
jtreg_version=${jtreg_version_full/%+*}
AC_MSG_RESULT([$jtreg_version])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2022, 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
@@ -35,7 +35,6 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
X_CFLAGS=
X_LIBS=
else
x_libraries_orig="$x_libraries"
if test "x${with_x}" = xno; then
AC_MSG_ERROR([It is not possible to disable the use of X11. Remove the --without-x option.])
@@ -49,7 +48,6 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
fi
if test "x$x_libraries" = xNONE; then
x_libraries="${with_x}/lib"
x_libraries_orig="$x_libraries"
fi
else
# Check if the user has specified sysroot, but not --with-x, --x-includes or --x-libraries.
@@ -71,9 +69,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"
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"
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"
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"
fi
fi
fi
@@ -84,8 +82,8 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
AC_PATH_XTRA
# AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling
# this doesn't make sense so we remove it; same for sysroot (devkit).
if test "x$COMPILE_TYPE" = xcross || (test "x$SYSROOT" != "x" && test "x$x_libraries_orig" = xNONE); then
# this doesn't make sense so we remove it.
if test "x$COMPILE_TYPE" = xcross; then
X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[[^ ]]*//g'`
fi

View File

@@ -108,6 +108,12 @@ AC_DEFUN([LIB_SETUP_JVM_LIBS],
BASIC_JVM_LIBS_$1="$BASIC_JVM_LIBS_$1 -latomic"
fi
fi
# Because RISC-V only has word-sized atomics, it requires libatomic where
# other common architectures do not, so link libatomic by default.
if test "x$OPENJDK_$1_OS" = xlinux && test "x$OPENJDK_$1_CPU" = xriscv64; then
BASIC_JVM_LIBS_$1="$BASIC_JVM_LIBS_$1 -latomic"
fi
])
################################################################################

View File

@@ -567,6 +567,8 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HELPER],
HOTSPOT_$1_CPU_DEFINE=PPC64
elif test "x$OPENJDK_$1_CPU" = xppc64le; then
HOTSPOT_$1_CPU_DEFINE=PPC64
elif test "x$OPENJDK_$1_CPU" = xriscv32; then
HOTSPOT_$1_CPU_DEFINE=RISCV32
elif test "x$OPENJDK_$1_CPU" = xriscv64; then
HOTSPOT_$1_CPU_DEFINE=RISCV64
@@ -575,14 +577,10 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HELPER],
HOTSPOT_$1_CPU_DEFINE=SPARC
elif test "x$OPENJDK_$1_CPU" = xppc; then
HOTSPOT_$1_CPU_DEFINE=PPC32
elif test "x$OPENJDK_$1_CPU" = xriscv32; then
HOTSPOT_$1_CPU_DEFINE=RISCV32
elif test "x$OPENJDK_$1_CPU" = xs390; then
HOTSPOT_$1_CPU_DEFINE=S390
elif test "x$OPENJDK_$1_CPU" = xs390x; then
HOTSPOT_$1_CPU_DEFINE=S390
elif test "x$OPENJDK_$1_CPU" = xloongarch64; then
HOTSPOT_$1_CPU_DEFINE=LOONGARCH64
elif test "x$OPENJDK_$1_CPU" != x; then
HOTSPOT_$1_CPU_DEFINE=$(echo $OPENJDK_$1_CPU | tr a-z A-Z)
fi

View File

@@ -191,7 +191,6 @@ PRODUCT_NAME:=@PRODUCT_NAME@
PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@
JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
JDK_RC_NAME:=@JDK_RC_NAME@
JDK_RC_COMPANY_NAME:=@JDK_RC_COMPANY_NAME@
COMPANY_NAME:=@COMPANY_NAME@
HOTSPOT_VM_DISTRO:=@HOTSPOT_VM_DISTRO@
MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@
@@ -425,7 +424,6 @@ LIBFFI_CFLAGS:=@LIBFFI_CFLAGS@
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@
@@ -548,6 +546,8 @@ JVM_LIBS := @JVM_LIBS@
BASIC_ASFLAGS := @BASIC_ASFLAGS@
MACHINE_FLAG := @MACHINE_FLAG@
# These flags might contain variables set by a custom extension that is included later.
EXTRA_CFLAGS = @EXTRA_CFLAGS@
EXTRA_CXXFLAGS = @EXTRA_CXXFLAGS@
@@ -574,6 +574,9 @@ JDKEXE_LIBS:=@JDKEXE_LIBS@
# LDFLAGS specific to C++ linking.
LDFLAGS_CXX_JDK:=@LDFLAGS_CXX_JDK@
# LDFLAGS specific to partial linking.
LDFLAGS_CXX_PARTIAL_LINKING:=@LDFLAGS_CXX_PARTIAL_LINKING@
# Sometimes a different linker is needed for c++ libs
LDCXX := @LDCXX@
# The flags for linking libstdc++ linker.
@@ -681,9 +684,6 @@ JAR = $(JAR_CMD)
JLINK = $(JLINK_CMD)
JMOD = $(JMOD_CMD)
JTREG_JDK := @JTREG_JDK@
JTREG_JAVA = @FIXPATH@ $(JTREG_JDK)/bin/java $(JAVA_FLAGS_BIG) $(JAVA_FLAGS)
BUILD_JAVA_FLAGS := @BOOTCYCLE_JVM_ARGS_BIG@
BUILD_JAVA=@FIXPATH@ $(BUILD_JDK)/bin/java $(BUILD_JAVA_FLAGS)
BUILD_JAVAC=@FIXPATH@ $(BUILD_JDK)/bin/javac
@@ -934,6 +934,10 @@ DOCS_OUTPUTDIR := $(DOCS_JDK_IMAGE_DIR)
STATIC_LIBS_IMAGE_SUBDIR := static-libs
STATIC_LIBS_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(STATIC_LIBS_IMAGE_SUBDIR)
# Graal static libs image
STATIC_LIBS_GRAAL_IMAGE_SUBDIR := static-libs-graal
STATIC_LIBS_GRAAL_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(STATIC_LIBS_GRAAL_IMAGE_SUBDIR)
# Graal builder image
GRAAL_BUILDER_IMAGE_SUBDIR := graal-builder-jdk
GRAAL_BUILDER_IMAGE_DIR := $(IMAGES_OUTPUTDIR)/$(GRAAL_BUILDER_IMAGE_SUBDIR)

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -199,7 +199,7 @@ AC_DEFUN([UTIL_GET_NON_MATCHING_VALUES],
if test -z "$legal_values"; then
$1="$2"
else
result=`$GREP -Fvx -- "$legal_values" <<< "$values_to_check" | $GREP -v '^$'`
result=`$GREP -Fvx "$legal_values" <<< "$values_to_check" | $GREP -v '^$'`
$1=${result//$'\n'/ }
fi
])
@@ -226,7 +226,7 @@ AC_DEFUN([UTIL_GET_MATCHING_VALUES],
if test -z "$illegal_values"; then
$1=""
else
result=`$GREP -Fx -- "$illegal_values" <<< "$values_to_check" | $GREP -v '^$'`
result=`$GREP -Fx "$illegal_values" <<< "$values_to_check" | $GREP -v '^$'`
$1=${result//$'\n'/ }
fi
])
@@ -509,7 +509,7 @@ AC_DEFUN([UTIL_CHECK_TYPE_directory],
FAILURE="Directory $1 does not exist or is not readable"
fi
if test "[x]ARG_CHECK_FOR_FILES" != x; then
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))
if test "x$found_files" = x; then
@@ -781,25 +781,25 @@ UTIL_DEFUN_NAMED([UTIL_ARG_WITH],
else
AC_MSG_RESULT([$ARG_RESULT, $REASON])
fi
fi
# Verify value
# First use our dispatcher to verify that type requirements are satisfied
UTIL_CHECK_TYPE(ARG_TYPE, $ARG_RESULT)
# Verify value
# First use our dispatcher to verify that type requirements are satisfied
UTIL_CHECK_TYPE(ARG_TYPE, $ARG_RESULT)
if test "x$FAILURE" = x; then
# Execute custom verification payload, if present
RESULT="$ARG_RESULT"
if test "x$FAILURE" = x; then
# Execute custom verification payload, if present
RESULT="$ARG_RESULT"
ARG_CHECK_VALUE
ARG_CHECK_VALUE
ARG_RESULT="$RESULT"
fi
ARG_RESULT="$RESULT"
fi
if test "x$FAILURE" != x; then
AC_MSG_NOTICE([Invalid value for [--with-]ARG_NAME: "$ARG_RESULT"])
AC_MSG_NOTICE([$FAILURE])
AC_MSG_ERROR([Cannot continue])
if test "x$FAILURE" != x; then
AC_MSG_NOTICE([Invalid value for [--with-]ARG_NAME: "$ARG_RESULT"])
AC_MSG_NOTICE([$FAILURE])
AC_MSG_ERROR([Cannot continue])
fi
fi
# Execute result payloads, if present

View File

@@ -118,24 +118,6 @@ 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],
[
# Only process if variable expands to non-empty
path="[$]$1"
if test "x$path" != x; then
if test "x$OPENJDK_BUILD_OS" = "xwindows"; then
win_path=$($PATHTOOL -wl "$path")
if test "x$win_path" != "x$path"; then
$1="$win_path"
fi
fi
fi
])
###############################################################################
# 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.

View File

@@ -98,7 +98,7 @@ GLOBAL_VERSION_INFO_RESOURCE := $(TOPDIR)/src/java.base/windows/native/common/ve
JDK_RCFLAGS=$(RCFLAGS) \
-D"JDK_VERSION_STRING=$(VERSION_STRING)" \
-D"JDK_COMPANY=$(JDK_RC_COMPANY_NAME)" \
-D"JDK_COMPANY=$(COMPANY_NAME)" \
-D"JDK_VER=$(VERSION_NUMBER_FOUR_POSITIONS)" \
-D"JDK_COPYRIGHT=Copyright \xA9 $(COPYRIGHT_YEAR)" \
-D"JDK_NAME=$(JDK_RC_NAME) $(VERSION_SHORT)" \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2022, 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
@@ -152,10 +152,6 @@ define SetupLogging
endif
endif
ifneq ($$(findstring $$(LOG_LEVEL), debug trace),)
SHELL := $$(SHELL) -x
endif
ifeq ($$(LOG_LEVEL), trace)
SHELL_NO_RECURSE := $$(SHELL)
# Shell redefinition trick inspired by http://www.cmcrossroads.com/ask-mr-make/6535-tracing-rule-execution-in-gnu-make

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -215,7 +215,21 @@ DEPENDENCY_TARGET_SED_PATTERN := \
# The fix-deps-file macro is used to adjust the contents of the generated make
# dependency files to contain paths compatible with make.
#
REWRITE_PATHS_RELATIVE = false
ifeq ($(ALLOW_ABSOLUTE_PATHS_IN_OUTPUT)-$(FILE_MACRO_CFLAGS), false-)
REWRITE_PATHS_RELATIVE = true
endif
# CCACHE_BASEDIR needs fix-deps-file as makefiles use absolute filenames for
# object files while CCACHE_BASEDIR will make ccache relativize all paths for
# its compiler. The compiler then produces relative dependency files.
# make does not know a relative and absolute filename is the same so it will
# ignore such dependencies.
ifneq ($(CCACHE), )
REWRITE_PATHS_RELATIVE = true
endif
ifeq ($(REWRITE_PATHS_RELATIVE), true)
# Need to handle -I flags as both '-Ifoo' and '-I foo'.
MakeCommandRelative = \
$(CD) $(WORKSPACE_ROOT) && \
@@ -500,7 +514,7 @@ endef
# used both for C and C++.
# LIBS_<toolchain> the libraries to link to for the specified toolchain,
# used both for C and C++.
# LIBS_<OS>_<toolchain> the libraries to link to for the specified target
# LIBS_<toolchain>_<OS> the libraries to link to for the specified target
# OS and toolchain, used both for C and C++.
# ARFLAGS the archiver flags to be used
# OBJECT_DIR the directory where we store the object files
@@ -548,6 +562,7 @@ endef
# PRECOMPILED_HEADER Header file to use as precompiled header
# PRECOMPILED_HEADER_EXCLUDE List of source files that should not use PCH
# BUILD_INFO_LOG_MACRO Overrides log level of the build info log message, default LogWarn
# STATIC_LIB_EXCLUDE_OBJS exclude objects that matches from static library
#
# After being called, some variables are exported from this macro, all prefixed
# with parameter 1 followed by a '_':
@@ -726,6 +741,12 @@ define SetupNativeCompilationBody
endif
# Sort to remove duplicates and provide a reproducible order on the input files to the linker.
$1_ALL_OBJS := $$(sort $$($1_EXPECTED_OBJS) $$($1_EXTRA_OBJECT_FILES))
ifeq ($(STATIC_LIBS), true)
# Exclude the object files that match with $1_STATIC_LIB_EXCLUDE_OBJS.
ifneq ($$($1_STATIC_LIB_EXCLUDE_OBJS), )
$1_ALL_OBJS := $$(call not-containing, $$($1_STATIC_LIB_EXCLUDE_OBJS), $$($1_ALL_OBJS))
endif
endif
# Pickup extra OPENJDK_TARGET_OS_TYPE, OPENJDK_TARGET_OS, TOOLCHAIN_TYPE and
# OPENJDK_TARGET_OS plus OPENJDK_TARGET_CPU pair dependent variables for CFLAGS.
@@ -1024,12 +1045,11 @@ define SetupNativeCompilationBody
# Pickup extra OPENJDK_TARGET_OS_TYPE, OPENJDK_TARGET_OS and TOOLCHAIN_TYPE
# dependent variables for LDFLAGS and LIBS, and additionally the pair dependent
# TOOLCHAIN_TYPE plus OPENJDK_TARGET_OS for LDFLAGS, or OPENJDK_TARGET_OS plus
# TOOLCHAIN_TYPE for LIBS
# TOOLCHAIN_TYPE plus OPENJDK_TARGET_OS
$1_EXTRA_LDFLAGS += $$($1_LDFLAGS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_LDFLAGS_$(OPENJDK_TARGET_OS)) \
$$($1_LDFLAGS_$(TOOLCHAIN_TYPE)) $$($1_LDFLAGS_$(TOOLCHAIN_TYPE)_$(OPENJDK_TARGET_OS))
$1_EXTRA_LIBS += $$($1_LIBS_$(OPENJDK_TARGET_OS_TYPE)) $$($1_LIBS_$(OPENJDK_TARGET_OS)) \
$$($1_LIBS_$(OPENJDK_TARGET_OS)_$(TOOLCHAIN_TYPE)) $$($1_LIBS_$(TOOLCHAIN_TYPE))
$$($1_LIBS_$(TOOLCHAIN_TYPE)) $$($1_LIBS_$(TOOLCHAIN_TYPE)_$(OPENJDK_TARGET_OS))
ifneq ($$($1_REAL_MAPFILE), )
$1_EXTRA_LDFLAGS += $(call SET_SHARED_LIBRARY_MAPFILE,$$($1_REAL_MAPFILE))
@@ -1050,13 +1070,13 @@ define SetupNativeCompilationBody
ifneq ($$($1_TYPE), STATIC_LIBRARY)
# Generate debuginfo files.
ifeq ($(call isTargetOs, windows), true)
$1_EXTRA_LDFLAGS += -debug "-pdb:$$($1_SYMBOLS_DIR)/$$($1_BASENAME).pdb" \
"-map:$$($1_SYMBOLS_DIR)/$$($1_BASENAME).map"
$1_EXTRA_LDFLAGS += -debug "-pdb:$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).pdb" \
"-map:$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).map"
ifeq ($(SHIP_DEBUG_SYMBOLS), public)
$1_EXTRA_LDFLAGS += "-pdbstripped:$$($1_SYMBOLS_DIR)/$$($1_BASENAME).stripped.pdb"
$1_EXTRA_LDFLAGS += "-pdbstripped:$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).stripped.pdb"
endif
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_BASENAME).pdb \
$$($1_SYMBOLS_DIR)/$$($1_BASENAME).map
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).pdb \
$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).map
else ifeq ($(call isTargetOs, linux), true)
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).debuginfo
@@ -1104,11 +1124,7 @@ define SetupNativeCompilationBody
$1 += $$($1_DEBUGINFO_FILES)
ifeq ($$($1_ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
ifeq ($(call isTargetOs, windows), true)
$1_DEBUGINFO_ZIP := $$($1_SYMBOLS_DIR)/$$($1_BASENAME).diz
else
$1_DEBUGINFO_ZIP := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).diz
endif
$1_DEBUGINFO_ZIP := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).diz
$1 += $$($1_DEBUGINFO_ZIP)
# The dependency on TARGET is needed for debuginfo files
@@ -1134,9 +1150,60 @@ define SetupNativeCompilationBody
endif
endif
$1_LD_OBJ_ARG := $$($1_ALL_OBJS)
# If there are many object files, use an @-file...
ifneq ($$(word 17, $$($1_ALL_OBJS)), )
$1_OBJ_FILE_LIST := $$($1_OBJECT_DIR)/_$1_objectfilenames.txt
ifneq ($(COMPILER_COMMAND_FILE_FLAG), )
$1_LD_OBJ_ARG := $(COMPILER_COMMAND_FILE_FLAG)$$($1_OBJ_FILE_LIST)
else
# ...except for toolchains which don't support them.
$1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)`
endif
# If we are building static library, 'AR' on macosx may not support @-file.
ifeq ($$($1_TYPE), STATIC_LIBRARY)
ifeq ($(call isTargetOs, macosx), true)
$1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)`
endif
endif
endif
# Unfortunately the @-file trick does not work reliably when using clang.
# Clang does not propagate the @-file parameter to the ld sub process, but
# instead puts the full content on the command line. At least the llvm ld
# does not even support an @-file.
#
# When linking a large amount of object files, we risk hitting the limit
# of the command line length even on posix systems if the path length of
# the output dir is very long due to our use of absolute paths. To
# mitigate this, use paths relative to the output dir when linking over
# 500 files with clang and the output dir path is deep.
ifneq ($$(word 500, $$($1_ALL_OBJS)), )
ifeq ($$(TOOLCHAIN_TYPE), clang)
# There is no strlen function in make, but checking path depth is a
# reasonable approximation.
ifneq ($$(word 10, $$(subst /, ,$$(OUTPUTDIR))), )
$1_LINK_OBJS_RELATIVE := true
$1_ALL_OBJS_RELATIVE := $$(patsubst $$(OUTPUTDIR)/%, %, $$($1_ALL_OBJS))
endif
endif
endif
ifeq ($$($1_TYPE), STATIC_LIBRARY)
# Include partial linking when building the static library with clang on linux.
ifeq ($(call isTargetOs, linux), true)
ifneq ($(findstring $(TOOLCHAIN_TYPE), clang), )
$1_ENABLE_PARTIAL_LINKING := true
endif
endif
$1_VARDEPS := $$($1_AR) $$(ARFLAGS) $$($1_ARFLAGS) $$($1_LIBS) \
$$($1_EXTRA_LIBS)
ifeq ($$($1_ENABLE_PARTIAL_LINKING), true)
$1_VARDEPS += $$($1_LD) $$($1_SYSROOT_LDFLAGS)
endif
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
$$($1_OBJECT_DIR)/$$($1_NOSUFFIX).vardeps)
@@ -1149,11 +1216,35 @@ define SetupNativeCompilationBody
$1_TARGET_DEPS := $$($1_ALL_OBJS) $$($1_RES) $$($1_VARDEPS_FILE) $$(STATIC_MAPFILE_DEP)
$1_AR_OBJ_ARG := $$($1_LD_OBJ_ARG)
# With clang on linux, partial linking is enabled and 'AR' takes the output
# object from the partial linking step.
ifeq ($$($1_ENABLE_PARTIAL_LINKING), true)
$1_TARGET_RELOCATABLE := $$($1_OBJECT_DIR)/$$($1_PREFIX)$$($1_NAME)_relocatable$(OBJ_SUFFIX)
$1_AR_OBJ_ARG := $$($1_TARGET_RELOCATABLE)
endif
$$($1_TARGET): $$($1_TARGET_DEPS)
ifneq ($$($1_OBJ_FILE_LIST), )
ifeq ($$($1_LINK_OBJS_RELATIVE), true)
$$(eval $$(call ListPathsSafely, $1_ALL_OBJS_RELATIVE, $$($1_OBJ_FILE_LIST)))
else
$$(eval $$(call ListPathsSafely, $1_ALL_OBJS, $$($1_OBJ_FILE_LIST)))
endif
endif
$$(call LogInfo, Building static library $$($1_BASENAME))
$$(call MakeDir, $$($1_OUTPUT_DIR) $$($1_SYMBOLS_DIR))
# Do partial linking.
ifeq ($$($1_ENABLE_PARTIAL_LINKING), true)
$$(call ExecuteWithLog, $$($1_OBJECT_DIR)/$$($1_SAFE_NAME)_partial_link, \
$(if $$($1_LINK_OBJS_RELATIVE), $$(CD) $$(OUTPUTDIR) ; ) \
$$($1_LD) $(LDFLAGS_CXX_PARTIAL_LINKING) $$($1_SYSROOT_LDFLAGS) \
$(LD_OUT_OPTION)$$($1_TARGET_RELOCATABLE) \
$$($1_LD_OBJ_ARG))
endif
$$(call ExecuteWithLog, $$($1_OBJECT_DIR)/$$($1_SAFE_NAME)_link, \
$$($1_AR) $$(ARFLAGS) $$($1_ARFLAGS) $(AR_OUT_OPTION)$$($1_TARGET) $$($1_ALL_OBJS) \
$(if $$($1_LINK_OBJS_RELATIVE), $$(CD) $$(OUTPUTDIR) ; ) \
$$($1_AR) $$(ARFLAGS) $$($1_ARFLAGS) $(AR_OUT_OPTION)$$($1_TARGET) $$($1_AR_OBJ_ARG) \
$$($1_RES))
ifeq ($(STATIC_BUILD), true)
ifeq ($$($1_USE_MAPFILE_FOR_SYMBOLS), true)
@@ -1205,40 +1296,6 @@ define SetupNativeCompilationBody
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \
$$($1_OBJECT_DIR)/$$($1_NOSUFFIX).vardeps)
$1_LD_OBJ_ARG := $$($1_ALL_OBJS)
# If there are many object files, use an @-file...
ifneq ($$(word 17, $$($1_ALL_OBJS)), )
$1_OBJ_FILE_LIST := $$($1_OBJECT_DIR)/_$1_objectfilenames.txt
ifneq ($(COMPILER_COMMAND_FILE_FLAG), )
$1_LD_OBJ_ARG := $(COMPILER_COMMAND_FILE_FLAG)$$($1_OBJ_FILE_LIST)
else
# ...except for toolchains which don't support them.
$1_LD_OBJ_ARG := `cat $$($1_OBJ_FILE_LIST)`
endif
endif
# Unfortunately the @-file trick does not work reliably when using clang.
# Clang does not propagate the @-file parameter to the ld sub process, but
# instead puts the full content on the command line. At least the llvm ld
# does not even support an @-file.
#
# When linking a large amount of object files, we risk hitting the limit
# of the command line length even on posix systems if the path length of
# the output dir is very long due to our use of absolute paths. To
# mitigate this, use paths relative to the output dir when linking over
# 500 files with clang and the output dir path is deep.
ifneq ($$(word 500, $$($1_ALL_OBJS)), )
ifeq ($$(TOOLCHAIN_TYPE), clang)
# There is no strlen function in make, but checking path depth is a
# reasonable approximation.
ifneq ($$(word 10, $$(subst /, ,$$(OUTPUTDIR))), )
$1_LINK_OBJS_RELATIVE := true
$1_ALL_OBJS_RELATIVE := $$(patsubst $$(OUTPUTDIR)/%, %, $$($1_ALL_OBJS))
endif
endif
endif
$1_TARGET_DEPS := $$($1_ALL_OBJS) $$($1_RES) $$($1_MANIFEST) \
$$($1_REAL_MAPFILE) $$($1_VARDEPS_FILE)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2023, 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
@@ -106,7 +106,7 @@ define SetupTestFilesCompilationBody
LIBS := $$($1_LIBS_$$(name)), \
TOOLCHAIN := $(if $$(filter %.cpp, $$(file)), TOOLCHAIN_LINK_CXX, TOOLCHAIN_DEFAULT), \
OPTIMIZATION := $$(if $$($1_OPTIMIZATION_$$(name)),$$($1_OPTIMIZATION_$$(name)),LOW), \
COPY_DEBUG_SYMBOLS := false, \
COPY_DEBUG_SYMBOLS := $$(if $$($1_COPY_DEBUG_SYMBOLS_$$(name)),$$($1_COPY_DEBUG_SYMBOLS_$$(name)),false), \
STRIP_SYMBOLS := $$(if $$($1_STRIP_SYMBOLS_$$(name)),$$($1_STRIP_SYMBOLS_$$(name)),false), \
BUILD_INFO_LOG_MACRO := LogInfo, \
)) \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, 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
@@ -36,7 +36,6 @@ DOCS_MODULES= \
jdk.charsets \
jdk.compiler \
jdk.crypto.cryptoki \
jdk.crypto.ec \
jdk.dynalink \
jdk.editpad \
jdk.hotspot.agent \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2023, 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
@@ -25,21 +25,17 @@
# Versions and download locations for dependencies used by GitHub Actions (GHA)
GTEST_VERSION=1.13.0
GTEST_VERSION=1.14.0
JTREG_VERSION=7.3.1+1
LINUX_X64_BOOT_JDK_EXT=tar.gz
LINUX_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_x64_linux_hotspot_21.0.3_9.tar.gz
LINUX_X64_BOOT_JDK_SHA256=fffa52c22d797b715a962e6c8d11ec7d79b90dd819b5bc51d62137ea4b22a340
LINUX_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_linux-x64_bin.tar.gz
LINUX_X64_BOOT_JDK_SHA256=bb863b2d542976d1ae4b7b81af3e78b1e4247a64644350b552d298d8dc5980dc
MACOS_X64_BOOT_JDK_EXT=tar.gz
MACOS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_x64_mac_hotspot_21.0.3_9.tar.gz
MACOS_X64_BOOT_JDK_SHA256=f777103aab94330d14a29bd99f3a26d60abbab8e2c375cec9602746096721a7c
MACOS_AARCH64_BOOT_JDK_EXT=tar.gz
MACOS_AARCH64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_aarch64_mac_hotspot_21.0.3_9.tar.gz
MACOS_AARCH64_BOOT_JDK_SHA256=b6be6a9568be83695ec6b7cb977f4902f7be47d74494c290bc2a5c3c951e254f
MACOS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_macos-x64_bin.tar.gz
MACOS_X64_BOOT_JDK_SHA256=47cf960d9bb89dbe987535a389f7e26c42de7c984ef5108612d77c81aa8cc6a4
WINDOWS_X64_BOOT_JDK_EXT=zip
WINDOWS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jdk_x64_windows_hotspot_21.0.3_9.zip
WINDOWS_X64_BOOT_JDK_SHA256=c43a66cff7a403d56c5c5e1ff10d3d5f95961abf80f97f0e35380594909f0e4d
WINDOWS_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk20/bdc68b4b9cbc4ebcb30745c85038d91d/36/GPL/openjdk-20_windows-x64_bin.zip
WINDOWS_X64_BOOT_JDK_SHA256=c92fae5e42b9aecf444a66c8ec563c652f60b1e231dfdd33a4f5a3e3603058fb

View File

@@ -945,7 +945,10 @@ var getJibProfilesProfiles = function (input, common, data) {
target_os: input.build_os,
target_cpu: input.build_cpu,
dependencies: [ "jtreg", "gnumake", "boot_jdk", "devkit", "jib" ],
labels: "test"
labels: "test",
environment: {
"JT_JAVA": common.boot_jdk_home
}
}
};
profiles = concatObjects(profiles, testOnlyProfiles);
@@ -1196,12 +1199,12 @@ var getJibProfilesDependencies = function (input, common) {
jmh: {
organization: common.organization,
ext: "tar.gz",
revision: "1.35+1.0"
revision: "1.37+1.0"
},
jcov: {
organization: common.organization,
revision: "3.0-14-jdk-asm+1.0",
revision: "3.0-15-jdk-asm+1.0",
ext: "zip",
environment_name: "JCOV_HOME",
},
@@ -1267,7 +1270,7 @@ var getJibProfilesDependencies = function (input, common) {
gtest: {
organization: common.organization,
ext: "tar.gz",
revision: "1.13.0+1.0"
revision: "1.14.0+1.0"
},
libffi: {
@@ -1517,7 +1520,7 @@ var getVersionNumbers = function () {
var isWsl = function (input) {
return ( input.build_osenv == "wsl"
|| (input.build_os == "linux"
&& java.lang.System.getProperty("os.version").contains("Microsoft")));
&& java.lang.System.getProperty("os.version").toLowerCase().contains("microsoft")));
}
var error = function (s) {

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, 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
@@ -77,7 +77,6 @@ PLATFORM_MODULES= \
jdk.accessibility \
jdk.charsets \
jdk.crypto.cryptoki \
jdk.crypto.ec \
jdk.dynalink \
jdk.httpserver \
jdk.jsobject \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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,17 +26,17 @@
# Default version, product, and vendor information to use,
# unless overridden by configure
DEFAULT_VERSION_FEATURE=21
DEFAULT_VERSION_FEATURE=22
DEFAULT_VERSION_INTERIM=0
DEFAULT_VERSION_UPDATE=5
DEFAULT_VERSION_UPDATE=0
DEFAULT_VERSION_PATCH=0
DEFAULT_VERSION_EXTRA1=0
DEFAULT_VERSION_EXTRA2=0
DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2024-10-15
DEFAULT_VERSION_CLASSFILE_MAJOR=65 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_DATE=2024-03-19
DEFAULT_VERSION_CLASSFILE_MAJOR=66 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_VERSION_DOCS_API_SINCE=11
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="20 21"
DEFAULT_JDK_SOURCE_TARGET_VERSION=21
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="20 21 22"
DEFAULT_JDK_SOURCE_TARGET_VERSION=22
DEFAULT_PROMOTED_VERSION_PRE=ea

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2008, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2008, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -40,7 +40,7 @@ public class $NAME_CLZ$ extends Charset implements HistoricallyNamedCharset
}
public String historicalName() {
return "$NAME_HIS$";
return "$NAME_HIST$";
}
public boolean contains(Charset cs) {

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@
# used in jdk8.
############################### sbcs #########################################
#
# clzName csName hisName containASCII pkg
# clzName csName histName containASCII pkg
#
IBM437 IBM437 Cp437 false sun.nio.cs
IBM737 x-IBM737 Cp737 false sun.nio.cs
@@ -46,7 +46,7 @@ IBM1112 x-IBM1112 Cp1112 false sun.nio.cs.ext
IBM1122 x-IBM1122 Cp1122 false sun.nio.cs.ext
IBM1123 x-IBM1123 Cp1123 false sun.nio.cs.ext
IBM1124 x-IBM1124 Cp1124 false sun.nio.cs.ext
# map tables for 1140-1149 are updated manualy with the u+20ac entry
# map tables for 1140-1149 are updated manually with the u+20ac entry
IBM1140 IBM01140 Cp1140 false sun.nio.cs.ext
IBM1141 IBM01141 Cp1141 false sun.nio.cs.ext
IBM1142 IBM01142 Cp1142 false sun.nio.cs.ext
@@ -85,7 +85,7 @@ IBM875 x-IBM875 Cp875 false sun.nio.cs.ext
IBM918 IBM918 Cp918 false sun.nio.cs.ext
IBM921 x-IBM921 Cp921 false sun.nio.cs.ext
IBM922 x-IBM922 Cp922 false sun.nio.cs.ext
# use name as hisname as well, cs did not support hisname prevously
# use name as histname as well, cs did not support histname previously
ISO_8859_11 x-iso-8859-11 x-iso-8859-11 true sun.nio.cs.ext
ISO_8859_3 ISO-8859-3 ISO8859_3 true sun.nio.cs.ext
ISO_8859_6 ISO-8859-6 ISO8859_6 true sun.nio.cs.ext
@@ -113,7 +113,7 @@ TIS_620 TIS-620 TIS620 true sun.nio.cs.ext
#
############################### dbcs #########################################
#
#clzName csName hisName dbtype pkg ascii b1min b1max b2min b2max
#clzName csName histName dbtype pkg ascii b1min b1max b2min b2max
#
Big5 Big5 Big5 basic sun.nio.cs.ext true 0xa1 0xf9 0x40 0xfe
Johab x-Johab x-Johab basic sun.nio.cs.ext true 0x84 0xf9 0x31 0xfe

View File

@@ -708,7 +708,7 @@ CLDR data files are interpreted according to the LDML specification (http://unic
<territory type="BS">𞤄𞤢𞤸𞤢𞤥𞤢𞥄𞤧</territory>
<territory type="BT">𞤄𞤵𞥅𞤼𞤢𞥄𞤲</territory>
<territory type="BV">𞤅𞤵𞤪𞤭𞥅𞤪𞤫 𞤄𞤵𞥅𞤾𞤫𞥅</territory>
<territory type="BW">𞤄𞤮𞤼𞤧𞤵𞤱𞤢𞥄𞤲𞤢</territory>
<territory type="BW">𞤄𞤮𞤼𞤧𞤵𞤱𞤢𞥄𞤲𞤢</territory>
<territory type="BY">𞤄𞤫𞤤𞤢𞤪𞤵𞥅𞤧</territory>
<territory type="BZ">𞤄𞤫𞤤𞤭𞥅𞥁</territory>
<territory type="CA">𞤑𞤢𞤲𞤢𞤣𞤢𞥄</territory>
@@ -8278,7 +8278,7 @@ CLDR data files are interpreted according to the LDML specification (http://unic
<exemplarCity>𞤐𞤵𞥅𞤳</exemplarCity>
</zone>
<zone type="America/Scoresbysund">
<exemplarCity>𞤋𞤼𞥆𞤮𞤳𞤮𞤪𞤼𞤮𞥅𞤪𞤥𞤭𞥅𞤼</exemplarCity>
<exemplarCity>𞤋𞤼𞥆𞤮𞤳𞤮𞤪𞤼𞤮𞥅𞤪𞤥𞤭𞥅𞤼</exemplarCity>
</zone>
<zone type="America/Danmarkshavn">
<exemplarCity>𞤁𞤢𞥄𞤲𞤥𞤢𞤪𞤳𞥃𞤢𞥄𞤾𞤲</exemplarCity>

View File

@@ -200,7 +200,7 @@ JVM_SetNativeThreadName
JVM_SetPrimitiveArrayElement
JVM_SetStackWalkContinuation
JVM_SetThreadPriority
JVM_Sleep
JVM_SleepNanos
JVM_StartThread
JVM_SupportsCX8
JVM_TotalMemory

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 2023, 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
@@ -539,7 +539,6 @@ $(BUILDDIR)/$(gcc_ver)/Makefile \
$(PATHPRE) $(ENVS) $(GCC_CFG) $(EXTRA_CFLAGS) \
$(CONFIG) \
--with-sysroot=$(SYSROOT) \
--with-debug-prefix-map=$(OUTPUT_ROOT)=devkit \
--enable-languages=c,c++ \
--enable-shared \
--disable-nls \

View File

@@ -1,6 +1,6 @@
#!/bin/bash -e
#
# Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 2023, 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
@@ -29,7 +29,6 @@
JMH_VERSION=1.37
COMMONS_MATH3_VERSION=3.6.1
JOPT_SIMPLE_VERSION=5.0.4
MAVEN_MIRROR=${MAVEN_MIRROR:-https://repo.maven.apache.org/maven2}
BUNDLE_NAME=jmh-$JMH_VERSION.tar.gz
@@ -42,9 +41,9 @@ cd $JAR_DIR
rm -f *
fetchJar() {
url="${MAVEN_MIRROR}/$1/$2/$3/$2-$3.jar"
url="https://repo.maven.apache.org/maven2/$1/$2/$3/$2-$3.jar"
if command -v curl > /dev/null; then
curl -OL --fail $url
curl -O --fail $url
elif command -v wget > /dev/null; then
wget $url
else

View File

@@ -38,6 +38,38 @@
# Note that the libtool and texinfo packages are needed to build libffi
# $ sudo apt install libtool texinfo
# Note that while the build system supports linking against libffi on Windows (x64),
# I couldn't get this script working with a Windows devkit, and instead had to manually create
# a libffi bundle for Windows. The steps I took were as follows:
#
# 1. run 'x64 Native Tools Command Prompt for VS 2022'. After that, cl.exe and link.exe should be on path
#
# 2. in the same shell, run `ucrt64` (this is one of the shell environments that comes with MSYS2).
# This should carry over the environment set up by the VS dev prompt into the ucrt64 prompt.
#
# 3. then, in the libffi repo root folder:
# 3.a run `autogen.sh`
# 3.b run:
# ```
# bash configure \
# CC="/path/to/libffi/msvcc.sh -m64" \
# CXX="/path/to/libffi/msvcc.sh -m64" \
# CPPFLAGS="-DFFI_BUILDING_DLL" \
# --disable-docs \
# --prefix=<install dest>
# ```
# (`<install dest>` can be whatever you like. That's what you point `--with-libffi` to).
#
# 4. run `make install`. This should create the `<install dest>` directory with the files:
# `include/ffi.h`, `include/ffitarget.h`, `lib/libffi.dll`. It also creates a `lib/libffi.lib` file,
# but it is of the wrong file type, `DLL` rather than `LIBRARY`.
#
# 5. Manually create a working `.lib` file (in the <install dest>/lib dir):
# 5.a use `dumpbin /exports libffi.dll` to get a list of exported symbols
# 5.b put them in a `libffi.def` file: `EXPORTS` on the first line, then a symbol on each line following
# 5.c run `lib /def:libffi.def /machine:x64 /out:libffi.lib` to create the right `.lib` file (`lib` is a visual studio tool)
#
LIBFFI_VERSION=3.4.2
BUNDLE_NAME=libffi-$LIBFFI_VERSION.tar.gz
@@ -49,6 +81,7 @@ SRC_DIR="$OUTPUT_DIR/src"
DOWNLOAD_DIR="$OUTPUT_DIR/download"
INSTALL_DIR="$OUTPUT_DIR/install"
IMAGE_DIR="$OUTPUT_DIR/image"
OS_NAME=$(uname -s)
USAGE="$0 <devkit dir>"
@@ -81,8 +114,33 @@ cd $LIBFFI_DIR
if [ ! -e $LIBFFI_DIR/configure ]; then
bash ./autogen.sh
fi
case $OS_NAME in
Linux)
CC=$DEVKIT_DIR/bin/gcc
CXX=$DEVKIT_DIR/bin/g++
# For Linux/x86 it's under /lib/ instead of /lib64/
LIB_FOLDER=lib64
LIB_NAME=libffi.so*
;;
Darwin)
CC=$DEVKIT_DIR/Xcode/Contents/Developer/usr/bin/gcc
CXX=$DEVKIT_DIR/Xcode/Contents/Developer/usr/bin/gcc
LIB_FOLDER=lib
LIB_NAME=libffi.*.dylib
;;
*)
echo " Unsupported OS: $OS_NAME"
exit 1
;;
esac
# For Linux/x86, add --build=i686-pc-linux-gnu CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32
bash ./configure --prefix=$INSTALL_DIR CC=$DEVKIT_DIR/bin/gcc CXX=$DEVKIT_DIR/bin/g++
bash ./configure \
--disable-docs \
--prefix=$INSTALL_DIR \
CC=$CC \
CXX=$CXX
# Run with nice to keep system usable during build.
nice make $MAKE_ARGS install
@@ -90,10 +148,9 @@ nice make $MAKE_ARGS install
mkdir -p $IMAGE_DIR
# Extract what we need into an image
if [ ! -e $IMAGE_DIR/lib/libffi.so ]; then
echo "Copying libffi.so* to image"
echo "Copying ${LIB_NAME} to image"
mkdir -p $IMAGE_DIR/lib
# For Linux/x86 it's under /lib/ instead of /lib64/
cp -a $INSTALL_DIR/lib64/libffi.so* $IMAGE_DIR/lib/
cp -a $INSTALL_DIR/${LIB_FOLDER}/${LIB_NAME} $IMAGE_DIR/lib/
fi
if [ ! -e $IMAGE_DIR/include/ ]; then
echo "Copying include to image"

View File

@@ -51,7 +51,7 @@ ifeq ($(call check-jvm-feature, compiler2), true)
endif
# Set the C++ standard
ADLC_CFLAGS += $(ADLC_LANGSTD_CXXFLAGS)
ADLC_CFLAGS += $(ADLC_LANGSTD_CXXFLAG)
# NOTE: The old build didn't set -DASSERT for windows but it doesn't seem to
# hurt.
@@ -62,7 +62,7 @@ ifeq ($(call check-jvm-feature, compiler2), true)
ADLC_CFLAGS += -I$(TOPDIR)/src/hotspot/share
# Add file macro mappings
ADLC_CFLAGS += $(FILE_MACRO_CFLAGS) $(REPRODUCIBLE_CFLAGS)
ADLC_CFLAGS += $(FILE_MACRO_CFLAGS)
ifeq ($(UBSAN_ENABLED), true)
ADLC_CFLAGS += $(UBSAN_CFLAGS)
@@ -133,21 +133,6 @@ ifeq ($(call check-jvm-feature, compiler2), true)
ADLCFLAGS += -DARM=1
endif
# Set ASSERT, NDEBUG and PRODUCT flags just like in JvmFlags.gmk
ifeq ($(DEBUG_LEVEL), release)
# release builds disable uses of assert macro from <assert.h>.
ADLCFLAGS += -DNDEBUG
# For hotspot, release builds differ internally between "optimized" and "product"
# in that "optimize" does not define PRODUCT.
ifneq ($(HOTSPOT_DEBUG_LEVEL), optimized)
ADLCFLAGS += -DPRODUCT
endif
else ifeq ($(DEBUG_LEVEL), fastdebug)
ADLCFLAGS += -DASSERT
else ifeq ($(DEBUG_LEVEL), slowdebug)
ADLCFLAGS += -DASSERT
endif
##############################################################################
# Concatenate all ad source files into a single file, which will be fed to
# adlc. Also include a #line directive at the start of every included file

View File

@@ -84,11 +84,11 @@ CFLAGS_VM_VERSION := \
# Disabled warnings
DISABLED_WARNINGS_gcc := array-bounds comment delete-non-virtual-dtor \
empty-body ignored-qualifiers implicit-fallthrough int-in-bool-context \
empty-body implicit-fallthrough int-in-bool-context \
maybe-uninitialized missing-field-initializers parentheses \
shift-negative-value unknown-pragmas
DISABLED_WARNINGS_clang := ignored-qualifiers sometimes-uninitialized \
DISABLED_WARNINGS_clang := sometimes-uninitialized \
missing-braces delete-non-abstract-non-virtual-dtor unknown-pragmas
ifneq ($(DEBUG_LEVEL), release)
@@ -139,6 +139,13 @@ JVM_STRIPFLAGS ?= $(STRIPFLAGS)
# This source set is reused so save in cache.
$(call FillFindCache, $(JVM_SRC_DIRS))
# The global operator new functions defined in operator_new.cpp are intended
# to detect and prevent the VM code from calling them. See more details in
# operator_new.cpp. Exclude operator_new.o when statically linking the VM
# code with JDK natives, as the JDK natives might need to call the global
# operator new.
LIBJVM_STATIC_EXCLUDE_OBJS := operator_new.o
################################################################################
# Now set up the actual compilation of the main hotspot native library
@@ -157,13 +164,8 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJVM, \
DISABLED_WARNINGS_gcc_ad_$(HOTSPOT_TARGET_CPU_ARCH).cpp := nonnull, \
DISABLED_WARNINGS_gcc_cgroupV1Subsystem_linux.cpp := address, \
DISABLED_WARNINGS_gcc_cgroupV2Subsystem_linux.cpp := address, \
DISABLED_WARNINGS_gcc_handshake.cpp := stringop-overflow, \
DISABLED_WARNINGS_gcc_interp_masm_x86.cpp := uninitialized, \
DISABLED_WARNINGS_gcc_jvmciCodeInstaller.cpp := stringop-overflow, \
DISABLED_WARNINGS_gcc_jvmtiTagMap.cpp := stringop-overflow, \
DISABLED_WARNINGS_gcc_postaloc.cpp := address, \
DISABLED_WARNINGS_gcc_shenandoahLock.cpp := stringop-overflow, \
DISABLED_WARNINGS_gcc_synchronizer.cpp := stringop-overflow, \
DISABLED_WARNINGS_clang := $(DISABLED_WARNINGS_clang), \
DISABLED_WARNINGS_clang_arguments.cpp := missing-field-initializers, \
DISABLED_WARNINGS_clang_codeBuffer.cpp := tautological-undefined-compare, \
@@ -195,6 +197,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJVM, \
RC_FILEDESC := $(HOTSPOT_VM_DISTRO) $(OPENJDK_TARGET_CPU_BITS)-Bit $(JVM_VARIANT) VM, \
PRECOMPILED_HEADER := $(JVM_PRECOMPILED_HEADER), \
PRECOMPILED_HEADER_EXCLUDE := $(JVM_PRECOMPILED_HEADER_EXCLUDE), \
STATIC_LIB_EXCLUDE_OBJS := $(LIBJVM_STATIC_EXCLUDE_OBJS), \
))
# Always recompile abstract_vm_version.cpp if libjvm needs to be relinked. This ensures

View File

@@ -61,7 +61,7 @@ ifeq ($(call isTargetOs, windows), true)
$(eval $(call SetupCopyFiles, COPY_GTEST_PDB_$v, \
SRC := $(HOTSPOT_OUTPUTDIR)/variant-$v/libjvm/gtest, \
DEST := $(TEST_IMAGE_DIR)/hotspot/gtest/$v, \
FILES := jvm.dll.pdb gtestLauncher.exe.pdb, \
FILES := jvm.pdb gtestLauncher.pdb, \
)) \
$(eval TARGETS += $$(COPY_GTEST_PDB_$v)) \
) \

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2007, 2023, Oracle and/or its affiliates. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
@@ -242,7 +242,7 @@
</nbjpdastart>
<property
name="@{jpda.jvmargs.property}"
value="-Xdebug -Xnoagent -Djava.compiler=none -Xrunjdwp:transport=dt_socket,address=${jpda.address}"
value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"
/>
</sequential>
</macrodef>

View File

@@ -329,7 +329,7 @@ class CompilerInterfaceVC10 extends CompilerInterface {
addAttr(rv, "PrecompiledHeaderOutputFile", outDir+Util.sep+"vm.pch");
addAttr(rv, "AssemblerListingLocation", outDir);
addAttr(rv, "ObjectFileName", outDir+Util.sep);
addAttr(rv, "ProgramDataBaseFileName", outDir+Util.sep+"jvm.dll.pdb");
addAttr(rv, "ProgramDataBaseFileName", outDir+Util.sep+"jvm.pdb");
// Set /nologo option
addAttr(rv, "SuppressStartupBanner", "true");
// Surpass the default /Tc or /Tp.
@@ -409,7 +409,7 @@ class CompilerInterfaceVC10 extends CompilerInterface {
addAttr(rv, "OutputFile", outDll);
addAttr(rv, "SuppressStartupBanner", "true");
addAttr(rv, "ModuleDefinitionFile", outDir+Util.sep+"vm.def");
addAttr(rv, "ProgramDatabaseFile", outDir+Util.sep+"jvm.dll.pdb");
addAttr(rv, "ProgramDatabaseFile", outDir+Util.sep+"jvm.pdb");
addAttr(rv, "SubSystem", "Windows");
addAttr(rv, "BaseAddress", "0x8000000");
addAttr(rv, "ImportLibrary", outDir+Util.sep+"jvm.lib");

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2023, 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
@@ -29,7 +29,7 @@ class Charset {
String pkgName;
String clzName;
String csName;
String hisName;
String histName;
String type;
String os;
boolean isASCII;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2023, 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 @@ public class DBCS {
{
String clzName = cs.clzName;
String csName = cs.csName;
String hisName = cs.hisName;
String histName = cs.histName;
String pkgName = cs.pkgName;
boolean isASCII = cs.isASCII;
int b1Min = cs.b1Min;
@@ -152,8 +152,8 @@ public class DBCS {
Scanner s = new Scanner(new File(srcDir, template));
PrintStream ops = new PrintStream(new FileOutputStream(
new File(dstDir, clzName + ".java")));
if (hisName == null)
hisName = "";
if (histName == null)
histName = "";
// (5) c2b replacement, only used for JIs0208/0212, which
// are two pure db charsets so default '3f' does not work
@@ -174,7 +174,7 @@ public class DBCS {
continue;
}
line = line.replace("$PACKAGE$" , pkgName)
.replace("$IMPLEMENTS$", (hisName == null)?
.replace("$IMPLEMENTS$", (histName == null)?
"" : "implements HistoricallyNamedCharset")
.replace("$NAME_CLZ$", clzName)
.replace("$NAME_ALIASES$",
@@ -189,8 +189,8 @@ public class DBCS {
"return ((cs.name().equals(\"US-ASCII\")) || (cs instanceof " + clzName + "));":
"return (cs instanceof " + clzName + ");"))
.replace("$HISTORICALNAME$",
(hisName == null)? "" :
" public String historicalName() { return \"" + hisName + "\"; }")
(histName == null)? "" :
" public String historicalName() { return \"" + histName + "\"; }")
.replace("$DECTYPE$", type)
.replace("$ENCTYPE$", type)
.replace("$B1MIN$" , "0x" + Integer.toString(b1Min, 16))

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2009, 2023, 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
@@ -155,7 +155,7 @@ public class Main {
throw new RuntimeException("Error: incorrect charset line [" + line + "]");
}
if ((cs = charsets.get(tokens[2])) != null) {
throw new RuntimeException("Error: deplicate charset line [" + line + "]");
throw new RuntimeException("Error: duplicate charset line [" + line + "]");
}
cs = new Charset();
cs.csName = tokens[1];
@@ -179,8 +179,8 @@ public class Main {
case "os":
cs.os = tokens[2];
break;
case "hisname":
cs.hisName = tokens[2];
case "histname":
cs.histName = tokens[2];
break;
case "ascii":
cs.isASCII = Boolean.parseBoolean(tokens[2]);
@@ -229,7 +229,7 @@ public class Main {
static void verbose(Charset cs) {
System.out.printf("%s, %s, %s, %s, %s %b%n",
cs.clzName, cs.csName, cs.hisName, cs.pkgName, cs.type, cs.isASCII);
cs.clzName, cs.csName, cs.histName, cs.pkgName, cs.type, cs.isASCII);
}
static int toInteger(String s) {

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2008, 2023, 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 @@ public class SBCS {
{
String clzName = cs.clzName;
String csName = cs.csName;
String hisName = cs.hisName;
String histName = cs.histName;
String pkgName = cs.pkgName;
boolean isASCII = cs.isASCII;
boolean isLatin1Decodable = true;
@@ -170,8 +170,8 @@ public class SBCS {
line = line.replace("$NAME_ALIASES$",
"ExtendedCharsets.aliasesFor(\"" + csName + "\")");
}
if (line.indexOf("$NAME_HIS$", i) != -1) {
line = line.replace("$NAME_HIS$", hisName);
if (line.indexOf("$NAME_HIST$", i) != -1) {
line = line.replace("$NAME_HIST$", histName);
}
if (line.indexOf("$CONTAINS$", i) != -1) {
if (isASCII)

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2001, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -32,7 +32,6 @@ import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import java.util.Date;
import java.util.HashMap;
import java.util.Locale;
@@ -340,15 +339,9 @@ public class GenerateCurrencyData {
validCurrencyCodes.substring(i * 7 + 3, i * 7 + 6));
checkCurrencyCode(currencyCode);
int tableEntry = mainTable[(currencyCode.charAt(0) - 'A') * A_TO_Z + (currencyCode.charAt(1) - 'A')];
// Do not allow a future currency to be classified as an otherCurrency,
// otherwise it will leak out into Currency:getAvailableCurrencies
boolean futureCurrency = Arrays.asList(specialCaseNewCurrencies).contains(currencyCode);
boolean simpleCurrency = (tableEntry & SIMPLE_CASE_COUNTRY_FINAL_CHAR_MASK) == (currencyCode.charAt(2) - 'A');
// If neither a simple currency, or one defined in the future
// then the current currency is applicable to be added to the otherTable
if (!futureCurrency && !simpleCurrency) {
if (tableEntry == INVALID_COUNTRY_ENTRY ||
(tableEntry & SPECIAL_CASE_COUNTRY_MASK) != 0 ||
(tableEntry & SIMPLE_CASE_COUNTRY_FINAL_CHAR_MASK) != (currencyCode.charAt(2) - 'A')) {
if (otherCurrenciesCount == maxOtherCurrencies) {
throw new RuntimeException("too many other currencies");
}

View File

@@ -3700,8 +3700,8 @@ public class CreateSymbols {
Function<String, MethodParam> string2Param =
p -> {
int sep = p.indexOf(':');
return new MethodParam(Integer.parseInt(p.substring(0, sep)),
p.substring(sep + 1));
return new MethodParam(Integer.parseInt(p.substring(0, sep), 16),
p.substring(sep + 1));
};
methodParameters =
deserializeList(inMethodParameters).stream()

View File

@@ -51,9 +51,9 @@ import javacserver.util.Log;
public class Client {
private static final Log.Level LOG_LEVEL = Log.Level.INFO;
// Wait 4 seconds for response, before giving up on javac server.
private static final int CONNECTION_TIMEOUT = 4000;
private static final int MAX_CONNECT_ATTEMPTS = 10;
// Wait 2 seconds for response, before giving up on javac server.
private static final int CONNECTION_TIMEOUT = 2000;
private static final int MAX_CONNECT_ATTEMPTS = 3;
private static final int WAIT_BETWEEN_CONNECT_ATTEMPTS = 2000;
private final ClientConfiguration conf;
@@ -130,7 +130,7 @@ public class Client {
Log.error("Connection attempt failed: " + ex.getMessage());
if (attempt >= MAX_CONNECT_ATTEMPTS) {
Log.error("Giving up");
throw new IOException("Could not connect to server after " + MAX_CONNECT_ATTEMPTS + " attempts with timeout " + CONNECTION_TIMEOUT, ex);
throw new IOException("Could not connect to server", ex);
}
}
Thread.sleep(WAIT_BETWEEN_CONNECT_ATTEMPTS);

View File

@@ -78,8 +78,7 @@ ifeq ($(call isTargetOs, macosx aix linux), true)
NAME := jspawnhelper, \
SRC := $(TOPDIR)/src/$(MODULE)/unix/native/jspawnhelper, \
OPTIMIZATION := LOW, \
CFLAGS := $(CFLAGS_JDKEXE) $(VERSION_CFLAGS) \
-I$(TOPDIR)/src/$(MODULE)/unix/native/libjava, \
CFLAGS := $(CFLAGS_JDKEXE) -I$(TOPDIR)/src/$(MODULE)/unix/native/libjava, \
EXTRA_OBJECT_FILES := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libjava/childproc$(OBJ_SUFFIX), \
LDFLAGS := $(LDFLAGS_JDKEXE), \
OUTPUT_DIR := $(SUPPORT_OUTPUTDIR)/modules_libs/$(MODULE), \

View File

@@ -228,6 +228,7 @@ ifeq ($(ENABLE_FALLBACK_LINKER), true)
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS := $(LIBFFI_LIBS), \
LIBS_windows := $(LIBFFI_LIBS) ws2_32.lib, \
))
TARGETS += $(BUILD_LIBFALLBACKLINKER)

View File

@@ -59,7 +59,6 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJAVA, \
CFLAGS := $(CFLAGS_JDKLIB) \
$(LIBJAVA_CFLAGS), \
jdk_util.c_CFLAGS := $(VERSION_CFLAGS), \
ProcessImpl_md.c_CFLAGS := $(VERSION_CFLAGS), \
WARNINGS_AS_ERRORS_xlc := false, \
DISABLED_WARNINGS_gcc_ProcessImpl_md.c := unused-result, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
@@ -154,15 +153,19 @@ endif
LIBJLI_CFLAGS += $(LIBZ_CFLAGS)
ifneq ($(USE_EXTERNAL_LIBZ), true)
# Extra files from the zlib.
LIBJLI_EXTRA_FILE_LIST := inflate.c inftrees.c inffast.c zadler32.c zcrc32.c zutil.c
LIBJLI_EXTRA_FILES += \
$(addprefix $(TOPDIR)/src/java.base/share/native/libzip/zlib/, \
inflate.c \
inftrees.c \
inffast.c \
zadler32.c \
zcrc32.c \
zutil.c \
)
$(LIBJLI_EXTRA_FILE_LIST))
# Do not include these libz objects in the static libjli library.
# When statically linking the java launcher with all JDK and VM
# static libraries, we use the --whole-archive linker option.
# The duplicate objects in different static libraries cause linking
# errors due to duplicate symbols.
LIBJLI_STATIC_EXCLUDE_OBJS := $(subst .c,$(OBJ_SUFFIX),$(LIBJLI_EXTRA_FILE_LIST))
endif
$(eval $(call SetupJdkLibrary, BUILD_LIBJLI, \
@@ -181,6 +184,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJLI, \
LIBS_aix := $(LIBDL),\
LIBS_macosx := -framework Cocoa -framework Security -framework ApplicationServices, \
LIBS_windows := advapi32.lib comctl32.lib user32.lib, \
STATIC_LIB_EXCLUDE_OBJS := $(LIBJLI_STATIC_EXCLUDE_OBJS), \
))
TARGETS += $(BUILD_LIBJLI)

View File

@@ -141,8 +141,7 @@ endif
# pick them up since they aren't generated when the source dirs are
# searched and they aren't referenced by any other classes so they won't
# be picked up by implicit compilation. On a rebuild, they are picked up
# and compiled. Exclude them here to produce the same rt.jar as the old
# build does when building just once.
# and compiled.
EXCLUDE_FILES += \
javax/swing/plaf/nimbus/InternalFrameTitlePanePainter.java \
javax/swing/plaf/nimbus/OptionPaneMessageAreaPainter.java \

View File

@@ -132,6 +132,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBAWT, \
EXCLUDE_FILES := $(LIBAWT_EXFILES), \
OPTIMIZATION := HIGHEST, \
CFLAGS := $(CFLAGS_JDKLIB) $(LIBAWT_CFLAGS), \
CXXFLAGS := $(CXXFLAGS_JDKLIB) $(LIBAWT_CFLAGS), \
EXTRA_HEADER_DIRS := $(LIBAWT_EXTRA_HEADER_DIRS), \
DISABLED_WARNINGS_gcc_awt_LoadLibrary.c := unused-result, \
DISABLED_WARNINGS_gcc_debug_mem.c := format-nonliteral, \
@@ -221,6 +222,14 @@ ifeq ($(call isTargetOs, windows macosx), false)
LIBAWT_XAWT_LIBS += -lpthread
endif
# These are the object files provided by the awt native
# library. Do not include these external (non-awt_xawt library)
# objects in the static library. When statically linking the java
# launcher with all JDK and VM static libraries, we use the
# --whole-archive linker option. The duplicate objects in different
# static libraries cause linking errors due to duplicate symbols.
LIBAWT_XAWT_STATIC_EXCLUDE_OBJS := systemScale.o
$(eval $(call SetupJdkLibrary, BUILD_LIBAWT_XAWT, \
NAME := awt_xawt, \
EXTRA_SRC := $(LIBAWT_XAWT_EXTRA_SRC), \
@@ -264,6 +273,7 @@ ifeq ($(call isTargetOs, windows macosx), false)
$(call SET_SHARED_LIBRARY_ORIGIN) \
-L$(INSTALL_LIBRARIES_HERE), \
LIBS := $(X_LIBS) $(LIBAWT_XAWT_LIBS), \
STATIC_LIB_EXCLUDE_OBJS := $(LIBAWT_XAWT_STATIC_EXCLUDE_OBJS), \
))
$(BUILD_LIBAWT_XAWT): $(call FindLib, java.base, java)
@@ -387,6 +397,14 @@ ifeq ($(call isTargetOs, windows macosx), false)
LIBAWT_HEADLESS_CFLAGS := $(CUPS_CFLAGS) $(FONTCONFIG_CFLAGS) $(X_CFLAGS) \
-DHEADLESS=true
# These are the object files provided by the awt native
# library. Do not include these external (non-awt_headless library)
# objects in the static library. When statically linking the java
# launcher with all JDK and VM static libraries, we use the
# --whole-archive linker option. The duplicate objects in different
# static libraries cause linking errors due to duplicate symbols.
LIBAWT_HEADLESS_STATIC_EXCLUDE_OBJS := systemScale.o
$(eval $(call SetupJdkLibrary, BUILD_LIBAWT_HEADLESS, \
NAME := awt_headless, \
EXTRA_SRC := $(LIBAWT_HEADLESS_EXTRA_SRC), \
@@ -402,6 +420,7 @@ ifeq ($(call isTargetOs, windows macosx), false)
LDFLAGS_unix := -L$(INSTALL_LIBRARIES_HERE), \
LIBS_unix := -lawt -ljvm -ljava, \
LIBS_linux := $(LIBM) $(LIBDL), \
STATIC_LIB_EXCLUDE_OBJS := $(LIBAWT_HEADLESS_STATIC_EXCLUDE_OBJS), \
))
$(BUILD_LIBAWT_HEADLESS): $(BUILD_LIBAWT)
@@ -430,6 +449,7 @@ else
LIBFREETYPE_LIBS := -lfreetype
endif
# gcc_ftobjs.c := maybe-uninitialized required for GCC 7 builds.
$(eval $(call SetupJdkLibrary, BUILD_LIBFREETYPE, \
NAME := freetype, \
OPTIMIZATION := HIGHEST, \
@@ -438,6 +458,7 @@ else
EXTRA_HEADER_DIRS := $(BUILD_LIBFREETYPE_HEADER_DIRS), \
DISABLED_WARNINGS_microsoft := 4267 4244 4996, \
DISABLED_WARNINGS_gcc := dangling-pointer stringop-overflow, \
DISABLED_WARNINGS_gcc_ftobjs.c := maybe-uninitialized, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
))
@@ -472,25 +493,13 @@ else
endif
# hb-ft.cc is not presently needed, and requires freetype 2.4.2 or later.
# hb-subset and hb-style APIs are not needed, excluded to cut on compilation time.
LIBFONTMANAGER_EXCLUDE_FILES += hb-ft.cc hb-subset-cff-common.cc \
hb-subset-cff1.cc hb-subset-cff2.cc hb-subset-input.cc hb-subset-plan.cc \
hb-subset.cc hb-subset-instancer-solver.cc gsubgpos-context.cc hb-style.cc
# list of disabled warnings and the compilers for which it was specifically added.
# array-bounds -> GCC 12 on Alpine Linux
# parentheses -> GCC 6
# range-loop-analysis -> clang on Xcode12
LIBFONTMANAGER_EXCLUDE_FILES += libharfbuzz/hb-ft.cc
HARFBUZZ_DISABLED_WARNINGS_gcc := missing-field-initializers strict-aliasing \
unused-result array-bounds parentheses
# noexcept-type required for GCC 7 builds. Not required for GCC 8+.
# expansion-to-defined required for GCC 9 builds. Not required for GCC 10+.
# maybe-uninitialized required for GCC 8 builds. Not required for GCC 9+.
# calloc-transposed-args required for GCC 14 builds. (fixed upstream in Harfbuzz 032c931e1c0cfb20f18e5acb8ba005775242bd92)
HARFBUZZ_DISABLED_WARNINGS_CXX_gcc := class-memaccess noexcept-type \
expansion-to-defined dangling-reference maybe-uninitialized \
calloc-transposed-args
HARFBUZZ_DISABLED_WARNINGS_CXX_gcc := class-memaccess noexcept-type expansion-to-defined dangling-reference
HARFBUZZ_DISABLED_WARNINGS_clang := missing-field-initializers range-loop-analysis
HARFBUZZ_DISABLED_WARNINGS_microsoft := 4267 4244
@@ -605,7 +614,9 @@ ifeq ($(call isTargetOs, windows), true)
$(eval $(call SetupJdkLibrary, BUILD_LIBJAWT, \
NAME := jawt, \
OPTIMIZATION := LOW, \
CFLAGS := $(CXXFLAGS_JDKLIB) \
CFLAGS := $(CFLAGS_JDKLIB) \
$(LIBJAWT_CFLAGS), \
CXXFLAGS := $(CXXFLAGS_JDKLIB) \
$(LIBJAWT_CFLAGS), \
EXTRA_HEADER_DIRS := $(LIBJAWT_EXTRA_HEADER_DIRS), \
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK), \
@@ -788,6 +799,8 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
OPTIMIZATION := LOW, \
CFLAGS := $(CFLAGS_JDKLIB) $(LIBSPLASHSCREEN_CFLAGS) \
$(GIFLIB_CFLAGS) $(LIBJPEG_CFLAGS) $(PNG_CFLAGS) $(LIBZ_CFLAGS), \
CXXFLAGS := $(CXXFLAGS_JDKLIB) $(LIBSPLASHSCREEN_CFLAGS) \
$(GIFLIB_CFLAGS) $(LIBJPEG_CFLAGS) $(PNG_CFLAGS) $(LIBZ_CFLAGS), \
EXTRA_HEADER_DIRS := $(LIBSPLASHSCREEN_HEADER_DIRS), \
DISABLED_WARNINGS_gcc_dgif_lib.c := sign-compare, \
DISABLED_WARNINGS_gcc_jcmaster.c := implicit-fallthrough, \

View File

@@ -45,8 +45,9 @@ ifeq ($(call isTargetOs, windows), true)
$(eval $(call SetupJdkLibrary, BUILD_LIBSSPI_BRIDGE, \
NAME := sspi_bridge, \
OPTIMIZATION := LOW, \
CFLAGS := $(CFLAGS_JDKLIB) \
-I$(TOPDIR)/src/java.security.jgss/share/native/libj2gss, \
EXTRA_HEADER_DIRS := libj2gss, \
CFLAGS := $(CFLAGS_JDKLIB), \
CXXFLAGS := $(CXXFLAGS_JDKLIB), \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS := Secur32.lib, \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, 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,6 +43,9 @@ ifeq ($(call isTargetOs, windows), true)
CFLAGS := $(filter-out -Zc:wchar_t-, $(CFLAGS_JDKEXE)) -Zc:wchar_t \
-analyze- -Od -Gd -D_WINDOWS \
-D_UNICODE -DUNICODE -RTC1 -EHsc, \
CXXFLAGS := $(filter-out -Zc:wchar_t-, $(CXXFLAGS_JDKEXE)) -Zc:wchar_t \
-analyze- -Od -Gd -D_WINDOWS \
-D_UNICODE -DUNICODE -RTC1 -EHsc, \
DISABLED_WARNINGS_microsoft_jabswitch.cpp := 4267 4996, \
LDFLAGS := $(LDFLAGS_JDKEXE), \
LIBS := advapi32.lib version.lib user32.lib, \
@@ -65,6 +68,7 @@ ifeq ($(call isTargetOs, windows), true)
SRC := $(ACCESSIBILITY_SRCDIR)/jaccessinspector $(ACCESSIBILITY_SRCDIR)/common \
$(ACCESSIBILITY_SRCDIR)/toolscommon $(ACCESSIBILITY_SRCDIR)/bridge, \
CFLAGS := $$(CFLAGS_JDKEXE) $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
CXXFLAGS := $$(CXXFLAGS_JDKEXE) $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
LDFLAGS := $$(LDFLAGS_JDKEXE) -stack:655360, \
LIBS := advapi32.lib user32.lib, \
VERSIONINFO_RESOURCE := $(ACCESSIBILITY_SRCDIR)/jaccessinspector/jaccessinspectorWindow.rc, \
@@ -86,6 +90,7 @@ ifeq ($(call isTargetOs, windows), true)
SRC := $(ACCESSIBILITY_SRCDIR)/jaccesswalker $(ACCESSIBILITY_SRCDIR)/common \
$(ACCESSIBILITY_SRCDIR)/toolscommon $(ACCESSIBILITY_SRCDIR)/bridge, \
CFLAGS := $$(CFLAGS_JDKEXE) $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
CXXFLAGS := $$(CXXFLAGS_JDKEXE) $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
LDFLAGS := $$(LDFLAGS_JDKEXE) -stack:655360, \
LIBS := advapi32.lib comctl32.lib gdi32.lib user32.lib, \
VERSIONINFO_RESOURCE := $(ACCESSIBILITY_SRCDIR)/jaccesswalker/jaccesswalkerWindow.rc, \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2014, 2023, 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,6 +43,8 @@ ifeq ($(call isTargetOs, windows), true)
DISABLED_WARNINGS_microsoft := 4311 4302 4312, \
CFLAGS := $(filter-out -MD, $(CFLAGS_JDKLIB)) -MT \
-DACCESSBRIDGE_ARCH_$2, \
CXXFLAGS := $(filter-out -MD, $(CXXFLAGS_JDKLIB)) -MT \
-DACCESSBRIDGE_ARCH_$2, \
EXTRA_HEADER_DIRS := \
include/bridge \
java.desktop:include, \
@@ -70,6 +72,8 @@ ifeq ($(call isTargetOs, windows), true)
DISABLED_WARNINGS_microsoft_WinAccessBridge.cpp := 4302 4311, \
CFLAGS := $(CFLAGS_JDKLIB) \
-DACCESSBRIDGE_ARCH_$2, \
CXXFLAGS := $(CXXFLAGS_JDKLIB) \
-DACCESSBRIDGE_ARCH_$2, \
EXTRA_HEADER_DIRS := \
include/bridge, \
LDFLAGS := $(LDFLAGS_JDKLIB) \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2023, 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
@@ -33,6 +33,7 @@ ifeq ($(call isTargetOs, windows), true)
NAME := sunmscapi, \
OPTIMIZATION := LOW, \
CFLAGS := $(CFLAGS_JDKLIB), \
CXXFLAGS := $(CXXFLAGS_JDKLIB), \
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS := crypt32.lib advapi32.lib ncrypt.lib, \

View File

@@ -49,8 +49,8 @@ elif [ "$OPENJDK_TARGET_OS" = "windows" ]; then
SKIP_BIN_DIFF="true"
SKIP_FULLDUMP_DIFF="true"
ACCEPTED_JARZIP_CONTENTS="
/modules_libs/java.security.jgss/w2k_lsa_auth.dll.pdb
/modules_libs/java.security.jgss/w2k_lsa_auth.dll.map
/modules_libs/java.security.jgss/w2k_lsa_auth.pdb
/modules_libs/java.security.jgss/w2k_lsa_auth.map
/modules_libs/java.security.jgss/w2k_lsa_auth.dll
"
elif [ "$OPENJDK_TARGET_OS" = "macosx" ]; then

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2022, 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
@@ -660,7 +660,7 @@ public class GenerateJfrFiles {
out.write("");
out.write("union JfrNativeSettings {");
out.write(" // Array version.");
out.write(" jfrNativeEventSetting bits[NUMBER_OF_EVENTS + NUMBER_OF_RESERVED_EVENTS];");
out.write(" jfrNativeEventSetting bits[NUMBER_OF_EVENTS];");
out.write(" // Then, to make it easy to debug,");
out.write(" // add named struct members also.");
out.write(" struct {");

View File

@@ -80,10 +80,6 @@ IMAGES_TARGETS += $(COPY_FH)
# Use JTREG_TEST_OPTS for test VM options
# Use JTREG_TESTS for jtreg tests parameter
#
# Most likely you want to select a specific test from test/failure_handler/test
# and manually inspect the results. This target does not actually verify
# anything about the failure_handler's output or even if it ran at all.
#
RUN_DIR := $(FH_SUPPORT)/test
test:

View File

@@ -94,11 +94,6 @@ MLVM_STRESS_INCLUDES := \
-I$(VM_TESTBASE_DIR)/nsk/share/native \
-I$(VM_TESTBASE_DIR)/nsk/share/jni
NSK_GC_LOCK_JVMTI_INCLUDES := \
-I$(VM_TESTBASE_DIR)/nsk/share/gc/lock/jvmti \
-I$(VM_TESTBASE_DIR)/nsk/share/native \
-I$(VM_TESTBASE_DIR)/nsk/share/jni
NSK_GC_LOCK_JNI_INCLUDES := \
-I$(VM_TESTBASE_DIR)/nsk/share/gc/lock/jni \
-I$(VM_TESTBASE_DIR)/nsk/share/native \
@@ -172,8 +167,6 @@ BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libIndyRedefineClass := $(MLVM_JVMTI_INCLUD
BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libnativeAndMH := $(MLVM_STRESS_INCLUDES)
BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libJVMTIAllocLocker := $(NSK_GC_LOCK_JVMTI_INCLUDES)
BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libBooleanArrayCriticalLocker := $(NSK_GC_LOCK_JNI_INCLUDES)
BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libByteArrayCriticalLocker := $(NSK_GC_LOCK_JNI_INCLUDES)
BUILD_HOTSPOT_JTREG_LIBRARIES_CFLAGS_libCharArrayCriticalLocker := $(NSK_GC_LOCK_JNI_INCLUDES)
@@ -867,8 +860,10 @@ BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exesigtest := -ljvm
ifeq ($(call isTargetOs, windows), true)
BUILD_HOTSPOT_JTREG_EXECUTABLES_CFLAGS_exeFPRegs := -MT
BUILD_HOTSPOT_JTREG_EXCLUDE += exesigtest.c libterminatedThread.c libTestJNI.c libCompleteExit.c libMonitorWithDeadObjectTest.c libTestPsig.c libnativeStack.c exeGetCreatedJavaVMs.c
BUILD_HOTSPOT_JTREG_EXCLUDE += exesigtest.c libterminatedThread.c libTestJNI.c libCompleteExit.c libTestPsig.c exeGetCreatedJavaVMs.c
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libatExit := jvm.lib
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libnativeStack := jvm.lib
BUILD_HOTSPOT_JTREG_LIBRARIES_COPY_DEBUG_SYMBOLS_libnativeStack := true
BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exedaemonDestroy := jvm.lib
else
BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exedaemonDestroy := -ljvm
@@ -1508,11 +1503,8 @@ else
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libterminatedThread += -lpthread
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libatExit += -ljvm
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libCompleteExit += -lpthread
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libMonitorWithDeadObjectTest += -lpthread
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libnativeStack += -lpthread
BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exeGetCreatedJavaVMs := -ljvm -lpthread
BUILD_HOTSPOT_JTREG_EXCLUDE += libNativeException.c
endif
ifeq ($(ASAN_ENABLED), true)

View File

@@ -132,8 +132,6 @@ ifeq ($(call isTargetOs, linux), true)
# stripping during the test libraries' build.
BUILD_JDK_JTREG_LIBRARIES_CFLAGS_libFib := -g
BUILD_JDK_JTREG_LIBRARIES_STRIP_SYMBOLS_libFib := false
# nio tests' libCreationTimeHelper native needs -ldl linker flag
BUILD_JDK_JTREG_LIBRARIES_LIBS_libCreationTimeHelper := -ldl
endif
ifeq ($(ASAN_ENABLED), true)

View File

@@ -29,23 +29,6 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
ifndef SOURCE
export SOURCE := 7
endif
ifndef TARGET
export TARGET := 7
endif
ifndef JAVAC
export JAVAC := javac
endif
ifndef JAVA
export JAVA := java
endif
ifndef JAR
export JAR := jar
endif
SOURCEPATH=src
CLASSES=build
DIST=dist
@@ -97,18 +80,18 @@ SCM_DIRs = .hg .svn CVS RCS SCCS Codemgr_wsdata deleted_files
all: mkdirs J2DBench.jar J2DAnalyzer.jar
run: mkdirs J2DBench.jar
$(JAVA) -jar $(DIST)/J2DBench.jar
java -jar $(DIST)/J2DBench.jar
analyze: mkdirs J2DAnalyzer.jar
$(JAVA) -jar $(DIST)/J2DAnalyzer.jar
java -jar $(DIST)/J2DAnalyzer.jar
J2DBench.jar: \
$(J2DBENCH_CLASSES) $(J2DBENCH_RESOURCES) \
$(CLASSES)/j2dbench.manifest
$(JAR) cvmf $(CLASSES)/j2dbench.manifest $(DIST)/J2DBench.jar -C $(CLASSES) j2dbench
jar cvmf $(CLASSES)/j2dbench.manifest $(DIST)/J2DBench.jar -C $(CLASSES) j2dbench
J2DAnalyzer.jar: $(J2DANALYZER_CLASSES) $(CLASSES)/j2danalyzer.manifest
$(JAR) cvmf $(CLASSES)/j2danalyzer.manifest \
jar cvmf $(CLASSES)/j2danalyzer.manifest \
$(DIST)/J2DAnalyzer.jar -C $(CLASSES) j2dbench/report
$(CLASSES)/j2dbench/tests/iio/images: $(RESOURCES)/images
@@ -137,7 +120,7 @@ $(CLASSES):
mkdirs: $(DIST) $(CLASSES)
$(CLASSES)/j2dbench/%.class: $(SOURCEPATH)/j2dbench/%.java
$(JAVAC) -g:none -source $(SOURCE) -target $(TARGET) -d $(CLASSES) -sourcepath $(SOURCEPATH) $<
javac -g:none -source 1.7 -target 1.7 -d $(CLASSES) -sourcepath $(SOURCEPATH) $<
clean:
rm -rf $(CLASSES)

View File

@@ -23,9 +23,6 @@ The benchmark requires at least jdk1.4 to compile and run. Note that
source/target is set to 1.7 in the makefile and build.xml, because of
support in jdk 14 compiler. To check compatibility with jdk1.4 you can
use "-source 1.4 -target 1.4" options and jdk1.7.
Yo can use TARGET/SOURCE of makefile and -Dtarget/surce to set them up for your convinience.
Similarly you can set JAVA/JAVAC/JAR and -Djava/javac to select diffferent java/javac then is on yoru PATH
Unluckily in ant, you can not set jar, but ant should honor JAVA_HOME
-----------------------------------------------------------------------
How To Compile

View File

@@ -39,27 +39,6 @@
<property name="dist" location="dist"/>
<property name="resources" location="resources"/>
<condition property="source" value="7">
<not>
<isset property="source"/>
</not>
</condition>
<condition property="target" value="7">
<not>
<isset property="target"/>
</not>
</condition>
<condition property="java" value="java">
<not>
<isset property="java"/>
</not>
</condition>
<condition property="javac" value="javac">
<not>
<isset property="javac"/>
</not>
</condition>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
@@ -70,14 +49,13 @@
<target name="compile" depends="init"
description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
<javac debug="off" source="${source}" target="${target}" srcdir="${src}" destdir="${build}" fork="true" executable="${javac}"/>
<javac debug="off" source="1.7" target="1.7" srcdir="${src}" destdir="${build}"/>
</target>
<target name="run" depends="dist"
description="run J2DBench" >
<java jar="${dist}/J2DBench.jar"
fork="true"
jvm="${java}"
>
</java>
</target>
@@ -86,7 +64,6 @@
description="run J2DAnalyzer" >
<java jar="${dist}/J2DAnalyzer.jar"
fork="true"
jvm="${java}"
>
</java>
</target>

View File

@@ -125,7 +125,7 @@ public class BigContrastMetalTheme extends ContrastMetalTheme {
table.put("TextField.border", textBorder);
table.put("PasswordField.border", textBorder);
table.put("TextArea.border", textBorder);
table.put("TextPane.font", textBorder);
table.put("TextPane.font", controlFont);
table.put("ScrollPane.border", blackLineBorder);

View File

@@ -1,6 +1,6 @@
main.dir=${basedir}/../../../jfc/FileChooserDemo
src.dir=${main.dir}/src
src.dir=${main.dir}/
build.dir=build
classes.dir=${build.dir}/classes

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2006, 2023, Oracle and/or its affiliates. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
@@ -41,10 +41,7 @@
</nbjpdastart>
<java classname="${main.class}" failonerror="true" fork="true">
<classpath path="${run.cp}"/>
<jvmarg value="-Xdebug"/>
<jvmarg value="-Xnoagent"/>
<jvmarg value="-Djava.compiler=none"/>
<jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
<jvmarg value="-agentlib:jdwp=transport=dt_socket,server=n,suspend=n,address=${jpda.address}"/>
</java>
</target>

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