Compare commits

...

2343 Commits

Author SHA1 Message Date
Goetz Lindenmaier
432eb57354 8336587: failure_handler lldb command times out on macosx-aarch64 core file
Backport-of: 21a6cf848d
2025-05-27 11:57:36 +00:00
Goetz Lindenmaier
4acbd9889a 8202100: Merge vm/share/InMemoryJavaCompiler w/ jdk/test/lib/compiler/InMemoryJavaCompiler
Backport-of: 7404ddf24a
2025-05-27 11:56:26 +00:00
Aleksey Shipilev
81b0d4141f 8353237: [AArch64] Incorrect result of VectorizedHashCode intrinsic on Cortex-A53
Backport-of: 883e52aa10
2025-05-27 07:38:44 +00:00
Satyen Subramaniam
286761666b 8343037: Missing @since tag on JColorChooser.showDialog overload
Backport-of: bd795946e7
2025-05-23 18:32:40 +00:00
Goetz Lindenmaier
b4ee5241cc 8356096: ISO 4217 Amendment 179 Update
Reviewed-by: rrich
Backport-of: 0cb355ee92
2025-05-22 09:50:24 +00:00
Goetz Lindenmaier
f98e209417 8183348: Better cleanup for jdk/test/sun/security/pkcs12/P12SecretKey.java
Backport-of: 03f0ec4a35
2025-05-22 09:48:48 +00:00
Goetz Lindenmaier
26648636b5 8332252: Clean up vmTestbase/vm/share
Backport-of: a81e1bf1e1
2025-05-22 09:47:08 +00:00
Sergey Bylokhov
e225254fbd 8357193: [VS 2022 17.14] Warning C5287 in debugInit.c: enum type mismatch during build
Backport-of: 5f38d1bb94
2025-05-22 07:39:44 +00:00
Goetz Lindenmaier
302ce64c12 8353070: Clean up and open source couple AWT Graphics related tests (Part 1)
Backport-of: 5660922568
2025-05-21 17:31:03 +00:00
Goetz Lindenmaier
90a37b0f94 8354554: Open source several clipboard tests batch1
Backport-of: 4873eec06f
2025-05-21 17:27:49 +00:00
Goetz Lindenmaier
0c5b28b0ab 8353685: Open some JComboBox bugs 4
Backport-of: 0b2a2f38d0
2025-05-21 17:25:37 +00:00
Goetz Lindenmaier
51ccc37c5e 8353446: Open source several AWT Menu tests - Batch 2
Backport-of: 17b080b2c9
2025-05-21 17:23:56 +00:00
Goetz Lindenmaier
ddc27a665d 8353942: Open source Swing Tests - Set 5
Backport-of: 9a0cff692d
2025-05-21 17:21:52 +00:00
Goetz Lindenmaier
994b89d51b 8354255: [jittester] Remove TempDir debug output
Backport-of: 1fc1cc5da9
2025-05-21 17:19:48 +00:00
Goetz Lindenmaier
861d3ec176 8347083: Incomplete logging in nsk/jvmti/ResourceExhausted/resexhausted00* tests
Backport-of: 33f9be8de7
2025-05-21 17:18:39 +00:00
Goetz Lindenmaier
3f84e7bbe5 8347000: Bug in com/sun/net/httpserver/bugs/B6361557.java test
Backport-of: 5e6cda4799
2025-05-21 17:17:21 +00:00
Goetz Lindenmaier
49e133eab7 8345838: Remove the appcds/javaldr/AnonVmClassesDuringDump.java test
Reviewed-by: mbaesken
Backport-of: f8974ba718
2025-05-21 17:16:08 +00:00
Goetz Lindenmaier
1bf7c29e6e 8310525: DynamicLauncher for JDP test needs to try harder to find a free port
Backport-of: 59407faf7b
2025-05-21 17:14:52 +00:00
Arno Zeller
56972c620c 8354530: AIX: sporadic unexpected errno when calling setsockopt in Net.joinOrDrop
Backport-of: dc881ee369
2025-05-21 16:09:36 +00:00
Goetz Lindenmaier
f5c4708c01 8324799: Use correct extension for C++ test headers
Reviewed-by: mbaesken
Backport-of: 998d0baab0
2025-05-21 08:25:48 +00:00
Goetz Lindenmaier
51a692358f 8340146: ZGC: TestAllocateHeapAt.java should not run with UseLargePages
Backport-of: 4098acc200
2025-05-20 18:28:14 +00:00
Taizo Kurashige
6ae1a2d2b1 8352942: jdk/jfr/startupargs/TestMemoryOptions.java fails with 32-bit build
Backport-of: c3de94cee1
2025-05-20 17:58:48 +00:00
Satyen Subramaniam
17b695d46d 8308033: The jcmd thread dump related tests should test virtual threads
Backport-of: edd47c10eb
2025-05-20 17:49:42 +00:00
Roman Marchenko
a1e58917df 8297692: Avoid sending per-region GCPhaseParallel JFR events in G1ScanCollectionSetRegionClosure
Reviewed-by: phh
Backport-of: a73226b18e
2025-05-19 14:57:09 +00:00
Goetz Lindenmaier
34496955f9 8352908: Open source several swing tests batch1
Backport-of: a2dc9c71e4
2025-05-19 06:05:31 +00:00
Goetz Lindenmaier
e151ba40d0 8353475: Open source two Swing DefaultCaret tests
Backport-of: e08441c033
2025-05-19 06:04:13 +00:00
Goetz Lindenmaier
716b87fcb6 8352684: Opensource JInternalFrame tests - series1
Backport-of: 66435c27b3
2025-05-19 06:02:39 +00:00
Goetz Lindenmaier
ad6f34f1ac 8353320: Open source more Swing text tests
Backport-of: 74c2d8f41b
2025-05-19 06:01:24 +00:00
Goetz Lindenmaier
61c15906d3 8352680: Opensource few misc swing tests
Backport-of: c0b61d3b88
2025-05-19 06:00:00 +00:00
Goetz Lindenmaier
9a5daf1736 8352676: Opensource JMenu tests - series1
Backport-of: c002b97ee9
2025-05-16 08:15:51 +00:00
Goetz Lindenmaier
a696fc06db 8350383: Test: add more test case for string compare (UL case)
Backport-of: c73fead5ca
2025-05-16 08:14:21 +00:00
Goetz Lindenmaier
2c30c45d42 8345547: test/jdk/javax/swing/text/DefaultEditorKit/4278839/bug4278839.java fails in ubuntu22.04
Backport-of: e46d822aeb
2025-05-16 08:13:11 +00:00
Goetz Lindenmaier
437a53d714 8345447: test/jdk/javax/swing/JToolBar/4529206/bug4529206.java fails in ubuntu22.04
Backport-of: 923321cfb1
2025-05-16 08:10:44 +00:00
Goetz Lindenmaier
40fcb9038f 8339769: Incorrect error message during startup if working directory does not exist
Backport-of: 65b9abaa29
2025-05-16 08:09:34 +00:00
Goetz Lindenmaier
e3a7b10461 8332921: Ctrl+C does not call shutdown hooks after JLine upgrade
Reviewed-by: phh
Backport-of: b3f540d354
2025-05-16 08:08:25 +00:00
Goetz Lindenmaier
63bfa0bacf 8328673: Convert closed text/html/CSS manual applet test to main
Backport-of: cd534f8197
2025-05-16 08:07:06 +00:00
Goetz Lindenmaier
e83e1383f7 8326389: [test] improve assertEquals failure output
Backport-of: 9b1f1e5294
2025-05-16 08:05:43 +00:00
Goetz Lindenmaier
d99ca4d976 8326524: Rename agent_common.h
Backport-of: d482c1af28
2025-05-16 08:02:36 +00:00
Goetz Lindenmaier
b1ff6b709d 8310066: Improve test coverage for JVMTI GetThreadState on carrier and mounted vthread
Backport-of: 15195e6018
2025-05-16 08:00:49 +00:00
Suchismith Roy
0726d08c3a 8355498: [AIX] Adapt code for C++ VLA rule
Backport-of: 2447b9812a
2025-05-15 17:52:37 +00:00
Sergey Bylokhov
f64cc327de 8356571: Re-enable -Wtype-limits for GCC in LCMS
Reviewed-by: sgehwolf
Backport-of: 9a0e6f338f
2025-05-15 16:59:58 +00:00
Goetz Lindenmaier
ecfa00db74 8326090: Rename jvmti_aod.h
Backport-of: 27003b53bb
2025-05-15 07:43:48 +00:00
Goetz Lindenmaier
7b471b7926 8325910: Rename jnihelper.h
Backport-of: 810daf8206
2025-05-15 07:42:32 +00:00
Goetz Lindenmaier
122b4f5918 8325458: Rename mlvmJvmtiUtils.h
Backport-of: b356fee5d8
2025-05-15 07:40:59 +00:00
Goetz Lindenmaier
e9281acfed 8325456: Rename nsk_mutex.h
Backport-of: 10beb3184e
2025-05-15 07:39:23 +00:00
Goetz Lindenmaier
6a6e4923d8 8325367: Rename nsk_list.h
Backport-of: 9cccf0515e
2025-05-15 07:37:43 +00:00
Goetz Lindenmaier
f821c2f981 8325347: Rename native_thread.h
Backport-of: f2f634448e
2025-05-15 07:36:22 +00:00
Goetz Lindenmaier
b482038df5 8325180: Rename jvmti_FollowRefObjects.h
Backport-of: 2d252ee06e
2025-05-15 07:34:08 +00:00
Goetz Lindenmaier
c75eb9dbfe 8325055: Rename Injector.h
Backport-of: 6787c4c3dd
2025-05-15 07:27:08 +00:00
Goetz Lindenmaier
634ffb073d 8324880: Rename get_stack_trace.h
Backport-of: f57c7223cf
2025-05-15 07:25:26 +00:00
Goetz Lindenmaier
a9ee91b4be 8324681: Replace NULL with nullptr in HotSpot jtreg test native code files
Reviewed-by: mdoerr
Backport-of: a6bdee48f3
2025-05-15 07:24:12 +00:00
Sergey Bylokhov
458e97c1d5 8356053: Test java/awt/Toolkit/Headless/HeadlessToolkit.java fails by timeout
Backport-of: 375f3dc9ed
2025-05-14 21:04:49 +00:00
Satyen Subramaniam
745f7bf442 8313430: [JVMCI] fatal error: Never compilable: in JVMCI shutdown
Backport-of: acd9310234
2025-05-14 18:16:13 +00:00
Galder Zamarreño
eb8320ce84 8344925: translet-name ignored when package-name is also set
Reviewed-by: joehw
Backport-of: 3989a19957
2025-05-14 08:50:03 +00:00
Daniel Hu
38a356d3fa 8316629: j.text.DateFormatSymbols setZoneStrings() exception is unhelpful
Backport-of: ef49e6c0d7
2025-05-12 16:16:54 +00:00
Goetz Lindenmaier
13eedbe268 8333117: Remove support of remote and manual debuggee launchers
Backport-of: 99e4d77aac
2025-05-12 14:29:36 +00:00
Goetz Lindenmaier
3bc5b96702 8267174: Many test files have the wrong Copyright header
Reviewed-by: mbaesken
Backport-of: 020255a72d
2025-05-12 14:19:10 +00:00
Goetz Lindenmaier
d4f2f3ace3 8310643: Misformatted copyright messages in FFM
Reviewed-by: mdoerr
Backport-of: 0b4387e3a3
2025-05-12 14:17:37 +00:00
Daniel Hu
e227f6aab1 8210471: GZIPInputStream constructor could leak an un-end()ed Inflater
Backport-of: d9e7b7e7da
2025-05-11 23:27:00 +00:00
Satyen Subramaniam
0545f2cc02 8314319: LogCompilation doesn't reset lateInlining when it encounters a failure.
Backport-of: e9e0c5699b
2025-05-10 03:11:45 +00:00
Satyen Subramaniam
b654313e4f 8324345: Stack overflow during C2 compilation when splitting memory phi
Backport-of: fdb4350fce
2025-05-10 03:10:46 +00:00
Satyen Subramaniam
5c184275d2 8315827: Kitchensink.java and RenaissanceStressTest.java time out with jvmti module errors
Backport-of: 75a7c199d8
2025-05-10 03:10:33 +00:00
Satyen Subramaniam
42129b336f 8312246: NPE when HSDB visits bad oop
Backport-of: a7427678e1
2025-05-10 02:58:36 +00:00
Daniel Hu
ad6f24f9c6 8313290: Misleading exception message from STS.Subtask::get when task forked after shutdown
Backport-of: ed0f75f266
2025-05-10 02:56:32 +00:00
Satyen Subramaniam
7160a3b290 8315128: jdk/jfr/event/runtime/TestResidentSetSizeEvent.java fails with "The size should be less than or equal to peak"
Backport-of: a9de5c7f13
2025-05-10 02:43:10 +00:00
Satyen Subramaniam
301fd4d12f 8318811: Compiler directives parser swallows a character after line comments
Backport-of: 141dae8b76
2025-05-10 02:42:10 +00:00
Satyen Subramaniam
ecd9166c93 8318509: x86 count_positives intrinsic broken for -XX:AVX3Threshold=0
Backport-of: e67550cfec
2025-05-10 02:41:04 +00:00
Goetz Lindenmaier
23469f8de1 8349492: Update sun/security/pkcs12/KeytoolOpensslInteropTest.java to use a recent Openssl version
Reviewed-by: mdoerr
Backport-of: 8d8bd0c4b3
2025-05-09 16:10:14 +00:00
Francesco Andreuzzi
015a386341 8317264: Pattern.Bound has static fields that should be static final.
Backport-of: ecb5e8a03f
2025-05-09 11:47:27 +00:00
Goetz Lindenmaier
cd0df72dbb 8350498: Remove two Camerfirma root CA certificates
Backport-of: 1313349a2e
2025-05-08 11:04:38 +00:00
Goetz Lindenmaier
16a4d4c4be 8348865: JButton/bug4796987.java never runs because Windows XP is unavailable
Backport-of: 650d0d954e
2025-05-08 11:03:09 +00:00
Goetz Lindenmaier
d09ff2d8c5 8249831: Test sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java is marked with @ignore
Backport-of: c5ac3c4f11
2025-05-08 11:01:27 +00:00
Goetz Lindenmaier
12e6be0762 8347019: Test javax/swing/JRadioButton/8033699/bug8033699.java still fails: Focus is not on Radio Button Single as Expected
Backport-of: 342dec93f2
2025-05-08 10:59:34 +00:00
Goetz Lindenmaier
cbdaf34bb9 8347296: WinInstallerUiTest fails in local test runs if the path to test work directory is longer that regular
Backport-of: b3e8736091
2025-05-08 10:58:20 +00:00
Goetz Lindenmaier
ab071087d0 8341177: Opensource few List and a Window test
Backport-of: 602408e4f3
2025-05-08 10:56:41 +00:00
Goetz Lindenmaier
98847a353b 8340407: Open source a few more Component related tests
Backport-of: a32c3b43aa
2025-05-08 10:55:31 +00:00
Goetz Lindenmaier
673746c438 8338154: Fix -Wzero-as-null-pointer-constant warnings in gtest framework
Backport-of: d77e6fe45c
2025-05-08 10:50:07 +00:00
Goetz Lindenmaier
16d71595db 8335836: serviceability/jvmti/StartPhase/AllowedFunctions/AllowedFunctions.java fails with unexpected exit code: 112
Backport-of: 965d6b9cbe
2025-05-08 10:44:09 +00:00
Goetz Lindenmaier
6def786543 8330534: Update nsk/jdwp tests to use driver instead of othervm
Backport-of: 56e8e60792
2025-05-08 10:41:29 +00:00
Goetz Lindenmaier
a2b929f247 8307824: Clean up Finalizable.java and finalize terminology in vmTestbase/nsk/share
Backport-of: 244f6ac222
2025-05-08 10:34:23 +00:00
Goetz Lindenmaier
8bb8366536 8332631: Update nsk.share.jpda.BindServer to don't use finalization
Backport-of: b3b33667ad
2025-05-08 09:03:52 +00:00
Goetz Lindenmaier
2852f0813c 8325682: Rename nsk_strace.h
Backport-of: 22e81810dd
2025-05-08 08:59:30 +00:00
Goetz Lindenmaier
82c30fe194 8313654: Test WaitNotifySuspendedVThreadTest.java timed out
Backport-of: 9b53251131
2025-05-08 08:57:58 +00:00
Goetz Lindenmaier
08b0d31874 8286789: Test forceEarlyReturn002.java timed out
Backport-of: c90cd2c060
2025-05-08 07:24:27 +00:00
SendaoYan
96f7dbfd1b 8353190: Use "/native" Run Option for TestAvailableProcessors Execution
Backport-of: 34c4d895ca
2025-05-06 08:57:49 +00:00
Matthias Baesken
af0c11f298 8354802: MAX_SECS definition is unused in os_linux
Backport-of: af7a19a8cf
2025-05-06 07:21:36 +00:00
Goetz Lindenmaier
fdd0cb550e 8349501: Relocate supporting classes in security/testlibrary to test/lib/jdk tree
Reviewed-by: rschmelter
Backport-of: b737f7fb30
2025-05-05 13:10:09 +00:00
Goetz Lindenmaier
20dc5ebeca 8333680: com/sun/tools/attach/BasicTests.java fails with "SocketException: Permission denied: connect"
Backport-of: 17bd483ff0
2025-05-05 13:08:44 +00:00
Goetz Lindenmaier
4398ccee1a 8333013: Update vmTestbase/nsk/share/LocalProcess.java to don't use finalization
Backport-of: bc7d9e3d0b
2025-05-05 13:07:29 +00:00
Satyen Subramaniam
c2228cc099 8320948: NPE due to unreported compiler error
Backport-of: a9cb120d03
2025-04-30 20:38:33 +00:00
Satyen Subramaniam
d5a2f76859 8318700: MacOS Zero cannot run gtests due to wrong JVM path
Backport-of: 744e089310
2025-04-28 16:48:32 +00:00
Satyen Subramaniam
ec177b855d 8319690: [AArch64] C2 compilation hits offset_ok_for_immed: assert "c2 compiler bug"
Backport-of: 98f0b86641
2025-04-28 16:48:12 +00:00
Daniel Hu
67ba686a2e 8314236: Overflow in Collections.rotate
Backport-of: 3828dc913a
2025-04-28 16:46:56 +00:00
Satyen Subramaniam
4c1d231925 8320687: sun.jvmstat.monitor.MonitoredHost.getMonitoredHost() throws unexpected exceptions when invoked concurrently
Backport-of: 81484d8c05
2025-04-28 16:46:28 +00:00
Goetz Lindenmaier
56b21a7946 8353787: Increased number of SHA-384-Digest java.util.jar.Attributes$Name instances leading to higher memory footprint
Backport-of: b64cdc2813
2025-04-28 14:35:47 +00:00
Goetz Lindenmaier
f7cb0d6a63 8352706: httpclient HeadTest does not run on HTTP2
Backport-of: e32a0c90fe
2025-04-28 14:34:31 +00:00
Goetz Lindenmaier
5f6c717405 8330598: java/net/httpclient/Http1ChunkedTest.java fails with java.util.MissingFormatArgumentException: Format specifier '%s'
Backport-of: c9c3c15368
2025-04-28 14:34:14 +00:00
Goetz Lindenmaier
90c1ce140b 8343891: Test javax/swing/JTabbedPane/TestJTabbedPaneBackgroundColor.java failed
Backport-of: c2e14b1b30
2025-04-28 14:32:46 +00:00
Goetz Lindenmaier
ba118ef0a0 8351086: (fc) Make java/nio/channels/FileChannel/BlockDeviceSize.java test manual
Backport-of: 08929134b3
2025-04-28 14:31:18 +00:00
Goetz Lindenmaier
69fb68abca 8350224: Test javax/swing/JComboBox/TestComboBoxComponentRendering.java fails in ubuntu 23.x and later
Reviewed-by: mdoerr
Backport-of: 4de92a40d0
2025-04-28 14:31:06 +00:00
Goetz Lindenmaier
ac984b53ec 8344316: security/auth/callback/TextCallbackHandler/Password.java make runnable with JTReg and add the UI
Backport-of: 82bc0a7f8c
2025-04-28 14:29:32 +00:00
Goetz Lindenmaier
a02cecf238 8347506: Compatible OCSP readtimeout property with OCSP timeout
Backport-of: f8e81d2339
2025-04-28 14:28:04 +00:00
Goetz Lindenmaier
63e90fb4df 8347173: java/net/DatagramSocket/InterruptibleDatagramSocket.java fails with virtual thread factory
Backport-of: 35be4a432b
2025-04-28 14:26:44 +00:00
Goetz Lindenmaier
35fdf156b9 8347596: Update HSS/LMS public key encoding
Reviewed-by: mbaesken
Backport-of: 0ee6ba9c4c
2025-04-28 14:25:23 +00:00
Goetz Lindenmaier
ebf908d8e9 8347373: HTTP/2 flow control checks may count unprocessed data twice
Backport-of: 06126361db
2025-04-28 14:24:11 +00:00
Goetz Lindenmaier
a6deb5ba68 8345341: Fix incorrect log message in JDI stop002t test
Backport-of: 42378970e1
2025-04-28 14:22:52 +00:00
Goetz Lindenmaier
b016bdbae8 8340176: Replace usage of -noclassgc with -Xnoclassgc in test/jdk/java/lang/management/MemoryMXBean/LowMemoryTest2.java
Backport-of: 3e03e6673a
2025-04-28 13:15:57 +00:00
Goetz Lindenmaier
c928d076f0 8332880: JFR GCHelper class recognizes "Archive" regions as valid
Backport-of: 2cca83bc82
2025-04-28 13:14:39 +00:00
Goetz Lindenmaier
ce62cf077e 8332641: Update nsk.share.jpda.Jdb to don't use finalization
Backport-of: f66a586614
2025-04-28 13:13:21 +00:00
Goetz Lindenmaier
2fb9ef2b63 8327461: KeyStore getEntry is not thread-safe
Backport-of: ffd43c922e
2025-04-28 13:12:05 +00:00
Goetz Lindenmaier
63ef94d7bf 8282726: java/net/vthread/BlockingSocketOps.java timeout/hang intermittently on Windows
Reviewed-by: mdoerr
Backport-of: 21a59b9f4e
2025-04-28 13:10:45 +00:00
Goetz Lindenmaier
3dc4e09aa1 8315484: java/awt/dnd/RejectDragDropActionTest.java timed out
Backport-of: 61ce739ac8
2025-04-28 13:08:15 +00:00
Goetz Lindenmaier
d7a66a7aec 8314136: Test java/net/httpclient/CancelRequestTest.java failed: WARNING: tracker for HttpClientImpl(42) has outstanding operations
Backport-of: 4f864faf42
2025-04-28 13:06:58 +00:00
Goetz Lindenmaier
5fe89ac3ad 8314056: Remove runtime platform check from frem/drem
Backport-of: ce2a7ea40a
2025-04-28 13:05:24 +00:00
SendaoYan
25452ae45c 8349623: [ASAN] Gtest os_linux.glibc_mallinfo_wrapper_vm fails
Backport-of: f2ffbbd70ccaaa97cb7d05c168995dd2599a3d1d
2025-04-27 03:03:20 +00:00
Satyen Subramaniam
44cba7be51 8321479: java -D-D crashes
Backport-of: dcdcd48d8f
2025-04-24 18:53:58 +00:00
Satyen Subramaniam
638d974186 8321204: C2: assert(false) failed: node should be in igvn hash table
Backport-of: d1aad71209
2025-04-24 18:53:18 +00:00
Satyen Subramaniam
1c48816db3 8322141: SequenceInputStream.transferTo should not return as soon as Long.MAX_VALUE bytes have been transferred
Backport-of: 2d609557ff
2025-04-24 18:52:54 +00:00
Satyen Subramaniam
4a32207d5f 8325680: Uninitialised memory in deleteGSSCB of GSSLibStub.c:179
Backport-of: 419191c653
2025-04-24 18:50:44 +00:00
SendaoYan
c2ba777e0b 8350386: Test TestCodeCacheFull.java fails with option -XX:-UseCodeCacheFlushing
Backport-of: ad48846edd
2025-04-23 15:26:29 +00:00
Xiaolong Peng
732dca8c4c 8350313: Include timings for leaving safepoint in safepoint logging
Reviewed-by: phh
Backport-of: 9ec46968fb
2025-04-22 14:39:03 +00:00
Satyen Subramaniam
2ba3cd60b7 8328107: Shenandoah/C2: TestVerifyLoopOptimizations test failure
Backport-of: b5212d7bfe
2025-04-21 17:58:36 +00:00
Liam Miller-Cushon
b2225c8c49 8354893: [REDO BACKPORT] javac crashes while adding type annotations to the return type of a constructor (JDK-8320001)
Reviewed-by: sgehwolf
2025-04-21 16:14:50 +00:00
Goetz Lindenmaier
db4f792a24 8349348: Refactor ClassLoaderDeadlock.sh and Deadlock.sh to run fully in java
Backport-of: 32d6d03151
2025-04-21 08:24:41 +00:00
Goetz Lindenmaier
75b03d88a3 8352109: java/awt/Desktop/MailTest.java fails in platforms where Action.MAIL is not supported
Backport-of: c7f333888b
2025-04-21 08:23:22 +00:00
Goetz Lindenmaier
c7ce53cc8e 8253440: serviceability/sa/TestJhsdbJstackLineNumbers.java failed with "Didn't find enough line numbers"
Backport-of: 0b1f57105d
2025-04-21 08:21:58 +00:00
Goetz Lindenmaier
6c82d9e797 8343124: Tests fails with java.lang.IllegalAccessException: class com.sun.javatest.regtest.agent.MainWrapper$MainTask cannot access
Backport-of: dafa2e55ad
2025-04-21 08:20:56 +00:00
Goetz Lindenmaier
97f2896947 8051591: Test javax/swing/JTabbedPane/8007563/Test8007563.java fails
Backport-of: 780de00922
2025-04-21 08:19:40 +00:00
Goetz Lindenmaier
a848851c6a 8340332: Open source mixed AWT tests - Set3
Backport-of: bfdeb33e6f
2025-04-21 08:18:24 +00:00
Goetz Lindenmaier
08a8c14269 8335684: Test ThreadCpuTime.java should pause like ThreadCpuTimeArray.java
Backport-of: 1f6e106b45
2025-04-21 08:17:15 +00:00
Goetz Lindenmaier
d1422f05f5 8329729: java/util/Properties/StoreReproducibilityTest.java times out
Backport-of: b81b86da98
2025-04-21 08:16:01 +00:00
Goetz Lindenmaier
5501315300 8200566: DistributionPointFetcher fails to fetch CRLs if the DistributionPoints field contains more than one DistributionPoint and the first one fails
Backport-of: e702646545
2025-04-21 08:13:36 +00:00
Goetz Lindenmaier
0568719ec4 8318915: Enhance checks in BigDecimal.toPlainString()
Backport-of: a6785e4d63
2025-04-21 08:12:19 +00:00
Goetz Lindenmaier
091c56980c 8309667: TLS handshake fails because of ConcurrentModificationException in PKCS12KeyStore.engineGetEntry
Backport-of: d2e2c4cef1
2025-04-21 08:11:10 +00:00
Goetz Lindenmaier
76017bcbda 8308966: Add intrinsic for float/double modulo for x86 AVX2 and AVX512
Backport-of: 5d5ae35288
2025-04-21 08:08:23 +00:00
Martin Doerr
181f952c02 8352512: TestVectorZeroCount: counter not reset between iterations
Backport-of: 1c0fa0af78
2025-04-19 13:44:12 +00:00
Liam Miller-Cushon
c40e6ef3dc 8337998: CompletionFailure in getEnclosingType attaching type annotations
Reviewed-by: vromero
Backport-of: 9e282e5c96
2025-04-18 19:38:57 +00:00
Paul Hohensee
5675b623b6 8343855: HTTP/2 ConnectionWindowUpdateSender may miss some unprocessed DataFrames from closed streams
Reviewed-by: rkennke
Backport-of: bd6152f596
2025-04-18 12:50:22 +00:00
Severin Gehwolf
67c4a0826b 8340024: In ClassReader, extract a constant for the superclass supertype_index
Backport-of: 68c4f36857
2025-04-17 13:19:34 +00:00
Liam Miller-Cushon
4daaffcd9d 8337795: Type annotation attached to incorrect type during class reading
Reviewed-by: vromero
Backport-of: 8d08314783
2025-04-17 08:43:42 +00:00
Liam Miller-Cushon
421654630d 8341779: [REDO BACKPORT] type annotations are not visible to javac plugins across compilation boundaries (JDK-8225377)
Reviewed-by: vromero
2025-04-16 08:18:29 +00:00
Goetz Lindenmaier
04c42416e1 8340366: Open source several AWT Dialog tests - Batch 3
Backport-of: a7d2077fe2
2025-04-16 08:14:03 +00:00
Goetz Lindenmaier
d29361cb39 8340193: Open source several AWT Dialog tests - Batch 1
Backport-of: 2d8fcc4271
2025-04-16 08:11:46 +00:00
Goetz Lindenmaier
c8a7fbf52d 8339982: Open source several AWT Mouse tests - Batch 2
Backport-of: b6a4047387
2025-04-16 08:10:22 +00:00
Goetz Lindenmaier
854ca519e7 8341278: Open source few TrayIcon tests - Set7
Backport-of: 4d50cbb5a7
2025-04-16 08:06:04 +00:00
Goetz Lindenmaier
1aeea7982f Merge 2025-04-16 07:51:56 +00:00
Dmitry Chuyko
e13da98448 8351933: Inaccurate masking of TC subfield decrement in ForkJoinPool
Reviewed-by: phh, dl
2025-04-15 18:29:43 +00:00
Goetz Lindenmaier
d1249a764c 8353138: Screen capture for test TaskbarPositionTest.java, failure case
Backport-of: 05ff557dee
2025-04-15 10:40:05 +00:00
Goetz Lindenmaier
76682b60a2 8286204: [Accessibility,macOS,VoiceOver] VoiceOver reads the spinner value 10 as 1 when user iterates to 10 for the first time on macOS
Backport-of: cd9f1d3d92
2025-04-15 09:22:37 +00:00
Goetz Lindenmaier
9adc9eb33a 8350924: javax/swing/JMenu/4213634/bug4213634.java fails
Backport-of: daf0213abc
2025-04-15 09:21:03 +00:00
Andreas Steiner
9b7fc35a93 8335710: serviceability/dcmd/vm/SystemDumpMapTest.java and SystemMapTest.java fail on Linux Alpine after 8322475
Reviewed-by: mbaesken
Backport-of: c703d29042
2025-04-15 09:20:39 +00:00
Goetz Lindenmaier
f8f5b4ca38 8339288: Improve diagnostic logging runtime/cds/DeterministicDump.java
Backport-of: 3b283543c3
2025-04-15 09:19:13 +00:00
Goetz Lindenmaier
22ebae5c8b 8305010: Test vmTestbase/nsk/jvmti/scenarios/sampling/SP05/sp05t003/TestDescription.java timed out: thread not suspended
Backport-of: 2ddaa46054
2025-04-15 09:18:49 +00:00
Goetz Lindenmaier
6d71a45d26 8342633: javax/management/security/HashedPasswordFileTest.java creates tmp file in src dir
Backport-of: de441c2b68
2025-04-15 09:16:59 +00:00
Andreas Steiner
a98ea66ed9 8335643: serviceability/dcmd/vm tests fail for ZGC after JDK-8322475
Reviewed-by: goetz, stuefe
Backport-of: 3cce31ad88
2025-04-15 09:15:18 +00:00
Goetz Lindenmaier
c6ca142e89 8341972: java/awt/dnd/DnDRemoveFocusOwnerCrashTest.java timed out after JDK-8341257
Backport-of: 1f6bd0c3e5
2025-04-15 09:14:55 +00:00
Goetz Lindenmaier
d78123cf02 8341447: Open source closed frame tests # 5
Reviewed-by: rschmelter
Backport-of: 966eb7232f
2025-04-15 09:13:04 +00:00
Goetz Lindenmaier
c98682d4bc 8328301: Convert Applet test ManualHTMLDataFlavorTest.java to main program
Backport-of: f7f291c5d4
2025-04-15 09:05:25 +00:00
Bara' Hasheesh
9c5807b2f7 8312475: org.jline.util.PumpReader signed byte problem
Backport-of: bea2d48696
2025-04-15 08:35:09 +00:00
Andreas Steiner
fe1a91c43b 8322475: Extend printing for System.map
Reviewed-by: stuefe
Backport-of: 8aaec37ace
2025-04-15 07:42:52 +00:00
Daniel Hu
28cb19e41b 8136895: Writer not closed with disk full error, file resource leaked
Backport-of: d55d7e8d87
2025-04-14 16:36:06 +00:00
Paul Hohensee
2439c6d5aa 8349637: Integer.numberOfLeadingZeros outputs incorrectly in certain cases
Reviewed-by: rkennke
Backport-of: 3657e92ead
2025-04-14 15:02:41 +00:00
Christoph Langer
bc441e39db 8353709: Debug symbols bundle should contain full debug files when building --with-external-symbols-in-bundles=public
Backport-of: ef58a805c1f71b00bf61f05ffdcca66264094f5b
2025-04-14 06:22:51 +00:00
Dhamoder Nalla
7ef18817c0 8338136: Hotspot should support multiple large page sizes on Windows
Backport-of: 4ded28380b
2025-04-11 19:17:02 +00:00
Satyen Subramaniam
6236ffb7a6 8327370: (ch) sun.nio.ch.Poller.register throws AssertionError
Backport-of: d2bebffb1f
2025-04-11 14:21:37 +00:00
Goetz Lindenmaier
7141b97945 8341072: Open source several AWT Canvas and Rectangle related tests
Backport-of: f6fe5eaf1a
2025-04-11 13:26:49 +00:00
Goetz Lindenmaier
c36b84a1fc 8341257: Open source few DND tests - Set1
Backport-of: cd4981c292
2025-04-11 13:22:26 +00:00
Goetz Lindenmaier
b279b6e62d 8339836: Open source several AWT Mouse tests - Batch 1
Backport-of: 57c859e4ad
2025-04-11 13:19:53 +00:00
Goetz Lindenmaier
5834c23026 8340417: Open source some MenuBar tests - Set1
Backport-of: 559289487d
2025-04-11 08:42:09 +00:00
Goetz Lindenmaier
44a1813f8e 8341258: Open source few various AWT tests - Set1
Backport-of: 86e3d52c70
2025-04-11 08:40:47 +00:00
Goetz Lindenmaier
49900d8705 8341162: Open source some of the AWT window test
Backport-of: c8e70df37e
2025-04-11 08:38:58 +00:00
Goetz Lindenmaier
7384b0fc88 8341128: open source some 2d graphics tests
Backport-of: e89fd1d2ce
2025-04-11 08:37:14 +00:00
Goetz Lindenmaier
b103c1fba0 8340077: Open source few Checkbox tests - Set2
Backport-of: 6f459aff45
2025-04-11 08:35:50 +00:00
Goetz Lindenmaier
388dbeb381 8341148: Open source several Choice related tests
Backport-of: 19642bd383
2025-04-11 08:34:31 +00:00
Goetz Lindenmaier
89ad022e4b 8341191: Open source few more AWT FileDialog tests
Backport-of: 50ec169116
2025-04-11 08:33:01 +00:00
Goetz Lindenmaier
97b7430fce 8340621: Open source several AWT List tests
Backport-of: ae4d2f1590
2025-04-11 08:31:13 +00:00
Goetz Lindenmaier
c3f59000f8 8314842: zgc/genzgc tests ignore vm flags
Backport-of: ae75ca05e4
2025-04-11 08:29:50 +00:00
Goetz Lindenmaier
831bf83833 8295804: javax/swing/JFileChooser/JFileChooserSetLocationTest.java failed with "setLocation() is not working properly"
Backport-of: 05dad67cc2
2025-04-11 08:28:34 +00:00
Goetz Lindenmaier
665dcff763 8319572: Test jdk/incubator/vector/LoadJsvmlTest.java ignores VM flags
Backport-of: d9a89c59da
2025-04-11 08:26:36 +00:00
Goetz Lindenmaier
c48617fd1f 8316452: java/lang/instrument/modules/AppendToClassPathModuleTest.java ignores VM flags
Backport-of: fec1d49783
2025-04-11 08:24:17 +00:00
SendaoYan
f80090692b 8350546: Several java/net/InetAddress tests fails UnknownHostException
Backport-of: e5e39718b304de1b916fb1b11cdadd8e7fa738ac
2025-04-11 00:03:19 +00:00
Paul Hohensee
e718378c08 8344414: ZGC: Another division by zero in rule_major_allocation_rate
Reviewed-by: cslucas, rkennke
Backport-of: 63af2f42b7
2025-04-10 10:03:03 +00:00
Paul Hohensee
df5e51fbe1 8344346: java/net/httpclient/ShutdownNow.java fails with java.lang.AssertionError: client was still running, but exited after further delay: timeout should be adjusted
Reviewed-by: rkennke
Backport-of: a07b72bfcf
2025-04-10 09:57:23 +00:00
Matthias Baesken
d3701f8e04 8323795: jcmd Compiler.codecache should print total size of code cache
Backport-of: 3742bc626e
2025-04-10 07:46:01 +00:00
Christoph Langer
4215779271 8353904: [21u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 21.0.7
Reviewed-by: goetz
2025-04-09 21:45:47 +02:00
Andrew John Hughes
1754171c40 8331735: UpcallLinker::on_exit races with GC when copying frame anchor
8343144: UpcallLinker::on_entry racingly clears pending exception with GC safepoints
8286875: ProgrammableUpcallHandler::on_entry/on_exit access thread fields from native

Backport-of: 461ffafeba
2025-04-09 21:39:49 +02:00
Martin Balao
159d9c4d1a 8339810: Clean up the code in sun.tools.jar.Main to properly close resources and use ZipFile during extract
Reviewed-by: andrew
Backport-of: 8fce5275fc
2025-04-09 21:37:01 +02:00
Roman Marchenko
0306421f2a 8309841: Jarsigner should print a warning if an entry is removed
Reviewed-by: yan
Backport-of: bdfb41f977
2025-04-09 17:48:08 +02:00
Goetz Lindenmaier
2b6eccc11c 8340279: Open source several AWT Dialog tests - Batch 2
Backport-of: e0dabfb4bf
2025-04-09 14:57:25 +00:00
Goetz Lindenmaier
c5a68d0f21 8340432: Open source some MenuBar tests - Set2
Backport-of: 013250e4a7
2025-04-09 14:55:49 +00:00
Goetz Lindenmaier
ad14612243 8340458: Open source additional Component tests (part 2)
Backport-of: 021bf63035
2025-04-09 14:54:10 +00:00
Goetz Lindenmaier
1ead0df6b6 8340639: Open source few more AWT List tests
Backport-of: dd56990962
2025-04-09 14:52:18 +00:00
Goetz Lindenmaier
1d9bf98518 8339995: Open source several AWT focus tests - series 6
Backport-of: 3411f9dff7
2025-04-09 14:50:17 +00:00
Goetz Lindenmaier
337b601a37 8340084: Open source AWT Frame related tests
Backport-of: bc7c0dc45d
2025-04-09 14:48:23 +00:00
Goetz Lindenmaier
c37177cc18 8343170: java/awt/Cursor/JPanelCursorTest/JPanelCursorTest.java does not show the default cursor
Backport-of: c6317191e3
2025-04-09 14:46:33 +00:00
Goetz Lindenmaier
954389b2bd 8336827: compiler/vectorization/TestFloat16VectorConvChain.java timeouts on ppc64 platforms after JDK-8335860
Reviewed-by: mdoerr
Backport-of: 5b4824cf9a
2025-04-09 14:43:29 +00:00
Goetz Lindenmaier
d2ac62da48 8316324: Opensource five miscellaneous Swing tests
Backport-of: 7560dbb925
2025-04-09 13:22:38 +00:00
Goetz Lindenmaier
a9fa0b190b 8335860: compiler/vectorization/TestFloat16VectorConvChain.java fails with non-standard AVX/SSE settings
Reviewed-by: mdoerr
Backport-of: 35df48e1b3
2025-04-09 11:25:50 +00:00
Patrick Zhang
3c0c998e73 8350483: AArch64: turn on signum intrinsics by default on Ampere CPUs
Backport-of: 23389d08a2b5c0840d2b18fb2e74d2d112b3192d
2025-04-08 16:55:04 +00:00
Satyen Subramaniam
7b9e268d3d 8329261: G1: interpreter post-barrier x86 code asserts index size of wrong buffer
Backport-of: 1131bb77ec
2025-04-07 16:19:38 +00:00
Satyen Subramaniam
27f3ab6172 8352716: (tz) Update Timezone Data to 2025b
Reviewed-by: serb, andrew
Backport-of: 1d205f5f07
2025-04-07 16:19:15 +00:00
Satyen Subramaniam
6cd096eb71 8328864: NullPointerException in sun.security.jca.ProviderList.getService()
Backport-of: cd3a607576
2025-04-07 16:17:49 +00:00
Paul Hohensee
996f945de4 8211400: nsk.share.gc.Memory::getArrayLength returns wrong value
Backport-of: 860d49db22
2025-04-07 15:33:32 +00:00
Paul Hohensee
d2be3b7088 8347995: Race condition in jdk/java/net/httpclient/offline/FixedResponseHttpClient.java
Backport-of: a62a870150
2025-04-07 15:32:02 +00:00
Paul Hohensee
4b5ca21e4a 8345133: Test sun/security/tools/jarsigner/TsacertOptionTest.java failed: Warning found in stdout
Backport-of: 153dc6d843
2025-04-07 15:31:42 +00:00
Paul Hohensee
e8daf0c703 8344361: Restore null return for invalid services from legacy providers
Backport-of: e20bd018c4
2025-04-07 15:28:13 +00:00
Goetz Lindenmaier
ff0aa06738 8339300: CollectorPolicy.young_scaled_initial_ergo_vm gtest fails on ppc64 based platforms
Backport-of: f2c992c5af
2025-04-07 15:27:13 +00:00
Goetz Lindenmaier
7c45ed317a 8346049: jdk/test/lib/security/timestamp/TsaServer.java warnings
Backport-of: 1eb54e4228
2025-04-07 15:12:58 +00:00
Goetz Lindenmaier
5f5e6e5879 8345357: test/jdk/javax/swing/JRadioButton/8033699/bug8033699.java fails in ubuntu22.04
Backport-of: 521ed72b87
2025-04-07 15:09:45 +00:00
Goetz Lindenmaier
41fe4e2100 8340978: Open source few DnD tests - Set6
Backport-of: 32f817a460
2025-04-07 15:08:00 +00:00
Goetz Lindenmaier
251035827a 8341378: Open source few TrayIcon tests - Set8
Backport-of: b9db74a645
2025-04-07 15:05:24 +00:00
Goetz Lindenmaier
ec7d359c32 8340967: Open source few Cursor tests - Set2
Backport-of: 92cb633108
2025-04-07 15:01:33 +00:00
Goetz Lindenmaier
4a8f027828 8340555: Open source DnD tests - Set4
Backport-of: 0dd4997042
2025-04-07 14:59:50 +00:00
Goetz Lindenmaier
dc59215bee 8258483: [TESTBUG] gtest CollectorPolicy.young_scaled_initial_ergo_vm fails if heap is too small
Backport-of: d08b5bd9f5
2025-04-07 14:56:49 +00:00
Goetz Lindenmaier
2d49408dda 8340271: Open source several AWT Robot tests
Backport-of: bc36ace72c
2025-04-07 14:55:20 +00:00
Goetz Lindenmaier
ddf0d07123 8321931: memory_swap_current_in_bytes reports 0 as "unlimited"
Backport-of: 7777eb5e15
2025-04-07 14:52:42 +00:00
Goetz Lindenmaier
1c713bb219 8315871: Opensource five more Swing regression tests
Backport-of: be9cc73fca
2025-04-07 14:50:06 +00:00
Matthias Baesken
4221c6644e 8346888: [ubsan] block.cpp:1617:30: runtime error: 9.97582e+36 is outside the range of representable values of type 'int'
Backport-of: ddf326b8e6
2025-04-07 13:10:31 +00:00
Matthias Baesken
c9834023ce 8330936: [ubsan] exclude function BilinearInterp and ShapeSINextSpan in libawt java2d from ubsan checks
Backport-of: 40f150d3e5
2025-04-07 13:10:13 +00:00
Martin Balao
db657464d3 8347847: Enhance jar file support
Reviewed-by: yan
Backport-of: 013d9f988559bc7e29449967c4d35b80d692ef11
2025-04-05 07:49:18 +02:00
Aleksei Voitylov
3048e287d8 8343007: Enhance Buffered Image handling
Reviewed-by: yan, mbalao
Backport-of: e95aaf16aa202b49892ccb05ded783114b2d8534
2025-04-05 07:34:02 +02:00
Alexei Voitylov
2e6bad6870 8342562: Enhance Deflater operations
Reviewed-by: mbalao
Backport-of: 17f7df55fb762488c1054985830ea13840489df2
2025-04-05 07:28:02 +02:00
Martin Balao
11067d7e97 8338430: Improve compiler transformations
Reviewed-by: mbaesken
Backport-of: 456be5090b6a181afb85d72ac8473e4df3398032
2025-04-05 07:22:02 +02:00
Martin Balao
d5c94adf69 8337692: Better TLS connection support
Reviewed-by: abakhtin
Backport-of: f06ecf8072b39ffb9eedfc629f181bd805115e0e
2025-04-05 07:06:16 +02:00
Yuri Nesterenko
46739cb9b0 8337494: Clarify JarInputStream behavior
Reviewed-by: mbalao
Backport-of: 353f6e90bec7248016b2c733bae52ed6ca06fc20
2025-04-04 21:54:11 +02:00
Goetz Lindenmaier
237a45b1ba 8340625: Open source additional Component tests (part 3)
Backport-of: ebb4759c3d
2025-04-04 07:06:47 +00:00
Goetz Lindenmaier
c1a78d2c41 8341239: Open source closed frame tests # 3
Backport-of: ff3e849b8a
2025-04-04 07:05:39 +00:00
Goetz Lindenmaier
3f355fc689 8340437: Open source few more AWT Frame related tests
Backport-of: 9bd478593c
2025-04-04 07:04:17 +00:00
Goetz Lindenmaier
8197db4a78 8340874: Open source some of the AWT Geometry/Button tests
Backport-of: e19c7d80f7
2025-04-04 07:03:08 +00:00
Satyen Subramaniam
d7fa4bbb94 8337681: PNGImageWriter uses much more memory than necessary
Backport-of: 89a15f1414
2025-04-03 23:08:07 +00:00
Roman Marchenko
7d8b97fa34 8332506: SIGFPE In ObjectSynchronizer::is_async_deflation_needed()
Reviewed-by: phh
Backport-of: cbabc04515
2025-04-03 18:22:23 +00:00
Paul Hohensee
a373866918 8336042: Caller/callee param size mismatch in deoptimization causes crash
Backport-of: 20ea218ce5
2025-04-03 18:18:11 +00:00
Satyen Subramaniam
73f92061a5 8337981: ShenandoahHeap::is_in should check for alive regions
Backport-of: b9d49dcef2
2025-04-03 15:08:05 +00:00
Satyen Subramaniam
ca8d6afd8d 8333890: Fatal error in auto-vectorizer with float16 kernel.
Backport-of: 55fd1ed228
2025-04-03 15:07:38 +00:00
Satyen Subramaniam
e4bdf7626c 8331088: Incorrect TraceLoopPredicate output
Backport-of: 19e46eed58
2025-04-03 15:07:07 +00:00
Satyen Subramaniam
c7fccfe3f7 8330106: C2: VectorInsertNode::make() shouldn't call ConINode::make() directly
Backport-of: bde3fc0c03
2025-04-03 15:05:55 +00:00
Satyen Subramaniam
1d5d3d8238 8330158: C2: Loop strip mining uses ABS with min int
Backport-of: c615c18e9f
2025-04-03 15:05:24 +00:00
Matthias Baesken
2cbb2838f9 8351665: Remove unused UseNUMA in os_aix.cpp
Backport-of: 84f87dd4e9
2025-04-03 14:42:33 +00:00
Paul Hohensee
c662d7dc24 8339538: Wrong timeout computations in DnsClient
8220213: com/sun/jndi/dns/ConfigTests/Timeout.java failed intermittent

Reviewed-by: cslucas, rkennke
Backport-of: 4beb77192f
2025-04-03 14:21:47 +00:00
Taizo Kurashige
983307e45f 8343342: java/io/File/GetXSpace.java fails on Windows with CD-ROM drive
Reviewed-by: phh
Backport-of: 40f0a398fa
2025-04-03 14:20:29 +00:00
Goetz Lindenmaier
32cad6923e 8348598: Update Libpng to 1.6.47
Reviewed-by: mbaesken
Backport-of: 6b82b42a21
2025-04-02 10:09:30 +00:00
Goetz Lindenmaier
eb86458e25 8348597: Update HarfBuzz to 10.4.0
Reviewed-by: phh, mbaesken
Backport-of: dbdbbd4730
2025-04-02 10:04:38 +00:00
Goetz Lindenmaier
aba69defac 8342376: More reliable OOM handling in ExceptionDuringDumpAtObjectsInitPhase test
Backport-of: 37aa320f57
2025-04-02 10:02:57 +00:00
Goetz Lindenmaier
bc4a31775b 8340605: Open source several AWT PopupMenu tests
Backport-of: 822a773873
2025-04-02 10:00:19 +00:00
Goetz Lindenmaier
4e06d17a73 8340143: Open source several Java2D rendering loop tests.
Backport-of: 90c2c0b4ad
2025-04-02 09:58:53 +00:00
Goetz Lindenmaier
550d85345f 8340367: Opensource few AWT image tests
Backport-of: 6c91a16f16
2025-04-02 09:54:40 +00:00
Goetz Lindenmaier
d3c83e5a72 8339895: Open source several AWT focus tests - series 3
Backport-of: 94c33179b6
2025-04-02 09:52:17 +00:00
Goetz Lindenmaier
883400f1c1 8339639: Opensource few AWT PopupMenu tests
Backport-of: a0794e0a05
2025-04-02 09:50:48 +00:00
Goetz Lindenmaier
bc269de452 8339148: Make os::Linux::active_processor_count() public
Backport-of: 12d060a255
2025-04-02 09:49:20 +00:00
Goetz Lindenmaier
0f6ee761c1 8328484: Convert and Opensource few JFileChooser applet test to main
Backport-of: 528efe206d
2025-04-02 09:47:55 +00:00
Goetz Lindenmaier
373753fc30 8315951: Open source several Swing HTMLEditorKit related tests
Backport-of: d19e017d3f
2025-04-02 09:46:29 +00:00
Satyen Subramaniam
b3118d81de 8343019: Primitive caches must use boxed instances from the archive
Backport-of: 7c36fa7e17
2025-03-31 18:42:21 +00:00
Satyen Subramaniam
70bd6f39ec 8333805: Replaying compilation with null static final fields results in a crash
Backport-of: fa401f37df
2025-03-31 17:06:42 +00:00
Sergey Bylokhov
5eb51cdc5c 8270269: Desktop.browse method fails if earlier CoInitialize call as COINIT_MULTITHREADED
Backport-of: b25ed57b76
2025-03-28 04:18:28 +00:00
Satyen Subramaniam
89b614d997 8338314: JFR: Split JFRCheckpoint VM operation
Backport-of: 6d430f24df
2025-03-28 00:32:46 +00:00
Thomas Stuefe
c5c0ac6140 8351500: G1: NUMA migrations cause crashes in region allocation
Reviewed-by: sjohanss
Backport-of: 37ec796255
2025-03-27 17:37:44 +00:00
Daniel Hu
fc6e5755db 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).

Backport-of: 9f98136c3a
2025-03-27 16:30:51 +00:00
Goetz Lindenmaier
9d382091d6 8345134: Test sun/security/tools/jarsigner/ConciseJarsigner.java failed: unable to find valid certification path to requested target
Backport-of: a0f7982e44
2025-03-27 16:04:48 +00:00
Goetz Lindenmaier
5e1b8dc0ae 8341373: Open source closed frame tests # 4
Backport-of: d0c5e4bc50
2025-03-27 16:02:45 +00:00
Goetz Lindenmaier
e8fa16afe1 8341000: Open source some of the AWT Window tests
Backport-of: d3139b4c36
2025-03-27 16:00:54 +00:00
Goetz Lindenmaier
aedc6ad815 8340228: Open source couple more miscellaneous AWT tests
Backport-of: f7bc9ba552
2025-03-27 15:58:35 +00:00
Goetz Lindenmaier
ce8925c0c0 8339906: Open source several AWT focus tests - series 4
Backport-of: 46b02f49bc
2025-03-27 15:57:12 +00:00
Goetz Lindenmaier
d9aa0740c8 8339794: Open source closed choice tests #1
Backport-of: 5e5942a282
2025-03-27 15:55:34 +00:00
Goetz Lindenmaier
63b9e53aea 8337299: vmTestbase/nsk/jdb/stop_at/stop_at002/stop_at002.java failure goes undetected
Backport-of: e2c07d5044
2025-03-27 15:54:15 +00:00
Goetz Lindenmaier
b13f9e75d1 8316388: Opensource five Swing component related regression tests
Backport-of: c05f8c7223
2025-03-27 15:51:49 +00:00
Goetz Lindenmaier
17881c20a4 8315981: Opensource five more random Swing tests
Backport-of: c43ebd34af
2025-03-27 15:49:58 +00:00
SendaoYan
7ae30385fc 8342958: Use jvmArgs consistently in microbenchmarks
8343345: Use -jvmArgsPrepend when running microbenchmarks in RunTests.gmk

Reviewed-by: phh
Backport-of: 90bd544512
2025-03-27 01:38:44 +00:00
Goetz Lindenmaier
bdc3a330b1 Merge 2025-03-26 17:44:14 +00:00
Satyen Subramaniam
cfbfbca131 8334895: OpenJDK fails to configure on linux aarch64 when CDS is disabled after JDK-8331942
Backport-of: 3b1ca98642
2025-03-25 00:04:59 +00:00
Satyen Subramaniam
d315f79fcf 8334780: Crash: assert(h_array_list.not_null()) failed: invariant
Backport-of: e7a0b5b09b
2025-03-25 00:03:46 +00:00
Martin Balao
90b9b36b3b 8339810: Clean up the code in sun.tools.jar.Main to properly close resources and use ZipFile during extract
Reviewed-by: andrew
Backport-of: 8fce5275fc
2025-03-24 15:21:25 +00:00
SendaoYan
b3cd8880cf 8349358: [JMH] Cannot access class jdk.internal.vm.ContinuationScope
Backport-of: c14b3c228f4ed2361ace77172410a1769ff93c9b
2025-03-24 03:45:27 +00:00
Alexey Bakhtin
32ac3e713e 8342075: HttpClient: improve HTTP/2 flow control checks
Reviewed-by: andrew
Backport-of: b0ac633b2d
2025-03-22 00:16:13 +00:00
Matthias Baesken
8ed020ecba 8350786: Some java/lang jtreg tests miss requires vm.hasJFR
Backport-of: 7a47dcb97ba3f7b8bf4d9ddfa3f51c5195fe2aa2
2025-03-21 08:06:29 +00:00
Goetz Lindenmaier
f3112ef86c 8352302: Test sun/security/tools/jarsigner/TimestampCheck.java is failing
Backport-of: 577ede73d8
2025-03-20 19:21:34 +00:00
Goetz Lindenmaier
3d6562b7e6 8348110: Update LCMS to 2.17
Reviewed-by: andrew
Backport-of: a23fb0af65
2025-03-20 19:20:01 +00:00
Goetz Lindenmaier
a3b2421b16 8280991: [XWayland] No displayChanged event after setDisplayMode call
Backport-of: 29de20dbc2
2025-03-20 19:18:30 +00:00
Goetz Lindenmaier
c7bcdb6092 8345598: Upgrade NSS binaries for interop tests
Backport-of: 0f82268134
2025-03-20 19:15:51 +00:00
Goetz Lindenmaier
0c08a0c6b5 8350260: Improve HTML instruction formatting in PassFailJFrame
Backport-of: 014701a09b
2025-03-20 19:14:47 +00:00
Goetz Lindenmaier
dfbe83469a 8294155: Exception thrown before awaitAndCheck hangs PassFailJFrame
Backport-of: 906358d3a1
2025-03-20 19:13:33 +00:00
Goetz Lindenmaier
17973ad862 8342524: Use latch in AbstractButton/bug6298940.java instead of delay
Backport-of: 2bd8f026db
2025-03-20 19:11:59 +00:00
Goetz Lindenmaier
e985f85d99 8343529: serviceability/sa/ClhsdbWhere.java fails AssertionFailure: Corrupted constant pool
8307318: Test serviceability/sa/ClhsdbCDSJstackPrintAll.java failed: ArrayIndexOutOfBoundsException

Reviewed-by: mbaesken
Backport-of: 21e0fb8648
2025-03-20 15:36:51 +00:00
Goetz Lindenmaier
0306b9d00f 8343936: Adjust timeout in test javax/management/monitor/DerivedGaugeMonitorTest.java
Backport-of: 4fa760a1ed
2025-03-20 15:35:26 +00:00
Goetz Lindenmaier
dac33946a6 8343103: Enable debug logging for vmTestbase/nsk/jvmti/scenarios/sampling/SP05/sp05t003/TestDescription.java
Backport-of: 1b177ce5b7
2025-03-20 15:30:55 +00:00
Goetz Lindenmaier
e32c2fb5c9 8340809: Open source few more AWT PopupMenu tests
Backport-of: 313f4a9621
2025-03-20 15:30:33 +00:00
Goetz Lindenmaier
c874b46eb5 8341298: Open source more AWT window tests
Backport-of: db61458da8
2025-03-20 14:57:43 +00:00
Goetz Lindenmaier
afc2dffefa 8341004: Open source AWT FileDialog related tests
Backport-of: 7d524d7e37
2025-03-20 14:56:09 +00:00
Goetz Lindenmaier
906585aa7e 8340433: Open source closed choice tests #3
Backport-of: 8c08c43a34
2025-03-20 14:54:46 +00:00
Goetz Lindenmaier
d9f4d87584 8339678: Update runtime/condy tests to be executed with VM flags
Backport-of: c3711dc909
2025-03-20 14:53:17 +00:00
Goetz Lindenmaier
01de8983c3 8315669: Open source several Swing PopupMenu related tests
Backport-of: 7c5f2a2db9
2025-03-20 14:52:02 +00:00
Alexey Bakhtin
209939a90e 8335181: Incorrect handling of HTTP/2 GOAWAY frames in HttpClient
Reviewed-by: andrew
Backport-of: 720b44648b
2025-03-20 14:14:41 +00:00
SendaoYan
a5678d38e1 8350682: [JMH] vector.IndexInRangeBenchmark failed with IndexOutOfBoundsException for size=1024
Backport-of: 959e0265cfd829a1f857835e1ee95c75b6f6c9cb
2025-03-20 00:26:30 +00:00
Dmitry Chuyko
6bee54ca15 8335662: [AArch64] C1: guarantee(val < (1ULL << nbits)) failed: Field too big for insn
Backport-of: 401d0d6b09
2025-03-19 22:42:08 +00:00
Dmitry Chuyko
47aafc24df 8350412: [21u] AArch64: Ambiguous frame layout leads to incorrect traces in JFR
Reviewed-by: phh
2025-03-19 22:06:30 +00:00
Andrew John Hughes
4d3a3c0ebf 8352097: (tz) zone.tab update missed in 2025a backport
Reviewed-by: serb, dcherepanov
2025-03-19 17:07:50 +00:00
Alexey Bakhtin
d8291f5937 8316580: HttpClient with StructuredTaskScope does not close when a task fails
Reviewed-by: andrew
Backport-of: fc98998627
2025-03-19 16:43:27 +00:00
Satyen Subramaniam
544b111ef8 8338064: Give better error for ConcurrentHashTable corruption
Backport-of: 069e0ea69f
2025-03-18 16:15:12 +00:00
Satyen Subramaniam
8faa7b6b7c 8350211: CTW: Attempt to preload all classes in constant pool
Backport-of: d13fd5738f
2025-03-18 16:13:54 +00:00
Satyen Subramaniam
6c1e127266 8338202: Shenandoah: Improve handshake closure labels
Backport-of: ba69ed7c58
2025-03-18 16:02:00 +00:00
Goetz Lindenmaier
7a25ef2825 8340784: Remove PassFailJFrame constructor with screenshots
Backport-of: 50ca450417
2025-03-18 08:40:27 +00:00
Goetz Lindenmaier
7dd8c8cba6 8348107: test/jdk/java/net/httpclient/HttpsTunnelAuthTest.java fails intermittently
Backport-of: 5c4a387b7e
2025-03-18 08:39:19 +00:00
Goetz Lindenmaier
5b0f3a640a 8347286: (fs) Remove some extensions from java/nio/file/Files/probeContentType/Basic.java
Backport-of: d002933c26
2025-03-18 08:37:51 +00:00
Goetz Lindenmaier
4dbb0c9595 8346581: JRadioButton/ButtonGroupFocusTest.java fails in CI on Linux
Backport-of: 57af52c573
2025-03-18 08:36:07 +00:00
Goetz Lindenmaier
4881735959 8334644: Automate javax/print/attribute/PageRangesException.java
Backport-of: 030149fec4
2025-03-18 08:34:54 +00:00
Goetz Lindenmaier
e654a536dc 8337221: CompileFramework: test library to conveniently compile java and jasm sources for fuzzing
Reviewed-by: rrich
Backport-of: b9b0bd0871
2025-03-18 08:33:22 +00:00
Goetz Lindenmaier
a498e0eef8 8341637: java/net/Socket/UdpSocket.java fails with "java.net.BindException: Address already in use" (macos-aarch64)
Backport-of: ba3774dc5d
2025-03-18 08:30:47 +00:00
Goetz Lindenmaier
27e24e0c5f 8340985: Open source some Desktop related tests
Backport-of: 172f74466f
2025-03-18 08:29:39 +00:00
Goetz Lindenmaier
84ddbccf3d 8340164: Open source few Component tests - Set1
Backport-of: 7e3978eab2
2025-03-18 08:28:36 +00:00
Goetz Lindenmaier
333dd4177a 8256211: assert fired in java/net/httpclient/DependentPromiseActionsTest (infrequent)
Backport-of: b1163bcc88
2025-03-18 08:26:27 +00:00
Satyen Subramaniam
712699f448 8309978: [x64] Fix useless padding
Backport-of: 0038491abd
2025-03-17 22:59:38 +00:00
Satyen Subramaniam
be4ee93057 8338010: WB_IsFrameDeoptimized miss ResourceMark
Backport-of: 9f08a01cb6
2025-03-17 17:24:53 +00:00
Goetz Lindenmaier
5ff88f61f6 8352076: [21u] Problem list tests that fail in 21 and would be fixed by 8309622
Reviewed-by: sgehwolf
2025-03-17 08:24:12 +00:00
Goetz Lindenmaier
a42df5577c 8340790: Open source several AWT Dialog tests - Batch 4
Backport-of: 6d7e67956b
2025-03-15 20:19:33 +00:00
Goetz Lindenmaier
049adaa563 8340173: Open source some Component/Panel/EventQueue tests - Set2
Backport-of: 97ee8bbda2
2025-03-15 20:18:34 +00:00
Goetz Lindenmaier
d83fe71a65 8340907: Open source closed frame tests # 2
Backport-of: f2a767f59b
2025-03-14 12:41:19 +00:00
Goetz Lindenmaier
80dce19ac6 8340713: Open source DnD tests - Set5
Backport-of: fc7244da96
2025-03-14 10:46:51 +00:00
Goetz Lindenmaier
f840f014cb 8340966: Open source few Checkbox and Cursor tests - Set1
Backport-of: 3d38cd97ef
2025-03-14 10:36:18 +00:00
Goetz Lindenmaier
c200dd1a9e 8339935: Open source several AWT focus tests - series 5
Backport-of: b1f8d2ea76
2025-03-14 10:35:16 +00:00
Goetz Lindenmaier
8faba48127 8340393: Open source closed choice tests #2
Backport-of: a9b0f9ccbf
2025-03-14 10:34:02 +00:00
Goetz Lindenmaier
477e9a1c62 8339984: Open source AWT MenuItem related tests
Backport-of: f4e401791e
2025-03-14 10:33:00 +00:00
Goetz Lindenmaier
1b17b992a5 8339842: Open source several AWT focus tests - series 2
Backport-of: 4b7906375b
2025-03-14 10:26:13 +00:00
Goetz Lindenmaier
f20cbb5bbc 8339727: Open source several AWT focus tests - series 1
Backport-of: 358ff19633
2025-03-14 10:25:00 +00:00
Goetz Lindenmaier
0a6c49dbc4 8328482: Convert and Open source few manual applet test to main based
Backport-of: bea9acc55a
2025-03-14 10:23:46 +00:00
Goetz Lindenmaier
f54bdb5376 8328648: Remove applet usage from JFileChooser tests bug4150029
Backport-of: 021ed6aea9
2025-03-14 10:22:40 +00:00
Goetz Lindenmaier
7fbd271f75 8328670: Automate and open source few closed manual applet test
Backport-of: 38e3cda442
2025-03-14 10:21:19 +00:00
Goetz Lindenmaier
ea530cac6e 8324678: Replace NULL with nullptr in HotSpot gtests
Reviewed-by: mbaesken
Backport-of: c1281e6b45
2025-03-14 10:20:11 +00:00
Goetz Lindenmaier
0d9a28bebe 8316061: Open source several Swing RootPane and Slider related tests
Backport-of: 138542de78
2025-03-14 10:17:06 +00:00
SendaoYan
b64ead7430 8281511: java/net/ipv6tests/UdpTest.java fails with checkTime failed
Backport-of: f1798aad038f9d17b98618225b38287704477bbd
2025-03-14 01:25:43 +00:00
Severin Gehwolf
f16c950dcf 8303770: Remove Baltimore root certificate expiring in May 2025
Backport-of: 2371696781
2025-03-13 16:08:43 +00:00
Andreas Steiner
c401a6e460 8327169: serviceability/dcmd/vm/SystemMapTest.java and SystemDumpMapTest.java may fail after JDK-8326586
Backport-of: c434b79cff
2025-03-13 09:57:24 +00:00
Andreas Steiner
78d9827453 8326586: Improve Speed of System.map
Backport-of: 37e01efb78
2025-03-13 08:06:11 +00:00
SendaoYan
95ac8950b8 8276995: Bug in jdk.jfr.event.gc.collection.TestSystemGC
Backport-of: 91ce41f96d725a02f9566f87133ed64d448c80cc
2025-03-13 01:34:19 +00:00
Sergey Bylokhov
8cb9a28d7d 8343224: print/Dialog/PaperSizeError.java fails with MediaSizeName is not A4: A4
Backport-of: b3e63631c7
2025-03-12 17:17:59 +00:00
Satyen Subramaniam
d39195732a 8350616: Skip ValidateHazardPtrsClosure in non-debug builds
Reviewed-by: shade
Backport-of: e43960a017
2025-03-12 16:17:48 +00:00
Goetz Lindenmaier
50f83844af 8319439: Move BufferNode from PtrQueue files to new files
Reviewed-by: mdoerr
Backport-of: 1e76ba0cd0
2025-03-12 09:49:47 +00:00
Goetz Lindenmaier
002a1ec68e 8315742: Open source several Swing Scroll related tests
Backport-of: f0ff001dd7
2025-03-12 09:48:38 +00:00
Satyen Subramaniam
d9bb8dd991 8346264: "Total compile time" counter should include time spent in failing/bailout compiles
Backport-of: 12700cb81b
2025-03-11 17:01:35 +00:00
Matthias Baesken
a12f9f210c 8350201: Out of bounds access on Linux aarch64 in os::print_register_info
Backport-of: 59810ad745
2025-03-11 09:12:22 +00:00
Satyen Subramaniam
6957d6fa2d 8347126: gc/stress/TestStressG1Uncommit.java gets OOM-killed
Backport-of: dff5719e6f
2025-03-10 17:23:19 +00:00
Andreas Steiner
dee3212e32 8318636: Add jcmd to print annotated process memory map
Reviewed-by: stuefe
Backport-of: 6f863b2a1b
2025-03-10 16:57:08 +00:00
Goetz Lindenmaier
16a593a8d7 8348596: Update FreeType to 2.13.3
Backport-of: 6b719eeebc
2025-03-10 14:38:59 +00:00
Goetz Lindenmaier
86b0fb8bb7 8348936: [Accessibility,macOS,VoiceOver] VoiceOver doesn't announce untick on toggling the checkbox with "space" key on macOS
8345728: [Accessibility,macOS,Screen Magnifier]: JCheckbox unchecked state does not magnify but works for checked state

Backport-of: 1e87ff0199
2025-03-10 14:26:32 +00:00
Goetz Lindenmaier
c46e81a1b2 8349751: AIX build failure after upgrade pipewire to 1.3.81
Backport-of: 19c0ce43e2
2025-03-10 14:25:01 +00:00
Goetz Lindenmaier
43ac8095b7 8348600: Update PipeWire to 1.3.81
Backport-of: add3cd1ca4
2025-03-10 14:21:29 +00:00
Goetz Lindenmaier
11f9e7edd6 8348299: Update List/ItemEventTest/ItemEventTest.java
Use thread-safe StringBuffer to track selecting/deselecting items.
Use auto waitForIdle for all events.
Log handleEvent and ItemListener.
Take screenshot of the list on failure;
Optionally take screenshot after each mouse press+release.

Backport-of: 605b53e4f8
2025-03-10 14:20:08 +00:00
Goetz Lindenmaier
6cf39a7f7d 8341170: Open source several Choice related tests (part 2)
Backport-of: 52eded4a9c
2025-03-10 14:18:28 +00:00
Goetz Lindenmaier
94abc6a6ef 8341535: sun/awt/font/TestDevTransform.java fails with RuntimeException: Different rendering
Backport-of: 593c27e697
2025-03-10 14:16:44 +00:00
Roman Marchenko
4c0117acac 8309841: Jarsigner should print a warning if an entry is removed
Reviewed-by: yan
Backport-of: bdfb41f977
2025-03-10 14:03:11 +00:00
Goetz Lindenmaier
38c51948ee 8340560: Open Source several AWT/2D font and rendering tests
Backport-of: ade17ecb6c
2025-03-10 14:01:44 +00:00
Goetz Lindenmaier
20d560930b 8325435: [macos] Menu or JPopupMenu not closed when main window is resized
Backport-of: 1c514b34c0
2025-03-10 14:00:22 +00:00
Goetz Lindenmaier
9af7cbf369 8327071: [Testbug] g-tests for cgroup leave files in /tmp on linux
Backport-of: e889b460c0
2025-03-10 13:58:06 +00:00
Goetz Lindenmaier
071aaf8f73 8316497: ColorConvertOp - typo for non-ICC conversions needs one-line fix
Backport-of: dadd9cd1e8
2025-03-10 13:56:50 +00:00
Goetz Lindenmaier
5480432e04 8315876: Open source several Swing CSS related tests
Backport-of: 833a82872c
2025-03-10 13:54:40 +00:00
Dhamoder Nalla
d29111af0d 8348323: Corrupted timezone string in JVM crash log
Backport-of: 2bef5b4a87
2025-03-06 17:29:52 +00:00
Andrew Haley
ef282b75bb 8180450: secondary_super_cache does not scale well
8337958: Out-of-bounds array access in secondary_super_cache

Reviewed-by: adinn
Backport-of: f11a496de6
2025-03-06 09:46:25 +00:00
Sorna Sarathi N
e48995f499 8336499: Failure when creating non-CRT RSA private keys in SunPKCS11
Backport-of: 3251eea1f4
2025-03-05 06:18:25 +00:00
SendaoYan
9d9bcd2c89 8314840: 3 gc/epsilon tests ignore external vm options
Backport-of: da8abdc0bf98e8afc9d56ffe25a8fe83ed1531a5
2025-03-04 15:35:28 +00:00
SendaoYan
601e6f993e 8349200: [JMH] time.format.ZonedDateTimeFormatterBenchmark fails
Backport-of: 9d101b2528f4bb1c4dfb74cdc5e37343b9175580
2025-03-04 15:35:12 +00:00
Aleksey Shipilev
ef23a01ac5 8279016: JFR Leak Profiler is broken with Shenandoah
8343754: Problemlist jdk/jfr/event/oldobject/TestShenandoah.java after JDK-8279016

Reviewed-by: phh, serb, ysr
Backport-of: 0be7118b2f
2025-03-03 10:05:43 +00:00
SendaoYan
c046d85455 8347629: Test FailOverDirectExecutionControlTest.java fails with -Xcomp
Backport-of: 981d3c2b6edb8ee8233be07cd1ce682200019d1f
2025-03-03 08:53:43 +00:00
Andrew John Hughes
91457e6943 8331735: UpcallLinker::on_exit races with GC when copying frame anchor
8343144: UpcallLinker::on_entry racingly clears pending exception with GC safepoints
8286875: ProgrammableUpcallHandler::on_entry/on_exit access thread fields from native

Backport-of: 461ffafeba
2025-02-28 12:46:41 +00:00
Matthias Baesken
ae47d99675 8346082: Output JVMTI agent information in hserr files
Backport-of: c75b1d4bf6
2025-02-27 13:32:07 +00:00
Martin Doerr
b942b5e3cf 8345146: [PPC64] Make intrinsic conversions between bit representations of half precision values and floats
Reviewed-by: rrich
Backport-of: b42d79eb6a
2025-02-27 12:49:37 +00:00
Goetz Lindenmaier
4159e888ca 8350650: Bump update version for OpenJDK: jdk-21.0.8
Reviewed-by: clanger
2025-02-26 08:14:00 +00:00
Alexey Bakhtin
580690614f 8317808: HTTP/2 stream cancelImpl may leave subscriber registered
Backport-of: 6273ab97dc
2025-02-25 16:45:06 +00:00
Goetz Lindenmaier
951453e9f0 8344581: [TESTBUG] java/awt/Robot/ScreenCaptureRobotTest.java failing on macOS
Reviewed-by: mbaesken
Backport-of: 0d30b869d8
2025-02-25 16:14:14 +00:00
Goetz Lindenmaier
2f9840c24b 8339356: Test javax/net/ssl/SSLSocket/Tls13PacketSize.java failed with java.net.SocketException: An established connection was aborted by the software in your host machine
Backport-of: f6e7713bb6
2025-02-25 16:11:30 +00:00
Goetz Lindenmaier
68ad8435c1 8342635: javax/swing/JFileChooser/FileSystemView/WindowsDefaultIconSizeTest.java creates tmp file in src dir
8342634: javax/imageio/plugins/wbmp/WBMPStreamTruncateTest.java creates temp file in src dir

Backport-of: 02ea4b548e
2025-02-25 16:10:10 +00:00
Matthias Baesken
335b2f569f 8349039: Adjust exception No type named <ThreadType> in database
Backport-of: 669f8c0c07
2025-02-25 13:29:14 +00:00
Goetz Lindenmaier
d02ad34144 8327476: Upgrade JLine to 3.26.1
Reviewed-by: mdoerr
Backport-of: aaa90b3005
2025-02-24 10:54:41 +00:00
Suchismith Roy
9c26323271 8349729: [21u] AIX jtreg tests fail to compile with qvisibility=hidden
Reviewed-by: goetz
2025-02-24 09:53:25 +00:00
Goetz Lindenmaier
69192febb2 8348675: TrayIcon tests fail in Ubuntu 24.10 Wayland
Backport-of: 6f4fc82149
2025-02-22 15:13:14 +00:00
Goetz Lindenmaier
ed0c9d3e28 8346828: javax/swing/JScrollBar/4865918/bug4865918.java still fails in CI
Backport-of: 9fafd63d46
2025-02-22 15:12:08 +00:00
Goetz Lindenmaier
e746fe6489 8346324: javax/swing/JScrollBar/4865918/bug4865918.java fails in CI
Backport-of: a0b7c4f015
2025-02-22 15:05:33 +00:00
Goetz Lindenmaier
1e66664d2d 8338595: Add more linesize for MIME decoder in macro bench test Base64Decode
Backport-of: 7458952ded
2025-02-22 15:02:41 +00:00
Goetz Lindenmaier
d930aa1c6e 8337222: gc/TestDisableExplicitGC.java fails due to unexpected CodeCache GC
Backport-of: dab2a0b597
2025-02-22 15:00:39 +00:00
Antonio Vieiro
af639f37ff 8339728: [Accessibility,Windows,JAWS] Bug in the getKeyChar method of the AccessBridge class
Backport-of: ecdc322029
2025-02-21 17:23:12 +00:00
Goetz Lindenmaier
1b49a33e73 8342098: Write a test to compare the images
Backport-of: 47ebf8d868
2025-02-20 08:06:27 +00:00
Goetz Lindenmaier
2ff0232e35 8283664: Remove jtreg tag manual=yesno for java/awt/print/PrinterJob/PrintTextTest.java
Backport-of: 84c99fb91f
2025-02-20 08:05:32 +00:00
Goetz Lindenmaier
fdf6dbe297 8328730: Convert java/awt/print/bug8023392/bug8023392.html applet test to main
Backport-of: 4047a3623a
2025-02-20 08:04:16 +00:00
Matthias Baesken
6cc0ec2fdc 8347267: [macOS]: UnixOperatingSystem.c:67:40: runtime error: division by zero
Backport-of: 5e92a4ceaf
2025-02-19 08:36:31 +00:00
Matthias Baesken
c9bf94827d 8347268: [ubsan] logOutput.cpp:357:21: runtime error: applying non-zero offset 1 to null pointer
Backport-of: 82e16ba248
2025-02-19 08:35:30 +00:00
Matthias Baesken
58f3acc9f8 8345676: [ubsan] ProcessImpl_md.c:561:40: runtime error: applying zero offset to null pointer on macOS aarch64
Backport-of: 0285020c7e
2025-02-19 08:34:22 +00:00
SendaoYan
9d496c08d4 8322983: Virtual Threads: exclude 2 tests
Backport-of: cf28fd4cbc
2025-02-19 01:27:08 +00:00
Matthias Baesken
b7d92cd0ae 8338303: Linux ppc64le with toolchain clang - detection failure in early JVM startup
Backport-of: 70eec9001a
2025-02-17 11:40:25 +00:00
Joachim Kern
a4998f847b 8346880: [aix] java/lang/ProcessHandle/InfoTest.java still fails: "reported cputime less than expected"
Backport-of: f9b11332ec
2025-02-17 09:50:11 +00:00
Matthias Baesken
950e655064 8347576: Error output in libjsound has non matching format strings
Backport-of: 07a0dcbabc
2025-02-13 12:57:33 +00:00
Matthias Baesken
7846bc63c2 8346881: [ubsan] logSelection.cpp:154:24 / logSelectionList.cpp:72:94 : runtime error: applying non-zero offset 1 to null pointer
Backport-of: 0a81676fae
2025-02-13 12:56:15 +00:00
Matthias Baesken
196c6cc8b2 8345569: [ubsan] adjustments to filemap.cpp and virtualspace.cpp for macOS aarch64
Backport-of: 1d2ccaeaa3
2025-02-13 12:50:44 +00:00
SendaoYan
8b4ee6592f 8346972: Test java/nio/channels/FileChannel/LoopingTruncate.java fails sometimes with IOException: There is not enough space on the disk
Backport-of: a07d784919ae232a890bf79de27b8623e294ad20
2025-02-13 11:51:45 +00:00
SendaoYan
cc142d4da9 8347171: (dc) java/nio/channels/DatagramChannel/InterruptibleOrNot.java fails with virtual thread factory
Backport-of: 687ea73b00fd047305bfa1dda8187276bfb68dbf
2025-02-13 11:50:39 +00:00
SendaoYan
37ad92f309 8343882: BasicAnnoTests doesn't handle multiple annotations at the same position
Backport-of: d562d3c7a9
2025-02-13 11:47:11 +00:00
Goetz Lindenmaier
41dcb8ca32 8347740: java/io/File/createTempFile/SpecialTempFile.java failing
Backport-of: f2a9d26b2e
2025-02-13 10:23:18 +00:00
Goetz Lindenmaier
17cb53a995 8302111: Serialization considerations
Reviewed-by: andrew
Backport-of: 369c573383
2025-02-13 10:23:05 +00:00
Matthias Baesken
072651a6d3 8319233: AArch64: Build failure with clang due to -Wformat-nonliteral warning
Backport-of: 439ed046e4
2025-02-13 10:19:07 +00:00
SendaoYan
4e19a9ba8e 8339834: Replace usages of -mx and -ms in some tests
Backport-of: 1d39249231
2025-02-13 03:01:27 +00:00
SendaoYan
4f4c3cee1f 8347038: [JMH] jdk.incubator.vector.SpiltReplicate fails NoClassDefFoundError
Backport-of: 4d8fb80732
2025-02-13 03:00:27 +00:00
Antonio Vieiro
eb824722c0 8346587: Distrust TLS server certificates anchored by Camerfirma Root CAs
Reviewed-by: andrew
Backport-of: d2262fe4e9b3118d4c4ab152aa2771b744398367
2025-02-12 02:05:45 +00:00
Jan Kratochvil
37ad4db361 8346713: [testsuite] NeverActAsServerClassMachine breaks TestPLABAdaptToMinTLABSize.java TestPinnedHumongousFragmentation.java TestPinnedObjectContents.java
Reviewed-by: abakhtin
Backport-of: 43b7e9f547
2025-02-11 17:52:17 +00:00
Goetz Lindenmaier
3e55649193 8345368: java/io/File/createTempFile/SpecialTempFile.java fails on Windows Server 2025
Backport-of: b0c131e872
2025-02-11 13:50:27 +00:00
Goetz Lindenmaier
e122829dca 8346671: java/nio/file/Files/probeContentType/Basic.java fails on Windows 2025
Backport-of: 2e00816ac3
2025-02-11 13:49:24 +00:00
Christoph Langer
9c8fe67aff 8349603: [21u, 17u, 11u] Update GHA JDKs after Jan/25 updates
Reviewed-by: mbaesken, sgehwolf
2025-02-09 12:20:49 +00:00
Martin Doerr
46a146407f 8348562: ZGC: segmentation fault due to missing node type check in barrier elision analysis
Backport-of: afcc2b03af
2025-02-07 10:10:35 +00:00
Goetz Lindenmaier
d279d442cf 8340411: open source several 2D imaging tests
Backport-of: 8dcf7b8fa7
2025-02-07 08:30:19 +00:00
Goetz Lindenmaier
4a3eaa71b8 8330702: Update failure handler to don't generate Error message if cores actions are empty
Backport-of: 548e95a689
2025-02-07 08:12:07 +00:00
Joachim Kern
29a5de085a 8334371: [AIX] Beginning with AIX 7.3 TL1 mmap() supports 64K memory pages
Reviewed-by: mdoerr, stuefe
Backport-of: ced9906635
2025-02-05 09:50:20 +00:00
Goetz Lindenmaier
981ec16962 8347911: Limit the length of inflated text chunks
Reviewed-by: andrew
Backport-of: 398a580518
2025-02-05 09:03:16 +00:00
Goetz Lindenmaier
caa7cc2f58 8338571: [TestBug] DefaultCloseOperation.java test not working as expected wrt instruction after JDK-8325851 fix
Backport-of: 8858de393a
2025-02-05 09:01:51 +00:00
Goetz Lindenmaier
80253a3d27 8343491: javax/management/remote/mandatory/connection/DeadLockTest.java failing with NoSuchObjectException: no such object in table
Backport-of: 4f5a241ec1
2025-02-05 09:00:39 +00:00
Goetz Lindenmaier
d0fbffd96d 8226938: [TEST_BUG]GTK L&F: There is no Details button in FileChooser Dialog
Backport-of: fe98f86b57
2025-02-05 08:59:26 +00:00
Goetz Lindenmaier
9a2988c25e 8340078: Open source several 2D tests
Backport-of: 88a1c0550e
2025-02-05 08:58:01 +00:00
Goetz Lindenmaier
12070ca988 8332917: failure_handler should execute gdb "info threads" command on linux
Backport-of: ec88c6a872
2025-02-05 08:56:52 +00:00
Goetz Lindenmaier
42f0ebc0b3 8330647: Two CDS tests fail with -UseCompressedOops and UseSerialGC/UseParallelGC
Backport-of: c2cca2ab44
2025-02-05 08:51:57 +00:00
Goetz Lindenmaier
7b7aa75ff5 8329692: Add more details to FrameStateTest.java test instructions
Backport-of: 6f98d8f58f
2025-02-05 08:49:39 +00:00
Goetz Lindenmaier
ba27543d1e 8325042: Remove unused JVMDITools test files
Backport-of: 0cc8e5beed
2025-02-05 08:48:43 +00:00
Goetz Lindenmaier
69e8c2016d 8320691: Timeout handler on Windows takes 2 hours to complete
Backport-of: 4d50df63b6
2025-02-05 08:46:44 +00:00
Sergey Bylokhov
d2cbada0b7 8345468: test/jdk/javax/swing/JScrollBar/4865918/bug4865918.java fails in ubuntu22.04
Backport-of: 6f30762356
2025-02-04 03:38:45 +00:00
Christoph Langer
e1967d5124 8348625: [21u, 17u] Revert JDK-8185862 to restore old java.awt.headless behavior on Windows
Reviewed-by: sgehwolf
2025-01-31 10:23:00 +00:00
Sergey Bylokhov
b79136f6cf 8347427: JTabbedPane/8134116/Bug8134116.java has no license header
Backport-of: f67b703625
2025-01-30 18:23:38 +00:00
SendaoYan
95e4bc9e20 8332494: java/util/zip/EntryCount64k.java failing with java.lang.RuntimeException: '\\A\\Z' missing from stderr
Backport-of: f5ab7dff40
2025-01-30 09:24:40 +00:00
Goetz Lindenmaier
83b8d310a5 8343378: Exceptions in javax/management DeadLockTest.java do not cause test failure
Backport-of: 4a70c83bd0
2025-01-29 10:31:28 +00:00
Goetz Lindenmaier
ce188fdaca 8327986: ASAN reports use-after-free in DirectivesParserTest.empty_object_vm
Reviewed-by: rrich
Backport-of: 47f33a59ea
2025-01-29 10:29:48 +00:00
Goetz Lindenmaier
fe77607793 8328387: Convert java/awt/Frame/FrameStateTest/FrameStateTest.html applet test to main
Backport-of: 269163d509
2025-01-29 10:28:17 +00:00
Goetz Lindenmaier
c0242c70ec 8327098: GTest needs larger combination limit
Backport-of: c901da48e3
2025-01-29 10:26:51 +00:00
Goetz Lindenmaier
c8d993d32d 8315486: vmTestbase/nsk/jdwp/ThreadReference/ForceEarlyReturn/forceEarlyReturn002/forceEarlyReturn002.java timed out
Backport-of: 041510dc21
2025-01-29 10:25:14 +00:00
Severin Gehwolf
be245be258 8347129: cpuset cgroups controller is required for no good reason
Backport-of: 2de71d0445
2025-01-29 10:06:35 +00:00
Radek Cap
5d21a2bcc4 8347965: (tz) Update Timezone Data to 2025a
Reviewed-by: andrew
Backport-of: caa3c78f78
2025-01-28 11:16:01 +00:00
Varada M
554292a972 8211851: (ch) java/nio/channels/AsynchronousSocketChannel/StressLoopback.java times out (aix)
Backport-of: 8b22517cb0
2025-01-27 13:54:25 +00:00
Chen Liang
91e7582724 8345614: Improve AnnotationFormatError message for duplicate annotation interfaces
Backport-of: 7aa0cbc91d
2025-01-23 11:40:42 +00:00
Aleksey Shipilev
6d11231990 8347256: Epsilon: Demote heap size and AlwaysPreTouch warnings to info level
Backport-of: 1a0fe49732
2025-01-23 11:30:58 +00:00
William Kemper
8c3ab36dfa 8345750: Shenandoah: Test TestJcmdHeapDump.java#aggressive intermittent assert(gc_cause() == GCCause::_no_gc) failed: Over-writing cause
Reviewed-by: ysr, shade
Backport-of: 6a29a8110e
2025-01-23 11:30:38 +00:00
Goetz Lindenmaier
28f9e2d34a 8331977: Crash: SIGSEGV in dlerror()
Reviewed-by: rrich
Backport-of: 24530022d0
2025-01-22 23:57:24 +00:00
Goetz Lindenmaier
4479c03d09 8345375: Improve debuggability of test/jdk/java/net/Socket/CloseAvailable.java
Backport-of: 4b92816743
2025-01-22 23:56:03 +00:00
Goetz Lindenmaier
80d9cb3673 8343118: [TESTBUG] java/awt/PrintJob/PrintCheckboxTest/PrintCheckboxManualTest.java fails with rror. Can't find HTML file PrintCheckboxManualTest.html
Backport-of: f12c370d73
2025-01-22 23:54:42 +00:00
Goetz Lindenmaier
5603a90ae6 8341111: open source several AWT tests including menu shortcut tests
Backport-of: 04c9c5f0a7
2025-01-22 23:53:23 +00:00
Goetz Lindenmaier
e2b4f929fc 8341037: Use standard layouts in DefaultFrameIconTest.java and MenuCrash.java
Backport-of: c43202baf6
2025-01-22 23:52:10 +00:00
Goetz Lindenmaier
3fa03fd0ea 8329320: Simplify awt/print/PageFormat/NullPaper.java test
Backport-of: 5cf457b743
2025-01-22 23:50:48 +00:00
Goetz Lindenmaier
42220f373e 8324838: test_nmt_locationprinting.cpp broken in the gcc windows build
Backport-of: a2229b18bf
2025-01-22 23:48:35 +00:00
Goetz Lindenmaier
719f33805a Merge 2025-01-22 07:30:18 +00:00
Radek Cap
ab69b0d100 8343599: Kmem limit and max values swapped when printing container information
Backport-of: 6cdebf0e4c
2025-01-21 16:38:58 +00:00
Radek Cap
c0ab8a9fb3 8344589: Update IANA Language Subtag Registry to Version 2024-11-19
Backport-of: 9267dfa63b
2025-01-21 16:37:46 +00:00
Goetz Lindenmaier
5c87961ad8 8346055: javax/swing/text/StyledEditorKit/4506788/bug4506788.java fails in ubuntu22.04
Backport-of: 31ceec7cd5
2025-01-20 09:12:59 +00:00
Goetz Lindenmaier
c6c9fdd622 8341982: Simplify JButton/bug4323121.java
Backport-of: 6fa5cea984
2025-01-20 09:11:43 +00:00
Goetz Lindenmaier
d6b7816100 8341453: java/awt/a11y/AccessibleJTableTest.java fails in some cases where the test tables are not visible
Backport-of: f1f15370fa
2025-01-20 09:10:11 +00:00
Goetz Lindenmaier
4a8fbb3a14 8341316: [macos] javax/swing/ProgressMonitor/ProgressMonitorEscapeKeyPress.java fails sometimes in macos
Backport-of: 6bc3971f64
2025-01-20 09:09:05 +00:00
Goetz Lindenmaier
920f02b5c5 8341412: Various test failures after JDK-8334305
Backport-of: 49501fe9c4
2025-01-20 09:03:44 +00:00
Aleksey Shipilev
99a9299150 8311546: Certificate name constraints improperly validated with leading period
8320372: test/jdk/sun/security/x509/DNSName/LeadingPeriod.java validity check failed
8347424: Fix and rewrite sun/security/x509/DNSName/LeadingPeriod.java test

Reviewed-by: simonis
Backport-of: bfaf5704e7
2025-01-20 09:03:19 +00:00
Goetz Lindenmaier
5b377a3591 8334305: Remove all code for nsk.share.Log verbose mode
Backport-of: 855c8a7def
2025-01-20 08:57:04 +00:00
Goetz Lindenmaier
abd8902f0d 8329322: Convert PageFormat/Orient.java to use PassFailJFrame
Backport-of: f713766cab
2025-01-20 08:53:33 +00:00
Goetz Lindenmaier
fe321bb9b0 8320676: Manual printer tests have no Pass/Fail buttons, instructions close set 1
Backport-of: 7eb78e3320
2025-01-20 08:52:26 +00:00
Goetz Lindenmaier
ded411338d 8326525: com/sun/tools/attach/BasicTests.java does not verify AgentLoadException case
Backport-of: b8fc4186d5
2025-01-20 08:51:12 +00:00
Goetz Lindenmaier
aed5fd3211 8313633: [macOS] java/awt/dnd/NextDropActionTest/NextDropActionTest.java fails with java.lang.RuntimeException: wrong next drop action!
Backport-of: d97de8260c
2025-01-20 08:50:03 +00:00
Satyen Subramaniam
97119a918b 8346887: DrawFocusRect() may cause an assertion failure
Backport-of: 8eddf67c82
2025-01-16 15:32:01 +00:00
Goetz Lindenmaier
406875439c 8342508: Use latch in BasicMenuUI/bug4983388.java instead of delay
Backport-of: 02ec8ca2d6
2025-01-16 08:25:21 +00:00
Goetz Lindenmaier
0dadc4486c 8342498: Add test for Allocation elimination after use as alignment reference by SuperWord
Backport-of: f62fc48441
2025-01-16 08:22:46 +00:00
Goetz Lindenmaier
a9a563d162 8333403: Write a test to check various components events are triggered properly
Backport-of: a02d895f7a
2025-01-16 08:21:16 +00:00
Goetz Lindenmaier
e2385ebc40 8340687: Open source closed frame tests #1
Backport-of: 47fcf5a3b0
2025-01-16 08:19:52 +00:00
Goetz Lindenmaier
4e0c9eec57 8324807: Manual printer tests have no Pass/Fail buttons, instructions close set 2
Backport-of: ed821cbe85
2025-01-16 08:18:32 +00:00
Goetz Lindenmaier
455763b57b 8328819: Remove applet usage from JFileChooser tests bug6698013
Backport-of: e3588bba04
2025-01-16 08:17:12 +00:00
Goetz Lindenmaier
f9d2fb8e82 8227529: With malformed --app-image the error messages are awful
Backport-of: 56d4c33f40
2025-01-16 08:16:05 +00:00
Goetz Lindenmaier
ddddc1a0ee 8304701: Request with timeout aborts later in-flight request on HTTP/1.1 cxn
Backport-of: bddcd086b7
2025-01-16 08:14:55 +00:00
Goetz Lindenmaier
4035d85f09 8325529: Remove unused imports from ModuleGenerator test file
Reviewed-by: rschmelter
Backport-of: d70156d2e2
2025-01-14 08:13:01 +00:00
Goetz Lindenmaier
405a892098 8339542: compiler/codecache/CheckSegmentedCodeCache.java fails
Backport-of: 777c20cb14
2025-01-13 15:23:36 +00:00
Goetz Lindenmaier
92171b8c95 8325659: Normalize Random usage by incubator vector tests
Backport-of: 4bba445d83
2025-01-13 15:21:45 +00:00
Goetz Lindenmaier
b160465038 8198237: [macos] Test java/awt/Frame/ExceptionOnSetExtendedStateTest/ExceptionOnSetExtendedStateTest.java fails
Backport-of: 862e615696
2025-01-13 15:20:20 +00:00
Goetz Lindenmaier
a04daf6cef 8327505: Test com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java fails
Backport-of: 2b79c22c43
2025-01-13 15:18:46 +00:00
Goetz Lindenmaier
be0da80a78 8327994: Update code gen in CallGeneratorHelper
Backport-of: ac2f8e5af8
2025-01-13 15:16:56 +00:00
Goetz Lindenmaier
6bc25f3295 8317636: Improve heap walking API tests to verify correctness of field indexes
Backport-of: f31957e6a1
2025-01-13 15:15:49 +00:00
Goetz Lindenmaier
6e6d7b2f07 8320706: RuntimePackageTest.testUsrInstallDir test fails on Linux
Backport-of: 726f854b14
2025-01-13 15:14:17 +00:00
Goetz Lindenmaier
79ba88a764 8317283: jpackage tests run osx-specific checks on windows and linux
Backport-of: 179792beb4
2025-01-13 15:11:39 +00:00
Goetz Lindenmaier
25bb646a79 8312570: [TESTBUG] Jtreg compiler/loopopts/superword/TestDependencyOffsets.java fails on 512-bit SVE
Backport-of: e5ea9aa9aa
2025-01-13 15:10:02 +00:00
Goetz Lindenmaier
9e451b4247 8226933: [TEST_BUG]GTK L&F: There is no swatches or RGB tab in JColorChooser
Backport-of: 5c4f1ef746
2025-01-10 16:06:53 +00:00
Goetz Lindenmaier
402b04ba91 8328368: Convert java/awt/image/multiresolution/MultiDisplayTest/MultiDisplayTest.java applet test to main
Backport-of: ba05c6d0b6
2025-01-10 16:03:43 +00:00
Goetz Lindenmaier
2d0c61fcaa 8314752: Use google test string comparison macros
Reviewed-by: mbaesken
Backport-of: a0d0f21f08
2025-01-10 16:02:06 +00:00
Aleksey Shipilev
6e6f8b2f90 8342988: GHA: Build JTReg in single step
Reviewed-by: serb, phh
Backport-of: 88dc655a6d
2025-01-10 08:43:02 +00:00
Liam Miller-Cushon
0d8d8e6bdc 8336942: Improve test coverage for class loading elements with annotations of different retentions
Reviewed-by: goetz, vromero
Backport-of: e36ce5f034
2025-01-09 07:50:03 +00:00
Fabian Meumertzheim
f117cb06d8 8345684: OperatingSystemMXBean.getSystemCpuLoad() throws NPE
Backport-of: d7ef3ac0b7
2025-01-08 14:31:51 +00:00
Goetz Lindenmaier
6514d380d1 8327460: Compile tests with the same visibility rules as product code
Reviewed-by: mbaesken
Backport-of: cc9a8aba67
2025-01-08 07:05:21 +00:00
Goetz Lindenmaier
be280b5d5c 8339524: Clean up a few ExtendedRobot tests
Backport-of: 16232578d9
2025-01-07 10:13:31 +00:00
Goetz Lindenmaier
e88f72285a 8343396: Use OperatingSystem, Architecture, and OSVersion in jpackage tests
Backport-of: a63f501b92
2025-01-07 08:59:34 +00:00
Goetz Lindenmaier
0a15709650 8340719: Open source AWT List tests
Backport-of: b11066b56b
2025-01-07 08:57:57 +00:00
Goetz Lindenmaier
bf06f92961 8340480: Bad copyright notices in changes from JDK-8339902
Backport-of: fdc16a3734
2025-01-07 08:56:40 +00:00
Amit Kumar
98e6549913 8346847: [s390x] minimal build failure
Backport-of: 807f6f7fb8
2025-01-06 05:31:29 +00:00
Goetz Lindenmaier
f24dfe678a 8344326: Move jpackage tests from "jdk.jpackage.tests" package to the default package
Reviewed-by: mbaesken
Backport-of: 2c509a158f
2025-01-05 11:01:48 +00:00
Christoph Langer
7069f193f1 8347010: [21u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 21.0.6
Reviewed-by: goetz
2025-01-04 21:22:12 +01:00
Martin Balao
4bd350ffe0 8339180: Enhanced Building of Processes: Follow-on Issue
Reviewed-by: yan
Backport-of: a71624a69ec5cc8600f2a3a53c23c75b43068830
2025-01-04 21:09:44 +01:00
Aleksei Voitylov
99da67ffe2 8336564: Enhance mask blit functionality redux
Reviewed-by: yan, mbalao
Backport-of: 6e7f9a23a4daf461acbc4c5a5110e19b34ced22c
2025-01-04 21:05:24 +01:00
Yuri Nesterenko
11aed54028 8335428: Enhanced Building of Processes
Reviewed-by: mbalao
Backport-of: 978dfdf9aa95da4196055cc288c5993d4dc6ef85
2025-01-04 21:02:20 +01:00
Martin Balao
ba57a23658 8330045: Enhance array handling
Backport-of: 727c2612766dd1737bf59fb0d9ba1e58a7b8c32b
2025-01-04 20:55:05 +01:00
Goetz Lindenmaier
056a2651af 8337660: C2: basic blocks with only BoxLock nodes are wrongly treated as empty
Reviewed-by: mbaesken
Backport-of: 0105203575
2025-01-03 10:27:20 +00:00
Goetz Lindenmaier
d912330772 8340313: Crash due to invalid oop in nmethod after C1 patching
Reviewed-by: mdoerr
Backport-of: 58d39c317e
2024-12-30 22:31:01 +00:00
Goetz Lindenmaier
60bf039826 8332158: [XWayland] test/jdk/java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java
Backport-of: b1b4cd429a
2024-12-30 22:29:50 +00:00
Goetz Lindenmaier
ff7e18478a 8328558: Convert javax/swing/JCheckBox/8032667/bug8032667.java applet test to main
Backport-of: ef2bd57213
2024-12-30 22:28:40 +00:00
Goetz Lindenmaier
cf36052692 8315825: Open some swing tests
Backport-of: e015e6ce28
2024-12-30 22:27:21 +00:00
Goetz Lindenmaier
3b8d404da2 8313905: Checked_cast assert in CDS compare_by_loader
Reviewed-by: mdoerr
Backport-of: bd1b942741
2024-12-30 22:24:08 +00:00
Goetz Lindenmaier
8a5bbfebfa 8335468: [XWayland] JavaFX hangs when calling java.awt.Robot.getPixelColor
Backport-of: 965aace297
2024-12-27 10:04:56 +00:00
Goetz Lindenmaier
4474fbca98 8342609: jpackage test helper function incorrectly removes a directory instead of its contents only
Backport-of: 7133d1b983
2024-12-27 10:03:32 +00:00
Goetz Lindenmaier
2f8995412a 8339883: Open source several AWT/2D related tests
Backport-of: b26645f64b
2024-12-27 10:02:17 +00:00
SendaoYan
d4c5d69be1 8321818: vmTestbase/nsk/stress/strace/strace015.java failed with 'Cannot read the array length because "<local4>" is null'
Backport-of: ea50c54a14
2024-12-27 01:53:59 +00:00
Goetz Lindenmaier
36b067cbb2 8345414: Google CAInterop test failures
Backport-of: 8e9ba788ae
2024-12-24 11:22:48 +00:00
Goetz Lindenmaier
182e9497b6 8342602: Remove JButton/PressedButtonRightClickTest test
Backport-of: 8647c00114
2024-12-24 11:21:39 +00:00
Goetz Lindenmaier
fe9284a8c5 8343101: Rework BasicTest.testTemp test cases
8343178: Test BasicTest.java javac compile fails cannot find symbol

Reviewed-by: mdoerr
Backport-of: a95374f588
2024-12-24 11:20:24 +00:00
Goetz Lindenmaier
85e5a5c6e1 8335288: SunPKCS11 initialization will call C_GetMechanismInfo on unsupported mechanisms
Reviewed-by: mdoerr
Backport-of: fdfe503d01
2024-12-24 11:19:16 +00:00
Goetz Lindenmaier
bf86b34260 8328553: Get rid of JApplet in test/jdk/sanity/client/lib/SwingSet2/src/DemoModule.java
Backport-of: 7d1bbff076
2024-12-24 11:17:14 +00:00
Goetz Lindenmaier
173c3d3917 8333647: C2 SuperWord: some additional PopulateIndex tests
Backport-of: 487c477181
2024-12-24 11:14:35 +00:00
Goetz Lindenmaier
3aa331db4b 8326421: Add jtreg test for large arrayCopy disjoint case.
Backport-of: 73cdc9a070
2024-12-24 11:08:13 +00:00
Goetz Lindenmaier
f3e7bb4301 8329210: Delete Redundant Printer Dialog Modality Test
Backport-of: 7ac2f914aa
2024-12-24 11:06:16 +00:00
Goetz Lindenmaier
d91dba3d82 8315883: Open source several Swing JToolbar tests
Backport-of: 62c0a1b9ac
2024-12-24 11:05:58 +00:00
Goetz Lindenmaier
a98f9cf448 8316056: Open source several Swing JTree tests
Backport-of: 5f6cee86ef
2024-12-24 11:02:30 +00:00
SendaoYan
c7c7280f6e 8341881: [REDO] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
8342145: File libCreationTimeHelper.c compile fails on Alpine

Reviewed-by: sgehwolf, goetz, phh
Backport-of: daa67f45f0
2024-12-21 08:56:05 +00:00
Goetz Lindenmaier
8abf13e2b0 8315952: Open source several Swing JToolbar JTooltip JTree tests
Backport-of: d2b2f6759f
2024-12-21 08:21:05 +00:00
Matthias Baesken
a01f02445d 8339475: Clean up return code handling for pthread calls in library coding
8341135: Incorrect format string after JDK-8339475

Reviewed-by: mdoerr
Backport-of: 2a2ecc994e
2024-12-20 07:46:13 +00:00
Goetz Lindenmaier
b23b738d0e 8344646: The libjsig deprecation warning should go to stderr not stdout
Backport-of: efeacfee01
2024-12-19 13:02:56 +00:00
Goetz Lindenmaier
d42b931b9a 8342541: Exclude List/KeyEventsTest/KeyEventsTest.java from running on macOS
Backport-of: bb7a8403ba
2024-12-19 13:01:05 +00:00
Goetz Lindenmaier
e83e6bef4e 8342811: java/net/httpclient/PlainProxyConnectionTest.java failed: Unexpected connection count: 5
Backport-of: 59ffac84d3
2024-12-19 12:59:22 +00:00
Goetz Lindenmaier
9a6169856e 8277240: java/awt/Graphics2D/ScaledTransform/ScaledTransform.java dialog does not get disposed
Backport-of: 52c0b09b62
2024-12-19 12:57:59 +00:00
Goetz Lindenmaier
2924515b66 8342270: Test sun/security/pkcs11/Provider/RequiredMechCheck.java needs write access to src tree
Backport-of: 342fe42555
2024-12-19 12:56:32 +00:00
Goetz Lindenmaier
1cfc1e7983 8343128: PassFailJFrame.java test result: Error. Bad action for script: build}
Use HTML character entity in javadoc to prevent jtreg from recognising
PassFailJFrame.java as a test file.

Backport-of: 7bca0af481
2024-12-19 12:54:46 +00:00
Goetz Lindenmaier
9f06e332e5 8340116: test/jdk/sun/security/tools/jarsigner/PreserveRawManifestEntryAndDigest.java can fail due to regex
Backport-of: 7e87c071b0
2024-12-19 12:53:05 +00:00
Goetz Lindenmaier
42d3509d12 8338426: Test java/nio/channels/Selector/WakeupNow.java failed
Backport-of: 0853aee3b3
2024-12-19 12:51:40 +00:00
Goetz Lindenmaier
e5433159d8 8325937: runtime/handshake/HandshakeDirectTest.java causes "monitor end should be strictly below the frame pointer" assertion failure on AArch64
Backport-of: 83e9e482b1
2024-12-19 12:49:32 +00:00
Goetz Lindenmaier
09295265f8 8339943: Frame not disposed in java/awt/dnd/DropActionChangeTest.java
Backport-of: fa502ecd2d
2024-12-19 12:47:53 +00:00
Goetz Lindenmaier
f70b4f3734 8328005: Convert java/awt/im/JTextFieldTest.java applet test to main
Backport-of: cc5cda5587
2024-12-19 12:46:36 +00:00
Goetz Lindenmaier
4ab8e84e58 8328130: Remove applet usage from JColorChooser tests Test4759934
Backport-of: be1dd275a4
2024-12-19 12:44:59 +00:00
Goetz Lindenmaier
c89fc273a8 8316149: Open source several Swing JTree JViewport KeyboardManager tests
8316627: JViewport Test headless failure

Reviewed-by: mbaesken
Backport-of: a021dbcb9e
2024-12-19 12:42:54 +00:00
Antonio Vieiro
0011704ec8 8341424: GHA: Collect hs_errs from build time failures
8342704: GHA: Report truncation is broken after JDK-8341424

Reviewed-by: shade
Backport-of: bf92c49839
2024-12-19 11:06:17 +00:00
Antonio Vieiro
eaa475f72c 8294316: SA core file support is broken on macosx-x64 starting with macOS 12.x
Backport-of: 269852b906
2024-12-18 16:54:30 +00:00
Taizo Kurashige
227c430b55 8344275: tools/jpackage/windows/Win8301247Test.java fails on localized Windows platform
Reviewed-by: asemenyuk, phh
Backport-of: 48e3b6511a
2024-12-18 16:53:13 +00:00
Goetz Lindenmaier
1c53e8cadf 8328827: Convert java/awt/print/PrinterJob/PrinterDialogsModalityTest/PrinterDialogsModalityTest.html applet test to main
Backport-of: db01fcd6d8
2024-12-18 11:06:27 +00:00
Goetz Lindenmaier
c0336dd33a 8328717: Convert javax/swing/JColorChooser/8065098/bug8065098.java applet test to main
Backport-of: a1fbbffb5e
2024-12-18 11:04:35 +00:00
Goetz Lindenmaier
0a65f3c198 8328370: Convert java/awt/print/Dialog/PrintApplet.java applet test to main
Backport-of: 476421efe5
2024-12-18 11:03:21 +00:00
Goetz Lindenmaier
57973b788a 8328185: Convert java/awt/image/MemoryLeakTest/MemoryLeakTest.java applet test to main
Backport-of: 4e83f4cfc7
2024-12-18 11:01:44 +00:00
Sonia Zaldana Calles
cce9336133 8316371: Open some swing tests 6
Backport-of: d3a79b5861
2024-12-17 17:47:22 +00:00
Sonia Zaldana Calles
0cdb868b2e 8316218: Open some swing tests 5
Backport-of: 788e6e1548
2024-12-17 17:46:56 +00:00
Sonia Zaldana Calles
0cb7705075 8316146: Open some swing tests 4
Backport-of: 3105538de5
2024-12-17 17:46:40 +00:00
Sonia Zaldana Calles
85453b6b8c 8315882: Open some swing tests 2
Backport-of: d2d7d9a8b7
2024-12-17 17:44:58 +00:00
Goetz Lindenmaier
e1b5f3c56d 8343314: Move common properties from jpackage jtreg test declarations to TEST.properties file
Reviewed-by: mdoerr
Backport-of: c33a8f52b6
2024-12-17 13:30:51 +00:00
Goetz Lindenmaier
30eeb80fac 8341978: Improve JButton/bug4490179.java
Use latch to synchronize actions in the test.
Verify mouseButton3Released does not trigger actionPerformed
while mouse button 1 is pressed.
Ensure mouse button 1 is released.
Verify releasing mouse button 1 triggers actionPerformed.

Backport-of: 8174cbd5cb
2024-12-17 13:28:51 +00:00
Goetz Lindenmaier
dbf6f67b14 8331959: Update PKCS#11 Cryptographic Token Interface to v3.1
Backport-of: b4ab290fd7
2024-12-17 13:24:04 +00:00
Goetz Lindenmaier
6a2ef78a33 8339902: Open source couple TextField related tests
Backport-of: fde8508379
2024-12-17 13:22:19 +00:00
Goetz Lindenmaier
e8842b7b92 8339687: Rearrange reachabilityFence()s in jdk.test.lib.util.ForceGC
Backport-of: 51b85a1f69
2024-12-17 13:20:04 +00:00
Goetz Lindenmaier
c609fe5454 8336692: Redo fix for JDK-8284620
Backport-of: c5b7af73d0
2024-12-17 13:18:39 +00:00
Goetz Lindenmaier
f44b8eacfa 8334777: Test javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java failed with NullPointerException
Backport-of: 2a2964759c
2024-12-17 13:15:20 +00:00
Goetz Lindenmaier
35f769da09 8333360: PrintNullString.java doesn't use float arguments
Backport-of: aaaa86b571
2024-12-17 13:13:40 +00:00
Goetz Lindenmaier
539990cd9a 8328753: Open source few Undecorated Frame tests
8337886: java/awt/Frame/MaximizeUndecoratedTest.java fails in OEL due to a slight color difference

Reviewed-by: mdoerr
Backport-of: db159149c1
2024-12-17 13:11:52 +00:00
Matthias Baesken
2867acd233 8317919: pthread_attr_init handle return value and destroy pthread_attr_t object
Backport-of: ec310fe809
2024-12-17 13:10:14 +00:00
Goetz Lindenmaier
3d71029113 8328403: Remove applet usage from JColorChooser tests Test6977726
Backport-of: 1e76e1fdfa
2024-12-17 13:10:01 +00:00
Goetz Lindenmaier
544c4b5732 8328227: Remove applet usage from JColorChooser tests Test4887836
Backport-of: cc5b9c63cb
2024-12-17 13:07:46 +00:00
Goetz Lindenmaier
52daaa95e5 8328719: Convert java/awt/print/PageFormat/SetOrient.html applet test to main
Backport-of: 27ac39a2bc
2024-12-17 13:05:55 +00:00
Goetz Lindenmaier
7478c4b43f 8328380: Remove applet usage from JColorChooser tests Test6348456
Backport-of: 78d1b90468
2024-12-17 13:04:01 +00:00
Goetz Lindenmaier
8c58f66c3a 8328121: Remove applet usage from JColorChooser tests Test4759306
Backport-of: fab0edc9e6
2024-12-17 13:02:25 +00:00
Goetz Lindenmaier
fa4616661d 8327859: Remove applet usage from JColorChooser tests Test4319113
Backport-of: 89fb0f837b
2024-12-17 12:59:20 +00:00
Richard Reingruber
a21862ab00 8328085: C2: Use after free in PhaseChaitin::Register_Allocate()
Backport-of: 93aa7e2fcf
2024-12-17 08:35:30 +00:00
SendaoYan
1c691358f3 8343129: Disable unstable check of ThreadsListHandle.sanity_vm ThreadList values
Backport-of: 59fcfae630
2024-12-16 14:58:22 +00:00
Goetz Lindenmaier
b682b1faa0 8336498: [macos] [build]: install-file macro may run into permission denied error
8342858: Make target mac-jdk-bundle fails on chmod command

Reviewed-by: lucy
Backport-of: 715fa8f9fe
2024-12-16 10:59:47 +00:00
Matthias Baesken
7b2a675f70 8341820: Check return value of hcreate_r
Backport-of: 7c0dbf8e9c
2024-12-13 12:46:17 +00:00
Kerem Kat
21b76f3f07 8345296: AArch64: VM crashes with SIGILL when prctl is disallowed
Reviewed-by: shade, phh
Backport-of: 3c60f0b2bb
2024-12-13 12:36:03 +00:00
Goetz Lindenmaier
29c1188b97 8314909: tools/jpackage/windows/Win8282351Test.java fails with java.lang.AssertionError: Expected [0]. Actual [1618]:
Backport-of: 1b104b63a9
2024-12-13 12:20:31 +00:00
SendaoYan
a0211131db 8320916: jdk/jfr/event/gc/stacktrace/TestParallelMarkSweepAllocationPendingStackTrace.java failed with "OutOfMemoryError: GC overhead limit exceeded"
Backport-of: 693847452f
2024-12-13 03:10:16 +00:00
Goetz Lindenmaier
e7111b2d0c 8346108: [21u][BACKOUT] 8337994: [REDO] Native memory leak when not recording any events
Reviewed-by: mdoerr
2024-12-12 16:54:21 +00:00
Goetz Lindenmaier
814566b10a 8343100: Consolidate EmptyFolderTest and EmptyFolderPackageTest jpackage tests into single java file
Backport-of: 00fe9f7bdf
2024-12-12 09:08:37 +00:00
Goetz Lindenmaier
c02fd228bb 8343102: Remove --compress from jlink command lines from jpackage tests
Backport-of: 9e451aa365
2024-12-12 09:07:26 +00:00
Goetz Lindenmaier
8600d8e148 8333116: test/jdk/tools/jpackage/share/ServiceTest.java test fails
Backport-of: 91ab088d5e
2024-12-12 09:02:01 +00:00
Goetz Lindenmaier
d554f2b08f 8316885: jcmd: Compiler.CodeHeap_Analytics cmd does not inform about missing aggregate
Backport-of: 1230aed61d
2024-12-12 08:57:13 +00:00
Chad Rakoczy
990859cc32 8341194: [REDO] Implement C2 VectorizedHashCode on AArch64
Reviewed-by: phh
Backport-of: 4fc6d4135e
2024-12-11 16:55:41 +00:00
Sonia Zaldana Calles
1419546268 8338100: C2: assert(!n_loop->is_member(get_loop(lca))) failed: control must not be back in the loop
Backport-of: e203df46fa
2024-12-11 14:40:44 +00:00
Boris Ulasevich
7e4185a74e 8295159: DSO created with -ffast-math breaks Java floating-point arithmetic
Reviewed-by: phh
Backport-of: df599dbb9b
2024-12-11 14:22:18 +00:00
Boris Ulasevich
4b36ef0f74 8337994: [REDO] Native memory leak when not recording any events
Reviewed-by: phh
Backport-of: 6a9a867d64
2024-12-11 14:20:51 +00:00
Martin Doerr
3087c6c74d 8343205: CompileBroker::possibly_add_compiler_threads excessively polls available memory
Reviewed-by: phh
Backport-of: 75801992a7
2024-12-11 11:30:52 +00:00
Martin Doerr
c1bd8d9124 8343343: Misc crash dump improvements on more platforms after JDK-8294160
8343149: Cleanup os::print_tos_pc on AIX

Reviewed-by: mbaesken
Backport-of: e33dc13567
2024-12-10 16:02:00 +00:00
Goetz Lindenmaier
37df1cb487 8293345: SunPKCS11 provider checks on PKCS11 Mechanism are problematic
Backport-of: 1b476f52ba
2024-12-10 10:52:21 +00:00
SendaoYan
7511a0be92 8340969: jdk/jfr/startupargs/TestStartDuration.java should be marked as flagless
Backport-of: 470701f0bb
2024-12-10 08:16:21 +00:00
Richard Reingruber
a0ed69d5a3 8341715: PPC64: ObjectMonitor::_owner should be reset unconditionally in nmethod unlocking
Reviewed-by: mdoerr
Backport-of: f9208fadde
2024-12-09 07:38:11 +00:00
Goetz Lindenmaier
532c49aa84 8324672: Update jdk/java/time/tck/java/time/TCKInstant.java now() to be more robust
Backport-of: e94e3bba39
2024-12-06 19:41:49 +00:00
Goetz Lindenmaier
d0f15d53c8 8339261: Logs truncated in test javax/net/ssl/DTLS/DTLSRehandshakeTest.java
Backport-of: 1447967f53
2024-12-06 19:40:40 +00:00
Goetz Lindenmaier
e2daa351d3 8337951: Test sun/security/validator/samedn.sh CertificateNotYetValidException: NotBefore validation
Backport-of: a505a1dda3
2024-12-06 19:39:16 +00:00
Goetz Lindenmaier
f554fcff70 8338668: Test javax/swing/JFileChooser/8080628/bug8080628.java doesn't test for GTK L&F
Backport-of: b8e8e965e5
2024-12-06 19:37:57 +00:00
Goetz Lindenmaier
739b5fb886 8333391: Test com/sun/jdi/InterruptHangTest.java failed: Thread was never interrupted during sleep
Reviewed-by: lucy
Backport-of: ed6499446d
2024-12-06 19:35:44 +00:00
Goetz Lindenmaier
a3788f2432 8335789: [TESTBUG] XparColor.java test fails with Error. Parse Exception: Invalid or unrecognized bugid: @
Backport-of: 3733fe3a20
2024-12-06 19:34:33 +00:00
Goetz Lindenmaier
da281fa9fb 8327857: Remove applet usage from JColorChooser tests Test4222508
Backport-of: 7c6fd337d0
2024-12-06 19:33:19 +00:00
Richard Reingruber
71bf10ed8c 8341862: PPC64: C1 unwind_handler fails to unlock synchronized methods with LM_MONITOR
Backport-of: ed6809666b
2024-12-04 16:24:38 +00:00
Roland Westrelin
1f6b4011cf 8340824: C2: Memory for TypeInterfaces not reclaimed by hashcons()
Backport-of: 90c944fefe
2024-12-04 15:03:19 +00:00
Sonia Zaldana Calles
c2c40df115 8339154: Cleanups and JUnit conversion of test/jdk/java/util/zip/Available.java
Backport-of: f927c1210e
2024-12-04 14:30:04 +00:00
Sonia Zaldana Calles
eb29579949 8334490: Normalize string with locale invariant toLowerCase()
Backport-of: 265a0f5547
2024-12-04 14:27:09 +00:00
Sonia Zaldana Calles
2909f65dd1 8336012: Fix usages of jtreg-reserved properties
Backport-of: e6c5aa7a6c
2024-12-04 14:26:51 +00:00
Sonia Zaldana Calles
64f02636f8 8331993: Add counting leading/trailing zero tests for Integer
Backport-of: 675fbe699e
2024-12-04 14:25:10 +00:00
Sonia Zaldana Calles
f7ba9cc7d6 8327390: JitTester: Implement temporary folder functionality
Backport-of: 5aae80304c
2024-12-04 14:23:45 +00:00
Goetz Lindenmaier
17ba5136ce 8345370: Bump update version for OpenJDK: jdk-21.0.7
Reviewed-by: mdoerr, sgehwolf
2024-12-04 07:36:48 +00:00
Alexey Bakhtin
e45287d1ad 8335912: Add an operation mode to the jar command when extracting to not overwriting existing files
Reviewed-by: henryjen, goetz, mbalao
Backport-of: 158b93d19a
2024-12-04 01:02:53 +00:00
Francisco Ferrari Bihurriet
3f648b4f65 8342905: Thread.setContextClassloader from thread in FJP commonPool task no longer works after JDK-8327501 redux
Reviewed-by: sgehwolf, mbalao
Backport-of: 872ae13471
2024-12-03 19:05:42 +00:00
Martin Balao
96a3a88ee2 8344993: [21u] [REDO] Backport JDK-8327501 and JDK-8328366 to JDK 21
Reviewed-by: sgehwolf
2024-12-03 15:25:26 +00:00
Goetz Lindenmaier
d383ba546c 8322809: SystemModulesMap::classNames and moduleNames arrays do not match the order
Reviewed-by: sgehwolf, mbaesken
Backport-of: f3be138eb8
2024-12-02 15:52:28 +00:00
SendaoYan
e5699972a4 8344628: Test TestEnableJVMCIProduct.java run with virtual thread intermittent fails
Backport-of: 3a625f38aa
2024-12-02 15:11:38 +00:00
Dmitry Cherepanov
92aa77c5e8 8343285: java.lang.Process is unresponsive and CPU usage spikes to 100%
Backport-of: c00e20c399
2024-12-02 09:49:25 +00:00
Saint Wesonga
046c4aa161 8334475: UnsafeIntrinsicsTest.java#ZGenerationalDebug assert(!assert_on_failure) failed: Has low-order bits set
Backport-of: 7f189a59d9ad803aee72565bc46a817d3f46f2e5
2024-11-28 21:05:44 +00:00
Amit Kumar
a803b5a05e 8342409: [s390x] C1 unwind_handler fails to unlock synchronized methods with LM_MONITOR
Backport-of: 9201e9fcc2
2024-11-28 21:04:45 +00:00
Matthias Baesken
5ac01dec36 8345055: [21u] ProblemList failing rtm tests on ppc platforms
Reviewed-by: mdoerr
2024-11-28 13:37:28 +00:00
Matthias Baesken
6b9ef8dadf 8325906: Problemlist vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java#id1 until JDK-8320865 is fixed
Backport-of: 2564f0f998
2024-11-28 12:21:10 +00:00
KIRIYAMA Takuya
2dd73179c8 8333427: langtools/tools/javac/newlines/NewLineTest.java is failing on Japanese Windows
Backport-of: 1b0281dc77
2024-11-28 11:40:15 +00:00
SendaoYan
50aa07ef1e 8343877: Test AsyncClose.java intermittent fails - Socket.getInputStream().read() wasn't preempted
Backport-of: 752e162955
2024-11-25 14:57:25 +00:00
SendaoYan
149991de70 8338344: Test TestPrivilegedMode.java intermittent fails java.lang.NoClassDefFoundError: jdk/test/lib/Platform
Backport-of: e3a5e265a7
2024-11-25 14:56:10 +00:00
SendaoYan
7045581075 8316893: Compile without -fno-delete-null-pointer-checks
Backport-of: 287b243221
2024-11-25 14:55:50 +00:00
Antonio Vieiro
bc4abb4379 8340552: Harden TzdbZoneRulesCompiler against missing zone names
Backport-of: 1bc13a1c10
2024-11-25 14:46:28 +00:00
SendaoYan
ef5702e7f4 8316907: Fix nonnull-compare warnings
Backport-of: 516cfb135f
2024-11-22 15:37:23 +00:00
Amit Kumar
50fc231b04 8343884: [s390x] Disallow OptoScheduling
Backport-of: 7540fa2147
2024-11-22 00:02:52 +00:00
Sophia Guo
f091c76728 8333248: VectorGatherMaskFoldingTest.java failed when maximum vector bits is 64
Backport-of: 9b0a5c5cd0
2024-11-22 00:00:21 +00:00
Goetz Lindenmaier
4bbc29cf9c 8319678: Several tests from corelibs areas ignore VM flags
Backport-of: 2e3682a7f2
2024-11-21 09:06:43 +00:00
Goetz Lindenmaier
add7934bb5 8339637: (tz) Update Timezone Data to 2024b
Reviewed-by: andrew
Backport-of: 73b2341c67
2024-11-21 09:05:20 +00:00
Goetz Lindenmaier
322fc813b8 8328619: sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.java failed with BindException: Address already in use
Backport-of: 2af0312c95
2024-11-21 09:04:19 +00:00
Matthias Baesken
3aa59b3139 8341722: Fix some warnings as errors when building on Linux with toolchain clang
Reviewed-by: clanger
Backport-of: e7c5bf45f7
2024-11-21 08:07:20 +00:00
Alexey Bakhtin
2029e4e1de 8337826: Improve logging in OCSPTimeout and SimpleOCSPResponder to help diagnose JDK-8309754
Backport-of: 9b11bd7f4a
2024-11-20 22:13:10 +00:00
Matthias Baesken
f9cd285e4c 8338550: Do libubsan1 installation in test container only if requested
Backport-of: 7933e45cda
2024-11-20 12:33:40 +00:00
Goetz Lindenmaier
936b239530 8325525: Create jtreg test case for JDK-8325203
8336315: tools/jpackage/windows/WinChildProcessTest.java Failed: Check is calculator process is alive

Reviewed-by: lucy
Backport-of: 81a0d1ba03
2024-11-20 09:55:23 +00:00
Matthias Baesken
cb9a6a2f6a 8333144: docker tests do not work when ubsan is configured
Backport-of: fbe8a81d19
2024-11-20 08:24:53 +00:00
William Kemper
fd7b6e451b 8336640: Shenandoah: Parallel worker use in parallel_heap_region_iterate
Reviewed-by: shade
Backport-of: e74edbaea9
2024-11-19 23:24:45 +00:00
Satyen Subramaniam
324e32f91d 8321470: ThreadLocal.nextHashCode can be static final
Backport-of: c42535f111
2024-11-19 20:12:44 +00:00
Martin Doerr
4b1365eaab 8343923: GHA: Switch to Xcode 15 on MacOS AArch64 runners
Backport-of: 4c5bc5f2f0
2024-11-18 16:24:45 +00:00
Sonia Zaldana Calles
948710fb04 8338389: [JFR] Long strings should be added to the string pool
Backport-of: d5c6158ced
2024-11-18 15:12:49 +00:00
Matthias Baesken
b9c83b5d69 8342823: Ubsan: ciEnv.cpp:1614:65: runtime error: member call on null pointer of type 'struct CompileTask'
Backport-of: beff8bfe2a
2024-11-18 14:04:01 +00:00
Matthias Baesken
a4927ca550 8338449: ubsan: division by zero in sharedRuntimeTrans.cpp
Reviewed-by: mdoerr
Backport-of: 37cfaa8deb
2024-11-18 14:03:05 +00:00
Matthias Baesken
f36b3b4c45 8336911: ZGC: Division by zero in heuristics after JDK-8332717
Backport-of: 1cc32237ae
2024-11-18 14:02:43 +00:00
Amit Kumar
4f6c506793 8344164: [s390x] ProblemList hotspot/jtreg/runtime/NMT/VirtualAllocCommitMerge.java
Backport-of: 3245f56e53
2024-11-18 14:02:30 +00:00
Martin Doerr
38f654ee78 8343724: [PPC64] Disallow OptoScheduling
Backport-of: f621f26cd1
2024-11-18 14:01:21 +00:00
Martin Doerr
1bfb57dca4 8342607: Enhance register printing on x86_64 platforms
Backport-of: d8b3685d36
2024-11-18 14:01:06 +00:00
Amit Kumar
fe41d0a2e1 8343506: [s390x] multiple test failures with ubsan
Backport-of: f6edfe58d6
2024-11-18 14:00:50 +00:00
Goetz Lindenmaier
e1eb341217 8342183: Update tests to use stronger algorithms and keys
Backport-of: c82ad845e1
2024-11-18 13:44:55 +00:00
Goetz Lindenmaier
0fd31732dd 8342188: Update tests to use stronger key parameters and certificates
Backport-of: ae82cc1ba1
2024-11-18 13:43:47 +00:00
SendaoYan
5b1a9521de 8336257: Additional tests in jmxremote/startstop to match on PID not app name
Backport-of: 687601ebca
2024-11-18 11:11:08 +00:00
SendaoYan
fa07b3dee8 8319673: Few security tests ignore VM flags
Reviewed-by: lucy
Backport-of: 430290066c
2024-11-18 11:07:53 +00:00
Matthias Baesken
bcc85d923f 8318442: java/net/httpclient/ManyRequests2.java fails intermittently on Linux
Backport-of: 06d8216a4e
2024-11-15 11:19:01 +00:00
Matthias Baesken
6affc09ae2 8340801: Disable ubsan checks in some awt/2d coding
Backport-of: e7cf25ce0e
2024-11-15 11:16:07 +00:00
SendaoYan
1af737e552 8339892: Several security shell tests don't set TESTJAVAOPTS
Backport-of: 8a2a75e56d
2024-11-15 09:33:52 +00:00
SendaoYan
d0abff2f07 8207908: JMXStatusTest.java fails assertion intermittently
Backport-of: b7d0eff5ad
2024-11-15 09:33:40 +00:00
SendaoYan
c5d75ef66e 8337410: The makefiles should set problemlist and adjust timeout basing on the given VM flags
Backport-of: 5e021cbcc7
2024-11-15 09:30:41 +00:00
Goetz Lindenmaier
d81d301561 8342181: Update tests to use stronger Key and Salt size
Backport-of: f340ab2d36
2024-11-15 07:32:25 +00:00
Goetz Lindenmaier
22d5e0d1f8 8343474: [updates] Customize README.md to specifics of update project
Reviewed-by: clanger, sgehwolf, andrew, aph
2024-11-13 09:11:06 +00:00
Goetz Lindenmaier
9bdf2a619d 8341927: Replace hardcoded security providers with new test.provider.name system property
8343848: Fix typo of property name in TestOAEPPadding after 8341927

Reviewed-by: lucy
Backport-of: 9a9ac1d005
2024-11-11 09:48:32 +00:00
Goetz Lindenmaier
7869713396 8335142: compiler/c1/TestTraceLinearScanLevel.java occasionally times out with -Xcomp
Backport-of: 6f4ddc2f6b
2024-11-11 09:02:14 +00:00
Goetz Lindenmaier
2702f67147 8333235: vmTestbase/nsk/jdb/kill/kill001/kill001.java fails with C1
Backport-of: f73922b27d
2024-11-11 09:01:10 +00:00
Goetz Lindenmaier
30374095c1 8332112: Update nsk.share.Log to don't print summary during VM shutdown hook
Backport-of: 61aff6db15
2024-11-11 08:58:46 +00:00
Goetz Lindenmaier
bbc006f3be 8330278: Have SSLSocketTemplate.doClientSide use loopback address
Backport-of: 0eff492e41
2024-11-11 08:57:38 +00:00
Goetz Lindenmaier
b4ab5de4c0 8240343: JDI stopListening/stoplis001 "FAILED: listening is successfully stopped without starting listening"
Backport-of: 28b2019559
2024-11-11 08:56:35 +00:00
Goetz Lindenmaier
d85992de62 8327924: Simplify TrayIconScalingTest.java
Backport-of: 1496b5de90
2024-11-11 08:55:25 +00:00
Goetz Lindenmaier
14b897a018 8325038: runtime/cds/appcds/ProhibitedPackage.java can fail with UseLargePages
Backport-of: b42b8886aa
2024-11-11 08:54:19 +00:00
Goetz Lindenmaier
c09025add8 8308429: jvmti/StopThread/stopthrd007 failed with "NoClassDefFoundError: Could not initialize class jdk.internal.misc.VirtualThreads"
Backport-of: 0e501f66df
2024-11-11 08:53:21 +00:00
Goetz Lindenmaier
582a2befaf 8320575: generic type information lost on mandated parameters of record's compact constructors
Reviewed-by: mbaesken
Backport-of: 7bf1989f59
2024-11-08 11:11:03 +00:00
Goetz Lindenmaier
4a5c578bb0 8337810: ProblemList BasicDirectoryModel/LoaderThreadCount.java on Windows
Backport-of: f92c60e1a9
2024-11-07 08:02:29 +00:00
SendaoYan
bb60a427d7 8342681: TestLoadBypassesNullCheck.java fails improperly specified VM option
Backport-of: 8bcd4920f1
2024-11-05 19:19:56 +00:00
Goetz Lindenmaier
9ce77a2f0a 8341235: Improve default instruction frame title in PassFailJFrame
Backport-of: 4ba170c403
2024-11-05 13:44:57 +00:00
Goetz Lindenmaier
498252fe73 8340799: Add border inside instruction frame in PassFailJFrame
Backport-of: 520060f79a
2024-11-05 13:43:52 +00:00
Goetz Lindenmaier
d7c2775a1e 8340812: LambdaForm customization via MethodHandle::updateForm is not thread safe
Backport-of: 47c10694c6
2024-11-05 13:42:52 +00:00
Goetz Lindenmaier
f4940f65f8 8339803: Acknowledge case insensitive unambiguous keywords in tzdata files
Reviewed-by: mbaesken
Backport-of: 35a94b7697
2024-11-05 13:41:47 +00:00
SendaoYan
6b4be0148a 8306446: java/lang/management/ThreadMXBean/Locks.java transient failures
Backport-of: 4ae5a3e39b
2024-11-05 09:48:28 +00:00
Matthias Baesken
34021e99d5 8333728: ubsan: shenandoahFreeSet.cpp:1347:24: runtime error: division by zero
Reviewed-by: mdoerr, lucy
Backport-of: b557594202
2024-11-05 07:50:55 +00:00
Roland Westrelin
c17e00945d 8342496: C2/Shenandoah: SEGV in compiled code when running jcstress
Backport-of: 680dc5d896
2024-11-04 12:27:39 +00:00
Goetz Lindenmaier
6b33c1c0b1 8340214: C2 compilation asserts with "no node with a side effect" in PhaseIdealLoop::try_sink_out_of_loop
Backport-of: ff2f39f240
2024-11-04 08:03:27 +00:00
Goetz Lindenmaier
b08fa9a47f 8337066: Repeated call of StringBuffer.reverse with double byte string returns wrong result
Backport-of: cd61f97c2d
2024-11-04 08:02:01 +00:00
Goetz Lindenmaier
ae4672482c 8340785: Update description of PassFailJFrame and samples
Backport-of: 5063494f5b
2024-11-04 08:00:52 +00:00
Goetz Lindenmaier
72eaaa2527 8317116: Provide layouts for multiple test UI in PassFailJFrame
Backport-of: 85f0442727
2024-11-04 07:59:11 +00:00
Goetz Lindenmaier
3d20298dd8 8334057: JLinkReproducibleTest.java support receive test.tool.vm.opts
Backport-of: 8feabc849b
2024-11-04 07:56:25 +00:00
Goetz Lindenmaier
93dc591573 8333754: Add a Test against ECDSA and ECDH NIST Test vector
Reviewed-by: mbaesken
Backport-of: fad6644eab
2024-11-04 07:54:49 +00:00
Xiaolong Peng
eb8d5fe5b9 8319640: ClassicFormat::parseObject (from DateTimeFormatter) does not conform to the javadoc and may leak DateTimeException
Backport-of: fe0ccdf5f8
2024-11-01 21:55:02 +00:00
Fei Yang
ed797f7d6b 8342578: GHA: RISC-V: Bootstrap using Debian snapshot is still failing
Backport-of: 239d84a82a
2024-11-01 09:31:37 +00:00
Goetz Lindenmaier
ec24039459 8340466: Add description for PassFailJFrame constructors
Backport-of: 3762ec3978
2024-10-31 09:46:27 +00:00
Goetz Lindenmaier
83955c9914 8339787: Add some additional diagnostic output to java/net/ipv6tests/UdpTest.java
Backport-of: cecb0b3d11
2024-10-31 09:43:19 +00:00
Goetz Lindenmaier
d506e2381f 8340899: Remove wildcard bound in PositionWindows.positionTestWindows
Backport-of: e2626db2f0
2024-10-31 09:35:37 +00:00
Goetz Lindenmaier
17179fdd16 8340684: Reading from an input stream backed by a closed ZipFile has no test coverage
Backport-of: 0e0b0b0d26
2024-10-31 09:34:21 +00:00
Goetz Lindenmaier
97ab46fd0e 8340365: Position the first window of a window list
Backport-of: e97f0fe1b4
2024-10-31 09:33:05 +00:00
Goetz Lindenmaier
6ad61fa5d2 8340461: Amend description for logArea
Backport-of: 833ff29983
2024-10-31 09:29:08 +00:00
Goetz Lindenmaier
15084f0c51 8340308: PassFailJFrame: Make rows default to number of lines in instructions
Backport-of: d1d824008d
2024-10-31 09:27:56 +00:00
Goetz Lindenmaier
ddc42a1a6c 8340306: Add border around instructions in PassFailJFrame
Backport-of: 0120d3eed5
2024-10-31 09:26:52 +00:00
Goetz Lindenmaier
54d8f6092f 8338759: Add extra diagnostic to java/net/InetAddress/ptr/Lookup.java
Backport-of: 118c9ade1a
2024-10-31 09:24:52 +00:00
Goetz Lindenmaier
9f85fe3378 8340210: Add positionTestUI() to PassFailJFrame.Builder
Backport-of: f0ae90f30c
2024-10-31 09:15:32 +00:00
Goetz Lindenmaier
b0b4699c71 8332901: Select{Current,New}ItemTest.java for Choice don't open popup on macOS
Move SelectCurrentItemTest.java to java/awt/Choice/SelectItem/.
Move SelectNewItemTest.java to java/awt/Choice/SelectItem/.
Use latches to control test flow instead of delays.
Encapsulate the common logic in SelectCurrentItemTest.
Provide overridable checkXXX() methods to modify conditions.
Provide an overridable method which defines where to click
in the choice popup to select an item.

Backport-of: ef96a7b014
2024-10-31 09:13:19 +00:00
Goetz Lindenmaier
d7c85b194d 8333317: Test sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java failed with: Invalid ECDH ServerKeyExchange signature
Reviewed-by: lucy
Backport-of: c6f0a35e9e
2024-10-31 09:11:26 +00:00
Goetz Lindenmaier
c1a3c4f3be 8335709: C2: assert(!loop->is_member(get_loop(useblock))) failed: must be outside loop
Backport-of: 0ddf54e222
2024-10-31 09:10:29 +00:00
Goetz Lindenmaier
86a7babbeb 8325851: Hide PassFailJFrame.Builder constructor
Backport-of: 3b9255eb66
2024-10-31 09:07:47 +00:00
Todd V. Jonker
c3cb940f4f 8342765: [21u] RTM tests assume UnlockExperimentalVMOptions is disabled by default
Reviewed-by: phh
2024-10-30 16:25:06 +00:00
Vlad Zahorodnii
fa58ee0927 8338751: ConfigureNotify behavior has changed in KWin 6.2
Backport-of: 3da6890081
2024-10-30 15:41:43 +00:00
t.ogata
f1b656d1d9 8337851: Some tests have name which confuse jtreg
Backport-of: e6698f51a1
2024-10-30 15:38:37 +00:00
Amit Kumar
e64c4f2759 8342962: [s390x] TestOSRLotsOfLocals.java crashes
Backport-of: 54327bc4e3
2024-10-30 15:38:14 +00:00
Goetz Lindenmaier
bcd095826f 8315701: [macos] Regression: KeyEvent has different keycode on different keyboard layouts
Backport-of: a3eb664077
2024-10-30 07:24:45 +00:00
Goetz Lindenmaier
4845d80681 8283214: [macos] Screen magnifier does not show the magnified text for JComboBox
Backport-of: de51aa19d6
2024-10-30 07:22:46 +00:00
SendaoYan
c37acdb088 8313374: --enable-ccache's CCACHE_BASEDIR breaks builds
Backport-of: 571c435e1a
2024-10-30 07:20:55 +00:00
Martin Doerr
7dc0f7a642 8342701: [PPC64] TestOSRLotsOfLocals.java crashes
Backport-of: 3bba0f3dc8
2024-10-29 15:35:06 +00:00
Richard Reingruber
9ea9971e74 8334560: [PPC64]: postalloc_expand_java_dynamic_call_sched does not copy all fields
Backport-of: 13dce296fc
2024-10-29 15:05:14 +00:00
t.ogata
c5be449b04 8328379: Convert URLDragTest.html applet test to main
Backport-of: fbeac98c84
2024-10-29 13:58:35 +00:00
Steven Loomis
01eb688a00 8195675: Call to insertText with single character from custom Input Method ignored
Backport-of: b8f2ec9091
2024-10-28 13:31:45 +00:00
Goetz Lindenmaier
8818eb408e 8325506: Ensure randomness is only read from provided SecureRandom object
Reviewed-by: lucy
Backport-of: b87d9cf2c9
2024-10-25 07:37:58 +00:00
Goetz Lindenmaier
d221709817 8320673: PageFormat/CustomPaper.java has no Pass/Fail buttons; multiple instructions
Backport-of: 0ff2deab5d
2024-10-25 07:36:38 +00:00
Goetz Lindenmaier
0dc59f8142 8322754: click JComboBox when dialog about to close causes IllegalComponentStateException
Backport-of: e44276989f
2024-10-25 07:34:27 +00:00
Goetz Lindenmaier
9dbdaea3b7 8225220: When the Tab Policy is checked,the scroll button direction displayed incorrectly.
Backport-of: ed5b8c3a7b
2024-10-25 07:32:56 +00:00
Jiangli Zhou
f70c4bd355 8316428: G1: Nmethod count statistics only count last code root set iterated
Backport-of: fab372d3a2
2024-10-25 01:10:57 +00:00
Satyen Subramaniam
9da22082b1 8333824: Unused ClassValue in VarHandles
Reviewed-by: shade
Backport-of: 7b43a8cd7c
2024-10-24 08:11:05 +00:00
t.ogata
01e9dbdbbe 8328242: Add a log area to the PassFailJFrame
Backport-of: 9bc1b065db
2024-10-23 22:16:31 +00:00
Satyen Subramaniam
826184c4c0 8323562: SaslInputStream.read() may return wrong value
Backport-of: 5cf7947ccd
2024-10-23 16:28:38 +00:00
Kerem Kat
da87df7ed4 8311656: Shenandoah: Unused ShenandoahSATBAndRemarkThreadsClosure::_claim_token
Backport-of: 0b0e064e36
2024-10-22 17:08:14 +00:00
Goetz Lindenmaier
9308deceef 8328402: Implement pausing functionality for the PassFailJFrame
Backport-of: 581b1e29ae
2024-10-22 07:56:25 +00:00
Goetz Lindenmaier
42b3607227 8342669: [21u] Fix TestArrayAllocatorMallocLimit after backport of JDK-8315097
Reviewed-by: lucy
2024-10-22 07:54:09 +00:00
SendaoYan
8a35e8f9de 8341997: Tests create files in src tree instead of scratch dir
Backport-of: caa8f35ed4
2024-10-21 18:43:50 +00:00
Todd V. Jonker
b010fdc0b1 8340398: [JVMCI] Unintuitive behavior of UseJVMCICompiler option
Backport-of: 4cd8c75a55
2024-10-21 17:48:31 +00:00
Satyen Subramaniam
c62b0a5ad9 8325610: CTW: Add StressIncrementalInlining to stress options
Reviewed-by: ysr
Backport-of: 5bf859c8e9
2024-10-21 15:54:16 +00:00
Goetz Lindenmaier
a2f0ddbae8 8325762: Use PassFailJFrame.Builder.splitUI() in PrintLatinCJKTest.java
Backport-of: 41242cbe5d
2024-10-21 12:39:24 +00:00
SendaoYan
50133608f9 8341806: Gcc version detection failure on Alinux3
Backport-of: c49ef0421f
2024-10-17 23:48:16 +00:00
SendaoYan
3fc07f2963 8341688: Aarch64: Generate comments in -XX:+PrintInterpreter to link to source code
Backport-of: 0be27bf0c5
2024-10-17 23:47:21 +00:00
Boris Ulasevich
27d2abecff 8320892: AArch64: Restore FPU control state after JNI
Backport-of: 50f3124055
2024-10-17 23:45:03 +00:00
Satyen Subramaniam
fe4b0fab55 8332866: Crash in ImageIO JPEG decoding when MEM_STATS in enabled
Backport-of: ca30726352
2024-10-17 17:53:10 +00:00
Todd V. Jonker
dd4e0ae057 8341261: Tests assume UnlockExperimentalVMOptions is disabled by default
Reviewed-by: phh
Backport-of: 1bdd79e7b2
2024-10-17 17:46:24 +00:00
Gui Cao
f19e69a981 8342014: RISC-V: ZStoreBarrierStubC2 clobbers rflags
Reviewed-by: fyang
Backport-of: a601cd2e10
2024-10-17 13:37:10 +00:00
Matthias Baesken
70eff9d5af 8340109: Ubsan: ciEnv.cpp:1660:65: runtime error: member call on null pointer of type 'struct CompileTask'
Backport-of: efe3573b9b
2024-10-17 12:48:53 +00:00
Boris Ulasevich
6ed940b821 8320682: [AArch64] C1 compilation fails with "Field too big for insn"
Reviewed-by: phh
Backport-of: 69014cd55b
2024-10-17 12:01:29 +00:00
Matthias Baesken
fbfe11fe94 8341024: [test] build/AbsPathsInImage.java fails with OOM when using ubsan-enabled binaries
Backport-of: 1b46fea59c
2024-10-17 07:42:00 +00:00
Gui Cao
f766080719 8320397: RISC-V: Avoid passing t0 as temp register to MacroAssembler:: cmpxchg_obj_header/cmpxchgptr
Backport-of: 0be0775a76
2024-10-16 14:23:04 +00:00
Martin Doerr
8e19c8f836 8339386: Assertion on AIX - original PC must be in the main code section of the compiled method
Reviewed-by: mbaesken, lucy
Backport-of: 9a25f822fb
2024-10-16 14:22:06 +00:00
Gui Cao
f9070df111 8341146: RISC-V: Unnecessary fences used for load-acquire in template interpreter
Reviewed-by: fjiang, fyang
Backport-of: a4ca6267e1
2024-10-16 14:07:09 +00:00
Goetz Lindenmaier
e5dfeb1955 8342063: [21u][aix] Backport introduced redundant line in ProblemList
Reviewed-by: lucy
2024-10-16 13:44:56 +00:00
Goetz Lindenmaier
62e01470af Merge 2024-10-16 08:26:11 +00:00
Boris Ulasevich
9e582fcbb8 8319973: AArch64: Save and restore FPCR in the call stub
Reviewed-by: aph
2024-10-14 13:14:06 +00:00
Goetz Lindenmaier
eaf1f67dbc 8340632: ProblemList java/nio/channels/DatagramChannel/ for Macos
Reviewed-by: lucy
2024-10-14 12:30:11 +00:00
Goetz Lindenmaier
4de0f30ef2 8323688: C2: Fix UB of jlong overflow in PhaseIdealLoop::is_counted_loop()
Backport-of: 1dd60b62e3
2024-10-14 12:28:23 +00:00
Goetz Lindenmaier
21d7353cde 8340008: KeyEvent/KeyTyped/Numpad1KeyTyped.java has 15 seconds timeout
Backport-of: 3c22d83c0f
2024-10-14 12:27:15 +00:00
Goetz Lindenmaier
5f34b725cf 8337067: Test runtime/classFileParserBug/Bad_NCDFE_Msg.java won't compile
Backport-of: 021c2c36ac
2024-10-14 12:21:27 +00:00
Goetz Lindenmaier
b7efb794c2 8321543: Update NSS to version 3.96
Backport-of: 6cda4c5985
2024-10-14 12:20:31 +00:00
Goetz Lindenmaier
8648dccc96 8321299: runtime/logging/ClassLoadUnloadTest.java doesn't reliably trigger class unloading
Backport-of: 5cae7d20ad
2024-10-14 12:19:26 +00:00
Aleksey Shipilev
eb6a23aec3 8337876: [IR Framework] Add support for IR tests with @Stable
8338112: Test testlibrary_tests/ir_framework/tests/TestPrivilegedMode.java fails with release build

Reviewed-by: eastigeevich, phh
Backport-of: c01f53ac2d
2024-10-14 07:03:43 +00:00
Christoph Langer
dfcd8d2eec 8341989: [21u] Back out JDK-8327501 and JDK-8328366
Reviewed-by: goetz
2024-10-11 21:42:42 +02:00
Gui Cao
3efdcde657 8340590: RISC-V: C2: Small improvement to vector gather load and scatter store
Backport-of: 88801caef6
2024-10-11 15:17:02 +00:00
Amit Kumar
21fec60c16 8332461: ubsan : dependencies.cpp:906:3: runtime error: load of value 4294967295, which is not a valid value for type 'DepType'
Backport-of: 28de44da71
2024-10-11 13:17:49 +00:00
SendaoYan
10665ba241 8341562: RISC-V: Generate comments in -XX:+PrintInterpreter to link to source code
Backport-of: 8e9f46a0f1
2024-10-11 12:24:50 +00:00
Goetz Lindenmaier
6967a6bd1e 8313878: Exclude two compiler/rtm/locking tests on ppc64le
Backport-of: 6faea22b52
2024-10-11 07:54:18 +00:00
Goetz Lindenmaier
868168c6a2 8328021: Convert applet test java/awt/List/SetFontTest/SetFontTest.html to main program
Backport-of: 87bd6caca0
2024-10-11 07:53:15 +00:00
Goetz Lindenmaier
b002ba6357 8334719: (se) Deferred close of SelectableChannel may result in a Selector doing the final close before concurrent I/O on channel has completed
Reviewed-by: lucy
Backport-of: 9bb675f89d
2024-10-11 07:51:11 +00:00
Andrew John Hughes
0083bcd8dd 8341674: [21u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 21.0.5
Reviewed-by: clanger
2024-10-10 14:11:02 +02:00
Matthias Baesken
978075f67d 8339487: ProcessHandleImpl os_getChildren sysctl call - retry in case of ENOMEM and enhance exception message
Backport-of: 4ff72dc57e
2024-10-09 06:46:38 +00:00
Matthias Baesken
7fd462f5f4 8339648: ZGC: Division by zero in rule_major_allocation_rate
Backport-of: 80db6e71b0
2024-10-09 06:41:41 +00:00
Matthias Baesken
73c34be6de 8340923: The class LogSelection copies uninitialized memory
Backport-of: 10da2c21a1
2024-10-09 06:36:07 +00:00
Goetz Lindenmaier
11dad92a1f 8340007: Refactor KeyEvent/FunctionKeyTest.java
Backport-of: 2faf8b8d58
2024-10-08 09:55:26 +00:00
Goetz Lindenmaier
115b04cf07 8338380: Update TLSCommon/interop/AbstractServer to specify an interface to listen for connections
Backport-of: 0b5c8870e5
2024-10-08 09:50:50 +00:00
Goetz Lindenmaier
0755f5c2b9 8339560: Unaddressed comments during code review of JDK-8337664
Reviewed-by: mbaesken
Backport-of: 95d3e9d199
2024-10-07 08:36:59 +00:00
George Adams
576246021a 8340804: doc/building.md update Xcode instructions to note that full install is required
Reviewed-by: phh
Backport-of: b639661e79
2024-10-05 22:04:01 +00:00
Francisco Ferrari Bihurriet
90517f5cec 8332644: Improve graph optimizations
Reviewed-by: mbalao, andrew
Backport-of: 7c16d649a8118d2e7ee77cedba87e620c83294b4
2024-10-05 15:26:58 +02:00
Alexei Voitylov
2058719a38 8331446: Improve deserialization support
Reviewed-by: yan, mbalao, andrew
Backport-of: 8e4a392832f83e16d521024505b52c96d0a993f2
2024-10-05 14:35:04 +02:00
Aleksey Shipilev
e24138546c 8340418: GHA: MacOS AArch64 bundles can be removed prematurely
Backport-of: 9d76c7c60f
2024-10-04 12:51:45 +00:00
Matthias Baesken
c673c524d1 8340387: Update OS detection code to recognize Windows Server 2025
Backport-of: 34cddfbedd
2024-10-04 07:17:50 +00:00
Alexey Bakhtin
0832548353 8328726: Better Kerberos support
Reviewed-by: mbalao
Backport-of: 7325899a11f17bf4516d39495a12796385e459ed
2024-10-04 06:57:38 +02:00
Martin Balao
be1607d309 8335713: Enhance vectorization analysis
Reviewed-by: roland
Backport-of: 3c05ad2290936ec9abc3f271cb6bf89e18c3eea7
2024-10-03 22:07:38 +02:00
Martin Balao
d953c9fe02 8328544: Improve handling of vectorization
Reviewed-by: roland, yan
Backport-of: b5174c9159fbffdf335ee6835267ba0e674cf432
2024-10-03 22:00:13 +02:00
Alexey Bakhtin
846b6ebb42 8328286: Enhance HTTP client
Reviewed-by: mbalao
Backport-of: cf8dc79f392c8ec3414d8b36803f026852c4e386
2024-10-03 21:51:54 +02:00
Alexei Voitylov
93bdd79538 8311208: Improve CDS Support
Reviewed-by: mbalao
Backport-of: 2c60805bc380945a8266112c7b5aee0498cb7d5b
2024-10-03 21:51:54 +02:00
Alexey Bakhtin
3c46e9918b 8307383: Enhance DTLS connections
Reviewed-by: mbaesken, andrew
Backport-of: 362dbbaa952b3d4a5270c6bfae879a12e9bdf4d1
2024-10-03 21:51:54 +02:00
Martin Doerr
b1cd88acc5 8340657: [PPC64] SA determines wrong unextendedSP
Backport-of: 49d15edd31
2024-10-03 14:42:22 +00:00
Goetz Lindenmaier
cba5a240c2 Merge 2024-10-02 07:28:23 +00:00
Goetz Lindenmaier
dd13bf68cb 8338924: C1: assert(0 <= i && i < _len) failed: illegal index 5 for length 5
8335664: Parsing jsr broken: assert(bci>= 0 && bci < c->method()->code_size()) failed: index out of bounds

Backport-of: caf28d4ac5
2024-10-01 10:33:01 +00:00
Goetz Lindenmaier
aa6cdd758f 8324841: PKCS11 tests still skip execution
Backport-of: 9d4a4bd2c2
2024-10-01 10:29:57 +00:00
Goetz Lindenmaier
eced83e130 8341059: Change Entrust TLS distrust date to November 12, 2024
Reviewed-by: mbaesken, sgehwolf
Backport-of: f554c3ffce
2024-10-01 09:58:19 +00:00
Goetz Lindenmaier
be819d749d 8341057: Add 2 SSL.com TLS roots
Backport-of: 824a297aae
2024-10-01 09:54:53 +00:00
Ben Taylor
0943249c39 8321940: Improve CDSHeapVerifier in handling of interned strings
Backport-of: 4f3de09672
2024-09-30 17:07:58 +00:00
Liang Mao
e756145b7a 8339725: Concurrent GC crashed due to GetMethodDeclaringClass
Reviewed-by: shade
Backport-of: c91fa278fe
2024-09-30 08:40:35 +00:00
George Adams
c8b8f72aef 8340383: VM issues warning failure to find kernel32.dll on Windows nanoserver
Backport-of: 3c97d2437d
2024-09-27 18:38:03 +00:00
George Adams
c66748cc03 8340815: Add SECURITY.md file
Backport-of: 0474f020bf
2024-09-27 14:24:57 +00:00
Saint Wesonga
5be5942de2 6942632: Hotspot should be able to use more than 64 logical processors on Windows
Backport-of: f15d423fb5
2024-09-26 20:06:42 +00:00
Goetz Lindenmaier
3b2b321939 8331391: Enhance the keytool code by invoking the buildTrustedCerts method for essential options
Backport-of: c9bee173d6
2024-09-26 11:31:53 +00:00
Goetz Lindenmaier
cb811690f9 8334405: java/nio/channels/Selector/SelectWithConsumer.java#id0 failed in testWakeupDuringSelect
Backport-of: 21e86d10a7
2024-09-26 11:28:40 +00:00
Andrew Lu
f181fc648d 8320665: update jdk_core at open/test/jdk/TEST.groups
Backport-of: da7cf258bb
2024-09-26 02:21:09 +00:00
Martin Doerr
4539e46e4a 8340230: Tests crash: assert(is_in_encoding_range || k->is_interface() || k->is_abstract()) failed: sanity
Backport-of: a6754f31cf
2024-09-25 09:30:09 +00:00
Matthias Baesken
7cdb3da6cf 8339731: java.desktop/share/classes/javax/swing/text/html/default.css typo in margin settings
Backport-of: ac3f92b411
2024-09-25 07:19:42 +00:00
Robbin Ehn
37f576d786 8339741: RISC-V: C ABI breakage for integer on stack
Backport-of: bfe7f9205b
2024-09-24 13:50:48 +00:00
Goetz Lindenmaier
5fa98abc01 8309218: java/util/concurrent/locks/Lock/OOMEInAQS.java still times out with ZGC, Generational ZGC, and SerialGC
Backport-of: b86c3b7a68
2024-09-24 08:11:59 +00:00
Goetz Lindenmaier
ead7e5f7ef 8339384: Unintentional IOException in jdk.jdi module when JDWP end of stream occurs
Backport-of: 2305d18e8d
2024-09-24 08:09:26 +00:00
Goetz Lindenmaier
41f7936e41 8335172: Add manual steps to run security/auth/callback/TextCallbackHandler/Password.java test
Backport-of: a5c2d7b305
2024-09-24 08:08:22 +00:00
Goetz Lindenmaier
b5c3d76de8 8336240: Test com/sun/crypto/provider/Cipher/DES/PerformanceTest.java fails with java.lang.ArithmeticException
Backport-of: 034297a6bd
2024-09-24 07:57:16 +00:00
Goetz Lindenmaier
b0fb742052 8335530: Java file extension missing in AuthenticatorTest
Backport-of: a537e87d2d
2024-09-24 07:51:39 +00:00
Goetz Lindenmaier
df2d31f734 8325399: Add tests for virtual threads doing Selector operations
Backport-of: 43089bf006
2024-09-24 07:39:29 +00:00
Goetz Lindenmaier
87aa1dd229 8326121: vmTestbase/gc/g1/unloading/tests/unloading_keepRef_rootClass_inMemoryCompilation_keep_cl failed with Full gc happened. Test was useless.
Backport-of: 2b4a4b7bd8
2024-09-23 09:24:14 +00:00
Amit Kumar
a5e7c3277d 8339416: [s390x] Provide implementation for resolve_global_jobject
Backport-of: ac58b6102a
2024-09-23 08:51:20 +00:00
Goetz Lindenmaier
76fde39db8 8332777: Update JCStress test suite
Backport-of: 11e926cf50
2024-09-23 06:44:05 +00:00
Goetz Lindenmaier
7d52b717c9 8326100: DeflaterDictionaryTests should use Deflater.getBytesWritten instead of Deflater.getTotalOut
Backport-of: 9451677daa
2024-09-23 06:38:01 +00:00
Goetz Lindenmaier
afb6047e00 8318105: [jmh] the test java.security.HSS failed with 2 active threads
Backport-of: 38c01971ff
2024-09-23 06:36:02 +00:00
Goetz Lindenmaier
1dd7b657a3 8324861: Exceptions::wrap_dynamic_exception() doesn't have ResourceMark
Backport-of: 7d1a48807a
2024-09-23 06:32:28 +00:00
Goetz Lindenmaier
ad78384790 8321616: Retire binary test vectors in test/jdk/java/util/zip/ZipFile
8322830: Add test case for ZipFile opening a ZIP with no entries

Backport-of: 26de9e247a
2024-09-23 06:20:32 +00:00
Andrew Lu
0a7aa3d2d4 8320586: update manual test/jdk/TEST.groups
Backport-of: 99b9cb0a2e
2024-09-23 02:08:06 +00:00
Todd V. Jonker
816706c06d 8322166: Files.isReadable/isWritable/isExecutable expensive when file does not exist
Backport-of: 51be857f3c
2024-09-20 15:33:57 +00:00
Matthias Baesken
b726436f2c 8339591: Mark jdk/jshell/ExceptionMessageTest.java intermittent
Backport-of: cb5c60b530
2024-09-20 06:47:06 +00:00
Goetz Lindenmaier
44b6aca9c6 8335267: [XWayland] move screencast tokens from .awt to .java folder
Backport-of: 088871ce36
2024-09-20 06:22:06 +00:00
Goetz Lindenmaier
65907ffdb1 8334562: Automate com/sun/security/auth/callback/TextCallbackHandler/Default.java test
8335344: test/jdk/sun/security/tools/keytool/NssTest.java fails to compile

Backport-of: b2162ba41b
2024-09-20 06:18:14 +00:00
Goetz Lindenmaier
91a2eba480 8330621: Make 5 compiler tests use ProcessTools.executeProcess
Backport-of: 5394f57f00
2024-09-20 06:16:11 +00:00
Goetz Lindenmaier
9ac04f17e3 8321474: TestAutoCreateSharedArchiveUpgrade.java should be updated with JDK 21
Backport-of: 1b621f5527
2024-09-20 06:14:03 +00:00
Goetz Lindenmaier
da4d2c58d3 8339644: Improve parsing of Day/Month in tzdata rules
Backport-of: 86a2f9c7dc
2024-09-19 12:03:15 +00:00
Andrew Lu
2c22d28383 8311301: MethodExitTest may fail with stack buffer overrun
Backport-of: 3d813ae39f
2024-09-19 07:18:50 +00:00
Andrew Lu
77331aef16 8338109: java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java duplicate in ProblemList
Backport-of: 2b5aec2aad
2024-09-19 07:18:11 +00:00
Matthias Baesken
466b87a873 8333098: ubsan: bytecodeInfo.cpp:318:59: runtime error: division by zero
Backport-of: f080b4bb8a
2024-09-18 07:05:34 +00:00
Goetz Lindenmaier
fe35711504 Merge 2024-09-18 06:14:41 +00:00
Dmitry Chuyko
a4626db71c 8320192: SHAKE256 does not work correctly if n >= 137
Reviewed-by: phh
Backport-of: fcb4df26f1
2024-09-17 21:50:10 +00:00
Goetz Lindenmaier
b99bff9e2e 8337622: IllegalArgumentException in java.lang.reflect.Field.get
Backport-of: 41e31d6b0a
2024-09-17 09:24:13 +00:00
Alexey Bakhtin
7a97e314b5 8337966: (fs) Files.readAttributes fails with Operation not permitted on older docker releases
Reviewed-by: sgehwolf, mbalao
2024-09-16 16:46:03 +00:00
Sonia Zaldana Calles
e11e0388c0 8028127: Regtest java/security/Security/SynchronizedAccess.java is incorrect
Backport-of: 330e520c1d
2024-09-16 14:59:33 +00:00
Andrew Lu
3140491fe2 8337320: Update ProblemList.txt with tests known to fail on XWayland
Reviewed-by: goetz
Backport-of: ddbd7a78f1
2024-09-16 08:22:05 +00:00
Andrew Lu
c19857a541 8296972: [macos13] java/awt/Frame/MaximizedToIconified/MaximizedToIconified.java: getExtendedState() != 6 as expected.
Backport-of: f0c2f09815
2024-09-16 08:21:37 +00:00
Goetz Lindenmaier
bbe7bbc0ff 8335449: runtime/cds/DeterministicDump.java fails with File content different at byte ...
Backport-of: 284671a1e4
2024-09-16 06:53:07 +00:00
Goetz Lindenmaier
3fc06a213c 8333108: Update vmTestbase/nsk/share/DebugeeProcess.java to don't use finalization
Backport-of: b3e29db144
2024-09-16 06:36:01 +00:00
Goetz Lindenmaier
36379913fe 8332724: x86 MacroAssembler may over-align code
Backport-of: 08d51003d1
2024-09-16 06:33:58 +00:00
Goetz Lindenmaier
2e3ef5feea 8332340: Add JavacBench as a test case for CDS
Backport-of: 7fd9d6c760
2024-09-16 06:32:05 +00:00
Goetz Lindenmaier
58cc0a24a3 8321550: Update several runtime/cds tests to use vm flags or mark as flagless
8329533: TestCDSVMCrash fails on libgraal
8329353: ResolvedReferencesNotNullTest.java failed with Incorrect resolved references array, quxString should not be archived

Reviewed-by: mbaesken
Backport-of: d1b51e39c9
2024-09-16 06:30:13 +00:00
Goetz Lindenmaier
fee1d969f6 8326898: NSK tests should listen on loopback addresses only
Backport-of: 2482a505e5
2024-09-16 06:28:21 +00:00
Goetz Lindenmaier
967a3cd4a5 8328303: 3 JDI tests timed out with UT enabled
Backport-of: bc73963974
2024-09-16 06:26:42 +00:00
Goetz Lindenmaier
c82c70d05f 8296787: Unify debug printing format of X.509 cert serial numbers
Backport-of: c328f9589d
2024-09-16 06:25:10 +00:00
Goetz Lindenmaier
5162660842 8328665: serviceability/jvmti/vthread/PopFrameTest failed with a timeout
Backport-of: 70c8ff1c9a
2024-09-13 17:28:44 +00:00
Goetz Lindenmaier
25185448ba 8329667: [macos] Issue with JTree related fix for JDK-8317771
Backport-of: 05f13e75ee
2024-09-13 17:28:42 +00:00
Sergey Bylokhov
29b65ab034 8312518: [macos13] setFullScreenWindow() shows black screen on macOS 13 & above
Backport-of: 999e556be4
2024-09-12 16:06:44 +00:00
Fei Yang
f280507693 8339548: GHA: RISC-V: Use Debian snapshot archive for bootstrap
Backport-of: 9e0ccb8bbd
2024-09-12 08:30:28 +00:00
Goetz Lindenmaier
34b4bd449e 8339869: [21u] Test CreationTime.java fails with UnsatisfiedLinkError after 8334339
Reviewed-by: sgehwolf
2024-09-11 12:00:10 +00:00
Goetz Lindenmaier
347ef64370 Merge 2024-09-11 08:18:06 +00:00
Boris Ulasevich
b869fc7af8 8331393: AArch64: u32 _partial_subtype_ctr loaded/stored as 64
Backport-of: f215899a08
2024-09-10 11:04:48 +00:00
Zdenek Zambersky
cf35ed592f 8338402: GHA: some of bundles may not get removed
Backport-of: d8e4d3f2d6
2024-09-10 11:02:26 +00:00
SendaoYan
ad5656f7fa 8338748: [17u,21u] Test Disconnect.java compile error: cannot find symbol after JDK-8299813
Reviewed-by: sgehwolf
2024-09-10 07:58:19 +00:00
Goetz Lindenmaier
40fe61ab25 8331864: Update Public Suffix List to 1cbd6e7
Backport-of: b91083341a
2024-09-10 05:47:48 +00:00
Andrew Lu
c66ea3d39d 8328723: IP Address error when client enables HTTPS endpoint check on server socket
Backport-of: 1b9270ac8a
2024-09-10 05:42:44 +00:00
Andrew Lu
fbdaf08cd9 8336413: gtk headers : Fix typedef redeclaration of GMainContext and GdkPixbuf
Backport-of: 69baa7d285
2024-09-10 05:42:12 +00:00
Andrew Lu
d71aa197c1 8326611: Clean up vmTestbase/nsk/stress/stack tests
Backport-of: 972e81d1ad
2024-09-10 05:41:53 +00:00
Severin Gehwolf
c4d39f3041 8338696: (fs) BasicFileAttributes.creationTime() falls back to epoch if birth time is unavailable (Linux)
Backport-of: c89a1c35bd
2024-09-09 08:04:09 +00:00
Goetz Lindenmaier
0b340d1d4a 8337664: Distrust TLS server certificates issued after Oct 2024 and anchored by Entrust Root CAs
Backport-of: 7d49c52272
2024-09-08 12:34:22 +00:00
Jiawei Tang
b0cd38bbff 8337331: crash: pinned virtual thread will lead to jvm crash when running with the javaagent option
Backport-of: 55c509708e
2024-09-06 17:59:57 +00:00
Boris Ulasevich
a7e928c9ac 8317575: AArch64: C2_MacroAssembler::fast_lock uses rscratch1 for cmpxchg result
Backport-of: 387504c9e4
2024-09-05 16:43:14 +00:00
Gui Cao
0738937b5b 8339248: RISC-V: Remove li64 macro assembler routine and related code
Reviewed-by: fyang
Backport-of: 392bdd5734
2024-09-05 08:07:45 +00:00
Matthias Baesken
3c6b63746b 8338101: remove old remap assertion in map_or_reserve_memory_aligned after JDK-8338058
Backport-of: 692f5cbdb9
2024-09-05 07:02:28 +00:00
Goetz Lindenmaier
427dba15fc Merge 2024-09-05 05:57:42 +00:00
Goetz Lindenmaier
459757e377 8338139: {ClassLoading,Memory}MXBean::isVerbose methods are inconsistent with their setVerbose methods
Reviewed-by: mdoerr
Backport-of: 9775d57168
2024-09-03 06:23:37 +00:00
Fei Yang
d78c446f1d 8337780: RISC-V: C2: Change C calling convention for sp to NS
Backport-of: 53db937dd0
2024-09-02 13:41:50 +00:00
Matthias Baesken
922360f213 8338058: map_or_reserve_memory_aligned Windows enhance remap assertion
Backport-of: 00aac4097a
2024-08-30 13:31:36 +00:00
Matthias Baesken
38e8bfeb65 8334567: [test] runtime/os/TestTracePageSizes move ppc handling
Backport-of: 6a5cb0b2c4
2024-08-30 12:09:22 +00:00
Daniel Hu
fb72870565 8319970: AArch64: enable tests compiler/intrinsics/Test(Long|Integer)UnsignedDivMod.java on aarch64
8319960: RISC-V: compiler/intrinsics/TestInteger/LongUnsignedDivMod.java failed with "counts: Graph contains wrong number of nodes"

Reviewed-by: phh
Backport-of: c80e691adf
2024-08-29 17:40:08 +00:00
SendaoYan
e93976109d 8336854: CAInterop.java#actalisauthenticationrootca conflicted with /manual and /timeout
Backport-of: 39884205fb
2024-08-29 14:24:15 +00:00
Matthias Baesken
eb80936a7f 8316895: SeenThread::print_action_queue called on a null pointer
Backport-of: fd52be2a3c
2024-08-28 08:06:16 +00:00
Matthias Baesken
b0da5c7bf7 8338110: Exclude Fingerprinter::do_type from ubsan checks
Backport-of: 6a39014795
2024-08-28 08:03:07 +00:00
Goetz Lindenmaier
669c2b4f07 8339080: Bump update version for OpenJDK: jdk-21.0.6
Reviewed-by: sgehwolf
2024-08-28 05:09:54 +00:00
Daniel Hu
33f4d80574 8280120: [IR Framework] Add attribute to @IR to enable/disable IR matching based on the architecture
Backport-of: a8549b6367
2024-08-27 16:46:42 +00:00
Aleksey Shipilev
db914b770b 8335409: Can't allocate and retain memory from resource area in frame::oops_interpreted_do oop closure after 8329665
Reviewed-by: phh, stuefe
Backport-of: 7ab96c74e2
2024-08-27 11:33:24 +00:00
Aleksey Shipilev
345b417455 8338286: GHA: Demote x86_32 to hotspot build only
Backport-of: da7311bbe3
2024-08-27 11:33:03 +00:00
Matthias Baesken
ec5976d531 8311306: Test com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java failed: out of expected range
Backport-of: e1fd663f22
2024-08-27 06:16:20 +00:00
SendaoYan
15664b1bbf 8322881: java/nio/file/Files/CopyMoveVariations.java fails with AccessDeniedException due to permissions of files in /tmp
Backport-of: bf13a4e281
2024-08-26 23:00:09 +00:00
SendaoYan
dccf4de431 8335150: Test LogGeneratedClassesTest.java fails on rpmbuild mock enviroment
Backport-of: 403fa3760f
2024-08-26 22:59:48 +00:00
KIRIYAMA Takuya
f2c5ecfce4 8336284: Test TestClhsdbJstackLock.java/TestJhsdbJstackLock.java fails with -Xcomp after JDK-8335743
Backport-of: 1fe3ada001
2024-08-26 22:58:20 +00:00
Daniel Hu
fe47075951 8309894: compiler/vectorapi/VectorLogicalOpIdentityTest.java fails on SVE system with UseSVE=0
Reviewed-by: phh
Backport-of: 60544f9088
2024-08-26 16:20:48 +00:00
Daniel Hu
4f286127b4 8316193: jdk/jfr/event/oldobject/TestListenerLeak.java java.lang.Exception: Could not find leak
Backport-of: f6be922952
2024-08-23 17:18:19 +00:00
KIRIYAMA Takuya
b8038eac4b 8335743: jhsdb jstack cannot print some information on the waiting thread
Backport-of: d6c6847e32
2024-08-23 15:35:34 +00:00
SendaoYan
e79f9b447c 8323196: jdk/jfr/api/consumer/filestream/TestOrdered.java failed with "Events are not ordered! Reuse = false"
Backport-of: fa7521b29e
2024-08-23 15:34:02 +00:00
Matthias Baesken
24f453c007 8333149: ubsan : memset on nullptr target detected in jvmtiEnvBase.cpp get_object_monitor_usage
Backport-of: 43a2f17342
2024-08-22 17:55:19 +00:00
Matthias Baesken
dc8365c947 8333088: ubsan: shenandoahAdaptiveHeuristics.cpp:245:44: runtime error: division by zero
Backport-of: 34eea6a5fa
2024-08-22 17:55:05 +00:00
Matthias Baesken
fa8ef0f4bd 8333354: ubsan: frame.inline.hpp:91:25: and src/hotspot/share/runtime/frame.inline.hpp:88:29: runtime error: member call on null pointer of type 'const struct SmallRegisterMap'
Backport-of: 8162832832
2024-08-22 17:49:47 +00:00
Aleksey Shipilev
d5b8ea8dac 8330981: ZGC: Should not dedup strings in the finalizer graph
Backport-of: 2f2dc2289b
2024-08-22 11:22:03 +00:00
Aleksey Shipilev
38eeb50c6d 8335007: Inline OopMapCache table
Backport-of: 50dd962b0d
2024-08-22 11:21:44 +00:00
Aleksey Shipilev
affb895c9c 8336926: jdk/internal/util/ReferencedKeyTest.java can fail with ConcurrentModificationException
Backport-of: bfb75b9626
2024-08-22 11:20:15 +00:00
Gui Cao
846962d7dc 8334078: RISC-V: TestIntVect.java fails after JDK-8332153 when running without RVV
Reviewed-by: fyang
Backport-of: ef7923e127
2024-08-22 08:14:08 +00:00
Andrew Lu
cd5ac19b49 8299813: java/nio/channels/DatagramChannel/Disconnect.java fails with jtreg test timeout due to lost datagram
Backport-of: 49eb00da8d
2024-08-21 08:57:52 +00:00
Andrew Lu
4c86bf5723 8309067: gtest/AsyncLogGtest.java fails again in stderrOutput_vm
Reviewed-by: phh
Backport-of: d1af748ab4
2024-08-21 08:55:46 +00:00
Aleksey Shipilev
ed77abd487 8331572: Allow using OopMapCache outside of STW GC phases
8334594: Generational ZGC: Deadlock after OopMap rewrites in 8331572

Reviewed-by: phh
Backport-of: d999b81e71
2024-08-20 12:52:40 +00:00
Varada M
fee209491b 8330520: linux clang build fails in os_linux.cpp with static_assert with no message is a C++17 extension
Reviewed-by: mdoerr
Backport-of: 4b55fe5777
2024-08-20 11:52:43 +00:00
Amos Shi
4e84d4dc51 8310683: Refactor StandardCharset/standard.java to use JUnit
Reviewed-by: mdoerr
Backport-of: d82ade3545
2024-08-16 17:16:27 +00:00
Amos Shi
9b331b0c10 8317738: CodeCacheFullCountTest failed with "VirtualMachineError: Out of space in CodeCache for method handle intrinsic"
Backport-of: 0fd807118c
2024-08-16 17:12:44 +00:00
Amos Shi
e7e92e0ba7 8325022: Incorrect error message on client authentication
Backport-of: fe78c0f191
2024-08-16 17:12:23 +00:00
SendaoYan
d85b7c1e6d 8331153: JFR: Improve logging of jdk/jfr/api/consumer/filestream/TestOrdered.java
Backport-of: f3bb3e2170
2024-08-16 08:24:55 +00:00
Ben Taylor
a3cd6d6b91 8321206: Make Locale related system properties StaticProperty
Backport-of: 0c178beb69
2024-08-15 17:23:04 +00:00
Daniel Hu
79349b8bb3 8303920: Avoid calling out to python in DataDescriptorSignatureMissing test
Reviewed-by: shade
Backport-of: 07eaea8c25
2024-08-14 16:10:39 +00:00
Todd V. Jonker
edd6437324 8319817: Charset constructor should make defensive copy of aliases
Backport-of: d6d7bdc774
2024-08-14 13:01:48 +00:00
Todd V. Jonker
590715f4f6 8073061: (fs) Files.copy(foo, bar, REPLACE_EXISTING) deletes bar even if foo is not readable
8317128: java/nio/file/Files/CopyAndMove.java failed with AccessDeniedException

Reviewed-by: phh
Backport-of: 36ac83904c
2024-08-14 13:01:20 +00:00
Matthias Baesken
108c2e4986 8334166: Enable binary check
8332008: Enable issuestitle check

Reviewed-by: sgehwolf, shade
Backport-of: a4582a8957
2024-08-14 07:04:31 +00:00
Sergey Bylokhov
5acb02287b 6355567: AdobeMarkerSegment causes failure to read valid JPEG
Backport-of: c7c6d47a07
2024-08-14 06:16:44 +00:00
Andrew Lu
6196ed1d06 8332113: Update nsk.share.Log to be always verbose
Backport-of: 8464ce6db5
2024-08-14 01:56:53 +00:00
Andrew Lu
785ae1f0d4 8315965: Open source various AWT applet tests
Backport-of: 3b397c8552
2024-08-14 01:54:59 +00:00
Daniel Hu
7e7b0f38b6 8312049: runtime/logging/ClassLoadUnloadTest can be improved
Reviewed-by: phh
Backport-of: 4676b40f17
2024-08-14 00:09:54 +00:00
Todd V. Jonker
8150179c65 8242564: javadoc crashes:: class cast exception com.sun.tools.javac.code.Symtab$6
Backport-of: 64c3642c57
2024-08-13 22:45:37 +00:00
Aleksey Shipilev
d4a6e72a22 8324641: [IR Framework] Add Setup method to provide custom arguments and set fields
Reviewed-by: phh
Backport-of: 8d9ad97c29
2024-08-13 18:05:04 +00:00
Aleksey Shipilev
75c82f63d0 8336343: Add more known sysroot library locations for ALSA
Backport-of: 9e6e0a8f34
2024-08-13 15:58:38 +00:00
Zdenek Zambersky
123614b860 8336928: GHA: Bundle artifacts removal broken
Backport-of: 98562166e4
2024-08-13 15:58:14 +00:00
Aleksey Shipilev
9ac591a3f4 8336342: Fix known X11 library locations in sysroot
Backport-of: ee365d75cc
2024-08-13 15:57:54 +00:00
Aleksey Shipilev
bafcddd90d 8337283: configure.log is truncated when build dir is on different filesystem
Backport-of: 7e925d727f
2024-08-13 15:55:40 +00:00
Aleksey Shipilev
eb103b0e1a 8327501: Common ForkJoinPool prevents class unloading in some cases
8328366: Thread.setContextClassloader from thread in FJP commonPool task no longer works after JDK-8327501

Backport-of: 53c4714aab
2024-08-12 10:05:17 +00:00
Jiawei Tang
27b1e1a6c9 8330146: assert(!_thread->is_in_any_VTMS_transition()) failed
Backport-of: c4ff58b9bc
2024-08-12 08:19:23 +00:00
Andrew Lu
27abeb82cc 8328642: Convert applet test MouseDraggedOutCauseScrollingTest.html to main
Backport-of: ab183e437c
2024-08-12 02:20:28 +00:00
Matthias Baesken
e4d27d0efc 8334618: ubsan: support setting additional ubsan check options
Backport-of: efb905e57a
2024-08-09 13:58:05 +00:00
Matthias Baesken
953846d940 8333639: ubsan: cppVtables.cpp:81:55: runtime error: index 14 out of bounds for type 'long int [1]'
Backport-of: 0199fee431
2024-08-09 13:56:19 +00:00
Andrew John Hughes
fd4ce63ce5 8322971: KEM.getInstance() should check if a 3rd-party security provider is signed
Backport-of: 9fd855ed47
2024-08-08 17:25:53 +00:00
Matthias Baesken
d5782215b5 8335237: ubsan: vtableStubs.hpp is_vtable_stub exclude from ubsan checks
Backport-of: 486aa11e74
2024-08-08 07:08:05 +00:00
Matthias Baesken
dac39de0ff 8333622: ubsan: relocInfo_x86.cpp:101:56: runtime error: pointer index expression with base (-1) overflowed
Backport-of: 33fd6ae986
2024-08-06 07:09:29 +00:00
Dan Lutker
498916555c 8321509: False positive in get_trampoline fast path causes crash
Backport-of: 73e3e0edeb
2024-08-02 17:05:33 +00:00
Matthias Baesken
b79e18521a 8331731: ubsan: relocInfo.cpp:155:30: runtime error: applying non-zero offset to null pointer
Reviewed-by: rschmelter
Backport-of: 664c993c41
2024-08-02 11:52:15 +00:00
Liang Mao
ee21571d46 8335493: check_gc_overhead_limit should reset SoftRefPolicy::_should_clear_all_soft_refs
Backport-of: cff9e246cc
2024-08-02 11:17:07 +00:00
Matthias Baesken
30294f4dc6 8331854: ubsan: copy.hpp:218:10: runtime error: addition of unsigned offset to 0x7fc2b4024518 overflowed to 0x7fc2b4024510
Backport-of: 2c1b311f81
2024-08-02 10:44:35 +00:00
Andrew Lu
3511d722ca 8336301: test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java leaves around a FIFO file upon test completion
Backport-of: ae9f318fc3
2024-08-02 09:26:59 +00:00
Andrew Lu
81d1c97f8a 8324808: Manual printer tests have no Pass/Fail buttons, instructions close set 3
Backport-of: af7c6af0cc
2024-08-02 09:25:01 +00:00
Andrew Lu
ce67ab0a9f 8317112: Add screenshot for Frame/DefaultSizeTest.java
Backport-of: a36eaf03af
2024-08-02 09:24:40 +00:00
Matthias Baesken
7c2666d9e5 8335967: "text-decoration: none" does not work with "A" HTML tags
Backport-of: 374fca0fcb
2024-08-02 09:10:08 +00:00
luwang1103
9cb36b2f67 8324580: SIGFPE on THP initialization on kernels < 4.10
Reviewed-by: stuefe
Backport-of: a231706a06
2024-08-02 07:56:06 +00:00
Matthias Baesken
0fdb206658 8332699: ubsan: jfrEventSetting.inline.hpp:31:43: runtime error: index 163 out of bounds for type 'jfrNativeEventSetting [162]'
Backport-of: abbf45b57e
2024-08-02 07:42:47 +00:00
Matthias Baesken
6bc382ff3e 8333178: ubsan: jvmti_tools.cpp:149:16: runtime error: null pointer passed as argument 2, which is declared to never be null
Backport-of: 880c6b42ba
2024-08-02 07:41:06 +00:00
Aleksey Shipilev
c2daaa63ab 8334482: Shenandoah: Deadlock when safepoint is pending during nmethods iteration
Backport-of: 2aeb12ec03
2024-08-01 08:46:10 +00:00
Matthias Baesken
a757e62a11 8333277: ubsan: mlib_ImageScanPoly.c:292:43: runtime error: division by zero
Backport-of: 57b6481449
2024-08-01 08:27:03 +00:00
Matthias Baesken
c3b424e412 8333363: ubsan: instanceKlass.cpp: runtime error: member call on null pointer of type 'struct AnnotationArray'
Backport-of: 46b817b749
2024-08-01 07:23:27 +00:00
Andrew Lu
72395842fc 8291809: Convert compiler/c2/cr7200264/TestSSE2IntVect.java to IR verification test
Backport-of: 4da28b40f0
2024-08-01 02:18:34 +00:00
Andrew Lu
43cb91335b 8325037: x86: enable and fix hotspot/jtreg/compiler/vectorization/TestRoundVectFloat.java
Backport-of: ed068469f3
2024-08-01 02:18:07 +00:00
Andrew Lu
e478a23583 8335134: Test com/sun/jdi/BreakpointOnClassPrepare.java timeout
Backport-of: 4e8cbf884a
2024-08-01 02:17:46 +00:00
Xiaolong Peng
462065ba8b 8335904: Fix invalid comment in ShenandoahLock
Backport-of: bb1f8a1698
2024-07-31 23:44:43 +00:00
Varada M
c9d868113e 8308286: Fix clang warnings in linux code
Backport-of: 98a954eebc
2024-07-31 14:56:28 +00:00
Varada M
30801fbed5 8317696: Fix compilation with clang-16
Backport-of: e4329a823b
2024-07-31 14:56:04 +00:00
SendaoYan
2c9f741d9c 8337038: Test java/nio/file/attribute/BasicFileAttributeView/CreationTime.java shoud set as /native
Reviewed-by: mbaesken
2024-07-30 15:44:21 +00:00
luwang1103
812a639769 8335283: Build failure due to 'no_sanitize' attribute directive ignored
Reviewed-by: shade
Backport-of: 53242cdf9e
2024-07-30 08:28:34 +00:00
Matthias Baesken
4a267bd405 8332903: ubsan: opto/output.cpp:1002:18: runtime error: load of value 171, which is not a valid value for type 'bool'
Backport-of: 113a2c028d
2024-07-30 07:43:54 +00:00
SendaoYan
078524e58a 8269657: Test java/nio/channels/DatagramChannel/Loopback.java failed: Unexpected message
Backport-of: c798316bc4
2024-07-29 15:41:12 +00:00
Matthias Baesken
cc85abc212 8326332: Unclosed inline tags cause misalignment in summary tables
Reviewed-by: rschmelter
Backport-of: a6dc4bc2b8
2024-07-26 07:00:23 +00:00
Matthias Baesken
bba56e0727 8333361: ubsan,test : libHeapMonitorTest.cpp:518:9: runtime error: null pointer passed as argument 2, which is declared to never be null
Backport-of: ed149062d0
2024-07-25 11:29:01 +00:00
Aleksey Shipilev
4cab9a4b14 8334769: Shenandoah: Move CodeCache_lock close to its use in ShenandoahConcurrentNMethodIterator
Backport-of: 4ebb77120a
2024-07-25 09:46:17 +00:00
john spurling
570a6bd7df 8310628: GcInfoBuilder.c missing JNI Exception checks
Backport-of: a9c0a0f6b9
2024-07-24 16:19:11 +00:00
Matthias Baesken
e2254ebd79 8316131: runtime/cds/appcds/TestParallelGCWithCDS.java fails with JNI error
Reviewed-by: lucy
Backport-of: 31f70391e5
2024-07-24 11:45:28 +00:00
SendaoYan
928219d3a1 8334339: Test java/nio/file/attribute/BasicFileAttributeView/CreationTime.java fails on alinux3
Reviewed-by: phh
Backport-of: 7baddc202a
2024-07-24 08:21:35 +00:00
Aleksey Shipilev
555c0c12bd 8325542: CTW: Runner can produce negative StressSeed
Backport-of: bb675afae6
2024-07-23 08:48:17 +00:00
luwang1103
eef95a6a09 8334239: Introduce macro for ubsan method/function exclusions
Backport-of: ff30240926
2024-07-23 08:46:04 +00:00
Xiaolong Peng
2c981bc9f3 8331411: Shenandoah: Reconsider spinning duration in ShenandoahLock
Reviewed-by: shade
Backport-of: 817edcb697
2024-07-22 16:57:17 +00:00
Liang Mao
aad6ba363d 8332717: ZGC: Division by zero in heuristics
Backport-of: 2d4185f4f1
2024-07-22 12:55:55 +00:00
Thomas Stuefe
527ade8e30 8314163: os::print_hex_dump prints incorrectly for big endian platforms and unit sizes larger than 1
Backport-of: 6a15860b12
2024-07-19 10:14:00 +00:00
Thomas Stuefe
0506f4c59b 8299790: os::print_hex_dump is racy
Backport-of: 8f28809aa8
2024-07-19 05:50:32 +00:00
Xiaolong Peng
d0a1fbdfbb 8331405: Shenandoah: Optimize ShenandoahLock with TTAS
Reviewed-by: shade
Backport-of: c4fe5bf90c
2024-07-18 16:02:34 +00:00
Neethu Prasad
e459fe0fee 8312200: Fix Parse::catch_call_exceptions memory leak
Backport-of: d33e8e6f93
2024-07-18 15:15:29 +00:00
Matthias Baesken
a98bd6035c 8315422: getSoTimeout() would be in try block in SSLSocketImpl
Backport-of: 2264667bba
2024-07-18 12:10:16 +00:00
Matthias Baesken
69aab6aee1 8333542: Breakpoint in parallel code does not work
Reviewed-by: lucy
Backport-of: b3bf31a0a0
2024-07-18 07:51:13 +00:00
luwang1103
9176fa26f6 8332818: ubsan: archiveHeapLoader.cpp:70:27: runtime error: applying non-zero offset 18446744073707454464 to null pointer
Backport-of: 6861766b63
2024-07-18 07:51:00 +00:00
Matthias Baesken
021e8817ee 8334418: Update IANA Language Subtag Registry to Version 2024-06-14
Backport-of: 861aefcafa
2024-07-18 07:43:12 +00:00
Matthias Baesken
7e5d30ff7f 8334123: log the opening of Type 1 fonts
Backport-of: f8c657f671
2024-07-18 07:37:51 +00:00
luwang1103
9a02aa68a1 8333887: ubsan: unsafe.cpp:247:13: runtime error: store to null pointer of type 'volatile int'
Backport-of: 0d3a3771c3
2024-07-18 07:12:31 +00:00
Matthias Baesken
be519cd23d 8327424: ProblemList serviceability/sa/TestJmapCore.java on all platforms with ZGC
Backport-of: 0a6e64e2f5
2024-07-18 07:07:52 +00:00
Andrew Lu
4e95699a76 8328273: sun/management/jmxremote/bootstrap/RmiRegistrySslTest.java failed with java.rmi.server.ExportException: Port already in use
Backport-of: a85c8493ae
2024-07-18 01:59:20 +00:00
Christoph Langer
ed1106b11e Merge 2024-07-16 21:56:52 +00:00
SendaoYan
b93ae1af55 8322766: Micro bench SSLHandshake should use default algorithms
Backport-of: 06dd735342
2024-07-16 08:59:04 +00:00
Matthias Baesken
8501f6ceb1 8332424: Update IANA Language Subtag Registry to Version 2024-05-16
Backport-of: 6dac8d6452
2024-07-16 06:51:15 +00:00
Neethu Prasad
cdbd94f8fa 8315505: CompileTask timestamp printed can overflow
Backport-of: ad7a8e86e0
2024-07-15 16:57:29 +00:00
Matthias Baesken
f704b62226 8326129: Java Record Pattern Match leads to infinite loop
Backport-of: 93a2e773a5
2024-07-15 11:39:39 +00:00
Matthias Baesken
eba245a46e 8299058: AssertionError in sun.net.httpserver.ServerImpl when connection is idle
Backport-of: 47624f6fc6
2024-07-12 05:36:51 +00:00
Andrew John Hughes
c8db6fe953 8335775: Remove extraneous 's' in comment of rawmonitor.cpp test file
Backport-of: ff49f677ee
2024-07-11 01:27:57 +00:00
Liming Liu
cb40bc225c 8315923: pretouch_memory by atomic-add-0 fragments huge pages unexpectedly
8324781: runtime/Thread/TestAlwaysPreTouchStacks.java failed with Expected a higher ratio between stack committed and reserved
8325218: gc/parallel/TestAlwaysPreTouchBehavior.java fails

Reviewed-by: shade
Backport-of: a65a89522d
2024-07-10 12:00:23 +00:00
Andrew Lu
bbcce3f54b 8331518: Tests should not use the "Classpath" exception form of the legal header
Reviewed-by: mbaesken
Backport-of: d3bf52628e
2024-07-10 08:08:43 +00:00
Andrew Lu
5f78dddb00 8328158: Convert java/awt/Choice/NonFocusablePopupMenuTest to automatic main test
8328269: NonFocusablePopupMenuTest.java should be marked as headful

Reviewed-by: mbaesken
Backport-of: b8dfeafdfd
2024-07-10 08:06:56 +00:00
Matthias Baesken
dc3d552d6f 8317446: ProblemList gc/arguments/TestNewSizeFlags.java on macosx-aarch64 in Xcomp
8317449: ProblemList serviceability/jvmti/stress/StackTrace/NotSuspended/GetStackTraceNotSuspendedStressTest.java on several platforms
8334592: ProblemList serviceability/jvmti/stress/StackTrace/NotSuspended/GetStackTraceNotSuspendedStressTest.java in jdk21 on all platforms

Reviewed-by: lucy
Backport-of: 8ff10a0d35
2024-07-09 10:43:29 +00:00
Qizheng Xing
8a0dd93689 8335536: Fix assertion failure in IdealGraphPrinter when append is true
Backport-of: 6db4c6a772
2024-07-09 09:56:07 +00:00
Christoph Langer
d6e8788ca8 8335960: [21u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 21.0.4
Reviewed-by: mbaesken
2024-07-09 10:07:16 +02:00
Andrew Lu
9677a853fc 8329559: Test javax/swing/JFrame/bug4419914.java failed because The End and Start buttons are not placed correctly and Tab focus does not move as expected
Backport-of: 7c1fad4fb6
2024-07-09 02:10:51 +00:00
Christoph Langer
9c9a812a05 8211854: [aix] java/net/ServerSocket/AcceptInheritHandle.java fails: read times out
Backport-of: cb3c45a698
2024-07-08 10:30:03 +00:00
Andrew Lu
6ff7e2ae37 8334297: (so) java/nio/channels/SocketChannel/OpenLeak.java should not depend on SecurityManager
Backport-of: 50bed6c67b
2024-07-08 02:07:23 +00:00
Andrew Lu
2c2cd9b5d5 8327401: Some jtreg tests fail on Wayland without any tracking bug
8312111: open/test/jdk/java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java fails on ubuntu 23.04

Backport-of: 286cc163fd
2024-07-08 02:06:14 +00:00
Matthias Baesken
3e638bf908 8316361: C2: assert(!failure) failed: Missed optimization opportunity in PhaseIterGVN with -XX:VerifyIterativeGVN=10
Backport-of: eeb63cd0fa
2024-07-05 14:22:50 +00:00
Andrew Lu
b48b8e1456 8333804: java/net/httpclient/ForbiddenHeadTest.java threw an exception with 0 failures
Backport-of: ec1664e8c9
2024-07-05 08:36:05 +00:00
Andrew Lu
10640762d4 8331798: Remove unused arg of checkErgonomics() in TestMaxHeapSizeTools.java
Backport-of: c6f611cfe0
2024-07-05 08:35:47 +00:00
Matthias Baesken
79912989fe 8334653: ISO 4217 Amendment 177 Update
Backport-of: 86b0cf259f
2024-07-05 06:43:30 +00:00
Martin Balao
dafbd18099 8320548: Improved loop handling
Backport-of: 72eed2f709caa48c82f58fe75c7e94d2c45947e1
2024-07-05 08:14:14 +02:00
SendaoYan
70272743fe 8333353: Delete extra empty line in CodeBlob.java
Backport-of: 91101f0d4f
2024-07-04 16:37:33 +00:00
SendaoYan
c8fe1a172a 8334600: TEST java/net/MulticastSocket/IPMulticastIF.java fails on linux-aarch64
Backport-of: f23295ec1d
2024-07-04 16:31:31 +00:00
Matthias Baesken
4f82229940 6967482: TAB-key does not work in JTables after selecting details-view in JFileChooser
8166352: FilePane.createDetailsView() removes JTable TAB, SHIFT-TAB functionality

Backport-of: 711e723819
2024-07-04 08:55:21 +00:00
Matthias Baesken
cba69c8d1d 8332524: Instead of printing "TLSv1.3," it is showing "TLS13"
Backport-of: e681b4e9b3
2024-07-04 07:56:12 +00:00
Andrew Lu
34175fc884 8333270: HandlersOnComplexResetUpdate and HandlersOnComplexUpdate tests fail with "Unexpected reference" if timeoutFactor is less than 1/3
Backport-of: d02cb742f7
2024-07-04 03:09:42 +00:00
Andrew Lu
306aeab10e 8280988: [XWayland] Click on title to request focus test failures
Backport-of: f6cdcc6f65
2024-07-04 02:31:45 +00:00
Andrew Lu
b6be31a586 8320675: PrinterJob/SecurityDialogTest.java hangs
Backport-of: 9f5ad43358
2024-07-04 02:12:54 +00:00
Andrew Lu
efcac3aee1 8328238: Convert few closed manual applet tests to main
Backport-of: 68170ae222
2024-07-04 02:12:33 +00:00
Andrew Lu
ded1a3379c 8331605: jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java test failure
Backport-of: 01125fa21b
2024-07-02 01:59:32 +00:00
Gui Cao
c22cb4ac3c 8333652: RISC-V: compiler/vectorapi/VectorGatherMaskFoldingTest.java fails when using RVV
Backport-of: ce5727df44
2024-07-01 08:54:34 +00:00
Matthias Baesken
3b9abf9ec1 8330063: Upgrade jQuery to 3.7.1
Reviewed-by: mdoerr
Backport-of: 46a2ce4eb4
2024-07-01 08:17:55 +00:00
Andrew Lu
f5e7166e84 8316285: Opensource JButton manual tests
Backport-of: 9f5d2b947f
2024-07-01 02:01:48 +00:00
Andrew Lu
813ca6da87 8260633: [macos] java/awt/dnd/MouseEventAfterStartDragTest/MouseEventAfterStartDragTest.html test failed
Backport-of: 6f7ddbec7d
2024-07-01 02:01:30 +00:00
Andrew Lu
eff4452b5e 8280990: [XWayland] XTest emulated mouse click does not bring window to front
Backport-of: d2d78ad18e
2024-07-01 02:01:16 +00:00
Sergey Bylokhov
bcdb8388f6 8327007: javax/swing/JSpinner/8008657/bug8008657.java fails
Backport-of: b7540df6a4
2024-06-28 17:10:42 +00:00
Aleksey Shipilev
15462799da 8334421: assert(!oldbox->is_unbalanced()) failed: this should not be called for unbalanced region
Backport-of: 9c89f0861c
2024-06-28 10:00:16 +00:00
Aleksey Shipilev
6c65326b18 8319818: Address GCC 13.2.0 warnings (stringop-overflow and dangling-pointer)
8320212: Disable GCC stringop-overflow warning for affected files
8326717: Disable stringop-overflow in shenandoahLock.cpp

Reviewed-by: mdoerr
Backport-of: c0507af5a4
2024-06-28 09:59:48 +00:00
lingjun.cg
7ff9ec608d 8333462: Performance regression of new DecimalFormat() when compare to jdk11
Backport-of: d826127970
2024-06-28 09:37:46 +00:00
Christoph Langer
b15ec4a9b3 8211847: [aix] java/lang/ProcessHandle/InfoTest.java fails: "reported cputime less than expected"
Backport-of: f5213671f7
2024-06-28 06:52:34 +00:00
Xiaolong Peng
6b4fa86549 8170817: G1: Returning MinTLABSize from unsafe_max_tlab_alloc causes TLAB flapping
Backport-of: 4c79e7d59c
2024-06-28 01:48:41 +00:00
Xiaolong Peng
e456f8bdb8 8319406: x86: Shorter movptr(reg, imm) for 32-bit immediates
Backport-of: b120a05b22
2024-06-27 10:02:52 +00:00
Thomas Stuefe
75287b5603 8330027: Identity hashes of archived objects must be based on a reproducible random seed
Reviewed-by: mdoerr
Backport-of: 9f43ce5a72
2024-06-27 05:50:29 +00:00
Martin Balao
e69045fe08 8327413: Enhance compilation efficiency
Backport-of: eb1f33f525846e6020185cbc5d6e48cbc760dbb2
2024-06-26 20:26:11 +02:00
Yuri Nesterenko
23b87539d8 8324559: Improve 2D image handling
Reviewed-by: mbalao
Backport-of: 1a5a44019871c411148ca85d0491cc68d2256e4e
2024-06-26 20:26:11 +02:00
Aleksei Voitylov
32a9294393 8323390: Enhance mask blit functionality
Reviewed-by: mbalao
Backport-of: 895893f2fbf1c521d4a263d505f0ecbda8d2eeea
2024-06-26 20:26:11 +02:00
Martin Balao
9e0a9cea81 8323231: Improve array management
Reviewed-by: mbaesken
Backport-of: cf20364d0cb3f182880ee91c7fb023615e27becf
2024-06-26 20:26:11 +02:00
Yuri Nesterenko
28773f3706 8320097: Improve Image transformations
Reviewed-by: mbalao
Backport-of: 1401634b21b76db90291011bcae68c461742e687
2024-06-26 20:26:11 +02:00
Aleksei Voitylov
6a682ce8b2 8325600: Better symbol storage
Reviewed-by: mbalao
Backport-of: da06689bf6fde7b6dd8efc2f0c39fc95adcdb69d
2024-06-26 20:26:11 +02:00
Aleksei Voitylov
9862eb38f3 8319859: Better symbol storage
Reviewed-by: yan, mbalao
Backport-of: f7857e9106841f402ade56bad0338fc53159fb9a
2024-06-26 20:26:10 +02:00
Alexei Voitylov
2586c32d2f 8314794: Improve UTF8 String supports
Reviewed-by: mbalao, evergizova
Backport-of: ab2532d858de8d855529b6f2491f94c499f94009
2024-06-26 20:26:10 +02:00
Christoph Langer
cbd67f906e Merge 2024-06-26 18:14:26 +00:00
Xiaolong Peng
3ce370a220 8323584: AArch64: Unnecessary ResourceMark in NativeCall::set_destination_mt_safe
Backport-of: 34f85ee94e
2024-06-26 15:36:36 +00:00
Liang Mao
ad5e16f6b3 8325587: Shenandoah: ShenandoahLock should allow blocking in VM
Backport-of: 492e8bf563
2024-06-26 11:28:57 +00:00
Martin Doerr
03a7176341 8333099: Missing check for is_LoadVector in StoreNode::Identity
Backport-of: 2ea365c945
2024-06-26 11:00:45 +00:00
Martin Doerr
f9f11d7d25 8334867: Add back assertion from JDK-8325494
Reviewed-by: shade, chagedorn
2024-06-26 11:00:25 +00:00
Martin Doerr
65cf18ae68 8328896: Fontmetrics for large Fonts has zero width
Backport-of: 25871af36b
2024-06-26 10:42:42 +00:00
Martin Doerr
e257ae5ecd 8051959: Add thread and timestamp options to java.security.debug system property
Reviewed-by: mbaesken
Backport-of: 3b582dff84
2024-06-26 10:42:26 +00:00
Martin Doerr
4dceb877c9 8321176: [Screencast] make a second attempt on screencast failure
Backport-of: 92fd490f22
2024-06-26 10:41:55 +00:00
Amos Shi
8c00900443 8315969: compiler/rangechecks/TestRangeCheckHoistingScaledIV.java: make flagless
Reviewed-by: mdoerr
Backport-of: 9598ff8386
2024-06-25 16:01:09 +00:00
Amos Shi
d7db5c54d3 8320608: Many jtreg printing tests are missing the @printer keyword
Backport-of: 76fea80707
2024-06-25 15:59:19 +00:00
Jaroslav Bachorik
9a4da2460e 8329103: assert(!thread->in_asgct()) failed during multi-mode profiling
Reviewed-by: jbechberger
Backport-of: 6b1b0e9d45
2024-06-25 15:53:11 +00:00
Elif Aslan
153accc74f 8330849: Add test to verify memory usage with recursive locking
Backport-of: 7b2560b490
2024-06-25 13:43:24 +00:00
SendaoYan
99b50b31e8 8332248: (fc) java/nio/channels/FileChannel/BlockDeviceSize.java failed with RuntimeException
Backport-of: 0bb5ae6451
2024-06-25 08:19:40 +00:00
Andrew Lu
8c6ad58929 8317372: Refactor some NumberFormat tests to use JUnit
Reviewed-by: mdoerr
Backport-of: 9622de2aa8
2024-06-25 05:44:31 +00:00
Andrew Lu
98cfde431a 8222884: ConcurrentClassDescLookup.java times out intermittently
Backport-of: bd046d9b9e
2024-06-25 05:44:06 +00:00
Andrew Lu
2c3a40bfb7 8328647: TestGarbageCollectorMXBean.java fails with C1-only and -Xcomp
Backport-of: bdd9438b45
2024-06-25 05:43:44 +00:00
Andrew Lu
c0050cab54 8322062: com/sun/jdi/JdwpAllowTest.java does not performs negative testing with prefix length
Backport-of: 459957f30a
2024-06-25 05:43:24 +00:00
Andrew Lu
4be1a0251c 8328697: SubMenuShowTest and SwallowKeyEvents tests stabilization
Backport-of: 638708cad8
2024-06-25 05:41:45 +00:00
SendaoYan
a0b3c6cd86 8334441: Mark tests in jdk_security_infra group as manual
Reviewed-by: mdoerr
Backport-of: 8e1d2b091c
2024-06-25 03:55:51 +00:00
Aleksey Shipilev
17e271d1c8 8310906: Fix -Wconversion warnings in runtime, oops and some code header files.
Backport-of: 9f46fc2842
2024-06-24 10:35:47 +00:00
Martin Doerr
487b29d795 8325520: Vector loads and stores with indices and masks incorrectly compiled
Backport-of: 0c934ff4e2
2024-06-24 09:36:54 +00:00
Martin Doerr
5c3dbbfc23 8325494: C2: Broken graph after not skipping CastII node anymore for Assertion Predicates after JDK-8309902
Reviewed-by: mbaesken, shade
Backport-of: 9fd78022b1
2024-06-24 09:15:13 +00:00
Martin Doerr
7328df4dfb 8332920: C2: Partial Peeling is wrongly applied for CmpU with negative limit
Reviewed-by: chagedorn
Backport-of: ef101f1bf2
2024-06-24 09:00:07 +00:00
Martin Doerr
ca2397435e 8320655: awt screencast robot spin and sync issues with native libpipewire api
Backport-of: c17b8cfafe
2024-06-24 08:59:50 +00:00
Martin Doerr
e99ad49a28 8331011: [XWayland] TokenStorage fails under Security Manager
Backport-of: 9912abf586
2024-06-24 08:59:36 +00:00
SendaoYan
46fcb7e89c 8334333: MissingResourceCauseTestRun.java fails if run by root
Backport-of: de8ee97718
2024-06-24 08:47:02 +00:00
Aleksey Shipilev
11628ef19c 8319197: Exclude hb-subset and hb-style from compilation
Backport-of: e1cae72036
2024-06-24 08:45:41 +00:00
Andrew Lu
3222647de8 8307778: com/sun/jdi/cds tests fail with jtreg's Virtual test thread factory
Backport-of: fe8a2aff31
2024-06-24 08:30:47 +00:00
Andrew Lu
b0607ee608 8299487: Test java/net/httpclient/whitebox/SSLTubeTestDriver.java timed out
Backport-of: 81083a0e10
2024-06-24 08:30:31 +00:00
Andrew Lu
717e389389 8316306: Open source and convert manual Swing test
Backport-of: d3e8218386
2024-06-24 08:30:09 +00:00
Neethu Prasad
241b054a59 8325754: Dead AbstractQueuedSynchronizer$ConditionNodes survive minor garbage collections
Backport-of: 60cbf29250
2024-06-24 08:27:59 +00:00
Neethu Prasad
57824eda9a 8321220: JFR: RecordedClass reports incorrect modifiers
Backport-of: d5f59cf0a8
2024-06-24 08:23:58 +00:00
Neethu Prasad
1c19bbd8ae 8317360: Missing null checks in JfrCheckpointManager and JfrStringPool initialization routines
Backport-of: cf4ede0e54
2024-06-24 08:23:37 +00:00
Andrew Lu
432144b8f5 8316211: Open source several manual applet tests
Backport-of: 2f311d59dc
2024-06-24 02:14:59 +00:00
Andrew Lu
a045d78e05 8283223: gc/stringdedup/TestStringDeduplicationFullGC.java#Parallel failed with "RuntimeException: String verification failed"
Backport-of: 9d441e3e56
2024-06-24 02:14:35 +00:00
Amos Shi
c77926c537 7022325: TEST_BUG: test/java/util/zip/ZipFile/ReadLongZipFileName.java leaks files if it fails
Backport-of: 4785461f61
2024-06-23 23:52:46 +00:00
Amos Shi
62c30e6d08 8333398: Uncomment the commented test in test/jdk/java/util/jar/JarFile/mrjar/MultiReleaseJarAPI.java
Backport-of: d230b30353
2024-06-23 23:51:37 +00:00
Amos Shi
d2534fa267 8328110: Allow simultaneous use of PassFailJFrame with split UI and additional windows
Backport-of: 11a3673d42
2024-06-23 23:51:21 +00:00
Amos Shi
420c4b54cd 8316389: Open source few AWT applet tests
Backport-of: 65227a3c64
2024-06-23 23:51:02 +00:00
Amos Shi
80949900b6 8313674: (fc) java/nio/channels/FileChannel/BlockDeviceSize.java should test for more block devices
Backport-of: e91492ab43
2024-06-23 23:50:37 +00:00
Amos Shi
2ed8a96170 8315576: compiler/codecache/CodeCacheFullCountTest.java fails after JDK-8314837
Reviewed-by: mdoerr
Backport-of: 343cc0ce2b
2024-06-23 23:49:59 +00:00
Amos Shi
edbe6f9fa9 8314614: jdk/jshell/ImportTest.java failed with "InternalError: Failed remote listen"
8312140: jdk/jshell tests failed with JDI socket timeouts

Backport-of: 14193a049e
2024-06-23 23:49:26 +00:00
Amos Shi
d927a6f9a2 8325384: sun/security/ssl/SSLSessionImpl/ResumptionUpdateBoundValues.java failing intermittently when main thread is a virtual thread
Backport-of: da9c23ace9
2024-06-23 23:49:06 +00:00
Amos Shi
d8a00dae4e 8315024: Vector API FP reduction tests should not test for exact equality
Backport-of: e6f23a90d4
2024-06-23 23:48:39 +00:00
Amos Shi
2d89cc2c72 8321933: TestCDSVMCrash.java spawns two processes
Backport-of: 1fde8b868a
2024-06-23 23:48:11 +00:00
Amos Shi
d0e54e9faa 8241550: [macOS] SSLSocketImpl/ReuseAddr.java failed due to "BindException: Address already in use"
Backport-of: 6a35311468
2024-06-23 23:46:18 +00:00
Elif Aslan
fe999ba784 8314515: java/util/concurrent/SynchronousQueue/Fairness.java failed with "Error: fair=false i=8 j=0"
Backport-of: 35e9662767
2024-06-21 02:42:59 +00:00
Thomas Fitzsimmons
d5363bc509 8332174: Remove 2 (unpaired) RLO Unicode characters in ff_Adlm.xml
Reviewed-by: andrew
2024-06-21 01:24:28 +00:00
Sergey Bylokhov
c3693c2e91 8327840: Automate javax/swing/border/Test4129681.java
Backport-of: 177b8a241c
2024-06-20 19:52:07 +00:00
Elif Aslan
6a678617e0 8318605: Enable parallelism in vmTestbase/nsk/stress/stack tests
Backport-of: d9aa1deac8
2024-06-20 16:25:41 +00:00
Aleksey Shipilev
a79db00d30 8309685: Fix -Wconversion warnings in assembler and register code
Reviewed-by: mdoerr
Backport-of: 230bcb769a
2024-06-20 14:05:59 +00:00
SendaoYan
7e12de94aa 8334332: TestIOException.java fails if run by root
Backport-of: 472b935b44
2024-06-20 14:05:36 +00:00
Andrew Lu
5c1282b6da 8332936: Test vmTestbase/metaspace/gc/watermark_70_80/TestDescription.java fails with no GC's recorded
Backport-of: 5ed0d52c84
2024-06-20 10:12:28 +00:00
Andrew Lu
c0eb17cb4a 8331063: Some HttpClient tests don't report leaks
Backport-of: e4ed7ced75
2024-06-20 10:12:11 +00:00
Andrew Lu
c959207094 8331999: BasicDirectoryModel/LoaderThreadCount.java frequently fails on Windows in CI
Introduce tolerance factor: count > loaderCount.size() / 2
Fail the test only if the number of snapshots with more than
2 file loader threads is greater than half of the number
of valid snapshots.

Backport-of: ffbdfffbc7
2024-06-20 10:12:00 +00:00
Martin Doerr
4bb85fc974 8325083: jdk/incubator/vector/Double512VectorTests.java crashes in Assembler::vex_prefix_and_encode
Backport-of: 01060ad4ab
2024-06-20 10:02:45 +00:00
Martin Doerr
568bd67a9e 8330133: libj2pkcs11.so crashes on some pkcs#11 v3.0 libraries
Backport-of: d1c6cd104e
2024-06-20 10:02:35 +00:00
Martin Doerr
8148675125 8330819: C2 SuperWord: bad dominance after pre-loop limit adjustment with base that has CastLL after pre-loop
Reviewed-by: mbaesken
Backport-of: e681e9b4d7
2024-06-20 10:02:15 +00:00
Martin Doerr
0272ae04e5 8309621: [XWayland][Screencast] screen capture failure with sun.java2d.uiScale other than 1
Backport-of: 387896fb34
2024-06-20 10:01:57 +00:00
Andrew Lu
4f8917e1fe 8328560: java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.java imports Applet
Backport-of: e81374e050
2024-06-20 09:04:46 +00:00
Andrew Lu
6cd06d7f58 8320079: The ArabicBox.java test has no control buttons
Backport-of: 792fc9d114
2024-06-20 09:03:17 +00:00
Xiaolong Peng
943e75938e 8321025: Enable Neoverse N1 optimizations for Neoverse V2
Reviewed-by: shade
Backport-of: c9d15f7d5e
2024-06-20 07:41:27 +00:00
Martin Doerr
2e8418e38d 8313697: [XWayland][Screencast] consequent getPixelColor calls are slow
8310334: [XWayland][Screencast] screen capture error message in debug

Backport-of: 2f04bc5f93
2024-06-19 20:39:05 +00:00
Martin Doerr
f2e567ab13 8301686: TLS 1.3 handshake fails if server_name doesn't match resuming session
Backport-of: 0259da9283
2024-06-18 09:14:13 +00:00
Martin Doerr
ef30dbc017 8308660: C2 compilation hits 'node must be dead' assert
Reviewed-by: mbaesken
Backport-of: 053ff76e14
2024-06-18 09:13:49 +00:00
Martin Doerr
4af78629be 8322743: C2: prevent lock region elimination in OSR compilation
Backport-of: 742c776a92
2024-06-18 09:13:18 +00:00
Aleksey Shipilev
a5eb7f256d 8329088: Stack chunk thawing races with concurrent GC stack iteration
Backport-of: 8bcd2e61ae
2024-06-18 08:59:26 +00:00
Andrew Lu
fcd7fb74c7 8331142: Add test for number of loader threads in BasicDirectoryModel
8331495: Limit BasicDirectoryModel/LoaderThreadCount.java to Windows only

Reviewed-by: mdoerr
Backport-of: b2fb5ea13b
2024-06-17 10:17:51 +00:00
Andrew Lu
686d69d123 8328115: Convert java/awt/font/TextLayout/TestJustification.html applet test to main
Backport-of: 0204aacb03
2024-06-17 10:17:28 +00:00
Andrew Lu
aeae521adc 8327137: Add test for ConcurrentModificationException in BasicDirectoryModel
Backport-of: 9731b1c8b0
2024-06-17 10:17:10 +00:00
Andrew Lu
b0894f20a6 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main
Backport-of: df909e2f9c
2024-06-17 10:16:48 +00:00
Andrew Lu
7cf4272a35 8327650: Test java/nio/channels/DatagramChannel/StressNativeSignal.java timed out
Backport-of: 7acfba288f
2024-06-17 10:16:30 +00:00
Andrew Lu
71a035a3af 8317635: Improve GetClassFields test to verify correctness of field order
Backport-of: 599560a832
2024-06-17 10:16:11 +00:00
Andrew Lu
a30e9c63b7 8318071: IgnoreUnrecognizedVMOptions flag still causes failure in ArchiveHeapTestClass
Backport-of: d888b26783
2024-06-17 10:15:53 +00:00
Martin Doerr
a1e43d90f4 8323274: C2: array load may float above range check
Backport-of: 4406915ebc
2024-06-17 09:17:03 +00:00
Matthias Baesken
c08de562e3 8332825: ubsan: guardedMemory.cpp:35:11: runtime error: null pointer passed as argument 2, which is declared to never be null
Backport-of: be1d374bc5
2024-06-17 06:37:38 +00:00
Andrew Lu
762e9832d0 8317831: compiler/codecache/CheckLargePages.java fails on OL 8.8 with unexpected memory string
Reviewed-by: mdoerr
Backport-of: 86b27b784e
2024-06-17 01:44:16 +00:00
Andrew Lu
8cb3b1f17d 8269428: java/util/concurrent/ConcurrentHashMap/ToArray.java timed out
Backport-of: 570ad67204
2024-06-17 01:43:00 +00:00
Sergey Bylokhov
710a0b0d33 8327787: Convert javax/swing/border/Test4129681.java applet test to main
Backport-of: ad0f329493
2024-06-15 00:46:03 +00:00
Martin Doerr
28c16d4e9d 8331575: C2: crash when ConvL2I is split thru phi at LongCountedLoop
Backport-of: f398cd2250
2024-06-14 16:23:57 +00:00
Martin Doerr
8ca5280c97 8322996: BoxLockNode creation fails with assert(reg < CHUNK_SIZE) failed: sanity
Backport-of: 69586e7bdf
2024-06-14 16:22:45 +00:00
Martin Doerr
d2f857ac9e 8317299: safepoint scalarization doesn't keep track of the depth of the JVM state
Reviewed-by: phh
Backport-of: 6d911f68a3
2024-06-14 16:22:24 +00:00
Martin Doerr
9a392eaf0d 8323972: C2 compilation fails with assert(!x->as_Loop()->is_loop_nest_inner_loop()) failed: loop was transformed
Backport-of: e1b0af29e4
2024-06-14 16:21:57 +00:00
Martin Doerr
dba671654e 8321278: C2: Partial peeling fails with assert "last_peel <- first_not_peeled"
Backport-of: af15c68f3c
2024-06-14 16:21:37 +00:00
Martin Doerr
df030542eb 8319793: C2 compilation fails with "Bad graph detected in build_loop_late" after JDK-8279888
Reviewed-by: mbaesken
Backport-of: b922f8d459
2024-06-14 15:13:09 +00:00
Liang Mao
9069982847 8332935: Crash: assert(*lastPtr != 0) failed: Mismatched JNINativeInterface tables, check for new entries
Backport-of: 8338946a6d
2024-06-14 09:44:49 +00:00
Matthias Baesken
ccfae88057 8333724: Problem list security/infra/java/security/cert/CertPathValidator/certification/CAInterop.java#teliasonerarootcav1
Backport-of: 8ffc35d117
2024-06-13 13:17:44 +00:00
Christoph Langer
a1a56cf88b 8330814: Cleanups for KeepAliveCache tests
Backport-of: 1e173f9d17e4a42e758217ac98aec4356acac0fa
2024-06-13 12:02:41 +00:00
Dmitry Chuyko
1831a95375 8323122: AArch64: Increase itable stub size estimate
Reviewed-by: aph
Backport-of: 36f4b34f19
2024-06-13 10:53:26 +00:00
Martin Doerr
622026aaf8 8316756: C2 EA fails with "missing memory path" when encountering unsafe_arraycopy stub call
Backport-of: b89172149d
2024-06-13 09:49:36 +00:00
Martin Doerr
807a4b668c 8324174: assert(m->is_entered(current)) failed: invariant
Backport-of: 5b9b176c67
2024-06-13 09:49:17 +00:00
Martin Doerr
03facb931a 8332905: C2 SuperWord: bad AD file, with RotateRightV and first operand not a pack
Backport-of: 67d6f3ca9e
2024-06-13 09:49:02 +00:00
Martin Doerr
4cd947b627 8327423: C2 remove_main_post_loops: check if main-loop belongs to pre-loop, not just assert
Backport-of: fadc4b197e
2024-06-13 09:48:51 +00:00
Martin Doerr
ea2aa9ef18 8324969: C2: prevent elimination of unbalanced coarsened locking regions
Backport-of: b938a5c9ed
2024-06-13 09:48:35 +00:00
Martin Doerr
fa896c742b 8333366: C2: CmpU3Nodes are not pushed back to worklist in PhaseCCP leading to non-fixpoint assertion failure
Reviewed-by: shade
Backport-of: 7c83d7ab53
2024-06-13 09:48:23 +00:00
Martin Doerr
9dca67bac2 8332959: C2: ZGC fails with 'Incorrect load shift' when invoking Object.clone() reflectively on an array
Reviewed-by: shade
Backport-of: e0ac8249f5
2024-06-13 09:48:03 +00:00
Martin Doerr
6a83392424 8323682: C2: guard check is not generated in Arrays.copyOfRange intrinsic when allocation is eliminated by EA
Backport-of: 92f5c0be8e
2024-06-13 09:47:49 +00:00
Martin Doerr
d13f75c9ef 8331863: DUIterator_Fast used before it is constructed
Backport-of: 466a21d864
2024-06-13 09:47:35 +00:00
Martin Doerr
45d5ae087e 8329258: TailCall should not use frame pointer register for jump target
Backport-of: cccc95358d
2024-06-12 19:43:07 +00:00
Martin Doerr
9040078dda 8324983: Race in CompileBroker::possibly_add_compiler_threads
Backport-of: 1993652653
2024-06-12 19:41:41 +00:00
Martin Doerr
4e76dad193 8331421: ubsan: vmreg.cpp checking error member call on misaligned address
Reviewed-by: mbaesken
Backport-of: beebce044d
2024-06-12 19:38:24 +00:00
Martin Balao
66e3ea6233 8330611: AES-CTR vector intrinsic may read out of bounds (x86_64, AVX-512)
Backport-of: 8a8d928898
2024-06-12 19:02:57 +00:00
Xiaolong Peng
a86d0429b9 8320379: C2: Sort spilling/unspilling sequence for better ld/st merging into ldp/stp on AArch64
Reviewed-by: aph
Backport-of: 3ccd02f142
2024-06-12 16:34:16 +00:00
Neethu Prasad
af6eddc38d 8333716: Shenandoah: Check for disarmed method before taking the nmethod lock
Reviewed-by: shade
Backport-of: 18e7d7b5e7
2024-06-12 13:43:39 +00:00
Dmitry Chuyko
160ea22574 8307352: AARCH64: Improve itable_stub
Backport-of: c664f1ca66
2024-06-12 08:06:36 +00:00
Aleksey Shipilev
4509c909a5 8325469: Freeze/Thaw code can crash in the presence of OSR frames
Reviewed-by: phh
Backport-of: fd331ff173
2024-06-12 08:05:20 +00:00
Andrew Lu
150e22879f 8280392: java/awt/Focus/NonFocusableWindowTest/NonfocusableOwnerTest.java failed with "RuntimeException: Test failed."
Backport-of: 3f2e849c54
2024-06-12 07:22:58 +00:00
Andrew Lu
8cfc0efbb9 8316240: Open source several add/remove MenuBar manual tests
Backport-of: 3809d69ac4
2024-06-12 07:22:33 +00:00
Sergey Bylokhov
9c6183d43b 8329510: Update ProblemList for JFileChooser/8194044/FileSystemRootTest.java
Backport-of: 747582484c
2024-06-12 00:54:41 +00:00
Sergey Bylokhov
51d37baab1 8307193: Several Swing jtreg tests use class.forName on L&F classes
Backport-of: 9d332e6591
2024-06-11 23:08:20 +00:00
Martin Doerr
e716aaec12 8331626: unsafe.cpp:162:38: runtime error in index_oop_from_field_offset_long - applying non-zero offset 4563897424 to null pointer
Backport-of: 23a72a1f2f
2024-06-11 09:50:25 +00:00
Soumadipta Roy
4deef7513f 8324755: Enable parallelism in vmTestbase/gc/gctests/LargeObjects tests
Backport-of: 003e86fe38
2024-06-11 09:46:38 +00:00
Aleksey Shipilev
e7a7af0ea9 8332154: Memory leak in SynchronousQueue
Backport-of: b78613b681
2024-06-11 08:25:12 +00:00
Matthias Baesken
a7a11a9c4a 8332904: ubsan ppc64le: c1_LIRGenerator_ppc.cpp:581:21: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int'
Backport-of: 9b64ece514
2024-06-11 08:23:10 +00:00
Matthias Baesken
e1b19ae464 8332894: ubsan: vmError.cpp:2090:26: runtime error: division by zero
Backport-of: 1b8dea4a92
2024-06-11 08:20:07 +00:00
SendaoYan
cdf3443b8a 8333477: Delete extra empty spaces in Makefiles
Backport-of: d130d2f4f4
2024-06-10 16:13:33 +00:00
Matthias Baesken
c58ed6bd48 8332473: ubsan: growableArray.hpp:290:10: runtime error: null pointer passed as argument 1, which is declared to never be null
Backport-of: e529101ea3
2024-06-10 11:04:55 +00:00
Matthias Baesken
bf9aa3cbd6 8332675: test/hotspot/jtreg/gc/testlibrary/Helpers.java compileClass javadoc does not match after 8321812
Backport-of: 1ea76d338b
2024-06-10 11:04:01 +00:00
Matthias Baesken
aeccc4ee22 8332720: ubsan: instanceKlass.cpp:3550:76: runtime error: member call on null pointer of type 'struct Array'
Backport-of: e19a421c30
2024-06-10 11:03:37 +00:00
Matthias Baesken
e55dd2705c 8332589: ubsan: unix/native/libjava/ProcessImpl_md.c:562:5: runtime error: null pointer passed as argument 2, which is declared to never be null
Backport-of: 16dba04e8d
2024-06-10 09:53:04 +00:00
Aleksey Shipilev
7039562521 8287325: AArch64: fix virtual threads with -XX:UseBranchProtection=pac-ret
Backport-of: 481cfc7985
2024-06-10 07:34:43 +00:00
Richard Reingruber
8da58b9da6 8327990: [macosx-aarch64] Various tests fail with -XX:+AssertWXAtThreadSync
Reviewed-by: aph
Backport-of: 0c572566963be7f941228deda2691ce2fc456c15
2024-06-10 07:20:44 +00:00
Richard Reingruber
8204bd74df 8323782: Race: Thread::interrupt vs. AbstractInterruptibleChannel.begin
Backport-of: 1188d404bc4879fc388209cd32e6c4e46178e200
2024-06-07 08:50:00 +00:00
Sergey Bylokhov
1bb396f36c 8313983: jmod create --target-platform should replace existing ModuleTarget attribute
Backport-of: c2e01eba5a
2024-06-07 07:57:30 +00:00
Xiaolong Peng
f9de29417e 8331931: JFR: Avoid loading regex classes during startup
Backport-of: 242446b07f
2024-06-06 19:21:53 +00:00
Aleksey Shipilev
ace95241f9 8329665: fatal error: memory leak: allocating without ResourceMark
Backport-of: e073d5b374
2024-06-06 11:22:20 +00:00
Martin Doerr
d7c73262b5 8331885: C2: meet between unloaded and speculative types is not symmetric
Backport-of: 7652f9811b
2024-06-06 08:23:47 +00:00
Martin Doerr
8991255fa0 8326734: text-decoration applied to <span> lost when mixed with <u> or <s>
8325620: HTMLReader uses ConvertAction instead of specified CharacterAction for <b>, <i>, <u>

Backport-of: cd3e4c0366
2024-06-06 08:23:20 +00:00
SendaoYan
ccee9d0763 8332499: Gtest codestrings.validate_vm fail on linux x64 when hsdis is present
Backport-of: 7dbd03388e
2024-06-06 08:13:27 +00:00
Matthias Baesken
33ba53879a 8331789: ubsan: deoptimization.cpp:403:29: runtime error: load of value 208, which is not a valid value for type 'bool'
Backport-of: 2baacfc169
2024-06-06 07:39:35 +00:00
Martin Doerr
ce34aa9125 8332885: Clarify failure_handler self-tests
Backport-of: 08891553bb
2024-06-05 08:34:55 +00:00
Andrew Lu
a160bd4912 8294148: Support JSplitPane for instructions and test UI
Backport-of: b419e95173
2024-06-05 07:32:43 +00:00
Andrew Lu
d275f512c8 8316104: Open source several Swing SplitPane and RadioButton related tests
Backport-of: f52e500f80
2024-06-05 07:30:40 +00:00
Neethu Prasad
9fef7d8ba1 8325616: JFR ZGC Allocation Stall events should record stack traces
Backport-of: 71ff2d7177
2024-06-04 16:48:14 +00:00
Neethu Prasad
24300eb7a4 8320602: Lock contention in SchemaDVFactory.getInstance()
Backport-of: 0678253bff
2024-06-04 16:41:40 +00:00
Neethu Prasad
d87f5a3974 8329995: Restricted access to /proc can cause JFR initialization to crash
Backport-of: a92ad03946
2024-06-04 16:38:14 +00:00
Martin Doerr
cdaabfac04 8322726: C2: Unloaded signature class kills argument value
Backport-of: fa02667d83
2024-06-04 16:27:30 +00:00
Martin Doerr
ca5fd70bc3 8332898: failure_handler: log directory of commands
Backport-of: 7f0ad513c3
2024-06-04 16:26:30 +00:00
Martin Doerr
ec7a205b56 8323801: <s> tag doesn't strikethrough the text
Backport-of: 80b63b6729
2024-06-04 16:23:05 +00:00
Andrew Lu
cee24431c7 8328234: Remove unused nativeUtils files
Backport-of: dec68d7e36
2024-06-04 07:54:53 +00:00
Andrew Lu
96249e3d2f 8328218: Delete test java/awt/Window/FindOwner/FindOwner.html
Backport-of: 09439374ed
2024-06-04 07:54:28 +00:00
Andrew Lu
47f4ea8553 8328561: test java/awt/Robot/ManualInstructions/ManualInstructions.java isn't used
Backport-of: bc546c21a5
2024-06-04 07:54:07 +00:00
Aleksey Shipilev
78d39b125e 8317240: Promptly free OopMapEntry after fail to insert the entry to OopMapCache
Backport-of: a8eacb31ab
2024-06-04 07:35:04 +00:00
Matthias Baesken
eee3b4261c 8332431: NullPointerException in JTable of SwingSet2
Backport-of: 9a83dfee14
2024-06-04 07:24:35 +00:00
Andrew Lu
82adc56ca2 8311989: Test java/lang/Thread/virtual/Reflection.java timed out
Backport-of: 6faf05c6dd
2024-06-04 06:45:27 +00:00
Andrew Lu
481b42f133 8315804: Open source several Swing JTabbedPane JTextArea JTextField tests
Backport-of: 24c3d86f32
2024-06-04 06:44:22 +00:00
Andrew Lu
53b2836e5d 8320945: problemlist tests failing on latest Windows 11 update
Backport-of: ea6e92ed0d
2024-06-04 06:43:52 +00:00
Andrew Lu
46c0e1e243 8322008: Exclude some CDS tests from running with -Xshare:off
Backport-of: 4d32c607a4
2024-06-04 02:10:43 +00:00
Andrew Lu
f1c7553732 8310201: Reduce verbose locale output in -XshowSettings launcher option
Backport-of: f6e23ae451
2024-06-04 02:10:14 +00:00
Andrew Lu
d51b8eaa7a 8323577: C2 SuperWord: remove AlignVector restrictions on IR tests added in JDK-8305055
Backport-of: 45c65e6b1a
2024-06-04 02:08:44 +00:00
Sergey Bylokhov
bbc8cde5af 8322330: JavadocHelperTest.java OOMEs with Parallel GC and ZGC
Backport-of: 52c7ff1d81
2024-06-04 00:17:50 +00:00
Liang Mao
9c0896c04b 8315031: YoungPLABSize and OldPLABSize not aligned by ObjectAlignmentInBytes
Backport-of: 060db1b2a2
2024-06-03 10:39:33 +00:00
Martin Doerr
792b7b12d6 8328785: IOException: Symbol not found: C_GetInterface for PKCS11 interface prior to V3.0
Backport-of: 6276789fb5
2024-06-03 09:35:58 +00:00
Martin Doerr
594b309913 8261433: Better pkcs11 performance for libpkcs11:C_EncryptInit/libpkcs11:C_DecryptInit
Backport-of: 7c2c24fc05
2024-06-03 09:15:45 +00:00
Martin Doerr
041b87471b 8314225: SIGSEGV in JavaThread::is_lock_owned
Backport-of: ad0b54d429
2024-06-03 09:13:14 +00:00
Martin Doerr
e26c5f0bf0 8331077: nroff man page update for jar tool
Backport-of: c21672d8c9
2024-06-03 09:09:52 +00:00
Martin Doerr
2144c0e244 8330748: ByteArrayOutputStream.writeTo(OutputStream) pins carrier
Reviewed-by: bpb
Backport-of: 819f3d6fc7
2024-06-03 09:09:33 +00:00
Martin Doerr
77e894fdd2 8328999: Update GIFlib to 5.2.2
Backport-of: 6969a9e0b2
2024-06-03 09:09:18 +00:00
Martin Doerr
74f637b295 8324577: [REDO] - [IMPROVE] OPEN_MAX is no longer the max limit on macOS >= 10.6 for RLIMIT_NOFILE
Backport-of: f1d0e715b6
2024-06-03 09:06:23 +00:00
Martin Doerr
f5025eb5e9 8305072: Win32ShellFolder2.compareTo is inconsistent
Backport-of: 2fcb816858
2024-06-03 09:06:03 +00:00
Martin Doerr
4b0a789666 8329004: Update Libpng to 1.6.43
Backport-of: 4e4229438a
2024-06-03 09:05:48 +00:00
Martin Doerr
dc831aa750 8328953: JEditorPane.read throws ChangedCharSetException
Backport-of: 245514da51
2024-06-03 09:05:34 +00:00
Martin Doerr
4b3df73b77 8325179: Race in BasicDirectoryModel.validateFileCache
8238169: BasicDirectoryModel getDirectories and DoChangeContents.run can deadlock

Backport-of: e66788c165
2024-06-03 09:02:52 +00:00
Martin Doerr
e4ac1a44e2 8325382: (fc) FileChannel.transferTo throws IOException when position equals size
Reviewed-by: bpb
Backport-of: 6b7c9718d6
2024-06-03 09:02:38 +00:00
Martin Doerr
88c366cdc4 8329126: No native wrappers generated anymore with -XX:-TieredCompilation after JDK-8251462
Backport-of: f2e5808b46
2024-06-03 09:02:26 +00:00
Xiaolong Peng
56668630a6 8329134: Reconsider TLAB zapping
Backport-of: 5698f7ad29
2024-06-03 08:16:50 +00:00
Xiaolong Peng
f5f5870f4a 8331771: ZGC: Remove OopMapCacheAlloc_lock ordering workaround
Reviewed-by: phh
Backport-of: 5746137e8a
2024-06-03 08:16:32 +00:00
Andrew Lu
33a43e5306 8327040: Problemlist ActionListenerCalledTwiceTest.java test failing in macos14
Backport-of: 0d35450362
2024-06-03 05:23:17 +00:00
Sergey Bylokhov
64b0f61ade 8325763: Revert properties: vm.opt.x.*
Backport-of: 0aaec97527
2024-06-02 01:45:06 +00:00
Martin Doerr
7723611d5d 8305825: getBounds API returns wrong value resulting in multiple Regression Test Failures on Ubuntu 23.04
Reviewed-by: phh
Backport-of: 632a3c56e0
2024-06-01 08:49:28 +00:00
Sergey Bylokhov
0e9b9f2ccb 8310072: JComboBox/DisabledComboBoxFontTestAuto: Enabled and disabled ComboBox does not match in these LAFs: GTK+
Backport-of: eb60822a45
2024-06-01 02:51:00 +00:00
Per Minborg
0d9833e522 8323552: AbstractMemorySegmentImpl#mismatch returns -1 when comparing distinct areas of the same instance of MemorySegment
Reviewed-by: mdoerr
Backport-of: 93579c29e3
2024-05-31 17:02:30 +00:00
Martin Doerr
0dcbc1d0cd 8324668: JDWP process management needs more efficient file descriptor handling
Backport-of: a663248786
2024-05-31 09:03:53 +00:00
Martin Doerr
42e6a97c9a 8323670: A few client tests intermittently throw ConcurrentModificationException
Backport-of: 70e7cdcb9e
2024-05-31 09:03:39 +00:00
Martin Doerr
55e97ce07a 8319773: Avoid inflating monitors when installing hash codes for LM_LIGHTWEIGHT
Backport-of: 65a0672791
2024-05-31 09:02:35 +00:00
Martin Doerr
b56f0c0be4 8326106: Write and clear stack trace table outside of safepoint
Backport-of: a776104e21
2024-05-31 09:02:24 +00:00
Martin Doerr
8d4f686ef1 8312229: Crash involving yield, switch and anonymous classes
Backport-of: 1f81e5b19e
2024-05-31 09:02:04 +00:00
Aleksey Shipilev
2a21044977 8331573: Rename CollectedHeap::is_gc_active to be explicitly about STW GCs
Reviewed-by: phh
Backport-of: 1eec30a6c0
2024-05-31 08:18:01 +00:00
SendaoYan
362ecacc7c 8331164: createJMHBundle.sh download jars fail when url needed to be redirected
Backport-of: eb88343fb7
2024-05-31 08:16:18 +00:00
Xiaolong Peng
dc8b95fb30 8328075: Shenandoah: Avoid forwarding when objects don't move in full-GC
Backport-of: 80ccc989a8
2024-05-30 19:26:20 +00:00
Andrew Lu
9971c63ef8 8307788: vmTestbase/gc/gctests/LargeObjects/large003/TestDescription.java timed out
Backport-of: 929af9ed03
2024-05-30 02:00:37 +00:00
Andrew Lu
97c01b1cac 8317288: [macos] java/awt/Window/Grab/GrabTest.java: Press on the outside area didn't cause ungrab
Backport-of: db5613af89
2024-05-30 01:59:24 +00:00
Andrew Lu
9326d8829e 8310108: Skip ReplaceCriticalClassesForSubgraphs when EnableJVMCI is specified
Backport-of: 1b0dd7c254
2024-05-30 01:59:08 +00:00
Sergey Bylokhov
87670e7aea 8311666: Disabled tests in test/jdk/sun/java2d/marlin
Backport-of: b285ed72ae
2024-05-30 01:44:24 +00:00
Sergey Bylokhov
56fdca38bc 8316328: Test jdk/jfr/event/oldobject/TestSanityDefault.java times out for some heap sizes
Backport-of: 9b1d6d66b8
2024-05-29 22:51:28 +00:00
Sergey Bylokhov
0d0cf83961 8331746: Create a test to verify that the cmm id is not ignored
Backport-of: 7c750fd95b
2024-05-29 20:54:16 +00:00
Ashutosh Mehra
aa66422e3a 8333093: Incorrect comment in zAddress_aarch64.cpp
Reviewed-by: stefank
Backport-of: 51ae08f72b
2024-05-29 13:59:36 +00:00
Aleksey Shipilev
fb7713d3dd 8331714: Make OopMapCache installation lock-free
Backport-of: a2584a8341
2024-05-29 11:44:12 +00:00
Liang Mao
a3b14cfcb2 8330576: ZYoungCompactionLimit should have range check
Backport-of: c4f5c5140a
2024-05-29 10:29:24 +00:00
SendaoYan
9fcb4cdd5d 8318479: [jmh] the test security.CacheBench failed for multiple threads run
Backport-of: 1535528cb1
2024-05-29 10:29:09 +00:00
SendaoYan
171a4c6ab6 8332490: JMH org.openjdk.bench.java.util.zip.InflaterInputStreams.inflaterInputStreamRead OOM
Backport-of: 98f6a80852
2024-05-29 10:28:52 +00:00
Christoph Langer
b7c7006897 8331266: Bump update version for OpenJDK: jdk-21.0.5
Reviewed-by: mdoerr, sgehwolf
2024-05-29 08:10:45 +00:00
Martin Doerr
2971cb5769 8320692: Null icon returned for .exe without custom icon
Backport-of: 6212264cc6
2024-05-29 06:56:33 +00:00
Ashutosh Mehra
60402f88b5 8330275: Crash in XMark::follow_array
Reviewed-by: stuefe
Backport-of: 42b1d858d1
2024-05-28 18:36:04 +00:00
Matthias Baesken
2e327a9a98 8329862: libjli GetApplicationHome cleanups and enhance jli tracing
Backport-of: 377f2e538a
2024-05-28 07:14:05 +00:00
Andrew Lu
a0376cd8f8 8323635: Test gc/g1/TestHumongousAllocConcurrentStart.java fails with -XX:TieredStopAtLevel=3
Backport-of: 5045839cb2
2024-05-28 02:00:44 +00:00
Vladimir Petko
58c19a6051 8295111: dpkg appears to have problems resolving symbolically linked native libraries
Backport-of: 32946e1882
2024-05-27 22:15:42 +00:00
Matthias Baesken
00d3ca21cc 8331031: unify os::dont_yield and os::naked_yield across Posix platforms
Backport-of: c9442014e5
2024-05-27 10:17:18 +00:00
Ben Taylor
4b1d95c73c 8329223: Parallel: Parallel GC resizes heap even if -Xms = -Xmx
Backport-of: aca1e8365b
2024-05-23 20:29:02 +00:00
Matthias Baesken
d986096302 8330464: hserr generic events - add entry for the before_exit calls
Backport-of: 45ed97f15b
2024-05-23 12:27:11 +00:00
Matthias Baesken
20da646c37 8329605: hs errfile generic events - move memory protections and nmethod flushes to separate sections
Backport-of: 397d948310
2024-05-23 12:25:50 +00:00
Martin Doerr
9035981eca 8321812: Update GC tests to use execute[Limited]TestJava
Reviewed-by: mbaesken
Backport-of: 1d1cd32bc3
2024-05-23 09:24:54 +00:00
Andrew Lu
a4d2a5aaca 8312194: test/hotspot/jtreg/applications/ctw/modules/jdk_crypto_ec.java cannot handle empty modules
Backport-of: e7c83ea948
2024-05-23 09:21:34 +00:00
Andrew Lu
201e663ee2 8320681: [macos] Test tools/jpackage/macosx/MacAppStoreJlinkOptionsTest.java timed out on macOS
Backport-of: a657aa38a5
2024-05-23 09:21:16 +00:00
Liang Mao
fe4a2ae570 8329109: Threads::print_on() tries to print CPU time for terminated GC threads
Backport-of: c1cfb43d8d
2024-05-23 08:47:30 +00:00
Liang Mao
cdfe2f44f6 8329840: Fix ZPhysicalMemorySegment::_end type
Backport-of: b4ddddeff1
2024-05-23 08:47:16 +00:00
Andrew Lu
acff39d922 8319338: tools/jpackage/share/RuntimeImageTest.java fails with -XX:+UseZGC
Backport-of: e9eb8b98f4
2024-05-23 02:00:35 +00:00
Sergey Bylokhov
a1e0c5db74 8332253: Linux arm32 build fails after 8292591
Backport-of: 95f79c6787
2024-05-21 20:38:56 +00:00
SendaoYan
8ff816356a 8331466: Problemlist serviceability/dcmd/gc/RunFinalizationTest.java on generic-all
Backport-of: 440782e016
2024-05-21 20:19:51 +00:00
Andrew Lu
c44d4e936f 8321107: Add more test cases for JDK-8319372
Backport-of: ecd335d8f4
2024-05-21 09:56:22 +00:00
María Arias de Reyna
ff295b7fc4 8316138: Add GlobalSign 2 TLS root certificates
Backport-of: 4083255440
2024-05-17 14:07:38 +00:00
Andrew Lu
2dc90b5151 8320715: Improve the tests of test/hotspot/jtreg/compiler/intrinsics/float16
Backport-of: 5dcf3a56cb
2024-05-17 08:05:35 +00:00
Matthias Baesken
9047499a46 8331298: avoid alignment checks in UBSAN enabled build
Backport-of: 60b61e588c
2024-05-17 07:54:12 +00:00
Matthias Baesken
f953b8a1da 8312218: Print additional debug information when hitting assert(in_hash)
Backport-of: 7cbab1f396
2024-05-17 07:45:55 +00:00
Martin Doerr
0a2e2e707d 8308144: Uncontrolled memory consumption in SSLFlowDelegate.Reader
Backport-of: 099a8f5b2f
2024-05-16 21:52:11 +00:00
Andrew Lu
6b0467c473 8299023: TestPLABResize.java and TestPLABPromotion.java are failing intermittently
Backport-of: f50df10591
2024-05-16 02:02:08 +00:00
Matthias Baesken
87fe0d28ed 8329663: hs_err file event log entry for thread adding/removing should print current thread
Backport-of: 3ebf8c9359
2024-05-15 11:48:42 +00:00
Matthias Baesken
9b8f98871a 8330615: avoid signed integer overflows in zip_util.c readCen / hashN
Backport-of: 5af6b45eef
2024-05-15 11:43:03 +00:00
Matthias Baesken
30f0779c73 8331167: UBSan enabled build fails in adlc on macOS
Backport-of: 4edac349a5
2024-05-15 11:41:41 +00:00
Jan Kratochvil
fdb82f42f1 8328997: Remove unnecessary template parameter lists in GrowableArray
Backport-of: 3d2283800a
2024-05-15 11:05:49 +00:00
Jan Kratochvil
87318f8783 8331352: error: template-id not allowed for constructor/destructor in C++20
Backport-of: 45792c5829
2024-05-15 11:05:31 +00:00
Thomas Stuefe
59ca0093a8 8331942: On Linux aarch64, CDS archives should be using 64K alignment by default
Backport-of: d2d37c913e
2024-05-15 10:14:41 +00:00
Aleksey Shipilev
2429a90044 8325255: jdk.internal.util.ReferencedKeySet::add using wrong test
Backport-of: a7461de231
2024-05-15 09:16:28 +00:00
Andrew Lu
5b5d778e43 8309871: jdk/jfr/api/consumer/recordingstream/TestSetEndTime.java timed out
Backport-of: b9df827adc
2024-05-15 08:37:09 +00:00
Jan Kratochvil
035e314467 8324243: Compilation failures in java.desktop module with gcc 14
Backport-of: 8e5f6ddb68
2024-05-14 09:05:36 +00:00
SendaoYan
fbb0f4c464 8311964: Some jtreg tests failing on x86 with error 'unrecognized VM options' (C2 flags)
Backport-of: 024133b089
2024-05-13 20:22:20 +00:00
SendaoYan
bddd6a7f61 8321925: sun/security/mscapi/KeytoolChangeAlias.java fails with "Alias <246810> does not exist"
Backport-of: b6233c3de7
2024-05-13 20:22:03 +00:00
Aleksey Shipilev
153de5aeba 8320370: NMT: Change MallocMemorySnapshot to simplify code.
Reviewed-by: stuefe
Backport-of: a7f6016406
2024-05-13 09:02:17 +00:00
Chad Rakoczy
fa874b3d90 8325621: Improve jspawnhelper version checks
Backport-of: a232e8fb4e
2024-05-13 09:00:54 +00:00
Matthias Baesken
e3a9226e0d 8330524: Linux ppc64le compile warning with clang in os_linux_ppc.cpp
Backport-of: 252c62a66d
2024-05-10 06:41:33 +00:00
Christoph Langer
c12dfc3571 8330523: Reduce runtime and improve efficiency of KeepAliveTest
Backport-of: 8eac95ec3cd4b215556d788b9ade7a6e2f9deaa3
2024-05-09 09:38:35 +00:00
Christoph Langer
ddecbe5201 8330815: Use pattern matching for instanceof in KeepAliveCache
Backport-of: 0ec3c0b1e698f7ad39b4da2edb062721e4670f58
2024-05-09 09:38:17 +00:00
Liang Mao
93d091ad35 8314573: G1: Heap resizing at Remark does not take existing eden regions into account
Backport-of: 762b652912
2024-05-07 13:20:39 +00:00
Liang Mao
41fda4a528 8319376: ParallelGC: Forwarded objects found during heap inspection
Backport-of: 59e9981ec2
2024-05-07 13:17:45 +00:00
Aleksey Shipilev
ec6b326010 8310913: Move ReferencedKeyMap to jdk.internal so it may be shared
Reviewed-by: rrich
Backport-of: 6af0af5934
2024-05-07 09:47:45 +00:00
Goetz Lindenmaier
92b43c570e 8317007: Add bulk removal of dead nmethods during class unloading
Backport-of: f553819502
2024-05-07 08:20:13 +00:00
Goetz Lindenmaier
ed2f5a8d64 8310228: Improve error reporting for uncaught native exceptions on Windows
Reviewed-by: stuefe
Backport-of: 38bf1192b6
2024-05-07 08:19:02 +00:00
Alexandru C. Moraru
7a400f2a59 8309890: TestStringDeduplicationInterned.java waits for the wrong condition
Backport-of: 63fe413d93
2024-05-06 11:49:36 +00:00
Christoph Langer
16ba673e14 8331639: [21u]: Bump GHA bootstrap JDK to 21.0.3
Reviewed-by: sgehwolf
2024-05-06 08:39:15 +00:00
Aleksey Shipilev
2b858f5bde 8328938: C2 SuperWord: disable vectorization for large stride and scale
Reviewed-by: epeter, simonis
Backport-of: 2931458711
2024-05-06 08:37:55 +00:00
Amit Kumar
915988281c 8310513: [s390x] Intrinsify recursive ObjectMonitor locking
Reviewed-by: lucy
Backport-of: 47df14590c
2024-05-06 08:27:43 +00:00
Amit Kumar
3ff5359693 8330011: [s390x] update block-comments to make code consistent
Reviewed-by: lucy
Backport-of: 01bda278d6
2024-05-06 08:17:00 +00:00
Amit Kumar
abbad92894 8326201: [S390] Need to bailout cleanly if creation of stubs fails when code cache is out of space
Backport-of: d5f3d5c8cc
2024-05-06 08:15:30 +00:00
SendaoYan
3770c28c05 8331331: :tier1 target explanation in doc/testing.md is incorrect
Backport-of: 04271dfe7a
2024-05-06 08:13:04 +00:00
Aleksey Shipilev
021372c76d 8328703: Illegal accesses in Java_jdk_internal_org_jline_terminal_impl_jna_linux_CLibraryImpl_ioctl0
Backport-of: 87e864bf21
2024-05-06 08:07:34 +00:00
Joachim Kern
d459ae9dc9 8329850: [AIX] Allow loading of different members of same shared library archive
Backport-of: cfd19f0176
2024-05-06 06:30:01 +00:00
Gui Cao
835d016ade 8330094: RISC-V: Save and restore FRM in the call stub
Reviewed-by: fyang
Backport-of: b0496096dc
2024-05-05 04:27:07 +00:00
Goetz Lindenmaier
3bb8eeed48 8317809: Insertion of free code blobs into code cache can be very slow during class unloading
Reviewed-by: phh, adinn
Backport-of: 30817b7423
2024-05-03 06:22:47 +00:00
Zhengyu Gu
a4d8d061a8 8328744: Parallel: Parallel GC throws OOM before heap is fully expanded
Backport-of: bf8146eac24ba8e00d1794ef7134ecf2476cf897
2024-05-02 14:14:09 +00:00
Aleksey Shipilev
87d5da4f4f 8328822: C2: "negative trip count?" assert failure in profile predicate code
Backport-of: 2ceeb6c001
2024-05-02 12:27:14 +00:00
Aleksey Shipilev
3892078094 8324121: SIGFPE in PhaseIdealLoop::extract_long_range_checks
8329163: C2: possible overflow in PhaseIdealLoop::extract_long_range_checks()

Backport-of: cb2a671359
2024-05-02 08:27:12 +00:00
Bernhard Urban-Forster
3ab3f52b27 8326974: ODR violation in macroAssembler_aarch64.cpp
Backport-of: b972997af7
2024-04-30 19:35:53 +00:00
Zhengyu Gu
5d5c67898a 8319713: Parallel: Remove PSAdaptiveSizePolicy::should_full_GC
Backport-of: 4bcda60266
2024-04-30 14:03:17 +00:00
Amit Kumar
56a90908c3 8312014: [s390x] TestSigInfoInHsErrFile.java Failure
Reviewed-by: lucy
Backport-of: 6f6621303a
2024-04-30 09:00:13 +00:00
Aleksey Shipilev
c922c50bad 8322962: Upcall stub might go undetected when freezing frames
Backport-of: 93feda3d9a
2024-04-29 16:04:13 +00:00
Aleksey Shipilev
cbd30c952d 8325095: C2: bailout message broken: ResourceArea allocated string used after free
Reviewed-by: phh
Backport-of: c589555845
2024-04-29 15:43:14 +00:00
Aleksey Shipilev
75ac9e858f 8328168: Epsilon: Premature OOM when allocating object larger than uncommitted heap size
Backport-of: 7baec66222
2024-04-29 13:45:03 +00:00
Robbin Ehn
a0e8de81ea 8330156: RISC-V: Range check auipc + signed 12 imm instruction
Backport-of: 8990864a53
2024-04-29 10:01:27 +00:00
Goetz Lindenmaier
e7ebae54a7 8321713: Harmonize executeTestJvm with create[Limited]TestJavaProcessBuilder
Reviewed-by: lucy
Backport-of: cbe329b90a
2024-04-29 09:19:40 +00:00
SendaoYan
d8bc9e4410 8331113: createJMHBundle.sh support configurable maven repo mirror
Backport-of: ce9eac3819
2024-04-29 08:34:48 +00:00
Aleksey Shipilev
d1b97d4737 8309142: Refactor test/langtools/tools/javac/versions/Versions.java
8321182: SourceExample.SOURCE_14 comment should refer to 'switch expressions' instead of 'text blocks'

Reviewed-by: phh
Backport-of: 7d82479096
2024-04-29 08:33:59 +00:00
Sergey Bylokhov
e59f4fa6b2 8328194: Add a test to check default rendering engine
Backport-of: c013fa1811
2024-04-29 04:13:55 +00:00
Amos Shi
6f07ee48ed 8324733: [macos14] Problem list tests which fail due to macOS bug described in JDK-8322653
Backport-of: d1e676360d
2024-04-28 21:48:57 +00:00
María Arias de Reyna
262cacb238 8320061: [nmt] Multiple issues with peak accounting
Reviewed-by: shade, stuefe
Backport-of: dc256fbc64
2024-04-26 11:14:49 +00:00
Jonathan Dowland
1d01cd7361 8315889: Open source several Swing HTMLDocument related tests
Backport-of: 8f46abc938
2024-04-26 09:17:02 +00:00
Aleksey Shipilev
2331bc75b0 8329013: StackOverflowError when starting Apache Tomcat with signed jar
Backport-of: 925d82931c
2024-04-25 09:30:25 +00:00
Aleksey Shipilev
68d0925b09 8324933: ConcurrentHashTable::statistics_calculate synchronization is expensive
Backport-of: 0e2fdc95ae
2024-04-25 08:55:45 +00:00
Aleksey Shipilev
2626d73689 8327989: java/net/httpclient/ManyRequest.java should not use "localhost" in URIs
Backport-of: da4dd7c008
2024-04-25 08:11:14 +00:00
Aleksey Shipilev
9c0e18c2bb 8320924: Improve heap dump performance by optimizing archived object checks
Backport-of: f32ab8cc47
2024-04-25 08:11:01 +00:00
Aleksey Shipilev
41237fce95 8320707: Virtual thread test updates
Reviewed-by: simonis
Backport-of: b67b71cd87
2024-04-25 08:02:16 +00:00
Aleksey Shipilev
955fcc11f8 8310355: Move the stub test from initialize_final_stubs() to test/hotspot/gtest
Backport-of: 4b9ec82451
2024-04-25 08:00:19 +00:00
Sonia Zaldana Calles
031acf1c9f 8327096: (fc) java/nio/channels/FileChannel/Size.java fails on partition incapable of creating large files
Backport-of: 94b4ed5766
2024-04-23 13:29:53 +00:00
Sonia Zaldana Calles
324cef1ce3 8327971: Multiple ASAN errors reported for metaspace
8327988: When running ASAN, disable dangerous NMT test

Reviewed-by: stuefe, shade
Backport-of: 9e566d76d1
2024-04-23 10:59:24 +00:00
María Arias de Reyna
ac402fb4ba 8293850: need a largest_committed metric for each category of NMT's output
Reviewed-by: stuefe
Backport-of: 8647f001bb
2024-04-23 10:54:33 +00:00
Sonia Zaldana Calles
febbf357f5 8316242: Opensource SwingGraphics manual test
Backport-of: a57b9dab6c
2024-04-23 10:45:50 +00:00
Sonia Zaldana Calles
18616558d3 8316154: Opensource JTextArea manual tests
Backport-of: 33c62e4fff
2024-04-23 10:45:34 +00:00
Goetz Lindenmaier
a36d3deaec 8328957: Update PKCS11Test.java to not use hardcoded path
Backport-of: 16576b87b7
2024-04-23 07:36:01 +00:00
Goetz Lindenmaier
bb046b70fb 8320525: G1: G1UpdateRemSetTrackingBeforeRebuild::distribute_marked_bytes accesses partially unloaded klass
Backport-of: 21d361e944
2024-04-23 07:34:12 +00:00
Goetz Lindenmaier
ffdde9c2fe 8320331: G1 Full GC Heap verification relies on metadata not reset before verification
Backport-of: 1629a9059b
2024-04-23 07:32:07 +00:00
Amos Shi
d11a065405 8187759: Background not refreshed when painting over a transparent JFrame
Backport-of: 04d43c435d
2024-04-23 07:17:34 +00:00
Amos Shi
5880551e78 8318854: [macos14] Running any AWT app prints Secure coding warning
Backport-of: 940f67c1a6
2024-04-23 07:16:59 +00:00
Amos Shi
b56b6f53ae 8327136: javax/management/remote/mandatory/notif/NotifReconnectDeadlockTest.java fails on libgraal
Backport-of: 8f0fb27dec
2024-04-23 07:15:34 +00:00
Amos Shi
8e438ab8c7 8315824: Open source several Swing Text/HTML related tests
Backport-of: c11f8352e9
2024-04-23 07:14:53 +00:00
Amos Shi
1f43e2f864 8326006: Allow TEST_VM_FLAGLESS to set flagless mode
Backport-of: d10f277bd3
2024-04-23 07:14:16 +00:00
Amos Shi
a6931db9ee 8315071: Modify TrayIconScalingTest.java, PrintLatinCJKTest.java to use new PassFailJFrame's builder pattern usage
Backport-of: 31e26814db
2024-04-23 07:13:37 +00:00
Goetz Lindenmaier
af6c585423 8327474: Review use of java.io.tmpdir in jdk tests
Backport-of: 375bfac8e7
2024-04-22 14:01:24 +00:00
Goetz Lindenmaier
62993e7a1b 8328555: hidpi problems for test java/awt/Dialog/DialogAnotherThread/JaWSTest.java
Backport-of: 23ebd9c3c6
2024-04-22 13:59:03 +00:00
Goetz Lindenmaier
9b04df20e0 8327180: Failed: java/io/ObjectStreamClass/ObjectStreamClassCaching.java#G1
Backport-of: 85fc47c81a
2024-04-22 13:57:10 +00:00
Goetz Lindenmaier
d19b1a4ccc 8327486: java/util/Properties/PropertiesStoreTest.java fails "Text 'xxx' could not be parsed at index 20" after 8174269
Backport-of: e21da4caac
2024-04-22 13:55:30 +00:00
Vladimir Petko
667513aeb1 8325028: (ch) Pipe channels should lazily set socket to non-blocking mode on first use by virtual thread
Backport-of: d1099033ac
2024-04-22 08:53:37 +00:00
Aleksey Shipilev
515783b86c 8328166: Epsilon: 'EpsilonHeap::allocate_work' misuses the parameter 'size' as size in bytes
Backport-of: 90ab52e598
2024-04-22 07:47:02 +00:00
Goetz Lindenmaier
7c6379146e 8319955: Improve dependencies removal during class unloading
Reviewed-by: stuefe
Backport-of: fbe19378c3
2024-04-19 10:56:07 +00:00
Goetz Lindenmaier
2a3c4fc1e4 8318109: Writing JFR records while a CHT has taken its lock asserts in rank checking
Reviewed-by: mbaesken, sgehwolf
Backport-of: 9f767aa44b
2024-04-19 10:54:43 +00:00
Goetz Lindenmaier
5a94e48505 8317600: VtableStubs::stub_containing() table load not ordered wrt to stores
Reviewed-by: adinn
Backport-of: c566dfccf8
2024-04-19 10:53:13 +00:00
Goetz Lindenmaier
41c8606efb 8316959: Improve InlineCacheBuffer pending queue management
Reviewed-by: roland
Backport-of: c9985720b9
2024-04-19 10:51:55 +00:00
Goetz Lindenmaier
f341621cc7 8323685: PrintSystemDictionaryAtExit has mutex rank assert
Backport-of: 2865afe759
2024-04-19 10:47:23 +00:00
Goetz Lindenmaier
e63addbc4d 8315503: G1: Code root scan causes long GC pauses due to imbalanced iteration
8317440: Lock rank checking fails when code root set is modified with the Servicelock held after JDK-8315503
8318720: G1: Memory leak in G1CodeRootSet after JDK-8315503

Reviewed-by: sgehwolf, shade
Backport-of: 795e5dcc85
2024-04-19 10:14:36 +00:00
Andrew Lu
686399a5be 8318599: HttpURLConnection cache issues leading to crashes in JGSS w/ native GSS introduced by 8303809
Backport-of: f1a24f6d48
2024-04-19 09:50:37 +00:00
Aleksey Shipilev
6c5500bba6 8318986: Improve GenericWaitBarrier performance
Backport-of: 30462f9da4
2024-04-19 09:48:40 +00:00
Gui Cao
f0f2e70f84 8326936: RISC-V: Shenandoah GC crashes due to incorrect atomic memory operations
8316186: RISC-V: Remove PlatformCmpxchg<4>
8330242: RISC-V: Simplify and remove CORRECT_COMPILER_ATOMIC_SUPPORT in atomic_linux_riscv.hpp

Reviewed-by: fyang
Backport-of: a089ed2b92
2024-04-19 09:46:54 +00:00
Goetz Lindenmaier
7743b6ca05 Merge 2024-04-17 11:34:36 +00:00
Robert Toyonaga
8fa8e02de9 8305931: jdk/jfr/jcmd/TestJcmdDumpPathToGCRoots.java failed with "Expected chains but found none"
Backport-of: 65be5e0c54
2024-04-16 15:10:52 +00:00
Robert Toyonaga
fc7d8f80d9 8326521: JFR: CompilerPhase event test fails on windows 32 bit
Backport-of: 96530bcc07
2024-04-16 15:09:33 +00:00
Goetz Lindenmaier
b980e1c5d6 8328988: [macos14] Problem list LightweightEventTest.java which fails due to macOS bug described in JDK-8322653
Backport-of: 2374d1e334ba0528b39239a01fe52d5843e678df
2024-04-16 08:27:51 +00:00
Goetz Lindenmaier
e9e042b2d9 8327631: Update IANA Language Subtag Registry to Version 2024-03-07
Backport-of: d5b95a0ed3
2024-04-16 08:26:38 +00:00
Goetz Lindenmaier
f95de5b202 8320714: java/util/Locale/LocaleProvidersRun.java and java/util/ResourceBundle/modules/visibility/VisibilityTest.java timeout after passing
Backport-of: 69c0b24386
2024-04-16 08:25:15 +00:00
Andrew Lu
0dd4808640 8328540: test javax/swing/JSplitPane/4885629/bug4885629.java fails on windows hidpi
Backport-of: fa823bd21c
2024-04-16 01:57:57 +00:00
Severin Gehwolf
f5c0d7824f 8329961: Buffer overflow in os::Linux::kernel_version
Backport-of: 279ed0ddd5
2024-04-15 08:24:02 +00:00
Matthias Baesken
eec41a48a8 8328589: unify os::breakpoint among posix platforms
Backport-of: 93d1700f23
2024-04-15 07:39:08 +00:00
Sidraya Jayagond
807f21d698 8329545: [s390x] Fix garbage value being passed in Argument Register
Backport-of: e0fd6c4c9e
2024-04-12 08:54:17 +00:00
Gui Cao
1825464160 8329823: RISC-V: Need to sync CPU features with related JVM flags
Backport-of: b9331cd25c
2024-04-11 12:41:04 +00:00
Goetz Lindenmaier
db750ffb89 8320349: Simplify FileChooserSymLinkTest.java by using single-window testUI
Backport-of: b1cb37432a
2024-04-11 09:56:47 +00:00
Goetz Lindenmaier
dc53669291 8318322: Update IANA Language Subtag Registry to Version 2023-10-16
Backport-of: cc8f8da293
2024-04-11 09:55:24 +00:00
Goetz Lindenmaier
db8ea85c7d 8303959: tools/jpackage/share/RuntimePackageTest.java fails with java.lang.AssertionError missing files
Backport-of: 5a6aa569aa
2024-04-11 09:26:56 +00:00
Goetz Lindenmaier
d1caa3fdf8 8313899: JVMCI exception Translation can fail in TranslatedException.<clinit>
Backport-of: 6f5c903d10
2024-04-11 09:25:20 +00:00
Goetz Lindenmaier
c993c0cd99 8313702: Update IANA Language Subtag Registry to Version 2023-08-02
Backport-of: 1da82a34b1
2024-04-11 09:20:06 +00:00
Christoph Langer
fbb424f95d 8325579: Inconsistent behavior in com.sun.jndi.ldap.Connection::createSocket
Backport-of: 92d6fa4abec1fdf8e57723e4490be0ba4f97e59d
2024-04-11 08:38:52 +00:00
Soumadipta Roy
ba4ad2b487 8316608: Enable parallelism in vmTestbase/gc/vector tests
Backport-of: f61499c73f
2024-04-11 07:09:54 +00:00
Andrew Lu
fb10dd97ed 8281658: Add a security category to the java -XshowSettings option
Backport-of: 2e12a123c9
2024-04-11 02:01:33 +00:00
Aleksey Shipilev
249d89632c 8328702: C2: Crash during parsing because sub type check is not folded
Backport-of: e5e21a8a6e
2024-04-10 18:13:01 +00:00
Goetz Lindenmaier
6f609576d5 8328037: Test java/util/Formatter/Padding.java has unnecessary high heap requirement after JDK-8326718
Backport-of: 128e60a29f
2024-04-10 09:58:59 +00:00
Goetz Lindenmaier
c254affaf2 8321718: ProcessTools.executeProcess calls waitFor before logging
Backport-of: 9ab29f8dcd
2024-04-10 09:57:44 +00:00
Goetz Lindenmaier
38a2173d54 8318585: Rename CodeCache::UnloadingScope to UnlinkingScope
Reviewed-by: sgehwolf
Backport-of: 4eab39d941
2024-04-10 09:46:29 +00:00
Goetz Lindenmaier
e0d2248145 8311881: jdk/javax/swing/ProgressMonitor/ProgressTest.java does not show the ProgressMonitorInputStream all the time
Backport-of: 197981b431
2024-04-10 09:45:21 +00:00
Aleksey Shipilev
8173c6489d 8329570: G1: Excessive is_obj_dead_cond calls in verification
Backport-of: 29992e1fca
2024-04-10 06:43:01 +00:00
Amos Shi
e95e6feed5 8305645: System Tray icons get corrupted when Windows primary monitor changes
Backport-of: 6cd370e04b
2024-04-09 18:16:23 +00:00
Matthias Baesken
88abc6adb5 8328604: remove on_aix() function
Backport-of: 940d1965f8
2024-04-09 08:53:55 +00:00
Gui Cao
fd507393b4 8315652: RISC-V: Features string uses wrong separator for jtreg
Reviewed-by: rehn
Backport-of: cbbfa0ddfb
2024-04-09 08:40:49 +00:00
Aleksey Shipilev
d5f44dcae2 8319650: Improve heap dump performance with class metadata caching
Reviewed-by: phh
Backport-of: 03db82818b
2024-04-09 05:58:24 +00:00
Goetz Lindenmaier
b9ca253228 8325203: System.exit(0) kills the launched 3rd party application
Backport-of: 6944537c3e
2024-04-08 20:55:58 +00:00
Elif Aslan
1c4479fd39 8325567: jspawnhelper without args fails with segfault
Backport-of: 2627470946
2024-04-08 20:21:25 +00:00
Goetz Lindenmaier
35f291b957 8326718: Test java/util/Formatter/Padding.java should timeout on large inputs before fix in JDK-8299677
Backport-of: 4f336085d1
2024-04-08 12:24:51 +00:00
Goetz Lindenmaier
2a56bfbb6a 8316451: 6 java/lang/instrument/PremainClass tests ignore VM flags
Backport-of: 9029bf644e
2024-04-08 12:23:36 +00:00
Goetz Lindenmaier
d5c170ac5c 8319578: Few java/lang/instrument ignore test.java.opts and accept test.vm.opts only
Backport-of: 3ebe6c192a
2024-04-08 12:21:53 +00:00
Goetz Lindenmaier
e5ee283bc9 8321163: [test] OutputAnalyzer.getExitValue() unnecessarily logs even when process has already completed
Backport-of: 672f37324f
2024-04-08 12:20:02 +00:00
Goetz Lindenmaier
3b3ec13364 8314975: JavadocTester should set source path if not specified
Backport-of: 2f4d601a56
2024-04-08 12:18:26 +00:00
Goetz Lindenmaier
e5c1031e1f 8293069: Make -XX:+Verbose less verbose
Backport-of: 238c51e621
2024-04-08 12:13:21 +00:00
Dan Lutker
8ed46c2b0e 8294699: Launcher causes lingering busy cursor
Backport-of: d3df3eb5d7
2024-04-08 06:58:00 +00:00
Christoph Langer
05f18b1062 8329838: [21u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 21.0.3
Reviewed-by: goetz
2024-04-08 08:22:11 +02:00
Goetz Lindenmaier
e1f8f838d7 8316460: 4 javax/management tests ignore VM flags
Backport-of: d39b7bab27
2024-04-05 19:12:41 +00:00
Goetz Lindenmaier
85ca789303 8318962: Update ProcessTools javadoc with suggestions in 8315097
Backport-of: 7e4cb2f09d
2024-04-05 19:11:13 +00:00
Goetz Lindenmaier
40b1c4b3c8 8308453: Convert JKS test keystores in test/jdk/javax/net/ssl/etc to PKCS12
Backport-of: 1696603ccd
2024-04-05 19:09:59 +00:00
Goetz Lindenmaier
ccaa6d7ebf 8303773: Replace "main.wrapper" with "test.thread.factory" property in test code
Backport-of: 89987dbf87
2024-04-05 19:08:31 +00:00
Matthias Baesken
b80fb5e6d4 8327468: Do not restart close if errno is EINTR [macOS/linux]
Backport-of: 481c866df8
2024-04-05 06:50:18 +00:00
Matthias Baesken
bdf57475ef 8328709: AIX os::get_summary_cpu_info support Power 10
Backport-of: b235682a18
2024-04-05 06:47:31 +00:00
Matthias Baesken
c05f3bf4a4 8328776: [AIX] remove checked_vmgetinfo, use vmgetinfo directly
Backport-of: cf9b5a71bd
2024-04-05 06:44:49 +00:00
Goetz Lindenmaier
1563c54a7f 8319153: Fix: Class is a raw type in ProcessTools
Backport-of: 1c2ea1d27b
2024-04-04 20:55:16 +00:00
Goetz Lindenmaier
702d337294 8304839: Move TestScaffold.main() to the separate class DebugeeWrapper
Backport-of: ee9776fa23
2024-04-04 20:53:40 +00:00
Goetz Lindenmaier
74dcc30d5f 8288936: Wrong lock ordering writing G1HeapRegionTypeChange JFR event
Backport-of: 0eb0997ae4
2024-04-04 20:49:48 +00:00
Aleksey Shipilev
fbc5871c08 8328638: Fallback option for POST-only OCSP requests
8329213: Better validation for com.sun.security.ocsp.useget option

Reviewed-by: serb
Backport-of: 614db2ea9e
2024-04-04 16:08:27 +00:00
Martin Balao
778a6c4030 8319851: Improve exception logging
Reviewed-by: mbaesken
Backport-of: 87dfeeb14fdd0fa1648a8bec91b5b713cc2c1b83
2024-04-03 16:49:53 +02:00
Christoph Langer
78e35ea113 8185862: AWT Assertion Failure in ::GetDIBits(hBMDC, hBM, 0, 1, 0, gpBitmapInfo, 0) 'awt_Win32GraphicsDevice.cpp', at line 185
Backport-of: dcca5daaf7f51c6579369c6ba3430a3d7962dbf2
2024-04-03 12:08:11 +00:00
Goetz Lindenmaier
620250b8e6 8317965: TestLoadLibraryDeadlock.java fails with "Unable to load native library.: expected true, was false"
8319265: TestLoadLibraryDeadlock.java fails on windows-x64 "Unable to load b.jar"

Backport-of: 5207443b36
2024-04-03 09:48:18 +00:00
Goetz Lindenmaier
d2c6be9425 8317350: Move code cache purging out of CodeCache::UnloadingScope
Backport-of: bd3bc2c618
2024-04-03 09:46:34 +00:00
Goetz Lindenmaier
c094d7e42f 8317677: Specialize Vtablestubs::entry_for() for VtableBlob
Backport-of: 1082c0e767
2024-04-03 09:45:32 +00:00
Goetz Lindenmaier
0839687095 8317235: Remove Access API use in nmethod class
Backport-of: c47a0ce3f0
2024-04-03 09:40:16 +00:00
Goetz Lindenmaier
32ab4a2ab6 8316669: ImmutableOopMapSet destructor not called
Backport-of: 3d6e775d71
2024-04-03 09:30:21 +00:00
Goetz Lindenmaier
7c5ff9aac5 8316670: Remove effectively unused nmethodBucket::_count
Backport-of: 837783c2d3
2024-04-03 09:28:57 +00:00
Goetz Lindenmaier
92b237c461 8315485: (fs) Move java/nio/file/Path/Misc.java tests into java/nio/file/Path/PathOps.java
Reviewed-by: lucy
Backport-of: 8dfde28b28
2024-04-03 09:26:28 +00:00
Goetz Lindenmaier
618a7baa1f 8315998: Remove dead ClassLoaderDataGraphKlassIteratorStatic
Backport-of: 347beb21aa
2024-04-03 09:11:38 +00:00
Goetz Lindenmaier
8d3151f098 8316002: Remove unnecessary seen_dead_loader in ClassLoaderDataGraph::do_unloading
Backport-of: 50158f393e
2024-04-03 09:08:52 +00:00
Goetz Lindenmaier
fa5cc58822 8315605: G1: Add number of nmethods in code roots scanning statistics
Backport-of: 7ef059a75c
2024-04-03 09:00:18 +00:00
Goetz Lindenmaier
80cf08aa0b 8294985: SSLEngine throws IAE during parsing of X500Principal
Backport-of: 80edd5c298
2024-04-03 08:58:07 +00:00
Aleksey Shipilev
9e6fb8287a 8328592: hprof tests fail with -XX:-CompactStrings
Backport-of: bb3e84bd1f
2024-04-03 06:50:39 +00:00
Long Yang
342ae64964 8319876: Reduce memory consumption of VM_ThreadDump::doit
Reviewed-by: phh
Backport-of: 8ec6b8de3b
2024-04-03 01:27:52 +00:00
Taizo Kurashige
4c7b1d93d9 8313710: jcmd: typo in the documentation of JFR.start and JFR.dump
Backport-of: 16d917a85f
2024-04-02 09:13:22 +00:00
Elif Aslan
0bbb8033ab 8318727: Enable parallelism in vmTestbase/vm/gc/concurrent tests
Backport-of: 29d462a072
2024-04-02 09:11:43 +00:00
Elif Aslan
f5dfd8be58 8311823: JFR: Uninitialized EventEmitter::_thread_id field
Backport-of: 9688ec2d0d
2024-04-02 09:11:30 +00:00
María Arias de Reyna
d17aa5ed00 8319437: NMT should show library names in call stacks
Backport-of: e33b6c10f8
2024-04-02 08:40:56 +00:00
Goetz Lindenmaier
2800d8bc70 8326643: JDK server does not send a dummy change_cipher_spec record after HelloRetryRequest message
Backport-of: d44aaa37f9
2024-04-01 16:25:08 +00:00
Goetz Lindenmaier
245de5938d 8309752: com/sun/jdi/SetLocalWhileThreadInNative.java fails with virtual test thread factory due to OpaqueFrameException
Backport-of: 1612b6dc6e
2024-04-01 16:21:29 +00:00
Andrew Lu
6791646b9f 8328812: Update and move siphash license
Backport-of: ce7ebaa606
2024-04-01 01:57:12 +00:00
Elif Aslan
c263bc5ee7 8327998: Enable java/lang/ProcessBuilder/JspawnhelperProtocol.java on Mac
Backport-of: cc1800fa4d
2024-03-28 18:11:31 +00:00
Andrew Lu
0bfb53c878 8323994: gtest runner repeats test name for every single gtest assertion
Backport-of: 1aae980c54
2024-03-28 07:59:55 +00:00
Andrew Lu
7751996220 8326661: sun/java2d/cmm/ColorConvertOp/ColConvTest.java assumes profiles were generated by LCMS
Backport-of: 1f43fa0f8b
2024-03-28 07:59:30 +00:00
Goetz Lindenmaier
e3f36477d4 8280056: gtest/LargePageGtests.java#use-large-pages failed "os.release_one_mapping_multi_commits_vm"
Backport-of: 66520be7a7
2024-03-27 10:02:16 +00:00
Martin Balao
517bd93d01 8322122: Enhance generation of addresses
Backport-of: 1a4a46e102a2bc282fcbec571169867d715f4ade
2024-03-27 07:55:30 +01:00
Alexey Bakhtin
5378f80a1d 8318340: Improve RSA key implementations
Reviewed-by: mbalao
Backport-of: 62d9cec1d6b804a70381bfb8ac902b6bb649f8ae
2024-03-27 07:26:13 +01:00
Yuri Nesterenko
8eba98ad61 8315708: Enhance HTTP/2 client usage
Reviewed-by: mbalao
Backport-of: 4bd9637dfe12d330afd7409c27c5778b28a24cf4
2024-03-26 22:44:18 +01:00
Aleksey Shipilev
f2a013bd33 8328825: Google CAInterop test failures
Backport-of: 70a15c7363
2024-03-26 11:05:42 +00:00
Aleksey Shipilev
a2557bbe1a 8328948: GHA: Restoring sysroot from cache skips the build after JDK-8326960
Backport-of: 447436e18c
2024-03-26 08:19:04 +00:00
Goetz Lindenmaier
c33815ad3c 8327261: Parsing test for Double/Float succeeds w/o testing all bad cases
Backport-of: 9f7094079b
2024-03-25 18:03:02 +00:00
Goetz Lindenmaier
660c00a7fc 8319648: java/lang/SecurityManager tests ignore vm flags
Backport-of: 437cf354e2
2024-03-25 18:00:58 +00:00
Goetz Lindenmaier
bb2ddc0818 8326948: Force English locale for timeout formatting
Backport-of: e772e78179
2024-03-25 17:59:04 +00:00
Goetz Lindenmaier
aa1fe7a120 8326824: Test: remove redundant test in compiler/vectorapi/reshape/utils/TestCastMethods.java
Backport-of: 552411f832
2024-03-25 17:58:45 +00:00
Goetz Lindenmaier
1dfda33a1f 8319651: Several network tests ignore vm flags when start java process
Backport-of: 9538f5d317
2024-03-25 17:56:54 +00:00
Goetz Lindenmaier
2836734607 8324236: compiler/ciReplay/TestInliningProtectionDomain.java failed with RuntimeException: should only dump inline information for ... expected true, was false
Backport-of: 72ba8178a8
2024-03-25 17:55:22 +00:00
Goetz Lindenmaier
098656d11e 8319571: Update jni/nullCaller/NullCallerTest.java to accept flags or mark as flagless
Backport-of: b78896b9aa
2024-03-25 17:54:59 +00:00
Aleksey Shipilev
438c41afd0 8328705: GHA: Cross-compilation jobs do not require build JDK
Backport-of: 29ba4b7d1e
2024-03-25 17:51:32 +00:00
Goetz Lindenmaier
dbb3dfdd42 8322858: compiler/c2/aarch64/TestFarJump.java fails on AArch64 due to unexpected PrintAssembly output
Backport-of: 52a6c37558
2024-03-25 17:51:15 +00:00
Goetz Lindenmaier
d59d00d50f 8319647: Few java/lang/System/LoggerFinder/modules tests ignore vm flags
Backport-of: 62b7c5eaed
2024-03-25 17:49:27 +00:00
Goetz Lindenmaier
998ba93ace 8319567: Update java/lang/invoke tests to support vm flags
8319568: Update java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java to accept vm flags
8319672: Several classloader tests ignore VM flags
8319676: A couple of jdk/modules/incubator/ tests ignore VM flags
8319677: Test jdk/internal/misc/VM/RuntimeArguments.java should be marked as flagless

Backport-of: 1588dd934c
2024-03-25 17:45:56 +00:00
Goetz Lindenmaier
bb8b64635c 8319574: Exec/process tests should be marked as flagless
Backport-of: 68110b7a82
2024-03-25 14:34:14 +00:00
Goetz Lindenmaier
f96f632e6a 8315741: Open source few swing JFormattedTextField and JPopupMenu tests
Backport-of: bfbc41c1f1
2024-03-25 14:32:45 +00:00
Goetz Lindenmaier
6b85c74f3b 8316164: Opensource JMenuBar manual test
Backport-of: 8f4dfc443b
2024-03-25 14:31:00 +00:00
Sonia Zaldana Calles
7d4a6fc01b 8326591: New test JmodExcludedFiles.java fails on Windows when --with-external-symbols-in-bundles=public is used
Backport-of: 43c6f0b588
2024-03-25 13:31:15 +00:00
Sonia Zaldana Calles
3050bf3bd0 8159927: Add a test to verify JMOD files created in the images do not have debug symbols
Backport-of: 6c0bebccb0
2024-03-25 10:28:27 +00:00
Sonia Zaldana Calles
5694ad27ab 8303972: (zipfs) Make test/jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java independent of the zip command line
8301183: (zipfs) jdk/jdk/nio/zipfs/TestLocOffsetFromZip64EF.java failing with ZipException:R0 on OL9

Backport-of: 7004c2724d
2024-03-25 10:28:09 +00:00
Sonia Zaldana Calles
39f717876a 8324998: Add test cases for String.regionMatches comparing Turkic dotted/dotless I with uppercase latin I
Backport-of: c3c1d5bd12
2024-03-25 10:26:41 +00:00
Aleksey Shipilev
8c6e32dc0e 8326960: GHA: RISC-V sysroot cannot be debootstrapped due to ongoing Debian t64 transition
Backport-of: f207aa94f9
2024-03-25 08:53:01 +00:00
Matthias Baesken
77d6dfd854 8328165: improve assert(idx < _maxlrg) failed: oob
Backport-of: d57bdd85ab
2024-03-22 08:26:13 +00:00
Andrew Lu
bac3b94c10 8315663: Open source misc awt tests
Backport-of: a36f5a54ab
2024-03-22 02:12:50 +00:00
Andrew Lu
9228cdda84 8312383: Log X509ExtendedKeyManager implementation class name in TLS/SSL connection
Backport-of: bdd1aebea3
2024-03-22 02:12:22 +00:00
Goetz Lindenmaier
d9539f599a 8325908: Finish removal of IntlTest and CollatorTest
Backport-of: 4c7b313e0d
2024-03-21 12:28:48 +00:00
Goetz Lindenmaier
8ecc67bdb8 8303891: Speed up Zip64SizeTest using a small ZIP64 file
8259866: two java.util tests failed with "IOException: There is not enough space on the disk"

Backport-of: 842b895f09
2024-03-21 12:25:04 +00:00
Aleksey Shipilev
cc918abe2f 8319048: Monitor deflation unlink phase prolongs time to safepoint
Backport-of: efc392259c
2024-03-21 09:49:41 +00:00
Goetz Lindenmaier
376f880a6d Merge 2024-03-20 10:27:35 +00:00
Goetz Lindenmaier
6a89849e11 8328524: [x86] StringRepeat.java failure on linux-x86: Could not reserve enough space for 2097152KB object heap
Backport-of: eebcc2181f
2024-03-20 08:59:10 +00:00
Goetz Lindenmaier
f17d3863c1 8317631: Refactor ChoiceFormat tests to use JUnit
Backport-of: 5e8d893c48
2024-03-20 08:55:19 +00:00
Alexander Scherbatiy
93a4707f13 7001133: OutOfMemoryError by CustomMediaSizeName implementation
Backport-of: 10335f60f9
2024-03-19 17:36:25 +00:00
Alexander Scherbatiy
6b0cfd441e 8320365: IPPPrintService.getAttributes() causes blanket re-initialisation
Backport-of: 91ffdfb1fc
2024-03-19 15:17:21 +00:00
Oli Gillespie
eaa8ed9900 8324646: Avoid Class.forName in SecureRandom constructor
Reviewed-by: shade
Backport-of: 8ef918d667
2024-03-19 14:14:56 +00:00
Robert Toyonaga
c8ddf40f1a 8326529: JFR: Test for CompilerCompile events fails due to time out
Backport-of: 4dd6c44cbd
2024-03-19 14:10:38 +00:00
Goetz Lindenmaier
eb4f76e5b8 8328066: WhiteBoxResizeTest failure on linux-x86: Could not reserve enough space for 2097152KB object heap
Backport-of: dde519dc21
2024-03-19 14:07:09 +00:00
Goetz Lindenmaier
196a851b13 8223696: java/net/httpclient/MaxStreams.java failed with didn't finish within the time-out
Backport-of: 95310eab6c
2024-03-19 14:04:58 +00:00
Goetz Lindenmaier
700fd39911 8322920: Some ProcessTools.execute* functions are declared to throw Throwable
Backport-of: 868f8745fa
2024-03-19 14:02:50 +00:00
Goetz Lindenmaier
6632caa01a 8288989: Make tests not depend on the source code
Backport-of: 2838a916ab
2024-03-19 13:58:25 +00:00
Goetz Lindenmaier
81f621d83d 8316696: Remove the testing base classes: IntlTest and CollatorTest
Backport-of: b859da9c54
2024-03-19 13:56:13 +00:00
Goetz Lindenmaier
dc6afd04f8 8312320: Remove javax/rmi/ssl/SSLSocketParametersTest.sh from ProblemList
Backport-of: 8d29329138
2024-03-19 13:55:07 +00:00
Goetz Lindenmaier
b3e81769c1 8309757: com/sun/jdi/ReferrersTest.java fails with virtual test thread factory
Backport-of: d7251c1755
2024-03-19 13:51:40 +00:00
Oli Gillespie
06e4cf37df 8315559: Delay TempSymbol cleanup to avoid symbol table churn
8321276: runtime/cds/appcds/dynamicArchive/DynamicSharedSymbols.java failed with "'17 2: jdk/test/lib/apps ' missing from stdout/stderr"

Reviewed-by: coleenp
Backport-of: d23f4f12ad
2024-03-19 11:33:17 +00:00
Aleksey Shipilev
9e1840f952 8325613: CTW: Stale method cleanup requires GC after Sweeper removal
Backport-of: 1281e18f14
2024-03-19 09:20:43 +00:00
Long Yang
2de8cfaa2e 8327799: JFR view: the "Park Until" field of jdk.ThreadPark is invalid if the parking method is not absolute
Backport-of: 6f8b0a33fa
2024-03-19 08:35:23 +00:00
Aleksey Shipilev
d1af31b609 8318757: VM_ThreadDump asserts in interleaved ObjectMonitor::deflate_monitor calls
8319896: Remove monitor deflation from final audit
8320515: assert(monitor->object_peek() != nullptr) failed: Owned monitors should not have a dead object
8325437: Safepoint polling in monitor deflation can cause massive logs

Reviewed-by: stefank, adinn
Backport-of: 87be6b69fe
2024-03-18 08:59:10 +00:00
Goetz Lindenmaier
07fc624683 8327391: Add SipHash attribution file
Backport-of: fcf48ab3d3
2024-03-15 08:50:52 +00:00
Dan Lutker
cc65d0da53 8325372: Shenandoah: SIGSEGV crash in unnecessary_acquire due to LoadStore split through phi
Reviewed-by: shade
Backport-of: 5d414da504
2024-03-14 22:18:52 +00:00
Goetz Lindenmaier
6d8d049e4a 8324632: Update Zlib Data Compression Library to Version 1.3.1
8315117: Update Zlib Data Compression Library to Version 1.3
8326351: Update the Zlib version in open/src/java.base/share/legal/zlib.md to 1.3.1

Backport-of: b5c267fc8a
2024-03-14 20:22:26 +00:00
Goetz Lindenmaier
5431b82d06 8322239: [macos] a11y : java.lang.NullPointerException is thrown when focus is moved on the JTabbedPane
Backport-of: 3b1062d45d
2024-03-14 20:18:46 +00:00
Goetz Lindenmaier
5762df6f81 8321489: Update LCMS to 2.16
Backport-of: dc7d3b182d
2024-03-14 20:16:38 +00:00
Goetz Lindenmaier
a69c4370a7 8316559: Refactor some util/Calendar tests to JUnit
Backport-of: 355811a996
2024-03-14 20:14:53 +00:00
Goetz Lindenmaier
390e647d41 8313612: Use JUnit in lib-test/jdk tests
Backport-of: a35e96a3fa
2024-03-14 20:13:46 +00:00
Goetz Lindenmaier
539b04edc4 8314832: Few runtime/os tests ignore vm flags
Backport-of: fc3e826692
2024-03-14 20:12:15 +00:00
Goetz Lindenmaier
0d3a4e294a 8310818: Refactor more Locale tests to use JUnit
Backport-of: 12e9430910
2024-03-14 20:10:46 +00:00
Goetz Lindenmaier
166aad07e0 8310731: Configure a javax.net.ssl.SNIMatcher for the HTTP/1.1 test servers in java/net/httpclient tests
Backport-of: 05e9c41edd
2024-03-14 20:09:15 +00:00
Goetz Lindenmaier
58b3403ada 8310234: Refactor Locale tests to use JUnit
Backport-of: dad7bd9efc
2024-03-14 20:08:02 +00:00
William Kemper
e3b6098b4c 8322503: Shenandoah: Clarify gc state usage
Reviewed-by: shade
Backport-of: 51238c4bdb
2024-03-14 17:09:38 +00:00
Andrew Lu
93fd1a1d5c 8324238: [macOS] java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java fails with the shape has not been applied msg
Backport-of: 62c9530c05
2024-03-14 09:04:45 +00:00
William Kemper
ad5a0878db 8321815: Shenandoah: gc state should be synchronized to java threads only once per safepoint
Reviewed-by: phh
Backport-of: 808a03927c
2024-03-13 16:08:48 +00:00
Matthias Baesken
608c98de87 8326496: [test] checkHsErrFileContent support printing hserr in error case
Backport-of: a065eba56d
2024-03-13 10:31:27 +00:00
Matthias Baesken
d42da09461 8325743: test/jdk/java/nio/channels/unixdomain/SocketOptions.java enhance user name output in error case
Backport-of: d0039960c4
2024-03-13 08:53:04 +00:00
Andrew Lu
2a6688f6ce 8320129: "top" command during jtreg failure handler does not display CPU usage on OSX
Backport-of: 8be3e39220
2024-03-13 08:22:44 +00:00
Matthias Baesken
da02da7dd3 8325432: enhance assert message "relocation addr must be in this section"
Backport-of: 3d3a8f0ebf
2024-03-13 08:20:11 +00:00
Suchismith Roy
c80be84cdd 8320005: Allow loading of shared objects with .a extension on AIX
Backport-of: e85355ada4
2024-03-12 12:23:16 +00:00
Martin Doerr
44fdfc7e91 8326101: [PPC64] Need to bailout cleanly if creation of stubs fails when code cache is out of space
Backport-of: e3ae81eeeee8e2b0063a576a90624dd927b512f0
2024-03-12 12:15:26 +00:00
Andrew Lu
c8e9f1d5d3 8320113: [macos14] : ShapeNotSetSometimes.java fails intermittently on macOS 14
Backport-of: f1b73350c2
2024-03-12 09:23:54 +00:00
Andrew Lu
7f5afa186a 8326891: Prefer RPATH over RUNPATH for $ORIGIN rpaths in internal JDK binaries
Backport-of: 721bfee53a
2024-03-12 09:23:28 +00:00
Andrew Lu
7505194e6b 8320342: Use PassFailJFrame for TruncatedPopupMenuTest.java
Backport-of: 1f2922ad85
2024-03-12 02:17:55 +00:00
Sonia Zaldana Calles
779204c941 8320570: NegativeArraySizeException decoding >1G UTF8 bytes with non-ascii characters
Reviewed-by: phh
Backport-of: 82796bdebb
2024-03-11 22:22:14 +00:00
Ludovic Henry
d4e336d4b7 8321075: RISC-V: UseSystemMemoryBarrier lacking proper OS support
Reviewed-by: rehn, fyang
Backport-of: 68eb5a1df5
2024-03-11 13:14:15 +00:00
Andrew Leonard
e2858b5c98 8326685: Linux builds not reproducible if two builds configured in different build folders
Backport-of: 3b90ddfefe
2024-03-11 11:01:27 +00:00
Amos Shi
8f08066962 8266242: java/awt/GraphicsDevice/CheckDisplayModes.java failing on macOS 11 ARM
Backport-of: f7d6d7a04f
2024-03-11 09:21:38 +00:00
Aleksey Shipilev
a75d19dea5 8318455: Fix the compiler/sharedstubs/SharedTrampolineTest.java and SharedStubToInterpTest.java
Reviewed-by: phh
Backport-of: 4a16d111b1
2024-03-11 09:18:50 +00:00
Matthias Baesken
c0b5fdf0f2 8326140: src/jdk.accessibility/windows/native/libjavaaccessbridge/AccessBridgeJavaEntryPoints.cpp ReleaseStringChars might be missing in early returns
Backport-of: d9ef16dbb6
2024-03-11 08:24:52 +00:00
Long Yang
50f447c5f4 8326446: The User and System of jdk.CPULoad on Apple M1 are inaccurate
Backport-of: 8dbd4b391f
2024-03-11 08:16:55 +00:00
Matthias Baesken
3086ed8864 8324834: Use _LARGE_FILES on AIX
Backport-of: 8e45182357
2024-03-11 08:15:08 +00:00
Matthias Baesken
83cc4cb50d 8327059: os::Linux::print_proc_sys_info add swappiness information
Backport-of: f3b15abcb7
2024-03-11 08:08:50 +00:00
Amos Shi
624e6034a7 8315834: Open source several Swing JSpinner related tests
Backport-of: 4a63eb0522
2024-03-08 05:42:31 +00:00
Amos Shi
066af44353 8325137: com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java can fail in Xcomp with out of expected range
Backport-of: 91d8dac9cf
2024-03-08 05:39:48 +00:00
Amos Shi
8e439ba64a 8317287: [macos14] InterJVMGetDropSuccessTest.java: Child VM: abnormal termination
Backport-of: cbfddf4e1d
2024-03-08 05:39:33 +00:00
Amos Shi
9a8d91a99f 8315677: Open source few swing JFileChooser and other tests
Backport-of: fe5ef5f20d
2024-03-08 05:38:20 +00:00
Martin Doerr
c4c4b22c0b 8325326: [PPC64] Don't relocate in case of allocation failure
Backport-of: 4388095cde
2024-03-08 05:37:04 +00:00
Sonia Zaldana Calles
c26cad3027 8278527: java/util/concurrent/tck/JSR166TestCase.java fails nanoTime test
Backport-of: 54f09d7345
2024-03-07 15:10:20 +00:00
Goetz Lindenmaier
315d051f68 8314828: Mark 3 jcmd command-line options test as vm.flagless
8316228: jcmd tests are broken by 8314828

Backport-of: 23fab1181b
2024-03-07 11:42:14 +00:00
Goetz Lindenmaier
ab6e02744f 8320712: Rewrite BadFactoryTest in pure Java
Backport-of: 66971600f7
2024-03-07 10:44:22 +00:00
Goetz Lindenmaier
40f0254b43 8323276: StressDirListings.java fails on AIX
Backport-of: e5aed6be7a
2024-03-07 10:40:54 +00:00
Goetz Lindenmaier
d4823c21e1 8322477: order of subclasses in the permits clause can differ between compilations
Reviewed-by: mdoerr
Backport-of: 5ba69e1734
2024-03-07 10:35:32 +00:00
Goetz Lindenmaier
0b01febb9e 8319757: java/nio/channels/DatagramChannel/InterruptibleOrNot.java failed: wrong exception thrown
Backport-of: ace010b38a
2024-03-07 10:33:50 +00:00
Goetz Lindenmaier
e7994c1d6a 8303525: Refactor/cleanup open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.java
Backport-of: 704c6ea16c
2024-03-07 10:30:39 +00:00
Goetz Lindenmaier
5838aed21e 8314824: Fix serviceability/jvmti/8036666/GetObjectLockCount.java to use vm flags
Backport-of: 93e82c0146
2024-03-07 10:29:30 +00:00
Goetz Lindenmaier
45e20c5a5c 8311792: java/net/httpclient/ResponsePublisher.java fails intermittently with AssertionError: Found some outstanding operations
Backport-of: 1664e793eb
2024-03-07 10:28:18 +00:00
Goetz Lindenmaier
22672926ea 8310070: Test: javax/net/ssl/DTLS/DTLSWontNegotiateV10.java timed out
Backport-of: af7f95e24a
2024-03-07 10:27:09 +00:00
Goetz Lindenmaier
47c67bda68 8309763: Move tests in test/jdk/sun/misc/URLClassPath directory to test/jdk/jdk/internal/loader
Backport-of: 57fc9a3e96
2024-03-07 10:23:44 +00:00
SendaoYan
e328bf37fc 8325024: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java incorrect comment information
Backport-of: 432756b6e5
2024-03-07 10:14:45 +00:00
SendaoYan
5c3dfe46a5 8316563: test tools/jpackage/linux/LinuxResourceTest.java fails on CentOS Linux release 8.5.2111 and Fedora 27
Backport-of: 52814994ef
2024-03-07 10:13:07 +00:00
Sonia Zaldana Calles
e8d2535856 8315609: Open source few more swing text/html tests
Backport-of: a04c6c1ac6
2024-03-07 10:12:05 +00:00
Sonia Zaldana Calles
555f824c76 8315898: Open source swing JMenu tests
Backport-of: fecd2fd8f2
2024-03-07 10:11:51 +00:00
Andrew Lu
bfaec80e80 8325972: Add -x to bash for building with LOG=debug
Backport-of: 8668198c26
2024-03-07 08:07:50 +00:00
Andrew Lu
e071843318 8326638: Crash in PhaseIdealLoop::remix_address_expressions due to unexpected Region instead of Loop
Backport-of: 9f0e7da64e
2024-03-07 08:07:18 +00:00
Richard Reingruber
ad1d32484a 8327036: [macosx-aarch64] SIGBUS in MarkActivationClosure::do_code_blob reached from Unsafe_CopySwapMemory0
Reviewed-by: mdoerr
2024-03-06 09:05:25 +00:00
Goetz Lindenmaier
930344ad6f Merge 2024-03-06 08:19:55 +00:00
Goetz Lindenmaier
4244cb0d99 8306040: HttpResponseInputStream.available() returns 1 on empty stream
Backport-of: acaab6fd74
2024-03-05 11:57:40 +00:00
Oli Gillespie
d6ad625603 8324648: Avoid NoSuchMethodError when instantiating NativePRNG
Backport-of: 69b2674c68
2024-03-05 10:55:30 +00:00
Sergey Bylokhov
29bf21fd99 8322750: Test "api/java_awt/interactive/SystemTrayTests.html" failed because A blue ball icon is added outside of the system tray
Backport-of: 5a988a5087
2024-03-05 03:24:52 +00:00
Sonia Zaldana Calles
2d62854922 8320343: Generate GIF images for AbstractButton/5049549/bug5049549.java
Backport-of: 9481d06e62
2024-03-04 17:50:11 +00:00
Matthias Baesken
fdbed07d38 8325862: set -XX:+ErrorFileToStderr when executing java in containers for some container related jtreg tests
Backport-of: 9f4ec21f47
2024-03-04 11:46:03 +00:00
Aleksey Shipilev
dbcce04ae9 8323519: Add applications/ctw/modules to Hotspot tiered testing
Backport-of: ba3c3bbd87
2024-03-04 11:19:49 +00:00
Andrew Lu
500d85aad7 8318580: "javax/swing/MultiMonitor/MultimonVImage.java failing with Error. Can't find library: /open/test/jdk/java/awt/regtesthelpers" after JDK-8316053
Backport-of: e4803e0cbf
2024-03-04 03:09:00 +00:00
Sergey Bylokhov
ee6445c495 8323210: Update the usage of cmsFLAGS_COPY_ALPHA
Backport-of: aba19334ea
2024-03-02 02:44:31 +00:00
KIRIYAMA Takuya
94634c08e6 8313394: Array Elements in OldObjectSample event has the incorrect description
Backport-of: e8c325dea3
2024-03-01 15:15:17 +00:00
Patrick Zhang
4243aed457 8324824: AArch64: Detect Ampere-1B core and update default options for Ampere CPUs
Backport-of: 9936aeea32
2024-03-01 09:39:07 +00:00
Liang Mao
e667521b09 8324123: aarch64: fix prfm literal encoding in assembler
Backport-of: bde87895c8
2024-02-29 16:27:30 +00:00
Aleksey Shipilev
76ebcc19d7 8322846: Running with -Djdk.tracePinnedThreads set can hang
Backport-of: faa9c6909d
2024-02-29 09:24:54 +00:00
Jiří Vaněk
2d791b8b85 8323170: j2dbench is using outdated javac source/target to be able to build by itself
Backport-of: b5df2f4314
2024-02-28 17:50:25 +00:00
Aleksey Shipilev
3eb5517b73 8315373: Change VirtualThread to unmount after freezing, re-mount before thawing
8312498: Thread::getState and JVM TI GetThreadState should return TIMED_WAITING virtual thread is timed parked
8312777: notifyJvmtiMount before notifyJvmtiUnmount
8321270: Virtual Thread.yield consumes parking permit
8322818: Thread::getStackTrace can fail with InternalError if virtual thread is timed-parked when pinned
8323002: test/jdk/java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java times out on macosx-x64
8323296: java/lang/Thread/virtual/stress/GetStackTraceALotWhenPinned.java#id1 timed out
8316924: java/lang/Thread/virtual/stress/ParkALot.java times out

Backport-of: 9a83d55887
2024-02-28 15:36:10 +00:00
Martin Doerr
cea29fe9f0 8325213: Flags introduced by configure script are not passed to ADLC build
Backport-of: 9ee9f28849
2024-02-28 08:26:29 +00:00
Aleksey Shipilev
677556d2ec 8320275: assert(_chunk->bitmap().at(index)) failed: Bit not set at index
8323595: is_aligned(p, alignof(OopT))) assertion fails in Jetty without compressed OOPs

Reviewed-by: phh
Backport-of: e9e694f4ef
2024-02-28 08:04:42 +00:00
Aleksey Shipilev
8ac431347f 8324723: GHA: Upgrade some actions to avoid deprecated Node 16
Backport-of: 951b5f8ecb
2024-02-28 07:39:55 +00:00
Andrew Lu
dc8759c631 8316053: Open some swing tests 3
Backport-of: a2391a92cd
2024-02-28 07:05:02 +00:00
Liang Mao
ef13a82916 8324817: Parallel GC does not pre-touch all heap pages when AlwaysPreTouch enabled and large page disabled
Backport-of: 80642dd7af
2024-02-28 02:50:14 +00:00
Goetz Lindenmaier
64b70beeb3 8326773: Bump update version for OpenJDK: jdk-21.0.4
Reviewed-by: sgehwolf
2024-02-27 18:54:59 +00:00
Christoph Langer
36b5ac46ed 8323664: java/awt/font/JNICheck/FreeTypeScalerJNICheck.java still fails with JNI warning on some Windows configurations
Backport-of: 99c9ae127c
2024-02-27 09:50:34 +00:00
Matthias Baesken
4296ddfc63 8325496: Make TrimNativeHeapInterval a product switch
Backport-of: d31fd78d96
2024-02-27 09:24:21 +00:00
Sergey Bylokhov
1b7c5aff86 8321151: JDK-8294427 breaks Windows L&F on all older Windows versions
Backport-of: f695ca5884
2024-02-26 18:15:04 +00:00
Matthias Baesken
55f9bcf0bd 8325876: crashes in docker container tests on Linuxppc64le Power8 machines
Backport-of: ba8db1f6d7
2024-02-26 11:03:01 +00:00
Matthias Baesken
69aa4ab1f5 8325470: [AIX] use fclose after fopen in read_psinfo
Backport-of: 4513da9496
2024-02-26 10:53:01 +00:00
Andrew Lu
08f9237234 8320303: Allow PassFailJFrame to accept single window creator
Backport-of: 83ffc1ac94
2024-02-26 07:21:51 +00:00
Christoph Langer
8ddff70215 8326000: Remove obsolete comments for class sun.security.ssl.SunJSSE
Backport-of: c2d9fa26ce
2024-02-23 09:11:27 +00:00
Matthias Baesken
2c38047019 8314835: gtest wrappers should be marked as flagless
Backport-of: 1ea6463fbb
2024-02-23 07:50:28 +00:00
Martin Balao
c80bb728db 8325254: CKA_TOKEN private and secret keys are not necessarily sensitive
Backport-of: 0f5f3c9b97
2024-02-23 07:43:47 +00:00
Pasam Soujanya
e69b61133b 8311893: Interactive component with ARIA role 'tabpanel' does not have a programmatically associated name
Reviewed-by: hannesw
Backport-of: 783ae56634
2024-02-22 13:43:14 +00:00
Aleksey Shipilev
290cd1171f 8321408: Add Certainly roots R1 and E1
Backport-of: f3073db42a
2024-02-22 09:25:00 +00:00
Aleksey Shipilev
9adc281a50 8325074: ZGC fails assert(index == 0 || is_power_of_2(index)) failed: Incorrect load shift: 11
Backport-of: 2705ed0a71
2024-02-22 09:24:47 +00:00
Andrew Lu
3b4932b0b3 8315726: Open source several AWT applet tests
Backport-of: 1741d13b12
2024-02-22 09:07:53 +00:00
SendaoYan
92d533e782 8323640: [TESTBUG]testMemoryFailCount in jdk/internal/platform/docker/TestDockerMemoryMetrics.java always fail because OOM killed
Backport-of: 791b427f44
2024-02-21 13:55:18 +00:00
Liang Mao
36569de5e4 8314629: Generational ZGC: Clearing All SoftReferences log line lacks GCId
Backport-of: 88dafe564f
2024-02-21 09:53:47 +00:00
Darragh Clarke
90c9f70e7c 8314164: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails intermittently in timeout
Backport-of: fbaaac63d4
2024-02-21 09:52:36 +00:00
Ilya Gavrilin
4fcc5c7486 8322790: RISC-V: Tune costs for shuffles with no conversion
Backport-of: 2acb5bd992
2024-02-20 11:26:42 +00:00
Evgeny Astigeevich
a9792a8420 8324874: AArch64: crypto pmull based CRC32/CRC32C intrinsics clobber V8-V15 registers
Backport-of: 4cd318756d
2024-02-19 15:47:35 +00:00
Aleksey Shipilev
d6f4f5ed74 8318737: Fallback linker passes bad JNI handle
Backport-of: 3885dc5b9a
2024-02-19 15:40:29 +00:00
Joachim Kern
4d4c47d92f 8320890: [AIX] Find a better way to mimic dl handle equality
Reviewed-by: mdoerr
Backport-of: b8ae4a8c09
2024-02-19 09:51:00 +00:00
Aleksey Shipilev
93be33ca28 8325672: C2: allocate PhaseIdealLoop::_loop_or_ctrl from C->comp_arena()
Backport-of: 74b90aa87e
2024-02-19 08:30:01 +00:00
Aleksey Shipilev
70112e33ae 8315891: java/foreign/TestLinker.java failed with "error occurred while instantiating class TestLinker: null"
Backport-of: a62c48b87e
2024-02-19 07:32:55 +00:00
Amos Shi
e181516611 8315602: Open source swing security manager test
Backport-of: fd6442c079
2024-02-19 07:32:36 +00:00
Sergey Bylokhov
70fa49ed58 8324347: Enable "maybe-uninitialized" warning for FreeType 2.13.1
Backport-of: 781f368d42
2024-02-16 17:21:56 +00:00
Sergey Bylokhov
1c92a05724 8318603: Parallelize sun/java2d/marlin/ClipShapeTest.java
Backport-of: 6c7029ffd4
2024-02-16 02:30:51 +00:00
Andrew John Hughes
941ca60ac4 8009550: PlatformPCSC should load versioned so
Backport-of: 328b381075
2024-02-15 13:41:02 +00:00
Aleksey Shipilev
fb19cb3c35 8319314: NMT detail report slow or hangs for large number of mappings
Reviewed-by: phh
Backport-of: 9938b3f62b
2024-02-15 09:07:51 +00:00
Aleksey Shipilev
3da175b2de 8323717: Introduce test keyword for tests that need external dependencies
Backport-of: 12b89cd2ee
2024-02-15 08:49:49 +00:00
Aleksey Shipilev
24fae7abaa 8324514: ClassLoaderData::print_on should print address of class loader
Backport-of: fb822e49f2
2024-02-15 08:49:33 +00:00
Aleksey Shipilev
786c5fb1e5 8324858: [vectorapi] Bounds checking issues when accessing memory segments
Reviewed-by: psandoz
Backport-of: 1ae851387f
2024-02-14 11:53:34 +00:00
Aleksey Shipilev
ecdc22eafb 8305962: update jcstress to 0.16
Backport-of: 292ee630ae
2024-02-14 11:42:59 +00:00
Aleksey Shipilev
3f3500811d 8323515: Create test alias "all" for all test roots
8324647: Invalid test group of lib-test after JDK-8323515

Backport-of: 8b9bf75880
2024-02-14 11:41:40 +00:00
George Adams
b9cf41daf1 8325194: GHA: Add macOS M1 testing
8325444: GHA: JDK-8325194 causes a regression

Reviewed-by: shade
Backport-of: d1c82156ba
2024-02-13 10:58:45 +00:00
Matthias Baesken
4031ff4518 8324753: [AIX] adjust os_posix after JDK-8318696
Backport-of: 8950d68ddb
2024-02-13 08:54:01 +00:00
Andrew Leonard
b0e9a61a52 8323671: DevKit build gcc libraries contain full paths to source location
Backport-of: dd0694b9cb
2024-02-12 15:28:21 +00:00
Andrew Leonard
5f32918870 8323667: Library debug files contain non-reproducible full gcc include paths
Backport-of: 57fad67781
2024-02-12 15:18:02 +00:00
George Adams
79bd47a78c 8318039: GHA: Bump macOS and Xcode versions
Backport-of: 605c976729
2024-02-12 10:41:33 +00:00
Dan Lutker
b30f9aaf7a 8325150: (tz) Update Timezone Data to 2024a
Backport-of: 917838e0a5
2024-02-09 22:36:15 +00:00
Sergey Bylokhov
0604ce7f38 8309109: AArch64: [TESTBUG] compiler/intrinsics/sha/cli/TestUseSHA3IntrinsicsOptionOnSupportedCPU.java fails on Neoverse N2 and V1
Reviewed-by: aph
Backport-of: afdaa2a330
2024-02-08 20:45:30 +00:00
Matthias Baesken
bed2eaa5a8 8324637: [aix] Implement support for reporting swap space in jdk.management
Backport-of: 33324a59cc
2024-02-08 11:25:07 +00:00
Matthias Baesken
d08f24a25c 8324598: use mem_unit when working with sysinfo memory and swap related information
Backport-of: 7a798d3ceb
2024-02-08 10:22:27 +00:00
Matthias Baesken
cfceb1186b 8323964: runtime/Thread/ThreadCountLimit.java fails intermittently on AIX
Backport-of: 3696765b7d
2024-02-08 10:20:57 +00:00
Aleksey Shipilev
98e6d04946 8319777: Zero: Support 8-byte cmpxchg
8320582: Zero: Misplaced CX8 enablement flag

Reviewed-by: phh
Backport-of: 6b96bb640a
2024-02-08 09:27:12 +00:00
Aleksey Shipilev
4d62dfa318 8316961: Fallback implementations for 64-bit Atomic::{add,xchg} on 32-bit platforms
Backport-of: ba7d08b819
2024-02-07 07:44:27 +00:00
Aleksey Shipilev
57956950c9 8325096: Test java/security/cert/CertPathBuilder/akiExt/AKISerialNumber.java is failing
Backport-of: ac1cd31949
2024-02-06 15:59:55 +00:00
Aleksey Shipilev
447f58cf94 8321410: Shenandoah: Remove ShenandoahSuspendibleWorkers flag
Backport-of: 2830dd2a7d
2024-02-06 15:58:04 +00:00
Aleksey Shipilev
85f4f38ca5 8322957: Generational ZGC: Relocation selection must join the STS
Reviewed-by: eosterlund, stefank
Backport-of: ba23025cd8
2024-02-06 15:56:37 +00:00
Matthias Baesken
f15349b1e8 8313670: Simplify shared lib name handling code in some tests
Reviewed-by: mdoerr, lucy
Backport-of: 6dba2026d7
2024-02-06 12:56:35 +00:00
Goetz Lindenmaier
e75ca5a3d2 8309697: [TESTBUG] Remove "@requires vm.flagless" from jtreg vectorization tests
Reviewed-by: shade
Backport-of: a03954e6c5
2024-02-05 12:38:47 +00:00
Aleksey Shipilev
38c5df13ab 8323637: Capture hotspot replay files in GHA
Backport-of: c84c0ab52d
2024-02-03 21:38:25 +00:00
Aleksey Shipilev
0b79e90dd8 8324937: GHA: Avoid multiple test suites per job
Backport-of: 1aba78f272
2024-02-03 21:37:10 +00:00
Aleksey Shipilev
c6ebfdfe97 8320052: Zero: Use __atomic built-ins for atomic RMW operations
Backport-of: 020c9007f8
2024-02-03 10:00:21 +00:00
Joachim Kern
ffab458d5c 8319382: com/sun/jdi/JdwpAllowTest.java shows failures on AIX if prefixLen of mask is larger than 32 in IPv6 case
Backport-of: 22642ff0aa
2024-01-31 13:06:43 +00:00
Aleksey Shipilev
869df3bf7c 8323101: C2: assert(n->in(0) == nullptr) failed: divisions with zero check should already have bailed out earlier in split-if
Backport-of: 7e0a4ed629
2024-01-31 12:58:02 +00:00
Amos Shi
0466741713 8315611: Open source swing text/html and tree test
Backport-of: ae08143d3d
2024-01-31 12:53:26 +00:00
Olga Mikhaltsova
c971925a87 8318157: RISC-V: implement ensureMaterializedForStackWalk intrinsic
Backport-of: d6b4aa01a2
2024-01-30 21:13:28 +00:00
Aleksey Shipilev
2518d2039f 8323154: C2: assert(cmp != nullptr && cmp->Opcode() == Op_Cmp(bt)) failed: no exit test
Backport-of: 6997bfc68d
2024-01-30 09:46:49 +00:00
Goetz Lindenmaier
9bc6bd6d87 8320943: Files/probeContentType/Basic.java fails on latest Windows 11 - content type mismatch
Backport-of: 87516e29dc
2024-01-30 09:26:43 +00:00
Goetz Lindenmaier
5df2a5c7ec 8313507: Remove pkcs11/Cipher/TestKATForGCM.java from ProblemList
Backport-of: e8471f6bbe
2024-01-30 09:25:25 +00:00
Amos Shi
45b428fc97 8315600: Open source few more headless Swing misc tests
Backport-of: b05198a4f3
2024-01-30 08:18:38 +00:00
Amos Shi
dead33343c 8274122: java/io/File/createTempFile/SpecialTempFile.java fails in Windows 11
Backport-of: 4a142c3b08
2024-01-30 08:17:14 +00:00
Gui Cao
14f62ace5f 8324280: RISC-V: Incorrect implementation in VM_Version::parse_satp_mode
Backport-of: e7fdac9d5c
2024-01-29 14:30:16 +00:00
Aleksey Shipilev
7f40804afd 8324659: GHA: Generic jtreg errors are not reported
Backport-of: c313d451a5
2024-01-29 09:12:28 +00:00
Andrew Lu
ca85d55062 8315761: Open source few swing JList and JMenuBar tests
Backport-of: bb6b3f2486
2024-01-29 08:23:20 +00:00
Anton Hägerstrand
a9498e516a 8322142: JFR: Periodic tasks aren't orphaned between recordings
Backport-of: 1551928502
2024-01-26 16:11:50 +00:00
Andrew Lu
bf7c218392 8321480: ISO 4217 Amendment 176 Update
Backport-of: 8b24851b9d
2024-01-26 02:17:35 +00:00
Andrew Lu
e2cabfe1ad 8316947: Write a test to check textArea triggers MouseEntered/MouseExited events properly
Backport-of: 00ef9f9c32
2024-01-26 02:15:51 +00:00
William Kemper
2adc2b4f8a 8317535: Shenandoah: Remove unused code
Reviewed-by: kdnilsen, ysr
Backport-of: e942f368c3
2024-01-25 20:10:08 +00:00
Liang Mao
711ab38435 8322255: Generational ZGC: ZPageSizeMedium should be set before MaxTenuringThreshold
Backport-of: 0ad6c9e3d9
2024-01-25 09:20:49 +00:00
Goetz Lindenmaier
cc189ffc09 8295343: sun/security/pkcs11 tests fail on Linux RHEL 8.6 and newer
Backport-of: 6ce0ebb858
2024-01-25 09:05:51 +00:00
Aleksey Shipilev
e87638c321 8321122: Shenandoah: Remove ShenandoahLoopOptsAfterExpansion flag
Backport-of: b02fc8681e
2024-01-24 19:24:23 +00:00
Aleksey Shipilev
90d7b17f5e 8321120: Shenandoah: Remove ShenandoahElasticTLAB flag
Backport-of: 93b9235f19
2024-01-24 17:36:18 +00:00
Aleksey Shipilev
7fcfea5292 8324050: Issue store-store barrier after re-materializing objects during deoptimization
Reviewed-by: kvn
Backport-of: 52523d33dd
2024-01-24 16:56:45 +00:00
Aleksey Shipilev
34d97ab142 8321269: Require platforms to define DEFAULT_CACHE_LINE_SIZE
Backport-of: a56286f7ad
2024-01-24 12:40:13 +00:00
Aleksey Shipilev
63e52ed061 8318468: compiler/tiered/LevelTransitionTest.java fails with -XX:CompileThreshold=100 -XX:TieredStopAtLevel=1
Backport-of: 61d0db3838
2024-01-24 12:39:51 +00:00
Aleksey Shipilev
ad2e114174 8323243: JNI invocation of an abstract instance method corrupts the stack
Backport-of: 71d9a83dec
2024-01-23 08:38:59 +00:00
Aleksey Shipilev
d69a0978cc 8322282: Incorrect LoaderConstraintTable::add_entry after JDK-8298468
Backport-of: bde650f21e
2024-01-23 08:26:16 +00:00
sunyaqi
80842442da 8316319: Generational ZGC: The SoftMaxHeapSize might be wrong when CDS decreases the MaxHeapSize
Backport-of: fe862639e7
2024-01-23 08:25:41 +00:00
Matthias Baesken
2697a9d1c2 8318696: Do not use LFS64 symbols on Linux
Reviewed-by: lucy
Backport-of: f4d08ccf80
2024-01-23 08:06:13 +00:00
Goetz Lindenmaier
1f9b03e597 8319128: sun/security/pkcs11 tests fail on OL 7.9 aarch64
8319136: Skip pkcs11 tests on linux-aarch64

Backport-of: c2e77e2f17
2024-01-23 08:05:52 +00:00
Goetz Lindenmaier
be8733b8b6 8319213: Compatibility.java reads both stdout and stderr of JdkUtils
Backport-of: 84f4f7477c
2024-01-23 07:59:56 +00:00
Goetz Lindenmaier
fae1a03073 8312416: Tests in Locale should have more descriptive names
Backport-of: a9a3463afb
2024-01-23 07:55:18 +00:00
Olga Mikhaltsova
ada400cffe 8318158: RISC-V: implement roundD/roundF intrinsics
Backport-of: 19147f326c
2024-01-22 10:37:22 +00:00
Andrew Lu
1dd2f2a8aa 8169475: WheelModifier.java fails by timeout
Backport-of: 613d32c282
2024-01-22 08:43:56 +00:00
Goetz Lindenmaier
e9be531942 8077371: Binary files in JAXP test should be removed
Backport-of: 40106422bd
2024-01-22 08:43:37 +00:00
Aleksey Shipilev
69416f4880 8318809: java/util/concurrent/ConcurrentLinkedQueue/WhiteBox.java shows intermittent failures on linux ppc64le and aarch64
Backport-of: 50d1839d54
2024-01-22 08:18:10 +00:00
Goetz Lindenmaier
c01bdbbfb1 8314283: Support for NSS tests on aarch64 platforms
Backport-of: 2a80160960
2024-01-19 15:48:23 +00:00
Johannes Bechberger
c3657ee028 8317771: [macos14] Expand/collapse a JTree using keyboard freezes the application in macOS 14 Sonoma
Reviewed-by: asemenov
Backport-of: ffa33d7b80
2024-01-19 15:47:54 +00:00
Liang Mao
95e36bc7e9 8322279: Generational ZGC: Use ZFragmentationLimit and ZYoungCompactionLimit as percentage instead of multiples
Reviewed-by: eosterlund
Backport-of: bf813be0f3
2024-01-19 09:35:01 +00:00
Goetz Lindenmaier
644393769f 8323008: filter out harmful -std* flags added by autoconf from CXX
Backport-of: 68c4286026
2024-01-18 16:03:23 +00:00
Richard Reingruber
c8f04185f1 8310031: Parallel: Implement better work distribution for large object arrays in old gen
Backport-of: 4bfe226870
2024-01-18 14:54:00 +00:00
Goetz Lindenmaier
0d30c8d497 8318590: JButton ignores margin when painting HTML text
Backport-of: acaf2c8dcf
2024-01-18 14:23:09 +00:00
Goetz Lindenmaier
8413dc0020 8312136: Modify runtime/ErrorHandling/TestDwarf.java to split dwarf and decoder testing
Backport-of: e2e8e8e210
2024-01-18 14:21:36 +00:00
Goetz Lindenmaier
c79c5efa4d 8315241: (fs) Move toRealPath tests in java/nio/file/Path/Misc.java to separate JUnit 5 test
Backport-of: dd64a4a483
2024-01-18 14:21:00 +00:00
Goetz Lindenmaier
7eea17b847 8311663: Additional refactoring of Locale tests to JUnit
Backport-of: 71cac8ce47
2024-01-18 14:18:41 +00:00
Matthias Baesken
419e01685b 8322098: os::Linux::print_system_memory_info enhance the THP output with /sys/kernel/mm/transparent_hugepage/hpage_pmd_size
8323331: fix typo hpage_pdm_size

Reviewed-by: lucy
Backport-of: b31454e362
2024-01-18 08:36:12 +00:00
Chris Hegarty
309a16e609 8323659: LinkedTransferQueue add and put methods call overridable offer
Reviewed-by: shade
Backport-of: ee4d9aa4c1
2024-01-18 03:49:26 +00:00
Goetz Lindenmaier
e3084fc360 8304020: Speed up test/jdk/java/util/zip/ZipFile/TestTooManyEntries.java and clarify its purpose
Backport-of: f0b7eb519a
2024-01-17 21:31:45 +00:00
Goetz Lindenmaier
0668efa6a4 8317522: Test logic for BODY_CF in AbstractThrowingSubscribers.java is wrong
Backport-of: 4c5b66dcea
2024-01-17 21:26:50 +00:00
Goetz Lindenmaier
993a746e7d 8311986: Disable runtime/os/TestTracePageSizes.java for ShenandoahGC
Backport-of: 167d1c1835
2024-01-17 21:22:47 +00:00
Goetz Lindenmaier
2981858526 8315721: CloseRace.java#id0 fails transiently on libgraal
Backport-of: 1be355734d
2024-01-17 21:22:16 +00:00
Goetz Lindenmaier
ba59249dc9 8310923: Refactor Currency tests to use JUnit
Backport-of: e848d9471f
2024-01-17 21:16:20 +00:00
Goetz Lindenmaier
a51c74db29 8306922: IR verification fails because IR dump is chopped up
Backport-of: 9057b35033
2024-01-17 21:14:23 +00:00
William Kemper
f0115385b6 8323428: Shenandoah: Unused memory in regions compacted during a full GC should be mangled
Backport-of: a7db4feceb
2024-01-17 18:17:10 +00:00
Sonia Zaldana Calles
32a4568ec4 8318613: ChoiceFormat patterns are not well tested
Backport-of: 10427c023a
2024-01-17 16:11:17 +00:00
Sonia Zaldana Calles
1e8c226da5 8316106: Open source few swing JInternalFrame and JMenuBar tests
Backport-of: 0775bf2f03
2024-01-17 16:10:55 +00:00
Sonia Zaldana Calles
8d536b6f10 8318154: Improve stability of WheelModifier.java test
Backport-of: 668d4b077f
2024-01-17 16:07:45 +00:00
Sonia Zaldana Calles
fcf9ebde63 8319103: Popups that request focus are not shown on Linux with Wayland
Backport-of: f3ed27582e
2024-01-17 16:07:18 +00:00
William Kemper
9ca8761555 8323086: Shenandoah: Heap could be corrupted by oom during evacuation
Backport-of: c4a83bd6f6
2024-01-17 16:02:41 +00:00
Goetz Lindenmaier
95142cf93b Merge 2024-01-17 15:51:29 +00:00
Aleksey Shipilev
b4c163d07b 8319372: C2 compilation fails with "Bad immediate dominator info"
Backport-of: 7766785098
2024-01-17 15:18:32 +00:00
Matthias Baesken
0ac1bb75a0 8317804: com/sun/jdi/JdwpAllowTest.java fails on Alpine 3.17 / 3.18
Backport-of: b530c0281b
2024-01-17 08:34:31 +00:00
Andrew Lu
9b5cd9dc43 8315594: Open source few headless Swing misc tests
Backport-of: 806ef0897b
2024-01-17 08:01:56 +00:00
Rob McKenna
375769c698 Merge 2024-01-16 16:19:00 +00:00
Aleksey Shipilev
f57f2cbaa0 8321164: javac with annotation processor throws AssertionError: Filling jrt:/... during JarFileObject[/...]
Backport-of: 03c4595173
2024-01-16 16:06:21 +00:00
Goetz Lindenmaier
551855c0dd 8310631: test/jdk/sun/nio/cs/TestCharsetMapping.java is spuriously passing
Backport-of: e3201d1d13
2024-01-16 14:25:09 +00:00
Goetz Lindenmaier
4b829786cc 8318971: Better Error Handling for Jar Tool When Processing Non-existent Files
Backport-of: 8ae309ebac
2024-01-16 09:04:12 +00:00
Goetz Lindenmaier
45df078510 8319124: Update XML Security for Java to 3.0.3
Reviewed-by: mbaesken
Backport-of: 1c0bd81a10
2024-01-16 09:02:01 +00:00
Aleksey Shipilev
77c743e527 8320888: Shenandoah: Enable ShenandoahVerifyOptoBarriers in debug builds
Backport-of: c86431767e
2024-01-16 08:34:04 +00:00
Aleksey Shipilev
b114a5e6a0 8320877: Shenandoah: Remove ShenandoahUnloadClassesFrequency support
Backport-of: b65ccff357
2024-01-16 08:33:39 +00:00
Aleksey Shipilev
7fe7cfce82 8320907: Shenandoah: Remove ShenandoahSelfFixing flag
Backport-of: 43c7f6a673
2024-01-16 08:22:56 +00:00
Aleksey Shipilev
1b5aeb9260 8323065: Unneccesary CodeBlob lookup in CompiledIC::internal_set_ic_destination
Backport-of: eb9e754b3a
2024-01-15 19:20:02 +00:00
Aleksey Shipilev
6ee8f47772 8322512: StringBuffer.repeat does not work correctly after toString() was called
Backport-of: df22fb322e
2024-01-15 19:17:46 +00:00
Aleksey Shipilev
e08eb0ec01 8321582: yield <primitive-type>.class not parsed correctly.
Backport-of: ce8399fd60
2024-01-15 15:16:06 +00:00
Christoph Langer
d92ff7c35a 8320309: AIX: pthreads created by foreign test library don't work as expected
Backport-of: 8b47a14958
2024-01-15 15:15:45 +00:00
Goetz Lindenmaier
cd166703a2 8318490: Increase timeout for JDK tests that are close to the limit when run with libgraal
Backport-of: 6f263111a1
2024-01-11 07:30:30 +00:00
Goetz Lindenmaier
2abfc99d2c 8310629: java/security/cert/CertPathValidator/OCSP/OCSPTimeout.java fails with RuntimeException Server not ready
Backport-of: b20dc1e9cd
2024-01-11 07:26:44 +00:00
Goetz Lindenmaier
1ea0d08048 8311992: Test java/lang/Thread/virtual/JfrEvents::testVirtualThreadPinned failed
Backport-of: 0d2196f8e5
2024-01-11 07:23:14 +00:00
Matthias Baesken
2bf21b4c87 8322783: prioritize /etc/os-release over /etc/SuSE-release in hs_err/info output
Backport-of: a8e4229852
2024-01-10 15:30:14 +00:00
Elif Aslan
4537bfa9cc 8318607: Enable parallelism in vmTestbase/nsk/stress/jni tests
Backport-of: 43f31d7385
2024-01-10 12:19:49 +00:00
Elif Aslan
a28d29c53b 8318608: Enable parallelism in vmTestbase/nsk/stress/threads tests
Backport-of: cee44a6255
2024-01-10 12:19:24 +00:00
Ichiroh Takiguchi
a1d7bcfd07 6928542: Chinese characters in RTF are not decoded
Backport-of: a26f7c03c7
2024-01-10 01:06:36 +00:00
Dan Lutker
d5b8c283ba 8322725: (tz) Update Timezone Data to 2023d
Backport-of: 2a9c3589d9
2024-01-09 17:24:59 +00:00
Aleksey Shipilev
9406448ce2 8316132: CDSProtectionDomain::get_shared_protection_domain should check for exception
Backport-of: 11394828b3
2024-01-09 17:21:55 +00:00
Aleksey Shipilev
36c21207f5 8321619: Generational ZGC: ZColorStoreGoodOopClosure is only valid for young objects
Reviewed-by: eosterlund
Backport-of: be49dabd0d
2024-01-09 16:24:15 +00:00
Goetz Lindenmaier
772ac17887 8210410: Refactor java.util.Currency:i18n shell tests to plain java tests
Backport-of: 2584bf87ae
2024-01-09 15:32:17 +00:00
Goetz Lindenmaier
c21a12d441 8296631: NSS tests failing on OL9 linux-aarch64 hosts
Reviewed-by: aph
Backport-of: 6e1aacdfba
2024-01-09 15:17:46 +00:00
William Kemper
d44b5dc7a6 8323021: Shenandoah: Encountered reference count always attributed to first worker thread
Backport-of: f0e2e4311b
2024-01-09 09:09:35 +00:00
Aleksey Shipilev
e652bb72d0 8310844: [AArch64] C1 compilation fails because monitor offset in OSR buffer is too large for immediate
Reviewed-by: aph
Backport-of: ade21a965f
2024-01-09 09:05:49 +00:00
Aleksey Shipilev
1a9c7ec2af 8318082: ConcurrentModificationException from IndexWriter
Reviewed-by: prappo, simonis
Backport-of: fc29a2e152
2024-01-09 08:48:29 +00:00
Aleksey Shipilev
b745bb515f 8319883: Zero: Use atomic built-ins for 64-bit accesses
Backport-of: 25f9af99be
2024-01-08 16:36:50 +00:00
Aleksey Shipilev
a85f3f8300 8320145: Compiler should accept final variable in Record Pattern
Backport-of: 4ba94ef69e
2024-01-08 12:08:42 +00:00
Oli Gillespie
1e6648867b 8321599: Data loss in AVX3 Base64 decoding
Backport-of: 13c11487f7
2024-01-08 10:33:59 +00:00
Goetz Lindenmaier
d4797b711e 8316693: Simplify at-requires checkDockerSupport()
Backport-of: 16fd43c5eb
2024-01-08 09:22:39 +00:00
Goetz Lindenmaier
dfc93243a8 8319879: Stress mode to randomize incremental inlining decision
Backport-of: 303757b3a0
2024-01-08 09:20:45 +00:00
Goetz Lindenmaier
307569f2c3 8319938: TestFileChooserSingleDirectorySelection.java fails with "getSelectedFiles returned empty array"
Backport-of: 4ef24e2596
2024-01-08 09:20:22 +00:00
Goetz Lindenmaier
db1fa92d74 8316594: C2 SuperWord: wrong result with hand unrolled loops
Reviewed-by: roland, shade
Backport-of: 3630af26e6
2024-01-08 09:13:52 +00:00
Goetz Lindenmaier
c8caefa5c3 8311279: TestStressIGVNAndCCP.java failed with different IGVN traces for the same seed
Backport-of: edb2be10fb
2024-01-08 09:08:51 +00:00
Goetz Lindenmaier
e8aa37dbe6 8310238: [test bug] javax/swing/JTableHeader/6889007/bug6889007.java fails
Backport-of: 2cf5c2f4b6
2024-01-08 09:07:11 +00:00
Goetz Lindenmaier
854c3191c3 8319569: Several java/util tests should be updated to accept VM flags
Backport-of: 2bb4b9398d
2024-01-08 07:15:16 +00:00
Goetz Lindenmaier
1f38afa6c6 8315097: Rename createJavaProcessBuilder
8318964: Fix build failures caused by 8315097

Reviewed-by: mdoerr
Backport-of: d52a995f35
2024-01-08 07:03:44 +00:00
Gui Cao
4bdda4b597 8322583: RISC-V: Enable fast class initialization checks
Backport-of: 5235cc987d
2024-01-06 12:14:33 +00:00
Tobias Hartmann
1c7197fe3b 8322985: [BACKOUT] 8318562: Computational test more than 2x slower when AVX instructions are used
Backport-of: ed9f3243f0
2024-01-05 17:57:50 +00:00
Jonathan Dowland
b3344f2422 8315731: Open source several Swing Text related tests
Backport-of: d475f61fd5
2024-01-05 15:32:31 +00:00
Aleksey Shipilev
49dd575df9 8320921: GHA: Parallelize hotspot_compiler test jobs
Backport-of: 694136909c
2024-01-05 09:59:39 +00:00
Aleksey Shipilev
579c56f0a5 8322321: Add man page doc for -XX:+VerifySharedSpaces
Backport-of: f7dc257a20
2024-01-05 09:59:30 +00:00
Aleksey Shipilev
5f2cf881b1 8322159: ThisEscapeAnalyzer crashes for erroneous code
Backport-of: 7455b1b527
2024-01-05 09:59:16 +00:00
Aleksey Shipilev
23a0b90597 8319548: Unexpected internal name for Filler array klass causes error in VisualVM
Backport-of: 05745e3f1d
2024-01-05 09:58:45 +00:00
Aleksey Shipilev
9f6036053e 8321974: Crash in ciKlass::is_subtype_of because TypeAryPtr::_klass is not initialized
Backport-of: c8ad7b7f84
2024-01-05 09:58:07 +00:00
Sergey Bylokhov
58b1b0cc35 8315042: NPE in PKCS7.parseOldSignedData
Backport-of: 8c0d026d0f
2024-01-04 19:17:58 +00:00
Jonathan Dowland
57b5147260 8315986: [macos14] javax/swing/JMenuItem/4654927/bug4654927.java: component must be showing on the screen to determine its location
Backport-of: e7486e8cfc
2024-01-04 09:11:43 +00:00
Aleksey Shipilev
966071a5f1 8309203: C2: remove copy-by-value of GrowableArray for InterfaceSet
Backport-of: 21cda19d05
2024-01-04 09:02:59 +00:00
Sergey Bylokhov
8fbd10bc5d 8301310: The SendRawSysexMessage test may cause a JVM crash
Backport-of: d725b73df0
2024-01-03 21:00:07 +00:00
Ravi Reddy
f423faa3e0 8322883: [BACKOUT] 8225377: type annotations are not visible to javac plugins across compilation boundaries
Backport-of: 18e97aa217
2024-01-03 14:13:43 +00:00
Ravi Reddy
18e97aa217 8322883: [BACKOUT] 8225377: type annotations are not visible to javac plugins across compilation boundaries
Reviewed-by: coffeys, robm
2024-01-03 13:30:55 +00:00
Aleksey Shipilev
9177319843 8319137: release _object in ObjectMonitor dtor to avoid races
Reviewed-by: rkennke
Backport-of: c39d001c7a
2024-01-03 12:38:24 +00:00
Sergey Bylokhov
dc899e2be2 8320937: support latest VS2022 MSC_VER in abstract_vm_version.cpp
Backport-of: eb44bafe77
2024-01-02 20:55:12 +00:00
Jan Kratochvil
3bf9212d43 8314610: hotspot can't compile with the latest of gtest because of <iomanip>
Backport-of: febc34dd28
2024-01-02 16:58:26 +00:00
Christoph Langer
24b3b2b66f 8322772: Clean up code after JDK-8322417
Reviewed-by: mbaesken
Backport-of: 32d80e2caf
2023-12-31 09:26:48 +00:00
Sandhya Viswanathan
98fb42563a 8320206: Some intrinsics/stubs missing vzeroupper on x86_64
Backport-of: 9b372e28ce
2023-12-30 17:36:23 +00:00
Goetz Lindenmaier
3465179458 8311588: C2: RepeatCompilation compiler directive does not choose stress seed randomly
Backport-of: 06a1a15d01
2023-12-30 15:12:11 +00:00
Goetz Lindenmaier
191fc6b50a 8316661: CompilerThread leaks CodeBlob memory when dynamically stopping compiler thread in non-product
Backport-of: edcc559f09
2023-12-29 14:13:29 +00:00
Goetz Lindenmaier
80c86c2e65 8316001: GC: Make TestArrayAllocatorMallocLimit use createTestJvm
Backport-of: 86dde5e02b
2023-12-29 14:13:10 +00:00
Goetz Lindenmaier
8517987ac1 8312428: PKCS11 tests fail with NSS 3.91
Backport-of: 1c598c2245
2023-12-29 14:11:10 +00:00
Goetz Lindenmaier
9e24862644 8313720: C2 SuperWord: wrong result with -XX:+UseVectorCmov -XX:+UseCMoveUnconditionally
Backport-of: d46f0fb318
2023-12-29 14:09:16 +00:00
Goetz Lindenmaier
4c5502d9ad 8310919: runtime/ErrorHandling/TestAbortVmOnException.java times out due to core dumps taking a long time on OSX
Backport-of: e5744b8120
2023-12-29 14:07:47 +00:00
Goetz Lindenmaier
03b01a93bc 8304292: Memory leak related to ClassLoader::update_class_path_entry_list
Backport-of: 88b4e3b853
2023-12-29 14:07:25 +00:00
Goetz Lindenmaier
a607f49ca2 8316309: AArch64: VMError::print_native_stack() crashes on Java native method frame
Backport-of: 2d38495b61
2023-12-28 12:26:10 +00:00
Goetz Lindenmaier
98c94fd1b9 8264899: C1: -XX:AbortVMOnException does not work if all methods in the call stack are compiled with C1 and there are no exception handlers
Backport-of: 826dcb5424
2023-12-28 12:25:47 +00:00
Goetz Lindenmaier
a17d0c4b3d 8315034: File.mkdirs() occasionally fails to create folders on Windows shared folder
Backport-of: 7ad700596f
2023-12-24 10:45:39 +00:00
Goetz Lindenmaier
b9d45b1539 8317144: Exclude sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java on Linux ppc64le
Backport-of: bc5a39bb54
2023-12-24 10:44:02 +00:00
Goetz Lindenmaier
5dad7db84b 8318983: Fix comment typo in PKCS12Passwd.java
Backport-of: 949846986f
2023-12-23 10:56:36 +00:00
Goetz Lindenmaier
52c0fc5c60 8316464: 3 sun/tools tests ignore VM flags
Backport-of: 993951b85e
2023-12-23 10:54:44 +00:00
Goetz Lindenmaier
b64402f41f 8316447: 8 sun/management/jmxremote tests ignore VM flags
Backport-of: 053f45695f
2023-12-23 10:51:09 +00:00
Aleksey Shipilev
72c372fe7f 8321542: C2: Missing ChaCha20 stub for x86_32 leads to crashes
Backport-of: 5718039a46
2023-12-22 18:11:36 +00:00
Sandhya Viswanathan
8695daa275 8321215: Incorrect x86 instruction encoding for VSIB addressing mode
Reviewed-by: shade
Backport-of: 027b5dbb6a
2023-12-22 18:11:19 +00:00
Martin Doerr
ca26279e36 8320830: [AIX] Dont mix os::dll_load() with direct dlclose() calls
Backport-of: 61653a1ff1
2023-12-22 15:54:59 +00:00
Goetz Lindenmaier
18f23901cc 8322418: Problem list gc/TestAllocHumongousFragment.java subtests for 8298781
Backport-of: 6de23bf36e
2023-12-22 10:27:14 +00:00
Goetz Lindenmaier
561ac59dca 8322417: Console read line with zero out should zero out when throwing exception
Backport-of: 2f917bff5c
2023-12-22 10:25:11 +00:00
Goetz Lindenmaier
e579716e51 8319456: jdk/jfr/event/gc/collection/TestGCCauseWith[Serial|Parallel].java : GC cause 'GCLocker Initiated GC' not in the valid causes
Backport-of: 7c7f8ea30d
2023-12-22 10:23:03 +00:00
Goetz Lindenmaier
c39247c5a6 8318689: jtreg is confused when folder name is the same as the test name
Backport-of: a9b31b587c
2023-12-22 10:20:59 +00:00
Goetz Lindenmaier
235ed4c888 8317358: G1: Make TestMaxNewSize use createTestJvm
Backport-of: 1a098356dd
2023-12-22 10:19:07 +00:00
Goetz Lindenmaier
dd080d3b5b 8316445: Mark com/sun/management/HotSpotDiagnosticMXBean/CheckOrigin.java as vm.flagless
Backport-of: ca5eee2fe3
2023-12-22 10:15:46 +00:00
Goetz Lindenmaier
bedc39b750 8314830: runtime/ErrorHandling/ tests ignore external VM flags
Reviewed-by: shade
Backport-of: b685ee00b2
2023-12-22 10:11:57 +00:00
Goetz Lindenmaier
0f1154dc5c 8314320: Mark runtime/CommandLine/ tests as flagless
Backport-of: f481477144
2023-12-22 10:10:00 +00:00
Goetz Lindenmaier
6b938b8e77 8310308: IR Framework: check for type and size of vector nodes
8314513: [IR Framework] Some internal IR Framework tests are failing after JDK-8310308 on PPC and Cascade Lake

Reviewed-by: mbaesken
Backport-of: a02d65efcc
2023-12-22 10:08:10 +00:00
Goetz Lindenmaier
506c4de9a2 8313854: Some tests in serviceability area fail on localized Windows platform
Backport-of: 49b29845f7
2023-12-22 10:05:08 +00:00
Gui Cao
7927315fb1 8321972: test runtime/Unsafe/InternalErrorTest.java timeout on linux-riscv64 platform
Backport-of: e8768ae08d
2023-12-22 01:51:36 +00:00
Liam Miller-Cushon
aaee2d7507 8322040: Missing array bounds check in ClassReader.parameter
Reviewed-by: sgehwolf
Backport-of: 20de541b13
2023-12-21 16:26:46 +00:00
Jaroslav Bachorik
636607b6bb 8313816: Accessing jmethodID might lead to spurious crashes
Backport-of: cdd1a6e851
2023-12-21 13:28:58 +00:00
Goetz Lindenmaier
e4056b9cee 8321409: Console read line with zero out should zero out underlying buffer in JLine (redux)
Backport-of: 4ed38f5ad5
2023-12-21 11:36:29 +00:00
Goetz Lindenmaier
12915c3a20 8261837: SIGSEGV in ciVirtualCallTypeData::translate_from
Backport-of: 1bb250c9e6
2023-12-21 11:24:48 +00:00
Goetz Lindenmaier
e0de68e320 8209595: MonitorVmStartTerminate.java timed out
Backport-of: a045258ae2
2023-12-21 11:23:08 +00:00
Goetz Lindenmaier
2f65dda068 8316462: sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java ignores VM flags
Backport-of: d6679031e0
2023-12-21 11:22:52 +00:00
Goetz Lindenmaier
840724babc 8317188: G1: Make TestG1ConcRefinementThreads use createTestJvm
Backport-of: a949824e98
2023-12-21 11:20:27 +00:00
Goetz Lindenmaier
a6c2398ff9 8317218: G1: Make TestG1HeapRegionSize use createTestJvm
Backport-of: 75b37e6d7e
2023-12-21 11:18:24 +00:00
Goetz Lindenmaier
a565d4978f 8317316: G1: Make TestG1PercentageOptions use createTestJvm
Backport-of: d8cd60588a
2023-12-21 11:16:24 +00:00
Goetz Lindenmaier
eb6fedc2fa 8317317: G1: Make TestG1RemSetFlags use createTestJvm
Backport-of: 5bd10521eb
2023-12-21 11:14:10 +00:00
Goetz Lindenmaier
4f6a2e6de6 8317343: GC: Make TestHeapFreeRatio use createTestJvm
Backport-of: c64bd3d671
2023-12-21 11:12:18 +00:00
Goetz Lindenmaier
5f7b7c5cd1 8317347: Parallel: Make TestInitialTenuringThreshold use createTestJvm
Backport-of: 6ee6171e81
2023-12-21 11:10:21 +00:00
Goetz Lindenmaier
4846aa25f9 8317228: GC: Make TestXXXHeapSizeFlags use createTestJvm
Backport-of: 7ca0ae9415
2023-12-21 11:08:11 +00:00
Goetz Lindenmaier
afa729ceef 8316446: 4 sun/management/jdp tests ignore VM flags
Backport-of: 5b311f20df
2023-12-21 11:06:04 +00:00
Goetz Lindenmaier
f4e7c0c8e0 8316562: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java times out after JDK-8314829
Backport-of: 54028e779b
2023-12-21 11:04:17 +00:00
Goetz Lindenmaier
e51457885e 8314829: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java ignores vm flags
Backport-of: e0f8d16833
2023-12-21 11:02:21 +00:00
Goetz Lindenmaier
1545967936 8313638: Add test for dump of resolved references
Reviewed-by: matsaave
Backport-of: 83dca6296e
2023-12-21 11:00:03 +00:00
Goetz Lindenmaier
ebd5179aa2 8314831: NMT tests ignore vm flags
Backport-of: 9bf3dee242
2023-12-21 10:58:09 +00:00
Goetz Lindenmaier
320cf855a7 8315406: [REDO] serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Backport-of: 5cbff24608
2023-12-21 10:48:28 +00:00
Goetz Lindenmaier
20dd66b207 8314333: Update com/sun/jdi/ProcessAttachTest.java to use ProcessTools.createTestJvm(..)
Backport-of: 7342f5a033
2023-12-21 10:35:21 +00:00
Goetz Lindenmaier
19d74b451a 8307408: Some jdk/sun/tools/jhsdb tests don't pass test JVM args to the debuggee JVM
Backport-of: 87b08b6e01
2023-12-21 10:29:52 +00:00
Goetz Lindenmaier
b806f56f54 8312916: Remove remaining usages of -Xdebug from test/hotspot/jtreg
Backport-of: e9daf4a018
2023-12-21 10:10:32 +00:00
Goetz Lindenmaier
80f129da20 8311581: Remove obsolete code and comments in TestLVT.java
Backport-of: 27de536b40
2023-12-21 10:08:50 +00:00
KIRIYAMA Takuya
9aad573ac8 8311081: KeytoolReaderP12Test.java fail on localized Windows platform
Backport-of: b4b2fecb42
2023-12-20 23:00:00 +00:00
Sonia Zaldana Calles
bd552ef842 8313229: DHEKeySizing.java should be modified to use TLS versions TLSv1, TLSv1.1, TLSv1.2
Backport-of: c698b45a7b
2023-12-20 15:23:27 +00:00
Matthias Baesken
34fc725b82 8317307: test/jdk/com/sun/jndi/ldap/LdapPoolTimeoutTest.java fails with ConnectException: Connection timed out: no further information
Backport-of: b9b82631bf
2023-12-20 11:32:33 +00:00
Matthias Baesken
3e4adb6fd4 8320168: handle setsocktopt return values
Backport-of: db1d82347b
2023-12-19 15:14:09 +00:00
Frederic Thevenet
c725f4bdcb 8321374: Add a configure option to explicitly set CompanyName property in VersionInfo resource for Windows exe/dll
Backport-of: 05f950934e
2023-12-19 13:55:57 +00:00
Aleksey Shipilev
2433635872 8314220: Configurable InlineCacheBuffer size
Backport-of: a40d8d97e8
2023-12-19 13:21:33 +00:00
Aleksey Shipilev
03acee85e6 8314578: Non-verifiable code is emitted when two guards declare pattern variables in colon-switch
Backport-of: 15588e08ed
2023-12-19 10:30:03 +00:00
Aleksey Shipilev
af6df7743b 8305971: NPE in JavacProcessingEnvironment for missing enum constructor body
Backport-of: 01ea1eff66
2023-12-19 10:29:40 +00:00
Aleksey Shipilev
f55a91a5d1 8319897: Move StackWatermark handling out of LockStack::contains
Backport-of: bbf52e0e4c
2023-12-19 10:23:39 +00:00
Aleksey Shipilev
b8a0d9faaf 8316229: Enhance class initialization logging
Backport-of: 84124794c2
2023-12-19 10:23:22 +00:00
Aleksey Shipilev
5d328605f0 8310807: java/nio/channels/DatagramChannel/Connect.java timed out
Backport-of: 570dffb104
2023-12-19 10:21:28 +00:00
Aleksey Shipilev
0c924607ae 8309302: java/net/Socket/Timeouts.java fails with AssertionError on test temporal post condition
Backport-of: 87c79c0801
2023-12-19 10:21:13 +00:00
Aleksey Shipilev
6644066557 8313621: test/jdk/jdk/internal/math/FloatingDecimal/TestFloatingDecimal should use RandomFactory
Backport-of: 864a876ebf
2023-12-19 10:19:34 +00:00
Aleksey Shipilev
80b5f72ccd 8263256: Test java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java fails due to dynamic reconfigurations of network interface during test
Backport-of: 0048f1da4c
2023-12-19 10:19:17 +00:00
Aleksey Shipilev
ee7748a3d3 8317300: javac erroneously allows "final" in front of a record pattern
Backport-of: 5ca1beb30e
2023-12-19 10:17:28 +00:00
Aleksey Shipilev
d50fd26002 8314990: Generational ZGC: Strong OopStorage stats reported as weak roots
Reviewed-by: stefank
Backport-of: dcd6e75671
2023-12-19 10:12:07 +00:00
Goetz Lindenmaier
c3b0c03df3 8319668: Fixup of jar filename typo in BadFactoryTest.sh
Backport-of: 63ad868e18
2023-12-19 09:24:53 +00:00
Goetz Lindenmaier
20625961d4 8320208: Update Public Suffix List to b5bf572
Backport-of: 2b4e99140a
2023-12-19 09:21:42 +00:00
Goetz Lindenmaier
16554ae23c 8316392: compiler/interpreter/TestVerifyStackAfterDeopt.java failed with SIGBUS in PcDescContainer::find_pc_desc_internal
Backport-of: 58af9aeeb0
2023-12-19 09:17:51 +00:00
Goetz Lindenmaier
6f3cd91942 8316028: Update FreeType to 2.13.2
Backport-of: 3b65b8797a
2023-12-19 09:14:14 +00:00
Goetz Lindenmaier
c0b78b79fe 8316410: GC: Make TestCompressedClassFlags use createTestJvm
Backport-of: e649c56324
2023-12-19 09:08:21 +00:00
Goetz Lindenmaier
be19bda590 8316973: GC: Make TestDisableDefaultGC use createTestJvm
Backport-of: 5f4be8cea9
2023-12-19 09:06:14 +00:00
Goetz Lindenmaier
9e8cee6ea3 8317042: G1: Make TestG1ConcMarkStepDurationMillis use createTestJvm
Backport-of: 7e39e664cf
2023-12-19 09:02:10 +00:00
Goetz Lindenmaier
16875f218b 8315988: Parallel: Make TestAggressiveHeap use createTestJvm
Backport-of: fbc766ee21
2023-12-19 08:59:49 +00:00
Goetz Lindenmaier
a75b88dc58 8314838: 3 compiler tests ignore vm flags
Backport-of: ab6a87e670
2023-12-19 08:58:02 +00:00
Goetz Lindenmaier
fc49ca39a4 8314837: 5 compiled/codecache tests ignore VM flags
Backport-of: 2a11bc41ba
2023-12-19 08:56:21 +00:00
Matthias Baesken
4f17ea72c8 8320383: refresh libraries cache on AIX in VMError::report
Backport-of: 26c3390421
2023-12-19 08:23:07 +00:00
Kimura Yukihiro
947dfc488b 8318410: jdk/java/lang/instrument/BootClassPath/BootClassPathTest.sh fails on Japanese Windows
Backport-of: d051f22284
2023-12-18 15:53:37 +00:00
Joachim Kern
dcf6eea1e5 8319633: runtime/posixSig/TestPosixSig.java intermittent timeouts on UNIX
Reviewed-by: mbaesken, mdoerr
2023-12-18 11:04:32 +00:00
Goetz Lindenmaier
fccb0a150a 8321131: Console read line with zero out should zero out underlying buffer in JLine
Reviewed-by: mbaesken
Backport-of: bd04f91e91
2023-12-16 10:39:39 +00:00
Sonia Zaldana Calles
db343c902d 8314612: TestUnorderedReduction.java fails with -XX:MaxVectorSize=32 and -XX:+AlignVector
Backport-of: f804f8652d
2023-12-15 16:53:25 +00:00
Matthias Baesken
63aecc5e8a 8320300: Adjust hs_err output in malloc/mmap error cases
Backport-of: 60c8d9c045
2023-12-15 08:00:38 +00:00
Goetz Lindenmaier
e8cf56c21f 8320798: Console read line with zero out should zero out underlying buffer
Backport-of: d568562966
2023-12-14 20:13:17 +00:00
Goetz Lindenmaier
d65289db63 8313082: Enable CreateCoredumpOnCrash for testing in makefiles
Backport-of: ba645da97b
2023-12-14 20:11:05 +00:00
Goetz Lindenmaier
901048b43f 8315680: java/lang/ref/ReachabilityFenceTest.java should run with -Xbatch
Backport-of: a290256bbf
2023-12-14 19:21:25 +00:00
robm
53118a3a58 Merge 2023-12-14 17:39:06 +00:00
Martin Doerr
0106db077b 8320807: [PPC64][ZGC] C1 generates wrong code for atomics
Backport-of: 3087e14cde
2023-12-14 16:33:27 +00:00
Matthias Baesken
0e0e89779f 8320898: exclude compiler/vectorapi/reshape/TestVectorReinterpret.java on ppc64(le) platforms
Backport-of: 78b6c2b408
2023-12-14 15:03:48 +00:00
Weijun Wang
60b6a6693b 8320597: RSA signature verification fails on signed data that does not encode params correctly
Backport-of: 11e4a925be
2023-12-14 13:06:35 +00:00
Severin Gehwolf
fb34573636 8321894: Bump update version for OpenJDK: 21.0.3
Reviewed-by: goetz
2023-12-13 14:54:42 +00:00
Prajwal Kumaraswamy
e831175ecf 8317547: Enhance TLS connection support
Backport-of: c521825a5d986e5cb823615d60e51f954c0ff4dc
2023-12-06 04:38:14 +00:00
robm
03c3ae13e5 Merge 2023-11-30 15:26:32 +00:00
Roman Kennke
ba79073da5 8321067: Unlock experimental options in EATests.java
Reviewed-by: shade
2023-11-30 14:15:10 +00:00
robm
ffa6fe561c Merge 2023-11-29 20:38:59 +00:00
Rob McKenna
759298364c 8320001: javac crashes while adding type annotations to the return type of a constructor
Reviewed-by: vromero
Backport-of: 5e24aaf4f7
2023-11-29 20:09:12 +00:00
Ravi Reddy
7c1c76d587 8320001: javac crashes while adding type annotations to the return type of a constructor
Backport-of: 5e24aaf4f7
2023-11-29 09:36:51 +00:00
Christoph Langer
ab7380e2d9 8320601: ProblemList java/lang/invoke/lambda/LambdaFileEncodingSerialization.java on linux-all
Backport-of: f6e5559ae9
2023-11-28 10:32:54 +00:00
Martin Doerr
f8706d1d9b 8320363: ppc64 TypeEntries::type_unknown logic looks wrong, missed optimization opportunity
Backport-of: 6aa197667a
2023-11-27 22:12:59 +00:00
Ian Myers
f3ff69acea 8315684: Parallelize sun/security/util/math/TestIntegerModuloP.java
Backport-of: 0f77d250b6
2023-11-27 16:25:28 +00:00
Ian Myers
2e5519002f 8315936: Parallelize gc/stress/TestStressG1Humongous.java test
Backport-of: 3f19df685c
2023-11-27 16:25:03 +00:00
Roman Kennke
593ef7c16f 8316401: sun/tools/jhsdb/JStackStressTest.java failed with "InternalError: We should have found a thread that owns the anonymous lock"
Backport-of: bd918f49d2
2023-11-27 16:16:43 +00:00
Roman Kennke
0f7bbe1fa3 8318895: Deoptimization results in incorrect lightweight locking stack
Backport-of: ea1ffa3419
2023-11-27 16:14:23 +00:00
Aleksey Shipilev
cae6460973 8318078: ADLC: pass ASSERT and PRODUCT flags
Backport-of: 504b0bdaaa
2023-11-27 16:12:15 +00:00
Aleksey Shipilev
19ce3ec39e 8319120: Unbound ScopedValue.get() throws the wrong exception
Backport-of: ee6f25b507
2023-11-27 15:58:49 +00:00
Aleksey Shipilev
f5045fcca4 8319195: Move most tier 1 vector API regression tests to tier 3
Backport-of: 9dc40ba48e
2023-11-27 15:58:31 +00:00
Aleksey Shipilev
e86ae80a69 8316415: Parallelize sun/security/rsa/SignedObjectChain.java subtests
Backport-of: 59847926b6
2023-11-27 15:56:39 +00:00
Aleksey Shipilev
4d5ceb41aa 8316581: Improve performance of Symbol::print_value_on()
Backport-of: 90bcdbd15f
2023-11-27 15:56:09 +00:00
Aleksey Shipilev
1326d00e5a 8316967: Correct the scope of vmtimer in UnregisteredClasses::load_class
Backport-of: 83b6a1278f
2023-11-27 15:55:46 +00:00
Soumadipta Roy
1f7b17d261 8315692: Parallelize gc/stress/TestStressRSetCoarsening.java test
Backport-of: a564d436c7
2023-11-27 15:53:31 +00:00
Jan Lahoda
4022eacddb 8319532: jshell - Non-sealed declarations sometimes break a snippet evaluation
Backport-of: 45e68ae207
2023-11-27 14:15:42 +00:00
Jan Lahoda
b42280b8d2 8318144: Match on enum constants with body compiles but fails with MatchException
Backport-of: 541ff7149f
2023-11-27 14:15:23 +00:00
Aleksey Shipilev
f01df290a9 8315082: [REDO] Generational ZGC: Tests crash with assert(index == 0 || is_power_of_2(index))
Backport-of: ceff47b462
2023-11-27 11:35:28 +00:00
Axel Boldt-Christmas
afc506e93a 8319700: [AArch64] C2 compilation fails with "Field too big for insn"
Backport-of: 3787ff8d1d
2023-11-27 09:06:05 +00:00
Gui Cao
3df010f444 8320280: RISC-V: Avoid passing t0 as temp register to MacroAssembler::lightweight_lock/unlock
Backport-of: a6098e438d
2023-11-27 06:00:28 +00:00
Matthias Baesken
ecb199ad28 8313616: support loading library members on AIX in os::dll_load
Reviewed-by: phh
Backport-of: 23fe2ece58
2023-11-24 08:11:20 +00:00
Erik Österlund
220b36c93c 8310239: Add missing cross modifying fence in nmethod entry barriers
Backport-of: 4679e9aa00
2023-11-22 08:43:13 +00:00
Matthias Baesken
d7a3ac72ca 8318587: refresh libraries cache on AIX in print_vm_info
Backport-of: cb383c05b2
2023-11-21 16:40:07 +00:00
Sandhya Viswanathan
0941f2ce67 8318562: Computational test more than 2x slower when AVX instructions are used
Backport-of: 0881f2b0c4
2023-11-21 10:59:15 +00:00
Roman Marchenko
e7bd0ab30d 8319961: JvmtiEnvBase doesn't zero _ext_event_callbacks
Backport-of: 97ea5bf0ff
2023-11-21 10:39:26 +00:00
Sandhya Viswanathan
21a003ae8d 8320209: VectorMaskGen clobbers rflags on x86_64
Backport-of: b05e69f789
2023-11-21 10:18:53 +00:00
Matthias Baesken
689b90da7d 8318957: enhance agentlib:jdwp help output by info about allow option
Backport-of: 53bb7cd415
2023-11-21 09:11:57 +00:00
Matthias Baesken
cf187a19e1 8318955: Add ReleaseIntArrayElements in Java_sun_awt_X11_XlibWrapper_SetBitmapShape XlbWrapper.c to early return
Backport-of: 81db1721d4
2023-11-21 09:08:31 +00:00
Matthias Baesken
73d59d0c69 8318591: avoid leaks in loadlib_aix.cpp reload_table()
Backport-of: 6d3cb459dc
2023-11-21 09:01:23 +00:00
rreddy
c67abe1691 Merge remote-tracking branch 'jdk21u/master' into jdk21.0.2 2023-11-21 08:57:41 +00:00
Matthias Baesken
53fec1baf6 8318981: compiler/compilercontrol/TestConflictInlineCommands.java fails intermittent with 'disallowed by CompileCommand' missing from stdout/stderr
Backport-of: 88b9cdae8f
2023-11-21 08:55:03 +00:00
Christoph Langer
177d994848 8306561: Possible out of bounds access in print_pointer_information
8319542: Fix boundaries of region to be tested with os::is_readable_range

Reviewed-by: mbaesken
Backport-of: d6ce62ebc0
2023-11-21 08:18:48 +00:00
Rajan Halade
a9f71e9207 8319187: Add three eMudhra emSign roots
Backport-of: 0bda467f6e
2023-11-20 17:56:32 +00:00
Alexey Ivanov
16039585d2 8316017: Refactor timeout handler in PassFailJFrame
Backport-of: 3abd772672
2023-11-20 15:56:18 +00:00
Aleksey Shipilev
e79ebc7ba1 8315545: C1: x86 cmove can use short branches
Backport-of: 6c821f5e1d
2023-11-20 15:55:40 +00:00
Aleksey Shipilev
44bb402e35 8315554: C1: Replace "cmp reg, 0" with "test reg, reg" on x86
Backport-of: bd477810b1
2023-11-20 15:55:01 +00:00
Martin Doerr
7588fce7d2 8316746: Top of lock-stack does not match the unlocked object
Backport-of: 7d8adfa855
2023-11-20 15:35:11 +00:00
Alexey Ivanov
1d128dc0f4 8316025: Use testUI() method of PassFailJFrame.Builder in FileChooserSymLinkTest.java
Backport-of: 7f47c51ace
2023-11-20 15:32:37 +00:00
Alexey Ivanov
3c124e3bd5 8294156: Allow PassFailJFrame.Builder to create test UI
Backport-of: 42b9ac8a07
2023-11-20 15:22:50 +00:00
Aleksey Shipilev
4558e49939 8317834: java/lang/Thread/IsAlive.java timed out
Backport-of: 5522656af7
2023-11-20 15:16:35 +00:00
Aleksey Shipilev
3fcc7ea128 8320053: GHA: Cross-compile gtest code
Backport-of: 77a6966114
2023-11-20 15:16:10 +00:00
Alexey Ivanov
8de7b61b2f 8316003: Update FileChooserSymLinkTest.java to HTML instructions
Backport-of: c587211bf8
2023-11-20 15:08:44 +00:00
Alexey Ivanov
6453e64f4d 8294158: HTML formatting for PassFailJFrame instructions
Backport-of: 14090ef603
2023-11-20 14:57:13 +00:00
Shivangi Gupta
2545f55e50 8317039: Enable specifying the JDK used to run jtreg
8317807: JAVA_FLAGS removed from jtreg running in JDK-8317039

Reviewed-by: erikj
Backport-of: a250ae4d1b
2023-11-17 14:08:40 +00:00
Alexey Ivanov
321ba681bc 8313643: Update HarfBuzz to 8.2.2
8319268: Build failure with GCC8.3.1 after 8313643

Reviewed-by: prr, honkar
Backport-of: 2182c93689
2023-11-17 14:03:28 +00:00
Christoph Langer
ffa87b5e3f 8318240: [AIX] Cleaners.java test failure
Backport-of: d4b761242d
2023-11-17 10:54:01 +00:00
Christoph Langer
44b5b81f76 8313782: Add user-facing warning if THPs are enabled but cannot be used
Backport-of: dff99f7f3d
2023-11-17 10:51:32 +00:00
Christoph Langer
99d260c0cc 8313781: Add regression tests for large page logging and user-facing error messages
Backport-of: abad0408e8
2023-11-17 10:51:09 +00:00
Robbin Ehn
3c712edc87 8315195: RISC-V: Update hwprobe query for new extensions
Backport-of: 0d4cadb824
2023-11-17 07:15:22 +00:00
Rajan Halade
cb352c25ba 8318759: Add four DigiCert root certificates
Backport-of: 0ea58048f9
2023-11-17 05:10:58 +00:00
Sergey Bylokhov
d603f8ae9d 8312191: ColorConvertOp.filter for the default destination is too slow
Backport-of: e5f05b5a96
2023-11-16 23:08:00 +00:00
Mandy Chung
245885bd96 8319436: Proxy.newProxyInstance throws NPE if loader is null and interface not visible from class loader
Backport-of: 8eb6f617b3
2023-11-16 17:10:40 +00:00
Stewart X Addison
71eec789fc 8319958: test/jdk/java/io/File/libGetXSpace.c does not compile on Windows 32-bit
Backport-of: 6a75c2406b
2023-11-16 12:03:21 +00:00
Amit Kumar
fb9bd49aee 8317581: [s390x] Multiple test failure with LockingMode=2
Backport-of: 839cb19ec2
2023-11-16 11:56:21 +00:00
Aleksey Shipilev
a25ea4c755 8316719: C2 compilation still fails with "bad AD file"
Backport-of: 1e687b4529
2023-11-16 11:53:52 +00:00
Rajat Mahajan
015dab9a0a 8316030: Update Libpng to 1.6.40
Backport-of: 158293d251
2023-11-15 20:34:14 +00:00
Fei Yang
dfca3b9540 8319184: RISC-V: improve MD5 intrinsic
Backport-of: fa331d7128
2023-11-15 08:16:26 +00:00
Goetz Lindenmaier
8998f6ff99 8319104: GtestWrapper crashes with SIGILL in AsyncLogTest::test_asynclog_raw on AIX opt
Reviewed-by: stuefe, jkern
Backport-of: 0b58bdec71
2023-11-15 07:26:01 +00:00
Man Cao
1ba77d9bab 8312174: missing JVMTI events from vthreads parked during JVMTI attach
Backport-of: fda142ff6c
2023-11-14 21:36:15 +00:00
Matthias Baesken
81eaed20cb 8317603: Improve exception messages thrown by sun.nio.ch.Net native methods (win)
Backport-of: a9b41da9df
2023-11-14 14:52:39 +00:00
Amit Kumar
545b1fef0e 8316935: [s390x] Use consistent naming for lightweight locking in MacroAssembler
Backport-of: efb7e85ecf
2023-11-14 14:47:23 +00:00
Aleksey Shipilev
67f5d7bb6e 8318525: Atomic gtest should run as TEST_VM to access VM capabilities
Backport-of: 744f206fef
2023-11-14 14:45:28 +00:00
Aleksey Shipilev
cd4ce011d4 8315920: C2: "control input must dominate current control" assert failure
Backport-of: 4e1e579e8b
2023-11-14 14:45:08 +00:00
Aleksey Shipilev
fb7d8584ba 8316436: ContinuationWrapper uses unhandled nullptr oop
Backport-of: 292aad2c49
2023-11-14 14:44:51 +00:00
Jaikiran Pai
bac4829e05 8312433: HttpClient request fails due to connection being considered idle and closed
Backport-of: 486c7844f9
2023-11-14 14:39:32 +00:00
Martin Doerr
3515f60e77 8310596: Utilize existing method frame::interpreter_frame_monitor_size_in_bytes()
Backport-of: 7fbad4cd5e
2023-11-14 14:37:04 +00:00
Pavel Rappo
daf76ebc27 8319339: Internal error on spurious markup in a hybrid snippet
Reviewed-by: jjg
Backport-of: c9077b8b81
2023-11-14 13:37:23 +00:00
Matthias Baesken
be539fdaea 8318961: increase javacserver connection timeout values and max retry attempts
Backport-of: b9983c7229
2023-11-14 12:56:11 +00:00
rreddy
dad0e860e4 Merge remote-tracking branch 'jdk21u/master' into jdk21.0.2 2023-11-14 12:27:14 +00:00
Thomas Stuefe
ccc2fd0cd3 8319922: libCreationTimeHelper.so fails to link in JDK 21
Reviewed-by: sgehwolf
2023-11-14 12:13:32 +00:00
Thomas Stuefe
0049afbb47 8319828: runtime/NMT/VirtualAllocCommitMerge.java may fail if mixing interpreted and compiled native invocations
Backport-of: 6b21ff61da
2023-11-14 12:13:16 +00:00
Aleksey Shipilev
c9520790be 8317507: C2 compilation fails with "Exceeded _node_regs array"
Backport-of: a5818972c1
2023-11-10 09:49:07 +00:00
Johannes Bechberger
525d22007e 8318736: com/sun/jdi/JdwpOnThrowTest.java failed with "transport error 202: bind failed: Address already in use"
Backport-of: 1a21c1a783
2023-11-10 09:47:10 +00:00
Liam Miller-Cushon
e00c9bb25f 8225377: type annotations are not visible to javac plugins across compilation boundaries
Backport-of: de6667cf11
2023-11-10 09:17:52 +00:00
Andrew Leonard
b174d5e186 8317601: Windows build on WSL broken after JDK-8317340
Backport-of: bcc986b9d1
2023-11-09 16:56:30 +00:00
Amit Kumar
54fbd4baa6 8308479: [s390x] Implement alternative fast-locking scheme
Backport-of: 3fe6e0faca
2023-11-09 15:31:54 +00:00
Andrew Leonard
5cb041ebab 8317340: Windows builds are not reproducible if MS VS compiler install path differs
Backport-of: 353d139682
2023-11-09 15:29:23 +00:00
Christian Hagedorn
10ccbebc8f 8314307: Improve loop handling
Reviewed-by: thartmann
Backport-of: afe46730e2405100ab2e016c8941264336aa807d
2023-11-09 13:12:36 +00:00
Frederic Thevenet
32987b7ef0 8317510: Change Windows debug symbol files naming to avoid losing info when an executable and a library share the same name
Backport-of: d96f38b80c
2023-11-09 07:54:51 +00:00
Aleksey Shipilev
37888d2912 8314191: C2 compilation fails with "bad AD file"
Backport-of: 969fcdb0de
2023-11-09 07:29:49 +00:00
Aleksey Shipilev
90088898d4 8316679: C2 SuperWord: wrong result, load should not be moved before store if not comparable
Reviewed-by: epeter, phh, thartmann
Backport-of: 48f1a925e5
2023-11-09 07:28:09 +00:00
Jayathirth D V
0e2a520b03 8318951: Additional negative value check in JPEG decoding
Backport-of: 75ce02fe74
2023-11-09 04:41:59 +00:00
Alexey Ivanov
0679922ec8 8294535: Add screen capture functionality to PassFailJFrame
Backport-of: dbb788f34d
2023-11-08 17:42:35 +00:00
Renjith Kannath Pariyangad
7f02e4a812 8301846: Invalid TargetDataLine after screen lock when using JFileChooser or COM library
Backport-of: 613a3cc689
2023-11-08 17:42:03 +00:00
Rajan Halade
6632c8a391 8317374: Add Let's Encrypt ISRG Root X2
Backport-of: e6f46a4326
2023-11-08 17:34:23 +00:00
Aleksey Shipilev
243142cf0f 8314580: PhaseIdealLoop::transform_long_range_checks fails with assert "was tested before"
Backport-of: 9def4538ab
2023-11-08 15:15:22 +00:00
Aleksey Shipilev
b93d884b49 8318183: C2: VM may crash after hitting node limit
Backport-of: 31ef400f31
2023-11-08 14:56:32 +00:00
Aleksey Shipilev
fb355df80d 8309209: C2 failed "assert(_stack_guard_state == stack_guard_reserved_disabled) failed: inconsistent state"
Reviewed-by: aph
Backport-of: 52ee570025
2023-11-08 14:56:12 +00:00
Aleksey Shipilev
50c34cad95 8316645: RISC-V: Remove dependency on libatomic by adding cmpxchg 1b
8317335: Build on windows fails after 8316645

Reviewed-by: rehn
Backport-of: fb055e7e53
2023-11-08 14:52:04 +00:00
Aleksey Shipilev
eb8267d98e 8316585: [REDO] runtime/InvocationTests spend a lot of time on dependency verification
Backport-of: 1e930db3c7
2023-11-08 14:51:43 +00:00
Evgeny Ignatenko
31c759dd7e 8315362: NMT: summary diff reports threads count incorrectly
Reviewed-by: stuefe
Backport-of: 37aed6f46d
2023-11-08 13:34:12 +00:00
Evgeny Ignatenko
6bd2c5aaa9 8318474: Fix memory reporter for thread_count
Backport-of: 0baa9ecd76
2023-11-08 13:33:53 +00:00
Fei Yang
7091631c5f 8319525: RISC-V: Rename *_riscv64.ad files to *_riscv.ad under riscv/gc
Backport-of: b2504a0f9c
2023-11-08 13:18:53 +00:00
Goetz Lindenmaier
421bf8a6b1 8316461: Fix: make test outputs TEST SUCCESS after unsuccessful exit
Backport-of: e30e356442
2023-11-08 07:32:06 +00:00
Johannes Bechberger
337271f833 8317920: JDWP-agent sends broken exception event with onthrow option
Backport-of: 8f4ebd8921
2023-11-07 08:35:09 +00:00
rreddy
2bc004b022 Merge remote-tracking branch 'jdk21u/master' into jdk21.0.2 2023-11-07 06:52:42 +00:00
Severin Gehwolf
4cf572e3b9 8316304: (fs) Add support for BasicFileAttributes.creationTime() for Linux
Reviewed-by: phh
Backport-of: 0275efac88
2023-11-06 13:16:57 +00:00
Goetz Lindenmaier
4bbea6dde3 8315415: OutputAnalyzer.shouldMatchByLine() fails in some cases
Backport-of: 7b1e2bfe0f
2023-11-06 08:16:52 +00:00
Goetz Lindenmaier
4a6c0d8f52 8314242: Update applications/scimark/Scimark.java to accept VM flags
Backport-of: 6bf4a33593
2023-11-06 07:56:08 +00:00
Andrew Leonard
504f4a0c6f 8286757: adlc tries to build with /pathmap but without /experimental:deterministic
Backport-of: 242eeaea47
2023-11-03 18:20:20 +00:00
Andrew Leonard
e2b89c76e7 8316648: jrt-fs.jar classes not reproducible between standard and bootcycle builds
Backport-of: 0f0c5b2d71
2023-11-03 16:22:30 +00:00
Calvin Cheung
892938dc66 8312434: SPECjvm2008/xml.transform with CDS fails with "can't seal package nu.xom"
Backport-of: 9f4a9fe488
2023-11-03 16:09:06 +00:00
Aleksey Shipilev
844c32a313 8316142: Enable parallelism in vmTestbase/nsk/monitoring/stress/lowmem tests
Backport-of: 4421951d8f
2023-11-03 13:32:34 +00:00
Martin Doerr
3552d5a898 8316659: assert(LockingMode != LM_LIGHTWEIGHT || flag == CCR0) failed: bad condition register
Backport-of: 6a4b665550
2023-11-03 13:25:05 +00:00
Tobias Hartmann
b743ba8148 8318889: C2: add bailout after assert Bad graph detected in build_loop_late
Backport-of: 83eb20651f
2023-11-03 13:18:10 +00:00
Frederic Thevenet
e371a3d92f 8318669: Target OS detection in 'test-prebuilt' makefile target is incorrect when running on MSYS2
Backport-of: 202c0137b8
2023-11-02 09:02:59 +00:00
Matthias Baesken
07a1490e71 8316411: compiler/compilercontrol/TestConflictInlineCommands.java fails intermittent with force inline by CompileCommand missing
Backport-of: e1870d360e
2023-11-02 08:29:49 +00:00
Matthias Baesken
bb7c86f9b4 8318415: Adjust describing comment of os_getChildren after 8315026
Backport-of: 47bb1a1cef
2023-11-02 08:23:50 +00:00
Thomas Stuefe
bb8db719e6 8318089: Class space not marked as such with NMT when CDS is off
Backport-of: c0e154c876
2023-11-02 07:47:45 +00:00
rreddy
5c4039cff7 Merge remote-tracking branch 'jdk21u/master' into jdk21.0.2 2023-11-02 06:57:01 +00:00
Gui Cao
6e217669ff 8318953: RISC-V: Small refactoring for MacroAssembler::test_bit
Backport-of: 988e1dfe6e
2023-11-02 02:03:40 +00:00
Goetz Lindenmaier
a96de29fee 8161536: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java fails with ProviderException
Backport-of: 939d7c5d84
2023-11-01 20:27:30 +00:00
Goetz Lindenmaier
05deef8600 8301457: Code in SendPortZero.java is uncommented even after JDK-8236852 was fixed
Backport-of: 298dda4c98
2023-11-01 20:26:50 +00:00
Goetz Lindenmaier
599b30d1e0 8309778: java/nio/file/Files/CopyAndMove.java fails when using second test directory
Backport-of: cfae6ef2f6
2023-11-01 20:24:29 +00:00
Aleksey Shipilev
de57df40bf 8316414: C2: large byte array clone triggers "failed: malformed control flow" assertion failure on linux-x86
Backport-of: 0a3a925ad8
2023-11-01 14:08:25 +00:00
Aleksey Shipilev
c3c2b9f42d 8303737: C2: Load can bypass subtype check that enforces it's from the right object type
Backport-of: 52983ed529
2023-11-01 14:08:07 +00:00
Aleksey Shipilev
ae5b92c652 8315442: Enable parallelism in vmTestbase/nsk/monitoring/stress/thread tests
Backport-of: 9013b03244
2023-11-01 14:01:10 +00:00
Aleksey Shipilev
3e46e29dc1 8315774: Enable parallelism in vmTestbase/gc/g1/unloading tests
Backport-of: 825e0ed2a1
2023-11-01 14:00:52 +00:00
Aleksey Shipilev
50e1a34582 8315437: Enable parallelism in vmTestbase/nsk/monitoring/stress/classload tests
Backport-of: dd214d0f95
2023-11-01 14:00:37 +00:00
Rob McKenna
bbc5ad7574 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
Backport-of: 8d1ab57065
2023-11-01 13:46:43 +00:00
Aleksey Shipilev
69adcc680f 8312126: NullPointerException in CertStore.getCRLs after 8297955
Backport-of: 3c743cfea0
2023-11-01 13:40:47 +00:00
Aleksey Shipilev
a81130048e 8314330: java/foreign tests should respect vm flags when start new processes
Backport-of: 7b28d3608a
2023-11-01 13:38:31 +00:00
Aleksey Shipilev
067cd17c6c 8295555: Primitive wrapper caches could be @Stable
Backport-of: f7de726bd3
2023-11-01 13:38:07 +00:00
Aleksey Shipilev
9405b0c47f 8318528: Rename TestUnstructuredLocking test
Backport-of: 3f446c5156
2023-11-01 13:37:46 +00:00
Aleksey Shipilev
502d30b4a1 8318540: make test cannot run .jasm tests directly
Backport-of: bd02cfd96f
2023-11-01 13:37:13 +00:00
Aleksey Shipilev
1f75ab296b 8267509: Improve IllegalAccessException message to include the cause of the exception
Backport-of: 36314a90c1
2023-11-01 13:36:57 +00:00
Goetz Lindenmaier
f4ed66ee82 8318705: [macos] ProblemList java/rmi/registry/multipleRegistries/MultipleRegistries.java
Backport-of: 37c40a11a7
2023-10-29 20:44:57 +00:00
Sergey Bylokhov
305e9ec007 8315971: ProblemList containers/docker/TestMemoryAwareness.java on linux-all
Backport-of: eb37c7e361
2023-10-26 16:41:43 +00:00
pavel_kharskii
5c79703f35 8318137: Change milestone to fcs for all releases
Reviewed-by: coffeys, mvs, rreddy
2023-10-26 10:53:34 +00:00
Hannes Greule
c5a6a74a2f 8317692: jcmd GC.heap_dump performance regression after JDK-8292818
Backport-of: 8f5f44070a
2023-10-26 07:35:56 +00:00
Manukumar V S
5ebc02b149 8317751: ProblemList ConsumeForModalDialogTest.java, MenuItemActivatedTest.java & MouseModifiersUnitTest_Standard.java for windows
8317964: java/awt/Mouse/MouseModifiersUnitTest/MouseModifiersUnitTest_Standard.java fails on macosx-all after JDK-8317751

Reviewed-by: aivanov, dmarkov
Backport-of: f40ea5109e
2023-10-25 15:52:02 +00:00
Matthias Baesken
5dd22a9bef 8317959: Check return values of malloc in native java.base coding
Backport-of: ff0b397e13
2023-10-25 06:49:31 +00:00
Matthias Baesken
e3a2eebd87 8038244: (fs) Check return value of malloc in Java_sun_nio_fs_AixNativeDispatcher_getmntctl()
Backport-of: 6d6c9008d5
2023-10-25 06:49:00 +00:00
Christoph Langer
bcd73c513a 8310512: Cleanup indentation in jfc files
Backport-of: 3be50da636
2023-10-25 06:39:24 +00:00
Christoph Langer
b7e0c4a94b 8315706: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java real fix for failure on AIX
Backport-of: 21c2dac159
2023-10-25 06:38:50 +00:00
Sergey Bylokhov
eb6ea916d2 8316060: test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.java may fail if heap is huge
Backport-of: bd52bbfa27
2023-10-24 18:35:37 +00:00
Rajan Halade
00698a48c5 8317373: Add Telia Root CA v2
Backport-of: d3ebb4a155
2023-10-24 16:51:25 +00:00
Laurent Bourgès
0fc04fb17d 8316741: BasicStroke.createStrokedShape miter-limits failing on small shapes
Backport-of: a876beb63d
2023-10-24 16:03:30 +00:00
Aleksey Shipilev
2bf263d423 8312592: New parentheses warnings after HarfBuzz 7.2.0 update
Backport-of: ea067fc3d2
2023-10-24 15:40:25 +00:00
Aleksey Shipilev
9f0d9ca663 8316778: test hprof lib: invalid array element type from JavaValueArray.elementSize
Backport-of: f7deaf4bef
2023-10-24 15:37:26 +00:00
Aleksey Shipilev
294c19d954 8315088: C2: assert(wq.size() - before == EMPTY_LOOP_SIZE) failed: expect the EMPTY_LOOP_SIZE nodes of this body if empty
Backport-of: fe4f90021f
2023-10-24 15:36:55 +00:00
Aleksey Shipilev
2bef0bbb20 8315869: UseHeavyMonitors not used
Reviewed-by: phh
Backport-of: 3301fb1e8a
2023-10-24 15:36:25 +00:00
Tobias Hartmann
2621f68c06 8314468: Improve Compiler loops
Reviewed-by: jwilhelm, epeter
Backport-of: 86e71472aefc26175cfc00d44f255f64893e477b
2023-10-20 10:54:34 +00:00
Matthias Baesken
5121ee686b 8316894: make test TEST="jtreg:test/jdk/..." fails on AIX
Backport-of: 29348b3cf6
2023-10-20 06:46:09 +00:00
Thomas Stuefe
0af96a8993 8317987: C2 recompilations cause high memory footprint
Backport-of: c88b387881
2023-10-20 05:38:20 +00:00
Alexey Ivanov
418a199560 8314246: javax/swing/JToolBar/4529206/bug4529206.java fails intermittently on Linux
Backport-of: 808bb1f7bc
2023-10-19 18:47:45 +00:00
Aleksey Shipilev
fd329f2a37 8316880: AArch64: "stop: Header is not fast-locked" with -XX:-UseLSE since JDK-8315880
Reviewed-by: aph
Backport-of: b6a97c0780
2023-10-19 18:45:46 +00:00
Ludvig Janiuk
abfe95025d 8317327: Remove JT_JAVA dead code in jib-profiles.js
Reviewed-by: ihse
2023-10-19 18:39:04 +00:00
Archie Cobbs
b59b560a2a 8317818: Combinatorial explosion during 'this' escape analysis
Backport-of: 17535c34bc
2023-10-19 18:37:08 +00:00
Aleksey Shipilev
c41fc4a973 8316181: Move the fast locking implementation out of the .ad files
Backport-of: b48dbf6bfa
2023-10-19 18:34:35 +00:00
Aleksey Shipilev
876f78e312 8316396: Endless loop in C2 compilation triggered by AddNode::IdealIL
Reviewed-by: thartmann
Backport-of: b0d6c8472f
2023-10-19 18:32:10 +00:00
Aleksey Shipilev
61ec9854c5 8316735: Print LockStack in hs_err files
Backport-of: 20ff603108
2023-10-19 18:31:41 +00:00
Rajan Halade
055cfe0094 8268916: Tests for AffirmTrust roots
Backport-of: 8c1bb2b280
2023-10-19 18:31:27 +00:00
Aleksey Shipilev
dc8603cb4c 8316958: Add test for unstructured locking
Backport-of: bcafec54a5
2023-10-19 18:31:05 +00:00
Aleksey Shipilev
94bb191b42 8317262: LockStack::contains(oop) fails "assert(t->is_Java_thread()) failed: incorrect cast to JavaThread"
Backport-of: 4ea1b99c1a
2023-10-19 18:30:16 +00:00
Aleksey Shipilev
7b4ab28552 8295068: SSLEngine throws NPE parsing CertificateRequests
Backport-of: 5667afc362
2023-10-19 18:29:38 +00:00
Aleksey Shipilev
87ca29312f 8309663: test fails "assert(check_alignment(result)) failed: address not aligned: 0x00000008baadbabe"
Backport-of: 83edffa608
2023-10-19 18:28:23 +00:00
Aleksey Shipilev
55d0c79089 8316929: Shenandoah: Shenandoah degenerated GC and full GC need to cleanup old OopMapCache entries
Backport-of: e25121d1d9
2023-10-19 18:26:14 +00:00
robm
e796082e57 Merge 2023-10-18 13:12:04 +00:00
Archie Cobbs
8047100e66 8317336: Assertion error thrown during 'this' escape analysis
Backport-of: a8473b7079
2023-10-17 08:32:28 +00:00
Christoph Langer
a2092fe573 8317803: Exclude java/net/Socket/asyncClose/Race.java on AIX
Backport-of: 1161e3da14
2023-10-17 05:10:05 +00:00
Christoph Langer
ddc51f22f6 8219652: [aix] Tests failing with JNI attach problems.
8317136: [AIX] Problem List runtime/jni/terminatedThread/TestTerminatedThread.java
8317790: Fix Bug entry for exclusion of runtime/jni/terminatedThread/TestTerminatedThread.java on AIX

Reviewed-by: mbaesken
Backport-of: 0b0f8b55a6
2023-10-17 05:09:30 +00:00
rreddy
a4e78f30fc Merge remote-tracking branch 'jdk21u/master' 2023-10-17 05:09:29 +00:00
Christoph Langer
acbd31b853 8312078: [PPC] JcmdScale.java Failing on AIX
Backport-of: c1a3f143bf
2023-10-17 05:08:19 +00:00
Christoph Langer
0ce6596180 8317839: Exclude java/nio/channels/Channels/SocketChannelStreams.java on AIX
Backport-of: ca96fd3b07
2023-10-17 05:07:48 +00:00
Christoph Langer
d5f2752f6a 8311261: [AIX] TestAlwaysPreTouchStacks.java fails due to java.lang.RuntimeException: Did not find expected NMT output
Backport-of: d5c6b0d0bb
2023-10-17 05:07:17 +00:00
Rajan Halade
d47d9ef999 8317967: Enhance test/jdk/javax/net/ssl/TLSCommon/SSLEngineTestCase.java to handle default cases
Reviewed-by: mullan
Backport-of: 9728e21db1
2023-10-16 16:30:12 +00:00
Matthias Baesken
65941f8d31 8312467: relax the builddir check in make/autoconf/basic.m4
Backport-of: 6e3cc131da
2023-10-16 14:30:12 +00:00
Thomas Stuefe
1deb1e2e52 8317772: NMT: Make peak values available in release builds
Backport-of: 32ccf018eb
2023-10-16 14:19:51 +00:00
Aleksey Shipilev
252fe467be 8315062: [GHA] get-bootjdk action should return the abolute path
Backport-of: 99ea8bf2b9
2023-10-16 14:09:28 +00:00
Aleksey Shipilev
017b78b3cc 8315960: test/jdk/java/io/File/TempDirDoesNotExist.java leaves test files behind
Reviewed-by: bpb
Backport-of: 373cdf257d
2023-10-16 14:08:52 +00:00
Aleksey Shipilev
3123caa6f6 8317294: Classloading throws exceptions over already pending exceptions
Backport-of: d4c904d819
2023-10-16 14:08:10 +00:00
Daniel Fuchs
fe29973a1e 8317736: Stream::handleReset locks twice
Backport-of: 508fa71753
2023-10-16 13:49:43 +00:00
Joachim Kern
3a21544d3d 8315026: ProcessHandle implementation listing processes on AIX should use getprocs64
Backport-of: 4d9042043e
2023-10-16 13:49:02 +00:00
Prajwal Kumaraswamy
f281d5a444 8316976: Improve signature handling
Backport-of: ed1269b7410759e8fa0d97d85328f20d11ae8d9a
2023-10-13 14:44:39 +00:00
Christoph Langer
7d0a937446 8317705: ProblemList sun/tools/jstat/jstatLineCountsX.sh on linux-ppc64le and aix due to JDK-8248691
Backport-of: ad6dce376d
2023-10-11 05:54:43 +00:00
Christoph Langer
9feae27840 8317711: Exclude gtest/GTestWrapper.java on AIX
Backport-of: ef41aa02b8
2023-10-11 05:47:11 +00:00
Christoph Langer
064a21d6d7 8317706: Exclude java/awt/Graphics2D/DrawString/RotTransText.java on linux
Backport-of: fcff222f92
2023-10-11 05:45:09 +00:00
Ludvig Janiuk
3dc3c7601c 8316906: Clarify TLABWasteTargetPercent flag
Backport-of: 77fac0f4c6
2023-10-10 19:50:15 +00:00
Aleksey Shipilev
2f6d7adbd1 8316418: containers/docker/TestMemoryWithCgroupV1.java get OOM killed with Parallel GC
Backport-of: 7352bb9105
2023-10-10 18:22:41 +00:00
Goetz Lindenmaier
f73a8e1368 8309974: some JVMCI tests fail when VM options include -XX:+EnableJVMCI
Backport-of: 8b4af46be4
2023-10-10 18:12:30 +00:00
Goetz Lindenmaier
ac6d84cb90 8232839: JDI AfterThreadDeathTest.java failed due to "FAILED: Did not get expected IllegalThreadStateException on a StepRequest.enable()"
Backport-of: 84184f9473
2023-10-10 18:09:49 +00:00
Brian Burkhalter
edc15aa6ed 8313368: (fc) FileChannel.size returns 0 on block special files
Backport-of: 4ba81f631f
2023-10-10 14:33:23 +00:00
Aleksey Shipilev
e22d333feb 8314120: Add tests for FileDescriptor.sync
Backport-of: 2e8a0ab272
2023-10-10 07:16:42 +00:00
Aleksey Shipilev
1bcaff307e 8316130: Incorrect control in LibraryCallKit::inline_native_notify_jvmti_funcs
Backport-of: 4b65483921
2023-10-10 06:54:08 +00:00
Aleksey Shipilev
f2cb058bf8 8316337: (bf) Concurrency issue in DirectByteBuffer.Deallocator
Backport-of: cf74b8c2a3
2023-10-10 06:52:15 +00:00
Aleksey Shipilev
cbde98cb07 8316179: Use consistent naming for lightweight locking in MacroAssembler
Backport-of: 639ba13c4b
2023-10-10 06:51:43 +00:00
Aleksey Shipilev
7e1755d301 8315942: Sort platform enums and definitions after JDK-8304913 follow-ups
Backport-of: 1941290b79
2023-10-10 06:46:43 +00:00
Vladimir Kozlov
060c4f7589 8317121: vector_masked_load instruction is moved too early after JDK-8286941
Reviewed-by: shade, vlivanov
Backport-of: cfabcbf858
2023-10-05 13:08:46 +00:00
Matthias Baesken
643914ddb4 8314883: Java_java_util_prefs_FileSystemPreferences_lockFile0 write result errno in missing case
Backport-of: 97b94cb1cd
2023-10-05 12:07:44 +00:00
Matthias Baesken
9caf6c6c7a 8315499: build using devkit on Linux ppc64le RHEL puts path to devkit into libsplashscreen
Backport-of: ed2b4673de
2023-10-05 12:03:09 +00:00
Matthias Baesken
bd4e7067e8 8312612: handle WideCharToMultiByte return values
Backport-of: d9559f9b24
2023-10-05 11:33:15 +00:00
Matthias Baesken
2184afed8e 8316671: sun/security/ssl/SSLSocketImpl/SSLSocketCloseHang.java test fails intermittent with Read timed out
Backport-of: 1f7dfda705
2023-10-05 11:28:44 +00:00
Aleksey Shipilev
f49acbbbf1 8313656: assert(!JvmtiExport::can_support_virtual_threads()) with -XX:-DoJVMTIVirtualThreadTransitions
Backport-of: b38bcae1ba
2023-10-05 07:35:05 +00:00
Zdenek Zambersky
667e639964 8316540: StoreReproducibilityTest fails on some locales
Backport-of: f7578e8048
2023-10-05 07:34:32 +00:00
rreddy
f0be683ef8 Merge remote-tracking branch 'jdk21u/master' 2023-10-05 05:49:06 +00:00
Soumadipta Roy
d9bb3caf4d 8315683: Parallelize java/util/concurrent/tck/JSR166TestCase.java
Backport-of: 4415261688
2023-10-04 22:31:49 +00:00
Soumadipta Roy
66c77d9502 8315937: Enable parallelism in vmTestbase/nsk/stress/numeric tests
Backport-of: eb1f67b160
2023-10-04 21:07:35 +00:00
Soumadipta Roy
90f456c574 8315766: Parallelize gc/stress/TestStressIHOPMultiThread.java test
Backport-of: edd454b502
2023-10-04 17:59:30 +00:00
Brian Burkhalter
834c45ccc6 8316156: ByteArrayInputStream.transferTo causes MaxDirectMemorySize overflow
Backport-of: 5cacf212f0
2023-10-04 17:38:06 +00:00
Vladimir Kozlov
e76be61923 8317121: vector_masked_load instruction is moved too early after JDK-8286941
Reviewed-by: shade, vlivanov
Backport-of: cfabcbf858
2023-10-04 16:51:52 +00:00
Aleksey Shipilev
60001763df 8314551: More generic way to handshake GC threads with monitor deflation
Reviewed-by: rkennke
Backport-of: 31c4e03d5d
2023-10-04 12:22:04 +00:00
Christoph Langer
f4550497ea 8316710: Exclude java/awt/font/Rotate/RotatedTextTest.java
Backport-of: ad6df41a9e
2023-10-04 10:47:39 +00:00
Aleksei Voitylov
6a4e492019 8316879: RegionMatches1Tests fails if CompactStrings are disabled after JDK-8302163
Backport-of: cfcbfc6cae
2023-10-04 10:13:25 +00:00
Ilya Gavrilin
915892d5c7 8313779: RISC-V: use andn / orn in the MD5 instrinsic
Backport-of: 4726960fcd
2023-10-04 09:19:47 +00:00
Aleksey Shipilev
c1f13ea2cf 8316514: Better diagnostic header for VtableStub
Backport-of: 6c61bc1950
2023-10-04 08:58:54 +00:00
Ludovic Henry
69af26c48c 8316859: RISC-V: Disable detection of V through HWCAP
Backport-of: 311c7461c8
2023-10-04 08:23:05 +00:00
Robbin Ehn
9ffec67a3f 8316566: RISC-V: Zero extended narrow oop passed to Atomic::cmpxchg
Backport-of: 2d154fcd0d
2023-10-04 08:20:42 +00:00
Goetz Lindenmaier
90d4ff6175 8312440: assert(cast != nullptr) failed: must have added a cast to pin the node
Backport-of: 01e135c910
2023-10-04 07:18:14 +00:00
Goetz Lindenmaier
610f164454 8301247: JPackage app-image exe launches multiple exe's in JDK 17+
Backport-of: dcea9bf087
2023-10-04 07:10:49 +00:00
Goetz Lindenmaier
67d2836de2 8315377: C2: assert(u->find_out_with(Op_AddP) == nullptr) failed: more than 2 chained AddP nodes?
Backport-of: ba1a46392f
2023-10-04 07:08:37 +00:00
Goetz Lindenmaier
bbfbc7b347 8308103: Massive (up to ~30x) increase in C2 compilation time since JDK 17
Backport-of: c6ab9c2905
2023-10-04 07:06:29 +00:00
Goetz Lindenmaier
48fa33a958 8301489: C1: ShortLoopOptimizer might lift instructions before their inputs
Backport-of: 73d7aa1d2c
2023-10-04 07:04:28 +00:00
Vladimir Kempik
89103c6818 8317257: RISC-V: llvm build broken
Reviewed-by: fyang
Backport-of: bd7bb67d8f
2023-10-04 06:56:36 +00:00
Fei Yang
b4bb944796 8316743: RISC-V: Change UseVectorizedMismatchIntrinsic option result to warning
Backport-of: 750da00129
2023-10-04 01:10:52 +00:00
Saravana Kumar Vijayasekaran
65ae942188 8317439: Updating RE Configs for BUILD REQUEST 21.0.2+1
Reviewed-by: robm
2023-10-03 16:17:14 +00:00
Coleen Phillimore
4d078930ee 8317331: Solaris build failed with "declaration can not follow a statement (E_DECLARATION_IN_CODE)"
Backport-of: 852276d1f833d49802693f2a5a82ba6eb2722de6
2023-10-02 18:48:54 +00:00
Coleen Phillimore
08980a0a60 8314295: Enhance verification of verifier
Reviewed-by: dholmes, poonam, dlong
2023-09-29 13:01:13 +00:00
Gui Cao
b12961d94d 8316933: RISC-V: compiler/vectorapi/VectorCastShape128Test.java fails when using RVV
Backport-of: e39197ec62
2023-09-28 15:34:05 +00:00
Manukumar V S
b0ad09d24d 8315606: Open source few swing text/html tests
Backport-of: 4127fbb9ed
2023-09-28 15:08:50 +00:00
Matthias Baesken
8f05d86191 8316341: sun/security/pkcs11/PKCS11Test.java needs adjustment on Linux ppc64le Ubuntu 22
Backport-of: aa0ebeedb1
2023-09-28 14:22:48 +00:00
Manukumar V S
d3c89cd722 8315606: Open source few swing text/html tests
Backport-of: 4127fbb9ed
2023-09-28 13:37:35 +00:00
Soumadipta Roy
3130e03843 8315770: serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies
Backport-of: 877731d2a2
2023-09-26 14:44:03 +00:00
Man Cao
ea00fcab99 8316468: os::write incorrectly handles partial write
Backport-of: 7ce5bd1590
2023-09-25 20:07:05 +00:00
Alexey Ivanov
e2f32f1abd 8316206: Test StretchedFontTest.java fails for Baekmuk font
Ignore broken fonts, i.e. the fonts for which
GlyphVector(TEXT).getVisualBounds().isEmpty() returns true

Backport-of: 00f585bd22
2023-09-25 14:19:55 +00:00
Matthias Baesken
be274aaa03 8313575: Refactor PKCS11Test tests
Backport-of: 7a08e6bdd6
2023-09-25 13:47:36 +00:00
Ludvig Janiuk
ccf8451691 8316199: Remove sun/tools/jstatd/TestJstatd* tests from problemlist for Windows.
Reviewed-by: coffeys, kevinw
Backport-of: 903b9e8dd9
2023-09-25 13:33:45 +00:00
Ludvig Janiuk
768592a52f 8314476: TestJstatdPortAndServer.java failed with "java.rmi.NoSuchObjectException: no such object in table"
Reviewed-by: kevinw
Backport-of: 1d0250709a
2023-09-25 07:56:41 +00:00
Matthias Baesken
86a1a44a62 8313252: Java_sun_awt_windows_ThemeReader_paintBackground release resources in early returns
Backport-of: 3671d83c87
2023-09-25 07:07:27 +00:00
Matthias Baesken
c6ff3f7cf7 8313164: src/java.desktop/windows/native/libawt/windows/awt_Robot.cpp GetRGBPixels adjust releasing of resources
Backport-of: b7545a69a2
2023-09-25 07:03:49 +00:00
Matthias Baesken
3b589198f3 8315213: java/lang/ProcessHandle/TreeTest.java test enhance output of children
Backport-of: f3aeb024d9
2023-09-25 06:54:42 +00:00
Rajat Mahajan
9983caa261 8294427: Check boxes and radio buttons have rendering issues on Windows in High DPI env
Backport-of: a63afa4aa6
2023-09-22 17:56:42 +00:00
Ilya Gavrilin
4eafc454c2 8313322: RISC-V: implement MD5 intrinsic
Backport-of: b093880acd
2023-09-22 17:34:57 +00:00
Aleksey Shipilev
305be8f768 8314045: ArithmeticException in GaloisCounterMode
Backport-of: f41c267f85
2023-09-22 15:36:42 +00:00
Aleksey Shipilev
487a726c52 8316178: Better diagnostic header for CodeBlobs
Backport-of: d575968b4b
2023-09-22 15:36:10 +00:00
Rajan Halade
3b690f1964 8308592: Framework for CA interoperability testing
Reviewed-by: mullan
Backport-of: da57d2a1eb
2023-09-22 15:29:36 +00:00
Aleksey Shipilev
e2bfc22b64 8315578: PPC builds are broken after JDK-8304913
Backport-of: 9559e035d2
2023-09-22 15:17:45 +00:00
Aggelos Biboudis
fa642371ad 8314632: Intra-case dominance check fails in the presence of a guard
Backport-of: 81f8c57e4a
2023-09-22 08:00:05 +00:00
Aggelos Biboudis
742ff74e59 8314226: Series of colon-style fallthrough switch cases with guards compiled incorrectly
Backport-of: 3b0a6d2a68
2023-09-22 07:58:11 +00:00
Daniel Fuchs
cea40621b0 8316031: SSLFlowDelegate should not log from synchronized block
Backport-of: dc5ca1d379
2023-09-21 14:23:11 +00:00
Christoph Langer
c0adad2f03 8316400: Exclude jdk/jfr/event/runtime/TestResidentSetSizeEvent.java on AIX
Backport-of: 2e2d49c76d
2023-09-21 13:14:41 +00:00
Christoph Langer
c86bad51a8 8316387: Exclude more failing multicast tests on AIX after JDK-8315651
8316399: Exclude java/net/MulticastSocket/Promiscuous.java on AIX

Reviewed-by: mbaesken
Backport-of: e62419823a
2023-09-21 13:12:41 +00:00
Christoph Langer
b9f54bd0a7 8315651: Stop hiding AIX specific multicast socket errors via NetworkConfiguration (aix)
Backport-of: e22eb06a3b
2023-09-21 13:12:12 +00:00
Andreas Steiner
f33c9a39fa 8313244: NM flags handling in configure process
Backport-of: 12326770dc
2023-09-21 12:34:37 +00:00
Aleksey Shipilev
b8c5a9ae1a 8315579: SPARC64 builds are broken after JDK-8304913
Backport-of: cfc148930b
2023-09-21 12:08:37 +00:00
Matthias Baesken
2155ada9f6 8313206: PKCS11 tests silently skip execution
Backport-of: 515add88ed
2023-09-21 12:07:57 +00:00
Chad Rakoczy
2f3e151106 8311813: C1: Uninitialized PhiResolver::_loop field
Backport-of: 489a32fe40
2023-09-20 15:40:40 +00:00
Matthias Baesken
fc11f381e8 8315644: increase timeout of sun/security/tools/jarsigner/Warning.java
Backport-of: 8bbebbba8f
2023-09-20 14:15:09 +00:00
Matthias Baesken
acd23acf80 8316123: ProblemList serviceability/dcmd/gc/RunFinalizationTest.java on AIX
Backport-of: 36552e7193
2023-09-20 07:29:26 +00:00
Elif Aslan
46f210c4a1 8311514: Incorrect regex in TestMetaSpaceLog.java
Backport-of: 9084b6c9d5
2023-09-19 19:21:02 +00:00
Sean Coffey
f885c25dc5 8316087: Test SignedLoggerFinderTest.java is still failing
Backport-of: ff240a9135
2023-09-19 16:11:09 +00:00
Sean Coffey
23125787f0 8315696: SignedLoggerFinderTest.java test failed
Backport-of: e409d07ae8
2023-09-19 16:00:27 +00:00
Sean Coffey
51d738b6b1 8314263: Signed jars triggering Logger finder recursion and StackOverflowError
Backport-of: 7daae1fb42
2023-09-19 15:47:37 +00:00
Aleksey Shipilev
ad222a46f9 8299614: Shenandoah: STW mark should keep nmethod/oops referenced from stack chunk alive
Backport-of: ece9bdfc83
2023-09-19 07:13:29 +00:00
Gui Cao
1899ad0731 8315931: RISC-V: xxxMaxVectorTestsSmokeTest fails when using RVV
Backport-of: 4070829ae5
2023-09-19 06:37:17 +00:00
robm
587a7ca82e Merge 2023-09-18 23:20:31 +00:00
Calvin Cheung
9ebc5ac923 8314649: Enhanced archival support redux
Reviewed-by: iklam
2023-09-18 23:17:21 +00:00
Sean Mullan
86a1699e5f 8309966: Enhanced TLS connections
Backport-of: d25ee81f56d67f2c51ba8b8c59f470c6f88ae47f
2023-09-18 23:17:16 +00:00
Calvin Cheung
5f5061fea8 8312248: Enhanced archival support redux
Backport-of: c2100a627d578901dffbbe631e5a6c9b88ca2209
2023-09-18 23:16:59 +00:00
pavel_kharskii
091ebfa5b6 8311682: Change milestone to fcs for all releases
Reviewed-by: coffeys
2023-09-18 23:14:30 +00:00
Prasadrao Koppula
b29310664f 8286503: Enhance security classes
Reviewed-by: wetmore
Backport-of: 7f5e120a631ffda3e6d5efc03bae572b21877b69
2023-09-18 23:14:27 +00:00
Rob McKenna
b8f0f91e4f 8315702: jcmd Thread.dump_to_file slow with millions of virtual threads
Backport-of: 3c258ac907
2023-09-15 19:07:20 +00:00
Rob McKenna
84cde0f4fb 8314759: VirtualThread.parkNanos timeout adjustment when pinned should be replaced
Backport-of: d9fc6b6933
2023-09-15 19:03:09 +00:00
Rob McKenna
dfc32a08d9 8312166: (dc) DatagramChannel's socket adaptor does not release carrier thread when blocking in receive
Backport-of: 028068a655
2023-09-15 18:39:06 +00:00
Rob McKenna
918ce3e9f5 8309545: Thread.interrupted from virtual thread needlessly resets interrupt status
Backport-of: 97df6cf55a
2023-09-15 18:30:37 +00:00
Aleksey Shipilev
5524b5e2e8 8316113: Infinite permission checking loop in java/net/spi/InetAddressResolverProvider/RuntimePermissionTest
Backport-of: 947dee7f2d
2023-09-14 08:48:56 +00:00
Matthias Baesken
42e5cd806a 8314121: test tools/jpackage/share/RuntimePackageTest.java#id0 fails on RHEL8
Backport-of: 8107eab3c0
2023-09-13 14:58:24 +00:00
Aleksey Shipilev
88633d9661 8308452: Extend internal Architecture enum with byte order and address size
8310982: jdk/internal/util/ArchTest.java fails after JDK-8308452 failed with Method isARM()

Backport-of: d6dd0dc3e0
2023-09-13 14:35:23 +00:00
Matthias Baesken
0294541d69 8315751: RandomTestBsi1999 fails often with timeouts on Linux ppc64le
Backport-of: 9887cd8adc
2023-09-13 14:18:54 +00:00
Joachim Kern
3eaecb05dc 8313873: java/nio/channels/DatagramChannel/SendReceiveMaxSize.java fails on AIX due to small default RCVBUF size and different IPv6 Header interpretation
Backport-of: 486fa08d4b
2023-09-13 14:02:14 +00:00
Jan Lahoda
efd090a6a0 8313792: Verify 4th party information in src/jdk.internal.le/share/legal/jline.md
Backport-of: 87a6acbeee
2023-09-13 13:37:07 +00:00
Christoph Langer
f6426fa38e 8314094: java/lang/ProcessHandle/InfoTest.java fails on Windows when run as user with Administrator privileges
Backport-of: 69c9ec92d0
2023-09-13 10:02:53 +00:00
William Kemper
9b983f30bd 8314935: Shenandoah: Unable to throw OOME on back-to-back Full GCs
Backport-of: 716201c77d
2023-09-12 16:56:24 +00:00
Jan Lahoda
1dac78c38e 8315735: VerifyError when switch statement used with synchronized block
Backport-of: 726c9c977d
2023-09-12 09:22:50 +00:00
Sidraya Jayagond
27f635fabe 8311630: [s390] Implementation of Foreign Function & Memory API (Preview)
Backport-of: ec1f7a8480
2023-09-12 09:07:09 +00:00
Matthias Baesken
acf28f4cd9 8311631: When multiple users run tools/jpackage/share/LicenseTest.java, Permission denied for writing /var/tmp/*.files
Reviewed-by: asemenyuk
Backport-of: fac9f88c52
2023-09-12 07:26:26 +00:00
Matthias Baesken
292ac0f7ba 8311938: Add default cups include location for configure on AIX
Backport-of: c4b8574b94
2023-09-12 07:16:01 +00:00
Andreas Steiner
d99b62b62f 8312466: /bin/nm usage in AIX makes needs -X64 flag
Backport-of: 44576a7cca
2023-09-12 07:13:28 +00:00
Matthias Baesken
2d8be5c74e 8315214: Do not run sun/tools/jhsdb tests concurrently
Backport-of: 1e7e2bcf35
2023-09-12 07:07:50 +00:00
Rajat Mahajan
82bb82a6e2 8311585: Add JRadioButtonMenuItem to bug8031573.java
Backport-of: 4f90abaf17
2023-09-11 18:10:48 +00:00
Christian Stein
8565c71036 8315863: [GHA] Update checkout action to use v4
Backport-of: b74805d383
2023-09-11 10:17:34 +00:00
Terry Chow
19279305d5 8308593: Add KEEPALIVE Extended Socket Options Support for Windows
Backport-of: f3ade388da
2023-09-11 09:45:33 +00:00
Aleksey Shipilev
3973d5ec59 8315549: CITime misreports code/total nmethod sizes
Reviewed-by: kvn
Backport-of: ab12c5d32f
2023-09-11 09:18:15 +00:00
Vladimir Kempik
9343d4666a 8315612: RISC-V: intrinsic for unsignedMultiplyHigh
Backport-of: 5d3fdc1750
2023-09-08 20:25:59 +00:00
Robbin Ehn
8477ff8570 8315206: RISC-V: hwprobe query is_set return wrong value
Backport-of: 876a725af9
2023-09-06 13:11:35 +00:00
Jan Lahoda
aef25fcac1 8315452: Erroneous AST missing modifiers for partial input
Reviewed-by: asotona, vromero
Backport-of: 84425a6290
2023-09-06 07:18:56 +00:00
Aleksey Shipilev
6e54e82865 8314495: Update to use jtreg 7.3.1
Reviewed-by: phh
Backport-of: c50315de8f
2023-09-05 15:27:41 +00:00
Mandy Chung
b207ce7761 8315383: jlink SystemModulesPlugin incorrectly parses the options
8311591: Add SystemModulesPlugin test case that splits module descriptors with new local variables defined by DedupSetBuilder

Reviewed-by: phh
Backport-of: ea5aa61c8c
2023-09-05 15:27:07 +00:00
Aleksey Shipilev
f1e8b19f8b 8313167: Update to use jtreg 7.3
Backport-of: 9c6eb67e85
2023-09-05 14:21:35 +00:00
Rob McKenna
f07c8f2116 8315688: Update jdk21u fix version to 21.0.2
Reviewed-by: mdoerr, coffeys
2023-09-05 13:01:52 +00:00
rreddy
a19f2fdbad Merge remote-tracking branch 'jdk21u/master' 2023-09-05 07:52:10 +00:00
Jan Lahoda
49bef915bc 8313323: javac -g on a java file which uses unnamed variable leads to ClassFormatError when launching that class
Backport-of: adfc1d6cd2
2023-09-05 07:25:02 +00:00
Jan Lahoda
a4d64abf2a 8315534: Incorrect warnings about implicit annotation processing
Backport-of: 94a74a0a45
2023-09-05 07:23:04 +00:00
rreddy
7c83730233 Merge remote-tracking branch 'upstream/master' 2023-09-05 06:46:55 +00:00
Martin Doerr
fbc194a333 8299658: C1 compilation crashes in LinearScan::resolve_exception_edge
Backport-of: cf2d33ca2e
2023-09-04 20:15:14 +00:00
airsquared
b86a0ce1b6 8309032: jpackage does not work for module projects unless --module-path is specified
Backport-of: dfe764e3f8
2023-09-04 18:29:47 +00:00
Roman Marchenko
efb11c1b18 8314024: SIGSEGV in PhaseIdealLoop::build_loop_late_post_work due to bad immediate dominator info
Reviewed-by: thartmann
Backport-of: ed1ea5fe7c
2023-09-04 12:50:00 +00:00
Alexander Scherbatiy
91e37e9056 8311033: [macos] PrinterJob does not take into account Sides attribute
Backport-of: a3d67231a7
2023-09-04 10:13:05 +00:00
Aleksey Shipilev
72980bd898 8315051: jdk/jfr/jvm/TestGetEventWriter.java fails with non-JVMCI GCs
Backport-of: 145d8bc1a3
2023-09-04 06:38:37 +00:00
Tobias Hartmann
233076e534 8313626: C2 crash due to unexpected exception control flow
Backport-of: f8203cb272
2023-09-01 06:14:24 +00:00
Ao Qi
33ce611eb7 8315020: The macro definition for LoongArch64 zero build is not accurate.
Backport-of: 725ec0ce1b
2023-09-01 03:40:17 +00:00
Thomas Stuefe
5589b9ec51 8312585: Rename DisableTHPStackMitigation flag to THPStackMitigation
Backport-of: 226cdc696d
2023-08-31 15:05:45 +00:00
Aleksey Shipilev
5cd6929a2c 8314656: GHA: No need for Debian ports keyring installation after JDK-8313701
Backport-of: 76b9011c9e
2023-08-31 08:01:35 +00:00
rreddy
d35bbe7796 Merge remote-tracking branch 'upstream/master' 2023-08-31 05:00:31 +00:00
Sergey Bylokhov
70c05d1b07 8312535: MidiSystem.getSoundbank() throws unexpected SecurityException
Backport-of: 87298d2ade
2023-08-31 04:03:11 +00:00
Alexander Matveev
d55535d2e8 8308042: [macos] Developer ID Application Certificate not picked up by jpackage if it contains UNICODE characters
Backport-of: 57a322da9b
2023-08-30 21:26:44 +00:00
Chris Plummer
bb1adb1d3d 8314679: SA fails to properly attach to JVM after having just detached from a different JVM
Backport-of: 38a9edfb7e
2023-08-30 18:50:25 +00:00
nibjen
c7cff818b5 8312489: Increase jdk.jar.maxSignatureFileSize default which is too low for JARs such as WhiteSource/Mend unified agent jar
Reviewed-by: hchao
Backport-of: e47a84f23d
2023-08-30 17:32:02 +00:00
Matthias Baesken
071ec8d04b 8313691: use close after failing os::fdopen in vmError and ciEnv
Backport-of: 96304f37f8
2023-08-30 12:50:13 +00:00
Aleksey Shipilev
511224ac14 8313262: C2: Sinking node may cause required cast to be dropped
Backport-of: 1cee3b9fd9
2023-08-30 05:55:56 +00:00
Oli Gillespie
42aec91488 8313874: JNI NewWeakGlobalRef throws exception for null arg
Backport-of: 028b3ae1b1
2023-08-29 13:53:10 +00:00
Oli Gillespie
c1892758ce 8313678: SymbolTable can leak Symbols during cleanup
Backport-of: 4b2703ad39
2023-08-29 13:52:32 +00:00
Thomas Stuefe
af9d11eb22 8314139: TEST_BUG: runtime/os/THPsInThreadStackPreventionTest.java could fail on machine with large number of cores
Backport-of: 7332502883
2023-08-29 10:03:54 +00:00
Andrew John Hughes
77b5fa2d9b 8284772: GHA: Use GCC Major Version Dependencies Only
Backport-of: 7e843c22e7
2023-08-29 02:30:56 +00:00
Sidraya Jayagond
8bf3ba34b5 8309889: [s390] Missing return statement after calling jump_to_native_invoker method in generate_method_handle_dispatch.
Backport-of: 514816ed7d
2023-08-28 21:20:52 +00:00
Tyler Steele
2408df237e 8309475: Test java/foreign/TestByteBuffer.java fails: a problem with msync (aix)
Backport-of: 395fc78880
2023-08-28 21:14:53 +00:00
Weibing Xiao
1f5ba7a8d6 8314063: The socket is not closed in Connection::createSocket when the handshake failed for LDAP connection
Backport-of: f2383b3cbd
2023-08-28 16:00:05 +00:00
Thomas Stuefe
34e9be5154 8312620: WSL Linux build crashes after JDK-8310233
Backport-of: 25058cd23a
2023-08-28 15:42:25 +00:00
Thomas Stuefe
4cca633e37 8312182: THPs cause huge RSS due to thread start timing issue
8310687: JDK-8303215 is incomplete

Backport-of: 84b325b844
2023-08-28 15:34:42 +00:00
Thomas Stuefe
89234bc31d 8303815: Improve Metaspace test speed
Backport-of: de0e46c2f6
2023-08-28 15:32:21 +00:00
Thomas Stuefe
3f889a8d25 8312394: [linux] SIGSEGV if kernel was built without hugepage support
Backport-of: 94eb44b192
2023-08-26 05:33:05 +00:00
Rajan Halade
4909911fde 8314960: Add Certigna Root CA - 2
Backport-of: e9ba8d5a0e
2023-08-25 20:06:49 +00:00
Patricio Chilano Mateo
f5eef2021a 8314850: SharedRuntime::handle_wrong_method() gets called too often when resolving Continuation.enter
Backport-of: 8e4240c316
2023-08-25 19:50:55 +00:00
Ben Taylor
46ce5553e4 8313796: AsyncGetCallTrace crash on unreadable interpreter method pointer
Backport-of: 0e2c72d7a5
2023-08-25 19:50:22 +00:00
Sean Coffey
b96aa3c42e 8311592: ECKeySizeParameterSpec causes too many exceptions on third party providers
Backport-of: e554fdee25
2023-08-25 18:22:06 +00:00
Aleksey Shipilev
a34b844428 8313701: GHA: RISC-V should use the official repository for bootstrap
Backport-of: 538f9557b8
2023-08-25 17:00:23 +00:00
Valerie Peng
c849fa5b1f 8309214: sun/security/pkcs11/KeyStore/CertChainRemoval.java fails after 8301154
Backport-of: ba6cdbe2c2
2023-08-24 19:28:05 +00:00
Roger Riggs
4729fad053 8313312: Add missing classpath exception copyright header
Reviewed-by: bpb
Backport-of: 53ca75b18e
2023-08-24 18:05:16 +00:00
Aleksey Shipilev
7a2aa86680 8314020: Print instruction blocks in byte units
Backport-of: a602624ef4
2023-08-24 13:00:16 +00:00
Aleksey Shipilev
17a7fc316d 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev
Backport-of: 69d900d2ce
2023-08-24 12:59:45 +00:00
Aleksey Shipilev
f6bd1691f4 8313901: [TESTBUG] test/hotspot/jtreg/compiler/codecache/CodeCacheFullCountTest.java fails with java.lang.VirtualMachineError
Backport-of: d1de3d082e
2023-08-24 12:59:05 +00:00
Christian Hagedorn
c577a11ce9 8313760: [REDO] Enhance AES performance
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: adinn, sviswanathan, rhalade, kvn, dlong
Backport-of: 49ddb19972
2023-08-24 12:34:55 +00:00
Alexey Ivanov
6588678b81 8312555: Ideographic characters aren't stretched by AffineTransform.scale(2, 1)
Ignore bitmaps embedded into fonts for non-uniform scales

Backport-of: 62610203f1
2023-08-24 12:23:17 +00:00
Matthias Baesken
5c84a01a45 8314517: some tests fail in case ipv6 is disabled on the machine
Backport-of: 703817d21f
2023-08-24 07:41:02 +00:00
Matthias Baesken
5ad0c0c3f1 8313602: increase timeout for jdk/classfile/CorpusTest.java
Backport-of: bdac348c80
2023-08-24 07:30:25 +00:00
Tyler Steele
82d7bc57b7 8312180: (bf) MappedMemoryUtils passes incorrect arguments to msync (aix)
Backport-of: fdac6a6ac8
2023-08-24 06:13:43 +00:00
Aleksey Shipilev
c17b5d7588 8314501: Shenandoah: sun/tools/jhsdb/heapconfig/JMapHeapConfigTest.java fails
Backport-of: 812f475bc4
2023-08-24 06:08:16 +00:00
Aleksey Shipilev
f07aa56445 8314426: runtime/os/TestTrimNative.java is failing on slow machines
Backport-of: 20e94784c9
2023-08-24 06:07:02 +00:00
Aleksey Shipilev
1c3409b3a5 8313752: InstanceKlassFlags::print_on doesn't print the flag names
Backport-of: 735b16a696
2023-08-24 06:06:29 +00:00
Thomas Stuefe
d6a4e469e4 8310233: Fix THP detection on Linux
Backport-of: 37ca9024ef
2023-08-24 05:47:45 +00:00
David Holmes
3d38c53c34 8311981: Test gc/stringdedup/TestStringDeduplicationAgeThreshold.java#ZGenerational timed out
Backport-of: f142470dea
2023-08-23 22:23:16 +00:00
Calvin Cheung
1e16543a60 8314649: Enhanced archival support redux
Reviewed-by: iklam
2023-08-23 18:38:58 +00:00
Christian Hagedorn
1cab474f04 8313756: [BACKOUT] 8308682: Enhance AES performance
Backport-of: 207bd00c51
2023-08-23 09:23:05 +00:00
Gui Cao
89aea0dace 8314618: RISC-V: -XX:MaxVectorSize does not work as expected
Backport-of: a66b5df14a
2023-08-23 06:27:00 +00:00
rreddy
79b83426d6 Merge remote-tracking branch 'upstream/master' 2023-08-22 13:20:38 +00:00
Rob McKenna
e1ef69abba Merge 2023-08-22 12:42:24 +00:00
rreddy
aad67869f3 Merge remote-tracking branch 'upstream/master' 2023-08-22 08:01:09 +00:00
Feilong Jiang
8792922fc7 8314117: RISC-V: Incorrect VMReg encoding in RISCV64Frame.java
Backport-of: 5c91622885
2023-08-22 02:46:54 +00:00
Valerie Peng
334b977259 8302017: Allocate BadPaddingException only if it will be thrown
Backport-of: c27c87786a
2023-08-22 00:17:02 +00:00
Alexander Matveev
16fa05594c 8313904: [macos] All signing tests which verifies unsigned app images are failing
Reviewed-by: asemenyuk
Backport-of: ec0cc6300a
2023-08-21 20:59:31 +00:00
Aggelos Biboudis
8a09253221 8314423: Multiple patterns without unnamed variables
8314216: Case enumConstant, pattern compilation fails

Backport-of: 4331193010
2023-08-21 19:16:21 +00:00
Ben Taylor
9d1d5e78c6 8313765: Invalid CEN header (invalid zip64 extra data field size)
Backport-of: 13f6450e2e
2023-08-21 17:13:36 +00:00
Aleksey Shipilev
32a1c79066 8309591: Socket.setOption(TCP_QUICKACK) uses wrong level
Backport-of: 56a73a6f0f
2023-08-21 15:43:30 +00:00
Aleksey Shipilev
04adfb390c 8314262: GHA: Cut down cross-compilation sysroots deeper
Backport-of: 38687f1a3e
2023-08-21 14:37:00 +00:00
Thomas Schatzl
be077e0667 8314144: gc/g1/ihop/TestIHOPStatic.java fails due to extra concurrent mark with -Xcomp
Reviewed-by: ayang
Backport-of: 1925508425
2023-08-18 11:44:54 +00:00
Raffaello Giulietti
c3eda1c529 8312976: MatchResult produces StringIndexOutOfBoundsException for groups outside match
Reviewed-by: rriggs
Backport-of: 61c58fdd00
2023-08-17 19:10:50 +00:00
Mandy Chung
1e81fa55d5 8240567: MethodTooLargeException thrown while creating a jlink image
Reviewed-by: phh
Backport-of: ec7da91bd8
2023-08-17 16:11:09 +00:00
Weibing Xiao
d37d019be2 8313657: com.sun.jndi.ldap.Connection.cleanup does not close connections on SocketTimeoutErrors
Backport-of: e56d3bc2da
2023-08-16 15:28:05 +00:00
Rob McKenna
9c24db165b Merge 2023-08-16 13:13:14 +00:00
Abhishek Kumar
f7626de5d1 8311160: [macOS, Accessibility] VoiceOver: No announcements on JRadioButtonMenuItem and JCheckBoxMenuItem
Reviewed-by: asemenov, kizune
Backport-of: c1f4595e64
2023-08-16 06:19:08 +00:00
Matthias Baesken
956d563e3c 8311511: Improve description of NativeLibrary JFR event
Backport-of: 848abd2831
2023-08-15 07:09:54 +00:00
Aleksey Shipilev
afd6c7a0bc 8310106: sun.security.ssl.SSLHandshake.getHandshakeProducer() incorrectly checks handshakeConsumers
Backport-of: db133dbc02
2023-08-15 07:06:19 +00:00
Aleksey Shipilev
56e6e4544c 8314118: Update JMH devkit to 1.37
Backport-of: 06aa3c5628
2023-08-15 07:02:56 +00:00
Aleksey Shipilev
8912d3e589 8312127: FileDescriptor.sync should temporarily increase parallelism
Reviewed-by: alanb
Backport-of: fbe51e388d
2023-08-15 07:00:00 +00:00
Aleksey Shipilev
b06ee413fb 8312625: Test serviceability/dcmd/vm/TrimLibcHeapTest.java failed: RSS use increased
Reviewed-by: stuefe
Backport-of: 117f42dbe9
2023-08-15 06:59:29 +00:00
Aleksey Shipilev
bd634d2ec7 8313307: java/util/Formatter/Padding.java fails on some Locales
Backport-of: 408987e1ca
2023-08-15 06:58:24 +00:00
Aleksey Shipilev
bdf9f4b6cc 8308474: DSA does not reset SecureRandom when initSign is called again
Reviewed-by: valeriep
Backport-of: bed9161c81
2023-08-15 06:57:50 +00:00
Aleksey Shipilev
f67c241842 8313248: C2: setScopedValueCache intrinsic exposes nullptr pre-values to store barriers
Backport-of: e8a37b90db
2023-08-10 12:05:45 +00:00
Aleksey Shipilev
fc624dfa2a 8312525: New test runtime/os/TestTrimNative.java#trimNative is failing: did not see the expected RSS reduction
Reviewed-by: stuefe
Backport-of: ad34be1f32
2023-08-10 12:02:57 +00:00
Aleksey Shipilev
a094e937bf 8293114: JVM should trim the native heap
Reviewed-by: stuefe
Backport-of: 9e4fc568a6
2023-08-10 11:56:27 +00:00
Ravi Reddy
588036aa26 8308047: java/util/concurrent/ScheduledThreadPoolExecutor/BasicCancelTest.java timed out and also had jcmd pipe errors
Backport-of: 8c9d091f19
2023-08-10 11:46:41 +00:00
Aleksey Shipilev
fd1f47c64a 8313676: Amend TestLoadIndexedMismatch test to target intrinsic directly
Backport-of: 4b192a8dc3
2023-08-10 11:46:01 +00:00
Daniel D. Daugherty
890adb6410 8314062: ProblemList jdk/jfr/tool/TestView.java on macosx-x64
Reviewed-by: naoto
2023-08-09 20:19:41 +00:00
Stefan Karlsson
8002b3e3f1 8311179: Generational ZGC: gc/z/TestSmallHeap.java failed with OutOfMemoryError
Reviewed-by: aboldtch, tschatzl
Backport-of: 28fd7a1739
2023-08-09 20:11:53 +00:00
Jim Laskey
c746fc013c 8313809: String template fails with java.lang.StringIndexOutOfBoundsException if last fragment is UTF16
Reviewed-by: redestad
Backport-of: 6864441163
2023-08-09 15:13:37 +00:00
Sean Mullan
fc9a6f0ac8 8309966: Enhanced TLS connections
Backport-of: d25ee81f56d67f2c51ba8b8c59f470c6f88ae47f
2023-08-09 14:41:09 +00:00
Jim Laskey
a07353053d 8312814: Compiler crash when template processor type is a captured wildcard
Reviewed-by: jjg, vromero
Backport-of: f14245b388
2023-08-09 10:46:42 +00:00
Aleksey Shipilev
fd7a104beb 8313402: C1: Incorrect LoadIndexed value numbering
Reviewed-by: thartmann
Backport-of: 46fbedb2be
2023-08-09 08:23:43 +00:00
Aleksey Shipilev
134e2702e6 8313707: GHA: Bootstrap sysroots with --variant=minbase
Backport-of: 29f1d8ef50
2023-08-09 08:21:54 +00:00
Tobias Hartmann
01a5df689b 8313345: SuperWord fails due to CMove without matching Bool pack
Reviewed-by: chagedorn
Backport-of: d3b578f1c9
2023-08-09 07:56:41 +00:00
Sergey Bylokhov
51d128dafd 8313576: GCC 7 reports compiler warning in bundled freetype 2.13.0
Backport-of: 8248e351d0
2023-08-08 17:41:14 +00:00
Calvin Cheung
cb01f421db 8312248: Enhanced archival support redux
Backport-of: c2100a627d578901dffbbe631e5a6c9b88ca2209
2023-08-08 15:11:39 +00:00
Tobias Hartmann
7350b3f5c3 8312909: C1 should not inline through interface calls with non-subtype receiver
Backport-of: ab1c212ac1
2023-08-08 14:21:56 +00:00
Tobias Hartmann
515387d71f 8304954: SegmentedCodeCache fails when using large pages
Backport-of: cad6114e1c
2023-08-08 14:21:17 +00:00
Christoph Langer
a21ad5503a 8311926: java/lang/ScopedValue/StressStackOverflow.java takes 9mins in tier1
Backport-of: 7304316a8c
2023-08-08 12:03:32 +00:00
rreddy
412d02d9de Merge remote-tracking branch 'upstream/master' 2023-08-08 11:33:44 +00:00
Rob McKenna
aafd687cb5 Merge 2023-08-08 10:53:05 +00:00
Jesper Wilhelmsson
bfe037a476 8312985: Remove EA from the JDK 21 version string with first RC promotion on August 10, 2023
Reviewed-by: mikael
2023-08-07 23:39:12 +00:00
Jan Lahoda
f65c4503a8 8312619: Strange error message when switching over long
Backport-of: cc2a75e11c
2023-08-07 08:17:36 +00:00
Jan Lahoda
8ebd234cbf 8312984: javac may crash on a record pattern with too few components
Backport-of: c386091734
2023-08-07 07:10:23 +00:00
Jiangli Zhou
6dc4a07556 8312401: SymbolTable::do_add_if_needed hangs when called in InstanceKlass::add_initialization_error path with requesting length exceeds max_symbol_length
Backport-of: 36f3bae556
2023-08-05 03:11:08 +00:00
Stefan Karlsson
4273487ee2 8313593: Generational ZGC: NMT assert when the heap fails to expand
Reviewed-by: eosterlund
Backport-of: 19e2c8c321
2023-08-04 11:33:06 +00:00
Christoph Langer
90249f0add 8310211: serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing
Backport-of: 16134f4422
2023-08-04 09:58:07 +00:00
Christoph Langer
b0da6c16bb 8308609: java/lang/ScopedValue/StressStackOverflow.java fails with "-XX:-VMContinuations"
8310586: ProblemList java/lang/ScopedValue/StressStackOverflow.java#default with virtual threads on linux-all

Reviewed-by: mbaesken, alanb
Backport-of: 44a8aa0691
2023-08-04 09:57:33 +00:00
Justin Lu
fd789db510 8312572: JDK 21 RDP2 L10n resource files update
Reviewed-by: naoto, iris
Backport-of: 9b55e9a706
2023-08-03 20:49:36 +00:00
Matthias Baesken
0346a3469b 8311955: c++filt is now ibm-llvm-cxxfilt when using xlc17 / clang on AIX
Backport-of: 0328886450
2023-08-03 15:37:43 +00:00
Aleksey Shipilev
40092ed235 8313428: GHA: Bump GCC versions for July 2023 updates
Backport-of: ec2f38fd38
2023-08-03 15:35:31 +00:00
Aleksey Shipilev
230df9923e 8312591: GCC 6 build failure after JDK-8280982
Backport-of: 9454b2bbe1
2023-08-03 15:34:23 +00:00
Vladimir Kempik
89875df834 8310268: RISC-V: misaligned memory access in String.Compare intrinsic
Backport-of: d6245b6832
2023-08-03 15:25:11 +00:00
Matthias Baesken
46dd7333a6 8312574: jdk/jdk/jfr/jvm/TestChunkIntegrity.java fails with timeout
Reviewed-by: clanger
Backport-of: 34173ff0d1
2023-08-03 08:47:02 +00:00
Christoph Langer
f532042919 8309088: security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java fails
Reviewed-by: mbaesken
Backport-of: 4c2e54fb05
2023-08-03 07:40:21 +00:00
Christoph Langer
610812d474 8311822: AIX : test/jdk/java/foreign/TestLayouts.java fails because of different output - expected [[i4](struct)] but found [[I4](struct)]
Reviewed-by: mbaesken
Backport-of: d1cc278260
2023-08-03 07:39:47 +00:00
Christoph Langer
f87a70debe 8303549: [AIX] TestNativeStack.java is failing with exit value 1
Reviewed-by: mbaesken
Backport-of: 5ff42d1429
2023-08-03 07:37:42 +00:00
Jorn Vernee
20ca0465b5 8313023: Return value corrupted when using CCS + isTrivial (mainline)
Reviewed-by: thartmann, mcimadamore
Backport-of: 6fca289887
2023-08-02 10:58:43 +00:00
Aleksey Shipilev
53aceba71e 8307766: Linux: Provide the option to override the timer slack
Reviewed-by: stuefe
Backport-of: 7173c3009e
2023-08-02 08:18:53 +00:00
Christoph Langer
c3519d0e53 8313256: Exclude failing multicast tests on AIX
Reviewed-by: mbaesken
Backport-of: 98a915a54c
2023-08-02 07:32:20 +00:00
Christoph Langer
5a74a8d6c3 8313404: Fix section label in test/jdk/ProblemList.txt
Reviewed-by: mbaesken
Backport-of: 94b50b714a
2023-08-02 07:31:52 +00:00
Tobias Hartmann
6f76b65ace 8312573: Failure during CompileOnly parsing leads to ShouldNotReachHere
Reviewed-by: kvn, tholenstein
2023-08-02 06:36:48 +00:00
Justin Lu
f34ac12aa7 8039165: [Doc] MessageFormat null locale generates NullPointerException
Reviewed-by: naoto, iris
Backport-of: c6396dceb9
2023-08-01 23:00:14 +00:00
Roger Riggs
a228185ebb 8310033: Clarify return value of Java Time compareTo methods
Reviewed-by: naoto
Backport-of: 8650026ff1
2023-08-01 14:35:29 +00:00
rreddy
50f35bda85 Merge remote-tracking branch 'upstream/master' 2023-08-01 12:33:52 +00:00
Rob McKenna
5c6cd06177 Merge 2023-08-01 11:07:51 +00:00
Christoph Langer
731b2e94b9 8313316: Disable runtime/ErrorHandling/MachCodeFramesInErrorFile.java on ppc64le
Reviewed-by: mbaesken
Backport-of: 807ca2d3a1
2023-08-01 07:39:35 +00:00
Matthias Baesken
d65f1c8bcb 8312395: Improve assertions in growableArray
Backport-of: b772e67e29
2023-08-01 07:29:18 +00:00
Matthias Baesken
e9e15202b6 8310321: make JDKOPT_CHECK_CODESIGN_PARAMS more verbose
Backport-of: 9eed049098
2023-08-01 07:12:42 +00:00
Matthias Baesken
22e162d62e 8309088: security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java fails
Backport-of: 4c2e54fb05
2023-08-01 07:12:13 +00:00
Matthias Baesken
f020851dd8 8311921: Inform about MaxExpectedDataSegmentSize in case of pthread_create failures on AIX
Backport-of: aa7367f1ec
2023-08-01 07:09:39 +00:00
David Holmes
0439d58422 8300937: Update nroff pages in JDK 21 before RC
Reviewed-by: mchung, iris, egahlin
2023-07-31 21:09:44 +00:00
Matthias Baesken
6b738ad192 8311917: MAP_FAILED definition seems to be obsolete in src/java.desktop/unix/native/common/awt/fontpath.c
Backport-of: a38a421f62
2023-07-31 14:46:52 +00:00
Paul Hohensee
a892672f4e 8313081: MonitoringSupport_lock should be unconditionally initialized after 8304074
Backport-of: a9d21c61fb
2023-07-31 14:25:22 +00:00
Ramesh Bhagavatam Gangadhar
11dbcf1799 8309305: sun/security/ssl/SSLSocketImpl/BlockedAsyncClose.java fails with jtreg test timeout
Reviewed-by: ssahoo
Backport-of: 8042a50b99
2023-07-30 06:11:05 +00:00
Sergey Bylokhov
bb63b79112 8313260: JDK21: ProblemList java/lang/ScopedValue/StressStackOverflow.java on linux-x86
Reviewed-by: clanger
2023-07-28 15:52:39 +00:00
Aleksey Shipilev
24fe96b920 8309746: Reconfigure check should include make/conf/version-numbers.conf
Backport-of: 955fc2faba
2023-07-28 08:36:56 +00:00
Matthias Baesken
bb234a0c5e 8311026: Some G1 specific tests do not set -XX:+UseG1GC
Backport-of: a7d168b522
2023-07-28 07:11:57 +00:00
Tobias Hartmann
f242c3b9f8 8313241: Temporarily disable "malformed control flow" assert to reduce noise
Reviewed-by: chagedorn, kvn, dcubed
2023-07-28 06:59:52 +00:00
Matthias Baesken
75a792b16b 8311285: report some fontconfig related environment variables in hs_err file
Backport-of: 0ef03f1228
2023-07-28 06:42:32 +00:00
Christoph Langer
1c875fd499 8313250: Exclude java/foreign/TestByteBuffer.java on AIX
Reviewed-by: rriggs
Backport-of: c05ba48b60
2023-07-27 21:41:56 +00:00
Markus Grönlund
3e9344a554 8312293: SIGSEGV in jfr.internal.event.EventWriter.putUncheckedByte after JDK-8312086
Reviewed-by: egahlin
Backport-of: 59f66a3b83
2023-07-27 16:57:33 +00:00
Daniel D. Daugherty
a10dbcecdb 8313208: ProblemList java/util/concurrent/tck/JSR166TestCase.java on select platforms
Reviewed-by: darcy
2023-07-26 19:28:12 +00:00
Daniel D. Daugherty
f666e60681 8313193: ProblemList java/util/concurrent/SynchronousQueue/Fairness.java on X64
Reviewed-by: rriggs
2023-07-26 18:51:40 +00:00
pavel_kharskii
2f36f36caa 8311681: Update the Jan CPU24_01 release date in master branch after forking Oct CPU23_10
Reviewed-by: coffeys
2023-07-26 15:54:56 +00:00
rreddy
73d42ba9f1 Merge 2023-07-26 12:00:56 +00:00
Aleksey Shipilev
e04b3061fc 8311249: Remove unused MemAllocator::obj_memory_range
Backport-of: 711cddd899
2023-07-26 11:01:47 +00:00
Rob McKenna
ffdf7acd8c Merge 2023-07-25 11:23:22 +00:00
Ravi Reddy
e636945921 8311680: Update the release version after forking Oct CPU23_10
Reviewed-by: robm
2023-07-25 05:58:50 +00:00
Serguei Spitsyn
817dc554e5 8300051: assert(JvmtiEnvBase::environments_might_exist()) failed: to enter event controller, JVM TI environments must exist
Reviewed-by: cjplummer
Backport-of: 783de32b6a
2023-07-25 00:11:16 +00:00
Daniel Jeliński
aae2cbd308 8307185: pkcs11 native libraries make JNI calls into java code while holding GC lock
Reviewed-by: alanb
Backport-of: 354c6605e3
2023-07-24 10:09:19 +00:00
Prasadrao Koppula
8b7afecff1 8286503: Enhance security classes
Reviewed-by: wetmore
Backport-of: 7f5e120a631ffda3e6d5efc03bae572b21877b69
2023-07-21 15:13:34 +00:00
Gui Cao
e106280251 8311923: TestIRMatching.java fails on RISC-V
Backport-of: e7adbdb1f1
2023-07-20 14:24:16 +00:00
Sean Mullan
ff5d9695f6 8308204: Enhanced certificate processing
Reviewed-by: jnimeh
Backport-of: ef0ea85bf1398b73bd308ba2b395c917b449aa3b
2023-07-20 12:23:27 +00:00
Johny Jose
7f658ce078 8308184: Launching java with large number of jars in classpath with java.protocol.handler.pkgs system property set can lead to StackOverflowError
Reviewed-by: jpai, coffeys
Backport-of: 268ec61d4f
2023-07-20 07:40:37 +00:00
Valerie Peng
6786fa4bfd 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider
Reviewed-by: mullan, ascarpino, xuelei
Backport-of: 28c4d196cf
2023-07-20 01:23:53 +00:00
Chris Plummer
fde53fc715 8310551: vmTestbase/nsk/jdb/interrupt/interrupt001/interrupt001.java timed out due to missing prompt
Reviewed-by: sspitsyn
Backport-of: c84866ac0d
2023-07-19 19:14:33 +00:00
Vladimir Kempik
1776b3d231 8311862: RISC-V: small improvements to shift immediate instructions
Backport-of: f3b96f6937
2023-07-19 12:09:58 +00:00
Jan Lahoda
6d9da7ce62 8311815: Incorrect exhaustivity computation
Reviewed-by: vromero
Backport-of: a4412166ec
2023-07-19 08:47:20 +00:00
Aggelos Biboudis
48760d7a04 8312163: Crash in dominance check when compiling unnamed patterns
Reviewed-by: jlahoda
Backport-of: 1fc726a8b3
2023-07-19 07:37:21 +00:00
Christian Hagedorn
8198737220 8308682: Enhance AES performance
Reviewed-by: rhalade, dlong, kvn
2023-07-18 21:31:32 +00:00
Jan Lahoda
445099f87d 8303376: Better launching of JDI
Reviewed-by: mschoene, rhalade, vromero
2023-07-18 21:31:31 +00:00
Calvin Cheung
52c00a1490 8296565: Enhanced archival support
Reviewed-by: rhalade, iklam
2023-07-18 21:31:31 +00:00
Brian Burkhalter
f629339124 8305312: Enhanced path handling
Reviewed-by: rhalade, alanb
2023-07-18 21:31:31 +00:00
Ioi Lam
4e9e598da0 8294323: Improve Shared Class Data
Co-authored-by: Calvin Cheung <ccheung@openjdk.org>
Reviewed-by: coleenp, rhalade
2023-07-18 21:31:31 +00:00
Hai-May Chao
3ecfeb9183 8300596: Enhance Jar Signature validation
Reviewed-by: mullan, rhalade, mschoene, weijun
2023-07-18 21:31:31 +00:00
Lance Andersen
2905dfd58c 8302483: Enhance ZIP performance
Reviewed-by: ahgross, alanb, rhalade, coffeys
2023-07-18 21:31:31 +00:00
Michael McMahon
19790ded95 8302475: Enhance HTTP client file downloading
Reviewed-by: dfuchs, rhalade
2023-07-18 21:31:31 +00:00
Tobias Hartmann
7459f74afe 8304460: Improve array usages
Reviewed-by: iveresov, rhalade, chagedorn
2023-07-18 21:31:31 +00:00
Tobias Hartmann
241f3fdc3b 8304468: Better array usages
Reviewed-by: iveresov, rhalade, chagedorn
2023-07-18 21:31:30 +00:00
Jamil Nimeh
f026904c83 8300285: Enhance TLS data handling
Reviewed-by: ahgross, ascarpino, rhalade
2023-07-18 21:31:30 +00:00
Serguei Spitsyn
9a19016bec 8312189: ProblemList serviceability/jvmti/vthread/VThreadTLSTest/VThreadTLSTest.java#id1
Reviewed-by: amenkov
Backport-of: 3236ba0be4
2023-07-18 20:40:09 +00:00
Serguei Spitsyn
e3cfb56d8f 8311556: GetThreadLocalStorage not working for vthreads mounted during JVMTI attach
Reviewed-by: amenkov
Backport-of: 11a5115caf
2023-07-18 20:36:21 +00:00
Markus Grönlund
36aae5f36a 8311040: JFR: RecordedThread::getOSThreadId() should return -1 if thread is virtual
Reviewed-by: egahlin
Backport-of: 9905f75822
2023-07-18 19:26:17 +00:00
Jan Lahoda
7a5d6f90f0 8311038: Incorrect exhaustivity computation
Reviewed-by: vromero
Backport-of: bbb7ce5137
2023-07-18 17:50:16 +00:00
Mandy Chung
b8eddabac0 8310814: Clarify the targetName parameter of Lookup::findClass
Reviewed-by: darcy
Backport-of: b4dce0d624
2023-07-18 16:48:52 +00:00
Joakim Nordström
b380d1b3d8 8307526: [JFR] Better handling of tampered JFR repository
Reviewed-by: mgronlun
Backport-of: 66d2736521
2023-07-18 10:22:24 +00:00
Jan Lahoda
b6827ff331 8311825: Duplicate qualified enum constants not detected
Reviewed-by: vromero
Backport-of: d1fa1a8686
2023-07-18 08:22:37 +00:00
Jan Lahoda
a08c6b9b2e 8312093: Incorrect javadoc comment text
Reviewed-by: jlaskey, iris
Backport-of: 1c9691b1f7
2023-07-18 08:22:06 +00:00
Jim Laskey
4fcb0b28d7 8312098: Update man page for javadoc
Reviewed-by: darcy
2023-07-14 15:54:51 +00:00
Aleksey Shipilev
49479dbe59 8311647: Memory leak in Java_jdk_internal_org_jline_terminal_impl_jna_linux_CLibraryImpl_ttyname_1r
Reviewed-by: rriggs
Backport-of: 43099a85b1
2023-07-14 14:49:40 +00:00
Markus Grönlund
c199b8c761 8303134: JFR: Missing stack trace during chunk rotation stress
Reviewed-by: egahlin
Backport-of: 7539cc092d
2023-07-14 12:49:08 +00:00
Markus Grönlund
fd949c74ad 8244289: fatal error: Possible safepoint reached by thread that does not allow it
Reviewed-by: egahlin
Backport-of: 61932f49a5
2023-07-14 11:08:37 +00:00
Alan Bateman
281aee968a 8311867: StructuredTaskScope.shutdown does not interrupt newly started threads
Reviewed-by: jpai
Backport-of: 92a04e201e
2023-07-14 05:13:10 +00:00
Justin Lu
d370b96fb6 6960866: [Fmt-Ch] ChoiceFormat claims impossible and unimplemented functionality
Reviewed-by: naoto, lancea, iris
Backport-of: 6cb9ec32a6
2023-07-13 22:41:15 +00:00
Stuart Marks
b4f19f57e1 8306785: fix deficient spliterators for Sequenced Collections
Reviewed-by: rriggs
Backport-of: 743e8b8e0a
2023-07-13 18:02:45 +00:00
Erik Gahlin
65ed787646 8294401: Update jfr man page to include recently added features
Reviewed-by: mgronlun
Backport-of: f60c1f9bc4
2023-07-13 16:54:36 +00:00
Markus Grönlund
2475bba4ce 8311536: JFR TestNativeMemoryUsageEvents fails in huge pages configuration
Reviewed-by: egahlin
Backport-of: 6895debf66
2023-07-13 14:55:26 +00:00
Aleksey Shipilev
99d87e9097 8311645: Memory leak in jspawnhelper spawnChild after JDK-8307990
Reviewed-by: alanb
Backport-of: 401c3dea5d
2023-07-13 11:58:11 +00:00
Vladimir Petko
d174dde161 8311092: Please disable runtime/jni/nativeStack/TestNativeStack.java on armhf
Reviewed-by: dholmes
Backport-of: 0916e6a603
2023-07-13 08:34:33 +00:00
Tobias Hartmann
f79247584e 8303279: C2: crash in SubTypeCheckNode::sub() at IGVN split if
Reviewed-by: chagedorn
Backport-of: caadad4fdc
2023-07-13 08:30:36 +00:00
Robbin Ehn
5f1d762750 8310656: RISC-V: __builtin___clear_cache can fail silently.
Reviewed-by: luhenry, fyang
Backport-of: faf1b822d0
2023-07-13 07:29:56 +00:00
Stuart Marks
f6ad56bcbc 8308694: Clarify reversed() default methods' implementation requirements
Reviewed-by: naoto, bpb
Backport-of: f82c8184b2
2023-07-12 22:59:15 +00:00
Rajan Halade
82c8b28f40 8156889: ListKeychainStore.sh fails in some virtualized environments
Reviewed-by: mullan
Backport-of: 119cc495fc
2023-07-12 18:48:28 +00:00
Rajan Halade
72cf3c958f 8295894: Remove SECOM certificate that is expiring in September 2023
Reviewed-by: mullan
Backport-of: fd7fddb6ed
2023-07-12 18:17:54 +00:00
Patricio Chilano Mateo
dd48ed821b 8309637: runtime/handshake/HandshakeTimeoutTest.java fails with "has not cleared handshake op" and SIGILL
Reviewed-by: coleenp
Backport-of: 57e7e82fa1
2023-07-12 14:28:25 +00:00
Alan Bateman
3bb375080f 8310892: ScopedValue throwing StructureViolationException should be clearer
Reviewed-by: darcy, iris, lancea
Backport-of: 623cfcd04b
2023-07-12 06:49:37 +00:00
Maurizio Cimadamore
ca10804155 8311593: Minor doc issue in MemorySegment::copy
Reviewed-by: jvernee
Backport-of: 6569b252b9
2023-07-11 21:43:50 +00:00
Alexey Ivanov
480dc220bf 8311689: Wrong visible amount in Adjustable of ScrollPane
Reviewed-by: honkar, azvegint, prr
Backport-of: b3f34039fe
2023-07-11 18:44:52 +00:00
Patricio Chilano Mateo
308b4c63cb 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: coleenp
Backport-of: 0c86c31bcc
2023-07-11 13:56:12 +00:00
Erik Gahlin
c97db0db84 8311245: JFR: Remove t.printStackTrace() in PeriodicEvents
Reviewed-by: mgronlun
Backport-of: a1cfc96954
2023-07-11 12:43:52 +00:00
Hao Sun
8808ec3fbc 8311548: AArch64: [ZGC] Many tests fail with "assert(allocates2(pc)) failed: not in CodeBuffer memory" on some CPUs
Reviewed-by: tschatzl
Backport-of: 4b1403d06b
2023-07-11 07:58:48 +00:00
Erik Joelsson
99ae133f51 8308585: AC_REQUIRE: `PLATFORM_EXTRACT_TARGET_AND_BUILD' was expanded before it was required
Reviewed-by: mikael
Backport-of: 554b4d7243
2023-07-09 06:21:38 +00:00
Zhengyu Gu
413ee9f003 8309761: Leak class loader constraints
Reviewed-by: coleenp
Backport-of: 8e4e6b056c
2023-07-07 16:47:20 +00:00
Naoto Sato
773bb0a7f1 8311183: Remove unused mapping test files
Reviewed-by: lancea
Backport-of: d072c40ff1
2023-07-07 15:48:20 +00:00
Thomas Stuefe
6ef8016838 8310265: (process) jspawnhelper should not use argv[0]
Reviewed-by: rriggs
Backport-of: 47d00a4cbe
2023-07-07 13:42:54 +00:00
Tobias Hartmann
2d7ed1898b 8295210: IR framework should not whitelist -XX:-UseTLAB
Reviewed-by: epeter
Backport-of: 31dcda5d67
2023-07-07 07:08:43 +00:00
Coleen Phillimore
98ad856a98 8309140: ResourceHashtable failed "assert(~(_allocation_t[0] | allocation_mask) == (uintptr_t)this) failed: lost resource object"
Reviewed-by: iklam
Backport-of: b6c789faad
2023-07-06 19:45:48 +00:00
Tobias Hartmann
830279e054 8310425: [JVMCI] compiler/runtime/TestConstantDynamic: lookupConstant returned an object of incorrect type: null
Reviewed-by: chagedorn
Backport-of: 15878360bf
2023-07-06 12:54:48 +00:00
Hannes Wallnöfer
fb7fd58126 8311264: JavaDoc index comparator is not transitive
Reviewed-by: prappo
Backport-of: 0741cd3289
2023-07-06 12:26:14 +00:00
Pavel Rappo
bfed32bd09 8311122: Fix typos in java.base
Reviewed-by: iris
Backport-of: 7b3c2dc5f4
2023-07-06 10:43:41 +00:00
Tobias Hartmann
c86f4dea95 8311023: assert(false) failed: EA: missing memory path
Reviewed-by: chagedorn
Backport-of: 6ebb0e3bd4
2023-07-06 07:42:12 +00:00
Tobias Hartmann
0ee169f14b 8309531: Incorrect result with unwrapped iotaShuffle.
Reviewed-by: chagedorn
Backport-of: d6578bff1c
2023-07-06 06:29:41 +00:00
Serguei Spitsyn
f24c5540ff 8303086: SIGSEGV in JavaThread::is_interp_only_mode()
Reviewed-by: pchilanomate
Backport-of: 971c2efb69
2023-07-06 01:09:48 +00:00
Rajan Halade
604e03de78 8301379: Verify TLS_ECDH_* cipher suites cannot be negotiated
Reviewed-by: mullan
Backport-of: 9f64a64376
2023-07-05 17:47:20 +00:00
rreddy
8b587288b4 Merge remote-tracking branch 'jdk21u/master' 2023-07-05 09:47:57 +00:00
Rob McKenna
4078fb9472 Merge 2023-07-04 23:32:45 +00:00
Axel Boldt-Christmas
c9111d57ce 8310743: assert(reserved_rgn != nullptr) failed: Add committed region, No reserved region found
Reviewed-by: ayang
Backport-of: f393975d1b
2023-07-04 12:45:35 +00:00
Matthias Baesken
8d6ef6fd5b 8310549: avoid potential leaks in KeystoreImpl.m related to JNU_CHECK_EXCEPTION early returns
Reviewed-by: clanger
Backport-of: 7da3f1999f
2023-07-04 07:43:12 +00:00
Mandy Chung
205dffe383 8254566: Clarify the spec of ClassLoader::getClassLoadingLock for non-parallel capable loader
Reviewed-by: iris
Backport-of: b9198f9931
2023-07-03 20:58:14 +00:00
Tobias Hartmann
6de4e8f601 8310829: guarantee(!HAS_PENDING_EXCEPTION) failed in ExceptionTranslation::doit
Reviewed-by: chagedorn
Backport-of: f6bdccb45c
2023-07-03 10:37:40 +00:00
Matthias Baesken
6f3f4aa293 8310380: Handle problems in core-related tests on macOS when codesign tool does not work
Reviewed-by: cjplummer
Backport-of: 39c104df44
2023-07-03 06:58:57 +00:00
Feilong Jiang
59c18f14c2 8310873: Re-enable locked_create_entry symbol check in runtime/NMT/CheckForProperDetailStackTrace.java for RISC-V
Backport-of: 87e6fab2c4
2023-07-01 04:29:08 +00:00
Chen Liang
8088bc4033 8309819: Clarify API note in Class::getName and MethodType::toMethodDescriptorString
Reviewed-by: mchung
Backport-of: 8c8e9d911d
2023-07-01 02:44:28 +00:00
Chen Liang
bbcabe4200 8310838: Correct range notations in MethodTypeDesc specification
Reviewed-by: mchung
Backport-of: a197ee797b
2023-07-01 02:44:03 +00:00
Daniel D. Daugherty
35d592e39d 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
Backport-of: 140b70fb29
2023-06-30 22:34:06 +00:00
Axel Boldt-Christmas
6d2f34fcff 8311046: ProblemList gc/z/TestHighUsage.java with Generational ZGC
Reviewed-by: stefank
Backport-of: 2a9e2f614f
2023-06-30 13:16:03 +00:00
Tobias Hartmann
3210d32088 8309902: C2: assert(false) failed: Bad graph detected in build_loop_late after JDK-8305189
Reviewed-by: chagedorn
Backport-of: 26efff7586
2023-06-30 10:26:14 +00:00
Joe Darcy
60db329e4c 8311115: Type in java.lang.reflect.AccessFlag.METHOD_PARAMETER
Reviewed-by: prappo
Backport-of: d97966266e
2023-06-29 20:52:42 +00:00
Tobias Hartmann
91598a94f2 8310299: C2: 8275201 broke constant folding of array store check in some cases
Reviewed-by: chagedorn
Backport-of: be64d3ac3c
2023-06-29 13:01:02 +00:00
Erik Gahlin
5a31ab2820 8311007: jdk/jfr/tool/TestView.java can't find event
Reviewed-by: mgronlun
Backport-of: e3f18af1df
2023-06-29 10:57:43 +00:00
Joe Darcy
e67393fd30 8310061: Note if implicit annotation processing is being used
Reviewed-by: vromero
Backport-of: 3df36c4f10
2023-06-29 00:09:38 +00:00
Jorn Vernee
722794f920 8310914: Remove 2 malformed java/foreign ProblemList entries
Reviewed-by: jpai
Backport-of: f07e396bda
2023-06-28 19:19:33 +00:00
Jorn Vernee
45f252b7f9 8310405: Linker.Option.firstVariadicArg should specify which index values are valid
Reviewed-by: mcimadamore
Backport-of: 7fffdb5e60
2023-06-28 18:30:15 +00:00
Tobias Hartmann
687863d900 8310130: C2: assert(false) failed: scalar_input is neither phi nor a matchin reduction
Reviewed-by: kvn
Backport-of: 526dba1a29
2023-06-28 18:26:40 +00:00
Rajan Halade
ed98bd7dbd 8292704: sun/security/tools/jarsigner/compatibility/Compatibility.java use wrong key size for EC
Reviewed-by: valeriep, hchao
Backport-of: 130a9f1387
2023-06-28 18:21:33 +00:00
Archie Cobbs
359bd63b15 8305671: javac rejects semicolons in compilation units with no imports
Reviewed-by: vromero
Backport-of: a08352f621
2023-06-28 15:48:05 +00:00
Pavel Rappo
ccacc2b4da 8311034: Fix typo in javac man page
Reviewed-by: rriggs
Backport-of: f17bfeec61
2023-06-28 14:22:02 +00:00
Kevin Walls
8d9ebb6981 8303916: ThreadLists.java inconsistent results
Reviewed-by: sspitsyn
Backport-of: 8c9b85a990
2023-06-28 08:30:13 +00:00
Stefan Karlsson
0903c8dd60 8310194: Generational ZGC: Lock-order asserts in JVMTI IterateThroughHeap
Reviewed-by: ayang
Backport-of: 4e4e586dac
2023-06-28 07:35:18 +00:00
Tobias Hartmann
9998c07bd9 8310459: [BACKOUT] 8304450: [vectorapi] Refactor VectorShuffle implementation
Reviewed-by: kvn
Backport-of: ff9a754109
2023-06-28 05:19:09 +00:00
Joe Darcy
3248daee85 8310830: typo in the parameter name in @throws of ClassDesc::ofDescriptor
Reviewed-by: mchung
Backport-of: 4bce38c6d7
2023-06-27 19:56:34 +00:00
Jim Laskey
033060b22b 8310975: java.util.FormatItemModifier should not be protected
Reviewed-by: darcy
Backport-of: 315242b741
2023-06-27 19:12:26 +00:00
Naoto Sato
df26258d80 8310182: DateTimeFormatter date formats (ISO_LOCAL_DATE) separated with hyphen, not dash
Reviewed-by: rriggs
Backport-of: ec45bd64d5
2023-06-27 18:07:18 +00:00
Robbin Ehn
087d4a8c04 8309258: RISC-V: Add riscv_hwprobe syscall
Reviewed-by: luhenry, fyang
Backport-of: 31b6fd775f
2023-06-27 14:10:09 +00:00
Mandy Chung
6a4552c9a8 8310242: Clarify the name parameter to Class::forName
8310922: java/lang/Class/forName/ForNameNames.java fails after being added by JDK-8310242

Reviewed-by: dholmes
Backport-of: 7db2f08756
2023-06-27 01:59:58 +00:00
Joe Darcy
71a41f7e71 8310861: Improve location reporting for javac serial lint warnings
8310907: Add missing file

Reviewed-by: jlahoda
Backport-of: 289f218a32
2023-06-26 22:35:37 +00:00
Christian Stein
cdb8c70727 8309670: java -help output for --module-path / -p is incomplete
Reviewed-by: jjg
Backport-of: 4bf78162c5
2023-06-26 20:29:40 +00:00
Hannes Wallnöfer
8748b462db 8309471: Limit key characters in static index pages
Reviewed-by: jjg
Backport-of: 21f6d83358
2023-06-26 15:51:37 +00:00
Jaikiran Pai
63d419edd1 8310868: Thread.interrupt() method's javadoc has an incorrect {@link}
Reviewed-by: alanb
Backport-of: 013367b483
2023-06-26 10:09:11 +00:00
Frederic Thevenet
f0e80fa1a1 8309959: JFR: Display N/A for missing data amount
Reviewed-by: egahlin
Backport-of: 9872a14192
2023-06-26 08:22:35 +00:00
Joe Darcy
7489967d6a 8310676: add note about unnamed module to Elements.getAllModuleElements
Reviewed-by: jjg
Backport-of: 69f3114c41
2023-06-23 23:05:10 +00:00
Jamil Nimeh
17b6f7b9a5 8309740: Expand timeout windows for tests in JDK-8179502
Reviewed-by: xuelei, hchao
Backport-of: 5ca4cdd2ca
2023-06-23 21:59:55 +00:00
Daniel D. Daugherty
af3a56e569 8310822: JDK21: ProblemList java/lang/ScopedValue/StressStackOverflow.java on generic-x64
Reviewed-by: iris, lmesnik
2023-06-23 19:52:37 +00:00
Alexander Zuev
1bcf00167f 8309733: [macOS, Accessibility] VoiceOver: Incorrect announcements of JRadioButton
Reviewed-by: prr
Backport-of: d1d2b55ce0
2023-06-23 19:48:06 +00:00
Weibing Xiao
0ca350d002 8297856: Improve handling of Bidi characters
Backport-of: 244b89fc786894cb8cca742f91875ebb98b603ff
2023-06-23 14:54:42 +00:00
Sergey Bylokhov
8b127262a3 8304885: Reuse stale data to improve DNS resolver resiliency
Reviewed-by: djelinski, michaelm
Backport-of: bdd81b3182
2023-06-23 11:36:39 +00:00
Alan Bateman
e86d765b22 8309853: StructuredTaskScope.join description improvements
Reviewed-by: darcy
Backport-of: 3661cdee1b
2023-06-23 04:43:52 +00:00
Erik Gahlin
2f1af3cff8 8309296: jdk/jfr/event/runtime/TestAgentEvent.java fails due to "missing" dynamic JavaAgent
Reviewed-by: mgronlun
Backport-of: 658c3374d8
2023-06-22 09:38:03 +00:00
Axel Boldt-Christmas
6317249b50 8310187: Improve Generational ZGC jtreg testing
Reviewed-by: eosterlund
Backport-of: a0595761ef
2023-06-22 08:43:35 +00:00
Tobias Hartmann
55aa4cb48a 8309498: [JVMCI] race in CallSiteTargetValue recording
Reviewed-by: chagedorn, dlong
Backport-of: bb966827ac
2023-06-22 05:48:55 +00:00
Tobias Hartmann
5357bcd776 8308855: ARM32: TestBooleanVector crashes after 8300257
Reviewed-by: chagedorn, dlong
Backport-of: 266f9838ee
2023-06-22 05:48:15 +00:00
Tobias Hartmann
7621d988f9 8309266: C2: assert(final_con == (jlong)final_int) failed: final value should be integer
Reviewed-by: chagedorn, dlong
Backport-of: 4a9cc8a000
2023-06-22 05:47:41 +00:00
Tobias Hartmann
89ac41be57 8310126: C1: Missing receiver null check in Reference::get intrinsic
Reviewed-by: chagedorn, dlong
Backport-of: 02aaab12e3
2023-06-22 05:47:11 +00:00
Jan Lahoda
789b2fc4f2 8302865: Illegal bytecode for break from if with instanceof pattern matching condition
Reviewed-by: vromero
Backport-of: a15db1a56c
2023-06-22 04:24:53 +00:00
Jan Lahoda
ceadaece94 8310133: Effectivelly final condition not enforced in guards for binding variables from the same case
Reviewed-by: vromero
Backport-of: 01623f6a57
2023-06-22 04:24:20 +00:00
Serguei Spitsyn
f8a38eecc6 8309612: [REDO] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: cjplummer
Backport-of: f91e9ba757
2023-06-22 03:32:14 +00:00
Chris Plummer
722b512c40 8308499: Test vmTestbase/nsk/jdi/MethodExitRequest/addClassExclusionFilter/filter001/TestDescription.java failed: VMDisconnectedException
Reviewed-by: kevinw, sspitsyn
Backport-of: 79ff72a776
2023-06-21 17:13:00 +00:00
Darragh Clarke
a4159ddaa2 8308336: Test java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java failed: java.net.BindException: Address already in use
Reviewed-by: dfuchs
Backport-of: a48bcf3671
2023-06-21 15:10:45 +00:00
Jorn Vernee
3985a4d534 8310053: VarHandle and slice handle derived from layout are lacking alignment check
Reviewed-by: mcimadamore
Backport-of: e022e87654
2023-06-21 14:53:04 +00:00
Weibing Xiao
eccef0eef4 8296581: Better system proxy support
Reviewed-by: coffeys
Backport-of: 111811e64245ae720a0617b7de0c52c60bb2bac1
2023-06-21 13:36:34 +00:00
Vladimir Kempik
79d44fdebc 8309502: RISC-V: String.indexOf intrinsic may produce misaligned memory loads
Backport-of: 6b94289386
2023-06-21 12:34:04 +00:00
Matthias Baesken
1fc60429a1 8310191: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java second failure on AIX
Reviewed-by: alanb
Backport-of: 6a63badd8e
2023-06-21 09:02:06 +00:00
Per Minborg
ef0357f6cb 8309937: Add @sealedGraph for some Panama FFM interfaces
Reviewed-by: mcimadamore
Backport-of: b412fc79c3
2023-06-21 08:13:09 +00:00
Matthias Baesken
60cae33c46 8309549: com/sun/tools/attach/warnings/DynamicLoadWarningTest.java fails on AIX
Reviewed-by: lucy, alanb
Backport-of: 4d66d97745
2023-06-21 07:48:06 +00:00
Alexey Ivanov
beb0d9579b 8310054: ScrollPane insets are incorrect
Reviewed-by: honkar, prr
Backport-of: d6c2ee3448
2023-06-20 19:20:18 +00:00
Roger Riggs
e0cc40108a 8310019: MIPS builds are broken after JDK-8304913
Reviewed-by: shade
Backport-of: 33c6ec9d4e
2023-06-20 17:39:44 +00:00
Glavo
7e788939d3 8310105: LoongArch64 builds are broken after JDK-8304913
Reviewed-by: shade
Backport-of: 137a5f7c2c
2023-06-20 16:27:48 +00:00
Rob McKenna
d02c85b56b Merge 2023-06-20 15:52:44 +00:00
David Holmes
fb6f5f1b82 8309228: Clarify EXPERIMENTAL flags comment in hotspot/share/runtime/globals.hpp
Reviewed-by: shade
Backport-of: 96a7db7b3c
2023-06-20 12:10:07 +00:00
Jim Laskey
7ca0f1460c 8309957: Rename JDK-8309595 test to conform
Reviewed-by: prappo
Backport-of: 1d1ed0d8f7
2023-06-20 12:02:35 +00:00
Jim Laskey
bfffd8b608 8309595: Allow javadoc to process unnamed classes
Reviewed-by: prappo
Backport-of: 0be39054a6
2023-06-20 11:40:09 +00:00
Jan Lahoda
ede16cd19e 8310314: Misplaced "unnamed classes are a preview feature and are disabled by default" error
Reviewed-by: jlaskey
Backport-of: 79069c5e74
2023-06-20 10:34:00 +00:00
Jaikiran Pai
08965e646e 8310259: Pin msys2/setup-msys2 github action to a specific commit
8309934: Update GitHub Actions to use JDK 17 for building jtreg

Reviewed-by: cstein, clanger
Backport-of: 959a61fdd4
2023-06-20 01:08:56 +00:00
Erik Gahlin
e0d3706f9e 8304835: jdk/jfr/event/oldobject/TestArrayInformation.java fails with "Could not find event with class ... as (leak) object"
Reviewed-by: mgronlun
Backport-of: 7d4b77ad9e
2023-06-19 15:29:05 +00:00
Erik Österlund
14c5091a9f 8310015: ZGC: Unbounded asynchronous unmapping can lead to running out of address space
Reviewed-by: stefank, aboldtch
Backport-of: 4229baf9b6
2023-06-19 14:53:11 +00:00
Erik Gahlin
36e3fe914c 8309928: JFR: View issues
Reviewed-by: mgronlun
Backport-of: 84d010a24b
2023-06-19 11:25:27 +00:00
Albert Mingkun Yang
4d81b8998a 8309960: ParallelGC young collections very slow in DelayInducer
Reviewed-by: tschatzl
2023-06-19 11:09:04 +00:00
Kim Barrett
ace56237d3 8308643: Incorrect value of 'used' jvmstat counter
Reviewed-by: tschatzl
Backport-of: 92167505b2
2023-06-19 08:41:55 +00:00
Phil Race
3698a022ff 8309756: Occasional crashes with pipewire screen capture on Wayland
Reviewed-by: azvegint
Backport-of: d3d0dbc363
2023-06-16 22:44:44 +00:00
Justin Lu
a1c1d97a4e 8309632: JDK 21 RDP1 L10n resource files update
Reviewed-by: naoto
Backport-of: 81bfd78901
2023-06-16 21:11:00 +00:00
Aggelos Biboudis
aced11446e 8310128: Switch with unnamed patterns erroneously non-exhaustive
Reviewed-by: jlahoda
Backport-of: 32243ef47d
2023-06-16 10:10:02 +00:00
Rob McKenna
40eb08d43f 8310171: Bump version numbers for 21.0.1
Reviewed-by: iris, erikj
2023-06-16 00:00:41 +00:00
Roberto Castañeda Lozano
39e98e7bbf 8303513: C2: LoadKlassNode::make fails with 'expecting TypeKlassPtr'
Reviewed-by: thartmann
Backport-of: 83d92672d4
2023-06-15 12:09:27 +00:00
Martin Doerr
07d20dc86a 8309613: [Windows] hs_err files sometimes miss information about the code containing the error
Reviewed-by: mbaesken
Backport-of: bd79db3930
2023-06-15 10:49:49 +00:00
Aleksey Shipilev
0ac92753dd 8309956: Shenandoah: Strengthen the mark word check in string dedup
Reviewed-by: rkennke
Backport-of: 57b8251241
2023-06-15 07:51:16 +00:00
Chen Liang
6711041f55 8307508: IndirectVarHandle.isAccessModeSupported throws NPE
Reviewed-by: mchung
Backport-of: 75dcc4ef94
2023-06-14 00:01:24 +00:00
Stuart Marks
f7cd0aec92 8309882: LinkedHashMap adds an errant serializable field
Reviewed-by: rriggs
Backport-of: e138685648
2023-06-13 21:09:38 +00:00
Raffaello Giulietti
e18993c006 8309955: Matcher uses @since {@inheritDoc}
Reviewed-by: bpb
Backport-of: bfef3c3e80
2023-06-13 19:06:24 +00:00
Mandy Chung
3363050f9e 8309303: jdk/internal/misc/VM/RuntimeArguments test ignores jdk/internal/vm/options
Reviewed-by: alanb
Backport-of: 679a6d8935
2023-06-13 16:48:42 +00:00
Markus Grönlund
ea4ab656b0 8309862: Unsafe list operations in JfrStringPool
Reviewed-by: egahlin
Backport-of: 05f896a153
2023-06-13 12:34:06 +00:00
Martin Doerr
08eff92b5e 8309462: [AIX] vmTestbase/nsk/jvmti/RunAgentThread/agentthr001/TestDescription.java crashing due to empty while loop
Reviewed-by: mbaesken
Backport-of: cf9e6353cc
2023-06-13 08:27:55 +00:00
Jan Lahoda
83ea293581 8309467: Pattern dominance should be adjusted
Reviewed-by: vromero
Backport-of: 408cadb351
2023-06-13 07:33:27 +00:00
Joe Darcy
b743405033 8309870: Using -proc:full should be considered requesting explicit annotation processing
Reviewed-by: jjg
Backport-of: 3ce1240ca1
2023-06-12 20:03:42 +00:00
Maurizio Cimadamore
20371fd918 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:24:51 +00:00
Chris Hegarty
73a9f486ae 8309727: Assert privileges while reading the jdk.incubator.vector.VECTOR_ACCESS_OOB_CHECK system property
Reviewed-by: uschindler, rriggs
Backport-of: cee5724d09
2023-06-12 15:07:02 +00:00
Matthias Baesken
005006e7c4 8309703: AIX build fails after JDK-8280982
Reviewed-by: mdoerr
Backport-of: 3981297fd3
2023-06-12 14:41:57 +00:00
Daniel D. Daugherty
4bf6babda5 8309760: ProblemList serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java#default with ZGC
Reviewed-by: darcy
Backport-of: aace3dc28c
2023-06-10 16:36:39 +00:00
Daniel D. Daugherty
406ba341fe 8309702: Exclude java/lang/ScopedValue/StressStackOverflow.java from JTREG_TEST_THREAD_FACTORY=Virtual runs
Reviewed-by: darcy
Backport-of: 307085618d
2023-06-10 01:13:01 +00:00
Stefan Karlsson
430ffe7ae6 8309675: Generational ZGC: compiler/gcbarriers/UnsafeIntrinsicsTest.java fails in nmt_commit
Reviewed-by: dcubed
Backport-of: c4e6542514
2023-06-08 20:02:55 +00:00
8715 changed files with 327056 additions and 203675 deletions

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

@@ -0,0 +1,68 @@
#
# Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
name: 'Build JTReg'
description: 'Build JTReg'
runs:
using: composite
steps:
- name: 'Get JTReg version configuration'
id: version
uses: ./.github/actions/config
with:
var: JTREG_VERSION
- name: 'Check cache for already built JTReg'
id: get-cached
uses: actions/cache@v4
with:
path: jtreg/installed
key: jtreg-${{ steps.version.outputs.value }}
- name: 'Checkout the JTReg source'
uses: actions/checkout@v4
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}
path: jtreg/src
if: (steps.get-cached.outputs.cache-hit != 'true')
- name: 'Build JTReg'
run: |
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$JAVA_HOME_17_X64"
mkdir ../installed
mv build/images/jtreg/* ../installed
working-directory: jtreg/src
shell: bash
if: (steps.get-cached.outputs.cache-hit != 'true')
- name: 'Upload JTReg artifact'
uses: actions/upload-artifact@v4
with:
name: bundles-jtreg-${{ steps.version.outputs.value }}
path: jtreg/installed
retention-days: 1

View File

@@ -66,7 +66,7 @@ runs:
shell: bash
- name: 'Upload build logs'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
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@v6
uses: actions/github-script@v7
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, 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
@@ -65,7 +65,7 @@ runs:
- name: 'Check cache for BootJDK'
id: get-cached-bootjdk
uses: actions/cache@v3
uses: actions/cache@v4
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 path
echo 'path=bootjdk/jdk' >> $GITHUB_OUTPUT
# Export the absolute path
echo "path=`pwd`/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@v3
uses: actions/download-artifact@v4
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles
continue-on-error: true
- name: 'Download bundles artifact (retry)'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
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@v3
uses: actions/checkout@v4
with:
repository: google/googletest
ref: 'v${{ steps.version.outputs.value }}'

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -24,7 +24,7 @@
#
name: 'Get JTReg'
description: 'Download JTReg from cache or source location'
description: 'Get JTReg'
outputs:
path:
description: 'Path to the installed JTReg'
@@ -39,30 +39,12 @@ runs:
with:
var: JTREG_VERSION
- name: 'Check cache for JTReg'
id: get-cached-jtreg
uses: actions/cache@v3
- name: 'Download JTReg artifact'
id: download-jtreg
uses: actions/download-artifact@v4
with:
name: bundles-jtreg-${{ steps.version.outputs.value }}
path: jtreg/installed
key: jtreg-${{ steps.version.outputs.value }}
- name: 'Checkout the JTReg source'
uses: actions/checkout@v3
with:
repository: openjdk/jtreg
ref: jtreg-${{ steps.version.outputs.value }}
path: jtreg/src
if: steps.get-cached-jtreg.outputs.cache-hit != 'true'
- name: 'Build JTReg'
run: |
# Build JTReg and move files to the proper locations
bash make/build.sh --jdk "$JAVA_HOME_11_X64"
mkdir ../installed
mv build/images/jtreg/* ../installed
working-directory: jtreg/src
shell: bash
if: steps.get-cached-jtreg.outputs.cache-hit != 'true'
- name: 'Export path to where JTReg is installed'
id: path-name

View File

@@ -30,7 +30,7 @@ runs:
using: composite
steps:
- name: 'Install MSYS2'
uses: msys2/setup-msys2@v2
uses: msys2/setup-msys2@v2.22.0
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@v3
uses: actions/upload-artifact@v4
with:
name: bundles-${{ inputs.platform }}${{ inputs.debug-suffix }}
path: bundles

View File

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

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,9 @@
# questions.
#
# Import common utils
. .github/scripts/report-utils.sh
GITHUB_STEP_SUMMARY="$1"
test_suite_name=$(cat build/run-test-prebuilt/test-support/test-last-ids.txt)
@@ -44,8 +47,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 +76,22 @@ 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
# Trim it down if so.
summary_size=$(wc -c < $GITHUB_STEP_SUMMARY)
if [[ $summary_size -gt 1000000 ]]; then
# Trim to below 1024 kB, and cut off after the last detail group
head -c 1000000 $GITHUB_STEP_SUMMARY | tac | sed -n -e '/<\/details>/,$ p' | tac > $GITHUB_STEP_SUMMARY.tmp
mv $GITHUB_STEP_SUMMARY.tmp $GITHUB_STEP_SUMMARY
(
echo ''
echo ':x: **WARNING: Summary is too large and has been truncated.**'
echo ''
) >> $GITHUB_STEP_SUMMARY
fi
echo ':arrow_right: To see the entire test log, click the job in the list to the left.' >> $GITHUB_STEP_SUMMARY
truncate_summary

View File

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

@@ -1,10 +1,13 @@
#!/bin/bash
#
# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
# published by the Free Software Foundation. Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
@@ -21,4 +24,18 @@
# questions.
#
exclusiveAccess.dirs=.
function truncate_summary() {
# With large hs_errs, the summary can easily exceed 1024 kB, the limit set by Github
# Trim it down if so.
summary_size=$(wc -c < $GITHUB_STEP_SUMMARY)
if [[ $summary_size -gt 1000000 ]]; then
# Trim to below 1024 kB, and cut off after the last detail group
head -c 1000000 $GITHUB_STEP_SUMMARY | tac | sed -n -e '/<\/details>/,$ p' | tac > $GITHUB_STEP_SUMMARY.tmp
mv $GITHUB_STEP_SUMMARY.tmp $GITHUB_STEP_SUMMARY
(
echo ''
echo ':x: **WARNING: Summary is too large and has been truncated.**'
echo ''
) >> $GITHUB_STEP_SUMMARY
fi
}

View File

@@ -31,12 +31,6 @@ on:
gcc-major-version:
required: true
type: string
apt-gcc-version:
required: true
type: string
apt-gcc-cross-version:
required: true
type: string
extra-conf-options:
required: false
type: string
@@ -67,32 +61,36 @@ 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://deb.debian.org/debian-ports
debian-keyring: /usr/share/keyrings/debian-ports-archive-keyring.gpg
debian-repository: https://httpredir.debian.org/debian/
debian-version: sid
tolerate-sysroot-errors: true
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get the BootJDK'
id: bootjdk
@@ -100,12 +98,9 @@ jobs:
with:
platform: linux-x64
# Use linux-x64 JDK bundle as build JDK
- name: 'Get build JDK'
id: buildjdk
uses: ./.github/actions/get-bundles
with:
platform: linux-x64
- name: 'Get GTest'
id: gtest
uses: ./.github/actions/get-gtest
# Upgrading apt to solve libc6 installation bugs, see JDK-8260460.
- name: 'Install toolchain and dependencies'
@@ -114,17 +109,16 @@ jobs:
sudo apt-get update
sudo apt-get install --only-upgrade apt
sudo apt-get install \
gcc-${{ inputs.gcc-major-version }}=${{ inputs.apt-gcc-version }} \
g++-${{ inputs.gcc-major-version }}=${{ inputs.apt-gcc-version }} \
gcc-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}=${{ inputs.apt-gcc-cross-version }} \
g++-${{ inputs.gcc-major-version }}-${{ matrix.gnu-arch }}-linux-gnu${{ matrix.gnu-abi}}=${{ inputs.apt-gcc-cross-version }} \
libxrandr-dev libxtst-dev libcups2-dev libasound2-dev \
debian-ports-archive-keyring
gcc-${{ inputs.gcc-major-version }} \
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
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@v3
uses: actions/cache@v4
with:
path: sysroot
key: sysroot-${{ matrix.debian-arch }}-${{ hashFiles('./.github/workflows/build-cross-compile.yml') }}
@@ -134,16 +128,19 @@ jobs:
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Create sysroot'
id: create-sysroot
run: >
sudo debootstrap
--no-merged-usr
--arch=${{ matrix.debian-arch }}
--verbose
--include=fakeroot,symlinks,build-essential,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libcups2-dev,libfontconfig1-dev,libasound2-dev,libfreetype6-dev,libpng-dev
--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
$(test -n "${{ matrix.debian-keyring }}" && echo "--keyring=${{ matrix.debian-keyring }}")
--variant=minbase
${{ 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'
@@ -153,8 +150,17 @@ jobs:
sudo chown ${USER} -R sysroot
rm -rf sysroot/{dev,proc,run,sys,var}
rm -rf sysroot/usr/{sbin,bin,share}
rm -rf sysroot/usr/lib/{apt,udev,systemd}
if: steps.get-cached-sysroot.outputs.cache-hit != 'true'
rm -rf sysroot/usr/lib/{apt,gcc,udev,systemd}
rm -rf sysroot/usr/libexec/gcc
# /{bin,sbin,lib}/ are not symbolic links to /usr/{bin,sbin,lib}/ when debootstrap with --no-merged-usr
rm -rf sysroot/{sbin,bin}
rm -rf sysroot/lib/{udev,systemd}
if: steps.create-sysroot.outcome == 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Remove broken sysroot'
run: |
sudo rm -rf sysroot/
if: steps.create-sysroot.outcome != 'success' && steps.get-cached-sysroot.outputs.cache-hit != 'true'
- name: 'Configure'
run: >
@@ -162,12 +168,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 }}
@@ -175,6 +181,7 @@ 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
@@ -182,3 +189,4 @@ jobs:
with:
make-target: 'hotspot ${{ inputs.make-arguments }}'
platform: linux-${{ matrix.target-cpu }}
if: steps.create-sysroot.outcome == 'success' || steps.get-cached-sysroot.outputs.cache-hit == 'true'

View File

@@ -49,9 +49,6 @@ on:
required: false
type: string
default: ''
apt-gcc-version:
required: true
type: string
apt-architecture:
required: false
type: string
@@ -81,7 +78,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get the BootJDK'
id: bootjdk
@@ -114,7 +111,7 @@ jobs:
fi
sudo apt-get update
sudo apt-get install --only-upgrade apt
sudo apt-get install gcc-${{ inputs.gcc-major-version }}${{ inputs.gcc-package-suffix }}=${{ inputs.apt-gcc-version }} g++-${{ inputs.gcc-major-version }}${{ inputs.gcc-package-suffix }}=${{ inputs.apt-gcc-version }} libxrandr-dev${{ steps.arch.outputs.suffix }} libxtst-dev${{ steps.arch.outputs.suffix }} libcups2-dev${{ steps.arch.outputs.suffix }} libasound2-dev${{ steps.arch.outputs.suffix }} ${{ inputs.apt-extra-packages }}
sudo apt-get install gcc-${{ inputs.gcc-major-version }}${{ inputs.gcc-package-suffix }} g++-${{ inputs.gcc-major-version }}${{ inputs.gcc-package-suffix }} libxrandr-dev${{ steps.arch.outputs.suffix }} libxtst-dev${{ steps.arch.outputs.suffix }} libcups2-dev${{ steps.arch.outputs.suffix }} libasound2-dev${{ steps.arch.outputs.suffix }} ${{ inputs.apt-extra-packages }}
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: 'Configure'

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -35,7 +35,7 @@ on:
platforms:
description: 'Platform(s) to execute on (comma separated, e.g. "linux-x64, macos, aarch64")'
required: true
default: 'linux-x64, linux-x86, linux-x64-variants, linux-cross-compile, macos-x64, macos-aarch64, windows-x64, windows-aarch64, docs'
default: 'linux-x64, linux-x86-hs, linux-x64-variants, linux-cross-compile, macos-x64, macos-aarch64, windows-x64, windows-aarch64, docs'
configure-arguments:
description: 'Additional configure arguments'
required: false
@@ -53,12 +53,12 @@ jobs:
### Determine platforms to include
###
select:
name: 'Select platforms'
prepare:
name: 'Prepare the run'
runs-on: ubuntu-22.04
outputs:
linux-x64: ${{ steps.include.outputs.linux-x64 }}
linux-x86: ${{ steps.include.outputs.linux-x86 }}
linux-x86-hs: ${{ steps.include.outputs.linux-x86-hs }}
linux-x64-variants: ${{ steps.include.outputs.linux-x64-variants }}
linux-cross-compile: ${{ steps.include.outputs.linux-cross-compile }}
macos-x64: ${{ steps.include.outputs.macos-x64 }}
@@ -68,7 +68,19 @@ jobs:
docs: ${{ steps.include.outputs.docs }}
steps:
# This function must be inlined in main.yml, or we'd be forced to checkout the repo
- name: 'Checkout the scripts'
uses: actions/checkout@v4
with:
sparse-checkout: |
.github
make/conf/github-actions.conf
- name: 'Build JTReg'
id: jtreg
uses: ./.github/actions/build-jtreg
# TODO: Now that we are checking out the repo scripts, we can put the following code
# into a separate file
- name: 'Check what jobs to run'
id: include
run: |
@@ -110,7 +122,7 @@ jobs:
}
echo "linux-x64=$(check_platform linux-x64 linux x64)" >> $GITHUB_OUTPUT
echo "linux-x86=$(check_platform linux-x86 linux x86)" >> $GITHUB_OUTPUT
echo "linux-x86-hs=$(check_platform linux-x86-hs linux x86)" >> $GITHUB_OUTPUT
echo "linux-x64-variants=$(check_platform linux-x64-variants variants)" >> $GITHUB_OUTPUT
echo "linux-cross-compile=$(check_platform linux-cross-compile cross-compile)" >> $GITHUB_OUTPUT
echo "macos-x64=$(check_platform macos-x64 macos x64)" >> $GITHUB_OUTPUT
@@ -125,83 +137,78 @@ jobs:
build-linux-x64:
name: linux-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
# 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'
if: needs.prepare.outputs.linux-x64 == 'true'
build-linux-x86:
name: linux-x86
needs: select
build-linux-x86-hs:
name: linux-x86-hs
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x86
make-target: 'hotspot'
gcc-major-version: '10'
gcc-package-suffix: '-multilib'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
apt-architecture: 'i386'
# Some multilib libraries do not have proper inter-dependencies, so we have to
# install their dependencies manually.
apt-extra-packages: 'libfreetype6-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386 libgcc-s1:i386 libstdc++6:i386'
apt-extra-packages: 'libfreetype-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386 libgcc-s1:i386 libstdc++6:i386'
extra-conf-options: '--with-target-bits=32'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x86 == 'true'
if: needs.prepare.outputs.linux-x86-hs == 'true'
build-linux-x64-hs-nopch:
name: linux-x64-hs-nopch
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-zero:
name: linux-x64-hs-zero
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--with-jvm-variants=zero --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-minimal:
name: linux-x64-hs-minimal
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
make-target: 'hotspot'
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--with-jvm-variants=minimal --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-x64-hs-optimized:
name: linux-x64-hs-optimized
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -209,52 +216,48 @@ jobs:
# Technically this is not the "debug" level, but we can't inject a new matrix state for just this job
debug-levels: '[ "debug" ]'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
extra-conf-options: '--with-debug-level=optimized --disable-precompiled-headers'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-x64-variants == 'true'
if: needs.prepare.outputs.linux-x64-variants == 'true'
build-linux-cross-compile:
name: linux-cross-compile
needs:
- select
- build-linux-x64
needs: prepare
uses: ./.github/workflows/build-cross-compile.yml
with:
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
apt-gcc-cross-version: '10.4.0-4ubuntu1~22.04cross1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.linux-cross-compile == 'true'
if: needs.prepare.outputs.linux-cross-compile == 'true'
build-macos-x64:
name: macos-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-x64
xcode-toolset-version: '12.5.1'
runs-on: 'macos-13'
xcode-toolset-version: '14.3.1'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-x64 == 'true'
if: needs.prepare.outputs.macos-x64 == 'true'
build-macos-aarch64:
name: macos-aarch64
needs: select
needs: prepare
uses: ./.github/workflows/build-macos.yml
with:
platform: macos-aarch64
xcode-toolset-version: '12.5.1'
extra-conf-options: '--openjdk-target=aarch64-apple-darwin'
runs-on: 'macos-14'
xcode-toolset-version: '15.4'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.macos-aarch64 == 'true'
if: needs.prepare.outputs.macos-aarch64 == 'true'
build-windows-x64:
name: windows-x64
needs: select
needs: prepare
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-x64
@@ -262,11 +265,11 @@ jobs:
msvc-toolset-architecture: 'x86.x64'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-x64 == 'true'
if: needs.prepare.outputs.windows-x64 == 'true'
build-windows-aarch64:
name: windows-aarch64
needs: select
needs: prepare
uses: ./.github/workflows/build-windows.yml
with:
platform: windows-aarch64
@@ -276,11 +279,11 @@ jobs:
extra-conf-options: '--openjdk-target=aarch64-unknown-cygwin'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.windows-aarch64 == 'true'
if: needs.prepare.outputs.windows-aarch64 == 'true'
build-docs:
name: docs
needs: select
needs: prepare
uses: ./.github/workflows/build-linux.yml
with:
platform: linux-x64
@@ -290,10 +293,9 @@ jobs:
# build JDK, and we do not need the additional testing of the graphs.
extra-conf-options: '--disable-full-docs'
gcc-major-version: '10'
apt-gcc-version: '10.4.0-4ubuntu1~22.04'
configure-arguments: ${{ github.event.inputs.configure-arguments }}
make-arguments: ${{ github.event.inputs.make-arguments }}
if: needs.select.outputs.docs == 'true'
if: needs.prepare.outputs.docs == 'true'
###
### Test jobs
@@ -309,16 +311,6 @@ jobs:
bootjdk-platform: linux-x64
runs-on: ubuntu-22.04
test-linux-x86:
name: linux-x86
needs:
- build-linux-x86
uses: ./.github/workflows/test.yml
with:
platform: linux-x86
bootjdk-platform: linux-x64
runs-on: ubuntu-22.04
test-macos-x64:
name: macos-x64
needs:
@@ -327,7 +319,19 @@ jobs:
with:
platform: macos-x64
bootjdk-platform: macos-x64
runs-on: macos-11
runs-on: macos-13
xcode-toolset-version: '14.3.1'
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
xcode-toolset-version: '15.4'
test-windows-x64:
name: windows-x64
@@ -346,7 +350,7 @@ jobs:
if: always()
needs:
- build-linux-x64
- build-linux-x86
- build-linux-x86-hs
- build-linux-x64-hs-nopch
- build-linux-x64-hs-zero
- build-linux-x64-hs-minimal
@@ -357,31 +361,28 @@ jobs:
- build-windows-x64
- build-windows-aarch64
- test-linux-x64
- test-linux-x86
- test-macos-x64
- test-macos-aarch64
- 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
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" \
# 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?per_page=100')"
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" \
|| echo "Failed to remove bundle"
done

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2022, 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
@@ -37,6 +37,9 @@ on:
runs-on:
required: true
type: string
xcode-toolset-version:
required: false
type: string
env:
# These are needed to make the MSYS2 bash work properly
@@ -60,7 +63,10 @@ jobs:
- 'jdk/tier1 part 3'
- 'langtools/tier1'
- 'hs/tier1 common'
- 'hs/tier1 compiler'
- 'hs/tier1 compiler part 1'
- 'hs/tier1 compiler part 2'
- 'hs/tier1 compiler part 3'
- 'hs/tier1 compiler not-xcomp'
- 'hs/tier1 gc'
- 'hs/tier1 runtime'
- 'hs/tier1 serviceability'
@@ -83,8 +89,20 @@ jobs:
test-suite: 'test/hotspot/jtreg/:tier1_common'
debug-suffix: -debug
- test-name: 'hs/tier1 compiler'
test-suite: 'test/hotspot/jtreg/:tier1_compiler'
- 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'
debug-suffix: -debug
- test-name: 'hs/tier1 gc'
@@ -105,7 +123,7 @@ jobs:
steps:
- name: 'Checkout the JDK source'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Get MSYS2'
uses: ./.github/actions/get-msys2
@@ -132,7 +150,7 @@ jobs:
run: |
# On macOS we need to install some dependencies for testing
brew install make
sudo xcode-select --switch /Applications/Xcode_11.7.app/Contents/Developer
sudo xcode-select --switch /Applications/Xcode_${{ inputs.xcode-toolset-version }}.app/Contents/Developer
# This will make GNU make available as 'make' and not only as 'gmake'
echo '/usr/local/opt/make/libexec/gnubin' >> $GITHUB_PATH
if: runner.os == 'macOS'
@@ -196,7 +214,7 @@ jobs:
if: always()
- name: 'Upload test results'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: results
name: ${{ steps.package.outputs.artifact-name }}
@@ -204,7 +222,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@v6
uses: actions/github-script@v7
with:
script: core.setFailed('${{ steps.run-tests.outputs.error-message }}')
if: steps.run-tests.outputs.failure == 'true'

View File

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

View File

@@ -1,4 +1,11 @@
# Welcome to the JDK!
# Welcome to OpenJDK 21 Updates!
The JDK 21 Updates project uses two GitHub repositories.
Updates are continuously developed in the repository [jdk21u-dev](https://github.com/openjdk/jdk21u-dev). This is the repository usually targeted by contributors.
The [jdk21u](https://github.com/openjdk/jdk21u) repository is used for rampdown of the update releases of jdk21u and only accepts critical changes that must make the next release during rampdown. (You probably do not want to target jdk21u).
For more OpenJDK 21 updates specific information such as timelines and contribution guidelines see the [project wiki page](https://wiki.openjdk.org/display/JDKUpdates/JDK+21u/).
For build instructions please see the
[online documentation](https://openjdk.org/groups/build/doc/building.html),

3
SECURITY.md Normal file
View File

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

View File

@@ -569,10 +569,9 @@ be accepted by <code>configure</code>.</p>
<code>--with-toolchain-type=clang</code>.</p>
<h3 id="apple-xcode">Apple Xcode</h3>
<p>The oldest supported version of Xcode is 8.</p>
<p>You will need the Xcode command line developer tools to be able to
build the JDK. (Actually, <em>only</em> the command line tools are
needed, not the IDE.) The simplest way to install these is to run:</p>
<pre><code>xcode-select --install</code></pre>
<p>You will need to download Xcode either from the App Store or specific
versions can be easily located via the <a
href="https://xcodereleases.com">Xcode Releases</a> website.</p>
<p>When updating Xcode, it is advisable to keep an older version for
building the JDK. To use a specific version of Xcode you have multiple
options:</p>

View File

@@ -366,12 +366,9 @@ To use clang instead of gcc on Linux, use `--with-toolchain-type=clang`.
The oldest supported version of Xcode is 8.
You will need the Xcode command line developer tools to be able to build
the JDK. (Actually, *only* the command line tools are needed, not the IDE.)
The simplest way to install these is to run:
```
xcode-select --install
```
You will need to download Xcode either from the App Store or specific versions
can be easily located via the [Xcode Releases](https://xcodereleases.com)
website.
When updating Xcode, it is advisable to keep an older version for building the JDK.
To use a specific version of Xcode you have multiple options:

View File

@@ -72,6 +72,9 @@ id="toc-notes-for-specific-tests">Notes for Specific Tests</a>
<li><a href="#non-us-locale" id="toc-non-us-locale">Non-US
locale</a></li>
<li><a href="#pkcs11-tests" id="toc-pkcs11-tests">PKCS11 Tests</a></li>
<li><a href="#testing-with-alternative-security-providers"
id="toc-testing-with-alternative-security-providers">Testing with
alternative security providers</a></li>
<li><a href="#client-ui-tests" id="toc-client-ui-tests">Client UI
Tests</a></li>
</ul></li>
@@ -179,8 +182,9 @@ 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
<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>.
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>.
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>
@@ -577,14 +581,29 @@ 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>test.nss.lib.paths</code> is
required on Ubuntu 18.04 to specify the alternative NSS lib
directories.</p>
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>
<p>For example:</p>
<pre><code>$ make test TEST=&quot;jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java&quot; \
JTREG=&quot;JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs&quot;</code></pre>
JTREG=&quot;JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs&quot;</code></pre>
<p>For more notes about the PKCS11 tests, please refer to
test/jdk/sun/security/pkcs11/README.</p>
<h3 id="testing-with-alternative-security-providers">Testing with
alternative security providers</h3>
<p>Some security tests use a hardcoded provider for
<code>KeyFactory</code>, <code>Cipher</code>,
<code>KeyPairGenerator</code>, <code>KeyGenerator</code>,
<code>AlgorithmParameterGenerator</code>, <code>KeyAgreement</code>,
<code>Mac</code>, <code>MessageDigest</code>, <code>SecureRandom</code>,
<code>Signature</code>, <code>AlgorithmParameters</code>,
<code>Configuration</code>, <code>Policy</code>, or
<code>SecretKeyFactory</code> objects. Specify the
<code>-Dtest.provider.name=NAME</code> property to use a different
provider for the service(s).</p>
<h3 id="client-ui-tests">Client UI Tests</h3>
<h4 id="system-key-shortcuts">System key shortcuts</h4>
<p>Some Client UI tests use key sequences which may be reserved by the

View File

@@ -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 `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.
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.
### Common Test Groups
@@ -600,19 +600,30 @@ 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 `test.nss.lib.paths` is required on Ubuntu 18.04
to specify the alternative NSS lib directories.
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`)
For example:
```
$ make test TEST="jtreg:sun/security/pkcs11/Secmod/AddTrustedCert.java" \
JTREG="JAVA_OPTIONS=-Dtest.nss.lib.paths=/path/to/your/latest/NSS-libs"
JTREG="JAVA_OPTIONS=-Djdk.test.lib.artifacts.nsslib-linux_aarch64=/path/to/NSS-libs"
```
For more notes about the PKCS11 tests, please refer to
test/jdk/sun/security/pkcs11/README.
### Testing with alternative security providers
Some security tests use a hardcoded provider for `KeyFactory`, `Cipher`,
`KeyPairGenerator`, `KeyGenerator`, `AlgorithmParameterGenerator`,
`KeyAgreement`, `Mac`, `MessageDigest`, `SecureRandom`, `Signature`,
`AlgorithmParameters`, `Configuration`, `Policy`, or `SecretKeyFactory` objects.
Specify the `-Dtest.provider.name=NAME` property to use a different provider for
the service(s).
### Client UI Tests
#### System key shortcuts

View File

@@ -242,7 +242,10 @@ ifneq ($(filter product-bundles% legacy-bundles, $(MAKECMDGOALS)), )
)
JDK_SYMBOLS_BUNDLE_FILES := \
$(call FindFiles, $(SYMBOLS_IMAGE_DIR))
$(filter-out \
%.stripped.pdb, \
$(call FindFiles, $(SYMBOLS_IMAGE_DIR)) \
)
TEST_DEMOS_BUNDLE_FILES := $(filter $(JDK_DEMOS_IMAGE_HOMEDIR)/demo/%, \
$(ALL_JDK_DEMOS_FILES))

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
@@ -81,13 +81,11 @@ 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, rename them
# and filter out a few launcher pdbs where there's a lib that goes by the same name
# For public debug symbols on Windows, we have to use stripped pdbs and rename them
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-out %jimage.stripped.pdb %jpackage.stripped.pdb %java.stripped.pdb, \
$(filter %.stripped.pdb, $(call FindFiles, $(CMDS_DIR))))
$(filter %.stripped.pdb, $(call FindFiles, $(CMDS_DIR)))
$(eval $(call SetupCopyFiles, COPY_FILTERED_CMDS, \
SRC := $(CMDS_DIR), \
DEST := $(CMDS_DIR_FILTERED), \
@@ -96,18 +94,6 @@ 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

@@ -267,9 +267,6 @@ 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), \
@@ -283,8 +280,8 @@ SetupCopyDebuginfo = \
$(eval $(call SetupCopyFiles, COPY_$1_CMDS_DEBUGINFO_$m, \
SRC := $(SUPPORT_OUTPUTDIR)/modules_cmds/$m, \
DEST := $($1_IMAGE_DIR)/$(CMDS_TARGET_SUBDIR), \
FILES := $(filter-out $(FILTERED_PDBS), $(call FindDebuginfoFiles, \
$(SUPPORT_OUTPUTDIR)/modules_cmds/$m)), \
FILES := $(call FindDebuginfoFiles, \
$(SUPPORT_OUTPUTDIR)/modules_cmds/$m), \
)) \
$(eval $1_TARGETS += $$(COPY_$1_CMDS_DEBUGINFO_$m)) \
)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2012, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2012, 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
@@ -138,7 +138,10 @@ ifeq ($(HAS_SPEC),)
# The spec files depend on the autoconf source code. This check makes sure
# the configuration is up to date after changes to configure.
$(SPECS): $(wildcard $(topdir)/make/autoconf/*) \
$(if $(CUSTOM_CONFIG_DIR), $(wildcard $(CUSTOM_CONFIG_DIR)/*))
$(if $(CUSTOM_CONFIG_DIR), $(wildcard $(CUSTOM_CONFIG_DIR)/*)) \
$(addprefix $(topdir)/make/conf/, version-numbers.conf branding.conf) \
$(if $(CUSTOM_CONF_DIR), $(wildcard $(addprefix $(CUSTOM_CONF_DIR)/, \
version-numbers.conf branding.conf)))
ifeq ($(CONF_CHECK), fail)
@echo Error: The configuration is not up to date for \
"'$(lastword $(subst /, , $(dir $@)))'."

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
@@ -46,8 +46,10 @@ 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 := bootjdk, \
COMPILER := interim, \
DISABLED_WARNINGS := options, \
TARGET_RELEASE := $(TARGET_RELEASE_JDK8), \
SRC := $(TOPDIR)/src/java.base/share/classes, \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -178,7 +178,8 @@ ifeq ($(TEST_JOBS), 0)
c = c * $(TEST_JOBS_FACTOR_JDL); \
c = c * $(TEST_JOBS_FACTOR_MACHINE); \
if (c < 1) c = 1; \
printf "%.0f", c; \
c = c + 0.5; \
printf "%d", c; \
}')
endif
@@ -356,7 +357,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 .sh,,$(subst .html,,$(subst .java,,$(suffix $(notdir $1)))))
$(subst .jasm,,$(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
@@ -601,7 +602,7 @@ define SetupRunMicroTestBody
$1_JMH_JVM_ARGS += $$(MICRO_VM_OPTIONS) $$(MICRO_JAVA_OPTIONS)
endif
$1_MICRO_VM_OPTIONS := -jvmArgs $(call ShellQuote,$$($1_JMH_JVM_ARGS))
$1_MICRO_VM_OPTIONS := -jvmArgsPrepend $(call ShellQuote,$$($1_JMH_JVM_ARGS))
ifneq ($$(MICRO_ITER), )
$1_MICRO_ITER := -i $$(MICRO_ITER)
@@ -742,8 +743,6 @@ define SetupRunJtregTestBody
# we may end up with a lot of JVM's
$1_JTREG_MAX_RAM_PERCENTAGE := $$(shell $(AWK) 'BEGIN { print 25 / $$($1_JTREG_JOBS); }')
JTREG_TIMEOUT_FACTOR ?= 4
JTREG_VERBOSE ?= fail,error,summary
JTREG_RETAIN ?= fail,error
JTREG_TEST_THREAD_FACTORY ?=
@@ -800,8 +799,10 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += -e:JIB_DATA_DIR
# If running on Windows, propagate the _NT_SYMBOL_PATH to enable
# symbol lookup in hserr files
# The minidumps are disabled by default on client Windows, so enable them
ifeq ($$(call isTargetOs, windows), true)
$1_JTREG_BASIC_OPTIONS += -e:_NT_SYMBOL_PATH
$1_JTREG_BASIC_OPTIONS += -vmoption:-XX:+CreateCoredumpOnCrash
else ifeq ($$(call isTargetOs, linux), true)
$1_JTREG_BASIC_OPTIONS += -e:_JVM_DWARF_PATH=$$(SYMBOLS_IMAGE_DIR)
endif
@@ -829,6 +830,28 @@ define SetupRunJtregTestBody
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$($1_JTREG_PROBLEM_LIST))
endif
JTREG_ALL_OPTIONS := $$(JTREG_JAVA_OPTIONS) $$(JTREG_VM_OPTIONS)
JTREG_AUTO_PROBLEM_LISTS :=
JTREG_AUTO_TIMEOUT_FACTOR := 4
ifneq ($$(findstring -Xcomp, $$(JTREG_ALL_OPTIONS)), )
JTREG_AUTO_PROBLEM_LISTS += ProblemList-Xcomp.txt
JTREG_AUTO_TIMEOUT_FACTOR := 10
endif
ifneq ($$(findstring -XX:+UseZGC, $$(JTREG_ALL_OPTIONS)), )
ifneq ($$(findstring -XX:-ZGenerational, $$(JTREG_ALL_OPTIONS)), )
JTREG_AUTO_PROBLEM_LISTS += ProblemList-zgc.txt
else
JTREG_AUTO_PROBLEM_LISTS += ProblemList-generational-zgc.txt
endif
endif
ifneq ($$(findstring -XX:+UseShenandoahGC, $$(JTREG_ALL_OPTIONS)), )
JTREG_AUTO_PROBLEM_LISTS += ProblemList-shenandoah.txt
endif
ifneq ($$(JTREG_EXTRA_PROBLEM_LISTS), )
# Accept both absolute paths as well as relative to the current test root.
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \
@@ -860,11 +883,24 @@ define SetupRunJtregTestBody
$$(eval $$(call SetupRunJtregTestCustom, $1))
clean-workdir-$1:
# SetupRunJtregTestCustom might also adjust JTREG_AUTO_ variables
# so set the final results after setting values from custom setup
ifneq ($$(JTREG_AUTO_PROBLEM_LISTS), )
# Accept both absolute paths as well as relative to the current test root.
$1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \
$$(JTREG_AUTO_PROBLEM_LISTS) \
$$(addprefix $$($1_TEST_ROOT)/, $$(JTREG_AUTO_PROBLEM_LISTS)) \
))
endif
JTREG_TIMEOUT_FACTOR ?= $$(JTREG_AUTO_TIMEOUT_FACTOR)
clean-outputdirs-$1:
$$(RM) -r $$($1_TEST_SUPPORT_DIR)
$$(RM) -r $$($1_TEST_RESULTS_DIR)
$1_COMMAND_LINE := \
$$(JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
$$(JTREG_JAVA) $$($1_JTREG_LAUNCHER_OPTIONS) \
-Dprogram=jtreg -jar $$(JT_HOME)/lib/jtreg.jar \
$$($1_JTREG_BASIC_OPTIONS) \
-testjdk:$$(JDK_UNDER_TEST) \
@@ -907,7 +943,7 @@ define SetupRunJtregTestBody
done
endif
run-test-$1: pre-run-test clean-workdir-$1
run-test-$1: pre-run-test clean-outputdirs-$1
$$(call LogWarn)
$$(call LogWarn, Running test '$$($1_TEST)')
$$(call MakeDir, $$($1_TEST_RESULTS_DIR) $$($1_TEST_SUPPORT_DIR) \
@@ -944,9 +980,9 @@ define SetupRunJtregTestBody
$$(eval $1_TOTAL := 1) \
)
$1: run-test-$1 parse-test-$1 clean-workdir-$1
$1: run-test-$1 parse-test-$1 clean-outputdirs-$1
TARGETS += $1 run-test-$1 parse-test-$1 clean-workdir-$1
TARGETS += $1 run-test-$1 parse-test-$1 clean-outputdirs-$1
TEST_TARGETS += parse-test-$1
endef

View File

@@ -122,6 +122,7 @@ $(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))
@@ -157,6 +158,10 @@ 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)
@@ -169,6 +174,9 @@ 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
@@ -248,6 +256,7 @@ $(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,6 +124,8 @@ 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

@@ -88,9 +88,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.diz \
modules_libs/java.security.jgss/w2k_lsa_auth.map \
modules_libs/java.security.jgss/w2k_lsa_auth.pdb, \
modules_libs/java.security.jgss/w2k_lsa_auth.dll.diz \
modules_libs/java.security.jgss/w2k_lsa_auth.dll.map \
modules_libs/java.security.jgss/w2k_lsa_auth.dll.pdb, \
ZIP := $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME)))
TARGETS += $(IMAGES_OUTPUTDIR)/$(JGSS_ZIP_NAME)

View File

@@ -406,9 +406,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
# WARNING: This might be a bad thing to do. You need to be sure you want to
# have a configuration in this directory. Do some sanity checks!
if test ! -e "$OUTPUTDIR/spec.gmk"; then
# If we have a spec.gmk, we have run here before and we are OK. Otherwise, check for
# other files
if test ! -e "$OUTPUTDIR/spec.gmk" && test ! -e "$OUTPUTDIR/configure-support/generated-configure.sh"; then
# If we have a spec.gmk or configure-support/generated-configure.sh,
# we have run here before and we are OK. Otherwise, check for other files
files_present=`$LS $OUTPUTDIR`
# Configure has already touched config.log and confdefs.h in the current dir when this check
# is performed.
@@ -423,8 +423,9 @@ AC_DEFUN_ONCE([BASIC_SETUP_OUTPUT_DIR],
AC_MSG_NOTICE([Current directory is $CONFIGURE_START_DIR.])
AC_MSG_NOTICE([Since this is not the source root, configure will output the configuration here])
AC_MSG_NOTICE([(as opposed to creating a configuration in <src_root>/build/<conf-name>).])
AC_MSG_NOTICE([However, this directory is not empty. This is not allowed, since it could])
AC_MSG_NOTICE([seriously mess up just about everything.])
AC_MSG_NOTICE([However, this directory is not empty, additionally to some allowed files])
AC_MSG_NOTICE([it contains $filtered_files.])
AC_MSG_NOTICE([This is not allowed, since it could seriously mess up just about everything.])
AC_MSG_NOTICE([Try 'cd $TOPDIR' and restart configure])
AC_MSG_NOTICE([(or create a new empty directory and cd to it).])
AC_MSG_ERROR([Will not continue creating configuration in $CONFIGURE_START_DIR])

View File

@@ -313,9 +313,11 @@ AC_OUTPUT
# After AC_OUTPUT, we need to do final work
CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK
BASIC_POST_CONFIG_OUTPUT
# Finally output some useful information to the user
HELP_PRINT_SUMMARY_AND_WARNINGS
CUSTOM_SUMMARY_AND_WARNINGS_HOOK
HELP_REPEAT_WARNINGS
# All output is done. Do the post-config output management.
BASIC_POST_CONFIG_OUTPUT

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -28,7 +28,7 @@
# Setup flags for C/C++ compiler
#
###############################################################################
################################################################################
#
# How to compile shared libraries.
#
@@ -37,7 +37,10 @@ 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'
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
# --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_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
@@ -63,6 +66,9 @@ 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'
@@ -117,6 +123,16 @@ 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
@@ -158,6 +174,55 @@ 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.
@@ -425,13 +490,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"
CFLAGS_OS_DEF_JVM="-DLINUX -D_FILE_OFFSET_BITS=64"
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"
CFLAGS_OS_DEF_JVM="-DAIX -D_LARGE_FILES"
elif test "x$OPENJDK_TARGET_OS" = xbsd; then
CFLAGS_OS_DEF_JDK="-D_ALLBSD_SOURCE"
elif test "x$OPENJDK_TARGET_OS" = xwindows; then
@@ -770,6 +835,11 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
# for all archs except arm and ppc, prevent gcc to omit frame pointer
$1_CFLAGS_CPU_JDK="${$1_CFLAGS_CPU_JDK} -fno-omit-frame-pointer"
fi
if test "x$FLAGS_CPU" = xppc64le; then
# Little endian machine uses ELFv2 ABI.
# Use Power8, this is the first CPU to support PPC64 LE with ELFv2 ABI.
$1_CFLAGS_CPU_JVM="${$1_CFLAGS_CPU_JVM} -DABI_ELFv2 -mcpu=power8 -mtune=power8"
fi
fi
if test "x$OPENJDK_TARGET_OS" = xaix; then
$1_CFLAGS_CPU="-mcpu=pwr8"
@@ -797,15 +867,6 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
$1_TOOLCHAIN_CFLAGS="${$1_GCC6_CFLAGS}"
$1_WARNING_CFLAGS_JVM="-Wno-format-zero-length -Wtype-limits -Wuninitialized"
elif test "x$TOOLCHAIN_TYPE" = xclang; then
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG],
PREFIX: $3,
IF_FALSE: [
NO_DELETE_NULL_POINTER_CHECKS_CFLAG=
]
)
$1_TOOLCHAIN_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG}"
fi
if test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
@@ -816,6 +877,7 @@ 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
@@ -849,6 +911,22 @@ 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])
@@ -926,17 +1004,12 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
# $2 - Prefix for compiler variables (either BUILD_ or nothing).
AC_DEFUN([FLAGS_SETUP_GCC6_COMPILER_FLAGS],
[
# These flags are required for GCC 6 builds as undefined behavior in OpenJDK code
# runs afoul of the more aggressive versions of these optimizations.
# Notably, value range propagation now assumes that the this pointer of C++
# member functions is non-null.
NO_DELETE_NULL_POINTER_CHECKS_CFLAG="-fno-delete-null-pointer-checks"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_DELETE_NULL_POINTER_CHECKS_CFLAG],
PREFIX: $2, IF_FALSE: [NO_DELETE_NULL_POINTER_CHECKS_CFLAG=""])
# This flag is required for GCC 6 builds as undefined behavior in OpenJDK code
# runs afoul of the more aggressive versions of this optimization.
NO_LIFETIME_DSE_CFLAG="-fno-lifetime-dse"
FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$NO_LIFETIME_DSE_CFLAG],
PREFIX: $2, IF_FALSE: [NO_LIFETIME_DSE_CFLAG=""])
$1_GCC6_CFLAGS="${NO_DELETE_NULL_POINTER_CHECKS_CFLAG} ${NO_LIFETIME_DSE_CFLAG}"
$1_GCC6_CFLAGS="${NO_LIFETIME_DSE_CFLAG}"
])
AC_DEFUN_ONCE([FLAGS_SETUP_BRANCH_PROTECTION],

View File

@@ -88,6 +88,16 @@ AC_DEFUN([FLAGS_SETUP_RCFLAGS],
AC_SUBST(RCFLAGS)
])
AC_DEFUN([FLAGS_SETUP_NMFLAGS],
[
# On AIX, we need to set NM flag -X64 for processing 64bit object files
if test "x$OPENJDK_TARGET_OS" = xaix; then
NMFLAGS="-X64"
fi
AC_SUBST(NMFLAGS)
])
################################################################################
# platform independent
AC_DEFUN([FLAGS_SETUP_ASFLAGS],

View File

@@ -428,6 +428,7 @@ AC_DEFUN([FLAGS_SETUP_FLAGS],
FLAGS_SETUP_ARFLAGS
FLAGS_SETUP_STRIPFLAGS
FLAGS_SETUP_RCFLAGS
FLAGS_SETUP_NMFLAGS
FLAGS_SETUP_ASFLAGS
FLAGS_SETUP_ASFLAGS_CPU_DEP([TARGET])

View File

@@ -190,6 +190,16 @@ 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=auto
fi
# Compress jars
COMPRESS_JARS=false
@@ -489,9 +499,15 @@ 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"
UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base -fno-sanitize=alignment \
$ADDITIONAL_UBSAN_CHECKS"
UBSAN_CFLAGS="$UBSAN_CHECKS -Wno-stringop-truncation -Wno-format-overflow -fno-omit-frame-pointer -DUNDEFINED_BEHAVIOR_SANITIZER"
UBSAN_LDFLAGS="$UBSAN_CHECKS"
UTIL_ARG_ENABLE(NAME: ubsan, DEFAULT: false, RESULT: UBSAN_ENABLED,
@@ -673,10 +689,10 @@ AC_DEFUN([JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE],
#
AC_DEFUN([JDKOPT_ENABLE_DISABLE_COMPATIBLE_CDS_ALIGNMENT],
[
UTIL_ARG_ENABLE(NAME: compatible-cds-alignment, DEFAULT: false,
UTIL_ARG_ENABLE(NAME: compatible-cds-alignment, DEFAULT: $COMPATIBLE_CDS_ALIGNMENT_DEFAULT,
RESULT: ENABLE_COMPATIBLE_CDS_ALIGNMENT,
DESC: [enable use alternative compatible cds core region alignment],
DEFAULT_DESC: [disabled],
DEFAULT_DESC: [disabled except on linux-aarch64],
CHECKING_MSG: [if compatible cds region alignment enabled],
CHECK_AVAILABLE: [
AC_MSG_CHECKING([if CDS archive is available])
@@ -822,6 +838,9 @@ AC_DEFUN([JDKOPT_CHECK_CODESIGN_PARAMS],
$RM "$CODESIGN_TESTFILE"
$TOUCH "$CODESIGN_TESTFILE"
CODESIGN_SUCCESS=false
$ECHO "check codesign, calling $CODESIGN $PARAMS $CODESIGN_TESTFILE" >&AS_MESSAGE_LOG_FD
eval \"$CODESIGN\" $PARAMS \"$CODESIGN_TESTFILE\" 2>&AS_MESSAGE_LOG_FD \
>&AS_MESSAGE_LOG_FD && CODESIGN_SUCCESS=true
$RM "$CODESIGN_TESTFILE"

View File

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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2016, 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
@@ -68,12 +68,20 @@ AC_DEFUN_ONCE([LIB_SETUP_CUPS],
fi
fi
if test "x$CUPS_FOUND" = xno; then
# Are the cups headers installed in the default /usr/include location?
AC_CHECK_HEADERS([cups/cups.h cups/ppd.h], [
CUPS_FOUND=yes
CUPS_CFLAGS=
DEFAULT_CUPS=yes
])
# Are the cups headers installed in the default AIX or /usr/include location?
if test "x$OPENJDK_TARGET_OS" = "xaix"; then
AC_CHECK_HEADERS([/opt/freeware/include/cups/cups.h /opt/freeware/include/cups/ppd.h], [
CUPS_FOUND=yes
CUPS_CFLAGS="-I/opt/freeware/include"
DEFAULT_CUPS=yes
])
else
AC_CHECK_HEADERS([cups/cups.h cups/ppd.h], [
CUPS_FOUND=yes
CUPS_CFLAGS=
DEFAULT_CUPS=yes
])
fi
fi
if test "x$CUPS_FOUND" = xno; then
HELP_MSG_MISSING_DEPENDENCY([cups])

View File

@@ -28,7 +28,7 @@
################################################################################
# Minimum supported versions
JTREG_MINIMUM_VERSION=7.2
JTREG_MINIMUM_VERSION=7.3.1
GTEST_MINIMUM_VERSION=1.13.0
###############################################################################
@@ -227,12 +227,47 @@ 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=`$JAVA -jar $JT_HOME/lib/jtreg.jar -version | $HEAD -n 1 | $CUT -d ' ' -f 2`
jtreg_version_full=$($JTREG_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, 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
@@ -35,6 +35,7 @@ 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.])
@@ -48,6 +49,7 @@ 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.
@@ -69,9 +71,9 @@ AC_DEFUN_ONCE([LIB_SETUP_X11],
elif test -f "$SYSROOT/usr/lib/libX11.so"; then
x_libraries="$SYSROOT/usr/lib"
elif test -f "$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"; then
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI"
elif test -f "$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"; then
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI/libX11.so"
x_libraries="$SYSROOT/usr/lib/$OPENJDK_TARGET_CPU_AUTOCONF-$OPENJDK_TARGET_OS-$OPENJDK_TARGET_ABI"
fi
fi
fi
@@ -82,8 +84,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.
if test "x$COMPILE_TYPE" = xcross; then
# 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
X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[[^ ]]*//g'`
fi

View File

@@ -108,12 +108,6 @@ 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

@@ -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
@@ -567,8 +567,6 @@ 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
@@ -577,10 +575,14 @@ 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
@@ -660,11 +662,10 @@ AC_DEFUN_ONCE([PLATFORM_SETUP_OPENJDK_BUILD_AND_TARGET],
PLATFORM_CHECK_DEPRECATION
])
AC_DEFUN_ONCE([PLATFORM_CHECK_DEPRECATION],
AC_DEFUN([PLATFORM_CHECK_DEPRECATION],
[
AC_ARG_ENABLE(deprecated-ports, [AS_HELP_STRING([--enable-deprecated-ports@<:@=yes/no@:>@],
[Suppress the error when configuring for a deprecated port @<:@no@:>@])])
AC_REQUIRE([PLATFORM_EXTRACT_TARGET_AND_BUILD])
if test "x$OPENJDK_TARGET_OS" = xwindows && test "x$OPENJDK_TARGET_CPU" = xx86; then
if test "x$enable_deprecated_ports" = "xyes"; then
AC_MSG_WARN([The Windows 32-bit x86 port is deprecated and may be removed in a future release.])

View File

@@ -191,6 +191,7 @@ 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@
@@ -424,6 +425,7 @@ 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@
@@ -601,6 +603,7 @@ AR := @AR@
ARFLAGS:=@ARFLAGS@
NM:=@NM@
NMFLAGS:=@NMFLAGS@
STRIP:=@STRIP@
OBJDUMP:=@OBJDUMP@
CXXFILT:=@CXXFILT@
@@ -678,6 +681,9 @@ 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

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -389,6 +389,10 @@ 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
@@ -445,6 +449,11 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
# Copyright (C) 2013 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# or look like
# gcc (GCC) 10.2.1 20200825 (Alibaba 10.2.1-3.8 2.32)
# Copyright (C) 2020 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
COMPILER_VERSION_OUTPUT=`$COMPILER --version 2>&1`
# Check that this is likely to be GCC.
$ECHO "$COMPILER_VERSION_OUTPUT" | $GREP "Free Software Foundation" > /dev/null
@@ -458,7 +467,8 @@ AC_DEFUN([TOOLCHAIN_EXTRACT_COMPILER_VERSION],
COMPILER_VERSION_STRING=`$ECHO $COMPILER_VERSION_OUTPUT | \
$SED -e 's/ *Copyright .*//'`
COMPILER_VERSION_NUMBER=`$ECHO $COMPILER_VERSION_OUTPUT | \
$SED -e 's/^.* \(@<:@1-9@:>@<:@0-9@:>@*\.@<:@0-9.@:>@*\)@<:@^0-9.@:>@.*$/\1/'`
$AWK -F ')' '{print [$]2}' | \
$AWK '{print [$]1}'`
elif test "x$TOOLCHAIN_TYPE" = xclang; then
# clang --version output typically looks like
# Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
@@ -804,7 +814,11 @@ AC_DEFUN_ONCE([TOOLCHAIN_DETECT_TOOLCHAIN_EXTRA],
case $TOOLCHAIN_TYPE in
gcc|clang)
UTIL_REQUIRE_TOOLCHAIN_PROGS(CXXFILT, c++filt)
if test "x$OPENJDK_TARGET_OS" = xaix; then
UTIL_REQUIRE_TOOLCHAIN_PROGS(CXXFILT, ibm-llvm-cxxfilt)
else
UTIL_REQUIRE_TOOLCHAIN_PROGS(CXXFILT, c++filt)
fi
;;
esac
])

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -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
])

View File

@@ -118,6 +118,24 @@ 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=$(COMPANY_NAME)" \
-D"JDK_COMPANY=$(JDK_RC_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, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -152,6 +152,10 @@ 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
@@ -285,6 +289,7 @@ ifeq ($(call isTargetOs, macosx), true)
$(CP) -fRP '$(call DecodeSpace, $<)' '$(call DecodeSpace, $@)'; \
fi
if [ -n "`$(XATTR) -ls '$(call DecodeSpace, $@)'`" ]; then \
$(CHMOD) -h u+w '$(call DecodeSpace, $@)'; \
$(XATTR) -cs '$(call DecodeSpace, $@)'; \
fi
endef

View File

@@ -48,12 +48,12 @@ define GetSymbols
$(SED) -e 's/#.*//;s/global://;s/local://;s/\;//;s/^[ ]*/_/;/^_$$$$/d' | \
$(EGREP) -v "JNI_OnLoad|JNI_OnUnload|Agent_OnLoad|Agent_OnUnload|Agent_OnAttach" > \
$$(@D)/$$(basename $$(@F)).symbols || true; \
$(NM) $$($1_TARGET) | $(GREP) " T " | \
$(NM) $(NMFLAGS) $$($1_TARGET) | $(GREP) " T " | \
$(EGREP) "JNI_OnLoad|JNI_OnUnload|Agent_OnLoad|Agent_OnUnload|Agent_OnAttach" | \
$(CUT) -d ' ' -f 3 >> $$(@D)/$$(basename $$(@F)).symbols || true;\
else \
$(ECHO) "Getting symbols from nm"; \
$(NM) -m $$($1_TARGET) | $(GREP) "__TEXT" | \
$(NM) $(NMFLAGS) -m $$($1_TARGET) | $(GREP) "__TEXT" | \
$(EGREP) -v "non-external|private extern|__TEXT,__eh_frame" | \
$(SED) -e 's/.* //' > $$(@D)/$$(basename $$(@F)).symbols; \
fi
@@ -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) && \
@@ -1050,13 +1064,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_NOSUFFIX).pdb" \
"-map:$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).map"
$1_EXTRA_LDFLAGS += -debug "-pdb:$$($1_SYMBOLS_DIR)/$$($1_BASENAME).pdb" \
"-map:$$($1_SYMBOLS_DIR)/$$($1_BASENAME).map"
ifeq ($(SHIP_DEBUG_SYMBOLS), public)
$1_EXTRA_LDFLAGS += "-pdbstripped:$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).stripped.pdb"
$1_EXTRA_LDFLAGS += "-pdbstripped:$$($1_SYMBOLS_DIR)/$$($1_BASENAME).stripped.pdb"
endif
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).pdb \
$$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).map
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_BASENAME).pdb \
$$($1_SYMBOLS_DIR)/$$($1_BASENAME).map
else ifeq ($(call isTargetOs, linux), true)
$1_DEBUGINFO_FILES := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).debuginfo
@@ -1104,7 +1118,11 @@ define SetupNativeCompilationBody
$1 += $$($1_DEBUGINFO_FILES)
ifeq ($$($1_ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
$1_DEBUGINFO_ZIP := $$($1_SYMBOLS_DIR)/$$($1_NOSUFFIX).diz
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 += $$($1_DEBUGINFO_ZIP)
# The dependency on TARGET is needed for debuginfo files

View File

@@ -56,22 +56,32 @@ define SetupTestFilesCompilationBody
$$(error There are duplicate test file names for $1: $$($1_DUPLICATED_NAMES))
endif
# Always include common test functionality
TEST_CFLAGS := -I$(TOPDIR)/test/lib/native
ifeq ($(TOOLCHAIN_TYPE), gcc)
TEST_CFLAGS += -fvisibility=hidden
TEST_LDFLAGS += -Wl,--exclude-libs,ALL
else ifeq ($(TOOLCHAIN_TYPE), clang)
TEST_CFLAGS += -fvisibility=hidden
endif
# The list to depend on starts out empty
$1 :=
ifeq ($$($1_TYPE), LIBRARY)
$1_PREFIX = lib
$1_OUTPUT_SUBDIR := lib
$1_BASE_CFLAGS := $(CFLAGS_JDKLIB)
$1_BASE_CXXFLAGS := $(CXXFLAGS_JDKLIB)
$1_LDFLAGS := $(LDFLAGS_JDKLIB) $$(call SET_SHARED_LIBRARY_ORIGIN)
$1_BASE_CFLAGS := $(CFLAGS_JDKLIB) $$(TEST_CFLAGS)
$1_BASE_CXXFLAGS := $(CXXFLAGS_JDKLIB) $$(TEST_CFLAGS)
$1_LDFLAGS := $(LDFLAGS_JDKLIB) $$(TEST_LDFLAGS) $$(call SET_SHARED_LIBRARY_ORIGIN)
$1_COMPILATION_TYPE := LIBRARY
$1_LOG_TYPE := library
else ifeq ($$($1_TYPE), PROGRAM)
$1_PREFIX = exe
$1_OUTPUT_SUBDIR := bin
$1_BASE_CFLAGS := $(CFLAGS_JDKEXE)
$1_BASE_CXXFLAGS := $(CXXFLAGS_JDKEXE)
$1_LDFLAGS := $(LDFLAGS_JDKEXE) $(LDFLAGS_TESTEXE)
$1_BASE_CFLAGS := $(CFLAGS_JDKEXE) $$(TEST_CFLAGS)
$1_BASE_CXXFLAGS := $(CXXFLAGS_JDKEXE) $$(TEST_CFLAGS)
$1_LDFLAGS := $(LDFLAGS_JDKEXE) $$(TEST_LDFLAGS) $(LDFLAGS_TESTEXE)
$1_COMPILATION_TYPE := EXECUTABLE
$1_LOG_TYPE := executable
else

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -26,16 +26,20 @@
# Versions and download locations for dependencies used by GitHub Actions (GHA)
GTEST_VERSION=1.13.0
JTREG_VERSION=7.2+1
JTREG_VERSION=7.3.1+1
LINUX_X64_BOOT_JDK_EXT=tar.gz
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
LINUX_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_x64_linux_hotspot_21.0.6_7.tar.gz
LINUX_X64_BOOT_JDK_SHA256=a2650fba422283fbed20d936ce5d2a52906a5414ec17b2f7676dddb87201dbae
MACOS_AARCH64_BOOT_JDK_EXT=tar.gz
MACOS_AARCH64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_aarch64_mac_hotspot_21.0.6_7.tar.gz
MACOS_AARCH64_BOOT_JDK_SHA256=4ef4083919126a3d93e603284b405c7493905497485a92b375f5d6c3e8f7e8f2
MACOS_X64_BOOT_JDK_EXT=tar.gz
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
MACOS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_x64_mac_hotspot_21.0.6_7.tar.gz
MACOS_X64_BOOT_JDK_SHA256=7aacfc400078ad65b7c7de3ec75ff74bf5c2077d6740b350f85ae10be4f71e76
WINDOWS_X64_BOOT_JDK_EXT=zip
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
WINDOWS_X64_BOOT_JDK_URL=https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.6%2B7/OpenJDK21U-jdk_x64_windows_hotspot_21.0.6_7.zip
WINDOWS_X64_BOOT_JDK_SHA256=897c8eebb0f85a99ccecbd482ebae9a45d88c19d6077054f6529ebab49b6d259

View File

@@ -463,7 +463,8 @@ var getJibProfilesProfiles = function (input, common, data) {
target_cpu: "x86",
build_cpu: "x64",
dependencies: ["devkit", "gtest"],
configure_args: concat(common.configure_args_32bit),
configure_args: concat(common.configure_args_32bit,
"--enable-deprecated-ports"),
},
"windows-aarch64": {
@@ -944,10 +945,7 @@ 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",
environment: {
"JT_JAVA": common.boot_jdk_home
}
labels: "test"
}
};
profiles = concatObjects(profiles, testOnlyProfiles);
@@ -1187,9 +1185,9 @@ var getJibProfilesDependencies = function (input, common) {
jtreg: {
server: "jpg",
product: "jtreg",
version: "7.2",
version: "7.3.1",
build_number: "1",
file: "bundles/jtreg-7.2+1.zip",
file: "bundles/jtreg-7.3.1+1.zip",
environment_name: "JT_HOME",
environment_path: input.get("jtreg", "home_path") + "/bin",
configure_args: "--with-jtreg=" + input.get("jtreg", "home_path"),

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2025, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -28,12 +28,12 @@
DEFAULT_VERSION_FEATURE=21
DEFAULT_VERSION_INTERIM=0
DEFAULT_VERSION_UPDATE=0
DEFAULT_VERSION_UPDATE=8
DEFAULT_VERSION_PATCH=0
DEFAULT_VERSION_EXTRA1=0
DEFAULT_VERSION_EXTRA2=0
DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2023-09-19
DEFAULT_VERSION_DATE=2025-07-15
DEFAULT_VERSION_CLASSFILE_MAJOR=65 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_VERSION_DOCS_API_SINCE=11

File diff suppressed because it is too large Load Diff

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

@@ -1,5 +1,5 @@
#
# Copyright (c) 2013, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -539,6 +539,7 @@ $(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, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -26,9 +26,10 @@
# Create a bundle in the build directory, containing what's needed to
# build and run JMH microbenchmarks from the OpenJDK build.
JMH_VERSION=1.36
COMMONS_MATH3_VERSION=3.2
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
@@ -41,9 +42,9 @@ cd $JAR_DIR
rm -f *
fetchJar() {
url="https://repo.maven.apache.org/maven2/$1/$2/$3/$2-$3.jar"
url="${MAVEN_MIRROR}/$1/$2/$3/$2-$3.jar"
if command -v curl > /dev/null; then
curl -O --fail $url
curl -OL --fail $url
elif command -v wget > /dev/null; then
wget $url
else

View File

@@ -51,7 +51,7 @@ ifeq ($(call check-jvm-feature, compiler2), true)
endif
# Set the C++ standard
ADLC_CFLAGS += $(ADLC_LANGSTD_CXXFLAG)
ADLC_CFLAGS += $(ADLC_LANGSTD_CXXFLAGS)
# 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)
ADLC_CFLAGS += $(FILE_MACRO_CFLAGS) $(REPRODUCIBLE_CFLAGS)
ifeq ($(UBSAN_ENABLED), true)
ADLC_CFLAGS += $(UBSAN_CFLAGS)
@@ -133,6 +133,21 @@ 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

@@ -57,7 +57,8 @@ $(eval $(call SetupJdkLibrary, BUILD_GTEST_LIBGTEST, \
$(GTEST_FRAMEWORK_SRC)/googletest/src \
$(GTEST_FRAMEWORK_SRC)/googlemock/src, \
INCLUDE_FILES := gtest-all.cc gmock-all.cc, \
DISABLED_WARNINGS_gcc := undef unused-result format-nonliteral maybe-uninitialized, \
DISABLED_WARNINGS_gcc := undef unused-result format-nonliteral \
maybe-uninitialized zero-as-null-pointer-constant, \
DISABLED_WARNINGS_clang := undef unused-result format-nonliteral, \
CFLAGS := $(JVM_CFLAGS) \
-I$(GTEST_FRAMEWORK_SRC)/googletest \

View File

@@ -157,8 +157,13 @@ $(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, \
@@ -276,10 +281,10 @@ ifneq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
define SetupOperatorNewDeleteCheck
$1.op_check: $1
$$(call ExecuteWithLog, $1.op_check, \
$$(NM) $$< 2>&1 | $$(GREP) $$(addprefix -e , $$(MANGLED_SYMS)) | $$(GREP) $$(UNDEF_PATTERN) > $1.op_check || true)
$$(NM) $$(NMFLAGS) $$< 2>&1 | $$(GREP) $$(addprefix -e , $$(MANGLED_SYMS)) | $$(GREP) $$(UNDEF_PATTERN) > $1.op_check || true)
if [ -s $1.op_check ]; then \
$$(ECHO) "$$(notdir $$<): Error: Use of global operators new and delete is not allowed in Hotspot:"; \
$$(NM) $$< | $$(CXXFILT) | $$(EGREP) '$$(DEMANGLED_REGEXP)' | $$(GREP) $$(UNDEF_PATTERN); \
$$(NM) $$(NMFLAGS) $$< | $$(CXXFILT) | $$(EGREP) '$$(DEMANGLED_REGEXP)' | $$(GREP) $$(UNDEF_PATTERN); \
$$(ECHO) "See: $$(TOPDIR)/make/hotspot/lib/CompileJvm.gmk"; \
exit 1; \
fi

View File

@@ -53,7 +53,7 @@ endif
# platform dependent.
ifeq ($(call isTargetOs, linux), true)
DUMP_SYMBOLS_CMD := $(NM) --defined-only *$(OBJ_SUFFIX)
DUMP_SYMBOLS_CMD := $(NM) $(NMFLAGS) --defined-only *$(OBJ_SUFFIX)
ifneq ($(FILTER_SYMBOLS_PATTERN), )
FILTER_SYMBOLS_PATTERN := $(FILTER_SYMBOLS_PATTERN)|
endif
@@ -67,7 +67,7 @@ ifeq ($(call isTargetOs, linux), true)
else ifeq ($(call isTargetOs, macosx), true)
# nm on macosx prints out "warning: nm: no name list" to stderr for
# files without symbols. Hide this, even at the expense of hiding real errors.
DUMP_SYMBOLS_CMD := $(NM) -Uj *$(OBJ_SUFFIX) 2> /dev/null
DUMP_SYMBOLS_CMD := $(NM) $(NMFLAGS) -Uj *$(OBJ_SUFFIX) 2> /dev/null
ifneq ($(FILTER_SYMBOLS_PATTERN), )
FILTER_SYMBOLS_PATTERN := $(FILTER_SYMBOLS_PATTERN)|
endif
@@ -89,7 +89,7 @@ else ifeq ($(call isTargetOs, aix), true)
# which may be installed under /opt/freeware/bin. So better use an absolute path here!
# NM=/usr/bin/nm
DUMP_SYMBOLS_CMD := $(NM) -X64 -B -C *$(OBJ_SUFFIX)
DUMP_SYMBOLS_CMD := $(NM) $(NMFLAGS) -B -C *$(OBJ_SUFFIX)
FILTER_SYMBOLS_AWK_SCRIPT := \
'{ \
if (($$2="d" || $$2="D") && ($$3 ~ /^__vft/ || $$3 ~ /^gHotSpotVM/)) print $$3; \

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.pdb gtestLauncher.pdb, \
FILES := jvm.dll.pdb gtestLauncher.exe.pdb, \
)) \
$(eval TARGETS += $$(COPY_GTEST_PDB_$v)) \
) \

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.pdb");
addAttr(rv, "ProgramDataBaseFileName", outDir+Util.sep+"jvm.dll.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.pdb");
addAttr(rv, "ProgramDatabaseFile", outDir+Util.sep+"jvm.dll.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) 2001, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2001, 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
@@ -32,6 +32,7 @@ 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;
@@ -339,9 +340,15 @@ 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')];
if (tableEntry == INVALID_COUNTRY_ENTRY ||
(tableEntry & SPECIAL_CASE_COUNTRY_MASK) != 0 ||
(tableEntry & SIMPLE_CASE_COUNTRY_FINAL_CHAR_MASK) != (currencyCode.charAt(2) - '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 (otherCurrenciesCount == maxOtherCurrencies) {
throw new RuntimeException("too many other currencies");
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -273,7 +273,7 @@ public final class TzdbZoneRulesCompiler {
// link version-region-rules
out.writeShort(builtZones.size());
for (Map.Entry<String, ZoneRules> entry : builtZones.entrySet()) {
int regionIndex = Arrays.binarySearch(regionArray, entry.getKey());
int regionIndex = findRegionIndex(regionArray, entry.getKey());
int rulesIndex = rulesList.indexOf(entry.getValue());
out.writeShort(regionIndex);
out.writeShort(rulesIndex);
@@ -281,8 +281,8 @@ public final class TzdbZoneRulesCompiler {
// alias-region
out.writeShort(links.size());
for (Map.Entry<String, String> entry : links.entrySet()) {
int aliasIndex = Arrays.binarySearch(regionArray, entry.getKey());
int regionIndex = Arrays.binarySearch(regionArray, entry.getValue());
int aliasIndex = findRegionIndex(regionArray, entry.getKey());
int regionIndex = findRegionIndex(regionArray, entry.getValue());
out.writeShort(aliasIndex);
out.writeShort(regionIndex);
}
@@ -294,6 +294,14 @@ public final class TzdbZoneRulesCompiler {
}
}
private static int findRegionIndex(String[] regionArray, String region) {
int index = Arrays.binarySearch(regionArray, region);
if (index < 0) {
throw new IllegalArgumentException("Unknown region: " + region);
}
return index;
}
/** Whether to output verbose messages. */
private boolean verbose;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -164,7 +164,8 @@ class TzdbZoneRulesProvider {
}
continue;
}
if (line.startsWith("Zone")) { // parse Zone line
int token0len = tokens.length > 0 ? tokens[0].length() : line.length();
if (line.regionMatches(true, 0, "Zone", 0, token0len)) { // parse Zone line
String name = tokens[1];
if (excludedZones.contains(name)){
continue;
@@ -182,13 +183,13 @@ class TzdbZoneRulesProvider {
if (zLine.parse(tokens, 2)) {
openZone = null;
}
} else if (line.startsWith("Rule")) { // parse Rule line
} else if (line.regionMatches(true, 0, "Rule", 0, token0len)) { // parse Rule line
String name = tokens[1];
if (!rules.containsKey(name)) {
rules.put(name, new ArrayList<RuleLine>(10));
}
rules.get(name).add(new RuleLine().parse(tokens));
} else if (line.startsWith("Link")) { // parse link line
} else if (line.regionMatches(true, 0, "Link", 0, token0len)) { // parse link line
if (tokens.length >= 3) {
String realId = tokens[1];
String aliasId = tokens[2];
@@ -304,7 +305,7 @@ class TzdbZoneRulesProvider {
month = parseMonth(tokens[off++]);
if (off < tokens.length) {
String dayRule = tokens[off++];
if (dayRule.startsWith("last")) {
if (dayRule.regionMatches(true, 0, "last", 0, 4)) {
dayOfMonth = -1;
dayOfWeek = parseDayOfWeek(dayRule.substring(4));
adjustForwards = false;
@@ -355,42 +356,45 @@ class TzdbZoneRulesProvider {
}
int parseYear(String year, int defaultYear) {
switch (year.toLowerCase()) {
case "min": return 1900;
case "max": return Year.MAX_VALUE;
case "only": return defaultYear;
}
int len = year.length();
if (year.regionMatches(true, 0, "minimum", 0, len)) return 1900;
if (year.regionMatches(true, 0, "maximum", 0, len)) return Year.MAX_VALUE;
if (year.regionMatches(true, 0, "only", 0, len)) return defaultYear;
return Integer.parseInt(year);
}
Month parseMonth(String mon) {
switch (mon) {
case "Jan": return Month.JANUARY;
case "Feb": return Month.FEBRUARY;
case "Mar": return Month.MARCH;
case "Apr": return Month.APRIL;
case "May": return Month.MAY;
case "Jun": return Month.JUNE;
case "Jul": return Month.JULY;
case "Aug": return Month.AUGUST;
case "Sep": return Month.SEPTEMBER;
case "Oct": return Month.OCTOBER;
case "Nov": return Month.NOVEMBER;
case "Dec": return Month.DECEMBER;
}
int len = mon.length();
if (mon.regionMatches(true, 0, "January", 0, len)) return Month.JANUARY;
if (mon.regionMatches(true, 0, "February", 0, len)) return Month.FEBRUARY;
if (mon.regionMatches(true, 0, "March", 0, len)) return Month.MARCH;
if (mon.regionMatches(true, 0, "April", 0, len)) return Month.APRIL;
if (mon.regionMatches(true, 0, "May", 0, len)) return Month.MAY;
if (mon.regionMatches(true, 0, "June", 0, len)) return Month.JUNE;
if (mon.regionMatches(true, 0, "July", 0, len)) return Month.JULY;
if (mon.regionMatches(true, 0, "August", 0, len)) return Month.AUGUST;
if (mon.regionMatches(true, 0, "September", 0, len)) return Month.SEPTEMBER;
if (mon.regionMatches(true, 0, "October", 0, len)) return Month.OCTOBER;
if (mon.regionMatches(true, 0, "November", 0, len)) return Month.NOVEMBER;
if (mon.regionMatches(true, 0, "December", 0, len)) return Month.DECEMBER;
throw new IllegalArgumentException("Unknown month: " + mon);
}
DayOfWeek parseDayOfWeek(String dow) {
switch (dow) {
case "Mon": return DayOfWeek.MONDAY;
case "Tue": return DayOfWeek.TUESDAY;
case "Wed": return DayOfWeek.WEDNESDAY;
case "Thu": return DayOfWeek.THURSDAY;
case "Fri": return DayOfWeek.FRIDAY;
case "Sat": return DayOfWeek.SATURDAY;
case "Sun": return DayOfWeek.SUNDAY;
}
int len = dow.length();
if (dow.regionMatches(true, 0, "Monday", 0, len)) return DayOfWeek.MONDAY;
if (dow.regionMatches(true, 0, "Tuesday", 0, len)) return DayOfWeek.TUESDAY;
if (dow.regionMatches(true, 0, "Wednesday", 0, len)) return DayOfWeek.WEDNESDAY;
if (dow.regionMatches(true, 0, "Thursday", 0, len)) return DayOfWeek.THURSDAY;
if (dow.regionMatches(true, 0, "Friday", 0, len)) return DayOfWeek.FRIDAY;
if (dow.regionMatches(true, 0, "Saturday", 0, len)) return DayOfWeek.SATURDAY;
if (dow.regionMatches(true, 0, "Sunday", 0, len)) return DayOfWeek.SUNDAY;
throw new IllegalArgumentException("Unknown day-of-week: " + dow);
}

View File

@@ -51,9 +51,9 @@ import javacserver.util.Log;
public class Client {
private static final Log.Level LOG_LEVEL = Log.Level.INFO;
// 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;
// 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;
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", ex);
throw new IOException("Could not connect to server after " + MAX_CONNECT_ATTEMPTS + " attempts with timeout " + CONNECTION_TIMEOUT, ex);
}
}
Thread.sleep(WAIT_BETWEEN_CONNECT_ATTEMPTS);

View File

@@ -78,7 +78,8 @@ ifeq ($(call isTargetOs, macosx aix linux), true)
NAME := jspawnhelper, \
SRC := $(TOPDIR)/src/$(MODULE)/unix/native/jspawnhelper, \
OPTIMIZATION := LOW, \
CFLAGS := $(CFLAGS_JDKEXE) -I$(TOPDIR)/src/$(MODULE)/unix/native/libjava, \
CFLAGS := $(CFLAGS_JDKEXE) $(VERSION_CFLAGS) \
-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

@@ -52,9 +52,7 @@ $(eval $(call SetupTextFileProcessing, BUILD_VERSION_JAVA, \
# Normalize OPENJDK_TARGET_CPU name to match jdk.internal.util.Architecture enum
ifneq ($(filter $(OPENJDK_TARGET_CPU), ppc64le), )
OPENJDK_TARGET_ARCH_CANONICAL = ppc64
else ifneq ($(filter $(OPENJDK_TARGET_CPU), s390x), )
ifneq ($(filter $(OPENJDK_TARGET_CPU), s390x), )
OPENJDK_TARGET_ARCH_CANONICAL = s390
else ifneq ($(filter $(OPENJDK_TARGET_CPU), x86_64 amd64), )
OPENJDK_TARGET_ARCH_CANONICAL = x64

View File

@@ -59,6 +59,7 @@ $(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) \

View File

@@ -237,12 +237,21 @@ ifeq ($(call isTargetOs, windows macosx), false)
DISABLED_WARNINGS_gcc_gtk3_interface.c := parentheses type-limits unused-function, \
DISABLED_WARNINGS_gcc_OGLBufImgOps.c := format-nonliteral, \
DISABLED_WARNINGS_gcc_OGLPaints.c := format-nonliteral, \
DISABLED_WARNINGS_gcc_screencast_pipewire.c := undef, \
DISABLED_WARNINGS_gcc_screencast_portal.c := undef, \
DISABLED_WARNINGS_gcc_sun_awt_X11_GtkFileDialogPeer.c := parentheses, \
DISABLED_WARNINGS_gcc_X11SurfaceData.c := implicit-fallthrough pointer-to-int-cast, \
DISABLED_WARNINGS_gcc_XlibWrapper.c := type-limits pointer-to-int-cast, \
DISABLED_WARNINGS_gcc_XRBackendNative.c := maybe-uninitialized, \
DISABLED_WARNINGS_gcc_XToolkit.c := unused-result, \
DISABLED_WARNINGS_gcc_XWindow.c := unused-function, \
DISABLED_WARNINGS_clang_awt_Taskbar.c := parentheses, \
DISABLED_WARNINGS_clang_gtk2_interface.c := parentheses, \
DISABLED_WARNINGS_clang_gtk3_interface.c := parentheses, \
DISABLED_WARNINGS_clang_OGLBufImgOps.c := format-nonliteral, \
DISABLED_WARNINGS_clang_OGLPaints.c := format-nonliteral, \
DISABLED_WARNINGS_clang_screencast_pipewire.c := format-nonliteral, \
DISABLED_WARNINGS_clang_sun_awt_X11_GtkFileDialogPeer.c := parentheses, \
DISABLED_WARNINGS_clang_aix := deprecated-non-prototype, \
DISABLED_WARNINGS_clang_aix_awt_Taskbar.c := parentheses, \
DISABLED_WARNINGS_clang_aix_OGLPaints.c := format-nonliteral, \
@@ -300,7 +309,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBLCMS, \
common/awt/debug \
libawt/java2d, \
HEADERS_FROM_SRC := $(LIBLCMS_HEADERS_FROM_SRC), \
DISABLED_WARNINGS_gcc := format-nonliteral type-limits stringop-truncation, \
DISABLED_WARNINGS_gcc := format-nonliteral stringop-truncation, \
DISABLED_WARNINGS_clang := format-nonliteral, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
@@ -463,13 +472,25 @@ else
endif
# hb-ft.cc is not presently needed, and requires freetype 2.4.2 or later.
LIBFONTMANAGER_EXCLUDE_FILES += libharfbuzz/hb-ft.cc
# 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
HARFBUZZ_DISABLED_WARNINGS_gcc := missing-field-initializers strict-aliasing \
unused-result array-bounds
unused-result array-bounds parentheses dangling-pointer
# 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+.
HARFBUZZ_DISABLED_WARNINGS_CXX_gcc := class-memaccess noexcept-type expansion-to-defined dangling-reference
# 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_clang := missing-field-initializers range-loop-analysis
HARFBUZZ_DISABLED_WARNINGS_microsoft := 4267 4244
@@ -771,7 +792,7 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
DISABLED_WARNINGS_gcc_dgif_lib.c := sign-compare, \
DISABLED_WARNINGS_gcc_jcmaster.c := implicit-fallthrough, \
DISABLED_WARNINGS_gcc_jdphuff.c := shift-negative-value, \
DISABLED_WARNINGS_gcc_png.c := maybe-uninitialized, \
DISABLED_WARNINGS_gcc_png.c := maybe-uninitialized unused-function, \
DISABLED_WARNINGS_gcc_pngerror.c := maybe-uninitialized, \
DISABLED_WARNINGS_gcc_splashscreen_gfx_impl.c := implicit-fallthrough maybe-uninitialized, \
DISABLED_WARNINGS_gcc_splashscreen_impl.c := implicit-fallthrough sign-compare unused-function, \
@@ -779,6 +800,7 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
DISABLED_WARNINGS_clang := deprecated-non-prototype, \
DISABLED_WARNINGS_clang_dgif_lib.c := sign-compare, \
DISABLED_WARNINGS_clang_gzwrite.c := format-nonliteral, \
DISABLED_WARNINGS_clang_png.c := unused-function, \
DISABLED_WARNINGS_clang_splashscreen_impl.c := sign-compare, \
DISABLED_WARNINGS_clang_splashscreen_png.c := incompatible-pointer-types, \
DISABLED_WARNINGS_clang_splashscreen_sys.m := deprecated-declarations, \

View File

@@ -33,6 +33,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJ2GSS, \
CFLAGS := $(CFLAGS_JDKLIB), \
DISABLED_WARNINGS_gcc := undef, \
DISABLED_WARNINGS_clang_aix := undef, \
DISABLED_WARNINGS_clang := undef, \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \
LIBS := $(LIBDL), \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2022, 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
@@ -61,6 +61,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBSA, \
OPTIMIZATION := HIGH, \
DISABLED_WARNINGS_gcc := sign-compare, \
DISABLED_WARNINGS_gcc_ps_core.c := pointer-arith, \
DISABLED_WARNINGS_clang_ps_core.c := pointer-arith, \
DISABLED_WARNINGS_clang := sign-compare, \
DISABLED_WARNINGS_clang_libproc_impl.c := format-nonliteral, \
DISABLED_WARNINGS_clang_sadis.c := format-nonliteral, \

View File

@@ -58,6 +58,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJDWP, \
DISABLED_WARNINGS_clang_EventRequestImpl.c := self-assign, \
DISABLED_WARNINGS_clang_inStream.c := sometimes-uninitialized, \
DISABLED_WARNINGS_clang_log_messages.c := format-nonliteral, \
DISABLED_WARNINGS_microsoft_debugInit.c := 5287, \
EXTRA_HEADER_DIRS := \
include \
libjdwp/export, \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2018, 2022, 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
@@ -65,6 +65,8 @@ $(eval $(call SetupJdkExecutable, BUILD_JPACKAGE_APPLAUNCHEREXE, \
INCLUDE_FILES := $(JPACKAGE_APPLAUNCHER_INCLUDE_FILES), \
TOOLCHAIN := $(JPACKAGE_APPLAUNCHER_TOOLCHAIN), \
OPTIMIZATION := LOW, \
DISABLED_WARNINGS_clang_LinuxPackage.c := format-nonliteral, \
DISABLED_WARNINGS_clang_JvmLauncherLib.c := format-nonliteral, \
CXXFLAGS := $(call JpackageWithStaticCrt, $(CXXFLAGS_JDKEXE)) \
$(JPACKAGE_APPLAUNCHER_INCLUDES), \
CFLAGS := $(call JpackageWithStaticCrt, $(CFLAGS_JDKEXE)) \
@@ -103,6 +105,8 @@ ifeq ($(call isTargetOs, linux), true)
EXCLUDE_FILES := LinuxLauncher.c LinuxPackage.c, \
TOOLCHAIN := TOOLCHAIN_LINK_CXX, \
OPTIMIZATION := LOW, \
DISABLED_WARNINGS_clang_JvmLauncherLib.c := format-nonliteral, \
DISABLED_WARNINGS_clang_tstrings.cpp := format-nonliteral, \
CXXFLAGS := $(CXXFLAGS_JDKLIB) $(JPACKAGE_LIBAPPLAUNCHER_INCLUDES), \
CFLAGS := $(CFLAGS_JDKLIB) $(JPACKAGE_LIBAPPLAUNCHER_INCLUDES), \
LDFLAGS := $(LDFLAGS_JDKLIB), \

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2022, 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
@@ -44,6 +44,7 @@ endif
$(eval $(call SetupJdkLibrary, BUILD_LIBMANAGEMENT_EXT, \
NAME := management_ext, \
OPTIMIZATION := $(LIBMANAGEMENT_EXT_OPTIMIZATION), \
DISABLED_WARNINGS_clang_UnixOperatingSystem.c := format-nonliteral, \
CFLAGS := $(CFLAGS_JDKLIB) $(LIBMANAGEMENT_EXT_CFLAGS), \
LDFLAGS := $(LDFLAGS_JDKLIB) \
$(call SET_SHARED_LIBRARY_ORIGIN), \

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.pdb
/modules_libs/java.security.jgss/w2k_lsa_auth.map
/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.dll
"
elif [ "$OPENJDK_TARGET_OS" = "macosx" ]; then

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -660,7 +660,7 @@ public class GenerateJfrFiles {
out.write("");
out.write("union JfrNativeSettings {");
out.write(" // Array version.");
out.write(" jfrNativeEventSetting bits[NUMBER_OF_EVENTS];");
out.write(" jfrNativeEventSetting bits[NUMBER_OF_EVENTS + NUMBER_OF_RESERVED_EVENTS];");
out.write(" // Then, to make it easy to debug,");
out.write(" // add named struct members also.");
out.write(" struct {");

View File

@@ -80,6 +80,10 @@ 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

@@ -858,6 +858,7 @@ ifeq ($(call isTargetOs, linux), true)
BUILD_TEST_exeinvoke_exeinvoke.c_OPTIMIZATION := NONE
BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exeFPRegs := -ldl
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libAsyncGetCallTraceTest := -ldl
BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libfast-math := -ffast-math
else
BUILD_HOTSPOT_JTREG_EXCLUDE += libtest-rw.c libtest-rwx.c \
exeinvoke.c exestack-gap.c exestack-tls.c libAsyncGetCallTraceTest.cpp
@@ -867,7 +868,7 @@ 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 libTestPsig.c libnativeStack.c exeGetCreatedJavaVMs.c
BUILD_HOTSPOT_JTREG_EXCLUDE += exesigtest.c libterminatedThread.c libTestJNI.c libCompleteExit.c libMonitorWithDeadObjectTest.c libTestPsig.c libnativeStack.c exeGetCreatedJavaVMs.c libTestUnloadedClass.cpp
BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libatExit := jvm.lib
BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exedaemonDestroy := jvm.lib
else
@@ -1508,8 +1509,12 @@ 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_LIBRARIES_LIBS_libTestUnloadedClass += -lpthread
BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exeGetCreatedJavaVMs := -ljvm -lpthread
BUILD_HOTSPOT_JTREG_EXCLUDE += libNativeException.c exeGetProcessorInfo.c
endif
ifeq ($(ASAN_ENABLED), true)

View File

@@ -1,5 +1,5 @@
#
# Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -53,8 +53,6 @@ BUILD_JDK_JTREG_EXECUTABLES_CFLAGS_exeJliLaunchTest := \
-I$(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_TYPE)/native/libjli \
-I$(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS)/native/libjli
TEST_LIB_NATIVE_SRC := $(TOPDIR)/test/lib/native
# Platform specific setup
ifeq ($(call isTargetOs, windows), true)
BUILD_JDK_JTREG_EXCLUDE += libDirectIO.c libInheritedChannel.c \
@@ -69,14 +67,6 @@ ifeq ($(call isTargetOs, windows), true)
BUILD_JDK_JTREG_EXECUTABLES_LIBS_exeNullCallerTest := $(LIBCXX) jvm.lib
BUILD_JDK_JTREG_EXECUTABLES_LIBS_exerevokeall := advapi32.lib
BUILD_JDK_JTREG_EXECUTABLES_CFLAGS_exeNullCallerTest := /EHsc
# java.lang.foreign tests
BUILD_JDK_JTREG_LIBRARIES_CFLAGS_libAsyncStackWalk := -I$(TEST_LIB_NATIVE_SRC)
BUILD_JDK_JTREG_LIBRARIES_CFLAGS_libLinkerInvokerUnnamed := -I$(TEST_LIB_NATIVE_SRC)
BUILD_JDK_JTREG_LIBRARIES_CFLAGS_libLinkerInvokerModule := -I$(TEST_LIB_NATIVE_SRC)
BUILD_JDK_JTREG_LIBRARIES_CFLAGS_libLoaderLookupInvoker := -I$(TEST_LIB_NATIVE_SRC)
BUILD_JDK_JTREG_LIBRARIES_CFLAGS_libAsyncInvokers := -I$(TEST_LIB_NATIVE_SRC)
BUILD_JDK_JTREG_LIBRARIES_LIBS_libTracePinnedThreads := jvm.lib
BUILD_JDK_JTREG_LIBRARIES_LIBS_libNewDirectByteBuffer := $(WIN_LIB_JAVA)
BUILD_JDK_JTREG_LIBRARIES_LIBS_libGetXSpace := $(WIN_LIB_JAVA)
@@ -88,15 +78,10 @@ else
BUILD_JDK_JTREG_LIBRARIES_LDFLAGS_libNativeThread := -pthread
# java.lang.foreign tests
BUILD_JDK_JTREG_LIBRARIES_CFLAGS_libAsyncStackWalk := -I$(TEST_LIB_NATIVE_SRC)
BUILD_JDK_JTREG_LIBRARIES_LDFLAGS_libAsyncStackWalk := -pthread
BUILD_JDK_JTREG_LIBRARIES_CFLAGS_libAsyncInvokers := -I$(TEST_LIB_NATIVE_SRC)
BUILD_JDK_JTREG_LIBRARIES_LDFLAGS_libAsyncInvokers := -pthread
BUILD_JDK_JTREG_LIBRARIES_CFLAGS_libLinkerInvokerUnnamed := -I$(TEST_LIB_NATIVE_SRC)
BUILD_JDK_JTREG_LIBRARIES_LDFLAGS_libLinkerInvokerUnnamed := -pthread
BUILD_JDK_JTREG_LIBRARIES_CFLAGS_libLinkerInvokerModule := -I$(TEST_LIB_NATIVE_SRC)
BUILD_JDK_JTREG_LIBRARIES_LDFLAGS_libLinkerInvokerModule := -pthread
BUILD_JDK_JTREG_LIBRARIES_CFLAGS_libLoaderLookupInvoker := -I$(TEST_LIB_NATIVE_SRC)
BUILD_JDK_JTREG_LIBRARIES_LDFLAGS_libLoaderLookupInvoker := -pthread
BUILD_JDK_JTREG_LIBRARIES_LIBS_libExplicitAttach := -ljvm
@@ -132,6 +117,8 @@ 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,6 +29,23 @@
# 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
@@ -80,18 +97,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
@@ -120,7 +137,7 @@ $(CLASSES):
mkdirs: $(DIST) $(CLASSES)
$(CLASSES)/j2dbench/%.class: $(SOURCEPATH)/j2dbench/%.java
javac -g:none -source 1.7 -target 1.7 -d $(CLASSES) -sourcepath $(SOURCEPATH) $<
$(JAVAC) -g:none -source $(SOURCE) -target $(TARGET) -d $(CLASSES) -sourcepath $(SOURCEPATH) $<
clean:
rm -rf $(CLASSES)

View File

@@ -23,6 +23,9 @@ 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,6 +39,27 @@
<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/>
@@ -49,13 +70,14 @@
<target name="compile" depends="init"
description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
<javac debug="off" source="1.7" target="1.7" srcdir="${src}" destdir="${build}"/>
<javac debug="off" source="${source}" target="${target}" srcdir="${src}" destdir="${build}" fork="true" executable="${javac}"/>
</target>
<target name="run" depends="dist"
description="run J2DBench" >
<java jar="${dist}/J2DBench.jar"
fork="true"
jvm="${java}"
>
</java>
</target>
@@ -64,6 +86,7 @@
description="run J2DAnalyzer" >
<java jar="${dist}/J2DAnalyzer.jar"
fork="true"
jvm="${java}"
>
</java>
</target>

View File

@@ -1,6 +1,6 @@
//
// Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
// Copyright (c) 2014, 2021, Red Hat, Inc. All rights reserved.
// Copyright (c) 2014, 2024, Red Hat, Inc. 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
@@ -694,6 +694,11 @@ reg_class no_special_ptr_reg %{
return _NO_SPECIAL_PTR_REG_mask;
%}
// Class for all non_special pointer registers (excluding rfp)
reg_class no_special_no_rfp_ptr_reg %{
return _NO_SPECIAL_NO_RFP_PTR_REG_mask;
%}
// Class for all float registers
reg_class float_reg(
V0,
@@ -1125,6 +1130,7 @@ extern RegMask _PTR_REG_mask;
extern RegMask _NO_SPECIAL_REG32_mask;
extern RegMask _NO_SPECIAL_REG_mask;
extern RegMask _NO_SPECIAL_PTR_REG_mask;
extern RegMask _NO_SPECIAL_NO_RFP_PTR_REG_mask;
class CallStubImpl {
@@ -1213,6 +1219,7 @@ source %{
RegMask _NO_SPECIAL_REG32_mask;
RegMask _NO_SPECIAL_REG_mask;
RegMask _NO_SPECIAL_PTR_REG_mask;
RegMask _NO_SPECIAL_NO_RFP_PTR_REG_mask;
void reg_mask_init() {
// We derive below RegMask(s) from the ones which are auto-generated from
@@ -1249,6 +1256,9 @@ source %{
_NO_SPECIAL_REG_mask.Remove(OptoReg::as_OptoReg(r29->as_VMReg()));
_NO_SPECIAL_PTR_REG_mask.Remove(OptoReg::as_OptoReg(r29->as_VMReg()));
}
_NO_SPECIAL_NO_RFP_PTR_REG_mask = _NO_SPECIAL_PTR_REG_mask;
_NO_SPECIAL_NO_RFP_PTR_REG_mask.Remove(OptoReg::as_OptoReg(r29->as_VMReg()));
}
// Optimizaton of volatile gets and puts
@@ -1638,8 +1648,8 @@ int MachCallRuntimeNode::ret_addr_offset() {
// for real runtime callouts it will be six instructions
// see aarch64_enc_java_to_runtime
// adr(rscratch2, retaddr)
// str(rscratch2, Address(rthread, JavaThread::last_Java_pc_offset()));
// lea(rscratch1, RuntimeAddress(addr)
// stp(zr, rscratch2, Address(__ pre(sp, -2 * wordSize)))
// blr(rscratch1)
CodeBlob *cb = CodeCache::find_blob(_entry_point);
if (cb) {
@@ -1721,8 +1731,8 @@ void MachPrologNode::format(PhaseRegAlloc *ra_, outputStream *st) const {
st->print("# stack bang size=%d\n\t", framesize);
if (VM_Version::use_rop_protection()) {
st->print("ldr zr, [lr]\n\t");
st->print("pacia lr, rfp\n\t");
st->print("ldr zr, [lr]\n\t");
st->print("paciaz\n\t");
}
if (framesize < ((1 << 9) + 2 * wordSize)) {
st->print("sub sp, sp, #%d\n\t", framesize);
@@ -1851,8 +1861,8 @@ void MachEpilogNode::format(PhaseRegAlloc *ra_, outputStream *st) const {
st->print("ldp lr, rfp, [sp],#%d\n\t", (2 * wordSize));
}
if (VM_Version::use_rop_protection()) {
st->print("autia lr, rfp\n\t");
st->print("ldr zr, [lr]\n\t");
st->print("autiaz\n\t");
st->print("ldr zr, [lr]\n\t");
}
if (do_polling() && C->is_method_compilation()) {
@@ -2729,10 +2739,6 @@ typedef void (MacroAssembler::* mem_vector_insn)(FloatRegister Rt,
{
Address addr = mem2address(opcode, base, index, scale, disp);
if (addr.getMode() == Address::base_plus_offset) {
/* If we get an out-of-range offset it is a bug in the compiler,
so we assert here. */
assert(Address::offset_ok_for_immed(addr.offset(), exact_log2(size_in_memory)),
"c2 compiler bug");
/* Fix up any out-of-range offsets. */
assert_different_registers(rscratch1, base);
assert_different_registers(rscratch1, reg);
@@ -3764,14 +3770,13 @@ encode %{
__ post_call_nop();
} else {
Label retaddr;
// Make the anchor frame walkable
__ adr(rscratch2, retaddr);
__ str(rscratch2, Address(rthread, JavaThread::last_Java_pc_offset()));
__ lea(rscratch1, RuntimeAddress(entry));
// Leave a breadcrumb for JavaFrameAnchor::capture_last_Java_pc()
__ stp(zr, rscratch2, Address(__ pre(sp, -2 * wordSize)));
__ blr(rscratch1);
__ bind(retaddr);
__ post_call_nop();
__ add(sp, sp, 2 * wordSize);
}
if (Compile::current()->max_vector_size() > 0) {
__ reinitialize_ptrue();
@@ -3809,202 +3814,6 @@ encode %{
__ br(target_reg);
%}
enc_class aarch64_enc_fast_lock(iRegP object, iRegP box, iRegP tmp, iRegP tmp2) %{
C2_MacroAssembler _masm(&cbuf);
Register oop = as_Register($object$$reg);
Register box = as_Register($box$$reg);
Register disp_hdr = as_Register($tmp$$reg);
Register tmp = as_Register($tmp2$$reg);
Label cont;
Label object_has_monitor;
Label count, no_count;
assert_different_registers(oop, box, tmp, disp_hdr);
// Load markWord from object into displaced_header.
__ ldr(disp_hdr, Address(oop, oopDesc::mark_offset_in_bytes()));
if (DiagnoseSyncOnValueBasedClasses != 0) {
__ load_klass(tmp, oop);
__ ldrw(tmp, Address(tmp, Klass::access_flags_offset()));
__ tstw(tmp, JVM_ACC_IS_VALUE_BASED_CLASS);
__ br(Assembler::NE, cont);
}
// Check for existing monitor
__ tbnz(disp_hdr, exact_log2(markWord::monitor_value), object_has_monitor);
if (LockingMode == LM_MONITOR) {
__ tst(oop, oop); // Set NE to indicate 'failure' -> take slow-path. We know that oop != 0.
__ b(cont);
} else if (LockingMode == LM_LEGACY) {
// Set tmp to be (markWord of object | UNLOCK_VALUE).
__ orr(tmp, disp_hdr, markWord::unlocked_value);
// Initialize the box. (Must happen before we update the object mark!)
__ str(tmp, Address(box, BasicLock::displaced_header_offset_in_bytes()));
// Compare object markWord with an unlocked value (tmp) and if
// equal exchange the stack address of our box with object markWord.
// On failure disp_hdr contains the possibly locked markWord.
__ cmpxchg(oop, tmp, box, Assembler::xword, /*acquire*/ true,
/*release*/ true, /*weak*/ false, disp_hdr);
__ br(Assembler::EQ, cont);
assert(oopDesc::mark_offset_in_bytes() == 0, "offset of _mark is not 0");
// If the compare-and-exchange succeeded, then we found an unlocked
// object, will have now locked it will continue at label cont
// Check if the owner is self by comparing the value in the
// markWord of object (disp_hdr) with the stack pointer.
__ mov(rscratch1, sp);
__ sub(disp_hdr, disp_hdr, rscratch1);
__ mov(tmp, (address) (~(os::vm_page_size()-1) | markWord::lock_mask_in_place));
// If condition is true we are cont and hence we can store 0 as the
// displaced header in the box, which indicates that it is a recursive lock.
__ ands(tmp/*==0?*/, disp_hdr, tmp); // Sets flags for result
__ str(tmp/*==0, perhaps*/, Address(box, BasicLock::displaced_header_offset_in_bytes()));
__ b(cont);
} else {
assert(LockingMode == LM_LIGHTWEIGHT, "must be");
__ fast_lock(oop, disp_hdr, tmp, rscratch1, no_count);
__ b(count);
}
// Handle existing monitor.
__ bind(object_has_monitor);
// The object's monitor m is unlocked iff m->owner == NULL,
// otherwise m->owner may contain a thread or a stack address.
//
// Try to CAS m->owner from NULL to current thread.
__ add(tmp, disp_hdr, (in_bytes(ObjectMonitor::owner_offset())-markWord::monitor_value));
__ cmpxchg(tmp, zr, rthread, Assembler::xword, /*acquire*/ true,
/*release*/ true, /*weak*/ false, rscratch1); // Sets flags for result
if (LockingMode != LM_LIGHTWEIGHT) {
// Store a non-null value into the box to avoid looking like a re-entrant
// lock. The fast-path monitor unlock code checks for
// markWord::monitor_value so use markWord::unused_mark which has the
// relevant bit set, and also matches ObjectSynchronizer::enter.
__ mov(tmp, (address)markWord::unused_mark().value());
__ str(tmp, Address(box, BasicLock::displaced_header_offset_in_bytes()));
}
__ br(Assembler::EQ, cont); // CAS success means locking succeeded
__ cmp(rscratch1, rthread);
__ br(Assembler::NE, cont); // Check for recursive locking
// Recursive lock case
__ increment(Address(disp_hdr, in_bytes(ObjectMonitor::recursions_offset()) - markWord::monitor_value), 1);
// flag == EQ still from the cmp above, checking if this is a reentrant lock
__ bind(cont);
// flag == EQ indicates success
// flag == NE indicates failure
__ br(Assembler::NE, no_count);
__ bind(count);
__ increment(Address(rthread, JavaThread::held_monitor_count_offset()));
__ bind(no_count);
%}
enc_class aarch64_enc_fast_unlock(iRegP object, iRegP box, iRegP tmp, iRegP tmp2) %{
C2_MacroAssembler _masm(&cbuf);
Register oop = as_Register($object$$reg);
Register box = as_Register($box$$reg);
Register disp_hdr = as_Register($tmp$$reg);
Register tmp = as_Register($tmp2$$reg);
Label cont;
Label object_has_monitor;
Label count, no_count;
assert_different_registers(oop, box, tmp, disp_hdr);
if (LockingMode == LM_LEGACY) {
// Find the lock address and load the displaced header from the stack.
__ ldr(disp_hdr, Address(box, BasicLock::displaced_header_offset_in_bytes()));
// If the displaced header is 0, we have a recursive unlock.
__ cmp(disp_hdr, zr);
__ br(Assembler::EQ, cont);
}
// Handle existing monitor.
__ ldr(tmp, Address(oop, oopDesc::mark_offset_in_bytes()));
__ tbnz(tmp, exact_log2(markWord::monitor_value), object_has_monitor);
if (LockingMode == LM_MONITOR) {
__ tst(oop, oop); // Set NE to indicate 'failure' -> take slow-path. We know that oop != 0.
__ b(cont);
} else if (LockingMode == LM_LEGACY) {
// Check if it is still a light weight lock, this is is true if we
// see the stack address of the basicLock in the markWord of the
// object.
__ cmpxchg(oop, box, disp_hdr, Assembler::xword, /*acquire*/ false,
/*release*/ true, /*weak*/ false, tmp);
__ b(cont);
} else {
assert(LockingMode == LM_LIGHTWEIGHT, "must be");
__ fast_unlock(oop, tmp, box, disp_hdr, no_count);
__ b(count);
}
assert(oopDesc::mark_offset_in_bytes() == 0, "offset of _mark is not 0");
// Handle existing monitor.
__ bind(object_has_monitor);
STATIC_ASSERT(markWord::monitor_value <= INT_MAX);
__ add(tmp, tmp, -(int)markWord::monitor_value); // monitor
if (LockingMode == LM_LIGHTWEIGHT) {
// If the owner is anonymous, we need to fix it -- in an outline stub.
Register tmp2 = disp_hdr;
__ ldr(tmp2, Address(tmp, ObjectMonitor::owner_offset()));
// We cannot use tbnz here, the target might be too far away and cannot
// be encoded.
__ tst(tmp2, (uint64_t)ObjectMonitor::ANONYMOUS_OWNER);
C2HandleAnonOMOwnerStub* stub = new (Compile::current()->comp_arena()) C2HandleAnonOMOwnerStub(tmp, tmp2);
Compile::current()->output()->add_stub(stub);
__ br(Assembler::NE, stub->entry());
__ bind(stub->continuation());
}
__ ldr(disp_hdr, Address(tmp, ObjectMonitor::recursions_offset()));
Label notRecursive;
__ cbz(disp_hdr, notRecursive);
// Recursive lock
__ sub(disp_hdr, disp_hdr, 1u);
__ str(disp_hdr, Address(tmp, ObjectMonitor::recursions_offset()));
__ cmp(disp_hdr, disp_hdr); // Sets flags for result
__ b(cont);
__ bind(notRecursive);
__ ldr(rscratch1, Address(tmp, ObjectMonitor::EntryList_offset()));
__ ldr(disp_hdr, Address(tmp, ObjectMonitor::cxq_offset()));
__ orr(rscratch1, rscratch1, disp_hdr); // Will be 0 if both are 0.
__ cmp(rscratch1, zr); // Sets flags for result
__ cbnz(rscratch1, cont);
// need a release store here
__ lea(tmp, Address(tmp, ObjectMonitor::owner_offset()));
__ stlr(zr, tmp); // set unowned
__ bind(cont);
// flag == EQ indicates success
// flag == NE indicates failure
__ br(Assembler::NE, no_count);
__ bind(count);
__ decrement(Address(rthread, JavaThread::held_monitor_count_offset()));
__ bind(no_count);
%}
%}
//----------FRAME--------------------------------------------------------------
@@ -5081,6 +4890,18 @@ operand iRegPNoSp()
interface(REG_INTER);
%}
// This operand is not allowed to use rfp even if
// rfp is not used to hold the frame pointer.
operand iRegPNoSpNoRfp()
%{
constraint(ALLOC_IN_RC(no_special_no_rfp_ptr_reg));
match(RegP);
match(iRegPNoSp);
op_cost(0);
format %{ %}
interface(REG_INTER);
%}
// Pointer 64 bit Register R0 only
operand iRegP_R0()
%{
@@ -16609,17 +16430,19 @@ instruct branchLoopEnd(cmpOp cmp, rFlagsReg cr, label lbl)
// ============================================================================
// inlined locking and unlocking
instruct cmpFastLock(rFlagsReg cr, iRegP object, iRegP box, iRegPNoSp tmp, iRegPNoSp tmp2)
instruct cmpFastLock(rFlagsReg cr, iRegP object, iRegP box, iRegPNoSp tmp, iRegPNoSp tmp2, iRegPNoSp tmp3)
%{
match(Set cr (FastLock object box));
effect(TEMP tmp, TEMP tmp2);
effect(TEMP tmp, TEMP tmp2, TEMP tmp3);
// TODO
// identify correct cost
ins_cost(5 * INSN_COST);
format %{ "fastlock $object,$box\t! kills $tmp,$tmp2" %}
ins_encode(aarch64_enc_fast_lock(object, box, tmp, tmp2));
ins_encode %{
__ fast_lock($object$$Register, $box$$Register, $tmp$$Register, $tmp2$$Register, $tmp3$$Register);
%}
ins_pipe(pipe_serial);
%}
@@ -16632,7 +16455,9 @@ instruct cmpFastUnlock(rFlagsReg cr, iRegP object, iRegP box, iRegPNoSp tmp, iRe
ins_cost(5 * INSN_COST);
format %{ "fastunlock $object,$box\t! kills $tmp, $tmp2" %}
ins_encode(aarch64_enc_fast_unlock(object, box, tmp, tmp2));
ins_encode %{
__ fast_unlock($object$$Register, $box$$Register, $tmp$$Register, $tmp2$$Register);
%}
ins_pipe(pipe_serial);
%}
@@ -16754,7 +16579,9 @@ instruct CallLeafNoFPDirect(method meth)
// Also known as an 'interprocedural jump'.
// Target of jump will eventually return to caller.
// TailJump below removes the return address.
instruct TailCalljmpInd(iRegPNoSp jump_target, inline_cache_RegP method_ptr)
// Don't use rfp for 'jump_target' because a MachEpilogNode has already been
// emitted just above the TailCall which has reset rfp to the caller state.
instruct TailCalljmpInd(iRegPNoSpNoRfp jump_target, inline_cache_RegP method_ptr)
%{
match(TailCall jump_target method_ptr);
@@ -16767,7 +16594,7 @@ instruct TailCalljmpInd(iRegPNoSp jump_target, inline_cache_RegP method_ptr)
ins_pipe(pipe_class_call);
%}
instruct TailjmpInd(iRegPNoSp jump_target, iRegP_R0 ex_oop)
instruct TailjmpInd(iRegPNoSpNoRfp jump_target, iRegP_R0 ex_oop)
%{
match(TailJump jump_target ex_oop);
@@ -16864,6 +16691,39 @@ instruct partialSubtypeCheck(iRegP_R4 sub, iRegP_R0 super, iRegP_R2 temp, iRegP_
ins_pipe(pipe_class_memory);
%}
instruct partialSubtypeCheckConstSuper(iRegP_R4 sub, iRegP_R0 super_reg, immP super_con, vRegD_V0 vtemp, iRegP_R5 result,
iRegP_R1 tempR1, iRegP_R2 tempR2, iRegP_R3 tempR3,
rFlagsReg cr)
%{
match(Set result (PartialSubtypeCheck sub (Binary super_reg super_con)));
predicate(UseSecondarySupersTable);
effect(KILL cr, TEMP tempR1, TEMP tempR2, TEMP tempR3, TEMP vtemp);
ins_cost(700); // smaller than the next version
format %{ "partialSubtypeCheck $result, $sub, super" %}
ins_encode %{
bool success = false;
u1 super_klass_slot = ((Klass*)$super_con$$constant)->hash_slot();
if (InlineSecondarySupersTest) {
success = __ lookup_secondary_supers_table($sub$$Register, $super_reg$$Register,
$tempR1$$Register, $tempR2$$Register, $tempR3$$Register,
$vtemp$$FloatRegister,
$result$$Register,
super_klass_slot);
} else {
address call = __ trampoline_call(RuntimeAddress(StubRoutines::lookup_secondary_supers_table_stub(super_klass_slot)));
success = (call != nullptr);
}
if (!success) {
ciEnv::current()->record_failure("CodeCache is full");
return;
}
%}
ins_pipe(pipe_class_memory);
%}
instruct partialSubtypeCheckVsZero(iRegP_R4 sub, iRegP_R0 super, iRegP_R2 temp, iRegP_R5 result, immP0 zero, rFlagsReg cr)
%{
match(Set cr (CmpP (PartialSubtypeCheck sub super) zero));
@@ -17342,6 +17202,32 @@ instruct array_equalsC(iRegP_R1 ary1, iRegP_R2 ary2, iRegI_R0 result,
ins_pipe(pipe_class_memory);
%}
instruct arrays_hashcode(iRegP_R1 ary, iRegI_R2 cnt, iRegI_R0 result, immI basic_type,
vRegD_V0 vtmp0, vRegD_V1 vtmp1, vRegD_V2 vtmp2, vRegD_V3 vtmp3,
vRegD_V4 vtmp4, vRegD_V5 vtmp5, vRegD_V6 vtmp6, vRegD_V7 vtmp7,
vRegD_V12 vtmp8, vRegD_V13 vtmp9, rFlagsReg cr)
%{
match(Set result (VectorizedHashCode (Binary ary cnt) (Binary result basic_type)));
effect(TEMP vtmp0, TEMP vtmp1, TEMP vtmp2, TEMP vtmp3, TEMP vtmp4, TEMP vtmp5, TEMP vtmp6,
TEMP vtmp7, TEMP vtmp8, TEMP vtmp9, USE_KILL ary, USE_KILL cnt, USE basic_type, KILL cr);
format %{ "Array HashCode array[] $ary,$cnt,$result,$basic_type -> $result // KILL all" %}
ins_encode %{
address tpc = __ arrays_hashcode($ary$$Register, $cnt$$Register, $result$$Register,
$vtmp3$$FloatRegister, $vtmp2$$FloatRegister,
$vtmp1$$FloatRegister, $vtmp0$$FloatRegister,
$vtmp4$$FloatRegister, $vtmp5$$FloatRegister,
$vtmp6$$FloatRegister, $vtmp7$$FloatRegister,
$vtmp8$$FloatRegister, $vtmp9$$FloatRegister,
(BasicType)$basic_type$$constant);
if (tpc == nullptr) {
ciEnv::current()->record_failure("CodeCache is full");
return;
}
%}
ins_pipe(pipe_class_memory);
%}
instruct count_positives(iRegP_R1 ary1, iRegI_R2 len, iRegI_R0 result, rFlagsReg cr)
%{
match(Set result (CountPositives ary1 len));

View File

@@ -315,10 +315,6 @@ source %{
}
}
const bool Matcher::vector_needs_load_shuffle(BasicType elem_bt, int vlen) {
return false;
}
// Assert that the given node is not a variable shift.
bool assert_not_var_shift(const Node* n) {
assert(!n->as_ShiftV()->is_var_shift(), "illegal variable shift");
@@ -6162,6 +6158,41 @@ instruct vtest_alltrue_sve(rFlagsReg cr, pReg src1, pReg src2, pReg ptmp) %{
ins_pipe(pipe_slow);
%}
// ------------------------------ Vector shuffle -------------------------------
instruct loadshuffle(vReg dst, vReg src) %{
match(Set dst (VectorLoadShuffle src));
format %{ "loadshuffle $dst, $src" %}
ins_encode %{
BasicType bt = Matcher::vector_element_basic_type(this);
uint length_in_bytes = Matcher::vector_length_in_bytes(this);
if (bt == T_BYTE) {
if ($dst$$FloatRegister != $src$$FloatRegister) {
if (VM_Version::use_neon_for_vector(length_in_bytes)) {
__ orr($dst$$FloatRegister, length_in_bytes == 16 ? __ T16B : __ T8B,
$src$$FloatRegister, $src$$FloatRegister);
} else {
assert(UseSVE > 0, "must be sve");
__ sve_orr($dst$$FloatRegister, $src$$FloatRegister, $src$$FloatRegister);
}
}
} else {
if (VM_Version::use_neon_for_vector(length_in_bytes)) {
// 4S/8S, 4I, 4F
__ uxtl($dst$$FloatRegister, __ T8H, $src$$FloatRegister, __ T8B);
if (type2aelembytes(bt) == 4) {
__ uxtl($dst$$FloatRegister, __ T4S, $dst$$FloatRegister, __ T4H);
}
} else {
assert(UseSVE > 0, "must be sve");
__ sve_vector_extend($dst$$FloatRegister, __ elemType_to_regVariant(bt),
$src$$FloatRegister, __ B);
}
}
%}
ins_pipe(pipe_slow);
%}
// ------------------------------ Vector rearrange -----------------------------
// Here is an example that rearranges a NEON vector with 4 ints:
@@ -6184,7 +6215,6 @@ instruct vtest_alltrue_sve(rFlagsReg cr, pReg src1, pReg src2, pReg ptmp) %{
// need to lookup 2/4 bytes as a group. For VectorRearrange long, we use bsl
// to implement rearrange.
// Maybe move the shuffle preparation to VectorLoadShuffle
instruct rearrange_HS_neon(vReg dst, vReg src, vReg shuffle, vReg tmp1, vReg tmp2) %{
predicate(UseSVE == 0 &&
(Matcher::vector_element_basic_type(n) == T_SHORT ||

View File

@@ -305,10 +305,6 @@ source %{
}
}
const bool Matcher::vector_needs_load_shuffle(BasicType elem_bt, int vlen) {
return false;
}
// Assert that the given node is not a variable shift.
bool assert_not_var_shift(const Node* n) {
assert(!n->as_ShiftV()->is_var_shift(), "illegal variable shift");
@@ -4428,6 +4424,41 @@ instruct vtest_alltrue_sve(rFlagsReg cr, pReg src1, pReg src2, pReg ptmp) %{
ins_pipe(pipe_slow);
%}
// ------------------------------ Vector shuffle -------------------------------
instruct loadshuffle(vReg dst, vReg src) %{
match(Set dst (VectorLoadShuffle src));
format %{ "loadshuffle $dst, $src" %}
ins_encode %{
BasicType bt = Matcher::vector_element_basic_type(this);
uint length_in_bytes = Matcher::vector_length_in_bytes(this);
if (bt == T_BYTE) {
if ($dst$$FloatRegister != $src$$FloatRegister) {
if (VM_Version::use_neon_for_vector(length_in_bytes)) {
__ orr($dst$$FloatRegister, length_in_bytes == 16 ? __ T16B : __ T8B,
$src$$FloatRegister, $src$$FloatRegister);
} else {
assert(UseSVE > 0, "must be sve");
__ sve_orr($dst$$FloatRegister, $src$$FloatRegister, $src$$FloatRegister);
}
}
} else {
if (VM_Version::use_neon_for_vector(length_in_bytes)) {
// 4S/8S, 4I, 4F
__ uxtl($dst$$FloatRegister, __ T8H, $src$$FloatRegister, __ T8B);
if (type2aelembytes(bt) == 4) {
__ uxtl($dst$$FloatRegister, __ T4S, $dst$$FloatRegister, __ T4H);
}
} else {
assert(UseSVE > 0, "must be sve");
__ sve_vector_extend($dst$$FloatRegister, __ elemType_to_regVariant(bt),
$src$$FloatRegister, __ B);
}
}
%}
ins_pipe(pipe_slow);
%}
// ------------------------------ Vector rearrange -----------------------------
// Here is an example that rearranges a NEON vector with 4 ints:
@@ -4450,7 +4481,6 @@ instruct vtest_alltrue_sve(rFlagsReg cr, pReg src1, pReg src2, pReg ptmp) %{
// need to lookup 2/4 bytes as a group. For VectorRearrange long, we use bsl
// to implement rearrange.
// Maybe move the shuffle preparation to VectorLoadShuffle
instruct rearrange_HS_neon(vReg dst, vReg src, vReg shuffle, vReg tmp1, vReg tmp2) %{
predicate(UseSVE == 0 &&
(Matcher::vector_element_basic_type(n) == T_SHORT ||

View File

@@ -150,7 +150,8 @@ void AbstractInterpreter::layout_activation(Method* method,
#ifdef ASSERT
if (caller->is_interpreted_frame()) {
assert(locals < caller->fp() + frame::interpreter_frame_initial_sp_offset, "bad placement");
assert(locals <= caller->interpreter_frame_expression_stack(), "bad placement");
assert(locals >= interpreter_frame->sender_sp() + max_locals - 1, "bad placement");
}
#endif

View File

@@ -187,6 +187,26 @@ void Address::lea(MacroAssembler *as, Register r) const {
zrf(Rd, 0);
}
// This encoding is similar (but not quite identical) to the encoding used
// by literal ld/st. see JDK-8324123.
// PRFM does not support writeback or pre/post index.
void Assembler::prfm(const Address &adr, prfop pfop) {
Address::mode mode = adr.getMode();
// PRFM does not support pre/post index
guarantee((mode != Address::pre) && (mode != Address::post), "prfm does not support pre/post indexing");
if (mode == Address::literal) {
starti;
f(0b11, 31, 30), f(0b011, 29, 27), f(0b000, 26, 24);
f(pfop, 4, 0);
int64_t offset = (adr.target() - pc()) >> 2;
sf(offset, 23, 5);
} else {
assert((mode == Address::base_plus_offset)
|| (mode == Address::base_plus_offset_reg), "must be base_plus_offset/base_plus_offset_reg");
ld_st2(as_Register(pfop), adr, 0b11, 0b10);
}
}
// An "all-purpose" add/subtract immediate, per ARM documentation:
// A "programmer-friendly" assembler may accept a negative immediate
// between -(2^24 -1) and -1 inclusive, causing it to convert a

View File

@@ -1,6 +1,6 @@
/*
* Copyright (c) 1997, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2021, Red Hat Inc. All rights reserved.
* Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2024, Red Hat Inc. 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
@@ -286,6 +286,11 @@ public:
f(r->raw_encoding(), lsb + 4, lsb);
}
//<0-15>reg: As `rf(FloatRegister)`, but only the lower 16 FloatRegisters are allowed.
void lrf(FloatRegister r, int lsb) {
f(r->raw_encoding(), lsb + 3, lsb);
}
void prf(PRegister r, int lsb) {
f(r->raw_encoding(), lsb + 3, lsb);
}
@@ -573,7 +578,7 @@ class Address {
if (size == 0) // It's a byte
i->f(ext().shift() >= 0, 12);
else {
assert(ext().shift() <= 0 || ext().shift() == (int)size, "bad shift");
guarantee(ext().shift() <= 0 || ext().shift() == (int)size, "bad shift");
i->f(ext().shift() > 0, 12);
}
i->f(0b10, 11, 10);
@@ -763,6 +768,7 @@ public:
#define f current_insn.f
#define sf current_insn.sf
#define rf current_insn.rf
#define lrf current_insn.lrf
#define srf current_insn.srf
#define zrf current_insn.zrf
#define prf current_insn.prf
@@ -795,6 +801,8 @@ public:
void adrp(Register Rd, const Address &dest, uint64_t &offset) = delete;
void prfm(const Address &adr, prfop pfop = PLDL1KEEP);
#undef INSN
void add_sub_immediate(Instruction_aarch64 &current_insn, Register Rd, Register Rn,
@@ -1086,8 +1094,8 @@ public:
#undef INSN
// we only provide mrs and msr for the special purpose system
// registers where op1 (instr[20:19]) == 11 and, (currently) only
// use it for FPSR n.b msr has L (instr[21]) == 0 mrs has L == 1
// registers where op1 (instr[20:19]) == 11
// n.b msr has L (instr[21]) == 0 mrs has L == 1
void msr(int op1, int CRn, int CRm, int op2, Register rt) {
starti;
@@ -1572,17 +1580,6 @@ public:
#undef INSN
#define INSN(NAME, size, op) \
void NAME(const Address &adr, prfop pfop = PLDL1KEEP) { \
ld_st2(as_Register(pfop), adr, size, op); \
}
INSN(prfm, 0b11, 0b10); // FIXME: PRFM should not be used with
// writeback modes, but the assembler
// doesn't enfore that.
#undef INSN
#define INSN(NAME, size, op) \
void NAME(FloatRegister Rt, const Address &adr) { \
ld_st2(as_Register(Rt), adr, size, op, 1); \
@@ -1597,6 +1594,16 @@ public:
#undef INSN
// Load/store a register, but with a BasicType parameter. Loaded signed integer values are
// extended to 64 bits.
void load(Register Rt, const Address &adr, BasicType bt) {
int op = (is_signed_subword_type(bt) || bt == T_INT) ? 0b10 : 0b01;
ld_st2(Rt, adr, exact_log2(type2aelembytes(bt)), op);
}
void store(Register Rt, const Address &adr, BasicType bt) {
ld_st2(Rt, adr, exact_log2(type2aelembytes(bt)), 0b00);
}
/* SIMD extensions
*
* We just use FloatRegister in the following. They are exactly the same
@@ -2615,6 +2622,7 @@ template<typename R, typename... Rx>
INSN(addpv, 0, 0b101111, true); // accepted arrangements: T8B, T16B, T4H, T8H, T2S, T4S, T2D
INSN(smullv, 0, 0b110000, false); // accepted arrangements: T8B, T16B, T4H, T8H, T2S, T4S
INSN(umullv, 1, 0b110000, false); // accepted arrangements: T8B, T16B, T4H, T8H, T2S, T4S
INSN(smlalv, 0, 0b100000, false); // accepted arrangements: T8B, T16B, T4H, T8H, T2S, T4S
INSN(umlalv, 1, 0b100000, false); // accepted arrangements: T8B, T16B, T4H, T8H, T2S, T4S
INSN(maxv, 0, 0b011001, false); // accepted arrangements: T8B, T16B, T4H, T8H, T2S, T4S
INSN(minv, 0, 0b011011, false); // accepted arrangements: T8B, T16B, T4H, T8H, T2S, T4S
@@ -2623,6 +2631,7 @@ template<typename R, typename... Rx>
#undef INSN
// Advanced SIMD across lanes
#define INSN(NAME, opc, opc2, accepted) \
void NAME(FloatRegister Vd, SIMD_Arrangement T, FloatRegister Vn) { \
guarantee(T != T1Q && T != T1D, "incorrect arrangement"); \
@@ -2887,6 +2896,28 @@ template<typename R, typename... Rx>
// FMULX - Vector - Scalar
INSN(fmulxvs, 1, 0b1001);
#undef INSN
#define INSN(NAME, op1, op2) \
void NAME(FloatRegister Vd, SIMD_Arrangement T, FloatRegister Vn, FloatRegister Vm, int index) { \
starti; \
assert(T == T4H || T == T8H || T == T2S || T == T4S, "invalid arrangement"); \
assert(index >= 0 && \
((T == T2S && index <= 1) || (T != T2S && index <= 3) || (T == T8H && index <= 7)), \
"invalid index"); \
assert((T != T4H && T != T8H) || Vm->encoding() < 16, "invalid source SIMD&FP register"); \
f(0, 31), f((int)T & 1, 30), f(op1, 29), f(0b01111, 28, 24); \
if (T == T4H || T == T8H) { \
f(0b01, 23, 22), f(index & 0b11, 21, 20), lrf(Vm, 16), f(index >> 2 & 1, 11); \
} else { \
f(0b10, 23, 22), f(index & 1, 21), rf(Vm, 16), f(index >> 1, 11); \
} \
f(op2, 15, 12), f(0, 10), rf(Vn, 5), rf(Vd, 0); \
}
// MUL - Vector - Scalar
INSN(mulvs, 0, 0b1000);
#undef INSN
// Floating-point Reciprocal Estimate
@@ -3050,6 +3081,33 @@ public:
umov(Xd, Vn, T, index);
}
protected:
void _xaddwv(bool is_unsigned, FloatRegister Vd, FloatRegister Vn, SIMD_Arrangement Ta,
FloatRegister Vm, SIMD_Arrangement Tb) {
starti;
assert((Tb >> 1) + 1 == (Ta >> 1), "Incompatible arrangement");
f(0, 31), f((int)Tb & 1, 30), f(is_unsigned ? 1 : 0, 29), f(0b01110, 28, 24);
f((int)(Ta >> 1) - 1, 23, 22), f(1, 21), rf(Vm, 16), f(0b000100, 15, 10), rf(Vn, 5), rf(Vd, 0);
}
public:
#define INSN(NAME, assertion, is_unsigned) \
void NAME(FloatRegister Vd, FloatRegister Vn, SIMD_Arrangement Ta, FloatRegister Vm, \
SIMD_Arrangement Tb) { \
assert((assertion), "invalid arrangement"); \
_xaddwv(is_unsigned, Vd, Vn, Ta, Vm, Tb); \
}
public:
INSN(uaddwv, Tb == T8B || Tb == T4H || Tb == T2S, /*is_unsigned*/true)
INSN(uaddwv2, Tb == T16B || Tb == T8H || Tb == T4S, /*is_unsigned*/true)
INSN(saddwv, Tb == T8B || Tb == T4H || Tb == T2S, /*is_unsigned*/false)
INSN(saddwv2, Tb == T16B || Tb == T8H || Tb == T4S, /*is_unsigned*/false)
#undef INSN
private:
void _pmull(FloatRegister Vd, SIMD_Arrangement Ta, FloatRegister Vn, FloatRegister Vm, SIMD_Arrangement Tb) {
starti;

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2020, Red Hat Inc. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
@@ -276,13 +276,14 @@ void LIR_Assembler::osr_entry() {
// verify the interpreter's monitor has a non-null object
{
Label L;
__ ldr(rscratch1, Address(OSR_buf, slot_offset + 1*BytesPerWord));
__ ldr(rscratch1, __ form_address(rscratch1, OSR_buf, slot_offset + 1*BytesPerWord, 0));
__ cbnz(rscratch1, L);
__ stop("locked object is null");
__ bind(L);
}
#endif
__ ldp(r19, r20, Address(OSR_buf, slot_offset));
__ ldr(r19, __ form_address(rscratch1, OSR_buf, slot_offset, 0));
__ ldr(r20, __ form_address(rscratch1, OSR_buf, slot_offset + BytesPerWord, 0));
__ str(r19, frame_map()->address_for_monitor_lock(i));
__ str(r20, frame_map()->address_for_monitor_object(i));
}
@@ -434,7 +435,7 @@ int LIR_Assembler::emit_unwind_handler() {
if (LockingMode == LM_MONITOR) {
__ b(*stub->entry());
} else {
__ unlock_object(r5, r4, r0, *stub->entry());
__ unlock_object(r5, r4, r0, r6, *stub->entry());
}
__ bind(*stub->continuation());
}
@@ -2558,6 +2559,7 @@ void LIR_Assembler::emit_lock(LIR_OpLock* op) {
Register obj = op->obj_opr()->as_register(); // may not be an oop
Register hdr = op->hdr_opr()->as_register();
Register lock = op->lock_opr()->as_register();
Register temp = op->scratch_opr()->as_register();
if (LockingMode == LM_MONITOR) {
if (op->info() != nullptr) {
add_debug_info_for_null_check_here(op->info());
@@ -2567,14 +2569,14 @@ void LIR_Assembler::emit_lock(LIR_OpLock* op) {
} else if (op->code() == lir_lock) {
assert(BasicLock::displaced_header_offset_in_bytes() == 0, "lock_reg must point to the displaced header");
// add debug info for NullPointerException only if one is possible
int null_check_offset = __ lock_object(hdr, obj, lock, *op->stub()->entry());
int null_check_offset = __ lock_object(hdr, obj, lock, temp, *op->stub()->entry());
if (op->info() != nullptr) {
add_debug_info_for_null_check(null_check_offset, op->info());
}
// done
} else if (op->code() == lir_unlock) {
assert(BasicLock::displaced_header_offset_in_bytes() == 0, "lock_reg must point to the displaced header");
__ unlock_object(hdr, obj, lock, *op->stub()->entry());
__ unlock_object(hdr, obj, lock, temp, *op->stub()->entry());
} else {
Unimplemented();
}
@@ -2722,7 +2724,10 @@ void LIR_Assembler::emit_profile_type(LIR_OpProfileType* op) {
__ verify_oop(obj);
if (tmp != obj) {
assert_different_registers(obj, tmp, rscratch1, rscratch2, mdo_addr.base(), mdo_addr.index());
__ mov(tmp, obj);
} else {
assert_different_registers(obj, rscratch1, rscratch2, mdo_addr.base(), mdo_addr.index());
}
if (do_null) {
__ cbnz(tmp, update);
@@ -2779,10 +2784,11 @@ void LIR_Assembler::emit_profile_type(LIR_OpProfileType* op) {
__ cbz(rscratch2, none);
__ cmp(rscratch2, (u1)TypeEntries::null_seen);
__ br(Assembler::EQ, none);
// There is a chance that the checks above (re-reading profiling
// data from memory) fail if another thread has just set the
// There is a chance that the checks above
// fail if another thread has just set the
// profiling to this obj's klass
__ dmb(Assembler::ISHLD);
__ eor(tmp, tmp, rscratch2); // get back original value before XOR
__ ldr(rscratch2, mdo_addr);
__ eor(tmp, tmp, rscratch2);
__ andr(rscratch1, tmp, TypeEntries::type_klass_mask);
@@ -2807,6 +2813,10 @@ void LIR_Assembler::emit_profile_type(LIR_OpProfileType* op) {
__ bind(none);
// first time here. Set profile type.
__ str(tmp, mdo_addr);
#ifdef ASSERT
__ andr(tmp, tmp, TypeEntries::type_mask);
__ verify_klass_ptr(tmp);
#endif
}
} else {
// There's a single possible klass at this profile point
@@ -2838,6 +2848,10 @@ void LIR_Assembler::emit_profile_type(LIR_OpProfileType* op) {
#endif
// first time here. Set profile type.
__ str(tmp, mdo_addr);
#ifdef ASSERT
__ andr(tmp, tmp, TypeEntries::type_mask);
__ verify_klass_ptr(tmp);
#endif
} else {
assert(ciTypeEntries::valid_ciklass(current_klass) != nullptr &&
ciTypeEntries::valid_ciklass(current_klass) != exact_klass, "inconsistent");

View File

@@ -168,8 +168,10 @@ LIR_Address* LIRGenerator::generate_address(LIR_Opr base, LIR_Opr index,
if (index->is_register()) {
// apply the shift and accumulate the displacement
if (shift > 0) {
LIR_Opr tmp = new_pointer_register();
__ shift_left(index, shift, tmp);
// Use long register to avoid overflow when shifting large index values left.
LIR_Opr tmp = new_register(T_LONG);
__ convert(Bytecodes::_i2l, index, tmp);
__ shift_left(tmp, shift, tmp);
index = tmp;
}
if (large_disp != 0) {
@@ -314,6 +316,7 @@ void LIRGenerator::do_MonitorEnter(MonitorEnter* x) {
// "lock" stores the address of the monitor stack slot, so this is not an oop
LIR_Opr lock = new_register(T_INT);
LIR_Opr scratch = new_register(T_INT);
CodeEmitInfo* info_for_exception = nullptr;
if (x->needs_null_check()) {
@@ -322,7 +325,7 @@ void LIRGenerator::do_MonitorEnter(MonitorEnter* x) {
// this CodeEmitInfo must not have the xhandlers because here the
// object is already locked (xhandlers expect object to be unlocked)
CodeEmitInfo* info = state_for(x, x->state(), true);
monitor_enter(obj.result(), lock, syncTempOpr(), LIR_OprFact::illegalOpr,
monitor_enter(obj.result(), lock, syncTempOpr(), scratch,
x->monitor_no(), info_for_exception, info);
}
@@ -335,8 +338,9 @@ void LIRGenerator::do_MonitorExit(MonitorExit* x) {
LIR_Opr lock = new_register(T_INT);
LIR_Opr obj_temp = new_register(T_INT);
LIR_Opr scratch = new_register(T_INT);
set_no_result(x);
monitor_exit(obj_temp, lock, syncTempOpr(), LIR_OprFact::illegalOpr, x->monitor_no());
monitor_exit(obj_temp, lock, syncTempOpr(), scratch, x->monitor_no());
}
void LIRGenerator::do_NegateOp(NegateOp* x) {

View File

@@ -60,10 +60,10 @@ void C1_MacroAssembler::float_cmp(bool is_float, int unordered_result,
}
}
int C1_MacroAssembler::lock_object(Register hdr, Register obj, Register disp_hdr, Label& slow_case) {
int C1_MacroAssembler::lock_object(Register hdr, Register obj, Register disp_hdr, Register temp, Label& slow_case) {
const int aligned_mask = BytesPerWord -1;
const int hdr_offset = oopDesc::mark_offset_in_bytes();
assert_different_registers(hdr, obj, disp_hdr);
assert_different_registers(hdr, obj, disp_hdr, temp, rscratch2);
int null_check_offset = -1;
verify_oop(obj);
@@ -83,7 +83,7 @@ int C1_MacroAssembler::lock_object(Register hdr, Register obj, Register disp_hdr
// Load object header
ldr(hdr, Address(obj, hdr_offset));
if (LockingMode == LM_LIGHTWEIGHT) {
fast_lock(obj, hdr, rscratch1, rscratch2, slow_case);
lightweight_lock(obj, hdr, temp, rscratch2, slow_case);
} else if (LockingMode == LM_LEGACY) {
Label done;
// and mark it as unlocked
@@ -125,10 +125,10 @@ int C1_MacroAssembler::lock_object(Register hdr, Register obj, Register disp_hdr
}
void C1_MacroAssembler::unlock_object(Register hdr, Register obj, Register disp_hdr, Label& slow_case) {
void C1_MacroAssembler::unlock_object(Register hdr, Register obj, Register disp_hdr, Register temp, Label& slow_case) {
const int aligned_mask = BytesPerWord -1;
const int hdr_offset = oopDesc::mark_offset_in_bytes();
assert(hdr != obj && hdr != disp_hdr && obj != disp_hdr, "registers must be different");
assert_different_registers(hdr, obj, disp_hdr, temp, rscratch2);
Label done;
if (LockingMode != LM_LIGHTWEIGHT) {
@@ -149,7 +149,7 @@ void C1_MacroAssembler::unlock_object(Register hdr, Register obj, Register disp_
// be encoded.
tst(hdr, markWord::monitor_value);
br(Assembler::NE, slow_case);
fast_unlock(obj, hdr, rscratch1, rscratch2, slow_case);
lightweight_unlock(obj, hdr, temp, rscratch2, slow_case);
} else if (LockingMode == LM_LEGACY) {
// test if object header is pointing to the displaced header, and if so, restore
// the displaced header in the object - if the object header is not pointing to

View File

@@ -58,14 +58,16 @@ using MacroAssembler::null_check;
// hdr : must be r0, contents destroyed
// obj : must point to the object to lock, contents preserved
// disp_hdr: must point to the displaced header location, contents preserved
// temp : temporary register, must not be rscratch1 or rscratch2
// returns code offset at which to add null check debug information
int lock_object (Register swap, Register obj, Register disp_hdr, Label& slow_case);
int lock_object (Register swap, Register obj, Register disp_hdr, Register temp, Label& slow_case);
// unlocking
// hdr : contents destroyed
// obj : must point to the object to lock, contents preserved
// disp_hdr: must be r0 & must point to the displaced header location, contents destroyed
void unlock_object(Register swap, Register obj, Register lock, Label& slow_case);
// temp : temporary register, must not be rscratch1 or rscratch2
void unlock_object(Register swap, Register obj, Register lock, Register temp, Label& slow_case);
void initialize_object(
Register obj, // result: pointer to object after successful allocation

View File

@@ -385,7 +385,7 @@ OopMapSet* Runtime1::generate_handle_exception(StubID id, StubAssembler *sasm) {
// load issuing PC (the return address for this stub) into r3
__ ldr(exception_pc, Address(rfp, 1*BytesPerWord));
__ authenticate_return_address(exception_pc, rscratch1);
__ authenticate_return_address(exception_pc);
// make sure that the vm_results are cleared (may be unnecessary)
__ str(zr, Address(rthread, JavaThread::vm_result_offset()));
@@ -434,7 +434,7 @@ OopMapSet* Runtime1::generate_handle_exception(StubID id, StubAssembler *sasm) {
__ str(exception_pc, Address(rthread, JavaThread::exception_pc_offset()));
// patch throwing pc into return address (has bci & oop map)
__ protect_return_address(exception_pc, rscratch1);
__ protect_return_address(exception_pc);
__ str(exception_pc, Address(rfp, 1*BytesPerWord));
// compute the exception handler.
@@ -450,7 +450,7 @@ OopMapSet* Runtime1::generate_handle_exception(StubID id, StubAssembler *sasm) {
__ invalidate_registers(false, true, true, true, true, true);
// patch the return address, this stub will directly return to the exception handler
__ protect_return_address(r0, rscratch1);
__ protect_return_address(r0);
__ str(r0, Address(rfp, 1*BytesPerWord));
switch (id) {
@@ -478,6 +478,15 @@ void Runtime1::generate_unwind_exception(StubAssembler *sasm) {
const Register exception_pc = r3;
const Register handler_addr = r1;
if (AbortVMOnException) {
__ mov(rscratch1, exception_oop);
__ enter();
save_live_registers(sasm);
__ call_VM_leaf(CAST_FROM_FN_PTR(address, check_abort_on_vm_exception), rscratch1);
restore_live_registers(sasm);
__ leave();
}
// verify that only r0, is valid at this time
__ invalidate_registers(false, true, true, true, true, true);

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