summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.cc
diff options
context:
space:
mode:
author Lokesh Gidra <lokeshgidra@google.com> 2023-10-27 17:05:38 +0000
committer Lokesh Gidra <lokeshgidra@google.com> 2023-10-27 22:44:48 +0000
commit64b043229fb340f7c035b122e213cbd14abcf7d6 (patch)
tree128646a97b50e51adea39b2defedaf19892f95f0 /compiler/common_compiler_test.cc
parent955eacb7a56fcf97283459e67a1d90b241e8b3fd (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/common_compiler_test.cc')
0 files changed, 0 insertions, 0 deletions