1. A method, in a data processing system, for just-in-time instrumentation, the method comprising: responsive to a class loading a hook for a probe, creating a static class information object that stores static information for the class; inserting a reference to the hook in the metadata of the class; and inserting a reference to the static class information object in the metadata of the class.