10. A method, comprising: passing, by a platform-independent, object-oriented, runtime environment implemented on one or more computing devices comprising one or more hardware processors and memory, a generic method and specialization metadata to a specialized method generator of the platform-independent, object-oriented, runtime environment, wherein the specialization metadata comprises information identifying one or more program elements of the generic method to be adjusted when specializing the generic method for a particular type parameterization; generating, by the specialized method generator in response to said passing, a specialized method based, at least in part, on the generic method and the specialization metadata, wherein the specialized method is a version of the generic method specialized for the particular type parameterization; and storing, as a result of the specialized method being generated, a handle to the specialized method, such that the handle is usable to invoke the specialized method.
10. A method, comprising: passing, by a platform-independent, object-oriented, runtime environment implemented on one or more computing devices comprising one or more hardware processors and memory, a generic method and specialization metadata to a specialized method generator of the platform-independent, object-oriented, runtime environment, wherein the specialization metadata comprises information identifying one or more program elements of the generic method to be adjusted when specializing the generic method for a particular type parameterization; generating, by the specialized method generator in response to said passing, a specialized method based, at least in part, on the generic method and the specialization metadata, wherein the specialized method is a version of the generic method specialized for the particular type parameterization; and storing, as a result of the specialized method being generated, a handle to the specialized method, such that the handle is usable to invoke the specialized method. 13. The method claim 10 , wherein said storing comprises storing the handle to the specialized method in a cache configured to store handles to specialized methods.