diff options
author | 2023-10-27 17:05:38 +0000 | |
---|---|---|
committer | 2023-10-27 22:44:48 +0000 | |
commit | 64b043229fb340f7c035b122e213cbd14abcf7d6 (patch) | |
tree | 128646a97b50e51adea39b2defedaf19892f95f0 /compiler/optimizing/suspend_check_test.cc | |
parent | 955eacb7a56fcf97283459e67a1d90b241e8b3fd (diff) |
Fix Heap::num_bytes_allocated underflow
Account for align-up of moving-space' end in heap's num_bytes_allocated.
Otherwise, in a subsequent GC-cycle we would claim to have freed more
bytes than num_bytes_allocated and may cause underflow.
Test: test infra
Bug: 305338634
Change-Id: I3474b23700f6cc284261659eb6b6ba44e35b1fcf
Diffstat (limited to 'compiler/optimizing/suspend_check_test.cc')
0 files changed, 0 insertions, 0 deletions