Example |
Example description |
Properties checked |
Command line |
mark |
The mark phase of the garbage collector |
- Absence of null dereferences
- All objects reachable from
root are marked
- All objects not reachable from
root are not marked
|
tvla mark store |
sweep |
The sweep phase of the garbage collector |
- Absence of null dereferences
- All marked objects are not collected
- All objects not marked are collected
|
tvla sweep storeAfterMark |
markAndSweep |
Mark phase followed by a sweep phase |
- Absence of null dereferences
- All objects reachable from
root are not collected
- All objects not reachable from
root are collected
|
tvla markAndSweep store |