Skip to content

Ensure that prio msgq markers are only installed when needed - #11485

Merged
rickard-green merged 1 commit into
erlang:maintfrom
rickard-green:rickard/fix-prio-msgq-opt/OTP-20300
Aug 24, 2026
Merged

Ensure that prio msgq markers are only installed when needed#11485
rickard-green merged 1 commit into
erlang:maintfrom
rickard-green:rickard/fix-prio-msgq-opt/OTP-20300

Conversation

@rickard-green

Copy link
Copy Markdown
Contributor

Priority message queue markers were sometimes installed in the message queue even when no priority messages could be received. As a result, the two markers had to be traversed unnecessarily when scanning the message queue, introducing a small but avoidable overhead.

Thanks to @Maria-12648430 for reporting the issue.

@rickard-green rickard-green self-assigned this Aug 14, 2026
@rickard-green rickard-green added team:VM Assigned to OTP team VM fix labels Aug 14, 2026
@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

CT Test Results

    3 files    136 suites   51m 27s ⏱️
1 688 tests 1 631 ✅ 57 💤 0 ❌
2 331 runs  2 256 ✅ 75 💤 0 ❌

Results for commit 2caaa0f.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@rickard-green rickard-green added the testing currently being tested, tag is used by OTP internal CI label Aug 14, 2026
Priority message queue markers were sometimes installed in the message
queue even when no priority messages could be received. As a result, the
two markers had to be traversed unnecessarily when scanning the message
queue, introducing a small but avoidable overhead.
@rickard-green
rickard-green force-pushed the rickard/fix-prio-msgq-opt/OTP-20300 branch from 0a71a52 to 2caaa0f Compare August 21, 2026 11:14
@rickard-green
rickard-green merged commit dc9adbb into erlang:maint Aug 24, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants