Browse Prior Art Database

High availability of Java virtual machine by optimizing finalizer queue

IP.com Disclosure Number: IPCOM000180564D
Original Publication Date: 2009-Mar-11
Included in the Prior Art Database: 2009-Mar-11
Document File: 1 page(s) / 21K

Publishing Venue

IBM

Abstract

Java virtual machine can be unavailble for service by finalizer objects which could fill up Java heap under certain circumstances. There's no solution to this problem. Some Java virtual machine provide secondary finalizer thread but that does not solve the problem. My invention enables Java virtual machine to remove finalizer objects when unclaimed finalizer objects fill up certain level of Java heap with thread pool in parallel. That increases Java virtual machine's availability and allows Java virtual machine to run more autonomously

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 63% of the total text.

Page 1 of 1

High availability of Java virtual machine by optimizing finalizer queue

Java virtual machine can be unavailable for service by finalizer objects which could fill up the Java heap under certain circumstances. There's no solution to this problem. Some Java virtual machines provide a secondary finalizer thread but that does not solve the problem. This invention enables a Java virtual machine to remove finalizer objects when unclaimed finalizer objects fill up a certain level of Java heap with thread pool in parallel. That increases the Java virtual machine's availability and allows the Java virtual machine to run more autonomously.

1.When available Java heap level is critically lower than a predefined threshold (10% for example) or when the garbage collector is about to throw OutOfMemoryError due to Java heap exhaustion, this process is triggered. Alternatively, one can monitor the total size of referent objects and references in a finalizer queue and trigger the process when the total size is over certain level.

2. Search all available finalizer queues in a system and calculate total size of all referent objects and reference objects in queues.

3. If total size of referent objects and reference objects in queues is larger than the size of requested object or reclaiming Java heap occupied by references and referent objects in the queues will provide the system with enough free memory above the threshold, go to #4. Otherwise a...