Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detach CtClass instances from the ClassPool as they are inspected by …
…the Javassist transform. It is not necessary to keep them in the ClassPool and detaching them can reduce memory consumption and avoid out of memory errors. Note that this only affects users with AGP older than 4.2.0 since the HiltTransformTestClassesTask was replaced by the ASM pipeline. Fixes: #2567 RELNOTES=Reduce the possibility of OOMs in the local unit test transform task that is executed for users with AGP older than 4.2.0. PiperOrigin-RevId: 370120877
- Loading branch information