Invention Grant
US08813051B2 Running multiple copies of native code in a Java Virtual Machine 有权
在Java虚拟机中运行本机代码的多个副本

Running multiple copies of native code in a Java Virtual Machine
Abstract:
A method for running multiple copies of the same native code in a Java Virtual Machine is described. In one embodiment, such a method includes providing a class to enable segregating multiple copies of the same native code. The method defines, within the class, a native method configured to dispatch operation of the native code. The method further includes generating first and second instances of the class. Calling the native method in the first instance causes a first copy of the native code to run in a first remote execution container (e.g., a first process). Similarly, calling the native method in the second instance causes a second copy of the native code to run in a second remote execution container (e.g., a second process) separate from the first remote execution container. A corresponding computer program product is also disclosed.
Public/Granted literature
Information query
Patent Agency Ranking
0/0