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

Unified Diff: third_party/WebKit/Source/wtf/allocator/Partitions.cpp

Issue 2130293003: Change OOMs to raise custom exception rather than breakpoint on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/wtf/allocator/PartitionAlloc.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/allocator/Partitions.cpp
diff --git a/third_party/WebKit/Source/wtf/allocator/Partitions.cpp b/third_party/WebKit/Source/wtf/allocator/Partitions.cpp
index e745359911596719be7ca36eeedfe9de1940840c..cbb593737e8ee56d507e9e97ac9eb4328981efa9 100644
--- a/third_party/WebKit/Source/wtf/allocator/Partitions.cpp
+++ b/third_party/WebKit/Source/wtf/allocator/Partitions.cpp
@@ -117,56 +117,56 @@ static NEVER_INLINE void partitionsOutOfMemoryUsing2G()
{
size_t signature = 2UL * 1024 * 1024 * 1024;
base::debug::Alias(&signature);
- IMMEDIATE_CRASH();
+ OOM_CRASH();
}
static NEVER_INLINE void partitionsOutOfMemoryUsing1G()
{
size_t signature = 1UL * 1024 * 1024 * 1024;
base::debug::Alias(&signature);
- IMMEDIATE_CRASH();
+ OOM_CRASH();
}
static NEVER_INLINE void partitionsOutOfMemoryUsing512M()
{
size_t signature = 512 * 1024 * 1024;
base::debug::Alias(&signature);
- IMMEDIATE_CRASH();
+ OOM_CRASH();
}
static NEVER_INLINE void partitionsOutOfMemoryUsing256M()
{
size_t signature = 256 * 1024 * 1024;
base::debug::Alias(&signature);
- IMMEDIATE_CRASH();
+ OOM_CRASH();
}
static NEVER_INLINE void partitionsOutOfMemoryUsing128M()
{
size_t signature = 128 * 1024 * 1024;
base::debug::Alias(&signature);
- IMMEDIATE_CRASH();
+ OOM_CRASH();
}
static NEVER_INLINE void partitionsOutOfMemoryUsing64M()
{
size_t signature = 64 * 1024 * 1024;
base::debug::Alias(&signature);
- IMMEDIATE_CRASH();
+ OOM_CRASH();
}
static NEVER_INLINE void partitionsOutOfMemoryUsing32M()
{
size_t signature = 32 * 1024 * 1024;
base::debug::Alias(&signature);
- IMMEDIATE_CRASH();
+ OOM_CRASH();
}
static NEVER_INLINE void partitionsOutOfMemoryUsing16M()
{
size_t signature = 16 * 1024 * 1024;
base::debug::Alias(&signature);
- IMMEDIATE_CRASH();
+ OOM_CRASH();
}
static NEVER_INLINE void partitionsOutOfMemoryUsingLessThan16M()
« no previous file with comments | « third_party/WebKit/Source/wtf/allocator/PartitionAlloc.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698