Lines Matching refs:GC
1 # GC chapter
3 …GC) is the process of finding garbage in memory and releasing and reclaiming memory space. Two GC …
5 …s stored in heaps, and its space must be manually reclaimed by the engine. GC is a management mech…
84 | gcThreadNum | 7 | Number of GC threads. The default value is 7. You can set this parameter using …
88 Note: The thread pool is used to execute concurrent tasks in the GC process. During thread pool ini…
96 …seTime | 40 ms| Threshold for checking for a long GC pause. In the case of long GC pauses, complet…
100 ## GC Process
105 ### HPP GC
107 …l Garbage Collection (HPP GC) achieves efficient garbage collection by employing generational mode…
109 #### Young GC
111 - **When to trigger**: The young GC trigger threshold ranges from 2 MB to 16 MB, depending on the a…
116 #### Old GC
118 …GC trigger threshold ranges from 20 MB to 300 MB. In most cases, the threshold of the first old GC…
119 …an that of the young GC. Due to full marking, a single old GC operation takes about 5 ms to 10 ms,…
123 #### Full GC
125 …GC is not triggered based on the memory threshold. After the application is switched to the backgr…
126 - **Description**: Performs full compression on the young generation and old generation. Full GC is…
130 Smart GC or idle GC is based on these three GC modes.
134 #### GC Triggered by Space Thread
138 - Description: GC is triggered when the space applied for by an object reaches the corresponding th…
141 #### GC Triggered by Native Binding Size
147 #### GC Triggered Upon Switching to Background
150 - Description: Full GC is triggered when the application switches to the background.
162 #### Threshold Adjustment Before and After GC of Semi Space
165 - Description: Adjusts the GC trigger threshold of Semi Space after GC to optimize the space struct…
166 - Log keywords: There is no direct log. The GC statistics logs show that the young space threshold …
168 #### Threshold Adjustment After the First Old GC
174 #### Old Space/Global Space Threshold and Increase Factor for the Second and Later Old GC Operations
177 …aceLimit**, **globalSpaceNativeLimit**, and the increase factor based on the current GC statistics.
180 #### CSet for Partial GC
183 …: Selects a region with a small number of living objects and a low reclamation cost for partial GC.
203 ### Smart GC
207 …GC trigger threshold of the JS thread is temporarily adjusted to the maximum JS heap size (448 MB …
224 …nce-sensitive scenario, mark the scenario on the heap to avoid unnecessary GC and maintain high pe…
231 …GC (actual size occupied by the region) - > Actual size occupied by the object after GC (actual si…
233 // GC statuses and application name
235 // Time consumption statistics of each GC phase
236 C03F00/ArkCompiler: [gc] /***************** GC Duration statistic: ****************/
244 // Memory size occupied by each part after GC
245 C03F00/ArkCompiler: [gc] /****************** GC Memory statistic: *****************/
262 // Overall statistics of this type of GC on the VM
263 C03F00/ArkCompiler: [gc] /***************** GC summary statistic: *****************/
271 - GC type, which can be [HPP YoungGC], [HPP OldGC], [CompressGC] and [SharedGC].
272 …arkRoots, ProcessMarkStack, Sweep, and Finish. The actual phase varies according to the GC process.
286 ## GC Developer Debugging Interfaces
295 …GC is required. In the background scenario or if the expected survival rate is lower than the pres…
296 - Use scenario: The developer asks the system to perform GC.
318 Button("Trigger Hint GC").onClick((event: ClickEvent) => {