Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: src/compiler-dispatcher/compiler-dispatcher-job.h

Issue 2686673002: [Compiler] Avoid blocking on inner function parallel compilation. (Closed)
Patch Set: Fix outer_scope_info handling Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_JOB_H_ 5 #ifndef V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_JOB_H_
6 #define V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_JOB_H_ 6 #define V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_JOB_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "include/v8.h" 10 #include "include/v8.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 }; 43 };
44 44
45 class V8_EXPORT_PRIVATE CompilerDispatcherJob { 45 class V8_EXPORT_PRIVATE CompilerDispatcherJob {
46 public: 46 public:
47 // Creates a CompilerDispatcherJob in the initial state. 47 // Creates a CompilerDispatcherJob in the initial state.
48 CompilerDispatcherJob(Isolate* isolate, CompilerDispatcherTracer* tracer, 48 CompilerDispatcherJob(Isolate* isolate, CompilerDispatcherTracer* tracer,
49 Handle<SharedFunctionInfo> shared, 49 Handle<SharedFunctionInfo> shared,
50 size_t max_stack_size); 50 size_t max_stack_size);
51 // Creates a CompilerDispatcherJob in the analyzed state. 51 // Creates a CompilerDispatcherJob in the analyzed state.
52 CompilerDispatcherJob(Isolate* isolate, CompilerDispatcherTracer* tracer, 52 CompilerDispatcherJob(Isolate* isolate, CompilerDispatcherTracer* tracer,
53 Handle<Script> script,
53 Handle<SharedFunctionInfo> shared, 54 Handle<SharedFunctionInfo> shared,
54 FunctionLiteral* literal, 55 FunctionLiteral* literal,
55 std::shared_ptr<Zone> parse_zone, 56 std::shared_ptr<Zone> parse_zone,
56 std::shared_ptr<DeferredHandles> parse_handles, 57 std::shared_ptr<DeferredHandles> parse_handles,
57 std::shared_ptr<DeferredHandles> compile_handles, 58 std::shared_ptr<DeferredHandles> compile_handles,
58 size_t max_stack_size); 59 size_t max_stack_size);
59 ~CompilerDispatcherJob(); 60 ~CompilerDispatcherJob();
60 61
61 CompileJobStatus status() const { return status_; } 62 CompileJobStatus status() const { return status_; }
62 63
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 130
130 bool trace_compiler_dispatcher_jobs_; 131 bool trace_compiler_dispatcher_jobs_;
131 132
132 DISALLOW_COPY_AND_ASSIGN(CompilerDispatcherJob); 133 DISALLOW_COPY_AND_ASSIGN(CompilerDispatcherJob);
133 }; 134 };
134 135
135 } // namespace internal 136 } // namespace internal
136 } // namespace v8 137 } // namespace v8
137 138
138 #endif // V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_JOB_H_ 139 #endif // V8_COMPILER_DISPATCHER_COMPILER_DISPATCHER_JOB_H_
OLDNEW
« no previous file with comments | « src/compiler-dispatcher/compiler-dispatcher.cc ('k') | src/compiler-dispatcher/compiler-dispatcher-job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698