I have a map as below and once I get the immutable version of the original map, I don't need the original one anymore. Is there a way to have the GC recycle it?
Map<String, String> map = new TreeMap<>();
map.put("1", "one");
map.put("2", "two");
map.put("3", "three");
ImmutableMap<String, String> IMMUTABLE_MAP = ImmutableMap.copyOf(map);