simon-svn: puzzles: simon

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

SVN root:       svn://
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


More information about the tartarus-commits mailing list