Finding Memory Bound of Cloned Objects in Software Transactional Memory Programs.

Autor: Nguyen, Ngoc-Khai, Truong, Anh-Hoang, Dang, Duc-Hanh
Předmět:
Zdroj: International Journal of Software Engineering & Knowledge Engineering; Jun2022, Vol. 32 Issue 6, p791-818, 28p
Abstrakt: Software transactional memory (STM) programs usually use more memory resources than traditional programs. Therefore, estimating an upper bound of memory resources used by an STM program is crucial for optimizing the program and reducing the risks of out-of-memory runtime exceptions. However, due to the complex nesting of transactions and threads, the estimation problem is challenging. In our previous work, we have developed several type systems to address the problem for core imperative languages with STM primitives. This work advances our previous works, in which we add object-oriented constructs to the language while keeping the STM primitives, to make the language closer to practical languages. Then, we built a type system to statically estimate the maximum memory required by well-typed programs of the language. [ABSTRACT FROM AUTHOR]
Databáze: Complementary Index