RFR: 8163805: hotspot/test/serviceability/sa/sadebugd/SADebugDTest.java failed with timed out

Yasumasa Suenaga yasuenag at gmail.com
Fri May 17 05:59:42 UTC 2019


Hi all,

Please review a patch of testbug for debugd server:

   JBS: https://bugs.openjdk.java.net/browse/JDK-8163805
   webrev: http://cr.openjdk.java.net/~ysuenaga/JDK-8163805/webrev.00/

This issue has been reported since 2016, but it is not fixed yet.

Root cause of this problem is `jhsdb` attempt to attach to test process.
test process is parent of `jhsdb`. So jhsdb calls ptrace syscall to its 
parent.
(test process is hanged by ptrace(2), so it cannot check the response 
from jhsdb.)

We should use LingeredApp like jhsdb testcases.


This is a testbug. It works fine with all serviceability/sa tests on my 
Linux x64.


Thanks,

Yasumasa


More information about the serviceability-dev mailing list