[aarch64-port-dev ] Javac OOM error

D.Sturm D.Sturm42 at gmail.com
Sun Dec 22 13:34:06 PST 2013


Hi,
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.



More information about the aarch64-port-dev mailing list