Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 3226828c2210436afae35a0440bc489d349aa705..8257f05fbdaeb7e074e45ae3c23c45dca20ca915 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -919,11 +919,21 @@ class Heap { |
const char* GetSpaceName(int idx); |
// =========================================================================== |
+ // API. ====================================================================== |
+ // =========================================================================== |
+ |
+ void SetEmbedderHeapTracer(EmbedderHeapTracer* tracer); |
+ |
+ void RegisterExternallyReferencedObject(Object** object); |
+ |
+ // =========================================================================== |
// Getters to other components. ============================================== |
// =========================================================================== |
GCTracer* tracer() { return tracer_; } |
+ EmbedderHeapTracer* embedder_heap_tracer() { return embedder_heap_tracer_; } |
Hannes Payer (out of office)
2016/03/31 12:31:38
Move this one to the API section. Can you add othe
|
+ |
PromotionQueue* promotion_queue() { return &promotion_queue_; } |
inline Isolate* isolate(); |
@@ -2102,6 +2112,7 @@ class Heap { |
int deferred_counters_[v8::Isolate::kUseCounterFeatureCount]; |
GCTracer* tracer_; |
+ EmbedderHeapTracer* embedder_heap_tracer_; |
int high_survival_rate_period_length_; |
intptr_t promoted_objects_size_; |