Search code examples
javajvmendiannessjvm-hotspot

Big-endian conversion in JVM


AFAIK, java stores ints in memory in big-endian format. And my intel processor uses little-endian.

Where does the conversion takes place? Does it take place? How JVM developers settle performance issues?


Solution

  • The JVM running on your Intel stores int as little-endian.