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

Side by Side Diff: include/v8.h

Issue 11365131: Implement VisitHandlesInNewSpaceWithClassIds() (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Fixed format Created 7 years, 11 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
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/api.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 3468 matching lines...) Expand 10 before | Expand all | Expand 10 after
3479 */ 3479 */
3480 static void VisitExternalResources(ExternalResourceVisitor* visitor); 3480 static void VisitExternalResources(ExternalResourceVisitor* visitor);
3481 3481
3482 /** 3482 /**
3483 * Iterates through all the persistent handles in the current isolate's heap 3483 * Iterates through all the persistent handles in the current isolate's heap
3484 * that have class_ids. 3484 * that have class_ids.
3485 */ 3485 */
3486 static void VisitHandlesWithClassIds(PersistentHandleVisitor* visitor); 3486 static void VisitHandlesWithClassIds(PersistentHandleVisitor* visitor);
3487 3487
3488 /** 3488 /**
3489 * Iterates through all the persistent handles in the current isolate's heap
3490 * that have class_ids and are candidates to be marked as partially dependent
3491 * handles. This will visit handles to young objects created since the last
3492 * garbage collection but is free to visit an arbitrary superset of these
3493 * objects.
3494 */
3495 static void VisitHandlesForPartialDependence(
3496 Isolate* isolate, PersistentHandleVisitor* visitor);
3497
3498 /**
3489 * Optional notification that the embedder is idle. 3499 * Optional notification that the embedder is idle.
3490 * V8 uses the notification to reduce memory footprint. 3500 * V8 uses the notification to reduce memory footprint.
3491 * This call can be used repeatedly if the embedder remains idle. 3501 * This call can be used repeatedly if the embedder remains idle.
3492 * Returns true if the embedder should stop calling IdleNotification 3502 * Returns true if the embedder should stop calling IdleNotification
3493 * until real work has been done. This indicates that V8 has done 3503 * until real work has been done. This indicates that V8 has done
3494 * as much cleanup as it will be able to do. 3504 * as much cleanup as it will be able to do.
3495 * 3505 *
3496 * The hint argument specifies the amount of work to be done in the function 3506 * The hint argument specifies the amount of work to be done in the function
3497 * on scale from 1 to 1000. There is no guarantee that the actual work will 3507 * on scale from 1 to 1000. There is no guarantee that the actual work will
3498 * match the hint. 3508 * match the hint.
(...skipping 1337 matching lines...) Expand 10 before | Expand all | Expand 10 after
4836 4846
4837 4847
4838 } // namespace v8 4848 } // namespace v8
4839 4849
4840 4850
4841 #undef V8EXPORT 4851 #undef V8EXPORT
4842 #undef TYPE_CHECK 4852 #undef TYPE_CHECK
4843 4853
4844 4854
4845 #endif // V8_H_ 4855 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698