RFR: 8357060: [premain] assert(left >= right) failed: avoid underflow [v2]

Ashutosh Mehra asmehra at openjdk.org
Tue May 20 16:26:14 UTC 2025


On Tue, 20 May 2025 16:01:22 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> @vnkozlov @adinn thanks for the reviews.
>
> @ashu-mehra does any part of this PR need to be upstreamed to the mainline?

@iklam nope, I don't think any of these issues are present in mainline.
In mainline only C1 runtime stubs are accessing `CompressedKlassPointer::base()` which is already taken care of.
I don't think any of the C2 runtime stubs access `CompressedKlassPointer::base()` which means changes to `MacroAssembler::decode_and_move_klass_not_null` and `MacroAssembler::encode_and_move_klass_not_null` shouldn't be required. Do you agree @vnkozlov @adinn ?

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

PR Comment: https://git.openjdk.org/leyden/pull/68#issuecomment-2895100848


More information about the leyden-dev mailing list