Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trace_events: background thread metadata events #20823

Merged
merged 1 commit into from
May 21, 2018

Conversation

ofrobots
Copy link
Contributor

@ofrobots ofrobots commented May 18, 2018

V8 uses a thread pool provided by the host to schedule background tasks
for concurrent GC and compiation. Emit trace events to identify the
background threads. Ensure that the tracing infrastructure is started
before the thread pool is initialized.

/cc @nodejs/trace-events @nodejs/diagnostics

EDIT: CI: https://ci.nodejs.org/job/node-test-pull-request/15001/

@nodejs-github-bot nodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label May 18, 2018
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ofrobots
Copy link
Contributor Author

CI looks good – only failures are infrastructure or known issues.

V8 uses a thread pool provided by the host to schedule background tasks
for concurrent GC and compiation. Emit trace events to identify the
background threads. Ensure that the tracing infrastructure is started
before the thread pool is initialized.

PR-URL: nodejs#20823
Reviewed-By: Matteo Collina <[email protected]>
@ofrobots ofrobots merged commit 32873c5 into nodejs:master May 21, 2018
@ofrobots ofrobots deleted the trace-buffer-earlier branch May 21, 2018 18:20
@ofrobots
Copy link
Contributor Author

Landed as 32873c5.

MylesBorins pushed a commit that referenced this pull request May 22, 2018
V8 uses a thread pool provided by the host to schedule background tasks
for concurrent GC and compiation. Emit trace events to identify the
background threads. Ensure that the tracing infrastructure is started
before the thread pool is initialized.

PR-URL: #20823
Reviewed-By: Matteo Collina <[email protected]>
@addaleax addaleax mentioned this pull request May 22, 2018
MylesBorins pushed a commit that referenced this pull request May 23, 2018
V8 uses a thread pool provided by the host to schedule background tasks
for concurrent GC and compiation. Emit trace events to identify the
background threads. Ensure that the tracing infrastructure is started
before the thread pool is initialized.

PR-URL: #20823
Reviewed-By: Matteo Collina <[email protected]>
blattersturm pushed a commit to citizenfx/node that referenced this pull request Nov 3, 2018
V8 uses a thread pool provided by the host to schedule background tasks
for concurrent GC and compiation. Emit trace events to identify the
background threads. Ensure that the tracing infrastructure is started
before the thread pool is initialized.

PR-URL: nodejs#20823
Reviewed-By: Matteo Collina <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants