RFR: 8283306: re-resolving indirect call to non-entrant nmethod can crash [v2]

Dean Long dlong at openjdk.java.net
Wed May 4 18:46:24 UTC 2022


On Wed, 4 May 2022 18:43:15 GMT, Dean Long <dlong at openjdk.org> wrote:

>> This change fixes a crash that can happen in SharedRuntime::reresolve_call_site with Graal/JVMCI.
>> See https://bugs.openjdk.java.net/browse/JDK-8283306 for details.
>
> Dean Long has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Tom's suggested fix

OK, I used Tom's suggested fix.  I removed the !UseInlineCaches guarantee.  JDK19 doesn't seem to honor the flag for x86 anymore, and if the guarantee was useful it would make sense to use it whenever we don't clean the IC, whether iter.next() returns true or false.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8528


More information about the hotspot-dev mailing list