I have a C++ application which makes calls to functions in a shared library. The application also creates a JVM and calls some Java Code. The Java code might end up calling functions from the same shared library.
The question is will the shared library get loaded twice in the memory overwriting the first instance of load ? Will this lead to unintended crashes ?