RFR: SA: MacOS X: 8184042: several serviceability/sa tests timed out on MacOS X
Jini George
jini.george at oracle.com
Fri Aug 18 10:00:34 UTC 2017
Hi all,
Requesting reviews for: https://bugs.openjdk.java.net/browse/JDK-8184042
Webrev: http://cr.openjdk.java.net/~jgeorge/8184042/webrev.00/
Problem gist: The deprecated ptrace() command, PT_ATTACH was changed to
PT_ATTACHEXC, which causes mach exceptions (and not UNIX signals) to be
delivered via mach messages.This caused SA to hang at waitpid() waiting
for a signal, which does not arrive.
Solution in a nutshell: The solution is to make the required changes to
handle mach 'soft signal' exceptions in the form of mach messages
instead of signals, while attaching to and detaching from the target
process. The detailed steps are outlined in JBS.
The changes appear huge due to the inclusion of pre-generated mach
exception handling files (mach_exc*). Since this is an integration
blocker, it would be great to get quick reviews on this.
Thank you,
Jini.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20170818/540fff94/attachment-0001.html>
More information about the serviceability-dev
mailing list