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

Issue 14307013: - Remember the fact that an object has been added to the (Closed)

Created:
7 years, 8 months ago by Ivan Posva
Modified:
7 years, 7 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Remember the fact that an object has been added to the store buffer by a bit in the header. - This bit can be used to filter out redundant additions into the store buffer making the dedup sets not needed. - Remove the need for a HashSet when remembering old to new references. Committed: https://code.google.com/p/dart/source/detail?r=22393

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -336 lines) Patch
M runtime/vm/assembler_test.cc View 1 2 1 chunk +7 lines, -14 lines 0 comments Download
M runtime/vm/gc_marker.cc View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
D runtime/vm/hash_set.h View 1 2 1 chunk +0 lines, -103 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 2 chunks +3 lines, -6 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M runtime/vm/object.h View 1 2 2 chunks +8 lines, -6 lines 0 comments Download
M runtime/vm/object.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 chunks +19 lines, -2 lines 0 comments Download
M runtime/vm/scavenger.cc View 1 2 3 chunks +17 lines, -27 lines 0 comments Download
M runtime/vm/store_buffer.h View 1 2 2 chunks +44 lines, -66 lines 0 comments Download
M runtime/vm/store_buffer.cc View 1 2 1 chunk +34 lines, -64 lines 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 2 1 chunk +22 lines, -9 lines 0 comments Download
M runtime/vm/stub_code_ia32.cc View 1 2 1 chunk +23 lines, -11 lines 0 comments Download
M runtime/vm/stub_code_mips.cc View 1 2 1 chunk +25 lines, -7 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 1 2 1 chunk +23 lines, -11 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Ivan Posva
This CL still needs some cleanups, but I would like to get initial feedback about ...
7 years, 8 months ago (2013-04-26 21:31:44 UTC) #1
siva
https://codereview.chromium.org/14307013/diff/1/runtime/vm/raw_object.h File runtime/vm/raw_object.h (right): https://codereview.chromium.org/14307013/diff/1/runtime/vm/raw_object.h#newcode226 runtime/vm/raw_object.h:226: kWatchedBit = 4, The WatchedBit is only used during ...
7 years, 8 months ago (2013-04-27 00:49:37 UTC) #2
Vyacheslav Egorov (Google)
I am not sure I understand why all changes with FreeBit and friends? https://codereview.chromium.org/14307013/diff/1/runtime/vm/stub_code_ia32.cc File ...
7 years, 8 months ago (2013-04-27 19:34:46 UTC) #3
Ivan Posva
Committed patchset #3 manually as r22393 (presubmit successful).
7 years, 7 months ago (2013-05-03 20:59:58 UTC) #4
Ivan Posva
7 years, 7 months ago (2013-05-03 21:01:37 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/14307013/diff/1/runtime/vm/stub_code_ia32.cc
File runtime/vm/stub_code_ia32.cc (right):

https://codereview.chromium.org/14307013/diff/1/runtime/vm/stub_code_ia32.cc#...
runtime/vm/stub_code_ia32.cc:967: __ movl(ECX, FieldAddress(EAX,
Object::tags_offset()));
On 2013/04/27 19:34:46, Vyacheslav Egorov (Google) wrote:
> I wonder if doing testl with memory operand before pushing EDX/ECX would save
us
> something noticeable. (it would save pushing and poping definitely)

Different CL.

Powered by Google App Engine
This is Rietveld 408576698