v8
11.3.244 (node 20.3.0)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
v8-embedder-heap.h
Go to the documentation of this file.
1
// Copyright 2021 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 INCLUDE_V8_EMBEDDER_HEAP_H_
6
#define INCLUDE_V8_EMBEDDER_HEAP_H_
7
8
#include "
v8-traced-handle.h
"
// NOLINT(build/include_directory)
9
#include "
v8config.h
"
// NOLINT(build/include_directory)
10
11
namespace
v8
{
12
13
class
Isolate;
14
class
Value;
15
19
class
V8_EXPORT
EmbedderRootsHandler
{
20
public
:
21
virtual
~EmbedderRootsHandler
() =
default
;
22
38
virtual
bool
IsRoot
(
const
v8::TracedReference<v8::Value>
& handle) = 0;
39
49
virtual
void
ResetRoot
(
const
v8::TracedReference<v8::Value>
& handle) = 0;
50
};
51
52
}
// namespace v8
53
54
#endif
// INCLUDE_V8_EMBEDDER_HEAP_H_
v8::EmbedderRootsHandler
Definition
v8-embedder-heap.h:19
v8::EmbedderRootsHandler::~EmbedderRootsHandler
virtual ~EmbedderRootsHandler()=default
v8::EmbedderRootsHandler::IsRoot
virtual bool IsRoot(const v8::TracedReference< v8::Value > &handle)=0
v8::EmbedderRootsHandler::ResetRoot
virtual void ResetRoot(const v8::TracedReference< v8::Value > &handle)=0
v8::TracedReference
Definition
v8-traced-handle.h:195
v8
Definition
libplatform.h:15
v8-traced-handle.h
v8config.h
V8_EXPORT
#define V8_EXPORT
Definition
v8config.h:719
include
v8-embedder-heap.h
Generated on Sat Jun 10 2023 16:58:26 for v8 by
1.9.7