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

Unified Diff: src/heap/remembered-set.h

Issue 2360513002: [heap] Make typed slot set state and operations atomic. (Closed)
Patch Set: remove include Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/heap/slot-set.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/remembered-set.h
diff --git a/src/heap/remembered-set.h b/src/heap/remembered-set.h
index 8022d52775f84a2300a6e54c926b5b1dca1c4c44..bdfae032acf36c5aff4f6950218f226dea8ff9fe 100644
--- a/src/heap/remembered-set.h
+++ b/src/heap/remembered-set.h
@@ -363,7 +363,7 @@ class UpdateTypedSlotHelper {
case OBJECT_SLOT: {
return callback(reinterpret_cast<Object**>(addr));
}
- case NUMBER_OF_SLOT_TYPES:
+ case CLEARED_SLOT:
break;
}
UNREACHABLE();
@@ -382,7 +382,7 @@ inline SlotType SlotTypeForRelocInfoMode(RelocInfo::Mode rmode) {
return DEBUG_TARGET_SLOT;
}
UNREACHABLE();
- return NUMBER_OF_SLOT_TYPES;
+ return CLEARED_SLOT;
}
} // namespace internal
« no previous file with comments | « no previous file | src/heap/slot-set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698