Le 31/05/2015 19:02, Bruce Dubbs a écrit : > Pierre Labastie wrote: >> Hi all, >> >> I built OpenJDK with gcc-5 on LFS SVN-20150515 (uses linux-4.0.3). >> >> As said in another post, there was a minor problem with the OS not >> recognized. >> But then, I used the newly built JVM to compile icedtea-web, and that was >> very >> slow. Also, top showed that sometimes, the JVM allocated more than 16Gb of >> memory, leading to heavy disk usage, because of swapping. >> >> So I went back to rebuilding OpenJDK with itself, and got the same behavior: >> slow and high use of memory. Actually, it even allocated the full swap space >> and failed while building in the jdk subdirectory. >> >> Note that the binary JVM downloaded from anduin runs well. That binary was >> compiled from the same sources, but with gcc-4.9.2. >> >> Actually, there is a patch: >> http://cr.openjdk.java.net/~sgehwolf/webrevs/JDK-8078666/webrev.02/hotspot.patch >> >> >> Will try to make a sed. > > sed -e 's/(lo - hi)/ lo - hi /' \ > -e 's/(hi - lo)/ hi - lo / \ > -i src/share/vm/opto/type.cpp > > should work, I'm not sure if the path is 100% correct in our environment. > > -- Bruce > Thanks. Is there a specific reason why you put spaces in the place of the parentheses, instead of just removing them?
To get the path in our environment, just add hotspot in front of it. I'm testing the change right now. It takes a while because I run the openjdk tests... I hope to be able to commit tomorrow. Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
