@@ -894,15 +894,19 @@ static public String[] list() {
894894
895895
896896 /**
897- * Make an internal list of all installed fonts. This can take a while with
898- * a lot of fonts installed, but running it on a separate thread may not
899- * help much. As of the commit that's adding this note, loadFonts() will
900- * only be called by PFont.list() and when loading a font by name, both of
901- * which are occasions when we'd need to block until this was finished
902- * anyway. It's also possible that running getAllFonts() on a non-EDT thread
903- * could cause graphics system issues. Further, the first fonts are usually
904- * loaded at the beginning of a sketch, meaning that sketch startup time
905- * will still be affected, even with threading (and blocking) in place.
897+ * Make an internal list of all installed fonts.
898+ *
899+ * This can take a while with a lot of fonts installed, but running it on
900+ * a separate thread may not help much. As of the commit that's adding this
901+ * note, loadFonts() will only be called by PFont.list() and when loading a
902+ * font by name, both of which are occasions when we'd need to block until
903+ * this was finished anyway. It's also possible that running getAllFonts()
904+ * on a non-EDT thread could cause graphics system issues. Further, the first
905+ * fonts are usually loaded at the beginning of a sketch, meaning that sketch
906+ * startup time will still be affected, even with threading in place.
907+ *
908+ * Where we're getting killed on font performance is due to this bug:
909+ * https://bugs.openjdk.java.net/browse/JDK-8179209
906910 */
907911 static public void loadFonts () {
908912 if (fonts == null ) {
0 commit comments