I am looking at a java virtual machine that's running an application. VisualVM says that java.lang.Float only has 102 instances.
Yet, there is also a class called Vector3 which has 80.000 instances. All these instances appear to have 3 float fields.
So, there should be at least 80.000 * 3 float instances right? Why not?
Update: This lead me to a follow up question, posted here: VisualVM OQL: how to search for primitive float values rather than actual Float instances?