![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
Public Member Functions | |
| Observer (Heap *heap, intptr_t step_size, uint64_t rate, SamplingHeapProfiler *profiler, base::RandomNumberGenerator *random) | |
Public Member Functions inherited from v8::internal::AllocationObserver | |
| AllocationObserver (intptr_t step_size) | |
| virtual | ~AllocationObserver ()=default |
| AllocationObserver (const AllocationObserver &)=delete | |
| AllocationObserver & | operator= (const AllocationObserver &)=delete |
Protected Member Functions | |
| void | Step (int bytes_allocated, Address soon_object, size_t size) override |
| intptr_t | GetNextStepSize () override |
Protected Member Functions inherited from v8::internal::AllocationObserver | |
Private Member Functions | |
| intptr_t | GetNextSampleInterval (uint64_t rate) |
Private Attributes | |
| SamplingHeapProfiler *const | profiler_ |
| Heap *const | heap_ |
| base::RandomNumberGenerator *const | random_ |
| uint64_t const | rate_ |
Additional Inherited Members | |
Static Public Attributes inherited from v8::internal::AllocationObserver | |
| static constexpr intptr_t | kNotUsingFixedStepSize = -1 |
Definition at line 129 of file sampling-heap-profiler.h.
|
inline |
Definition at line 131 of file sampling-heap-profiler.h.
|
private |
Definition at line 29 of file sampling-heap-profiler.cc.
|
inlineoverrideprotectedvirtual |
Reimplemented from v8::internal::AllocationObserver.
Definition at line 151 of file sampling-heap-profiler.h.
|
inlineoverrideprotectedvirtual |
Implements v8::internal::AllocationObserver.
Definition at line 141 of file sampling-heap-profiler.h.
|
private |
Definition at line 156 of file sampling-heap-profiler.h.
|
private |
Definition at line 155 of file sampling-heap-profiler.h.
|
private |
Definition at line 157 of file sampling-heap-profiler.h.
|
private |
Definition at line 158 of file sampling-heap-profiler.h.