Fix lookup synchronisation inside lookup method · Issue #1409 · spring-cloud/spring-cloud-function · GitHub
Skip to content

Fix lookup synchronisation inside lookup method #1409

Description

@olegz

Locking on a String is unsafe. String literals and interned strings are shared across the JVM, so two unrelated callers with the same definition name can accidentally contend on the same monitor.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions