Heap pollution simply implies that you have "bad stuff" in your heap. It is an analogy to water pollution which is where you have "bad stuff" in the water.
Heap pollution simply implies that you have "bad stuff" in your heap. It is an analogy to water pollution which is where you have "bad stuff" in the water.
It is not a particularly good analogy, but it is the terminology that the Java folks coined. They have defined it here:
http://docs.oracle.com/javase/tutorial/java/generics/nonReifiableVarargsType.html#heap_pollution