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

Side by Side Diff: third_party/WebKit/Source/web/WebKit.cpp

Issue 1953483002: Revert of Do V8 GC ASAP if system memory is pressured (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #include "public/web/WebKit.h" 31 #include "public/web/WebKit.h"
32 32
33 #include "bindings/core/v8/Microtask.h" 33 #include "bindings/core/v8/Microtask.h"
34 #include "bindings/core/v8/V8Binding.h" 34 #include "bindings/core/v8/V8Binding.h"
35 #include "bindings/core/v8/V8GCController.h" 35 #include "bindings/core/v8/V8GCController.h"
36 #include "bindings/core/v8/V8Initializer.h" 36 #include "bindings/core/v8/V8Initializer.h"
37 #include "core/animation/AnimationClock.h" 37 #include "core/animation/AnimationClock.h"
38 #include "core/page/Page.h" 38 #include "core/page/Page.h"
39 #include "core/workers/WorkerBackingThread.h"
40 #include "gin/public/v8_platform.h" 39 #include "gin/public/v8_platform.h"
41 #include "modules/ModulesInitializer.h" 40 #include "modules/ModulesInitializer.h"
42 #include "platform/LayoutTestSupport.h" 41 #include "platform/LayoutTestSupport.h"
43 #include "platform/Logging.h" 42 #include "platform/Logging.h"
44 #include "platform/heap/Heap.h" 43 #include "platform/heap/Heap.h"
45 #include "public/platform/Platform.h" 44 #include "public/platform/Platform.h"
46 #include "public/platform/WebThread.h" 45 #include "public/platform/WebThread.h"
47 #include "wtf/Assertions.h" 46 #include "wtf/Assertions.h"
48 #include "wtf/WTF.h" 47 #include "wtf/WTF.h"
49 #include "wtf/allocator/Partitions.h" 48 #include "wtf/allocator/Partitions.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 { 169 {
171 DCHECK(!reloadPages); 170 DCHECK(!reloadPages);
172 Page::refreshPlugins(); 171 Page::refreshPlugins();
173 } 172 }
174 173
175 void decommitFreeableMemory() 174 void decommitFreeableMemory()
176 { 175 {
177 WTF::Partitions::decommitFreeableMemory(); 176 WTF::Partitions::decommitFreeableMemory();
178 } 177 }
179 178
180 void MemoryPressureNotificationToWorkerThreadIsolates(
181 v8::MemoryPressureLevel level)
182 {
183 WorkerBackingThread::
184 MemoryPressureNotificationToWorkerThreadIsolates(level);
185 }
186
187 } // namespace blink 179 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp ('k') | third_party/WebKit/public/web/WebKit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698