2437 VerifyDuringStartup = false; // Disable verification at start-up
2438 }
2439
2440 if (VerifyBeforeExit) {
2441 warning("Heap verification at shutdown disabled "
2442 "(due to current incompatibility with FLSVerifyAllHeapReferences)");
2443 VerifyBeforeExit = false; // Disable verification at shutdown
2444 }
2445 }
2446
2447 if (PrintNMTStatistics) {
2448 #if INCLUDE_NMT
2449 if (MemTracker::tracking_level() == NMT_off) {
2450 #endif // INCLUDE_NMT
2451 warning("PrintNMTStatistics is disabled, because native memory tracking is not enabled");
2452 PrintNMTStatistics = false;
2453 #if INCLUDE_NMT
2454 }
2455 #endif
2456 }
2457 #if INCLUDE_JVMCI
2458
2459 status = status && check_jvmci_args_consistency();
2460
2461 if (EnableJVMCI) {
2462 if (!ScavengeRootsInCode) {
2463 warning("forcing ScavengeRootsInCode non-zero because JVMCI is enabled");
2464 ScavengeRootsInCode = 1;
2465 }
2466 if (FLAG_IS_DEFAULT(TypeProfileLevel)) {
2467 TypeProfileLevel = 0;
2468 }
2469 if (UseJVMCICompiler) {
2470 if (FLAG_IS_DEFAULT(TypeProfileWidth)) {
2471 TypeProfileWidth = 8;
2472 }
2473 }
2474 }
2475 #endif
2476
2477 // Check lower bounds of the code cache
2478 // Template Interpreter code is approximately 3X larger in debug builds.
2479 uint min_code_cache_size = CodeCacheMinimumUseSpace DEBUG_ONLY(* 3);
2480 if (InitialCodeCacheSize < (uintx)os::vm_page_size()) {
2481 jio_fprintf(defaultStream::error_stream(),
2482 "Invalid InitialCodeCacheSize=%dK. Must be at least %dK.\n", InitialCodeCacheSize/K,
2483 os::vm_page_size()/K);
2484 status = false;
2485 } else if (ReservedCodeCacheSize < InitialCodeCacheSize) {
|
2437 VerifyDuringStartup = false; // Disable verification at start-up
2438 }
2439
2440 if (VerifyBeforeExit) {
2441 warning("Heap verification at shutdown disabled "
2442 "(due to current incompatibility with FLSVerifyAllHeapReferences)");
2443 VerifyBeforeExit = false; // Disable verification at shutdown
2444 }
2445 }
2446
2447 if (PrintNMTStatistics) {
2448 #if INCLUDE_NMT
2449 if (MemTracker::tracking_level() == NMT_off) {
2450 #endif // INCLUDE_NMT
2451 warning("PrintNMTStatistics is disabled, because native memory tracking is not enabled");
2452 PrintNMTStatistics = false;
2453 #if INCLUDE_NMT
2454 }
2455 #endif
2456 }
2457
2458 #if INCLUDE_JVMCI
2459 status = status && check_jvmci_args_consistency();
2460
2461 if (EnableJVMCI) {
2462 if (!ScavengeRootsInCode) {
2463 warning("forcing ScavengeRootsInCode non-zero because JVMCI is enabled");
2464 ScavengeRootsInCode = 1;
2465 }
2466 if (TieredStopAtLevel != CompLevel_full_optimization) {
2467 // Currently JVMCI compiler can only work at the full optimization level
2468 warning("forcing TieredStopAtLevel to full optimization because JVMCI is enabled");
2469 TieredStopAtLevel = CompLevel_full_optimization;
2470 }
2471 if (FLAG_IS_DEFAULT(TypeProfileLevel)) {
2472 TypeProfileLevel = 0;
2473 }
2474 if (UseJVMCICompiler) {
2475 if (FLAG_IS_DEFAULT(TypeProfileWidth)) {
2476 TypeProfileWidth = 8;
2477 }
2478 }
2479 }
2480 #endif
2481
2482 // Check lower bounds of the code cache
2483 // Template Interpreter code is approximately 3X larger in debug builds.
2484 uint min_code_cache_size = CodeCacheMinimumUseSpace DEBUG_ONLY(* 3);
2485 if (InitialCodeCacheSize < (uintx)os::vm_page_size()) {
2486 jio_fprintf(defaultStream::error_stream(),
2487 "Invalid InitialCodeCacheSize=%dK. Must be at least %dK.\n", InitialCodeCacheSize/K,
2488 os::vm_page_size()/K);
2489 status = false;
2490 } else if (ReservedCodeCacheSize < InitialCodeCacheSize) {
|