A Flexible Java-on-Chip Solution Eine flexible Java-on-Chip Lösung

2008 ◽  
Vol 50 (5) ◽  
Author(s):  
Sascha Uhrig

AbstractJava is getting more and more important in embedded systems. However, there are several obstacles like the poor real-time capability, the garbage collection, and the need for a sufficient runtime environment. We present the jamuth Java framework which provides a multithreaded Java processor as IP core for programmable logic devices (FPGAs), a runtime system, and the necessary offline tools. The framework provides CDC compatibility and real-time support for embedded systems as well as a powerful garbage collection.

2016 ◽  
Vol 16 (5-6) ◽  
pp. 950-965
Author(s):  
JAN WIELEMAKER ◽  
KERI HARRIS

AbstractThe runtime system of dynamic languages such as Prolog or Lisp and their derivatives contain asymbol table, in Prolog often called theatom table. A simple dynamically resizing hash-table used to be an adequate way to implement this table. As Prolog becomes fashionable for 24 × 7 server processes we need to deal with atom garbage collection and concurrent access to the atom table. Classical lock-based implementations to ensure consistency of the atom table scale poorly and a stop-the-world approach to implement atom garbage collection quickly becomes a bottle-neck, making Prolog unsuitable for soft real-time applications. In this article we describe a novel implementation for the atom table using lock-free techniques where the atom-table remains accessible even during atom garbage collection. Relying only on CAS (Compare And Swap) and not on external libraries, the implementation is straightforward and portable.


Sign in / Sign up

Export Citation Format

Share Document