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

Unified Diff: src/mark-compact.cc

Issue 15691017: Make assertion scopes thread safe. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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
« src/api.cc ('K') | « src/log-utils.cc ('k') | src/marking-thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mark-compact.cc
diff --git a/src/mark-compact.cc b/src/mark-compact.cc
index 29d86161819a5ec8aad048c52ebcd7fc3a5fcf4a..40015010d11dc32f8bb74fc8f4245e7ea2c004df 100644
--- a/src/mark-compact.cc
+++ b/src/mark-compact.cc
@@ -2478,7 +2478,7 @@ void MarkCompactCollector::ClearNonLiveMapTransitions(Map* map,
void MarkCompactCollector::ClearAndDeoptimizeDependentCode(Map* map) {
- AssertNoAllocation no_allocation_scope;
+ DisallowHeapAllocation no_allocation;
DependentCode* entries = map->dependent_code();
DependentCode::GroupStartIndexes starts(entries);
int number_of_entries = starts.number_of_entries();
@@ -2495,7 +2495,7 @@ void MarkCompactCollector::ClearAndDeoptimizeDependentCode(Map* map) {
void MarkCompactCollector::ClearNonLiveDependentCode(Map* map) {
- AssertNoAllocation no_allocation_scope;
+ DisallowHeapAllocation no_allocation;
DependentCode* entries = map->dependent_code();
DependentCode::GroupStartIndexes starts(entries);
int number_of_entries = starts.number_of_entries();
« src/api.cc ('K') | « src/log-utils.cc ('k') | src/marking-thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698