8081576: serviceability/sa tests fail due to LingeredApp process fails to start
Summary: Provide a API to corrctly terminate LingeredApp
Reviewed-by: sspitsyn
--- a/hotspot/test/serviceability/sa/TestClassLoaderStats.java Mon Jun 22 19:21:04 2015 -0400
+++ b/hotspot/test/serviceability/sa/TestClassLoaderStats.java Tue Jun 23 12:35:21 2015 +0300
@@ -68,7 +68,7 @@
output.stderrShouldNotMatch("[E|e]xception");
output.stderrShouldNotMatch("[E|e]rror");
} finally {
- app.stopApp();
+ LingeredApp.stopApp(app);
}
}
--- a/hotspot/test/serviceability/sa/TestStackTrace.java Mon Jun 22 19:21:04 2015 -0400
+++ b/hotspot/test/serviceability/sa/TestStackTrace.java Tue Jun 23 12:35:21 2015 +0300
@@ -66,7 +66,7 @@
output.stderrShouldNotMatch("[E|e]xception");
output.stderrShouldNotMatch("[E|e]rror");
} finally {
- app.stopApp();
+ LingeredApp.stopApp(app);
}
}