실시간 클래스 생성에 의한 해석적 자바 코드의 성능 향상 기법

A Performance Tuning Technique for Interpretable Java Code by Realtime Class Generation

  • 김윤호 (안동대학교 전자정보산업학부)
  • 발행 : 2002.09.01

초록

본 논문에서는 실시간에 많은 회수의 해석처리를 요하는 문제에 대한 자바 코드 성능 향상을 위한 실시간 클래스 생성 방식을 제안한다. 먼저 해석 처리한 결과를 실시간에 동적으로 자바 소스로 생성하고 컴파일한 뒤 메모리에 적재시키며, 이후에는 생성된 클래스의 메소드 호출에 의해 계산이 처리되도록 한다. 이렇게 함으로써 매번 해석에 따른 시간 부담을 감소시켜 반복 계산의 성능의 향상시켰다.

This paper presents a realtime class generation technique for Java performance tuning of enormously repeated codes needing interpreting. Based on interpreted results, a Java source program for a Java class including a method with the corresponding function is generated, compiled, and loaded on the memory. And then and next time, the newly generated method is called for processing the original codes. As the results, overall times of repetition processing is reduced.

키워드