Comment out assertions added in JDK-8351443 from 
AbstractStringBuilder.ensureCapacityNewCoder that increase the codesize, 
preventing some inlining, and reducing performance

       assert coder == newCoder || newCoder == UTF16 : "bad new coder UTF16 -> 
LATIN1";
       assert count <= newCapacity : "count exceeds new capacity";

-------------

Commit messages:
 - 8357823: Changes in StringBuilder (JDK-8351443) caused a 1-3% regression in 
biojava

Changes: https://git.openjdk.org/jdk/pull/25550/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25550&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8357823
  Stats: 4 lines in 1 file changed: 2 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/25550.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25550/head:pull/25550

PR: https://git.openjdk.org/jdk/pull/25550

Reply via email to