Electronic device a method of compiling in an electronic device and a method of operating an electronic device

The present invention relates to an electronic device capable of performing memory allocation to different types of memory devices. The electronic device comprises a compiler, a runtime module, and a memory subsystem. The compiler compiles source code associated with execution of an application into...

Full description

Saved in:
Bibliographic Details
Main Authors YEOM HEON YOUNG, KIM HWA JUNG
Format Patent
LanguageEnglish
Korean
Published 15.01.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The present invention relates to an electronic device capable of performing memory allocation to different types of memory devices. The electronic device comprises a compiler, a runtime module, and a memory subsystem. The compiler compiles source code associated with execution of an application into intermediate representation, generates target code based on the intermediate representation, and calculates performance costs in case of memory allocation of one or more objects associated with the application based on profiling information including context information of the one or more objects. The runtime module executes the application based on the target code. The memory subsystem is connected to the compiler and includes a first and a second memory device having different data retention characteristics. The compiler allocates the one or more objects to one between the first and the second memory device based on the performance costs of the one or more objects. 전자 장치는 컴파일러, 런타임 모듈 및 메모리 서브 시스템을 포함한다. 상기 컴파일러는 어플리케이션의 실행과 관련된 소스 코드를 중간 표현으로 컴파일하고, 상기 중간 표현에 기초하여 타겟 코드를 생성하고, 상기 어플리케이션과 관련된 하나 이상의 객체들 각각의 컨텍스트 정보를 포함하는 프로파일링 정보에 기초하여 상기 하나 이상의 객체들 각각의 메모리 할당 시의 성능 비용을 산출한다. 상기 런타임 모듈은 상기 타겟 코드에 기초하여 상기 어플리케이션을 실행시킨다. 상기 메모리 서브 시스템은 상기 컴파일러와 연결되고, 서로 다른 데이터 보유 특성을 가지는 제1 메모리 장치 및 제2 메모리 장치를 포함한다. 상기 컴파일러는 상기 하나 이상의 객체들 각각의 상기 성능 비용에 기초하여 상기 하나 이상의 객체들 각각을 상기 제1 메모리 장치 및 상기 제2 메모리 장치 중 하나에 할당한다.
Bibliography:Application Number: KR20180078122