RFR(S): 8181781: Replay compilation should ignore unresolved Klass with -XX:+ReplayIgnoreInitErrors
tobias.hartmann at oracle.com
Fri Jun 9 06:47:25 UTC 2017
thanks for the review!
On 08.06.2017 20:42, Vladimir Kozlov wrote:
> 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