Making changed to bytecodeInterpreter.cpp

Kumar Saurav kumars at ncsu.edu
Mon Nov 5 09:11:14 PST 2012


Hi,

I have installed icedtea6-1.11.4 and am trying to modify 
bytecodeInterpreter.cpp to trap branch conditions. Once I make changes 
to trap branch conditions and try to do "make hotspot" in the 
icedtea6-1.11.4 main directory, it works. But when I try using just 
"make" the build stops with the following error:

-def-build-bootstrap-tool:

build-bootstrap-javac:
mmap failed for CEN and END part of zip file
       [jar] error while reading original manifest in file: 
/home/icedtea6-1.11.4/openjdk.build/langtools/build/bootstrap/lib/javac.jarnull
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32756 bytes for 
ChunkPool::allocate
# An error report file with more information is saved as:
# /home/icedtea6-1.11.4/openjdk/langtools/make/hs_err_pid5811.log
make[3]: *** [build] Error 1
make[3]: Leaving directory `/home/icedtea6-1.11.4/openjdk/langtools/make'
make[2]: *** [langtools-build] Error 2
make[2]: Leaving directory `/home/icedtea6-1.11.4/openjdk'
make[1]: *** [build_product_image] Error 2
make[1]: Leaving directory `/home/icedtea6-1.11.4/openjdk'
make: *** [stamps/icedtea.stamp] Error 2

I read the log file and it mentioned that one of the things I should try 
is to reduce the Java heap size. So, I used the flag -Xmx256m in 
/acinclude.m4 but this didn't help.

Can you suggest the build process to follow if we make changes to files 
like bytecodeInterpreter.cpp and bytecodeInterpreter.h?
-- 
Best Regards, Sincères Salutations, Mit Freundlichen Grüßen,
*

*Kumar Saurav*

*
*

**

**

Graduate Student-Computer Engineering,
ECE Department


*
**Mobile +1 919 931 7626
North Carolina State University,
Raleigh, NC, USA.

/Privileged/Confidential Information may be contained in this message. 
If you are not an intended recipient, you are hereby notified that any 
disclosure, reproduction, distribution or other  use of this 
communication and any attachments is strictly prohibited. If you have 
received this communication in error, please notify the sender by reply 
transmission and delete the message without copying and disclosing it./
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20121105/024df899/attachment.html 


More information about the hotspot-compiler-dev mailing list