World Library  
Flag as Inappropriate
Email this Article

Juice (JVM)

Article Id: WHEBN0009691923
Reproduction Date:

Title: Juice (JVM)  
Author: World Heritage Encyclopedia
Language: English
Subject: Juice (disambiguation), List of Java virtual machines
Publisher: World Heritage Encyclopedia

Juice (JVM)

JUICE is a Java ME experimental Java Virtual Machine written in C according to the Sun Microsystems specifications. The Juice JVM, designed for real-time Java, was specifically developed to run on the NUXI operating system. The most relevant features of Juice are related to the structure for the heap memory, to the object allocation policy and to the garbage collector used.


  • Heap memory 1
  • Real-time object allocation policy 2
  • The Pay-per-Use garbage collector 3
  • Authors 4
  • References 5

Heap memory

In Juice, all the available heap memory is shared in "chunks" of pre-fixed size. The memory unit used is the "d-word" (that stands for "double-word"). The actual default size of the chunks is fixed to 64 d-words. The free memory chunks are organized in a linked list, while the chunks occupied by Java objects are connected to each other through a hierarchical structure in a way that resembles the representation of the UNIX file system.

Real-time object allocation policy

The object allocation policy in Juice is strictly connected to the structure used to represent heap memory. Because of this structure, it becomes possible to allocate (and deallocate) Java objects in a time that is dependent only on the size of the object itself (predictability).

The Pay-per-Use garbage collector

The proposed garbage collector is based on a non-copying tracing collector that performs memory reclamation only when a new object has to be allocated. The name of the garbage collector is because the cost paid by the mutator, in terms of wasted time for collector execution, is proportional to the size of the object to allocate.


Garbage Collector, Heap Memory Management: Corrado Santoro, Roberto Aloi

All the rest: Corrado Santoro


  • A. Corsaro, C. Santoro. Optimizing JVM Object Operations to Improve WCET Predictability, article presented to the 4th International Workshop on Worst-Case Execution Time, 2004.
  • A. Corsaro, C. Santoro. A C++ Native Interface for Interpreted JVMs. In 1st Intl. JTRES Workshop (JTRES’03). LNCS 2889, Springer, 2003.
  • R. Aloi. (Italian)Memory Management and Garbage Collection in Real-time Java, thesis in Computer Engineering (University of Catania, Italy), 2005.
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.