< prev index next >

src/hotspot/share/gc/shared/gcInitLogger.cpp

Print this page

        

*** 57,67 **** os::processor_count(), os::initial_active_processor_count()); } void GCInitLogger::print_memory() { ! log_info(gc, init)("Memory: " JULONG_FORMAT "M", os::physical_memory() / M); } void GCInitLogger::print_large_pages() { log_info(gc, init)("Large Page Support: %s", large_pages_support()); } --- 57,69 ---- os::processor_count(), os::initial_active_processor_count()); } void GCInitLogger::print_memory() { ! julong memory = os::physical_memory(); ! log_info(gc, init)("Memory: " JULONG_FORMAT "%s", ! byte_size_in_proper_unit(memory), proper_unit_for_byte_size(memory)); } void GCInitLogger::print_large_pages() { log_info(gc, init)("Large Page Support: %s", large_pages_support()); }
< prev index next >