RFR (XS): 8218406: C1: Redundant nmethod dependency for private method is added
vladimir.x.ivanov at oracle.com
Tue Feb 5 00:15:54 UTC 2019
On 04/02/2019 15:58, Vladimir Kozlov wrote:
> Looks good.
>> On Feb 4, 2019, at 3:38 PM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:
>> JDK-6986483  enabled limited CHA support for interface methods in C1. It uncovered a missing case in consequent code which add nmethod dependency: neither final nor private methods can be overridden, but it checks only for final ones. Thus a redundant dependency is added for private interface method call and it triggers an assert during dependency validation (ClassHierarchyWalker doesn't expect to see private methods).
>> The fix is to adjust the relevant check to avoid introducing nmethod dependency for private interface methods.
>> Testing: failing JCK tests, hs-precheckin-comp, tier1-5 (in progress).
>> Best regards,
>> Vladimir Ivanov
>>  https://bugs.openjdk.java.net/browse/JDK-6986483
More information about the hotspot-compiler-dev