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

Side by Side Diff: Source/platform/heap/Heap.h

Issue 1163843010: Oilpan: Remove Heap::s_markingVisitor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months 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 | « no previous file | Source/platform/heap/Heap.cpp » ('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) 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 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after
1056 RegionTree* m_left; 1056 RegionTree* m_left;
1057 RegionTree* m_right; 1057 RegionTree* m_right;
1058 }; 1058 };
1059 1059
1060 // Reset counters that track live and allocated-since-last-GC sizes. 1060 // Reset counters that track live and allocated-since-last-GC sizes.
1061 static void resetHeapCounters(); 1061 static void resetHeapCounters();
1062 1062
1063 static int heapIndexForObjectSize(size_t); 1063 static int heapIndexForObjectSize(size_t);
1064 static bool isNormalHeapIndex(int); 1064 static bool isNormalHeapIndex(int);
1065 1065
1066 static Visitor* s_markingVisitor;
1067 static CallbackStack* s_markingStack; 1066 static CallbackStack* s_markingStack;
1068 static CallbackStack* s_postMarkingCallbackStack; 1067 static CallbackStack* s_postMarkingCallbackStack;
1069 static CallbackStack* s_globalWeakCallbackStack; 1068 static CallbackStack* s_globalWeakCallbackStack;
1070 static CallbackStack* s_ephemeronStack; 1069 static CallbackStack* s_ephemeronStack;
1071 static HeapDoesNotContainCache* s_heapDoesNotContainCache; 1070 static HeapDoesNotContainCache* s_heapDoesNotContainCache;
1072 static bool s_shutdownCalled; 1071 static bool s_shutdownCalled;
1073 static bool s_lastGCWasConservative; 1072 static bool s_lastGCWasConservative;
1074 static FreePagePool* s_freePagePool; 1073 static FreePagePool* s_freePagePool;
1075 static OrphanedPagePool* s_orphanedPagePool; 1074 static OrphanedPagePool* s_orphanedPagePool;
1076 static RegionTree* s_regionTree; 1075 static RegionTree* s_regionTree;
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 size_t copySize = previousHeader->payloadSize(); 1386 size_t copySize = previousHeader->payloadSize();
1388 if (copySize > size) 1387 if (copySize > size)
1389 copySize = size; 1388 copySize = size;
1390 memcpy(address, previous, copySize); 1389 memcpy(address, previous, copySize);
1391 return address; 1390 return address;
1392 } 1391 }
1393 1392
1394 } // namespace blink 1393 } // namespace blink
1395 1394
1396 #endif // Heap_h 1395 #endif // Heap_h
OLDNEW
« no previous file with comments | « no previous file | Source/platform/heap/Heap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698