-
Bug
-
Resolution: Fixed
-
P3
-
17, 18
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8277252 | 17.0.3-oracle | Vladimir Kozlov | P3 | Resolved | Fixed | b01 |
JDK-8276980 | 17.0.2 | Sandhya Viswanathan | P3 | Resolved | Fixed | b05 |
When the jdk.incubator.vector module is linked in a JDK image then the library libsvml.so is present and loaded in phase 2 of stub generation.
This occurs even if the jdk.incubator.vector module is not visible, since stub generation occurs before module definitions when the JVM boots. So we cannot predicate the library loading and stub generation on the UseVectorStubs flag.
This may cause conflicts with user applications using JNI that load (indirectly) libsvml.so distributed with Intel's MKL library.
For more details see:
https://mail.openjdk.java.net/pipermail/panama-dev/2021-October/015536.html
I have logged this against hotspot/runtime for now, but it may be some or all of the solution is build/infrastructure based e.g. we could rename the library.
This occurs even if the jdk.incubator.vector module is not visible, since stub generation occurs before module definitions when the JVM boots. So we cannot predicate the library loading and stub generation on the UseVectorStubs flag.
This may cause conflicts with user applications using JNI that load (indirectly) libsvml.so distributed with Intel's MKL library.
For more details see:
https://mail.openjdk.java.net/pipermail/panama-dev/2021-October/015536.html
I have logged this against hotspot/runtime for now, but it may be some or all of the solution is build/infrastructure based e.g. we could rename the library.
- backported by
-
JDK-8276980 Hotspot's libsvml.so may conflict with user dependency
-
- Resolved
-
-
JDK-8277252 Hotspot's libsvml.so may conflict with user dependency
-
- Resolved
-
- relates to
-
JDK-8319572 Test jdk/incubator/vector/LoadJsvmlTest.java ignores VM flags
-
- Resolved
-
- links to
-
Commit openjdk/jdk17u/3e349b43
-
Commit openjdk/jdk/9ad4d3d0
-
Review openjdk/jdk17u/250
-
Review openjdk/jdk/6265
(2 links to)