RFR(S): 8181781: Replay compilation should ignore unresolved Klass with -XX:+ReplayIgnoreInitErrors
vladimir.kozlov at oracle.com
Thu Jun 8 18:42:40 UTC 2017
Good. Thank you, Tobias, for fixing this.
On 6/8/17 4:21 AM, Tobias Hartmann wrote:
> please review the following patch:
> Replay compilation currently crashes if a Klass referenced in ciMethodData cannot be resolved. However, in many cases it's not necessary to resolve the class for replay compilation to succeed. We should be more conservative if -XX:+ReplayIgnoreInitErrors is set. I noticed this while debugging JDK-8181741. The generated replay compilation files fail because ciMethodData for AnnotationParser::parseAnnotations2 contains a reference to com/sun/proxy/jdk/proxy2/$Proxy4 which cannot be resolved. However, if we ignore those resolution failures compilation succeeds and the bug easily reproduces.
More information about the hotspot-compiler-dev