Re: jMechanic & eclipse
Re: jMechanic & eclipse
- Subject: Re: jMechanic & eclipse
- From: Allen Cronce <email@hidden>
- Date: Mon, 26 Jun 2006 07:42:49 -0700
Hi Arturo,
I'm using jMechanic successfully with Eclipse 3.2.0, build ID
I20060223-1656 and WOLips 1.1.0.102 on an Intel-based Mac. Although
"success" is a relative term.
I've found that I cannot automatically start profiling, even though I've
checked the "CPU Sampling Enabled at Start" in my "Profiled
WOApplication". I can only get CPU sampling to work by the following
technique:
1. Debug my "Profiled WOApplication".
2. Suspend the application in the debugger.
3. In the "Profiler" perspective "CPU Snapshots" view, press the "Start
CPU Sampling" button.
4. In the Debug perspective, resume the application.
5. In the "Profiler" perspective, press the "Take Snapshot" button to
grab the current CPU percentage info.
Note that when I launch a profiled application, I get a number of
error/warning messages in the console that seem to be coming from
jMechanic. Here's a sample:
--snip--
HPROF ERROR: unable to resolve a method id
HPROF ERROR: got NULL trace in obj_alloc
HPROF ERROR: unable to map JVMPI obj ID to hprof obj ID in globalref_alloc
HPROF ERROR: unable to map JVMPI obj ID to hprof obj ID in globalref_alloc
HPROF ERROR: class ID already in use
--snip--
I have no idea what these mean. But I am able to get numbers out of
jMechanic that make sense.
Also note that I can't get any of the graphing Profiler views to work at
all (like "Heap Summary"). When I try to show these views I get a
warning that I should quit Eclipse and the following message in the
error log:
--snip--
Could not load library: liblocalfile_1_0_0.jnilib. This library
provides platform-specific optimizations for certain file system
operations. This library is not present on all platforms, so this may
not be an error. The resources plug-in will safely fall back to using
java.io.File functionality.
--snip--
Since I haven't needed these views, I haven't researched how to resolve
above problem.
Hopefully this info helps. Good luck.
Best,
--
Allen Cronce
Arturo Pérez wrote:
> Having been recommended on this list I tried out jMechanic and
> eclipse. But the current version of jMechanic isn't compatible with
> the current version of eclipse?
>
> Which combination of versions are you folk using out there?
>
> tia,
> -arturo
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden