1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-25 08:12:11 -07:00
Commit graph

12 commits

Author SHA1 Message Date
Jonathan Holburn
73b9fbd4cd 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
a97e2b2c9a 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
fbd0d0e082 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
a5a3fb7e94 Add output to aid cold end of stack debugging 2023-04-26 18:01:53 +01:00
Richard Brooksby
5fdb7072ef 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
29425d80d4 Removing unnecessary arena_park. 2023-04-14 15:32:37 +01:00
Richard Brooksby
e5015abe5f 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
0896712c51 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
4a5fe3fbc4 Detabifying extcon.c. 2023-04-14 10:52:08 +01:00
Richard Brooksby
f8e0026b40 Adding extcon extension/contraction test to posix builds. fixing warnings in extcon.c. 2023-04-14 10:46:56 +01:00
Jonathan Holburn
dcc7666a07 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
970288d974 Add test for arena extend and contract callbacks 2023-04-13 12:25:15 +01:00