| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1048 static bool s_lastGCWasConservative; | 1048 static bool s_lastGCWasConservative; |
| 1049 static FreePagePool* s_freePagePool; | 1049 static FreePagePool* s_freePagePool; |
| 1050 static OrphanedPagePool* s_orphanedPagePool; | 1050 static OrphanedPagePool* s_orphanedPagePool; |
| 1051 static RegionTree* s_regionTree; | 1051 static RegionTree* s_regionTree; |
| 1052 static size_t s_allocatedSpace; | 1052 static size_t s_allocatedSpace; |
| 1053 static size_t s_allocatedObjectSize; | 1053 static size_t s_allocatedObjectSize; |
| 1054 static size_t s_markedObjectSize; | 1054 static size_t s_markedObjectSize; |
| 1055 static size_t s_externallyAllocatedBytes; | 1055 static size_t s_externallyAllocatedBytes; |
| 1056 static size_t s_externallyAllocatedBytesAlive; | 1056 static size_t s_externallyAllocatedBytesAlive; |
| 1057 static unsigned s_requestedUrgentGC; | 1057 static unsigned s_requestedUrgentGC; |
| 1058 static double s_markingTimeInLastGC; |
| 1058 | 1059 |
| 1059 friend class ThreadState; | 1060 friend class ThreadState; |
| 1060 }; | 1061 }; |
| 1061 | 1062 |
| 1062 template<typename T> | 1063 template<typename T> |
| 1063 struct HeapIndexTrait { | 1064 struct HeapIndexTrait { |
| 1064 static int index() { return NormalPageHeapIndex; }; | 1065 static int index() { return NormalPageHeapIndex; }; |
| 1065 }; | 1066 }; |
| 1066 | 1067 |
| 1067 // FIXME: The forward declaration is layering violation. | 1068 // FIXME: The forward declaration is layering violation. |
| (...skipping 1497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2565 template<typename T, size_t inlineCapacity> | 2566 template<typename T, size_t inlineCapacity> |
| 2566 struct GCInfoTrait<HeapVector<T, inlineCapacity>> : public GCInfoTrait<Vector<T,
inlineCapacity, HeapAllocator>> { }; | 2567 struct GCInfoTrait<HeapVector<T, inlineCapacity>> : public GCInfoTrait<Vector<T,
inlineCapacity, HeapAllocator>> { }; |
| 2567 template<typename T, size_t inlineCapacity> | 2568 template<typename T, size_t inlineCapacity> |
| 2568 struct GCInfoTrait<HeapDeque<T, inlineCapacity>> : public GCInfoTrait<Deque<T, i
nlineCapacity, HeapAllocator>> { }; | 2569 struct GCInfoTrait<HeapDeque<T, inlineCapacity>> : public GCInfoTrait<Deque<T, i
nlineCapacity, HeapAllocator>> { }; |
| 2569 template<typename T, typename U, typename V> | 2570 template<typename T, typename U, typename V> |
| 2570 struct GCInfoTrait<HeapHashCountedSet<T, U, V>> : public GCInfoTrait<HashCounted
Set<T, U, V, HeapAllocator>> { }; | 2571 struct GCInfoTrait<HeapHashCountedSet<T, U, V>> : public GCInfoTrait<HashCounted
Set<T, U, V, HeapAllocator>> { }; |
| 2571 | 2572 |
| 2572 } // namespace blink | 2573 } // namespace blink |
| 2573 | 2574 |
| 2574 #endif // Heap_h | 2575 #endif // Heap_h |
| OLD | NEW |