< prev index next >
src/hotspot/share/gc/z/zLargePages.cpp
Print this page
*** 20,40 ****
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
#include "precompiled.hpp"
#include "gc/z/zLargePages.hpp"
- #include "logging/log.hpp"
#include "runtime/os.hpp"
ZLargePages::State ZLargePages::_state;
void ZLargePages::initialize() {
initialize_platform();
! log_info(gc, init)("Memory: " JULONG_FORMAT "M", os::physical_memory() / M);
! log_info(gc, init)("Large Page Support: %s", to_string());
}
const char* ZLargePages::to_string() {
switch (_state) {
case Explicit:
--- 20,40 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
#include "precompiled.hpp"
+ #include "gc/shared/gcLogPrecious.hpp"
#include "gc/z/zLargePages.hpp"
#include "runtime/os.hpp"
ZLargePages::State ZLargePages::_state;
void ZLargePages::initialize() {
initialize_platform();
! log_info_p(gc, init)("Memory: " JULONG_FORMAT "M", os::physical_memory() / M);
! log_info_p(gc, init)("Large Page Support: %s", to_string());
}
const char* ZLargePages::to_string() {
switch (_state) {
case Explicit:
< prev index next >