کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
6875371 1441694 2014 41 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Static safety guarantees for a low-level multithreaded language with regions
ترجمه فارسی عنوان
تضمین های ایمنی استاتیک برای زبان های چند سطحی با سطح پایین با مناطق
کلمات کلیدی
چند راه انداز ایمن، سیستم های نوع و اثر، مدیریت حافظه مبتنی بر منطقه، سیکلون،
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
چکیده انگلیسی
We present the design of a formal low-level multithreaded language with advanced region-based memory management and thread synchronization primitives, where well-typed programs are memory safe and race free. In our language, regions and locks are combined in a single hierarchy and are subject to uniform ownership constraints imposed by this hierarchical structure: deallocating a region causes its sub-regions to be deallocated. Similarly, when a region is read/write-protected, then its sub-regions inherit the same access rights. We discuss aspects of the integration and implementation of the formal language within Cyclone and evaluate the performance of code produced by the modified Cyclone compiler against highly optimized C programs using pthreads. Our results show that the performance overhead for guaranteed race freedom and memory safety is in most cases acceptable.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Science of Computer Programming - Volume 80, Part B, 1 February 2014, Pages 223-263
نویسندگان
, , ,