A database store method and system for a virtual persistent heap may include
an
Application Programming Interface (API) that provides a mechanism to cache portions
of the virtual heap into an in-memory heap for use by an application. The virtual
heap may be stored in a persistent store that may include one or more virtual persistent
heaps, with one virtual persistent heap for each application running in the virtual
machine. Each virtual persistent heap may be subdivided into cache lines. The store
API may provide atomicity on the store transaction to substantially guarantee the
consistency of the information stored in the database. The database store API provides
several calls to manage the virtual persistent heap in the store. The calls may
include, but are not limited to: opening the store, closing the store, atomic read
transaction, atomic write transaction, and atomic delete transaction.