RFR: 8333356: JVM crashes with "aux_index does not match even or odd indices"

Aleksey Shipilev shade at openjdk.org
Thu Aug 8 15:16:32 UTC 2024


On Thu, 8 Aug 2024 15:09:30 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> +1. It would also dedup the messages if we wrap the second concat (yay preprocessor macros):
>> 
>> 
>> fatal("Cannot resize table: Node hash code has changed possibly due to corruption of the contents."
>>       DEBUG_ONLY(" Node hash code changed from " SIZE_FORMAT " to " SIZE_FORMAT, aux->saved_hash(), aux_hash));
>
> I tried this dedup for the message and the compiler was displeased.

Oh, because `fatal` is macro as well, hrmpf. Too bad. Wrap the second `fatal` in `NOT_DEBUG` then?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20503#discussion_r1709735542


More information about the hotspot-dev mailing list