Skip to content

Threads are blocked with virtual threads active while waiting for a lock to load classes with JarUrlClassLoader #51463

Open

Description

Used versions
Spring Boot 4.1.0
OpenJDK 64-Bit Server VM (25.0.4+7-LTS mixed mode, sharing)

Describe the bug
While startup of our Spring Boot application, threads are blocked because they are waiting for a lock to load classes from the java.base module with org.springframework.boot.loader.net.protocol.jar.JarUrlClassLoader. The application is not responding to any request.

In the following thread dump the entry at org.springframework.boot.loader.jar.NestedJarFile.hasEntry(NestedJarFile.java:251) - waiting to lock <0x00000000e165a528> (a org.springframework.boot.loader.net.protocol.jar.UrlNestedJarFile) is existent twice in two different threads.

The Catalina-utility-2 thread is blocked.

Full thread dump OpenJDK 64-Bit Server VM (25.0.4+7-LTS mixed mode, sharing):
Threads class SMR info:
_java_thread_list=0x00007f9e7dfba470, length=24, elements={
0x00007f9e888d8680, 0x00007f9e888b8170, 0x00007f9e888b8c20, 0x00007f9e888b96d0,
0x00007f9e888b5030, 0x00007f9e888b5940, 0x00007f9e888b6270, 0x00007f9e888b74f0,
0x00007f9e88003030, 0x00007f9e88005500, 0x00007f9e80f2c260, 0x00007f9e80f2b900,
0x00007f9e80f2cb60, 0x00007f9e806ebb50, 0x00007f9e806ec480, 0x00007f9e806ecd50,
0x00007f9e806ed6c0, 0x00007f9e7f81fd70, 0x00007f9e7f821020, 0x00007f9e7f822240,
0x00007f9e7f823db0, 0x00007f9e880039a0, 0x00007f9e7e966740, 0x00007f9e7f81c6b0
}
"Reference Handler" #12 [16] daemon prio=10 os_prio=0 cpu=7.11ms elapsed=25185.63s tid=0x00007f9e888d8680 nid=16 waiting on condition  [0x00007f9e88577000]
   java.lang.Thread.State: RUNNABLE
	at java.lang.ref.Reference.waitForReferencePendingList([email protected]/Native Method)
	at java.lang.ref.Reference.processPendingReferences([email protected]/Unknown Source)
	at java.lang.ref.Reference$ReferenceHandler.run([email protected]/Unknown Source)
"Finalizer" #13 [17] daemon prio=8 os_prio=0 cpu=0.35ms elapsed=25185.63s tid=0x00007f9e888b8170 nid=17 in Object.wait()  [0x00007f9e88474000]
   java.lang.Thread.State: WAITING (on object monitor)
	at java.lang.Object.wait0([email protected]/Native Method)
	- waiting on <0x00000000e01000e8> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.Object.wait([email protected]/Unknown Source)
	at java.lang.Object.wait([email protected]/Unknown Source)
	at java.lang.ref.ReferenceQueue.remove0([email protected]/Unknown Source)
	at java.lang.ref.ReferenceQueue.remove([email protected]/Unknown Source)
	- locked <0x00000000e01000e8> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.Finalizer$FinalizerThread.run([email protected]/Unknown Source)
"Signal Dispatcher" #14 [18] daemon prio=9 os_prio=0 cpu=0.35ms elapsed=25185.63s tid=0x00007f9e888b8c20 nid=18 waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE
"Service Thread" #15 [19] daemon prio=9 os_prio=0 cpu=932.95ms elapsed=25185.63s tid=0x00007f9e888b96d0 nid=19 runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE
"Monitor Deflation Thread" #16 [20] daemon prio=9 os_prio=0 cpu=2957.73ms elapsed=25185.63s tid=0x00007f9e888b5030 nid=20 runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE
"C2 CompilerThread0" #17 [21] daemon prio=9 os_prio=0 cpu=26579.67ms elapsed=25185.63s tid=0x00007f9e888b5940 nid=21 waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE
   No compile task
"C1 CompilerThread0" #18 [22] daemon prio=9 os_prio=0 cpu=7706.32ms elapsed=25185.63s tid=0x00007f9e888b6270 nid=22 waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE
   No compile task
"Notification Thread" #19 [23] daemon prio=9 os_prio=0 cpu=19.86ms elapsed=25185.62s tid=0x00007f9e888b74f0 nid=23 runnable  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE
"Common-Cleaner" #20 [24] daemon prio=8 os_prio=0 cpu=30.03ms elapsed=25185.62s tid=0x00007f9e88003030 nid=24 in Object.wait()  [0x00007f9e83c9d000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait0([email protected]/Native Method)
	- waiting on <no object reference available>
	at java.lang.Object.wait([email protected]/Unknown Source)
	at java.lang.ref.ReferenceQueue.remove0([email protected]/Unknown Source)
	at java.lang.ref.ReferenceQueue.remove([email protected]/Unknown Source)
	- locked <0x00000000e01001b0> (a java.lang.ref.ReferenceQueue$Lock)
	at jdk.internal.ref.CleanerImpl.run([email protected]/Unknown Source)
	at java.lang.Thread.runWith([email protected]/Unknown Source)
	at java.lang.Thread.run([email protected]/Unknown Source)
	at jdk.internal.misc.InnocuousThread.run([email protected]/Unknown Source)
"Cleaner-0" #21 [25] daemon prio=8 os_prio=0 cpu=42.06ms elapsed=25185.43s tid=0x00007f9e88005500 nid=25 in Object.wait()  [0x00007f9e839d0000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
	at java.lang.Object.wait0([email protected]/Native Method)
	- waiting on <no object reference available>
	at java.lang.Object.wait([email protected]/Unknown Source)
	at java.lang.ref.ReferenceQueue.remove0([email protected]/Unknown Source)
	at java.lang.ref.ReferenceQueue.remove([email protected]/Unknown Source)
	- locked <0x00000000e0100270> (a java.lang.ref.ReferenceQueue$Lock)
	at jdk.internal.ref.CleanerImpl.run([email protected]/Unknown Source)
	at java.lang.Thread.runWith([email protected]/Unknown Source)
	at java.lang.Thread.run([email protected]/Unknown Source)
	at jdk.internal.misc.InnocuousThread.run([email protected]/Unknown Source)
