simple measures
The type of value can be labeled STACK; this is an implementation detail that it can highlight for some futurist data structure.
therefore it is better to understand how the value and the reference type work, the value type will be copied by value, which means that when you pass the value type as a parameter to FUNCTION, than it will be copied by nature, then you will have a common new copy.
Link types are passed by reference (againg does not consider the link to store the address again in some future versions, it may be stored in some other data structures.)
therefore in your case
myInt is an int that is initialized in a class that references a reference type, so it will be bound to an instance of the class that will be stored in "HEAP".
I would suggest you can start reading blogs written by ERIC LIPPERTS.
Eric's blog
TalentTuner Dec 20 2018-10-12T00: 00Z
source share