=tes #15808 infinity handling and freeze locate to use "."

// backport of https://github.com/akka/akka/pull/15810 (with pulling in the infinity support from the master branch right away)