simon-svn: puzzles: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Fri Feb 17 19:07:31 GMT 2012


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9408
Date:           2012-02-17 19:07:31 +0000 (Fri, 17 Feb 2012)

Log message (6 lines):
Tweak a conditional expression in pearl.c to work around a display bug
in the Java build - which turns out to be a JVM bug in OpenJDK 6,
causing the NestedVM rendition of the expression (i==1?3:4) to be
mis-JITed. OpenJDK 7 appears not to do that any more, but this
equivalent (for these purposes) rephrasing should perturb the code
just enough to dodge the problem.

Modified files:
U   puzzles/pearl.c

Links:
http://svn.tartarus.org/sgt/?rev=9408&view=rev
http://svn.tartarus.org/sgt/puzzles/pearl.c?rev=9408&r1=9407&r2=9408



More information about the tartarus-commits mailing list