"Catalina-utility-1" #28 [30] prio=1 os_prio=0 cpu=2262.02ms elapsed=25173.33s tid=0x00007f9e80f2c260 nid=30 waiting on condition  [0x00007f9e80aca000]
   java.lang.Thread.State: TIMED_WAITING (parking)
	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
	- parking to wait for  <0x00000000e1f00278> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.parkNanos([email protected]/Unknown Source)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos([email protected]/Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take([email protected]/Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take([email protected]/Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.getTask([email protected]/Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker([email protected]/Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run([email protected]/Unknown Source)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:74)
	at java.lang.Thread.runWith([email protected]/Unknown Source)
	at java.lang.Thread.run([email protected]/Unknown Source)
"Catalina-utility-2" #29 [31] prio=1 os_prio=0 cpu=1555.76ms elapsed=25173.33s tid=0x00007f9e80f2b900 nid=31 waiting for monitor entry  [0x00007f9e8089c000]
   java.lang.Thread.State: BLOCKED (on object monitor)
	at org.springframework.boot.loader.jar.NestedJarFile.hasEntry(NestedJarFile.java:251)
	- waiting to lock <0x00000000e165a528> (a org.springframework.boot.loader.net.protocol.jar.UrlNestedJarFile)
	at org.springframework.boot.loader.net.protocol.jar.JarUrlConnection.hasEntry(JarUrlConnection.java:356)
	at org.springframework.boot.loader.net.protocol.jar.JarUrlConnection.open(JarUrlConnection.java:347)
	at org.springframework.boot.loader.net.protocol.jar.Handler.openConnection(Handler.java:46)
	at java.net.URL.openConnection([email protected]/Unknown Source)
	at jdk.internal.loader.URLClassPath$Loader.getResource([email protected]/Unknown Source)
	at jdk.internal.loader.URLClassPath.getResource([email protected]/Unknown Source)
	at java.net.URLClassLoader.findClass([email protected]/Unknown Source)
	at java.lang.ClassLoader.loadClass([email protected]/Unknown Source)
	- locked <0x00000000f01289a8> (a java.lang.Object)
	at org.springframework.boot.loader.net.protocol.jar.JarUrlClassLoader.loadClass(JarUrlClassLoader.java:107)
	at org.springframework.boot.loader.launch.LaunchedClassLoader.loadClass(LaunchedClassLoader.java:91)
	at java.lang.ClassLoader.loadClass([email protected]/Unknown Source)
	at org.apache.catalina.core.ContainerBase.getClusterInternal(ContainerBase.java:342)
	at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:931)
	- locked <0x00000000e2d16b50> (a org.apache.catalina.core.StandardWrapper)
	at org.apache.catalina.core.StandardWrapper.backgroundProcess(StandardWrapper.java:474)
	- locked <0x00000000e2d16b50> (a org.apache.catalina.core.StandardWrapper)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1179)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1183)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1183)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1183)
	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1156)
	at java.util.concurrent.Executors$RunnableAdapter.call([email protected]/Unknown Source)
	at java.util.concurrent.FutureTask.runAndReset([email protected]/Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run([email protected]/Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker([email protected]/Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run([email protected]/Unknown Source)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:74)
	at java.lang.Thread.runWith([email protected]/Unknown Source)
	at java.lang.Thread.run([email protected]/Unknown Source)
"container-0" #30 [32] prio=5 os_prio=0 cpu=126.99ms elapsed=25173.31s tid=0x00007f9e80f2cb60 nid=32 waiting on condition  [0x00007f9e804ab000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
	at java.lang.Thread.sleepNanos0([email protected]/Native Method)
	at java.lang.Thread.sleepNanos([email protected]/Unknown Source)
	at java.lang.Thread.sleep([email protected]/Unknown Source)
	at org.apache.catalina.core.StandardServer.await(StandardServer.java:522)
	at org.springframework.boot.tomcat.TomcatWebServer$1.run(TomcatWebServer.java:216)
"HttpClient-1-SelectorManager" #47 [49] daemon prio=5 os_prio=0 cpu=480.50ms elapsed=25168.17s tid=0x00007f9e806ebb50 nid=49 runnable  [0x00007f9e7f973000]
   java.lang.Thread.State: RUNNABLE
	at sun.nio.ch.EPoll.wait([email protected]/Native Method)
	at sun.nio.ch.EPollSelectorImpl.doSelect([email protected]/Unknown Source)
	at sun.nio.ch.SelectorImpl.lockAndDoSelect([email protected]/Unknown Source)
	- locked <0x00000000e52800e8> (a sun.nio.ch.Util$2)
	- locked <0x00000000e5280098> (a sun.nio.ch.EPollSelectorImpl)
	at sun.nio.ch.SelectorImpl.select([email protected]/Unknown Source)
	at jdk.internal.net.http.HttpClientImpl$SelectorManager.run([email protected]/Unknown Source)
"HttpClient-2-SelectorManager" #48 [50] daemon prio=5 os_prio=0 cpu=494.79ms elapsed=25168.14s tid=0x00007f9e806ec480 nid=50 runnable  [0x00007f9e7f6a0000]
   java.lang.Thread.State: RUNNABLE
	at sun.nio.ch.EPoll.wait([email protected]/Native Method)
	at sun.nio.ch.EPollSelectorImpl.doSelect([email protected]/Unknown Source)
	at sun.nio.ch.SelectorImpl.lockAndDoSelect([email protected]/Unknown Source)
	- locked <0x00000000e52803d8> (a sun.nio.ch.Util$2)
	- locked <0x00000000e5280388> (a sun.nio.ch.EPollSelectorImpl)
	at sun.nio.ch.SelectorImpl.select([email protected]/Unknown Source)
	at jdk.internal.net.http.HttpClientImpl$SelectorManager.run([email protected]/Unknown Source)
"HttpClient-3-SelectorManager" #49 [51] daemon prio=5 os_prio=0 cpu=497.89ms elapsed=25168.12s tid=0x00007f9e806ecd50 nid=51 runnable  [0x00007f9e7f59d000]
   java.lang.Thread.State: RUNNABLE
	at sun.nio.ch.EPoll.wait([email protected]/Native Method)
	at sun.nio.ch.EPollSelectorImpl.doSelect([email protected]/Unknown Source)
	at sun.nio.ch.SelectorImpl.lockAndDoSelect([email protected]/Unknown Source)
	- locked <0x00000000e5280518> (a sun.nio.ch.Util$2)
	- locked <0x00000000e52804c8> (a sun.nio.ch.EPollSelectorImpl)
	at sun.nio.ch.SelectorImpl.select([email protected]/Unknown Source)
	at jdk.internal.net.http.HttpClientImpl$SelectorManager.run([email protected]/Unknown Source)
"HttpClient-4-SelectorManager" #50 [52] daemon prio=5 os_prio=0 cpu=481.95ms elapsed=25168.11s tid=0x00007f9e806ed6c0 nid=52 runnable  [0x00007f9e7f49a000]
   java.lang.Thread.State: RUNNABLE
	at sun.nio.ch.EPoll.wait([email protected]/Native Method)
	at sun.nio.ch.EPollSelectorImpl.doSelect([email protected]/Unknown Source)
	at sun.nio.ch.SelectorImpl.lockAndDoSelect([email protected]/Unknown Source)
	- locked <0x00000000e5280658> (a sun.nio.ch.Util$2)
	- locked <0x00000000e5280608> (a sun.nio.ch.EPollSelectorImpl)
	at sun.nio.ch.SelectorImpl.select([email protected]/Unknown Source)
	at jdk.internal.net.http.HttpClientImpl$SelectorManager.run([email protected]/Unknown Source)
"http-nio-4090-Poller" #52 [54] daemon prio=5 os_prio=0 cpu=1894.88ms elapsed=25160.73s tid=0x00007f9e7f81fd70 nid=54 runnable  [0x00007f9e7e57e000]
   java.lang.Thread.State: RUNNABLE
	at sun.nio.ch.EPoll.wait([email protected]/Native Method)
	at sun.nio.ch.EPollSelectorImpl.doSelect([email protected]/Unknown Source)
	at sun.nio.ch.SelectorImpl.lockAndDoSelect([email protected]/Unknown Source)
	- locked <0x00000000e98800f0> (a sun.nio.ch.Util$2)
	- locked <0x00000000e98800a0> (a sun.nio.ch.EPollSelectorImpl)
	at sun.nio.ch.SelectorImpl.select([email protected]/Unknown Source)
	at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:912)
	at java.lang.Thread.runWith([email protected]/Unknown Source)
	at java.lang.Thread.run([email protected]/Unknown Source)
"http-nio-4090-Acceptor" #53 [55] daemon prio=5 os_prio=0 cpu=73.61ms elapsed=25160.73s tid=0x00007f9e7f821020 nid=55 runnable  [0x00007f9e7dcca000]
   java.lang.Thread.State: RUNNABLE
	at sun.nio.ch.Net.accept([email protected]/Native Method)
	at sun.nio.ch.ServerSocketChannelImpl.implAccept([email protected]/Unknown Source)
	at sun.nio.ch.ServerSocketChannelImpl.accept([email protected]/Unknown Source)
	at org.apache.tomcat.util.net.NioEndpoint.serverSocketAccept(NioEndpoint.java:626)
	at org.apache.tomcat.util.net.NioEndpoint.serverSocketAccept(NioEndpoint.java:71)
	at org.apache.tomcat.util.net.Acceptor.run(Acceptor.java:145)
	at java.lang.Thread.runWith([email protected]/Unknown Source)
	at java.lang.Thread.run([email protected]/Unknown Source)
"VirtualThread-unblocker" #54 [56] daemon prio=5 os_prio=0 cpu=0.97ms elapsed=25160.64s tid=0x00007f9e7f822240 nid=56 runnable  [0x00007f9e7dbc8000]
   java.lang.Thread.State: RUNNABLE
	at java.lang.VirtualThread.takeVirtualThreadListToUnblock([email protected]/Native Method)
	at java.lang.VirtualThread.unblockVirtualThreads([email protected]/Unknown Source)
	at java.lang.VirtualThread$$Lambda/0x000000000d7e1730.run([email protected]/Unknown Source)
	at java.lang.Thread.runWith([email protected]/Unknown Source)
	at java.lang.Thread.run([email protected]/Unknown Source)
	at jdk.internal.misc.InnocuousThread.run([email protected]/Unknown Source)
"ForkJoinPool-1-delayScheduler" #58 [59] daemon prio=5 os_prio=0 cpu=24.31ms elapsed=25160.54s tid=0x00007f9e7f823db0 nid=59 waiting on condition  [0x00007f9e7e113000]
   java.lang.Thread.State: WAITING (parking)
	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
	at java.util.concurrent.DelayScheduler.loop([email protected]/Unknown Source)
	at java.util.concurrent.DelayScheduler.run([email protected]/Unknown Source)
"DestroyJavaVM" #60 [7] prio=5 os_prio=0 cpu=16972.45ms elapsed=25160.27s tid=0x00007f9e880039a0 nid=7 waiting on condition  [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE
"ForkJoinPool-1-worker-107" #179 [164] daemon prio=5 os_prio=0 cpu=996.50ms elapsed=22002.89s tid=0x00007f9e7e966740  [0x00007f9e7e67f000]
   Carrying virtual thread #178
	at jdk.internal.vm.Continuation.run([email protected]/Unknown Source)
	at java.lang.VirtualThread.runContinuation([email protected]/Unknown Source)
	at java.lang.VirtualThread$$Lambda/0x000000000d7e1e00.run([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinTask$InterruptibleTask.exec([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinTask.doExec([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinPool.runWorker([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinWorkerThread.run([email protected]/Unknown Source)
   Mounted virtual thread #178
	at org.springframework.boot.loader.jar.NestedJarFile.hasEntry(NestedJarFile.java:251)
	- waiting to lock <0x00000000e165a528> (a org.springframework.boot.loader.net.protocol.jar.UrlNestedJarFile)
	at org.springframework.boot.loader.net.protocol.jar.JarUrlConnection.hasEntry(JarUrlConnection.java:356)
	at org.springframework.boot.loader.net.protocol.jar.JarUrlConnection.open(JarUrlConnection.java:347)
	at org.springframework.boot.loader.net.protocol.jar.Handler.openConnection(Handler.java:46)
	at java.net.URL.openConnection([email protected]/Unknown Source)
	at jdk.internal.loader.URLClassPath$Loader.getResource([email protected]/Unknown Source)
	at jdk.internal.loader.URLClassPath.getResource([email protected]/Unknown Source)
	at java.net.URLClassLoader.findClass([email protected]/Unknown Source)
	at java.lang.ClassLoader.loadClass([email protected]/Unknown Source)
	- locked <0x00000000f0983348> (a java.lang.Object)
	at org.springframework.boot.loader.net.protocol.jar.JarUrlClassLoader.loadClass(JarUrlClassLoader.java:107)
	at org.springframework.boot.loader.launch.LaunchedClassLoader.loadClass(LaunchedClassLoader.java:91)
	at java.lang.ClassLoader.loadClass([email protected]/Unknown Source)
	at org.springframework.expression.spel.support.ReflectionHelper.compareArguments(ReflectionHelper.java:67)
	at org.springframework.expression.spel.support.ReflectiveMethodResolver.resolve(ReflectiveMethodResolver.java:179)
	at org.springframework.expression.spel.ast.MethodReference.findMethodExecutor(MethodReference.java:286)
	at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:187)
	at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:125)
	at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:198)
	at org.springframework.expression.spel.ast.OpOr.getBooleanValue(OpOr.java:59)
	at org.springframework.expression.spel.ast.OpOr.getValueInternal(OpOr.java:50)
	at org.springframework.expression.spel.ast.OpOr.getValueInternal(OpOr.java:39)
	at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:114)
	at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:267)
	at org.springframework.security.authorization.method.ExpressionUtils.evaluate(ExpressionUtils.java:45)
	at org.springframework.security.authorization.method.PreAuthorizeAuthorizationManager.authorize(PreAuthorizeAuthorizationManager.java:88)
	at org.springframework.security.authorization.method.PreAuthorizeAuthorizationManager.authorize(PreAuthorizeAuthorizationManager.java:42)
	at org.springframework.security.authorization.ObservationAuthorizationManager.authorize(ObservationAuthorizationManager.java:75)
	at org.springframework.security.authorization.method.AuthorizationManagerBeforeMethodInterceptor.attemptAuthorization(AuthorizationManagerBeforeMethodInterceptor.java:252)
	at org.springframework.security.authorization.method.AuthorizationManagerBeforeMethodInterceptor.invoke(AuthorizationManagerBeforeMethodInterceptor.java:197)
	at org.springframework.security.config.annotation.method.configuration.DeferringMethodInterceptor.invoke(DeferringMethodInterceptor.java:44)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:719)
	at com.mycompany.nexus.core.handler.ltc.LtcController$$SpringCGLIB$$0.getAreas(<generated>)
	at java.lang.invoke.DirectMethodHandle$Holder.invokeVirtual([email protected]/DirectMethodHandle$Holder)
	at java.lang.invoke.LambdaForm$MH/0x000000000d06c800.invoke([email protected]/LambdaForm$MH)
	at java.lang.invoke.Invokers$Holder.invokeExact_MT([email protected]/Invokers$Holder)
	at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl([email protected]/Unknown Source)
	at jdk.internal.reflect.DirectMethodHandleAccessor.invoke([email protected]/Unknown Source)
	at java.lang.reflect.Method.invoke([email protected]/Unknown Source)
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:252)
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:184)
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:934)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:853)
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:86)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:866)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1000)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:892)
	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:622)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:874)
	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:710)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:132)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:59)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:315)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at com.mycompany.security.logging.filter.PrivilegedAccessLoggingFilter.doFilterInternal(PrivilegedAccessLoggingFilter.java:50)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108)
	at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$2(FilterChainProxy.java:235)
	at org.springframework.security.web.FilterChainProxy$$Lambda/0x000000000da363c8.doFilter(Unknown Source)
	at org.springframework.security.web.ObservationFilterChainDecorator$FilterObservation$SimpleFilterObservation.lambda$wrap$1(ObservationFilterChainDecorator.java:491)
	at org.springframework.security.web.ObservationFilterChainDecorator$FilterObservation$SimpleFilterObservation$$Lambda/0x000000000da808f8.doFilter(Unknown Source)
	at org.springframework.security.web.ObservationFilterChainDecorator$AroundFilterObservation$SimpleAroundFilterObservation.lambda$wrap$1(ObservationFilterChainDecorator.java:353)
	at org.springframework.security.web.ObservationFilterChainDecorator$AroundFilterObservation$SimpleAroundFilterObservation$$Lambda/0x000000000da80b28.doFilter(Unknown Source)
	at org.springframework.security.web.ObservationFilterChainDecorator.lambda$wrapSecured$0(ObservationFilterChainDecorator.java:84)
	at org.springframework.security.web.ObservationFilterChainDecorator$$Lambda/0x000000000da36828.doFilter(Unknown Source)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:131)
	at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:101)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:181)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.oauth2.server.resource.web.authentication.BearerTokenAuthenticationFilter.doFilterInternal(BearerTokenAuthenticationFilter.java:207)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.oauth2.server.resource.web.OAuth2ProtectedResourceMetadataFilter.doFilterInternal(OAuth2ProtectedResourceMetadataFilter.java:98)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:96)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82)
	at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter$$Lambda/0x000000000da3c730.doFilter(Unknown Source)
	at org.springframework.security.web.ObservationFilterChainDecorator$AroundFilterObservation$SimpleAroundFilterObservation.lambda$wrap$0(ObservationFilterChainDecorator.java:336)
	at org.springframework.security.web.ObservationFilterChainDecorator$AroundFilterObservation$SimpleAroundFilterObservation$$Lambda/0x000000000da3c980.doFilter(Unknown Source)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:237)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:195)
	at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113)
	at org.springframework.web.filter.ServletRequestPathFilter.doFilter(ServletRequestPathFilter.java:52)
	at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113)
	at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74)
	at org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebSecurityConfiguration.java:317)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:355)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:272)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:110)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:199)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.springframework.web.filter.ForwardedHeaderFilter.doFilterInternal(ForwardedHeaderFilter.java:174)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:165)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:77)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:535)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:86)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:71)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:347)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:406)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:71)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1307)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:2036)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:74)
	at java.lang.Thread.runWith([email protected]/Unknown Source)
	at java.lang.VirtualThread.run([email protected]/Unknown Source)
	at java.lang.VirtualThread$VThreadContinuation$1.run([email protected]/Unknown Source)
	at jdk.internal.vm.Continuation.enter0([email protected]/Unknown Source)
	at jdk.internal.vm.Continuation.enter([email protected]/Unknown Source)
"ForkJoinPool-1-worker-108" #181 [165] daemon prio=5 os_prio=0 cpu=907.74ms elapsed=22002.90s tid=0x00007f9e7f81c6b0  [0x00007f9e7dac2000]
   Carrying virtual thread #182
	at jdk.internal.vm.Continuation.run([email protected]/Unknown Source)
	at java.lang.VirtualThread.runContinuation([email protected]/Unknown Source)
	at java.lang.VirtualThread$$Lambda/0x000000000d7e1e00.run([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinTask$InterruptibleTask.exec([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinTask.doExec([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinPool.runWorker([email protected]/Unknown Source)
	at java.util.concurrent.ForkJoinWorkerThread.run([email protected]/Unknown Source)
   Mounted virtual thread #182
	at java.lang.ClassLoader.loadClass([email protected]/Unknown Source)
	- waiting to lock <0x00000000f0983348> (a java.lang.Object)
	at org.springframework.boot.loader.net.protocol.jar.JarUrlClassLoader.loadClass(JarUrlClassLoader.java:107)
	at org.springframework.boot.loader.launch.LaunchedClassLoader.loadClass(LaunchedClassLoader.java:91)
	at java.lang.ClassLoader.loadClass([email protected]/Unknown Source)
	at org.springframework.expression.spel.support.ReflectionHelper.compareArguments(ReflectionHelper.java:67)
	at org.springframework.expression.spel.support.ReflectiveMethodResolver.resolve(ReflectiveMethodResolver.java:179)
	at org.springframework.expression.spel.ast.MethodReference.findMethodExecutor(MethodReference.java:286)
	at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:187)
	at org.springframework.expression.spel.ast.MethodReference.getValueInternal(MethodReference.java:125)
	at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:198)
	at org.springframework.expression.spel.ast.OpOr.getBooleanValue(OpOr.java:59)
	at org.springframework.expression.spel.ast.OpOr.getValueInternal(OpOr.java:50)
	at org.springframework.expression.spel.ast.OpOr.getValueInternal(OpOr.java:39)
	at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:114)
	at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:267)
	at org.springframework.security.authorization.method.ExpressionUtils.evaluate(ExpressionUtils.java:45)
	at org.springframework.security.authorization.method.PreAuthorizeAuthorizationManager.authorize(PreAuthorizeAuthorizationManager.java:88)
	at org.springframework.security.authorization.method.PreAuthorizeAuthorizationManager.authorize(PreAuthorizeAuthorizationManager.java:42)
	at org.springframework.security.authorization.ObservationAuthorizationManager.authorize(ObservationAuthorizationManager.java:75)
	at org.springframework.security.authorization.method.AuthorizationManagerBeforeMethodInterceptor.attemptAuthorization(AuthorizationManagerBeforeMethodInterceptor.java:252)
	at org.springframework.security.authorization.method.AuthorizationManagerBeforeMethodInterceptor.invoke(AuthorizationManagerBeforeMethodInterceptor.java:197)
	at org.springframework.security.config.annotation.method.configuration.DeferringMethodInterceptor.invoke(DeferringMethodInterceptor.java:44)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:719)
	at com.mycompany.nexus.core.handler.submodel.SubmodelController$$SpringCGLIB$$0.getSubmodelCategories(<generated>)
	at java.lang.invoke.DirectMethodHandle$Holder.invokeVirtual([email protected]/DirectMethodHandle$Holder)
	at java.lang.invoke.LambdaForm$MH/0x000000000d06c800.invoke([email protected]/LambdaForm$MH)
	at java.lang.invoke.Invokers$Holder.invokeExact_MT([email protected]/Invokers$Holder)
	at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl([email protected]/Unknown Source)
	at jdk.internal.reflect.DirectMethodHandleAccessor.invoke([email protected]/Unknown Source)
	at java.lang.reflect.Method.invoke([email protected]/Unknown Source)
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:252)
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:184)
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:934)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:853)
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:86)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:866)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1000)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:892)
	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:622)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:874)
	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:710)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:132)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:59)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:315)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at com.mycompany.security.logging.filter.PrivilegedAccessLoggingFilter.doFilterInternal(PrivilegedAccessLoggingFilter.java:50)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108)
	at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$2(FilterChainProxy.java:235)
	at org.springframework.security.web.FilterChainProxy$$Lambda/0x000000000da363c8.doFilter(Unknown Source)
	at org.springframework.security.web.ObservationFilterChainDecorator$FilterObservation$SimpleFilterObservation.lambda$wrap$1(ObservationFilterChainDecorator.java:491)
	at org.springframework.security.web.ObservationFilterChainDecorator$FilterObservation$SimpleFilterObservation$$Lambda/0x000000000da808f8.doFilter(Unknown Source)
	at org.springframework.security.web.ObservationFilterChainDecorator$AroundFilterObservation$SimpleAroundFilterObservation.lambda$wrap$1(ObservationFilterChainDecorator.java:353)
	at org.springframework.security.web.ObservationFilterChainDecorator$AroundFilterObservation$SimpleAroundFilterObservation$$Lambda/0x000000000da80b28.doFilter(Unknown Source)
	at org.springframework.security.web.ObservationFilterChainDecorator.lambda$wrapSecured$0(ObservationFilterChainDecorator.java:84)
	at org.springframework.security.web.ObservationFilterChainDecorator$$Lambda/0x000000000da36828.doFilter(Unknown Source)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:131)
	at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:101)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126)
	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:181)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.oauth2.server.resource.web.authentication.BearerTokenAuthenticationFilter.doFilterInternal(BearerTokenAuthenticationFilter.java:207)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.oauth2.server.resource.web.OAuth2ProtectedResourceMetadataFilter.doFilterInternal(OAuth2ProtectedResourceMetadataFilter.java:98)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:96)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)
	at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82)
	at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:230)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:243)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter$$Lambda/0x000000000da3c730.doFilter(Unknown Source)
	at org.springframework.security.web.ObservationFilterChainDecorator$AroundFilterObservation$SimpleAroundFilterObservation.lambda$wrap$0(ObservationFilterChainDecorator.java:336)
	at org.springframework.security.web.ObservationFilterChainDecorator$AroundFilterObservation$SimpleAroundFilterObservation$$Lambda/0x000000000da3c980.doFilter(Unknown Source)
	at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227)
	at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:140)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:237)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:195)
	at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113)
	at org.springframework.web.filter.ServletRequestPathFilter.doFilter(ServletRequestPathFilter.java:52)
	at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113)
	at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74)
	at org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebSecurityConfiguration.java:317)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:355)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:272)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:110)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:199)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.springframework.web.filter.ForwardedHeaderFilter.doFilterInternal(ForwardedHeaderFilter.java:174)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:165)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:77)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:535)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:86)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:71)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:347)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:406)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:71)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1307)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:2036)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:74)
	at java.lang.Thread.runWith([email protected]/Unknown Source)
	at java.lang.VirtualThread.run([email protected]/Unknown Source)
	at java.lang.VirtualThread$VThreadContinuation$1.run([email protected]/Unknown Source)
	at jdk.internal.vm.Continuation.enter0([email protected]/Unknown Source)
	at jdk.internal.vm.Continuation.enter([email protected]/Unknown Source)
