DOI QR코드

DOI QR Code

A Study on Method to Complement Speed of the Reference Counting Smart Pointer

참조 카운팅 스마트 포인터의 속도 보완 방법 연구

  • Received : 2012.12.28
  • Accepted : 2013.01.14
  • Published : 2013.04.30

Abstract

Recent C ++ developers take advantage of the many advantages in memory management in the development of reference counting smart pointer. However, these have a problem more than the normal pointer. In this paper, we not only complement these by reference counting smart pointer which pointing a large dynamic object to perform a delete operation to improve performance by creating a thread for the delete operation but also Generalize all data types, we propose a convenient way to operate.

최근의 C++ 개발자들은 개발 시 메모리 관리에 장점을 지닌 참조 카운팅 방식의 스마트 포인터를 많이 활용한다. 그러나 스마트 포인터는 빠른 응답성을 요구하는 시스템에서는 일반 포인터에 비해 효율적이지 못한 동작 방식 때문에 문제가 생길 수 있다. 본 논문에서는 이러한 점을 보완하여 참조 카운팅 방식 스마트 포인터가 가리키는 객체에 대한 삭제 작업을 수행 시 삭제 작업을 위한 쓰레드를 생성하여 성능을 개선하는 방법을 제안 하였다. 또한 이를 일반화 시켜서 모든 자료 형에서 동작시키기 편리한 방법을 제안하였다.

Keywords

References

  1. 유서희, 강동현, 이권용, 박성용, "학습기반의 동적 쓰레드 풀 기법을 적용한 웹 서버의 설계 및 구현", 한국 정보과학회 논문지, 제16권, 제1호, pp.23-34, 2010.1 .
  2. 임우섭, 한환수, 이상원, "동적 순환 메모리 할당 기법을 이용한 메모리 누수 검출", 정보과학회논문지 : 소프트웨어 및 응용, 제37권, 제10호, pp.760-767, 2010.10
  3. ANDERI ALEXANDRESCU, "Modern C++ Design", INFOBOOK, pp.262-282, 2003.
  4. Scott Meyers, "Effective C++", PEARSON, pp.121, 2006
  5. A Proposal to Add General Purpose Smart Pointers to the Library Technical Report, http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2003/n1450.html.
  6. 윤성우, "C++ 프로그래밍", FREELEC, pp.451, 2007.
  7. 공동환, "뇌를 자극하는 C++ STL", 한빛미디어, pp.91-123, 2012.
  8. 윤성우, "열혈 TCP/IP 소켓 프로그래밍", ORANGE MEDIA, pp.392-395, 2011.