Copyright © 2004, Aonix
57
Comparative Performance: Java vs. C
•Run-Time Safety Checks
–Null pointer checking
–Array index checking
–Stack size checking and auto-resize
•Java and OO Language Features
–Synchronization, Exceptions
–Virtual method table-based indirection to method calls
•Automated Memory Management
–Heap-based object allocation
–Automatic garbage collection