[webkit-dev] Memory Management of Webkit on MacOS

Lucius Fox lucius.fox08 at gmail.com
Fri May 15 09:20:40 PDT 2009


My understanding of Webkit on MacOS uses Objective-C runtime.
Does Webkit on MacOS use memory management of Objective-C runtime.

It said
Objective-C 2.0 offers two environments for memory management that
allow you to meet these goals:
 ■ Reference counting, where you are ultimately responsible for
determining the lifetime of objects.
Reference counting is described in Memory Management Programming Guide
for Cocoa.
 ■ Garbage collection, where you pass responsibility for determining
the lifetime of objects to an automatic
"collector."

Does Webkit on MacOs use either one of them or it has its own memory management.

Thank you.


More information about the webkit-dev mailing list