Making changed to bytecodeInterpreter.cpp
Krystal Mok
rednaxelafx at gmail.com
Mon Nov 5 09:54:32 PST 2012
Hi Kumar,
Could you post the crash log (/home/icedtea6-1.11.4/openjdk/
langtools/make/hs_err_pid5811.log) somewhere to let people get more details?
>From the log in your mail it doesn't look like a JIT compiler issue. This
list (hotspot-compiler-dev) is for discussion on HotSpot VM's JIT
compilers. The problem you're hitting looks more like a zlib problem, or
you might be really running low on memory.
It'll take more information on the problem to be able to redirect you to a
more appropriate list.
BTW, when you run "make" in the main directory, it'll build the whole JDK,
where as running "make hotspot" will only build the VM. If the latter is
sufficient for you to carry on your experiment, you might just want to
build the VM alone and save the trouble of dealing with this crash.
- Kris
On Tue, Nov 6, 2012 at 1:11 AM, Kumar Saurav <kumars at ncsu.edu> wrote:
> 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/20121106/cf2db5aa/attachment-0001.html
More information about the hotspot-compiler-dev
mailing list