--> heap memory: collected by the garbage collector.
--> local variables (stack memory): collected automatically when methods exit.
--> immortal memory: never collected.
-->scoped memory: available for collection when the associated reference count equals zero.
--> local variables (stack memory): collected automatically when methods exit.
--> immortal memory: never collected.
-->scoped memory: available for collection when the associated reference count equals zero.
No comments:
Post a Comment