Skip to content

Fix for inaccurate live blocks/words stats in compaction - #13774

Merged
sadiqj merged 3 commits into
ocaml:trunkfrom
sadiqj:fix_13090
Feb 3, 2025
Merged

Fix for inaccurate live blocks/words stats in compaction#13774
sadiqj merged 3 commits into
ocaml:trunkfrom
sadiqj:fix_13090

Conversation

@sadiqj

@sadiqj sadiqj commented Feb 3, 2025

Copy link
Copy Markdown
Contributor

During compaction we effectively sweep garbage blocks in evacuated shared pools but do not correctly update stats. This change fixes #13090 .

With this the test in #13773 will also pass.

@sadiqj sadiqj closed this Feb 3, 2025
@sadiqj sadiqj reopened this Feb 3, 2025
@sadiqj

sadiqj commented Feb 3, 2025

Copy link
Copy Markdown
Contributor Author

(I think Github decided my Changes entry meant closing the PR?)

@gasche gasche left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I reviewed this change in the process of trying to understand #13090, and I agree that it is correct.

(Nitpick: in the Changes entry, we could have a "reported by KC Sivaramakrishnan and Jan Midtgaard" mention, to credit the CI-watching and impressive reproduction work.)

@sadiqj

sadiqj commented Feb 3, 2025

Copy link
Copy Markdown
Contributor Author

(Nitpick: in the Changes entry, we could have a "reported by KC Sivaramakrishnan and Jan Midtgaard" mention, to credit the CI-watching and impressive reproduction work.)

Not a nitpick, they should definitely be credited. Fixed.

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.

Assertion failure in shared_heap.c in linuxO0 CI run

2 participants