OLD | NEW |
---|---|
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 Loading... | |
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 Loading... | |
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_ |
OLD | NEW |