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 2062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2073 MemoryChunk* chunks_queued_for_free_; | 2073 MemoryChunk* chunks_queued_for_free_; |
2074 | 2074 |
2075 friend class Factory; | 2075 friend class Factory; |
2076 friend class GCTracer; | 2076 friend class GCTracer; |
2077 friend class DisallowAllocationFailure; | 2077 friend class DisallowAllocationFailure; |
2078 friend class AlwaysAllocateScope; | 2078 friend class AlwaysAllocateScope; |
2079 friend class LinearAllocationScope; | 2079 friend class LinearAllocationScope; |
2080 friend class Page; | 2080 friend class Page; |
2081 friend class Isolate; | 2081 friend class Isolate; |
2082 friend class MarkCompactCollector; | 2082 friend class MarkCompactCollector; |
2083 friend class StaticMarkingVisitor; | 2083 friend class MarkCompactMarkingVisitor; |
2084 friend class MapCompact; | 2084 friend class MapCompact; |
2085 | 2085 |
2086 DISALLOW_COPY_AND_ASSIGN(Heap); | 2086 DISALLOW_COPY_AND_ASSIGN(Heap); |
2087 }; | 2087 }; |
2088 | 2088 |
2089 | 2089 |
2090 class HeapStats { | 2090 class HeapStats { |
2091 public: | 2091 public: |
2092 static const int kStartMarker = 0xDECADE00; | 2092 static const int kStartMarker = 0xDECADE00; |
2093 static const int kEndMarker = 0xDECADE01; | 2093 static const int kEndMarker = 0xDECADE01; |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2728 AssertNoAllocation no_alloc; // i.e. no gc allowed. | 2728 AssertNoAllocation no_alloc; // i.e. no gc allowed. |
2729 | 2729 |
2730 private: | 2730 private: |
2731 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); | 2731 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); |
2732 }; | 2732 }; |
2733 #endif // DEBUG || LIVE_OBJECT_LIST | 2733 #endif // DEBUG || LIVE_OBJECT_LIST |
2734 | 2734 |
2735 } } // namespace v8::internal | 2735 } } // namespace v8::internal |
2736 | 2736 |
2737 #endif // V8_HEAP_H_ | 2737 #endif // V8_HEAP_H_ |
OLD | NEW |