[ 
https://issues.apache.org/jira/browse/PDFBOX-6372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18155238#comment-18155238
 ] 

ASF subversion and git services commented on PDFBOX-6372:
---------------------------------------------------------

Commit 1941262 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1941262 ]

PDFBOX-6372: improve locking behavior, by Claude Sonnet 5.5

> ScratchFile.close walks the buffer list without the lock the list has
> ---------------------------------------------------------------------
>
>                 Key: PDFBOX-6372
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6372
>             Project: PDFBox
>          Issue Type: Sub-task
>          Components: IO
>    Affects Versions: 2.0.37, 3.0.8 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.38, 3.0.9 PDFBox, 4.0.0
>
>         Attachments: ScratchFile-close-2.0.patch, ScratchFile-close.patch
>
>
> Because I didn't fully understand the report nor the changes, I asked Claude 
> Sonnet for a review on that topic, this can be read here. I also asked to 
> create a patch (attached). Additionally it recommends to synchronize 
> ScratchFileBuffer.close().
> Chat:
> https://claude.ai/share/a46f0280-f472-4933-8d5d-629829f762f1
> This may or may not explain a problem I observed, during parallel rendering 
> tests sometimes it seems to hang for a minute, it's unclear if this is a real 
> deadlock, poor performance or just busy.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to