58 Commits

Author SHA1 Message Date
Patricio Chilano Mateo
78b80150e0 8338383: Implement JEP 491: Synchronize Virtual Threads without Pinning
Co-authored-by: Patricio Chilano Mateo <pchilanomate@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Fei Yang <fyang@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Richard Reingruber <rrich@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: aboldtch, dholmes, coleenp, fbredberg, dlong, sspitsyn
2024-11-12 15:23:48 +00:00
theoweidmannoracle
7d6a2f3740 8342860: Fix more NULL usage backsliding
Reviewed-by: kbarrett, jwaters, tschatzl, jsjolen
2024-11-08 13:31:24 +00:00
Serguei Spitsyn
60364ef001 8341273: JVMTI is not properly hiding some continuation related methods
Reviewed-by: alanb, amenkov
2024-10-29 19:59:43 +00:00
Alan Bateman
7e2bcf6d00 8338890: Add monitoring/management interface for the virtual thread scheduler
Reviewed-by: kevinw
2024-09-10 07:23:35 +00:00
Jiawei Tang
55c509708e 8337331: crash: pinned virtual thread will lead to jvm crash when running with the javaagent option
Reviewed-by: dholmes, sspitsyn
2024-08-09 02:29:15 +00:00
Alan Bateman
6e228ce382 8336254: Virtual thread implementation + test updates
Reviewed-by: sspitsyn, kevinw
2024-07-25 04:59:01 +00:00
Kim Barrett
7e11fb7026 8335688: Fix -Wzero-as-null-pointer-constant warnings from fflush calls in jvmti tests
Reviewed-by: jwaters, coleenp
2024-07-09 13:11:20 +00:00
Serguei Spitsyn
60ea17e848 8311177: Switching to interpreter only mode in carrier thread can lead to crashes
Reviewed-by: pchilanomate, amenkov
2024-06-05 21:46:41 +00:00
Serguei Spitsyn
174d62652c 8328741: serviceability/jvmti/ObjectMonitorUsage/ObjectMonitorUsage.java failed with unexpected owner
Reviewed-by: lmesnik, cjplummer
2024-04-24 09:02:02 +00:00
Serguei Spitsyn
70c8ff1c9a 8328665: serviceability/jvmti/vthread/PopFrameTest failed with a timeout
Reviewed-by: lmesnik, cjplummer
2024-04-01 23:37:07 +00:00
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
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
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
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
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
Alan Bateman
b67b71cd87 8320707: Virtual thread test updates
Reviewed-by: jpai
2024-01-03 14:59:03 +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
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
Leo Korinth
d52a995f35 8315097: Rename createJavaProcessBuilder
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +00:00
Alex Menkov
aed1e810e6 8317285: Misspellings in hprof test lib
Reviewed-by: sspitsyn, cjplummer
2023-10-16 20:03:45 +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
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
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
Leonid Mesnik
9b53251131 8313654: Test WaitNotifySuspendedVThreadTest.java timed out
Reviewed-by: sspitsyn
2023-08-10 15:18:57 +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
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
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
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
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
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
Alan Bateman
2586f36120 8304919: Implementation of Virtual Threads
Reviewed-by: lmesnik, cjplummer, psandoz, mchung, sspitsyn, jpai
2023-04-11 05:49:54 +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
Patricio Chilano Mateo
83bea26df4 8300575: JVMTI support when using alternative virtual thread implementation
Reviewed-by: lmesnik, sspitsyn, alanb
2023-02-22 15:42:53 +00:00
Serguei Spitsyn
e661c5a3d0 8296323: JVMTI can_support_virtual_threads not available for agents loaded into running VM
Reviewed-by: alanb, rrich
2022-11-22 23:43:15 +00:00
Serguei Spitsyn
035eaeecab 8296324: JVMTI GetStackTrace truncates vthread stack trace for agents loaded into running VM
Reviewed-by: cjplummer, lmesnik
2022-11-18 20:52:56 +00:00
Serguei Spitsyn
21a825e059 8288387: GetLocalXXX/SetLocalXXX spec should require suspending target thread
Reviewed-by: lmesnik, dsamersoff
2022-10-17 23:36:22 +00:00
Serguei Spitsyn
07ed68efb2 8288907: serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java fails with -XX:TieredStopAtLevel=2,3
Reviewed-by: dholmes
2022-10-03 23:16:51 +00:00
Serguei Spitsyn
f5ebbf3225 8292657: Calling GetLocalXXX from virtual thread with thread parameter set to NULL returns carrier locals
Reviewed-by: cjplummer, alanb
2022-08-30 18:28:05 +00:00