| Index: src/mark-compact.cc
|
| diff --git a/src/mark-compact.cc b/src/mark-compact.cc
|
| index 9cfe5e04821ae38592dfa77edcc03e48fe787b69..d867197d7c563dad3957ca593cb8208bbbe510c6 100644
|
| --- a/src/mark-compact.cc
|
| +++ b/src/mark-compact.cc
|
| @@ -835,6 +835,8 @@ void MarkCompactCollector::Finish() {
|
| // GC, because it relies on the new address of certain old space
|
| // objects (empty string, illegal builtin).
|
| heap()->isolate()->stub_cache()->Clear();
|
| +
|
| + heap()->external_string_table_.CleanUp();
|
| }
|
|
|
|
|
| @@ -933,16 +935,6 @@ void CodeFlusher::ProcessSharedFunctionInfoCandidates() {
|
| }
|
|
|
|
|
| -bool CodeFlusher::ContainsCandidate(SharedFunctionInfo* shared_info) {
|
| - SharedFunctionInfo* candidate = shared_function_info_candidates_head_;
|
| - while (candidate != NULL) {
|
| - if (candidate == shared_info) return true;
|
| - candidate = GetNextCandidate(candidate);
|
| - }
|
| - return false;
|
| -}
|
| -
|
| -
|
| void CodeFlusher::EvictCandidate(SharedFunctionInfo* shared_info) {
|
| // The function is no longer a candidate, make sure it gets visited
|
| // again so that previous flushing decisions are revisited.
|
| @@ -2067,7 +2059,6 @@ void MarkCompactCollector::AfterMarking() {
|
| symbol_table->ElementsRemoved(v.PointersRemoved());
|
| heap()->external_string_table_.Iterate(&v);
|
| heap()->external_string_table_.CleanUp();
|
| - heap()->error_object_list_.RemoveUnmarked(heap());
|
|
|
| // Process the weak references.
|
| MarkCompactWeakObjectRetainer mark_compact_object_retainer;
|
| @@ -3107,9 +3098,6 @@ void MarkCompactCollector::EvacuateNewSpaceAndCandidates() {
|
| heap_->UpdateReferencesInExternalStringTable(
|
| &UpdateReferenceInExternalStringTableEntry);
|
|
|
| - // Update pointers in the new error object list.
|
| - heap_->error_object_list()->UpdateReferences();
|
| -
|
| if (!FLAG_watch_ic_patching) {
|
| // Update JSFunction pointers from the runtime profiler.
|
| heap()->isolate()->runtime_profiler()->UpdateSamplesAfterCompact(
|
|
|