摘要 |
Improved techniques for representing Java objects as strings are disclosed. An inventive Java Bytecode instruction suitable for execution by a Java virtual machine is disclosed. The inventive Java Bytecode instruction can be executed by a Java virtual machine to represent Java objects as strings. Moreover, Java objects can be represented as strings without invoking the Java "to string" method which is conventionally used. This means that the costly overhead associated with repeatedly invoking Java method "to string" is avoided. In other words, operations that are conventionally performed each time the Java "to string" method is invoked need not be performed. As a result, the performance of virtual machines, especially those operating with limited resources (e.g., embedded systems) can be improved. |