Optimizing scoped and immortal memory management in real-time java

The Real-Time Specification for Java (RTSJ) introduces a new memory management model which avoids interfering with the garbage collection process and achieves better deterministic behaviour. In addition to the heap memory, two types of memory areas are provided - immortal and scoped. The research pr...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Hamza, Hamza
Format: Dissertation
Sprache:Englisch
Veröffentlicht: ProQuest Dissertations & Theses 01.01.2013
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Abstract The Real-Time Specification for Java (RTSJ) introduces a new memory management model which avoids interfering with the garbage collection process and achieves better deterministic behaviour. In addition to the heap memory, two types of memory areas are provided - immortal and scoped. The research presented in this Thesis aims to optimize the use of the scoped and immortal memory model in RTSJ applications. Firstly, it provides an empirical study of the impact of scoped memory on execution time and memory consumption with different data objects allocated in scoped memory areas. It highlights different characteristics for the scoped memory model related to one of the RTSJ implementations (SUN RTS 2.2). Secondly, a new RTSJ case study which integrates scoped and immortal memory techniques to apply different memory models is presented. A simulation tool for a real-time Java application is developed which is the first in the literature that shows scoped memory and immortal memory consumption of an RTSJ application over a period of time. The simulation tool helps developers to choose the most appropriate scoped memory model by monitoring memory consumption and application execution time. The simulation demonstrates that a developer is able to compare and choose the most appropriate scoped memory design model that achieves the least memory footprint. Results showed that the memory design model with a higher number of scopes achieved the least memory footprint. However, the number of scopes per se does not always indicate a satisfactory memory footprint; choosing the right objects/threads to be allocated into scopes is an important factor to be considered. Recommendations and guidelines for developing RTSJ applications which use a scoped memory model are also provided. Finally, monitoring scoped and immortal memory at runtime may help in catching possible memory leaks. The case study with the simulation tool developed showed a space overhead incurred by immortal memory. In this research, dynamic code slicing is also employed as a debugging technique to explore constant increases in immortal memory. Two programming design patterns are presented for decreasing immortal memory overheads generated by specific data structures. Experimental results showed a significant decrease in immortal memory consumption at runtime.
AbstractList The Real-Time Specification for Java (RTSJ) introduces a new memory management model which avoids interfering with the garbage collection process and achieves better deterministic behaviour. In addition to the heap memory, two types of memory areas are provided - immortal and scoped. The research presented in this Thesis aims to optimize the use of the scoped and immortal memory model in RTSJ applications. Firstly, it provides an empirical study of the impact of scoped memory on execution time and memory consumption with different data objects allocated in scoped memory areas. It highlights different characteristics for the scoped memory model related to one of the RTSJ implementations (SUN RTS 2.2). Secondly, a new RTSJ case study which integrates scoped and immortal memory techniques to apply different memory models is presented. A simulation tool for a real-time Java application is developed which is the first in the literature that shows scoped memory and immortal memory consumption of an RTSJ application over a period of time. The simulation tool helps developers to choose the most appropriate scoped memory model by monitoring memory consumption and application execution time. The simulation demonstrates that a developer is able to compare and choose the most appropriate scoped memory design model that achieves the least memory footprint. Results showed that the memory design model with a higher number of scopes achieved the least memory footprint. However, the number of scopes per se does not always indicate a satisfactory memory footprint; choosing the right objects/threads to be allocated into scopes is an important factor to be considered. Recommendations and guidelines for developing RTSJ applications which use a scoped memory model are also provided. Finally, monitoring scoped and immortal memory at runtime may help in catching possible memory leaks. The case study with the simulation tool developed showed a space overhead incurred by immortal memory. In this research, dynamic code slicing is also employed as a debugging technique to explore constant increases in immortal memory. Two programming design patterns are presented for decreasing immortal memory overheads generated by specific data structures. Experimental results showed a significant decrease in immortal memory consumption at runtime.
Author Hamza, Hamza
Author_xml – sequence: 1
  givenname: Hamza
  surname: Hamza
  fullname: Hamza, Hamza
