DOI QR코드

DOI QR Code

simpleRTJ 임베디드 자바가상기계의 ROMizer 분석 연구

Analysis of the ROMizer of simpleRTJ Embedded Java Virtual Machine

  • 발행 : 2003.10.01

초록

전용 목적의 임베디드 자바 시스템은 일반적으로 프로그램을 이루는 모든 클래스 파일들이 호스트 컴퓨터 상의 ROMiaer에 의해 하나의 ROM 이미지로 변형되고, ROM에 적재된 이미지를 임베디드 시스템의 자바가상기계가 실행하는 모델을 따른다. 제한된 크기의 메모리 자원과 낮은 성능의 프로세서를 갖는 임베디드 시스템에서는 이 ROM 이미지를 어떤 형식으로 정의하는가 하는 것이 매우 중요하다. 그 형식에 따라 원래의 클래스 파일보다 휠씬 적은 크기의 메모리 만으로도 전체 클래스 정보를 담을 수 있게 되며, 또한 클래스 내부 정보에 신속하게 접근할 수 있게 되기 때문이다. 본 논문에서는 simpleRTJ라고하는 임베디드 자바가상기계에서 구현된 ROMizer와, 특히 그것이 생성하는 RON 이미지의 형식에 대해 분석해보았다. 분석 결과 ROMizer는 원래 클래스 파일에 비해 절반 이상의 메모리 절감 효과를 얻게 하며, 최대 6배 이상의 속도로 클래스 내부 정보를 접근할 수 있게 하는 것으로 밝혀졌다. 이 연구의 결과는 ROM 기반의 임베디드 자바 시스템을 위한 보다 효율적인 ROMizer 의 개발에 적용되어질 수 있을 것으로 기대된다.

Dedicated-purpose embedded Java system usually takes such model that all class files are converted into a single ROM Image by the ROMizer in the host computer, and then the Java virtual machine in the embedded system executes the image. Defining the ROM Image is a very important issue for embedded system with limited memory resource and low-performance processor since the format directly influences on the memory usage and effectiveness of accessing entries in classes. In this paper we have analyzed the ROMizer and especially the format of the ROM image implemented in the simpleRTJ embedded Jana virtual machine. The analysis says that memory space can be saved up to 50% compared to the original class file and access speed exceeds up to six times with the use of the ROMizer. The result of this study will be applied to develop a more efficient ROMizer for a ROM-based embedded Java system.

키워드

참고문헌

  1. S. Helal, 'Pervasive Java,' IEEE Peroasioe Computing, pp.82-85, Jan-Mar., 2002 https://doi.org/10.1109/MPRV.2002.993147
  2. D. Mulchandani, 'Java for Embedded Systems,' IEEE Intemet Computing, pp.30-39, May-June, 1998 https://doi.org/10.1109/4236.683797
  3. RTJ Computing, simpleRTJ : A Small Footprint Java VM for Embedded and Consumer Devices, http//www.rtjcom
  4. T. Lindholm and F Yellin, The java Virtual Machine Specification, Second Edition, Addison-Wesley, 1999
  5. D. Antonioli and M. Pilz, 'Analysis of the Java Class File Format,' Technical Report, Dept of Computer Sci., University of Zurich, April, 1998
  6. 강두진, 맹혜선, 이영민, 한탁돈, 김신덕, '내장형 자바 시스템을 위한 클래스 파일의 프리레졸루션', 한국정보과학회 추계학술발표회, pp.385-387, 1999
  7. 양희재, ' simpleRTJ 자바가상기계의 메모리 관리 기법', 한국해양정보통신학회 춘계학술대회, pp.237-240, 2003
  8. 양희재, '임베디드 자바가상기계를 위한 고정 크기 메모리 할당 및 해제', 대한전자공학회 하계학술대회, 제26권 제1호, pp.1335-1338, 2003
  9. 양희재, '임베디드 자바 시스템을 위한 핵심 클래스 파일에서 상수풀 항목의 해석', 한국정보처리학회 춘계학술대회, 제10권 제1호, pp.459-462, 2003
  10. 양희재, 'simpleRTJ 클래스 파일의 형식 분석', 한국해양정보통신학회 2002 추계학술대회, 제6권 제2호, pp.373-377, 2002