Is it correct to assume that Loaded classes metric shows number of currently allocated instances? If so it could worth adding another metric that would show number of loaded classes - classes directly available to JVM (without access to disk).
Best wishes,
Mikhail
[EAP 610] Telemetry view - Classes tab
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
"Loaded classes" view shows how many classes currently are loaded into JVM. Number of allocated instances and number of loaded classes are absolutely different things. For example, there is one class "java.lang.String" and there are 1000 instances of String.
Of course JVM doesn't load all classes from disk. It loads only classes which are required in current execution context.
Of course JVM doesn't load all classes from disk. It loads only classes which are required in current execution context.