corretto-17 icon indicating copy to clipboard operation
corretto-17 copied to clipboard

LTO Binaries

Open airbnb-gps opened this issue 1 year ago • 1 comments

Is your feature request related to a problem?

Performance

Describe a solution you would like

OpenJDK's configure has a link-time-opt feature (--with-jvm-features=link-time-opt) that will engage LTO to hopefully improve performance of produced binaries. Corretto's official binary distributions (produced through its custom Gradle build system) don't enable LTO.

Should it? If not, why?

Describe alternatives you have considered

Leaving things the way they are.

airbnb-gps avatar May 17 '23 01:05 airbnb-gps

hi, @airbnb-gps

Do you have performance data about LTO? for long-haul java services, most of time is in JIT-generated code. I am not sure how much we would gain from LTO.

we will discuss this idea and get you back.

navyxliu avatar Jul 27 '23 06:07 navyxliu