File tree 1 file changed +7
-4
lines changed
spring-core/src/main/java/org/springframework/core
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -442,10 +442,13 @@ public static class SpringCoreBlockHoundIntegration implements BlockHoundIntegra
442
442
public void applyTo (BlockHound .Builder builder ) {
443
443
// Avoid hard references potentially anywhere in spring-core (no need for structural dependency)
444
444
445
- String className = "org.springframework.util.ConcurrentReferenceHashMap$Segment" ;
446
- builder .allowBlockingCallsInside (className , "doTask" );
447
- builder .allowBlockingCallsInside (className , "clear" );
448
- builder .allowBlockingCallsInside (className , "restructure" );
445
+ String segmentClassName = "org.springframework.util.ConcurrentReferenceHashMap$Segment" ;
446
+ builder .allowBlockingCallsInside (segmentClassName , "doTask" );
447
+ builder .allowBlockingCallsInside (segmentClassName , "clear" );
448
+ builder .allowBlockingCallsInside (segmentClassName , "restructure" );
449
+
450
+ String referenceManagerClassName = "org.springframework.util.ConcurrentReferenceHashMap$ReferenceManager" ;
451
+ builder .allowBlockingCallsInside (referenceManagerClassName , "pollForPurge" );
449
452
}
450
453
}
451
454
You can’t perform that action at this time.
0 commit comments