Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Commit

Permalink
add result code to gc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robey Pointer committed Oct 19, 2010
1 parent f4248f0 commit fed4c1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scala/com/twitter/ostrich/CommandHandler.scala
Expand Up @@ -86,6 +86,7 @@ class CommandHandler(runtime: RuntimeEnvironment) {
getThreadStacks()
case "gc" =>
System.gc()
"ok"
case x =>
throw new UnknownCommandError(x)
}
Expand Down

0 comments on commit fed4c1d

Please sign in to comment.