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
12namespace heap::base {
13// SuspendTagCheckingScope stops checking MTE tags whilst it's alive. This is
14// useful for traversing the stack during garbage collection.
16 public:
17 // MTE only works on AArch64 Android and Linux.
18 SuspendTagCheckingScope() noexcept;
20};
21
22} // namespace heap::base
23
24#endif // V8_HEAP_BASE_MEMORY_TAGGING_H_
#define V8_EXPORT
Definition v8config.h:800