RFR: 8220502: Inefficient pre-sizing of PhiResolverState arrays in c1_LIRGenerator
claes.redestad at oracle.com
Wed Mar 13 11:03:24 UTC 2019
the PhiResolverState arrays are pre-sized to the maximum possible number
of nodes that can be put into them, which when instrumenting turns out
to be quite excessive. By not pre-sizing to the theoretical maximum I
can measure a substantial improvements in calling methods.
On a set of startup and footprint benchmarks, 60% of collected metrics
show 0.2-2% statistically significant improvements, with no
regression on any metric.
More information about the hotspot-compiler-dev