| OLD | NEW |
| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 | 199 |
| 200 private: | 200 private: |
| 201 void set_should_hurry(bool val) { | 201 void set_should_hurry(bool val) { |
| 202 should_hurry_ = val; | 202 should_hurry_ = val; |
| 203 } | 203 } |
| 204 | 204 |
| 205 int64_t SpaceLeftInOldSpace(); | 205 int64_t SpaceLeftInOldSpace(); |
| 206 | 206 |
| 207 void ResetStepCounters(); | 207 void ResetStepCounters(); |
| 208 | 208 |
| 209 void StartMarking(); | 209 void StartMarking(bool allow_compaction); |
| 210 | 210 |
| 211 void ActivateIncrementalWriteBarrier(PagedSpace* space); | 211 void ActivateIncrementalWriteBarrier(PagedSpace* space); |
| 212 static void ActivateIncrementalWriteBarrier(NewSpace* space); | 212 static void ActivateIncrementalWriteBarrier(NewSpace* space); |
| 213 void ActivateIncrementalWriteBarrier(); | 213 void ActivateIncrementalWriteBarrier(); |
| 214 | 214 |
| 215 static void DeactivateIncrementalWriteBarrierForSpace(PagedSpace* space); | 215 static void DeactivateIncrementalWriteBarrierForSpace(PagedSpace* space); |
| 216 static void DeactivateIncrementalWriteBarrierForSpace(NewSpace* space); | 216 static void DeactivateIncrementalWriteBarrierForSpace(NewSpace* space); |
| 217 void DeactivateIncrementalWriteBarrier(); | 217 void DeactivateIncrementalWriteBarrier(); |
| 218 | 218 |
| 219 static void SetOldSpacePageFlags(MemoryChunk* chunk, | 219 static void SetOldSpacePageFlags(MemoryChunk* chunk, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 245 bool should_hurry_; | 245 bool should_hurry_; |
| 246 int allocation_marking_factor_; | 246 int allocation_marking_factor_; |
| 247 intptr_t allocated_; | 247 intptr_t allocated_; |
| 248 | 248 |
| 249 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); | 249 DISALLOW_IMPLICIT_CONSTRUCTORS(IncrementalMarking); |
| 250 }; | 250 }; |
| 251 | 251 |
| 252 } } // namespace v8::internal | 252 } } // namespace v8::internal |
| 253 | 253 |
| 254 #endif // V8_INCREMENTAL_MARKING_H_ | 254 #endif // V8_INCREMENTAL_MARKING_H_ |
| OLD | NEW |