diff options
Diffstat (limited to 'chromium/v8/src/profiler/profile-generator.h')
-rw-r--r-- | chromium/v8/src/profiler/profile-generator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/v8/src/profiler/profile-generator.h b/chromium/v8/src/profiler/profile-generator.h index 2c3b44e6b09..360d4c23aa2 100644 --- a/chromium/v8/src/profiler/profile-generator.h +++ b/chromium/v8/src/profiler/profile-generator.h @@ -587,7 +587,7 @@ class V8_EXPORT_PRIVATE CpuProfilesCollection { // Accessed by VM thread and profile generator thread. std::vector<std::unique_ptr<CpuProfile>> current_profiles_; base::Semaphore current_profiles_semaphore_; - ProfilerId last_id_; + static std::atomic<ProfilerId> last_id_; Isolate* isolate_; }; |