src/share/vm/runtime/arguments.cpp

changeset 5597
4a1efab850f4
parent 5528
740e263c80c6
child 5650
bb57d48691f5
child 5725
01b268b3080a
equal deleted inserted replaced
5577:faf2631b9334 5597: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

mercurial