Commit 08dbdd40 authored by mlippautz's avatar mlippautz Committed by Commit bot

[heap] Force inlining of AllocatedSinceLastGC

Speculatively forcining inlining as not inlining potentially regresses
performance.

BUG=chromium:605524
LOG=N

Review-Url: https://codereview.chromium.org/1924033003
Cr-Commit-Position: refs/heads/master@{#35869}
parent 9e7793ea
......@@ -1256,8 +1256,8 @@ class Heap {
return static_cast<intptr_t>(total);
}
inline void UpdateNewSpaceAllocationCounter();
inline size_t NewSpaceAllocationCounter();
V8_INLINE void UpdateNewSpaceAllocationCounter();
V8_INLINE size_t NewSpaceAllocationCounter();
// This should be used only for testing.
void set_new_space_allocation_counter(size_t new_value) {
......
......@@ -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();
bool ReplaceWithEmptyPage(Page* page) {
// This method is called after flipping the semispace.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment