mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8289534: Change 'uncomplicated' hotspot runtime options
Reviewed-by: coleenp, dholmes
This commit is contained in:
parent
a8fe2d97a2
commit
09b4032f8b
10 changed files with 42 additions and 41 deletions
|
@ -32,10 +32,10 @@
|
|||
#include "runtime/task.hpp"
|
||||
#include "utilities/powerOfTwo.hpp"
|
||||
|
||||
JVMFlag::Error ObjectAlignmentInBytesConstraintFunc(intx value, bool verbose) {
|
||||
JVMFlag::Error ObjectAlignmentInBytesConstraintFunc(int value, bool verbose) {
|
||||
if (!is_power_of_2(value)) {
|
||||
JVMFlag::printError(verbose,
|
||||
"ObjectAlignmentInBytes (" INTX_FORMAT ") must be "
|
||||
"ObjectAlignmentInBytes (%d) must be "
|
||||
"power of 2\n",
|
||||
value);
|
||||
return JVMFlag::VIOLATES_CONSTRAINT;
|
||||
|
@ -43,7 +43,7 @@ JVMFlag::Error ObjectAlignmentInBytesConstraintFunc(intx value, bool verbose) {
|
|||
// In case page size is very small.
|
||||
if (value >= (intx)os::vm_page_size()) {
|
||||
JVMFlag::printError(verbose,
|
||||
"ObjectAlignmentInBytes (" INTX_FORMAT ") must be "
|
||||
"ObjectAlignmentInBytes (%d) must be "
|
||||
"less than page size (%d)\n",
|
||||
value, os::vm_page_size());
|
||||
return JVMFlag::VIOLATES_CONSTRAINT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue