Java native interface array handling in a distributed java virtual machine
US8990790B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Mar 15, 2013 |
| Grant date | Mar 24, 2015 |
| Priority date | — |
| Expiry date | May 8, 2033 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/547
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method for executing native code in a distributed Java Virtual Machine (JVM) is disclosed herein. The method may include receiving, in a first thread executing in a remote execution container, a first native code-generated call, such as a Java Native Interface (JNI) call, to a second thread, the first call including a first array write request. The first call may be stored in an instruction cache and bundled with a second native code-generated call and sent to the second thread. The calls are unbundled and executed in the second thread. An opaque handle to an array returned by the second call is bundled with corresponding array data and returned to the first thread. The array data of the bundle is stored in a data cache and retrieved in response to requests for the array data addressed to the second thread. A corresponding computer program product is also disclosed.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.