Title of article :
“Slimming” a Java virtual machine by way of cold code removal and optimistic partial program loading
Author/Authors :
Gregor Wagner، نويسنده , , Andreas Gal، نويسنده , , Wolfgang-Michael Franz، نويسنده ,
Issue Information :
ماهنامه با شماره پیاپی سال 2011
Pages :
17
From page :
1037
To page :
1053
Abstract :
Embedded systems provide limited storage capacity. This limitation conflicts with the demands of modern virtual machine platforms, which require large amounts of library code to be present on each client device. These conflicting requirements are often resolved by providing specialized embedded versions of the standard libraries, but even these stripped down libraries consume significant resources.We present a solution for “always connected” mobile devices based on a zero footprint client paradigm. In our approach, all code resides on a remote server. Only those parts of applications and libraries that are likely to be needed are transferred to the mobile client device. Since it is difficult to predict statically which library parts will be needed at run time, we combine static analysis, opportunistic off-target linking and lazy code loading to transfer code with a high likelihood of execution ahead of time while the other code, such as exception code, remains on the server and is transferred only on demand. This allows us to perform not only dead code elimination, but also aggressive elimination of unused code.The granularity of our approach is flexible from class files all the way down to individual basic blocks. Our method achieves total code size reductions of up to 95%.
Keywords :
Cold code removal , Just-in-time compilation , Embedded connected devices , Java Virtual Machine
Journal title :
Science of Computer Programming
Serial Year :
2011
Journal title :
Science of Computer Programming
Record number :
1080220
Link To Document :
بازگشت