2014-02-14 116 views
0

當爲我的JSF項目啓用JRebel時,每次請求時CPU使用率變得太高&在請求已送達時會下降。我確實查看了剖析器,但它不是由於我的項目類本身造成的。消耗CPU高的瑕疵

Prettyfaces似乎是真正的罪魁禍首這裏.. 請參閱本快照:

enter image description here

&這

enter image description here

enter image description here

請參閱本快照:enter image description here

但是,爲什麼靚麗的這種高CPU使用率僅在Jrebel打開時發生,這是什麼原因造成的?問題實際在哪裏?

+0

http://stackoverflow.com/questions/21782940/high-cpu-usage-when-jrebel-is的重複-on請爲VM參數添加-Drebel.log = true -Drebel.log.perf = true,重現工作流並將jrebel.log發送到{user.home} /。jrebel/jrebel.log,以寫入JRebel的支持。 JRebel可能會在您的設置中進行一些過度掃描 –

回答

0

我也碰到過這個。這絕對是JRebel 5.5.0的一個問題。

我通過使用JRebel 5.4.2來解決這個問題。