| 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 static void SetNewSpacePageFlags(MemoryChunk* chunk, bool is_marking); | 226 static void SetNewSpacePageFlags(MemoryChunk* chunk, bool is_marking); |
| 227 | 227 |
| 228 Heap* heap_; | 228 Heap* heap_; |
| 229 | 229 |
| 230 State state_; | 230 State state_; |
| 231 MarkingDeque marking_deque_; | 231 MarkingDeque marking_deque_; |
| 232 | 232 |
| 233 int steps_count_; | 233 int steps_count_; |
| 234 double steps_took_; | 234 double steps_took_; |
| 235 bool should_hurry_; | 235 bool should_hurry_; |
| 236 intptr_t allocation_marking_factor_; | 236 int allocation_marking_factor_; |
| 237 intptr_t allocated_; | 237 intptr_t allocated_; |
| 238 }; | 238 }; |
| 239 | 239 |
| 240 } } // namespace v8::internal | 240 } } // namespace v8::internal |
| 241 | 241 |
| 242 #endif // V8_INCREMENTAL_MARKING_H_ | 242 #endif // V8_INCREMENTAL_MARKING_H_ |
| OLD | NEW |