we should dump the statistical counters in Compile::print_statistics() in the presence of -XX:+PrintOptoStatistics
EA statistics
1. Java Objects and its breakdowns (NoEscape/ArgEscape/GlobalEscape)
2. total time spend in EA
Scalar Replacement Statistics
1. no. of objects are scalar replaced.
2. no. of Monitor objects removed.
3. no. of GC barriers removed.
4. no. of memory barriers removed.
EA statistics
1. Java Objects and its breakdowns (NoEscape/ArgEscape/GlobalEscape)
2. total time spend in EA
Scalar Replacement Statistics
1. no. of objects are scalar replaced.
2. no. of Monitor objects removed.
3. no. of GC barriers removed.
4. no. of memory barriers removed.