|
37 | 37 | import com.oracle.svm.core.feature.InternalFeature;
|
38 | 38 | import com.oracle.svm.core.jni.access.JNIAccessibleClass;
|
39 | 39 | import com.oracle.svm.core.jni.access.JNIReflectionDictionary;
|
40 |
| -import com.oracle.svm.core.option.SubstrateOptionsParser; |
41 | 40 | import com.oracle.svm.hosted.FeatureImpl.AfterCompilationAccessImpl;
|
42 | 41 | import com.oracle.svm.hosted.FeatureImpl.BeforeImageWriteAccessImpl;
|
43 | 42 | import com.oracle.svm.hosted.ProgressReporter.DirectPrinter;
|
44 |
| -import com.oracle.svm.hosted.classinitialization.ClassInitializationOptions; |
45 | 43 | import com.oracle.svm.hosted.jdk.JNIRegistrationSupport;
|
46 | 44 | import com.oracle.svm.hosted.util.CPUTypeAArch64;
|
47 | 45 | import com.oracle.svm.hosted.util.CPUTypeAMD64;
|
@@ -92,10 +90,6 @@ public void createAdditionalArtifacts(@SuppressWarnings("unused") BuildArtifacts
|
92 | 90 |
|
93 | 91 | protected List<UserRecommendation> getRecommendations() {
|
94 | 92 | return List.of(// in order of appearance:
|
95 |
| - new UserRecommendation("INIT", |
96 |
| - "Adopt " + SubstrateOptionsParser.commandArgument(ClassInitializationOptions.StrictImageHeap, "+", "strict-image-heap", true, false) + |
97 |
| - " to prepare for the next GraalVM release.", |
98 |
| - () -> !ClassInitializationOptions.StrictImageHeap.getValue()), |
99 | 93 | new UserRecommendation("AWT", "Use the tracing agent to collect metadata for AWT.", ProgressReporterFeature::recommendTraceAgentForAWT),
|
100 | 94 | new UserRecommendation("HEAP", "Set max heap for improved and more predictable memory usage.", () -> SubstrateGCOptions.MaxHeapSize.getValue() == 0),
|
101 | 95 | new UserRecommendation("CPU", "Enable more CPU features with '-march=native' for improved performance.", ProgressReporterFeature::recommendMArchNative));
|
|
0 commit comments