From bec73f78c2afa6fedf99de535172d4d69838c3ce Mon Sep 17 00:00:00 2001 From: Karl Nelson Date: Sun, 10 Dec 2023 11:23:29 -0800 Subject: [PATCH] Change back to broken mallinfo for now --- native/common/jp_gc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/common/jp_gc.cpp b/native/common/jp_gc.cpp index 029d673dd..505373580 100644 --- a/native/common/jp_gc.cpp +++ b/native/common/jp_gc.cpp @@ -85,8 +85,8 @@ size_t getWorkingSize() return sz * page_size; #elif defined(USE_MALLINFO) - struct mallinfo2 mi; - mi = mallinfo2(); + struct mallinfo mi; + mi = mallinfo(); current = (size_t) mi.uordblks; #endif