199 Commits

Author SHA1 Message Date
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
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
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
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
Alex Menkov
48155662af 8228604: StackMapFrames are missing from redefined class bytes of retransformed classes
Reviewed-by: cjplummer, sspitsyn
2023-02-09 19:37:32 +00:00
Leonid Mesnik
2d50c7d477 8298979: Remove duplicated serviceability/jvmti/thread/GetAllThreads/allthr01/allthr01.java
Reviewed-by: sspitsyn
2023-02-02 15:10:27 +00:00
Xue-Lei Andrew Fan
e80b5ea448 8299635: Hotspot update for deprecated sprintf in Xcode 14
Reviewed-by: dholmes, mikael
2023-01-25 15:42:53 +00:00
Daniel Jeliński
50e7df91c7 8300024: Replace use of JNI_COMMIT mode with mode 0
Reviewed-by: amenkov, sspitsyn, cjplummer
2023-01-16 06:58:27 +00:00
Andrew Haley
221e1a4260 8286666: JEP 429: Implementation of Scoped Values (Incubator)
Reviewed-by: psandoz, dlong, alanb, mcimadamore
2022-12-07 10:14:06 +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
Leonid Mesnik
3ea89711e3 8269817: serviceability/jvmti/DynamicCodeGenerated/DynamicCodeGeneratedTest.java timed out with -Xcomp
Reviewed-by: cjplummer, kevinw, sspitsyn
2022-11-19 20:31:37 +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
Leonid Mesnik
c206f28629 8283101: serviceability/jvmti/thread/GetFrameCount/framecnt01/framecnt01.java failing #VirtualThread-Frozen: number of frames expected: 14, got: 9
Reviewed-by: sspitsyn, kevinw
2022-11-04 17:01:57 +00:00
Leonid Mesnik
3bd3caf897 8294486: Remove vmTestbase/nsk/jvmti/ tests ported to serviceability/jvmti.
Reviewed-by: sspitsyn
2022-10-25 22:48:00 +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
Leonid Mesnik
0475c34120 8292386: jvmti/thread/SuspendThread/suspendthrd03 failed with "FAIL: Status is 2"
Reviewed-by: sspitsyn, dcubed
2022-10-12 14:59:19 +00:00
Alex Menkov
495c043533 7124710: interleaved RedefineClasses() and RetransformClasses() calls may have a problem
Reviewed-by: sspitsyn, dcubed
2022-10-07 23:02:19 +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
Leonid Mesnik
543851db92 8289607: Change hotspot/jtreg tests to not use Thread.suspend/resume
Reviewed-by: sspitsyn, cjplummer
2022-09-23 17:44:57 +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
Jesper Wilhelmsson
d9ca438d06 Merge 2022-07-12 16:16:16 +00:00
Serguei Spitsyn
c3806b93c4 8289709: fatal error: stuck in JvmtiVTMSTransitionDisabler::disable_VTMS_transitions
Reviewed-by: alanb, amenkov, lmesnik
2022-07-11 22:44:03 +00:00
Coleen Phillimore
e7795851d2 8271707: migrate tests to use jdk.test.whitebox.WhiteBox
Reviewed-by: lmesnik, dholmes
2022-07-08 15:55:14 +00:00
Jesper Wilhelmsson
2a6ec88cd0 Merge 2022-07-06 21:01:10 +00:00
Serguei Spitsyn
c4dcce4bca 8289619: JVMTI SelfSuspendDisablerTest.java failed with RuntimeException: Test FAILED: Unexpected thread state
Reviewed-by: alanb, cjplummer
2022-07-02 20:43:11 +00:00
Jesper Wilhelmsson
70f5693356 Merge 2022-07-02 18:07:36 +00:00
Serguei Spitsyn
9515560c54 8288703: GetThreadState returns 0 for virtual thread that has terminated
Reviewed-by: alanb, amenkov, cjplummer
2022-07-02 05:43:43 +00:00
Jesper Wilhelmsson
d4b040f42d Merge 2022-06-27 18:25:53 +00:00
Leonid Mesnik
4cdb97893c 8289098: clean up ported serviceability/jvmti tests
Reviewed-by: kevinw, sspitsyn
2022-06-24 18:13:23 +00:00
Serguei Spitsyn
4c9ea7e66a 8286580: serviceability/jvmti/vthread/GetSetLocalTest failed with assert: Not supported for heap frames
Reviewed-by: lmesnik, rpressler, cjplummer
2022-06-23 16:21:32 +00:00
Alan Bateman
c76a06aeb5 8288214: serviceability/jvmti/vthread/VThreadNotifyFramePopTest/VThreadNotifyFramePopTest.java test failed
Reviewed-by: lmesnik, zgu, dcubed, sspitsyn
2022-06-14 13:00:27 +00:00
Aleksey Shipilev
3cfd38caf1 8287726: Fix JVMTI tests with "requires vm.continuations" after JDK-8287496
Reviewed-by: alanb, rehn, lmesnik
2022-06-02 15:58:08 +00:00
Alan Bateman
6ff2d89ea1 8287496: Alternative virtual thread implementation that maps to OS thread
Reviewed-by: rehn, mchung
2022-06-02 09:02:37 +00:00
Ichiroh Takiguchi
66340372d5 8287362: FieldAccessWatch testcase failed on AIX platform
Reviewed-by: cjplummer, mdoerr
2022-05-28 05:33:08 +00:00
Serguei Spitsyn
a0cccb5479 8286490: JvmtiEventControllerPrivate::set_event_callbacks CLEARING_MASK computation is incorrect
Reviewed-by: jbachorik, lmesnik, amenkov
2022-05-25 06:24:39 +00:00
Leonid Mesnik
82d257006d 8283001: windows-x86-cmp-baseline fails in some jvmti native libs
Reviewed-by: sspitsyn, amenkov
2022-05-12 02:30:17 +00:00
Alan Bateman
9583e3657e 8284161: Implementation of Virtual Threads (Preview)
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Alex Menkov
0cd46f655a 8283597: [REDO] Invalid generic signature for redefined classes
Reviewed-by: sspitsyn, coleenp
2022-04-04 20:39:44 +00:00
Alex Menkov
5cf580e0fb 8283587: [BACKOUT] Invalid generic signature for redefined classes
Reviewed-by: lmesnik, dcubed, sspitsyn
2022-03-24 04:41:38 +00:00
Alex Menkov
f01773956f 8282241: Invalid generic signature for redefined classes
Reviewed-by: coleenp, sspitsyn
2022-03-23 18:31:34 +00:00
Aleksey Shipilev
7b91bbba82 8282170: JVMTI SetBreakpoint metaspace allocation test
Reviewed-by: cjplummer, lmesnik
2022-03-10 18:53:59 +00:00
Matteo Baccan
ccad39237a 8282657: Code cleanup: removing double semicolons at the end of lines
Reviewed-by: lancea, rriggs, ihse, prr, iris, wetmore, darcy, dholmes
2022-03-07 21:33:40 +00:00
Alex Menkov
63e43030ed 8278519: serviceability/jvmti/FieldAccessWatch/FieldAccessWatch.java failed "assert(handle != __null) failed: JNI handle should not be null"
Reviewed-by: cjplummer, sspitsyn
2021-12-18 08:08:47 +00:00
Leonid Mesnik
33e2a518eb 8265795: vmTestbase/nsk/jvmti/AttachOnDemand/attach022/TestDescription.java fails when running with JEP 416
Reviewed-by: sspitsyn, dholmes
2021-11-22 17:11:34 +00:00
Igor Ignatyev
cea3f01046 8275666: serviceability/jvmti/GetObjectSizeClass.java shouldn't have vm.flagless
Reviewed-by: lmesnik
2021-10-20 19:24:46 +00:00
Jesper Wilhelmsson
0dcfc42f23 Merge 2021-07-24 01:06:15 +00:00
Igor Ignatyev
e90ed6cc38 8271173: serviceability/jvmti/GetObjectSizeClass.java doesn't check exit code
Reviewed-by: dholmes
2021-07-23 15:53:48 +00:00
Leonid Mesnik
09e5321763 8225313: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatObjectCorrectnessTest.java failed with Unexpected high difference percentage
Reviewed-by: dholmes, kevinw
2021-07-22 18:19:16 +00:00