Refactor Mutex to use synchronized.
Refactor Mutex to use synchronized.

Review: https://reviews.apache.org/r/32360

asamerh4/mesos,Aman-Jain-14/customizedMesos,kaysoky/mesos,chhsia0/mesos,andschwa/mesos,andschwa/mesos,chhsia0/mesos,Aman-Jain-14/customizedMesos,andschwa/mesos,abudnik/mesos,craimbert/mesos,craimbert/mesos,kaysoky/mesos,gsantovena/mesos,abudnik/mesos,dforsyth/mesos,jpeach/mesos,andschwa/mesos,verizonlabs/mesos,zmalik/mesos,kaysoky/mesos,yuquanshan/customizedMesos,reneploetz/mesos,gsantovena/mesos,reneploetz/mesos,jpeach/mesos,craimbert/mesos,kaysoky/mesos,yuquanshan/customizedMesos,verizonlabs/mesos,asamerh4/mesos,craimbert/mesos,zmalik/mesos,Gilbert88/mesos,dforsyth/mesos,andschwa/mesos,kaysoky/mesos,Gilbert88/mesos,kaysoky/mesos,andschwa/mesos,abudnik/mesos,zmalik/mesos,verizonlabs/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,asamerh4/mesos,neilconway/mesos,jpeach/mesos,reneploetz/mesos,reneploetz/mesos,yuquanshan/customizedMesos,neilconway/mesos,verizonlabs/mesos,yuquanshan/customizedMesos,Gilbert88/mesos,chhsia0/mesos,andschwa/mesos,dforsyth/mesos,dforsyth/mesos,jpeach/mesos,craimbert/mesos,jpeach/mesos,Gilbert88/mesos,abudnik/mesos,chhsia0/mesos,gsantovena/mesos,asamerh4/mesos,yuquanshan/customizedMesos,yuquanshan/customizedMesos,abudnik/mesos,reneploetz/mesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,asamerh4/mesos,neilconway/mesos,Gilbert88/mesos,verizonlabs/mesos,dforsyth/mesos,chhsia0/mesos,kaysoky/mesos,Gilbert88/mesos,neilconway/mesos,gsantovena/mesos,neilconway/mesos,asamerh4/mesos,Gilbert88/mesos,jpeach/mesos,verizonlabs/mesos,zmalik/mesos,neilconway/mesos,yuquanshan/customizedMesos,zmalik/mesos,abudnik/mesos,Aman-Jain-14/customizedMesos,abudnik/mesos,dforsyth/mesos,jpeach/mesos,zmalik/mesos,asamerh4/mesos,gsantovena/mesos,neilconway/mesos,zmalik/mesos,chhsia0/mesos,Aman-Jain-14/customizedMesos,Aman-Jain-14/customizedMesos,reneploetz/mesos,reneploetz/mesos,gsantovena/mesos,chhsia0/mesos,gsantovena/mesos,verizonlabs/mesos