• Home
  • Search
  • File-based sharing for dynamically compiled code on Dalvik virtual machine
  • Cite Icon9
  • https://doi.org/10.1109/compsym.2010.5685462Copy DOI Icon

File-based sharing for dynamically compiled code on Dalvik virtual machine

  • Dec 1, 2010
  • Yao-Chih Huang +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Memory footprint is considered as an important design issue for embedded systems. Sharing dynamically compiled code among virtual machines can reduce memory footprint and recompilation overhead. On the other hand, sharing writable native code may cause security problems, due to support of native function call such as Java Native Interface (JNI). We propose a native-code sharing mechanism that ensures the security for Dalvik virtual machine (VM) on the Android platform. Dynamically generated code is saved in a file and is shared with memory mapping when other VMs need the same code. Protection is granted by controlling of file writing permissions. To improve the security, we implement a daemon process, named Query Agent, to control all accesses to the native code and maintain all the information of traces, which are the units of the compilation in the Dalvik VM. We implement our code sharing mechanism on Android version 2.1 system, and experiment on an arm-based system. We get 45% code-cache size reduction and 9% performance improvement from eliminating recompilation overhead.

Similar Papers
  • Conference Article

An Implementation of Interactive Mobile Terminal Research based on the Android Platform Ccar

  • Jan 01, 2015
  • Feilong Xu
  • Conference Article
  • Citations14

System-wide profiling and optimization with virtual machines

  • Jan 01, 2012
  • Shih-Hao Hung +3
  • Book Chapter

Fundamentals

  • Jan 01, 2021
  • James Stevenson
  • Research Article
  • Citations21

Bringing java's wild native world under control

  • Nov 01, 2013
  • ACM Transactions on Information and System Security
  • Mengtao Sun +4
  • Conference Article
  • Citations3

Too Quiet in the Library: An Empirical Study of Security Updates in Android Apps' Native Code

  • May 01, 2021
  • Sumaya Almanee +3
  • Conference Article
  • Citations2

Privacy-preserving Virtual Machine

  • Dec 07, 2015
  • Tianlin Li +3
  • Conference Article
  • Citations3

Performance analysis of Android underlying virtual machine in mobile phones

  • Sep 01, 2012
  • Ehsan Azimzadeh +2
  • Research Article
  • Citations8

AOT vs. JIT: impact of profile data on code quality

  • Jun 21, 2017
  • ACM SIGPLAN Notices
  • April W Wade +2
  • Research Article
  • Citations5

Octree Representation Improves Data Fidelity of Cardiac CT Images and Convolutional Neural Network Semantic Segmentation of Left Atrial and Ventricular Chambers.

  • Sep 29, 2021
  • Radiology. Artificial intelligence
  • Kunal Gupta +7
  • Research Article
  • Citations9

AndroScope: An Insightful Performance Analyzer for All Software Layers of the Android-Based Systems

  • Apr 01, 2013
  • ETRI Journal
  • Myeongjin Cho +3
  • Conference Article
  • Citations1

An Ahead-of-Time Compiler System for the IoT-Cloud Virtual Machine

  • Jul 01, 2018
  • Juho Jeong +2
  • Conference Article
  • Citations18

Catenation and specialization for Tcl virtual machine performance

  • Jun 07, 2004
  • Benjamin Vitale +1
  • Conference Article
  • Citations3

Performance Improvement by Controlling VM Migration between Edge Nodes in a Multi-Stage Information Processing System

  • Sep 16, 2022
  • Takumi Anjiki +2
  • Conference Article
  • Citations12

SeLance: Secure Load Balancing of Virtual Machines in Cloud

  • Aug 01, 2016
  • Qian Sun +3
  • Research Article
  • Citations1

Executing native Java code in R: an approach based on a local server.

  • Sep 28, 2020
  • PeerJ. Computer science
  • Mathieu Fortin
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.