aicas technology
Moving to Realtime Java for
Embedded Systems
Dr. James Hunt
CEO, aicas GmbH
Temadag om Java, Sept. 2013
2JamaicaVM: Realtime Response for Java Applications
Barriers to Using Java in ES
Business Uncertainties
cost
commercial st...
3JamaicaVM: Realtime Response for Java Applications
Business Issues
Cost
Effect on Product Cost
Porting Costs
External Dep...
4JamaicaVM: Realtime Response for Java Applications
Resource Requirements
Processor
32 bit or 64 bit
speed depends on appl...
5JamaicaVM: Realtime Response for Java Applications
Attributes
Performance
500usec periodic thread w/ allocation on Linux ...
6JamaicaVM: Realtime Response for Java Applications
JamaicaVM Platform Support
RTOS
VxWorks
Linux/RT
QNX
WinCE
Windows XP....
7JamaicaVM: Realtime Response for Java Applications
Porting
Processor dependencies
No JIT
base AOT uses platform C compile...
8JamaicaVM: Realtime Response for Java Applications
Operating System
Is an RTOS Required? Yes for
scheduling
network
file ...
9JamaicaVM: Realtime Response for Java Applications
Drivers
Device access
JNI w/ C or C++ (SWIG)
RawMemory—access control ...
10JamaicaVM: Realtime Response for Java Applications
JamaicaVM Build Process
Optimization
JamaicaVM
Builder
JamaicaVM
Buil...
Upcoming SlideShare
Loading in …5
×

Moving to Realtime Java for Embedded Systems af James Hunt, Aicas

276
-1

Published on

Oplægget blev holdt ved InfinIT-arrangementet "Temadag: Java for real-time and embedded systems", der blev afholdt hhv. den 12. og 13. september 2013. Læs mere om arrangementet her: http://infinit.dk/dk/arrangementer/tidligere_arrangementer/temadag_java_for_real-time_and_embedded_systems.htm

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
276
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Moving to Realtime Java for Embedded Systems af James Hunt, Aicas

  1. 1. aicas technology Moving to Realtime Java for Embedded Systems Dr. James Hunt CEO, aicas GmbH Temadag om Java, Sept. 2013
  2. 2. 2JamaicaVM: Realtime Response for Java Applications Barriers to Using Java in ES Business Uncertainties cost commercial stability support Techniclal Uncertainties size and speed device access OS issues how does it work in practice
  3. 3. 3JamaicaVM: Realtime Response for Java Applications Business Issues Cost Effect on Product Cost Porting Costs External Dependencies Licensing risk Support risk Obsolecense risk
  4. 4. 4JamaicaVM: Realtime Response for Java Applications Resource Requirements Processor 32 bit or 64 bit speed depends on application graphics? computational intesity? Memory 512k has been done from 4M w/o graphics, 20M w/ graphics depends on application
  5. 5. 5JamaicaVM: Realtime Response for Java Applications Attributes Performance 500usec periodic thread w/ allocation on Linux w/ Preempt patch, Intel Core Duo, 5usec jitter Similar result on VxWork, PowerPC Size minimum for HelloWorld >1Mbyte depends on application complexity Java Versions J2SE 1.6 & J2ME 1.4 both w/ RTSJ
  6. 6. 6JamaicaVM: Realtime Response for Java Applications JamaicaVM Platform Support RTOS VxWorks Linux/RT QNX WinCE Windows XP... Integrity ThreadX Solaris Processors PowerPC SH4 ARM Atom x86 IA-64
  7. 7. 7JamaicaVM: Realtime Response for Java Applications Porting Processor dependencies No JIT base AOT uses platform C compiler Operating System easier for POSIX like systems harder for others Graphics most costly leverage standard libraries
  8. 8. 8JamaicaVM: Realtime Response for Java Applications Operating System Is an RTOS Required? Yes for scheduling network file system boad support package Is an RTOS required? Yes for hard realtime No for soft realtime
  9. 9. 9JamaicaVM: Realtime Response for Java Applications Drivers Device access JNI w/ C or C++ (SWIG) RawMemory—access control and data registers Happenings—manage interrupts Interrupt Service Routined Networking ethernet CAN etc.
  10. 10. 10JamaicaVM: Realtime Response for Java Applications JamaicaVM Build Process Optimization JamaicaVM Builder JamaicaVM Builder Java Byte Code Interpreted Executable Profiled Executable JamaicaVM Builder Profile Optimized Executable IDE Source Code Javac Test on Host (JamacaVM Pluggin) Test on Target Test Performance

×