Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Side by Side Diff: Source/core/fetch/MemoryCache.h

Issue 758073009: Oilpan: add lazy tracing annotations to recursive objects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/ContainerNode.h ('k') | Source/core/rendering/RenderQuote.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de)
3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org>
4 Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 4 Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
5 5
6 This library is free software; you can redistribute it and/or 6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public 7 modify it under the terms of the GNU Library General Public
8 License as published by the Free Software Foundation; either 8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (at your option) any later version. 9 version 2 of the License, or (at your option) any later version.
10 10
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 , m_liveResourcePriority(MemoryCacheLiveResourcePriorityLow) 102 , m_liveResourcePriority(MemoryCacheLiveResourcePriorityLow)
103 , m_lastDecodedAccessTime(0.0) 103 , m_lastDecodedAccessTime(0.0)
104 , m_previousInLiveResourcesList(nullptr) 104 , m_previousInLiveResourcesList(nullptr)
105 , m_nextInLiveResourcesList(nullptr) 105 , m_nextInLiveResourcesList(nullptr)
106 , m_previousInAllResourcesList(nullptr) 106 , m_previousInAllResourcesList(nullptr)
107 , m_nextInAllResourcesList(nullptr) 107 , m_nextInAllResourcesList(nullptr)
108 { 108 {
109 } 109 }
110 }; 110 };
111 111
112 WILL_NOT_BE_EAGERLY_TRACED_CLASS(MemoryCacheEntry);
113
112 // MemoryCacheLRUList is used only in MemoryCache class, but we don't make 114 // MemoryCacheLRUList is used only in MemoryCache class, but we don't make
113 // MemoryCacheLRUList an inner struct of MemoryCache because we can't define 115 // MemoryCacheLRUList an inner struct of MemoryCache because we can't define
114 // VectorTraits for inner structs. 116 // VectorTraits for inner structs.
115 struct MemoryCacheLRUList final { 117 struct MemoryCacheLRUList final {
116 ALLOW_ONLY_INLINE_ALLOCATION(); 118 ALLOW_ONLY_INLINE_ALLOCATION();
117 public: 119 public:
118 RawPtrWillBeMember<MemoryCacheEntry> m_head; 120 RawPtrWillBeMember<MemoryCacheEntry> m_head;
119 RawPtrWillBeMember<MemoryCacheEntry> m_tail; 121 RawPtrWillBeMember<MemoryCacheEntry> m_tail;
120 122
121 MemoryCacheLRUList() : m_head(nullptr), m_tail(nullptr) { } 123 MemoryCacheLRUList() : m_head(nullptr), m_tail(nullptr) { }
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 // Returns the global cache. 311 // Returns the global cache.
310 MemoryCache* memoryCache(); 312 MemoryCache* memoryCache();
311 313
312 // Sets the global cache, used to swap in a test instance. Returns the old 314 // Sets the global cache, used to swap in a test instance. Returns the old
313 // MemoryCache object. 315 // MemoryCache object.
314 PassOwnPtrWillBeRawPtr<MemoryCache> replaceMemoryCacheForTesting(PassOwnPtrWillB eRawPtr<MemoryCache>); 316 PassOwnPtrWillBeRawPtr<MemoryCache> replaceMemoryCacheForTesting(PassOwnPtrWillB eRawPtr<MemoryCache>);
315 317
316 } 318 }
317 319
318 #endif 320 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/ContainerNode.h ('k') | Source/core/rendering/RenderQuote.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698