Increase max annotations size

Clank's JavaExceptionReporter attaches up to 5 * 4096 bytes of Java
exceptions to minidumps.

Bug: crashpad:30
Change-Id: I3b6b63b1f1b893225d6f340b03a65edf105ed0be
Reviewed-on: https://chromium-review.googlesource.com/1108337
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Commit-Queue: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
Joshua Peraza 2018-06-20 09:36:57 -07:00 committed by Commit Bot
parent 639cba075c
commit c0a0d70a2b

View File

@ -72,7 +72,7 @@ class Annotation {
static constexpr size_t kNameMaxLength = 64;
//! \brief The maximum size of an annotations value, in bytes.
static constexpr size_t kValueMaxSize = 2048;
static constexpr size_t kValueMaxSize = 5 * 4096;
//! \brief The type used for \a SetSize().
using ValueSizeType = uint32_t;