Towards an Embedded Real-Time Java Virtual Machine Ive, Anders

Total Page:16

File Type:pdf, Size:1020Kb

Towards an Embedded Real-Time Java Virtual Machine Ive, Anders Towards an embedded real-time Java virtual machine Ive, Anders 2003 Link to publication Citation for published version (APA): Ive, A. (2003). Towards an embedded real-time Java virtual machine. Department of Computer Science, Lund University. Total number of authors: 1 General rights Unless other specific re-use rights are stated the following general rights apply: Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain • You may freely distribute the URL identifying the publication in the public portal Read more about Creative commons licenses: https://creativecommons.org/licenses/ Take down policy If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim. LUND UNIVERSITY PO Box 117 221 00 Lund +46 46-222 00 00 Towards an embedded real-time Java virtual machine Anders Ive Licentiate thesis, 2003 Department of Computer Science Lund Institute of Technology Lund University ISSN 1404-1219 Dissertation 20, 2003 LU-CS_LIC:2003-4 Thesis submitted for partial fulfillment of the degree of licentiate. Department of Computer Science Lund Institute of Technology Lund University Box 118 SE-221 00 Lund Sweden E-mail: [email protected] WWW: http://www.cs.lth.se/~ive © 2003 Anders Ive Abstract Most computers today are embedded, i.e. they are built into some prod- ucts or system that is not perceived as a computer. It is highly desirable to use modern safe object-oriented software techniques for a rapid develop- ment of reliable systems. However, languages and run-time platforms for embedded systems have not kept up with the front line of language development. Reasons include complex and, in some cases, contradictory requirements on timing, concurrency, predictability, safety, and flexibility. A carefully tailored Java virtual machine (called IVM) is proposed as an approach to overcome these difficulties. In particular, real-time gar- bage collection has been considered an essential part. The set of bytecodes has been revised to require less memory and to facilitate predictable exe- cution. To further reduce the memory footprint, the class loader can be located outside the embedded processor. Since the accomplished concur- rency is crucial for the function of many embedded applications, the scheduling can be defined on the application level in Java. Finally consid- ering future needs for flexibility and on-line configuration of embedded system, the IVM has a unique structure with which, for instance, methods being objects that can be replaced and GCed. The approach has been experimentally verified by a full prototype implementation of such a virtual machine. By making the prototype avail- able for development of real products, this in turn has confronted the solu- tions with real industrial demands. It was found that the IVM can be easily integrated in typical systems today and the mentioned require- ments are fulfilled. Based on experiences from more than 10 projects uti- lising the novel Java-oriented techniques, there are reasons to believe that the proposed approach is very promising for future flexible embedded systems. 4 Acknowledgements This thesis would not be without the support and help from my supervi- sors, Boris Magnusson and Roger Henriksson that tirelessly followed my progress. Their valuable ideas have made drastic improvements to the disposition of the thesis. The support and comments of Klas Nilsson have been especially valuable for me as they returned my focus to the original problems and objectives of this work. This thesis is also the product of many projects in cooperation with other companies and researchers. I am especially grateful for the project with BlueCell that resulted in a product where the IVM was an integral part, but above all I am glad for the acquaintance with the managers of BlueCell, Mats Iderup and Björn Strandmark, whose practical knowledge excel in the hardware and software field. The cooperation with Ericsson and ABB has been invaluable during the development of the machine. At Ericsson I thank Magnus Larsson, Elizabeth Bjarnasson, Christer San- dahl, and Sten Minör, for their supportive and positive attitude towards reaching a “Java-in-the-ear” solution. The constructive collaboration with Magnus Larsson during a couple of hectic weeks at Ericsson resulted in major improvements to the IVM code. The master thesis of Thomas Fänge and Daniel Linåker at Ericsson inspired me to improve the IVM with some optimisation. The projects with Anders Roswall at ABB Corporate Research in Västerås and Michael Meyer at ABB Automation Technology Products in Malmö have resulted in valuable contributions to the machine. I thank Anders Lindwall, Andreas Rebert, Johan Gren, and Jens Öhlund for their cooperation in their excellent student project in which they utilised the IVM in a real-time application. Their results have been most valuable in this licentiate thesis. Their summer project at ABB in Västerås, where the IVM was integrated into an embedded platform produced many new ideas concerning the IVM. The master theses of Johan Gren and Jens Öhlund, and Tor Andrœ and Johan Gustavsson at ABB Automation Control in Malmö resulted in further developments of the IVM code. 6 The IVM has been integrated in many research projects. First I thank Patrik Persson for his support and his friendship. His ideas from “Skån- erost” are a valuable part of the WCET analysis of the bytecodes. I thank Anders Nilsson for his work on the Java2C converter that resulted in a unified object model of the IVM. Torbjörn Ekman also contributed with his master thesis concerning a hard real-time kernel on an AVR processor. The unsurpassed knowledge of embedded real-time behaviour of Anders Blomdell resulted, together with the rest of the group, in the garbage col- lector interface that has been successfully utilised in the IVM and in the Java2C converter. I also thank all the other members of our group Görel Hedin, Sven Gestegård Robertz, Ulf Asklund, and the new members Torb- jörn Eklund and David Svensson, for valuable discussion and project ideas. I thank Göran Fries, Lennart Andersson, and all the other col- leagues at the Department of Computer Science in Lund for pushing me forward. I also would thank Anders Robertsson and Johan Eker for their support during my early days as a “robot” researcher. I especially thank Christian Andersson as a minute proofreader and for our “after-work” discussions providing me with determination. In this context, I would also thank Fredrik Jönsson for his understanding and support. I thank Daniel Einarsson and Flavius Gruian for their friendship and their tireless determination to include the IVM in their projects. I thank Mads Bondo Dydensborg for his cooperation in the Koala project. His invaluable knowledge of the open-source community and his practical knowledge of all the cool tools have increased quality of the IVM source code considerably and increased my interest in the open source community. I thank Magnus Landquist for his master thesis work together with the IVM and the PalmOS. His work pinpointed crucial requirements of the IVM that had to be implemented, but above all, he made me laugh so much that my muscles in my stomach cramped. Finally, I thank Madeleine Emmerfors for her support and love, but also for her determination to proofread the thesis. She forced me to con- front the darkest sections of the thesis, which improved the text consider- ably. Above everything, she made me laugh at myself in moments of despair. Contents Chapter 1 Introduction 1 1.1 Embedded systems . 2 1.2 Real-time programming . 5 1.3 High-level Programming Languages . 12 Chapter 2 The Infinitesimal Virtual Machine 19 2.1 Java Virtual Machine Overview. 20 2.2 Modules and interfaces . 20 2.3 Internal data structures . 30 2.4 Split machine. 38 2.5 Runtime . 41 2.6 Preloaded classfiles . 51 Chapter 3 IVM runtime 53 3.1 Fundamental runtime data structures . 53 3.2 IVM runtime system in detail. 55 3.3 Real-time aspects. 72 3.4 Discussion . 77 Chapter 4 Classfile conversion 79 4.1 Classfile conversion overview . 80 4.2 Class linking and memory utilisation . 86 4.3 Loading converted classfiles . 99 4.4 Split machine. 100 4.5 Bytecode conversion . 104 4.6 Control flow analysis. 110 Chapter 5 Results 111 5.1 Target platforms . 111 Chapter 6 Related work 115 6.1 Java Real-Time API Specification . 115 2 6.2 Java platform. 116 6.3 Java virtual machines for embedded systems . 118 6.4 Java to C compilation . 123 Chapter 7 Future work and conclusions 125 7.1 Real-time adaptations . 125 7.2 Real-time code replacement . 126 7.3 Interpretation and compilation co-operation . 126 7.4 Optimisations. 127 7.5 Measurements . 128 7.6 Meta virtual machine . 128 7.7 The minimal language. 131 7.8 Real-time issues. 132 7.9 Communication between nodes . 135 7.10 Conclusions . 135 References 137 Appendices 143 Chapter 1 Introduction The purpose of this thesis is to provide a foundation for the integration of high-level object-oriented language features in real-time embedded sys- tems. This is achieved by an implementation of a specially designed vir- tual machine for Java. In the field of embedded systems, the state-of-the-art high-level pro- gramming languages have not made any major impact, because the imposed restrictions are difficult to cope with in a high-level context.
Recommended publications
  • Revista Jogospro E-Magazine
    O estado-da-arte do desenvolvimento de jogos no Brasil JogosPROwww.jogospro.com.br Novembro 2004 e-Magazine Entrevista: Artigos: Omarson Costa 2D .NET Parte 2 Colunas: Symbian Java Brew Psicologia OGL/ES XNA e XBOX2 Super Waba Mobile Games Desenvolvendo Jogos para Celulares Especial: Cobertura do evento SBGames 2004 2D: Fim do Jogo: Animações por Tempo Criatividade em Jogos 3D: Projeto: Analises do 3D Studio Max e Maya Palmsoft Tecnologia Edição#2 Clique aqui para acessar o FORUM GERAL desta edição Conteúdo Prezado Leitor, 3 Cartas dos Leitores Antes de mais nada, nós da equipe JogosPRO, gostaríamos de agradecer imensamente a todos que 4 Bonus - Pequenas Grandes Notícias criticaram, enviaram sugestões e mensagens de apoio para a revista. Buscamos atender a todos na medida do possível, visando sempre a qualidade da JogosPRO e-Magazine. Entrevista Nesta edição o assunto principal será Jogos para Mobiles. Esta área do desenvolvimento de jogos vem 5 Omarson Costa crescendo muito nos últimos tempos. Para quem busca montar uma empresa este mercado é um bom por Carlos Caimi começo, pois pode ser uma boa fonte de receita para agüentar os primeiros passos. Existem diversas Projeto: Made in Brasil opções em linguagens de desenvolvimento para mobiles, as quais buscamos abordar um pouco sobre algumas das mais conhecidas, habilitando o caro leitor a analisar e decidir qual é aquela de sua 7 Palmsoft Tecnologia preferência. por Equipe Palmsoft A jogosPRO também foi cobrir o Simpósio Brasileiro de Jogos, o SBGames, que aconteceu em Curitiba Colunas nos dia 20 e 21 de outubro, na Unicenp. Tiramos várias fotos para mostrar como foi o evento.
    [Show full text]
  • Anpassung Eines Netzwerkprozessor-Referenzsystems Im Rahmen Des MAMS-Forschungsprojektes
    Anpassung eines Netzwerkprozessor-Referenzsystems im Rahmen des MAMS-Forschungsprojektes Diplomarbeit an der Fachhochschule Hof Fachbereich Informatik / Technik Studiengang: Angewandte Informatik Vorgelegt bei von Prof. Dr. Dieter Bauer Stefan Weber Fachhochschule Hof Pacellistr. 23 Alfons-Goppel-Platz 1 95119 Naila 95028 Hof Matrikelnr. 00041503 Abgabgetermin: Freitag, den 28. September 2007 Hof, den 27. September 2007 Diplomarbeit - ii - Inhaltsverzeichnis Titelseite i Inhaltsverzeichnis ii Abbildungsverzeichnis v Tabellenverzeichnis vii Quellcodeverzeichnis viii Funktionsverzeichnis x Abkurzungen¨ xi Definitionen / Worterkl¨arungen xiii 1 Vorwort 1 2 Einleitung 3 2.1 Abstract ......................................... 3 2.2 Zielsetzung der Arbeit ................................. 3 2.3 Aufbau der Arbeit .................................... 4 2.4 MAMS .......................................... 4 2.4.1 Anwendungsszenario .............................. 4 2.4.2 Einführung ................................... 5 2.4.3 NGN - Next Generation Networks ....................... 5 2.4.4 Abstrakte Darstellung und Begriffe ...................... 7 3 Hauptteil 8 3.1 BorderGateway Hardware ............................... 8 3.1.1 Control-Blade - Control-PC .......................... 9 3.1.2 ConverGate-D Evaluation Board: Modell easy4271 ............. 10 3.1.3 ConverGate-D Netzwerkprozessor ....................... 12 3.1.4 Motorola POWER Chip (MPC) Modul ..................... 12 3.1.5 Test- und Arbeitsumgebung .......................... 13 3.2 Vorhandene
    [Show full text]
  • An OSEK/VDX-Based Multi-JVM for Automotive Appliances
    AN OSEK/VDX-BASED MULTI-JVM FOR AUTOMOTIVE APPLIANCES Christian Wawersich, Michael Stilkerich, Wolfgang Schr¨oder-Preikschat University of Erlangen-Nuremberg Distributed Systems and Operating Systems Erlangen, Germany E-Mail: [email protected], [email protected], [email protected] Abstract: The automotive industry has recent ambitions to integrate multiple applications from different micro controllers on a single, more powerful micro controller. The outcome of this integration process is the loss of the physical isolation and a more complex monolithic software. Memory protection mechanisms need to be provided that allow for a safe co-existence of heterogeneous software from different vendors on the same hardware, in order to prevent the spreading of an error to the other applications on the controller and leaving an unclear responsi- bility situation. With our prototype system KESO, we present a Java-based solution for ro- bust and safe embedded real-time systems that does not require any hardware protection mechanisms. Based on an OSEK/VDX operating system, we offer a familiar system creation process to developers of embedded software and also provide the key benefits of Java to the embedded world. To the best of our knowledge, we present the first Multi-JVM for OSEK/VDX operating systems. We report on our experiences in integrating Java and an em- bedded operating system with focus on the footprint and the real-time capabili- ties of the system. Keywords: Java, Embedded Real-Time Systems, Automotive, Isolation, KESO 1. INTRODUCTION Modern cars contain a multitude of micro controllers for a wide area of tasks, ranging from convenience features such as the supervision of the car’s audio system to safety relevant functions such as assisting the braking system of the car.
    [Show full text]
  • Embedded Java with GCJ
    Embedded Java with GCJ http://0-delivery.acm.org.innopac.lib.ryerson.ca/10.1145/1140000/11341... Embedded Java with GCJ Gene Sally Abstract You don't always need a Java Virtual Machine to run Java in an embedded system. This article discusses how to use GCJ, part of the GCC compiler suite, in an embedded Linux project. Like all tools, GCJ has benefits, namely the ability to code in a high-level language like Java, and its share of drawbacks as well. The notion of getting GCJ running on an embedded target may be daunting at first, but you'll see that doing so requires less effort than you may think. After reading the article, you should be inspired to try this out on a target to see whether GCJ can fit into your next project. The Java language has all sorts of nifty features, like automatic garbage collection, an extensive, robust run-time library and expressive object-oriented constructs that help you quickly develop reliable code. Why Use GCJ in the First Place? The native code compiler for Java does what is says: compiles your Java source down to the machine code for the target. This means you won't have to get a JVM (Java Virtual Machine) on your target. When you run the program's code, it won't start a VM, it will simply load and run like any other program. This doesn't necessarily mean your code will run faster. Sometimes you get better performance numbers for byte code running on a hot-spot VM versus GCJ-compiled code.
    [Show full text]
  • Java a Príbuzné Platformy Na
    MASARYKOVA UNIVERZITA F}w¡¢£¤¥¦§¨ AKULTA INFORMATIKY !"#$%&'()+,-./012345<yA| Java a pˇríbuznéplatformy na PDA BAKALÁRSKÁˇ PRÁCE Tomáš Gazárek Brno, jaro 2008 Prohlášení Prohlašuji, že tato bakaláˇrskápráce je mým p ˚uvodnímautorským dílem, které jsem vypra- coval samostatnˇe.Všechny zdroje, prameny a literaturu, které jsem pˇrivypracování použí- val nebo z nich ˇcerpal,v práci ˇrádnˇecituji s uvedením úplného odkazu na pˇríslušnýzdroj. Vedoucí práce: Mgr. Tomáš Gregar ii Podˇekování Na tomto místˇebych rád podˇekovalMgr. Tomáši Gregarovi za vedení mé bakaláˇrsképráce a jeho cenné rady a pˇripomínky. iii Shrnutí V první ˇcástitéto práce byla zmapována situace na poli programovacích platforem v jazyce Java, které byly vytvoˇreny pro vývoj aplikací pro mobilní telefony, osobní digitální asistenty a podobné zaˇrízenís omezenou kapacitou pamˇeti,zdrojem energie a procesním výkonem. Hlavní cíl bakaláˇrsképráce spoˇcíváv prostudování platformy SuperWaba, jejích virtuálních stroj ˚u,vytvoˇreníukázkových aplikací a porovnání této platformy s Java ME. iv Klíˇcováslova JAVA, Java Platform, Micro Edition, API, JVM, PDA (Personal Digital Assistant), Smart- Phone, Eve, WebSphere Everyplace Micro Environment, NSIcom CrEme, SuperWaba v Pˇredmluva Již nˇekoliklet m ˚užemeve svˇetˇeinformaˇcníchtechnologií pozorovat trend neustálého zmen- šování vˇetšinyzaˇrízení.D ˚ukazemtoho m ˚užebýt vývoj mikroˇcip˚u,které jsou spolu s pa- mˇet’mi souˇcástítémˇeˇrvšech zaˇrízení,která nás obklopují. V souvislosti s tím roste i obliba mobilních zaˇrízení,jejichž procesní výkony a kapacita pamˇetíse neustále zvyšuje. Mobilní telefony s „otevˇreným“operaˇcnímsystémem (tzv. chytré telefony neboli smartphones) dnes již nejsou žádnou novinkou. Tento segment zaˇrízeníby tedy nemˇelbýt opomíjen u vývo- jáˇr˚usoftwaru. U programovacího jazyka Java není situace v této oblasti zrovna ideální. Co se týˇcemobilních telefon ˚ubez operaˇcníhosystému, má zde Java silné postavení.
    [Show full text]
  • Java in Embedded Linux Systems
    Java in Embedded Linux Systems Java in Embedded Linux Systems Thomas Petazzoni / Michael Opdenacker Free Electrons http://free-electrons.com/ Created with OpenOffice.org 2.x Java in Embedded Linux Systems © Copyright 2004-2007, Free Electrons, Creative Commons Attribution-ShareAlike 2.5 license http://free-electrons.com Sep 15, 2009 1 Rights to copy Attribution ± ShareAlike 2.5 © Copyright 2004-2008 You are free Free Electrons to copy, distribute, display, and perform the work [email protected] to make derivative works to make commercial use of the work Document sources, updates and translations: Under the following conditions http://free-electrons.com/articles/java Attribution. You must give the original author credit. Corrections, suggestions, contributions and Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under a license translations are welcome! identical to this one. For any reuse or distribution, you must make clear to others the license terms of this work. Any of these conditions can be waived if you get permission from the copyright holder. Your fair use and other rights are in no way affected by the above. License text: http://creativecommons.org/licenses/by-sa/2.5/legalcode Java in Embedded Linux Systems © Copyright 2004-2007, Free Electrons, Creative Commons Attribution-ShareAlike 2.5 license http://free-electrons.com Sep 15, 2009 2 Best viewed with... This document is best viewed with a recent PDF reader or with OpenOffice.org itself! Take advantage of internal
    [Show full text]
  • Gorazd Porenta Razvoj Mobilne Aplikacije Za Uporabo Na Razlicnih
    UNIVERZA V LJUBLJANI FAKULTETA ZA RACUNALNIˇ STVOˇ IN INFORMATIKO Gorazd Porenta Razvoj mobilne aplikacije za uporabo na razliˇcnihoperacijskih sistemih mobilnih naprav DIPLOMSKO DELO NA UNIVERZITETNEM STUDIJUˇ Mentor: doc. dr. Rok Rupnik Ljubljana, 2012 Rezultati diplomskega dela so intelektualna lastnina Fakultete za raˇcunalniˇstvo in informatiko Univerze v Ljubljani. Za objavljanje ali izkoriˇsˇcanjerezultatov diplom- skega dela je potrebno pisno soglasje Fakultete za raˇcunalniˇstvo in informatiko ter mentorja. Besedilo je oblikovano z urejevalnikom besedil LATEX. IZJAVA O AVTORSTVU diplomskega dela Spodaj podpisani Gorazd Porenta, z vpisno ˇstevilko 24940104, sem avtor diplomskega dela z naslovom: Razvoj mobilne aplikacije za uporabo na razliˇcnihoperacijskih sistemih mo- bilnih naprav S svojim podpisom zagotavljam, da: • sem diplomsko delo izdelal samostojno pod mentorstvom doc. dr. Roka Rupnika • so elektronska oblika diplomskega dela, naslov (slov., angl.), povzetek (slov., angl.) ter kljuˇcnebesede (slov., angl.) identiˇcnis tiskano obliko diplomskega dela • soglaˇsamz javno objavo elektronske oblike diplomskega dela v zbirki "Dela FRI". V Ljubljani, dne 12.6.2012 Podpis avtorja: Zahvala Zahvaljujem se starˇsem,ki so mi ˇstudijomogoˇcili,me spodbujali in podpirali. Hvala gre mentorju doc. dr. Roku Rupniku za pomoˇcin nasvete pri izdelavi diplomske naloge. Zahvala gre tudi prijateljem in sodelavcem, ki so sodelovali pri testiranju aplikacije. Najveˇcjazahvala gre Tini, ki me je spodbujala in mi pomagala pri oblikovanju diplomskega dela. Kazalo Povzetek 1 Abstract 2 1 Uvod 3 2 Opredelitev pojmov in uporabljenih tehnologij 5 2.1 Mobilna naprava . .5 2.2 Mobilna aplikacija . .7 2.3 HTML . .8 2.4 CSS . .8 2.5 JavaScript . .9 2.6 Spletna storitev . .9 3 Razvoj mobilnih aplikacij 10 3.1 Mobilni operacijski sistemi .
    [Show full text]
  • Secure Control Applications in Smart Homes and Buildings
    Die approbierte Originalversion dieser Dissertation ist in der Hauptbibliothek der Technischen Universität Wien aufgestellt und zugänglich. http://www.ub.tuwien.ac.at The approved original version of this thesis is available at the main library of the Vienna University of Technology. http://www.ub.tuwien.ac.at/eng Secure Control Applications in Smart Homes and Buildings DISSERTATION submitted in partial fulfillment of the requirements for the degree of Doktor der Technischen Wissenschaften by Mag. Dipl.-Ing. Friedrich Praus Registration Number 0025854 to the Faculty of Informatics at the Vienna University of Technology Advisor: Ao.Univ.Prof. Dipl.-Ing. Dr.techn. Wolfgang Kastner The dissertation has been reviewed by: Ao.Univ.Prof. Dipl.-Ing. Prof. Dr. Peter Palensky Dr.techn. Wolfgang Kastner Vienna, 1st October, 2015 Mag. Dipl.-Ing. Friedrich Praus Technische Universität Wien A-1040 Wien Karlsplatz 13 Tel. +43-1-58801-0 www.tuwien.ac.at Erklärung zur Verfassung der Arbeit Mag. Dipl.-Ing. Friedrich Praus Hallergasse 11/29, A-1110 Wien Hiermit erkläre ich, dass ich diese Arbeit selbständig verfasst habe, dass ich die verwen- deten Quellen und Hilfsmittel vollständig angegeben habe und dass ich die Stellen der Arbeit – einschließlich Tabellen, Karten und Abbildungen –, die anderen Werken oder dem Internet im Wortlaut oder dem Sinn nach entnommen sind, auf jeden Fall unter Angabe der Quelle als Entlehnung kenntlich gemacht habe. Wien, 1. Oktober 2015 Friedrich Praus v Kurzfassung Die zunehmende Integration von heterogenen Gebäudeautomationssystemen ermöglicht gesteigerten Komfort, Energieeffizienz, verbessertes Gebäudemanagement, Nachhaltig- keit sowie erweiterte Anwendungsgebiete, wie beispielsweise “Active Assisted Living” Szenarien. Diese Smart Homes und Gebäude sind heutzutage als dezentrale Systeme rea- lisiert, in denen eingebettete Geräte Prozessdaten über ein Netzwerk austauschen.
    [Show full text]
  • Android Cours 1 : Introduction `Aandroid / Android Studio
    Android Cours 1 : Introduction `aAndroid / Android Studio Damien MASSON [email protected] http://www.esiee.fr/~massond 21 f´evrier2017 R´ef´erences https://developer.android.com (Incontournable !) https://openclassrooms.com/courses/ creez-des-applications-pour-android/ Un tutoriel en fran¸caisassez complet et plut^ot`ajour... 2/52 Qu'est-ce qu'Android ? PME am´ericaine,Android Incorporated, cr´e´eeen 2003, rachet´eepar Google en 2005 OS lanc´een 2007 En 2015, Android est le syst`emed'exploitation mobile le plus utilis´edans le monde (>80%) 3/52 Qu'est-ce qu'Android ? Cinq couches distinctes : 1 le noyau Linux avec les pilotes ; 2 des biblioth`equeslogicielles telles que WebKit/Blink, OpenGL ES, SQLite ou FreeType ; 3 un environnement d'ex´ecutionet des biblioth`equespermettant d'ex´ecuterdes programmes pr´evuspour la plate-forme Java ; 4 un framework { kit de d´eveloppement d'applications ; 4/52 Android et la plateforme Java Jusqu'`asa version 4.4, Android comporte une machine virtuelle nomm´eeDalvik Le bytecode de Dalvik est diff´erentde celui de la machine virtuelle Java de Oracle (JVM) le processus de construction d'une application est diff´erent Code Java (.java) ! bytecode Java (.class/.jar) ! bytecode Dalvik (.dex) ! interpr´et´e L'ensemble de la biblioth`equestandard d'Android ressemble `a J2SE (Java Standard Edition) de la plateforme Java. La principale diff´erenceest que les biblioth`equesd'interface graphique AWT et Swing sont remplac´eespar des biblioth`equesd'Android. 5/52 Android Runtime (ART) A` partir de la version 5.0 (2014), l'environnement d'ex´ecution ART (Android RunTime) remplace la machine virtuelle Dalvik.
    [Show full text]
  • Projectcodemeter Users Manual
    ProjectCodeMeter ProjectCodeMeter Pro Software Development Cost Estimation Tool Users Manual Document version 202000501 Home Page: www.ProjectCodeMeter.com ProjectCodeMeter Is a professional software tool for project managers to measure and estimate the Time, Cost, Complexity, Quality and Maintainability of software projects as well as Development Team Productivity by analyzing their source code. By using a modern software sizing algorithm called Weighted Micro Function Points (WMFP) a successor to solid ancestor scientific methods as COCOMO, COSYSMO, Maintainability Index, Cyclomatic Complexity, and Halstead Complexity, It produces more accurate results than traditional software sizing tools, while being faster and simpler to configure. Tip: You can click the icon on the bottom right corner of each area of ProjectCodeMeter to get help specific for that area. General Introduction Quick Getting Started Guide Introduction to ProjectCodeMeter Quick Function Overview Measuring project cost and development time Measuring additional cost and time invested in a project revision Producing a price quote for an Existing project Monitoring an Ongoing project development team productivity Evaluating development team past productivity Evaluating the attractiveness of an outsourcing price quote Predicting a Future project schedule and cost for internal budget planning Predicting a price quote and schedule for a Future project Evaluating the quality of a project source code Software Screen Interface Project Folder Selection Settings File List Charts Summary Reports Extended Information System Requirements Supported File Types Command Line Parameters Frequently Asked Questions ProjectCodeMeter Introduction to the ProjectCodeMeter software ProjectCodeMeter is a professional software tool for project managers to measure and estimate the Time, Cost, Complexity, Quality and Maintainability of software projects as well as Development Team Productivity by analyzing their source code.
    [Show full text]
  • Industrial Iot: from Embedded to the Cloud Using Java from Beginning to End
    Industrial IoT: from Embedded to the Cloud using Java from Beginning to End © Copyright Azul Systems 2015 Simon Ritter Deputy CTO, Azul Systems @speakjava © Copyright Azul Systems 2019 1 Industrial IoT © Copyright Azul Systems 2019 Industrial Revolutions Industry 1.0 Industry 2.0 Industry 3.0 Industry 4.0 st 1st mechanical loom 1st assembly line 1 programmable Industrial (1784) (1913) logic controller Internet (1969) End of Start of Start of Start of 18th Century 20th Century 1970s 21st Century © Copyright Azul Systems 2019 3 Industrial Automation The traditional segment drivers haven’t changed... Competitive edge Production throughput Enhanced quality Manufacturing visibility and control Energy and Government & Safety Business resource management standards compliance and security integration © Copyright Azul Systems 2019 5 Industrial Automation Smart devices are key Local intelligence and Flexible networking Performance and scalability decision-making Security Remote management Functions become services © Copyright Azul Systems 2019 6 Industrial IoT: Edge to Cloud Intelligent Gateways Cloud Edge Devices • Minimal compute power • Complex event filtering • Data collection • Raw event filtering • Basic analytics • Analytics • Programmable control • Offline/online control • Machine Learning • Mesh networking • Command & control © Copyright Azul Systems 2019 Why Java For Industrial IoT? © Copyright Azul Systems 2019 Java Embedded Platform ▪ Hardware and Operating System independence ▪ Local database, web-enabled, event aware ▪ Optimised for
    [Show full text]
  • Jamaicavm 8.1 — User Manual
    JamaicaVM 8.1 — User Manual Java Technology for Critical Embedded Systems aicas GmbH 2 JamaicaVM 8.1 — User Manual: Java Technology for Critical Embedded Systems JamaicaVM 8.1, Release 1. Published May 31, 2017. c 2001–2017 aicas GmbH, Karlsruhe. All rights reserved. No licenses, expressed or implied, are granted with respect to any of the technology described in this publication. aicas GmbH retains all intellectual property rights associated with the technology described in this publication. This publication is intended to assist application developers to develop applications only for the Jamaica Virtual Machine. Every effort has been made to ensure that the information in this publication is accurate. aicas GmbH is not responsible for printing or clerical errors. Although the information herein is provided with good faith, the supplier gives neither warranty nor guarantee that the information is correct or that the results described are obtainable under end-user conditions. aicas GmbH phone +49 721 663 968-0 Emmy-Noether-Straße 9 fax +49 721 663 968-99 76131 Karlsruhe email [email protected] Germany web http://www.aicas.com aicas incorporated phone +1 203 359 5705 6 Landmark Square, Suite 400 Stamford CT 06901 email [email protected] USA web http://www.aicas.com aicas GmbH phone +33 1 4997 1762 9 Allee de l’Arche fax +33 1 4997 1700 92671 Paris La Defense email [email protected] France web http://www.aicas.com This product includes software developed by IAIK of Graz University of Technology. This software is based in part on the work of the Independent JPEG Group.
    [Show full text]