RFR(XXS): 8039348: -XX:+TraceDeoptimization -XX:+Verbose -Xcomp can crash VM

Markus Grönlund markus.gronlund at oracle.com
Sun Apr 6 18:51:16 UTC 2014

Yes. The java/lang/String object is not NULL but it's [C field is.


In the local/expression slots output, there is an object there, it's not NULL, it's being created.




From: Staffan Larsen 
Sent: den 6 april 2014 20:24
To: Markus Grönlund
Cc: serviceability-dev at openjdk.net; hotspot-runtime-dev at openjdk.java.net
Subject: Re: RFR(XXS): 8039348: -XX:+TraceDeoptimization -XX:+Verbose -Xcomp can crash VM


You have changed the output when the 'value' field is not set from NULL to "". Was this intentional?




On 6 apr 2014, at 19:05, Markus Grönlund <HYPERLINK "mailto:markus.gronlund at oracle.com"markus.gronlund at oracle.com> wrote:



Kindly asking for reviews for this small fix:


Bug: https://bugs.openjdk.java.net/browse/JDK-8039348

Webrev: http://cr.openjdk.java.net/~mgronlun/8039348/webrev01/


Found when debugging:

-XX:+TraceDeoptimization -XX:+Verbose -Xcomp


Using -Xcomp can cause an uncommon trap in java/lang/String constructors before the [C value field has been assigned.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20140406/b2e5d494/attachment.html>

More information about the hotspot-runtime-dev mailing list