Skip to content

JITs: Buffer writes to the perf map#14912

Merged
XrXr merged 2 commits intoruby:masterfrom
Shopify:jits-buffered-perf-map
Oct 22, 2025
Merged

JITs: Buffer writes to the perf map#14912
XrXr merged 2 commits intoruby:masterfrom
Shopify:jits-buffered-perf-map

Conversation

@XrXr
Copy link
Copy Markdown
Member

@XrXr XrXr commented Oct 22, 2025

@jhawthorn noticed that writes to the perf map
was issuing a lot of write(2) syscalls.

  • YJIT: Buffer writes to the perf map
  • ZJIT: Buffer writes to the perf map

@matzbot matzbot requested a review from a team October 22, 2025 20:50
Copy link
Copy Markdown
Contributor

@tekknolagi tekknolagi left a comment

Choose a reason for hiding this comment

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

oh wow nice change

Copy link
Copy Markdown
Contributor

@aidenfoxivey aidenfoxivey left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me!

@XrXr XrXr enabled auto-merge (rebase) October 22, 2025 20:53
@XrXr XrXr merged commit 71e3ef3 into ruby:master Oct 22, 2025
88 checks passed
@XrXr XrXr deleted the jits-buffered-perf-map branch October 22, 2025 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants