comparison src/share/vm/runtime/globals.cpp @ 1150:f62a22282a47

6914622: Print values of all flags for product VM Summary: Change the flag -XX:+PrintFlagsFinal to product and add new product flag -XX:+PrintFlagsInitial. Reviewed-by: phh, ysr Contributed-by: gbenson@redhat.com
author kvn
date Thu, 07 Jan 2010 16:24:17 -0800
parents 7c57aead6d3e
children c18cbe5936b8
comparison
equal deleted inserted replaced
1144:9b9c1ee9b3f6 1150:f62a22282a47
466 466
467 void CommandLineFlags::verify() { 467 void CommandLineFlags::verify() {
468 assert(Arguments::check_vm_args_consistency(), "Some flag settings conflict"); 468 assert(Arguments::check_vm_args_consistency(), "Some flag settings conflict");
469 } 469 }
470 470
471 #endif // PRODUCT
472
471 void CommandLineFlags::printFlags() { 473 void CommandLineFlags::printFlags() {
472 // Print the flags sorted by name 474 // Print the flags sorted by name
473 // note: this method is called before the thread structure is in place 475 // note: this method is called before the thread structure is in place
474 // which means resource allocation cannot be used. 476 // which means resource allocation cannot be used.
475 477
491 array[i]->print_on(tty); 493 array[i]->print_on(tty);
492 } 494 }
493 } 495 }
494 FREE_C_HEAP_ARRAY(Flag*, array); 496 FREE_C_HEAP_ARRAY(Flag*, array);
495 } 497 }
496
497 #endif