native2ascii high CPU building jdk7u?
weijun.wang at oracle.com
Sat Feb 8 08:54:22 UTC 2014
JDK 6 is the bootdir the build process automatically chooses. If I set ALT_BOOTDIR to a 7u there is no such problem.
With JDK 6 it's always reproducible, "jstack -F -m -l nnnnn" also hungs. Neither the build nor jstack can be stopped by Ctrl-C and I have to kill native2ascii again.
On Feb 8, 2014, at 15:44, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 08/02/2014 06:54, Wang Weijun wrote:
>> 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
> This looks like the original (Sun) JDK 6 from 2006 and so pre-dates OpenJDK. I think I'd start with jstack to see if I can get a thread dump, this might give you a hint as to what it is doing.
More information about the core-libs-dev