Skip to content

ASTCache>>#at:put: prevent TOCTOU when cleaning the cache#13408

Merged
MarcusDenker merged 1 commit intopharo-project:Pharo12from
privat:astcache-toctou
Apr 12, 2023
Merged

ASTCache>>#at:put: prevent TOCTOU when cleaning the cache#13408
MarcusDenker merged 1 commit intopharo-project:Pharo12from
privat:astcache-toctou

Conversation

@privat
Copy link
Contributor

@privat privat commented Apr 12, 2023

Some recent CI builds randomly fail on ASTCache.

The culprit is likely the cleaning. GC executions during the iteration can retire elements. So just ignore absent keys and be happy.

@MarcusDenker MarcusDenker merged commit fae3836 into pharo-project:Pharo12 Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants