How does adding JDK to ramdisk improve IDE performance?

I recently found several articles that could improve IDE performance (like eclipse) by putting the JDK on ramdisk and allowing it to be used for build purposes. I could guess how this could speed things up, but I did not know the exact details.

Will the IDE load the necessary parts of the JDK into memory? Is it a one-time benefit to keep JDK in ramdisk or it is an ongoing thing. It would be great if someone could shed light on the exact mechanism.

The motivation is that the project I'm working on is huge, and sometimes I need to enable the "build automatically" feature in eclipse. I'm learning ways to speed up the build process.

Note

I asked another question with the term “JVM” instead of “JDK”, which made it confusing and misleading. I apologize for this, and I changed my question.

+4
source share
3 answers

Eclipse 'build automatically' (and Project / Build also) doesn't use the JDK compiler at all, see What is the difference between javac and the Eclipse compiler? . This link indicates that the same applies to IntelliJ, but I do not have my own knowledge there.

If you also make javac assemblies, for example, from maven, ant or such, the read speed of the JDK and JRE / JVM tools (with which it works) may matter to them.

Eclipse , ; , ( ).

+2

SSD ( IDE )

JVM - , ( )

+1

On linux you can put it in / dev / shm

+1
source

Source: https://habr.com/ru/post/1605996/


All Articles