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

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

Issue 2843503002: scheduler: Move WebFrameScheduler and WebScheduler into Blink (Closed)
Patch Set: Build fix Created 3 years, 7 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 29 matching lines...) Expand all
40 #include "platform/heap/CallbackStack.h" 40 #include "platform/heap/CallbackStack.h"
41 #include "platform/heap/Handle.h" 41 #include "platform/heap/Handle.h"
42 #include "platform/heap/Heap.h" 42 #include "platform/heap/Heap.h"
43 #include "platform/heap/HeapCompact.h" 43 #include "platform/heap/HeapCompact.h"
44 #include "platform/heap/PagePool.h" 44 #include "platform/heap/PagePool.h"
45 #include "platform/heap/SafePoint.h" 45 #include "platform/heap/SafePoint.h"
46 #include "platform/heap/Visitor.h" 46 #include "platform/heap/Visitor.h"
47 #include "platform/instrumentation/tracing/TraceEvent.h" 47 #include "platform/instrumentation/tracing/TraceEvent.h"
48 #include "platform/instrumentation/tracing/web_memory_allocator_dump.h" 48 #include "platform/instrumentation/tracing/web_memory_allocator_dump.h"
49 #include "platform/instrumentation/tracing/web_process_memory_dump.h" 49 #include "platform/instrumentation/tracing/web_process_memory_dump.h"
50 #include "platform/scheduler/child/web_scheduler.h"
50 #include "platform/wtf/CurrentTime.h" 51 #include "platform/wtf/CurrentTime.h"
51 #include "platform/wtf/DataLog.h" 52 #include "platform/wtf/DataLog.h"
52 #include "platform/wtf/PtrUtil.h" 53 #include "platform/wtf/PtrUtil.h"
53 #include "platform/wtf/StackUtil.h" 54 #include "platform/wtf/StackUtil.h"
54 #include "platform/wtf/ThreadingPrimitives.h" 55 #include "platform/wtf/ThreadingPrimitives.h"
55 #include "platform/wtf/allocator/Partitions.h" 56 #include "platform/wtf/allocator/Partitions.h"
56 #include "public/platform/Platform.h" 57 #include "public/platform/Platform.h"
57 #include "public/platform/WebScheduler.h"
58 #include "public/platform/WebThread.h" 58 #include "public/platform/WebThread.h"
59 #include "public/platform/WebTraceLocation.h" 59 #include "public/platform/WebTraceLocation.h"
60 60
61 #if OS(WIN) 61 #if OS(WIN)
62 #include <stddef.h> 62 #include <stddef.h>
63 #include <windows.h> 63 #include <windows.h>
64 #include <winnt.h> 64 #include <winnt.h>
65 #endif 65 #endif
66 66
67 #if defined(MEMORY_SANITIZER) 67 #if defined(MEMORY_SANITIZER)
(...skipping 1491 matching lines...) Expand 10 before | Expand all | Expand 10 after
1559 CollectGarbage(BlinkGC::kNoHeapPointersOnStack, BlinkGC::kGCWithSweep, 1559 CollectGarbage(BlinkGC::kNoHeapPointersOnStack, BlinkGC::kGCWithSweep,
1560 BlinkGC::kForcedGC); 1560 BlinkGC::kForcedGC);
1561 size_t live_objects = Heap().HeapStats().MarkedObjectSize(); 1561 size_t live_objects = Heap().HeapStats().MarkedObjectSize();
1562 if (live_objects == previous_live_objects) 1562 if (live_objects == previous_live_objects)
1563 break; 1563 break;
1564 previous_live_objects = live_objects; 1564 previous_live_objects = live_objects;
1565 } 1565 }
1566 } 1566 }
1567 1567
1568 } // namespace blink 1568 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698