File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
java/kotlin-extractor/src/main/kotlin Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ class KotlinExtractorExtension(
140
140
}
141
141
142
142
private fun logPeakMemoryUsage (logger : Logger , time : String ) {
143
- logger.info(" Peak memory usage $time " )
143
+ logger.info(" Peak memory: Usage $time " )
144
144
145
145
val beans = ManagementFactory .getMemoryPoolMXBeans()
146
146
var heap: Long = 0
@@ -152,10 +152,10 @@ class KotlinExtractorExtension(
152
152
MemoryType .NON_HEAP -> { nonheap + = peak; " non-heap" }
153
153
else -> " unknown"
154
154
}
155
- logger.info(" * Peak for $kind bean ${bean.getName()} is $peak " )
155
+ logger.info(" Peak memory: * Peak for $kind bean ${bean.getName()} is $peak " )
156
156
}
157
- logger.info(" * Total heap peak: $heap " )
158
- logger.info(" * Total non-heap peak: $nonheap " )
157
+ logger.info(" Peak memory: * Total heap peak: $heap " )
158
+ logger.info(" Peak memory: * Total non-heap peak: $nonheap " )
159
159
}
160
160
}
161
161
You can’t perform that action at this time.
0 commit comments