Commit Graph

895 Commits

Author SHA1 Message Date
Erik Gahlin
e07a5b6626 8338512: JFR: Revert changes to TestCodeSweeper
Reviewed-by: mgronlun
2024-08-19 10:42:58 +00:00
Chen Liang
961e944fa7 8336754: Remodel TypeAnnotation to "has" instead of "be" an Annotation
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: asotona
2024-08-16 15:48:54 +00:00
Chen Liang
ace496515f 8338406: BytecodeHelpers using wrong bootstrap method descriptor for condy
Reviewed-by: asotona
2024-08-15 17:50:34 +00:00
Chen Liang
6af1d6ff21 8335927: Revisit AnnotationConstantValueEntry and AnnotationValue.OfConstant
Reviewed-by: asotona
2024-08-13 15:14:06 +00:00
Roger Riggs
b93b74e3eb 8338060: jdk/internal/util/ReferencedKeyTest should be more robust
Reviewed-by: never
2024-08-12 19:28:46 +00:00
Erik Gahlin
4b740d87ee 8225209: jdk/jfr/event/compiler/TestCodeSweeper.java fails
Reviewed-by: mgronlun
2024-08-08 10:57:43 +00:00
Erik Gahlin
2e093b0691 8337779: test/jdk/jdk/jfr/jvm/TestHiddenWait.java is a bit fragile
Reviewed-by: mgronlun
2024-08-05 13:17:32 +00:00
Sandhya Viswanathan
dc35f3e8a8 8337062: x86_64: Unordered add/mul reduction support for vector api
Reviewed-by: jbhateja, sgibbons
2024-08-01 23:02:23 +00:00
Albert Mingkun Yang
cf1230a5f7 8337546: Remove unused GCCause::_adaptive_size_policy
Reviewed-by: tschatzl, kbarrett
2024-08-01 07:28:29 +00:00
Chen Liang
93c19ac73c 8337219: AccessFlags factories do not require necessary arguments
Reviewed-by: asotona
2024-07-30 17:41:49 +00:00
Erik Gahlin
4148613148 8335907: JFR: Make SettingControls more robust
Reviewed-by: mgronlun
2024-07-30 13:47:58 +00:00
Chen Liang
ab27090aa0 8337225: Demote maxStack and maxLocals from CodeModel to CodeAttribute
Reviewed-by: asotona
2024-07-29 21:58:08 +00:00
Erik Gahlin
9124a94e38 8337165: Test jdk/jfr/event/gc/stacktrace/TestG1YoungAllocationPendingStackTrace.java failed: IndexOutOfBoundsException: Index 64 out of bounds for length 64
Reviewed-by: phh
2024-07-29 09:52:38 +00:00
Alan Bateman
6e228ce382 8336254: Virtual thread implementation + test updates
Reviewed-by: sspitsyn, kevinw
2024-07-25 04:59:01 +00:00
Erik Gahlin
aa15b895c9 8336485: jdk/jfr/jcmd/TestJcmdView.java RuntimeException: 'Invoked Concurrent' missing from stdout/stderr
Reviewed-by: mgronlun
2024-07-24 15:12:53 +00:00
Chen Liang
332df83e7c 8336927: Missing equals and hashCode in java.lang.classfile.Annotation
Reviewed-by: asotona
2024-07-24 12:13:15 +00:00
Chen Liang
a2a236f904 8335939: Hide element writing across the ClassFile API
Reviewed-by: asotona
2024-07-23 12:11:47 +00:00
Adam Sotona
0db6c15efe 8336833: Endless loop in Javap ClassWriter
Reviewed-by: liach
2024-07-22 07:33:29 +00:00
Chen Liang
3ade2b6114 8336777: BufferedMethodBuilder not initialized with static flag
Reviewed-by: asotona
2024-07-19 21:25:20 +00:00
Adam Sotona
c25c4896ad 8333812: ClassFile.verify() can throw exceptions instead of returning VerifyErrors
Reviewed-by: liach
2024-07-19 13:09:45 +00:00
SendaoYan
fa5ad700bb 8334771: [TESTBUG] Run TestDockerMemoryMetrics.java with -Xcomp fails exitValue = 137
Reviewed-by: lmesnik, sspitsyn
2024-07-19 07:06:51 +00:00
Chen Liang
902c2afb67 8336585: BoundAttribute.readEntryList not type-safe
Reviewed-by: asotona
2024-07-18 21:46:19 +00:00
Chen Liang
b44632aa15 8336588: Ensure Transform downstream receives upstream start items only after downstream started
Reviewed-by: asotona
2024-07-18 21:46:07 +00:00
Vladimir Kozlov
bcb5e69505 8335921: Fix HotSpot VM build without JVMTI
Reviewed-by: dholmes, shade
2024-07-17 18:46:00 +00:00
Adam Sotona
3f2636d9b7 8335820: java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java fails due to IllegalArgumentException: hash must be nonzero
Reviewed-by: liach
2024-07-15 05:41:52 +00:00
Chen Liang
a9f5e76a65 8335905: CompoundElement API cleanup
Reviewed-by: asotona
2024-07-14 15:01:51 +00:00
Albert Mingkun Yang
34d8562a91 8335902: Parallel: Refactor VM_ParallelGCFailedAllocation and VM_ParallelGCSystemGC
Reviewed-by: gli, zgu
2024-07-12 12:59:13 +00:00
Doug Simon
cf940e139a 8335553: [Graal] Compiler thread calls into jdk.internal.vm.VMSupport.decodeAndThrowThrowable and crashes in OOM situation
Reviewed-by: yzheng, never, dholmes
2024-07-11 07:03:44 +00:00
Chen Liang
cad68e06ec 8335935: Chained builders not sending transformed models to next transforms
Reviewed-by: asotona
2024-07-10 21:06:39 +00:00
Erik Gahlin
e0fb949460 8335779: JFR: Hide sleep events
Reviewed-by: mgronlun
2024-07-10 14:28:20 +00:00
Severin Gehwolf
f3ff4f7427 8335882: platform/cgroup/TestSystemSettings.java fails on Alpine Linux
Reviewed-by: stuefe, mbaesken
2024-07-09 10:21:47 +00:00
Erik Gahlin
b83766e590 8335632: jdk/jfr/api/consumer/streaming/TestJVMExit.java failed with "Process [...] is no longer alive"
Reviewed-by: mgronlun
2024-07-05 17:07:22 +00:00
Chen Liang
0db9bc57de 8335290: Rename ClassFile::transform to ClassFile::transformClass
Reviewed-by: asotona
2024-07-03 05:03:56 +00:00
Chen Liang
f7af4504a8 8335110: Fix instruction name and API spec inconsistencies in CodeBuilder
Reviewed-by: asotona
2024-07-03 02:49:43 +00:00
Chen Liang
1ef34c1833 8335475: ClassBuilder incorrectly calculates max_locals in some cases
Reviewed-by: asotona
2024-07-02 23:15:31 +00:00
Severin Gehwolf
0a6ffa5795 8261242: [Linux] OSContainer::is_containerized() returns true when run outside a container
Reviewed-by: stuefe, iklam
2024-07-01 08:47:29 +00:00
Erik Gahlin
55c7969461 8334765: JFR: Log chunk waste
Reviewed-by: mgronlun
2024-06-24 14:36:50 +00:00
Adam Sotona
b2930c5aee 8334040: jdk/classfile/CorpusTest.java timed out
Reviewed-by: alanb
2024-06-24 13:34:29 +00:00
Erik Gahlin
bdd96604ae 8323196: jdk/jfr/api/consumer/filestream/TestOrdered.java failed with "Events are not ordered! Reuse = false"
Reviewed-by: mgronlun
2024-06-21 07:36:02 +00:00
Erik Gahlin
856931d01f 8304732: jdk/jfr/api/consumer/recordingstream/TestStop.java failed again with "Expected outer stream to have 3 events"
Reviewed-by: mgronlun
2024-06-19 16:23:22 +00:00
Albert Mingkun Yang
c94af6f943 8333962: Obsolete OldSize
Reviewed-by: dholmes, zgu
2024-06-17 15:50:55 +00:00
Jan Lahoda
f7dbb98fe6 8333086: Using Console.println is unnecessarily slow due to JLine initalization
Reviewed-by: asotona, naoto
2024-06-05 17:20:44 +00:00
Adam Sotona
22ef827e2c 8320396: Class-File API ClassModel::verify should include checks from hotspot/share/classfile/classFileParser.cpp
Reviewed-by: liach, mcimadamore
2024-05-31 06:26:35 +00:00
Erik Gahlin
4a20691e9b 8331876: JFR: Move file read and write events to java.base
Reviewed-by: mgronlun, alanb
2024-05-30 13:32:57 +00:00
Chen Liang
f608918df3 8332614: Type-checked ConstantPool.entryByIndex and ClassReader.readEntryOrNull
Reviewed-by: asotona
2024-05-30 11:51:49 +00:00
Adam Sotona
aa4c83a5bf 8332505: JEP 457: ClassRemapper forgets to remap bootstrap method references
Reviewed-by: jlahoda
2024-05-28 12:29:30 +00:00
Thomas Schatzl
72fbfe18cb 8330577: G1 sometimes sends jdk.G1HeapRegionTypeChange for non-changes
Co-authored-by: Andreas Steiner <asteiner@openjdk.org>
Reviewed-by: ayang, asteiner
2024-05-27 09:48:49 +00:00
Adam Sotona
cfdc64fcb4 8331291: java.lang.classfile.Attributes class performs a lot of static initializations
Reviewed-by: liach, redestad, vromero
2024-05-24 15:58:34 +00:00
Sergey Bylokhov
9b1d6d66b8 8316328: Test jdk/jfr/event/oldobject/TestSanityDefault.java times out for some heap sizes
Reviewed-by: phh, shade, egahlin
2024-05-23 23:40:00 +00:00
Adam Sotona
451cc23905 8332486: ClassFile API ArrayIndexOutOfBoundsException with label metadata
Reviewed-by: psandoz
2024-05-21 07:59:33 +00:00
Chen Liang
beeffd4671 8332109: Convert remaining tests using com.sun.tools.classfile to ClassFile API
Reviewed-by: asotona
2024-05-17 12:24:39 +00:00
Adam Sotona
42ccb74399 8331940: ClassFile API ArrayIndexOutOfBoundsException with certain class files
Reviewed-by: liach, psandoz
2024-05-15 16:14:15 +00:00
Jan Lahoda
5a8df4106a 8331535: Incorrect prompt for Console.readLine
8331681: Test that jdk.internal.io.JdkConsole does not interpret prompts

