A computer implemented process for making a bytecode of a method sharable
by a first class loader and a second class loader is provided. The first
class loader and the second class loader are capable of dynamically
loading a class having a class file, and translating the class file into
first and second class types, respectively. The process includes dividing
a runtime representation of the first class type into first loader
independent and first loader dependent parts and determining whether a
runtime representation of the second class type can use the first loader
independent part. If the first loader independent part can be used by the
runtime representation of the second class type, the process includes
generating a second loader dependent part using the first loader
independent part. Further included is performing a loader re-entrant
interpretation of a bytecode of the method if the method is invoked.