RFR: 8306278: jvmtiAgentList.cpp:253 assert(offset >= 0) failed: invariant occurs on AIX after JDK-8257967
Markus Grönlund
mgronlun at openjdk.org
Wed Apr 19 10:59:44 UTC 2023
On Tue, 18 Apr 2023 17:15:46 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
>> Greetings,
>>
>> For most platforms, os::dll_address_to_library_name() only sets offset = -1 in case of errors. If there is an error, the function returns false. This is fine.
>>
>> On AIX, the offset, being optional, is invariantly set to -1, even in the case of non-errors.
>>
>> Easiest to remove the assertion for a positive offset.
>>
>> Thanks
>> Markus
>
> Looks good to me.
> Thanks,
> Serguei
Thank you @sspitsyn, @dholmes-ora and @MBaesken for your reviews.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13513#issuecomment-1514533473
More information about the serviceability-dev
mailing list