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

Side by Side Diff: src/heap.cc

Issue 6995018: Ensure that we are getting steps from inline allocation when doing incremental sweeping. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 7 months 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 | « no previous file | src/incremental-marking.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 #endif 475 #endif
476 476
477 if (collector == SCAVENGER && !incremental_marking()->IsStopped()) { 477 if (collector == SCAVENGER && !incremental_marking()->IsStopped()) {
478 if (FLAG_trace_incremental_marking) { 478 if (FLAG_trace_incremental_marking) {
479 PrintF("[IncrementalMarking] Scavenge during marking.\n"); 479 PrintF("[IncrementalMarking] Scavenge during marking.\n");
480 } 480 }
481 } 481 }
482 482
483 if (collector == MARK_COMPACTOR && 483 if (collector == MARK_COMPACTOR &&
484 !mark_compact_collector()->PreciseSweepingRequired() && 484 !mark_compact_collector()->PreciseSweepingRequired() &&
485 incremental_marking()->IsMarkingIncomplete() && 485 !incremental_marking()->IsStopped() &&
486 !incremental_marking()->should_hurry() && 486 !incremental_marking()->should_hurry() &&
487 FLAG_incremental_marking_steps) { 487 FLAG_incremental_marking_steps) {
488 if (FLAG_trace_incremental_marking) { 488 if (FLAG_trace_incremental_marking) {
489 PrintF("[IncrementalMarking] Delaying MarkSweep.\n"); 489 PrintF("[IncrementalMarking] Delaying MarkSweep.\n");
490 } 490 }
491 collector = SCAVENGER; 491 collector = SCAVENGER;
492 } 492 }
493 493
494 bool next_gc_likely_to_collect_more = false; 494 bool next_gc_likely_to_collect_more = false;
495 495
(...skipping 5458 matching lines...) Expand 10 before | Expand all | Expand 10 after
5954 } 5954 }
5955 5955
5956 5956
5957 void ExternalStringTable::TearDown() { 5957 void ExternalStringTable::TearDown() {
5958 new_space_strings_.Free(); 5958 new_space_strings_.Free();
5959 old_space_strings_.Free(); 5959 old_space_strings_.Free();
5960 } 5960 }
5961 5961
5962 5962
5963 } } // namespace v8::internal 5963 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/incremental-marking.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698