Browse > Article

Estimating Size of Class Area Using Probe Classes in Java Virtual Machine  

Yang, Hee-Jae (Department of Computer Engineering, Kyungsung University)
Publication Information
Abstract
Class area is a portion of memory where the constants, fields, and codes of the classes loaded into the Java virtual machine are kept. Knowing the size of the class area is very important especially for embedded Java system with limited memory resources. This paper induces a formula which makes it possible estimate the size of the area. The formula needs some constant values specific to target JVM implementation. We also show that these values can be found using some simple probe classes. An experimental result is included in this paper to confirm the correctness of our approach.
Keywords
Java virtual machine; Class file; Memory; Embedded system;
Citations & Related Records
연도 인용수 순위
  • Reference
1 J. Ramanujam, Jinpyo Hong, Mahmut Kandemir, and A. Narayan, 'Reducing memory requirements of nested loops for embedded systems', Proc of the 38th Conference on Design Automation, June 2001   DOI
2 D. Rayside, E. Mamas, and E. Hans, 'Compact Java Binaries for Embedded Systems', Proc of the 9th NRC/IBM Centre for Advanced Studies Conf. (CASCON '99), 1999, pp.1-14
3 William Pugh, 'Fixing the Java memory model', Proc of the ACM 1999 Conference on Java Grande, June 1999   DOI
4 Jeremy Manson, William Pugh, and Sarita V. Adve, 'The Java memory model', Proc of the 32nd ACM SIGPLAN-SIGACT Sysposium on Principles of Programming Languages, January 2005   DOI
5 Peter Grun, Florin Balasa, and Nikil Dutt, 'Memory size estimation for multimedia applications', Proc of the 6th International Workshop on Hardware/Software Codesign, March 1998
6 Jin-Soo Kim and Yarsun Hsu, 'Memory system behavior of Java programs: methodology and analysis', Proc of the 2000 ACM SIGMETRICS International Conference on Measurement and Modeling of Computer Systems, June 2000   DOI
7 L. R. Clausen, U. P. Schultz, C. Consel, and G. Muller, 'Java Bytecode Compression for Low-End Embedded Systems', ACM Transaction on Programming Languages and Systems, vol.22, no.3, May 2000, pp. 471-489   DOI   ScienceOn
8 RTJ Computing, simpleRTJ: A Small Footprint Java VM for Embedded and Consumer Devices, http://www.rtjcom.com
9 Florin Balasa, Francky Catthoor, and Hugo de Man, 'Exact evaluation of memory size for multi-dimensional signal processing systems', Proc of the 1993 IEEE/ACM International Conference on Computer-Aided Design, November 1993   DOI
10 Ying Zhao and Sharad Malik, 'Exact memory size estimation for array computations without loop unrolling', Proc of the 36th ACM/IEEE Conference on Design automation, June 1999   DOI
11 G. Nutt, Operating Systems: A Modem Perspective, 2nd ed., Addison-Wesley, 1997
12 GNU, Unix Manual Page for Size (1)
13 T. Lindholm and F. Yellin, The Java Virtual Machine Specification, Addison-Wesley, 1997
14 J. Engel, Programming for the Java Virtual Machine, Addison-Wesley, 1999