4141 !(FLAG_IS_CMDLINE(UseBiasedLocking))) {
4142 UseBiasedLocking = false;
4143 }
4144 }
4145 #ifdef COMPILER2
4146 if (!UseBiasedLocking) {
4147 UseOptoBiasInlining = false;
4148 }
4149 #endif
4150
4151 return JNI_OK;
4152 }
4153
4154 jint Arguments::adjust_after_os() {
4155 if (UseNUMA) {
4156 if (UseParallelGC) {
4157 if (FLAG_IS_DEFAULT(MinHeapDeltaBytes)) {
4158 FLAG_SET_DEFAULT(MinHeapDeltaBytes, 64*M);
4159 }
4160 }
4161 // UseNUMAInterleaving is set to ON for all collectors and platforms when
4162 // UseNUMA is set to ON. NUMA-aware collectors will interleave old gen and
4163 // survivor spaces on top of NUMA allocation policy for the eden space.
4164 // Non NUMA-aware collectors will interleave all of the heap spaces across
4165 // NUMA nodes.
4166 if (FLAG_IS_DEFAULT(UseNUMAInterleaving)) {
4167 FLAG_SET_ERGO(UseNUMAInterleaving, true);
4168 }
4169 }
4170 return JNI_OK;
4171 }
4172
4173 int Arguments::PropertyList_count(SystemProperty* pl) {
4174 int count = 0;
4175 while(pl != NULL) {
4176 count++;
4177 pl = pl->next();
4178 }
4179 return count;
4180 }
4181
4182 // Return the number of readable properties.
4183 int Arguments::PropertyList_readable_count(SystemProperty* pl) {
4184 int count = 0;
4185 while(pl != NULL) {
4186 if (pl->is_readable()) {
4187 count++;
4188 }
|
4141 !(FLAG_IS_CMDLINE(UseBiasedLocking))) {
4142 UseBiasedLocking = false;
4143 }
4144 }
4145 #ifdef COMPILER2
4146 if (!UseBiasedLocking) {
4147 UseOptoBiasInlining = false;
4148 }
4149 #endif
4150
4151 return JNI_OK;
4152 }
4153
4154 jint Arguments::adjust_after_os() {
4155 if (UseNUMA) {
4156 if (UseParallelGC) {
4157 if (FLAG_IS_DEFAULT(MinHeapDeltaBytes)) {
4158 FLAG_SET_DEFAULT(MinHeapDeltaBytes, 64*M);
4159 }
4160 }
4161 }
4162 return JNI_OK;
4163 }
4164
4165 int Arguments::PropertyList_count(SystemProperty* pl) {
4166 int count = 0;
4167 while(pl != NULL) {
4168 count++;
4169 pl = pl->next();
4170 }
4171 return count;
4172 }
4173
4174 // Return the number of readable properties.
4175 int Arguments::PropertyList_readable_count(SystemProperty* pl) {
4176 int count = 0;
4177 while(pl != NULL) {
4178 if (pl->is_readable()) {
4179 count++;
4180 }
|