java -XX:+PrintCommandLineFlags -version
will show you the default garbage collector. I have also found the following page useful which details the default garbage collector for various operating systems.
java -XX:+PrintCommandLineFlags -version
will show you the default garbage collector. I have also found the following page useful which details the default garbage collector for various operating systems.