RFR: CODETOOLS-7903308: Refactor com.sun.tdk.jcov.instrument.BasicBlock ...

Alexandre Iline shurailine at openjdk.org
Fri Sep 16 19:02:27 UTC 2022


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.

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

Commit messages:
 - removed debug output
 - CODETOOLS-7903308: Refactor com.sun.tdk.jcov.instrument.BasicBlock to not depend on ASM

Changes: https://git.openjdk.org/jcov/pull/25/files
 Webrev: https://webrevs.openjdk.org/?repo=jcov&pr=25&range=00
  Issue: https://bugs.openjdk.org/browse/CODETOOLS-7903308
  Stats: 405 lines in 10 files changed: 302 ins; 58 del; 45 mod
  Patch: https://git.openjdk.org/jcov/pull/25.diff
  Fetch: git fetch https://git.openjdk.org/jcov pull/25/head:pull/25

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


More information about the jcov-dev mailing list