8268534: some serviceability/jvmti tests should be run in driver mode

Reviewed-by: sspitsyn
This commit is contained in:
Igor Ignatyev 2021-06-10 09:52:07 +00:00
parent 92f0b6d49e
commit e0c0b139d3
4 changed files with 7 additions and 7 deletions

@ -39,7 +39,7 @@ import jdk.test.lib.process.ProcessTools;
* jdk.internal.jvmstat/sun.jvmstat.monitor
* @build GetObjectSizeClassAgent
* @run driver jdk.test.lib.helpers.ClassFileInstaller GetObjectSizeClassAgent
* @run main GetObjectSizeClass
* @run driver GetObjectSizeClass
*/
public class GetObjectSizeClass {
public static void main(String[] args) throws Exception {

@ -29,8 +29,8 @@
* @modules java.base/jdk.internal.misc
* @modules java.instrument
* jdk.jartool/sun.tools.jar
* @run main RedefineLeak buildagent
* @run main/othervm/timeout=6000 RedefineLeak runtest
* @run driver RedefineLeak buildagent
* @run driver/timeout=6000 RedefineLeak runtest
*/
import java.io.FileNotFoundException;

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -32,7 +32,7 @@
* java.management
* jdk.jartool/sun.tools.jar
* @compile -XDignore.symbol.file TestLambdaFormRetransformation.java
* @run main TestLambdaFormRetransformation
* @run driver TestLambdaFormRetransformation
*/
import java.io.IOException;

@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -34,7 +34,7 @@
* jdk.jartool/sun.tools.jar
* jdk.internal.jvmstat/sun.jvmstat.monitor
* @build UnresolvedClassAgent
* @run main TestRedefineWithUnresolvedClass
* @run driver TestRedefineWithUnresolvedClass
*/
import java.io.File;