hg: jdk-updates/jdk11u-dev: 8202884: SA: Attach/detach might fail on Linux if debugee application create/destroy threads during attaching
christoph.langer at sap.com
christoph.langer at sap.com
Mon Mar 11 15:30:36 UTC 2019
Changeset: f3f367ec771b
Author: jgeorge
Date: 2018-12-13 13:03 +0530
URL: http://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/f3f367ec771b
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-updates-changes
mailing list