This is an automated archive made by the Lemmit Bot.

The original was posted on /r/java by /u/orgad on 2023-11-04 14:08:27.


I’m working on a low latency backend service written in Java.

The service is a batch processing system. Although it does a lot of IOs, it comes also with the cost of high CPU usage (~100%).

If I switched to GraalVM would that lower the CPU usage?

I learned that the JIT has the advantage of having more information at runtime and its compilation can result more performant code than AOT compiling. If so, can GraalVM even come in handy here? (I don’t care about startup time)

Of course, I could just try it but it would require a not-so-easy refactoring as I’m using some library that doesn’t behave well with GraalVM. Thta’s why I’m asking here if it is even worth the shot.

Thanks!