V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::GCTracer Class Reference

Classes

class  BackgroundScope
 
class  Event
 
struct  IncrementalMarkingInfos
 
class  Scope
 

Public Member Functions

 GCTracer (Heap *heap)
 
void Start (GarbageCollector collector, GarbageCollectionReason gc_reason, const char *collector_reason)
 
void Stop (GarbageCollector collector)
 
void NotifyYoungGenerationHandling (YoungGenerationHandling young_generation_handling)
 
void SampleAllocation (double current_ms, size_t new_space_counter_bytes, size_t old_generation_counter_bytes)
 
void AddAllocation (double current_ms)
 
void AddContextDisposalTime (double time)
 
void AddCompactionEvent (double duration, size_t live_bytes_compacted)
 
void AddSurvivalRatio (double survival_ratio)
 
void AddIncrementalMarkingStep (double duration, size_t bytes)
 
double IncrementalMarkingSpeedInBytesPerMillisecond () const
 
double ScavengeSpeedInBytesPerMillisecond (ScavengeSpeedMode mode=kForAllObjects) const
 
double CompactionSpeedInBytesPerMillisecond () const
 
double MarkCompactSpeedInBytesPerMillisecond () const
 
double FinalIncrementalMarkCompactSpeedInBytesPerMillisecond () const
 
double CombinedMarkCompactSpeedInBytesPerMillisecond ()
 
double NewSpaceAllocationThroughputInBytesPerMillisecond (double time_ms=0) const
 
double OldGenerationAllocationThroughputInBytesPerMillisecond (double time_ms=0) const
 
double AllocationThroughputInBytesPerMillisecond (double time_ms) const
 
double CurrentAllocationThroughputInBytesPerMillisecond () const
 
double CurrentOldGenerationAllocationThroughputInBytesPerMillisecond () const
 
double ContextDisposalRateInMilliseconds () const
 
double AverageSurvivalRatio () const
 
bool SurvivalEventsRecorded () const
 
void ResetSurvivalEvents ()
 
void NotifyIncrementalMarkingStart ()
 
double AverageMarkCompactMutatorUtilization () const
 
double CurrentMarkCompactMutatorUtilization () const
 
V8_INLINE void AddScopeSample (Scope::ScopeId scope, double duration)
 
void AddBackgroundScopeSample (BackgroundScope::ScopeId scope, double duration, RuntimeCallCounter *runtime_call_counter)
 
void RecordGCPhasesHistograms (TimedHistogram *gc_timer)
 

Static Public Member Functions

static RuntimeCallCounterId RCSCounterFromScope (Scope::ScopeId id)
 

Static Public Attributes

static const int kThroughputTimeFrameMs = 5000
 

Detailed Description

Definition at line 41 of file gc-tracer.h.


The documentation for this class was generated from the following files: