Add malloc_trim after builtin_builder release.
authorSungguk Na <sungguk.na@samsung.com>
Mon, 10 Aug 2020 06:16:05 +0000 (15:16 +0900)
committerXuelian Bai <xuelian.bai@samsung.com>
Thu, 18 Jan 2024 01:31:55 +0000 (09:31 +0800)
commitefc06baa70a73af73288e5b2fcf130297e3f93a4
tree11dd283aa98515da296cf8ac9c14dd36b7fda014
parent66e13a73d7866a9238949d7ec09a72887062c63e
Add malloc_trim after builtin_builder release.

Memory usage pattern of Built-in builder causes large size chunk pools by glibc pool management scheme.
It is not useful ,but just unnecessary expense.
so malloc_trim will help to reduce memory usage in this case.

Change-Id: Ia63fb2050b468e55cd6b740b6a26585ed8e824a5
Signed-off-by: Sungguk Na <sungguk.na@samsung.com>
src/compiler/glsl/builtin_functions.cpp