< prev index next >

src/hotspot/share/runtime/arguments.cpp

Print this page




4173       LogVMOutput = true;
4174     }
4175   }
4176 #endif // PRODUCT
4177 
4178   if (PrintCommandLineFlags) {
4179     JVMFlag::printSetFlags(tty);
4180   }
4181 
4182   // Apply CPU specific policy for the BiasedLocking
4183   if (UseBiasedLocking) {
4184     if (!VM_Version::use_biased_locking() &&
4185         !(FLAG_IS_CMDLINE(UseBiasedLocking))) {
4186       UseBiasedLocking = false;
4187     }
4188   }
4189 #ifdef COMPILER2
4190   if (!UseBiasedLocking) {
4191     UseOptoBiasInlining = false;
4192   }
4193 #endif
4194 
















4195   return JNI_OK;
4196 }
4197 
4198 jint Arguments::adjust_after_os() {
4199   if (UseNUMA) {
4200     if (UseParallelGC) {
4201       if (FLAG_IS_DEFAULT(MinHeapDeltaBytes)) {
4202          FLAG_SET_DEFAULT(MinHeapDeltaBytes, 64*M);
4203       }
4204     }
4205   }
4206   return JNI_OK;
4207 }
4208 
4209 int Arguments::PropertyList_count(SystemProperty* pl) {
4210   int count = 0;
4211   while(pl != NULL) {
4212     count++;
4213     pl = pl->next();
4214   }




4173       LogVMOutput = true;
4174     }
4175   }
4176 #endif // PRODUCT
4177 
4178   if (PrintCommandLineFlags) {
4179     JVMFlag::printSetFlags(tty);
4180   }
4181 
4182   // Apply CPU specific policy for the BiasedLocking
4183   if (UseBiasedLocking) {
4184     if (!VM_Version::use_biased_locking() &&
4185         !(FLAG_IS_CMDLINE(UseBiasedLocking))) {
4186       UseBiasedLocking = false;
4187     }
4188   }
4189 #ifdef COMPILER2
4190   if (!UseBiasedLocking) {
4191     UseOptoBiasInlining = false;
4192   }

4193 
4194   if (!EnableVectorSupport) {
4195     if (!FLAG_IS_DEFAULT(EnableVectorReboxing) && EnableVectorReboxing) {
4196       warning("Disabling EnableVectorReboxing since EnableVectorSupport is turned off.");
4197     }
4198     FLAG_SET_DEFAULT(EnableVectorReboxing, false);
4199 
4200     if (!FLAG_IS_DEFAULT(EnableVectorAggressiveReboxing) && EnableVectorAggressiveReboxing) {
4201       if (!EnableVectorReboxing) {
4202         warning("Disabling EnableVectorAggressiveReboxing since EnableVectorReboxing is turned off.");
4203       } else {
4204         warning("Disabling EnableVectorAggressiveReboxing since EnableVectorSupport is turned off.");
4205       }
4206     }
4207     FLAG_SET_DEFAULT(EnableVectorAggressiveReboxing, false);
4208   }
4209 #endif // COMPILER2
4210   return JNI_OK;
4211 }
4212 
4213 jint Arguments::adjust_after_os() {
4214   if (UseNUMA) {
4215     if (UseParallelGC) {
4216       if (FLAG_IS_DEFAULT(MinHeapDeltaBytes)) {
4217          FLAG_SET_DEFAULT(MinHeapDeltaBytes, 64*M);
4218       }
4219     }
4220   }
4221   return JNI_OK;
4222 }
4223 
4224 int Arguments::PropertyList_count(SystemProperty* pl) {
4225   int count = 0;
4226   while(pl != NULL) {
4227     count++;
4228     pl = pl->next();
4229   }


< prev index next >