Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8189429

SA: MacOSX: Replace the deprecated PT_ATTACH with PT_ATTACHEXC

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      x86
    • OS:
      os_x

      Backports

        Description

        The argument PT_ATTACH for ptrace() attaching to a target process is deprecated and has to be replaced by PT_ATTACHEXC. This causes signals (SIGSTOP during attach) from the debuggee to be delivered as Mach exceptions. Modifications would need to be done within SA to handle these. The webrev for the change is at: http://cr.openjdk.java.net/~jgeorge/8184042/webrev.00/ and the mails wrt this are at: http://mail.openjdk.java.net/pipermail/serviceability-dev/2017-August/021702.html

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jgeorge Jini George
                  Reporter:
                  jgeorge Jini George
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: