I mitigated it by stopping to use k2 compiler for just that module which contained @JvmRecord annotated classes (a special case for faster deserialization of huge amounts of objects)
g
Gavin Ray
09/10/2022, 3:16 PM
Sorry to go off topic -- but does annotating with
@JvmRecord
if using Jackson/kotlinx.serialization lead to better serialization performance?
r
rrva
09/10/2022, 7:59 PM
deserialization performance is what I measured to be better, dont know about serialization
rrva
09/10/2022, 8:01 PM
this is specific to jackson
g
Gavin Ray
09/10/2022, 9:00 PM
Thanks, I'll steal that optimization, it's an easy one and with Valhalla lurking it might be a good habit to get into if Java ever gets proper value classes and the optimizations for them