[jdk17] RFR: 8269335: Unable to load svml library

Jie Fu jiefu at openjdk.java.net
Fri Jun 25 00:12:26 UTC 2021


On Thu, 24 Jun 2021 23:33:33 GMT, Jie Fu <jiefu at openjdk.org> wrote:

>> I used to test the svml in JDK17.
>> It seems to work on Linux.
>> 
>> So how can I reproduce this bug?
>> Thanks.
>
>> @DamonFool The problem shows up only with the build on jdk.java.net. I also didn't see this problem while testing with internal builds.
> 
> So why it works for our internal builds but fails with the builds on jdk.java.net?

> @DamonFool Very good question. It took me sometime to figure this out. There is something in java.exe which makes the difference. If you replace the java.exe in the internal build with the one on jdk.java.net you will be able to reproduce the problem. Giving the full path to dll_load in libjvm.so as in this patch fixes the issue.

I didn't get it tested on windows before.

Does the original code also work on Windows with your internal builds?
If so, I think more investigation is needed to figure out the root cause.
Thanks.

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

PR: https://git.openjdk.java.net/jdk17/pull/143


More information about the hotspot-compiler-dev mailing list