Byte-Lab / JCoz

JCoz -- A Java causal profiler

Home Page:http://decave.github.io/JCoz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Abstract loading classes

Byte-Lab opened this issue · comments

We should have a separate service that loads classes in https://github.com/Decave/JCoz/blob/master/src/native/entry.cc#L272, and also exposes an interface for querying for whether a class is loaded, in scope, etc. The interface could look something like

loadClass(jvmtiEnv *jvmti_env, jclass klass)
classIsLoaded(jclass klass)
isClassInScope(jclass klass)