gc -
main purpose: freeing memory from objects no longer referenced by the program
what does no longer referenced mean?
refcount==0
when is refcount==0? Most profilers use JVMPI or JVMTI (only in J2SE 5.0) to obtain reference counts of objects. MPI == machine profiler interface, MTI == machine tool interface (referring to the Java virtual machine of course).
secondary purpose: combat heap fragmentation (blocks of heap memory in-between blocks of live objects)
designer of each JVM must decide how to implement the gc-collected heap.
benefits:
1. productivity
2. security - prevent programmers from accidentally (or purposely) crashing the JVM by incorrectly freeing memory
Upgrade Ubuntu When Update Manager Does Not Play Ball
-
*Scenario - Update Manager Does not Play Ball*
"Your Ubuntu release is not supported anymore
You will not get any further security fixes or critical upda...
7 years ago
No comments:
Post a Comment