v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
unified-heap-marking-state.h
Go to the documentation of this file.
1// Copyright 2020 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_HEAP_CPPGC_JS_UNIFIED_HEAP_MARKING_STATE_H_
6#define V8_HEAP_CPPGC_JS_UNIFIED_HEAP_MARKING_STATE_H_
7
8#include "include/v8-cppgc.h"
12
13namespace v8 {
14namespace internal {
15
16// `UnifiedHeapMarkingState` is used to handle `TracedReferenceBase` and
17// friends. It is used when `CppHeap` is attached but also detached. In detached
18// mode, the expectation is that no non-null `TracedReferenceBase` is found.
39
40} // namespace internal
41} // namespace v8
42
43#endif // V8_HEAP_CPPGC_JS_UNIFIED_HEAP_MARKING_STATE_H_
UnifiedHeapMarkingState(Heap *, MarkingWorklists::Local *, cppgc::internal::CollectionType)
UnifiedHeapMarkingState & operator=(const UnifiedHeapMarkingState &)=delete
V8_INLINE void MarkAndPush(const TracedReferenceBase &)
UnifiedHeapMarkingState(const UnifiedHeapMarkingState &)=delete
#define V8_INLINE
Definition v8config.h:500