Valuation: Developer support for by-references to by-value type conversion.

Shabaninejad, Shiva (2012). Valuation: Developer support for by-references to by-value type conversion.. Tesis (Master), Facultad de Informática (UPM) [antigua denominación].

Descripción

Título: Valuation: Developer support for by-references to by-value type conversion.
Autor/es:
  • Shabaninejad, Shiva
Director/es:
  • Carro Liñares, Manuel
  • Marron, Mark
Tipo de Documento: Tesis (Master)
Título del máster: Software y Sistemas
Fecha: Julio 2012
Materias:
Escuela: Facultad de Informática (UPM) [antigua denominación]
Departamento: Lenguajes y Sistemas Informáticos e Ingeniería del Software
Licencias Creative Commons: Reconocimiento - Sin obra derivada - No comercial

Texto completo

[img]
Vista Previa
PDF (Document Portable Format) - Se necesita un visor de ficheros PDF, como GSview, Xpdf o Adobe Acrobat Reader
Descargar (642kB) | Vista Previa

Resumen

Modern object oriented languages like C# and JAVA enable developers to build complex application in less time. These languages are based on selecting heap allocated pass-by-reference objects for user defined data structures. This simplifies programming by automatically managing memory allocation and deallocation in conjunction with automated garbage collection. This simplification of programming comes at the cost of performance. Using pass-by-reference objects instead of lighter weight pass-by value structs can have memory impact in some cases. These costs can be critical when these application runs on limited resource environments such as mobile devices and cloud computing systems. We explore the problem by using the simple and uniform memory model to improve the performance. In this work we address this problem by providing an automated and sounds static conversion analysis which identifies if a by reference type can be safely converted to a by value type where the conversion may result in performance improvements. This works focus on C# programs. Our approach is based on a combination of syntactic and semantic checks to identify classes that are safe to convert. We evaluate the effectiveness of our work in identifying convertible types and impact of this transformation. The result shows that the transformation of reference type to value type can have substantial performance impact in practice. In our case studies we optimize the performance in Barnes-Hut program which shows total memory allocation decreased by 93% and execution time also reduced by 15%.

Más información

ID de Registro: 22233
Identificador DC: http://oa.upm.es/22233/
Identificador OAI: oai:oa.upm.es:22233
Depositado por: Biblioteca Facultad de Informatica
Depositado el: 29 Ene 2014 20:56
Ultima Modificación: 08 Feb 2016 10:20
  • Open Access
  • Open Access
  • Sherpa-Romeo
    Compruebe si la revista anglosajona en la que ha publicado un artículo permite también su publicación en abierto.
  • Dulcinea
    Compruebe si la revista española en la que ha publicado un artículo permite también su publicación en abierto.
  • Recolecta
  • e-ciencia
  • Observatorio I+D+i UPM
  • OpenCourseWare UPM