* configservice.jsp: Add GC button

This commit is contained in:
zzz
2012-10-05 13:09:34 +00:00
parent b20e298f6e
commit 583463ab42
4 changed files with 26 additions and 7 deletions

View File

@ -218,6 +218,9 @@ public class ConfigServiceHandler extends FormHandler {
} else if (_("Do not view console on startup").equals(_action)) {
browseOnStartup(false);
addFormNotice(_("Console is not to be shown on startup"));
} else if (_("Force GC").equals(_action)) {
Runtime.getRuntime().gc();
addFormNotice(_("Full garbage collection requested"));
} else {
//addFormNotice("Blah blah blah. whatever. I'm not going to " + _action);
}