Commit Graph

99 Commits

Author SHA1 Message Date
Chris Plummer
e42c134038 8255706: The JDWP debug agent unecessarily checks for JVMTI_ERROR_INTERRUPT after calling RawMonitorEnter
Reviewed-by: alanb, dholmes, sspitsyn
2020-11-05 23:18:01 +00:00
Chris Plummer
166c728300 8255858: Add debug agent support for storing thread names
Reviewed-by: sspitsyn, amenkov
2020-11-04 22:43:34 +00:00
Chris Plummer
c774741655 8255695: Some JVMTI calls in the jdwp debug agent are using FUNC_PTR instead of JVMTI_FUNC_PTR
Reviewed-by: sspitsyn, amenkov
2020-11-02 20:31:49 +00:00
Chris Plummer
ceba2f8503 8255696: JDWP debug agent's canSuspendResumeThreadLists() should be removed
Reviewed-by: amenkov, sspitsyn
2020-11-02 20:23:44 +00:00
Chris Plummer
a250716ad2 8255694: memory leak in JDWP debug agent after calling JVMTI GetAllThreads
Reviewed-by: amenkov, sspitsyn
2020-11-02 20:13:32 +00:00
Aleksei Voitylov
63009f90ec 8247589: Implementation of Alpine Linux/x64 Port
Co-authored-by: Mikael Vidstedt <mikael@openjdk.org>
Co-authored-by: Alexander Scherbatiy <alexsch@openjdk.org>
Co-authored-by: Axel Siebenborn <asiebenborn@openjdk.org>
Co-authored-by: Aleksei Voitylov <avoitylov@openjdk.org>
Reviewed-by: alanb, erikj, dholmes
2020-10-13 09:35:58 +00:00
Adam Farley
4dfa411247 8252997: Null-proofing for linker_md.c
Reviewed-by: sspitsyn
2020-10-07 08:05:27 +00:00
Daniel D. Daugherty
02062b34ad 8252551: JDK-8250630 causes build error on Win*
Reviewed-by: dsamersoff
2020-08-30 12:20:59 -04:00
Dmitry Samersoff
09e86303ab 8250630: test/jdk/com/sun/jdi/JdwpListenTest.java fails on Alpine Linux
Make sure that IN6ADDR_ANY is preferred over mapped INADDR_ANY

Reviewed-by: amenkov, sspitsyn
2020-08-30 15:48:16 +03:00
Alex Menkov
f3c463b50a 8244703: "platform encoding not initialized" exceptions with debugger, JNI
Reviewed-by: alanb, sspitsyn
2020-05-28 11:39:51 -07:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Daniil Titov
9d4872f612 8241080: Consolidate signature parsing code in serviceability tools
Reviewed-by: sspitsyn, cjplummer
2020-05-19 09:40:21 -07:00
Mandy Chung
7cc1371059 8238358: Implementation of JEP 371: Hidden Classes
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Erik Joelsson
4df99aa7ae 8226346: Build better binary builders
Reviewed-by: tbell
2019-12-13 08:27:51 -08:00
Aleksey Shipilev
9e9f110d05 8241750: x86_32 build failure after JDK-8227269
Reviewed-by: rkennke, cjplummer
2020-03-27 19:05:07 +01:00
Roman Kennke
1dd60a35d1 8227269: Slow class loading when running with JDWP
Reviewed-by: sspitsyn, cjplummer
2020-01-22 15:55:02 +01:00
Martin Doerr
3adad5a645 8239856: [ntintel] asserts about copying unaligned array element
Reviewed-by: stuefe, sspitsyn
2020-03-06 11:04:31 +01:00
Chris Plummer
518f1f9a6e 8240142: Fix copyright in ThreadGroupReferenceImpl.h
Reviewed-by: dholmes
2020-02-27 13:51:04 -08:00
Chris Plummer
78ff45ee33 8236913: debug agent's jdwp command logging should include the command set name and command name
Reviewed-by: amenkov, sspitsyn
2020-01-23 04:14:11 +00:00
Alex Menkov
3f93ec68ee 8224159: JDWP IPv6 scope support
Reviewed-by: sspitsyn, cjplummer
2019-10-31 14:23:06 -07:00
Daniil Titov
76d7e33569 8227231: JDWP help information shows use of obsolete Xdebug flag
Reviewed-by: dholmes, sspitsyn, amenkov
2019-10-14 11:24:23 -07:00
Florian Weimer
cb9510da2b 8231600: Avoid GCC 8 strncpy error in jdk.jdwp.agent
Reviewed-by: cjplummer, amenkov
2019-09-28 11:04:01 +02:00
Alex Menkov
0edf6c1341 8186825: some memory leak issues in the transport_startTransport
Reviewed-by: sspitsyn, phh
2019-09-18 12:13:56 -07:00
Adam Farley
d57af04737 8229378: jdwp library loader in linker_md.c quietly truncates on buffer overflow
Check buffer overflow when the jdwp agent full dll name is built

