Patents
US 9,213,562 B2#26266549 Most CitedActiveUnited States (USPTO)Utility

Garbage collection safepoint system using non-blocking asynchronous I/O call to copy data when the garbage collection safepoint is not in progress or is completed

4Forward Citations (#26266549 Global)
0.4/yrCitation Velocity (#22158956 Global)
1.22Citation PageRank (#31286728 Global)
5Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A system and method for providing direct socket input/output (I/O) for Java in a Java Virtual Machine (JVM) environment. During runtime, the system periodically garbage collects software objects in the Java memory space or heap. In accordance with an embodiment, the system provides a means to change the state of a thread performing the I/O which temporarily disallows garbage collection from taking place, thus guaranteeing that a receiving object in the heap does not move. The use of safepoints to prohibit GC from happening during the I/O call means that a global GC lock is not required. Non-blocking I/O is utilized, while prohibiting a thread from entering a GC safepoint during an I/O system call. The technique addresses disadvantages of previous methods by removing contended locks and by removing restrictions on allocation. In accordance with an embodiment, a special thread state can be used to prevent the thread from entering a GC safepoint.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 4.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A system comprising: a computer system including a memory, a kernel having a kernel buffer, and one or more processors; one or more virtual machines, provided on the computer system, for use in executing a program, wherein each virtual machine includes: a plurality of threads operating within the virtual machine, for executing the program, each of which thread of said plurality of threads has an associated thread state, a memory space which stores program objects associated with said program and data objects associated with said program, and a garbage collector that periodically performs a gar

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (3)

  • Hohensee, "The Hotspot Java Virtual Machine", downloaded from cs.princeton.edu/picasso/mats/HotspotOverview.pdf on Sep. 17, 2010, 129 pages.
  • Open JDK, "HotSpot Glossary of Terms", downloaded from openjdk.java.net/groups/hotspot/docs/HotSpotGlossary.html, on Sep. 17, 2010, 5 pages.
  • Sun Microsystems, "Memory Management in the Java HotSpot Virtual Machine", Sun Microsystems, Apr. 2006, 21 pages.