Author: Thorsten Greiner
Date: 05:34:13 05/06/04
Go up one level in this thread
On May 06, 2004 at 07:07:57, Bernd Nürnberger wrote: >Could it be, that some operators in Java on long values are not properly >implemented and make errors on certain circumstances? Maybe a set upper >bit (64th bit, sign bit) causes problems in some cases? I have implemented a Java version of my bitboard engine Amy and have never experienced any problem like the one you describe. The chances are very high that the bug is in your code and not in the JVM :) There is one thing that comes to my mind that might be related to your problem: in Java the access of 64 bit quantities is a non-atomic operation. If your application is multithreaded this might cause data corruption as you describe.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.