v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
heap-utils.h
Go to the documentation of this file.
1// Copyright 2024 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_HEAP_UTILS_H_
6#define V8_HEAP_HEAP_UTILS_H_
7
10
11namespace v8::internal {
12
13// This class provides heap-internal helper functions to provide
14// data/information about heap objects.
15class HeapUtils final : public AllStatic {
16 public:
17 // Returns the Heap (or nullptr) which owns the page of this object.
19};
20
21} // namespace v8::internal
22
23#endif // V8_HEAP_HEAP_UTILS_H_
static V8_INLINE Heap * GetOwnerHeap(Tagged< HeapObject > object)
#define V8_INLINE
Definition v8config.h:500