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

Side by Side Diff: src/bootstrapper.cc

Issue 2477143002: Revert of [Tracing] Use TracingCategoryObserver in gc statistics (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « src/api.cc ('k') | src/d8.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/bootstrapper.h" 5 #include "src/bootstrapper.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api-natives.h" 8 #include "src/api-natives.h"
9 #include "src/base/ieee754.h" 9 #include "src/base/ieee754.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 4000 matching lines...) Expand 10 before | Expand all | Expand 10 after
4011 v8::ExtensionConfiguration* extensions) { 4011 v8::ExtensionConfiguration* extensions) {
4012 Isolate* isolate = native_context->GetIsolate(); 4012 Isolate* isolate = native_context->GetIsolate();
4013 ExtensionStates extension_states; // All extensions have state UNVISITED. 4013 ExtensionStates extension_states; // All extensions have state UNVISITED.
4014 return InstallAutoExtensions(isolate, &extension_states) && 4014 return InstallAutoExtensions(isolate, &extension_states) &&
4015 (!FLAG_expose_free_buffer || 4015 (!FLAG_expose_free_buffer ||
4016 InstallExtension(isolate, "v8/free-buffer", &extension_states)) && 4016 InstallExtension(isolate, "v8/free-buffer", &extension_states)) &&
4017 (!FLAG_expose_gc || 4017 (!FLAG_expose_gc ||
4018 InstallExtension(isolate, "v8/gc", &extension_states)) && 4018 InstallExtension(isolate, "v8/gc", &extension_states)) &&
4019 (!FLAG_expose_externalize_string || 4019 (!FLAG_expose_externalize_string ||
4020 InstallExtension(isolate, "v8/externalize", &extension_states)) && 4020 InstallExtension(isolate, "v8/externalize", &extension_states)) &&
4021 (!FLAG_gc_stats || 4021 (!FLAG_track_gc_object_stats ||
4022 InstallExtension(isolate, "v8/statistics", &extension_states)) && 4022 InstallExtension(isolate, "v8/statistics", &extension_states)) &&
4023 (!FLAG_expose_trigger_failure || 4023 (!FLAG_expose_trigger_failure ||
4024 InstallExtension(isolate, "v8/trigger-failure", &extension_states)) && 4024 InstallExtension(isolate, "v8/trigger-failure", &extension_states)) &&
4025 (!FLAG_trace_ignition_dispatches || 4025 (!FLAG_trace_ignition_dispatches ||
4026 InstallExtension(isolate, "v8/ignition-statistics", 4026 InstallExtension(isolate, "v8/ignition-statistics",
4027 &extension_states)) && 4027 &extension_states)) &&
4028 InstallRequestedExtensions(isolate, extensions, &extension_states); 4028 InstallRequestedExtensions(isolate, extensions, &extension_states);
4029 } 4029 }
4030 4030
4031 4031
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
4542 } 4542 }
4543 4543
4544 4544
4545 // Called when the top-level V8 mutex is destroyed. 4545 // Called when the top-level V8 mutex is destroyed.
4546 void Bootstrapper::FreeThreadResources() { 4546 void Bootstrapper::FreeThreadResources() {
4547 DCHECK(!IsActive()); 4547 DCHECK(!IsActive());
4548 } 4548 }
4549 4549
4550 } // namespace internal 4550 } // namespace internal
4551 } // namespace v8 4551 } // namespace v8
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698