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

Unified Diff: src/transitions.h

Issue 1470773003: Optimize ClearNonLiveReferences: do not compact prototype transitions in GC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add missing check Created 5 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/mark-compact.cc ('k') | src/transitions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/transitions.h
diff --git a/src/transitions.h b/src/transitions.h
index 1fcd3860d0bdc552490d42d00a84e97d41dbf26b..72356beb2ee733232a6a88d710ff73699bd1f580 100644
--- a/src/transitions.h
+++ b/src/transitions.h
@@ -102,6 +102,9 @@ class TransitionArray: public FixedArray {
static const int kMaxCachedPrototypeTransitions = 256;
static void PutPrototypeTransition(Handle<Map> map, Handle<Object> prototype,
Handle<Map> target_map);
+ static bool CompactPrototypeTransitionArray(FixedArray* array);
Jakob Kummerow 2015/11/25 12:38:05 AFAICS both of these new functions are internal ex
ulan 2015/11/25 13:12:48 Done.
+ static Handle<FixedArray> GrowPrototypeTransitionArray(
+ Handle<FixedArray> array, int new_capacity, Isolate* isolate);
static Handle<Map> GetPrototypeTransition(Handle<Map> map,
Handle<Object> prototype);
« no previous file with comments | « src/heap/mark-compact.cc ('k') | src/transitions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698