hg: jdk/jdk: 8202884: SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
jini.george at oracle.com
jini.george at oracle.com
Thu Dec 13 07:34:03 UTC 2018
Changeset: b9d34a97a4be
Author: jgeorge
Date: 2018-12-13 13:03 +0530
URL: http://hg.openjdk.java.net/jdk/jdk/rev/b9d34a97a4be
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
! src/jdk.hotspot.agent/linux/native/libsaproc/libproc_impl.c
! src/jdk.hotspot.agent/linux/native/libsaproc/libproc_impl.h
! src/jdk.hotspot.agent/linux/native/libsaproc/ps_proc.c
More information about the jdk-changes
mailing list