Skip to Content Java Solaris Communities Partners My Sun Sun Store United States Worldwide

»  Spotlight Articles
»  Projects
»  Publications
»  People
»  Awards
»  Events
»  Downloads
»  Internships
»  Contrarian Minds
»  About Sun Labs

opjgc-The OPJ Store Garbage Collector

opjgc removes unreferenced objects from a persistent store.

SYNOPSIS

opjgc [ options ]

DESCRIPTION

opjgc is an off-line persistent store garbage collector. It removes unreachable objects, much as the Java runtime garbage collector does for objects in the virtual machine's heap memory.

This implementation of the store garbage collector may only be run off-line, that is, only when a store is not in use by the OPJ interpreter. This limitation will be removed in a future release.

The collector operates directly on the files comprising the store. As both opj and opjgc are early release software, it would be prudent to make a backup copy of your store before running opjgc, using the physical archive tool opjparchive.

A collection behaves as a sequence of atomic transactions and the store will always be left in a (logically) consistent state (it might require recovery actions on restart).

-help
Prints a list of options.

-config pathname
The absolute pathname of the configuration file that identifes the store to be garbage collected.

-verbose level
Causes opjgc to output various tracing information during its operation.

Level is an integer with the following possible values:

0 quiet
1 essential messages (default)
2 timing information
3 statistics on objects in the store
4 trace the object marking phase
5 trace the reclamation phase
6 trace all phases
-diskcache size
Set the size of the disk cache (page buffer) in megabytes. E.g. -diskcache 16 sets the disk cache to 16MB. The default value is 8MB. Performance will normally be increased with large disk caches.


Questions and comments to forest-info@sunlabs.com
Would you recommend this Sun site to a friend or colleague?
Contact About Sun News Employment Privacy Terms of Use Trademarks Copyright 1994-2008 Sun Microsystems, Inc.