| 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 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1736 MemoryChunk* chunks_queued_for_free_; | 1736 MemoryChunk* chunks_queued_for_free_; |
| 1737 | 1737 |
| 1738 friend class Factory; | 1738 friend class Factory; |
| 1739 friend class GCTracer; | 1739 friend class GCTracer; |
| 1740 friend class DisallowAllocationFailure; | 1740 friend class DisallowAllocationFailure; |
| 1741 friend class AlwaysAllocateScope; | 1741 friend class AlwaysAllocateScope; |
| 1742 friend class LinearAllocationScope; | 1742 friend class LinearAllocationScope; |
| 1743 friend class Page; | 1743 friend class Page; |
| 1744 friend class Isolate; | 1744 friend class Isolate; |
| 1745 friend class MarkCompactCollector; | 1745 friend class MarkCompactCollector; |
| 1746 friend class StaticMarkingVisitor; |
| 1746 friend class MapCompact; | 1747 friend class MapCompact; |
| 1747 | 1748 |
| 1748 DISALLOW_COPY_AND_ASSIGN(Heap); | 1749 DISALLOW_COPY_AND_ASSIGN(Heap); |
| 1749 }; | 1750 }; |
| 1750 | 1751 |
| 1751 | 1752 |
| 1752 class HeapStats { | 1753 class HeapStats { |
| 1753 public: | 1754 public: |
| 1754 static const int kStartMarker = 0xDECADE00; | 1755 static const int kStartMarker = 0xDECADE00; |
| 1755 static const int kEndMarker = 0xDECADE01; | 1756 static const int kEndMarker = 0xDECADE01; |
| (...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2386 | 2387 |
| 2387 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2388 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
| 2388 }; | 2389 }; |
| 2389 #endif // DEBUG || LIVE_OBJECT_LIST | 2390 #endif // DEBUG || LIVE_OBJECT_LIST |
| 2390 | 2391 |
| 2391 } } // namespace v8::internal | 2392 } } // namespace v8::internal |
| 2392 | 2393 |
| 2393 #undef HEAP | 2394 #undef HEAP |
| 2394 | 2395 |
| 2395 #endif // V8_HEAP_H_ | 2396 #endif // V8_HEAP_H_ |
| OLD | NEW |