Reviewed-by: cjplummer, sspitsyn
2019-09-11 23:10:14 +00:00
Ralf Schmelter
334e93b09e 8226608: Hide the onjcmd option from the help output
Reviewed-by: sspitsyn, clanger
2019-06-27 00:51:04 -07:00
Ao Qi
d1be916626 8224028: loop initial declarations introduced by JDK-8184770
Reviewed-by: dfuchs, amenkov, sspitsyn
2019-05-16 21:25:53 +08:00
Alex Menkov
e18cecafb9 8184770: JDWP support for IPv6
Reviewed-by: sspitsyn, chegar
2019-05-15 11:06:33 -07:00
Serguei Spitsyn
1c202572d5 8219023: Investigate syncing JVMTI spec version with JDK version
Auto sync versions with the jdk versions

Reviewed-by: dholmes, jcbeyler, cjplummer
2019-05-14 02:07:13 -07:00
Ralf Schmelter
ebedd5cb26 8222529: sun.jdwp.listenerAddress agent property uses wrong encoding
Reviewed-by: sspitsyn, amenkov, clanger, erikj
2019-04-17 01:21:56 -07:00
Brian Burkhalter
b5783d5055 6504660: HPI panic callback is dead code
Reviewed-by: dcubed, cjplummer, redestad
2019-03-13 07:16:57 -07:00
Dmitry Chuyko
d8e91975b6 8214854: JDWP: Unforseen output truncation in logging
Reviewed-by: cjplummer, dholmes
2019-03-02 11:42:04 +03:00
Gary Adams
9badb07565 8215550: Debugger does not work after reattach
Reviewed-by: cjplummer, sspitsyn
2019-01-31 07:24:28 -05:00
Prasanta Sadhukhan
f6fcaf0f7d Merge 2019-01-07 11:02:11 +05:30
Alexey Ivanov
6523aac141 8214122: JDWP is broken on 32 bit Windows: transport library missing onLoad entry
Reviewed-by: ihse, dcubed
2018-12-20 12:44:41 +00:00
Ralf Schmelter
8c4f51f666 8214892: Delayed starting of debugging via jcmd
Reviewed-by: cjplummer, clanger
2018-12-12 11:34:08 +00:00
Simon Tooke
2dd1c19b64 8214061: Buffer written into itself
Actually write the msg text into the buffer.

Reviewed-by: dcubed, sgehwolf, sspitsyn
2018-12-04 17:54:13 +01:00
Matthias Baesken
19ca9280a6 8211146: fix problematic elif-tests after recent gcc warning changes Werror=undef
Reviewed-by: stuefe, clanger, dholmes, chegar, alanb
2018-09-26 14:28:37 +02:00
Volker Simonis
3b002460a1 8205608: Fix 'frames()' in ThreadReferenceImpl.c to prevent quadratic runtime behavior
Reviewed-by: sspitsyn, cjplummer
2018-07-23 15:17:14 +02:00
Goetz Lindenmaier
fc20a5d86b 8207233: Minor improvements of jdk C-coding
Reviewed-by: rriggs, prr
2018-07-13 17:42:24 +02:00
Matthias Baesken
2e9d5e3d8a 8206145: dbgsysSocketClose - do not restart close if errno is EINTR [linux]
Reviewed-by: alanb, stuefe
2018-07-04 16:54:56 +02:00
David Holmes
95bf19563b 8010319: Implementation of JEP 181: Nest-Based Access Control
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Maurizio Mimadamore <maurizio.mimadamore@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Tobias Hartmann <tobias.hartmann@oracle.com>
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: John Rose <john.r.rose@oracle.com>
Co-authored-by: Daniel Smith <daniel.smith@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Kumar Srinivasan <kumardotsrinivasan@gmail.com>
Co-authored-by: Boris Ulasevich <boris.ulasevich@bell-sw.com>
Reviewed-by: alanb, psandoz, mchung, coleenp, acorn, mcimadamore, forax, jlahoda, sspitsyn, abuckley
2018-06-23 01:32:41 -04:00
Iris Clark
03096d9b75 8203500: Fix broken links to Specification in "specs" directory
Reviewed-by: jjg, lancea, mchung
2018-05-21 18:44:09 -07:00
Magnus Ihse Bursie
89f6ccb93e 8200178: Remove mapfiles for JDK native libraries
Reviewed-by: erikj, alanb, mchung, prr, weijun
2018-03-28 23:56:08 +02:00
Chris Plummer
e2f49705aa 8196909: gcc 7.2.1 compiler warning in libdt_socket
Fixed warning

Reviewed-by: sspitsyn, clanger
2018-02-15 09:22:25 -08:00
Gary Adams
40f004ad8c 8080990: libdt_socket/socket_md.c(202) : warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW()
Reviewed-by: erikj, clanger, chegar
2018-02-08 09:24:44 -05:00
Christoph Langer
4b41440094 8193258: Better usage of JDWP HEADER SIZE
Reviewed-by: sspitsyn, cjplummer
2017-12-12 09:16:12 +01:00
Christoph Langer
03193f6b9b 8192978: Missing checks and small fixes in jdwp library
Reviewed-by: cjplummer, sspitsyn
2017-12-11 08:20:05 +01:00
Serguei Spitsyn
195531f733 8177901: JDWP exit error JVMTI_ERROR_WRONG_PHASE(112): on checking for an interface
Add synchronization between CommandLoop and cbVMDeath callback

Reviewed-by: dholmes, dcubed
2017-09-26 00:52:29 -07:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00