What does JVM flag CMSClassUnloadingEnabled actually do?

I cannot for the life of me find a definition of what the Java VM flag CMSClassUnloadingEnabled actually does, other than some very fuzzy high-level definitions such as “gets rid of your PermGen problems” (which it doesn’t, btw). I have looked on Sun’s/Oracle’s site, and even the options list doesn’t actually say what it does. … Read more

Eclipse error: ‘Failed to create the Java Virtual Machine’

I am getting this error message when I start Eclipse Helios on Windows 7: Failed to create the Java Virtual Machine My eclipse.ini looks as follows: -startup plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -vm P:\Programs\jdk1.6\bin –launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503 -product org.eclipse.epp.package.jee.product –launcher.defaultAction openFile -showsplash org.eclipse.platform –launcher.XXMaxPermSize 512m –launcher.defaultAction openFile -vmargs -Dosgi.requiredJavaVersion=1.5 -Xms120m -Xmn100m -Xmx1024m My JAVA_HOME is correctly set as far as … Read more

What actually causes a Stack Overflow error? [duplicate]

This question already has answers here: What is a StackOverflowError? (15 answers) Closed 6 years ago. I’ve looked everywhere and can’t find a solid answer. According to the documentation, Java throws a java.lang.StackOverflowError error under the following circumstance: Thrown when a stack overflow occurs because an application recurses too deeply. But this raises two questions: … Read more