Commit f8670f3c authored by Sebastien Hertz's avatar Sebastien Hertz
Browse files

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
parent 2fa3f21a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment