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

Unified Diff: src/isolate.h

Issue 2108503003: Make v8::Isolate::SetRAILMode thread safe and remove the (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 | « include/v8.h ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 4ca842e5ea64b1dac6b442a4eee2712688f0a493..b7075655dc479584ba929ef70eb7c036898a6036 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -1253,8 +1253,6 @@ class Isolate {
const char* RAILModeName(RAILMode rail_mode) const {
switch (rail_mode) {
- case PERFORMANCE_DEFAULT:
- return "DEFAULT";
case PERFORMANCE_RESPONSE:
return "RESPONSE";
case PERFORMANCE_ANIMATION:
@@ -1263,8 +1261,6 @@ class Isolate {
return "IDLE";
case PERFORMANCE_LOAD:
return "LOAD";
- default:
- UNREACHABLE();
}
return "";
}
@@ -1315,7 +1311,7 @@ class Isolate {
DateCache* date_cache_;
CallInterfaceDescriptorData* call_descriptor_data_;
base::RandomNumberGenerator* random_number_generator_;
- RAILMode rail_mode_;
+ base::AtomicValue<RAILMode> rail_mode_;
// Whether the isolate has been created for snapshotting.
bool serializer_enabled_;
« no previous file with comments | « include/v8.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698