It probably is a bug. Looking at what happens it is probably something to do with allocation of local slots. It should however not keep trying this long. In this example inlining is a bad thing to do as quite some nontrivial stuff happens in joinItems and even in join. You are absolutely blowing up the code size without real reason to do so.The JVM is quite efficient in doing these things for you if it is the right thing to do.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Deep nested inline functions run slowly and can causes an error at compile
|
3 | 3465 | January 20, 2016 | |
Inlining Tiny Methods | 8 | 4847 | August 27, 2020 | |
Why joinToString and joinTo are not inline? | 5 | 1398 | January 21, 2017 | |
Did you consider to make inline the default behaviour? | 13 | 3374 | May 15, 2019 | |
Compiler Internal Error: Couldn't inline method call
|
3 | 5947 | April 23, 2018 |