Join Slack
Powered by
Are Kotlin objects always allocated on heap?
# kotlin-native
d
Dmitry Kandalov
09/14/2018, 2:39 PM
Are Kotlin objects always allocated on heap?
o
olonho
09/14/2018, 3:25 PM
Yes, and once escape analysis matures, some will be frame local arena or even frame itself
👍 1
n
napperley
09/15/2018, 4:04 AM
What are the differences between local arena and the other Arena types?
o
olonho
09/15/2018, 7:10 AM
its lifetime is bound to the frame lifetime
n
napperley
09/16/2018, 9:24 PM
What is meant by frame? Is it related to a stack frame?
o
olonho
09/17/2018, 5:08 AM
yes, stack frame created on function invocation
5
Views
Open in Slack
Previous
Next