122 Commits

Author SHA1 Message Date
Magnus Ihse Bursie
79345bbbae 8339783: Implement JEP 479: Remove the Windows 32-bit x86 Port
Reviewed-by: kbarrett, kvn, stuefe, shade, erikj
2024-11-13 09:41:57 +00:00
Justin Lu
714472d8a5 8341798: Fix ExceptionOccurred in jdk.jdwp.agent
Reviewed-by: dholmes, cjplummer
2024-11-04 21:36:51 +00:00
Johannes Bechberger
309b929147 8336401: Remove the option onjcmd from the jdwp agent
Reviewed-by: cjplummer, mbaesken
2024-10-18 23:39:05 +00:00
Chris Plummer
33e4bfdf91 8341295: Add some useful debugging APIs to the debug agent
Reviewed-by: amenkov, sspitsyn
2024-10-04 21:17:21 +00:00
Chris Plummer
5ebdf2d272 8338708: Don't create/destroy debug agent cmdQueueLock for each connection
Reviewed-by: amenkov, lmesnik
2024-09-03 19:06:00 +00:00
Magnus Ihse Bursie
a136a85b6f 8338768: Introduce runtime lookup to check for static builds
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Co-authored-by: Jiangli Zhou <jiangli@openjdk.org>
Reviewed-by: prr, jiangli, alanb
2024-09-02 09:14:36 +00:00
Julian Waters
cd9e241f0e 8336289: Obliterate most references to _snprintf in the Windows JDK
Reviewed-by: kbarrett, dholmes, jpai, mullan, djelinski, prr
2024-08-27 04:13:54 +00:00
Chris Plummer
723ac5763a 8332488: Add JVMTI DataDumpRequest to the debug agent
Reviewed-by: sspitsyn, lmesnik
2024-08-14 18:41:24 +00:00
Chris Plummer
c4e6255ac3 8332738: Debug agent can deadlock on callbackLock when using StackFrame.PopFrames
Reviewed-by: sspitsyn, amenkov
2024-07-29 16:55:38 +00:00
Robert Toyonaga
cc64aeac47 8332400: isspace argument should be a valid unsigned char
Reviewed-by: dholmes, amitkumar, stuefe, jwaters
2024-06-14 09:32:52 +00:00
Chris Plummer
966a42f9b3 8324868: debug agent does not properly handle interrupts of a virtual thread
Reviewed-by: sspitsyn, amenkov
2024-03-12 20:54:18 +00:00
Serguei Spitsyn
b92440f9b1 8247972: incorrect implementation of JVM TI GetObjectMonitorUsage
Reviewed-by: dcubed, lmesnik
2024-03-12 08:55:28 +00:00
Jiangli Zhou
0901dedefe 8326433: Make file-local functions static in src/jdk.jdwp.agent/unix/native/libjdwp/exec_md.c
Reviewed-by: cjplummer, sspitsyn
2024-02-27 01:34:19 +00:00
Magnus Ihse Bursie
e5cb78cc88 8324539: Do not use LFS64 symbols in JDK libs
Reviewed-by: jwaters, erikj, mbaesken, alanb
2024-02-12 08:04:39 +00:00
Jaikiran Pai
a663248786 8324668: JDWP process management needs more efficient file descriptor handling
Reviewed-by: gziemski, dholmes, cjplummer
2024-02-01 05:55:58 +00:00
Joachim Kern
22642ff0aa 8319382: com/sun/jdi/JdwpAllowTest.java shows failures on AIX if prefixLen of mask is larger than 32 in IPv6 case
Reviewed-by: mbaesken, amenkov
2024-01-17 09:34:09 +00:00
Alex Menkov
b530c0281b 8317804: com/sun/jdi/JdwpAllowTest.java fails on Alpine 3.17 / 3.18
Reviewed-by: cjplummer, mbaesken
2024-01-11 00:36:16 +00:00
Chris Plummer
387828a3f7 8322980: Debug agent's dumpThread() API should update thread's name before printing it
Reviewed-by: kevinw, sspitsyn
2024-01-08 16:56:44 +00:00
Chris Plummer
3fbccb01dc 8322978: Remove debug agent debugMonitorTimedWait() function. It is no longer used.
Reviewed-by: dholmes, sspitsyn
2024-01-04 17:22:49 +00:00
Matthias Baesken
53bb7cd415 8318957: enhance agentlib:jdwp help output by info about allow option
Reviewed-by: cjplummer
2023-11-02 10:06:37 +00:00
Johannes Bechberger
8f4ebd8921 8317920: JDWP-agent sends broken exception event with onthrow option
Reviewed-by: clanger, cjplummer
2023-10-20 08:52:46 +00:00
Liam Miller-Cushon
9291b46bcf 8313804: JDWP support for -Djava.net.preferIPv6Addresses=system
Reviewed-by: cjplummer, amenkov
2023-09-25 16:43:20 +00:00
Chris Plummer
fbe28ee90d 8314481: JDWPTRANSPORT_ERROR_INTERNAL code in socketTransport.c can never be executed
Reviewed-by: dcubed, sspitsyn
2023-08-18 17:46:36 +00:00
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