3 ms·
> In C++, it's common for contained structs to be flat in memory, so accessing a data member in them is just an offset from a base address JVM inlines virtual
by abc_lisper 11y ago
> In C++, it's common for contained structs to be flat in memory, so accessing a data member in them is just an offset from a base address
JVM inlines virtual method calls as one of its optimizations.
See: http://www.oracle.com/technetwork/java/whitepaper-135217.html http://www.oracle.com/technetwork/java/whitepaper-135217.htm...
- dsharlet 11y agoHow is that related to the parent's point?