TU Darmstadt / ULB / TUbiblio

new Scala() instance of Java: a Comparison of the Memory Behaviour of Java and Scala Programs

Sewe, Andreas ; Mezini, Mira ; Sarimbekov, Aibek ; Ansaloni, Danilo ; Binder, Walter ; Ricci, Nathan ; Guyer, Samuel Z. (2012)
new Scala() instance of Java: a Comparison of the Memory Behaviour of Java and Scala Programs.
International Symposium on Memory Management. Beijing, China (15-16 Jun 2012)
doi: 10.1145/2258996.2259010
Konferenzveröffentlichung, Bibliographie

Kurzbeschreibung (Abstract)

While often designed with a single language in mind, managed runtimes like the Java virtual machine~(JVM) have become the target of not one but many languages, all of which benefit from the runtime's services. One of these services is automatic memory management. In this paper, we compare and contrast the memory behaviour of programs written in Java and Scala, respectively, two languages which both target the same platform: the JVM. We both analyze core object demographics like object lifetimes as well as secondary properties of objects like their associated monitors and identity hash-codes. We find that objects in Scala programs have lower survival rates and higher rates of immutability, which is only partly explained by the memory behaviour of objects representing closures or boxed primitives. Other metrics vary more by benchmark than language.

Typ des Eintrags: Konferenzveröffentlichung
Erschienen: 2012
Autor(en): Sewe, Andreas ; Mezini, Mira ; Sarimbekov, Aibek ; Ansaloni, Danilo ; Binder, Walter ; Ricci, Nathan ; Guyer, Samuel Z.
Art des Eintrags: Bibliographie
Titel: new Scala() instance of Java: a Comparison of the Memory Behaviour of Java and Scala Programs
Sprache: Englisch
Publikationsjahr: Juni 2012
Ort: New York, NY, USA
Verlag: ACM
Buchtitel: Proceedings of the International Symposium on Memory Management
Reihe: ISMM '12
Veranstaltungstitel: International Symposium on Memory Management
Veranstaltungsort: Beijing, China
Veranstaltungsdatum: 15-16 Jun 2012
DOI: 10.1145/2258996.2259010
Zugehörige Links:
Kurzbeschreibung (Abstract):

While often designed with a single language in mind, managed runtimes like the Java virtual machine~(JVM) have become the target of not one but many languages, all of which benefit from the runtime's services. One of these services is automatic memory management. In this paper, we compare and contrast the memory behaviour of programs written in Java and Scala, respectively, two languages which both target the same platform: the JVM. We both analyze core object demographics like object lifetimes as well as secondary properties of objects like their associated monitors and identity hash-codes. We find that objects in Scala programs have lower survival rates and higher rates of immutability, which is only partly explained by the memory behaviour of objects representing closures or boxed primitives. Other metrics vary more by benchmark than language.

Freie Schlagworte: Java, object demographics, Scala
Fachbereich(e)/-gebiet(e): 20 Fachbereich Informatik > Softwaretechnik
LOEWE > LOEWE-Zentren > CASED – Center for Advanced Security Research Darmstadt
20 Fachbereich Informatik
Zentrale Einrichtungen
LOEWE
LOEWE > LOEWE-Zentren
Hinterlegungsdatum: 17 Apr 2012 14:29
Letzte Änderung: 05 Mär 2013 10:00
PPN:
Zugehörige Links:
Export:
Suche nach Titel in: TUfind oder in Google
Frage zum Eintrag Frage zum Eintrag

Optionen (nur für Redakteure)
Redaktionelle Details anzeigen Redaktionelle Details anzeigen