Java Debug Interface

クラス
com.sun.jdi.IncompatibleThreadStateException の使用

IncompatibleThreadStateException を使用しているパッケージ
com.sun.jdi Java Debug Interface (JDI) のコアパッケージで、ブートストラップ機能以外に、値、型、およびターゲット仮想マシン自体に対するミラーを定義します。 
 

com.sun.jdi での IncompatibleThreadStateException の使用
 

IncompatibleThreadStateException をスローする com.sun.jdi のメソッド
 ObjectReference ThreadReference.currentContendedMonitor()
          このスレッドが現在モニターを待機している場合は、そのモニターへの ObjectReference を返します。
 int ObjectReference.entryCount()
          現在所有しているスレッドが、このオブジェクトのモニターにエントリした回数を返します。
 StackFrame ThreadReference.frame(int index)
          スレッドの現在の呼び出しスタック内の指定されたインデックスで StackFrame を返します。
 int ThreadReference.frameCount()
          スレッドの現在の呼び出しスタック内のスタックフレーム数を返します。
 List<StackFrame> ThreadReference.frames()
          スレッドの現在の呼び出しスタック内にあるすべての StackFrame の List を返します。
 List<StackFrame> ThreadReference.frames(int start, int length)
          スレッドの現在の呼び出しスタックにある StackFrame ミラーの範囲の List を返します。
 Value ObjectReference.invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options)
          ターゲット VM 内のこのオブジェクトの指定された Method を呼び出します。
 Value ClassType.invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options)
          ターゲット VM 内の指定された static Method を呼び出します。
 ObjectReference ClassType.newInstance(ThreadReference thread, Method method, List<? extends Value> arguments, int options)
          ターゲット VM 内の指定されたコンストラクタ Method を使って、この型の新規インスタンスを生成します。
 List<ObjectReference> ThreadReference.ownedMonitors()
          スレッドが所有する各モニターへの ObjectReference の List を返します。
 ThreadReference ObjectReference.owningThread()
          このオブジェクトのモニターを現在所有するスレッドがある場合は、そのスレッドの ThreadReference を返します。
 void ThreadReference.popFrames(StackFrame frame)
          スタックフレームをポップします。
 List<ThreadReference> ObjectReference.waitingThreads()
          このオブジェクトのモニターを現在待機している各スレッドに対して、ThreadReference を含む List を返します。
 


Java Debug Interface