GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: ensure V8 initialized before marking milestone · nodejs/node@ff3b7d2

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • env.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/env.cc‎

Copy file name to clipboardExpand all lines: src/env.cc
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,11 @@ void Environment::InitializeMainContext(Local<Context> context,
458458
environment_start_time_);
459459
performance_state_->Mark(performance::NODE_PERFORMANCE_MILESTONE_NODE_START,
460460
per_process::node_start_time);
461-
performance_state_->Mark(performance::NODE_PERFORMANCE_MILESTONE_V8_START,
462-
performance::performance_v8_start);
461+
462+
if (per_process::v8_initialized) {
463+
performance_state_->Mark(performance::NODE_PERFORMANCE_MILESTONE_V8_START,
464+
performance::performance_v8_start);
465+
}
463466
}
464467

465468
Environment::~Environment() {

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.