• Search Research Projects
  • Search Researchers
  • How to Use
  1. Back to previous page

Memory Management Scheme Based on the Quasi-Linear Type System

Research Project

Project/Area Number 11480061
Research Category

Grant-in-Aid for Scientific Research (B)

Allocation TypeSingle-year Grants
Section一般
Research Field 計算機科学
Research InstitutionTokyo Institute of Technology (2001)
The University of Tokyo (1999-2000)

Principal Investigator

KOBAYASHI Naoki  Tokyo Institute of Technology, Graduate School of Information Science and Engineering, Assoc. Prof., 大学院・情報理工学研究科, 助教授 (00262155)

Co-Investigator(Kenkyū-buntansha) IGARASHI Atsushi  The University of Tokyo, Graduate School of Arts and Sciences, Research Assoc., 大学院・総合文化研究科, 助手 (40323456)
TAURA Kenjiro  The University of Tokyo, Graduate School of Information Science and Engineering, Lecturer, 大学院・情報理工学系研究科, 講師 (90282714)
WATANABE Takuo  The University of Tokyo, Graduate School of Information Science and Engineering, Assoc. Prof., 大学院・情報理工学研究科, 助教授 (20222408)
Project Period (FY) 1999 – 2001
Project Status Completed (Fiscal Year 2001)
Budget Amount *help
¥7,200,000 (Direct Cost: ¥7,200,000)
Fiscal Year 2001: ¥1,800,000 (Direct Cost: ¥1,800,000)
Fiscal Year 2000: ¥2,000,000 (Direct Cost: ¥2,000,000)
Fiscal Year 1999: ¥3,400,000 (Direct Cost: ¥3,400,000)
Keywordslinear type system / quasi-linear types / memory management / region inference / garbage collection / type inference / functional language / resource usage analysis / 線形型 / 並列計算機 / 並行言語 / 通信チャネル
Research Abstract

The aim of this research project was to establish a new scheme for memory management based on the quasi-linear type system which Kobayashi has proposed. With the quasi-linear type system, we can find the last access to each heap data and insert an instruction for deallocation at compile-time, by which we can construct a more efficient, safe memory management system. Main results are summarized as follows.
Insertion of memory allocation/deallocation instructions based on the quasi-linear type system
We devised an algorithm for finding the last access point for each heap data and inserting allocation/deallocation instructions, based on the quasi-linear type system. We incorporated it into a functional programming language ML.
Design and implementation of a bytecode language for our memory management scheme
We designed and implemented a bytecode language that is suitable for our memory management scheme based on the quasi-linear type system.
Integration with garbage collection
Since not all heap data can be maintained by our memory management scheme, integration with conventional memory management schemes (GC) is necessary. The main issues are how to improve GC on multiprocessors and how to deal with dangling pointers produced by our memory management scheme. We dealt with these issues and established a method to integrate the two schemes for memory management.
Resource usage analysis
We generalized the quasi-linear type system and constructed a type system for checking usage of not only the memory but also other resources such as files, networks, etc.

Report

(4 results)
  • 2001 Annual Research Report   Final Research Report Summary
  • 2000 Annual Research Report
  • 1999 Annual Research Report
  • Research Products

    (27 results)

All Other

