mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8023638: Add the regression test for 8006997
Add the relevant test and proofread the VM messages as well Reviewed-by: coleenp, mseledtsov, dcubed
This commit is contained in:
parent
618cb11a73
commit
9f4ed448a0
2 changed files with 105 additions and 2 deletions
|
@ -2230,7 +2230,7 @@ bool Arguments::check_vm_args_consistency() {
|
|||
// 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 @@ bool Arguments::check_vm_args_consistency() {
|
|||
// 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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue