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

[GR-18215] SIGPROF signal handling #4536

Closed
wants to merge 3 commits into from

Conversation

graalvmbot
Copy link
Collaborator

  1. Each thread has a local buffer to store IPs during the uninterruptible stack walk.
  2. After period the recorder thread will copy the content of local buffers in global memory uninterruptibly with acquired thread lock.
  3. After the copy phase, the recorder thread will read the data from the global buffer i.e. IPs, and iterate the stacks.

@graalvmbot graalvmbot force-pushed the js/GR-18215/sampling-based-profiling branch 3 times, most recently from 4bf1115 to 15dcd43 Compare May 9, 2022 07:16
@graalvmbot graalvmbot force-pushed the js/GR-18215/sampling-based-profiling branch from 15dcd43 to b7af1f9 Compare May 12, 2022 07:20
@graalvmbot graalvmbot closed this Jan 3, 2023
@graalvmbot graalvmbot deleted the js/GR-18215/sampling-based-profiling branch January 3, 2023 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants