We are using yourkit from Idea.
It seems that debuggind and profiling at the same time are incompatible.
The problem is to monitor fine object allocation for a section of code
We can do that by introducing System.in.read() for instance, but this is impractical
Is there a way to do that?
Allocations for a code section
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Allocations for a code section
Object allocation recording ( https://www.yourkit.com/docs/java/help/allocations.jsp ) can be started and stopped automatically:
- with triggers on method invocation: https://www.yourkit.com/docs/java/help/triggers.jsp
- with the profiler API: https://www.yourkit.com/docs/java/help/api.jsp (see the class Controller)
- with triggers on method invocation: https://www.yourkit.com/docs/java/help/triggers.jsp
- with the profiler API: https://www.yourkit.com/docs/java/help/api.jsp (see the class Controller)