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

Unified Diff: src/objects.cc

Issue 2462973003: [ic] Experiment: disable map-specific handler cache. (Closed)
Patch Set: 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/ic/handler-compiler.cc ('k') | test/cctest/test-code-cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index fd2cd107a3ecc0aba08aa45066dbf8742210919b..996aafa9f61dcdaf7789666549be3480326adbb9 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -9992,6 +9992,8 @@ class CodeCache : public AllStatic {
void Map::UpdateCodeCache(Handle<Map> map,
Handle<Name> name,
Handle<Code> code) {
+ // TODO(ishell): Experiment: don't cache handlers in map-specific code cache.
+ return;
Isolate* isolate = map->GetIsolate();
Handle<FixedArray> cache(map->code_cache(), isolate);
Handle<FixedArray> new_cache = CodeCache::Put(isolate, cache, name, code);
« no previous file with comments | « src/ic/handler-compiler.cc ('k') | test/cctest/test-code-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698