mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8339290: Optimize ClassFile Utf8EntryImpl#writeTo
Reviewed-by: redestad, liach
This commit is contained in:
parent
340e131d61
commit
cb9f5c5791
7 changed files with 268 additions and 49 deletions
|
@ -2569,6 +2569,9 @@ public final class System {
|
|||
public int countPositives(byte[] bytes, int offset, int length) {
|
||||
return StringCoding.countPositives(bytes, offset, length);
|
||||
}
|
||||
public int countNonZeroAscii(String s) {
|
||||
return StringCoding.countNonZeroAscii(s);
|
||||
}
|
||||
public String newStringNoRepl(byte[] bytes, Charset cs) throws CharacterCodingException {
|
||||
return String.newStringNoRepl(bytes, cs);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue