OSDN Git Service
(root)
/
android-x86
/
dalvik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93c3b11
)
Remove an assertion that JDWP packets are small.
author
Elliott Hughes
<enh@google.com>
Tue, 16 Jul 2013 20:41:03 +0000
(13:41 -0700)
committer
Elliott Hughes
<enh@google.com>
Tue, 16 Jul 2013 20:41:03 +0000
(13:41 -0700)
Now we support longer allocation tracker runs, it's possible
to collect more than 1MiB of data.
Bug:
9871848
Change-Id: Ifb575538b97563ce909f7e0aa6840ccbd6e93569
vm/jdwp/JdwpHandler.cpp
patch
|
blob
|
history
diff --git
a/vm/jdwp/JdwpHandler.cpp
b/vm/jdwp/JdwpHandler.cpp
index
9126584
..
112ac4a
100644
(file)
--- a/
vm/jdwp/JdwpHandler.cpp
+++ b/
vm/jdwp/JdwpHandler.cpp
@@
-1702,7
+1702,6
@@
static JdwpError handleDDM_Chunk(JdwpState* state,
* heap requirements is probably more valuable than the efficiency.
*/
if (dvmDbgDdmHandlePacket(buf, dataLen, &replyBuf, &replyLen)) {
- assert(replyLen > 0 && replyLen < 1*1024*1024);
memcpy(expandBufAddSpace(pReply, replyLen), replyBuf, replyLen);
free(replyBuf);
}