build crash after extending oopDesc

Krystal Mok rednaxelafx at gmail.com
Fri Jun 8 10:51:31 PDT 2012


David,

If this patch [1] resembles your change, then what I saw was that the VM
would build all right, but would fail running test_gamma right at the end
of the build process.

The problem was caused by arrayOopDesc::length_offset_in_bytes(), as noted
[2]. test_gamma runs fine if I drop a .hotspotrc file specifying
-UseCompressedOops in it, which confirms the problem.

- Kris

[1]: https://gist.github.com/2896853#file_foo.diff
[2]: https://gist.github.com/2896853#file_notes.md

On Sat, Jun 9, 2012 at 1:22 AM, Christian Thalinger <
christian.thalinger at oracle.com> wrote:

>
> On Jun 8, 2012, at 8:16 AM, Simmen David wrote:
>
> Hello****
> ** **
> I was extending oopDesc with a private field of type jint****
> Now I get en Segmentation error during the build when it tries to build
> the compiler
>
>
> Can you be more specific?  When and what exactly does fail?
>
> -- Chris
>
> ****
> The problematic frame seems to be java_lang_Class::create_mirror****
> ** **
> I can’t find the connection****
> What am I missing****
> ** **
> MfG &thx david
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20120609/a93fa077/attachment.html 


More information about the hotspot-dev mailing list