Patent ID: 9418004
Filing Date: 2016-08-16
CPC Classification: G06F

Claim Text:
1. A method for JNI object access, the method comprising: detecting a java native interface (JNI) reference referring to an object from a call site, wherein the call site is a portion of code corresponding to the JNI reference; determining whether a record for the object exists, and based on determining that a record for the object does not exist, creating the record for the object; determining whether a record for the call site exists, and based on determining that a record for the call site does not exist, creating the record for the call site; applying a heuristic evaluation, wherein the heuristic evaluation includes performing at least one of: performing at least one of pinning and copying the object based on results of the heuristic evaluation, wherein one or more steps of the above method are performed using one or more computers.