METHOD_0 ( ) { final java . util . concurrent . IDENT_0 < com . IDENT_1 . IDENT_2 . IDENT_3 , java . lang . Boolean > map = new java . util . concurrent . METHOD_1 ( ) ; java . util . concurrent . IDENT_4 exec = java . util . concurrent . IDENT_5 . METHOD_2 ( INT_0 ) ; final long IDENT_6 = ( java . lang . System . currentTimeMillis ( ) ) + 1000 ; for ( int i = 0 ; i < 1000 ; i ++ ) { exec . execute ( new java . lang . METHOD_3 ( ) { @ com . IDENT_1 . IDENT_2 . Override public void run ( ) { while ( true ) { if ( IDENT_6 < ( java . lang . System . currentTimeMillis ( ) ) ) { map . put ( com . IDENT_1 . IDENT_2 . IDENT_3 . getInstance ( ) , Boolean . IDENT_7 ) ; break ; } } } } ) ; } exec . METHOD_4 ( ) ; while ( ! ( exec . METHOD_5 ( ) ) ) ; "<AssertPlaceHolder>" ; } getInstance ( ) { if ( ( com . IDENT_1 . IDENT_2 . IDENT_3 . INSTANCE ) == null ) { try { if ( com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_8 . METHOD_6 ( 100 , TimeUnit . IDENT_9 ) ) { if ( ( com . IDENT_1 . IDENT_2 . IDENT_3 . INSTANCE ) == null ) { com . IDENT_1 . IDENT_2 . IDENT_3 . INSTANCE = new com . IDENT_1 . IDENT_2 . METHOD_7 ( ) ; } } } catch ( java . lang . IDENT_10 e ) { e . printStackTrace ( ) ; } finally { com . IDENT_1 . IDENT_2 . METHOD_7 . IDENT_8 . METHOD_8 ( ) ; } } return com . IDENT_1 . IDENT_2 . METHOD_7 . INSTANCE ; }
org . junit . Assert . assertEquals ( 1 , map . size ( ) )