Patents
US 9,116,798 B2#33650478 Most CitedActiveUnited States (USPTO)Utility

Optimized memory management for class metadata

3Forward Citations (#33650478 Global)
0.3/yrCitation Velocity (#27830055 Global)
1.02Citation PageRank (#40737913 Global)
3Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method for managing class metadata in a garbage collected system, including (i) allocating a metaspace to a class loader of a mutator using a memory heap, where the metaspace is configured to store the class metadata generated by the class loader, (ii) storing, in the metaspace, class metadata items associated with classes defined by the class loader, where the class metadata items and the class loader are coterminous, and where all of the class metadata items are identified by a garbage collector as live if any of the class metadata items is reachable by the mutator, (iii) updating a linkset graph during resolution of symbolic links to sumarize cross-metaspace references, and (iv) reclaiming, by the garbage collector based on a pre-determined algorithm using the metaspace, memory locations unreachable by the mutator, where all memory locations allocated to the class metadata items are reclaimed together as a group.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for managing class metadata in a garbage collected system, comprising: allocating a first metaspace to a first class loader of a mutator executing on a processor using a memory heap, wherein the first metaspace is configured to store a first plurality of class metadata items generated by the first class loader; storing, in the first metaspace, a first plurality of class metadata items associated with a first plurality of classes defined by the first class loader, wherein the first plurality of class metadata items and the first class loader are coterminous, and wherein all of the firs

Technical Overview & Description

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

Cited By — Indexed Forward Citations (3 of 3 total)

Non-Patent Literature (3)

  • Etienne M. Gagnon and Laurie J. Hendren. Sable VM: A Research Framework for the Efficient Execution of Java Bytecode. Sable Technical Report No. 2000-3, Nov. 1, 2000.
  • Martin T. Vechev and Peter D. Petrov. Class Unloading with a Concurrent Garbage Colletor in an Embedded Java VM. pp. 99-108, Jun. 23, 2003.
  • Thomas Schatzl, Laurent Daynès, Hanspeter Mössenböck, "Optimized Memory Management for Class Metadata in a JVN", Aug. 24, 2011, PPPJ '11 Proceedings of the 9th International Conference on Principles and Practice of Programming in Java, pp. 151-160.