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

Side by Side Diff: third_party/WebKit/Source/platform/heap/Heap.cpp

Issue 1881983003: Move PartitionAlloc related things into wtf/allocator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "platform/heap/PagePool.h" 42 #include "platform/heap/PagePool.h"
43 #include "platform/heap/SafePoint.h" 43 #include "platform/heap/SafePoint.h"
44 #include "platform/heap/ThreadState.h" 44 #include "platform/heap/ThreadState.h"
45 #include "public/platform/Platform.h" 45 #include "public/platform/Platform.h"
46 #include "public/platform/WebMemoryAllocatorDump.h" 46 #include "public/platform/WebMemoryAllocatorDump.h"
47 #include "public/platform/WebProcessMemoryDump.h" 47 #include "public/platform/WebProcessMemoryDump.h"
48 #include "wtf/Assertions.h" 48 #include "wtf/Assertions.h"
49 #include "wtf/CurrentTime.h" 49 #include "wtf/CurrentTime.h"
50 #include "wtf/DataLog.h" 50 #include "wtf/DataLog.h"
51 #include "wtf/LeakAnnotations.h" 51 #include "wtf/LeakAnnotations.h"
52 #include "wtf/Partitions.h" 52 #include "wtf/allocator/Partitions.h"
53 53
54 namespace blink { 54 namespace blink {
55 55
56 HeapAllocHooks::AllocationHook* HeapAllocHooks::m_allocationHook = nullptr; 56 HeapAllocHooks::AllocationHook* HeapAllocHooks::m_allocationHook = nullptr;
57 HeapAllocHooks::FreeHook* HeapAllocHooks::m_freeHook = nullptr; 57 HeapAllocHooks::FreeHook* HeapAllocHooks::m_freeHook = nullptr;
58 58
59 class ParkThreadsScope final { 59 class ParkThreadsScope final {
60 STACK_ALLOCATED(); 60 STACK_ALLOCATED();
61 public: 61 public:
62 ParkThreadsScope() 62 ParkThreadsScope()
(...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 CallbackStack* Heap::s_postMarkingCallbackStack; 711 CallbackStack* Heap::s_postMarkingCallbackStack;
712 CallbackStack* Heap::s_globalWeakCallbackStack; 712 CallbackStack* Heap::s_globalWeakCallbackStack;
713 CallbackStack* Heap::s_ephemeronStack; 713 CallbackStack* Heap::s_ephemeronStack;
714 HeapDoesNotContainCache* Heap::s_heapDoesNotContainCache; 714 HeapDoesNotContainCache* Heap::s_heapDoesNotContainCache;
715 FreePagePool* Heap::s_freePagePool; 715 FreePagePool* Heap::s_freePagePool;
716 OrphanedPagePool* Heap::s_orphanedPagePool; 716 OrphanedPagePool* Heap::s_orphanedPagePool;
717 717
718 BlinkGC::GCReason Heap::s_lastGCReason = BlinkGC::NumberOfGCReason; 718 BlinkGC::GCReason Heap::s_lastGCReason = BlinkGC::NumberOfGCReason;
719 719
720 } // namespace blink 720 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698