skip to main content
10.1145/1167999.1168006acmotherconferencesArticle/Chapter ViewAbstractPublication PagesjtresConference Proceedingsconference-collections
Article

Extended portal: violating the assignment rule and enforcing the single parent rule

Published: 11 October 2006 Publication History

Abstract

One of the main drawbacks of programming with the RTSJ (The Real-time Specification for Java) is probably its special model of references. The restrictions imposed by the assignment and single parent rules constrains the programming model in such a way that it is sometimes more difficult to use than the Java one. The community has faced this problem producing a special and new set of programming paradigms and patterns, designed to be used in collaboration with the region-based model; this enhances the range of application that may be constructed with it. However, the current version of RTSJ does not have general mechanisms that enable to perform safe violations of the assignment rule in an easy way.In this paper, we address this issue by introducing a new extension named extended portal. This extension (that has an interface that is very close to the current RTSJ portals) introduces mechanisms that allow a safe violation of the assignment rules, providing also an easy navigation mechanism for accessing the creation context of an object. Using this extension, the programmer can have access to a forbidden reference in two steps, reducing the complexity from Θ (n) of the current portals to Θ (1) of the extended ones. The work is mainly concentrated on the justification of the utility and feasibility of the extension. To clarify this idea, an example that illustrates the drawbacks of the current portals and the benefits of the extended ones is described. Also, a Java interface and a set of low level changes required at the implementation level are explained.

References

[1]
Pablo Basanta-Val, Marisol García-Valls, and Iria Estévez-Ayres. "AGCMemory: A New Real-Time Java Region Type for Automatic Floating Garbage Recycling". ACM SIGBED Review: Vol. 2, No. 3, July 2005. Special Issue on the Second Workshop on High Performance, Fault Adaptive, Large Scale Embedded Real-Time Systems (FALSE-II). ISSN: 1551-3688. pp 7--12
[2]
Pablo Basanta-Val, Marisol García-Valls, Iria Estévez-Ayres. "Towards the Integration of Scoped Memory in Distributed Real-Time Java". ISORC 2005: Eighth IEEE International Symposium on Object-Oriented Real-Time Distributed Computing (ISORC 2005), 18-20 May 2005, Seattle. pp. 382--389
[3]
Pablo Basanta-Val, Marisol García-Valls, Iria Estévez-Ayres. "No Heap Remote Objects: Leaving Out Garbage Collection at the Server Side". OTM Workshops 2004: Workshop on Java Technologies for Real-Time and Embedded Systems. OTM Workshops 2004: Workshop on Java Technologies for Real-Time and Embedded Systems. pp. 359--370
[4]
Edward G. Benowitz, Albert F. Niessner. "A Patterns Catalog for RTSJ Software Designs". OTM Workshops 2003: Workshop on Java Technologies for Real-Time and Embedded Systems. 497--507
[5]
Gregory Bollella, Tim Canham, Vanessa Carson, Virgil Champlin, Daniel Dvorak, Brian Giovannoni, Mark Indictor, Kenny Meyer, Alex Murray, Kirk Reinholtz. "Programming with non-heap memory in the real time specification for Java". OOPSLA Companion 2003: 18th Annual ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications, October 26-30, 2003, Anaheim, CA, USA. pp. 361--369
[6]
Andrew Borg, Andy J. Wellings. "A Real-Time RMI Framework for the RTSJ". ECRTS 2003: 15th Euromicro Conference on Real-Time Systems, 2-4 July 2003, Porto, Portugal. pp. 238--248
[7]
Andrew Borg, Andy J. Wellings. "Reference Objects for RTSJ Memory Areas". OTM Workshops 2003: Workshop on Java Technologies for Real-Time and Embedded Systems. pp. 397--410
[8]
Angelo Corsaro, Corrado Santoro. "Design Patterns for RTSJ Application Development". OTM Workshops 2004: Workshop on Java Technologies for Real-Time and Embedded Systems. pp.394--405
[9]
Angelo Corsaro, Ron Cytron. "Efficient memory-reference checks for real-time java". LCTES 2003: Conference on Languages, Compilers, and Tools for Embedded Systems. San Diego, California, USA, June 11-13, 2003 pp. 51--58
[10]
Peter C. Dibble. "Real-time Java Platform Programming". Prentice Hall PTR; 1st edition (March 11, 2002). ISBN: 0130282618
[11]
M. Teresa Higuera-Toledano. "Analyzing the Memory Management Semantic and Requirements of the Real-time Specification of Java JSR-0000001". ISORC 2006: 9th IEEE International Symposium on Object-Oriented Real-Time Distributed Computing, 24-26 April 2006, Gyeongju, Korea. pp. 419--423
[12]
JSR-282. "RTSJ version 1.1". Available on-line at http://www.jcp.org/en/jsr/detail?id=282
[13]
Sheng Liang. "Java(TM) Native Interface: Programmer's Guide and Specification". Addison-Wesley Professional; 1st edition (June 10, 1999). ISBN 0201325772.
[14]
F. Pizlo, J. M. Fox, David Holmes, Jan Vitek. "Real-Time Java Scoped Memory: Design Patterns and Semantics". ISORC 2004: 7th IEEE International Symposium on Object-Oriented Real-Time Distributed Computing, 12-14 May 2004, Vienna pp. 101--110
[15]
Krishna Raman, Yue Zhang, Mark Panahi, Juan A. Colmenares, Raymond Klefstad, Trevor Harmon. "RTZen: Highly Predictable, Real-Time Java Middleware for Distributed and Embedded Systems". Middleware 2005: ACM/IFIP/USENIX, 6th International Middleware Conference, Grenoble, France, November 28 - December 2, 2005. pp. 225--248
[16]
Krishna Raman, Yue Zhang, Mark Panahi, Juan A. Colmenares, Raymond Klefstad. "Patterns and Tools for Achieving Predictability and Performance with Real-Time Java". RTCSA 2005: 11th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications, 17-19 August 2005, Hong Kong, China. pp. 247--253
[17]
RTJEG. "The Real-time Java Specification". Version 1.0.1(b). Available on-line at http://www.rtj.org
[18]
Timesys. "JTIME RTSJ 1.0 Extensions User Guide". Available on-line at http://www.timesys.com

