JDWP: test invocation with thread suspension
Tests the debuggee can still process new commands while a thread is blocked invoking a command (because another event in another thread suspended that thread). The tested commands are: - ClassType.InvokeCommand - ClassType.NewInstance - ObjectReference.InvokeCommand Also tests the case where the debugger detaches while a thread is invoking a method on its behalf (with one of the command above). The method invocation completes but no reply is sent and the thread does not suspend itself or other threads now the debugger is no longer attached. Bug: 21515842 (cherry picked from commit 237ee3cf) Change-Id: I7ea452a9e5180730ed8e517d5d98b505ca676ffd
Loading
Please sign in to comment