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

Unified Diff: src/heap/spaces.h

Issue 1924033003: [heap] Force inlining of AllocatedSinceLastGC (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « src/heap/heap.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/spaces.h
diff --git a/src/heap/spaces.h b/src/heap/spaces.h
index c468ca4d87ff8964e4a8c9fbaf8d0854571b335c..8a52746a261714d3f31e6824db6a59160caa8f78 100644
--- a/src/heap/spaces.h
+++ b/src/heap/spaces.h
@@ -2601,7 +2601,7 @@ class NewSpace : public Space {
// Return the available bytes without growing.
intptr_t Available() override { return Capacity() - Size(); }
- inline size_t AllocatedSinceLastGC();
+ V8_INLINE size_t AllocatedSinceLastGC();
void ReplaceWithEmptyPage(Page* page) {
// This method is called after flipping the semispace.
« no previous file with comments | « src/heap/heap.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698