RFR: 8295214: Generational ZGC: Guard nmethods from cross modifying code

David Holmes dholmes at openjdk.org
Thu Nov 10 04:55:34 UTC 2022


On Wed, 9 Nov 2022 10:41:04 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

>> The new logic inside of update_poll_values makes is more accurate and made this cross_modify_fence redundant. That's why I removed it.
>
>> Has this simply been moved to cover more paths?
> 
> I removed it because it is redundant after updating update_poll_values to more precisely identify when cross_modify_fence should be called. It will then already have been called inside of update_poll_values, when it was needed here at the call site.

Okay.

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

PR: https://git.openjdk.org/jdk/pull/11042


More information about the hotspot-dev mailing list