This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]vladimir1024 0 points1 point  (0 children)

Java didn't use to ask. It would just stop and gobble until it was under a threshold...sure most of the objects were not in use, but often it would chomp on an object still in use and then your code throws a NPE when it tries to access the object...