| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 24 matching lines...) Expand all Loading... |
| 35 #include "bootstrapper.h" | 35 #include "bootstrapper.h" |
| 36 #include "codegen.h" | 36 #include "codegen.h" |
| 37 #include "compilation-cache.h" | 37 #include "compilation-cache.h" |
| 38 #include "compiler.h" | 38 #include "compiler.h" |
| 39 #include "cpu.h" | 39 #include "cpu.h" |
| 40 #include "dateparser-inl.h" | 40 #include "dateparser-inl.h" |
| 41 #include "debug.h" | 41 #include "debug.h" |
| 42 #include "deoptimizer.h" | 42 #include "deoptimizer.h" |
| 43 #include "execution.h" | 43 #include "execution.h" |
| 44 #include "global-handles.h" | 44 #include "global-handles.h" |
| 45 #include "isolate-inl.h" |
| 45 #include "jsregexp.h" | 46 #include "jsregexp.h" |
| 46 #include "json-parser.h" | 47 #include "json-parser.h" |
| 47 #include "liveedit.h" | 48 #include "liveedit.h" |
| 48 #include "liveobjectlist-inl.h" | 49 #include "liveobjectlist-inl.h" |
| 49 #include "misc-intrinsics.h" | 50 #include "misc-intrinsics.h" |
| 50 #include "parser.h" | 51 #include "parser.h" |
| 51 #include "platform.h" | 52 #include "platform.h" |
| 52 #include "runtime-profiler.h" | 53 #include "runtime-profiler.h" |
| 53 #include "runtime.h" | 54 #include "runtime.h" |
| 54 #include "scopeinfo.h" | 55 #include "scopeinfo.h" |
| (...skipping 13162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13217 } else { | 13218 } else { |
| 13218 // Handle last resort GC and make sure to allow future allocations | 13219 // Handle last resort GC and make sure to allow future allocations |
| 13219 // to grow the heap without causing GCs (if possible). | 13220 // to grow the heap without causing GCs (if possible). |
| 13220 isolate->counters()->gc_last_resort_from_js()->Increment(); | 13221 isolate->counters()->gc_last_resort_from_js()->Increment(); |
| 13221 isolate->heap()->CollectAllGarbage(Heap::kNoGCFlags); | 13222 isolate->heap()->CollectAllGarbage(Heap::kNoGCFlags); |
| 13222 } | 13223 } |
| 13223 } | 13224 } |
| 13224 | 13225 |
| 13225 | 13226 |
| 13226 } } // namespace v8::internal | 13227 } } // namespace v8::internal |
| OLD | NEW |