⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jdwpconstants.java

📁 gcc的组建
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
    /**     * A method in the new class version has different modifiers than its     * counterpart in the old class version and     * <code>canUnrestrictedlyRedefineClasses</code> is false.     */    public static final short METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED = 71;    /**     * Functionality is not implemented in this virtual machine     */    public static final short NOT_IMPLEMENTED = 99;    /**     * Invalid pointer     */    public static final short NULL_POINTER = 100;    /**     * Desired information is not available     */    public static final short ABSENT_INFORMATION = 101;    /**     * Specified event type id is not recognized     */    public static final short INVALID_EVENT_TYPE = 102;    /**     * Illegal argument     */    public static final short ILLEGAL_ARGUMENT = 103;    /**     * The function needed to allocate memory and no more memory was     * available for allocation     */    public static final short OUT_OF_MEMORY = 110;    /**     * Debugging has not been enabled in this virtual machine. JVMDI cannot     * be used     */    public static final short ACCESS_DENIED = 111;    /**     * The virtual machine is not running     */    public static final short VM_DEAD = 112;    /**     * An unexpected internal error has occurred     */    public static final short INTERNAL = 113;    /**     * The thread being used to call this function is not attached to the     * virtual machine. Calls must be made from attached threads.     */    public static final short UNATTACHED_THREAD = 115;    /**     * Invalid object type id or class tag     */    public static final short INVALID_TAG = 500;    /**     * Previous invoke not complete     */    public static final short ALREADY_INVOKING = 502;    /**     * Invalid index     */    public static final short INVALID_INDEX = 503;    /**     * Invalid length     */    public static final short INVALID_LENGTH = 504;    /**     * Invalid string     */    public static final short INVALID_STRING = 506;    /**     * Invalid class loader     */    public static final short INVALID_CLASS_LOADER = 507;    /**     * Invalid array     */    public static final short INVALID_ARRAY = 508;    /**     * Unable to load the transport     */    public static final short TRANSPORT_LOAD = 509;    /**     * Unablie to initialize the transport     */    public static final short TRANSPORT_INIT = 510;    /**     * Method is native     */    public static final short NATIVE_METHOD = 511;    /**     * Invalid count     */    public static final short INVALID_COUNT = 512;  }  /*   * EventKind constants   */  public static final class EventKind  {    public static final byte SINGLE_STEP = 1;    public static final byte BREAKPOINT = 2;    public static final byte FRAME_POP = 3;    public static final byte EXCEPTION = 4;    public static final byte USER_DEFINED = 5;    public static final byte THREAD_START = 6;    public static final byte THREAD_END = 7;    public static final byte CLASS_PREPARE = 8;    public static final byte CLASS_UNLOAD = 9;    public static final byte CLASS_LOAD = 10;    public static final byte FIELD_ACCESS = 20;    public static final byte FIELD_MODIFICATION = 21;    public static final byte EXCEPTION_CATCH = 30;    public static final byte METHOD_ENTRY = 40;    public static final byte METHOD_EXIT = 41;    public static final byte VM_INIT = 90;    public static final byte VM_DEATH = 99;        public static final byte VM_DISCONNECTED = 100;    public static final byte VM_START = VM_INIT;    public static final byte THREAD_DEATH = THREAD_END;  }  /*   * ModKind constants (event filters)   */  public static final class ModKind  {    /**     * Limit the requested event to be reported at most once after a     * given number of occurrences. May be used with any event.     */    public static final byte COUNT = 1;    /**     * Conditional on expression     */    public static final byte CONDITIONAL = 2;    /**     * Restricts reported events to those in the given thread.     * May be used with any event except for class unload.     */    public static final byte THREAD_ONLY = 3;    /**     * For class prepare events, restricts generated events      * to be the preparation of the given reference type and any     * subtypes.     *     * For other events, restricts the generated events to those where     * location is in the given reference type or any of its subtypes.     *     * An event will be generated for any location in a reference type     * that can be safely cast to the given reference type.     *     * May be used with any event except class unload, thread start,     * and thread end.     */    public static final byte CLASS_ONLY = 4;    /**     * Restricts reported events to those for classes whose name matches     * the given restricted regular expression.     *     * For class prepare events, the prepared class name is matched.     * For class unload events, the unloaded class name is matched.     * For other events, the class name of the event's location is matched.     *     * May be used with any event except thread start and thread end.     */    public static final byte CLASS_MATCH = 5;    /**     * Restricts reported events to those for classes whose name does not     * match the given restricted regular expression.     *      * For class prepare events, the prepared class name is matched.     * For class unload events, the unloaded class name is matched.     * For other events, the class name of the event's location is matched.     *     * May be used with any event except thread start and thread end.     */    public static final byte CLASS_EXCLUDE = 6;    /**     * Restricts reported events to those that occur at the given location.     *     * May be used with breakpoint, field access, field modification, step,     * and exception event kinds.     */    public static final byte LOCATION_ONLY = 7;    /**     * Restricts reported exceptions by their class and whether they are     * caught or uncaught.     *     * May be used with exception event kinds only.     */    public static final byte EXCEPTION_ONLY = 8;    /**     * Restricts reported events to those that occur for a given field.     *     * May be used with field access and field modification event kinds only.     */    public static final byte FIELD_ONLY = 9;    /**     * Restricts reported step events to those which satisfy depth and     * size constraints.     *      * May be used with step event kinds only.     */    public static final byte STEP = 10;    /**     * Restricts reported events to those whose active 'this' object is     * the given object. Match value is the null object for static methods.     *     * May be used with any event except class prepare, class unload,     * thread start, and thread end.     */    public static final byte INSTANCE_ONLY = 11;  }  /*   * ThreadStatus constants   */  public static final class ThreadStatus  {    public static final int ZOMBIE = 0;    public static final int RUNNING = 1;    public static final int SLEEPING = 2;    public static final int MONITOR = 3;    public static final int WAIT = 4;  }  /*   * SuspendStatus constants   */  public static final class SuspendStatus  {    public static final byte SUSPENDED = 1;  }  /*   * ClassStatus constants   */  public static final class ClassStatus  {    public static final int VERIFIED = 1;    public static final int PREPARED = 2;    public static final int INITIALIZED = 4;    public static final int ERROR = 8;  }  /*   * TypeTag constants   */  public static final class TypeTag  {    public static final byte CLASS = 1;    public static final byte INTERFACE = 2;    public static final byte ARRAY = 3;  }  /*   * Tag constants   */  public static final class Tag  {    /**     * Array object (objectID size)     */    public static final byte ARRAY = '[';    /**     * Byte value (1 byte)     */    public static final byte BYTE = 'B';    /**     * Character value (2 bytes)     */    public static final byte CHAR = 'C';    /**     * Object (objectID size)     */    public static final byte OBJECT = 'L';    /**     * Float value (4 bytes)     */    public static final byte FLOAT = 'F';    /**     * Double value (8 bytes)     */    public static final byte DOUBLE = 'D';    /**     * Int value (4 bytes)     */    public static final byte INT = 'I';    /**     * Long value (8 bytes)     */    public static final byte LONG = 'J';    /**     * Short value (2 bytes)     */    public static final byte SHORT = 'S';    /**     * Void value (no bytes)     */    public static final byte  VOID = 'V';    /**     * Boolean value (1 byte)     */    public static final byte BOOLEAN = 'Z';    /**     * String object (objectID size)     */    public static final byte STRING = 's';    /**     * Thread object (objectID size)     */    public static final byte THREAD = 't';    /**     * ThreadGroup object (objectID size)     */    public static final byte THREAD_GROUP = 'g';    /**     * ClassLoader object (objectID size)     */    public static final byte CLASS_LOADER = 'l';    /**     * Class object object (objectID size)     */    public static final byte CLASS_OBJECT = 'c';  }  /*   * StepDepth constants   */  public static final class StepDepth  {    /**     * Step into any method calls that occur before the end of the step     */    public static final int INTO = 0;    /**     * Step over any method calls that occur before the end of the step     */    public static final int OVER = 1;    /**     * Step out of the current method     */    public static final int OUT = 2;  }  /*   * StepSize constants   */  public static final class StepSize  {    /**     * Step by the minimum possible amount (often a bytecode instruction)     */    public static final int MIN = 0;    /**     * Step to the next source line unless there is no line number information,     * in which case MIN step is done instead     */    public static final int LINE = 1;  }  /*   * SuspendPolicy constants   */  public static final class SuspendPolicy  {    /**     * Suspend no threads when this event is encountered     */    public static final byte NONE = 0;    /**     * Suspend the event thread when this event is encountered     */    public static final byte EVENT_THREAD = 1;    /**     * Suspend all threads when this event is encountered     */    public static final byte ALL = 2;  }  /*   * InvokeOptions flag constants   */  public static final class InvokeOptions  {    /**     * otherwise, all threads started     */    public static final int INVOKE_SINGLE_THREADED = 0x1;    /**     * otherwise, normal virtual invoke (instance methods only)     */    public static final int INVOKE_NONVIRTUAL = 0x2;  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -