 Chromium Code Reviews
 Chromium Code Reviews Issue 9632020:
  V8 crashes when profile generator is trying to allocate a raw_entries_ buffer more than 2Gb.  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
    
  
    Issue 9632020:
  V8 crashes when profile generator is trying to allocate a raw_entries_ buffer more than 2Gb.  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge| Index: src/allocation.h | 
| diff --git a/src/allocation.h b/src/allocation.h | 
| index 69e72bdbad38e30e73d719fd693063c8e2eb5635..31067dda8196feed86a36c172f71e71adc8c0b85 100644 | 
| --- a/src/allocation.h | 
| +++ b/src/allocation.h | 
| @@ -80,7 +80,7 @@ class AllStatic { | 
| template <typename T> | 
| -T* NewArray(int size) { | 
| +T* NewArray(size_t size) { | 
| T* result = new T[size]; | 
| if (result == NULL) Malloced::FatalProcessOutOfMemory(); | 
| return result; |