Service Coroner: a Diagnostic Tool for Locating Osgi Stale References

Total Page:16

File Type:pdf, Size:1020Kb

Service Coroner: a Diagnostic Tool for Locating Osgi Stale References Service Coroner: A Diagnostic Tool for Locating OSGi Stale References Kiev Gama and Didier Donsez University of Grenoble, LIG laboratory, ADELE team {firstname.lastname}@imag.fr Abstract Moreover, the OSGi specification applies service- The OSGi Services Platform provides a framework oriented architecture principles to Java application for the dynamic deployment of Java-based design. The concept of service is important to decouple applications. It allows to install, to activate, to update the application modules in order to dynamically and to uninstall application modules without the need substitute or update individual modules without to restart the host Java Virtual Machine. However, the affecting the entire system. mishandling of such OSGi dynamics may result in a The OSGi has proved to be successful in embedded problem described in the OSGi specification as Stale systems. Its adoption in the software industry is References, which happen when services from continuously growing as more applications tend to take uninstalled modules are still referenced by active code. advantage of its pluggable architecture. One of the well It may lead to inconsistencies in application’s known cases is the Eclipse project [2] that since behavior, state and memory. Currently, there are no version 3.0 has migrated to the OSGi platform. A new tools available to address this issue. This paper trend in desktop applications [2] and server presents a diagnostics tool named ServiceCoroner that middlewares [3] (i.e., JOnAS, Weblogic, WebSphere) detects such problems. It helps developers and shows the growing adoption of OSGi as a modular administrators diagnose OSGi applications running layer for either commercial or open-source Java-based either in production or test environments. We have products. validated this tool on two open source applications Programming a modularized application that targets that run on OSGi: a JavaEE application server and a OSGi is a task that is apparently easy but developers multi-protocol instant messenger application. The must be aware of some particularities. It is critical to results of the experiments show stale references in correctly handle framework events such as arrival those applications. (registration) and departure (unregistration) of services and bundles. Most of the time, application developers that are not experienced with OSGi dynamics provide 1. Introduction code that may retain service references even when the providing bundles are gone. The OSGi R4 specification The OSGi [1] framework introduced the concept of refers to this problem as stale references . Identifying module system that was missing in the Java platform. stale references is not easy since current Java This concept tackles the problem of the “Classpath diagnostic tools do not handle this OSGi specific hell” encountered when applications are deployed problem. (installed or updated) on production sites (i.e., end-user This paper presents the results of an experiment PCs or host servers). Applications can take advantage made with a custom built tool which allows the analysis of a “hot deploy” capability, where modules (called and detection of stale references. The objective of the bundles in OSGi nomenclature) can be added, updated tool is not to solve the stale references problem, but to or removed without restarting the JVM. In addition, identify it and help developers and administrators of each bundle is provided with its own class loader. This OSGi based applications ensure that bundles provide provides various advantages including the possibility of behavior well suited to OSGi dynamics. The tool was having independent versions of the same class, and validated with the analysis of two open source allowing the unloading of classes when a module is applications constructed on top of OSGi: updated or uninstalled. JOnAS 5.0.1 [4] and SIP Communicator [5], both of which have presented stale references after the update of some bundles. The remainder of this paper is structured in the that the garbage collection will take place correctly and following order: Section 2 details OSGi and the stale that no bundle will utilize inconsistent services. references problem. Section 3 describes our tool, Figures 1 through 3 illustrate a common scenario of ServiceCoroner, and the techniques used to develop it. life cycle events that result in a stale reference being In section 4, the analysis of two OSGi applications is kept. In Figure 1 normal interaction between the detailed. Section 5 presents related work, and at last service provider and the service requester can be seen conclusions and future work are presented in section 6. on Bundles 1 and 2, respectively. Bundle 2 consumes a service whose implementation is provided by an 2. OSGi and the Stale References Problem instance of the class A from Bundle 1. If Bundle 1 is stopped, the framework will The OSGi framework provides each bundle with a automatically notify the unregistering of all services BundleContext object that gives access to the provided by that bundle. In our scenario, Bundle 2 is underlying framework. A bundle can register and supposed to release references to the service instance retrieve services through the BundleContext. In order of class A upon the unregistration of A’s corresponding to retrieve a service instance in OSGi it is first service reference. This results in having no references necessary to know its ServiceReference , which is towards objects of Bundle 1, permitting these objects service metadata that informs what bundle provides the to be collected by the JVM. service, what are the service properties, and so forth. However, Figure 2 shows that this procedure was The BundleContext provides a getServiceReference not performed by Bundle 2, which keeps holding a method that takes the name of the service interface and reference to a service instance from a stopped bundle an optional property filter. (Bundle 1). It shows that Bundle 2 did not handle the A bundle that provides a service may choose to departure of the service reference that provides the A directly provide the service instance 1 or to provide a service instance. Bundle 2 is still able to perform ServiceFactory that will be responsible of creating method calls on the object A that possibly can lead to service instances. The ServiceFactory makes it possible inconsistent information or to an inconsistent state to provide an individual service instance per client since such method calls are being made on an object bundle. That is, if two bundles request the same service from a stopped bundle. For example, network they will get different instances of the very same type. connections or file streams could have been closed by After being loaded by OSGi, each bundle will have the stopped bundle, causing errors on the object A. an individual class loader to load resources (e.g., The retention of the service instance will prevent the images, text files) and classes provided by the bundle. A object of being garbage collected. As a consequence, This, combined with a class import and export policy, A’s class loader and all class types (java.lang.Class) it gives a certain level of isolation between bundles. This has loaded will also hang in memory. mechanism provides an additional namespace level In the continuation of the described scenario, the making it possible to have multiple versions of classes Bundle 1 has been updated during runtime. A new class with identical absolute names but provided by different loader has been assigned to that bundle, and a new bundles (note that this is not related with the instance of A (now from a different class loader) has ServiceFactory described before). been registered. Figure 3 shows that Bundle 2 kept using the stale reference and did not take into 2.2. The Stale References Problem consideration the arrival of the new service provided by the updated Bundle 1. Although OSGi provides individual class loaders In the described scenario the objects from old per bundle, bundles are not completely isolated from Bundle 1 (the service instance A v1.0, its class loader each other. One bundle may use a service that is and all java.lang.Class instances loaded by that class provided by another, and consequently originated from loader) will only be eligible to garbage collection if a different class loader. Whenever a bundle becomes Bundle 2 is stopped. However, if Bundle 2 is restarted unavailable all other bundles that use its classes must the same situation is likely to happen again upon the release all references to objects provided by the same sequence of events. departed bundle. This procedure is necessary to ensure This is not only limited to bundle updates. If, for example, a bundle provider of a given service instead 1 of updated is just stopped or uninstalled, it can never For the sake of clarity this paper refers to service reference as the ServiceReference object, and service instance as an be released from memory if a similar situation as in instance provided by the BundleContext via the Figure 1 happens. getService(ServiceReference) method. Bundles isolation is compromised by the bad handling of service departure. The OSGi specification indicates practices to minimize the problems but they still are error prone. An alternative to avoid such problems is to utilize mechanisms that provide transparent handling of service location, like the ServiceTracker. However, in that approach, clients can still keep references to service instances no matter how these references were retrieved. In addition to transparent location handling, other mechanisms like OSGi declarative services, Service Binder [14], iPOJO [6] and Spring Dynamic Modules [15] deal seamlessly with the releasing of service instances and service references upon service unregistration. Figure 1. Normal scenario These last two options are the ideal way to provide a more complete handling of service dynamics, consequently avoiding stale references. On the other hand, stale references can still be found in other patterns.
Recommended publications
  • Tampering with Java Card Exceptions the Exception Proves the Rule
    Tampering with Java Card Exceptions The Exception Proves the Rule Guillaume Barbu1,2, Philippe Hoogvorst1 and Guillaume Duc1 1Institut Mines-T´el´ecom / T´el´ecom ParisTech, CNRS LTCI, D´epartement COMELEC, 46 rue Barrault, 75634 Paris Cedex 13, France 2Oberthur Technologies, Innovation Group, Parc Scientifique Unitec 1 - Porte 2, 4 all´ee du Doyen George Brus, 33600 Pessac, France Keywords: Java Card, Java Exceptions, Software Attacks, Fault Attacks, Combined Attacks. Abstract: Many publications have studied the various issues concerning Java Cards security regarding software and/or hardware attacks. However, it is surprising to notice that the particular case of exception-related mechanisms has not been tackled yet in the literature. In this article, we fill this gap by proposing several attacks against Java Card platforms based on both exception handling and exception throwing. In addition, this study allows us to point out that a weakness known by the web-oriented Java community for more than a decade still passes the different steps of the state-of-the-art Java Card application deployment process (namely conversion and verification). This appears all the more important as the Java Card 3 Connected Edition specifications have started to bridge the gap between the two worlds that are Java Cards and Java web services. 1 INTRODUCTION that no pointer arithmetic is used in a Java Card ap- plication and that objects behave according to a given The Java Card technology is, as of today, the world’s contract defined by their Java class, superclasses and leading technology in the smart card field. This lead- interfaces.
    [Show full text]
  • Jonas 5 Configuration Guide
    JOnAS 5 Configuration guide JOnAS Team ( ) - September 2009 - Copyright © OW2 Consortium 2007-2009 This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license,visit http://creativecommons.org/licenses/by-sa/2.0/deed.en or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. Table of Contents 1. Introduction .............................................................................................................. 1 1.1. Configuring JOnAS ......................................................................................... 1 1.2. Terminology .................................................................................................. 1 1.2.1. Server or JOnAS instance ...................................................................... 1 1.2.2. Service ............................................................................................... 1 1.2.3. Container ............................................................................................ 1 1.2.4. Domain .............................................................................................. 1 1.2.5. Master server ....................................................................................... 2 1.2.6. Cluster ................................................................................................ 2 2. Configuring a JOnAS instance ..................................................................................... 3 2.1. Configuring JOnAS Environment
    [Show full text]
  • 9. Platforms – Java ME and Osgi
    Department of Computer Science Institute for System Architecture, Chair for Computer Networks Application Development for Mobile and Ubiquitous Computing 9. Platforms – Java ME and OSGi Dr. Ing. Thomas Springer Technische Universität Dresden Chair of Computer Networks JAVA MICRO EDITION Java Micro Edition - Overview Creation of Stand-alone applications for resource limited devices • Native programming limits portability and reusability • Java is a widely deployed platform • supports portability and reusability • issues with resource-limited devices for Java SE Sun divides today the Java-technology into 3 domains: • Java SE (Standard Edition) ⇨ Desktop applications • Java ME (Micro Edition) ⇨ Resource restricted systems • Java EE (Enterprise Edition) ⇨ Server-side solution Goals of Java ME • Portability of applications for large range of resource-limited devices • same (Java) programming model • Comfortable development of applications for mobile devices Fast growing distribution of Java Micro Edition • Number of Java ME-enabled mobile phones: o 2002: 31 Mio. o 2003: 88 Mio. o 2008: 592 Mio. (prognosis) Dr. Thomas Springer Application Development - Lecture 9. Platforms - Java ME and OSGi 3 Application Domains of Java ME Designed for devices with restrictions concerning processor power, memory, display size and networking capabilities Heterogeneous requirements for Java ME devices • Personal, mobile, networked devices o Mobile phones, PDA`s, Smart phones, pagers o Characteristics:• Simple User Interfaces • Memory capacity: 128 – 512 kb • Wireless network connection (low bandwidth) • Commonly used, stationary, networked devices o Set-Top-Boxes, video-phones, entertainment and navigation systems… o Characteristics:• More complex user interfaces • Memory capacity: 2 – 16 MB • Broadband network connection over TCP/IP Dr. Thomas Springer Application Development - Lecture 9.
    [Show full text]
  • 1 Introduction
    User Customization of Virtual Network Interfaces with U-Net/SLE David Opp enheimer and Matt Welsh fdavidopp,[email protected] Decemb er 9, 1997 Abstract We describ e U-Net/SLE Safe Language Extensions, a user-level network interface architecture which enables p er-application customization of communication semantics through downloading of user extension applets, imple- mented as Java class les, into the network interface. This architecture p ermits application s to safely sp ecify co de to b e executed within the NI on message transmission and reception. By leveraging the existing U-Net mo del, applications may implement proto col co de at the user level, within the NI, or using some combination of the two. Our current implementation, using the Myricom Myrinet interface and a small Java Virtual Machine subset, obtains go o d p erformance, allowing host communication overhead to b e reduced and improving the overlap of communication and computation during proto col pro cessing. 1 Intro duction Recentwork in high-sp eed interconnects for distributed and parallel computing architectures, particularly workstation clusters, has fo cused on developmentofnetwork interfaces enabling low-latency and high-bandwidth communication. Often, these systems bypass the op erating system kernel to achieve high p erformance; however the features and functionality provided by these di erent systems vary widely. Several systems, such as U-Net [26] and Active Messages [27], virtualize the network interface to provide multiple applications on the same host with direct, protected network access. Other systems, including Fast Messages [16] and BIP [17], eschew sharing the network in lieu of design simplicity and high p erformance.
    [Show full text]
  • Java Card 2.0 Programming Concepts
    Java Card 2.0 Programming Concepts October 15, 1997 Revision 1.0 Final ©1997 Sun Microsystems, Inc. Java Card 2.0 Programming Concepts ©1997 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California 94303-4900 U.S.A. This document is protected by copyright. Sun Microsystems, Inc. ("SUN") hereby grants to you a fully-paid, nonexclusive, nontransferable, perpetual, worldwide, limited license (without the right to sublicense), under Sun's intellectual property rights that are essential to use this specification ("Specification"), to use the Specification for the sole purpose of developing applications or applets that may interoperate with implementations of the Specification developed pursuant to a separate license agreement with SUN. RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure by the U.S. Government is subject to restrictions of FAR 52.227-14(g)(2)(6/87) and FAR 52.227-19(6/87), or DFAR 252.227-7015(b)(6/95) and DFAR 227.7202-3(a). This specification contains the proprietary information of Sun and may only be used in accordance with the license terms set forth above. SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SPECIFICATION, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON- INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SPECIFICATION OR ITS DERIVATIVES. TRADEMARKS Sun, the Sun logo, Sun Microsystems, JavaSoft, JavaBeans, JDK, Java, HotJava, HotJava Views, Java Card, Java WorkShop, the Java Coffee Cup logo, and Visual Java are trademarks or registered trademarks of Sun Microsystems, Inc.
    [Show full text]
  • Java EE  Java Platforms  Java Card: Smart Card Version  Java ME (Micro Edition): Embedded Systems, E.G
    Enterprise Application Development An Introduction to Java Enterprise Edition Shahid Beheshti University Sadegh Aliakbary Outline Enterprise Application Development Web Programming Java Enterprise Edition Architectures Patterns Standards Technologies 2 Sadegh Aliakbary JavaEE Static Web Pages HTML Files Browser Web Server www.abc.com/index.html index.html 3 Sadegh Aliakbary JavaEE Dynamic Web Pages Form Web Server Browser Submit Form 4 Sadegh Aliakbary JavaEE Web Application Definition: A web application is an application delivered to users from a web server over a network such as the Internet Only needs a web browser to use the application (Thin Client) Software application that is coded in a browser-supported language Common web applications, e.g., webmail, Google Docs, Portals, … 5 Sadegh Aliakbary JavaEE Web Applications Layers Logical Partitioning Layering Common layering in web applications Presentation Layer Business logic Layer Data (management/source) Layer These layers are purely abstractions These layers may not correspond to physical distribution (tiers) 6 Sadegh Aliakbary JavaEE Presentation Layer Handling the interactions between the user and the software GUI HTML based browser The user interface of the application Can be made up client side & server side codes It communicates with other layers by outputting results to the browser/client software and all other layers What is this layer in Facebook? 7 Sadegh Aliakbary JavaEE Business Logic Layer The work that the application needs to do for the domain
    [Show full text]
  • Oracle® Java Micro Edition Software Development Kit Developer's Guide Release 3.2 for Windows E24265-04
    Oracle® Java Micro Edition Software Development Kit Developer's Guide Release 3.2 for Windows E24265-04 September 2012 This document describes how to use the Java ME SDK plugin for NetBeans. Oracle Java Micro Edition Software Development Kit, Release 3.2 for Windows E24265-04 Copyright © 2009, 2012, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs.
    [Show full text]
  • Full-Graph-Limited-Mvn-Deps.Pdf
    org.jboss.cl.jboss-cl-2.0.9.GA org.jboss.cl.jboss-cl-parent-2.2.1.GA org.jboss.cl.jboss-classloader-N/A org.jboss.cl.jboss-classloading-vfs-N/A org.jboss.cl.jboss-classloading-N/A org.primefaces.extensions.master-pom-1.0.0 org.sonatype.mercury.mercury-mp3-1.0-alpha-1 org.primefaces.themes.overcast-${primefaces.theme.version} org.primefaces.themes.dark-hive-${primefaces.theme.version}org.primefaces.themes.humanity-${primefaces.theme.version}org.primefaces.themes.le-frog-${primefaces.theme.version} org.primefaces.themes.south-street-${primefaces.theme.version}org.primefaces.themes.sunny-${primefaces.theme.version}org.primefaces.themes.hot-sneaks-${primefaces.theme.version}org.primefaces.themes.cupertino-${primefaces.theme.version} org.primefaces.themes.trontastic-${primefaces.theme.version}org.primefaces.themes.excite-bike-${primefaces.theme.version} org.apache.maven.mercury.mercury-external-N/A org.primefaces.themes.redmond-${primefaces.theme.version}org.primefaces.themes.afterwork-${primefaces.theme.version}org.primefaces.themes.glass-x-${primefaces.theme.version}org.primefaces.themes.home-${primefaces.theme.version} org.primefaces.themes.black-tie-${primefaces.theme.version}org.primefaces.themes.eggplant-${primefaces.theme.version} org.apache.maven.mercury.mercury-repo-remote-m2-N/Aorg.apache.maven.mercury.mercury-md-sat-N/A org.primefaces.themes.ui-lightness-${primefaces.theme.version}org.primefaces.themes.midnight-${primefaces.theme.version}org.primefaces.themes.mint-choc-${primefaces.theme.version}org.primefaces.themes.afternoon-${primefaces.theme.version}org.primefaces.themes.dot-luv-${primefaces.theme.version}org.primefaces.themes.smoothness-${primefaces.theme.version}org.primefaces.themes.swanky-purse-${primefaces.theme.version}
    [Show full text]
  • Application Programming Notes, Java Card 3 Platform, Classic Edition
    Application Programming Notes Java Card™ 3 Platform Classic Edition Sun Microsystems, Inc. www.sun.com July 2009 Copyright © 2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved. Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent applications in the U.S. and in other countries. U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. This distribution may include materials developed by third parties. Sun, Sun Microsystems, the Sun logo, Java, Solaris, Java Card, Mozilla, Netscape, Javadoc, JDK, JVM, NetBeans and Servlet are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the U.S. and other countries. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd. The Adobe logo is a trademark or registered trademark of Adobe Systems, Incorporated. Products covered by and information contained in this service manual are controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S.
    [Show full text]
  • GROOVY Name: Groovy Description: Documentation and Web Site of the Groovy Scripting Language for the JVM
    Space Details Key: GROOVY Name: Groovy Description: Documentation and web site of the Groovy scripting language for the JVM. Creator (Creation Date): bob (Apr 15, 2004) Last Modifier (Mod. Date): glaforge (Apr 12, 2005) Available Pages • Home • Advanced Usage Guide • Ant Task Troubleshooting • BuilderSupport • Compiling Groovy • Compiling With Maven2 • Design Patterns with Groovy • Abstract Factory Pattern • Adapter Pattern • Bouncer Pattern • Chain of Responsibility Pattern • Composite Pattern • Decorator Pattern • Delegation Pattern • Flyweight Pattern • Iterator Pattern • Loan my Resource Pattern • Null Object Pattern • Pimp my Library Pattern • Proxy Pattern • Singleton Pattern • State Pattern • Strategy Pattern • Template Method Pattern • Visitor Pattern • Dynamic language beans in Spring • Embedding Groovy • Influencing class loading at runtime • Make a builder • Mixed Java and Groovy Applications • Optimising Groovy bytecodes with Soot Document generated by Confluence on Sep 20, 2007 16:02 Page 1 • Refactoring with Groovy • Introduce Assertion • Replace Inheritance with Delegation • Security • Writing Domain-Specific Languages • Articles • Community and Support • Contributing • Mailing Lists • Related Projects • User Groups • Cookbook Examples • Accessing SQLServer using groovy • Alternate Spring-Groovy-Integration • Batch Image Manipulation • Compute distance from Google Earth Path (in .kml file) • Convert SQL Result To XML • Embedded Derby DB examples • Embedding a Groovy Console in a Java Server Application • Executing External
    [Show full text]
  • Java (Software Platform) from Wikipedia, the Free Encyclopedia Not to Be Confused with Javascript
    Java (software platform) From Wikipedia, the free encyclopedia Not to be confused with JavaScript. This article may require copy editing for grammar, style, cohesion, tone , or spelling. You can assist by editing it. (February 2016) Java (software platform) Dukesource125.gif The Java technology logo Original author(s) James Gosling, Sun Microsystems Developer(s) Oracle Corporation Initial release 23 January 1996; 20 years ago[1][2] Stable release 8 Update 73 (1.8.0_73) (February 5, 2016; 34 days ago) [±][3] Preview release 9 Build b90 (November 2, 2015; 4 months ago) [±][4] Written in Java, C++[5] Operating system Windows, Solaris, Linux, OS X[6] Platform Cross-platform Available in 30+ languages List of languages [show] Type Software platform License Freeware, mostly open-source,[8] with a few proprietary[9] compo nents[10] Website www.java.com Java is a set of computer software and specifications developed by Sun Microsyst ems, later acquired by Oracle Corporation, that provides a system for developing application software and deploying it in a cross-platform computing environment . Java is used in a wide variety of computing platforms from embedded devices an d mobile phones to enterprise servers and supercomputers. While less common, Jav a applets run in secure, sandboxed environments to provide many features of nati ve applications and can be embedded in HTML pages. Writing in the Java programming language is the primary way to produce code that will be deployed as byte code in a Java Virtual Machine (JVM); byte code compil ers are also available for other languages, including Ada, JavaScript, Python, a nd Ruby.
    [Show full text]
  • Towards Automated Software Evolution of Data-Intensive Applications
    City University of New York (CUNY) CUNY Academic Works Dissertations, Theses, and Capstone Projects CUNY Graduate Center 6-2021 Towards Automated Software Evolution of Data-Intensive Applications Yiming Tang The Graduate Center, City University of New York How does access to this work benefit ou?y Let us know! More information about this work at: https://academicworks.cuny.edu/gc_etds/4406 Discover additional works at: https://academicworks.cuny.edu This work is made publicly available by the City University of New York (CUNY). Contact: [email protected] Towards Automated Software Evolution of Data-intensive Applications by Yiming Tang A thesis submitted to the Graduate Faculty in Computer Science in partial fulfillment of the requirements for the degree of Doctor of Philosophy, The City University of New York. 2021 ii © 2021 Yiming Tang All Rights Reserved iii Towards Automated Software Evolution of Data-intensive Applications by Yiming Tang This manuscript has been read and accepted for the Graduate Faculty in Computer Science in satisfaction of the dissertation requirement for the degree of Doctor of Philosophy. May 14, 2021 Raffi Khatchadourian Date Chair of Examining Committee May 14, 2021 Ping Ji Date Executive Officer Supervisory Committee: Raffi Khatchadourian, Advisor Subash Shankar Anita Raja Mehdi Bagherzadeh THE CITY UNIVERSITY OF NEW YORK Abstract Towards Automated Software Evolution of Data-intensive Applications by Yiming Tang Advisor: Raffi Khatchadourian Recent years have witnessed an explosion of work on Big Data. Data-intensive appli- cations analyze and produce large volumes of data typically terabyte and petabyte in size. Many techniques for facilitating data processing are integrated into data- intensive applications.
    [Show full text]