diff src/share/vm/utilities/vmError.cpp @ 423:a1980da045cc

6462850: generate biased locking code in C2 ideal graph Summary: Inline biased locking code in C2 ideal graph during macro nodes expansion Reviewed-by: never
author kvn
date Fri, 07 Nov 2008 09:29:38 -0800
parents d1605aabd0a1
children 2159823957e1 3ad2b8576c4a
line wrap: on
line diff
--- a/src/share/vm/utilities/vmError.cpp	Thu Nov 06 20:00:03 2008 -0800
+++ b/src/share/vm/utilities/vmError.cpp	Fri Nov 07 09:29:38 2008 -0800
@@ -263,7 +263,7 @@
          st->print("# java.lang.OutOfMemoryError: ");
          if (_size) {
            st->print("requested ");
-           sprintf(buf,"%d",_size);
+           sprintf(buf,SIZE_FORMAT,_size);
            st->print(buf);
            st->print(" bytes");
            if (_message != NULL) {