Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
Increase HPROF output cutoff point.
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwinter committed May 12, 2022
1 parent 9a75304 commit 46fb034
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion metafix-runner/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}

0 comments on commit 46fb034

Please sign in to comment.