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

Side by Side Diff: src/heap.cc

Issue 103293006: Remove outdated profiler flags (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: remove moar stuffs (per review feedback) Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/flag-definitions.h ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1541 &IsUnscavengedHeapObject); 1541 &IsUnscavengedHeapObject);
1542 isolate_->global_handles()->IterateNewSpaceWeakIndependentRoots( 1542 isolate_->global_handles()->IterateNewSpaceWeakIndependentRoots(
1543 &scavenge_visitor); 1543 &scavenge_visitor);
1544 new_space_front = DoScavenge(&scavenge_visitor, new_space_front); 1544 new_space_front = DoScavenge(&scavenge_visitor, new_space_front);
1545 1545
1546 UpdateNewSpaceReferencesInExternalStringTable( 1546 UpdateNewSpaceReferencesInExternalStringTable(
1547 &UpdateNewSpaceReferenceInExternalStringTableEntry); 1547 &UpdateNewSpaceReferenceInExternalStringTableEntry);
1548 1548
1549 promotion_queue_.Destroy(); 1549 promotion_queue_.Destroy();
1550 1550
1551 if (!FLAG_watch_ic_patching) {
1552 isolate()->runtime_profiler()->UpdateSamplesAfterScavenge();
1553 }
1554 incremental_marking()->UpdateMarkingDequeAfterScavenge(); 1551 incremental_marking()->UpdateMarkingDequeAfterScavenge();
1555 1552
1556 ScavengeWeakObjectRetainer weak_object_retainer(this); 1553 ScavengeWeakObjectRetainer weak_object_retainer(this);
1557 ProcessWeakReferences(&weak_object_retainer); 1554 ProcessWeakReferences(&weak_object_retainer);
1558 1555
1559 ASSERT(new_space_front == new_space_.top()); 1556 ASSERT(new_space_front == new_space_.top());
1560 1557
1561 // Set age mark. 1558 // Set age mark.
1562 new_space_.set_age_mark(new_space_.top()); 1559 new_space_.set_age_mark(new_space_.top());
1563 1560
(...skipping 6424 matching lines...) Expand 10 before | Expand all | Expand 10 after
7988 static_cast<int>(object_sizes_last_time_[index])); 7985 static_cast<int>(object_sizes_last_time_[index]));
7989 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT) 7986 CODE_AGE_LIST_COMPLETE(ADJUST_LAST_TIME_OBJECT_COUNT)
7990 #undef ADJUST_LAST_TIME_OBJECT_COUNT 7987 #undef ADJUST_LAST_TIME_OBJECT_COUNT
7991 7988
7992 OS::MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_)); 7989 OS::MemCopy(object_counts_last_time_, object_counts_, sizeof(object_counts_));
7993 OS::MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_)); 7990 OS::MemCopy(object_sizes_last_time_, object_sizes_, sizeof(object_sizes_));
7994 ClearObjectStats(); 7991 ClearObjectStats();
7995 } 7992 }
7996 7993
7997 } } // namespace v8::internal 7994 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698