摘要 |
An arrangement is provided for optimizing memory usage through vtable cloning. When a request to acquire a shared object is received, it is first examined to see whether the shared object is currently locked via a vtable pointer stored in the shared object. If the shared object is not locked, a cloned vtable is constructed based on a shared vtable and the cloned vtable is used to lock the shared object.
|