skip to main content
article
Free Access

Adding real-time capabilities to Java

Published:01 June 1998Publication History
First page image

References

  1. 1 Arnold, K. and Gosling, J. The JavaTM Programming Language. The JavaTM Series, ed. L. Friendly. Addison-Wesley, Reading, Mass., 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2 Arnold, K. and Gosling, J. Native Methods, in The ftavaTM Programming Language, L. Friendly, Ed. Addison-Wesley, Reading, Mass., 1996.Google ScholarGoogle Scholar
  3. 3 Cheng, S.-C. and Stankovic, J.A. Scheduling algorithms for hard realtime systems--A brief survey, in Tutorial on Hard Real-Time Systems, J.A. Stankovic and K. Ramamritham, Eds., Computer Society Press of IEEE, Washington, D.C., 1987, p. 618. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4 Liu, C.L. and Layland, J.W. Scheduling algorithms for multiprogramming in a hard-real-time environment.ft. ACM 20, 1 (1973), 44-61. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5 Nilsen, K. Real-Timeftava (v. 1.1). Iowa State University, Ames, Iowa, 1996; www.newmonics.com).Google ScholarGoogle Scholar
  6. 6 Nilsen, K. Issues in the design and implementation of real-time Java. Java Developer's ft. l, 1 (1996), 44-57.Google ScholarGoogle Scholar
  7. 7 Nilsen, K. Progress in hardware-assisted real-time garbage collection. In Lecture Notes in Computer Science 986. Springer-Verlag, Kinross, Scotland, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8 Nilsen, K. Reliable real-time garbage collection of C+ +. Comput. Syst. 7, 4 (1994), 467-504. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9 Sha, L., Rajkumar, R. and Lehoczky, J.P. Priority inheritance protocols: An approach to real-time synchronization. IEEE Trans. Computers 39, 9 (1990), 1175-1185. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10 Sun Microsystems Inc., The ftava Language Environment: A White Paper. Sun Microsystems, Inc., Mountain View, Calif., 1995.fGoogle ScholarGoogle Scholar

Index Terms

  1. Adding real-time capabilities to Java

      Recommendations

      Reviews

      Allan James Payne

      Nilsen has introduced real-time features into his implementation of Java, in the form of the PERC real time application programming interface (API). This paper starts by describing the facilities and implementation of Java. It presents translation techniques that have been developed during the evolution of Java, such as just-in-time and ahead-of-time translation methods. Runtime environments are explained, and the generations of the Java Virtual Machine are presented. The paper develops real-time programming requirements and defines their constraints. Nilsen explains why real-time programming needs Java and vice versa. He discusses where Java falls short in its support of real-time programming, describing in detail how the garbage collection, task scheduling, and task monitoring facilities are deficient. Having developed the argument that current Java implementations do not support real-time programming, the author describes how the PERC real-time API fills the requirements. He describes the PERC Java language extensions to protect code from interrupts and to request and allocate resources. He goes on to show how the run time environment supports the language features and extended garbage collection techniques needed for real-time programming.

      Access critical reviews of Computing literature here

      Become a reviewer for Computing Reviews.

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      • Published in

        cover image Communications of the ACM
        Communications of the ACM  Volume 41, Issue 6
        June 1998
        96 pages
        ISSN:0001-0782
        EISSN:1557-7317
        DOI:10.1145/276609
        Issue’s Table of Contents

        Copyright © 1998 ACM

        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: 1 June 1998

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • article

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader