ELECTRONIC DEVICE AND OPERATING METHOD THEREOF

    公开(公告)号:US20210303320A1

    公开(公告)日:2021-09-30

    申请号:US17263591

    申请日:2019-04-25

    Abstract: Various embodiments of the present invention relate to a method for managing a memory in a Java execution environment, and an electronic device for performing same, and an electronic device may comprise a processor and a memory electrically connected to the processor, wherein: the memory is configured to store multiple Java application programs, and stores instructions that, when executed, cause the processor to execute a virtual machine configured to execute at least one Java application stored in the memory; and when generation of an object is detected during execution of the Java application, the virtual machine executed by the processor generates a reference for the generated object, identifies an application, which has generated the object by a threshold or more, on the basis of the generated reference, and provides information on the identified application to the processor. Other embodiments may also be possible.

    ELECTRONIC DEVICE AND METHOD FOR MANAGING MEMORY OF ELECTRONIC DEVICE

    公开(公告)号:US20230236744A1

    公开(公告)日:2023-07-27

    申请号:US18191423

    申请日:2023-03-28

    CPC classification number: G06F3/0626 G06F3/0653 G06F3/0673

    Abstract: According to an embodiment, an electronic device includes: at least one processor and a memory configured to store instructions that can be executed by the processor, wherein the processor may be configured to: monitor information about the storage space of the memory and usage histories of a plurality of objects executed by the processor, determine a target object, of which the compile scheme is to be changed, among the plurality of objects based on at least one of the information and the usage histories; and increase the free storage space of the memory by changing the compile scheme of the target object.

Patent Agency Ranking