v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
code-pointer-table.cc
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
#include "
src/sandbox/code-pointer-table.h
"
6
7
#include "
src/common/code-memory-access-inl.h
"
8
#include "
src/execution/isolate.h
"
9
#include "
src/logging/counters.h
"
10
#include "
src/sandbox/code-pointer-table-inl.h
"
11
12
#ifdef V8_COMPRESS_POINTERS
13
14
namespace
v8
{
15
namespace
internal
{
16
17
uint32_t CodePointerTable::Sweep(Space* space, Counters* counters) {
18
uint32_t num_live_entries = GenericSweep(space);
19
counters->code_pointers_count()->AddSample(num_live_entries);
20
return
num_live_entries;
21
}
22
23
}
// namespace internal
24
}
// namespace v8
25
26
#endif
// V8_COMPRESS_POINTERS
code-memory-access-inl.h
code-pointer-table-inl.h
code-pointer-table.h
counters.h
isolate.h
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
src
sandbox
code-pointer-table.cc
Generated on Sun Apr 6 2025 21:08:57 for v8 by
1.12.0