| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private JDWP. | |
| private JDWP. | |
| private String | |
| private static final int | |
| private final EventQueueImpl | |
| private final EventRequestManagerImpl | |
| private boolean | |
| private Object | |
| private final EventRequestManagerImpl | |
| private Map | |
| private final Map | |
| private JDWP. | |
| private Process | |
| private final ReferenceQueue | |
| private boolean | |
| pack-priv final int | |
| private boolean | |
| public final int | |
| public final int | |
| public final int | |
| public final int | |
| public final int | |
| public final int | |
| private VMState | |
| private final TargetVM | |
| private BooleanType | |
| private ByteType | |
| private CharType | |
| private DoubleType | |
| private FloatType | |
| private IntegerType | |
| private LongType | |
| private ShortType | |
| private VoidType | |
| private final ThreadGroup | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv int | |
| pack-priv boolean | |
| private Map | |
| private Set | |
| private JDWP. | |
| pack-priv final VirtualMachineManagerImpl | |
| private VoidValue |
| Access | Constructor and Description |
|---|---|
| pack-priv | VirtualMachineImpl(VirtualMachineManager manager, Connection connection, Process process, int sequenceNumber)
|
| Modifier and Type | Method and Description |
|---|---|
| private synchronized ModuleReference | |
| private synchronized ReferenceTypeImpl | |
| public List | allClasses()
Implements com. Returns all loaded types in the target VM. |
| public List | |
| public List | allThreads()
Implements com. Returns a list of the live threads in the target VM. |
| pack-priv ArrayReferenceImpl | |
| pack-priv ArrayTypeImpl | |
| public String | baseDirectory()
Implements com. Get the base directory used for path searching. |
| private void | |
| public List | bootClassPath()
Implements com. Get the boot class path for this virtual machine. |
| public boolean | canAddMethod()
Implements com.
Deprecated
since 15.
Determines if the target VM supports the addition of methods when performing class redefinition. |
| public boolean | canBeModified()
Implements com. Determines if the target VM is a read-only VM. |
| public boolean | canForceEarlyReturn()
Implements com. Determines if the target VM supports the forcing of a method to return early. |
| pack-priv boolean | |
| public boolean | canGetBytecodes()
Implements com. Determines if the target VM supports the retrieval of a method's bytecodes. |
| public boolean | canGetClassFileVersion()
Implements com. Determines if the target VM supports reading class file major and minor versions. |
| public boolean | canGetConstantPool()
Implements com. Determines if the target VM supports getting constant pool information of a class. |
| public boolean | canGetCurrentContendedMonitor()
Implements com. Determines if the target VM supports the retrieval of the monitor for which a thread is currently waiting. |
| public boolean | canGetInstanceInfo()
Implements com. Determines if the target VM supports the accessing of class instances, instance counts, and referring objects. |
| public boolean | canGetMethodReturnValues()
Implements com. Determines if the target VM supports the inclusion of return values
in
|
| public boolean | canGetModuleInfo()
Overrides default com. Determines if the target VM supports getting information about modules. |
| public boolean | canGetMonitorFrameInfo()
Implements com. Determines if the target VM supports getting which frame has acquired a monitor. |
| public boolean | canGetMonitorInfo()
Implements com. Determines if the target VM supports the retrieval of the monitor information for an object. |
| public boolean | canGetOwnedMonitorInfo()
Implements com. Determines if the target VM supports the retrieval of the monitors owned by a thread. |
| public boolean | canGetSourceDebugExtension()
Implements com. Determines if the target VM supports getting the source debug extension. |
| public boolean | canGetSyntheticAttribute()
Implements com. Determines if the target VM supports the query of the synthetic attribute of a method or field. |
| public boolean | canPopFrames()
Implements com. Determines if the target VM supports popping frames of a threads stack. |
| public boolean | canRedefineClasses()
Implements com. Determines if the target VM supports any level of class redefinition. |
| public boolean | canRequestMonitorEvents()
Implements com. Determines if the target VM supports the creation of
|
| public boolean | canRequestVMDeathEvent()
Implements com. Determines if the target VM supports the creation of
|
| public boolean | canUnrestrictedlyRedefineClasses()
Implements com.
Deprecated
since 15.
Determines if the target VM supports
changes when performing class redefinition that are
otherwise restricted by |
| public boolean | canUseInstanceFilters()
Implements com. Determines if the target VM supports filtering events by specific instance object. |
| public boolean | canUseSourceNameFilters()
Implements com. Determines if the target VM supports the filtering of class prepare events by source name. |
| public boolean | canWatchFieldAccess()
Implements com. Determines if the target VM supports watchpoints for field access. |
| public boolean | canWatchFieldModification()
Implements com. Determines if the target VM supports watchpoints for field modification. |
| private JDWP. | |
| private JDWP. | |
| public List | classesByName(String className)
Implements com. Returns the loaded reference types that match a given name. |
| pack-priv List | |
| pack-priv ClassLoaderReferenceImpl | |
| pack-priv ClassObjectReferenceImpl | |
| public List | classPath()
Implements com. Get the class path for this virtual machine. |
| pack-priv ClassTypeImpl | |
| public String | description()
Implements com. Returns text information on the target VM and the debugger support that mirrors it. |
| public void | |
| public boolean | equals(Object obj)
Overrides com. Indicates whether some other object is "equal to" this one. |
| public EventQueue | eventQueue()
Implements com. Returns the event queue for this virtual machine. |
| public EventRequestManager | eventRequestManager()
Implements com. Returns the event request manager for this virtual machine. |
| pack-priv EventRequestManagerImpl | |
| public void | exit(int exitCode)
Implements com. Causes the mirrored VM to terminate with the given error code. |
| pack-priv Type | |
| private synchronized List | |
| public void | |
| private JDWP. | |
| public String | getDefaultStratum()
Implements com. Return this VM's default stratum. |
| pack-priv EventRequestManagerImpl | |
| pack-priv ModuleReference | |
| public int | hashCode()
Overrides com. Returns a hash code value for this object. |
| private boolean | |
| private void | |
| public long[] | instanceCounts(List<? extends ReferenceType> classes)
Implements com. Returns the number of instances of each ReferenceType in the 'refTypes' list. |
| pack-priv InterfaceTypeImpl | |
| pack-priv boolean | |
| public BooleanValue | mirrorOf(boolean value)
Implements com. Creates a |
| public ByteValue | mirrorOf(byte value)
Implements com. Creates a |
| public CharValue | mirrorOf(char value)
Implements com. Creates a |
| public ShortValue | mirrorOf(short value)
Implements com. Creates a |
| public IntegerValue | mirrorOf(int value)
Implements com. Creates an |
| public LongValue | mirrorOf(long value)
Implements com. Creates a |
| public FloatValue | mirrorOf(float value)
Implements com. Creates a |
| public DoubleValue | mirrorOf(double value)
Implements com. Creates a |
| public StringReference | mirrorOf(String value)
Implements com. Creates a string in this virtual machine. |
| public VoidValue | |
| pack-priv ModuleReferenceImpl | |
| public String | name()
Implements com. Returns the name of the target VM as reported by the
property |
| private void | |
| pack-priv void | |
| pack-priv synchronized ObjectReferenceImpl | |
| pack-priv ObjectReferenceImpl | |
| pack-priv PrimitiveType | |
| pack-priv void | |
| pack-priv void | |
| public Process | process()
Implements com. Returns the |
| private void | |
| private void | |
| public void | redefineClasses(Map<? extends ReferenceType, byte[]> classToBytes)
Implements com. All classes given are redefined according to the definitions supplied. |
| pack-priv ReferenceTypeImpl | |
| pack-priv ReferenceTypeImpl | |
| private synchronized void | |
| pack-priv synchronized void | |
| public void | resume()
Implements com. Continues the execution of the application running in this virtual machine. |
| private void | |
| private void | |
| private synchronized List | |
| private List | |
| pack-priv PacketStream | |
| pack-priv void | |
| public void | setDebugTraceMode(int traceFlags)
Implements com. Traces the activities performed by the com.sun.jdi implementation. |
| public void | setDefaultStratum(String stratum)
Implements com. Set this VM's default stratum (see |
| pack-priv VMState | |
| pack-priv StringReferenceImpl | |
| public void | suspend()
Implements com. Suspends the execution of the application running in this virtual machine. |
| pack-priv BooleanType | |
| pack-priv ByteType | |
| pack-priv CharType | |
| pack-priv DoubleType | |
| pack-priv FloatType | |
| pack-priv IntegerType | |
| pack-priv LongType | |
| pack-priv ShortType | |
| pack-priv VoidType | |
| pack-priv ThreadGroup | |
| pack-priv ThreadGroupReferenceImpl | |
| pack-priv ThreadReferenceImpl | |
| public boolean | |
| public List | topLevelThreadGroups()
Implements com. Returns each thread group which does not have a parent. |
| pack-priv void | |
| public String | version()
Implements com. Returns the version of the Java Runtime Environment in the target
VM as reported by the property |
| private JDWP. | |
| pack-priv void | |
| pack-priv void |