From: yangguo@chromium.org Date: Mon, 5 Aug 2013 09:02:47 +0000 (+0000) Subject: Disable parallel recompilation for --trace-hydrogen-stubs. X-Git-Tag: upstream/4.7.83~13059 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ed4df6b5751c5e91920e0bc98c42f3e9b7ba101;p=platform%2Fupstream%2Fv8.git Disable parallel recompilation for --trace-hydrogen-stubs. R=bmeurer@chromium.org BUG= Review URL: https://codereview.chromium.org/21830004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16042 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/v8.cc b/src/v8.cc index cfec0c0..521d064 100644 --- a/src/v8.cc +++ b/src/v8.cc @@ -271,7 +271,11 @@ void V8::InitializeOncePerProcessImpl() { FLAG_gc_global = true; FLAG_max_new_space_size = (1 << (kPageSizeBits - 10)) * 2; } - if (FLAG_trace_hydrogen) FLAG_parallel_recompilation = false; + + if (FLAG_trace_hydrogen || FLAG_trace_hydrogen_stubs) { + // Tracing hydrogen do not work with parallel recompilation. + FLAG_parallel_recompilation = false; + } if (FLAG_sweeper_threads <= 0) { if (FLAG_concurrent_sweeping) {