commit | 99660e1c3d6117cfb8bac25b1a0413833ab15b2a | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Wed Feb 19 15:04:42 2014 +0100 |
committer | Sebastien Hertz <shertz@google.com> | Wed Feb 19 15:41:23 2014 +0100 |
tree | 8b2e8da140f40b6dfb9c11cb7222a9e9ea05e8ef | |
parent | 2c3458dbda97b70158ee7ef22d13ce473a2a2147 [diff] |
Avoid interleaving JDWP requests and events. To avoid bad synchronization between the debugger and the debuggee, we should not send any events while processing a request (before sending its reply). This particularly prevents from sending the VM_DEATH event (and consequently closing the JDWP connection) after receiving the VM_Resume command but before sending its reply. Bug: 12581527 Change-Id: I197cc54e980a983faae4b545f25dfe7fe812e841