摘要 |
A method and system for operating a modified JAVA Virtual Machine (JVM) which is able to simultaneously host multiple JAVA application programs is disclosed. In a first modification the JVM is modified to permit multiple class definitions of some of the JAVA Application Programming Interface (API) classes, so called non-sensitive classes, to be loaded multiple times but ea) restrict other JAVA API classes, so called sensitive classes, to be loaded only once, preferably onto a bootstrap class loader. In a second modification the JAVA API classes are so modified. Preferably in a third modification, some or all of the sensitive classes are modified not to use synchronisation. |