Commit ec6117ed authored by Anton Bikineev's avatar Anton Bikineev Committed by V8 LUCI CQ

cppgc: young-gen: Fix copy-paste typo in marked_bytes_current()

Bug: chromium:1029379
Change-Id: I74aeaa27c27ed33c169eee74b3a8c22adedb04eb
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3545320
Auto-Submit: Anton Bikineev <bikineev@chromium.org>
Reviewed-by: 's avatarOmer Katz <omerkatz@chromium.org>
Commit-Queue: Anton Bikineev <bikineev@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79595}
parent 3eb6b7ac
......@@ -264,7 +264,7 @@ size_t StatsCollector::marked_bytes() const {
size_t StatsCollector::marked_bytes_on_current_cycle() const {
DCHECK_NE(GarbageCollectionState::kNotRunning, gc_state_);
return marked_bytes_so_far_;
return current_.marked_bytes;
}
v8::base::TimeDelta StatsCollector::marking_time() const {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment