This paper presents an experiment of using a formal technique for static program analysis, based on Abstract Interpretation, in the context of an Object-Oriented Persistent Programming Language. Implicit transactions of APPL, a subset of Galileo, are statically analysed for inferring information to support a new concurrency control protocol that merges the wisdom of the Conservative Two-phase Locking with the flexibility of the Multiple Granularity Locking without requiring any predeclaration to transaction programmers. This is an improvement of a previous experiment that concentrates only on the Conservative Two-phase Locking, where the grain of the collected information was particularly significant in case of simply structured transactions. In this paper we are interested in rendering finer this grain while accessing objects of classes. More precisely, the paper presents a second analysis that detects if a transaction surely accesses all objects of a class or probably a subset of them. Collected information allows to choose the appropriate locking grain: a unique lock for the class versus a set of individual locks, one for each object of the class
Conservative Multigranularity Locking for an Object-Oriented Persistent Language via Abstract Interpretation
Amato G;Giannotti F;Mainetto G
1997
Abstract
This paper presents an experiment of using a formal technique for static program analysis, based on Abstract Interpretation, in the context of an Object-Oriented Persistent Programming Language. Implicit transactions of APPL, a subset of Galileo, are statically analysed for inferring information to support a new concurrency control protocol that merges the wisdom of the Conservative Two-phase Locking with the flexibility of the Multiple Granularity Locking without requiring any predeclaration to transaction programmers. This is an improvement of a previous experiment that concentrates only on the Conservative Two-phase Locking, where the grain of the collected information was particularly significant in case of simply structured transactions. In this paper we are interested in rendering finer this grain while accessing objects of classes. More precisely, the paper presents a second analysis that detects if a transaction surely accesses all objects of a class or probably a subset of them. Collected information allows to choose the appropriate locking grain: a unique lock for the class versus a set of individual locks, one for each object of the classFile | Dimensione | Formato | |
---|---|---|---|
prod_410204-doc_144333.pdf
accesso aperto
Descrizione: Conservative Multigranularity Locking for an Object-Oriented Persistent Language via Abstract Interpretation
Dimensione
1.43 MB
Formato
Adobe PDF
|
1.43 MB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.