< prev index next >

test/compiler/compilercontrol/share/scenario/Executor.java

Print this page




   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 package compiler.compilercontrol.share.scenario;
  25 
  26 import compiler.compilercontrol.share.actions.BaseAction;
  27 import jdk.test.lib.Asserts;
  28 import jdk.test.lib.OutputAnalyzer;
  29 import jdk.test.lib.ProcessTools;
  30 import jdk.test.lib.dcmd.CommandExecutor;
  31 import jdk.test.lib.dcmd.PidJcmdExecutor;
  32 
  33 import java.io.BufferedReader;
  34 import java.io.IOException;
  35 import java.io.InputStreamReader;
  36 import java.io.PrintWriter;
  37 import java.lang.reflect.Executable;
  38 import java.net.ServerSocket;
  39 import java.net.Socket;
  40 import java.util.ArrayList;
  41 import java.util.Collections;
  42 import java.util.List;
  43 import java.util.Map;
  44 
  45 public class Executor {
  46     private final boolean isValid;
  47     private final List<String> vmOptions;
  48     private final Map<Executable, State> states;
  49     private final List<String> jcmdCommands;




   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 package compiler.compilercontrol.share.scenario;
  25 
  26 import compiler.compilercontrol.share.actions.BaseAction;
  27 import jdk.test.lib.Asserts;
  28 import jdk.test.lib.process.OutputAnalyzer;
  29 import jdk.test.lib.process.ProcessTools;
  30 import jdk.test.lib.dcmd.CommandExecutor;
  31 import jdk.test.lib.dcmd.PidJcmdExecutor;
  32 
  33 import java.io.BufferedReader;
  34 import java.io.IOException;
  35 import java.io.InputStreamReader;
  36 import java.io.PrintWriter;
  37 import java.lang.reflect.Executable;
  38 import java.net.ServerSocket;
  39 import java.net.Socket;
  40 import java.util.ArrayList;
  41 import java.util.Collections;
  42 import java.util.List;
  43 import java.util.Map;
  44 
  45 public class Executor {
  46     private final boolean isValid;
  47     private final List<String> vmOptions;
  48     private final Map<Executable, State> states;
  49     private final List<String> jcmdCommands;


< prev index next >