Current Page:
NeXtMidas Training
NetBeans - Part 3 (Profiler)
About Profilers
What do we look for?
|
|
- What do we look for?
- Profilers are used to identify "problem" areas, such as:
- Memory Leaks (Not Possible in Java)
- Memory leaks are those where memory is no longer usable and can not be freed
up for reuse. Memory leaks are not possible in Java because the Java Garbage
Collector cleans up any unused memory.
- Useless Memory
- In Java a "memory leak" is said to occur when memory is being used that is no
longer useful. This differs from a true memory leak because the memory is still
(theoretically) usable -- hence why the Java Garbage Collector does not
clean it up.
- Performance "Hot Spots"
- A method (or set of methods) whose cumulative performance drives the execution
time of the program.
- In NeXtMidas these usually are found inside the
process() method of a DSP primitive.
|
|
|