CLASS UNLOADING METHOD AND ELECTRONIC DEVICE
    11.
    发明公开

    公开(公告)号:EP3693851A1

    公开(公告)日:2020-08-12

    申请号:EP17928527.5

    申请日:2017-10-13

    IPC分类号: G06F9/445 G06F9/455

    摘要: This application provides a class unloading method and an electronic device, and relates to the field of electronic technologies, to dynamically unload a class in an operation process of an application and increase available memory space. A specific solution includes: loading, by an electronic device, n classes after an application is started (201), where n is a positive integer; generating a reference mapping table (202), where the reference mapping table includes a reference relationship between the n classes and m class objects corresponding to the n classes and a dependency relationship between the m class objects corresponding to the n classes, the dependency relationship is used to represent an interdependency mapping relationship between different class objects, and m is a positive integer greater than or equal to n; and unloading a first class of the n classes based on the reference mapping table in an operation process of the application (203).

    GARBAGE DATA CLEANING METHOD AND EQUIPMENT
    12.
    发明公开

    公开(公告)号:EP3680786A1

    公开(公告)日:2020-07-15

    申请号:EP17928462.5

    申请日:2017-10-13

    IPC分类号: G06F16/00

    摘要: This application provides a garbage data scrubbing method and a device, and relates to the field of terminals, to resolve a problem that delivering a discard message in a file system transaction affects a user foreground operation. The method includes: obtaining an IO busy/idle status of a terminal at a current moment, where the IO busy/idle status includes a busy state and an idle state (S301); and if the IO busy/idle status of the terminal at the current moment is the idle state, delivering a discard message to a storage device (S302), where the discard message includes an initial address and a size of to-be-scrubbed physical space in the storage device, and the discard message is used to unbind a mapping relationship between a physical address of the to-be-scrubbed physical space and a corresponding logical address.