advertisement
Login | Register   
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   TIP BANK
Browse DevX
Download the Quote Publisher!
Download the Real-time Trading Engine!
Download the Non-real-time Trading Engine!
Download the Chart App (dist)!
Download the Chart App (extlib)!
Download the Chart App (The Rest)!
Sidebar 1. What Is Real-time?
Sidebar 2. Java RTS Virtual Machine and Solaris 10
Sidebar 3. Limit/Stop Order Trades
Partners & Affiliates
advertisement
advertisement
advertisement
advertisement
 

Java RTS Real-Time Enables Financial Applications

Version 2.0 of Sun's Java Real-time System (Java RTS) contains a real-time garbage collector and RTSJ-compliant programming models. Find out how it can lend predictability and deterministic behavior to financial applications. 


advertisement
tandard Java has some deficiencies that make it less than ideal in the real-time world (see Sidebar 1. What Is Real-Time?). For one, the garbage collector (an internal JVM thread that reclaims old objects to free space on the heap) can run at any time, for any length of time, thereby introducing latency and non-determinism to your application. However, the garbage collector (GC) is not the only culprit in a standard Java application. The just-in-time (JIT) compiler, which optimizes your Java code for the machine it's running on, can be invoked at any time, even for code that has previously been optimized (JIT-compiled).

Further, Java SE does not typically honor thread priorities as specified in your code. For instance, a thread that you create and specify to run at highest priority will likely not run at the highest priority in the system. Therefore, other application threads can preempt your Java application at any time, leading to further non-determinism. The Java Real-time System (Java RTS) from Sun is meant to resolve these issues.


It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com.
Already a member?



advertisement