I have several questions about rebuilding HashMaps
when adding new key-values pair. I will ask questions based on these facts (they are true for Oracle JVM, not
Yes, these facts are correct.
new HashMap
and let the old one be garbage-collected.