1. A method, comprising: determining if one or more serializations of one or more referenced objects are stored by a serialization cache; and when the serialization cache does not store the one or more referenced objects, performing at least one of: deserializing the one or more referenced objects; storing a serialized byte stream for the one or more referenced objects in the serialization cache; determining if one or more immutable objects are provided inline with one or more primitive objects in the serialized byte stream; and where one or more immutable objects are provided inline with one or more primitive objects in the serialized byte stream performing at least one of: storing a first form of the serialized byte stream in the serialization cache in which the one or more immutable objects are inline with the one or more primitive objects; and storing a second form of the serialized byte stream in the serialization cache in which the one or more immutable objects are cached separately from the one or more primitive objects.