Currently, RISC-V differs from other platforms in that it requires the linkage 
to libatomic.so to support sub-word atomic operations. However, because it is 
linked dynamically, it will depend on the installation of libatomic.so on the 
system where the Java application will run, which no other platform require.

Instead of dynamically linking, we can statically link so that there is no 
dependency at run-time as it's already statically linked into libjvm.so.

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

Commit messages:
 - 8313592: RISC-V: Link libatomic statically

Changes: https://git.openjdk.org/jdk/pull/15119/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15119&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8313592
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/15119.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15119/head:pull/15119

PR: https://git.openjdk.org/jdk/pull/15119

Reply via email to