Invention Grant
- Patent Title: JNI object access
- Patent Title (中): JNI对象访问
-
Application No.: US14753076Application Date: 2015-06-29
-
Publication No.: US09588778B2Publication Date: 2017-03-07
- Inventor: Graham A. Chapman , Charles R. Gracie , Daniel J. Heidinga , Karl M. Taylor
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Reza Sarbakhsh
- Main IPC: G06F13/00
- IPC: G06F13/00 ; G06F9/44

Abstract:
Embodiments of the present invention disclose a method, system, and computer program product for a JNI object access system. A computer receives a JNI reference and obtains the pointer data and call site of the referenced object. The computer determines whether a record of the object and call site exist and, if not, the respective records are created. The computer applies a heuristic analysis of the object and call site in which it determines whether the object is larger than a threshold size, whether the object is part of a particular region of the heap, whether the call site is associated with a read-only or a read-write function, and whether the object or call site has caused more non-moving garbage collections than a threshold number. Based on the heuristic, the computer either copies the object data or pins the object and any non-moving garbage collections are recorded.
Public/Granted literature
- US20160378508A1 JNI OBJECT ACCESS Public/Granted day:2016-12-29
Information query