https://bz.apache.org/bugzilla/show_bug.cgi?id=69552
--- Comment #2 from Mark Thomas <ma...@apache.org> --- The fast path only works because of the one to one direct mapping of bytes to characters in ISO_8859_1. That doesn't apply to UTF-8. See also TestMessageBytesPerformance and the note re changes in Java 16 onwards. Just from looking at the code for that test and the test case attached to this bug, I suspect there are two parts to this: - the efficiency of the conversion processes - the overhead of the fast vs slow path I don't see how UTF-8 could be moved to the fast path given there isn't a one to one direct mapping between bytes and characters for UTF-8. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org