Resources, garbage-collection and the π-calculus

نویسندگان

  • David Teller
  • Martin Berger
  • Matthew Hennessy
  • Tom Hirschowitz
  • Karl Krukow
چکیده

Techniques such as mobility and distribution are often used to overcome limitations of resources such as the amount of memory or the necessity for specialised devices. Indeed, questions related to such limitations are crucial in matters of security, compilation and quality of service. However, few attempts have been made at formalising this notion of resource limitation in presence of mobility, distribution or concurrency. In this paper, we present a formalisation of resource usage, resource limitations and garbage-collection, using as a support a variant of the π-calculus, the controlled π-calculus. We use this calculus to study formally the notion of garbage-collection and to produce an effective proof system for respect of resource bounds, aware of resource transfer between processes and resource reuse thanks to finalisation. We also present an example of transformation of a protocol for compliance with such limitations and we confront informally our definitions with commonly-used garbage-collectors such as those of OCaml, Java and C#.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Towards a tree of channels

This paper presents a generalization of distributed π-calculi to support a hierarchy of locations. We add nested locations on top of a π-calculus core. By unifying channels and locations, we arrive at a computational model which uses mobile agents to pass addresses among immobile and nested locations. We choose a static binding semantics of addresses to enable easy navigation of mobile agents i...

متن کامل

From Co-algebraic Specifications to Implementation: The Mihda Toolkit

This paper describes the architecture of a toolkit, called Mihda, providing facilities to minimise labelled transition systems for name passing calculi. The structure of the toolkit is derived from the co-algebraic formulation of the partition-refinement minimisation algorithm for HD-automata. HD-automata have been specifically designed to allocate and garbage collect names and they provide fai...

متن کامل

A Decidable Characterization of a Graphical Pi-calculus with Iterators

This paper presents the Pi-graphs, a visual paradigm for the modelling and verification of mobile systems. The language is a graphical variant of the Pi-calculus with iterators to express non-terminating behaviors. The operational semantics of Pi-graphs use ground notions of labelled transition and bisimulation, which means standard verification techniques can be applied. We show that bisimilar...

متن کامل

A Formal Semantics for Finalizers

Automatic finalization is a common but inherently complex language facility that makes the garbage collection process semantically visible to client programs. With finalizers, memory management becomes more flexible, and garbage collectors can be used to recycle other resources in addition to memory. Formal language models usually ignore garbage collection, and therefore are unable to properly ...

متن کامل

Towards Formalizing Java ’ S Weak

Weak references provide the programmer with limited control over the process of memory management. By using them, a programmer can make decisions based on previous actions that are taken by the garbage collector. Although this is often helpful, the outcome of a program using weak references is less predictable due to the nondeterminism they introduce in program evaluation. It is therefore desir...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006