Castor oil is a vegetable oil derived from the castor bean seed in its purest form. It is colorless, odorless and tasteless.
Encoding globally available pointers helps protect them from being exploited. The EncodePointer function obfuscates the pointer value with a secret so that it cannot be predicted by an external agent. The secret used by EncodePointer is different for each process. A pointer must be decoded before it can be used.
Global/Static pointers. One way to make sure our objects are not garbage collected by keeping a reference to them in a static variable. Pointers on the stack. We don't want to throw away what our application's threads still need in order to execute.