RFR(S): 8081037: serviceability/sa/ tests time out on Windows
yekaterina.kantserova at oracle.com
Wed May 27 13:02:00 UTC 2015
Could I please have a review of this fix.
webrev root: http://cr.openjdk.java.net/~ykantser/8081037/webrev.00
webrev jdk: http://cr.openjdk.java.net/~ykantser/8081037.jdk/webrev.00
From the bug:
"The problem is most likely that SA will pause the target process while
it is running. In this case, the target process is the same as the
process that launched SA. That process is also handling the output from
SA over a pipe, but when that pipe fills up the process cannot empty it
and the SA process is blocked because it cannot write any more output.
The solutions is to start a separate target process. Dmitry Samersoff
has already created a test application for such cases so I've decided to
move it on the top level library instead of duplicating it. The test
application will reside under test/lib/share/classes/jdk/test/lib/apps
and the test under test/lib-test/jdk/test/lib/apps.
More information about the hotspot-dev