-
公开(公告)号:US20180095874A1
公开(公告)日:2018-04-05
申请号:US15832207
申请日:2017-12-05
CPC分类号: G06F12/0253 , G06F9/45504 , G06F12/0261
摘要: A method and apparatus for garbage collection is disclosed herein. The method includes performing a garbage collection process without pausing execution of a runtime environment. The method also includes executing a first CPU instruction to load a first pointer that points to a first location in a first region of memory, where the first region of memory is undergoing garbage collection. The method also includes moving a first object pointed to by the first pointer from the first location in memory to a second location in memory.
-
公开(公告)号:US20170255551A1
公开(公告)日:2017-09-07
申请号:US15600863
申请日:2017-05-22
IPC分类号: G06F12/02
CPC分类号: G06F12/0253 , G06F2212/1044
摘要: The embodiments relate to a computer system, computer program product and method for managing a garbage collection process. Processing control is obtained based on execution of a load instruction and a determination that an object pointer to be loaded indicates a location within a selected portion of memory undergoing a garbage collection process. The determination includes identifying a base address and size of a first memory block subject to the garbage collection, subdividing the first memory block into sections, assigning a binary value to each section, and determining if the first memory block corresponds to the enabled section. An image of the load instruction is obtained and a pointer address is calculated from the image. The object pointer is read and it is determined whether the object pointer is to be modified. The object pointer is modified and stored in a selected location.
-
公开(公告)号:US10169228B2
公开(公告)日:2019-01-01
申请号:US15683933
申请日:2017-08-23
IPC分类号: G06F12/02
摘要: The embodiments relate to a method for managing a garbage collection process. The method includes executing a garbage collection process on a memory block of user address space. A load instruction is run. Running the load instruction includes loading content of a storage location into a processor. The loaded content corresponds to a memory address. It is determined if the garbage collection process is being executed at the memory address. The load instruction is diverted to a process to move an object at the memory address to a location outside of the memory block in response to determining that the garbage collection process is being executed at the first memory address. The load instruction is continued in response to determining that the garbage collection process is not being executed at the memory address.
-
公开(公告)号:US20170004072A1
公开(公告)日:2017-01-05
申请号:US14755643
申请日:2015-06-30
IPC分类号: G06F12/02
CPC分类号: G06F12/0253 , G06F2212/1044
摘要: The embodiments relate to a method for managing a garbage collection process. The method includes executing a garbage collection process on a memory block of user address space. A load instruction is run. Running the load instruction includes loading content of a storage location into a processor. The loaded content corresponds to a memory address. It is determined if the garbage collection process is being executed at the memory address. The load instruction is diverted to a process to move an object at the memory address to a location outside of the memory block in response to determining that the garbage collection process is being executed at the first memory address. The load instruction is continued in response to determining that the garbage collection process is not being executed at the memory address.
-
公开(公告)号:US09244708B2
公开(公告)日:2016-01-26
申请号:US14472427
申请日:2014-08-29
CPC分类号: G06F9/45516 , G06F8/315 , G06F8/4434 , G06F9/44521 , G06F9/45504
摘要: A method for creating an enhanced array is provided. An enhanced compiler generates an instrumented class file for an enhanced array class. The enhanced array class comprises at least one element class. The enhanced runtime loads the instrumented class file of the enhanced array class. The enhanced runtime loads a class file corresponding to the element class of the enhanced array class, and builds an internal data structure corresponding to the enhanced array class. An amount of memory storage is calculated for storing the enhanced array instance, and the amount of memory storage is allocated.
摘要翻译: 提供了一种创建增强阵列的方法。 增强型编译器为增强型数组类生成一个经过检验的类文件。 增强的数组类包括至少一个元素类。 增强型运行时加载增强型数组类的检测类文件。 增强型运行时加载与增强型数组类的元素类相对应的类文件,并构建与增强型数组类相对应的内部数据结构。 计算用于存储增强阵列实例的存储器存储量,并且分配存储器存储量。
-
公开(公告)号:US20150339139A1
公开(公告)日:2015-11-26
申请号:US14472427
申请日:2014-08-29
IPC分类号: G06F9/455
CPC分类号: G06F9/45516 , G06F8/315 , G06F8/4434 , G06F9/44521 , G06F9/45504
摘要: A method for creating an enhanced array is provided. An enhanced compiler generates an instrumented class file for an enhanced array class. The enhanced array class comprises at least one element class. The enhanced runtime loads the instrumented class file of the enhanced array class. The enhanced runtime loads a class file corresponding to the element class of the enhanced array class, and builds an internal data structure corresponding to the enhanced array class. An amount of memory storage is calculated for storing the enhanced array instance, and the amount of memory storage is allocated.
-
公开(公告)号:US20180121349A1
公开(公告)日:2018-05-03
申请号:US15857858
申请日:2017-12-29
IPC分类号: G06F12/02
CPC分类号: G06F12/0253 , G06F2212/1044
摘要: The embodiments relate to a computer system, computer program product and method for managing a garbage collection process. Processing control is obtained based on execution of a load instruction and a determination that an object pointer to be loaded indicates a location within a selected portion of memory undergoing a garbage collection process. The determination includes identifying a base address and size of a first memory block subject to the garbage collection, and assigning a binary value to each first memory block section. An image of the load instruction is obtained and a pointer address is calculated from the image. It is determined whether the object pointer is to be modified. The object pointer is modified and stored in a selected location.
-
公开(公告)号:US20170351607A1
公开(公告)日:2017-12-07
申请号:US15683933
申请日:2017-08-23
IPC分类号: G06F12/02
CPC分类号: G06F12/0253 , G06F2212/1044
摘要: The embodiments relate to a method for managing a garbage collection process. The method includes executing a garbage collection process on a memory block of user address space. A load instruction is run. Running the load instruction includes loading content of a storage location into a processor. The loaded content corresponds to a memory address. It is determined if the garbage collection process is being executed at the memory address. The load instruction is diverted to a process to move an object at the memory address to a location outside of the memory block in response to determining that the garbage collection process is being executed at the first memory address. The load instruction is continued in response to determining that the garbage collection process is not being executed at the memory address.
-
公开(公告)号:US09697117B2
公开(公告)日:2017-07-04
申请号:US14833452
申请日:2015-08-24
IPC分类号: G06F12/02
CPC分类号: G06F12/0253 , G06F2212/1044
摘要: The embodiments relate to a method for managing a garbage collection process. The method includes executing a garbage collection process on a memory block of user address space. A load instruction is run. Running the load instruction includes loading content of a storage location into a processor. The loaded content corresponds to a memory address. It is determined if the garbage collection process is being executed at the memory address. The load instruction is diverted to a process to move an object at the memory address to a location outside of the memory block in response to determining that the garbage collection process is being executed at the first memory address. The load instruction is continued in response to determining that the garbage collection process is not being executed at the memory address.
-
公开(公告)号:US09588778B2
公开(公告)日:2017-03-07
申请号:US14753076
申请日:2015-06-29
CPC分类号: G06F9/443 , G06F9/4484 , G06F9/449
摘要: 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.
摘要翻译: 本发明的实施例公开了一种用于JNI对象访问系统的方法,系统和计算机程序产品。 计算机接收JNI引用并获取引用对象的指针数据和调用站点。 计算机确定对象和呼叫站点的记录是否存在,如果不存在,则创建相应的记录。 计算机应用对象和调用站点的启发式分析,其中它确定对象是否大于阈值大小,对象是否是堆的特定区域的一部分,呼叫站点是否与只读相关联 或读写功能,以及对象或调用站点是否导致了比阈值更多的非移动垃圾收集。 基于启发式,计算机复制对象数据或引脚对象,并记录任何不移动的垃圾收集。
-
-
-
-
-
-
-
-
-