src/share/vm/utilities/debug.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/utilities/debug.cpp	Fri Jul 27 16:59:29 2012
--- new/src/share/vm/utilities/debug.cpp	Fri Jul 27 16:59:29 2012

*** 89,98 **** --- 89,105 ---- # if -defined _DEBUG || -defined ASSERT configuration error: ASSERT et al. must not be defined in PRODUCT version # endif #endif // PRODUCT + FormatBufferResource::FormatBufferResource(const char * format, ...) + : FormatBufferBase((char*)resource_allocate_bytes(RES_BUFSZ)) { + va_list argp; + va_start(argp, format); + jio_vsnprintf(_buf, RES_BUFSZ, format, argp); + va_end(argp); + } void warning(const char* format, ...) { if (PrintWarnings) { // In case error happens before init or during shutdown if (tty == NULL) ostream_init();

src/share/vm/utilities/debug.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File