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

Unified Diff: src/v8-counters.h

Issue 5856002: Add support for compacting the write buffer. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 10 years 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/counters.h ('k') | src/write-buffer.h » ('j') | src/write-buffer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8-counters.h
===================================================================
--- src/v8-counters.h (revision 6019)
+++ src/v8-counters.h (working copy)
@@ -28,7 +28,9 @@
#ifndef V8_V8_COUNTERS_H_
#define V8_V8_COUNTERS_H_
+#include "allocation.h"
#include "counters.h"
+#include "v8globals.h"
namespace v8 {
namespace internal {
@@ -105,7 +107,10 @@
SC(contexts_created_by_snapshot, V8.ContextsCreatedBySnapshot) \
/* Number of code objects found from pc. */ \
SC(pc_to_code, V8.PcToCode) \
- SC(pc_to_code_cached, V8.PcToCodeCached)
+ SC(pc_to_code_cached, V8.PcToCodeCached) \
+ /* The write-buffer implementation of the write barrier. */ \
+ SC(write_buffer_compactions, V8.WriteBufferCompactions) \
+ SC(write_buffer_overflows, V8.WriteBufferOverflows)
#define STATS_COUNTER_LIST_2(SC) \
« no previous file with comments | « src/counters.h ('k') | src/write-buffer.h » ('j') | src/write-buffer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698