Re: [mkgmap-dev] Performance hints for Java JRE 9 + 10

2018-05-16 Thread UliBaer
Hi, i have comparable performance to former Java 8 and considerable lower memory consumption, when i use the OpenJDK 10 with the Eclipse OpenJ9 VM from AdoptOpenJDK! It is not officially released jet, but i use it with great success. If you want to try, you'll have to use the nightly builds from

Re: [mkgmap-dev] Performance hints for Java JRE 9 + 10

2018-05-16 Thread Gerd Petermann
Hi Felix, I am not sure but I think a JRE 8 will not execute a jar file compiled with JDK 9 or higher. So, I was only talking about using a newer JRE. I don't know when we will start to compile with 9 or higher. If I got that right JDK 9 is no longer available, so we probably have to switch to

Re: [mkgmap-dev] Performance hints for Java JRE 9 + 10

2018-05-16 Thread Felix Hartmann
Hi Gerd, What about if you compile mkgmap with java 9 or higher - and run it on Java 8 - this also applies or not? Or asked differently - is this dependant on the compilation system or on the executing system? Felix On 16 May 2018 at 15:53, Gerd Petermann wrote: > Hi all, > > it seems that the

[mkgmap-dev] Performance hints for Java JRE 9 + 10

2018-05-16 Thread Gerd Petermann
Hi all, it seems that the new Garbage Collector (G1GC) that was introduced with Java JRE 9 causes longer run times for splitter and mkgmap. I've played with some options and found that the use of -XX:+AggressiveHeap seems to be a good idea when you use these newer JREs. Without this option the

[mkgmap-dev] Commit r4191: small DEM performance improvement: reduce number of double[][] allocations

2018-05-16 Thread svn commit
Version mkgmap-r4191 was committed by gerd on Wed, 16 May 2018 small DEM performance improvement: reduce number of double[][] allocations Keep the 4x4 array that is filled for the bicubic interpolation to reduce GC strees http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4191