Skip to content

Commit 46fb034

Browse files
committed
Increase HPROF output cutoff point.
1 parent 9a75304 commit 46fb034

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

metafix-runner/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ application {
1717
if (project.hasProperty('profile')) {
1818
def file = project.getProperty('profile') ?: project.name
1919
def depth = project.hasProperty('profile.depth') ? project.getProperty('profile.depth') : 8
20+
def cutoff = project.hasProperty('profile.cutoff') ? project.getProperty('profile.cutoff') : 0.001
2021

21-
applicationDefaultJvmArgs = ["-agentlib:hprof=heap=sites,cpu=samples,depth=${depth},file=${file}.hprof.txt"]
22+
applicationDefaultJvmArgs = ["-agentlib:hprof=heap=sites,cpu=samples,depth=${depth},cutoff=${cutoff},file=${file}.hprof.txt"]
2223
}
2324
}

0 commit comments

Comments
 (0)