We present the design and implementation of TinyStore, a persistent, transactional, garbage-collected memory-management system, designed to be called from the Java virtual machine of a Java Card. The system is designed for flash-based implementations of Java Card, a variant of the Java platform for smart cards. In the Java Card platform, objects are persistent by default. The platform supports transactions: a sequence of accesses to objects can be explicitly declared to constitute a transaction. TinyStore supports explicit transactions and atomically executes individual accesses that are not part of transactions; it also supports garbage collection, even on systems with a small constant amount of ram. TinyStore uses a novel approach and specialized data structures to efficiently manage flash memory. We demonstrate its effectiveness by comparing it to a traditional eeprom-based memory management system for Java Cards.
展开▼
机译:我们介绍T iny SC> S tore SC>的设计和实现,T iny SC> S tore SC>是一个持久的事务性垃圾收集内存管理系统,旨在从Java的Java虚拟机中调用它。 Java卡。该系统设计用于Java Card的基于闪存的实现,Java Card是用于智能卡的Java平台的变体。在Java Card平台中,默认情况下对象是持久性的。该平台支持事务:可以显式声明对对象的访问序列以构成事务。 T iny SC> S tore SC>支持显式事务,并自动执行不属于事务一部分的单个访问;它也支持垃圾收集,即使在 ram SC>量很小的系统上也是如此。 T iny SC> S tore SC>使用一种新颖的方法和专门的数据结构来有效地管理闪存。我们通过将其与基于Java的传统 eeprom SC>的内存管理系统进行比较来证明其有效性。
展开▼