26 Commits

Author SHA1 Message Date
Anton Kozlov
dbc9e4b50c 8253795: Implementation of JEP 391: macOS/AArch64 Port
8253816: Support macOS W^X
8253817: Support macOS Aarch64 ABI in Interpreter
8253818: Support macOS Aarch64 ABI for compiled wrappers
8253819: Implement os/cpu for macOS/AArch64
8253839: Update tests and JDK code for macOS/Aarch64
8254941: Implement Serviceability Agent for macOS/AArch64
8255776: Change build system for macOS/AArch64
8262903: [macos_aarch64] Thread::current() called on detached thread

Co-authored-by: Vladimir Kempik <vkempik@openjdk.org>
Co-authored-by: Bernhard Urban-Forster <burban@openjdk.org>
Co-authored-by: Ludovic Henry <luhenry@openjdk.org>
Co-authored-by: Monica Beckwith <mbeckwit@openjdk.org>
Reviewed-by: erikj, ihse, prr, cjplummer, stefank, gziemski, aph, mbeckwit, luhenry
2021-03-25 18:10:18 +00:00
Yasumasa Suenaga
3b350ad87f 8261710: SA DSO objects have sizes that are too large
Reviewed-by: sspitsyn, cjplummer
2021-03-02 06:56:40 +00:00
Chris Plummer
55d7bbcec0 8261607: SA attach is exceeding JNI Local Refs capacity
Reviewed-by: sgehwolf, amenkov
2021-02-16 21:16:55 +00:00
Phil Race
2be60e37e0 8257988: Remove JNF dependency from libsaproc/MacosxDebuggerLocal.m
Reviewed-by: ihse, cjplummer
2021-02-03 21:58:02 +00:00
Phil Race
62a67c5d90 Merge 2020-08-11 10:56:30 -07:00
Phil Race
c32923e06f 8240487: Cleanup whitespace in .cc, .hh, .m, and .mm files
Reviewed-by: serb, kizune, kcr, cjplummer
2020-08-06 09:43:10 -07:00
Chris Plummer
9886b7e9e9 8248879: SA core file support on OSX has some bugs trying to locate the jvm libraries
Reviewed-by: sspitsyn, amenkov
2020-08-06 13:14:15 -07:00
Yasumasa Suenaga
36b129fe84 8250826: jhsdb does not work with coredump which comes from Substrate VM
Reviewed-by: cjplummer, sspitsyn
2020-08-05 09:24:02 +09:00
Chris Plummer
d12fdfa3b7 8250750: JDK-8247515 fix for OSX pc_to_symbol() lookup fails with some symbols
Reviewed-by: sspitsyn, kevinw
2020-08-03 16:11:41 -07:00
Chris Plummer
ab729d7075 8247515: OSX pc_to_symbol() lookup does not work with core files
Reviewed-by: sspitsyn, kevinw
2020-07-28 09:52:07 -07:00
Chris Plummer
4858141ce4 8247533: SA stack walking sometimes fails with sun.jvm.hotspot.debugger.DebuggerException: get_thread_regs failed for a lwp
Reviewed-by: sspitsyn, ysuenaga, dtitov
2020-07-02 13:13:10 -07:00
Tom Rodriguez
29936542ad 8247246: Add explicit ResolvedJavaType.link and expose presence of default methods
Reviewed-by: kvn
2020-06-24 10:42:26 -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
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
Simon Tooke
a7023d7c88 8232973: Potential infinite loop in macOS hotspot agent
Reviewed-by: stuefe, cjplummer, sspitsyn
2019-11-04 13:58:33 +01: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
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
Matthias Baesken
679f30ebc3 8214373: adjust usage of ReleaseLongArrayElements in MacosxDebuggerLocal
Reviewed-by: stuefe, jcbeyler
2018-11-27 15:56:10 +01:00
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
Jini George
93314be3c2 8189429: SA: MacOSX: Replace the deprecated PT_ATTACH with PT_ATTACHEXC
Avoid the waitpid() and receive, handle and reply to the incoming Mach exception message obtained with PT_ATTACHEXC.

Reviewed-by: sballal, erikj, gziemski, rwestberg, dholmes, dcubed, poonam, dsamersoff
2018-06-27 20:04:31 +05:30
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
3522b53f7b 8199682: Clean up building the saproc library
Reviewed-by: erikj, dholmes, sundar
2018-03-21 12:54:36 +01:00
Jini George
42d3f8d610 8191324: SA cleanup -- part 2
Avoid redefinition of hotspot constants and ia64 code vestiges removal

Reviewed-by: sspitsyn, dholmes, coleenp
2017-11-30 21:24:52 +05:30
Jini George
e8fe842a41 8184042: several serviceability/sa tests timed out on MacOS X
Restore the ptrace attach argument to PT_ATTACH from PT_ATTACHEXC

Reviewed-by: dholmes, sspitsyn, dcubed, poonam, dsamersoff
2017-10-16 23:23:27 -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