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

Issue 620093003: Introduce --job-based-recompilation flag (Closed)

Created:
6 years, 2 months ago by jochen (gone - plz use gerrit)
Modified:
6 years, 2 months ago
Reviewers:
Yang
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Introduce --job-based-recompilation flag The implementation is not yet complete, it doesn't support blocking yet, and doesn't collect statistics. This things will be fixed in follow-up CLs. BUG=v8:3608 R=yangguo@chromium.org LOG=n Committed: https://code.google.com/p/v8/source/detail?r=24425

Patch Set 1 #

Total comments: 1

Patch Set 2 : updates #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -6 lines) Patch
M src/flag-definitions.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/optimizing-compiler-thread.h View 2 chunks +5 lines, -0 lines 0 comments Download
M src/optimizing-compiler-thread.cc View 1 8 chunks +74 lines, -6 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
jochen (gone - plz use gerrit)
6 years, 2 months ago (2014-10-02 13:27:44 UTC) #1
Yang
LGTM with comment. Support for flushing the queue would be great too (we do it ...
6 years, 2 months ago (2014-10-07 07:00:41 UTC) #2
jochen (gone - plz use gerrit)
On 2014/10/07 at 07:00:41, yangguo wrote: > LGTM with comment. > > Support for flushing ...
6 years, 2 months ago (2014-10-07 07:28:46 UTC) #3
jochen (gone - plz use gerrit)
Committed patchset #2 (id:20001) manually as 24425 (presubmit successful).
6 years, 2 months ago (2014-10-07 07:29:36 UTC) #4
Yang
https://codereview.chromium.org/620093003/diff/20001/src/optimizing-compiler-thread.cc File src/optimizing-compiler-thread.cc (right): https://codereview.chromium.org/620093003/diff/20001/src/optimizing-compiler-thread.cc#newcode28 src/optimizing-compiler-thread.cc:28: Isolate::SetIsolateThreadLocals(isolate_, NULL); I guess we are assuming that the ...
6 years, 2 months ago (2014-10-07 07:35:38 UTC) #5
jochen (gone - plz use gerrit)
https://codereview.chromium.org/620093003/diff/20001/src/optimizing-compiler-thread.cc File src/optimizing-compiler-thread.cc (right): https://codereview.chromium.org/620093003/diff/20001/src/optimizing-compiler-thread.cc#newcode28 src/optimizing-compiler-thread.cc:28: Isolate::SetIsolateThreadLocals(isolate_, NULL); On 2014/10/07 07:35:37, Yang wrote: > I ...
6 years, 2 months ago (2014-10-07 07:58:32 UTC) #6
Yang
On 2014/10/07 07:58:32, jochen wrote: > https://codereview.chromium.org/620093003/diff/20001/src/optimizing-compiler-thread.cc > File src/optimizing-compiler-thread.cc (right): > > https://codereview.chromium.org/620093003/diff/20001/src/optimizing-compiler-thread.cc#newcode28 > ...
6 years, 2 months ago (2014-10-07 08:23:21 UTC) #7
jochen (gone - plz use gerrit)
On 2014/10/07 at 08:23:21, yangguo wrote: > On 2014/10/07 07:58:32, jochen wrote: > > https://codereview.chromium.org/620093003/diff/20001/src/optimizing-compiler-thread.cc ...
6 years, 2 months ago (2014-10-07 08:30:49 UTC) #8
Yang
6 years, 2 months ago (2014-10-07 08:48:25 UTC) #9
Message was sent while issue was closed.
On 2014/10/07 08:30:49, jochen wrote:
> On 2014/10/07 at 08:23:21, yangguo wrote:
> > On 2014/10/07 07:58:32, jochen wrote:
> > >
>
https://codereview.chromium.org/620093003/diff/20001/src/optimizing-compiler-...
> > > File src/optimizing-compiler-thread.cc (right):
> > > 
> > >
>
https://codereview.chromium.org/620093003/diff/20001/src/optimizing-compiler-...
> > > src/optimizing-compiler-thread.cc:28:
> Isolate::SetIsolateThreadLocals(isolate_,
> > > NULL);
> > > On 2014/10/07 07:35:37, Yang wrote:
> > > > I guess we are assuming that the thread this tasks is assigned to may be
> one
> > > we
> > > > never used before and there is no other bottleneck we can put this, so
> that we
> > > > don't unnecessarily init thread locals twice?
> > > 
> > > we can't know which thread this will run on.
> > > 
> > > Ideally, we wouldn't set them at all, nothing should call
> Isolate::Current(),
> > > right?
> > 
> > I guess not. But the PerThreadAssertionScopes like those Disallow* scopes
> still rely on the TLS. All of them are (currently) debug only though, so we
> could skip this in release.
> 
> the assert scopes don't use the isolate thread locals, no?

That's true. I was confusing things. I guess we won't need this at all then?

Powered by Google App Engine
This is Rietveld 408576698