3 ms·
It's a global array of structs, let's say.
by anonymoushn 6y ago
It's a global array of structs, let's say.
- shagie 6y agoIf it's a global, it's very likely allocated on the heap. The question of "what is the representation of the object on the heap?" then open. However, the "this is global" complicates it. This isn't a question for Java to answer. You would need to dig into the specifics of the particular VM that you are using and how it allocates such a structure along with what optimizations it has available.