Reviewers: Jakob, Michael Starzinger,

Description:
Report store buffer overflows to v8 counters.

BUG=

Please review this at https://codereview.chromium.org/17303006/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/store-buffer.cc


Index: src/store-buffer.cc
diff --git a/src/store-buffer.cc b/src/store-buffer.cc
index fd6366a727229923919f553441beda726a224192..b39a187883612a848e70f29159fc92df8f59b081 100644
--- a/src/store-buffer.cc
+++ b/src/store-buffer.cc
@@ -121,6 +121,7 @@ void StoreBuffer::TearDown() {

 void StoreBuffer::StoreBufferOverflow(Isolate* isolate) {
   isolate->heap()->store_buffer()->Compact();
+  ISOLATE->counters()->store_buffer_overflows()->Increment();
 }




--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to