Crash when using a built JVM

Christian Thalinger christian.thalinger at oracle.com
Wed May 9 10:49:11 PDT 2012


On May 7, 2012, at 5:54 PM, Krystal Mok wrote:

> Hi Azeem,
> 
> Did you build the HotSpot VM only, and put it in a Oracle JDK7u4 installation?
> 
> This kind of mix-and-match used to work without problems (mostly), but in JDK7u4 there are new proprietary features in Oracle JDK (e.g. Java Flight Recorder) that's not part of OpenJDK. You're getting a segfault caused by null pointer in JFR-related code.
> 
> You should probably build the entire JDK and use that, instead of mixing it with Oracle JDK on 7u4.

I think it would be nice if we would also print the HOTSPOT_VM_DISTRO equivalent (it seems to be PRODUCT_NAME and PRODUCT_SUFFIX) for JDK:

# JRE version: 7.0_04-b20
# Java VM: OpenJDK 64-Bit Server VM (23.0-b21-internal mixed mode solaris-amd64 compressed oops)

More like this:

# JRE version: Java(TM) SE Runtime Environment 7.0_04-b20
# Java VM: OpenJDK 64-Bit Server VM (23.0-b21-internal mixed mode solaris-amd64 compressed oops)

or in the OpenJDK case:

# JRE version: OpenJDK Runtime Environment 7.0_04-b20
# Java VM: OpenJDK 64-Bit Server VM (23.0-b21-internal mixed mode solaris-amd64 compressed oops)

This would give us an idea what JDK was used.

> 
> P.S. This discussion may be better suited on hotspot-dev, since it's not a compiler problem. Cc'ing.

I agree (and removed hotspot-comp).

-- Chris

> 
> - Kris
> 
> On 2012-5-8, at 3:32, Azeem Jiva <azeem.jiva at oracle.com> wrote:
> 
>> I'm trying to run WLS with a JVM that I built pulled from the openjdk repository.   I've made no changes, just pulled the recent source, and I get the crash (attached).  Looks like some mismatch between the JRockit library and HotSpot?  Ideas?
>> -- 
>> Azeem Jiva
>> @javawithjiva
>> <hs_err_pid5605.log>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20120509/d0a3c99b/attachment.html 


More information about the hotspot-dev mailing list