BookMark eNrjYmDJy89L5WRw8i8oyczNrMrMS1coTs4vSE1RSMxLUcjMzc0vKknMUchNBTIqFXIT8xLTU3NT80oUMvMUilITc3SB2lIVshLLEnkYWNMSc4pTeaE0N4Oym2uIs4duQVF-YWlqcUl8Vn5pUR5QKt7QzMLSzMjYyMDImDhVAHi9No4
ContentType Dissertation
Copyright Database copyright ProQuest LLC; ProQuest does not claim copyright in the individual underlying works.
Copyright_xml – notice: Database copyright ProQuest LLC; ProQuest does not claim copyright in the individual underlying works.
DBID 053
0BH
CBPLH
EU9
G20
M8-
PHGZT
PKEHL
PQEST
PQQKQ
PQUKI
DatabaseName Dissertations & Theses Europe Full Text: Science & Technology
ProQuest Dissertations and Theses Professional
ProQuest Dissertations & Theses Global: The Sciences and Engineering Collection
ProQuest Dissertations & Theses A&I
ProQuest Dissertations & Theses Global
ProQuest Dissertations and Theses A&I: The Sciences and Engineering Collection
ProQuest One Academic
ProQuest One Academic Middle East (New)
ProQuest One Academic Eastern Edition (DO NOT USE)
ProQuest One Academic (retired)
ProQuest One Academic UKI Edition
DatabaseTitle Dissertations & Theses Europe Full Text: Science & Technology
ProQuest One Academic Middle East (New)
ProQuest One Academic UKI Edition
ProQuest One Academic Eastern Edition
ProQuest Dissertations & Theses Global: The Sciences and Engineering Collection
ProQuest Dissertations and Theses Professional
ProQuest One Academic
ProQuest Dissertations & Theses A&I
ProQuest One Academic (New)
ProQuest Dissertations and Theses A&I: The Sciences and Engineering Collection
ProQuest Dissertations & Theses Global
DatabaseTitleList Dissertations & Theses Europe Full Text: Science & Technology
Database_xml – sequence: 1
  dbid: G20
  name: ProQuest Dissertations & Theses Global
  url: https://www.proquest.com/pqdtglobal1
  sourceTypes: Aggregation Database
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
ExternalDocumentID 3718854511
Genre Dissertation/Thesis
GroupedDBID 053
0BH
CBPLH
EU9
G20
M8-
PHGZT
PKEHL
PQEST
PQQKQ
PQUKI
ID FETCH-proquest_journals_16896232023
IEDL.DBID G20
IngestDate Mon Jun 30 13:41:43 EDT 2025
IsPeerReviewed false
IsScholarly false
Language English
LinkModel DirectLink
MergedId FETCHMERGED-proquest_journals_16896232023
Notes SourceType-Dissertations & Theses-1
ObjectType-Dissertation/Thesis-1
content type line 12
PQID 1689623202
PQPubID 51922
ParticipantIDs proquest_journals_1689623202
PublicationCentury 2000
PublicationDate 20130101
PublicationDateYYYYMMDD 2013-01-01
PublicationDate_xml – month: 01
  year: 2013
  text: 20130101
  day: 01
PublicationDecade 2010
PublicationYear 2013
Publisher ProQuest Dissertations & Theses
Publisher_xml – name: ProQuest Dissertations & Theses
Score 3.2338798
Snippet The Real-Time Specification for Java (RTSJ) introduces a new memory management model which avoids interfering with the garbage collection process and achieves...
SourceID proquest
SourceType Aggregation Database
SubjectTerms Computer science
Java
Title Optimizing scoped and immortal memory management in real-time java
URI https://www.proquest.com/docview/1689623202
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwY2BQMTMD1ksWqSm6hiZJBromqUmWuomJhpbAroqxYZKxSWqqUSr41hIfcz8_i4gIywDogFsxdFklrEwEF9Qp-cmgMXJ9QzMLS2BVDeyr2xcU6oJujQLNrkKv0GBmYAVt6ASlancjA4xiFVxXuAlQaosgA48L0iS5EANTap4wgwDs-gUFaG4UYXDyB2b33MwqYOWjAN5ckqKQmJeikAk0BNSkVsgFLaKtVMiFL3BRyMxTALYRc3RBF8orZCWWJYoyKLu5hjh76MKcGQ9NW8XxCDcaizGw5OXnpUowKKQYpgCrO0PTZEsDE5PkFFArwNwiyTIJ2MKxSDRLs5BkkMFnkhR-aWkGLiPwNRCgoQcZBpaSotJUWQa25LKSzOIiOXCgAwAEfJbF
linkProvider ProQuest
linkToHtml http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwY2BQMTMD1ksWqSm6hiZJBromqUmWuomJhpbAroqxYZKxSWqqUSr41hIfcz8_i4gIywAmhhrYXhjQskpYmQguqFPyk0Fj5PqGZhaWwKoa2Fe3LyjUBd0aBZpdhV2hAUkW3qmV5cAuW7GtpwswflWNjNxcQ5w9dGHmxUOjpzgeYZgxUBUzA6sJ6OAy0FZhIwOMQhlc07gJDKwbBRl4XJAm6IUYmFLzhBkEYFc_KEBLAhEGJ39gUZObWQWs-BTAG1tSFBLzUhQygU4ANecVckELeCsVcuGLaxQy8xSA7dMcXdBl9gpZiWWJogzKRDhKjIElLz8vVYJBIcUwBVjVGpomWxqYmCSngFog5hZJlknA1pVFolmahSSDDD6TpPBLyzNweoT4-sT7ePp5SzNwGYGvowANgcgwsJQUlabKMrAll5VkFhfJgaNPgUGPtJAFAJCPz_w
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adissertation&rft.genre=dissertation&rft.title=Optimizing+scoped+and+immortal+memory+management+in+real-time+java&rft.DBID=053%3B0BH%3BCBPLH%3BEU9%3BG20%3BM8-%3BPHGZT%3BPKEHL%3BPQEST%3BPQQKQ%3BPQUKI&rft.PQPubID=51922&rft.au=Hamza%2C+Hamza&rft.date=2013-01-01&rft.pub=ProQuest+Dissertations+%26+Theses&rft.externalDBID=HAS_PDF_LINK&rft.externalDocID=3718854511