Hi Jarosolav, Nice to confirm that delegating classloaders are essential for tools to work properly.
Regards, Kirk On Apr 2, 2011, at 10:42 PM, Jaroslav Bachorik wrote: > Hi Kirk. > > On Apr 1, 3:36 pm, Kirk <[email protected]> wrote: >> Hi Jaroslav, >> >> You mean to say btrace is using >> Instrumentation.appendToBootstrapClassLoaderSearch? > Exactly - if you want to have the probe class available from all the > loaded classes it is the only way to do it. >> >> How is this going to work with OSGi then? > Well, like any other profiler - you need to modify the appropriate > config.properties for your OSGI container to contain following line > org.osgi.framework.bootdelegation=com.sun.btrace, com.sun.btrace.* >> >> Kirk >> >>>> snipped > > -JB- > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
