Attempt to fix reported performance issues in logging:
- Use a single monitor instead of two.
- Cache MessageFormat and use the existing StringBuffer.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1569896 13f79535-47bb-0310-9956-ffa450edef68