[EAP 610] Telemetry view - Classes tab

Questions about YourKit Java Profiler
Post Reply
mikkri
Posts: 6
Joined: Thu Jun 02, 2005 9:07 am

[EAP 610] Telemetry view - Classes tab

Post by mikkri »

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
Vladimir Kondratyev
Posts: 1626
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

"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.
Post Reply