Skip to content

Commit

Permalink
Merge pull request #1159 from jpype-project/revert_mallinfo
Browse files Browse the repository at this point in the history
Change back to broken mallinfo for now
  • Loading branch information
Thrameos authored Dec 10, 2023
2 parents 45b48e2 + bec73f7 commit 19835e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions native/common/jp_gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 19835e3

Please sign in to comment.