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

Side by Side Diff: include/v8.h

Issue 11365131: Implement VisitHandlesInNewSpaceWithClassIds() (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 8 years, 1 month 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') | no next file with comments »
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 3476 matching lines...) Expand 10 before | Expand all | Expand 10 after
3487 */ 3487 */
3488 static void VisitExternalResources(ExternalResourceVisitor* visitor); 3488 static void VisitExternalResources(ExternalResourceVisitor* visitor);
3489 3489
3490 /** 3490 /**
3491 * Iterates through all the persistent handles in the current isolate's heap 3491 * Iterates through all the persistent handles in the current isolate's heap
3492 * that have class_ids. 3492 * that have class_ids.
3493 */ 3493 */
3494 static void VisitHandlesWithClassIds(PersistentHandleVisitor* visitor); 3494 static void VisitHandlesWithClassIds(PersistentHandleVisitor* visitor);
3495 3495
3496 /** 3496 /**
3497 * Iterates through all the persistent handles in the new space of the current
Michael Starzinger 2013/01/17 09:57:42 The API doesn't have a notion of generational garb
3498 * isolate's heap that have class_ids.
3499 */
3500 static void VisitHandlesInNewSpaceWithClassIds(
3501 PersistentHandleVisitor* visitor);
3502
3503 /**
3497 * Optional notification that the embedder is idle. 3504 * Optional notification that the embedder is idle.
3498 * V8 uses the notification to reduce memory footprint. 3505 * V8 uses the notification to reduce memory footprint.
3499 * This call can be used repeatedly if the embedder remains idle. 3506 * This call can be used repeatedly if the embedder remains idle.
3500 * Returns true if the embedder should stop calling IdleNotification 3507 * Returns true if the embedder should stop calling IdleNotification
3501 * until real work has been done. This indicates that V8 has done 3508 * until real work has been done. This indicates that V8 has done
3502 * as much cleanup as it will be able to do. 3509 * as much cleanup as it will be able to do.
3503 * 3510 *
3504 * The hint argument specifies the amount of work to be done in the function 3511 * The hint argument specifies the amount of work to be done in the function
3505 * on scale from 1 to 1000. There is no guarantee that the actual work will 3512 * on scale from 1 to 1000. There is no guarantee that the actual work will
3506 * match the hint. 3513 * match the hint.
(...skipping 1284 matching lines...) Expand 10 before | Expand all | Expand 10 after
4791 4798
4792 4799
4793 } // namespace v8 4800 } // namespace v8
4794 4801
4795 4802
4796 #undef V8EXPORT 4803 #undef V8EXPORT
4797 #undef TYPE_CHECK 4804 #undef TYPE_CHECK
4798 4805
4799 4806
4800 #endif // V8_H_ 4807 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698