base/android/java/src/org/chromium/base/library_loader/Linker.java
final void loadLibrary(String library, boolean isFixedAddressPermitted) {
        if (DEBUG) Log.i(TAG, "loadLibrary: %s", library);
        assert !library.equals(LINKER_JNI_LIBRARY);
        synchronized (mLock) {
            ensureInitializedLocked();
            try {
                loadLibraryImplLocked(library, isFixedAddressPermitted);
                if (!mLinkerWasWaitingSynchronously && mLibInfo != null && mState == State.DONE) {
                    atomicReplaceRelroLocked(true /* relroAvailableImmediately */);
                }
            } finally {
                // Reset the state to serve the retry with |isFixedAddressPermitted=false|.
                mLinkerWasWaitingSynchronously = false;
            }
        }
    }
/**
     * Loads a native shared library with the Chromium linker. Note the crazy linker treats
     * libraries and files as equivalent, so you can only open one library in a given zip
     * file. The library must not be the Chromium linker library.
     *
     * @param library The library name to load.
     * @param isFixedAddressPermitted Whether the library can be loaded at a fixed address for RELRO
     * sharing.
     */
Loads a native shared library with the Chromium linker. Note the crazy linker treats
libraries and files as equivalent, so you can only open one library in a given zip
file. The library must not be the Chromium linker library.

@param library The library name to load.
@param isFixedAddressPermitted Whether the library can be loaded at a fixed address for RELRO
sharing.
Loads a native shared library with the Chromium linker . Note the crazy linker treats libraries and files as equivalent so you can only open one library in a given zip file . The library must not be the Chromium linker library . @param library The library name to load . @param isFixedAddressPermitted Whether the library can be loaded at a fixed address for RELRO sharing .
final void loadLibrary(String library, boolean isFixedAddressPermitted) {
        if (DEBUG) Log.i(TAG, "loadLibrary: %s", library);
        assert !library.equals(LINKER_JNI_LIBRARY);
        synchronized (mLock) {
            ensureInitializedLocked();
            try {
                loadLibraryImplLocked(library, isFixedAddressPermitted);
                if (!mLinkerWasWaitingSynchronously && mLibInfo != null && mState == State.DONE) {
                    atomicReplaceRelroLocked(true /* relroAvailableImmediately */);
                }
            } finally {
                mLinkerWasWaitingSynchronously = false;
            }
        }
    }
final void loadLibrary ( String library , boolean isFixedAddressPermitted ) { if ( DEBUG ) Log . i ( TAG , "loadLibrary: %s" , library ) ; assert ! library . equals ( LINKER_JNI_LIBRARY ) ; synchronized ( mLock ) { ensureInitializedLocked ( ) ; try { loadLibraryImplLocked ( library , isFixedAddressPermitted ) ; if ( ! mLinkerWasWaitingSynchronously && mLibInfo != null && mState == State . DONE ) { atomicReplaceRelroLocked ( true /* relroAvailableImmediately */ ) ; } } finally { mLinkerWasWaitingSynchronously = false ; } } }
Loads a native shared library with the Chromium linker.
Loads a native shared library with the Chromium linker .
// Reset the state to serve the retry with |isFixedAddressPermitted=false|.