Cited By

View all
  • (2018)Eliminating object reference checks by escape analysis on real-time Java virtual machineCluster Computing10.1007/s10586-018-2145-8Online publication date: 27-Feb-2018
  • (2015)Optimizing object reference checks on real-time Java virtual machine2015 6th IEEE International Conference on Software Engineering and Service Science (ICSESS)10.1109/ICSESS.2015.7339009(77-80)Online publication date: Sep-2015
  • (2011)Region-Based Memory Management: An Evaluation of Its Support in RTSJDistributed, Embedded and Real-time Java Systems10.1007/978-1-4419-8158-5_5(101-127)Online publication date: 31-Dec-2011
  • Show More Cited By

Index Terms

  1. Extended portal: violating the assignment rule and enforcing the single parent rule

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    JTRES '06: Proceedings of the 4th international workshop on Java technologies for real-time and embedded systems
    October 2006
    242 pages
    ISBN:1595935444
    DOI:10.1145/1167999
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 11 October 2006

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. assignment rule violation
    2. real-time java
    3. scoped memory

    Qualifiers

    • Article

    Acceptance Rates

    Overall Acceptance Rate 50 of 70 submissions, 71%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 16 Feb 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2018)Eliminating object reference checks by escape analysis on real-time Java virtual machineCluster Computing10.1007/s10586-018-2145-8Online publication date: 27-Feb-2018
    • (2015)Optimizing object reference checks on real-time Java virtual machine2015 6th IEEE International Conference on Software Engineering and Service Science (ICSESS)10.1109/ICSESS.2015.7339009(77-80)Online publication date: Sep-2015
    • (2011)Region-Based Memory Management: An Evaluation of Its Support in RTSJDistributed, Embedded and Real-time Java Systems10.1007/978-1-4419-8158-5_5(101-127)Online publication date: 31-Dec-2011
    • (2011)Handling Non-Periodic Events in Real-Time Java SystemsDistributed, Embedded and Real-time Java Systems10.1007/978-1-4419-8158-5_3(45-77)Online publication date: 31-Dec-2011
    • (2011)Using Real-Time Java in Distributed Systems: Problems and SolutionsDistributed, Embedded and Real-time Java Systems10.1007/978-1-4419-8158-5_2(23-44)Online publication date: 31-Dec-2011
    • (2011)Non-functional information transmission patterns for distributed real-time JavaSoftware—Practice & Experience10.1002/spe.108441:12(1409-1435)Online publication date: 1-Nov-2011
    • (2011)Extending the concurrency model of the real-time specification for JavaConcurrency and Computation: Practice & Experience10.1002/cpe.167523:14(1623-1645)Online publication date: 1-Sep-2011
    • (2010)No-Heap remote objects for distributed real-time JavaACM Transactions on Embedded Computing Systems10.1145/1814539.181454610:1(1-25)Online publication date: 27-Aug-2010
    • (2010)Towards Propagation of Non-functional Information in Distributed Real-Time JavaProceedings of the 2010 13th IEEE International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing10.1109/ISORC.2010.28(225-232)Online publication date: 5-May-2010
    • (2010)An architecture for distributed real-time Java based on RMI and RTSJ2010 IEEE 15th Conference on Emerging Technologies & Factory Automation (ETFA 2010)10.1109/ETFA.2010.5641176(1-8)Online publication date: Sep-2010
    • Show More Cited By

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media