Browse Prior Art Database

Object Store Garbage Collection

IP.com Disclosure Number: IPCOM000014250D
Original Publication Date: 2001-Jun-16
Included in the Prior Art Database: 2003-Jun-19

Publishing Venue

IBM

Abstract

Disclosed is a program that has been designed to scan shared ObjectStore files at appropriate intervals, deleting timed-out objects. An ObjectStore file is used to hold the passive state of Java* Bean Objects between OTS transactions. The file is shared across AORs, so a Bean passivated in one region may be activated in another. When a Bean is passivated, we have no way of knowing whether it will ever be activated or removed. Hence we need some clean-up mechanism, wich will prevent the ObjectStore file from filling up with old forgotten Beans. A shared file is divided into logical areas known as ObjectStores, one ObjectStore per logical CorbaServer. The ObjectStore is opened with a timeout value, specifying the period after which objects may be automatically deleted from the store. A control record is written for each ObjectStore containing: