Mercurial > hg > truffle
diff src/share/vm/utilities/vmError.cpp @ 1689:f4f596978298
Merge
author | never |
---|---|
date | Mon, 09 Aug 2010 17:51:56 -0700 |
parents | 126ea7725993 66c5dadb4d61 |
children | 1e9a9d2e6509 |
line wrap: on
line diff
--- a/src/share/vm/utilities/vmError.cpp Tue Aug 03 08:13:38 2010 -0400 +++ b/src/share/vm/utilities/vmError.cpp Mon Aug 09 17:51:56 2010 -0700 @@ -479,8 +479,8 @@ if (fr.sp()) { st->print(", sp=" PTR_FORMAT, fr.sp()); - st->print(", free space=%" INTPTR_FORMAT "k", - ((intptr_t)fr.sp() - (intptr_t)stack_bottom) >> 10); + size_t free_stack_size = pointer_delta(fr.sp(), stack_bottom, 1024); + st->print(", free space=" SIZE_FORMAT "k", free_stack_size); } st->cr();