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

[Experiment]: get v1.8 building again #68

Closed
wants to merge 6 commits into from

Conversation

nickrobinson251
Copy link
Member

@nickrobinson251 nickrobinson251 commented Sep 21, 2023

PR Description

For https://github.com/RelationalAI/raicode/pull/15545

changes

@nickrobinson251 nickrobinson251 marked this pull request as draft September 21, 2023 08:48
@nickrobinson251 nickrobinson251 marked this pull request as ready for review September 21, 2023 10:31
@nickrobinson251 nickrobinson251 marked this pull request as draft September 21, 2023 10:31
li1 and others added 2 commits September 21, 2023 12:09
* Add GC metric `last_incremental_sweep`

* Update gc.c

* Update gc.c
We used to be reporting the maximum system image size in hexadecimal,
while reporting the image that was just built in decimal. This is a
recipe for confusion when the size limit contains no blatantly
hexadecimal characters.

This PR addresses the issue by consistently printing out both values in
hexadecimal (making this more obvious by prefixing the numbers with
`0x`). In order to use `PRIxPTR` in both format strings, I have cast the
current image size to `uintptr_t` from `intmax_t`, which should be safe
in all situations.

Co-authored-by: Dilum Aluthge <[email protected]>
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.

3 participants