CN108536537B - A kind of process resource recovery method and device - Google Patents
A kind of process resource recovery method and device Download PDFInfo
- Publication number
- CN108536537B CN108536537B CN201810272737.7A CN201810272737A CN108536537B CN 108536537 B CN108536537 B CN 108536537B CN 201810272737 A CN201810272737 A CN 201810272737A CN 108536537 B CN108536537 B CN 108536537B
- Authority
- CN
- China
- Prior art keywords
- work
- progress
- resource
- list
- quoting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5022—Mechanisms to release resources
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Factory Administration (AREA)
Abstract
The invention discloses a kind of process resource recovery method and device, the method includes: host process maintenance work process resource information, and the progress of work resource information includes the quoting resource information of the progress of work;When host process judges that the progress of work is in off working state, the quoting resource information of the progress of work described in the progress of work resource information is deleted, Garbage Collector is called to recycle resource corresponding to the quoting resource information of the progress of work.The present invention can effectively solve the problems, such as that resource can not discharge for a long time, and resource is avoided to be occupied for a long time.
Description
Technical field
The present invention relates to Internet technical field more particularly to a kind of process resource recovery methods and device.
Background technique
In the Multiprocessing system of shared resource (including memory and processing capacity), it may appear that after individual process collapses
The related resource of this process can not recycle or recycle the very slow problem of speed, this problem can further result in system resource utilization
The low problem of rate, for example, collapse process resource it is occupied can not be utilized, other processes can not apply for new resource etc..
This is solved the problems, such as using following three kinds of modes in the prior art:
Mode one applies for that the process of resource is responsible for discharging resource;
Mode two, the last one process exited are responsible for discharging resource;
Mode three uses the reference count between process.
In mode one, when the process exception of application resource exits, will lead to resource can not discharge, even with mode two
Will appear resource can not discharge for a long time, the problem of system resource anxiety.
In mode two, resource release is slow, it is necessary to can be carried out resource release until all processes all exit, this can undoubtedly lead
It causes a large amount of system resources to be occupied for a long time, is a kind of wasting of resources of system level.
In mode three, can not process resource circular reference problem, cause resource that can not discharge.For example, resource A reference money
Source B, resource B quote resource A again, then the reference count of two resources is never 0, cause resource that can not discharge.
In the prior art the shortcomings that includes:
One, under special circumstances, such as process is surprisingly collapsed, and resource can not be recovered.
Two, useless resource cannot discharge for a long time.
Three, under normal circumstances, some resources can not discharge, serious to limit the usage mode of shared resource.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of process resource recovery method and devices.
Process resource recovery method provided by the invention, comprising:
Host process maintenance work process resource information, the progress of work resource information include the quoting resource of the progress of work
Information;
When host process judges that the progress of work is in off working state, deletes and work described in the progress of work resource information
The quoting resource information of process calls Garbage Collector to recycle resource corresponding to the quoting resource information of the progress of work.
Above-mentioned process resource recovery method also has the following characteristics that
The progress of work resource information includes the quoting resource information of progress of work list and each progress of work, described
Progress of work list includes progress of work mark, and the quoting resource information includes the quoting resource list of the progress of work.
Above-mentioned process resource recovery method also has the following characteristics that
The host process maintenance work process resource information includes one of following methods:
One, starting notice is received from the progress of work, knows the mark and quoting resource list of the progress of work newly started, it will
The progress of work list is added in the mark of the progress of work of the new starting, in the quoting resource information of the progress of work
Record the quoting resource list of the progress of work;
Two, timing scan progress of work list detects whether the progress of work being newly added, if so, determining this new addition
The progress of work be the progress of work newly started, update the progress of work resource information, determine in the progress of work list
The mark for the progress of work being newly added determines the quoting resource information of the progress of work of the new addition.
Above-mentioned process resource recovery method also has the following characteristics that
The method that the host process judges that the progress of work is in off working state is one of following methods:
One, it is received from the progress of work and determines that this progress of work is in off working state after exiting request;
Two, the corresponding progress of work of mark that timing scan progress of work list detects each progress of work whether there is, such as
Fruit is not present, and determines that the progress of work is in off working state.
Above-mentioned process resource recovery method also has the following characteristics that
The quoting resource information for calling Garbage Collector to recycle the progress of work includes: that Garbage Collector is called to make
The quoting resource list that the progress of work is recycled with Memory recycle algorithm, using the quoting resource list of the progress of work as
The topological starting point of the Memory recycle algorithm.
Above-mentioned process resource recovery method also has the following characteristics that
The method also includes:
When the executive process of the Garbage Collector and the non-parallel execution of the progress of work, the host process calls garbage reclamation
Device recycles the quoting resource column of the progress of work using Memory recycle algorithm in first round Memory recycle algorithm implementation procedure
The resource that do not quoted by any progress of work in table;
When the executive process and the progress of work of the Garbage Collector execute parallel, the host process calls Garbage Collector
It is returned in first round Memory recycle algorithm implementation procedure or the second wheel Memory recycle algorithm implementation procedure using Memory recycle algorithm
Receive the resource that do not quoted by any progress of work in the quoting resource list of the progress of work.
Process resource recyclable device provided by the invention, comprising:
Maintenance module is used for maintenance work process resource information;The progress of work resource information includes the progress of work
Quoting resource information;
Judgment module, for judging whether the progress of work is in off working state;
Removing module, for deleting institute in the progress of work resource information when the progress of work is in off working state
State the quoting resource information of the progress of work;
Recycling module calls Garbage Collector to recycle resource corresponding to the quoting resource information of the progress of work.
Above-mentioned process resource recyclable device also has the following characteristics that
The progress of work resource information includes the quoting resource information of progress of work list and each progress of work, described
Progress of work list includes progress of work mark, and the quoting resource information includes the quoting resource list of the progress of work.
Above-mentioned process resource recyclable device also has the following characteristics that
The maintenance module includes receiving unit, processing unit;
The receiving unit, for from the progress of work receive starting notice, know the progress of work newly started mark and
Quoting resource list;
The processing unit, for the progress of work list to be added in the mark of the progress of work of the new starting,
The quoting resource list of the progress of work is recorded in the quoting resource information of the progress of work;
Alternatively, the maintenance module includes scanning element and maintenance unit;
The scanning element detects whether the progress of work being newly added for timing scan progress of work list;
The maintenance unit, for determining the progress of work of this new addition after detecting the progress of work being newly added
For the progress of work newly started, the progress of work resource information is updated, determines the work being newly added in the progress of work list
The mark for making process determines the quoting resource information of the progress of work of the new addition.
Above-mentioned process resource recyclable device also has the following characteristics that
The judgment module, for using following methods to judge whether the progress of work is in off working state;
One, it is received from the progress of work and determines that this progress of work is in off working state after exiting request;
Two, the corresponding progress of work of mark that timing scan progress of work list detects each progress of work whether there is, such as
Fruit is not present, and determines that the progress of work is in off working state.
Above-mentioned process resource recyclable device also has the following characteristics that
The recycling module, for recycling the quoting resource of the progress of work using following methods calling Garbage Collector
Information: Garbage Collector is called to recycle the quoting resource list of the progress of work using Memory recycle algorithm, by the work
Topological starting point of the process resource to be referred to reference listing as the Memory recycle algorithm.
Above-mentioned process resource recyclable device also has the following characteristics that
The recycling module is also used to call in the non-parallel execution of the executive process and the progress of work of Garbage Collector
Garbage Collector recycles the money of the above-mentioned progress of work using Memory recycle algorithm in first round Memory recycle algorithm implementation procedure
The resource that do not quoted by any progress of work in the reference listing of source;It is held parallel in the executive process of Garbage Collector with the progress of work
When row, Garbage Collector is called to be stored back in first round Memory recycle algorithm implementation procedure or the second wheel using Memory recycle algorithm
Receive the resource that do not quoted by any progress of work in the quoting resource list of the above-mentioned progress of work of recycling in algorithm implementation procedure.
The present invention can effectively solve the problems, such as that resource can not discharge for a long time, and resource is avoided to be occupied for a long time.
Detailed description of the invention
The attached drawing for constituting a part of the invention is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of process resource recovery method in embodiment;
Fig. 2 is the application signal of host process maintenance work process resource information in process resource recovery method in embodiment
Figure;
Fig. 3 is the structure chart of process resource recyclable device in embodiment.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.It needs
Illustrate, in the absence of conflict, the features in the embodiments and the embodiments of the present application can mutual any combination.
Fig. 1 is the flow chart of process resource recovery method in embodiment, and the method includes:
Step 1, host process maintenance work process resource information;This progress of work resource information includes the resource of the progress of work
Reference information;
Step 2, when host process judges that the progress of work is in off working state, delete progress of work resource information in work into
The quoting resource information of journey calls Garbage Collector to recycle resource corresponding to the quoting resource information of the above-mentioned progress of work.
In the overall structure of this method by the way of host process-progress of work.Host process holds all working process
Quoting resource relationship, and it is responsible for whether the detection progress of work is in off working state, detecting whether the progress of work is in
When off working state, the recycling of the process related resource is actively triggered.
Fig. 2 is the application signal of host process maintenance work process resource information in process resource recovery method in embodiment
Figure.Each progress of work records the resource of oneself reference, and will be stored in quoting resource to the reference information of these resources
In list.What is stored in this quoting resource list is information of the process to the direct reference type of resource, mutual between resource
Adduction relationship is by resource internal record.
Progress of work resource information includes the quoting resource information of progress of work list and each progress of work in step 1,
Progress of work list includes progress of work mark, and quoting resource information includes the quoting resource list of the progress of work.Quoting resource
Information can also include other information, such as money cited in the progress of work in addition to the quoting resource list including the progress of work
The type in source, partition holding etc. where resource address.
Host process maintenance work process resource information includes one of following methods in step 1:
One, starting notice is received from the progress of work, the mark and money of the progress of work newly started are known from this progress of work
Progress of work list is added, in the quoting resource information of the progress of work in the mark of the progress of work newly started by source reference listing
The quoting resource list of the middle record progress of work.Existing communication can be passed through in this mode one between host process and the progress of work
Mechanism or customized communication mechanism carry out information exchange.
Two, timing scan progress of work list detects whether the progress of work being newly added, if so, determining this new addition
The progress of work be the progress of work newly started, update the progress of work resource information, determine in the progress of work list
The mark for the progress of work being newly added determines the quoting resource information of the progress of work of the new addition.In this mode two lead into
It passes between journey and the progress of work mutually, after new progress of work starting, directly arrives the progress of work resource of host process maintenance
It carries out registering its mark and quoting resource information in information.
The method that host process judges that the progress of work is in off working state in step 2 is one of following methods:
One, it is received from the progress of work and determines that this progress of work is in off working state after exiting request;
Two, the corresponding progress of work of mark that timing scan progress of work list detects each progress of work whether there is, such as
Fruit is not present, and determines that the progress of work is in off working state.
Calling Garbage Collector to recycle the quoting resource information of the above-mentioned progress of work in step 2 includes: calling garbage reclamation
Device recycles the quoting resource list of the above-mentioned progress of work using Memory recycle algorithm, by the quoting resource list of the above-mentioned progress of work
Topological starting point as Memory recycle algorithm.
Memory recycle algorithm is a kind of algorithm that circulation executes, such as garbage collection (Garbage Collection, abbreviation
GC) algorithm, the method include two stages: marking phase and removing stage.In marking phase, Garbage Collector is since root time
Go through, by it is each can be accessed from root to as one mark of addition, be used to indicate this to as up to (reachable).Clear
Except the stage, Garbage Collector carries out linear sweep to memory from the beginning to the end, if it find that have to as be not identified as it is reachable, then
By this to the Memory recycle as occupying, and the reachable reachable marking to picture will be had been identified as and eliminated, so as to carry out next time
Label remove algorithm.
Call Garbage Collector when recycling the quoting resource information of the above-mentioned progress of work, the executive process of Garbage Collector with
When the non-parallel execution of the progress of work, host process calls Garbage Collector using Memory recycle algorithm in first round Memory recycle algorithm
The resource that do not quoted by any progress of work in the quoting resource list of the above-mentioned progress of work of recycling in implementation procedure;Garbage reclamation
When the executive process and the progress of work of device execute parallel, host process calls Garbage Collector using Memory recycle algorithm in the first round
The quoting resource of the above-mentioned progress of work of recycling in Memory recycle algorithm implementation procedure or the second wheel Memory recycle algorithm implementation procedure
The resource that do not quoted by any progress of work in list.
Such as: there are two the progress of work, PA and PB in whole system, the resource of each self reference is as follows:
PA:r1, r2, r3, r4
PB:r3, r4, r5
Process PA is in off working state after exiting extremely, host process calls Garbage Collector that Memory recycle algorithm is used to return
The resource of progress of work PA is received, if the treatment progress of Garbage Collector only just starts when host process is called, in execution the
When one wheel GC algorithm, in marking phase by r1 and r2 labeled as unreachable, by r3, r4 and r5 labeled as reachable, in removing stage
R1 and r2 can be recycled.If the treatment progress and host process of Garbage Collector execute parallel simultaneously, host process is called
When Garbage Collector, the processing stage of current GC algorithm is unknowable, if GC algorithm has gone to removing stage at this time, at this time
The state of r1 and r2 be it is reachable, cannot take turns herein in GC algorithm and be recovered, but r1 and r2 will identified in next round GC algorithm
Stage is marked as unreachable, and is recovered in the removing stage of next round.So this method can be in two recycling weeks of longest
Useless resource is discharged in phase, resource is avoided to be occupied for a long time.
Fig. 3 is the structure chart of process resource recyclable device in embodiment, this process resource recyclable device includes:
Maintenance module is used for maintenance work process resource information;Progress of work resource information includes the resource of the progress of work
Reference information;
Judgment module, for judging whether the progress of work is in off working state;
Removing module, for when the progress of work be in off working state, work in deletion progress of work resource information into
The quoting resource information of journey;
Recycling module calls resource corresponding to the quoting resource information of Garbage Collector recovery operation process.
Wherein,
Progress of work resource information includes the quoting resource information of progress of work list and each progress of work, the progress of work
List includes progress of work mark, and quoting resource information includes the quoting resource list of the progress of work.
Maintenance module can be with one of flowering structure:
One, maintenance module includes receiving unit, processing unit.
Receiving unit is used to receive starting notice from the progress of work, knows that the mark of the progress of work newly started and resource are drawn
Use list;
Progress of work list is added in the mark for the progress of work that processing unit is used to newly to start, in the resource of the progress of work
The quoting resource list of the progress of work is recorded in reference information;
Two, maintenance module includes scanning element and maintenance unit.
Scanning element detects whether the progress of work being newly added for the list of the timing scan progress of work;
Maintenance unit is used for after detecting the progress of work being newly added, and determines that the progress of work of this new addition is newly to open
The dynamic progress of work updates progress of work resource information, determines the mark for the progress of work being newly added in progress of work list, really
The quoting resource information of the fixed progress of work being newly added.
Judgment module is used to judge whether the progress of work is in off working state using following methods:
One, it is received from the progress of work and determines that this progress of work is in off working state after exiting request;
Two, the corresponding progress of work of mark that timing scan progress of work list detects each progress of work whether there is, such as
Fruit is not present, and determines that the progress of work is in off working state.
Recycling module is used to call the quoting resource information of Garbage Collector recovery operation process using following methods: calling
Garbage Collector uses the quoting resource list of Memory recycle algorithm recovery operation process, and progress of work resource to be referred to is drawn
Use list as the topological starting point of Memory recycle algorithm.
Recycling module is also used to call rubbish to return in the non-parallel execution of the executive process and the progress of work of Garbage Collector
Receive the quoting resource that device recycles the above-mentioned progress of work using Memory recycle algorithm in first round Memory recycle algorithm implementation procedure
The resource that do not quoted by any progress of work in list;When the executive process and the progress of work of Garbage Collector execute parallel,
Garbage Collector is called to calculate using Memory recycle algorithm in first round Memory recycle algorithm implementation procedure or the second wheel Memory recycle
The resource that do not quoted by any progress of work in the quoting resource list of the above-mentioned progress of work of recycling in method implementation procedure.
The present invention can effectively solve the problems, such as that resource can not discharge for a long time, and resource is avoided to be occupied for a long time.
Descriptions above can combine implementation individually or in various ways, and these variants all exist
Within protection scope of the present invention.
Those of ordinary skill in the art will appreciate that all or part of the steps in the above method can be instructed by program
Related hardware is completed, and described program can store in computer readable storage medium, such as read-only memory, disk or CD
Deng.Optionally, one or more integrated circuits also can be used to realize, accordingly in all or part of the steps of above-described embodiment
Ground, each module/unit in above-described embodiment can take the form of hardware realization, can also use the shape of software function module
Formula is realized.The present invention is not limited to the combinations of the hardware and software of any particular form.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that including the article of a series of elements or equipment not only includes those elements, but also including not having
There is the other element being expressly recited, or further includes for this article or the intrinsic element of equipment.Do not limiting more
In the case where system, the element that is limited by sentence " including ... ", it is not excluded that in the article or equipment for including the element
There is also other identical elements.
The above examples are only used to illustrate the technical scheme of the present invention and are not limiting, reference only to preferred embodiment to this hair
It is bright to be described in detail.Those skilled in the art should understand that can modify to technical solution of the present invention
Or equivalent replacement should all cover in claim model of the invention without departing from the spirit and scope of the technical solution of the present invention
In enclosing.
Claims (6)
1. a kind of process resource recovery method characterized by comprising
Host process maintenance work process resource information, the progress of work resource information include the quoting resource letter of the progress of work
Breath;The progress of work resource information includes the quoting resource information of progress of work list and each progress of work, the work
Process list includes progress of work mark, and the quoting resource information includes the quoting resource list of the progress of work;Each work
Process records the resource of oneself reference, and will be stored in quoting resource list to the reference information of these resources;
When host process judges that the progress of work is in off working state, the progress of work described in the progress of work resource information is deleted
Quoting resource information, call Garbage Collector recycle resource corresponding to the quoting resource information of the progress of work;
The quoting resource information for calling Garbage Collector to recycle the progress of work includes: to call in Garbage Collector use
It is stored back to and receives the quoting resource list that algorithm recycles the progress of work, using the quoting resource list of the progress of work as described in
The topological starting point of Memory recycle algorithm;
When the executive process of the Garbage Collector and the non-parallel execution of the progress of work, the host process calls Garbage Collector to make
In the quoting resource list for recycling the progress of work in first round Memory recycle algorithm implementation procedure with Memory recycle algorithm
The resource that do not quoted by any progress of work;
When the executive process and the progress of work of the Garbage Collector execute parallel, the host process calls Garbage Collector to use
Memory recycle algorithm recycles institute in first round Memory recycle algorithm implementation procedure or the second wheel Memory recycle algorithm implementation procedure
State the resource that do not quoted by any progress of work in the quoting resource list of the progress of work.
2. process resource recovery method as described in claim 1, which is characterized in that
The host process maintenance work process resource information includes one of following methods:
One, starting notice is received from the progress of work, knows the mark and quoting resource list of the progress of work newly started, it will be described
The progress of work list is added in the mark of the progress of work newly started, records in the quoting resource information of the progress of work
The quoting resource list of the progress of work;
Two, timing scan progress of work list detects whether the progress of work being newly added, if so, determining the work of this new addition
Making process is the progress of work newly started, updates the progress of work resource information, determines in the progress of work list and newly adds
The mark of the progress of work entered determines the quoting resource information of the progress of work of the new addition.
3. process resource recovery method as described in claim 1, which is characterized in that
The method that the host process judges that the progress of work is in off working state is one of following methods:
One, it is received from the progress of work and determines that this progress of work is in off working state after exiting request;
Two, the corresponding progress of work of mark that timing scan progress of work list detects each progress of work whether there is, if not
In the presence of determining that the progress of work is in off working state.
4. a kind of process resource recyclable device characterized by comprising
Maintenance module is used for maintenance work process resource information;The progress of work resource information includes the resource of the progress of work
Reference information;The progress of work resource information includes the quoting resource information of progress of work list and each progress of work, institute
Stating progress of work list includes progress of work mark, and the quoting resource information includes the quoting resource list of the progress of work;
Judgment module, for judging whether the progress of work is in off working state;
Removing module, for deleting work described in the progress of work resource information when the progress of work is in off working state
Make the quoting resource information of process;
Recycling module calls Garbage Collector to recycle resource corresponding to the quoting resource information of the progress of work;
The recycling module, the quoting resource for calling Garbage Collector to recycle the progress of work using following methods are believed
Breath: calling Garbage Collector to recycle the quoting resource list of the progress of work using Memory recycle algorithm, by it is described work into
Topological starting point of the journey resource to be referred to reference listing as the Memory recycle algorithm;It is also used to the execution in Garbage Collector
When process and the non-parallel execution of the progress of work, call Garbage Collector using Memory recycle algorithm in first round Memory recycle algorithm
The resource that do not quoted by any progress of work in the quoting resource list of the above-mentioned progress of work of recycling in implementation procedure;It is returned in rubbish
When the executive process and the progress of work for receiving device execute parallel, call Garbage Collector using Memory recycle algorithm in first round memory
Recycle the quoting resource list of the above-mentioned progress of work of recycling in algorithm implementation procedure or the second wheel Memory recycle algorithm implementation procedure
In the resource do not quoted by any progress of work;
Further include: progress of work processing module for recording the resource of oneself reference, and will deposit the reference information of these resources
Storage is in quoting resource list.
5. process resource recyclable device as claimed in claim 4, which is characterized in that
The maintenance module includes receiving unit, processing unit;
The receiving unit knows the mark and resource of the progress of work newly started for receiving starting notice from the progress of work
Reference listing;
The processing unit, for the progress of work list to be added in the mark of the progress of work of the new starting, described
The quoting resource list of the progress of work is recorded in the quoting resource information of the progress of work;
Alternatively, the maintenance module includes scanning element and maintenance unit;
The scanning element detects whether the progress of work being newly added for timing scan progress of work list;
The maintenance unit, for after detecting the progress of work being newly added, determining that the progress of work of this new addition is new
The progress of work of starting updates the progress of work resource information, determine the work that is newly added in the progress of work list into
The mark of journey determines the quoting resource information of the progress of work of the new addition.
6. process resource recyclable device as claimed in claim 4, which is characterized in that
The judgment module, for using following methods to judge whether the progress of work is in off working state;
One, it is received from the progress of work and determines that this progress of work is in off working state after exiting request;
Two, the corresponding progress of work of mark that timing scan progress of work list detects each progress of work whether there is, if not
In the presence of determining that the progress of work is in off working state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810272737.7A CN108536537B (en) | 2018-03-29 | 2018-03-29 | A kind of process resource recovery method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810272737.7A CN108536537B (en) | 2018-03-29 | 2018-03-29 | A kind of process resource recovery method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108536537A CN108536537A (en) | 2018-09-14 |
CN108536537B true CN108536537B (en) | 2019-05-28 |
Family
ID=63481556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810272737.7A Active CN108536537B (en) | 2018-03-29 | 2018-03-29 | A kind of process resource recovery method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108536537B (en) |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100590598C (en) * | 2007-12-13 | 2010-02-17 | 华为技术有限公司 | Memory leak detection method and apparatus |
CN102375758A (en) * | 2010-08-20 | 2012-03-14 | 联芯科技有限公司 | Method and device for preventing apparent death of browser of mobile communication equipment |
CN102023891A (en) * | 2010-12-20 | 2011-04-20 | 复旦大学 | Concurrent garbage collector frame based on Java virtual machine |
US9832068B2 (en) * | 2012-12-17 | 2017-11-28 | Microsoft Technology Licensing, Llc | Reachability-based coordination for cyclic dataflow |
CN104035817A (en) * | 2014-07-08 | 2014-09-10 | 领佰思自动化科技(上海)有限公司 | Distributed parallel computing method and system for physical implementation of large scale integrated circuit |
CN104239147B (en) * | 2014-10-20 | 2018-03-09 | 浪潮(北京)电子信息产业有限公司 | One kind processing deadlock round-robin method and system |
US9720737B2 (en) * | 2014-10-31 | 2017-08-01 | Microsoft Technology Licensing, Llc | Controlling resource allocation with automated consumption against a work breakdown structure |
CN104461740B (en) * | 2014-12-12 | 2018-03-20 | 国家电网公司 | A kind of cross-domain PC cluster resource polymerization and the method for distribution |
WO2017189677A1 (en) * | 2016-04-27 | 2017-11-02 | Arc Bio, Llc | Machine learning techniques for analysis of structural variants |
-
2018
- 2018-03-29 CN CN201810272737.7A patent/CN108536537B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108536537A (en) | 2018-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6014925B2 (en) | Memory recovery method and apparatus | |
CN100557580C (en) | The posted write-through cache that is used for flash memory | |
CN103984641B (en) | A kind of memory space recovery method and its device based on simplify configuration technology | |
CN102905002A (en) | Method and system for automatically combining contact items | |
JPH0689221A (en) | Method and apparatus for controlling memory in computer system | |
CN107203552A (en) | Rubbish recovering method and device | |
CN109918318A (en) | SSD metadata management method, device, equipment and readable storage medium storing program for executing | |
CN110945486A (en) | Storage fragment management method and terminal | |
CN108132831A (en) | The processing method and processing unit of task | |
CN109491598A (en) | A kind of delet method and device of logical volume | |
CN106897022B (en) | A kind of method and device of management storage equipment | |
CN108536537B (en) | A kind of process resource recovery method and device | |
CN103176920A (en) | Nor flash power down protection method and Nor flash power down protection device | |
CN101339545B (en) | Register configuration method and device | |
CN109408416B (en) | Address mapping table entry page management method and device | |
CN106406694A (en) | Cleaning method of mobile terminal and mobile terminal | |
CN101504615A (en) | Method and apparatus for providing positioning information for task endless loop | |
CN101241513A (en) | Maintenance list item method and device | |
CN105868057B (en) | A kind of method, apparatus and mobile terminal of data processing | |
CN117076341A (en) | Data storage method, device, computer equipment and computer readable storage medium | |
CN108804337A (en) | The method, apparatus and computer storage media of memory garbage reclamation | |
CN107122247B (en) | Method and device for detecting static occupied picture | |
CN108804339B (en) | A kind of memory rubbish recovering method and device | |
CN1332534C (en) | Method of supporting node monitoring mobile user state by service universal packet wireless service | |
CN105512049B (en) | A kind of memory data recovery method, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1259620 Country of ref document: HK |