mccoyst / tact

Tact automatically adds certain runtime checks to Java bytecode in class files.
0 stars 0 forks source link

JIT Interference #22

Open mccoyst opened 12 years ago

mccoyst commented 12 years ago

Scott said, "Tact may be interfering with how the JIT works. If you compare the run times of Pi_Parallel.java and Pi_Parallel_JIT.java, you can see that Pi_Parallel_JIT.java runs much faster than Pi_Parallel.java (approximately 9s vs 1m35s). The only difference between the two files is that Pi_Parallel_JIT.java has a separate method for a for loop (the new method is at line 27) and Pi_Parallel.java does not (line 44)."

mccoyst commented 12 years ago

The cause of this is still a mystery to me. This could be a big help, but it requires JDK 7. I'll have to solve issue #17 first.