add garbage collector and memory allocator info. use '-d' to activate this function.

This commit is contained in:
ValKmjolnir
2022-02-08 23:40:52 +08:00
parent a09c6ae2f9
commit 24a1e39ad3
4 changed files with 45 additions and 13 deletions
+2
View File
@@ -886,6 +886,8 @@ vmexit:
die("stack overflow");
if(opcnt)
opcallsort(count);
if(detail_info)
gc.info();
gc.clear();
imm.clear();
return;