"GC Thread#1" os_prio=0 cpu=650.35ms elapsed=25185.09s tid=0x00007f9e83129a90 nid=26 runnable  
"VM Thread" os_prio=0 cpu=56.01ms elapsed=25185.65s tid=0x00007f9e888c5010 nid=15 runnable  
"VM Periodic Task Thread" os_prio=0 cpu=200.89ms elapsed=25185.66s tid=0x00007f9e889e0d90 nid=14 waiting on condition  
"G1 Service" os_prio=0 cpu=1260.15ms elapsed=25185.69s tid=0x00007f9e88ae5aa0 nid=12 runnable  
"G1 Refine#0" os_prio=0 cpu=12381.57ms elapsed=25185.69s tid=0x00007f9e88ae5010 nid=11 runnable  
"G1 Conc#0" os_prio=0 cpu=280.10ms elapsed=25185.69s tid=0x00007f9e8af455f0 nid=10 runnable  
"G1 Main Marker" os_prio=0 cpu=1.28ms elapsed=25185.70s tid=0x00007f9e8bc79b20 nid=9 runnable  
"GC Thread#0" os_prio=0 cpu=678.05ms elapsed=25185.70s tid=0x00007f9e8bc795c0 nid=8 runnable  
JNI global refs: 36, weak refs: 0
Heap
 garbage-first heap   total reserved 524288K, committed 393216K, used 234212K [0x00000000e0000000, 0x0000000100000000)
  region size 1024K, 140 young (143360K), 11 survivors (11264K)
 Metaspace       used 84006K, committed 84928K, reserved 245760K
  class space    used 10995K, committed 11456K, reserved 114688K

Reproducing the error is very hard because it occurs only from time to time.

Related issue may are
#51379
#50925

