v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
memory-tagging.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_BASE_MEMORY_TAGGING_H_
6
#define V8_HEAP_BASE_MEMORY_TAGGING_H_
7
8
// Helper functions for Arm's Memory Tagging Extension (MTE).
9
10
#include "
src/base/macros.h
"
11
12
namespace
heap::base
{
13
// SuspendTagCheckingScope stops checking MTE tags whilst it's alive. This is
14
// useful for traversing the stack during garbage collection.
15
class
V8_EXPORT
SuspendTagCheckingScope
final {
16
public
:
17
// MTE only works on AArch64 Android and Linux.
18
SuspendTagCheckingScope
()
noexcept
;
19
~SuspendTagCheckingScope
();
20
};
21
22
}
// namespace heap::base
23
24
#endif
// V8_HEAP_BASE_MEMORY_TAGGING_H_
heap::base::SuspendTagCheckingScope
Definition
memory-tagging.h:15
heap::base
Definition
platform.h:72
macros.h
V8_EXPORT
#define V8_EXPORT
Definition
v8config.h:800
src
heap
base
memory-tagging.h
Generated on Sun Apr 6 2025 21:08:54 for v8 by
1.12.0