Performance Metrics
Several metrics are utilized to evaluate garbage collector performance, including:
- Throughput—the percentage of total time not spent in garbage collection, considered over long periods of time.
- Garbage collection overhead—the inverse of throughput, that is, the percentage of total time spent in garbage collection.
- Pause time—the length of time during which application execution is stopped while garbage collection is occurring.
- Frequency of collection—how often collection occurs, relative to application execution.
- Footprint—a measure of size, such as heap size.
- Promptness—the time between when an object becomes garbage and when the memory becomes available.
If you'd like to explore more on this and in general about Java's garbage collection / memory management, have a look at these slides:
Read full article from Java Garbage Collection Algorithm Design Choices And Metrics To Evaluate Garbage Collector Performance - DZone Java
No comments:
Post a Comment