hg: jdk10/sandbox/jdk: 8182743: Ineffective use of volatile hurts performance of Charset.atBugLevel()

chris.hegarty at oracle.com chris.hegarty at oracle.com
Sun Jul 2 17:32:53 UTC 2017


Changeset: 7a2bc0a80087
Author:    clanger
Date:      2017-07-01 20:35 +0200
URL:       http://hg.openjdk.java.net/jdk10/sandbox/jdk/rev/7a2bc0a80087

8182743: Ineffective use of volatile hurts performance of Charset.atBugLevel()
Reviewed-by: clanger, redestad, plevart, coffeys
Contributed-by: ogatak at jp.ibm.com

! src/java.base/share/classes/java/nio/charset/Charset-X-Coder.java.template
! src/java.base/share/classes/java/nio/charset/Charset.java
! test/java/nio/charset/Charset/EmptyCharsetName.java
! test/java/nio/charset/CharsetDecoder/AverageMax.java



More information about the jdk10-sandbox-changes mailing list