Working around slow execution of System.currentTimeMillis in some SUN JVMs.
refs #3010033