This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Optimization and synchronization
- From: "Roland.Hautz" <root at roland dot evosys dot de>
- To: java at gcc dot gnu dot org
- Date: Sat, 23 Mar 2002 06:50:44 +0100 (CET)
- Subject: Optimization and synchronization
- Reply-to: R dot Hautz at inn-salzach dot de
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