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

Issue 1312963002: Fix race at GCInfo::index. (Closed)

Created:
5 years, 4 months ago by ssid
Modified:
5 years, 3 months ago
Reviewers:
haraken, sof
CC:
blink-reviews, oilpan-reviews, kouhei+heap_chromium.org, Mads Ager (chromium)
Base URL:
https://chromium.googlesource.com/chromium/blink.git@trest
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fix race at GCInfo::index. This is a fix for the data race in GCInfoAtBase::index. The GCInfo is defined as static local and this causes race while allocating new objects. This CL reduces the initialization time by using function pointer to get the class name instead of string parsing. BUG=524237 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201223

Patch Set 1 #

Patch Set 2 : Remove static locals, leave GCInfo unsafe. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -9 lines) Patch
M Source/platform/heap/GCInfo.h View 1 2 chunks +5 lines, -4 lines 0 comments Download
M Source/platform/heap/Visitor.h View 1 2 chunks +2 lines, -5 lines 0 comments Download

Messages

Total messages: 30 (9 generated)
haraken
LGTM
5 years, 4 months ago (2015-08-25 01:45:05 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1312963002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1312963002/1
5 years, 4 months ago (2015-08-25 02:10:04 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/103537)
5 years, 4 months ago (2015-08-25 03:17:58 UTC) #7
sof
Could someone explain why these race bugs are surfacing now/recently?
5 years, 4 months ago (2015-08-25 05:30:44 UTC) #9
haraken
On 2015/08/25 05:30:44, sof wrote: > Could someone explain why these race bugs are surfacing ...
5 years, 4 months ago (2015-08-25 05:37:38 UTC) #10
sof
On 2015/08/25 05:37:38, haraken wrote: > On 2015/08/25 05:30:44, sof wrote: > > Could someone ...
5 years, 4 months ago (2015-08-25 05:43:45 UTC) #11
haraken
On 2015/08/25 05:43:45, sof wrote: > On 2015/08/25 05:37:38, haraken wrote: > > On 2015/08/25 ...
5 years, 4 months ago (2015-08-25 05:46:28 UTC) #12
sof
On 2015/08/25 05:46:28, haraken wrote: > On 2015/08/25 05:43:45, sof wrote: > > On 2015/08/25 ...
5 years, 4 months ago (2015-08-25 06:35:15 UTC) #13
ssid
On 2015/08/25 06:35:15, sof wrote: > On 2015/08/25 05:46:28, haraken wrote: > > On 2015/08/25 ...
5 years, 4 months ago (2015-08-25 09:34:51 UTC) #14
sof
On 2015/08/25 09:34:51, ssid wrote: > On 2015/08/25 06:35:15, sof wrote: > > On 2015/08/25 ...
5 years, 4 months ago (2015-08-25 15:33:05 UTC) #15
ssid
> I could well be overlooking some use, but it seems to me that the ...
5 years, 4 months ago (2015-08-25 15:36:17 UTC) #16
sof
On 2015/08/25 15:36:17, ssid wrote: > > I could well be overlooking some use, but ...
5 years, 4 months ago (2015-08-25 15:52:14 UTC) #17
ssid
On 2015/08/25 15:52:14, sof wrote: > On 2015/08/25 15:36:17, ssid wrote: > > > I ...
5 years, 4 months ago (2015-08-25 15:56:44 UTC) #18
haraken
On 2015/08/25 15:56:44, ssid wrote: > On 2015/08/25 15:52:14, sof wrote: > > On 2015/08/25 ...
5 years, 4 months ago (2015-08-25 23:53:54 UTC) #19
ssid
haraken@ PTAL, thanks.
5 years, 4 months ago (2015-08-26 10:02:11 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1312963002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1312963002/20001
5 years, 3 months ago (2015-08-26 10:06:49 UTC) #23
haraken
LGTM, but I want to have sof@ confirm.
5 years, 3 months ago (2015-08-26 10:34:54 UTC) #24
sof
lgtm also. This will break ENABLE(GC_PROFILING) usage a bit, but we can handle that separately.
5 years, 3 months ago (2015-08-26 10:44:05 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-26 11:39:21 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1312963002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1312963002/20001
5 years, 3 months ago (2015-08-26 11:39:56 UTC) #29
commit-bot: I haz the power
5 years, 3 months ago (2015-08-26 11:44:20 UTC) #30
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201223

Powered by Google App Engine
This is Rietveld 408576698