You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This change set incorporates a number of changes that all needed to happen together: * The imp is now the first field of the `objc_method` structure. This makes it possible to extend the structure without breaking anything that relies on being able to access the IMP. * There is no owner in the slot, so we must use other mechanisms for determining the owner of a method (e.g. whether the same method appears in the superclass) * Again, because there is no owner in the slot, we can't use this as a fast path for finding the C++ construct / destruct methods. These are now cached in the class structure when they are found. * The version field is gone from the slot and now we provide a global version. This is based on the observation that method replacements are relatively infrequent and the overhead of invalidating all method caches is cheaper than adding extra state for every (class, method) pair. * A number of the runtime functions are simplified because replacing the IMP in a `Method` now implicitly updates the dtable. |
8 years ago | |
|---|---|---|
| .. | ||
| RuntimeTest.xcodeproj | 16 years ago | |
| AllocatePair.m | 10 years ago | |
| AssociatedObject.m | 12 years ago | |
| AssociatedObject2.m | 11 years ago | |
| BlockImpTest.m | 10 years ago | |
| BlockTest_arc.m | 13 years ago | |
| BoxedForeignException.m | 13 years ago | |
| CMakeLists.txt | 8 years ago | |
| CXXException.cc | 13 years ago | |
| CXXException.m | 13 years ago | |
| Category.m | 8 years ago | |
| ExceptionTest.m | 13 years ago | |
| ForeignException.m | 13 years ago | |
| Forward.m | 10 years ago | |
| ForwardDeclareProtocol.m | 8 years ago | |
| ForwardDeclareProtocolAccess.m | 8 years ago | |
| GNUmakefile | 16 years ago | |
| IVarOverlap.m | 9 years ago | |
| ManyManySelectors.m | 13 years ago | |
| MethodArguments.m | 10 years ago | |
| NestedExceptions.m | 13 years ago | |
| NilException.m | 10 years ago | |
| ObjCXXEHInterop.m | 8 years ago | |
| ObjCXXEHInterop.mm | 8 years ago | |
| PropertyAttributeTest.m | 13 years ago | |
| PropertyIntrospectionTest.m | 13 years ago | |
| PropertyIntrospectionTest2_arc.m | 10 years ago | |
| ProtocolCreation.m | 8 years ago | |
| ResurrectInDealloc_arc.m | 12 years ago | |
| RuntimeTest.m | 8 years ago | |
| Test.h | 8 years ago | |
| Test.m | 8 years ago | |
| WeakBlock_arc.m | 10 years ago | |
| WeakReferences_arc.m | 12 years ago | |
| alignTest.m | 9 years ago | |
| category_properties.m | 8 years ago | |
| exchange.m | 9 years ago | |
| ivar_arc.m | 10 years ago | |
| minRep1.mm | 8 years ago | |
| msgInterpose.m | 13 years ago | |
| objc_msgSend.m | 8 years ago | |
| zeroSizedIVar.m | 9 years ago | |