Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Unified Diff: src/heap/incremental-marking.h

Issue 1625753002: Allocation sampling for paged/lo spaces (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: WIP: Allocation sampling for paged/lo spaces Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/heap/incremental-marking.h
diff --git a/src/heap/incremental-marking.h b/src/heap/incremental-marking.h
index 49778a1ebc23700ca926e4e3714a50270fe3284a..7eaec8fd7a9ec4ccae39eda287bccb58ace82919 100644
--- a/src/heap/incremental-marking.h
+++ b/src/heap/incremental-marking.h
@@ -216,10 +216,11 @@ class IncrementalMarking {
}
private:
- class Observer : public InlineAllocationObserver {
+ class Observer : public AllocationObserver {
public:
- Observer(IncrementalMarking& incremental_marking, intptr_t step_size)
- : InlineAllocationObserver(step_size),
+ Observer(IncrementalMarking& incremental_marking, Heap* heap,
+ intptr_t step_size)
+ : AllocationObserver(step_size),
incremental_marking_(incremental_marking) {}
void Step(int bytes_allocated, Address, size_t) override {

Powered by Google App Engine
This is Rietveld 408576698