diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-08-12 00:54:27 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-08-12 01:23:27 +0200 |
commit | b41cb2d7b7cc1a10f4f68f9c8f544f916f448822 (patch) | |
tree | 3c284b97e970c7cd5f17d13f31ba4d7df028bb69 /tests | |
parent | 85d7885e226ed79dc071e0cef73ccc918144a8f5 (diff) |
main: introduce -g flag to allow enabling periodic gc from cli
Implement a new flag `-g` which takes an interval value and enables the
periodic GC with the given interval for cyclic object structures in the
VM if specified.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cram/test_basic.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cram/test_basic.t b/tests/cram/test_basic.t index 5911ac9..c33dee9 100644 --- a/tests/cram/test_basic.t +++ b/tests/cram/test_basic.t @@ -25,6 +25,10 @@ check that ucode provides exepected help: -t Enable VM execution tracing. + -g interval + Perform periodic garbage collection every `interval` object + allocations. + -S Enable strict mode. |