Does the CLR automatically detect if the garbage collector should be run in server mode?

From a previous question I have seen that the CLR has workstation and server modes for its garbage collector. I know that these can be set from configuration using the gcServer element.

If you don't specify this, does the CLR use some magic to decide for you whether the garbage collector should run in server mode? Something based on CPU count, or memory profiling maybe?

Answers


Certainly not. The CLR runs in concurrent mode unless you explicitly tell it to do otherwise.


Need Your Help

Java application code structure

java database swing appframework

My Java application is not very big, but I would like to do it the "right way". Looking for suggestions to not make a big mess...

jQuery animate scrollTop not working with Firefox

jquery html css firefox

The following code is only skipping to the top in Firefox, and only works as intended in Chrome. I've read here on StackOverflow, that for Firefox and IE you need $('body,html') in order to work, but