Hi,

if you want to study byte code instrumentation done by JaCoCo I recommend to 
use offline instrumentation (e.g. with the cli) and decompile instrumented 
classes afterwards. The “CoreTutorial” instruments classes in-memory only.

Part of the content of $jacocoInit() depends on the selected runtime (See 
IExecutionDataAccessorGenerator implementations and 
https://www.jacoco.org/jacoco/trunk/doc/implementation.html 
<https://www.jacoco.org/jacoco/trunk/doc/implementation.html>)

Cheers,
-marc


> On 21. Jul 2020, at 08:49, moon xxx <qiaomei....@gmail.com> wrote:
> 
> I am learning the jacoco code, I ran the class "CoreTutorial", and dump the 
> bytecode, This's what I saw in the class file
> boolean[] var1 = $jacocoInit(); 
> 
> How can I see the content in method "$jacocoInit()", meanwhile, I notice 
> there is a variable named jacocoData, but I cannot saw it in the class file.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "JaCoCo and EclEmma Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jacoco+unsubscr...@googlegroups.com 
> <mailto:jacoco+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/a75e3c51-89f0-4c0c-9313-de3b65daea1ao%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/a75e3c51-89f0-4c0c-9313-de3b65daea1ao%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/5E559B7B-834D-4B73-B64E-8C0B783DEC71%40mountainminds.com.

Reply via email to