20 Commits

Author SHA1 Message Date
Yasumasa Suenaga
67cf35ee22 8240956: SEGV in DwarfParser::process_dwarf after JDK-8234624
Reviewed-by: sspitsyn, kevinw
2020-03-27 17:07:23 +09:00
Yasumasa Suenaga
069d9e792e 8234624: jstack mixed mode should refer DWARF
Reviewed-by: sspitsyn, kevinw
2020-03-12 09:23:05 +09:00
Matthias Baesken
dd393fadc4 8239462: jdk.hotspot.agent misses some ReleaseStringUTFChars calls in case of early returns
Reviewed-by: clanger, amenkov, sspitsyn
2020-02-24 09:59:31 +01:00
Matthias Baesken
0e49c4987d 8239224: libproc_impl.c previous_thr may be used uninitialized warning
Reviewed-by: clanger, dholmes
2020-02-18 16:33:56 +01:00
Yasumasa Suenaga
1e67b2c457 8235637: jhsdb jmap from OpenJDK 11.0.5 doesn't work if prelink is enabled
Error handling for "lib_base_diff == 0"

Reviewed-by: ysuenaga, cjplummer, kevinw
2019-12-24 04:47:44 -05:00
Yasumasa Suenaga
2e72b249ee 8233285: Demangling C++ symbols in jhsdb jstack --mixed
Reviewed-by: cjplummer, sspitsyn, ihse
2019-11-04 22:31:59 +09:00
Ioi Lam
dc66194e63 8231986: [SA] Consolidate parts of the Linux and MacOSX versions of ps_core.c
Reviewed-by: sspitsyn, cjplummer
2019-10-10 10:47:45 -07:00
Matthias Baesken
5c4be9cc8a 8230466: check malloc/calloc results in jdk.hotspot.agent
Reviewed-by: cjplummer, ysuenaga, sspitsyn
2019-09-05 09:59:43 +02:00
Yasumasa Suenaga
f37c24999d 8225636: SA can't handle prelinked libraries
Reviewed-by: sspitsyn, cjplummer
2019-06-18 10:54:00 +09:00
Aleksey Shipilev
b71c30f1b8 8224796: C code is not compiled correctly due to undefined "i386"
Reviewed-by: dholmes, mikael
2019-05-28 21:31:07 +02:00
Yasumasa Suenaga
ef3336ec27 8181313: SA: Remove libthread_db dependency on Linux
Reviewed-by: jgeorge, sballal
2019-01-18 14:43:25 +09:00
Jini George
12355f9ca8 8202884: SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
While doing a ptrace attach, do not attach to threads which are in the process of exiting or are zombies -- skip these threads.

Reviewed-by: jcbeyler, ysuenaga
2018-12-13 13:03:26 +05:30
Jini George
794a0e072d 8210836: Build fails with warn_unused_result in openjdk/src/jdk.hotspot.agent/linux/native/libsaproc/ps_core.c
Read in and process the return value of pread() while dealing with the PT_INTERP segment

Reviewed-by: stuefe, jcbeyler
2018-09-18 23:20:17 +05:30
Ioi Lam
73951ab5d9 8209657: Refactor filemap.hpp to simplify integration with Serviceability Agent
Added src/hotspot/share/include/cds.h

Reviewed-by: ccheung, sspitsyn, jgeorge
2018-08-17 13:53:53 -07:00
Yasumasa Suenaga
f45dc7748e 8205992: jhsdb cannot attach to Java processes running in Docker containers
Reviewed-by: cjplummer, jgeorge
2018-07-27 00:54:39 +09:00
Matthias Baesken
3ff52c18c6 8202200: set INCLUDE_SA to false on s390x by default
Reviewed-by: ihse, erikj, jgeorge
2018-04-24 17:56:25 +02:00
Jini George
ccc74fdd60 8174994: SA: clhsdb printmdo throws WrongTypeException when attached to a process with CDS
Read in the md region of the CDS archive in SA and map the vtable addresses to the corresponding metadata type.

Reviewed-by: iklam, coleenp, ysuenaga, dholmes
2018-04-26 12:25:36 +05:30
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
Magnus Ihse Bursie
3522b53f7b 8199682: Clean up building the saproc library
Reviewed-by: erikj, dholmes, sundar
2018-03-21 12:54:36 +01:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00