HotSpotVirtualMachine.execute
Code IndexAdd Codota to your IDE (free)

Best code snippets using sun.tools.attach.HotSpotVirtualMachine.execute(Showing top 12 results out of 315)

origin: org.jmockit/jmockit

private InputStream executeCommand(String cmd, Object ... args) throws IOException {
  try {
    return execute(cmd, args);
  } catch (AgentLoadException x) {
    throw new InternalError("Should not get here", x);
  }
}
origin: org.jmockit/jmockit

private void loadAgentLibrary(String agentLibrary, boolean isAbsolute, String options)
  throws AgentLoadException, AgentInitializationException, IOException
{
  InputStream in = execute("load",
               agentLibrary,
               isAbsolute ? "true" : "false",
               options);
  try {
    int result = readInt(in);
    if (result != 0) {
      throw new AgentInitializationException("Agent_OnAttach failed", result);
    }
  } finally {
    in.close();
  }
}
origin: org.avaje/avaje-agentloader

private InputStream executeCommand(String cmd, Object ... args) throws IOException {
  try {
    return execute(cmd, args);
  } catch (AgentLoadException x) {
    throw new InternalError("Should not get here");
  }
}
origin: org.jmockit/jmockit

private InputStream executeCommand(String cmd, Object ... args) throws IOException {
  try {
    return execute(cmd, args);
  } catch (AgentLoadException x) {
    throw new InternalError("Should not get here", x);
  }
}
origin: jmockit/jmockit1

private InputStream executeCommand(String cmd, Object ... args) throws IOException {
  try {
    return execute(cmd, args);
  } catch (AgentLoadException x) {
    throw new InternalError("Should not get here", x);
  }
}
origin: com.googlecode.jmockit/jmockit

private InputStream executeCommand(String cmd, Object ... args) throws IOException {
  try {
    return execute(cmd, args);
  } catch (AgentLoadException x) {
    throw new InternalError("Should not get here");
  }
}
origin: org.powermock/powermock-module-javaagent

private InputStream executeCommand(String cmd, Object ... args) throws IOException {
  try {
    return execute(cmd, args);
  } catch (AgentLoadException x) {
    throw new InternalError("Should not get here");
  }
}
origin: org.powermock/powermock-module-javaagent

private void loadAgentLibrary(String agentLibrary, boolean isAbsolute, String options)
  throws AgentLoadException, AgentInitializationException, IOException
{
  InputStream in = execute("load",
               agentLibrary,
               isAbsolute ? "true" : "false",
               options);
  try {
    int result = readInt(in);
    if (result != 0) {
      throw new AgentInitializationException("Agent_OnAttach failed", result);
    }
  } finally {
    in.close();
  }
}
origin: org.jmockit/jmockit

private void loadAgentLibrary(String agentLibrary, boolean isAbsolute, String options)
  throws AgentLoadException, AgentInitializationException, IOException
{
  InputStream in = execute("load",
               agentLibrary,
               isAbsolute ? "true" : "false",
               options);
  try {
    int result = readInt(in);
    if (result != 0) {
      throw new AgentInitializationException("Agent_OnAttach failed", result);
    }
  } finally {
    in.close();
  }
}
origin: com.googlecode.jmockit/jmockit

private void loadAgentLibrary(String agentLibrary, boolean isAbsolute, String options)
  throws AgentLoadException, AgentInitializationException, IOException
{
  InputStream in = execute("load",
               agentLibrary,
               isAbsolute ? "true" : "false",
               options);
  try {
    int result = readInt(in);
    if (result != 0) {
      throw new AgentInitializationException("Agent_OnAttach failed", result);
    }
  } finally {
    in.close();
  }
}
origin: jmockit/jmockit1

private void loadAgentLibrary(String agentLibrary, boolean isAbsolute, String options)
  throws AgentLoadException, AgentInitializationException, IOException
{
  InputStream in = execute("load",
               agentLibrary,
               isAbsolute ? "true" : "false",
               options);
  try {
    int result = readInt(in);
    if (result != 0) {
      throw new AgentInitializationException("Agent_OnAttach failed", result);
    }
  } finally {
    in.close();
  }
}
origin: org.avaje/avaje-agentloader

private void loadAgentLibrary(String agentLibrary, boolean isAbsolute, String options)
  throws AgentLoadException, AgentInitializationException, IOException
{
  InputStream in = execute("load",
               agentLibrary,
               isAbsolute ? "true" : "false",
               options);
  try {
    int result = readInt(in);
    if (result != 0) {
      throw new AgentInitializationException("Agent_OnAttach failed", result);
    }
  } finally {
    in.close();
  }
}
sun.tools.attachHotSpotVirtualMachineexecute

Popular methods of HotSpotVirtualMachine

  • executeCommand
  • loadAgentLibrary
  • readInt
  • remoteDataDump
  • checkedKeyName
  • detach
  • dumpHeap
  • escape
  • executeJCmd
  • getAgentProperties
  • heapHisto
  • stripKeyName
  • heapHisto,
  • stripKeyName

Popular classes and methods

  • setScale (BigDecimal)
    Returns a new BigDecimal instance with the specified scale. If the new scale is greater than the old
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • ResultSet (java.sql)
    A table of data representing a database result set, which is usually generated by executing a statem
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JFrame (javax.swing)

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)