v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
globals.h File Reference
#include <stddef.h>
#include <stdint.h>
#include "include/cppgc/internal/gc-info.h"
#include "src/base/build_config.h"
Include dependency graph for globals.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cppgc
 
namespace  cppgc::internal
 

Typedefs

using cppgc::internal::Address = uint8_t*
 
using cppgc::internal::ConstAddress = const uint8_t*
 

Enumerations

enum class  cppgc::internal::AccessMode : uint8_t { cppgc::internal::kNonAtomic , cppgc::internal::kAtomic }
 

Variables

constexpr size_t cppgc::internal::kKB = 1024
 
constexpr size_t cppgc::internal::kMB = kKB * 1024
 
constexpr size_t cppgc::internal::kGB = kMB * 1024
 
constexpr size_t cppgc::internal::kAllocationGranularity = 4
 
constexpr size_t cppgc::internal::kAllocationMask = kAllocationGranularity - 1
 
constexpr size_t cppgc::internal::kPageSizeLog2 = 17
 
constexpr size_t cppgc::internal::kPageSize = 1 << kPageSizeLog2
 
constexpr size_t cppgc::internal::kPageOffsetMask = kPageSize - 1
 
constexpr size_t cppgc::internal::kPageBaseMask = ~kPageOffsetMask
 
constexpr size_t cppgc::internal::kLargeObjectSizeThreshold = kPageSize / 2
 
constexpr GCInfoIndex cppgc::internal::kFreeListGCInfoIndex = 0
 
constexpr size_t cppgc::internal::kFreeListEntrySize = 2 * sizeof(uintptr_t)
 
constexpr size_t cppgc::internal::kSlotSize = sizeof(uintptr_t)