(j3.2006) finalizers and constants
Michael Ingrassia
michaeli
Wed Nov 21 19:12:45 EST 2007
New question I promise!
Can constants be finalized ?
They might be huge, and tie up storage resources which one would like to
free once the name of the constant is out of scope. (NOTE 4.47
"finalization is used for storage management".)
But as I read the standard, constants might be finalizable but they
are never actually finalized. Because, of course, an entity isn't generally
finalized until "it would become undefined" and constants aren't variables
so they don't actually become undefined. They do become garbage but
garbage ain't the same thing as undefined.
What am I missing?
--Michael I.
More information about the J3
mailing list