commit | 5442d46fe1d0645d786a289c1143e830a6699b14 | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Thu Dec 17 16:21:36 2009 -0800 |
committer | Andy McFadden <fadden@android.com> | Thu Dec 17 16:27:15 2009 -0800 |
tree | 04319556833d88f170d4acfc723ce350456c355b | |
parent | e5dd7ddd47ef17bc8c2f5a8c8ccbc4471c21dc5e [diff] |
Use writev() for DDMS packets. The code was using the JDWP "expanding buffer" stuff, which is fine for 4-byte status messages but will be terrible for buffers of tracing and profiling data. Now we construct the header in a separate buffer.