[aarch64-port-dev ] Javac OOM error
Andrew Haley
aph at redhat.com
Mon Dec 30 01:49:56 PST 2013
Hi,
On 12/22/2013 09:34 PM, D.Sturm wrote:
> I get the following error on the newest build, after doing a make clean;
> bash sim_configure; bash sim_compile. Both the JDK and simulator sources
> are up-to-date.
>
> [voo at localhost jdk8]$
> ./build/linux-aarch64-normal-client-slowdebug/images/j2sdk-image/bin/javac
> -version
>
> The system is out of resources.
> Consult the following stack trace for details.
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
> at
> java.util.concurrent.ConcurrentHashMap$Segment.rehash(ConcurrentHashMap.java:445)
> at
> java.util.concurrent.ConcurrentHashMap$Segment.put(ConcurrentHashMap.java:404)
> at
> java.util.concurrent.ConcurrentHashMap.putIfAbsent(ConcurrentHashMap.java:1095)
> at java.lang.ClassLoader.getClassLoadingLock(ClassLoader.java:462)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:403)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> at com.sun.tools.javac.util.Log.getWriter(Log.java:367)
> at com.sun.tools.javac.main.Main.resourceMessage(Main.java:607)
> at com.sun.tools.javac.main.Main.compile(Main.java:539)
> at com.sun.tools.javac.main.Main.compile(Main.java:376)
> at com.sun.tools.javac.main.Main.compile(Main.java:365)
> at com.sun.tools.javac.main.Main.compile(Main.java:356)
> at com.sun.tools.javac.Main.compile(Main.java:77)
> at com.sun.tools.javac.Main.main(Main.java:62)
>
> Java itself works fine (well it prints the version code out at least
> without problems). The code is being run on Fedora 18.
Can't reproduce:
00:00:18 langtools
00:00:08 nashorn
00:02:53 TOTAL
-------------------------
Finished building OpenJDK for target 'images'
mercury:jdk8 $ build/linux-aarch64-normal-client-slowdebug/images/j2sdk-image/bin/javac -version
javac 1.8.0-internal-debug
What is your system? Memory size, cores, etc?
Andrew.
More information about the aarch64-port-dev
mailing list