equal
deleted
inserted
replaced
1457 |
1457 |
1458 // Print out AIXTHREAD_GUARDPAGES because it affects the size of pthread stacks. |
1458 // Print out AIXTHREAD_GUARDPAGES because it affects the size of pthread stacks. |
1459 const char* const aixthread_guardpages = ::getenv("AIXTHREAD_GUARDPAGES"); |
1459 const char* const aixthread_guardpages = ::getenv("AIXTHREAD_GUARDPAGES"); |
1460 st->print_cr(" AIXTHREAD_GUARDPAGES=%s.", |
1460 st->print_cr(" AIXTHREAD_GUARDPAGES=%s.", |
1461 aixthread_guardpages ? aixthread_guardpages : "<unset>"); |
1461 aixthread_guardpages ? aixthread_guardpages : "<unset>"); |
|
1462 st->cr(); |
1462 |
1463 |
1463 os::Aix::meminfo_t mi; |
1464 os::Aix::meminfo_t mi; |
1464 if (os::Aix::get_meminfo(&mi)) { |
1465 if (os::Aix::get_meminfo(&mi)) { |
1465 if (os::Aix::on_aix()) { |
1466 if (os::Aix::on_aix()) { |
1466 st->print_cr("physical total : " SIZE_FORMAT, mi.real_total); |
1467 st->print_cr("physical total : " SIZE_FORMAT, mi.real_total); |
1477 st->print_cr("system asp total : " SIZE_FORMAT, mi.pgsp_total); |
1478 st->print_cr("system asp total : " SIZE_FORMAT, mi.pgsp_total); |
1478 st->print_cr("%% system asp used : %.2f", |
1479 st->print_cr("%% system asp used : %.2f", |
1479 mi.pgsp_total ? (100.0f * (mi.pgsp_total - mi.pgsp_free) / mi.pgsp_total) : -1.0f); |
1480 mi.pgsp_total ? (100.0f * (mi.pgsp_total - mi.pgsp_free) / mi.pgsp_total) : -1.0f); |
1480 } |
1481 } |
1481 } |
1482 } |
|
1483 st->cr(); |
|
1484 |
|
1485 // Print program break. |
|
1486 st->print_cr("Program break at VM startup: " PTR_FORMAT ".", p2i(g_brk_at_startup)); |
|
1487 address brk_now = (address)::sbrk(0); |
|
1488 if (brk_now != (address)-1) { |
|
1489 st->print_cr("Program break now : " PTR_FORMAT " (distance: " SIZE_FORMAT "k).", |
|
1490 p2i(brk_now), (size_t)((brk_now - g_brk_at_startup) / K)); |
|
1491 } |
|
1492 st->print_cr("MaxExpectedDataSegmentSize : " SIZE_FORMAT "k.", MaxExpectedDataSegmentSize / K); |
1482 st->cr(); |
1493 st->cr(); |
1483 |
1494 |
1484 // Print segments allocated with os::reserve_memory. |
1495 // Print segments allocated with os::reserve_memory. |
1485 st->print_cr("internal virtual memory regions used by vm:"); |
1496 st->print_cr("internal virtual memory regions used by vm:"); |
1486 vmembk_print_on(st); |
1497 vmembk_print_on(st); |