Skip to content

improve hpdata_assert_consistent()#82

Closed
gctony wants to merge 1 commit intofacebook:devfrom
gctony:improve_hpdata_assert_consistent
Closed

improve hpdata_assert_consistent()#82
gctony wants to merge 1 commit intofacebook:devfrom
gctony:improve_hpdata_assert_consistent

Conversation

@gctony
Copy link

@gctony gctony commented Mar 25, 2026

A few ways this consistency check can be improved:

  • Print which conditions fail and associated values.
  • Accumulate the result so that we can print all conditions that fail.
  • Turn hpdata_assert_consistent() into a macro so, when it fails, we can get line number where it's called from.

A few ways this consistency check can be improved:
* Print which conditions fail and associated values.
* Accumulate the result so that we can print all conditions that fail.
* Turn hpdata_assert_consistent() into a macro so, when it fails,
  we can get line number where it's called from.
@gctony
Copy link
Author

gctony commented Mar 25, 2026

Moving to jemalloc/jemalloc

@gctony gctony closed this Mar 25, 2026
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.

1 participant