Running a JVM with -XX:PrintCompilation
, these two lines in the output caught my attention:
252219 6548 3 java.lang.Character::toUpperCase (6 bytes)
252220 6549 3 java.lang.Character::toUpperCase (9 bytes)
Why does that happen?