RFR: 8273967: gtest os.dll_address_to_function_and_library_name_vm fails on macOS12
Daniel D.Daugherty
dcubed at openjdk.java.net
Thu Nov 4 17:29:13 UTC 2021
On Thu, 4 Nov 2021 05:12:48 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
>> I took a quick look at the other calls to `dladdr()` in src/hotspot/os/bsd/os_bsd.cpp
>> and I'm not comfortable with changing those uses without having a specific test
>> case that I can use to investigate those code paths.
>>
>> We are fairly early in our testing on macOS12 so I may run into a reason to revisit
>> this choice down the road.
>
>> I took a quick look at the other calls to `dladdr()` in src/hotspot/os/bsd/os_bsd.cpp and I'm not comfortable with changing those uses without having a specific test case that I can use to investigate those code paths.
>>
>> We are fairly early in our testing on macOS12 so I may run into a reason to revisit this choice down the road.
>
> Okay!
I've had a chance to think about this overnight and I'm not liking
my duplication of code so I'm going to look at adding a wrapper
that is called by the two calls sites where know I need the special
handling.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6193
More information about the serviceability-dev
mailing list