8271169: runtime/Safepoint/TestAbortVMOnSafepointTimeout.java can be run in driver mode

Reviewed-by: dholmes
This commit is contained in:
Igor Ignatyev 2021-07-22 23:21:39 +00:00
parent 2d165a2bdf
commit 84be910e1d

View File

@ -31,9 +31,9 @@ import sun.hotspot.WhiteBox;
* @summary Check if VM can kill thread which doesn't reach safepoint.
* @bug 8219584 8227528
* @library /testlibrary /test/lib
* @build TestAbortVMOnSafepointTimeout
* @build sun.hotspot.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI TestAbortVMOnSafepointTimeout
* @run driver TestAbortVMOnSafepointTimeout
*/
public class TestAbortVMOnSafepointTimeout {