RFR: JDK-8320005 : Native library suffix impact on hotspot code in AIX [v2]
Suchismith Roy
sroy at openjdk.org
Tue Dec 19 13:57:49 UTC 2023
On Tue, 28 Nov 2023 12:59:01 GMT, Suchismith Roy <sroy at openjdk.org> wrote:
>>> >
>>>
>>> @tstuefe 3rd parameter to pass the either of 2 things:
>>>
>>> 1. The JvmTiAgent object "agent", so that after shifting the save_library_signature to os_aix,we can still access the agent object.-> For this i tried importing jvm/prims header file, but i get segmentation faults during build . Not sure if i am doing it the right way.
>>>
>>> 2. Pass a character buffer(and not const char*) where we copy the modified filename back to it and then use it in jvmAgent. code.
>>
>> Does not sound really appealing tbh. We pile one hack atop of another.
>>
>> Please synchronize with @JoKern65 at SAP. He will rewrite the JVMTI handler code, which will make this point moot. See https://bugs.openjdk.org/browse/JDK-8320890.
>
>> > >
>> >
>> >
>> > @tstuefe 3rd parameter to pass the either of 2 things:
>> > ```
>> > 1. The JvmTiAgent object "agent", so that after shifting the save_library_signature to os_aix,we can still access the agent object.-> For this i tried importing jvm/prims header file, but i get segmentation faults during build . Not sure if i am doing it the right way.
>> >
>> > 2. Pass a character buffer(and not const char*) where we copy the modified filename back to it and then use it in jvmAgent. code.
>> > ```
>>
>> Does not sound really appealing tbh. We pile one hack atop of another.
>>
>> Please synchronize with @JoKern65 at SAP. He will rewrite the JVMTI handler code, which will make this point moot. See https://bugs.openjdk.org/browse/JDK-8320890.
>
> Hi @tstuefe Should i then wait for this code to be integrated and then rewrite the .a handling ?
> I mean this PR shall remain open then right ?
> @JoKern65 Are you even handling the .a handling case ? i would like this PR to stay open. Maybe i can wait for the design change that you are working on.
> Hi @suchismith1993 , you can place this change on top of #16920 by comparing it with branch origin/pr/16920 instead of master. This way you might be able to proceed with your change. But as Thomas says you can only push if you have appropriate reviews.
Hi @GoeLin I am not sure how to do that . Could you tell me in brief ?
Do I run the checkout command on the other PR and then place my change of top of it ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16604#issuecomment-1862802768
More information about the serviceability-dev
mailing list