Skip to content
  • Bin Su's avatar
    542d2585
    BUG#28385211 - SIMPLIFIED AWAY READVIEW::COMPLETE()? · 542d2585
    Bin Su authored
    
    
    There is one unnecessary function called ReadView::complete(), which was
    designed to be called either under trx mutex or not under trx mutex.
    However, the work this function does in fact can be splitted and
    re-assigned to other two functions, in this way, one 'if' checking can be
    optimized out, which as reported helps the performance when using ARM64.
    
    RB: 20152
    Reviewed-by: default avatarJimmy Yang <jimmy.yang@oracle.com>
    542d2585
    BUG#28385211 - SIMPLIFIED AWAY READVIEW::COMPLETE()?
    Bin Su authored
    
    
    There is one unnecessary function called ReadView::complete(), which was
    designed to be called either under trx mutex or not under trx mutex.
    However, the work this function does in fact can be splitted and
    re-assigned to other two functions, in this way, one 'if' checking can be
    optimized out, which as reported helps the performance when using ARM64.
    
    RB: 20152
    Reviewed-by: default avatarJimmy Yang <jimmy.yang@oracle.com>
Loading