blob: 15d78fd4cf68cb98ad60f2b3289cd7644d82b3b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright 2020 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/heap/cppgc/marking-worklists.h"
namespace cppgc {
namespace internal {
constexpr int MarkingWorklists::kMutatorThreadId;
void MarkingWorklists::ClearForTesting() {
marking_worklist_.Clear();
not_fully_constructed_worklist_.Clear();
previously_not_fully_constructed_worklist_.Clear();
write_barrier_worklist_.Clear();
weak_callback_worklist_.Clear();
}
} // namespace internal
} // namespace cppgc
|