hg: jdk9/sandbox/jdk: 8153666: Optimize Formatter.formatMessage
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Mon Jun 13 07:36:01 UTC 2016
Changeset: 5b5637f91747
Author: dfuchs
Date: 2016-06-13 08:20 +0100
URL: http://hg.openjdk.java.net/jdk9/sandbox/jdk/rev/5b5637f91747
8153666: Optimize Formatter.formatMessage
Summary: This patch brings a small optimization that removes needless synchronization in Formatter.formatMessage. It also fixes the code that decides whether to call MessageFormat, and brings a small clarification to the API documentation on the conditions when that will happen.
Reviewed-by: rriggs, martin
! src/java.logging/share/classes/java/util/logging/Formatter.java
! src/java.logging/share/classes/java/util/logging/SimpleFormatter.java
! test/java/util/logging/SimpleFormatterFormat.java
More information about the jdk9-sandbox-changes
mailing list