diff options
author | Elliott Hughes <enh@google.com> | 2013-07-16 13:53:49 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-07-16 13:53:49 -0700 |
commit | 1754938e68bf53d674ffac364336a5dd2f3a60f0 (patch) | |
tree | e705198755a54a25c8f0e9a6399e1aeaf8dab7b5 /runtime | |
parent | 543959c9ede4c09ffaf8749a612a9ac31d6dd356 (diff) | |
download | art-1754938e68bf53d674ffac364336a5dd2f3a60f0.zip art-1754938e68bf53d674ffac364336a5dd2f3a60f0.tar.gz art-1754938e68bf53d674ffac364336a5dd2f3a60f0.tar.bz2 |
Remove an assertion that JDWP packets are small.
Now we support longer allocation tracker runs, it's possible
to collect more than 1MiB of data.
Equivalent to dalvik patch 75978b1e139da312515ec07022d47ac615615d1b.
Bug: 9871848
Change-Id: Id2134788b2815172d91d0ebad92198f0d2898442
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/jdwp/jdwp_handler.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/jdwp/jdwp_handler.cc b/runtime/jdwp/jdwp_handler.cc index 8ef146c..4feeafb 100644 --- a/runtime/jdwp/jdwp_handler.cc +++ b/runtime/jdwp/jdwp_handler.cc @@ -1476,7 +1476,6 @@ static JdwpError DDM_Chunk(JdwpState* state, Request& request, ExpandBuf* pReply // instead of copying it into the expanding buffer. The reduction in // heap requirements is probably more valuable than the efficiency. CHECK_GT(replyLen, 0); - CHECK_LT(replyLen, 1*1024*1024); memcpy(expandBufAddSpace(pReply, replyLen), replyBuf, replyLen); free(replyBuf); } |