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

Side by Side Diff: src/serialize.cc

Issue 7302003: Support slots recording for compaction during incremental marking. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: fix presubmit, remove last debug check Created 9 years, 5 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 | « src/objects-inl.h ('k') | src/spaces.h » ('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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 "HandleScope::DeleteExtensions"); 344 "HandleScope::DeleteExtensions");
345 Add(ExternalReference:: 345 Add(ExternalReference::
346 incremental_marking_record_write_function(isolate).address(), 346 incremental_marking_record_write_function(isolate).address(),
347 RUNTIME_ENTRY, 347 RUNTIME_ENTRY,
348 5, 348 5,
349 "IncrementalMarking::RecordWrite"); 349 "IncrementalMarking::RecordWrite");
350 Add(ExternalReference::store_buffer_overflow_function(isolate).address(), 350 Add(ExternalReference::store_buffer_overflow_function(isolate).address(),
351 RUNTIME_ENTRY, 351 RUNTIME_ENTRY,
352 6, 352 6,
353 "StoreBuffer::StoreBufferOverflow"); 353 "StoreBuffer::StoreBufferOverflow");
354 Add(ExternalReference::
355 incremental_evacuation_record_write_function(isolate).address(),
356 RUNTIME_ENTRY,
357 7,
358 "IncrementalMarking::RecordWrite");
359
354 360
355 361
356 // Miscellaneous 362 // Miscellaneous
357 Add(ExternalReference::the_hole_value_location(isolate).address(), 363 Add(ExternalReference::the_hole_value_location(isolate).address(),
358 UNCLASSIFIED, 364 UNCLASSIFIED,
359 2, 365 2,
360 "Factory::the_hole_value().location()"); 366 "Factory::the_hole_value().location()");
361 Add(ExternalReference::roots_address(isolate).address(), 367 Add(ExternalReference::roots_address(isolate).address(),
362 UNCLASSIFIED, 368 UNCLASSIFIED,
363 3, 369 3,
(...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after
1594 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize); 1600 fullness_[space] = RoundUp(fullness_[space], Page::kPageSize);
1595 } 1601 }
1596 } 1602 }
1597 int allocation_address = fullness_[space]; 1603 int allocation_address = fullness_[space];
1598 fullness_[space] = allocation_address + size; 1604 fullness_[space] = allocation_address + size;
1599 return allocation_address; 1605 return allocation_address;
1600 } 1606 }
1601 1607
1602 1608
1603 } } // namespace v8::internal 1609 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/spaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698