Android Thread Stack Size and its behavior

Hello.

  1. What is the size for threads, creating on android: developer.android.com/guide/practices/verifying-apps-art.html#Stack_Size
    "Dalvik had separate stacks for native and Java code, with a default Java stack size of 32KB and a default native stack size of 1MB. ART has a unified stack for better locality" which part is Xamarin using?

  2. I have Matrix struct on C# -> on stack, the size is 72 bytes per object, I have ~500 calls of the function(the depth of the recursion) with Matrix as inner parameter without any StackOverFlow exceptions, does it have some complicated behavior in xamarin: storing some objects not in stack, but in heap or smth like that?

Thanks in advance.

Sign In or Register to comment.