| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without | 
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are | 
| 4 // met: | 4 // met: | 
| 5 // | 5 // | 
| 6 //     * Redistributions of source code must retain the above copyright | 6 //     * Redistributions of source code must retain the above copyright | 
| 7 //       notice, this list of conditions and the following disclaimer. | 7 //       notice, this list of conditions and the following disclaimer. | 
| 8 //     * Redistributions in binary form must reproduce the above | 8 //     * Redistributions in binary form must reproduce the above | 
| 9 //       copyright notice, this list of conditions and the following | 9 //       copyright notice, this list of conditions and the following | 
| 10 //       disclaimer in the documentation and/or other materials provided | 10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
| 31 #include "v8.h" | 31 #include "v8.h" | 
| 32 | 32 | 
| 33 #include "accessors.h" | 33 #include "accessors.h" | 
| 34 #include "api.h" | 34 #include "api.h" | 
| 35 #include "arguments.h" | 35 #include "arguments.h" | 
| 36 #include "bootstrapper.h" | 36 #include "bootstrapper.h" | 
| 37 #include "codegen.h" | 37 #include "codegen.h" | 
| 38 #include "compilation-cache.h" | 38 #include "compilation-cache.h" | 
| 39 #include "compiler.h" | 39 #include "compiler.h" | 
| 40 #include "cpu.h" | 40 #include "cpu.h" | 
|  | 41 #include "cpu-profiler.h" | 
| 41 #include "dateparser-inl.h" | 42 #include "dateparser-inl.h" | 
| 42 #include "debug.h" | 43 #include "debug.h" | 
| 43 #include "deoptimizer.h" | 44 #include "deoptimizer.h" | 
| 44 #include "date.h" | 45 #include "date.h" | 
| 45 #include "execution.h" | 46 #include "execution.h" | 
| 46 #include "full-codegen.h" | 47 #include "full-codegen.h" | 
| 47 #include "global-handles.h" | 48 #include "global-handles.h" | 
| 48 #include "isolate-inl.h" | 49 #include "isolate-inl.h" | 
| 49 #include "jsregexp.h" | 50 #include "jsregexp.h" | 
| 50 #include "jsregexp-inl.h" | 51 #include "jsregexp-inl.h" | 
| (...skipping 13894 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 13945     // Handle last resort GC and make sure to allow future allocations | 13946     // Handle last resort GC and make sure to allow future allocations | 
| 13946     // to grow the heap without causing GCs (if possible). | 13947     // to grow the heap without causing GCs (if possible). | 
| 13947     isolate->counters()->gc_last_resort_from_js()->Increment(); | 13948     isolate->counters()->gc_last_resort_from_js()->Increment(); | 
| 13948     isolate->heap()->CollectAllGarbage(Heap::kNoGCFlags, | 13949     isolate->heap()->CollectAllGarbage(Heap::kNoGCFlags, | 
| 13949                                        "Runtime::PerformGC"); | 13950                                        "Runtime::PerformGC"); | 
| 13950   } | 13951   } | 
| 13951 } | 13952 } | 
| 13952 | 13953 | 
| 13953 | 13954 | 
| 13954 } }  // namespace v8::internal | 13955 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|