Commit Graph

585 Commits

Author SHA1 Message Date
Serguei Spitsyn
6eea5d6755 8325187: JVMTI GetThreadState says virtual thread is JVMTI_THREAD_STATE_INTERRUPTED when it no longer is
Reviewed-by: dholmes, alanb
2024-03-19 08:27:55 +00:00
Dmitry Chuyko
c879627dbd 8309271: A way to align already compiled methods with compiler directives
Reviewed-by: apangin, sspitsyn, tholenstein
2024-03-14 12:38:48 +00:00
Serguei Spitsyn
b92440f9b1 8247972: incorrect implementation of JVM TI GetObjectMonitorUsage
Reviewed-by: dcubed, lmesnik
2024-03-12 08:55:28 +00:00
Chris Plummer
ddcd6dece9 8325532: serviceability/dcmd/compiler/PerfMapTest.java leaves created files in the /tmp dir.
Reviewed-by: amenkov, kevinw, lmesnik, sspitsyn
2024-03-07 00:01:50 +00:00
Kim Barrett
998d0baab0 8324799: Use correct extension for C++ test headers
Reviewed-by: jwaters, gli, coleenp, lmesnik
2024-02-29 06:24:42 +00:00
Yi Yang
3742bc626e 8323795: jcmd Compiler.codecache should print total size of code cache
Reviewed-by: thartmann, kvn
2024-02-19 07:38:55 +00:00
Albert Mingkun Yang
2b1a840002 8325860: Serial: Move Generation.java to serial folder
Reviewed-by: cjplummer, tschatzl
2024-02-15 10:20:12 +00:00
Alex Menkov
f31957e6a1 8317636: Improve heap walking API tests to verify correctness of field indexes
Reviewed-by: cjplummer, sspitsyn
2024-02-05 21:57:15 +00:00
Chris Plummer
192349eee4 8324066: "clhsdb jstack" should not by default scan for j.u.c locks because it can be very slow
Reviewed-by: kevinw, amenkov
2024-02-01 19:24:39 +00:00
Leonid Mesnik
8892d45b9f 8324582: Replace -Djava.util.concurrent.ForkJoinPool.common.parallelism to -Djdk.virtualThreadScheduler.maxPoolSize in jvmti vthread tests
Reviewed-by: cjplummer, sspitsyn
2024-01-30 21:05:12 +00:00
Kim Barrett
f57c7223cf 8324880: Rename get_stack_trace.h
Reviewed-by: dholmes, jwaters, sspitsyn
2024-01-30 18:10:25 +00:00
Coleen Phillimore
a6bdee48f3 8324681: Replace NULL with nullptr in HotSpot jtreg test native code files
Reviewed-by: kevinw, kbarrett, dholmes
2024-01-29 17:07:32 +00:00
Chris Plummer
edfee7f348 8323546: Cleanup jcmd docs for Compiler.perfmap and VM.cds filename parameter
Reviewed-by: dholmes, sspitsyn, iklam
2024-01-23 20:33:49 +00:00
Alex Menkov
dd8ae61643 8322237: Heap dump contains duplicate thread records for mounted virtual threads
Reviewed-by: dholmes, sspitsyn
2024-01-09 19:31:03 +00:00
Denghui Dong
3dc4bd8581 8322989: New test serviceability/HeapDump/FullGCHeapDumpLimitTest.java fails
Reviewed-by: stefank, dholmes
2024-01-05 09:23:42 +00:00
Denghui Dong
1cf9335b24 8321404: Limit the number of heap dumps triggered by HeapDumpBeforeFullGC/AfterFullGC
Reviewed-by: dholmes, cjplummer
2024-01-04 03:20:06 +00:00
Alan Bateman
b67b71cd87 8320707: Virtual thread test updates
Reviewed-by: jpai
2024-01-03 14:59:03 +00:00
Stefan Karlsson
cbe329b90a 8321713: Harmonize executeTestJvm with create[Limited]TestJavaProcessBuilder
Reviewed-by: lkorinth, lmesnik
2024-01-03 08:53:01 +00:00
Serguei Spitsyn
0f8e4e0a81 8311218: fatal error: stuck in JvmtiVTMSTransitionDisabler::VTMS_transition_disable
Reviewed-by: lmesnik, alanb
2023-12-19 17:26:55 +00:00
Yi-Fan Tsai
a5122d7f6c 8314029: Add file name parameter to Compiler.perfmap
Reviewed-by: cjplummer, eastigeevich
2023-12-18 15:20:59 +00:00
Alex Menkov
cf948548c3 8321565: [REDO] Heap dump does not contain virtual Thread stack references
Reviewed-by: sspitsyn, yyang, dholmes
2023-12-13 18:47:04 +00:00
Alex Menkov
cb7e3d263a 8321560: [BACKOUT] 8299426: Heap dump does not contain virtual Thread stack references
Reviewed-by: cjplummer, dholmes
2023-12-08 01:24:25 +00:00
Alex Menkov
354ea4c28f 8299426: Heap dump does not contain virtual Thread stack references
Reviewed-by: cjplummer, sspitsyn, lmesnik
2023-12-07 23:18:23 +00:00
Adam Sotona
2b00ac0d02 8308753: Class-File API transition to Preview
Reviewed-by: ihse, mchung, vromero
2023-12-04 07:07:57 +00:00
Stefan Karlsson
0d146361f2 8320515: assert(monitor->object_peek() != nullptr) failed: Owned monitors should not have a dead object
Reviewed-by: dholmes, ihse, sspitsyn, dcubed
2023-11-30 09:46:26 +00:00
Alex Menkov
d1e73b1299 8318626: GetClassFields does not filter out ConstantPool.constantPoolOop field
Reviewed-by: sspitsyn, lmesnik
2023-11-29 20:10:27 +00:00
Jaroslav Bachorik
cdd1a6e851 8313816: Accessing jmethodID might lead to spurious crashes
Reviewed-by: coleenp
2023-11-29 17:29:52 +00:00
Thomas Stuefe
2e34a2ebf0 8318671: Potential uninitialized uintx value after JDK-8317683
Reviewed-by: thartmann, shade
2023-11-15 09:55:51 +00:00
Thomas Stuefe
6f863b2a1b 8318636: Add jcmd to print annotated process memory map
Reviewed-by: jsjolen, gziemski
2023-11-13 08:26:42 +00:00
Matthias Baesken
e035637a4c 8319375: test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java runs into OutOfMemoryError: Metaspace on AIX
Reviewed-by: kevinw, lucy, dholmes
2023-11-13 07:53:03 +00:00
Alex Menkov
29cf2c471b 8319053: Segment dump files remain after parallel heap dump on Windows
Reviewed-by: dholmes, yyang
2023-11-03 20:44:36 +00:00
Thomas Stuefe
0461d9a7d6 8318016: Per-compilation memory ceiling
Reviewed-by: roland, thartmann
2023-11-01 08:12:39 +00:00
Leo Korinth
d52a995f35 8315097: Rename createJavaProcessBuilder
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +00:00
Hannes Greule
8f5f44070a 8317692: jcmd GC.heap_dump performance regression after JDK-8292818
Reviewed-by: amenkov, fparain
2023-10-19 23:24:28 +00:00
Alex Menkov
aed1e810e6 8317285: Misspellings in hprof test lib
Reviewed-by: sspitsyn, cjplummer
2023-10-16 20:03:45 +00:00
Thomas Stuefe
56aa1e8dc8 8317683: Add JIT memory statistics
Reviewed-by: kvn, adinn
2023-10-14 05:56:52 +00:00
Alex Menkov
2b8276aa52 8316691: Heap dump: separate stack traces for mounted virtual threads
Reviewed-by: lmesnik, sspitsyn
2023-10-10 20:13:09 +00:00
Jean-Philippe Bempel
84390dd063 8316658: serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java fails intermittently
Reviewed-by: coleenp, dholmes
2023-09-28 02:43:41 +00:00
Afshin Zafari
45a145e5bc 8299915: Remove ArrayAllocatorMallocLimit and associated code
Reviewed-by: dholmes, coleenp
2023-09-27 08:27:02 +00:00
Axel Boldt-Christmas
50a7a04e9a 8316417: ObjectMonitorIterator does not return the most recent monitor and is incorrect if no monitors exists
Reviewed-by: cjplummer, dholmes
2023-09-27 08:16:34 +00:00
Jean-Philippe Bempel
df4a25b41c 8308762: Metaspace leak with Instrumentation.retransform
Reviewed-by: dholmes, coleenp
2023-09-21 05:16:07 +00:00
Leonid Mesnik
54028e779b 8316562: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java times out after JDK-8314829
Reviewed-by: dholmes, kevinw, dcubed
2023-09-20 18:13:45 +00:00
Leonid Mesnik
e0f8d16833 8314829: serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java ignores vm flags
Reviewed-by: cjplummer
2023-09-19 16:35:50 +00:00
Alan Bateman
4461eeb31d 8312498: Thread::getState and JVM TI GetThreadState should return TIMED_WAITING virtual thread is timed parked
Reviewed-by: sspitsyn, rpressler
2023-09-19 10:58:12 +00:00
Leonid Mesnik
11d431b2c4 8316228: jcmd tests are broken by 8314828
Reviewed-by: dholmes
2023-09-14 01:20:24 +00:00
Leonid Mesnik
23fab1181b 8314828: Mark 3 jcmd command-line options test as vm.flagless
Reviewed-by: cjplummer
2023-09-13 22:52:01 +00:00
Erik Joelsson
020255a72d 8267174: Many test files have the wrong Copyright header
Reviewed-by: valeriep, aivanov, iris, dholmes, ihse
2023-09-12 20:16:05 +00:00
Serguei Spitsyn
fda142ff6c 8312174: missing JVMTI events from vthreads parked during JVMTI attach
Reviewed-by: lmesnik, amenkov
2023-09-12 02:46:47 +00:00
Soumadipta Roy
877731d2a2 8315770: serviceability/sa/TestJmapCoreMetaspace.java should run with -XX:-VerifyDependencies
Reviewed-by: shade, kevinw, cjplummer, lmesnik
2023-09-11 16:34:56 +00:00
Roman Marchenko
a258fc443f 8315648: Add test for JDK-8309979 changes
Reviewed-by: cjplummer
2023-09-06 07:19:53 +00:00
Leonid Mesnik
5cbff24608 8315406: [REDO] serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Reviewed-by: cjplummer, dcubed
2023-09-06 00:02:54 +00:00
Yi Yang
75d4ac2659 8311775: [TEST] duplicate verifyHeapDump in several tests
Reviewed-by: kevinw, amenkov, cjplummer
2023-09-04 01:56:13 +00:00
Leonid Mesnik
218829e0a2 8315421: [BACKOUT] 8314834 serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Reviewed-by: dholmes
2023-08-31 02:33:38 +00:00
Leonid Mesnik
8e4cda063c 8314834: serviceability/jdwp/AllModulesCommandTest.java ignores VM flags
Reviewed-by: sspitsyn
2023-08-30 16:14:07 +00:00
Leonid Mesnik
93e82c0146 8314824: Fix serviceability/jvmti/8036666/GetObjectLockCount.java to use vm flags
Reviewed-by: sspitsyn, kevinw
2023-08-30 16:11:56 +00:00
Chris Plummer
38a9edfb7e 8314679: SA fails to properly attach to JVM after having just detached from a different JVM
Reviewed-by: dholmes, kevinw
2023-08-23 20:11:10 +00:00
Leonid Mesnik
9b53251131 8313654: Test WaitNotifySuspendedVThreadTest.java timed out
Reviewed-by: sspitsyn
2023-08-10 15:18:57 +00:00
Matthias Baesken
6dba2026d7 8313670: Simplify shared lib name handling code in some tests
Reviewed-by: cjplummer, sspitsyn
2023-08-10 07:23:24 +00:00
Yi Yang
31a307f2fb 8306441: Two phase segmented heap dump
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Reviewed-by: amenkov, kevinw
2023-08-09 01:58:57 +00:00
Jaikiran Pai
e9daf4a018 8312916: Remove remaining usages of -Xdebug from test/hotspot/jtreg
Reviewed-by: kevinw, cjplummer, dholmes
2023-07-26 07:34:52 +00:00
Thomas Stuefe
117f42dbe9 8312625: Test serviceability/dcmd/vm/TrimLibcHeapTest.java failed: RSS use increased
Reviewed-by: kevinw, dholmes
2023-07-26 05:46:13 +00:00
Thomas Stuefe
9e4fc568a6 8293114: JVM should trim the native heap
Reviewed-by: shade, rehn, dholmes
2023-07-21 12:22:03 +00:00
Alex Menkov
af5bf81754 8310584: GetThreadState reports blocked and runnable for pinned suspended virtual threads
Reviewed-by: sspitsyn, dholmes
2023-07-18 20:16:41 +00:00
Serguei Spitsyn
11a5115caf 8311556: GetThreadLocalStorage not working for vthreads mounted during JVMTI attach
Reviewed-by: lmesnik, cjplummer
2023-07-13 01:55:37 +00:00
Alex Menkov
15195e6018 8310066: Improve test coverage for JVMTI GetThreadState on carrier and mounted vthread
Reviewed-by: sspitsyn, cjplummer
2023-07-11 17:31:21 +00:00
Daniel Jeliński
3d813ae39f 8311301: MethodExitTest may fail with stack buffer overrun
Reviewed-by: kevinw, dholmes, cjplummer, sspitsyn
2023-07-06 08:52:28 +00:00
Matthias Baesken
39c104df44 8310380: Handle problems in core-related tests on macOS when codesign tool does not work
Reviewed-by: lucy, clanger, cjplummer
2023-06-28 06:51:05 +00:00
Daohan Qu
370b8b2644 8310618: Test serviceability/sa/ClhsdbDumpclass.java fails after 8242152: 'StackMapTable:' missing from stdout/stderr
Reviewed-by: kevinw, dholmes
2023-06-22 13:15:27 +00:00
Daohan Qu
8e047029e8 8242152: SA does not include StackMapTables when dumping .class files
Reviewed-by: cjplummer, sspitsyn
2023-06-22 06:45:19 +00:00
Axel Boldt-Christmas
a0595761ef 8310187: Improve Generational ZGC jtreg testing
Reviewed-by: stefank, eosterlund, stuefe
2023-06-20 10:08:13 +00:00
Daniel D. Daugherty
16134f4422 8310211: serviceability/jvmti/thread/GetStackTrace/getstacktr03/getstacktr03.java failing
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: mikael
2023-06-16 17:38:01 +00:00
Yudi Zheng
4f23fc1f27 8309671: Avoid using jvmci.Compiler property to determine if Graal is enabled
Reviewed-by: dnsimon, sspitsyn
2023-06-13 09:02:37 +00:00
Serguei Spitsyn
f91e9ba757 8309612: [REDO] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: cjplummer, amenkov
2023-06-09 06:12:48 +00:00
Daniel D. Daugherty
33bb64f24f 8309614: [BACKOUT] JDK-8307153 JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: azvegint
2023-06-07 15:17:43 +00:00
Serguei Spitsyn
177e8327d6 8307153: JVMTI GetThreadState on carrier should return STATE_WAITING
Reviewed-by: amenkov, cjplummer
2023-06-07 13:16:40 +00:00
Serguei Spitsyn
a25b7b8b55 8295976: GetThreadListStackTraces returns wrong state for blocked VirtualThread
Reviewed-by: cjplummer, amenkov
2023-06-07 07:51:37 +00:00
Alan Bateman
2e9eff5641 8309406: Change jdk.trackAllThreads to default to true
Reviewed-by: rpressler, mchung, cjplummer
2023-06-06 06:01:38 +00:00
Serguei Spitsyn
89b99143ac 8308400: add ForceEarlyReturn support for virtual threads
Reviewed-by: alanb, lmesnik
2023-05-25 02:29:22 +00:00
Alex Menkov
207fbcb083 8299414: JVMTI FollowReferences should support references from VirtualThread stack
Reviewed-by: sspitsyn, kevinw
2023-05-24 20:26:10 +00:00
Serguei Spitsyn
928fcf9751 8308000: add PopFrame support for virtual threads
Reviewed-by: lmesnik, alanb
2023-05-22 07:34:35 +00:00
Leonid Mesnik
42948c04b9 8307865: Invalid is_in_any_VTMS_transition() check in post_dynamic_code_generated_while_holding_locks
Reviewed-by: sspitsyn, cjplummer
2023-05-18 23:57:10 +00:00
Patricio Chilano Mateo
24094482f0 8307365: JvmtiStressModule hit SIGSEGV in JvmtiEventControllerPrivate::recompute_thread_enabled
Reviewed-by: sspitsyn, dcubed, lmesnik
2023-05-17 20:16:21 +00:00
Adam Sotona
5763be7267 8307326: Package jdk.internal.classfile.java.lang.constant become obsolete
Reviewed-by: erikj, liach
2023-05-17 12:45:19 +00:00
Serguei Spitsyn
c2ef302468 8307968: serviceability/jvmti/vthread/StopThreadTest/StopThreadTest.java timed out
Reviewed-by: cjplummer, lmesnik
2023-05-16 07:20:01 +00:00
Serguei Spitsyn
51b8f3cfb9 8306034: add support of virtual threads to JVMTI StopThread
Reviewed-by: cjplummer
2023-05-11 17:48:39 +00:00
Coleen Phillimore
4251b56214 8306843: JVMTI tag map extremely slow after JDK-8292741
Reviewed-by: sspitsyn, iklam
2023-05-10 12:32:06 +00:00
Serguei Spitsyn
2be1f10fec 8307399: get rid of compatibility ThreadStart/ThreadEnd events for virtual threads
Reviewed-by: alanb, pchilanomate, cjplummer
2023-05-10 01:48:03 +00:00
Arno Zeller
5c7ede94ae 8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS
Reviewed-by: stuefe, cjplummer
2023-05-08 08:36:52 +00:00
Afshin Zafari
f143bf7c45 8305084: Remove the removal warnings for finalize() from test/hotspot/jtreg/serviceability/dcmd/gc/FinalizerInfoTest.java and RunFinalizationTest.java
Reviewed-by: dholmes, cjplummer
2023-05-05 13:22:01 +00:00
Stefan Johansson
29233e0a00 8307448: Test RedefineSharedClassJFR fail due to wrong assumption
Reviewed-by: eosterlund, coleenp
2023-05-04 12:48:56 +00:00
Stefan Johansson
408cec516b 8306929: Avoid CleanClassLoaderDataMetaspaces safepoints when previous versions are shared
Reviewed-by: coleenp, sspitsyn
2023-05-04 11:00:44 +00:00
Afshin Zafari
2cc4bf1a9d 8305085: Suppress removal warning for finalize() from test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineFinalizer.java
Reviewed-by: cjplummer, dholmes
2023-04-14 17:52:17 +00:00
Alan Bateman
2586f36120 8304919: Implementation of Virtual Threads
Reviewed-by: lmesnik, cjplummer, psandoz, mchung, sspitsyn, jpai
2023-04-11 05:49:54 +00:00
Adam Sotona
78ff454f19 8305490: CommandProcessor command "dumpclass" produces classes with invalid field descriptors
Reviewed-by: cjplummer, fparain
2023-04-05 13:19:27 +00:00
Jie Fu
a663d5d694 8305520: ToggleNotifyJvmtiTest.java fails with release VMs
Reviewed-by: sspitsyn
2023-04-04 07:33:21 +00:00
Serguei Spitsyn
a1a9ec6e46 8297286: runtime/vthread tests crashing after JDK-8296324
Reviewed-by: lmesnik, pchilanomate, cjplummer
2023-04-04 00:46:43 +00:00
Mandy Chung
622f239448 8304163: Move jdk.internal.module.ModuleInfoWriter to the test library
Reviewed-by: jpai, alanb
2023-03-20 17:30:24 +00:00
Alex Menkov
02a4ee206a 8303921: serviceability/sa/UniqueVtableTest.java timed out
Reviewed-by: cjplummer, sspitsyn
2023-03-17 18:23:03 +00:00
Alex Menkov
f9aadb943c 8303489: Add a test to verify classes in vmStruct have unique vtables
Reviewed-by: cjplummer, sspitsyn
2023-03-09 19:13:02 +00:00
David M. Lloyd
b527edd338 8292914: Lambda proxies have unstable names
Change the name of generated lambda proxy classes so that they no longer have a numerical suffix.

Reviewed-by: mchung
2023-02-27 17:18:44 +00:00