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 "codegen.h" | 35 #include "codegen.h" |
36 #include "compilation-cache.h" | 36 #include "compilation-cache.h" |
37 #include "compiler.h" | 37 #include "compiler.h" |
38 #include "cpu.h" | 38 #include "cpu.h" |
39 #include "dateparser-inl.h" | 39 #include "dateparser-inl.h" |
40 #include "debug.h" | 40 #include "debug.h" |
41 #include "deoptimizer.h" | 41 #include "deoptimizer.h" |
42 #include "execution.h" | 42 #include "execution.h" |
43 #include "global-handles.h" | 43 #include "global-handles.h" |
44 #include "jsregexp.h" | 44 #include "jsregexp.h" |
| 45 #include "json-parser.h" |
45 #include "liveedit.h" | 46 #include "liveedit.h" |
46 #include "liveobjectlist-inl.h" | 47 #include "liveobjectlist-inl.h" |
47 #include "parser.h" | 48 #include "parser.h" |
48 #include "platform.h" | 49 #include "platform.h" |
49 #include "runtime-profiler.h" | 50 #include "runtime-profiler.h" |
50 #include "runtime.h" | 51 #include "runtime.h" |
51 #include "scopeinfo.h" | 52 #include "scopeinfo.h" |
52 #include "smart-pointer.h" | 53 #include "smart-pointer.h" |
53 #include "string-search.h" | 54 #include "string-search.h" |
54 #include "stub-cache.h" | 55 #include "stub-cache.h" |
(...skipping 12160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12215 } else { | 12216 } else { |
12216 // Handle last resort GC and make sure to allow future allocations | 12217 // Handle last resort GC and make sure to allow future allocations |
12217 // to grow the heap without causing GCs (if possible). | 12218 // to grow the heap without causing GCs (if possible). |
12218 isolate->counters()->gc_last_resort_from_js()->Increment(); | 12219 isolate->counters()->gc_last_resort_from_js()->Increment(); |
12219 isolate->heap()->CollectAllGarbage(false); | 12220 isolate->heap()->CollectAllGarbage(false); |
12220 } | 12221 } |
12221 } | 12222 } |
12222 | 12223 |
12223 | 12224 |
12224 } } // namespace v8::internal | 12225 } } // namespace v8::internal |
OLD | NEW |