From 1345f77f93e8ec4dd0be4a272b69a4e1ee09334f Mon Sep 17 00:00:00 2001 From: Jakub Valtar Date: Fri, 30 Oct 2015 03:03:58 +0100 Subject: [PATCH] Workaround for JRE bug freezing the PDE Because of a JRE bug, code completion will occasionally freeze the PDE. Never seen this one before, however, it happened to me three times in a row while I was giving a lecture today and I had to kill the PDE and write all the code again. I can reproduce it back to beta 7. It is caused by JIT compiler, workaround is to disable it for this particular method. See https://bugs.openjdk.java.net/browse/JDK-8060036 and http://kingsfleet.blogspot.com.br/2014/11/but-thats-impossible-or-finding-out.html --- build/windows/config.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/windows/config.xml b/build/windows/config.xml index 90c290121..cca6bebb6 100644 --- a/build/windows/config.xml +++ b/build/windows/config.xml @@ -43,6 +43,10 @@ -Djna.nounpack=true 1.8.0_51 + + -XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot 256