All Publications (27 results)

  • [Publications] A.Igarashi, N.Kobayashi: "Garbage Collection Based on a Linear Type System"Proceedings of 3rd ACM Workshop on Types in Compilation (TIC2000), Carnegie Mellon University Technical Report. CMU-CS-00-161. (2000)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2001 Final Research Report Summary
  • [Publications] N.Kobayashi, B.C.Pierce, D.N.Turner: "Linearity and the Pi-Calculus"ACM Transactions on Programming Languages and Systems. 21(5). 914-947 (1999)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2001 Final Research Report Summary
  • [Publications] A.Igarashi, N.Kobayashi: "Type Reconstruction for Linear Pi-Calculus with I/O Subtyping"Information and Computation. 161. 1-44 (2000)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2001 Final Research Report Summary
  • [Publications] A.Igarashi, N.Kobayashi: "Resource Usage Analysis"Proceedings of ACM SIGPLAN/SIGACT Symposium on Principles of Programming Languages (POPL2002). 331-342 (2002)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2001 Final Research Report Summary
  • [Publications] Naoki Kobayashi: "Type-Based Useless Variable Elimination"Journal of Higher-Order and Symbolic Computation. 14. 221-260 (2001)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2001 Final Research Report Summary
  • [Publications] T.Endo, K.Taura, A.Yonezawa: "Predicting Scalability of Parallel Garbage Collectors on Shared Memory Multiprocessors"Proceedings of International Parallel and Distributed Processing Symposium (IPDPS). (2001)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2001 Final Research Report Summary
  • [Publications] 遠藤 敏夫, 田浦 健次朗, 米澤 明憲: "局所性を考慮した共有メモリ並列計算機上の並列BIBOP型メモリアロケータ"並列処理シンポジウムJSPP2001予稿集. 141-148 (2001)

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2001 Final Research Report Summary
  • [Publications] A. Igarashi and N. Kobayashi: "Garbage Collection Based on a Linear Type System"Proceedings of 3rd ACM Workshop on Types in Compilation (TIC2000), Carnegie Mellon University Technical Report. CMU-CS-00-161 (to appear. (2000)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2001 Final Research Report Summary
  • [Publications] N. Kobayashi, B. C. Pierce, and D. N. Turner: "Linearity and the Pi- Calculus"ACM Transactions on Programming Languages and Systems. 21(5). 914-947 (1999)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2001 Final Research Report Summary
  • [Publications] A. Igarashi and N. Kobayashi: "Type Reconstruction for Linear Pi-Calculus with I/O Subtyping"Information and Computation. 161. 1-44 (2000)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2001 Final Research Report Summary
  • [Publications] A. Igarashi and N. Kobayashi: "Resource Usage Analysis"Proceedings of ACM SIGPLAN/SIGACT Symposium on Principles of Programming Languages(POPL2002). 331-342 (2002)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2001 Final Research Report Summary
  • [Publications] Naoki Kobayashi: "Type-Based Useless Variable Elimination"Journal of Higher-Order and Symbolic Computation. 14. 221-260 (2002)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2001 Final Research Report Summary
  • [Publications] T. Endo, K. Taura, and A. Yonezawa: "Predicting Scalability of Parallel Garbage Collectors on Shared Memory Multiprocessors"Proceedings of International Parallel and Distributed Processing Symposium (IPDPS). (to appear). (2001)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2001 Final Research Report Summary
  • [Publications] T. Endo, K. Taura, and A. Yonezawa: "Locality-aware Parallel BIBOP Memory Allocator on Shared Memory Multiprocessors"Proceedings of JSPP2001. (in Japanese). 141-148 (2001)

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2001 Final Research Report Summary
  • [Publications] A.Igarashi, N.Kobayashi: "Resource Usage Analysis"Proceedings of ACM SIGPLAN/SIGACT Symposium on Principles of Programming Languages (POPL2002). 331-342 (2002)

    • Related Report
      2001 Annual Research Report
  • [Publications] Naoki Kobayashi: "Type-Based Useless Variable Elimination"Journal of Higher-Order and Symbolic Computation. 14. 221-260 (2001)

    • Related Report
      2001 Annual Research Report
  • [Publications] 浜中信行, 住井英二郎, 小林直樹, 米澤明憲: "Javaバイトコードにおけるオブジェクト使用解析のための型システム"第4回プログラミングおよびプログラミング言語に関するワークショップ(PPL2002)論文集. (出版予定). (2002)

    • Related Report
      2001 Annual Research Report
  • [Publications] 岩間太, 小林直樹: "JVMにおけるロックの整合性検証のための新しい型システム"コンピュータソフトウェア. (出版予定). (2002)

    • Related Report
      2001 Annual Research Report
  • [Publications] T.Endo, K.Taura, A.Yonezawa: "Predicting Scalability of Parallel Garbage Collectors on Shared Memory Multiprocessors"Proceedings of International Parallel and Distributed Processing Symposium (IPDPS). (2001)

    • Related Report
      2001 Annual Research Report
  • [Publications] 遠藤敏夫, 田浦 健次朗, 米澤 明憲: "局所性を考慮した共有メモリ並列計算機上の並列BIBOP型メモリアロケータ"並列処理シンポジウムJSPP2001予稿集. 141-148 (2001)

    • Related Report
      2001 Annual Research Report
  • [Publications] A.Igarashi and N.Kobayashi: "Type Reconstruction for Linear Pi-Calculus with I/O Subtyping"Information and Computation. 161. 1-44 (2000)

    • Related Report
      2000 Annual Research Report
  • [Publications] A.Igarashi and N.Kobayashi: "A Generic Type System for the Pi-Calculus"Proceedings of ACM SIGPLAN/SIGACT Symposium on Principles of Programming Languages (POPL2001). 128-141 (2001)

    • Related Report
      2000 Annual Research Report
  • [Publications] Naoki Kobayashi: "Type-Based Useless Variable Elimination"Journal of Higher-Order and Symbolic Computation. (印刷中). (2001)

    • Related Report
      2000 Annual Research Report
  • [Publications] A.Igarashi and N.Kobayashi: "Garbage Collection Based on a Linear Type System"Proceedings of 3rd ACM Workshop on Types in Compilation (TIC2000), Canegie Mellon University Technical Report. CMU-CS-00-161. (2000)

    • Related Report
      2000 Annual Research Report
  • [Publications] A.Igarashi and N.Kobayashi: "Type Reconstruction for Linear Pi-Calculus with I/O Subtyping"Information and Computation. (印刷中). (2000)

    • Related Report
      1999 Annual Research Report
  • [Publications] Naoki Kobayashi: "Type-Based Useless Variable Elimination"Proceedings of PEPM'00. 84-93 (2000)

    • Related Report
      1999 Annual Research Report
  • [Publications] 假家英樹,小林直樹: "リージョン推論に基づくメモリ管理の下でのガーベジコレクション"コンピュータソフトウェア. 14(3). 66-70 (1999)

    • Related Report
      1999 Annual Research Report

URL: 

Published: 1999-04-01   Modified: 2016-04-21  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi