3823 return JNI_ENOMEM; 3824 } 3825 3826 // Set up VerifySharedSpaces 3827 if (FLAG_IS_DEFAULT(VerifySharedSpaces) && SharedArchiveFile != NULL) { 3828 VerifySharedSpaces = true; 3829 } 3830 3831 // Delay warning until here so that we've had a chance to process 3832 // the -XX:-PrintWarnings flag 3833 if (needs_hotspotrc_warning) { 3834 warning("%s file is present but has been ignored. " 3835 "Run with -XX:Flags=%s to load the file.", 3836 hotspotrc, hotspotrc); 3837 } 3838 3839 #ifdef _ALLBSD_SOURCE // UseLargePages is not yet supported on BSD. 3840 UNSUPPORTED_OPTION(UseLargePages, "-XX:+UseLargePages"); 3841 #endif 3842 3843 #if INCLUDE_ALL_GCS 3844 #if (defined JAVASE_EMBEDDED || defined ARM) 3845 UNSUPPORTED_OPTION(UseG1GC, "G1 GC"); 3846 #endif 3847 #endif 3848 3849 ArgumentsExt::report_unsupported_options(); 3850 3851 #ifndef PRODUCT 3852 if (TraceBytecodesAt != 0) { 3853 TraceBytecodes = true; 3854 } 3855 if (CountCompiledCalls) { 3856 if (UseCounterDecay) { 3857 warning("UseCounterDecay disabled because CountCalls is set"); 3858 UseCounterDecay = false; 3859 } 3860 } 3861 #endif // PRODUCT 3862 3863 if (ScavengeRootsInCode == 0) { 3864 if (!FLAG_IS_DEFAULT(ScavengeRootsInCode)) { 3865 warning("forcing ScavengeRootsInCode non-zero"); 3866 } 3867 ScavengeRootsInCode = 1; 3868 } | 3823 return JNI_ENOMEM; 3824 } 3825 3826 // Set up VerifySharedSpaces 3827 if (FLAG_IS_DEFAULT(VerifySharedSpaces) && SharedArchiveFile != NULL) { 3828 VerifySharedSpaces = true; 3829 } 3830 3831 // Delay warning until here so that we've had a chance to process 3832 // the -XX:-PrintWarnings flag 3833 if (needs_hotspotrc_warning) { 3834 warning("%s file is present but has been ignored. " 3835 "Run with -XX:Flags=%s to load the file.", 3836 hotspotrc, hotspotrc); 3837 } 3838 3839 #ifdef _ALLBSD_SOURCE // UseLargePages is not yet supported on BSD. 3840 UNSUPPORTED_OPTION(UseLargePages, "-XX:+UseLargePages"); 3841 #endif 3842 3843 ArgumentsExt::report_unsupported_options(); 3844 3845 #ifndef PRODUCT 3846 if (TraceBytecodesAt != 0) { 3847 TraceBytecodes = true; 3848 } 3849 if (CountCompiledCalls) { 3850 if (UseCounterDecay) { 3851 warning("UseCounterDecay disabled because CountCalls is set"); 3852 UseCounterDecay = false; 3853 } 3854 } 3855 #endif // PRODUCT 3856 3857 if (ScavengeRootsInCode == 0) { 3858 if (!FLAG_IS_DEFAULT(ScavengeRootsInCode)) { 3859 warning("forcing ScavengeRootsInCode non-zero"); 3860 } 3861 ScavengeRootsInCode = 1; 3862 } |