question: protected void synchWithTarget ( ) throws MonitorException { long timeLimit = System . currentTimeMillis ( ) + syncWaitMs ; log ( "synchWithTarget: " + lvmid + " " ) ; while ( ! prologue . isAccessible ( ) ) { log ( "." ) ; try { Thread . sleep ( 20 ) ; } catch ( InterruptedException e ) { } if ( System . currentTimeMillis ( ) > timeLimit ) { logln ( "failed: " + lvmid ) ; throw new MonitorException ( "Could not synchronize with target" ) ; } } logln ( "success: " + lvmid ) ; }
target:  Method that waits until the target jvm indicates that its shared memory is safe to access.