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

Issue 2363283002: Use 'local-exec' for threadlocal_heap_ in tcmalloc. (Closed)

Created:
4 years, 2 months ago by chihchung
Modified:
3 years, 10 months ago
CC:
chromium-reviews, Dai Mikurube (NOT FULLTIME), bccheng, llozano, laszio
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use 'local-exec' TLS model if we are not using component build. We can use a more restricted TLS model when we know the code will be in the executable, not in a shared library. This makes access to threadlocal_heap_ faster. BUG=chromium:650546

Patch Set 1 #

Patch Set 2 : Use 'local-exec' TLS model if we are not using component build. #

Patch Set 3 : Use 'local-exec' TLS model if we are not using component build. #

Patch Set 4 : update bug number #

Patch Set 5 : CL for src perf tryjob to run octane benchmark on all platform(s) #

Patch Set 6 : remove osmesa's dependency on //base #

Patch Set 7 : CL for src perf tryjob to run octane benchmark on all platform(s) #

Patch Set 8 : Resolve conflict #

Patch Set 9 : Try to remove more dependencies on allocator from shared library #

Patch Set 10 : Next try... #

Patch Set 11 : Next try.... #

Patch Set 12 : Next try..... #

Patch Set 13 : Inlcude 2429773002 for testing #

Patch Set 14 : Try static_library for cast_graphics #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -25 lines) Patch
M base/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -5 lines 0 comments Download
M base/process/memory_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M base/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chromecast/graphics/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M media/cdm/cdm_helpers.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -3 lines 0 comments Download
M media/cdm/cdm_helpers.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M media/cdm/cdm_wrapper.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M media/cdm/ppapi/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M media/cdm/ppapi/cdm_file_io_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M media/cdm/ppapi/ppapi_cdm_adapter.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -2 lines 0 comments Download
M media/cdm/ppapi/ppapi_cdm_adapter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M media/cdm/ppapi/ppapi_cdm_buffer.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/mesa/BUILD.gn View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/tcmalloc/README.chromium View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/thread_cache.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/tcmalloc/chromium/src/thread_cache.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 58 (34 generated)
Will Harris
BUG= ?
4 years, 2 months ago (2016-09-26 18:29:37 UTC) #3
chihchung
On 2016/09/26 18:29:37, Will Harris wrote: > BUG= ? This is found when I tried ...
4 years, 2 months ago (2016-09-26 18:59:36 UTC) #6
chihchung
On 2016/09/26 18:59:36, chihchung wrote: > On 2016/09/26 18:29:37, Will Harris wrote: > > BUG= ...
4 years, 2 months ago (2016-09-26 19:20:22 UTC) #7
Will Harris
I'm happy with either a new comment on chrome-os-partner:56243 saying you've found an additional optimization, ...
4 years, 2 months ago (2016-09-26 19:33:06 UTC) #8
chihchung
I created a new bug and update the message. Please take a look. Thanks!
4 years, 2 months ago (2016-09-27 06:11:41 UTC) #10
Will Harris
lgtm I'd be interested if this impacts on the perf bots at all
4 years, 2 months ago (2016-09-27 21:20:13 UTC) #11
chihchung
CL for src perf tryjob to run octane benchmark on all platform(s)
4 years, 2 months ago (2016-09-27 23:41:55 UTC) #12
chihchung
libosmesa.so fails to build because it includes tcmalloc.
4 years, 2 months ago (2016-09-28 13:04:08 UTC) #13
chihchung
Hi Primiano, I see you did lots of allocator reorg in 564618, so I am ...
4 years, 2 months ago (2016-09-28 13:08:05 UTC) #15
Primiano Tucci (use gerrit)
On 2016/09/28 13:08:05, chihchung wrote: > Hi Primiano, > > I see you did lots ...
4 years, 2 months ago (2016-09-28 13:28:02 UTC) #16
chihchung
Thanks for the answer. I'll try.
4 years, 2 months ago (2016-09-28 13:37:31 UTC) #17
chihchung
CL for src perf tryjob to run octane benchmark on all platform(s)
4 years, 2 months ago (2016-09-28 14:26:14 UTC) #18
laszio
On 2016/09/28 14:26:14, chihchung wrote: > CL for src perf tryjob to run octane benchmark ...
3 years, 11 months ago (2017-01-18 22:27:28 UTC) #19
chihchung
On 2017/01/18 22:27:28, laszio wrote: > On 2016/09/28 14:26:14, chihchung wrote: > > CL for ...
3 years, 11 months ago (2017-01-19 02:23:47 UTC) #20
chihchung
Currently these targets failed to build for local-exec (because they are shared libraries): libcast_graphics_1.0.so libclearkeycdm.so ...
3 years, 11 months ago (2017-01-19 09:45:20 UTC) #41
Primiano Tucci (use gerrit)
On 2017/01/19 09:45:20, chihchung wrote: > Currently these targets failed to build for local-exec (because ...
3 years, 11 months ago (2017-01-19 10:45:28 UTC) #42
chihchung
On 2017/01/19 10:45:28, Primiano Tucci wrote: > On 2017/01/19 09:45:20, chihchung wrote: > > Currently ...
3 years, 11 months ago (2017-01-19 11:29:28 UTC) #49
Primiano Tucci (use gerrit)
On 2017/01/19 11:29:28, chihchung wrote: > On 2017/01/19 10:45:28, Primiano Tucci wrote: > > On ...
3 years, 11 months ago (2017-01-19 12:53:08 UTC) #52
chihchung
> Oh I see. > well the problem is that in the current architecture you ...
3 years, 11 months ago (2017-01-19 13:59:19 UTC) #53
Primiano Tucci (use gerrit)
On 2017/01/19 13:59:19, chihchung wrote: > > Oh I see. > > well the problem ...
3 years, 11 months ago (2017-01-19 14:27:20 UTC) #54
chihchung
> So, let me se if I read this correctly: is the problem here the ...
3 years, 11 months ago (2017-01-19 15:03:59 UTC) #55
Primiano Tucci (use gerrit)
On 2017/01/19 15:03:59, chihchung wrote: > > So, let me se if I read this ...
3 years, 11 months ago (2017-01-19 17:11:26 UTC) #56
chihchung
On 2017/01/19 17:11:26, Primiano Tucci wrote: > On 2017/01/19 15:03:59, chihchung wrote: > > > ...
3 years, 11 months ago (2017-01-20 02:40:35 UTC) #57
Primiano Tucci (use gerrit)
3 years, 10 months ago (2017-02-07 11:06:51 UTC) #58
Can this be closed now that https://codereview.chromium.org/2640263003/ haz
landed?

Powered by Google App Engine
This is Rietveld 408576698