Invention Grant
US09400667B2 String cache file for optimizing memory usage in a Java virtual machine
有权
用于优化Java虚拟机中内存使用情况的字符串缓存文件
- Patent Title: String cache file for optimizing memory usage in a Java virtual machine
- Patent Title (中): 用于优化Java虚拟机中内存使用情况的字符串缓存文件
-
Application No.: US14136031Application Date: 2013-12-20
-
Publication No.: US09400667B2Publication Date: 2016-07-26
- Inventor: Curtis E. Hrischuk , Andrew Russell Low , Peter Duncan Shipton , John Joseph Stecher
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Sughrue Mion, PLLC.
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/455 ; G06F9/50

Abstract:
A method, system and computer program product for optimizing memory usage associated with duplicate string objects in a Java virtual machine. The method comprises scanning a heap of the Java virtual machine at the end of the start-up process of the virtual machine to identify duplicate strings associated with the virtual machine, storing the identified strings in a string cache file, and determining whether a new string that needs to be created during start-up already exists in the string cache file. The duplicate strings are added to an interned strings table. A reference to a duplicate string is returned if a string to be created is already in the string cache file.
Public/Granted literature
- US20140115585A1 STRING CACHE FILE FOR OPTIMIZING MEMORY USAGE IN A JAVA VIRTUAL MACHINE Public/Granted day:2014-04-24
Information query