Updated allocator to only check initialization in exposed methods.
Updated allocator to only check initialization in exposed methods.

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

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