base/android/java/src/org/chromium/base/library_loader/Linker.java
@GuardedBy("mLock")
    protected final void waitForSharedRelrosLocked() {
        if (DEBUG) Log.i(TAG, "waitForSharedRelros() called");
        mLinkerWasWaitingSynchronously = true;

        // Wait until notified by provideSharedRelros() that shared RELROs have arrived.
        //
        // Note that the relocations may already have been provided by the time we arrive here, so
        // this may return immediately.
        long startTime = DEBUG ? SystemClock.uptimeMillis() : 0;
        while (mLibInfo == null) {
            try {
                mLock.wait();
            } catch (InterruptedException e) {
                // Continue waiting even if we were just interrupted.
            }
        }

        if (DEBUG) {
            Log.i(TAG, "Time to wait for shared RELRO: %d ms",
                    SystemClock.uptimeMillis() - startTime);
        }
    }
// called to supply a valid shared RELROs bundle.
called to supply a valid shared RELROs bundle.
called to supply a valid shared RELROs bundle .
@GuardedBy("mLock")
    protected final void waitForSharedRelrosLocked() {
        if (DEBUG) Log.i(TAG, "waitForSharedRelros() called");
        mLinkerWasWaitingSynchronously = true;
         Note that the relocations may already have been provided by the time we arrive here, so
         this may return immediately.
        long startTime = DEBUG ? SystemClock.uptimeMillis() : 0;
        while (mLibInfo == null) {
            try {
                mLock.wait();
            } catch (InterruptedException e) {
                 Continue waiting even if we were just interrupted.
            }
        }
        if (DEBUG) {
            Log.i(TAG, "Time to wait for shared RELRO: %d ms",
                    SystemClock.uptimeMillis() - startTime);
        }
    }
@ GuardedBy ( "mLock" ) protected final void waitForSharedRelrosLocked ( ) { if ( DEBUG ) Log . i ( TAG , "waitForSharedRelros() called" ) ; mLinkerWasWaitingSynchronously = true ; long startTime = DEBUG ? SystemClock . uptimeMillis ( ) : 0 ; while ( mLibInfo == null ) { try { mLock . wait ( ) ; } catch ( InterruptedException e ) { } } if ( DEBUG ) { Log . i ( TAG , "Time to wait for shared RELRO: %d ms" , SystemClock . uptimeMillis ( ) - startTime ) ; } }
called to supply a valid shared RELROs bundle.
called to supply a valid shared RELROs bundle .
// Wait until notified by provideSharedRelros() that shared RELROs have arrived. // // Note that the relocations may already have been provided by the time we arrive here, so // this may return immediately. // Continue waiting even if we were just interrupted.