< prev index next >

src/share/vm/utilities/ostream.cpp

Print this page

        

*** 272,282 **** */ void outputStream::print_data(void* data, size_t len, bool with_ascii) { size_t limit = (len + 16) / 16 * 16; for (size_t i = 0; i < limit; ++i) { if (i % 16 == 0) { ! indent().print(INTPTR_FORMAT_W(07)":", i); } if (i % 2 == 0) { print(" "); } if (i < len) { --- 272,282 ---- */ void outputStream::print_data(void* data, size_t len, bool with_ascii) { size_t limit = (len + 16) / 16 * 16; for (size_t i = 0; i < limit; ++i) { if (i % 16 == 0) { ! indent().print(INTPTR_FORMAT_W(07) ":", i); } if (i % 2 == 0) { print(" "); } if (i < len) {
*** 944,954 **** // (For now, don't bother to issue a DTD for this private format.) jlong time_ms = os::javaTimeMillis() - tty->time_stamp().milliseconds(); // %%% Should be: jlong time_ms = os::start_time_milliseconds(), if // we ever get round to introduce that method on the os class xs->head("hotspot_log version='%d %d'" ! " process='%d' time_ms='"INT64_FORMAT"'", LOG_MAJOR_VERSION, LOG_MINOR_VERSION, os::current_process_id(), (int64_t)time_ms); // Write VM version header immediately. xs->head("vm_version"); xs->head("name"); xs->text("%s", VM_Version::vm_name()); xs->cr(); --- 944,954 ---- // (For now, don't bother to issue a DTD for this private format.) jlong time_ms = os::javaTimeMillis() - tty->time_stamp().milliseconds(); // %%% Should be: jlong time_ms = os::start_time_milliseconds(), if // we ever get round to introduce that method on the os class xs->head("hotspot_log version='%d %d'" ! " process='%d' time_ms='" INT64_FORMAT "'", LOG_MAJOR_VERSION, LOG_MINOR_VERSION, os::current_process_id(), (int64_t)time_ms); // Write VM version header immediately. xs->head("vm_version"); xs->head("name"); xs->text("%s", VM_Version::vm_name()); xs->cr();
< prev index next >