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

Unified Diff: src/counters.h

Issue 2786913004: Add counter for new shared/array buffers that fail to allocate space. (Closed)
Patch Set: Fix merge conflict. Created 3 years, 9 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
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/counters.h
diff --git a/src/counters.h b/src/counters.h
index 779e3f399d2b57afa02d88d53d49ed889ac8dd7d..e5e60fe5ade50727f92065a155a590fecfd57d00 100644
--- a/src/counters.h
+++ b/src/counters.h
@@ -929,7 +929,8 @@ class RuntimeCallTimerScope {
51) \
HR(wasm_functions_per_wasm_module, V8.WasmFunctionsPerModule.wasm, 1, \
100000, 51) \
- HR(array_buffer_big_allocations, V8.ArrayBufferBigAllocations, 1, 32, 32)
+ HR(array_buffer_big_allocations, V8.ArrayBufferBigAllocations, 1, 32, 32) \
+ HR(array_buffer_new_size_failures, V8.ArrayBufferNewSizeFailures, 1, 32, 32)
#define HISTOGRAM_TIMER_LIST(HT) \
/* Garbage collection timers. */ \
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698