comparison src/share/vm/runtime/arguments.cpp @ 11451:f49ee75d2a8b

Remove warning when G1 is used
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Wed, 28 Aug 2013 10:44:23 +0200
parents e28663a9f5ef
children 3cce976666d9
comparison
equal deleted inserted replaced
11442:2868b55001d4 11451:f49ee75d2a8b
2201 #endif 2201 #endif
2202 } 2202 }
2203 #ifdef GRAAL 2203 #ifdef GRAAL
2204 if (UseG1GC) { 2204 if (UseG1GC) {
2205 if (IgnoreUnrecognizedVMOptions) { 2205 if (IgnoreUnrecognizedVMOptions) {
2206 warning("UseG1GC is still experimental in Graal, use SerialGC instead ");
2207 FLAG_SET_CMDLINE(bool, UseG1GC, true); 2206 FLAG_SET_CMDLINE(bool, UseG1GC, true);
2208 } else { 2207 } else {
2209 warning("UseG1GC is still experimental in Graal, use SerialGC instead ");
2210 status = true; 2208 status = true;
2211 } 2209 }
2212 } else { 2210 } else {
2213 // This prevents the flag being set to true by set_ergonomics_flags() 2211 // This prevents the flag being set to true by set_ergonomics_flags()
2214 FLAG_SET_CMDLINE(bool, UseG1GC, false); 2212 FLAG_SET_CMDLINE(bool, UseG1GC, false);