Commit Graph

99 Commits

Author SHA1 Message Date
Julian Waters
8242c647b9 8310863: Build failure after JDK- 8305341
Reviewed-by: dholmes
2023-06-26 05:38:04 +00:00
Julian Waters
78c3831701 8305341: Alignment should be enforced by alignas instead of compiler specific attributes
Reviewed-by: mdoerr
2023-06-25 23:49:49 +00:00
Kevin Walls
939344b843 8304685: Fix whitespace parsing in libjdwp
Reviewed-by: cjplummer, amenkov, sspitsyn
2023-05-19 18:57:55 +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
Chris Plummer
1d517afbd4 8305209: JDWP exit error AGENT_ERROR_INVALID_THREAD(203): missing entry in running thread table
Reviewed-by: sspitsyn, lmesnik
2023-04-06 19:13:27 +00:00
Xue-Lei Andrew Fan
d287a5e9d8 8303617: update for deprecated sprintf for jdk.jdwp.agent
Reviewed-by: cjplummer, sspitsyn
2023-03-08 16:07:04 +00:00
Justin King
2cf8b8607d 8303071: Memory leaks in libjdwp
Reviewed-by: sspitsyn
2023-02-23 15:23:03 +00:00
Daniel Jeliński
d03a5d9580 8299593: getprotobyname should not be used
Reviewed-by: cjplummer
2023-01-09 07:32:55 +00:00
Chris Plummer
ccb94acc44 8287812: Cleanup JDWP agent GetEnv initialization
Reviewed-by: alanb, sspitsyn
2022-12-14 19:37:20 +00:00
Chris Plummer
1323e98df1 8297170: misc JCK tests fail with "FATAL ERROR in native method: JDWP Can't disable vthread end events, jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)"
Reviewed-by: amenkov, dcubed, lmesnik, sspitsyn
2022-11-30 18:08:19 +00:00
Lutz Schmidt
eac26f4eb2 8296709: WARNING: JNI call made without checking exceptions
Reviewed-by: kevinw, sspitsyn, clanger
2022-11-16 15:00:20 +00:00
Chris Plummer
fafe682967 8295861: get rid of list argument in debug agent's removeNode() API
Reviewed-by: amenkov, kevinw, sspitsyn
2022-11-15 17:37:59 +00:00
Chris Plummer
2f7dc5c4cd 8296089: Remove debug agent code for special handling of Thread.resume()
Reviewed-by: alanb
2022-11-14 20:22:45 +00:00
Chris Plummer
74f2b16a8e 8295303: cleanup debug agent's confusing use of EI_GC_FINISH
Reviewed-by: amenkov, sspitsyn
2022-11-08 21:37:24 +00:00
pandaapo
cf656056a3 8296445: C++ syntax error in jdwpTransport.h
Reviewed-by: cjplummer, lmesnik, sspitsyn
2022-11-08 06:28:54 +00:00
Chris Plummer
47d2c7b4cf 8295376: Improve debug agent virtual thread performance when no debugger is attached
Reviewed-by: sspitsyn, kevinw
2022-11-08 01:09:26 +00:00
Chris Plummer
fec61746d1 8295816: jdwp jck tests failing with "FATAL ERROR in native method: JDWP SetTag, jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)"
8295815: misc JDI tests failed with "JDWP exit error JVMTI_ERROR_WRONG_PHASE(112)"

Reviewed-by: sspitsyn, amenkov, dcubed
2022-10-25 22:14:36 +00:00
Chris Plummer
6289600fe8 8295810: cleanup debug agent removeThread() api
Reviewed-by: kevinw, sspitsyn, amenkov
2022-10-25 16:28:57 +00:00
Chris Plummer
218104247e 8295375: debug agent class tracking should not piggy back on the cbClassPrepare() callback
Reviewed-by: amenkov, sspitsyn
2022-10-21 18:34:43 +00:00
Chris Plummer
6ad151d096 8293143: Workaround for JDK-8292217 when doing "step over" of bytecode with unresolved cp reference
Reviewed-by: sspitsyn, amenkov
2022-09-27 21:20:41 +00:00
Zhengyu Gu
54854d9300 8256811: Delayed/missed jdwp class unloading events
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Reviewed-by: cjplummer, coleenp, sspitsyn
2022-07-22 12:27:04 +00:00
Daniel Jeliński
04c47da118 8289768: Clean up unused code
Reviewed-by: dfuchs, lancea, weijun, naoto, cjplummer, alanb, michaelm, chegar
2022-07-12 11:30:17 +00:00
Jesper Wilhelmsson
2a6ec88cd0 Merge 2022-07-06 21:01:10 +00:00
Chris Plummer
29ea6429d2 8287847: Fatal Error when suspending virtual thread after it has terminated
Reviewed-by: alanb, sspitsyn
2022-07-05 17:46:59 +00:00
Magnus Ihse Bursie
b4ab5fe1da 8288396: Always create reproducible builds
Reviewed-by: amenkov, ehelin
2022-06-28 09:00:45 +00:00
Chris Plummer
74be2d9ef6 8286983: rename jdb -trackvthreads and debug agent enumeratevthreads options and clarify "Preview Feature" nature of these options
Reviewed-by: amenkov, lmesnik, alanb
2022-06-07 19:07:34 +00:00
Magnus Ihse Bursie
76caeed498 8285366: Fix typos in serviceability
Reviewed-by: kevinw, sspitsyn
2022-05-13 15:17:22 +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
Roman Kennke
1dfa1eaea0 8284094: Memory leak in invoker_completeInvokeRequest()
Reviewed-by: cjplummer, shade
2022-04-01 16:28:26 +00:00
Chris Plummer
f5217b475e 8282852: Debug agent asserts in classTrack_addPreparedClass()
Reviewed-by: amenkov, lmesnik
2022-03-10 19:08:10 +00:00
Chris Plummer
253cf7852f 8282076: Merge some debug agent changes from the loom repo
Reviewed-by: amenkov, lmesnik
2022-02-23 21:09:41 +00:00
Zhengyu Gu
e1060bee2a 8281615: Deadlock caused by jdwp agent
Reviewed-by: dholmes, cjplummer
2022-02-23 03:04:34 +00:00
Roman Kennke
5ab22e88da 8276990: Memory leak in invoker.c fillInvokeRequest() during JDI operations
Reviewed-by: sspitsyn, cjplummer
2022-02-03 07:24:59 +00:00
Chris Plummer
841eae6f52 8269542: JDWP: EnableCollection support is no longer spec compliant after JDK-8255987
8258071: Fix for JDK-8255987 can be subverted with ObjectReference.EnableCollection

