Java - Incorrect JIT optimization (suppose)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The Program creates a graph including: 20 vertex and 19 edges. Every edge can crash with probability 0.95. The aim of program is to estimate the probability of that the graph stays connected in one component. In this case the probability should be about 0.37.
If you run program you will see 0.37, but if you comment line: "System.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: openjdk-6-jre 6b31-1.
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Apr 29 18:41:17 2014
DistributionCha
# This is a distribution channel descriptor
# For more information see http://
canonical-
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-03-03 (56 days ago)
InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20130203-13:50
SourcePackage: openjdk-6
UpgradeStatus: Upgraded to trusty on 2014-03-04 (55 days ago)
In openjdk-7-jre the bug doesn't exist.