RFR: 8311508: ZGC: RAII use of IntelJccErratumAlignment

Aleksey Shipilev shade at openjdk.org
Tue Aug 8 15:45:30 UTC 2023


On Tue, 8 Aug 2023 13:49:24 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

> Fixed the locations where unnamed IntelJccErratumAlignment circumvented the correctness asserts.
> Also strengthened the asserts so that a IntelJccErratumAlignment RAII object scope must surround at least some instruction. 
> 
> Tested GHA and tier1,tier2

Looks fine. There is no functional change, only the assert that verifies the destructor actually runs after the "protected" instructions emitted.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/15191#pullrequestreview-1567604075


More information about the hotspot-dev mailing list