 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
l |
The Java
gPortability Mythh
|
|
|
|
• |
Write once,
debug everywhere
|
|
|
l |
Optimizations
not gPortableh
|
|
|
|
• |
traditional
optimizations
|
|
|
|
• |
object-oriented
optimization (CHA + inlining)
|
|
|
l |
JIT itself
non-portable
|
|
|
|
• |
hard to
retarget (e.g., JIT on VPP)
|
|
|
l |
Difficult to
Customize
|
|
|
|
• |
E.g.,
Embedded apps ® Need Memory Efficiency
|
|
l |
Lack of
gPerformance Portabilityh
|
|
|
|
• |
Optimizations
may not work
|
|
|
l |
What do we
do? ® Use
Reflection
|
|