25997 Replace explicit synchronized and implicit synchronized in ConcurrentHashMap::put with modern functional api.

Comment From: pivotal-cla

@MarcinNowak-codes Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@MarcinNowak-codes Thank you for signing the Contributor License Agreement!

Comment From: snicoll

Thanks for the PR but @jhoeller addressed this already in the meantime, see #30780. Sorry for the wasted effort.