In addition, I have patched with this minor patch which turns off checking if an AWT surface is translucent or not, since I use this JDK with netbeans. The current code causes rendering artifacts with transparent surfaces, but this is not really a big issue when running netbeans.
I am not experienced with packaging openJDK into an installer, so am only providing a zipped file of the resulting built JDK.
To use with netbeans, download the openjdk8-subpixel.zip file, unzip into an appropriate location, and point netbeans to use it by editing
/Applications/NetBeans/NetBeans\ 8.1.app/Contents/Resources/NetBeans/etc/netbeans.conf
adding or modifying the netbeans_jdkhome property like
netbeans_jdkhome="/Users/tor/java/scratch/openjdk8/jdk/"
Thanks for this! I was experiencing 1-2 second lag times on the recent nightlies with a top of the line MBP and no resource bottlenecks. This patched JDK has brought lag down to about a 0.25 seconds.
ReplyDeleteNice, that speedup must be due to the bug for the 8087201 issue. With this speedup I regularly use the integrated graphics over nvidia in my 15" mbp as it's just as fast and uses less battery.
DeleteThis comment has been removed by the author.
ReplyDeleteAmazing... finally...
ReplyDeleteTested with NetBeans 8.1 in 10.9 (Mavericks) and 10.11 (El Capitain) (XQuartz needed).
Many thanks.
Recommend adjusting the font contrast slightly, adding this parameter to netbeans_default_options in /Applications/NetBeans/NetBeans\ 8.1.app/Contents/Resources/NetBeans/etc/netbeans.conf
ReplyDelete-J-Dorg.netbeans.editor.aa.contrast=200