Reviewers: Jakob,
Description:
Make sure the fatal OOM handler never returns.
[email protected]
Please review this at https://codereview.chromium.org/23731004/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/api.cc
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index
b89cdfc0b66a8f2271ab9275db31ae61f16e51f4..4b80555a159da47f82183c3c090ea3f5415b17f9
100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -225,7 +225,7 @@ void i::V8::FatalProcessOutOfMemory(const char*
location, bool take_snapshot) {
const char* message = "Allocation failed - process out of memory";
callback(location, message);
// If the callback returns, we stop execution.
- UNREACHABLE();
+ FATAL("API fatal error handler returned after process out of memory");
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.