hg: jdk8u/jdk8u/hotspot: 8202884: SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching

adinn at redhat.com adinn at redhat.com
Thu May 30 08:54:40 UTC 2019


Changeset: fba8dbd018a6
Author:    adinn
Date:      2019-05-29 09:09 +0100
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/fba8dbd018a6

8202884: SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
Summary: 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

! agent/src/os/linux/libproc_impl.c
! agent/src/os/linux/libproc_impl.h
! agent/src/os/linux/ps_proc.c



More information about the jdk8u-changes mailing list