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

Update test for Bluespec Inc bug 1490 #681

Merged
merged 1 commit into from Mar 4, 2024

Conversation

quark17
Copy link
Collaborator

@quark17 quark17 commented Mar 3, 2024

The heap overflow in GHC 9.8 (actually starting with 9.6) is correct. Earlier GHC 9.4 can be seen to use the same amount of memory, but is not correctly handling the RTS -M flag. So I have removed the GHC version check and slightly increased the maximum heap for the two tests which actually use more heap (but not as much as the one test which is expected fail, which needs more than 400M).

The heap overflow in GHC 9.8 (actually starting with 9.6) is correct.
Earlier GHC 9.4 can be seen to use the same amount of memory, but is
not correctly handling the RTS -M flag.  If possible, the exp file
should be updated to more directly test what the concern is -- whether
that's a trace of the BSC elaboration or GHC's reporting of the live
bytes (which is smaller than the actual heap usage, due to
fragmentation) or something else.
@quark17 quark17 merged commit dfc7568 into B-Lang-org:main Mar 4, 2024
43 checks passed
@quark17 quark17 deleted the update-b1490 branch March 4, 2024 01:41
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.

None yet

1 participant