v8
13.6.233 (node 24.1.0)
V8 is Google's open source JavaScript engine
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
c
d
e
f
g
i
j
k
m
n
o
p
r
s
t
u
v
Variables
f
g
i
k
m
t
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
e
g
h
i
j
k
l
m
n
p
s
t
w
Enumerator
a
b
c
d
e
g
i
j
k
l
n
o
p
r
s
Concepts
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
g
i
m
n
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
Enumerator
b
c
d
e
h
j
k
n
o
p
r
s
t
u
w
Related Symbols
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Files
File List
Globals
All
a
c
d
e
p
s
v
Macros
a
c
d
e
p
s
v
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Concepts
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
namespace
internal
{
13
class
TracedHandles;
14
}
// namespace internal
15
16
class
Isolate
;
17
class
Value
;
18
22
class
V8_EXPORT
EmbedderRootsHandler
{
23
public
:
24
virtual
~EmbedderRootsHandler
() =
default
;
25
26
EmbedderRootsHandler
() =
default
;
27
37
virtual
void
ResetRoot
(
const
v8::TracedReference<v8::Value>
& handle) = 0;
38
44
virtual
bool
TryResetRoot
(
const
v8::TracedReference<v8::Value>
& handle) {
45
return
false
;
46
}
44
virtual
bool
TryResetRoot
(
const
v8::TracedReference<v8::Value>
& handle) {
…
}
47
48
private
:
49
friend
class
internal::TracedHandles;
50
};
22
class
V8_EXPORT
EmbedderRootsHandler
{
…
};
51
52
}
// namespace v8
53
54
#endif
// INCLUDE_V8_EMBEDDER_HEAP_H_
v8::EmbedderRootsHandler::TryResetRoot
virtual bool TryResetRoot(const v8::TracedReference< v8::Value > &handle)
Definition
v8-embedder-heap.h:44
v8::EmbedderRootsHandler::~EmbedderRootsHandler
virtual ~EmbedderRootsHandler()=default
v8::EmbedderRootsHandler::EmbedderRootsHandler
EmbedderRootsHandler()=default
v8::EmbedderRootsHandler::ResetRoot
virtual void ResetRoot(const v8::TracedReference< v8::Value > &handle)=0
v8::Isolate
Definition
v8-isolate.h:274
v8::TracedReference
Definition
v8-traced-handle.h:165
v8::Value
Definition
v8-value.h:32
v8::internal
Definition
v8-cppgc.h:29
v8
Definition
libplatform.h:15
v8-traced-handle.h
v8config.h
V8_EXPORT
#define V8_EXPORT
Definition
v8config.h:800
include
v8-embedder-heap.h
Generated on Fri May 30 2025 01:56:44 for v8 by
1.13.2