Reviewed-by: dholmes, pliden
2022-01-25 19:26:11 +00:00
Chris Plummer
46fd683820 8176567: nsk/jdi/ReferenceType/instances/instances002: TestFailure: Unexpected size of referenceType.instances(nsk.share.jdi.TestInterfaceImplementer1): 11, expected: 10
Reviewed-by: sspitsyn, amenkov
2022-01-18 19:31:16 +00:00
Chris Plummer
758fe9bed3 8273904: debug agent ArrayTypeImp::newInstance() fails to send reply packet if there is an error
Reviewed-by: sspitsyn, amenkov
2021-12-15 03:11:27 +00:00
Richard Reingruber
ca2efb73f5 8274687: JDWP deadlocks if some Java thread reaches wait in blockOnDebuggerSuspend
Reviewed-by: cjplummer, sspitsyn, rschmelter
2021-11-15 07:02:22 +00:00
Chris Plummer
04891c95e0 8273912: Add threadControl_dumpThread(jthread) function
Reviewed-by: kevinw, sspitsyn
2021-09-20 20:10:10 +00:00
Matthias Baesken
cd8783c08e 8270820: remove unused stiFileTableIndex from SDE.c
Reviewed-by: cjplummer, sspitsyn
2021-07-21 06:41:02 +00:00
Patrick Concannon
326b2e1344 8253119: Remove the legacy PlainSocketImpl and PlainDatagramSocketImpl implementation
Reviewed-by: alanb, dfuchs, chegar
2021-07-06 13:46:02 +00:00
Jesper Wilhelmsson
ee526a2ea8 Merge 2021-06-30 01:19:39 +00:00
Chris Plummer
7ca753bf0c 8269268: JDWP: Properly fix thread lookup assert in findThread()
Reviewed-by: kevinw, amenkov, sspitsyn
2021-06-29 18:45:52 +00:00
Chris Plummer
401cb0ad55 8269232: assert(!is_jweak(handle)) failed: wrong method for detroying jweak
Reviewed-by: rkennke, amenkov, sspitsyn, sgehwolf
2021-06-29 18:41:19 +00:00
Chris Plummer
33d34c6b67 8263323: Debug Agent help output includes invalid URL
Reviewed-by: kevinw, alanb
2021-06-09 19:03:16 +00:00
Chris Plummer
a8ddbd155b 8265683: vmTestbase/nsk/jdb tests failed with "JDWP exit error AGENT_ERROR_INTERNAL(181)"
Reviewed-by: amenkov, dcubed
2021-04-22 23:27:33 +00:00
Chris Plummer
e0fd5fc069 8265028: JDWP debug agent thread lookup can be made faster
Reviewed-by: sspitsyn, amenkov
2021-04-19 21:15:14 +00:00
Chris Plummer
2218e7268e 8262486: Merge trivial JDWP agent changes from the loom repo to the jdk repo
Reviewed-by: amenkov, lmesnik
2021-03-09 21:34:18 +00:00
Chris Plummer
d18d26e89d 8259350: Add some internal debugging APIs to the debug agent
Reviewed-by: sspitsyn, amenkov
2021-01-14 21:01:42 +00:00
Per Liden
79f1dfb8d3 8255987: JDI tests fail with com.sun.jdi.ObjectCollectedException
Reviewed-by: dholmes, cjplummer
2020-12-09 07:46:04 +00:00
Coleen Phillimore
0b7fba75c1 8254270: linux 32 bit build doesn't compile libjdwp/log_messages.c
Reviewed-by: redestad, cjplummer, dholmes, stuefe
2020-11-06 19:04:09 +00:00