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 USING THE SAME

    公开(公告)号:US20220214809A1

    公开(公告)日:2022-07-07

    申请号:US17565907

    申请日:2021-12-30

    Abstract: According to certain embodiments, an electronic device comprises: a memory; and a processor operatively coupled to the memory, wherein the processor is configured to: identify a remaining capacity of the memory, and when the remaining capacity of the memory is less than a specified ratio of a total capacity of the memory, block compilation using a profile of an application, or delete an artifact created through compilation using the profile of the application.

    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 FOR CONFIGURING BRIGHTNESS OF DISPLAY BY USING ILLUMINANCE SENSOR

    公开(公告)号:US20240029667A1

    公开(公告)日:2024-01-25

    申请号:US18474722

    申请日:2023-09-26

    CPC classification number: G09G3/3406 G09G2320/0626 G09G2360/142 G09G2354/00

    Abstract: An electronic device configured to configure brightness of a display by using an illuminance sensor is provided. The electronic device includes acquiring a second front-surface sensing value smaller than a first front-surface sensing value through a first illuminance sensor while the brightness is a first brightness, comparing the second front-surface sensing value with a first rear-surface sensing value detected through a second illuminance sensor, determining, when the second front-surface sensing value is greater than the first rear-surface sensing value, whether a touch input is detected through a designated region of the display, maintaining the brightness at the first brightness when the touch input is detected, and when the touch input is not detected, adjusting the brightness of the display to a value lower than that of the first brightness, based on a first LUT stored in a memory, or maintaining the brightness of the display at the first brightness.

    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 AND METHOD TO AUTOMATICALLY CONTROL THE BRIGHTNESS OF ELECTRONIC DEVICE

    公开(公告)号:US20220223115A1

    公开(公告)日:2022-07-14

    申请号:US17577545

    申请日:2022-01-18

    Abstract: An electronic device according to an embodiment may include a display, a touch sensor, an illuminance sensor configured to generate illuminance information, a memory configured to store brightness data relating the ambient illuminance to brightness of the display, and a processor. The processor may be configured to identify the illuminance information from the illuminance sensor, configure the brightness of the display as first brightness, based on the illuminance information and the brightness data, change the brightness of the display to second brightness, based on a user input, acquire event information for an operation in which the brightness of the display is changed by the user input, reconfigure the brightness data stored in the memory, based on the event information, and determine the brightness of the display according to a brightness value mapped in the reconfigured brightness data to the illuminance information identified by the illuminance sensor.

    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.

    SERVICE OPERATION METHOD AND ELECTRONIC DEVICE SUPPORTING SAME

    公开(公告)号:US20230342209A1

    公开(公告)日:2023-10-26

    申请号:US18343066

    申请日:2023-06-28

    CPC classification number: G06F9/5027

    Abstract: An electronic device including a memory including an application and a plurality of services, and a processor is provided. The processor is configured to register, in a first service among the plurality of services, a service other than the first service among the plurality of services, the service being registered in an inactive state preparing for execution by the application, wherein the first service includes a list in which the service in the inactive state is registered, execute a first application using a second service among the plurality of services, confirm whether the second service is registered in the list in response to a request for the second service of the first application, and switch the second service from the inactive state to an active state, in which the second service can be executed by the application, when it is confirmed that the second service is registered in the list.

    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