Bug 1037516 - Attempt to fix perf regresion on talos r=terrence
authorJon Coppeard <jcoppeard@mozilla.com>
Tue, 15 Jul 2014 09:42:47 +0100
changeset 216067 f1a8a13674dd46a68eaf8ff8463b76ddfaba128a
parent 216066 21f83c1eba9220038bd04dbbe299290d55265a88
child 216068 3cbe70a2249ca755777b9b902f035d9457fd378a
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersterrence
bugs1037516
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1037516 - Attempt to fix perf regresion on talos r=terrence
js/src/jsgc.cpp
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -907,17 +907,17 @@ Chunk::fetchNextFreeArena(JSRuntime *rt)
     info.freeArenasHead = aheader->next;
     --info.numArenasFreeCommitted;
     --info.numArenasFree;
     rt->gc.updateOnFreeArenaAlloc(info);
 
     return aheader;
 }
 
-void
+inline void
 GCRuntime::updateBytesAllocated(ptrdiff_t size)
 {
     JS_ASSERT_IF(size < 0, bytes >= size_t(-size));
     bytes += size;
 }
 
 ArenaHeader *
 Chunk::allocateArena(Zone *zone, AllocKind thingKind)