Skip to content

Potential deadlock in PCRE cache #9032

@tstarling

Description

@tstarling

In 2014 I improved HHVM's PCRE compilation cache, introducing a new thread-safe container to hold cache entries. I also published the container class as a separate library. Another user of the library reported a deadlock issue, and it appears that it may also affect HHVM. If an application uses many different regexes and traffic is heavy, HHVM may globally deadlock. I'm not an HHVM user anymore, but out of courtesy I am forwarding the issue. The deadlock issue is discussed at tstarling/thread-safe-lru#5 and the proposed fix is tstarling/thread-safe-lru#6 .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions