V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
stress-marking-observer.h
1
// Copyright 2017 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_STRESS_MARKING_OBSERVER_H_
6
#define V8_HEAP_STRESS_MARKING_OBSERVER_H_
7
8
#include "src/heap/heap.h"
9
10
namespace
v8
{
11
namespace
internal {
12
13
class
StressMarkingObserver
:
public
AllocationObserver
{
14
public
:
15
explicit
StressMarkingObserver
(
Heap
& heap);
16
17
void
Step(
int
bytes_allocated,
Address
soon_object,
size_t
size)
override
;
18
19
private
:
20
Heap
& heap_;
21
};
22
23
}
// namespace internal
24
}
// namespace v8
25
26
#endif // V8_HEAP_STRESS_MARKING_OBSERVER_H_
uintptr_t
v8
Definition:
libplatform.h:13
v8::internal::AllocationObserver
Definition:
heap.h:2274
v8::internal::Heap
Definition:
heap.h:217
v8::internal::StressMarkingObserver
Definition:
stress-marking-observer.h:13
v8
src
heap
stress-marking-observer.h
Generated on Tue Dec 25 2018 14:38:55 by
1.8.14