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
This commit is contained in:
Jakub Valtar
2015-10-30 03:03:58 +01:00
parent e4ed6a0184
commit 1345f77f93

View File

@@ -43,6 +43,10 @@
<opt>-Djna.nounpack=true</opt>
<!-- starting in 3.0, require Java 8 -->
<minVersion>1.8.0_51</minVersion>
<!-- TODO: remove the line below as soon as we are on 1.8.0_60 or newer,
see https://bugs.openjdk.java.net/browse/JDK-8060036 and
http://kingsfleet.blogspot.com.br/2014/11/but-thats-impossible-or-finding-out.html -->
<opt>-XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot</opt>
<!-- increase available per PDE X request -->
<maxHeapSize>256</maxHeapSize>
</jre>