home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.pdx.edu / 2014.02.ftp.ee.pdx.edu.tar / ftp.ee.pdx.edu / pub / users / Harry / cse509 / cse509.slides / packet13 / slide13.gif < prev    next >
Graphics Interchange Format  |  2002-03-09  |  12KB  |  719x539  |  4-bit (3 colors)
Labels: dialog box | monitor | sky | window
OCR: Object- Oriented Programming Garbage Collection Built-in garbage collector Every word contains either: Pointer Primitive data value All pointers in object memory can be identified by GC. Objects can be moved All pointers can be readjusted 1f the middle program execution The Java programmer can never know where things are in memory Example from int addr addr int 0x1 234abcd ; addr addr Some programmers use this ability: Person int p[5]; What if GC happens here? izeof Person (Per son Difficult garbage collect in Hart. Porter 2001 sizeo field HarTy