Add unit test for GC problem
parent
d9011a3a6e
commit
b5e8b14722
|
@ -1,8 +1,16 @@
|
|||
USING: generic kernel kernel.private math memory prettyprint io
|
||||
sequences tools.test words namespaces layouts classes
|
||||
classes.builtin arrays quotations ;
|
||||
classes.builtin arrays quotations io.launcher system ;
|
||||
IN: memory.tests
|
||||
|
||||
! LOL
|
||||
[ ] [
|
||||
vm
|
||||
"-generations=2"
|
||||
"-e=USING: memory io prettyprint system ; input-stream gc . 0 exit"
|
||||
3array try-process
|
||||
] unit-test
|
||||
|
||||
[ [ ] instances ] must-infer
|
||||
|
||||
! Code GC wasn't kicking in when needed
|
||||
|
|
Loading…
Reference in New Issue