Sfoglia il codice sorgente

update: vm启动时打印一次内存状态就够了

Wendal Chen 4 anni fa
parent
commit
5aa1fab733
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      luat/modules/luat_main.c

+ 1 - 1
luat/modules/luat_main.c

@@ -63,7 +63,7 @@ int luat_main_demo() { // 这是验证LuatVM最基础的消息/定时器/Task机
 static int pmain(lua_State *L) {
     int re = -2;
 
-    luat_os_print_heapinfo("boot");
+    //luat_os_print_heapinfo("boot");
 
     // 加载内置库
     luat_openlibs(L);