mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 19:14:05 +09:00
Former-commit-id: 375604da8a20a6ba7cd0a8d05a44add02b2d04f4 Former-commit-id: 287287c5920b07618174d7a7573f049d350ded66
16 lines
336 B
Kotlin
16 lines
336 B
Kotlin
package net.torvald.terrarum.console
|
|
|
|
/**
|
|
* Created by minjaesong on 16-01-18.
|
|
*/
|
|
class ForceGC : ConsoleCommand {
|
|
override fun execute(args: Array<String>) {
|
|
System.gc()
|
|
Echo().execute("Invoked System.gc")
|
|
}
|
|
|
|
override fun printUsage() {
|
|
Echo().execute("Invoke garbage collection of JVM.")
|
|
}
|
|
}
|