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

Side by Side Diff: src/incremental-marking.h

Issue 6597104: Move IncrementalRecordWrite to a stub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 9 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
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 COMPLETE 45 COMPLETE
46 }; 46 };
47 47
48 static State state() { 48 static State state() {
49 ASSERT(state_ == STOPPED || FLAG_incremental_marking); 49 ASSERT(state_ == STOPPED || FLAG_incremental_marking);
50 return state_; 50 return state_;
51 } 51 }
52 52
53 static inline bool IsStopped() { return state() == STOPPED; } 53 static inline bool IsStopped() { return state() == STOPPED; }
54 54
55 static bool WorthActivating();
56
55 static void Start(); 57 static void Start();
56 58
57 static void Stop(); 59 static void Stop();
58 60
59 static void Hurry(); 61 static void Hurry();
60 62
61 static void Finalize(); 63 static void Finalize();
62 64
63 static void MarkingComplete(); 65 static void MarkingComplete();
64 66
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 } 165 }
164 166
165 private: 167 private:
166 static State state_; 168 static State state_;
167 static MarkingStack marking_stack_; 169 static MarkingStack marking_stack_;
168 }; 170 };
169 171
170 } } // namespace v8::internal 172 } } // namespace v8::internal
171 173
172 #endif // V8_INCREMENTAL_MARKING_H_ 174 #endif // V8_INCREMENTAL_MARKING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698