Reviewed-by: naoto, asotona
2024-05-13 08:16:30 +00:00
Chen Liang
784b8fce7a 8331744: java.lang.classfile.TypeKind improvements
Reviewed-by: asotona, redestad
2024-05-10 10:50:51 +00:00
Jan Lahoda
aaa90b3005 8327476: Upgrade JLine to 3.26.1
Reviewed-by: ihse, vromero
2024-05-09 13:54:04 +00:00
Erik Gahlin
e8a2d5669c 8331653: JFR: Improve logging for jdk/jfr/api/consumer/recordingstream;TestStop.java
Reviewed-by: mgronlun
2024-05-06 11:01:55 +00:00
Jan Lahoda
15862a2f11 8331708: jdk/internal/jline/RedirectedStdOut.java times-out on macosx-aarch64
Reviewed-by: asotona
2024-05-06 08:48:46 +00:00
Jan Lahoda
f1509e007d 8330998: System.console() writes to stderr when stdout is redirected
Reviewed-by: naoto
2024-05-06 06:01:42 +00:00
Adam Sotona
c1a164528a 8331655: ClassFile API ClassCastException with verbose output of certain class files
Reviewed-by: psandoz
2024-05-03 19:15:12 +00:00
Chen Liang
1f6d38f7a6 8294978: Convert 5 test/jdk/jdk/jfr tests from ASM library to Classfile API
Reviewed-by: asotona
2024-05-03 11:57:10 +00:00
Chen Liang
c60474b122 8323707: Adjust Classfile API's type arg model to better represent the embodied type
Reviewed-by: asotona
2024-05-03 11:08:33 +00:00
Adam Sotona
e2c0cfef14 8331320: ClassFile API OutOfMemoryError with certain class files
Reviewed-by: psandoz
2024-05-02 18:07:42 +00:00
Adam Sotona
257a07d5ca 8331511: Tests should not use the "Classpath" exception form of the legal header
Reviewed-by: jpai
2024-05-02 12:20:07 +00:00
Adam Sotona
ae82405ff7 8323058: Revisit j.l.classfile.CodeBuilder API surface
Reviewed-by: briangoetz, psandoz
2024-05-02 10:08:29 +00:00
Tim Prinzing
f4caac8dea 8329138: Convert JFR FileForceEvent to static mirror event
Reviewed-by: alanb, egahlin
2024-04-30 15:39:23 +00:00
Patricio Chilano Mateo
22a1c617db 8330817: jdk/internal/vm/Continuation/OSRTest.java times out on libgraal
Reviewed-by: dnsimon, dlong
2024-04-30 13:08:35 +00:00
Thomas Stuefe
151ef5d4d2 8330677: Add Per-Compilation memory usage to JFR
Reviewed-by: kvn, mbaesken
2024-04-29 10:58:07 +00:00
Adam Sotona
fb63cbadb4 8330684: ClassFile API runs into StackOverflowError while parsing certain class' bytes
Reviewed-by: psandoz
2024-04-29 07:12:46 +00:00
Erik Gahlin
f3bb3e2170 8331153: JFR: Improve logging of jdk/jfr/api/consumer/filestream/TestOrdered.java
Reviewed-by: mgronlun
2024-04-26 19:20:27 +00:00
Patricio Chilano Mateo
fd331ff173 8325469: Freeze/Thaw code can crash in the presence of OSR frames
Reviewed-by: rpressler, dlong
2024-04-17 16:18:55 +00:00
Erik Gahlin
f7c84137b5 8326116: JFR: Add help option to -XX:StartFlightRecording
Reviewed-by: mgronlun
2024-04-16 17:21:47 +00:00
Coleen Phillimore
3e9c381166 8329488: Move OopStorage code from safepoint cleanup and remove safepoint cleanup code
Reviewed-by: kbarrett, eosterlund
2024-04-12 12:16:49 +00:00
Evgeny Nikitin
4bba445d83 8325659: Normalize Random usage by incubator vector tests
Reviewed-by: psandoz
2024-04-09 15:39:51 +00:00
Adam Sotona
e75e1cb02c 8329955: Class-File API ClassPrinter does not print bootstrap methods arguments
Reviewed-by: briangoetz
2024-04-09 14:44:00 +00:00
Adam Sotona
8907eda779 8325485: IncrementInstructions.of(int, int) is not storing the args
Reviewed-by: liach, jlahoda
2024-04-09 11:08:10 +00:00
Tomas Zezula
8267d6565d 8329564: [JVMCI] TranslatedException::debugPrintStackTrace does not work in the libjvmci compiler.
Reviewed-by: dnsimon
2024-04-03 20:10:50 +00:00
Bill Huang
375bfac8e7 8327474: Review use of java.io.tmpdir in jdk tests
Reviewed-by: michaelm, jpai
2024-04-03 17:04:09 +00:00
Sean Coffey
925d82931c 8329013: StackOverflowError when starting Apache Tomcat with signed jar
Reviewed-by: dfuchs, jpai
2024-04-02 17:32:31 +00:00
Robert Toyonaga
96530bcc07 8326521: JFR: CompilerPhase event test fails on windows 32 bit
Reviewed-by: egahlin
2024-03-20 19:42:56 +00:00
Jim Laskey
a7461de231 8325255: jdk.internal.util.ReferencedKeySet::add using wrong test
Reviewed-by: rriggs, liach
2024-03-06 12:01:10 +00:00
Christoph Langer
43c6f0b588 8326591: New test JmodExcludedFiles.java fails on Windows when --with-external-symbols-in-bundles=public is used
Reviewed-by: mbaesken
2024-03-04 16:32:48 +00:00
Robert Toyonaga
4dd6c44cbd 8326529: JFR: Test for CompilerCompile events fails due to time out
Reviewed-by: egahlin
2024-02-28 00:50:31 +00:00
Denghui Dong
9fbcc008cb 8326127: JFR: Add SafepointCleanupTask to hardToTestEvents of TestLookForUntestedEvents
Reviewed-by: mgronlun
2024-02-20 00:41:15 +00:00
Magnus Ihse Bursie
5c5a282f91 8325950: Make sure all files in the JDK pass jcheck
Reviewed-by: prr, wetmore, erikj, naoto
2024-02-19 16:13:34 +00:00
Eirik Bjørsnøs
7004c2724d 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

