Computing Stack Maps with Interfaces

نویسندگان

  • Frédéric Besson
  • Thomas P. Jensen
  • Tiphaine Turpin
چکیده

Lightweight bytecode verification uses stack maps to annotate Java bytecode programs with type information in order to reduce the verification to type checking. This paper describes an improved bytecode analyser together with algorithms for optimizing the stack maps generated. The analyser is simplified in its treatment of base values (keeping only the necessary information to ensure memory safety) and enriched in its representation of interface types, using the Dedekind-MacNeille completion technique. The computed interface information allows to remove the dynamic checks at interface method invocations. We prove the memory safety property guaranteed by the bytecode verifier using an operational semantics whose distinguishing feature is the use of untagged 32-bit values. For bytecode typable without sets of types we show how to prune the fix-point to obtain a stack map that can be checked without computing with sets of interfaces i.e., lightweight verification is not made more complex or costly. Experiments on three substantial test suites show that stack maps can be computed and correctly pruned by an optimized (but incomplete) pruning algorithm.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Efficiency Evaluation of Cray XT Parallel IO Stack

PetaScale computing platforms need to be coupled with efficient IO subsystems that can deliver commensurate IO throughput to scientific applications. In order to gain insights into the deliverable IO efficiency on the Cray XT platform at ORNL, this paper presents an in-depth efficiency evaluation of its parallel IO software stack. Our evaluation covers the performance of a variety of parallel I...

متن کامل

MobiCom 2009 Poster: DNIS - A Middleware for Dynamic Multiple Network Interfaces Scheduling

Ahmed Saeed Karim Habak Mahmoud Fouad Moustafa Youssef {ahmed.saeed, karim.habak, mahmoud.fouad, mayoussef}@nileu.edu.eg Wireless Intelligent Networks Center, Nile University, Smart Village, Egypt Many of today’s mobile devices are equipped with multiple network interfaces that can be used to connect to the Internet, including Ethernet, WiFi, 3G, and Bluetooth. However, current operating system...

متن کامل

UPnP AV Architecture - Generic Interface Design and Java Implementation

This paper describes the UniRo Universal Plug and Play (UPnP) Audio Video (AV) stack that was implemented in Java programming language. The UniRo UPnP AV Stack is a software component that can be used to develop AV applications (MediaServer, MediaRenderer, and AV Control Points). The AV interfaces form the core of this component. They provide a typing layer to access AV devices and AV services....

متن کامل

Information Rich GIS Dissemination in Disconnected Environments

Information-rich maps are today rendered from powerful back-end servers. For instance, Google maps or Bing maps are web services that are resident on compute capable and energy hungry server class machines. Unfortunately, access to such Internet-resident web services is infeasible in disconnected environments such as a natural disaster. However, it is important to be able to disseminate map bas...

متن کامل

Lecture 2 : January 25 Lecturer : Prashant Shenoy Scribe : Huaizu Jiang

In this approach the distributed application is partitioned into layers. Each layer can communicate with the immediate layer above it and the immediate layer below it. Layer i is able to communicate only with layer i+1 and layer i−1 via some interfaces. This approach is used in network protocal stack, for example, TCP/IP stack. For distributed systems, the layered design is used for many real-w...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008