native2ascii high CPU building jdk7u?

Wang Weijun at
Sat Feb 8 06:54:49 UTC 2014

Hi All

I am building jdk7u on linux and it's stuck in images build (for almost an hour). Turns out native2ascii uses too many CPU:

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                                  
23569 *******   20   0  9436  676  540 R 54.4  0.0  15:56.11 native2ascii  

The machine is

  Linux ******** 2.6.39-400.21.1.el6uek.x86_64 #1 SMP Thu Apr 4 03:49:00 PDT 2013 x86_64 x86_64 x86_64 GNU/Linux
  Red Hat Enterprise Linux Server release 6.4 (Santiago)

The command (according to ps -f) is

/java/re/jdk/1.6.0/archive/fcs/binaries/linux-amd64/bin/native2ascii -J-XX:-PrintVMOptions -J-XX:+UnlockDiagnosticVMOptions -J-XX:-LogVMOutput -J-Xmx512m -J-Xms512m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -reverse -encoding UTF-8

I can kill it (actually, twice) and the build goes on and succeeds finally. Has anyone seen the same problem?


More information about the core-libs-dev mailing list