lsjwzh / lsjwzh/FastTextView

StaticLayout.build 里面的 recycle没有正确置空对象/引用,导致内存泄露

Open
#15 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
191
Forks
22
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/19542278/130777696-347eecf9-50a4-492e-b6d8-75523a1c4916.png)
![image](https://user-images.githubusercontent.com/19542278/130777758-f5faa356-7fab-49a4-a859-e8007e3c33e1.png)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the StaticLayout.build implementation and compare its recycling behavior with the references shown in the issue screenshots. Determine which objects or references remain reachable after recycling, then verify that the leak no longer occurs and that existing behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.