lprintf.cpp File Reference

#include "incls/_precompiled.incl"
#include "incls/_lprintf.cpp.incl"
#include <string.h>

Include dependency graph for lprintf.cpp:

Go to the source code of this file.

Functions

void breakpoint ()
void error_breakpoint ()
void lprintf_exit ()
static void check_log_file ()
void lprintf (char *m,...)
void lputc (char c)
void lputs (char *str)
void error (char *format,...)
void warning (char *format,...)
void compiler_warning (char *format,...)
void flush_logFile ()
void my_sprintf (char *&buf, const char *format,...)
void my_sprintf_len (char *&buf, const int len, const char *format,...)

Variables

static FILE * logFile = NULL
static char fname [80]
bool PrintVMMessages
bool LogVMMessages
bool AlwaysFlushVMMessages


Function Documentation

void breakpoint (  ) 

Definition at line 148 of file util.cpp.

References os::breakpoint(), and flush_logFile().

Here is the call graph for this function:

static void check_log_file (  )  [static]

Definition at line 49 of file lprintf.cpp.

References logFile, LogVMMessages, os::move_file(), and SYSTEM_NAME.

Referenced by lprintf(), lputc(), and lputs().

Here is the call graph for this function:

void compiler_warning ( char *  format,
  ... 
)

Definition at line 117 of file lprintf.cpp.

References DEBUG_EXCEPTION, outputStream::print_cr(), std, and outputStream::vprint_cr().

Here is the call graph for this function:

void error ( char *  format,
  ... 
)

Definition at line 99 of file lprintf.cpp.

References DEBUG_EXCEPTION, outputStream::print_cr(), std, and outputStream::vprint_cr().

Referenced by ResourceArea::allocate_bytes(), bootstrap::at(), os::check_directory(), os::commit_memory(), symbolTableLink::verify(), symbolTableEntry::verify(), symbolOopDesc::verify(), objArrayOopDesc::verify(), memOopDesc::verify(), cacheElement::verify(), LookupKey::verify(), oldGeneration::verify(), newGeneration::verify(), doubleValueArrayOopDesc::verify(), doubleByteArrayOopDesc::verify(), byteArrayOopDesc::verify(), blockClosureOopDesc::verify(), and Universe::verify_oop().

Here is the call graph for this function:

void error_breakpoint (  ) 

Definition at line 153 of file util.cpp.

References breakpoint().

Here is the call graph for this function:

void flush_logFile (  ) 

Definition at line 128 of file lprintf.cpp.

References logFile.

Referenced by breakpoint(), debug(), flush(), ndebug(), and Command::~Command().

void lprintf ( char *  m,
  ... 
)

Definition at line 57 of file lprintf.cpp.

References AlwaysFlushVMMessages, check_log_file(), logFile, LogVMMessages, and PrintVMMessages.

Referenced by AllocateHeap(), AllocatePageAligned(), os::commit_memory(), memOopDesc::copy_to_survivor_space(), VerifyOopClosure::do_oop(), HandlerRoutine(), bootstrap::insert_symbol(), methodKlass::oop_layout_iterate(), bootstrap::open_file(), bootstrap::parse_file(), pp(), pp_short(), PRIM_DECL_1(), PRIM_DECL_2(), deltaVFrame::print(), IC::print(), GenericGrowableArray::print(), ResourceAreaChunk::print(), print_calls(), print_counter(), primitives::print_counters(), symbolTable::print_histogram(), Klass::print_klass(), Universe::print_klass_name(), oldGeneration::print_remembered_set(), rSet::print_set_for_space(), lookupCache::print_statistics(), debugFlags::printFlags(), printIndent(), EventLog::printPartial(), OldWaterMark::pseudo_allocate(), survivorSpace::scavenge_contents_from(), Universe::verify(), symbolTable::verify(), oldSpace::verify(), newSpace::verify(), LookupKey::verify(), and ResourceMark::~ResourceMark().

Here is the call graph for this function:

void lprintf_exit (  ) 

Definition at line 41 of file lprintf.cpp.

References fname, and logFile.

void lputc ( char  c  ) 

Definition at line 75 of file lprintf.cpp.

References AlwaysFlushVMMessages, check_log_file(), logFile, LogVMMessages, and PrintVMMessages.

Referenced by outputStream::put().

Here is the call graph for this function:

void lputs ( char *  str  ) 

Definition at line 87 of file lprintf.cpp.

References AlwaysFlushVMMessages, check_log_file(), logFile, LogVMMessages, and PrintVMMessages.

Here is the call graph for this function:

void my_sprintf ( char *&  buf,
const char *  format,
  ... 
)

Definition at line 130 of file lprintf.cpp.

void my_sprintf_len ( char *&  buf,
const int  len,
const char *  format,
  ... 
)

Definition at line 140 of file lprintf.cpp.

void warning ( char *  format,
  ... 
)

Definition at line 108 of file lprintf.cpp.

References DEBUG_EXCEPTION, outputStream::print_cr(), std, and outputStream::vprint_cr().

Referenced by oldGeneration::allocate_in_next_space(), memOopKlass::create_subclass(), VerifyOldOopClosure::do_oop(), interpretedVFrame::expression_stack(), frame::follow_roots_compiled_float_frame(), handleCallBack(), Disclaimer::initialize(), DLLs::lookup_fail(), Universe::method_holder_of(), frame::oop_iterate_compiled_float_frame(), interpretedVFrame::parent(), outputStream::print(), outputStream::print_cr(), associationOopDesc::set_is_constant(), interpretedVFrame::verify(), deltaVFrame::verify(), methodOopDesc::verify_context(), outputStream::vprint(), and NoGCVerifier::~NoGCVerifier().

Here is the call graph for this function:


Variable Documentation

bool AlwaysFlushVMMessages

Definition at line 35 of file lprintf.cpp.

Referenced by debug(), lprintf(), lputc(), lputs(), and ndebug().

char fname[80] [static]

Definition at line 29 of file lprintf.cpp.

Referenced by lprintf_exit().

FILE* logFile = NULL [static]

Definition at line 28 of file lprintf.cpp.

Referenced by check_log_file(), flush_logFile(), lprintf(), lprintf_exit(), lputc(), and lputs().

bool LogVMMessages

Definition at line 34 of file lprintf.cpp.

Referenced by check_log_file(), lprintf(), lputc(), and lputs().

bool PrintVMMessages

Definition at line 33 of file lprintf.cpp.

Referenced by debug(), lprintf(), lputc(), lputs(), pk(), pp(), and pp_short().


Generated on Mon Oct 9 13:41:52 2006 for Strongtalk VM by  doxygen 1.4.7