Ask Your Question

Fedora-27 java compile is slow

asked 2018-04-28 06:41:09 -0500

NM gravatar image

Since last updates for Fedora-27 (cannot say exactly which one) jdk 8 javac compilations are becoming super slow. compilation for my project takes 171s instead of 17s as usually

my top program shows me extremely high CPU utilisation for java:

  PID      USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
  7970     nmajorov  20   0 5237052 1,381g  28576 S 320,6  9,0   5:04.65 java

I tried compilation for same project on macosx - 17s. it is 10 times faster !!!

Cannot figure out what is going wrong .. any hints ?

edit retag flag offensive close merge delete


is it the same jdk on both systems?

heybuddy gravatar imageheybuddy ( 2018-04-29 09:16:34 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-04-30 03:38:19 -0500

NM gravatar image

it was related to installation of JDK8-debug package.. after reinstalling jdk to "normal" package compilation goes well.

edit flag offensive delete link more

Question Tools


Asked: 2018-04-28 06:41:09 -0500

Seen: 101 times

Last updated: Apr 30 '18