GeezerVison is showing github.com — src: fix comment typos · nodejs/node@3650fab
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: src/node_builtins.cc +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -552,7 +552,7 @@ bool BuiltinLoader::CompileAllBuiltinsAndCopyCodeCache( |
552 | 552 | std::unordered_set(eager_builtins.begin(), eager_builtins.end()); |
553 | 553 |
|
554 | 554 | for (const auto& id : ids) { |
555 | | - // Eagerly compile primordials/boostrap/main scripts during code cache |
| 555 | + // Eagerly compile primordials/bootstrap/main scripts during code cache |
556 | 556 | // generation. |
557 | 557 | if (id.starts_with(primordial_prefix) || id.starts_with(bootstrap_prefix) || |
558 | 558 | id.starts_with(main_prefix)) { |
|
Collapse file
Copy file name to clipboardExpand all lines: src/node_builtins.h +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -207,7 +207,7 @@ class NODE_EXTERN_PRIVATE BuiltinLoader { |
207 | 207 |
|
208 | 208 | const UnionBytes config_; |
209 | 209 |
|
210 | | - // If any bulitins should be eagerly compiled i.e. with inner functions |
| 210 | + // If any builtins should be eagerly compiled i.e. with inner functions |
211 | 211 | // compiled too, either use should_eager_compile_ to compile all builtins |
212 | 212 | // eagerly, or use to_eager_compile_ to compile specific builtins eagerly. |
213 | 213 | // Currently we set should_eager_compile_ to true when compiling primordials, |
|
Collapse file
Copy file name to clipboardExpand all lines: src/node_platform.cc +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -597,9 +597,9 @@ void NodePlatform::DrainTasks(Isolate* isolate) { |
597 | 597 | // However, not blocking on the worker tasks at all can lead to loss of some |
598 | 598 | // critical user-blocking worker tasks e.g. wasm async compilation tasks, |
599 | 599 | // which should block the main thread until they are completed, as the |
600 | | - // documentation suggets. As a compromise, we currently only block on |
| 600 | + // documentation suggests. As a compromise, we currently only block on |
601 | 601 | // user-blocking tasks to reduce the chance of deadlocks while making sure |
602 | | - // that criticl user-blocking tasks are not lost. |
| 602 | + // that critical user-blocking tasks are not lost. |
603 | 603 | worker_thread_task_runner_->BlockingDrain(); |
604 | 604 | } while (per_isolate->FlushForegroundTasksInternal()); |
605 | 605 | } |
|
Collapse file
Copy file name to clipboardExpand all lines: src/quic/streams.cc +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -1262,7 +1262,7 @@ void Stream::NotifyStreamOpened(stream_id id) { |
1262 | 1262 | headers->flags); |
1263 | 1263 | } |
1264 | 1264 | } |
1265 | | - // If the stream is not a local undirectional stream and is_readable is |
| 1265 | + // If the stream is not a local unidirectional stream and is_readable is |
1266 | 1266 | // false, then we should shutdown the streams readable side now. |
1267 | 1267 | if (!is_local_unidirectional() && !is_readable()) { |
1268 | 1268 | NotifyReadableEnded(pending_close_read_code_); |
|