9418004

Jni Object Access

PublishedAugust 16, 2016
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
6 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

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: determining whether the object is larger than a threshold size, determining whether the object is stored in a particular region of a heap, wherein the heap is an allocated memory, determining whether the call site of the object is associated with at least one of a read only function and a read-write function, determining whether an amount of non-moving garbage collections (NMGC) caused by the object is greater than a record threshold number, wherein the NMGCs is caused by a garbage collector being unable to move the object when pinned, and wherein the amount of NMGCs caused by the object are recorded in the record for the object, and determining whether an amount of NMGCs caused by the call site is greater than a call site threshold number, wherein the amount of NMGCs caused by the call site are recorded in the record for the call site; and 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.

2

2. The method of claim 1 , further comprising: based on pinning the object, determining whether at least one of the object and the call site caused the NMGC; based on determining that the object caused the NMGC, increasing the amount of NMGCs caused by the object in the record for the object; and based on determining that the call site caused the NMGC, increasing the amount of NMGCs caused by the call site in the record for the call site.

3

3. The method of claim 1 , wherein the heuristic evaluation may include one or more additional evaluations.

4

4. The method of claim 1 , wherein determining that the call site is associated with the read only function denotes that it is unnecessary to save any changes made to the object, and wherein determining that the call site is associated with the read-write function requires saving any changes made to the object.

5

5. The method of claim 1 , wherein determining whether the object is stored in a particular region of a heap further comprises determining whether the object is stored in a young generation, an old generation, or a permanent generation of the heap.

6

6. The method of claim 1 , wherein the object threshold number and the call site threshold number are input by a user.

Patent Metadata

Filing Date

Unknown

Publication Date

August 16, 2016

Inventors

Graham A. Chapman
Charles R. Gracie
Daniel J. Heidinga
Karl M. Taylor

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “JNI OBJECT ACCESS” (9418004). https://patentable.app/patents/9418004

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.