Login  Register

Re: java 8 and OSX

Posted by Gabriel Landini on Jul 22, 2015; 10:43am
URL: http://imagej.273.s1.nabble.com/java-8-and-OSX-tp5013642p5013690.html

On Tuesday 21 Jul 2015 22:31:01 Wayne wrote:
> ImageJ using Java 8 performs GUI operations, like opening and closing
> windows, a lot slower on Macs. The macro at
 
>     http://imagej.nih.gov/ij/macros/RegressionTests.txt

For some reason I do not seem to be able to find the "RegressionTest.js" file
which is called in the 2nd line. Where can I download that from?

If I remove that line, sometimes the macro aborts with the embryos image under
java 1.6.0, claiming that there should be a stack to process (there is one  
called embryos-1.jpg) the error is "Convert Stack to Images requires a stack".
Could this be a race condition?

Anyway, the first run of the macro before that error, which shows the progress
bar and stops for some secs shows  "filter tester successful"

Java 1.6.0_35: -> 37 sec  then if it does not abort, total: 47 sec to the end.
openkdk 1.7   : -> 508 sec total 522 to the end,
Java 1.8.0_51: -> 703 sec, total: 714 sec to the end.

15 times slower??

I am running linux 64bit in a very fast machine (the Ultilities>Benchmark Test
runs in 0.25 sec for any of the Java versions above, so I am puzzled by the
results above. I wonder what other users get.

Cheers

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html