The C++ Programming Language, Third Edition
The C++ Programming Language, Third Edition
Tree Locking on Changing Trees
Tree Locking on Changing Trees
Finding and preventing run-time error handling mistakes
OOPSLA '04 Proceedings of the 19th annual ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications
Java(TM) Language Specification, The (3rd Edition) (Java (Addison-Wesley))
Java(TM) Language Specification, The (3rd Edition) (Java (Addison-Wesley))
A resource management interface for the Java™ platform
Software—Practice & Experience - Research Articles
Mobile JikesRVM: A framework to support transparent Java thread migration
Science of Computer Programming
Hi-index | 0.00 |
Although Java automates the deallocation of memory through garbage collection, a Java program must explicitly free other resources, such as sockets and database connections, to prevent resource leaks. Correct and complete resource deallocation may be complex, requiring nested try-catch-finally blocks. The Framework for Unified Resource Management (Furm) is a Java library designed with the goal of simplifying resource management in single- and multi-threaded programs. Allocated resources are represented by bodes in "resource trees" and resource dependencies are modeled as parent-child relationships. A hierarchy of resources is easily and correctly deallocated by a single call of Furm's release method. Resource trees permit "resource reflection" in which a program monitors its own resource usage. A special WatchDog object detects when a thread dies and takes care of releasing its resources. Furm reduces code complexity while guaranteeing resource cleanup in the face of exceptions and thread termination.