v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
read-only-promotion.h
Go to the documentation of this file.
1
// Copyright 2023 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_READ_ONLY_PROMOTION_H_
6
#define V8_HEAP_READ_ONLY_PROMOTION_H_
7
8
#include "
src/common/assert-scope.h
"
9
#include "
src/common/globals.h
"
10
11
namespace
v8
{
12
namespace
internal
{
13
14
class
Isolate;
15
class
SafepointScope;
16
17
class
ReadOnlyPromotion
final :
public
AllStatic
{
18
public
:
19
V8_EXPORT_PRIVATE
static
void
Promote
(
Isolate
* isolate,
20
const
SafepointScope
& safepoint_scope,
21
const
DisallowGarbageCollection
& no_gc);
22
};
23
24
}
// namespace internal
25
}
// namespace v8
26
27
#endif
// V8_HEAP_READ_ONLY_PROMOTION_H_
assert-scope.h
v8::internal::AllStatic
Definition
globals.h:364
v8::internal::Isolate
Definition
isolate.h:586
v8::internal::PerThreadAssertScopeEmpty< kAllow, kTypes... >
v8::internal::ReadOnlyPromotion
Definition
read-only-promotion.h:17
v8::internal::ReadOnlyPromotion::Promote
static V8_EXPORT_PRIVATE void Promote(Isolate *isolate, const SafepointScope &safepoint_scope, const DisallowGarbageCollection &no_gc)
Definition
read-only-promotion.cc:697
v8::internal::SafepointScope
Definition
safepoint.h:242
globals.h
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
V8_EXPORT_PRIVATE
#define V8_EXPORT_PRIVATE
Definition
macros.h:460
src
heap
read-only-promotion.h
Generated on Sun Apr 6 2025 21:08:54 for v8 by
1.12.0