spring-boot
spring-boot copied to clipboard
Enable ThreadDumpEndpoint on native-image
trafficstars
At the moment, the ThreadDumpEndpoint is not usable in a native image, as GraalVM doesn't implement thread dumping yet.
I've opened an issue for that: https://github.com/oracle/graal/issues/4714
When that issue is resolved, remove the
if (NativeDetector.inNativeImage()) {
throw new ThreadDumperUnavailableException("Running in native image");
}
condition.