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

Issue 3764011: Link all global contexts into a weak list. (Closed)

Created:
10 years, 2 months ago by Vyacheslav Egorov (Chromium)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Link all global contexts into a weak list. Committed: http://code.google.com/p/v8/source/detail?r=5649

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+239 lines, -4 lines) Patch
M src/bootstrapper.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/contexts.h View 2 chunks +19 lines, -1 line 1 comment Download
M src/heap.h View 6 chunks +29 lines, -1 line 0 comments Download
M src/heap.cc View 6 chunks +50 lines, -1 line 0 comments Download
M src/mark-compact.cc View 6 chunks +31 lines, -0 lines 1 comment Download
M src/objects.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/objects-inl.h View 1 chunk +9 lines, -0 lines 0 comments Download
M src/objects-visiting.h View 2 chunks +6 lines, -0 lines 0 comments Download
M src/serialize.cc View 2 chunks +3 lines, -1 line 0 comments Download
M test/cctest/test-heap.cc View 2 chunks +86 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Vyacheslav Egorov (Chromium)
10 years, 2 months ago (2010-10-18 14:16:11 UTC) #1
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/3764011/diff/1/3 File src/contexts.h (right): http://codereview.chromium.org/3764011/diff/1/3#newcode345 src/contexts.h:345: // GC support. Maybe extend the comment to ...
10 years, 2 months ago (2010-10-18 14:31:09 UTC) #2
marklam
10 years, 2 months ago (2010-10-19 00:57:19 UTC) #3
Drive by comment:

http://codereview.chromium.org/3764011/diff/1/6
File src/mark-compact.cc (right):

http://codereview.chromium.org/3764011/diff/1/6#newcode2277
src/mark-compact.cc:2277:
updating_visitor.VisitPointer(&Heap::global_contexts_list_);
For consistency, shouldn't this be made to call
Heap::global_contexts_list_address() like at line 1668 above?

Powered by Google App Engine
This is Rietveld 408576698