spring-boot icon indicating copy to clipboard operation
spring-boot copied to clipboard

Enable ThreadDumpEndpoint on native-image

Open mhalbritter opened this issue 3 years ago • 0 comments
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.

mhalbritter avatar Jul 12 '22 06:07 mhalbritter