Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cemo/5bdd50dbe8a4341439a3 to your computer and use it in GitHub Desktop.
Save cemo/5bdd50dbe8a4341439a3 to your computer and use it in GitHub Desktop.
This is a list of tweaks to make IntelliJ IDEA work better with OpenJDK 8 (64-bit). Refer to https://docs.oracle.com/javase/8/docs/technotes/guides/2d/flags.html for the details of the options used below.
Note that, the performance boost achieved via the OpenGL-based pipeline is made possible by using the latest version (e.g., mesa-dri-drivers-10.3.2-1.20141028.fc21.x86_64) of the open-source Radeon driver (for ATi graphics cards). This might vary based on the types of graphics cards and drivers.
1. Text Anti-aliasing
In $IDEA_HOME/bin/idea64.vmoptions, change
-Dawt.useSystemAAFontSettings=lcd
to
-Dawt.useSystemAAFontSettings=on
2. Improve GUI Performance (Java2D) by switching to OpenGL Hardware Acceleration Pipeline
In $IDEA_HOME/bin/idea.properties, add the following:
#---------------------------------------------------------------------
# Enable the OpenGL-based pipeline, which provides hardware acceleration.
#---------------------------------------------------------------------
sun.java2d.opengl=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment