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

Unified Diff: src/isolate.h

Issue 2482163002: [heap] Remove js call rate heuristic from memory reducer. (Closed)
Patch Set: fix test Created 4 years, 1 month 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/heap/memory-reducer.cc ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 157c3f90215b27b6a607104d4c616d732e11c7c2..22888fc7f2e90e1b07a380208a79a27689402bc7 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -1073,12 +1073,6 @@ class Isolate {
return id;
}
- void IncrementJsCallsFromApiCounter() { ++js_calls_from_api_counter_; }
-
- unsigned int js_calls_from_api_counter() {
- return js_calls_from_api_counter_;
- }
-
// Get (and lazily initialize) the registry for per-isolate symbols.
Handle<JSObject> GetSymbolRegistry();
@@ -1416,9 +1410,6 @@ class Isolate {
int next_optimization_id_;
- // Counts javascript calls from the API. Wraps around on overflow.
- unsigned int js_calls_from_api_counter_;
-
#if TRACE_MAPS
int next_unique_sfi_id_;
#endif
« no previous file with comments | « src/heap/memory-reducer.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698