I'm profiling a java application, and the largest number of the allocated objects have name
com.x.y.ClassName$5
.
Both the netbeans profiler and the yourkit use the same naming convention. I'm at loss how to google the naming problem.
What is $5
after class name?
EDIT: It seems the $5 is fifth anonymous class declared. I've used javap on generated class to find which is the fifth anonymous class. Reference found in How to match compiled class name to an enum member in Java?