v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
worklist.cc
Go to the documentation of this file.
1
// Copyright 2020 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/heap/base/worklist.h
"
6
7
namespace
heap::base
{
8
9
// static
10
bool
WorklistBase::predictable_order_
=
false
;
11
12
// static
13
void
WorklistBase::EnforcePredictableOrder
() {
predictable_order_
=
true
; }
14
15
namespace
internal {
16
17
// static
18
SegmentBase
*
SegmentBase::GetSentinelSegmentAddress
() {
19
static
SegmentBase
sentinel_segment(0);
20
return
&sentinel_segment;
21
}
22
23
}
// namespace internal
24
}
// namespace heap::base
heap::base::WorklistBase::predictable_order_
static bool predictable_order_
Definition
worklist.h:44
heap::base::WorklistBase::EnforcePredictableOrder
static void EnforcePredictableOrder()
Definition
worklist.cc:13
heap::base::internal::SegmentBase
Definition
worklist.h:19
heap::base::internal::SegmentBase::GetSentinelSegmentAddress
static SegmentBase * GetSentinelSegmentAddress()
Definition
worklist.cc:18
heap::base
Definition
platform.h:72
worklist.h
src
heap
base
worklist.cc
Generated on Sun Apr 6 2025 21:08:54 for v8 by
1.12.0