RFR: CODETOOLS-7903308: Refactor com.sun.tdk.jcov.instrument.BasicBlock to not depend on ASM

Leonid Kuskov lkuskov at openjdk.org
Fri Sep 16 20:54:54 UTC 2022


On Fri, 16 Sep 2022 18:56:30 GMT, Alexandre Iline <shurailine at openjdk.org> wrote:

> This change removes dependency from BasicBlock to ASM. 
> 
> BasicBlock used to keep map from DataBlocks to LabelNodes, which only been used within BranchCodeMethodAdapter. To remove the dependency, a map is added to the BranchCodeMethodAdapter to keep the mapping. BasicBlock is instead keeping data blocks in a set.

LGTM

-------------

PR: https://git.openjdk.org/jcov/pull/25


More information about the jcov-dev mailing list