From 46fb034d140b08e971795f3378959a6ffdfe6f93 Mon Sep 17 00:00:00 2001 From: Jens Wille Date: Wed, 11 May 2022 16:52:29 +0200 Subject: [PATCH] Increase HPROF output cutoff point. --- metafix-runner/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/metafix-runner/build.gradle b/metafix-runner/build.gradle index 8600c7ee..c2fbe3f8 100644 --- a/metafix-runner/build.gradle +++ b/metafix-runner/build.gradle @@ -17,7 +17,8 @@ application { if (project.hasProperty('profile')) { def file = project.getProperty('profile') ?: project.name def depth = project.hasProperty('profile.depth') ? project.getProperty('profile.depth') : 8 + def cutoff = project.hasProperty('profile.cutoff') ? project.getProperty('profile.cutoff') : 0.001 - applicationDefaultJvmArgs = ["-agentlib:hprof=heap=sites,cpu=samples,depth=${depth},file=${file}.hprof.txt"] + applicationDefaultJvmArgs = ["-agentlib:hprof=heap=sites,cpu=samples,depth=${depth},cutoff=${cutoff},file=${file}.hprof.txt"] } }