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

Side by Side Diff: src/heap.cc

Issue 2655002: Rename ThreadManager::IterateThreads to ThreadManager::IterateArchivedThreads... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 6 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/liveedit.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 for (int i = 0; i < length; i++) { 553 for (int i = 0; i < length; i++) {
554 JSFunctionResultCache::cast(caches->get(i))->Clear(); 554 JSFunctionResultCache::cast(caches->get(i))->Clear();
555 } 555 }
556 } 556 }
557 }; 557 };
558 558
559 559
560 void Heap::ClearJSFunctionResultCaches() { 560 void Heap::ClearJSFunctionResultCaches() {
561 if (Bootstrapper::IsActive()) return; 561 if (Bootstrapper::IsActive()) return;
562 ClearThreadJSFunctionResultCachesVisitor visitor; 562 ClearThreadJSFunctionResultCachesVisitor visitor;
563 ThreadManager::IterateThreads(&visitor); 563 ThreadManager::IterateArchivedThreads(&visitor);
564 } 564 }
565 565
566 566
567 #ifdef DEBUG 567 #ifdef DEBUG
568 568
569 enum PageWatermarkValidity { 569 enum PageWatermarkValidity {
570 ALL_VALID, 570 ALL_VALID,
571 ALL_INVALID 571 ALL_INVALID
572 }; 572 };
573 573
(...skipping 4079 matching lines...) Expand 10 before | Expand all | Expand 10 after
4653 void ExternalStringTable::TearDown() { 4653 void ExternalStringTable::TearDown() {
4654 new_space_strings_.Free(); 4654 new_space_strings_.Free();
4655 old_space_strings_.Free(); 4655 old_space_strings_.Free();
4656 } 4656 }
4657 4657
4658 4658
4659 List<Object*> ExternalStringTable::new_space_strings_; 4659 List<Object*> ExternalStringTable::new_space_strings_;
4660 List<Object*> ExternalStringTable::old_space_strings_; 4660 List<Object*> ExternalStringTable::old_space_strings_;
4661 4661
4662 } } // namespace v8::internal 4662 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698