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

Unified Diff: src/counters.h

Issue 1413503007: Provide a counter for thrown JavaScript errors per context (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Adaptations to feedback and now all V8 exceptions are counted Created 5 years, 2 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
Index: src/counters.h
diff --git a/src/counters.h b/src/counters.h
index 9dff765dca0d18c3de01a663c98b3a142d95dc2b..6993850a5121e17ee030b990830f8788bd527802 100644
--- a/src/counters.h
+++ b/src/counters.h
@@ -483,7 +483,8 @@ double AggregatedMemoryHistogram<Histogram>::Aggregate(double current_ms,
HR(gc_idle_time_limit_overshot, V8.GCIdleTimeLimit.Overshot, 0, 10000, 101) \
HR(gc_idle_time_limit_undershot, V8.GCIdleTimeLimit.Undershot, 0, 10000, \
101) \
- HR(code_cache_reject_reason, V8.CodeCacheRejectReason, 1, 6, 6)
+ HR(code_cache_reject_reason, V8.CodeCacheRejectReason, 1, 6, 6) \
+ HR(exceptions_thrown_per_context, V8.ExceptionsThrownPerContext, 0, 200, 20)
#define HISTOGRAM_TIMER_LIST(HT) \
/* Garbage collection timers. */ \

Powered by Google App Engine
This is Rietveld 408576698