Selective injection of GC safepoints for JNI invocations
AssigneeInternational Business Machines Corporation
InventorsMichihiro Horie, Kazunori Ogata, Hiroshi Horii
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsMichihiro Horie, Kazunori Ogata, Hiroshi Horii
Estimating the term…
A computer-implemented method is provided for managing Garbage Collection (GC) safepoints. The method includes determining whether a GC safepoint for a target native method can be removed by checking a heap occupancy ratio prior to executing the target native method. The method further includes removing the GC safepoint responsive to the heap occupancy ratio prior to executing the target native method being less than a threshold occupancy amount percentage. The method also includes determining whether the GC safepoint for the target native method can be removed by checking a most recent GC pause time. The method additionally includes removing the GC safepoint responsive to the most recent GC pause time being shorter by a threshold pause time amount percentage than an execution time of the target native method.
A computer-implemented method for managing Garbage Collection (GC) safepoints in a Virtual Machine (VM), comprising:
A computer program product for managing Garbage Collection (GC) safepoints in a Virtual Machine (VM), the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:
A computer processing system for managing Garbage Collection (GC) safepoints in a Virtual Machine (VM), comprising:
Dependencies are inferred from the claim text.