forked from StarOpenSource/Engine
Add "-Xlog:gc" flag
This commit is contained in:
parent
b675a5ffb2
commit
b26517958a
1 changed files with 5 additions and 1 deletions
|
@ -74,7 +74,10 @@ jar {
|
||||||
// Configure application run task
|
// Configure application run task
|
||||||
application {
|
application {
|
||||||
mainClass.set("de.staropensource.sosengine.testapp.Main")
|
mainClass.set("de.staropensource.sosengine.testapp.Main")
|
||||||
applicationDefaultJvmArgs = [ // List of nice development configuration overrides
|
applicationDefaultJvmArgs = [
|
||||||
|
// Display GC log
|
||||||
|
"-Xlog:gc",
|
||||||
|
|
||||||
// Set log level to DIAGNOSTIC
|
// Set log level to DIAGNOSTIC
|
||||||
"-Dsosengine.base.loggerLevel=diagnostic",
|
"-Dsosengine.base.loggerLevel=diagnostic",
|
||||||
|
|
||||||
|
@ -123,6 +126,7 @@ tasks.register('runNativeImage', Exec) {
|
||||||
dependsOn(nativeImage)
|
dependsOn(nativeImage)
|
||||||
|
|
||||||
args(
|
args(
|
||||||
|
"-Xlog:gc",
|
||||||
"-Dsosengine.base.loggerLevel=diagnostic",
|
"-Dsosengine.base.loggerLevel=diagnostic",
|
||||||
"-Dsosengine.base.loggerForceStandardOutput=true",
|
"-Dsosengine.base.loggerForceStandardOutput=true",
|
||||||
"-Dsosengine.base.initialForceDisableClasspathScanning=true",
|
"-Dsosengine.base.initialForceDisableClasspathScanning=true",
|
||||||
|
|
Loading…
Reference in a new issue