Groups > BEA > JRockit > Re: Double.isNaN not working properly




Re: Double.isNaN not working properly

Re: Double.isNaN not working properly
Tue, 6 May 2008 00:13:32 -0700
Hi Richard,

From what you describe it seem like you have hit an optimization bug. JRockit
does code optimizations in the background after it figures out what the hot
paths in the program are.

If you run JRockit with -Xverbose:opt you will see which methods are optimized.
My guess is that you will see the same method being optimized right before the
error starts to happen. You can then use the techniques described here:
http://e-docs.bea.com/jrockit/geninfo/diagnos/crash.html#wp1010427 to disable
optimizations.

Please let us know if this helped and which method was the cause so that we can
pinpoint the problem.

BTW, our implementation of java.lang.Double is the same as Sun's implementation
and is available in the src.zip.

Regards,
Post Reply
about | contact