Reviewed-by: lancea
2024-02-18 15:25:58 +00:00
Erik Österlund
84965ea1a8 8322630: Remove ICStubs and related safepoints
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Aleksei Voitylov <avoitylov@openjdk.org>
Reviewed-by: tschatzl, aboldtch, dlong
2024-02-14 11:44:30 +00:00
Chen Liang
3bffe223a3 8319463: ClassSignature should have superclass and superinterfaces as ClassTypeSig
Reviewed-by: asotona
2024-02-07 07:54:22 +00:00
Eirik Bjørsnøs
c3adc61e6e 8325199: (zipfs) jdk/nio/zipfs/TestPosix.java failed 6 sub-tests
Reviewed-by: clanger, lancea
2024-02-05 17:59:59 +00:00
Eirik Bjørsnøs
692c9f8821 8325201: (zipfs) Disable TestPosix.setPermissionsShouldConvertToUnix which fails on Windows
Reviewed-by: lancea
2024-02-04 21:01:37 +00:00
Eirik Bjørsnøs
a18b03b86f 8324635: (zipfs) Regression in Files.setPosixFilePermissions called on existing MSDOS entries
Reviewed-by: lancea
2024-02-02 21:50:13 +00:00
Paul Sandoz
1ae851387f 8324858: [vectorapi] Bounds checking issues when accessing memory segments
Reviewed-by: mcimadamore, jbhateja
2024-02-02 16:53:10 +00:00
Matthias Baesken
cab74b075e 8324287: Record total and free swap space in JFR
Reviewed-by: jbechberger, lucy, egahlin
2024-02-01 12:50:18 +00:00
Raffaello Giulietti
00bb6bf509 8324220: jdk/jfr/event/io/TestSerializationMisdeclarationEvent.java had 22 failures
Reviewed-by: egahlin
2024-01-24 16:19:46 +00:00
sendaoYan
791b427f44 8323640: [TESTBUG]testMemoryFailCount in jdk/internal/platform/docker/TestDockerMemoryMetrics.java always fail because OOM killed
Reviewed-by: sgehwolf
2024-01-23 13:19:49 +00:00
Mandy Chung
6c0bebccb0 8159927: Add a test to verify JMOD files created in the images do not have debug symbols
Reviewed-by: jlaskey
2024-01-19 17:42:55 +00:00
Daniel D. Daugherty
5c874c19cb 8324161: validate-source fails after JDK-8275338
Reviewed-by: darcy
2024-01-18 17:42:55 +00:00
Raffaello Giulietti
bfd2afe5ad 8275338: Add JFR events for notable serialization situations
Reviewed-by: rriggs, egahlin
2024-01-18 17:05:35 +00:00
Stefan Karlsson
0216f5de55 8323730: Tweak TestZAllocationStallEvent.java to allocate smaller objects
Reviewed-by: aboldtch, sjohanss
2024-01-16 14:26:10 +00:00
Erik Gahlin
be900f1253 8323425: JFR: Auto-generated filename doesn't work with time-limited recording
Reviewed-by: mgronlun
2024-01-12 13:12:37 +00:00
Eirik Bjørsnøs
e70cb4e6c7 8322565: (zipfs) Files.setPosixPermissions should preserve 'external file attributes' bits
Reviewed-by: clanger, lancea
2024-01-10 21:42:23 +00:00