Commit f6f7ab35 authored by Ulan Degenbaev's avatar Ulan Degenbaev Committed by Commit Bot

[heap] Properly initialize all fields of ObjectStats

Bug: v8:6932
Change-Id: I9e77a41812c3ac9750cc4b03a8650c6e490df2a1
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2128047
Auto-Submit: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66914}
parent c1086315
......@@ -94,7 +94,7 @@ class ObjectStats {
public:
static const size_t kNoOverAllocation = 0;
explicit ObjectStats(Heap* heap) : heap_(heap) { ClearObjectStats(); }
explicit ObjectStats(Heap* heap) : heap_(heap) { ClearObjectStats(true); }
// See description on VIRTUAL_INSTANCE_TYPE_LIST.
enum VirtualInstanceType {
......
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