METHOD AND APPARATUS FOR REDUCING OPERATION OF GARBAGE COLLECTION

    公开(公告)号:US20230033562A1

    公开(公告)日:2023-02-02

    申请号:US17880104

    申请日:2022-08-03

    Abstract: A method, performed by an electronic device, includes: based on a target event associated with an application being initiated, transmitting initiation of the target event to a runtime environment of the application, and after transmitting the initiation of the target event to the runtime environment, based on a memory value allocated to the application exceeding a threshold value for determining whether to initiate a garbage collection, skipping performing the garbage collection and updating a bound memory value, defined in the garbage collection, and the threshold value.

    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.

    ELECTRONIC DEVICE FOR CONTROLLING FUNCTION OF PROCESS CORRESPONDING TO ONE OR MORE MESSENGER DATA SETS AND METHOD THEREOF

    公开(公告)号:US20250138917A1

    公开(公告)日:2025-05-01

    申请号:US19002702

    申请日:2024-12-27

    Abstract: An electronic device according to an embodiment may comprise a display, a memory for storing instructions, and a processor. The electronic device may, on the basis of execution of a binder driver, store one or more messenger data sets for executing a function of a target process by using a source process, in a buffer area of the memory assigned to the target process. The electronic device may temporarily refrain from starting execution of the function of the target process by using the binder driver, in a first state in which a threshold quantity or more of the one or more messenger data sets are stored in the buffer area. The electronic device may control the display to display a visual object indicating information about the source process.

    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 FOR RECOVERING FILE AND OPERATION METHOD OF ELECTRONIC DEVICE

    公开(公告)号:US20240241799A1

    公开(公告)日:2024-07-18

    申请号:US18618711

    申请日:2024-03-27

    CPC classification number: G06F11/1469

    Abstract: An electronic device may comprise memory for storing a file obtained by compressing a file including at least one module as a package, and a processor, wherein the processor: generates an uncompressed file by decompressing the compressed file; stores the generated uncompressed file in the memory; during booting of the electronic device, identifies whether deformation has occurred in the uncompressed file; and in response to the occurrence of deformation in the uncompressed file, performs a recovery operation for the uncompressed file. A method comprises: generating an uncompressed file by decompressing a file obtained by compressing a file including at least one module as a package; storing the generated uncompressed file in a memory; during booting of the electronic device, identifying whether deformation has occurred in the uncompressed file; and in response to the occurrence of deformation in the uncompressed file, performing a recovery operation for the uncompressed file.

    METHOD AND APPARATUS FOR IMPROVING RUNTIME PERFORMANCE AFTER APPLICATION UPDATE IN ELECTRONIC DEVICE

    公开(公告)号:US20210072971A1

    公开(公告)日:2021-03-11

    申请号:US17004192

    申请日:2020-08-27

    Abstract: Disclosed are a method and an apparatus for improving runtime performance when an application installed in an electronic device is updated. An electronic device according to various embodiments may include: a communication circuit configured to perform radio communication; at least one processor operatively connected to the communication circuit; and a memory operatively connected to the processor, wherein the memory stores instructions which, when executed, cause the processor to: detect updating of an application; obtain an update file for updating the application based on detecting updating of the application; obtain first information previously recorded in association with the application and second information related to the update file of the application while installing the application; and produce, based on matching performed between the first information and the second information, a new profile to be used in the application after the updating.

Patent Agency Ranking