https://kotlinlang.org logo
#compiler
Title
# compiler
h

holgerbrandl

12/18/2021, 11:25 AM
Hi, is there some documentation about the benefits of using a more recent jvm target than the default (which is 1.8 I believe)? E.g. what's getting better when using
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
in my grade build definition?
3
j

jimn

12/18/2021, 2:01 PM
anecdotally, 17 has some regression fixes that set it behind 11 in performance. 14 is no longer easy to find but I've heard claims it is the best outright. whether C2 or graal probably was not a question when 14 was released.