Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
12109:faf2631b9334 | 12129:4a1efab850f4 |
---|---|
2228 // 8K is well beyond the reasonable HW cache line size, even with the | 2228 // 8K is well beyond the reasonable HW cache line size, even with the |
2229 // aggressive prefetching, while still leaving the room for segregating | 2229 // aggressive prefetching, while still leaving the room for segregating |
2230 // among the distinct pages. | 2230 // among the distinct pages. |
2231 if (ContendedPaddingWidth < 0 || ContendedPaddingWidth > 8192) { | 2231 if (ContendedPaddingWidth < 0 || ContendedPaddingWidth > 8192) { |
2232 jio_fprintf(defaultStream::error_stream(), | 2232 jio_fprintf(defaultStream::error_stream(), |
2233 "ContendedPaddingWidth=" INTX_FORMAT " must be the between %d and %d\n", | 2233 "ContendedPaddingWidth=" INTX_FORMAT " must be in between %d and %d\n", |
2234 ContendedPaddingWidth, 0, 8192); | 2234 ContendedPaddingWidth, 0, 8192); |
2235 status = false; | 2235 status = false; |
2236 } | 2236 } |
2237 | 2237 |
2238 // Need to enforce the padding not to break the existing field alignments. | 2238 // Need to enforce the padding not to break the existing field alignments. |
2239 // It is sufficient to check against the largest type size. | 2239 // It is sufficient to check against the largest type size. |
2240 if ((ContendedPaddingWidth % BytesPerLong) != 0) { | 2240 if ((ContendedPaddingWidth % BytesPerLong) != 0) { |
2241 jio_fprintf(defaultStream::error_stream(), | 2241 jio_fprintf(defaultStream::error_stream(), |
2242 "ContendedPaddingWidth=" INTX_FORMAT " must be the multiple of %d\n", | 2242 "ContendedPaddingWidth=" INTX_FORMAT " must be a multiple of %d\n", |
2243 ContendedPaddingWidth, BytesPerLong); | 2243 ContendedPaddingWidth, BytesPerLong); |
2244 status = false; | 2244 status = false; |
2245 } | 2245 } |
2246 | 2246 |
2247 // Check lower bounds of the code cache | 2247 // Check lower bounds of the code cache |