Activity

  1. added
    status: waiting-for-triage
    on Aug 26, 2026
  2. wilkinsona commented on Aug 26, 2026

    @wilkinsona
    Member

    This appears to be a duplicate of #51379. As with that issue, we cannot diagnose the problem without a reproducer or at least knowing what is holding the lock for which the other threads are waiting.

  3. added
    status: waiting-for-feedback
    on Aug 26, 2026
  4. spring-projects-issues commented on Sep 2, 2026

    @spring-projects-issues
    Collaborator

    If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

  5. added
    status: feedback-reminder
    on Sep 2, 2026
  6. mikee commented on Sep 2, 2026

    @mikee

    We've been able to reproduce this #51379 (comment)

  7. added
    status: feedback-provided
    and removed
    status: waiting-for-feedback
    status: feedback-reminder
    on Sep 2, 2026
  8. added
    status: waiting-for-feedback
    status: feedback-reminder
    and removed
    status: feedback-provided
    on Sep 3, 2026
  9. added a commit that references this issue on Sep 3, 2026
    e9eb0f2
  10. icikle commented on Sep 3, 2026

    @icikle
    Contributor

    @wilkinsona I've opened #51552 with a fix and a test that reproduces this deadlock.

    The fix I've added is simply moving the concurrency handling in NestedJarFile to use a read/write lock instead of synchronized blocks. This means that there is no risk of monitor contention with other code using synchronized. This issue is not related to virtual threads but appears to be more likely to be hit when virtual threads are in use.

    The test in my PR is an adaption of an earlier version that I used to create a thread dump to confirm I was seeing the same type of deadlock.

  11. 46 remaining items

  12. added a commit that references this issue on Sep 7, 2026
  13. icikle commented on Sep 8, 2026

    @icikle
    Contributor

    @wilkinsona I've moved my PR from draft to open.

    These changes either reduce the amount of synchronisation or make it more precise and maintain (or improve) the current level of concurrency handling. The reductions mean less contention for monitors and less possibility of deadlock; the NestedJarFileResources change instead moves the clearing of the cache field inside the synchronized block to fix a latent bug found in running concurrency tests and confirmed as present in the existing codebase.

  14. icikle commented on Sep 14, 2026

    @icikle
    Contributor

    I've put an application that replicates the issue at https://github.com/icikle/springboot-nestedjarfile-proof/tree/main/springboot-proof and have evolved #51580 to try and ensure that the change isn't changing more beheviour than necessary

  15. wilkinsona commented on Sep 15, 2026

    @wilkinsona
    Member

    @icikle, I just wanted to say thanks for the repro. Not much progress yet as I haven't had much time with it but I have reproduced the hang so I'm now in a position to start trying to figure out what's holding the lock on the UrlNestedJarFile that the other threads are waiting for.

  16. icikle commented on Sep 16, 2026

    @icikle
    Contributor

    @wilkinsona I've had a little time to poke more at this and on top of my existing PR I've created a draft PR - icikle#1 - showing an approach. While my open PR removes hasEntry as a blocking point this draft PR takes it further with additional changes to the JarEntriesEnumeration#nextEntry and using a StampedLock in FileDataBlock.FileAccess. These changes still need further validation but do allow the proof application to start up 66% of the time. The only remaining lock I see in this area with this PR's changes are on NestedJarFile.getInputStream and I only see on - I've added a thread dump to the draft PR comments

  17. wilkinsona commented on Sep 16, 2026

    @wilkinsona
    Member

    Comparing the locking of NestedJarFile and JarFile, both synchronise on this in regularly called code paths. This suggests that the problem should also occur without using Spring Boot's loader but does not explain why it has only been seen, thus far, when using a Spring Boot uber jar.

    When packaged as a Spring Boot uber jar, all of an application's classes and resources are loaded from within a single outer jar. With the locking models being similar, this suggests that the problem may also occur if the application is packaged in a single "normal" jar without any nesting. I tested this theory using a shadowed jar and reproduced the hang. This is the shadow jar configuration that I used:

    tasks.withType<ShadowJar> {
    	duplicatesStrategy = DuplicatesStrategy.INCLUDE
    	mergeServiceFiles()
    	append("META-INF/spring.handlers")
    	append("META-INF/spring.schemas")
    	append("META-INF/spring.tooling")
    	append("META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports")
    	transform<PropertiesFileTransformer> {
    		paths = listOf("META-INF/spring.factories")
    	}
    	manifest {
    		attributes["Main-Class"] = "com.github.icikle.nestedjarfile_reproduce.NestedjarfileReproduceApplication"
    	}
    }

    I launched the app with this command:

    java -XX:ActiveProcessorCount=2 -jar build/libs/nestedjarfile-reproduce-0.0.1-SNAPSHOT-all.jar
    

    An immediate hang doesn't occur as frequently, but when it does it looks very similar to the hang when using Boot's loader:

      .   ____          _            __ _ _
     /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
    ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
     \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
      '  |____| .__|_| |_|_| |_\__, | / / / /
     =========|_|==============|___/=/_/_/_/
    
     :: Spring Boot ::                (v4.1.1)
    
    First thread dump
    2026-09-16 08:15:43
    Full thread dump OpenJDK 64-Bit Server VM (25.0.4.1+1-LTS mixed mode, sharing):
    
    Threads class SMR info:
    _java_thread_list=0x000000072831c7c0, length=14, elements={
    0x000000010486c5e0, 0x0000000726d34000, 0x0000000726d34800, 0x0000000726d35000,
    0x0000000726d35800, 0x0000000726d36000, 0x0000000726c9a800, 0x0000000726c9b200,
    0x0000000726d36800, 0x0000000726d37000, 0x0000000726887000, 0x0000000726fd4000,
    0x0000000726fd7000, 0x0000000726fd6000
    }
    
    "main" #3 [8707] prio=5 os_prio=31 cpu=163.51ms elapsed=14.35s tid=0x000000010486c5e0 nid=8707 waiting for monitor entry  [0x000000016bf9d000]
       java.lang.Thread.State: BLOCKED (on object monitor)
    	at java.util.jar.JarFile.ensureInitialization([email protected]/JarFile.java:1042)
    	- waiting to lock <0x0000000bdb000810> (a java.util.jar.JarFile)
    	at java.util.jar.JavaUtilJarAccessImpl.ensureInitialization([email protected]/JavaUtilJarAccessImpl.java:42)
    	at jdk.internal.loader.URLClassPath$JarLoader$1.getManifest([email protected]/URLClassPath.java:720)
    	at jdk.internal.loader.BuiltinClassLoader.defineClass([email protected]/BuiltinClassLoader.java:762)
    	at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull([email protected]/BuiltinClassLoader.java:691)
    	at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull([email protected]/BuiltinClassLoader.java:620)
    	- locked <0x0000000bdb481420> (a java.lang.Object)
    	at jdk.internal.loader.BuiltinClassLoader.loadClass([email protected]/BuiltinClassLoader.java:578)
    	at java.lang.ClassLoader.loadClass([email protected]/ClassLoader.java:490)
    	at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:181)
    	at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:165)
    	at org.springframework.core.env.AbstractPropertyResolver.convertValueIfNecessary(AbstractPropertyResolver.java:311)
    	at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver.getProperty(ConfigurationPropertySourcesPropertyResolver.java:86)
    	at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver.getProperty(ConfigurationPropertySourcesPropertyResolver.java:64)
    	at org.springframework.core.env.AbstractEnvironment.getProperty(AbstractEnvironment.java:552)
    	at org.springframework.boot.StartupInfoLogger.lambda$appendPid$0(StartupInfoLogger.java:118)
    	at org.springframework.boot.StartupInfoLogger$$Lambda/0x00000200011937c0.call(Unknown Source)
    	at org.springframework.boot.StartupInfoLogger.callIfPossible(StartupInfoLogger.java:159)
    	at org.springframework.boot.StartupInfoLogger.append(StartupInfoLogger.java:145)
    	at org.springframework.boot.StartupInfoLogger.append(StartupInfoLogger.java:141)
    	at org.springframework.boot.StartupInfoLogger.appendPid(StartupInfoLogger.java:118)
    	at org.springframework.boot.StartupInfoLogger.getStartingMessage(StartupInfoLogger.java:71)
    	at org.springframework.boot.StartupInfoLogger$$Lambda/0x0000020001191468.get(Unknown Source)
    	at org.springframework.core.log.LogMessage$SupplierMessage.buildString(LogMessage.java:161)
    	at org.springframework.core.log.LogMessage.toString(LogMessage.java:71)
    	at java.lang.String.valueOf([email protected]/String.java:4530)
    	at org.apache.commons.logging.impl.Slf4jLogFactory$Slf4jLocationAwareLog.log(Slf4jLogFactory.java:126)
    	at org.apache.commons.logging.impl.Slf4jLogFactory$Slf4jLocationAwareLog.info(Slf4jLogFactory.java:87)
    	at org.springframework.boot.StartupInfoLogger.logStarting(StartupInfoLogger.java:54)
    	at org.springframework.boot.SpringApplication.logStartupInfo(SpringApplication.java:636)
    	at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:397)
    	at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
    	at com.github.icikle.nestedjarfile_reproduce.NestedjarfileReproduceApplication.main(NestedjarfileReproduceApplication.java:33)
    
    "Reference Handler" #12 [25603] daemon prio=10 os_prio=31 cpu=0.20ms elapsed=14.33s tid=0x0000000726d34000 nid=25603 waiting on condition  [0x000000016d116000]
       java.lang.Thread.State: RUNNABLE
    	at java.lang.ref.Reference.waitForReferencePendingList([email protected]/Native Method)
    	at java.lang.ref.Reference.processPendingReferences([email protected]/Reference.java:246)
    	at java.lang.ref.Reference$ReferenceHandler.run([email protected]/Reference.java:208)
    
    "Finalizer" #13 [26115] daemon prio=8 os_prio=31 cpu=0.05ms elapsed=14.33s tid=0x0000000726d34800 nid=26115 in Object.wait()  [0x000000016d322000]
       java.lang.Thread.State: WAITING (on object monitor)
    	at java.lang.Object.wait0([email protected]/Native Method)
    	- waiting on <0x0000000bdb0000e8> (a java.lang.ref.ReferenceQueue$Lock)
    	at java.lang.Object.wait([email protected]/Object.java:389)
    	at java.lang.Object.wait([email protected]/Object.java:351)
    	at java.lang.ref.ReferenceQueue.remove0([email protected]/ReferenceQueue.java:137)
    	at java.lang.ref.ReferenceQueue.remove([email protected]/ReferenceQueue.java:215)
    	- locked <0x0000000bdb0000e8> (a java.lang.ref.ReferenceQueue$Lock)
    	at java.lang.ref.Finalizer$FinalizerThread.run([email protected]/Finalizer.java:165)
    
    "Signal Dispatcher" #14 [26371] daemon prio=9 os_prio=31 cpu=0.05ms elapsed=14.33s tid=0x0000000726d35000 nid=26371 waiting on condition  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    "Service Thread" #15 [26883] daemon prio=9 os_prio=31 cpu=0.17ms elapsed=14.33s tid=0x0000000726d35800 nid=26883 runnable  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    "Monitor Deflation Thread" #16 [27395] daemon prio=9 os_prio=31 cpu=0.41ms elapsed=14.33s tid=0x0000000726d36000 nid=27395 runnable  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    "C2 CompilerThread0" #17 [27651] daemon prio=9 os_prio=31 cpu=491.80ms elapsed=14.33s tid=0x0000000726c9a800 nid=27651 waiting on condition  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
       No compile task
    
    "C1 CompilerThread0" #18 [27907] daemon prio=9 os_prio=31 cpu=157.41ms elapsed=14.33s tid=0x0000000726c9b200 nid=27907 waiting on condition  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
       No compile task
    
    "Notification Thread" #19 [28931] daemon prio=9 os_prio=31 cpu=0.03ms elapsed=14.33s tid=0x0000000726d36800 nid=28931 runnable  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    "Common-Cleaner" #20 [28163] daemon prio=8 os_prio=31 cpu=0.04ms elapsed=14.33s tid=0x0000000726d37000 nid=28163 in Object.wait()  [0x000000016e176000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
    	at java.lang.Object.wait0([email protected]/Native Method)
    	- waiting on <0x0000000bdb0001a0> (a java.lang.ref.ReferenceQueue$Lock)
    	at java.lang.Object.wait([email protected]/Object.java:389)
    	at java.lang.ref.ReferenceQueue.remove0([email protected]/ReferenceQueue.java:123)
    	at java.lang.ref.ReferenceQueue.remove([email protected]/ReferenceQueue.java:201)
    	- locked <0x0000000bdb0001a0> (a java.lang.ref.ReferenceQueue$Lock)
    	at jdk.internal.ref.CleanerImpl.run([email protected]/CleanerImpl.java:146)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    	at jdk.internal.misc.InnocuousThread.run([email protected]/InnocuousThread.java:148)
    
    "VirtualThread-unblocker" #23 [42499] daemon prio=5 os_prio=31 cpu=0.14ms elapsed=14.18s tid=0x0000000726887000 nid=42499 runnable  [0x000000016e79a000]
       java.lang.Thread.State: RUNNABLE
    	at java.lang.VirtualThread.takeVirtualThreadListToUnblock([email protected]/Native Method)
    	at java.lang.VirtualThread.unblockVirtualThreads([email protected]/VirtualThread.java:1519)
    	at java.lang.VirtualThread$$Lambda/0x0000020001142df8.run([email protected]/Unknown Source)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    	at jdk.internal.misc.InnocuousThread.run([email protected]/InnocuousThread.java:148)
    
    "ForkJoinPool-1-worker-1" #25 [33283] daemon prio=5 os_prio=31 cpu=14118.51ms elapsed=14.18s tid=0x0000000726fd4000  [0x000000016e9a5000]
       Carrying virtual thread #29
    	at jdk.internal.vm.Continuation.run([email protected]/Continuation.java:251)
    	at java.lang.VirtualThread.runContinuation([email protected]/VirtualThread.java:297)
    	at java.lang.VirtualThread$$Lambda/0x0000020001143710.run([email protected]/Unknown Source)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1753)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1745)
    	at java.util.concurrent.ForkJoinTask$InterruptibleTask.exec([email protected]/ForkJoinTask.java:1662)
    	at java.util.concurrent.ForkJoinTask.doExec([email protected]/ForkJoinTask.java:511)
    	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec([email protected]/ForkJoinPool.java:1450)
    	at java.util.concurrent.ForkJoinPool.runWorker([email protected]/ForkJoinPool.java:2019)
    	at java.util.concurrent.ForkJoinWorkerThread.run([email protected]/ForkJoinWorkerThread.java:187)
       Mounted virtual thread #29
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.busySpin(NestedJarFileContentionInitializer.java:113)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.lambda$scan$0(NestedJarFileContentionInitializer.java:104)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer$$Lambda/0x00000200011bf510.accept(Unknown Source)
    	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept([email protected]/ForEachOps.java:186)
    	at java.util.stream.ReferencePipeline$2$1.accept([email protected]/ReferencePipeline.java:197)
    	at java.util.Spliterators$ArraySpliterator.forEachRemaining([email protected]/Spliterators.java:1024)
    	at java.util.stream.AbstractPipeline.copyInto([email protected]/AbstractPipeline.java:570)
    	at java.util.stream.AbstractPipeline.wrapAndCopyInto([email protected]/AbstractPipeline.java:560)
    	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential([email protected]/ForEachOps.java:153)
    	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential([email protected]/ForEachOps.java:176)
    	at java.util.stream.AbstractPipeline.evaluate([email protected]/AbstractPipeline.java:265)
    	at java.util.stream.ReferencePipeline.forEach([email protected]/ReferencePipeline.java:632)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.scan(NestedJarFileContentionInitializer.java:102)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.lambda$initialize$2(NestedJarFileContentionInitializer.java:46)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer$$Lambda/0x000002000118f968.accept(Unknown Source)
    	at java.lang.Iterable.forEach([email protected]/Iterable.java:75)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.lambda$initialize$1(NestedJarFileContentionInitializer.java:46)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer$$Lambda/0x000002000118e480.run(Unknown Source)
    	at java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run([email protected]/ThreadPerTaskExecutor.java:291)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.VirtualThread.run([email protected]/VirtualThread.java:460)
    	at java.lang.VirtualThread$VThreadContinuation$1.run([email protected]/VirtualThread.java:252)
    	at jdk.internal.vm.Continuation.enter0([email protected]/Continuation.java:325)
    	at jdk.internal.vm.Continuation.enter([email protected]/Continuation.java:316)
    
    "ForkJoinPool-1-worker-2" #27 [33795] daemon prio=5 os_prio=31 cpu=14112.85ms elapsed=14.18s tid=0x0000000726fd7000  [0x000000016ebb1000]
       Carrying virtual thread #30
    	at jdk.internal.vm.Continuation.run([email protected]/Continuation.java:251)
    	at java.lang.VirtualThread.runContinuation([email protected]/VirtualThread.java:297)
    	at java.lang.VirtualThread$$Lambda/0x0000020001143710.run([email protected]/Unknown Source)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1753)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1745)
    	at java.util.concurrent.ForkJoinTask$InterruptibleTask.exec([email protected]/ForkJoinTask.java:1662)
    	at java.util.concurrent.ForkJoinTask.doExec([email protected]/ForkJoinTask.java:511)
    	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec([email protected]/ForkJoinPool.java:1450)
    	at java.util.concurrent.ForkJoinPool.runWorker([email protected]/ForkJoinPool.java:2019)
    	at java.util.concurrent.ForkJoinWorkerThread.run([email protected]/ForkJoinWorkerThread.java:187)
       Mounted virtual thread #30
    	at org.springframework.web.util.RfcUriParser$State$3.handleNext(RfcUriParser.java:169)
    	at org.springframework.web.util.RfcUriParser$InternalParser.parse(RfcUriParser.java:470)
    	at org.springframework.web.util.RfcUriParser.parse(RfcUriParser.java:48)
    	at org.springframework.web.util.UriComponentsBuilder.fromUriString(UriComponentsBuilder.java:208)
    	at org.springframework.web.util.UriComponentsBuilder.fromUriString(UriComponentsBuilder.java:180)
    	at org.springframework.web.util.DefaultUriBuilderFactory$DefaultUriBuilder.parseUri(DefaultUriBuilderFactory.java:307)
    	at org.springframework.web.util.DefaultUriBuilderFactory$DefaultUriBuilder.initUriComponentsBuilder(DefaultUriBuilderFactory.java:295)
    	at org.springframework.web.util.DefaultUriBuilderFactory$DefaultUriBuilder.<init>(DefaultUriBuilderFactory.java:281)
    	at org.springframework.web.util.DefaultUriBuilderFactory.uriString(DefaultUriBuilderFactory.java:208)
    	at org.springframework.web.util.DefaultUriBuilderFactory.expand(DefaultUriBuilderFactory.java:201)
    	at org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.uri(DefaultRestClient.java:329)
    	at org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.uri(DefaultRestClient.java:299)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.lambda$initialize$3(NestedJarFileContentionInitializer.java:64)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer$$Lambda/0x000002000118f208.run(Unknown Source)
    	at java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run([email protected]/ThreadPerTaskExecutor.java:291)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.VirtualThread.run([email protected]/VirtualThread.java:460)
    	at java.lang.VirtualThread$VThreadContinuation$1.run([email protected]/VirtualThread.java:252)
    	at jdk.internal.vm.Continuation.enter0([email protected]/Continuation.java:325)
    	at jdk.internal.vm.Continuation.enter([email protected]/Continuation.java:316)
    
    "HttpClient-1-SelectorManager" #38 [32779] daemon prio=5 os_prio=31 cpu=0.44ms elapsed=14.12s tid=0x0000000726fd6000 nid=32779 runnable  [0x000000016e382000]
       java.lang.Thread.State: RUNNABLE
    	at sun.nio.ch.KQueue.poll([email protected]/Native Method)
    	at sun.nio.ch.KQueueSelectorImpl.doSelect([email protected]/KQueueSelectorImpl.java:121)
    	at sun.nio.ch.SelectorImpl.lockAndDoSelect([email protected]/SelectorImpl.java:130)
    	- locked <0x0000000bdb4b65e8> (a sun.nio.ch.Util$2)
    	- locked <0x0000000bdb4b6590> (a sun.nio.ch.KQueueSelectorImpl)
    	at sun.nio.ch.SelectorImpl.select([email protected]/SelectorImpl.java:142)
    	at jdk.internal.net.http.HttpClientImpl$SelectorManager.run([email protected]/HttpClientImpl.java:1338)
    
    "GC Thread#1" os_prio=31 cpu=46.68ms elapsed=14.19s tid=0x00000007282a0a00 nid=43011 runnable  
    
    "VM Thread" os_prio=31 cpu=10.59ms elapsed=14.34s tid=0x0000000726cf9400 nid=19459 runnable  
    
    "VM Periodic Task Thread" os_prio=31 cpu=0.26ms elapsed=14.34s tid=0x0000000726cf8c00 nid=20755 waiting on condition  
    
    "G1 Service" os_prio=31 cpu=1.03ms elapsed=14.35s tid=0x0000000727088500 nid=17155 runnable  
    
    "G1 Refine#0" os_prio=31 cpu=3.29ms elapsed=14.35s tid=0x0000000727088000 nid=21507 runnable  
    
    "G1 Conc#0" os_prio=31 cpu=0.02ms elapsed=14.35s tid=0x0000000104876070 nid=16387 runnable  
    
    "G1 Main Marker" os_prio=31 cpu=0.02ms elapsed=14.35s tid=0x0000000104875540 nid=13571 runnable  
    
    "GC Thread#0" os_prio=31 cpu=46.53ms elapsed=14.35s tid=0x0000000104874220 nid=12291 runnable  
    
    JNI global refs: 7, weak refs: 0
    
    Heap
     garbage-first heap   total reserved 12582912K, committed 1155072K, used 93560K [0x0000000bdb000000, 0x0000000edb000000)
      region size 8192K, 11 young (90112K), 1 survivors (8192K)
     Metaspace       used 17836K, committed 18176K, reserved 1114112K
      class space    used 2077K, committed 2240K, reserved 1048576K
    
    Second thread dump
    2026-09-16 08:20:01
    Full thread dump OpenJDK 64-Bit Server VM (25.0.4.1+1-LTS mixed mode, sharing):
    
    Threads class SMR info:
    _java_thread_list=0x000000072831c7c0, length=14, elements={
    0x000000010486c5e0, 0x0000000726d34000, 0x0000000726d34800, 0x0000000726d35000,
    0x0000000726d35800, 0x0000000726d36000, 0x0000000726c9a800, 0x0000000726c9b200,
    0x0000000726d36800, 0x0000000726d37000, 0x0000000726887000, 0x0000000726fd4000,
    0x0000000726fd7000, 0x0000000726fd6000
    }
    
    "main" #3 [8707] prio=5 os_prio=31 cpu=163.51ms elapsed=272.19s tid=0x000000010486c5e0 nid=8707 waiting for monitor entry  [0x000000016bf9d000]
       java.lang.Thread.State: BLOCKED (on object monitor)
    	at java.util.jar.JarFile.ensureInitialization([email protected]/JarFile.java:1042)
    	- waiting to lock <0x0000000bdb000810> (a java.util.jar.JarFile)
    	at java.util.jar.JavaUtilJarAccessImpl.ensureInitialization([email protected]/JavaUtilJarAccessImpl.java:42)
    	at jdk.internal.loader.URLClassPath$JarLoader$1.getManifest([email protected]/URLClassPath.java:720)
    	at jdk.internal.loader.BuiltinClassLoader.defineClass([email protected]/BuiltinClassLoader.java:762)
    	at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull([email protected]/BuiltinClassLoader.java:691)
    	at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull([email protected]/BuiltinClassLoader.java:620)
    	- locked <0x0000000bdb481420> (a java.lang.Object)
    	at jdk.internal.loader.BuiltinClassLoader.loadClass([email protected]/BuiltinClassLoader.java:578)
    	at java.lang.ClassLoader.loadClass([email protected]/ClassLoader.java:490)
    	at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:181)
    	at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:165)
    	at org.springframework.core.env.AbstractPropertyResolver.convertValueIfNecessary(AbstractPropertyResolver.java:311)
    	at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver.getProperty(ConfigurationPropertySourcesPropertyResolver.java:86)
    	at org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertyResolver.getProperty(ConfigurationPropertySourcesPropertyResolver.java:64)
    	at org.springframework.core.env.AbstractEnvironment.getProperty(AbstractEnvironment.java:552)
    	at org.springframework.boot.StartupInfoLogger.lambda$appendPid$0(StartupInfoLogger.java:118)
    	at org.springframework.boot.StartupInfoLogger$$Lambda/0x00000200011937c0.call(Unknown Source)
    	at org.springframework.boot.StartupInfoLogger.callIfPossible(StartupInfoLogger.java:159)
    	at org.springframework.boot.StartupInfoLogger.append(StartupInfoLogger.java:145)
    	at org.springframework.boot.StartupInfoLogger.append(StartupInfoLogger.java:141)
    	at org.springframework.boot.StartupInfoLogger.appendPid(StartupInfoLogger.java:118)
    	at org.springframework.boot.StartupInfoLogger.getStartingMessage(StartupInfoLogger.java:71)
    	at org.springframework.boot.StartupInfoLogger$$Lambda/0x0000020001191468.get(Unknown Source)
    	at org.springframework.core.log.LogMessage$SupplierMessage.buildString(LogMessage.java:161)
    	at org.springframework.core.log.LogMessage.toString(LogMessage.java:71)
    	at java.lang.String.valueOf([email protected]/String.java:4530)
    	at org.apache.commons.logging.impl.Slf4jLogFactory$Slf4jLocationAwareLog.log(Slf4jLogFactory.java:126)
    	at org.apache.commons.logging.impl.Slf4jLogFactory$Slf4jLocationAwareLog.info(Slf4jLogFactory.java:87)
    	at org.springframework.boot.StartupInfoLogger.logStarting(StartupInfoLogger.java:54)
    	at org.springframework.boot.SpringApplication.logStartupInfo(SpringApplication.java:636)
    	at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:397)
    	at org.springframework.boot.SpringApplication.run(SpringApplication.java:320)
    	at com.github.icikle.nestedjarfile_reproduce.NestedjarfileReproduceApplication.main(NestedjarfileReproduceApplication.java:33)
    
    "Reference Handler" #12 [25603] daemon prio=10 os_prio=31 cpu=0.20ms elapsed=272.17s tid=0x0000000726d34000 nid=25603 waiting on condition  [0x000000016d116000]
       java.lang.Thread.State: RUNNABLE
    	at java.lang.ref.Reference.waitForReferencePendingList([email protected]/Native Method)
    	at java.lang.ref.Reference.processPendingReferences([email protected]/Reference.java:246)
    	at java.lang.ref.Reference$ReferenceHandler.run([email protected]/Reference.java:208)
    
    "Finalizer" #13 [26115] daemon prio=8 os_prio=31 cpu=0.05ms elapsed=272.17s tid=0x0000000726d34800 nid=26115 in Object.wait()  [0x000000016d322000]
       java.lang.Thread.State: WAITING (on object monitor)
    	at java.lang.Object.wait0([email protected]/Native Method)
    	- waiting on <0x0000000bdb0000e8> (a java.lang.ref.ReferenceQueue$Lock)
    	at java.lang.Object.wait([email protected]/Object.java:389)
    	at java.lang.Object.wait([email protected]/Object.java:351)
    	at java.lang.ref.ReferenceQueue.remove0([email protected]/ReferenceQueue.java:137)
    	at java.lang.ref.ReferenceQueue.remove([email protected]/ReferenceQueue.java:215)
    	- locked <0x0000000bdb0000e8> (a java.lang.ref.ReferenceQueue$Lock)
    	at java.lang.ref.Finalizer$FinalizerThread.run([email protected]/Finalizer.java:165)
    
    "Signal Dispatcher" #14 [26371] daemon prio=9 os_prio=31 cpu=0.11ms elapsed=272.17s tid=0x0000000726d35000 nid=26371 waiting on condition  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    "Service Thread" #15 [26883] daemon prio=9 os_prio=31 cpu=2.33ms elapsed=272.17s tid=0x0000000726d35800 nid=26883 runnable  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    "Monitor Deflation Thread" #16 [27395] daemon prio=9 os_prio=31 cpu=7.55ms elapsed=272.17s tid=0x0000000726d36000 nid=27395 runnable  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    "C2 CompilerThread0" #17 [27651] daemon prio=9 os_prio=31 cpu=727.59ms elapsed=272.17s tid=0x0000000726c9a800 nid=27651 waiting on condition  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
       No compile task
    
    "C1 CompilerThread0" #18 [27907] daemon prio=9 os_prio=31 cpu=168.76ms elapsed=272.17s tid=0x0000000726c9b200 nid=27907 waiting on condition  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
       No compile task
    
    "Notification Thread" #19 [28931] daemon prio=9 os_prio=31 cpu=0.03ms elapsed=272.17s tid=0x0000000726d36800 nid=28931 runnable  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    "Common-Cleaner" #20 [28163] daemon prio=8 os_prio=31 cpu=0.18ms elapsed=272.17s tid=0x0000000726d37000 nid=28163 in Object.wait()  [0x000000016e176000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
    	at java.lang.Object.wait0([email protected]/Native Method)
    	- waiting on <0x0000000bdb0001a0> (a java.lang.ref.ReferenceQueue$Lock)
    	at java.lang.Object.wait([email protected]/Object.java:389)
    	at java.lang.ref.ReferenceQueue.remove0([email protected]/ReferenceQueue.java:123)
    	at java.lang.ref.ReferenceQueue.remove([email protected]/ReferenceQueue.java:201)
    	- locked <0x0000000bdb0001a0> (a java.lang.ref.ReferenceQueue$Lock)
    	at jdk.internal.ref.CleanerImpl.run([email protected]/CleanerImpl.java:146)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    	at jdk.internal.misc.InnocuousThread.run([email protected]/InnocuousThread.java:148)
    
    "VirtualThread-unblocker" #23 [42499] daemon prio=5 os_prio=31 cpu=0.14ms elapsed=272.02s tid=0x0000000726887000 nid=42499 runnable  [0x000000016e79a000]
       java.lang.Thread.State: RUNNABLE
    	at java.lang.VirtualThread.takeVirtualThreadListToUnblock([email protected]/Native Method)
    	at java.lang.VirtualThread.unblockVirtualThreads([email protected]/VirtualThread.java:1519)
    	at java.lang.VirtualThread$$Lambda/0x0000020001142df8.run([email protected]/Unknown Source)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    	at jdk.internal.misc.InnocuousThread.run([email protected]/InnocuousThread.java:148)
    
    "ForkJoinPool-1-worker-1" #25 [33283] daemon prio=5 os_prio=31 cpu=271389.36ms elapsed=272.02s tid=0x0000000726fd4000  [0x000000016e9a5000]
       Carrying virtual thread #29
    	at jdk.internal.vm.Continuation.run([email protected]/Continuation.java:251)
    	at java.lang.VirtualThread.runContinuation([email protected]/VirtualThread.java:297)
    	at java.lang.VirtualThread$$Lambda/0x0000020001143710.run([email protected]/Unknown Source)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1753)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1745)
    	at java.util.concurrent.ForkJoinTask$InterruptibleTask.exec([email protected]/ForkJoinTask.java:1662)
    	at java.util.concurrent.ForkJoinTask.doExec([email protected]/ForkJoinTask.java:511)
    	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec([email protected]/ForkJoinPool.java:1450)
    	at java.util.concurrent.ForkJoinPool.runWorker([email protected]/ForkJoinPool.java:2019)
    	at java.util.concurrent.ForkJoinWorkerThread.run([email protected]/ForkJoinWorkerThread.java:187)
       Mounted virtual thread #29
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.busySpin(NestedJarFileContentionInitializer.java:113)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.lambda$scan$0(NestedJarFileContentionInitializer.java:104)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer$$Lambda/0x00000200011bf510.accept(Unknown Source)
    	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept([email protected]/ForEachOps.java:186)
    	at java.util.stream.ReferencePipeline$2$1.accept([email protected]/ReferencePipeline.java:197)
    	at java.util.Spliterators$ArraySpliterator.forEachRemaining([email protected]/Spliterators.java:1024)
    	at java.util.stream.AbstractPipeline.copyInto([email protected]/AbstractPipeline.java:570)
    	at java.util.stream.AbstractPipeline.wrapAndCopyInto([email protected]/AbstractPipeline.java:560)
    	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential([email protected]/ForEachOps.java:153)
    	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential([email protected]/ForEachOps.java:176)
    	at java.util.stream.AbstractPipeline.evaluate([email protected]/AbstractPipeline.java:265)
    	at java.util.stream.ReferencePipeline.forEach([email protected]/ReferencePipeline.java:632)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.scan(NestedJarFileContentionInitializer.java:102)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.lambda$initialize$2(NestedJarFileContentionInitializer.java:46)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer$$Lambda/0x000002000118f968.accept(Unknown Source)
    	at java.lang.Iterable.forEach([email protected]/Iterable.java:75)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.lambda$initialize$1(NestedJarFileContentionInitializer.java:46)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer$$Lambda/0x000002000118e480.run(Unknown Source)
    	at java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run([email protected]/ThreadPerTaskExecutor.java:291)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.VirtualThread.run([email protected]/VirtualThread.java:460)
    	at java.lang.VirtualThread$VThreadContinuation$1.run([email protected]/VirtualThread.java:252)
    	at jdk.internal.vm.Continuation.enter0([email protected]/Continuation.java:325)
    	at jdk.internal.vm.Continuation.enter([email protected]/Continuation.java:316)
    
    "ForkJoinPool-1-worker-2" #27 [33795] daemon prio=5 os_prio=31 cpu=271304.31ms elapsed=272.02s tid=0x0000000726fd7000  [0x000000016ebb1000]
       Carrying virtual thread #30
    	at jdk.internal.vm.Continuation.run([email protected]/Continuation.java:251)
    	at java.lang.VirtualThread.runContinuation([email protected]/VirtualThread.java:297)
    	at java.lang.VirtualThread$$Lambda/0x0000020001143710.run([email protected]/Unknown Source)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1753)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1745)
    	at java.util.concurrent.ForkJoinTask$InterruptibleTask.exec([email protected]/ForkJoinTask.java:1662)
    	at java.util.concurrent.ForkJoinTask.doExec([email protected]/ForkJoinTask.java:511)
    	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec([email protected]/ForkJoinPool.java:1450)
    	at java.util.concurrent.ForkJoinPool.runWorker([email protected]/ForkJoinPool.java:2019)
    	at java.util.concurrent.ForkJoinWorkerThread.run([email protected]/ForkJoinWorkerThread.java:187)
       Mounted virtual thread #30
    	at java.net.URI$Parser.parseHostname([email protected]/URI.java:3566)
    	at java.net.URI$Parser.parseServer([email protected]/URI.java:3402)
    	at java.net.URI$Parser.parseAuthority([email protected]/URI.java:3312)
    	at java.net.URI$Parser.parseHierarchical([email protected]/URI.java:3248)
    	at java.net.URI$Parser.parse([email protected]/URI.java:3204)
    	at java.net.URI.<init>([email protected]/URI.java:649)
    	at java.net.URI.create([email protected]/URI.java:934)
    	at org.springframework.web.util.DefaultUriBuilderFactory$DefaultUriBuilder.createUri(DefaultUriBuilderFactory.java:464)
    	at org.springframework.web.util.DefaultUriBuilderFactory$DefaultUriBuilder.build(DefaultUriBuilderFactory.java:457)
    	at org.springframework.web.util.DefaultUriBuilderFactory.expand(DefaultUriBuilderFactory.java:201)
    	at org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.uri(DefaultRestClient.java:329)
    	at org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.uri(DefaultRestClient.java:299)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.lambda$initialize$3(NestedJarFileContentionInitializer.java:64)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer$$Lambda/0x000002000118f208.run(Unknown Source)
    	at java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run([email protected]/ThreadPerTaskExecutor.java:291)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.VirtualThread.run([email protected]/VirtualThread.java:460)
    	at java.lang.VirtualThread$VThreadContinuation$1.run([email protected]/VirtualThread.java:252)
    	at jdk.internal.vm.Continuation.enter0([email protected]/Continuation.java:325)
    	at jdk.internal.vm.Continuation.enter([email protected]/Continuation.java:316)
    
    "HttpClient-1-SelectorManager" #38 [32779] daemon prio=5 os_prio=31 cpu=5.00ms elapsed=271.96s tid=0x0000000726fd6000 nid=32779 runnable  [0x000000016e382000]
       java.lang.Thread.State: RUNNABLE
    	at sun.nio.ch.KQueue.poll([email protected]/Native Method)
    	at sun.nio.ch.KQueueSelectorImpl.doSelect([email protected]/KQueueSelectorImpl.java:121)
    	at sun.nio.ch.SelectorImpl.lockAndDoSelect([email protected]/SelectorImpl.java:130)
    	- locked <0x0000000bdb4b65e8> (a sun.nio.ch.Util$2)
    	- locked <0x0000000bdb4b6590> (a sun.nio.ch.KQueueSelectorImpl)
    	at sun.nio.ch.SelectorImpl.select([email protected]/SelectorImpl.java:142)
    	at jdk.internal.net.http.HttpClientImpl$SelectorManager.run([email protected]/HttpClientImpl.java:1338)
    
    "GC Thread#1" os_prio=31 cpu=271.38ms elapsed=272.03s tid=0x00000007282a0a00 nid=43011 runnable  
    
    "VM Thread" os_prio=31 cpu=177.04ms elapsed=272.18s tid=0x0000000726cf9400 nid=19459 runnable  
    
    "VM Periodic Task Thread" os_prio=31 cpu=1.16ms elapsed=272.18s tid=0x0000000726cf8c00 nid=20755 waiting on condition  
    
    "G1 Service" os_prio=31 cpu=18.95ms elapsed=272.19s tid=0x0000000727088500 nid=17155 runnable  
    
    "G1 Refine#0" os_prio=31 cpu=78.24ms elapsed=272.19s tid=0x0000000727088000 nid=21507 runnable  
    
    "G1 Conc#0" os_prio=31 cpu=0.02ms elapsed=272.19s tid=0x0000000104876070 nid=16387 runnable  
    
    "G1 Main Marker" os_prio=31 cpu=0.02ms elapsed=272.19s tid=0x0000000104875540 nid=13571 runnable  
    
    "GC Thread#0" os_prio=31 cpu=271.43ms elapsed=272.19s tid=0x0000000104874220 nid=12291 runnable  
    
    JNI global refs: 7, weak refs: 0
    
    Heap
     garbage-first heap   total reserved 12582912K, committed 1155072K, used 449920K [0x0000000bdb000000, 0x0000000edb000000)
      region size 8192K, 55 young (450560K), 1 survivors (8192K)
     Metaspace       used 17875K, committed 18176K, reserved 1114112K
      class space    used 2077K, committed 2240K, reserved 1048576K
    

    In both cases, the main thread is stuck waiting to lock a JarFile instance:

    at java.util.jar.JarFile.ensureInitialization([email protected]/JarFile.java:1042)
    - waiting to lock <0x0000000bdb000810> (a java.util.jar.JarFile)
    at java.util.jar.JavaUtilJarAccessImpl.ensureInitialization([email protected]/JavaUtilJarAccessImpl.java:42)
    at jdk.internal.loader.URLClassPath$JarLoader$1.getManifest([email protected]/URLClassPath.java:720)
    
    at java.util.jar.JarFile.ensureInitialization([email protected]/JarFile.java:1042)
    - waiting to lock <0x0000000bdb000810> (a java.util.jar.JarFile)
    at java.util.jar.JavaUtilJarAccessImpl.ensureInitialization([email protected]/JavaUtilJarAccessImpl.java:42)
    at jdk.internal.loader.URLClassPath$JarLoader$1.getManifest([email protected]/URLClassPath.java:720)
    

    As before, the thread that's holding the lock doesn't appear in the thread dump.

    Lowering the processor count to 1 makes the immediate hang occur more frequently. Increasing it to 4 allows the application to start reliably but the scanning performed by NestedJarFileContentionInitializer does not complete:

    Thread dump
    2026-09-16 08:47:03
    Full thread dump OpenJDK 64-Bit Server VM (25.0.4.1+1-LTS mixed mode, sharing):
    
    Threads class SMR info:
    _java_thread_list=0x0000000b7e29da60, length=33, elements={
    0x0000000102ac7f90, 0x0000000b7d111000, 0x0000000b7d111800, 0x0000000b7d112000,
    0x0000000b7d112800, 0x0000000b7d113000, 0x0000000b7d06de00, 0x0000000b7d06e800,
    0x0000000b7d113800, 0x0000000b7d120000, 0x0000000b7d363000, 0x0000000b7d363800,
    0x0000000b7d2db800, 0x0000000b7d2da800, 0x0000000b7d3e4000, 0x0000000b7ec11000,
    0x0000000b7e1cc800, 0x0000000b7e1cd800, 0x0000000b7e1cf000, 0x0000000b7ee2e800,
    0x0000000b7ee2d000, 0x0000000b7ee2f800, 0x0000000b7ec8a000, 0x0000000b7e28c000,
    0x0000000b7e28c800, 0x0000000b7e28d000, 0x0000000b7e28e000, 0x0000000b7e28e800,
    0x0000000b7e28f000, 0x0000000b7e28d800, 0x0000000b7e28f800, 0x0000000b7d361800,
    0x0000000b7d2da000
    }
    
    "main" #3 [9475] prio=5 os_prio=31 cpu=756.08ms elapsed=21.80s tid=0x0000000102ac7f90 nid=9475 waiting on condition  [0x000000016d64a000]
       java.lang.Thread.State: WAITING (parking)
    	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
    	- parking to wait for  <0x0000000501b8ecb8> (a java.util.concurrent.CountDownLatch$Sync)
    	at java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:223)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire([email protected]/AbstractQueuedSynchronizer.java:790)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly([email protected]/AbstractQueuedSynchronizer.java:1139)
    	at java.util.concurrent.CountDownLatch.await([email protected]/CountDownLatch.java:230)
    	at com.github.icikle.nestedjarfile_reproduce.NestedjarfileReproduceApplication$AppRunner.onApplicationEvent(NestedjarfileReproduceApplication.java:163)
    	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:180)
    	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:173)
    	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:151)
    	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:448)
    	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:381)
    	at org.springframework.boot.context.event.EventPublishingRunListener.started(EventPublishingRunListener.java:104)
    	at org.springframework.boot.SpringApplicationRunListeners.lambda$started$0(SpringApplicationRunListeners.java:78)
    	at org.springframework.boot.SpringApplicationRunListeners$$Lambda/0x00000f00014bbaf8.accept(Unknown Source)
    	at java.util.ImmutableCollections$List12.forEach([email protected]/ImmutableCollections.java:681)
    	at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:123)
    	at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:117)
    	at org.springframework.boot.SpringApplicationRunListeners.started(SpringApplicationRunListeners.java:78)
    	at org.springframework.boot.SpringApplication.run(SpringApplication.java:327)
    	at com.github.icikle.nestedjarfile_reproduce.NestedjarfileReproduceApplication.main(NestedjarfileReproduceApplication.java:33)
    
    "Reference Handler" #13 [25603] daemon prio=10 os_prio=31 cpu=0.72ms elapsed=21.78s tid=0x0000000b7d111000 nid=25603 waiting on condition  [0x000000016e7c2000]
       java.lang.Thread.State: RUNNABLE
    	at java.lang.ref.Reference.waitForReferencePendingList([email protected]/Native Method)
    	at java.lang.ref.Reference.processPendingReferences([email protected]/Reference.java:246)
    	at java.lang.ref.Reference$ReferenceHandler.run([email protected]/Reference.java:208)
    
    "Finalizer" #14 [25859] daemon prio=8 os_prio=31 cpu=0.05ms elapsed=21.78s tid=0x0000000b7d111800 nid=25859 in Object.wait()  [0x000000016e9ce000]
       java.lang.Thread.State: WAITING (on object monitor)
    	at java.lang.Object.wait0([email protected]/Native Method)
    	- waiting on <0x0000000501001098> (a java.lang.ref.ReferenceQueue$Lock)
    	at java.lang.Object.wait([email protected]/Object.java:389)
    	at java.lang.Object.wait([email protected]/Object.java:351)
    	at java.lang.ref.ReferenceQueue.remove0([email protected]/ReferenceQueue.java:137)
    	at java.lang.ref.ReferenceQueue.remove([email protected]/ReferenceQueue.java:215)
    	- locked <0x0000000501001098> (a java.lang.ref.ReferenceQueue$Lock)
    	at java.lang.ref.Finalizer$FinalizerThread.run([email protected]/Finalizer.java:165)
    
    "Signal Dispatcher" #15 [26371] daemon prio=9 os_prio=31 cpu=0.11ms elapsed=21.78s tid=0x0000000b7d112000 nid=26371 waiting on condition  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    "Service Thread" #16 [29699] daemon prio=9 os_prio=31 cpu=2.30ms elapsed=21.78s tid=0x0000000b7d112800 nid=29699 runnable  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    "Monitor Deflation Thread" #17 [27139] daemon prio=9 os_prio=31 cpu=0.66ms elapsed=21.78s tid=0x0000000b7d113000 nid=27139 runnable  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    "C2 CompilerThread0" #18 [29187] daemon prio=9 os_prio=31 cpu=907.62ms elapsed=21.78s tid=0x0000000b7d06de00 nid=29187 waiting on condition  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
       No compile task
    
    "C1 CompilerThread0" #20 [28931] daemon prio=9 os_prio=31 cpu=458.48ms elapsed=21.78s tid=0x0000000b7d06e800 nid=28931 waiting on condition  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
       No compile task
    
    "Notification Thread" #21 [27651] daemon prio=9 os_prio=31 cpu=91.45ms elapsed=21.78s tid=0x0000000b7d113800 nid=27651 runnable  [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    
    "Common-Cleaner" #22 [27907] daemon prio=8 os_prio=31 cpu=0.04ms elapsed=21.78s tid=0x0000000b7d120000 nid=27907 in Object.wait()  [0x000000016f822000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
    	at java.lang.Object.wait0([email protected]/Native Method)
    	- waiting on <0x0000000501001978> (a java.lang.ref.ReferenceQueue$Lock)
    	at java.lang.Object.wait([email protected]/Object.java:389)
    	at java.lang.ref.ReferenceQueue.remove0([email protected]/ReferenceQueue.java:123)
    	at java.lang.ref.ReferenceQueue.remove([email protected]/ReferenceQueue.java:201)
    	- locked <0x0000000501001978> (a java.lang.ref.ReferenceQueue$Lock)
    	at jdk.internal.ref.CleanerImpl.run([email protected]/CleanerImpl.java:146)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    	at jdk.internal.misc.InnocuousThread.run([email protected]/InnocuousThread.java:148)
    
    "VirtualThread-unblocker" #27 [42243] daemon prio=5 os_prio=31 cpu=0.36ms elapsed=21.63s tid=0x0000000b7d363000 nid=42243 runnable  [0x000000017046a000]
       java.lang.Thread.State: RUNNABLE
    	at java.lang.VirtualThread.takeVirtualThreadListToUnblock([email protected]/Native Method)
    	at java.lang.VirtualThread.unblockVirtualThreads([email protected]/VirtualThread.java:1519)
    	at java.lang.VirtualThread$$Lambda/0x00000f0001163b90.run([email protected]/Unknown Source)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    	at jdk.internal.misc.InnocuousThread.run([email protected]/InnocuousThread.java:148)
    
    "ForkJoinPool-1-worker-1" #29 [41731] daemon prio=5 os_prio=31 cpu=21420.16ms elapsed=21.63s tid=0x0000000b7d363800  [0x0000000170675000]
       Carrying virtual thread #28
    	at jdk.internal.vm.Continuation.run([email protected]/Continuation.java:254)
    	at java.lang.VirtualThread.runContinuation([email protected]/VirtualThread.java:297)
    	at java.lang.VirtualThread$$Lambda/0x00000f0001164260.run([email protected]/Unknown Source)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1753)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1745)
    	at java.util.concurrent.ForkJoinTask$InterruptibleTask.exec([email protected]/ForkJoinTask.java:1662)
    	at java.util.concurrent.ForkJoinTask.doExec([email protected]/ForkJoinTask.java:511)
    	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec([email protected]/ForkJoinPool.java:1450)
    	at java.util.concurrent.ForkJoinPool.runWorker([email protected]/ForkJoinPool.java:2019)
    	at java.util.concurrent.ForkJoinWorkerThread.run([email protected]/ForkJoinWorkerThread.java:187)
       Mounted virtual thread #28
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.busySpin(NestedJarFileContentionInitializer.java:113)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.lambda$scan$0(NestedJarFileContentionInitializer.java:104)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer$$Lambda/0x00000f00011a69b0.accept(Unknown Source)
    	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept([email protected]/ForEachOps.java:186)
    	at java.util.stream.ReferencePipeline$2$1.accept([email protected]/ReferencePipeline.java:197)
    	at java.util.Spliterators$ArraySpliterator.forEachRemaining([email protected]/Spliterators.java:1024)
    	at java.util.stream.AbstractPipeline.copyInto([email protected]/AbstractPipeline.java:570)
    	at java.util.stream.AbstractPipeline.wrapAndCopyInto([email protected]/AbstractPipeline.java:560)
    	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential([email protected]/ForEachOps.java:153)
    	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential([email protected]/ForEachOps.java:176)
    	at java.util.stream.AbstractPipeline.evaluate([email protected]/AbstractPipeline.java:265)
    	at java.util.stream.ReferencePipeline.forEach([email protected]/ReferencePipeline.java:632)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.scan(NestedJarFileContentionInitializer.java:102)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.lambda$initialize$2(NestedJarFileContentionInitializer.java:46)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer$$Lambda/0x00000f00011553e8.accept(Unknown Source)
    	at java.lang.Iterable.forEach([email protected]/Iterable.java:75)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.lambda$initialize$1(NestedJarFileContentionInitializer.java:46)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer$$Lambda/0x00000f000114eb60.run(Unknown Source)
    	at java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run([email protected]/ThreadPerTaskExecutor.java:291)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.VirtualThread.run([email protected]/VirtualThread.java:460)
    	at java.lang.VirtualThread$VThreadContinuation$1.run([email protected]/VirtualThread.java:252)
    	at jdk.internal.vm.Continuation.enter0([email protected]/Continuation.java:325)
    	at jdk.internal.vm.Continuation.enter([email protected]/Continuation.java:316)
    
    "ForkJoinPool-1-worker-2" #31 [41219] daemon prio=5 os_prio=31 cpu=21396.02ms elapsed=21.63s tid=0x0000000b7d2db800  [0x0000000170882000]
       Carrying virtual thread #36
    	at jdk.internal.vm.Continuation.run([email protected]/Continuation.java:254)
    	at java.lang.VirtualThread.runContinuation([email protected]/VirtualThread.java:297)
    	at java.lang.VirtualThread$$Lambda/0x00000f0001164260.run([email protected]/Unknown Source)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1753)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1745)
    	at java.util.concurrent.ForkJoinTask$InterruptibleTask.exec([email protected]/ForkJoinTask.java:1662)
    	at java.util.concurrent.ForkJoinTask.doExec([email protected]/ForkJoinTask.java:511)
    	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec([email protected]/ForkJoinPool.java:1450)
    	at java.util.concurrent.ForkJoinPool.runWorker([email protected]/ForkJoinPool.java:2019)
    	at java.util.concurrent.ForkJoinWorkerThread.run([email protected]/ForkJoinWorkerThread.java:187)
       Mounted virtual thread #36
    	at org.springframework.web.util.HierarchicalUriComponents.encodeUriComponent(HierarchicalUriComponents.java:339)
    	at org.springframework.web.util.HierarchicalUriComponents$UriTemplateEncoder.append(HierarchicalUriComponents.java:854)
    	at org.springframework.web.util.HierarchicalUriComponents$UriTemplateEncoder.apply(HierarchicalUriComponents.java:800)
    	at org.springframework.web.util.HierarchicalUriComponents$UriTemplateEncoder.apply(HierarchicalUriComponents.java:762)
    	at org.springframework.web.util.HierarchicalUriComponents$FullPathComponent.encode(HierarchicalUriComponents.java:908)
    	at org.springframework.web.util.HierarchicalUriComponents.encodeTemplate(HierarchicalUriComponents.java:267)
    	at org.springframework.web.util.UriComponentsBuilder.buildInternal(UriComponentsBuilder.java:293)
    	at org.springframework.web.util.UriComponentsBuilder.build(UriComponentsBuilder.java:279)
    	at org.springframework.web.util.UriComponentsBuilder.build(UriComponentsBuilder.java:266)
    	at org.springframework.web.util.DefaultUriBuilderFactory$DefaultUriBuilder.build(DefaultUriBuilderFactory.java:456)
    	at org.springframework.web.util.DefaultUriBuilderFactory.expand(DefaultUriBuilderFactory.java:201)
    	at org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.uri(DefaultRestClient.java:329)
    	at org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.uri(DefaultRestClient.java:299)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.lambda$initialize$3(NestedJarFileContentionInitializer.java:64)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer$$Lambda/0x00000f0001156dc0.run(Unknown Source)
    	at java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run([email protected]/ThreadPerTaskExecutor.java:291)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.VirtualThread.run([email protected]/VirtualThread.java:460)
    	at java.lang.VirtualThread$VThreadContinuation$1.run([email protected]/VirtualThread.java:252)
    	at jdk.internal.vm.Continuation.enter0([email protected]/Continuation.java:325)
    	at jdk.internal.vm.Continuation.enter([email protected]/Continuation.java:316)
    
    "ForkJoinPool-1-worker-3" #32 [34563] daemon prio=5 os_prio=31 cpu=21408.30ms elapsed=21.63s tid=0x0000000b7d2da800  [0x0000000170a8e000]
       Carrying virtual thread #42
    	at jdk.internal.vm.Continuation.run([email protected]/Continuation.java:254)
    	at java.lang.VirtualThread.runContinuation([email protected]/VirtualThread.java:297)
    	at java.lang.VirtualThread$$Lambda/0x00000f0001164260.run([email protected]/Unknown Source)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1753)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1745)
    	at java.util.concurrent.ForkJoinTask$InterruptibleTask.exec([email protected]/ForkJoinTask.java:1662)
    	at java.util.concurrent.ForkJoinTask.doExec([email protected]/ForkJoinTask.java:511)
    	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec([email protected]/ForkJoinPool.java:1450)
    	at java.util.concurrent.ForkJoinPool.runWorker([email protected]/ForkJoinPool.java:2019)
    	at java.util.concurrent.ForkJoinWorkerThread.run([email protected]/ForkJoinWorkerThread.java:187)
       Mounted virtual thread #42
    	at org.springframework.web.util.HierarchicalUriComponents$UriTemplateEncoder.apply(HierarchicalUriComponents.java:762)
    	at org.springframework.web.util.HierarchicalUriComponents$FullPathComponent.encode(HierarchicalUriComponents.java:908)
    	at org.springframework.web.util.HierarchicalUriComponents.encodeTemplate(HierarchicalUriComponents.java:267)
    	at org.springframework.web.util.UriComponentsBuilder.buildInternal(UriComponentsBuilder.java:293)
    	at org.springframework.web.util.UriComponentsBuilder.build(UriComponentsBuilder.java:279)
    	at org.springframework.web.util.UriComponentsBuilder.build(UriComponentsBuilder.java:266)
    	at org.springframework.web.util.DefaultUriBuilderFactory$DefaultUriBuilder.build(DefaultUriBuilderFactory.java:456)
    	at org.springframework.web.util.DefaultUriBuilderFactory.expand(DefaultUriBuilderFactory.java:201)
    	at org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.uri(DefaultRestClient.java:329)
    	at org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.uri(DefaultRestClient.java:299)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.lambda$initialize$3(NestedJarFileContentionInitializer.java:64)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer$$Lambda/0x00000f0001156dc0.run(Unknown Source)
    	at java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run([email protected]/ThreadPerTaskExecutor.java:291)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.VirtualThread.run([email protected]/VirtualThread.java:460)
    	at java.lang.VirtualThread$VThreadContinuation$1.run([email protected]/VirtualThread.java:252)
    	at jdk.internal.vm.Continuation.enter0([email protected]/Continuation.java:325)
    	at jdk.internal.vm.Continuation.enter([email protected]/Continuation.java:316)
    
    "ForkJoinPool-1-worker-4" #34 [35075] daemon prio=5 os_prio=31 cpu=21407.66ms elapsed=21.63s tid=0x0000000b7d3e4000  [0x0000000170c9a000]
       Carrying virtual thread #41
    	at jdk.internal.vm.Continuation.run([email protected]/Continuation.java:254)
    	at java.lang.VirtualThread.runContinuation([email protected]/VirtualThread.java:297)
    	at java.lang.VirtualThread$$Lambda/0x00000f0001164260.run([email protected]/Unknown Source)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1753)
    	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute([email protected]/ForkJoinTask.java:1745)
    	at java.util.concurrent.ForkJoinTask$InterruptibleTask.exec([email protected]/ForkJoinTask.java:1662)
    	at java.util.concurrent.ForkJoinTask.doExec([email protected]/ForkJoinTask.java:511)
    	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec([email protected]/ForkJoinPool.java:1450)
    	at java.util.concurrent.ForkJoinPool.runWorker([email protected]/ForkJoinPool.java:2019)
    	at java.util.concurrent.ForkJoinWorkerThread.run([email protected]/ForkJoinWorkerThread.java:187)
       Mounted virtual thread #41
    	at java.net.URI.<init>([email protected]/URI.java:649)
    	at java.net.URI.create([email protected]/URI.java:934)
    	at org.springframework.web.util.DefaultUriBuilderFactory$DefaultUriBuilder.createUri(DefaultUriBuilderFactory.java:464)
    	at org.springframework.web.util.DefaultUriBuilderFactory$DefaultUriBuilder.build(DefaultUriBuilderFactory.java:457)
    	at org.springframework.web.util.DefaultUriBuilderFactory.expand(DefaultUriBuilderFactory.java:201)
    	at org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.uri(DefaultRestClient.java:329)
    	at org.springframework.web.client.DefaultRestClient$DefaultRequestBodyUriSpec.uri(DefaultRestClient.java:299)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer.lambda$initialize$3(NestedJarFileContentionInitializer.java:64)
    	at com.github.icikle.nestedjarfile_reproduce.NestedJarFileContentionInitializer$$Lambda/0x00000f0001156dc0.run(Unknown Source)
    	at java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run([email protected]/ThreadPerTaskExecutor.java:291)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.VirtualThread.run([email protected]/VirtualThread.java:460)
    	at java.lang.VirtualThread$VThreadContinuation$1.run([email protected]/VirtualThread.java:252)
    	at jdk.internal.vm.Continuation.enter0([email protected]/Continuation.java:325)
    	at jdk.internal.vm.Continuation.enter([email protected]/Continuation.java:316)
    
    "HttpClient-6-SelectorManager" #46 [43299] daemon prio=5 os_prio=31 cpu=0.68ms elapsed=21.56s tid=0x0000000b7ec11000 nid=43299 runnable  [0x000000016fc3a000]
       java.lang.Thread.State: RUNNABLE
    	at sun.nio.ch.KQueue.poll([email protected]/Native Method)
    	at sun.nio.ch.KQueueSelectorImpl.doSelect([email protected]/KQueueSelectorImpl.java:121)
    	at sun.nio.ch.SelectorImpl.lockAndDoSelect([email protected]/SelectorImpl.java:130)
    	- locked <0x0000000501002e18> (a sun.nio.ch.Util$2)
    	- locked <0x0000000501002cc0> (a sun.nio.ch.KQueueSelectorImpl)
    	at sun.nio.ch.SelectorImpl.select([email protected]/SelectorImpl.java:142)
    	at jdk.internal.net.http.HttpClientImpl$SelectorManager.run([email protected]/HttpClientImpl.java:1338)
    
    "Catalina-utility-1" #48 [35331] prio=1 os_prio=31 cpu=2.18ms elapsed=21.17s tid=0x0000000b7e1cc800 nid=35331 waiting on condition  [0x0000000170ea6000]
       java.lang.Thread.State: TIMED_WAITING (parking)
    	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
    	- parking to wait for  <0x0000000501953a98> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    	at java.util.concurrent.locks.LockSupport.parkNanos([email protected]/LockSupport.java:271)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos([email protected]/AbstractQueuedSynchronizer.java:1803)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take([email protected]/ScheduledThreadPoolExecutor.java:1166)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take([email protected]/ScheduledThreadPoolExecutor.java:883)
    	at java.util.concurrent.ThreadPoolExecutor.getTask([email protected]/ThreadPoolExecutor.java:1016)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker([email protected]/ThreadPoolExecutor.java:1076)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run([email protected]/ThreadPoolExecutor.java:614)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:74)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    
    "Catalina-utility-2" #49 [35587] prio=1 os_prio=31 cpu=2.05ms elapsed=21.17s tid=0x0000000b7e1cd800 nid=35587 waiting on condition  [0x00000001710b2000]
       java.lang.Thread.State: WAITING (parking)
    	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
    	- parking to wait for  <0x0000000501953a98> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    	at java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:369)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block([email protected]/AbstractQueuedSynchronizer.java:520)
    	at java.util.concurrent.ForkJoinPool.unmanagedBlock([email protected]/ForkJoinPool.java:4364)
    	at java.util.concurrent.ForkJoinPool.managedBlock([email protected]/ForkJoinPool.java:4310)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await([email protected]/AbstractQueuedSynchronizer.java:1752)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take([email protected]/ScheduledThreadPoolExecutor.java:1161)
    	at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take([email protected]/ScheduledThreadPoolExecutor.java:883)
    	at java.util.concurrent.ThreadPoolExecutor.getTask([email protected]/ThreadPoolExecutor.java:1016)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker([email protected]/ThreadPoolExecutor.java:1076)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run([email protected]/ThreadPoolExecutor.java:614)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:74)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    
    "container-0" #50 [35843] prio=5 os_prio=31 cpu=0.15ms elapsed=21.17s tid=0x0000000b7e1cf000 nid=35843 waiting on condition  [0x00000001712be000]
       java.lang.Thread.State: TIMED_WAITING (sleeping)
    	at java.lang.Thread.sleepNanos0([email protected]/Native Method)
    	at java.lang.Thread.sleepNanos([email protected]/Thread.java:509)
    	at java.lang.Thread.sleep([email protected]/Thread.java:540)
    	at org.apache.catalina.core.StandardServer.await(StandardServer.java:522)
    	at org.springframework.boot.tomcat.TomcatWebServer$1.run(TomcatWebServer.java:216)
    
    "http-nio-8080-exec-1" #51 [40195] daemon prio=5 os_prio=31 cpu=0.10ms elapsed=21.01s tid=0x0000000b7ee2e800 nid=40195 waiting on condition  [0x00000001714ca000]
       java.lang.Thread.State: WAITING (parking)
    	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
    	- parking to wait for  <0x0000000501b9b110> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    	at java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:369)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block([email protected]/AbstractQueuedSynchronizer.java:520)
    	at java.util.concurrent.ForkJoinPool.unmanagedBlock([email protected]/ForkJoinPool.java:4364)
    	at java.util.concurrent.ForkJoinPool.managedBlock([email protected]/ForkJoinPool.java:4310)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await([email protected]/AbstractQueuedSynchronizer.java:1752)
    	at java.util.concurrent.LinkedBlockingQueue.take([email protected]/LinkedBlockingQueue.java:435)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:132)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:32)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:889)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:936)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:483)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:74)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    
    "http-nio-8080-exec-2" #52 [36611] daemon prio=5 os_prio=31 cpu=0.07ms elapsed=21.01s tid=0x0000000b7ee2d000 nid=36611 waiting on condition  [0x00000001716d6000]
       java.lang.Thread.State: WAITING (parking)
    	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
    	- parking to wait for  <0x0000000501b9b110> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    	at java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:369)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block([email protected]/AbstractQueuedSynchronizer.java:520)
    	at java.util.concurrent.ForkJoinPool.unmanagedBlock([email protected]/ForkJoinPool.java:4364)
    	at java.util.concurrent.ForkJoinPool.managedBlock([email protected]/ForkJoinPool.java:4310)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await([email protected]/AbstractQueuedSynchronizer.java:1752)
    	at java.util.concurrent.LinkedBlockingQueue.take([email protected]/LinkedBlockingQueue.java:435)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:132)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:32)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:889)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:936)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:483)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:74)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    
    "http-nio-8080-exec-3" #53 [39683] daemon prio=5 os_prio=31 cpu=0.07ms elapsed=21.01s tid=0x0000000b7ee2f800 nid=39683 waiting on condition  [0x00000001718e2000]
       java.lang.Thread.State: WAITING (parking)
    	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
    	- parking to wait for  <0x0000000501b9b110> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    	at java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:369)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block([email protected]/AbstractQueuedSynchronizer.java:520)
    	at java.util.concurrent.ForkJoinPool.unmanagedBlock([email protected]/ForkJoinPool.java:4364)
    	at java.util.concurrent.ForkJoinPool.managedBlock([email protected]/ForkJoinPool.java:4310)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await([email protected]/AbstractQueuedSynchronizer.java:1752)
    	at java.util.concurrent.LinkedBlockingQueue.take([email protected]/LinkedBlockingQueue.java:435)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:132)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:32)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:889)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:936)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:483)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:74)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    
    "http-nio-8080-exec-4" #54 [36867] daemon prio=5 os_prio=31 cpu=0.04ms elapsed=21.01s tid=0x0000000b7ec8a000 nid=36867 waiting on condition  [0x0000000171aee000]
       java.lang.Thread.State: WAITING (parking)
    	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
    	- parking to wait for  <0x0000000501b9b110> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    	at java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:369)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block([email protected]/AbstractQueuedSynchronizer.java:520)
    	at java.util.concurrent.ForkJoinPool.unmanagedBlock([email protected]/ForkJoinPool.java:4364)
    	at java.util.concurrent.ForkJoinPool.managedBlock([email protected]/ForkJoinPool.java:4310)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await([email protected]/AbstractQueuedSynchronizer.java:1752)
    	at java.util.concurrent.LinkedBlockingQueue.take([email protected]/LinkedBlockingQueue.java:435)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:132)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:32)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:889)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:936)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:483)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:74)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    
    "http-nio-8080-exec-5" #55 [38915] daemon prio=5 os_prio=31 cpu=0.03ms elapsed=21.01s tid=0x0000000b7e28c000 nid=38915 waiting on condition  [0x0000000171cfa000]
       java.lang.Thread.State: WAITING (parking)
    	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
    	- parking to wait for  <0x0000000501b9b110> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    	at java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:369)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block([email protected]/AbstractQueuedSynchronizer.java:520)
    	at java.util.concurrent.ForkJoinPool.unmanagedBlock([email protected]/ForkJoinPool.java:4364)
    	at java.util.concurrent.ForkJoinPool.managedBlock([email protected]/ForkJoinPool.java:4310)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await([email protected]/AbstractQueuedSynchronizer.java:1752)
    	at java.util.concurrent.LinkedBlockingQueue.take([email protected]/LinkedBlockingQueue.java:435)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:132)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:32)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:889)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:936)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:483)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:74)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    
    "http-nio-8080-exec-6" #56 [37379] daemon prio=5 os_prio=31 cpu=0.03ms elapsed=21.01s tid=0x0000000b7e28c800 nid=37379 waiting on condition  [0x0000000171f06000]
       java.lang.Thread.State: WAITING (parking)
    	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
    	- parking to wait for  <0x0000000501b9b110> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    	at java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:369)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block([email protected]/AbstractQueuedSynchronizer.java:520)
    	at java.util.concurrent.ForkJoinPool.unmanagedBlock([email protected]/ForkJoinPool.java:4364)
    	at java.util.concurrent.ForkJoinPool.managedBlock([email protected]/ForkJoinPool.java:4310)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await([email protected]/AbstractQueuedSynchronizer.java:1752)
    	at java.util.concurrent.LinkedBlockingQueue.take([email protected]/LinkedBlockingQueue.java:435)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:132)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:32)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:889)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:936)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:483)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:74)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    
    "http-nio-8080-exec-7" #57 [38659] daemon prio=5 os_prio=31 cpu=0.03ms elapsed=21.01s tid=0x0000000b7e28d000 nid=38659 waiting on condition  [0x0000000172112000]
       java.lang.Thread.State: WAITING (parking)
    	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
    	- parking to wait for  <0x0000000501b9b110> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    	at java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:369)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block([email protected]/AbstractQueuedSynchronizer.java:520)
    	at java.util.concurrent.ForkJoinPool.unmanagedBlock([email protected]/ForkJoinPool.java:4364)
    	at java.util.concurrent.ForkJoinPool.managedBlock([email protected]/ForkJoinPool.java:4310)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await([email protected]/AbstractQueuedSynchronizer.java:1752)
    	at java.util.concurrent.LinkedBlockingQueue.take([email protected]/LinkedBlockingQueue.java:435)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:132)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:32)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:889)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:936)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:483)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:74)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    
    "http-nio-8080-exec-8" #58 [37891] daemon prio=5 os_prio=31 cpu=0.03ms elapsed=21.01s tid=0x0000000b7e28e000 nid=37891 waiting on condition  [0x000000017231e000]
       java.lang.Thread.State: WAITING (parking)
    	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
    	- parking to wait for  <0x0000000501b9b110> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    	at java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:369)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block([email protected]/AbstractQueuedSynchronizer.java:520)
    	at java.util.concurrent.ForkJoinPool.unmanagedBlock([email protected]/ForkJoinPool.java:4364)
    	at java.util.concurrent.ForkJoinPool.managedBlock([email protected]/ForkJoinPool.java:4310)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await([email protected]/AbstractQueuedSynchronizer.java:1752)
    	at java.util.concurrent.LinkedBlockingQueue.take([email protected]/LinkedBlockingQueue.java:435)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:132)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:32)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:889)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:936)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:483)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:74)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    
    "http-nio-8080-exec-9" #59 [43523] daemon prio=5 os_prio=31 cpu=0.03ms elapsed=21.01s tid=0x0000000b7e28e800 nid=43523 waiting on condition  [0x000000017252a000]
       java.lang.Thread.State: WAITING (parking)
    	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
    	- parking to wait for  <0x0000000501b9b110> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    	at java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:369)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block([email protected]/AbstractQueuedSynchronizer.java:520)
    	at java.util.concurrent.ForkJoinPool.unmanagedBlock([email protected]/ForkJoinPool.java:4364)
    	at java.util.concurrent.ForkJoinPool.managedBlock([email protected]/ForkJoinPool.java:4310)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await([email protected]/AbstractQueuedSynchronizer.java:1752)
    	at java.util.concurrent.LinkedBlockingQueue.take([email protected]/LinkedBlockingQueue.java:435)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:132)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:32)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:889)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:936)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:483)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:74)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    
    "http-nio-8080-exec-10" #60 [43779] daemon prio=5 os_prio=31 cpu=0.03ms elapsed=21.01s tid=0x0000000b7e28f000 nid=43779 waiting on condition  [0x0000000172736000]
       java.lang.Thread.State: WAITING (parking)
    	at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
    	- parking to wait for  <0x0000000501b9b110> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    	at java.util.concurrent.locks.LockSupport.park([email protected]/LockSupport.java:369)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block([email protected]/AbstractQueuedSynchronizer.java:520)
    	at java.util.concurrent.ForkJoinPool.unmanagedBlock([email protected]/ForkJoinPool.java:4364)
    	at java.util.concurrent.ForkJoinPool.managedBlock([email protected]/ForkJoinPool.java:4310)
    	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await([email protected]/AbstractQueuedSynchronizer.java:1752)
    	at java.util.concurrent.LinkedBlockingQueue.take([email protected]/LinkedBlockingQueue.java:435)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:132)
    	at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:32)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:889)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:936)
    	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:483)
    	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:74)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    
    "http-nio-8080-Poller" #61 [44291] daemon prio=5 os_prio=31 cpu=0.86ms elapsed=21.01s tid=0x0000000b7e28d800 nid=44291 runnable  [0x0000000172942000]
       java.lang.Thread.State: RUNNABLE
    	at sun.nio.ch.KQueue.poll([email protected]/Native Method)
    	at sun.nio.ch.KQueueSelectorImpl.doSelect([email protected]/KQueueSelectorImpl.java:121)
    	at sun.nio.ch.SelectorImpl.lockAndDoSelect([email protected]/SelectorImpl.java:130)
    	- locked <0x0000000501b9b560> (a sun.nio.ch.Util$2)
    	- locked <0x0000000501b9b508> (a sun.nio.ch.KQueueSelectorImpl)
    	at sun.nio.ch.SelectorImpl.select([email protected]/SelectorImpl.java:142)
    	at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:912)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    
    "http-nio-8080-Acceptor" #62 [64771] daemon prio=5 os_prio=31 cpu=0.18ms elapsed=21.01s tid=0x0000000b7e28f800 nid=64771 runnable  [0x0000000172b4e000]
       java.lang.Thread.State: RUNNABLE
    	at sun.nio.ch.Net.accept([email protected]/Native Method)
    	at sun.nio.ch.ServerSocketChannelImpl.implAccept([email protected]/ServerSocketChannelImpl.java:424)
    	at sun.nio.ch.ServerSocketChannelImpl.accept([email protected]/ServerSocketChannelImpl.java:391)
    	at org.apache.tomcat.util.net.NioEndpoint.serverSocketAccept(NioEndpoint.java:626)
    	at org.apache.tomcat.util.net.NioEndpoint.serverSocketAccept(NioEndpoint.java:71)
    	at org.apache.tomcat.util.net.Acceptor.run(Acceptor.java:145)
    	at java.lang.Thread.runWith([email protected]/Thread.java:1487)
    	at java.lang.Thread.run([email protected]/Thread.java:1474)
    
    "HttpClient-3-SelectorManager" #67 [32779] daemon prio=5 os_prio=31 cpu=0.28ms elapsed=19.93s tid=0x0000000b7d361800 nid=32779 runnable  [0x000000016fa2e000]
       java.lang.Thread.State: RUNNABLE
    	at sun.nio.ch.KQueue.poll([email protected]/Native Method)
    	at sun.nio.ch.KQueueSelectorImpl.doSelect([email protected]/KQueueSelectorImpl.java:121)
    	at sun.nio.ch.SelectorImpl.lockAndDoSelect([email protected]/SelectorImpl.java:130)
    	- locked <0x0000000501f78ab8> (a sun.nio.ch.Util$2)
    	- locked <0x0000000501f78a60> (a sun.nio.ch.KQueueSelectorImpl)
    	at sun.nio.ch.SelectorImpl.select([email protected]/SelectorImpl.java:142)
    	at jdk.internal.net.http.HttpClientImpl$SelectorManager.run([email protected]/HttpClientImpl.java:1338)
    
    "HttpClient-7-SelectorManager" #68 [64259] daemon prio=5 os_prio=31 cpu=0.36ms elapsed=19.22s tid=0x0000000b7d2da000 nid=64259 runnable  [0x0000000172d5a000]
       java.lang.Thread.State: RUNNABLE
    	at sun.nio.ch.KQueue.poll([email protected]/Native Method)
    	at sun.nio.ch.KQueueSelectorImpl.doSelect([email protected]/KQueueSelectorImpl.java:121)
    	at sun.nio.ch.SelectorImpl.lockAndDoSelect([email protected]/SelectorImpl.java:130)
    	- locked <0x0000000501f8b1e8> (a sun.nio.ch.Util$2)
    	- locked <0x0000000501f8b190> (a sun.nio.ch.KQueueSelectorImpl)
    	at sun.nio.ch.SelectorImpl.select([email protected]/SelectorImpl.java:142)
    	at jdk.internal.net.http.HttpClientImpl$SelectorManager.run([email protected]/HttpClientImpl.java:1338)
    
    "GC Thread#3" os_prio=31 cpu=98.21ms elapsed=21.64s tid=0x0000000b7d3d4f00 nid=34051 runnable  
    
    "GC Thread#2" os_prio=31 cpu=94.42ms elapsed=21.64s tid=0x0000000b7d3d4a00 nid=33795 runnable  
    
    "GC Thread#1" os_prio=31 cpu=94.61ms elapsed=21.64s tid=0x0000000b7d3d4500 nid=33283 runnable  
    
    "VM Thread" os_prio=31 cpu=68.79ms elapsed=21.79s tid=0x0000000b7d0c1800 nid=20227 runnable  
    
    "VM Periodic Task Thread" os_prio=31 cpu=0.39ms elapsed=21.79s tid=0x0000000b7d0c1400 nid=17159 waiting on condition  
    
    "G1 Service" os_prio=31 cpu=11.11ms elapsed=21.80s tid=0x0000000b7d0bc500 nid=16899 runnable  
    
    "G1 Refine#0" os_prio=31 cpu=15.51ms elapsed=21.80s tid=0x0000000b7d0bc000 nid=16643 runnable  
    
    "G1 Conc#0" os_prio=31 cpu=12.99ms elapsed=21.80s tid=0x0000000102ad19f0 nid=16387 runnable  
    
    "G1 Main Marker" os_prio=31 cpu=0.19ms elapsed=21.80s tid=0x0000000102ad0ed0 nid=14083 runnable  
    
    "GC Thread#0" os_prio=31 cpu=96.57ms elapsed=21.80s tid=0x0000000102acfe30 nid=13571 runnable  
    
    JNI global refs: 13, weak refs: 0
    
    Heap
     garbage-first heap   total reserved 12582912K, committed 737280K, used 86123K [0x0000000500000000, 0x0000000800000000)
      region size 8192K, 9 young (73728K), 1 survivors (8192K)
     Metaspace       used 35787K, committed 36288K, reserved 1114112K
      class space    used 4636K, committed 4864K, reserved 1048576K
    

    The constrained environment, and use of -XX:ActiveProcessorCount to simulate that, was news to me. Coupled with the use of virtual threads, it suggests that the problem's at least related to the capacity of the fork-join pool. There are some similarities with this problem that was discussed on the Netflix tech blog.

    I'm not sure exactly where we go from here, but I am increasingly convinced that changing the locking model in NestedJarFile cannot be justified given that this isn't a Boot-specific problem.

  18. pwflamy commented on Sep 16, 2026

    @pwflamy

    Hi. I’d like to share an observation from an issue that I find quite similar to this one.

    Used versions
    Spring Boot 4.0.5
    OpenJDK 64-Bit Server VM (25.0.4+7-LTS mixed mode, sharing)

    Not long ago, one of our pods was unable to pass the readiness probe for more than 12 hours. The issue was caused by timeouts from the Spring Boot Actuator Health endpoint.

    While investigating the container state, I found that the application had started successfully, but then became stuck and was no longer doing any useful work. I took a thread dump, and it looks very similar to the example from the first message. These are not complete dumps, as I removed some of the information.
    thread-dump-prod.json
    thread-print-prod.txt

    One thing that immediately stands out is the blocked http-nio-7979-Acceptor thread, along with several others. The most interesting threads, in my opinion, are those with names business-vthread-4, scheduling-1, and business-vthread-1.

    Threads business-vthread-4 and scheduling-1 are virtual threads that appear to be pinned to their carrier threads. In our production environment, we only have two carrier threads, and both of them are blocked by virtual threads because of UrlNestedJarFile. At the same time, thread business-vthread-1 holds this lock. Although its state is RUNNABLE, it did not make any progress for more than 30 minutes.

    This led me to a theory that I cannot confirm with 100% certainty, because I do not have evidence explaining why thread business-vthread-1 stopped making progress inside FileAccess.ensureOpen(). However, I assume that while it was executing this method, another thread acquired FileAccess.lock, causing thread business-vthread-1 to unmount from its carrier thread.

    The problem then occurred when threads business-vthread-4 and scheduling-1 started executing. They encountered the lock in UrlNestedJarFile.hasEntry(), and because both threads were performing class loading, they became pinned to their carrier threads.

    I prepared a small example (not a spring boot application) that demonstrates how this particular sequence of events can occur.
    https://github.com/pwflamy/springboot-nestedjar-locking

  19. icikle commented on Sep 17, 2026

    @icikle
    Contributor

    @wilkinsona Thanks for the link to the Medium article - I'll have a more thorough read but I have also been increasingly thinking that the synchronization isn't the issue per se - but does contribute to it when hasEntry is hit hard (the CPU throttling was intended to make this manifest as a hang rather than a slowdown). The article is pre JDK 25 which has reduced the pinning issues with VTs but doesn't seem to have made them bulletproof.

    The change I proposed in my PR to hasEntry (and I understand the reservations) does touch more than I'd like. Locally I added some instrumentation into the NestedJarFile to get a better idea of its usage. On this sample application I found that on start up (on my PR branch where the hasEntry isn't synchronized) there are roughly 60,000 hasEntry calls before it hangs - 2000 of these result in a true response and 58,000 in a false response. Of the 2,000 I didn't monitor how many hit the fast path exit (which can only exit true) versus entering into searching the jar. The hot path of each hasEntry call can hit multiple separate synchronized blocks depending on the jar packaging resulting in a lot of monitor activity.

    Given this a more appropriate enhancement may be improving the exit path so it can bail early but this is also not a trivial task to do well.

  20. jvalkeal commented on Sep 19, 2026

    @jvalkeal
    Contributor

    In our system we've only seen this issue once. Can't share a thread dump but it had 11 threads deadlocked(two were related to virtual threads with class loading, everyone was waiting same object from boot).

    Actuator endpoints were still working and reporting healty state, in those 11 deadlocked threads was a discovery client which then failed to call home to eureka which then eventually evicted that node.

    I did my own experiment loosely based on @icikle code using plain java(no spring). I pushed those into my repo https://github.com/jvalkeal/vt-starvation.

    Not really sure if my code is false positive, but it surely shown issues with FJP starvation with virtual threads. Similar concept with platform threads looks to be just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: feedback-providedstatus: waiting-for-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions