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

Issue 130493003: Alternative approach to supporting ref counting and garbage collection (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

Alternative approach to supporting ref counting and garbage collection with the same code base. The code is spread out more but is avoids the macros entirely. The '::' also separates the new type and the old type very clearly. It also makes my eyes bleed a bit, but what do you think? BUG=

Patch Set 1 #

Patch Set 2 : Fix copyright. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+320 lines, -55 lines) Patch
M Source/heap/Handle.h View 7 chunks +53 lines, -0 lines 0 comments Download
M Source/heap/Heap.h View 4 chunks +25 lines, -0 lines 0 comments Download
M Source/heap/HeapTest.cpp View 1 2 chunks +196 lines, -0 lines 0 comments Download
A + Source/wtf/Ptr.h View 1 2 chunks +46 lines, -55 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
Mads Ager (chromium)
6 years, 11 months ago (2014-01-15 15:24:31 UTC) #1
This is Darin's suggestion from the blink-dev mailing list.

Compare to https://codereview.chromium.org/137483003

The '::' makes my eyes bleed a bit, but it also has the advantage that the types
are clearly separated. I can definitely work with both of the suggestions here.

Powered by Google App Engine
This is Rietveld 408576698