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

Issue 137483003: Add template aliases to support both reference counting and garbage collection for a transition per… (Closed)

Created:
6 years, 11 months ago by Mads Ager (chromium)
Modified:
6 years, 11 months ago
CC:
blink-reviews, loislo+blink_chromium.org, Mads Ager (chromium), yurys+blink_chromium.org, abarth-chromium, adamk+blink_chromium.org, haraken, Inactive
Visibility:
Public.

Description

Add template aliases to support both reference counting and garbage collection for a transition period. Template aliases are used in clang on which they are currently supported. The aliases are simple enough that they can be simulated with simple macros on gcc and msvc. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165803

Patch Set 1 #

Patch Set 2 : Reupload with similarity=90 #

Total comments: 11

Patch Set 3 : Minor changes based on first comments. #

Patch Set 4 : ENABLE(OILPAN) #

Total comments: 11

Patch Set 5 : Rebased and address Haraken's comments. #

Patch Set 6 : Rebase #

Total comments: 2

Patch Set 7 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+322 lines, -28 lines) Patch
M Source/heap/Handle.h View 1 2 3 4 5 6 4 chunks +89 lines, -0 lines 0 comments Download
M Source/heap/HeapTest.cpp View 1 2 3 4 5 2 chunks +190 lines, -0 lines 0 comments Download
A + Source/wtf/Ptr.h View 1 2 3 4 5 1 chunk +43 lines, -28 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Mads Ager (chromium)
Based on discussions on blink-dev this is the best version that I have been able ...
6 years, 11 months ago (2014-01-15 14:01:28 UTC) #1
Vyacheslav Egorov (Chromium)
lgtm https://codereview.chromium.org/137483003/diff/20001/Source/heap/Handle.h File Source/heap/Handle.h (right): https://codereview.chromium.org/137483003/diff/20001/Source/heap/Handle.h#newcode421 Source/heap/Handle.h:421: #if ENABLE_OILPAN Should not this be #if ENABLE(OILPAN) ...
6 years, 11 months ago (2014-01-15 14:21:09 UTC) #2
jbroman
I'm not an expert on this, but some comments nonetheless. https://codereview.chromium.org/137483003/diff/20001/Source/heap/Handle.h File Source/heap/Handle.h (right): https://codereview.chromium.org/137483003/diff/20001/Source/heap/Handle.h#newcode424 ...
6 years, 11 months ago (2014-01-15 14:37:09 UTC) #3
Mads Ager (chromium)
https://codereview.chromium.org/137483003/diff/20001/Source/heap/Handle.h File Source/heap/Handle.h (right): https://codereview.chromium.org/137483003/diff/20001/Source/heap/Handle.h#newcode421 Source/heap/Handle.h:421: #if ENABLE_OILPAN On 2014/01/15 14:21:10, Vyacheslav Egorov wrote: > ...
6 years, 11 months ago (2014-01-15 14:51:13 UTC) #4
Mads Ager (chromium)
Alternative using typedefs inside of the oilpan types: https://codereview.chromium.org/130493003/ That would work for me too. ...
6 years, 11 months ago (2014-01-15 15:26:05 UTC) #5
haraken
LGTM. https://codereview.chromium.org/137483003/diff/140001/Source/heap/Handle.h File Source/heap/Handle.h (right): https://codereview.chromium.org/137483003/diff/140001/Source/heap/Handle.h#newcode416 Source/heap/Handle.h:416: // enable_oilpan compile-time flag. enable_oilpan => ENABLE(OILPAN) https://codereview.chromium.org/137483003/diff/140001/Source/heap/Handle.h#newcode432 ...
6 years, 11 months ago (2014-01-16 05:21:21 UTC) #6
Mads Ager (chromium)
https://codereview.chromium.org/137483003/diff/140001/Source/heap/Handle.h File Source/heap/Handle.h (right): https://codereview.chromium.org/137483003/diff/140001/Source/heap/Handle.h#newcode416 Source/heap/Handle.h:416: // enable_oilpan compile-time flag. On 2014/01/16 05:21:22, haraken wrote: ...
6 years, 11 months ago (2014-01-16 07:04:15 UTC) #7
haraken
https://codereview.chromium.org/137483003/diff/140001/Source/wtf/Ptr.h File Source/wtf/Ptr.h (right): https://codereview.chromium.org/137483003/diff/140001/Source/wtf/Ptr.h#newcode30 Source/wtf/Ptr.h:30: // interface (get, clear) of other pointer types such ...
6 years, 11 months ago (2014-01-16 07:06:40 UTC) #8
abarth-chromium
Source/wtf LGTM
6 years, 11 months ago (2014-01-24 18:01:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/137483003/260001
6 years, 11 months ago (2014-01-24 18:12:14 UTC) #10
Erik Corry
lgtm https://codereview.chromium.org/137483003/diff/260001/Source/heap/Handle.h File Source/heap/Handle.h (right): https://codereview.chromium.org/137483003/diff/260001/Source/heap/Handle.h#newcode214 Source/heap/Handle.h:214: operator Ptr<T>() const { return Ptr<T>(m_raw); } You ...
6 years, 11 months ago (2014-01-24 19:11:53 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_lint http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=18976
6 years, 11 months ago (2014-01-24 19:45:36 UTC) #12
Mads Ager (chromium)
https://codereview.chromium.org/137483003/diff/260001/Source/heap/Handle.h File Source/heap/Handle.h (right): https://codereview.chromium.org/137483003/diff/260001/Source/heap/Handle.h#newcode214 Source/heap/Handle.h:214: operator Ptr<T>() const { return Ptr<T>(m_raw); } On 2014/01/24 ...
6 years, 11 months ago (2014-01-24 20:44:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/137483003/440001
6 years, 11 months ago (2014-01-24 20:45:41 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=19008
6 years, 11 months ago (2014-01-24 22:43:50 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/137483003/440001
6 years, 11 months ago (2014-01-24 22:46:58 UTC) #16
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=19036
6 years, 11 months ago (2014-01-25 00:17:54 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/137483003/440001
6 years, 11 months ago (2014-01-25 00:24:05 UTC) #18
commit-bot: I haz the power
6 years, 11 months ago (2014-01-25 01:15:21 UTC) #19
Message was sent while issue was closed.
Change committed as 165803

Powered by Google App Engine
This is Rietveld 408576698