发明授权
- 专利标题: JNI object access
- 专利标题(中): JNI对象访问
-
申请号: US14753076申请日: 2015-06-29
-
公开(公告)号: US09588778B2公开(公告)日: 2017-03-07
- 发明人: Graham A. Chapman , Charles R. Gracie , Daniel J. Heidinga , Karl M. Taylor
- 申请人: International Business Machines Corporation
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理商 Reza Sarbakhsh
- 主分类号: G06F13/00
- IPC分类号: G06F13/00 ; G06F9/44
摘要:
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.
公开/授权文献
- US20160378508A1 JNI OBJECT ACCESS 公开/授权日:2016-12-29
信息查询