When turning on JRebel for my JSF project, CPU usage gets too high on each requests & drops down when request has been served. I did looked though the profiler but it was not caused due to my project classes itself. But I could even figure out the culprit looking at the profiling results. Here are the profiling results :
Interestingly the problem disappears when I
- either disable JRebel,
- or remove a 3rd party URL rewrite library (
com.ocpsoft.pretty.faces.*
).
But then I created a new fresh netbeans project without disabling either of the above two, & but still the problem is not there, which expectedly should have been.
Any idea what may be causing this ?
Edit:
Seems Prettyfaces
(com.ocpsoft.pretty.faces
) URL rewrite library is the culprit anyway..
See this snapshot:
But why this happens only when Jrebel is on ??