1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-15 15:50:57 -08:00
Commit graph

17 commits

Author SHA1 Message Date
Richard Brooksby
5b3280526f Clarifying comments in response to review <https://github.com/ravenbrook/mps/pull/213#discussion_r1191144878> 2023-06-09 14:49:32 +01:00
Richard Brooksby
5cfa8a6106 Improving comments in response to review <https://github.com/ravenbrook/mps/pull/213#pullrequestreview-1422468433>. 2023-06-09 14:43:41 +01:00
Richard Brooksby
7ff254469a Adding arena contraction callback to all chunk deallocations, so that it is called when the arena is destroyed. 2023-06-09 14:29:55 +01:00
Jonathan Holburn
7b395f057b Executing proc.review.edit 2023-05-23 02:15:02 +01:00
Jonathan Holburn
60c01c2451 Consistently use die() in extcon.c 2023-05-10 14:05:36 +01:00
Jonathan Holburn
236a039ec7 Remove homebrew format from extcon testbench and replace with dylan fmt. also disable code relating to stack roots. also replaces deprecated root_table. add comments 2023-05-10 13:51:39 +01:00
Richard Brooksby
139c99181d Disabling the insist comparing the testobj array to the cold end of the stack, since the testobj array is now a static and not comparible. 2023-05-02 16:02:48 +01:00
Richard Brooksby
c1d3717e0a Moving the root of objects into a static to avoid problems with the cold end of the stack for now, deferring solution of github issue <https://github.com/ravenbrook/mps/issues/210>. convertin asserts to insists so that they are present in hot builds.
GitHub-reference: https://github.com/Ravenbrook/mps/issues/210
2023-05-02 15:40:26 +01:00
Jonathan Holburn
1ef514c729 Add output to aid cold end of stack debugging 2023-04-26 18:01:53 +01:00
Richard Brooksby
273f4aeb02 Adding detailed output to extcon about memory reservation and gc cycles, to try to diagnose intermittent failures in ci. 2023-04-14 17:33:16 +01:00
Richard Brooksby
4e59883e96 Removing unnecessary arena_park. 2023-04-14 15:32:37 +01:00
Richard Brooksby
38eb470a7b Adding an attribute to test_main to prevent clang 14 from inlining it an reordering locals, causing stack roots to become lost. working around github issue <https://github.com/ravenbrook/mps/issues/210>.
GitHub-reference: https://github.com/Ravenbrook/mps/issues/210
2023-04-14 15:32:10 +01:00
Richard Brooksby
f6214ab9ae Adding an assertion that forces gcc not to reorder locals, working around github issue <https://github.com/ravenbrook/mps/issues/210>.
GitHub-reference: https://github.com/Ravenbrook/mps/issues/210
2023-04-14 15:08:27 +01:00
Richard Brooksby
612c2e8e62 Detabifying extcon.c. 2023-04-14 10:52:08 +01:00
Richard Brooksby
37f89e794e Adding extcon extension/contraction test to posix builds. fixing warnings in extcon.c. 2023-04-14 10:46:56 +01:00
Jonathan Holburn
551df8b2c6 Fix test to ensure that cold pointer exists in colder stack frame.
This avoids the issue https://github.com/Ravenbrook/mps/issues/210

Also increase the number of test objects by *10 to make it more likely
the arena will decide to contract.

Also comment out some printfs in the interrupt context, to avoid messy
output.

Also fix some typos in comments
2023-04-14 10:10:18 +01:00
Jonathan Holburn
6ee0abfb54 Add test for arena extend and contract callbacks 2023-04-13 12:25:15 +01:00