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

Unified Diff: src/spaces.h

Issue 22852024: Track JS allocations as they arrive with no affection on performance when tracking is switched off (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Make separate API for JS allocations recording, add example of checking JS allocations recording in… Created 7 years, 4 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/spaces.h
diff --git a/src/spaces.h b/src/spaces.h
index aa864b66ba591f2ff4046834be81ddf68aa9c699..f2c209edc63940e00c1f8f224106ff7d80c38bd2 100644
--- a/src/spaces.h
+++ b/src/spaces.h
@@ -1699,6 +1699,7 @@ class PagedSpace : public Space {
// Allocate the requested number of bytes in the space if possible, return a
// failure object if not.
MUST_USE_RESULT inline MaybeObject* AllocateRaw(int size_in_bytes);
Hannes Payer (out of office) 2013/08/28 09:51:32 Instead of adding multiple allocation methods to s
Alexandra Mikhaylova 2013/09/24 14:56:20 Done.
+ MUST_USE_RESULT inline MaybeObject* AllocateRawForMigration(int size_in_bytes);
loislo 2013/08/27 09:04:57 style: 80 symbols
Alexandra Mikhaylova 2013/09/19 16:03:38 Done.
virtual bool ReserveSpace(int bytes);
@@ -1879,6 +1880,9 @@ class PagedSpace : public Space {
friend class PageIterator;
friend class SweeperThread;
+
+ private:
+ inline HeapObject* AllocateRawHelper(int size_in_bytes);
};

Powered by Google App Engine
This is Rietveld 408576698