以Android Studio举例:
进入应用程序 > Android Studio > 显示包内容 > Contents > bin > 修改 studio.vmoptions
尾部加入:
-XX:+TieredCompilation
-XX:TieredStopAtLevel=1
产生此问题的原因:
Since crash happens in c2 compiled code try to use these two additional java options when running idea, to disable c2 and leave only c1:
参考链接:
https://youtrack.jetbrains.com/issue/JBR-3715