Description[heap] Make non-atomic markbit operations consistent with atomic ones.
Now non-atomic color transition operations return a boolean indicating
whether the transition succeeded or not.
This allows to replace color check and transition operations with a
single transition operation. For example:
if (IsWhite(object)) {
WhiteToBlack(object);
Foo();
}
becomes
if (WhiteToBlack(object)) {
Foo();
}
BUG=chromium:694255
Review-Url: https://codereview.chromium.org/2857713002
Cr-Commit-Position: refs/heads/master@{#45085}
Committed: https://chromium.googlesource.com/v8/v8/+/dd37366fb56a57be5ef36ed0c2b3c7893cd6c6d8
Patch Set 1 #
Total comments: 1
Patch Set 2 : remove MarkBlack #Patch Set 3 : remove dcheck #
Total comments: 10
Patch Set 4 : comment #Patch Set 5 : more comments #Patch Set 6 : make comment on class #Patch Set 7 : fix TransferMark #Patch Set 8 : more fixes to TranserMark #Patch Set 9 : rebase #Patch Set 10 : debug #Patch Set 11 : fix overlap check #
Dependent Patchsets: Messages
Total messages: 33 (15 generated)
|