Mercurial > hg > truffle
diff src/share/vm/runtime/arguments.cpp @ 12129:4a1efab850f4
8023638: Add the regression test for 8006997
Summary: Add the relevant test and proofread the VM messages as well
Reviewed-by: coleenp, mseledtsov, dcubed
author | shade |
---|---|
date | Mon, 26 Aug 2013 17:42:03 +0400 |
parents | 740e263c80c6 |
children | bb57d48691f5 01b268b3080a |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Mon Aug 26 09:33:01 2013 +0200 +++ b/src/share/vm/runtime/arguments.cpp Mon Aug 26 17:42:03 2013 +0400 @@ -2230,7 +2230,7 @@ // among the distinct pages. if (ContendedPaddingWidth < 0 || ContendedPaddingWidth > 8192) { jio_fprintf(defaultStream::error_stream(), - "ContendedPaddingWidth=" INTX_FORMAT " must be the between %d and %d\n", + "ContendedPaddingWidth=" INTX_FORMAT " must be in between %d and %d\n", ContendedPaddingWidth, 0, 8192); status = false; } @@ -2239,7 +2239,7 @@ // It is sufficient to check against the largest type size. if ((ContendedPaddingWidth % BytesPerLong) != 0) { jio_fprintf(defaultStream::error_stream(), - "ContendedPaddingWidth=" INTX_FORMAT " must be the multiple of %d\n", + "ContendedPaddingWidth=" INTX_FORMAT " must be a multiple of %d\n", ContendedPaddingWidth, BytesPerLong); status = false; }