Skip to content

Commit

Permalink
remove check for NMT since it does not exist in GraalVM for JDK21
Browse files Browse the repository at this point in the history
  • Loading branch information
roberttoyonaga authored and zakkak committed Aug 28, 2024
1 parent 12f891c commit f407f33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
public class SubstrateExitHandlerFeature implements InternalFeature {
@Override
public void beforeAnalysis(BeforeAnalysisAccess access) {
if (SubstrateOptions.InstallExitHandlers.getValue() || VMInspectionOptions.hasJfrSupport() || VMInspectionOptions.hasNativeMemoryTrackingSupport()) {
if (SubstrateOptions.InstallExitHandlers.getValue() || VMInspectionOptions.hasJfrSupport()) {
RuntimeSupport.getRuntimeSupport().addStartupHook(new SubstrateExitHandlerStartupHook());
}
}
Expand Down

0 comments on commit f407f33

Please sign in to comment.