クラス
com.sun.jdi.IncompatibleThreadStateExceptionの使用
| パッケージ | 説明 |
|---|---|
| com.sun.jdi |
これは、Java Debug Interface (JDI)のコア・パッケージで、ブートストラップ機能以外に、値、型、およびターゲット仮想マシン自体のミラーを定義します。
|
-
com.sun.jdiでのIncompatibleThreadStateExceptionの使用
IncompatibleThreadStateExceptionをスローするcom.sun.jdiのメソッド 修飾子と型 メソッド 説明 ObjectReferenceThreadReference. currentContendedMonitor()このスレッドが現在モニターを待機している場合は、そのモニターのObjectReferenceを返します。intObjectReference. entryCount()現在所有しているスレッドが、このオブジェクトのモニターにエントリした回数を返します。voidThreadReference. forceEarlyReturn(Value value)return文に到達する前に強制的にメソッドを復帰させます。StackFrameThreadReference. frame(int index)スレッドの現在の呼出しスタック内の指定されたインデックスでStackFrameを返します。intThreadReference. frameCount()スレッドの現在の呼出しスタック内のスタック・フレーム数を返します。List<StackFrame>ThreadReference. frames()スレッドの現在の呼出しスタック内にある各StackFrameを含むリストを返します。List<StackFrame>ThreadReference. frames(int start, int length)スレッドの現在の呼出しスタックからのStackFrameミラーの範囲を含むリストを返します。ValueClassType. invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options)ターゲットVM内の指定されたstaticMethodを呼び出します。default ValueInterfaceType. invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options)ターゲットVM内の指定されたstaticMethodを呼び出します。ValueObjectReference. invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options)ターゲットVM内のこのオブジェクトで指定されたMethodを呼び出します。ObjectReferenceClassType. newInstance(ThreadReference thread, Method method, List<? extends Value> arguments, int options)ターゲットVM内の指定されたコンストラクタのMethodを使って、この型の新規インスタンスを構築します。List<ObjectReference>ThreadReference. ownedMonitors()スレッドが所有する各モニターのObjectReferenceを含むリストを返します。List<MonitorInfo>ThreadReference. ownedMonitorsAndFrames()スレッドが所有する各モニターのMonitorInfoオブジェクトを含むリストを返します。ThreadReferenceObjectReference. owningThread()このオブジェクトのモニターを現在所有するスレッドがある場合は、そのスレッドのThreadReferenceを返します。voidThreadReference. popFrames(StackFrame frame)スタック・フレームをポップします。List<ThreadReference>ObjectReference. waitingThreads()このオブジェクトのモニターを現在待機している各スレッドのThreadReferenceを含むリストを返します。