-
1. Re: JVMTI committed on Branch_2_0
clebert.suconic Aug 12, 2009 12:44 AM (in response to clebert.suconic)There is a test called org.jboss.profiler.test.jvmti.JVMTIWebTestManual
I don't have an ant target for it yet. But if you run it through eclipse, you would be able to see the simple web interface.
You have to add those two parameters on the JDK:
-Djava.library.path=/work/projects/prof2/src/native/ -agentpath:/work/projects/prof2/src/native/libJBossProfiler.so
Or define LD_LIBRARY_PATH, and only add one:
-agentlib:JBossProfiler -
2. Re: JVMTI committed on Branch_2_0
clebert.suconic Aug 12, 2009 12:45 AM (in response to clebert.suconic)Also, the current code already has some support for inspecting methods. It's crashing but it's an initial version already.
I meant native profiling by this. -
3. Re: JVMTI committed on Branch_2_0
jesper.pedersen Aug 12, 2009 8:47 AM (in response to clebert.suconic)Thanks, Clebert.
I'll take a look and report back ASAP.
A couple of things though:
1) You broke the JDK 1.5 build - you need to make the compile of JVMTI depend on JDK 1.6
2) The source code has to be formatted according to the project rules, runant checkstyle
and fix the reported problems. The style guide is part of the developer documentation. -
4. Re: JVMTI committed on Branch_2_0
clebert.suconic Aug 12, 2009 10:33 AM (in response to clebert.suconic)I will fix the dependency later tonight...
Regarding the style... all the other projects at JBoss use next line on brackets.
I know I have used next line on 1.0, but I think we should do the same as other projects.
I committed a style settings on eclipse. If you use eclipse (which I believe you do), it would format the same for everybody. We should agree on a format and change that settings, then the format fix is automatic. -
5. Re: JVMTI committed on Branch_2_0
jesper.pedersen Aug 12, 2009 10:41 AM (in response to clebert.suconic)
I will fix the dependency later tonight...
Thanks,
Regarding the style...
Yes, I know that the style is different from other JBoss projects, but that was the style of the original code submission. Checkstyle will though force it to be the same all-over.
If you want the task of doing a code reformat I have settings for a JBoss code style - but I think we should the little time we have on other things.