mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-26 21:08:45 +08:00
add garbage collector and memory allocator info. use '-d' to activate this function.
This commit is contained in:
@@ -886,6 +886,8 @@ vmexit:
|
||||
die("stack overflow");
|
||||
if(opcnt)
|
||||
opcallsort(count);
|
||||
if(detail_info)
|
||||
gc.info();
|
||||
gc.clear();
|
||||
imm.clear();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user