| OLD | NEW | 
|---|
| 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 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1405 | 1405 | 
| 1406 | 1406 | 
| 1407   void UpdateNewSpaceReferencesInExternalStringTable( | 1407   void UpdateNewSpaceReferencesInExternalStringTable( | 
| 1408       ExternalStringTableUpdaterCallback updater_func); | 1408       ExternalStringTableUpdaterCallback updater_func); | 
| 1409 | 1409 | 
| 1410   void UpdateReferencesInExternalStringTable( | 1410   void UpdateReferencesInExternalStringTable( | 
| 1411       ExternalStringTableUpdaterCallback updater_func); | 1411       ExternalStringTableUpdaterCallback updater_func); | 
| 1412 | 1412 | 
| 1413   void ProcessWeakReferences(WeakObjectRetainer* retainer); | 1413   void ProcessWeakReferences(WeakObjectRetainer* retainer); | 
| 1414 | 1414 | 
|  | 1415   void VisitExternalResources(v8::ExternalResourceVisitor* visitor); | 
|  | 1416 | 
| 1415   // Helper function that governs the promotion policy from new space to | 1417   // Helper function that governs the promotion policy from new space to | 
| 1416   // old.  If the object's old address lies below the new space's age | 1418   // old.  If the object's old address lies below the new space's age | 
| 1417   // mark or if we've already filled the bottom 1/16th of the to space, | 1419   // mark or if we've already filled the bottom 1/16th of the to space, | 
| 1418   // we try to promote this object. | 1420   // we try to promote this object. | 
| 1419   inline bool ShouldBePromoted(Address old_address, int object_size); | 1421   inline bool ShouldBePromoted(Address old_address, int object_size); | 
| 1420 | 1422 | 
| 1421   int MaxObjectSizeInNewSpace() { return kMaxObjectSizeInNewSpace; } | 1423   int MaxObjectSizeInNewSpace() { return kMaxObjectSizeInNewSpace; } | 
| 1422 | 1424 | 
| 1423   void ClearJSFunctionResultCaches(); | 1425   void ClearJSFunctionResultCaches(); | 
| 1424 | 1426 | 
| (...skipping 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2613 | 2615 | 
| 2614   DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2616   DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 
| 2615 }; | 2617 }; | 
| 2616 #endif  // DEBUG || LIVE_OBJECT_LIST | 2618 #endif  // DEBUG || LIVE_OBJECT_LIST | 
| 2617 | 2619 | 
| 2618 } }  // namespace v8::internal | 2620 } }  // namespace v8::internal | 
| 2619 | 2621 | 
| 2620 #undef HEAP | 2622 #undef HEAP | 
| 2621 | 2623 | 
| 2622 #endif  // V8_HEAP_H_ | 2624 #endif  // V8_HEAP_H_ | 
| OLD | NEW | 
|---|