| 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 3426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3437 */ | 3437 */ |
| 3438 static bool Dispose(); | 3438 static bool Dispose(); |
| 3439 | 3439 |
| 3440 /** | 3440 /** |
| 3441 * Get statistics about the heap memory usage. | 3441 * Get statistics about the heap memory usage. |
| 3442 */ | 3442 */ |
| 3443 static void GetHeapStatistics(HeapStatistics* heap_statistics); | 3443 static void GetHeapStatistics(HeapStatistics* heap_statistics); |
| 3444 | 3444 |
| 3445 /** | 3445 /** |
| 3446 * Iterates through all external resources referenced from current isolate | 3446 * Iterates through all external resources referenced from current isolate |
| 3447 * heap. This method is not expected to be used except for debugging purposes | 3447 * heap. GC is not invoked prior to iterating, therefore there is no |
| 3448 * and may be quite slow. | 3448 * guarantee that visited objects are still alive. |
| 3449 */ | 3449 */ |
| 3450 static void VisitExternalResources(ExternalResourceVisitor* visitor); | 3450 static void VisitExternalResources(ExternalResourceVisitor* visitor); |
| 3451 | 3451 |
| 3452 /** | 3452 /** |
| 3453 * Iterates through all the persistent handles in the current isolate's heap | 3453 * Iterates through all the persistent handles in the current isolate's heap |
| 3454 * that have class_ids. | 3454 * that have class_ids. |
| 3455 */ | 3455 */ |
| 3456 static void VisitHandlesWithClassIds(PersistentHandleVisitor* visitor); | 3456 static void VisitHandlesWithClassIds(PersistentHandleVisitor* visitor); |
| 3457 | 3457 |
| 3458 /** | 3458 /** |
| (...skipping 1237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4696 | 4696 |
| 4697 | 4697 |
| 4698 } // namespace v8 | 4698 } // namespace v8 |
| 4699 | 4699 |
| 4700 | 4700 |
| 4701 #undef V8EXPORT | 4701 #undef V8EXPORT |
| 4702 #undef TYPE_CHECK | 4702 #undef TYPE_CHECK |
| 4703 | 4703 |
| 4704 | 4704 |
| 4705 #endif // V8_H_ | 4705 #endif // V8_H_ |
| OLD | NEW |