| 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 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1639 bool is_safe_to_read_maps_; | 1639 bool is_safe_to_read_maps_; |
| 1640 | 1640 |
| 1641 friend class Factory; | 1641 friend class Factory; |
| 1642 friend class GCTracer; | 1642 friend class GCTracer; |
| 1643 friend class DisallowAllocationFailure; | 1643 friend class DisallowAllocationFailure; |
| 1644 friend class AlwaysAllocateScope; | 1644 friend class AlwaysAllocateScope; |
| 1645 friend class LinearAllocationScope; | 1645 friend class LinearAllocationScope; |
| 1646 friend class Page; | 1646 friend class Page; |
| 1647 friend class Isolate; | 1647 friend class Isolate; |
| 1648 friend class MarkCompactCollector; | 1648 friend class MarkCompactCollector; |
| 1649 friend class StaticMarkingVisitor; |
| 1649 friend class MapCompact; | 1650 friend class MapCompact; |
| 1650 | 1651 |
| 1651 DISALLOW_COPY_AND_ASSIGN(Heap); | 1652 DISALLOW_COPY_AND_ASSIGN(Heap); |
| 1652 }; | 1653 }; |
| 1653 | 1654 |
| 1654 | 1655 |
| 1655 class HeapStats { | 1656 class HeapStats { |
| 1656 public: | 1657 public: |
| 1657 static const int kStartMarker = 0xDECADE00; | 1658 static const int kStartMarker = 0xDECADE00; |
| 1658 static const int kEndMarker = 0xDECADE01; | 1659 static const int kEndMarker = 0xDECADE01; |
| (...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2305 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2306 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 2306 }; | 2307 }; |
| 2307 #endif // DEBUG || LIVE_OBJECT_LIST | 2308 #endif // DEBUG || LIVE_OBJECT_LIST |
| 2308 | 2309 |
| 2309 | 2310 |
| 2310 } } // namespace v8::internal | 2311 } } // namespace v8::internal |
| 2311 | 2312 |
| 2312 #undef HEAP | 2313 #undef HEAP |
| 2313 | 2314 |
| 2314 #endif // V8_HEAP_H_ | 2315 #endif // V8_HEAP_H_ |
| OLD | NEW |