Optimization and synchronization
Roland.Hautz
root@roland.evosys.de
Fri Mar 22 21:51:00 GMT 2002
Hello,
a short question: do you want this PR under category java or optimization?
Or doesn't that matter?
class Test1 {
Object barrier;
Object table;
void test() {
Object tab = table;
if (tab == null) {
synchronized(barrier) {
tab = table;
}
}
}
}
> gcj -O -c Test1.java
Test1.java: In class `Test1':
Test1.java: In method `Test1.test()':
Test1.java:11: Wrong amount of branch edges after unconditional jump 1
Test1.java:11: verify_flow_info failed
--===-... And it is said ...-=+=-----... Superstition bears adversity ...---===
Dipl.-Phys. Roland Hautz |Tel.:+49=8631-163136 R.Hautz@inn-salzach.de
|PGP public key 1024D/F5F6E1B2; key fingerprint :
Software Engineer |5FB26673 5DE47D25 226D0ABA E4528AB5 F5F6E1B2
More information about the Java
mailing list