The map does not retain any references to the provided key or value parameters. It makes copies of any strings it needs to store.