Aus SDQ-Wiki
(Weitergeleitet von Palladio.ByCounter)
ByCounter logo

Welcome to the home of ByCounter!


  • ByCounter is an approach for portable bytecode counting at runtime - without the need to instrument or to alter the Virtual Machine (VM)
  • It supports measurements of bytecode instructions and method invocations on different granularity levels. It supports measuring a single line of code or a sequence of lines as well as per-method measurements.
  • Support for method- and class-crossing measurements: The bytecode instructions issued by called methods can be measured and transparently reported. Configuration settings allow defining which calls should be in- or excluded.
  • It ensures that all bytecode instructions and method invocations are measured and does not rely on sampling.
  • It can provide results for multiple threads including their call hierarchy and allows to distinguish between different requests to instrumented code areas.
  • ByCounter also counts method invocations, and supports parameter recording, instrumentation using "agents" conforming to java.lang.instrument Java API package, and other features.
  • It uses the bytecode instrumentation framework ASM, and has a low runtime overhead while still providing exact, per-opcode counts.
  • ByCounter is part of BySuite.




  • We provide ByCounter to interested parties free of charge, and several researchers have already used ByCounter in their work.
  • If you want to use ByCounter in your research or work, please email one of the contacts.
  • We will also provide support for ByCounter, and source code can be made available as well.
  • URL (after you have requested the password):
  • Since Version 2.0, ByCounter is also available as eclipse feature from the ByCounter Update Site. An example using anoynmous SVN access is available at [1].



A list of restrictions and bug reports are available in the ByCounter JIRA Bugtracker. However, the development version of ByCounter is stable and tested and the list is short.


Last updated on Friday, June 12, 2015