There is no way to turn off Jacoco when VM is running.
Marc Hoffmann
unread,
Jan 21, 2015, 5:39:24 AM1/21/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jac...@googlegroups.com
Hi,
the amount of execution data collected by JaCoCo corresponds to the
number of loaded classes. JaCoCo holds a small, fixed size data
structure (basically a boolean[] array) per class. So once your
application is loaded on the production server the JaCoCo memory usage
will not increase afterwards.
JaCoCo is enabled for the entire lifecycle of the JVM, it can not be
turnded off once the classes are instrumented.