diff options
author | Hans Boehm <hboehm@google.com> | 2021-07-21 17:51:32 -0700 |
---|---|---|
committer | TreeHugger Robot <treehugger-gerrit@google.com> | 2021-07-23 09:31:59 +0000 |
commit | d619216187a18cbd2bbce2c84063043d30f3a240 (patch) | |
tree | 153f640b1b0184ef394b7c9d1d3ee5e558f920ec /runtime/javaheapprof/javaheapsampler.cc | |
parent | 5a0954e92ec3a464b695832aa71eff29ebd63e80 (diff) |
Delete almost correct CHECK
The bytes_allocated + freed_bytes >= bytes_allocated_before_gc
CHECK could fail if we expand space use as a result of copying,
and perhaps for other reasons. Delete it, and have the later code
deal with the fact that it may not hold.
Test: Build and boot AOSP.
Bug: 194263989
Merged-In: I9188a7cd13661c16b1b69a90d1f03d60548db217
Change-Id: I9188a7cd13661c16b1b69a90d1f03d60548db217
(cherry picked from commit c9acd230431acf786b5597cbbc2da57e88eb0435)
Diffstat (limited to 'runtime/javaheapprof/javaheapsampler.cc')
0 files changed, 0 insertions, 0 deletions