News for hackers. Stuff that matters.
Re:GC progress from JDK 8 to JDK 17 by astange on Wednesday November 24, 2021 @10:37AM (#29330987)
Edit the idea64.vmoptions config file and use the GC of your choice. I've been running with ShenandoahGC for quite some time now and it's been working great.

Also, see https://github.com/JetBrains/JetBrainsRuntime/releases/tag/j... for a JDK17 runtime for Intellij products. I've been running this too and it works great (but does require some tweaks to the vmoptions file).

Re:GC progress from JDK 8 to JDK 17 by 5e92cb50239222b on Wednesday November 24, 2021 @11:58AM (#29332126)
Text can look pretty bad if you're using other JVMs without their patches.
Re:GC progress from JDK 8 to JDK 17 by hawk_ on Wednesday November 24, 2021 @01:10PM (#29333098)
Yes particularly on Linux, any non jetbrains jdk running intellij looks awful. I don't know if the consider it as some kind of competitive advantage to not submit fixes upstream.
Re:GC progress from JDK 8 to JDK 17 by belter on Wednesday November 24, 2021 @03:24PM (#29334697)
What are they doing in the JVM to make text look good?
Re:GC progress from JDK 8 to JDK 17 by vips7L on Wednesday November 24, 2021 @10:57AM (#29331268)
I tried this last year but the version they shipped with IDEA didn't have ZGC and using an external JVM caused some weirdness in the GUI for me.
Re:GC progress from JDK 8 to JDK 17 by parhamn on Wednesday November 24, 2021 @02:31PM (#29334128)
Curious before I try it, is the speed/performance any better?
Re:GC progress from JDK 8 to JDK 17 by astange on Wednesday November 24, 2021 @03:31PM (#29334777)
It depends. There is less latency in the IDE due primarily to better GC (just as the article describes). I think the speed is better too on things like indexing the code base, but that could depend on your computer. I'm running on a 32core high end AMD system with lots of RAM, and I increase the heap setting in Intellij to 4G, etc. I think the IDE is subjectively better.

We run all our production applications on JDK17 too, which is why I push to run everything on 17.